Class TransferCounters.Builder (0.18.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicstaticfinalclass TransferCounters.BuilderextendsGeneratedMessageV3.Builder<TransferCounters.Builder>implementsTransferCountersOrBuilderA collection of counters that report the progress of a transfer operation.
Protobuf type google.cloud.lustre.v1.TransferCounters
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TransferCounters.BuilderImplements
TransferCountersOrBuilderInherited Members
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 |
|
build()
publicTransferCountersbuild()| Returns | |
|---|---|
| Type | Description |
TransferCounters |
|
buildPartial()
publicTransferCountersbuildPartial()| Returns | |
|---|---|
| Type | Description |
TransferCounters |
|
clear()
publicTransferCounters.Builderclear()| Returns | |
|---|---|
| Type | Description |
TransferCounters.Builder |
|
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 |
|
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 |
|
clone()
publicTransferCounters.Builderclone()| Returns | |
|---|---|
| Type | Description |
TransferCounters.Builder |
|
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 |
|
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 |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicTransferCounters.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TransferCounters.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalTransferCounters.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
TransferCounters.Builder |
|
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 |
|
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 |
|
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalTransferCounters.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
TransferCounters.Builder |
|