Class MigrateResourceResponse.Builder (3.42.0)

public static final class MigrateResourceResponse.Builder extends GeneratedMessageV3.Builder<MigrateResourceResponse.Builder> implements MigrateResourceResponseOrBuilder

Describes a successfully migrated resource.

Protobuf type google.cloud.aiplatform.v1beta1.MigrateResourceResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MigrateResourceResponse build()
Returns
Type Description
MigrateResourceResponse

buildPartial()

public MigrateResourceResponse buildPartial()
Returns
Type Description
MigrateResourceResponse

clear()

public MigrateResourceResponse.Builder clear()
Returns
Type Description
MigrateResourceResponse.Builder
Overrides

clearDataset()

public MigrateResourceResponse.Builder clearDataset()

Migrated Dataset's resource name.

string dataset = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
MigrateResourceResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearMigratableResource()

public MigrateResourceResponse.Builder clearMigratableResource()

Before migration, the identifier in ml.googleapis.com, automl.googleapis.com or datalabeling.googleapis.com.

.google.cloud.aiplatform.v1beta1.MigratableResource migratable_resource = 3;

Returns
Type Description
MigrateResourceResponse.Builder

clearMigratedResource()

public MigrateResourceResponse.Builder clearMigratedResource()
Returns
Type Description
MigrateResourceResponse.Builder

clearModel()

public MigrateResourceResponse.Builder clearModel()

Migrated Model's resource name.

string model = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
MigrateResourceResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public MigrateResourceResponse.Builder clone()
Returns
Type Description
MigrateResourceResponse.Builder
Overrides

getDataset()

public String getDataset()

Migrated Dataset's resource name.

string dataset = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The dataset.

getDatasetBytes()

public ByteString getDatasetBytes()

Migrated Dataset's resource name.

string dataset = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for dataset.

getDefaultInstanceForType()

public MigrateResourceResponse getDefaultInstanceForType()
Returns
Type Description
MigrateResourceResponse

getDescriptorForType()

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

getMigratableResource()

public MigratableResource getMigratableResource()

Before migration, the identifier in ml.googleapis.com, automl.googleapis.com or datalabeling.googleapis.com.

.google.cloud.aiplatform.v1beta1.MigratableResource migratable_resource = 3;

Returns
Type Description
MigratableResource

The migratableResource.

getMigratableResourceBuilder()

public MigratableResource.Builder getMigratableResourceBuilder()

Before migration, the identifier in ml.googleapis.com, automl.googleapis.com or datalabeling.googleapis.com.

.google.cloud.aiplatform.v1beta1.MigratableResource migratable_resource = 3;

Returns
Type Description
MigratableResource.Builder

getMigratableResourceOrBuilder()

public MigratableResourceOrBuilder getMigratableResourceOrBuilder()

Before migration, the identifier in ml.googleapis.com, automl.googleapis.com or datalabeling.googleapis.com.

.google.cloud.aiplatform.v1beta1.MigratableResource migratable_resource = 3;

Returns
Type Description
MigratableResourceOrBuilder

getMigratedResourceCase()

public MigrateResourceResponse.MigratedResourceCase getMigratedResourceCase()
Returns
Type Description
MigrateResourceResponse.MigratedResourceCase

getModel()

public String getModel()

Migrated Model's resource name.

string model = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The model.

getModelBytes()

public ByteString getModelBytes()

Migrated Model's resource name.

string model = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for model.

hasDataset()

public boolean hasDataset()

Migrated Dataset's resource name.

string dataset = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the dataset field is set.

hasMigratableResource()

public boolean hasMigratableResource()

Before migration, the identifier in ml.googleapis.com, automl.googleapis.com or datalabeling.googleapis.com.

.google.cloud.aiplatform.v1beta1.MigratableResource migratable_resource = 3;

Returns
Type Description
boolean

Whether the migratableResource field is set.

hasModel()

public boolean hasModel()

Migrated Model's resource name.

string model = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the model field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MigrateResourceResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMigratableResource(MigratableResource value)

public MigrateResourceResponse.Builder mergeMigratableResource(MigratableResource value)

Before migration, the identifier in ml.googleapis.com, automl.googleapis.com or datalabeling.googleapis.com.

.google.cloud.aiplatform.v1beta1.MigratableResource migratable_resource = 3;

Parameter
Name Description
value MigratableResource
Returns
Type Description
MigrateResourceResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDataset(String value)

public MigrateResourceResponse.Builder setDataset(String value)

Migrated Dataset's resource name.

string dataset = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The dataset to set.

Returns
Type Description
MigrateResourceResponse.Builder

This builder for chaining.

setDatasetBytes(ByteString value)

public MigrateResourceResponse.Builder setDatasetBytes(ByteString value)

Migrated Dataset's resource name.

string dataset = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for dataset to set.

Returns
Type Description
MigrateResourceResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setMigratableResource(MigratableResource value)

public MigrateResourceResponse.Builder setMigratableResource(MigratableResource value)

Before migration, the identifier in ml.googleapis.com, automl.googleapis.com or datalabeling.googleapis.com.

.google.cloud.aiplatform.v1beta1.MigratableResource migratable_resource = 3;

Parameter
Name Description
value MigratableResource
Returns
Type Description
MigrateResourceResponse.Builder

setMigratableResource(MigratableResource.Builder builderForValue)

public MigrateResourceResponse.Builder setMigratableResource(MigratableResource.Builder builderForValue)

Before migration, the identifier in ml.googleapis.com, automl.googleapis.com or datalabeling.googleapis.com.

.google.cloud.aiplatform.v1beta1.MigratableResource migratable_resource = 3;

Parameter
Name Description
builderForValue MigratableResource.Builder
Returns
Type Description
MigrateResourceResponse.Builder

setModel(String value)

public MigrateResourceResponse.Builder setModel(String value)

Migrated Model's resource name.

string model = 2 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The model to set.

Returns
Type Description
MigrateResourceResponse.Builder

This builder for chaining.

setModelBytes(ByteString value)

public MigrateResourceResponse.Builder setModelBytes(ByteString value)

Migrated Model's resource name.

string model = 2 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for model to set.

Returns
Type Description
MigrateResourceResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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