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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA collection of counters that report the progress of a transfer operation.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongBytes that are copied to the data sink.longBytes that are deleted from the data sink.longBytes that are deleted from the data source.longBytes that failed to be deleted from the data sink.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 found only in the data sink that are scheduled to be deleted.longBytes in the data source that failed to be transferred or that failed to be deleted after being transferred.longBytes in the data source that are not transferred because they already exist in the data sink.static final com.google.protobuf.Descriptors.DescriptorlongFor transfers involving PosixFilesystem only.longFor transfers involving PosixFilesystem only.longFor transfers involving PosixFilesystem only.longNumber of successfully cleaned up intermediate objects.longNumber of intermediate objects failed cleaned up.longObjects that are copied to the data sink.longObjects that are deleted from the data sink.longObjects that are deleted from the data source.longObjects that failed to be deleted from the data sink.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 found only in the data sink that are scheduled to be deleted.longObjects in the data source that failed to be transferred or that failed to be deleted after being transferred.longObjects in the data source that are not transferred because they already exist in the data sink.com.google.protobuf.Parser<TransferTypes.TransferCounters>intinthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(TransferTypes.TransferCounters prototype) protected TransferTypes.TransferCounters.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<TransferTypes.TransferCounters>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
internalGetFieldAccessorTablein classcom.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:
getObjectsFoundFromSourcein interfaceTransferTypes.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:
getBytesFoundFromSourcein interfaceTransferTypes.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:
getObjectsFoundOnlyFromSinkin interfaceTransferTypes.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:
getBytesFoundOnlyFromSinkin interfaceTransferTypes.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:
getObjectsFromSourceSkippedBySyncin interfaceTransferTypes.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:
getBytesFromSourceSkippedBySyncin interfaceTransferTypes.TransferCountersOrBuilder- Returns:
- The bytesFromSourceSkippedBySync.
-
getObjectsCopiedToSink
public long getObjectsCopiedToSink()Objects that are copied to the data sink.
int64 objects_copied_to_sink = 7;- Specified by:
getObjectsCopiedToSinkin interfaceTransferTypes.TransferCountersOrBuilder- Returns:
- The objectsCopiedToSink.
-
getBytesCopiedToSink
public long getBytesCopiedToSink()Bytes that are copied to the data sink.
int64 bytes_copied_to_sink = 8;- Specified by:
getBytesCopiedToSinkin interfaceTransferTypes.TransferCountersOrBuilder- Returns:
- The bytesCopiedToSink.
-
getObjectsDeletedFromSource
public long getObjectsDeletedFromSource()Objects that are deleted from the data source.
int64 objects_deleted_from_source = 9;- Specified by:
getObjectsDeletedFromSourcein interfaceTransferTypes.TransferCountersOrBuilder- Returns:
- The objectsDeletedFromSource.
-
getBytesDeletedFromSource
public long getBytesDeletedFromSource()Bytes that are deleted from the data source.
int64 bytes_deleted_from_source = 10;- Specified by:
getBytesDeletedFromSourcein interfaceTransferTypes.TransferCountersOrBuilder- Returns:
- The bytesDeletedFromSource.
-
getObjectsDeletedFromSink
public long getObjectsDeletedFromSink()Objects that are deleted from the data sink.
int64 objects_deleted_from_sink = 11;- Specified by:
getObjectsDeletedFromSinkin interfaceTransferTypes.TransferCountersOrBuilder- Returns:
- The objectsDeletedFromSink.
-
getBytesDeletedFromSink
public long getBytesDeletedFromSink()Bytes that are deleted from the data sink.
int64 bytes_deleted_from_sink = 12;- Specified by:
getBytesDeletedFromSinkin interfaceTransferTypes.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:
getObjectsFromSourceFailedin interfaceTransferTypes.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:
getBytesFromSourceFailedin interfaceTransferTypes.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:
getObjectsFailedToDeleteFromSinkin interfaceTransferTypes.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:
getBytesFailedToDeleteFromSinkin interfaceTransferTypes.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:
getDirectoriesFoundFromSourcein interfaceTransferTypes.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:
getDirectoriesFailedToListFromSourcein interfaceTransferTypes.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:
getDirectoriesSuccessfullyListedFromSourcein interfaceTransferTypes.TransferCountersOrBuilder- Returns:
- The directoriesSuccessfullyListedFromSource.
-
getIntermediateObjectsCleanedUp
public long getIntermediateObjectsCleanedUp()Number of successfully cleaned up intermediate objects.
int64 intermediate_objects_cleaned_up = 22;- Specified by:
getIntermediateObjectsCleanedUpin interfaceTransferTypes.TransferCountersOrBuilder- Returns:
- The intermediateObjectsCleanedUp.
-
getIntermediateObjectsFailedCleanedUp
public long getIntermediateObjectsFailedCleanedUp()Number of intermediate objects failed cleaned up.
int64 intermediate_objects_failed_cleaned_up = 23;- Specified by:
getIntermediateObjectsFailedCleanedUpin interfaceTransferTypes.TransferCountersOrBuilder- Returns:
- The intermediateObjectsFailedCleanedUp.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static TransferTypes.TransferCounters.Builder newBuilder(TransferTypes.TransferCounters prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TransferTypes.TransferCounters.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-