Class TransferOperationMetadata.Builder (0.9.0)

public static final class TransferOperationMetadata.Builder extends GeneratedMessageV3.Builder<TransferOperationMetadata.Builder> implements TransferOperationMetadataOrBuilder

Represents the metadata of the long-running operation.

Protobuf type google.cloud.parallelstore.v1beta.TransferOperationMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TransferOperationMetadata build()
Returns
Type Description
TransferOperationMetadata

buildPartial()

public TransferOperationMetadata buildPartial()
Returns
Type Description
TransferOperationMetadata

clear()

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

clearCounters()

public TransferOperationMetadata.Builder clearCounters()

Output only. Information about the progress of the transfer operation.

.google.cloud.parallelstore.v1beta.TransferCounters counters = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TransferOperationMetadata.Builder

clearDestination()

public TransferOperationMetadata.Builder clearDestination()
Returns
Type Description
TransferOperationMetadata.Builder

clearDestinationGcsBucket()

public TransferOperationMetadata.Builder clearDestinationGcsBucket()

Output only. Cloud Storage destination.

.google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TransferOperationMetadata.Builder

clearDestinationParallelstore()

public TransferOperationMetadata.Builder clearDestinationParallelstore()

Output only. Parallelstore destination.

.google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TransferOperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSource()

public TransferOperationMetadata.Builder clearSource()
Returns
Type Description
TransferOperationMetadata.Builder

clearSourceGcsBucket()

public TransferOperationMetadata.Builder clearSourceGcsBucket()

Output only. Cloud Storage source.

.google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TransferOperationMetadata.Builder

clearSourceParallelstore()

public TransferOperationMetadata.Builder clearSourceParallelstore()

Output only. Parallelstore source.

.google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TransferOperationMetadata.Builder

clearTransferType()

public TransferOperationMetadata.Builder clearTransferType()

Output only. The type of transfer occurring.

.google.cloud.parallelstore.v1beta.TransferType transfer_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TransferOperationMetadata.Builder

This builder for chaining.

clone()

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

getCounters()

public TransferCounters getCounters()

Output only. Information about the progress of the transfer operation.

.google.cloud.parallelstore.v1beta.TransferCounters counters = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TransferCounters

The counters.

getCountersBuilder()

public TransferCounters.Builder getCountersBuilder()

Output only. Information about the progress of the transfer operation.

.google.cloud.parallelstore.v1beta.TransferCounters counters = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TransferCounters.Builder

getCountersOrBuilder()

public TransferCountersOrBuilder getCountersOrBuilder()

Output only. Information about the progress of the transfer operation.

.google.cloud.parallelstore.v1beta.TransferCounters counters = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TransferCountersOrBuilder

getDefaultInstanceForType()

public TransferOperationMetadata getDefaultInstanceForType()
Returns
Type Description
TransferOperationMetadata

getDescriptorForType()

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

getDestinationCase()

public TransferOperationMetadata.DestinationCase getDestinationCase()
Returns
Type Description
TransferOperationMetadata.DestinationCase

getDestinationGcsBucket()

public DestinationGcsBucket getDestinationGcsBucket()

Output only. Cloud Storage destination.

.google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DestinationGcsBucket

The destinationGcsBucket.

getDestinationGcsBucketBuilder()

public DestinationGcsBucket.Builder getDestinationGcsBucketBuilder()

Output only. Cloud Storage destination.

.google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DestinationGcsBucket.Builder

getDestinationGcsBucketOrBuilder()

public DestinationGcsBucketOrBuilder getDestinationGcsBucketOrBuilder()

Output only. Cloud Storage destination.

.google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DestinationGcsBucketOrBuilder

getDestinationParallelstore()

public DestinationParallelstore getDestinationParallelstore()

Output only. Parallelstore destination.

.google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DestinationParallelstore

The destinationParallelstore.

getDestinationParallelstoreBuilder()

public DestinationParallelstore.Builder getDestinationParallelstoreBuilder()

Output only. Parallelstore destination.

