Class TransferStats (0.34.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
Type Description
int

LAST_TRANSFER_BYTES_FIELD_NUMBER

public static final int LAST_TRANSFER_BYTES_FIELD_NUMBER
Field Value
Type Description
int

LAST_TRANSFER_DURATION_FIELD_NUMBER

public static final int LAST_TRANSFER_DURATION_FIELD_NUMBER
Field Value
Type Description
int

LAST_TRANSFER_END_TIME_FIELD_NUMBER

public static final int LAST_TRANSFER_END_TIME_FIELD_NUMBER
Field Value
Type Description
int

LAST_TRANSFER_ERROR_FIELD_NUMBER

public static final int LAST_TRANSFER_ERROR_FIELD_NUMBER
Field Value
Type Description
int

TOTAL_TRANSFER_DURATION_FIELD_NUMBER

public static final int TOTAL_TRANSFER_DURATION_FIELD_NUMBER
Field Value
Type Description
int

TRANSFER_BYTES_FIELD_NUMBER

public static final int TRANSFER_BYTES_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TransferStats getDefaultInstance()
Returns
Type Description
TransferStats

getDescriptor()

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

newBuilder()

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

newBuilder(TransferStats prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<TransferStats> parser()
Returns
Type Description
Parser<TransferStats>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public TransferStats getDefaultInstanceForType()
Returns
Type Description
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
Type Description
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
Type Description
DurationOrBuilder

getLastTransferBytes()

public long getLastTransferBytes()

Last transfer size in bytes.

optional int64 last_transfer_bytes = 3;

Returns
Type Description
long

The lastTransferBytes.

getLastTransferDuration()

public Duration getLastTransferDuration()

Time taken during last transfer.

optional .google.protobuf.Duration last_transfer_duration = 4;

Returns
Type Description
Duration

The lastTransferDuration.

getLastTransferDurationOrBuilder()

public DurationOrBuilder getLastTransferDurationOrBuilder()

Time taken during last transfer.

optional .google.protobuf.Duration last_transfer_duration = 4;

Returns
Type Description
DurationOrBuilder

getLastTransferEndTime()

public Timestamp getLastTransferEndTime()

Time when last transfer completed.

optional .google.protobuf.Timestamp last_transfer_end_time = 7;

Returns
Type Description
Timestamp

The lastTransferEndTime.

getLastTransferEndTimeOrBuilder()

public TimestampOrBuilder getLastTransferEndTimeOrBuilder()

Time when last transfer completed.

optional .google.protobuf.Timestamp last_transfer_end_time = 7;

Returns
Type Description
TimestampOrBuilder

getLastTransferError()

public String getLastTransferError()

A message describing the cause of the last transfer failure.

optional string last_transfer_error = 8;

Returns
Type Description
String

The lastTransferError.

getLastTransferErrorBytes()

public ByteString getLastTransferErrorBytes()

A message describing the cause of the last transfer failure.

optional string last_transfer_error = 8;

Returns
Type Description
ByteString

The bytes for lastTransferError.

getParserForType()

public Parser<TransferStats> getParserForType()
Returns
Type Description
Parser<TransferStats>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTotalTransferDuration()

public Duration getTotalTransferDuration()

Cumulative time taken across all transfers for the replication relationship.

optional .google.protobuf.Duration total_transfer_duration = 2;

Returns
Type Description
Duration

The totalTransferDuration.

getTotalTransferDurationOrBuilder()

public DurationOrBuilder getTotalTransferDurationOrBuilder()

Cumulative time taken across all transfers for the replication relationship.

optional .google.protobuf.Duration total_transfer_duration = 2;

Returns
Type Description
DurationOrBuilder

getTransferBytes()

public long getTransferBytes()

Cumulative bytes trasferred so far for the replication relatinonship.

optional int64 transfer_bytes = 1;

Returns
Type Description
long

The transferBytes.

getUpdateTime()

public Timestamp getUpdateTime()

Time when progress was updated last.

optional .google.protobuf.Timestamp update_time = 6;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Time when progress was updated last.

optional .google.protobuf.Timestamp update_time = 6;

Returns
Type Description
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
Type Description
boolean

Whether the lagDuration field is set.

hasLastTransferBytes()

public boolean hasLastTransferBytes()

Last transfer size in bytes.

optional int64 last_transfer_bytes = 3;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the lastTransferError field is set.

hasTotalTransferDuration()

public boolean hasTotalTransferDuration()

Cumulative time taken across all transfers for the replication relationship.

optional .google.protobuf.Duration total_transfer_duration = 2;

Returns
Type Description
boolean

Whether the totalTransferDuration field is set.

hasTransferBytes()

public boolean hasTransferBytes()

Cumulative bytes trasferred so far for the replication relatinonship.

optional int64 transfer_bytes = 1;

Returns
Type Description
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
Type Description
boolean

Whether the updateTime field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public TransferStats.Builder toBuilder()
Returns
Type Description
TransferStats.Builder

writeTo(CodedOutputStream output)

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