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 Type
    Method
    Description
     
     
     
    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.
    long
    Bytes that are copied to the data destination.
    long
    Bytes that failed to be written to the data destination.
    long
    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.
    long
    Bytes in the data source that are not transferred because they already exist in the data destination.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    long
    Objects that are copied to the data destination.
    long
    Objects that failed to be written to the data destination.
    long
    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.
    long
    Objects in the data source that are not transferred because they already exist in the data destination.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    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, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<TransferCounters.Builder>
    • clear

      public TransferCounters.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<TransferCounters.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<TransferCounters.Builder>
    • getDefaultInstanceForType

      public TransferCounters getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public TransferCounters build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public TransferCounters buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public TransferCounters.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TransferCounters.Builder>
    • mergeFrom

      public TransferCounters.Builder mergeFrom(TransferCounters other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      getObjectsFound in interface TransferCountersOrBuilder
      Returns:
      The objectsFound.
    • setObjectsFound

      public TransferCounters.Builder 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.
       
      int64 objects_found = 1;
      Parameters:
      value - The objectsFound to set.
      Returns:
      This builder for chaining.
    • clearObjectsFound

      public TransferCounters.Builder 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:
      getBytesFound in interface TransferCountersOrBuilder
      Returns:
      The bytesFound.
    • setBytesFound

      public TransferCounters.Builder 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.
       
      int64 bytes_found = 2;
      Parameters:
      value - The bytesFound to set.
      Returns:
      This builder for chaining.
    • clearBytesFound

      public TransferCounters.Builder 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:
      getObjectsSkipped in interface TransferCountersOrBuilder
      Returns:
      The objectsSkipped.
    • setObjectsSkipped

      public TransferCounters.Builder setObjectsSkipped(long value)
       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

      public TransferCounters.Builder 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:
      getBytesSkipped in interface TransferCountersOrBuilder
      Returns:
      The bytesSkipped.
    • setBytesSkipped

      public TransferCounters.Builder setBytesSkipped(long value)
       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

      public TransferCounters.Builder 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:
      getObjectsCopied in interface TransferCountersOrBuilder
      Returns:
      The objectsCopied.
    • setObjectsCopied

      public TransferCounters.Builder setObjectsCopied(long value)
       Objects that are copied to the data destination.
       
      int64 objects_copied = 5;
      Parameters:
      value - The objectsCopied to set.
      Returns:
      This builder for chaining.
    • clearObjectsCopied

      public TransferCounters.Builder 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:
      getBytesCopied in interface TransferCountersOrBuilder
      Returns:
      The bytesCopied.
    • setBytesCopied

      public TransferCounters.Builder setBytesCopied(long value)
       Bytes that are copied to the data destination.
       
      int64 bytes_copied = 6;
      Parameters:
      value - The bytesCopied to set.
      Returns:
      This builder for chaining.
    • clearBytesCopied

      public TransferCounters.Builder 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:
      getObjectsFailed in interface TransferCountersOrBuilder
      Returns:
      The objectsFailed.
    • setObjectsFailed

      public TransferCounters.Builder setObjectsFailed(long value)
       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

      public TransferCounters.Builder 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:
      getBytesFailed in interface TransferCountersOrBuilder
      Returns:
      The bytesFailed.
    • setBytesFailed

      public TransferCounters.Builder setBytesFailed(long value)
       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

      public TransferCounters.Builder clearBytesFailed()
       Bytes that failed to be written to the data destination.
       
      int64 bytes_failed = 8;
      Returns:
      This builder for chaining.