public static final class TransferTypes.TransferCounters extends GeneratedMessageV3 implements TransferTypes.TransferCountersOrBuilder
A collection of counters that report the progress of a transfer operation.
Protobuf type google.storagetransfer.v1.TransferCounters
Static Fields
BYTES_COPIED_TO_SINK_FIELD_NUMBER
public static final int BYTES_COPIED_TO_SINK_FIELD_NUMBER
Field Value
BYTES_DELETED_FROM_SINK_FIELD_NUMBER
public static final int BYTES_DELETED_FROM_SINK_FIELD_NUMBER
Field Value
BYTES_DELETED_FROM_SOURCE_FIELD_NUMBER
public static final int BYTES_DELETED_FROM_SOURCE_FIELD_NUMBER
Field Value
BYTES_FAILED_TO_DELETE_FROM_SINK_FIELD_NUMBER
public static final int BYTES_FAILED_TO_DELETE_FROM_SINK_FIELD_NUMBER
Field Value
BYTES_FOUND_FROM_SOURCE_FIELD_NUMBER
public static final int BYTES_FOUND_FROM_SOURCE_FIELD_NUMBER
Field Value
BYTES_FOUND_ONLY_FROM_SINK_FIELD_NUMBER
public static final int BYTES_FOUND_ONLY_FROM_SINK_FIELD_NUMBER
Field Value
BYTES_FROM_SOURCE_FAILED_FIELD_NUMBER
public static final int BYTES_FROM_SOURCE_FAILED_FIELD_NUMBER
Field Value
BYTES_FROM_SOURCE_SKIPPED_BY_SYNC_FIELD_NUMBER
public static final int BYTES_FROM_SOURCE_SKIPPED_BY_SYNC_FIELD_NUMBER
Field Value
DIRECTORIES_FAILED_TO_LIST_FROM_SOURCE_FIELD_NUMBER
public static final int DIRECTORIES_FAILED_TO_LIST_FROM_SOURCE_FIELD_NUMBER
Field Value
DIRECTORIES_FOUND_FROM_SOURCE_FIELD_NUMBER
public static final int DIRECTORIES_FOUND_FROM_SOURCE_FIELD_NUMBER
Field Value
DIRECTORIES_SUCCESSFULLY_LISTED_FROM_SOURCE_FIELD_NUMBER
public static final int DIRECTORIES_SUCCESSFULLY_LISTED_FROM_SOURCE_FIELD_NUMBER
Field Value
public static final int INTERMEDIATE_OBJECTS_CLEANED_UP_FIELD_NUMBER
Field Value
public static final int INTERMEDIATE_OBJECTS_FAILED_CLEANED_UP_FIELD_NUMBER
Field Value
OBJECTS_COPIED_TO_SINK_FIELD_NUMBER
public static final int OBJECTS_COPIED_TO_SINK_FIELD_NUMBER
Field Value
OBJECTS_DELETED_FROM_SINK_FIELD_NUMBER
public static final int OBJECTS_DELETED_FROM_SINK_FIELD_NUMBER
Field Value
OBJECTS_DELETED_FROM_SOURCE_FIELD_NUMBER
public static final int OBJECTS_DELETED_FROM_SOURCE_FIELD_NUMBER
Field Value
OBJECTS_FAILED_TO_DELETE_FROM_SINK_FIELD_NUMBER
public static final int OBJECTS_FAILED_TO_DELETE_FROM_SINK_FIELD_NUMBER
Field Value
OBJECTS_FOUND_FROM_SOURCE_FIELD_NUMBER
public static final int OBJECTS_FOUND_FROM_SOURCE_FIELD_NUMBER
Field Value
OBJECTS_FOUND_ONLY_FROM_SINK_FIELD_NUMBER
public static final int OBJECTS_FOUND_ONLY_FROM_SINK_FIELD_NUMBER
Field Value
OBJECTS_FROM_SOURCE_FAILED_FIELD_NUMBER
public static final int OBJECTS_FROM_SOURCE_FAILED_FIELD_NUMBER
Field Value
OBJECTS_FROM_SOURCE_SKIPPED_BY_SYNC_FIELD_NUMBER
public static final int OBJECTS_FROM_SOURCE_SKIPPED_BY_SYNC_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static TransferTypes.TransferCounters getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static TransferTypes.TransferCounters.Builder newBuilder()
Returns
newBuilder(TransferTypes.TransferCounters prototype)
public static TransferTypes.TransferCounters.Builder newBuilder(TransferTypes.TransferCounters prototype)
Parameter
Returns
public static TransferTypes.TransferCounters parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransferTypes.TransferCounters parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static TransferTypes.TransferCounters parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.TransferCounters parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static TransferTypes.TransferCounters parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.TransferCounters parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransferTypes.TransferCounters parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TransferTypes.TransferCounters parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransferTypes.TransferCounters parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransferTypes.TransferCounters parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static TransferTypes.TransferCounters parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.TransferCounters parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<TransferTypes.TransferCounters> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getBytesCopiedToSink()
public long getBytesCopiedToSink()
Bytes that are copied to the data sink.
int64 bytes_copied_to_sink = 8;
Returns
Type |
Description |
long |
The bytesCopiedToSink.
|
getBytesDeletedFromSink()
public long getBytesDeletedFromSink()
Bytes that are deleted from the data sink.
int64 bytes_deleted_from_sink = 12;
Returns
Type |
Description |
long |
The bytesDeletedFromSink.
|
getBytesDeletedFromSource()
public long getBytesDeletedFromSource()
Bytes that are deleted from the data source.
int64 bytes_deleted_from_source = 10;
Returns
Type |
Description |
long |
The bytesDeletedFromSource.
|
getBytesFailedToDeleteFromSink()
public long getBytesFailedToDeleteFromSink()
Bytes that failed to be deleted from the data sink.
int64 bytes_failed_to_delete_from_sink = 16;
Returns
Type |
Description |
long |
The bytesFailedToDeleteFromSink.
|
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;
Returns
Type |
Description |
long |
The bytesFoundFromSource.
|
getBytesFoundOnlyFromSink()
public long getBytesFoundOnlyFromSink()
Bytes found only in the data sink that are scheduled to be deleted.
int64 bytes_found_only_from_sink = 4;
Returns
Type |
Description |
long |
The bytesFoundOnlyFromSink.
|
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;
Returns
Type |
Description |
long |
The bytesFromSourceFailed.
|
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;
Returns
Type |
Description |
long |
The bytesFromSourceSkippedBySync.
|
getDefaultInstanceForType()
public TransferTypes.TransferCounters getDefaultInstanceForType()
Returns
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;
Returns
Type |
Description |
long |
The directoriesFailedToListFromSource.
|
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;
Returns
Type |
Description |
long |
The directoriesFoundFromSource.
|
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;
Returns
Type |
Description |
long |
The directoriesSuccessfullyListedFromSource.
|
public long getIntermediateObjectsCleanedUp()
Number of successfully cleaned up intermediate objects.
int64 intermediate_objects_cleaned_up = 22;
Returns
Type |
Description |
long |
The intermediateObjectsCleanedUp.
|
public long getIntermediateObjectsFailedCleanedUp()
Number of intermediate objects failed cleaned up.
int64 intermediate_objects_failed_cleaned_up = 23;
Returns
Type |
Description |
long |
The intermediateObjectsFailedCleanedUp.
|
getObjectsCopiedToSink()
public long getObjectsCopiedToSink()
Objects that are copied to the data sink.
int64 objects_copied_to_sink = 7;
Returns
Type |
Description |
long |
The objectsCopiedToSink.
|
getObjectsDeletedFromSink()
public long getObjectsDeletedFromSink()
Objects that are deleted from the data sink.
int64 objects_deleted_from_sink = 11;
Returns
Type |
Description |
long |
The objectsDeletedFromSink.
|
getObjectsDeletedFromSource()
public long getObjectsDeletedFromSource()
Objects that are deleted from the data source.
int64 objects_deleted_from_source = 9;
Returns
Type |
Description |
long |
The objectsDeletedFromSource.
|
getObjectsFailedToDeleteFromSink()
public long getObjectsFailedToDeleteFromSink()
Objects that failed to be deleted from the data sink.
int64 objects_failed_to_delete_from_sink = 15;
Returns
Type |
Description |
long |
The objectsFailedToDeleteFromSink.
|
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;
Returns
Type |
Description |
long |
The objectsFoundFromSource.
|
getObjectsFoundOnlyFromSink()
public long getObjectsFoundOnlyFromSink()
Objects found only in the data sink that are scheduled to be deleted.
int64 objects_found_only_from_sink = 3;
Returns
Type |
Description |
long |
The objectsFoundOnlyFromSink.
|
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;
Returns
Type |
Description |
long |
The objectsFromSourceFailed.
|
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;
Returns
Type |
Description |
long |
The objectsFromSourceSkippedBySync.
|
getParserForType()
public Parser<TransferTypes.TransferCounters> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public TransferTypes.TransferCounters.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TransferTypes.TransferCounters.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public TransferTypes.TransferCounters.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions