Class TransferCounters (0.2.0)

public final class TransferCounters extends GeneratedMessageV3 implements TransferCountersOrBuilder

A collection of counters that report the progress of a transfer operation.

Protobuf type google.cloud.lustre.v1.TransferCounters

Static Fields

BYTES_COPIED_COUNT_FIELD_NUMBER

public static final int BYTES_COPIED_COUNT_FIELD_NUMBER
Field Value
Type Description
int

BYTES_FAILED_COUNT_FIELD_NUMBER

public static final int BYTES_FAILED_COUNT_FIELD_NUMBER
Field Value
Type Description
int

BYTES_FOUND_COUNT_FIELD_NUMBER

public static final int BYTES_FOUND_COUNT_FIELD_NUMBER
Field Value
Type Description
int

BYTES_SKIPPED_COUNT_FIELD_NUMBER

public static final int BYTES_SKIPPED_COUNT_FIELD_NUMBER
Field Value
Type Description
int

FOUND_OBJECTS_COUNT_FIELD_NUMBER

public static final int FOUND_OBJECTS_COUNT_FIELD_NUMBER
Field Value
Type Description
int

OBJECTS_COPIED_COUNT_FIELD_NUMBER

public static final int OBJECTS_COPIED_COUNT_FIELD_NUMBER
Field Value
Type Description
int

OBJECTS_FAILED_COUNT_FIELD_NUMBER

public static final int OBJECTS_FAILED_COUNT_FIELD_NUMBER
Field Value
Type Description
int

OBJECTS_SKIPPED_COUNT_FIELD_NUMBER

public static final int OBJECTS_SKIPPED_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TransferCounters getDefaultInstance()
Returns
Type Description
TransferCounters

getDescriptor()

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

newBuilder()

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

newBuilder(TransferCounters prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<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

getBytesCopiedCount()

public long getBytesCopiedCount()

Bytes that are copied to the data destination.

int64 bytes_copied_count = 6;

Returns
Type Description
long

The bytesCopiedCount.

getBytesFailedCount()

public long getBytesFailedCount()

Output only. Bytes that are failed to write to the data destination.

int64 bytes_failed_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The bytesFailedCount.

getBytesFoundCount()

public long getBytesFoundCount()

Total number of 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_count = 2;

Returns
Type Description
long

The bytesFoundCount.

getBytesSkippedCount()

public long getBytesSkippedCount()

Bytes in the data source that are not transferred because they already exist in the data destination.

int64 bytes_skipped_count = 4;

Returns
Type Description
long

The bytesSkippedCount.

getDefaultInstanceForType()

public TransferCounters getDefaultInstanceForType()
Returns
Type Description
TransferCounters

getFoundObjectsCount()

public long getFoundObjectsCount()

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 found_objects_count = 1;

Returns
Type Description
long

The foundObjectsCount.

getObjectsCopiedCount()

public long getObjectsCopiedCount()

Objects that are copied to the data destination.

int64 objects_copied_count = 5;

Returns
Type Description
long

The objectsCopiedCount.

getObjectsFailedCount()

public long getObjectsFailedCount()

Output only. Objects that are failed to write to the data destination.

int64 objects_failed_count = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The objectsFailedCount.

getObjectsSkippedCount()

public long getObjectsSkippedCount()

Objects in the data source that are not transferred because they already exist in the data destination.

int64 objects_skipped_count = 3;

Returns
Type Description
long

The objectsSkippedCount.

getParserForType()

public Parser<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 TransferCounters.Builder newBuilderForType()
Returns
Type Description
TransferCounters.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TransferCounters.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
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 TransferCounters.Builder toBuilder()
Returns
Type Description
TransferCounters.Builder

writeTo(CodedOutputStream output)

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