.google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DestinationParallelstore.Builder

getDestinationParallelstoreOrBuilder()

public DestinationParallelstoreOrBuilder getDestinationParallelstoreOrBuilder()

Output only. Parallelstore destination.

.google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DestinationParallelstoreOrBuilder

getSourceCase()

public TransferOperationMetadata.SourceCase getSourceCase()
Returns
Type Description
TransferOperationMetadata.SourceCase

getSourceGcsBucket()

public SourceGcsBucket getSourceGcsBucket()

Output only. Cloud Storage source.

.google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SourceGcsBucket

The sourceGcsBucket.

getSourceGcsBucketBuilder()

public SourceGcsBucket.Builder getSourceGcsBucketBuilder()

Output only. Cloud Storage source.

.google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SourceGcsBucket.Builder

getSourceGcsBucketOrBuilder()

public SourceGcsBucketOrBuilder getSourceGcsBucketOrBuilder()

Output only. Cloud Storage source.

.google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SourceGcsBucketOrBuilder

getSourceParallelstore()

public SourceParallelstore getSourceParallelstore()

Output only. Parallelstore source.

.google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SourceParallelstore

The sourceParallelstore.

getSourceParallelstoreBuilder()

public SourceParallelstore.Builder getSourceParallelstoreBuilder()

Output only. Parallelstore source.

.google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SourceParallelstore.Builder

getSourceParallelstoreOrBuilder()

public SourceParallelstoreOrBuilder getSourceParallelstoreOrBuilder()

Output only. Parallelstore source.

.google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SourceParallelstoreOrBuilder

getTransferType()

public TransferType getTransferType()

Output only. The type of transfer occurring.

.google.cloud.parallelstore.v1beta.TransferType transfer_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TransferType

The transferType.

getTransferTypeValue()

public int getTransferTypeValue()

Output only. The type of transfer occurring.

.google.cloud.parallelstore.v1beta.TransferType transfer_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for transferType.

hasCounters()

public boolean hasCounters()

Output only. Information about the progress of the transfer operation.

.google.cloud.parallelstore.v1beta.TransferCounters counters = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the counters field is set.

hasDestinationGcsBucket()

public boolean hasDestinationGcsBucket()

Output only. Cloud Storage destination.

.google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the destinationGcsBucket field is set.

hasDestinationParallelstore()

public boolean hasDestinationParallelstore()

Output only. Parallelstore destination.

.google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the destinationParallelstore field is set.

hasSourceGcsBucket()

public boolean hasSourceGcsBucket()

Output only. Cloud Storage source.

.google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the sourceGcsBucket field is set.

hasSourceParallelstore()

public boolean hasSourceParallelstore()

Output only. Parallelstore source.

.google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the sourceParallelstore field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCounters(TransferCounters value)

public TransferOperationMetadata.Builder mergeCounters(TransferCounters value)

Output only. Information about the progress of the transfer operation.

.google.cloud.parallelstore.v1beta.TransferCounters counters = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value TransferCounters
Returns
Type Description
TransferOperationMetadata.Builder

mergeDestinationGcsBucket(DestinationGcsBucket value)

public TransferOperationMetadata.Builder mergeDestinationGcsBucket(DestinationGcsBucket value)

Output only. Cloud Storage destination.

.google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DestinationGcsBucket
Returns
Type Description
TransferOperationMetadata.Builder

mergeDestinationParallelstore(DestinationParallelstore value)

public TransferOperationMetadata.Builder mergeDestinationParallelstore(DestinationParallelstore value)

Output only. Parallelstore destination.

.google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DestinationParallelstore
Returns
Type Description
TransferOperationMetadata.Builder

