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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public MigrateResourceRequest.MigrateMlEngineModelVersionConfig.Builder clear()
Returns
TypeDescription
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
TypeDescription
MigrateResourceRequest.MigrateMlEngineModelVersionConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

The bytes for modelVersion.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(MigrateResourceRequest.MigrateMlEngineModelVersionConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MigrateResourceRequest.MigrateMlEngineModelVersionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The endpoint to set.

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

The bytes for endpoint to set.

Returns
TypeDescription
MigrateResourceRequest.MigrateMlEngineModelVersionConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The modelDisplayName to set.

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

The bytes for modelDisplayName to set.

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

The modelVersion to set.

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

The bytes for modelVersion to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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