Class TransferTypes.TransferCounters (1.49.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > TransferTypes.TransferCounters

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

INTERMEDIATE_OBJECTS_CLEANED_UP_FIELD_NUMBER

public static final int INTERMEDIATE_OBJECTS_CLEANED_UP_FIELD_NUMBER
Field Value
Type Description
int

INTERMEDIATE_OBJECTS_FAILED_CLEANED_UP_FIELD_NUMBER

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()
Returns
Type Description
TransferTypes.TransferCounters

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static TransferTypes.TransferCounters.Builder newBuilder()
Returns
Type Description
TransferTypes.TransferCounters.Builder

newBuilder(TransferTypes.TransferCounters prototype)

public static TransferTypes.TransferCounters.Builder newBuilder(TransferTypes.TransferCounters prototype)
Parameter
Name Description
prototype TransferTypes.TransferCounters
Returns
Type Description
TransferTypes.TransferCounters.Builder

parseDelimitedFrom(InputStream input)

public static TransferTypes.TransferCounters parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TransferTypes.TransferCounters
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.TransferCounters parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferTypes.TransferCounters
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TransferTypes.TransferCounters parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TransferTypes.TransferCounters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.TransferCounters parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferTypes.TransferCounters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TransferTypes.TransferCounters parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TransferTypes.TransferCounters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.TransferCounters parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferTypes.TransferCounters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TransferTypes.TransferCounters parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TransferTypes.TransferCounters
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.TransferCounters parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferTypes.TransferCounters
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TransferTypes.TransferCounters parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TransferTypes.TransferCounters
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.TransferCounters parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferTypes.TransferCounters
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TransferTypes.TransferCounters parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TransferTypes.TransferCounters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.TransferCounters parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferTypes.TransferCounters
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TransferTypes.TransferCounters> parser()
Returns
Type Description
Parser<TransferCounters>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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
Type Description
TransferTypes.TransferCounters

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.

getIntermediateObjectsCleanedUp()

public long getIntermediateObjectsCleanedUp()

Number of successfully cleaned up intermediate objects.

int64 intermediate_objects_cleaned_up = 22;

Returns
Type Description
long

The intermediateObjectsCleanedUp.

getIntermediateObjectsFailedCleanedUp()

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
Type Description
Parser<TransferCounters>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TransferTypes.TransferCounters.Builder newBuilderForType()
Returns
Type Description
TransferTypes.TransferCounters.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TransferTypes.TransferCounters.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TransferTypes.TransferCounters.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TransferTypes.TransferCounters.Builder toBuilder()
Returns
Type Description
TransferTypes.TransferCounters.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException