Class TransferCounters (0.7.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.parallelstore.v1beta.TransferCounters

Static Fields

BYTES_COPIED_FIELD_NUMBER

public static final int BYTES_COPIED_FIELD_NUMBER
Field Value
Type Description
int

BYTES_FOUND_FIELD_NUMBER

public static final int BYTES_FOUND_FIELD_NUMBER
Field Value
Type Description
int

BYTES_SKIPPED_FIELD_NUMBER

public static final int BYTES_SKIPPED_FIELD_NUMBER
Field Value
Type Description
int

OBJECTS_COPIED_FIELD_NUMBER

public static final int OBJECTS_COPIED_FIELD_NUMBER
Field Value
Type Description
int

OBJECTS_FOUND_FIELD_NUMBER

public static final int OBJECTS_FOUND_FIELD_NUMBER
Field Value
Type Description
int

OBJECTS_SKIPPED_FIELD_NUMBER

public static final int OBJECTS_SKIPPED_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

getBytesCopied()

public long getBytesCopied()

Bytes that are copied to the data destination.

int64 bytes_copied = 6;

Returns
Type Description
long

The bytesCopied.

getBytesFound()

public long getBytesFound()

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 = 2;

Returns
Type Description
long

The bytesFound.

getBytesSkipped()

public long getBytesSkipped()

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

int64 bytes_skipped = 4;

Returns
Type Description
long

The bytesSkipped.

getDefaultInstanceForType()

public TransferCounters getDefaultInstanceForType()
Returns
Type Description
TransferCounters

getObjectsCopied()

public long getObjectsCopied()

Objects that are copied to the data destination.

int64 objects_copied = 5;

Returns
Type Description
long

The objectsCopied.

getObjectsFound()

public long getObjectsFound()

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

Returns
Type Description
long

The objectsFound.

getObjectsSkipped()

public long getObjectsSkipped()

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

int64 objects_skipped = 3;

Returns
Type Description
long

The objectsSkipped.

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