public static final class MigrateResourceRequest.MigrateAutomlModelConfig.Builder extends GeneratedMessageV3.Builder<MigrateResourceRequest.MigrateAutomlModelConfig.Builder> implements MigrateResourceRequest.MigrateAutomlModelConfigOrBuilder
Config for migrating Model in automl.googleapis.com to Vertex AI's Model.
Protobuf type
google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateAutomlModelConfig
Methods
public MigrateResourceRequest.MigrateAutomlModelConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public MigrateResourceRequest.MigrateAutomlModelConfig build()
Returns
public MigrateResourceRequest.MigrateAutomlModelConfig buildPartial()
Returns
public MigrateResourceRequest.MigrateAutomlModelConfig.Builder clear()
Returns
Overrides
public MigrateResourceRequest.MigrateAutomlModelConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public MigrateResourceRequest.MigrateAutomlModelConfig.Builder clearModel()
Required. Full resource name of automl Model.
Format:
projects/{project}/locations/{location}/models/{model}
.
string model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public MigrateResourceRequest.MigrateAutomlModelConfig.Builder clearModelDisplayName()
Optional. Display name of the model in Vertex AI.
System will pick a display name if unspecified.
string model_display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
public MigrateResourceRequest.MigrateAutomlModelConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public MigrateResourceRequest.MigrateAutomlModelConfig.Builder clone()
Returns
Overrides
public MigrateResourceRequest.MigrateAutomlModelConfig getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
Required. Full resource name of automl Model.
Format:
projects/{project}/locations/{location}/models/{model}
.
string model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The model.
|
public ByteString getModelBytes()
Required. Full resource name of automl Model.
Format:
projects/{project}/locations/{location}/models/{model}
.
string model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public String getModelDisplayName()
Optional. Display name of the model in Vertex AI.
System will pick a display name if unspecified.
string model_display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
String | The modelDisplayName.
|
public ByteString getModelDisplayNameBytes()
Optional. Display name of the model in Vertex AI.
System will pick a display name if unspecified.
string model_display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
ByteString | The bytes for modelDisplayName.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public MigrateResourceRequest.MigrateAutomlModelConfig.Builder mergeFrom(MigrateResourceRequest.MigrateAutomlModelConfig other)
Parameter
Returns
public MigrateResourceRequest.MigrateAutomlModelConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public MigrateResourceRequest.MigrateAutomlModelConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final MigrateResourceRequest.MigrateAutomlModelConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public MigrateResourceRequest.MigrateAutomlModelConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public MigrateResourceRequest.MigrateAutomlModelConfig.Builder setModel(String value)
Required. Full resource name of automl Model.
Format:
projects/{project}/locations/{location}/models/{model}
.
string model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The model to set.
|
Returns
public MigrateResourceRequest.MigrateAutomlModelConfig.Builder setModelBytes(ByteString value)
Required. Full resource name of automl Model.
Format:
projects/{project}/locations/{location}/models/{model}
.
string model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for model to set.
|
Returns
public MigrateResourceRequest.MigrateAutomlModelConfig.Builder setModelDisplayName(String value)
Optional. Display name of the model in Vertex AI.
System will pick a display name if unspecified.
string model_display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
value | String
The modelDisplayName to set.
|
Returns
public MigrateResourceRequest.MigrateAutomlModelConfig.Builder setModelDisplayNameBytes(ByteString value)
Optional. Display name of the model in Vertex AI.
System will pick a display name if unspecified.
string model_display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
value | ByteString
The bytes for modelDisplayName to set.
|
Returns
public MigrateResourceRequest.MigrateAutomlModelConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final MigrateResourceRequest.MigrateAutomlModelConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides