Class TransferCounters.Builder (0.17.0)

public static final class TransferCounters.Builder extends GeneratedMessageV3.Builder<TransferCounters.Builder> implements TransferCountersOrBuilder

A collection of counters that report the progress of a transfer operation.

Protobuf type google.cloud.parallelstore.v1beta.TransferCounters

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TransferCounters build()
Returns
Type Description
TransferCounters

buildPartial()

public TransferCounters buildPartial()
Returns
Type Description
TransferCounters

clear()

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

clearBytesCopied()

public TransferCounters.Builder clearBytesCopied()

Bytes that are copied to the data destination.

int64 bytes_copied = 6;

Returns
Type Description
TransferCounters.Builder

This builder for chaining.

clearBytesFound()

public TransferCounters.Builder clearBytesFound()

Bytes found in the data source that are scheduled to be transferred, excluding any that are filtered based on object conditions or skipped due to sync.

int64 bytes_found = 2;

Returns
Type Description
TransferCounters.Builder

This builder for chaining.

clearBytesSkipped()

public TransferCounters.Builder clearBytesSkipped()

Bytes in the data source that are not transferred because they already exist in the data destination.

int64 bytes_skipped = 4;

Returns
Type Description
TransferCounters.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearObjectsCopied()

public TransferCounters.Builder clearObjectsCopied()

Objects that are copied to the data destination.

int64 objects_copied = 5;

Returns
Type Description
TransferCounters.Builder

This builder for chaining.

clearObjectsFound()

public TransferCounters.Builder clearObjectsFound()

Objects found in the data source that are scheduled to be transferred, excluding any that are filtered based on object conditions or skipped due to sync.

int64 objects_found = 1;

Returns
Type Description
TransferCounters.Builder

This builder for chaining.

clearObjectsSkipped()

public TransferCounters.Builder clearObjectsSkipped()

Objects in the data source that are not transferred because they already exist in the data destination.

int64 objects_skipped = 3;

Returns
Type Description
TransferCounters.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getBytesCopied()

public long getBytesCopied()

Bytes that are copied to the data destination.

int64 bytes_copied = 6;

Returns
Type Description
long

The bytesCopied.

getBytesFound()

public long getBytesFound()

Bytes found in the data source that are scheduled to be transferred, excluding any that are filtered based on object conditions or skipped due to sync.

int64 bytes_found = 2;

Returns
Type Description
long

The bytesFound.

getBytesSkipped()

public long getBytesSkipped()

Bytes in the data source that are not transferred because they already exist in the data destination.

int64 bytes_skipped = 4;

Returns
Type Description
long

The bytesSkipped.

getDefaultInstanceForType()

public TransferCounters getDefaultInstanceForType()
Returns
Type Description
TransferCounters

getDescriptorForType()

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

getObjectsCopied()

public long getObjectsCopied()

Objects that are copied to the data destination.

int64 objects_copied = 5;

Returns
Type Description
long

The objectsCopied.

getObjectsFound()

public long getObjectsFound()

Objects found in the data source that are scheduled to be transferred, excluding any that are filtered based on object conditions or skipped due to sync.

int64 objects_found = 1;

Returns
Type Description
long

The objectsFound.

getObjectsSkipped()

public long getObjectsSkipped()

Objects in the data source that are not transferred because they already exist in the data destination.

int64 objects_skipped = 3;

Returns
Type Description
long

The objectsSkipped.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TransferCounters other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBytesCopied(long value)

public TransferCounters.Builder setBytesCopied(long value)

Bytes that are copied to the data destination.

int64 bytes_copied = 6;

Parameter
Name Description
value long

The bytesCopied to set.

Returns
Type Description
TransferCounters.Builder

This builder for chaining.

setBytesFound(long value)

public TransferCounters.Builder setBytesFound(long value)

Bytes found in the data source that are scheduled to be transferred, excluding any that are filtered based on object conditions or skipped due to sync.

int64 bytes_found = 2;

Parameter
Name Description
value long

The bytesFound to set.

Returns
Type Description
TransferCounters.Builder

This builder for chaining.

setBytesSkipped(long value)

public TransferCounters.Builder setBytesSkipped(long value)

Bytes in the data source that are not transferred because they already exist in the data destination.

int64 bytes_skipped = 4;

Parameter
Name Description
value long

The bytesSkipped to set.

Returns
Type Description
TransferCounters.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setObjectsCopied(long value)

public TransferCounters.Builder setObjectsCopied(long value)

Objects that are copied to the data destination.

int64 objects_copied = 5;

Parameter
Name Description
value long

The objectsCopied to set.

Returns
Type Description
TransferCounters.Builder

This builder for chaining.

setObjectsFound(long value)

public TransferCounters.Builder setObjectsFound(long value)

Objects found in the data source that are scheduled to be transferred, excluding any that are filtered based on object conditions or skipped due to sync.

int64 objects_found = 1;

Parameter
Name Description
value long

The objectsFound to set.

Returns
Type Description
TransferCounters.Builder

This builder for chaining.

setObjectsSkipped(long value)

public TransferCounters.Builder setObjectsSkipped(long value)

Objects in the data source that are not transferred because they already exist in the data destination.

int64 objects_skipped = 3;

Parameter
Name Description
value long

The objectsSkipped to set.

Returns
Type Description
TransferCounters.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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