Class TransferStats (0.15.0)

public final class TransferStats extends GeneratedMessageV3 implements TransferStatsOrBuilder

TransferStats reports all statistics related to replication transfer.

Protobuf type google.cloud.netapp.v1.TransferStats

Static Fields

LAG_DURATION_FIELD_NUMBER

public static final int LAG_DURATION_FIELD_NUMBER
Field Value
TypeDescription
int

LAST_TRANSFER_BYTES_FIELD_NUMBER

public static final int LAST_TRANSFER_BYTES_FIELD_NUMBER
Field Value
TypeDescription
int

LAST_TRANSFER_DURATION_FIELD_NUMBER

public static final int LAST_TRANSFER_DURATION_FIELD_NUMBER
Field Value
TypeDescription
int

LAST_TRANSFER_END_TIME_FIELD_NUMBER

public static final int LAST_TRANSFER_END_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

LAST_TRANSFER_ERROR_FIELD_NUMBER

public static final int LAST_TRANSFER_ERROR_FIELD_NUMBER
Field Value
TypeDescription
int

TOTAL_TRANSFER_DURATION_FIELD_NUMBER

public static final int TOTAL_TRANSFER_DURATION_FIELD_NUMBER
Field Value
TypeDescription
int

TRANSFER_BYTES_FIELD_NUMBER

public static final int TRANSFER_BYTES_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TransferStats getDefaultInstance()
Returns
TypeDescription
TransferStats

getDescriptor()

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

newBuilder()

public static TransferStats.Builder newBuilder()
Returns
TypeDescription
TransferStats.Builder

newBuilder(TransferStats prototype)

public static TransferStats.Builder newBuilder(TransferStats prototype)
Parameter
NameDescription
prototypeTransferStats
Returns
TypeDescription
TransferStats.Builder

parseDelimitedFrom(InputStream input)

public static TransferStats parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TransferStats
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static TransferStats parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TransferStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static TransferStats parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TransferStats
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static TransferStats parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TransferStats
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static TransferStats parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TransferStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<TransferStats> parser()
Returns
TypeDescription
Parser<TransferStats>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public TransferStats getDefaultInstanceForType()
Returns
TypeDescription
TransferStats

getLagDuration()

public Duration getLagDuration()

Lag duration indicates the duration by which Destination region volume content lags behind the primary region volume content.

optional .google.protobuf.Duration lag_duration = 5;

Returns
TypeDescription
Duration

The lagDuration.

getLagDurationOrBuilder()

public DurationOrBuilder getLagDurationOrBuilder()

Lag duration indicates the duration by which Destination region volume content lags behind the primary region volume content.

optional .google.protobuf.Duration lag_duration = 5;

Returns
TypeDescription
DurationOrBuilder

getLastTransferBytes()

public long getLastTransferBytes()

Last transfer size in bytes.

optional int64 last_transfer_bytes = 3;

Returns
TypeDescription
long

The lastTransferBytes.

getLastTransferDuration()

public Duration getLastTransferDuration()

Time taken during last transfer.

optional .google.protobuf.Duration last_transfer_duration = 4;

Returns
TypeDescription
Duration

The lastTransferDuration.

getLastTransferDurationOrBuilder()

public DurationOrBuilder getLastTransferDurationOrBuilder()

Time taken during last transfer.

optional .google.protobuf.Duration last_transfer_duration = 4;

Returns
TypeDescription
DurationOrBuilder

getLastTransferEndTime()

public Timestamp getLastTransferEndTime()

Time when last transfer completed.

optional .google.protobuf.Timestamp last_transfer_end_time = 7;

Returns
TypeDescription
Timestamp

The lastTransferEndTime.

getLastTransferEndTimeOrBuilder()

public TimestampOrBuilder getLastTransferEndTimeOrBuilder()

Time when last transfer completed.

optional .google.protobuf.Timestamp last_transfer_end_time = 7;

Returns
TypeDescription
TimestampOrBuilder

getLastTransferError()

public String getLastTransferError()

A message describing the cause of the last transfer failure.

optional string last_transfer_error = 8;

Returns
TypeDescription
String

The lastTransferError.

getLastTransferErrorBytes()

public ByteString getLastTransferErrorBytes()

A message describing the cause of the last transfer failure.

optional string last_transfer_error = 8;

Returns
TypeDescription
ByteString

The bytes for lastTransferError.

getParserForType()

public Parser<TransferStats> getParserForType()
Returns
TypeDescription
Parser<TransferStats>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTotalTransferDuration()

public Duration getTotalTransferDuration()

Total time taken during transfer.

optional .google.protobuf.Duration total_transfer_duration = 2;

Returns
TypeDescription
Duration

The totalTransferDuration.

getTotalTransferDurationOrBuilder()

public DurationOrBuilder getTotalTransferDurationOrBuilder()

Total time taken during transfer.

optional .google.protobuf.Duration total_transfer_duration = 2;

Returns
TypeDescription
DurationOrBuilder

getTransferBytes()

public long getTransferBytes()

bytes trasferred so far in current transfer.

optional int64 transfer_bytes = 1;

Returns
TypeDescription
long

The transferBytes.

getUpdateTime()

public Timestamp getUpdateTime()

Time when progress was updated last.

optional .google.protobuf.Timestamp update_time = 6;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Time when progress was updated last.

optional .google.protobuf.Timestamp update_time = 6;

Returns
TypeDescription
TimestampOrBuilder

hasLagDuration()

public boolean hasLagDuration()

Lag duration indicates the duration by which Destination region volume content lags behind the primary region volume content.

optional .google.protobuf.Duration lag_duration = 5;

Returns
TypeDescription
boolean

Whether the lagDuration field is set.

hasLastTransferBytes()

public boolean hasLastTransferBytes()

Last transfer size in bytes.

optional int64 last_transfer_bytes = 3;

Returns
TypeDescription
boolean

Whether the lastTransferBytes field is set.

hasLastTransferDuration()

public boolean hasLastTransferDuration()

Time taken during last transfer.

optional .google.protobuf.Duration last_transfer_duration = 4;

Returns
TypeDescription
boolean

Whether the lastTransferDuration field is set.

hasLastTransferEndTime()

public boolean hasLastTransferEndTime()

Time when last transfer completed.

optional .google.protobuf.Timestamp last_transfer_end_time = 7;

Returns
TypeDescription
boolean

Whether the lastTransferEndTime field is set.

hasLastTransferError()

public boolean hasLastTransferError()

A message describing the cause of the last transfer failure.

optional string last_transfer_error = 8;

Returns
TypeDescription
boolean

Whether the lastTransferError field is set.

hasTotalTransferDuration()

public boolean hasTotalTransferDuration()

Total time taken during transfer.

optional .google.protobuf.Duration total_transfer_duration = 2;

Returns
TypeDescription
boolean

Whether the totalTransferDuration field is set.

hasTransferBytes()

public boolean hasTransferBytes()

bytes trasferred so far in current transfer.

optional int64 transfer_bytes = 1;

Returns
TypeDescription
boolean

Whether the transferBytes field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Time when progress was updated last.

optional .google.protobuf.Timestamp update_time = 6;

Returns
TypeDescription
boolean

Whether the updateTime field is set.

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

newBuilderForType()

public TransferStats.Builder newBuilderForType()
Returns
TypeDescription
TransferStats.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public TransferStats.Builder toBuilder()
Returns
TypeDescription
TransferStats.Builder

writeTo(CodedOutputStream output)

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