mergeFrom(TransferOperationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSourceGcsBucket(SourceGcsBucket value)

public TransferOperationMetadata.Builder mergeSourceGcsBucket(SourceGcsBucket value)

Output only. Cloud Storage source.

.google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value SourceGcsBucket
Returns
Type Description
TransferOperationMetadata.Builder

mergeSourceParallelstore(SourceParallelstore value)

public TransferOperationMetadata.Builder mergeSourceParallelstore(SourceParallelstore value)

Output only. Parallelstore source.

.google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value SourceParallelstore
Returns
Type Description
TransferOperationMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCounters(TransferCounters value)

public TransferOperationMetadata.Builder setCounters(TransferCounters value)

Output only. Information about the progress of the transfer operation.

.google.cloud.parallelstore.v1beta.TransferCounters counters = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value TransferCounters
Returns
Type Description
TransferOperationMetadata.Builder

setCounters(TransferCounters.Builder builderForValue)

public TransferOperationMetadata.Builder setCounters(TransferCounters.Builder builderForValue)

Output only. Information about the progress of the transfer operation.

.google.cloud.parallelstore.v1beta.TransferCounters counters = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue TransferCounters.Builder
Returns
Type Description
TransferOperationMetadata.Builder

setDestinationGcsBucket(DestinationGcsBucket value)

public TransferOperationMetadata.Builder setDestinationGcsBucket(DestinationGcsBucket value)

Output only. Cloud Storage destination.

.google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DestinationGcsBucket
Returns
Type Description
TransferOperationMetadata.Builder

setDestinationGcsBucket(DestinationGcsBucket.Builder builderForValue)

public TransferOperationMetadata.Builder setDestinationGcsBucket(DestinationGcsBucket.Builder builderForValue)

Output only. Cloud Storage destination.

.google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue DestinationGcsBucket.Builder
Returns
Type Description
TransferOperationMetadata.Builder

setDestinationParallelstore(DestinationParallelstore value)

public TransferOperationMetadata.Builder setDestinationParallelstore(DestinationParallelstore value)

Output only. Parallelstore destination.

.google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DestinationParallelstore
Returns
Type Description
TransferOperationMetadata.Builder

setDestinationParallelstore(DestinationParallelstore.Builder builderForValue)

public TransferOperationMetadata.Builder setDestinationParallelstore(DestinationParallelstore.Builder builderForValue)

Output only. Parallelstore destination.

.google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue DestinationParallelstore.Builder
Returns
Type Description
TransferOperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSourceGcsBucket(SourceGcsBucket value)

public TransferOperationMetadata.Builder setSourceGcsBucket(SourceGcsBucket value)

Output only. Cloud Storage source.

.google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value SourceGcsBucket
Returns
Type Description
TransferOperationMetadata.Builder

setSourceGcsBucket(SourceGcsBucket.Builder builderForValue)

public TransferOperationMetadata.Builder setSourceGcsBucket(SourceGcsBucket.Builder builderForValue)

Output only. Cloud Storage source.

.google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue SourceGcsBucket.Builder
Returns
Type Description
TransferOperationMetadata.Builder

setSourceParallelstore(SourceParallelstore value)

public TransferOperationMetadata.Builder setSourceParallelstore(SourceParallelstore value)

Output only. Parallelstore source.

.google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value SourceParallelstore
Returns
Type Description
TransferOperationMetadata.Builder

setSourceParallelstore(SourceParallelstore.Builder builderForValue)

public TransferOperationMetadata.Builder setSourceParallelstore(SourceParallelstore.Builder builderForValue)

Output only. Parallelstore source.

.google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue SourceParallelstore.Builder
Returns
Type Description
TransferOperationMetadata.Builder

setTransferType(TransferType value)

public TransferOperationMetadata.Builder setTransferType(TransferType value)

Output only. The type of transfer occurring.

.google.cloud.parallelstore.v1beta.TransferType transfer_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value TransferType

The transferType to set.

Returns
Type Description
TransferOperationMetadata.Builder

This builder for chaining.

setTransferTypeValue(int value)

public TransferOperationMetadata.Builder setTransferTypeValue(int value)

Output only. The type of transfer occurring.

.google.cloud.parallelstore.v1beta.TransferType transfer_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for transferType to set.

Returns
Type Description
TransferOperationMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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