Class BatchMigrateResourcesOperationMetadata.PartialResult.Builder (3.42.0)

public static final class BatchMigrateResourcesOperationMetadata.PartialResult.Builder extends GeneratedMessageV3.Builder<BatchMigrateResourcesOperationMetadata.PartialResult.Builder> implements BatchMigrateResourcesOperationMetadata.PartialResultOrBuilder

Represents a partial result in batch migration operation for one MigrateResourceRequest.

Protobuf type google.cloud.aiplatform.v1beta1.BatchMigrateResourcesOperationMetadata.PartialResult

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BatchMigrateResourcesOperationMetadata.PartialResult.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchMigrateResourcesOperationMetadata.PartialResult build()
Returns
Type Description
BatchMigrateResourcesOperationMetadata.PartialResult

buildPartial()

public BatchMigrateResourcesOperationMetadata.PartialResult buildPartial()
Returns
Type Description
BatchMigrateResourcesOperationMetadata.PartialResult

clear()

public BatchMigrateResourcesOperationMetadata.PartialResult.Builder clear()
Returns
Type Description
BatchMigrateResourcesOperationMetadata.PartialResult.Builder
Overrides

clearDataset()

public BatchMigrateResourcesOperationMetadata.PartialResult.Builder clearDataset()

Migrated dataset resource name.

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

Returns
Type Description
BatchMigrateResourcesOperationMetadata.PartialResult.Builder

This builder for chaining.

clearError()

public BatchMigrateResourcesOperationMetadata.PartialResult.Builder clearError()

The error result of the migration request in case of failure.

.google.rpc.Status error = 2;

Returns
Type Description
BatchMigrateResourcesOperationMetadata.PartialResult.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearModel()

public BatchMigrateResourcesOperationMetadata.PartialResult.Builder clearModel()

Migrated model resource name.

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

Returns
Type Description
BatchMigrateResourcesOperationMetadata.PartialResult.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRequest()

public BatchMigrateResourcesOperationMetadata.PartialResult.Builder clearRequest()

It's the same as the value in [MigrateResourceRequest.migrate_resource_requests][].

.google.cloud.aiplatform.v1beta1.MigrateResourceRequest request = 1;

Returns
Type Description
BatchMigrateResourcesOperationMetadata.PartialResult.Builder

clearResult()

public BatchMigrateResourcesOperationMetadata.PartialResult.Builder clearResult()
Returns
Type Description
BatchMigrateResourcesOperationMetadata.PartialResult.Builder

clone()

public BatchMigrateResourcesOperationMetadata.PartialResult.Builder clone()
Returns
Type Description
BatchMigrateResourcesOperationMetadata.PartialResult.Builder
Overrides

getDataset()

public String getDataset()

Migrated dataset resource name.

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

Returns
Type Description
String

The dataset.

getDatasetBytes()

public ByteString getDatasetBytes()

Migrated dataset resource name.

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

Returns
Type Description
ByteString

The bytes for dataset.

getDefaultInstanceForType()

public BatchMigrateResourcesOperationMetadata.PartialResult getDefaultInstanceForType()
Returns
Type Description
BatchMigrateResourcesOperationMetadata.PartialResult

getDescriptorForType()

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

getError()

public Status getError()

The error result of the migration request in case of failure.

.google.rpc.Status error = 2;

Returns
Type Description
com.google.rpc.Status

The error.

getErrorBuilder()

public Status.Builder getErrorBuilder()

The error result of the migration request in case of failure.

.google.rpc.Status error = 2;

Returns
Type Description
com.google.rpc.Status.Builder

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

The error result of the migration request in case of failure.

.google.rpc.Status error = 2;

Returns
Type Description
com.google.rpc.StatusOrBuilder

getModel()

public String getModel()

Migrated model resource name.

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

Returns
Type Description
String

The model.

getModelBytes()

public ByteString getModelBytes()

Migrated model resource name.

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

Returns
Type Description
ByteString

The bytes for model.

getRequest()

public MigrateResourceRequest getRequest()

It's the same as the value in [MigrateResourceRequest.migrate_resource_requests][].

.google.cloud.aiplatform.v1beta1.MigrateResourceRequest request = 1;

Returns
Type Description
MigrateResourceRequest

The request.

getRequestBuilder()

public MigrateResourceRequest.Builder getRequestBuilder()

It's the same as the value in [MigrateResourceRequest.migrate_resource_requests][].

.google.cloud.aiplatform.v1beta1.MigrateResourceRequest request = 1;

Returns
Type Description
MigrateResourceRequest.Builder

getRequestOrBuilder()

public MigrateResourceRequestOrBuilder getRequestOrBuilder()

It's the same as the value in [MigrateResourceRequest.migrate_resource_requests][].

.google.cloud.aiplatform.v1beta1.MigrateResourceRequest request = 1;

