Class MigrateResourceRequest.MigrateAutomlModelConfig.Builder (3.42.0)

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.v1beta1.MigrateResourceRequest.MigrateAutomlModelConfig

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MigrateResourceRequest.MigrateAutomlModelConfig.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MigrateResourceRequest.MigrateAutomlModelConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MigrateResourceRequest.MigrateAutomlModelConfig.Builder
Overrides

build()

public MigrateResourceRequest.MigrateAutomlModelConfig build()
Returns
Type Description
MigrateResourceRequest.MigrateAutomlModelConfig

buildPartial()

public MigrateResourceRequest.MigrateAutomlModelConfig buildPartial()
Returns
Type Description
MigrateResourceRequest.MigrateAutomlModelConfig

clear()

public MigrateResourceRequest.MigrateAutomlModelConfig.Builder clear()
Returns
Type Description
MigrateResourceRequest.MigrateAutomlModelConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public MigrateResourceRequest.MigrateAutomlModelConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MigrateResourceRequest.MigrateAutomlModelConfig.Builder
Overrides

clearModel()

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
Type Description
MigrateResourceRequest.MigrateAutomlModelConfig.Builder

This builder for chaining.

clearModelDisplayName()

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
Type Description
MigrateResourceRequest.MigrateAutomlModelConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public MigrateResourceRequest.MigrateAutomlModelConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MigrateResourceRequest.MigrateAutomlModelConfig.Builder
Overrides

clone()

public MigrateResourceRequest.MigrateAutomlModelConfig.Builder clone()
Returns
Type Description
MigrateResourceRequest.MigrateAutomlModelConfig.Builder
Overrides

getDefaultInstanceForType()

public MigrateResourceRequest.MigrateAutomlModelConfig getDefaultInstanceForType()
Returns
Type Description
MigrateResourceRequest.MigrateAutomlModelConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getModel()

public String getModel()

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.

getModelBytes()

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
Type Description
ByteString

The bytes for model.

getModelDisplayName()

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.

getModelDisplayNameBytes()

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MigrateResourceRequest.MigrateAutomlModelConfig other)

public MigrateResourceRequest.MigrateAutomlModelConfig.Builder mergeFrom(MigrateResourceRequest.MigrateAutomlModelConfig other)
Parameter
Name Description
other MigrateResourceRequest.MigrateAutomlModelConfig
Returns
Type Description
MigrateResourceRequest.MigrateAutomlModelConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MigrateResourceRequest.MigrateAutomlModelConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MigrateResourceRequest.MigrateAutomlModelConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public MigrateResourceRequest.MigrateAutomlModelConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MigrateResourceRequest.MigrateAutomlModelConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MigrateResourceRequest.MigrateAutomlModelConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MigrateResourceRequest.MigrateAutomlModelConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public MigrateResourceRequest.MigrateAutomlModelConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MigrateResourceRequest.MigrateAutomlModelConfig.Builder
Overrides

setModel(String value)

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
Type Description
MigrateResourceRequest.MigrateAutomlModelConfig.Builder

This builder for chaining.

setModelBytes(ByteString value)

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
Type Description
MigrateResourceRequest.MigrateAutomlModelConfig.Builder

This builder for chaining.

setModelDisplayName(String value)

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
Type Description
MigrateResourceRequest.MigrateAutomlModelConfig.Builder

This builder for chaining.

setModelDisplayNameBytes(ByteString value)

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
Type Description
MigrateResourceRequest.MigrateAutomlModelConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public MigrateResourceRequest.MigrateAutomlModelConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MigrateResourceRequest.MigrateAutomlModelConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MigrateResourceRequest.MigrateAutomlModelConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MigrateResourceRequest.MigrateAutomlModelConfig.Builder
Overrides