Class MigrateResourceRequest.MigrateMlEngineModelVersionConfig.Builder (3.54.0)

public static final class MigrateResourceRequest.MigrateMlEngineModelVersionConfig.Builder extends GeneratedMessageV3.Builder<MigrateResourceRequest.MigrateMlEngineModelVersionConfig.Builder> implements MigrateResourceRequest.MigrateMlEngineModelVersionConfigOrBuilder

Config for migrating version in ml.googleapis.com to Vertex AI's Model.

Protobuf type google.cloud.aiplatform.v1beta1.MigrateResourceRequest.MigrateMlEngineModelVersionConfig

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearEndpoint()

public MigrateResourceRequest.MigrateMlEngineModelVersionConfig.Builder clearEndpoint()

Required. The ml.googleapis.com endpoint that this model version should be migrated from. Example values:

  • ml.googleapis.com

  • us-centrall-ml.googleapis.com

  • europe-west4-ml.googleapis.com

  • asia-east1-ml.googleapis.com

string endpoint = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MigrateResourceRequest.MigrateMlEngineModelVersionConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearModelDisplayName()

public MigrateResourceRequest.MigrateMlEngineModelVersionConfig.Builder clearModelDisplayName()

Required. Display name of the model in Vertex AI. System will pick a display name if unspecified.

string model_display_name = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MigrateResourceRequest.MigrateMlEngineModelVersionConfig.Builder

This builder for chaining.

clearModelVersion()

public MigrateResourceRequest.MigrateMlEngineModelVersionConfig.Builder clearModelVersion()

Required. Full resource name of ml engine model version. Format: projects/{project}/models/{model}/versions/{version}.

string model_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
MigrateResourceRequest.MigrateMlEngineModelVersionConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getEndpoint()

public String getEndpoint()

Required. The ml.googleapis.com endpoint that this model version should be migrated from. Example values:

  • ml.googleapis.com

  • us-centrall-ml.googleapis.com

  • europe-west4-ml.googleapis.com

  • asia-east1-ml.googleapis.com

string endpoint = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The endpoint.

getEndpointBytes()

public ByteString getEndpointBytes()

Required. The ml.googleapis.com endpoint that this model version should be migrated from. Example values:

  • ml.googleapis.com

  • us-centrall-ml.googleapis.com

  • europe-west4-ml.googleapis.com

  • asia-east1-ml.googleapis.com

string endpoint = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for endpoint.

getModelDisplayName()

public String getModelDisplayName()

Required. Display name of the model in Vertex AI. System will pick a display name if unspecified.

string model_display_name = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The modelDisplayName.

getModelDisplayNameBytes()

public ByteString getModelDisplayNameBytes()

Required. Display name of the model in Vertex AI. System will pick a display name if unspecified.

string model_display_name = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for modelDisplayName.

getModelVersion()

public String getModelVersion()

Required. Full resource name of ml engine model version. Format: projects/{project}/models/{model}/versions/{version}.

string model_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The modelVersion.

getModelVersionBytes()

public ByteString getModelVersionBytes()

Required. Full resource name of ml engine model version. Format: projects/{project}/models/{model}/versions/{version}.

string model_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for modelVersion.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MigrateResourceRequest.MigrateMlEngineModelVersionConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEndpoint(String value)

public MigrateResourceRequest.MigrateMlEngineModelVersionConfig.Builder setEndpoint(String value)

Required. The ml.googleapis.com endpoint that this model version should be migrated from. Example values:

  • ml.googleapis.com

  • us-centrall-ml.googleapis.com

  • europe-west4-ml.googleapis.com

  • asia-east1-ml.googleapis.com

string endpoint = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The endpoint to set.

Returns
Type Description
MigrateResourceRequest.MigrateMlEngineModelVersionConfig.Builder

This builder for chaining.

setEndpointBytes(ByteString value)

public MigrateResourceRequest.MigrateMlEngineModelVersionConfig.Builder setEndpointBytes(ByteString value)

Required. The ml.googleapis.com endpoint that this model version should be migrated from. Example values:

  • ml.googleapis.com

  • us-centrall-ml.googleapis.com

  • europe-west4-ml.googleapis.com

  • asia-east1-ml.googleapis.com

string endpoint = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for endpoint to set.

Returns
Type Description
MigrateResourceRequest.MigrateMlEngineModelVersionConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setModelDisplayName(String value)

public MigrateResourceRequest.MigrateMlEngineModelVersionConfig.Builder setModelDisplayName(String value)

Required. Display name of the model in Vertex AI. System will pick a display name if unspecified.

string model_display_name = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The modelDisplayName to set.

Returns
Type Description
MigrateResourceRequest.MigrateMlEngineModelVersionConfig.Builder

This builder for chaining.

setModelDisplayNameBytes(ByteString value)

public MigrateResourceRequest.MigrateMlEngineModelVersionConfig.Builder setModelDisplayNameBytes(ByteString value)

Required. Display name of the model in Vertex AI. System will pick a display name if unspecified.

string model_display_name = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for modelDisplayName to set.

Returns
Type Description
MigrateResourceRequest.MigrateMlEngineModelVersionConfig.Builder

This builder for chaining.

setModelVersion(String value)

public MigrateResourceRequest.MigrateMlEngineModelVersionConfig.Builder setModelVersion(String value)

Required. Full resource name of ml engine model version. Format: projects/{project}/models/{model}/versions/{version}.

string model_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The modelVersion to set.

Returns
Type Description
MigrateResourceRequest.MigrateMlEngineModelVersionConfig.Builder

This builder for chaining.

setModelVersionBytes(ByteString value)

public MigrateResourceRequest.MigrateMlEngineModelVersionConfig.Builder setModelVersionBytes(ByteString value)

Required. Full resource name of ml engine model version. Format: projects/{project}/models/{model}/versions/{version}.

string model_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for modelVersion to set.

Returns
Type Description
MigrateResourceRequest.MigrateMlEngineModelVersionConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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