Class TransferCounters.Builder (0.18.0)

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

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

Protobuf type google.cloud.lustre.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

clearBytesCopiedCount()

publicTransferCounters.BuilderclearBytesCopiedCount()

Bytes that are copied to the data destination.

int64 bytes_copied_count = 6;

Returns
Type Description
TransferCounters.Builder

This builder for chaining.

clearBytesFailedCount()

publicTransferCounters.BuilderclearBytesFailedCount()

Output only. Bytes that are failed to write to the data destination.

int64 bytes_failed_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TransferCounters.Builder

This builder for chaining.

clearBytesFoundCount()

publicTransferCounters.BuilderclearBytesFoundCount()

Total number of 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_count = 2;

Returns
Type Description
TransferCounters.Builder

This builder for chaining.

clearBytesSkippedCount()

publicTransferCounters.BuilderclearBytesSkippedCount()

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

int64 bytes_skipped_count = 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

clearFoundObjectsCount()

publicTransferCounters.BuilderclearFoundObjectsCount()

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 found_objects_count = 1;

Returns
Type Description
TransferCounters.Builder

This builder for chaining.

clearObjectsCopiedCount()

publicTransferCounters.BuilderclearObjectsCopiedCount()

Objects that are copied to the data destination.

int64 objects_copied_count = 5;

Returns
Type Description
TransferCounters.Builder

This builder for chaining.

clearObjectsFailedCount()

publicTransferCounters.BuilderclearObjectsFailedCount()

Output only. Objects that are failed to write to the data destination.

int64 objects_failed_count = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TransferCounters.Builder

This builder for chaining.

clearObjectsSkippedCount()

publicTransferCounters.BuilderclearObjectsSkippedCount()

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

int64 objects_skipped_count = 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

getBytesCopiedCount()

publiclonggetBytesCopiedCount()

Bytes that are copied to the data destination.

int64 bytes_copied_count = 6;

Returns
Type Description
long

The bytesCopiedCount.

getBytesFailedCount()

publiclonggetBytesFailedCount()

Output only. Bytes that are failed to write to the data destination.

int64 bytes_failed_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The bytesFailedCount.

getBytesFoundCount()

publiclonggetBytesFoundCount()

Total number of 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_count = 2;

Returns
Type Description
long

The bytesFoundCount.

getBytesSkippedCount()

publiclonggetBytesSkippedCount()

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

int64 bytes_skipped_count = 4;

Returns
Type Description
long

The bytesSkippedCount.

getDefaultInstanceForType()

publicTransferCountersgetDefaultInstanceForType()
Returns
Type Description
TransferCounters

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFoundObjectsCount()

publiclonggetFoundObjectsCount()

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 found_objects_count = 1;

Returns
Type Description
long

The foundObjectsCount.

getObjectsCopiedCount()

publiclonggetObjectsCopiedCount()

Objects that are copied to the data destination.

int64 objects_copied_count = 5;

Returns
Type Description
long

The objectsCopiedCount.

getObjectsFailedCount()

publiclonggetObjectsFailedCount()

Output only. Objects that are failed to write to the data destination.

int64 objects_failed_count = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The objectsFailedCount.

getObjectsSkippedCount()

publiclonggetObjectsSkippedCount()

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

int64 objects_skipped_count = 3;

Returns
Type Description
long

The objectsSkippedCount.

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

setBytesCopiedCount(long value)

publicTransferCounters.BuildersetBytesCopiedCount(longvalue)

Bytes that are copied to the data destination.

int64 bytes_copied_count = 6;

Parameter
Name Description
value long

The bytesCopiedCount to set.

Returns
Type Description
TransferCounters.Builder

This builder for chaining.

setBytesFailedCount(long value)

publicTransferCounters.BuildersetBytesFailedCount(longvalue)

Output only. Bytes that are failed to write to the data destination.

int64 bytes_failed_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The bytesFailedCount to set.

Returns
Type Description
TransferCounters.Builder

This builder for chaining.

setBytesFoundCount(long value)

publicTransferCounters.BuildersetBytesFoundCount(longvalue)

Total number of 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_count = 2;

Parameter
Name Description
value long

The bytesFoundCount to set.

Returns
Type Description
TransferCounters.Builder

This builder for chaining.

setBytesSkippedCount(long value)

publicTransferCounters.BuildersetBytesSkippedCount(longvalue)

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

int64 bytes_skipped_count = 4;

Parameter
Name Description
value long

The bytesSkippedCount 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

setFoundObjectsCount(long value)

publicTransferCounters.BuildersetFoundObjectsCount(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 found_objects_count = 1;

Parameter
Name Description
value long

The foundObjectsCount to set.

Returns
Type Description
TransferCounters.Builder

This builder for chaining.

setObjectsCopiedCount(long value)

publicTransferCounters.BuildersetObjectsCopiedCount(longvalue)

Objects that are copied to the data destination.

int64 objects_copied_count = 5;

Parameter
Name Description
value long

The objectsCopiedCount to set.

Returns
Type Description
TransferCounters.Builder

This builder for chaining.

setObjectsFailedCount(long value)

publicTransferCounters.BuildersetObjectsFailedCount(longvalue)

Output only. Objects that are failed to write to the data destination.

int64 objects_failed_count = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The objectsFailedCount to set.

Returns
Type Description
TransferCounters.Builder

This builder for chaining.

setObjectsSkippedCount(long value)

publicTransferCounters.BuildersetObjectsSkippedCount(longvalue)

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

int64 objects_skipped_count = 3;

Parameter
Name Description
value long

The objectsSkippedCount 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.