- 3.71.0 (latest)
- 3.69.0
- 3.68.0
- 3.65.0
- 3.64.0
- 3.63.0
- 3.61.0
- 3.60.0
- 3.59.0
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class TunedModel.Builder extends GeneratedMessageV3.Builder<TunedModel.Builder> implements TunedModelOrBuilder
The Model Registry Model and Online Prediction Endpoint associated with this TuningJob.
Protobuf type google.cloud.aiplatform.v1beta1.TunedModel
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TunedModel.BuilderImplements
TunedModelOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllCheckpoints(Iterable<? extends TunedModelCheckpoint> values)
public TunedModel.Builder addAllCheckpoints(Iterable<? extends TunedModelCheckpoint> values)
Output only. The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints.
repeated .google.cloud.aiplatform.v1beta1.TunedModelCheckpoint checkpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1beta1.TunedModelCheckpoint> |
Returns | |
---|---|
Type | Description |
TunedModel.Builder |
addCheckpoints(TunedModelCheckpoint value)
public TunedModel.Builder addCheckpoints(TunedModelCheckpoint value)
Output only. The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints.
repeated .google.cloud.aiplatform.v1beta1.TunedModelCheckpoint checkpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
TunedModelCheckpoint |
Returns | |
---|---|
Type | Description |
TunedModel.Builder |
addCheckpoints(TunedModelCheckpoint.Builder builderForValue)
public TunedModel.Builder addCheckpoints(TunedModelCheckpoint.Builder builderForValue)
Output only. The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints.
repeated .google.cloud.aiplatform.v1beta1.TunedModelCheckpoint checkpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
TunedModelCheckpoint.Builder |
Returns | |
---|---|
Type | Description |
TunedModel.Builder |
addCheckpoints(int index, TunedModelCheckpoint value)
public TunedModel.Builder addCheckpoints(int index, TunedModelCheckpoint value)
Output only. The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints.
repeated .google.cloud.aiplatform.v1beta1.TunedModelCheckpoint checkpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
TunedModelCheckpoint |
Returns | |
---|---|
Type | Description |
TunedModel.Builder |
addCheckpoints(int index, TunedModelCheckpoint.Builder builderForValue)
public TunedModel.Builder addCheckpoints(int index, TunedModelCheckpoint.Builder builderForValue)
Output only. The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints.
repeated .google.cloud.aiplatform.v1beta1.TunedModelCheckpoint checkpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
TunedModelCheckpoint.Builder |
Returns | |
---|---|
Type | Description |
TunedModel.Builder |
addCheckpointsBuilder()
public TunedModelCheckpoint.Builder addCheckpointsBuilder()
Output only. The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints.
repeated .google.cloud.aiplatform.v1beta1.TunedModelCheckpoint checkpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TunedModelCheckpoint.Builder |
addCheckpointsBuilder(int index)
public TunedModelCheckpoint.Builder addCheckpointsBuilder(int index)
Output only. The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints.
repeated .google.cloud.aiplatform.v1beta1.TunedModelCheckpoint checkpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TunedModelCheckpoint.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TunedModel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TunedModel.Builder |
build()
public TunedModel build()
Returns | |
---|---|
Type | Description |
TunedModel |
buildPartial()
public TunedModel buildPartial()
Returns | |
---|---|
Type | Description |
TunedModel |
clear()
public TunedModel.Builder clear()
Returns | |
---|---|
Type | Description |
TunedModel.Builder |
clearCheckpoints()
public TunedModel.Builder clearCheckpoints()
Output only. The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints.
repeated .google.cloud.aiplatform.v1beta1.TunedModelCheckpoint checkpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TunedModel.Builder |
clearEndpoint()
public TunedModel.Builder clearEndpoint()
Output only. A resource name of an Endpoint. Format:
projects/{project}/locations/{___location}/endpoints/{endpoint}
.
string endpoint = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
TunedModel.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public TunedModel.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
TunedModel.Builder |
clearModel()
public TunedModel.Builder clearModel()
Output only. The resource name of the TunedModel. Format:
projects/{project}/locations/{___location}/models/{model}@{version_id}
When tuning from a base model, the version_id will be 1.
For continuous tuning, the version id will be incremented by 1 from the
last version id in the parent model. E.g.,
projects/{project}/locations/{___location}/models/{model}@{last_version_id +
1}
string model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
TunedModel.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TunedModel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
TunedModel.Builder |
clone()
public TunedModel.Builder clone()
Returns | |
---|---|
Type | Description |
TunedModel.Builder |
getCheckpoints(int index)
public TunedModelCheckpoint getCheckpoints(int index)
Output only. The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints.
repeated .google.cloud.aiplatform.v1beta1.TunedModelCheckpoint checkpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TunedModelCheckpoint |
getCheckpointsBuilder(int index)
public TunedModelCheckpoint.Builder getCheckpointsBuilder(int index)
Output only. The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints.
repeated .google.cloud.aiplatform.v1beta1.TunedModelCheckpoint checkpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TunedModelCheckpoint.Builder |
getCheckpointsBuilderList()
public List<TunedModelCheckpoint.Builder> getCheckpointsBuilderList()
Output only. The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints.
repeated .google.cloud.aiplatform.v1beta1.TunedModelCheckpoint checkpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<Builder> |
getCheckpointsCount()
public int getCheckpointsCount()
Output only. The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints.
repeated .google.cloud.aiplatform.v1beta1.TunedModelCheckpoint checkpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
getCheckpointsList()
public List<TunedModelCheckpoint> getCheckpointsList()
Output only. The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints.
repeated .google.cloud.aiplatform.v1beta1.TunedModelCheckpoint checkpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<TunedModelCheckpoint> |
getCheckpointsOrBuilder(int index)
public TunedModelCheckpointOrBuilder getCheckpointsOrBuilder(int index)
Output only. The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints.
repeated .google.cloud.aiplatform.v1beta1.TunedModelCheckpoint checkpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TunedModelCheckpointOrBuilder |
getCheckpointsOrBuilderList()
public List<? extends TunedModelCheckpointOrBuilder> getCheckpointsOrBuilderList()
Output only. The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints.
repeated .google.cloud.aiplatform.v1beta1.TunedModelCheckpoint checkpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.aiplatform.v1beta1.TunedModelCheckpointOrBuilder> |
getDefaultInstanceForType()
public TunedModel getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
TunedModel |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEndpoint()
public String getEndpoint()
Output only. A resource name of an Endpoint. Format:
projects/{project}/locations/{___location}/endpoints/{endpoint}
.
string endpoint = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The endpoint. |
getEndpointBytes()
public ByteString getEndpointBytes()
Output only. A resource name of an Endpoint. Format:
projects/{project}/locations/{___location}/endpoints/{endpoint}
.
string endpoint = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for endpoint. |
getModel()
public String getModel()
Output only. The resource name of the TunedModel. Format:
projects/{project}/locations/{___location}/models/{model}@{version_id}
When tuning from a base model, the version_id will be 1.
For continuous tuning, the version id will be incremented by 1 from the
last version id in the parent model. E.g.,
projects/{project}/locations/{___location}/models/{model}@{last_version_id +
1}
string model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The model. |
getModelBytes()
public ByteString getModelBytes()
Output only. The resource name of the TunedModel. Format:
projects/{project}/locations/{___location}/models/{model}@{version_id}
When tuning from a base model, the version_id will be 1.
For continuous tuning, the version id will be incremented by 1 from the
last version id in the parent model. E.g.,
projects/{project}/locations/{___location}/models/{model}@{last_version_id +
1}
string model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for model. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(TunedModel other)
public TunedModel.Builder mergeFrom(TunedModel other)
Parameter | |
---|---|
Name | Description |
other |
TunedModel |
Returns | |
---|---|
Type | Description |
TunedModel.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TunedModel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TunedModel.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public TunedModel.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
TunedModel.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TunedModel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TunedModel.Builder |
removeCheckpoints(int index)
public TunedModel.Builder removeCheckpoints(int index)
Output only. The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints.
repeated .google.cloud.aiplatform.v1beta1.TunedModelCheckpoint checkpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TunedModel.Builder |
setCheckpoints(int index, TunedModelCheckpoint value)
public TunedModel.Builder setCheckpoints(int index, TunedModelCheckpoint value)
Output only. The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints.
repeated .google.cloud.aiplatform.v1beta1.TunedModelCheckpoint checkpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
TunedModelCheckpoint |
Returns | |
---|---|
Type | Description |
TunedModel.Builder |
setCheckpoints(int index, TunedModelCheckpoint.Builder builderForValue)
public TunedModel.Builder setCheckpoints(int index, TunedModelCheckpoint.Builder builderForValue)
Output only. The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints.
repeated .google.cloud.aiplatform.v1beta1.TunedModelCheckpoint checkpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
TunedModelCheckpoint.Builder |
Returns | |
---|---|
Type | Description |
TunedModel.Builder |
setEndpoint(String value)
public TunedModel.Builder setEndpoint(String value)
Output only. A resource name of an Endpoint. Format:
projects/{project}/locations/{___location}/endpoints/{endpoint}
.
string endpoint = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The endpoint to set. |
Returns | |
---|---|
Type | Description |
TunedModel.Builder |
This builder for chaining. |
setEndpointBytes(ByteString value)
public TunedModel.Builder setEndpointBytes(ByteString value)
Output only. A resource name of an Endpoint. Format:
projects/{project}/locations/{___location}/endpoints/{endpoint}
.
string endpoint = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for endpoint to set. |
Returns | |
---|---|
Type | Description |
TunedModel.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public TunedModel.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TunedModel.Builder |
setModel(String value)
public TunedModel.Builder setModel(String value)
Output only. The resource name of the TunedModel. Format:
projects/{project}/locations/{___location}/models/{model}@{version_id}
When tuning from a base model, the version_id will be 1.
For continuous tuning, the version id will be incremented by 1 from the
last version id in the parent model. E.g.,
projects/{project}/locations/{___location}/models/{model}@{last_version_id +
1}
string model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The model to set. |
Returns | |
---|---|
Type | Description |
TunedModel.Builder |
This builder for chaining. |
setModelBytes(ByteString value)
public TunedModel.Builder setModelBytes(ByteString value)
Output only. The resource name of the TunedModel. Format:
projects/{project}/locations/{___location}/models/{model}@{version_id}
When tuning from a base model, the version_id will be 1.
For continuous tuning, the version id will be incremented by 1 from the
last version id in the parent model. E.g.,
projects/{project}/locations/{___location}/models/{model}@{last_version_id +
1}
string model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for model to set. |
Returns | |
---|---|
Type | Description |
TunedModel.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TunedModel.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
TunedModel.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TunedModel.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TunedModel.Builder |