public final class TransferStats extends GeneratedMessageV3 implements TransferStatsOrBuilder
TransferStats reports all statistics related to replication transfer.
Protobuf type google.cloud.netapp.v1.TransferStats
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static TransferStats.Builder newBuilder()
newBuilder(TransferStats prototype)
public static TransferStats.Builder newBuilder(TransferStats prototype)
public static TransferStats parseDelimitedFrom(InputStream input)
public static TransferStats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static TransferStats parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TransferStats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static TransferStats parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransferStats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransferStats parseFrom(CodedInputStream input)
public static TransferStats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TransferStats parseFrom(InputStream input)
public static TransferStats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static TransferStats parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TransferStats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<TransferStats> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public TransferStats getDefaultInstanceForType()
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;
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;
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;
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getTotalTransferDuration()
public Duration getTotalTransferDuration()
Total time taken during transfer.
optional .google.protobuf.Duration total_transfer_duration = 2;
Returns |
---|
Type | Description |
Duration | The totalTransferDuration.
|
getTotalTransferDurationOrBuilder()
public DurationOrBuilder getTotalTransferDurationOrBuilder()
Total time taken during transfer.
optional .google.protobuf.Duration total_transfer_duration = 2;
getTransferBytes()
public long getTransferBytes()
bytes trasferred so far in current transfer.
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;
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()
Total time taken during transfer.
optional .google.protobuf.Duration total_transfer_duration = 2;
Returns |
---|
Type | Description |
boolean | Whether the totalTransferDuration field is set.
|
hasTransferBytes()
public boolean hasTransferBytes()
bytes trasferred so far in current transfer.
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()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public TransferStats.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TransferStats.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public TransferStats.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides