Class MigrateResourceResponse.Builder (3.29.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MigrateResourceResponse build()
Returns
TypeDescription
MigrateResourceResponse

buildPartial()

public MigrateResourceResponse buildPartial()
Returns
TypeDescription
MigrateResourceResponse

clear()

public MigrateResourceResponse.Builder clear()
Returns
TypeDescription
MigrateResourceResponse.Builder
Overrides

clearDataset()

public MigrateResourceResponse.Builder clearDataset()

Migrated Dataset's resource name.

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

Returns
TypeDescription
MigrateResourceResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearMigratedResource()

public MigrateResourceResponse.Builder clearMigratedResource()
Returns
TypeDescription
MigrateResourceResponse.Builder

clearModel()

public MigrateResourceResponse.Builder clearModel()

Migrated Model's resource name.

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

Returns
TypeDescription
MigrateResourceResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public MigrateResourceResponse.Builder clone()
Returns
TypeDescription
MigrateResourceResponse.Builder
Overrides

getDataset()

public String getDataset()

Migrated Dataset's resource name.

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

Returns
TypeDescription
String

The dataset.

getDatasetBytes()

public ByteString getDatasetBytes()

Migrated Dataset's resource name.

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

Returns
TypeDescription
ByteString

The bytes for dataset.

getDefaultInstanceForType()

public MigrateResourceResponse getDefaultInstanceForType()
Returns
TypeDescription
MigrateResourceResponse

getDescriptorForType()

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

getMigratedResourceCase()

public MigrateResourceResponse.MigratedResourceCase getMigratedResourceCase()
Returns
TypeDescription
MigrateResourceResponse.MigratedResourceCase

getModel()

public String getModel()

Migrated Model's resource name.

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

Returns
TypeDescription
String

The model.

getModelBytes()

public ByteString getModelBytes()

Migrated Model's resource name.

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

Returns
TypeDescription
ByteString

The bytes for model.

hasDataset()

public boolean hasDataset()

Migrated Dataset's resource name.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the migratableResource field is set.

hasModel()

public boolean hasModel()

Migrated Model's resource name.

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

Returns
TypeDescription
boolean

Whether the model field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(MigrateResourceResponse other)

public MigrateResourceResponse.Builder mergeFrom(MigrateResourceResponse other)
Parameter
NameDescription
otherMigrateResourceResponse
Returns
TypeDescription
MigrateResourceResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public MigrateResourceResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueMigratableResource
Returns
TypeDescription
MigrateResourceResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The dataset to set.

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

The bytes for dataset to set.

Returns
TypeDescription
MigrateResourceResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setModel(String value)

public MigrateResourceResponse.Builder setModel(String value)

Migrated Model's resource name.

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

Parameter
NameDescription
valueString

The model to set.

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

The bytes for model to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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