Package com.google.cloud.lustre.v1
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.lustre.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.lustre.v1.TransferCounters-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Bytes that are copied to the data destination.Output only.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.Bytes in the data source that are not transferred because they already exist in 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 that are copied to the data destination.Output only.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.longOutput only.longTotal 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.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 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 that are copied to the data destination.longOutput only.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) setBytesCopiedCount(long value) Bytes that are copied to the data destination.setBytesFailedCount(long value) Output only.setBytesFoundCount(long value) 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.setBytesSkippedCount(long value) Bytes in the data source that are not transferred because they already exist in the data destination.setFoundObjectsCount(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.setObjectsCopiedCount(long value) Objects that are copied to the data destination.setObjectsFailedCount(long value) Output only.setObjectsSkippedCount(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
-
getFoundObjectsCount
public long getFoundObjectsCount()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;- Specified by:
getFoundObjectsCountin interfaceTransferCountersOrBuilder- Returns:
- The foundObjectsCount.
-
setFoundObjectsCount
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;- Parameters:
value- The foundObjectsCount to set.- Returns:
- This builder for chaining.
-
clearFoundObjectsCount
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:
- This builder for chaining.
-
getBytesFoundCount
public long getBytesFoundCount()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;- Specified by:
getBytesFoundCountin interfaceTransferCountersOrBuilder- Returns:
- The bytesFoundCount.
-
setBytesFoundCount
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;- Parameters:
value- The bytesFoundCount to set.- Returns:
- This builder for chaining.
-
clearBytesFoundCount
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:
- This builder for chaining.
-
getObjectsSkippedCount
public long getObjectsSkippedCount()Objects in the data source that are not transferred because they already exist in the data destination.
int64 objects_skipped_count = 3;- Specified by:
getObjectsSkippedCountin interfaceTransferCountersOrBuilder- Returns:
- The objectsSkippedCount.
-
setObjectsSkippedCount
Objects in the data source that are not transferred because they already exist in the data destination.
int64 objects_skipped_count = 3;- Parameters:
value- The objectsSkippedCount to set.- Returns:
- This builder for chaining.
-
clearObjectsSkippedCount
Objects in the data source that are not transferred because they already exist in the data destination.
int64 objects_skipped_count = 3;- Returns:
- This builder for chaining.
-
getBytesSkippedCount
public long getBytesSkippedCount()Bytes in the data source that are not transferred because they already exist in the data destination.
int64 bytes_skipped_count = 4;- Specified by:
getBytesSkippedCountin interfaceTransferCountersOrBuilder- Returns:
- The bytesSkippedCount.
-
setBytesSkippedCount
Bytes in the data source that are not transferred because they already exist in the data destination.
int64 bytes_skipped_count = 4;- Parameters:
value- The bytesSkippedCount to set.- Returns:
- This builder for chaining.
-
clearBytesSkippedCount
Bytes in the data source that are not transferred because they already exist in the data destination.
int64 bytes_skipped_count = 4;- Returns:
- This builder for chaining.
-
getObjectsCopiedCount
public long getObjectsCopiedCount()Objects that are copied to the data destination.
int64 objects_copied_count = 5;- Specified by:
getObjectsCopiedCountin interfaceTransferCountersOrBuilder- Returns:
- The objectsCopiedCount.
-
setObjectsCopiedCount
Objects that are copied to the data destination.
int64 objects_copied_count = 5;- Parameters:
value- The objectsCopiedCount to set.- Returns:
- This builder for chaining.
-
clearObjectsCopiedCount
Objects that are copied to the data destination.
int64 objects_copied_count = 5;- Returns:
- This builder for chaining.
-
getBytesCopiedCount
public long getBytesCopiedCount()Bytes that are copied to the data destination.
int64 bytes_copied_count = 6;- Specified by:
getBytesCopiedCountin interfaceTransferCountersOrBuilder- Returns:
- The bytesCopiedCount.
-
setBytesCopiedCount
Bytes that are copied to the data destination.
int64 bytes_copied_count = 6;- Parameters:
value- The bytesCopiedCount to set.- Returns:
- This builder for chaining.
-
clearBytesCopiedCount
Bytes that are copied to the data destination.
int64 bytes_copied_count = 6;- Returns:
- This builder for chaining.
-
getObjectsFailedCount
public long getObjectsFailedCount()Output only. Objects that are failed to write to the data destination.
int64 objects_failed_count = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getObjectsFailedCountin interfaceTransferCountersOrBuilder- Returns:
- The objectsFailedCount.
-
setObjectsFailedCount
Output only. Objects that are failed to write to the data destination.
int64 objects_failed_count = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The objectsFailedCount to set.- Returns:
- This builder for chaining.
-
clearObjectsFailedCount
Output only. Objects that are failed to write to the data destination.
int64 objects_failed_count = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getBytesFailedCount
public long getBytesFailedCount()Output only. Bytes that are failed to write to the data destination.
int64 bytes_failed_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBytesFailedCountin interfaceTransferCountersOrBuilder- Returns:
- The bytesFailedCount.
-
setBytesFailedCount
Output only. Bytes that are failed to write to the data destination.
int64 bytes_failed_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytesFailedCount to set.- Returns:
- This builder for chaining.
-
clearBytesFailedCount
Output only. Bytes that are failed to write to the data destination.
int64 bytes_failed_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-