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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
BYTES_COPIED_TO_SINK_FIELD_NUMBER
public static final int BYTES_COPIED_TO_SINK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
BYTES_DELETED_FROM_SINK_FIELD_NUMBER
public static final int BYTES_DELETED_FROM_SINK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
BYTES_DELETED_FROM_SOURCE_FIELD_NUMBER
public static final int BYTES_DELETED_FROM_SOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
BYTES_FAILED_TO_DELETE_FROM_SINK_FIELD_NUMBER
public static final int BYTES_FAILED_TO_DELETE_FROM_SINK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
BYTES_FOUND_FROM_SOURCE_FIELD_NUMBER
public static final int BYTES_FOUND_FROM_SOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
BYTES_FOUND_ONLY_FROM_SINK_FIELD_NUMBER
public static final int BYTES_FOUND_ONLY_FROM_SINK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
BYTES_FROM_SOURCE_FAILED_FIELD_NUMBER
public static final int BYTES_FROM_SOURCE_FAILED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
BYTES_FROM_SOURCE_SKIPPED_BY_SYNC_FIELD_NUMBER
public static final int BYTES_FROM_SOURCE_SKIPPED_BY_SYNC_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DIRECTORIES_FAILED_TO_LIST_FROM_SOURCE_FIELD_NUMBER
public static final int DIRECTORIES_FAILED_TO_LIST_FROM_SOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DIRECTORIES_FOUND_FROM_SOURCE_FIELD_NUMBER
public static final int DIRECTORIES_FOUND_FROM_SOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DIRECTORIES_SUCCESSFULLY_LISTED_FROM_SOURCE_FIELD_NUMBER
public static final int DIRECTORIES_SUCCESSFULLY_LISTED_FROM_SOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int INTERMEDIATE_OBJECTS_CLEANED_UP_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int INTERMEDIATE_OBJECTS_FAILED_CLEANED_UP_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
OBJECTS_COPIED_TO_SINK_FIELD_NUMBER
public static final int OBJECTS_COPIED_TO_SINK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
OBJECTS_DELETED_FROM_SINK_FIELD_NUMBER
public static final int OBJECTS_DELETED_FROM_SINK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
OBJECTS_DELETED_FROM_SOURCE_FIELD_NUMBER
public static final int OBJECTS_DELETED_FROM_SOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
OBJECTS_FAILED_TO_DELETE_FROM_SINK_FIELD_NUMBER
public static final int OBJECTS_FAILED_TO_DELETE_FROM_SINK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
OBJECTS_FOUND_FROM_SOURCE_FIELD_NUMBER
public static final int OBJECTS_FOUND_FROM_SOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
OBJECTS_FOUND_ONLY_FROM_SINK_FIELD_NUMBER
public static final int OBJECTS_FOUND_ONLY_FROM_SINK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
OBJECTS_FROM_SOURCE_FAILED_FIELD_NUMBER
public static final int OBJECTS_FROM_SOURCE_FAILED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
OBJECTS_FROM_SOURCE_SKIPPED_BY_SYNC_FIELD_NUMBER
public static final int OBJECTS_FROM_SOURCE_SKIPPED_BY_SYNC_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static TransferTypes.TransferCounters getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static TransferTypes.TransferCounters.Builder newBuilder()
newBuilder(TransferTypes.TransferCounters prototype)
public static TransferTypes.TransferCounters.Builder newBuilder(TransferTypes.TransferCounters prototype)
public static TransferTypes.TransferCounters parseDelimitedFrom(InputStream input)
public static TransferTypes.TransferCounters parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static TransferTypes.TransferCounters parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.TransferCounters parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static TransferTypes.TransferCounters parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.TransferCounters parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.TransferCounters parseFrom(CodedInputStream input)
public static TransferTypes.TransferCounters parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.TransferCounters parseFrom(InputStream input)
public static TransferTypes.TransferCounters parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static TransferTypes.TransferCounters parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.TransferCounters parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<TransferTypes.TransferCounters> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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()
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public TransferTypes.TransferCounters.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TransferTypes.TransferCounters.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public TransferTypes.TransferCounters.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides