Class BatchMigrateResourcesOperationMetadata.PartialResult.Builder (2.4.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.v1.BatchMigrateResourcesOperationMetadata.PartialResult

Inheritance

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchMigrateResourcesOperationMetadata.PartialResult build()
Returns
TypeDescription
BatchMigrateResourcesOperationMetadata.PartialResult

buildPartial()

public BatchMigrateResourcesOperationMetadata.PartialResult buildPartial()
Returns
TypeDescription
BatchMigrateResourcesOperationMetadata.PartialResult

clear()

public BatchMigrateResourcesOperationMetadata.PartialResult.Builder clear()
Returns
TypeDescription
BatchMigrateResourcesOperationMetadata.PartialResult.Builder
Overrides

clearDataset()

public BatchMigrateResourcesOperationMetadata.PartialResult.Builder clearDataset()

Migrated dataset resource name.

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

Returns
TypeDescription
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
TypeDescription
BatchMigrateResourcesOperationMetadata.PartialResult.Builder

clearField(Descriptors.FieldDescriptor field)

public BatchMigrateResourcesOperationMetadata.PartialResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BatchMigrateResourcesOperationMetadata.PartialResult.Builder
Overrides

clearModel()

public BatchMigrateResourcesOperationMetadata.PartialResult.Builder clearModel()

Migrated model resource name.

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

Returns
TypeDescription
BatchMigrateResourcesOperationMetadata.PartialResult.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchMigrateResourcesOperationMetadata.PartialResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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.v1.MigrateResourceRequest request = 1;

Returns
TypeDescription
BatchMigrateResourcesOperationMetadata.PartialResult.Builder

clearResult()

public BatchMigrateResourcesOperationMetadata.PartialResult.Builder clearResult()
Returns
TypeDescription
BatchMigrateResourcesOperationMetadata.PartialResult.Builder

clone()

public BatchMigrateResourcesOperationMetadata.PartialResult.Builder clone()
Returns
TypeDescription
BatchMigrateResourcesOperationMetadata.PartialResult.Builder
Overrides

getDataset()

public String getDataset()

Migrated dataset resource name.

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

Returns
TypeDescription
String

The dataset.

getDatasetBytes()

public ByteString getDatasetBytes()

Migrated dataset resource name.

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

Returns
TypeDescription
ByteString

The bytes for dataset.

getDefaultInstanceForType()

public BatchMigrateResourcesOperationMetadata.PartialResult getDefaultInstanceForType()
Returns
TypeDescription
BatchMigrateResourcesOperationMetadata.PartialResult

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getError()

public Status getError()

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

.google.rpc.Status error = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
com.google.rpc.StatusOrBuilder

getModel()

public String getModel()

Migrated model resource name.

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

Returns
TypeDescription
String

The model.

getModelBytes()

public ByteString getModelBytes()

Migrated model resource name.

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

Returns
TypeDescription
ByteString

The bytes for model.

getRequest()

public MigrateResourceRequest getRequest()

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

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

Returns
TypeDescription
MigrateResourceRequest

The request.

getRequestBuilder()

public MigrateResourceRequest.Builder getRequestBuilder()

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

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

Returns
TypeDescription
MigrateResourceRequest.Builder

getRequestOrBuilder()

public MigrateResourceRequestOrBuilder getRequestOrBuilder()

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

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

Returns
TypeDescription
MigrateResourceRequestOrBuilder

getResultCase()

public BatchMigrateResourcesOperationMetadata.PartialResult.ResultCase getResultCase()
Returns
TypeDescription
BatchMigrateResourcesOperationMetadata.PartialResult.ResultCase

hasDataset()

public boolean hasDataset()

Migrated dataset resource name.

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

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

Whether the error field is set.

hasModel()

public boolean hasModel()

Migrated model resource name.

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

Returns
TypeDescription
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.v1.MigrateResourceRequest request = 1;

Returns
TypeDescription
boolean

Whether the request field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
BatchMigrateResourcesOperationMetadata.PartialResult.Builder

mergeFrom(BatchMigrateResourcesOperationMetadata.PartialResult other)

public BatchMigrateResourcesOperationMetadata.PartialResult.Builder mergeFrom(BatchMigrateResourcesOperationMetadata.PartialResult other)
Parameter
NameDescription
otherBatchMigrateResourcesOperationMetadata.PartialResult
Returns
TypeDescription
BatchMigrateResourcesOperationMetadata.PartialResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public BatchMigrateResourcesOperationMetadata.PartialResult.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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.v1.MigrateResourceRequest request = 1;

Parameter
NameDescription
valueMigrateResourceRequest
Returns
TypeDescription
BatchMigrateResourcesOperationMetadata.PartialResult.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The dataset to set.

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

The bytes for dataset to set.

Returns
TypeDescription
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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
BatchMigrateResourcesOperationMetadata.PartialResult.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The model to set.

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

The bytes for model to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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.v1.MigrateResourceRequest request = 1;

Parameter
NameDescription
valueMigrateResourceRequest
Returns
TypeDescription
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.v1.MigrateResourceRequest request = 1;

Parameter
NameDescription
builderForValueMigrateResourceRequest.Builder
Returns
TypeDescription
BatchMigrateResourcesOperationMetadata.PartialResult.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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