Class TransferCounters.Builder (0.17.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.parallelstore.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 |
|
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 |
|
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 |
|
clone()
publicTransferCounters.Builderclone()| Returns | |
|---|---|
| Type | Description |
TransferCounters.Builder |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalTransferCounters.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
TransferCounters.Builder |
|