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 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
    • 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:
      getFoundObjectsCount in interface TransferCountersOrBuilder
      Returns:
      The foundObjectsCount.
    • setFoundObjectsCount

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

      public TransferCounters.Builder 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:
      getBytesFoundCount in interface TransferCountersOrBuilder
      Returns:
      The bytesFoundCount.
    • setBytesFoundCount

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

      public TransferCounters.Builder 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:
      getObjectsSkippedCount in interface TransferCountersOrBuilder
      Returns:
      The objectsSkippedCount.
    • setObjectsSkippedCount

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

      public TransferCounters.Builder 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:
      getBytesSkippedCount in interface TransferCountersOrBuilder
      Returns:
      The bytesSkippedCount.
    • setBytesSkippedCount

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

      public TransferCounters.Builder 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:
      getObjectsCopiedCount in interface TransferCountersOrBuilder
      Returns:
      The objectsCopiedCount.
    • setObjectsCopiedCount

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

      public TransferCounters.Builder 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:
      getBytesCopiedCount in interface TransferCountersOrBuilder
      Returns:
      The bytesCopiedCount.
    • setBytesCopiedCount

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

      public TransferCounters.Builder 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:
      getObjectsFailedCount in interface TransferCountersOrBuilder
      Returns:
      The objectsFailedCount.
    • setObjectsFailedCount

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

      public TransferCounters.Builder 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:
      getBytesFailedCount in interface TransferCountersOrBuilder
      Returns:
      The bytesFailedCount.
    • setBytesFailedCount

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

      public TransferCounters.Builder 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.