Class MigrateResourceRequest.MigrateAutomlModelConfig.Builder (3.15.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.v1.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MigrateResourceRequest.MigrateAutomlModelConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MigrateResourceRequest.MigrateAutomlModelConfig.Builder
Overrides

build()

public MigrateResourceRequest.MigrateAutomlModelConfig build()
Returns
TypeDescription
MigrateResourceRequest.MigrateAutomlModelConfig

buildPartial()

public MigrateResourceRequest.MigrateAutomlModelConfig buildPartial()
Returns
TypeDescription
MigrateResourceRequest.MigrateAutomlModelConfig

clear()

public MigrateResourceRequest.MigrateAutomlModelConfig.Builder clear()
Returns
TypeDescription
MigrateResourceRequest.MigrateAutomlModelConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public MigrateResourceRequest.MigrateAutomlModelConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
MigrateResourceRequest.MigrateAutomlModelConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public MigrateResourceRequest.MigrateAutomlModelConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
MigrateResourceRequest.MigrateAutomlModelConfig.Builder
Overrides

clone()

public MigrateResourceRequest.MigrateAutomlModelConfig.Builder clone()
Returns
TypeDescription
MigrateResourceRequest.MigrateAutomlModelConfig.Builder
Overrides

getDefaultInstanceForType()

public MigrateResourceRequest.MigrateAutomlModelConfig getDefaultInstanceForType()
Returns
TypeDescription
MigrateResourceRequest.MigrateAutomlModelConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for modelDisplayName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(MigrateResourceRequest.MigrateAutomlModelConfig other)

public MigrateResourceRequest.MigrateAutomlModelConfig.Builder mergeFrom(MigrateResourceRequest.MigrateAutomlModelConfig other)
Parameter
NameDescription
otherMigrateResourceRequest.MigrateAutomlModelConfig
Returns
TypeDescription
MigrateResourceRequest.MigrateAutomlModelConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MigrateResourceRequest.MigrateAutomlModelConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MigrateResourceRequest.MigrateAutomlModelConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public MigrateResourceRequest.MigrateAutomlModelConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
MigrateResourceRequest.MigrateAutomlModelConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MigrateResourceRequest.MigrateAutomlModelConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MigrateResourceRequest.MigrateAutomlModelConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public MigrateResourceRequest.MigrateAutomlModelConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The model to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for model to set.

Returns
TypeDescription
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
NameDescription
valueString

The modelDisplayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for modelDisplayName to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
MigrateResourceRequest.MigrateAutomlModelConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MigrateResourceRequest.MigrateAutomlModelConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MigrateResourceRequest.MigrateAutomlModelConfig.Builder
Overrides