Class TransferCounters.Builder (0.17.0)

publicstaticfinalclass TransferCounters.BuilderextendsGeneratedMessageV3.Builder<TransferCounters.Builder>implementsTransferCountersOrBuilder

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

Protobuf type google.cloud.parallelstore.v1.TransferCounters

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicTransferCounters.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TransferCounters.Builder
Overrides

build()

publicTransferCountersbuild()
Returns
Type Description
TransferCounters

buildPartial()

publicTransferCountersbuildPartial()
Returns
Type Description
TransferCounters

clear()

publicTransferCounters.Builderclear()
Returns
Type Description
TransferCounters.Builder
Overrides

clearBytesCopied()

publicTransferCounters.BuilderclearBytesCopied()

Bytes that are copied to the data destination.

int64 bytes_copied = 6;

Returns
Type Description
TransferCounters.Builder

This builder for chaining.

clearBytesFound()

publicTransferCounters.BuilderclearBytesFound()

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()

publicTransferCounters.BuilderclearBytesSkipped()

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)

publicTransferCounters.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TransferCounters.Builder
Overrides

clearObjectsCopied()

publicTransferCounters.BuilderclearObjectsCopied()

Objects that are copied to the data destination.

int64 objects_copied = 5;

Returns
Type Description
TransferCounters.Builder

This builder for chaining.

clearObjectsFound()

publicTransferCounters.BuilderclearObjectsFound()

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()

publicTransferCounters.BuilderclearObjectsSkipped()

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)

publicTransferCounters.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TransferCounters.Builder
Overrides

clone()

publicTransferCounters.Builderclone()
Returns
Type Description
TransferCounters.Builder
Overrides

getBytesCopied()

publiclonggetBytesCopied()

Bytes that are copied to the data destination.

int64 bytes_copied = 6;

Returns
Type Description
long

The bytesCopied.

getBytesFound()

publiclonggetBytesFound()

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()

publiclonggetBytesSkipped()

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()

publicTransferCountersgetDefaultInstanceForType()
Returns
Type Description
TransferCounters

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getObjectsCopied()

publiclonggetObjectsCopied()

Objects that are copied to the data destination.

int64 objects_copied = 5;

Returns
Type Description
long

The objectsCopied.

getObjectsFound()

publiclonggetObjectsFound()

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()

publiclonggetObjectsSkipped()

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()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TransferCounters other)

publicTransferCounters.BuildermergeFrom(TransferCountersother)
Parameter
Name Description
other TransferCounters
Returns
Type Description
TransferCounters.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicTransferCounters.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferCounters.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicTransferCounters.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
TransferCounters.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalTransferCounters.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TransferCounters.Builder
Overrides

setBytesCopied(long value)

publicTransferCounters.BuildersetBytesCopied(longvalue)

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)

publicTransferCounters.BuildersetBytesFound(longvalue)

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)

publicTransferCounters.BuildersetBytesSkipped(longvalue)

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)

publicTransferCounters.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TransferCounters.Builder
Overrides

setObjectsCopied(long value)

publicTransferCounters.BuildersetObjectsCopied(longvalue)

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)

publicTransferCounters.BuildersetObjectsFound(longvalue)

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)

publicTransferCounters.BuildersetObjectsSkipped(longvalue)

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)

publicTransferCounters.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TransferCounters.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalTransferCounters.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TransferCounters.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.