Package com.google.cloud.netapp.v1
Class TransferStats
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.netapp.v1.TransferStats
-
- All Implemented Interfaces:
TransferStatsOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class TransferStats extends com.google.protobuf.GeneratedMessageV3 implements TransferStatsOrBuilder
TransferStats reports all statistics related to replication transfer.
Protobuf typegoogle.cloud.netapp.v1.TransferStats
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TransferStats.Builder
TransferStats reports all statistics related to replication transfer.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
LAG_DURATION_FIELD_NUMBER
static int
LAST_TRANSFER_BYTES_FIELD_NUMBER
static int
LAST_TRANSFER_DURATION_FIELD_NUMBER
static int
LAST_TRANSFER_END_TIME_FIELD_NUMBER
static int
LAST_TRANSFER_ERROR_FIELD_NUMBER
static int
TOTAL_TRANSFER_DURATION_FIELD_NUMBER
static int
TRANSFER_BYTES_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static TransferStats
getDefaultInstance()
TransferStats
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Duration
getLagDuration()
Lag duration indicates the duration by which Destination region volume content lags behind the primary region volume content.com.google.protobuf.DurationOrBuilder
getLagDurationOrBuilder()
Lag duration indicates the duration by which Destination region volume content lags behind the primary region volume content.long
getLastTransferBytes()
Last transfer size in bytes.com.google.protobuf.Duration
getLastTransferDuration()
Time taken during last transfer.com.google.protobuf.DurationOrBuilder
getLastTransferDurationOrBuilder()
Time taken during last transfer.com.google.protobuf.Timestamp
getLastTransferEndTime()
Time when last transfer completed.com.google.protobuf.TimestampOrBuilder
getLastTransferEndTimeOrBuilder()
Time when last transfer completed.String
getLastTransferError()
A message describing the cause of the last transfer failure.com.google.protobuf.ByteString
getLastTransferErrorBytes()
A message describing the cause of the last transfer failure.com.google.protobuf.Parser<TransferStats>
getParserForType()
int
getSerializedSize()
com.google.protobuf.Duration
getTotalTransferDuration()
Total time taken during transfer.com.google.protobuf.DurationOrBuilder
getTotalTransferDurationOrBuilder()
Total time taken during transfer.long
getTransferBytes()
bytes trasferred so far in current transfer.com.google.protobuf.Timestamp
getUpdateTime()
Time when progress was updated last.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Time when progress was updated last.int
hashCode()
boolean
hasLagDuration()
Lag duration indicates the duration by which Destination region volume content lags behind the primary region volume content.boolean
hasLastTransferBytes()
Last transfer size in bytes.boolean
hasLastTransferDuration()
Time taken during last transfer.boolean
hasLastTransferEndTime()
Time when last transfer completed.boolean
hasLastTransferError()
A message describing the cause of the last transfer failure.boolean
hasTotalTransferDuration()
Total time taken during transfer.boolean
hasTransferBytes()
bytes trasferred so far in current transfer.boolean
hasUpdateTime()
Time when progress was updated last.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static TransferStats.Builder
newBuilder()
static TransferStats.Builder
newBuilder(TransferStats prototype)
TransferStats.Builder
newBuilderForType()
protected TransferStats.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static TransferStats
parseDelimitedFrom(InputStream input)
static TransferStats
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TransferStats
parseFrom(byte[] data)
static TransferStats
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TransferStats
parseFrom(com.google.protobuf.ByteString data)
static TransferStats
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TransferStats
parseFrom(com.google.protobuf.CodedInputStream input)
static TransferStats
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TransferStats
parseFrom(InputStream input)
static TransferStats
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TransferStats
parseFrom(ByteBuffer data)
static TransferStats
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<TransferStats>
parser()
TransferStats.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TRANSFER_BYTES_FIELD_NUMBER
public static final int TRANSFER_BYTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TOTAL_TRANSFER_DURATION_FIELD_NUMBER
public static final int TOTAL_TRANSFER_DURATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_TRANSFER_BYTES_FIELD_NUMBER
public static final int LAST_TRANSFER_BYTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_TRANSFER_DURATION_FIELD_NUMBER
public static final int LAST_TRANSFER_DURATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAG_DURATION_FIELD_NUMBER
public static final int LAG_DURATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_TRANSFER_END_TIME_FIELD_NUMBER
public static final int LAST_TRANSFER_END_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_TRANSFER_ERROR_FIELD_NUMBER
public static final int LAST_TRANSFER_ERROR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasTransferBytes
public boolean hasTransferBytes()
bytes trasferred so far in current transfer.
optional int64 transfer_bytes = 1;
- Specified by:
hasTransferBytes
in interfaceTransferStatsOrBuilder
- Returns:
- Whether the transferBytes field is set.
-
getTransferBytes
public long getTransferBytes()
bytes trasferred so far in current transfer.
optional int64 transfer_bytes = 1;
- Specified by:
getTransferBytes
in interfaceTransferStatsOrBuilder
- Returns:
- The transferBytes.
-
hasTotalTransferDuration
public boolean hasTotalTransferDuration()
Total time taken during transfer.
optional .google.protobuf.Duration total_transfer_duration = 2;
- Specified by:
hasTotalTransferDuration
in interfaceTransferStatsOrBuilder
- Returns:
- Whether the totalTransferDuration field is set.
-
getTotalTransferDuration
public com.google.protobuf.Duration getTotalTransferDuration()
Total time taken during transfer.
optional .google.protobuf.Duration total_transfer_duration = 2;
- Specified by:
getTotalTransferDuration
in interfaceTransferStatsOrBuilder
- Returns:
- The totalTransferDuration.
-
getTotalTransferDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getTotalTransferDurationOrBuilder()
Total time taken during transfer.
optional .google.protobuf.Duration total_transfer_duration = 2;
- Specified by:
getTotalTransferDurationOrBuilder
in interfaceTransferStatsOrBuilder
-
hasLastTransferBytes
public boolean hasLastTransferBytes()
Last transfer size in bytes.
optional int64 last_transfer_bytes = 3;
- Specified by:
hasLastTransferBytes
in interfaceTransferStatsOrBuilder
- Returns:
- Whether the lastTransferBytes field is set.
-
getLastTransferBytes
public long getLastTransferBytes()
Last transfer size in bytes.
optional int64 last_transfer_bytes = 3;
- Specified by:
getLastTransferBytes
in interfaceTransferStatsOrBuilder
- Returns:
- The lastTransferBytes.
-
hasLastTransferDuration
public boolean hasLastTransferDuration()
Time taken during last transfer.
optional .google.protobuf.Duration last_transfer_duration = 4;
- Specified by:
hasLastTransferDuration
in interfaceTransferStatsOrBuilder
- Returns:
- Whether the lastTransferDuration field is set.
-
getLastTransferDuration
public com.google.protobuf.Duration getLastTransferDuration()
Time taken during last transfer.
optional .google.protobuf.Duration last_transfer_duration = 4;
- Specified by:
getLastTransferDuration
in interfaceTransferStatsOrBuilder
- Returns:
- The lastTransferDuration.
-
getLastTransferDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getLastTransferDurationOrBuilder()
Time taken during last transfer.
optional .google.protobuf.Duration last_transfer_duration = 4;
- Specified by:
getLastTransferDurationOrBuilder
in interfaceTransferStatsOrBuilder
-
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;
- Specified by:
hasLagDuration
in interfaceTransferStatsOrBuilder
- Returns:
- Whether the lagDuration field is set.
-
getLagDuration
public com.google.protobuf.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;
- Specified by:
getLagDuration
in interfaceTransferStatsOrBuilder
- Returns:
- The lagDuration.
-
getLagDurationOrBuilder
public com.google.protobuf.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;
- Specified by:
getLagDurationOrBuilder
in interfaceTransferStatsOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Time when progress was updated last.
optional .google.protobuf.Timestamp update_time = 6;
- Specified by:
hasUpdateTime
in interfaceTransferStatsOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Time when progress was updated last.
optional .google.protobuf.Timestamp update_time = 6;
- Specified by:
getUpdateTime
in interfaceTransferStatsOrBuilder
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Time when progress was updated last.
optional .google.protobuf.Timestamp update_time = 6;
- Specified by:
getUpdateTimeOrBuilder
in interfaceTransferStatsOrBuilder
-
hasLastTransferEndTime
public boolean hasLastTransferEndTime()
Time when last transfer completed.
optional .google.protobuf.Timestamp last_transfer_end_time = 7;
- Specified by:
hasLastTransferEndTime
in interfaceTransferStatsOrBuilder
- Returns:
- Whether the lastTransferEndTime field is set.
-
getLastTransferEndTime
public com.google.protobuf.Timestamp getLastTransferEndTime()
Time when last transfer completed.
optional .google.protobuf.Timestamp last_transfer_end_time = 7;
- Specified by:
getLastTransferEndTime
in interfaceTransferStatsOrBuilder
- Returns:
- The lastTransferEndTime.
-
getLastTransferEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastTransferEndTimeOrBuilder()
Time when last transfer completed.
optional .google.protobuf.Timestamp last_transfer_end_time = 7;
- Specified by:
getLastTransferEndTimeOrBuilder
in interfaceTransferStatsOrBuilder
-
hasLastTransferError
public boolean hasLastTransferError()
A message describing the cause of the last transfer failure.
optional string last_transfer_error = 8;
- Specified by:
hasLastTransferError
in interfaceTransferStatsOrBuilder
- Returns:
- Whether the lastTransferError field is set.
-
getLastTransferError
public String getLastTransferError()
A message describing the cause of the last transfer failure.
optional string last_transfer_error = 8;
- Specified by:
getLastTransferError
in interfaceTransferStatsOrBuilder
- Returns:
- The lastTransferError.
-
getLastTransferErrorBytes
public com.google.protobuf.ByteString getLastTransferErrorBytes()
A message describing the cause of the last transfer failure.
optional string last_transfer_error = 8;
- Specified by:
getLastTransferErrorBytes
in interfaceTransferStatsOrBuilder
- Returns:
- The bytes for lastTransferError.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static TransferStats parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransferStats parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransferStats parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransferStats parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransferStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransferStats parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransferStats parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TransferStats parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TransferStats parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TransferStats parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static TransferStats parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TransferStats parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public TransferStats.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static TransferStats.Builder newBuilder()
-
newBuilder
public static TransferStats.Builder newBuilder(TransferStats prototype)
-
toBuilder
public TransferStats.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TransferStats.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static TransferStats getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<TransferStats> parser()
-
getParserForType
public com.google.protobuf.Parser<TransferStats> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public TransferStats getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-