Class TransferCounters.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TransferCounters.Builder>
com.google.cloud.parallelstore.v1.TransferCounters.Builder
- All Implemented Interfaces:
TransferCountersOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- TransferCounters
public static final class TransferCounters.Builder
extends com.google.protobuf.GeneratedMessage.Builder<TransferCounters.Builder>
implements TransferCountersOrBuilder
A collection of counters that report the progress of a transfer operation.Protobuf type
google.cloud.parallelstore.v1.TransferCounters-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Bytes that are copied to the data destination.Bytes that failed to be written to the data destination.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.Bytes in the data source that are not transferred because they already exist in the data destination.Objects that are copied to the data destination.Objects that failed to be written to the data destination.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.Objects in the data source that are not transferred because they already exist in the data destination.longBytes that are copied to the data destination.longBytes that failed to be written to the data destination.longBytes 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.longBytes in the data source that are not transferred because they already exist in the data destination.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongObjects that are copied to the data destination.longObjects that failed to be written to the data destination.longObjects 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.longObjects in the data source that are not transferred because they already exist in the data destination.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(TransferCounters other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setBytesCopied(long value) Bytes that are copied to the data destination.setBytesFailed(long value) Bytes that failed to be written to the data destination.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.setBytesSkipped(long value) Bytes in the data source that are not transferred because they already exist in the data destination.setObjectsCopied(long value) Objects that are copied to the data destination.setObjectsFailed(long value) Objects that failed to be written to the data destination.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.setObjectsSkipped(long value) Objects in the data source that are not transferred because they already exist in the data destination.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<TransferCounters.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<TransferCounters.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<TransferCounters.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TransferCounters.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TransferCounters.Builder>
-
mergeFrom
public TransferCounters.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TransferCounters.Builder>- Throws:
IOException
-
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;- Specified by:
getObjectsFoundin interfaceTransferCountersOrBuilder- Returns:
- The objectsFound.
-
setObjectsFound
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;- Parameters:
value- The objectsFound to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
getBytesFoundin interfaceTransferCountersOrBuilder- Returns:
- The bytesFound.
-
setBytesFound
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;- Parameters:
value- The bytesFound to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
getObjectsSkippedin interfaceTransferCountersOrBuilder- Returns:
- The objectsSkipped.
-
setObjectsSkipped
Objects in the data source that are not transferred because they already exist in the data destination.
int64 objects_skipped = 3;- Parameters:
value- The objectsSkipped to set.- Returns:
- This builder for chaining.
-
clearObjectsSkipped
Objects in the data source that are not transferred because they already exist in the data destination.
int64 objects_skipped = 3;- Returns:
- This builder for chaining.
-
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;- Specified by:
getBytesSkippedin interfaceTransferCountersOrBuilder- Returns:
- The bytesSkipped.
-
setBytesSkipped
Bytes in the data source that are not transferred because they already exist in the data destination.
int64 bytes_skipped = 4;- Parameters:
value- The bytesSkipped to set.- Returns:
- This builder for chaining.
-
clearBytesSkipped
Bytes in the data source that are not transferred because they already exist in the data destination.
int64 bytes_skipped = 4;- Returns:
- This builder for chaining.
-
getObjectsCopied
public long getObjectsCopied()Objects that are copied to the data destination.
int64 objects_copied = 5;- Specified by:
getObjectsCopiedin interfaceTransferCountersOrBuilder- Returns:
- The objectsCopied.
-
setObjectsCopied
Objects that are copied to the data destination.
int64 objects_copied = 5;- Parameters:
value- The objectsCopied to set.- Returns:
- This builder for chaining.
-
clearObjectsCopied
Objects that are copied to the data destination.
int64 objects_copied = 5;- Returns:
- This builder for chaining.
-
getBytesCopied
public long getBytesCopied()Bytes that are copied to the data destination.
int64 bytes_copied = 6;- Specified by:
getBytesCopiedin interfaceTransferCountersOrBuilder- Returns:
- The bytesCopied.
-
setBytesCopied
Bytes that are copied to the data destination.
int64 bytes_copied = 6;- Parameters:
value- The bytesCopied to set.- Returns:
- This builder for chaining.
-
clearBytesCopied
Bytes that are copied to the data destination.
int64 bytes_copied = 6;- Returns:
- This builder for chaining.
-
getObjectsFailed
public long getObjectsFailed()Objects that failed to be written to the data destination.
int64 objects_failed = 7;- Specified by:
getObjectsFailedin interfaceTransferCountersOrBuilder- Returns:
- The objectsFailed.
-
setObjectsFailed
Objects that failed to be written to the data destination.
int64 objects_failed = 7;- Parameters:
value- The objectsFailed to set.- Returns:
- This builder for chaining.
-
clearObjectsFailed
Objects that failed to be written to the data destination.
int64 objects_failed = 7;- Returns:
- This builder for chaining.
-
getBytesFailed
public long getBytesFailed()Bytes that failed to be written to the data destination.
int64 bytes_failed = 8;- Specified by:
getBytesFailedin interfaceTransferCountersOrBuilder- Returns:
- The bytesFailed.
-
setBytesFailed
Bytes that failed to be written to the data destination.
int64 bytes_failed = 8;- Parameters:
value- The bytesFailed to set.- Returns:
- This builder for chaining.
-
clearBytesFailed
Bytes that failed to be written to the data destination.
int64 bytes_failed = 8;- Returns:
- This builder for chaining.
-