Class TransferTypes.TransferCounters

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, TransferTypes.TransferCountersOrBuilder, Serializable
Enclosing class:
TransferTypes

public static final class TransferTypes.TransferCounters extends com.google.protobuf.GeneratedMessage implements TransferTypes.TransferCountersOrBuilder
 A collection of counters that report the progress of a transfer operation.
 
Protobuf type google.storagetransfer.v1.TransferCounters
See Also:
  • Field Details

    • OBJECTS_FOUND_FROM_SOURCE_FIELD_NUMBER

      public static final int OBJECTS_FOUND_FROM_SOURCE_FIELD_NUMBER
      See Also:
    • BYTES_FOUND_FROM_SOURCE_FIELD_NUMBER

      public static final int BYTES_FOUND_FROM_SOURCE_FIELD_NUMBER
      See Also:
    • OBJECTS_FOUND_ONLY_FROM_SINK_FIELD_NUMBER

      public static final int OBJECTS_FOUND_ONLY_FROM_SINK_FIELD_NUMBER
      See Also:
    • BYTES_FOUND_ONLY_FROM_SINK_FIELD_NUMBER

      public static final int BYTES_FOUND_ONLY_FROM_SINK_FIELD_NUMBER
      See Also:
    • OBJECTS_FROM_SOURCE_SKIPPED_BY_SYNC_FIELD_NUMBER

      public static final int OBJECTS_FROM_SOURCE_SKIPPED_BY_SYNC_FIELD_NUMBER
      See Also:
    • BYTES_FROM_SOURCE_SKIPPED_BY_SYNC_FIELD_NUMBER

      public static final int BYTES_FROM_SOURCE_SKIPPED_BY_SYNC_FIELD_NUMBER
      See Also:
    • OBJECTS_COPIED_TO_SINK_FIELD_NUMBER

      public static final int OBJECTS_COPIED_TO_SINK_FIELD_NUMBER
      See Also:
    • BYTES_COPIED_TO_SINK_FIELD_NUMBER

      public static final int BYTES_COPIED_TO_SINK_FIELD_NUMBER
      See Also:
    • OBJECTS_DELETED_FROM_SOURCE_FIELD_NUMBER

      public static final int OBJECTS_DELETED_FROM_SOURCE_FIELD_NUMBER
      See Also:
    • BYTES_DELETED_FROM_SOURCE_FIELD_NUMBER

      public static final int BYTES_DELETED_FROM_SOURCE_FIELD_NUMBER
      See Also:
    • OBJECTS_DELETED_FROM_SINK_FIELD_NUMBER

      public static final int OBJECTS_DELETED_FROM_SINK_FIELD_NUMBER
      See Also:
    • BYTES_DELETED_FROM_SINK_FIELD_NUMBER

      public static final int BYTES_DELETED_FROM_SINK_FIELD_NUMBER
      See Also:
    • OBJECTS_FROM_SOURCE_FAILED_FIELD_NUMBER

      public static final int OBJECTS_FROM_SOURCE_FAILED_FIELD_NUMBER
      See Also:
    • BYTES_FROM_SOURCE_FAILED_FIELD_NUMBER

      public static final int BYTES_FROM_SOURCE_FAILED_FIELD_NUMBER
      See Also:
    • OBJECTS_FAILED_TO_DELETE_FROM_SINK_FIELD_NUMBER

      public static final int OBJECTS_FAILED_TO_DELETE_FROM_SINK_FIELD_NUMBER
      See Also:
    • BYTES_FAILED_TO_DELETE_FROM_SINK_FIELD_NUMBER

      public static final int BYTES_FAILED_TO_DELETE_FROM_SINK_FIELD_NUMBER
      See Also:
    • DIRECTORIES_FOUND_FROM_SOURCE_FIELD_NUMBER

      public static final int DIRECTORIES_FOUND_FROM_SOURCE_FIELD_NUMBER
      See Also:
    • DIRECTORIES_FAILED_TO_LIST_FROM_SOURCE_FIELD_NUMBER

      public static final int DIRECTORIES_FAILED_TO_LIST_FROM_SOURCE_FIELD_NUMBER
      See Also:
    • DIRECTORIES_SUCCESSFULLY_LISTED_FROM_SOURCE_FIELD_NUMBER

      public static final int DIRECTORIES_SUCCESSFULLY_LISTED_FROM_SOURCE_FIELD_NUMBER
      See Also:
    • INTERMEDIATE_OBJECTS_CLEANED_UP_FIELD_NUMBER

      public static final int INTERMEDIATE_OBJECTS_CLEANED_UP_FIELD_NUMBER
      See Also:
    • INTERMEDIATE_OBJECTS_FAILED_CLEANED_UP_FIELD_NUMBER

      public static final int INTERMEDIATE_OBJECTS_FAILED_CLEANED_UP_FIELD_NUMBER
      See Also:
  • 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
    • getObjectsFoundFromSource

      public long getObjectsFoundFromSource()
       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_from_source = 1;
      Specified by:
      getObjectsFoundFromSource in interface TransferTypes.TransferCountersOrBuilder
      Returns:
      The objectsFoundFromSource.
    • getBytesFoundFromSource

      public long getBytesFoundFromSource()
       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_from_source = 2;
      Specified by:
      getBytesFoundFromSource in interface TransferTypes.TransferCountersOrBuilder
      Returns:
      The bytesFoundFromSource.
    • getObjectsFoundOnlyFromSink

      public long getObjectsFoundOnlyFromSink()
       Objects found only in the data sink that are scheduled to be deleted.
       
      int64 objects_found_only_from_sink = 3;
      Specified by:
      getObjectsFoundOnlyFromSink in interface TransferTypes.TransferCountersOrBuilder
      Returns:
      The objectsFoundOnlyFromSink.
    • getBytesFoundOnlyFromSink

      public long getBytesFoundOnlyFromSink()
       Bytes found only in the data sink that are scheduled to be deleted.
       
      int64 bytes_found_only_from_sink = 4;
      Specified by:
      getBytesFoundOnlyFromSink in interface TransferTypes.TransferCountersOrBuilder
      Returns:
      The bytesFoundOnlyFromSink.
    • getObjectsFromSourceSkippedBySync

      public long getObjectsFromSourceSkippedBySync()
       Objects in the data source that are not transferred because they already
       exist in the data sink.
       
      int64 objects_from_source_skipped_by_sync = 5;
      Specified by:
      getObjectsFromSourceSkippedBySync in interface TransferTypes.TransferCountersOrBuilder
      Returns:
      The objectsFromSourceSkippedBySync.
    • getBytesFromSourceSkippedBySync

      public long getBytesFromSourceSkippedBySync()
       Bytes in the data source that are not transferred because they already
       exist in the data sink.
       
      int64 bytes_from_source_skipped_by_sync = 6;
      Specified by:
      getBytesFromSourceSkippedBySync in interface TransferTypes.TransferCountersOrBuilder
      Returns:
      The bytesFromSourceSkippedBySync.
    • getObjectsCopiedToSink

      public long getObjectsCopiedToSink()
       Objects that are copied to the data sink.
       
      int64 objects_copied_to_sink = 7;
      Specified by:
      getObjectsCopiedToSink in interface TransferTypes.TransferCountersOrBuilder
      Returns:
      The objectsCopiedToSink.
    • getBytesCopiedToSink

      public long getBytesCopiedToSink()
       Bytes that are copied to the data sink.
       
      int64 bytes_copied_to_sink = 8;
      Specified by:
      getBytesCopiedToSink in interface TransferTypes.TransferCountersOrBuilder
      Returns:
      The bytesCopiedToSink.
    • getObjectsDeletedFromSource

      public long getObjectsDeletedFromSource()
       Objects that are deleted from the data source.
       
      int64 objects_deleted_from_source = 9;
      Specified by:
      getObjectsDeletedFromSource in interface TransferTypes.TransferCountersOrBuilder
      Returns:
      The objectsDeletedFromSource.
    • getBytesDeletedFromSource

      public long getBytesDeletedFromSource()
       Bytes that are deleted from the data source.
       
      int64 bytes_deleted_from_source = 10;
      Specified by:
      getBytesDeletedFromSource in interface TransferTypes.TransferCountersOrBuilder
      Returns:
      The bytesDeletedFromSource.
    • getObjectsDeletedFromSink

      public long getObjectsDeletedFromSink()
       Objects that are deleted from the data sink.
       
      int64 objects_deleted_from_sink = 11;
      Specified by:
      getObjectsDeletedFromSink in interface TransferTypes.TransferCountersOrBuilder
      Returns:
      The objectsDeletedFromSink.
    • getBytesDeletedFromSink

      public long getBytesDeletedFromSink()
       Bytes that are deleted from the data sink.
       
      int64 bytes_deleted_from_sink = 12;
      Specified by:
      getBytesDeletedFromSink in interface TransferTypes.TransferCountersOrBuilder
      Returns:
      The bytesDeletedFromSink.
    • getObjectsFromSourceFailed

      public long getObjectsFromSourceFailed()
       Objects in the data source that failed to be transferred or that failed
       to be deleted after being transferred.
       
      int64 objects_from_source_failed = 13;
      Specified by:
      getObjectsFromSourceFailed in interface TransferTypes.TransferCountersOrBuilder
      Returns:
      The objectsFromSourceFailed.
    • getBytesFromSourceFailed

      public long getBytesFromSourceFailed()
       Bytes in the data source that failed to be transferred or that failed to
       be deleted after being transferred.
       
      int64 bytes_from_source_failed = 14;
      Specified by:
      getBytesFromSourceFailed in interface TransferTypes.TransferCountersOrBuilder
      Returns:
      The bytesFromSourceFailed.
    • getObjectsFailedToDeleteFromSink

      public long getObjectsFailedToDeleteFromSink()
       Objects that failed to be deleted from the data sink.
       
      int64 objects_failed_to_delete_from_sink = 15;
      Specified by:
      getObjectsFailedToDeleteFromSink in interface TransferTypes.TransferCountersOrBuilder
      Returns:
      The objectsFailedToDeleteFromSink.
    • getBytesFailedToDeleteFromSink

      public long getBytesFailedToDeleteFromSink()
       Bytes that failed to be deleted from the data sink.
       
      int64 bytes_failed_to_delete_from_sink = 16;
      Specified by:
      getBytesFailedToDeleteFromSink in interface TransferTypes.TransferCountersOrBuilder
      Returns:
      The bytesFailedToDeleteFromSink.
    • getDirectoriesFoundFromSource

      public long getDirectoriesFoundFromSource()
       For transfers involving PosixFilesystem only.
      
       Number of directories found while listing. For example, if the root
       directory of the transfer is `base/` and there are two other directories,
       `a/` and `b/` under this directory, the count after listing `base/`,
       `base/a/` and `base/b/` is 3.
       
      int64 directories_found_from_source = 17;
      Specified by:
      getDirectoriesFoundFromSource in interface TransferTypes.TransferCountersOrBuilder
      Returns:
      The directoriesFoundFromSource.
    • getDirectoriesFailedToListFromSource

      public long getDirectoriesFailedToListFromSource()
       For transfers involving PosixFilesystem only.
      
       Number of listing failures for each directory found at the source.
       Potential failures when listing a directory include permission failure or
       block failure. If listing a directory fails, no files in the directory are
       transferred.
       
      int64 directories_failed_to_list_from_source = 18;
      Specified by:
      getDirectoriesFailedToListFromSource in interface TransferTypes.TransferCountersOrBuilder
      Returns:
      The directoriesFailedToListFromSource.
    • getDirectoriesSuccessfullyListedFromSource

      public long getDirectoriesSuccessfullyListedFromSource()
       For transfers involving PosixFilesystem only.
      
       Number of successful listings for each directory found at the source.
       
      int64 directories_successfully_listed_from_source = 19;
      Specified by:
      getDirectoriesSuccessfullyListedFromSource in interface TransferTypes.TransferCountersOrBuilder
      Returns:
      The directoriesSuccessfullyListedFromSource.
    • getIntermediateObjectsCleanedUp

      public long getIntermediateObjectsCleanedUp()
       Number of successfully cleaned up intermediate objects.
       
      int64 intermediate_objects_cleaned_up = 22;
      Specified by:
      getIntermediateObjectsCleanedUp in interface TransferTypes.TransferCountersOrBuilder
      Returns:
      The intermediateObjectsCleanedUp.
    • getIntermediateObjectsFailedCleanedUp

      public long getIntermediateObjectsFailedCleanedUp()
       Number of intermediate objects failed cleaned up.
       
      int64 intermediate_objects_failed_cleaned_up = 23;
      Specified by:
      getIntermediateObjectsFailedCleanedUp in interface TransferTypes.TransferCountersOrBuilder
      Returns:
      The intermediateObjectsFailedCleanedUp.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static TransferTypes.TransferCounters parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransferTypes.TransferCounters parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransferTypes.TransferCounters parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransferTypes.TransferCounters parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransferTypes.TransferCounters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransferTypes.TransferCounters parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransferTypes.TransferCounters parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TransferTypes.TransferCounters parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TransferTypes.TransferCounters parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TransferTypes.TransferCounters parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TransferTypes.TransferCounters parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TransferTypes.TransferCounters parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public TransferTypes.TransferCounters.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static TransferTypes.TransferCounters.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected TransferTypes.TransferCounters.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static TransferTypes.TransferCounters getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<TransferTypes.TransferCounters> parser()
    • getParserForType

      public com.google.protobuf.Parser<TransferTypes.TransferCounters> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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