Returns
Type Description
MigrateResourceRequestOrBuilder

getResultCase()

public BatchMigrateResourcesOperationMetadata.PartialResult.ResultCase getResultCase()
Returns
Type Description
BatchMigrateResourcesOperationMetadata.PartialResult.ResultCase

hasDataset()

public boolean hasDataset()

Migrated dataset resource name.

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

Returns
Type Description
boolean

Whether the dataset field is set.

hasError()

public boolean hasError()

The error result of the migration request in case of failure.

.google.rpc.Status error = 2;

Returns
Type Description
boolean

Whether the error field is set.

hasModel()

public boolean hasModel()

Migrated model resource name.

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

Returns
Type Description
boolean

Whether the model field is set.

hasRequest()

public boolean hasRequest()

It's the same as the value in [MigrateResourceRequest.migrate_resource_requests][].

.google.cloud.aiplatform.v1beta1.MigrateResourceRequest request = 1;

Returns
Type Description
boolean

Whether the request field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeError(Status value)

public BatchMigrateResourcesOperationMetadata.PartialResult.Builder mergeError(Status value)

The error result of the migration request in case of failure.

.google.rpc.Status error = 2;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
BatchMigrateResourcesOperationMetadata.PartialResult.Builder

mergeFrom(BatchMigrateResourcesOperationMetadata.PartialResult other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRequest(MigrateResourceRequest value)

public BatchMigrateResourcesOperationMetadata.PartialResult.Builder mergeRequest(MigrateResourceRequest value)

It's the same as the value in [MigrateResourceRequest.migrate_resource_requests][].

.google.cloud.aiplatform.v1beta1.MigrateResourceRequest request = 1;

Parameter
Name Description
value MigrateResourceRequest
Returns
Type Description
BatchMigrateResourcesOperationMetadata.PartialResult.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDataset(String value)

public BatchMigrateResourcesOperationMetadata.PartialResult.Builder setDataset(String value)

Migrated dataset resource name.

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

Parameter
Name Description
value String

The dataset to set.

Returns
Type Description
BatchMigrateResourcesOperationMetadata.PartialResult.Builder

This builder for chaining.

setDatasetBytes(ByteString value)

public BatchMigrateResourcesOperationMetadata.PartialResult.Builder setDatasetBytes(ByteString value)

Migrated dataset resource name.

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

Parameter
Name Description
value ByteString

The bytes for dataset to set.

Returns
Type Description
BatchMigrateResourcesOperationMetadata.PartialResult.Builder

This builder for chaining.

setError(Status value)

public BatchMigrateResourcesOperationMetadata.PartialResult.Builder setError(Status value)

The error result of the migration request in case of failure.

.google.rpc.Status error = 2;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
BatchMigrateResourcesOperationMetadata.PartialResult.Builder

setError(Status.Builder builderForValue)

public BatchMigrateResourcesOperationMetadata.PartialResult.Builder setError(Status.Builder builderForValue)

The error result of the migration request in case of failure.

.google.rpc.Status error = 2;

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
BatchMigrateResourcesOperationMetadata.PartialResult.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setModel(String value)

public BatchMigrateResourcesOperationMetadata.PartialResult.Builder setModel(String value)

Migrated model resource name.

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

Parameter
Name Description
value String

The model to set.

Returns
Type Description
BatchMigrateResourcesOperationMetadata.PartialResult.Builder

This builder for chaining.

setModelBytes(ByteString value)

public BatchMigrateResourcesOperationMetadata.PartialResult.Builder setModelBytes(ByteString value)

Migrated model resource name.

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

Parameter
Name Description
value ByteString

The bytes for model to set.

Returns
Type Description
BatchMigrateResourcesOperationMetadata.PartialResult.Builder

This builder for chaining.

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

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

setRequest(MigrateResourceRequest value)

public BatchMigrateResourcesOperationMetadata.PartialResult.Builder setRequest(MigrateResourceRequest value)

It's the same as the value in [MigrateResourceRequest.migrate_resource_requests][].

.google.cloud.aiplatform.v1beta1.MigrateResourceRequest request = 1;

Parameter
Name Description
value MigrateResourceRequest
Returns
Type Description
BatchMigrateResourcesOperationMetadata.PartialResult.Builder

setRequest(MigrateResourceRequest.Builder builderForValue)

public BatchMigrateResourcesOperationMetadata.PartialResult.Builder setRequest(MigrateResourceRequest.Builder builderForValue)

It's the same as the value in [MigrateResourceRequest.migrate_resource_requests][].

.google.cloud.aiplatform.v1beta1.MigrateResourceRequest request = 1;

Parameter
Name Description
builderForValue MigrateResourceRequest.Builder
Returns
Type Description
BatchMigrateResourcesOperationMetadata.PartialResult.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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