Class TransferTypes.TransferCounters

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

Fields

BYTES_COPIED_TO_SINK_FIELD_NUMBER

public static final int BYTES_COPIED_TO_SINK_FIELD_NUMBER
Field Value
TypeDescription
int

BYTES_DELETED_FROM_SINK_FIELD_NUMBER

public static final int BYTES_DELETED_FROM_SINK_FIELD_NUMBER
Field Value
TypeDescription
int

BYTES_DELETED_FROM_SOURCE_FIELD_NUMBER

public static final int BYTES_DELETED_FROM_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

BYTES_FAILED_TO_DELETE_FROM_SINK_FIELD_NUMBER

public static final int BYTES_FAILED_TO_DELETE_FROM_SINK_FIELD_NUMBER
Field Value
TypeDescription
int

BYTES_FOUND_FROM_SOURCE_FIELD_NUMBER

public static final int BYTES_FOUND_FROM_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

BYTES_FOUND_ONLY_FROM_SINK_FIELD_NUMBER

public static final int BYTES_FOUND_ONLY_FROM_SINK_FIELD_NUMBER
Field Value
TypeDescription
int

BYTES_FROM_SOURCE_FAILED_FIELD_NUMBER

public static final int BYTES_FROM_SOURCE_FAILED_FIELD_NUMBER
Field Value
TypeDescription
int

BYTES_FROM_SOURCE_SKIPPED_BY_SYNC_FIELD_NUMBER

public static final int BYTES_FROM_SOURCE_SKIPPED_BY_SYNC_FIELD_NUMBER
Field Value
TypeDescription
int

OBJECTS_COPIED_TO_SINK_FIELD_NUMBER

public static final int OBJECTS_COPIED_TO_SINK_FIELD_NUMBER
Field Value
TypeDescription
int

OBJECTS_DELETED_FROM_SINK_FIELD_NUMBER

public static final int OBJECTS_DELETED_FROM_SINK_FIELD_NUMBER
Field Value
TypeDescription
int

OBJECTS_DELETED_FROM_SOURCE_FIELD_NUMBER

public static final int OBJECTS_DELETED_FROM_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

OBJECTS_FAILED_TO_DELETE_FROM_SINK_FIELD_NUMBER

public static final int OBJECTS_FAILED_TO_DELETE_FROM_SINK_FIELD_NUMBER
Field Value
TypeDescription
int

OBJECTS_FOUND_FROM_SOURCE_FIELD_NUMBER

public static final int OBJECTS_FOUND_FROM_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

OBJECTS_FOUND_ONLY_FROM_SINK_FIELD_NUMBER

public static final int OBJECTS_FOUND_ONLY_FROM_SINK_FIELD_NUMBER
Field Value
TypeDescription
int

OBJECTS_FROM_SOURCE_FAILED_FIELD_NUMBER

public static final int OBJECTS_FROM_SOURCE_FAILED_FIELD_NUMBER
Field Value
TypeDescription
int

OBJECTS_FROM_SOURCE_SKIPPED_BY_SYNC_FIELD_NUMBER

public static final int OBJECTS_FROM_SOURCE_SKIPPED_BY_SYNC_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBytesCopiedToSink()

public long getBytesCopiedToSink()

Bytes that are copied to the data sink.

int64 bytes_copied_to_sink = 8;

Returns
TypeDescription
long

The bytesCopiedToSink.

getBytesDeletedFromSink()

public long getBytesDeletedFromSink()

Bytes that are deleted from the data sink.

int64 bytes_deleted_from_sink = 12;

Returns
TypeDescription
long

The bytesDeletedFromSink.

getBytesDeletedFromSource()

public long getBytesDeletedFromSource()

Bytes that are deleted from the data source.

int64 bytes_deleted_from_source = 10;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
long

The bytesFromSourceSkippedBySync.

getDefaultInstance()

public static TransferTypes.TransferCounters getDefaultInstance()
Returns
TypeDescription
TransferTypes.TransferCounters

getDefaultInstanceForType()

public TransferTypes.TransferCounters getDefaultInstanceForType()
Returns
TypeDescription
TransferTypes.TransferCounters

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getObjectsCopiedToSink()

public long getObjectsCopiedToSink()

Objects that are copied to the data sink.

int64 objects_copied_to_sink = 7;

Returns
TypeDescription
long

The objectsCopiedToSink.

getObjectsDeletedFromSink()

public long getObjectsDeletedFromSink()

Objects that are deleted from the data sink.

int64 objects_deleted_from_sink = 11;

Returns
TypeDescription
long

The objectsDeletedFromSink.

getObjectsDeletedFromSource()

public long getObjectsDeletedFromSource()

Objects that are deleted from the data source.

int64 objects_deleted_from_source = 9;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
long

The objectsFromSourceSkippedBySync.

getParserForType()

public Parser<TransferTypes.TransferCounters> getParserForType()
Returns
TypeDescription
Parser<TransferCounters>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilder()

public static TransferTypes.TransferCounters.Builder newBuilder()
Returns
TypeDescription
TransferTypes.TransferCounters.Builder

newBuilder(TransferTypes.TransferCounters prototype)

public static TransferTypes.TransferCounters.Builder newBuilder(TransferTypes.TransferCounters prototype)
Parameter
NameDescription
prototypeTransferTypes.TransferCounters
Returns
TypeDescription
TransferTypes.TransferCounters.Builder

newBuilderForType()

public TransferTypes.TransferCounters.Builder newBuilderForType()
Returns
TypeDescription
TransferTypes.TransferCounters.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TransferTypes.TransferCounters.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TransferTypes.TransferCounters.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

parseDelimitedFrom(InputStream input)

public static TransferTypes.TransferCounters parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TransferTypes.TransferCounters
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.TransferCounters parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferTypes.TransferCounters
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TransferTypes.TransferCounters parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TransferTypes.TransferCounters
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.TransferCounters parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferTypes.TransferCounters
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TransferTypes.TransferCounters parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TransferTypes.TransferCounters
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.TransferCounters parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferTypes.TransferCounters
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TransferTypes.TransferCounters parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TransferTypes.TransferCounters
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.TransferCounters parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferTypes.TransferCounters
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TransferTypes.TransferCounters parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TransferTypes.TransferCounters
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.TransferCounters parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferTypes.TransferCounters
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TransferTypes.TransferCounters parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TransferTypes.TransferCounters
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.TransferCounters parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferTypes.TransferCounters
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

toBuilder()

public TransferTypes.TransferCounters.Builder toBuilder()
Returns
TypeDescription
TransferTypes.TransferCounters.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException