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 classTransferStats.BuilderTransferStats 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 intLAG_DURATION_FIELD_NUMBERstatic intLAST_TRANSFER_BYTES_FIELD_NUMBERstatic intLAST_TRANSFER_DURATION_FIELD_NUMBERstatic intLAST_TRANSFER_END_TIME_FIELD_NUMBERstatic intLAST_TRANSFER_ERROR_FIELD_NUMBERstatic intTOTAL_TRANSFER_DURATION_FIELD_NUMBERstatic intTRANSFER_BYTES_FIELD_NUMBERstatic intUPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static TransferStatsgetDefaultInstance()TransferStatsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.DurationgetLagDuration()Lag duration indicates the duration by which Destination region volume content lags behind the primary region volume content.com.google.protobuf.DurationOrBuildergetLagDurationOrBuilder()Lag duration indicates the duration by which Destination region volume content lags behind the primary region volume content.longgetLastTransferBytes()Last transfer size in bytes.com.google.protobuf.DurationgetLastTransferDuration()Time taken during last transfer.com.google.protobuf.DurationOrBuildergetLastTransferDurationOrBuilder()Time taken during last transfer.com.google.protobuf.TimestampgetLastTransferEndTime()Time when last transfer completed.com.google.protobuf.TimestampOrBuildergetLastTransferEndTimeOrBuilder()Time when last transfer completed.StringgetLastTransferError()A message describing the cause of the last transfer failure.com.google.protobuf.ByteStringgetLastTransferErrorBytes()A message describing the cause of the last transfer failure.com.google.protobuf.Parser<TransferStats>getParserForType()intgetSerializedSize()com.google.protobuf.DurationgetTotalTransferDuration()Total time taken during transfer.com.google.protobuf.DurationOrBuildergetTotalTransferDurationOrBuilder()Total time taken during transfer.longgetTransferBytes()bytes trasferred so far in current transfer.com.google.protobuf.TimestampgetUpdateTime()Time when progress was updated last.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Time when progress was updated last.inthashCode()booleanhasLagDuration()Lag duration indicates the duration by which Destination region volume content lags behind the primary region volume content.booleanhasLastTransferBytes()Last transfer size in bytes.booleanhasLastTransferDuration()Time taken during last transfer.booleanhasLastTransferEndTime()Time when last transfer completed.booleanhasLastTransferError()A message describing the cause of the last transfer failure.booleanhasTotalTransferDuration()Total time taken during transfer.booleanhasTransferBytes()bytes trasferred so far in current transfer.booleanhasUpdateTime()Time when progress was updated last.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static TransferStats.BuildernewBuilder()static TransferStats.BuildernewBuilder(TransferStats prototype)TransferStats.BuildernewBuilderForType()protected TransferStats.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static TransferStatsparseDelimitedFrom(InputStream input)static TransferStatsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransferStatsparseFrom(byte[] data)static TransferStatsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransferStatsparseFrom(com.google.protobuf.ByteString data)static TransferStatsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransferStatsparseFrom(com.google.protobuf.CodedInputStream input)static TransferStatsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransferStatsparseFrom(InputStream input)static TransferStatsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransferStatsparseFrom(ByteBuffer data)static TransferStatsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<TransferStats>parser()TransferStats.BuildertoBuilder()voidwriteTo(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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasTransferBytes
public boolean hasTransferBytes()
bytes trasferred so far in current transfer.
optional int64 transfer_bytes = 1;- Specified by:
hasTransferBytesin 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:
getTransferBytesin interfaceTransferStatsOrBuilder- Returns:
- The transferBytes.
-
hasTotalTransferDuration
public boolean hasTotalTransferDuration()
Total time taken during transfer.
optional .google.protobuf.Duration total_transfer_duration = 2;- Specified by:
hasTotalTransferDurationin 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:
getTotalTransferDurationin 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:
getTotalTransferDurationOrBuilderin interfaceTransferStatsOrBuilder
-
hasLastTransferBytes
public boolean hasLastTransferBytes()
Last transfer size in bytes.
optional int64 last_transfer_bytes = 3;- Specified by:
hasLastTransferBytesin 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:
getLastTransferBytesin interfaceTransferStatsOrBuilder- Returns:
- The lastTransferBytes.
-
hasLastTransferDuration
public boolean hasLastTransferDuration()
Time taken during last transfer.
optional .google.protobuf.Duration last_transfer_duration = 4;- Specified by:
hasLastTransferDurationin 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:
getLastTransferDurationin 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:
getLastTransferDurationOrBuilderin 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:
hasLagDurationin 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:
getLagDurationin 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:
getLagDurationOrBuilderin interfaceTransferStatsOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Time when progress was updated last.
optional .google.protobuf.Timestamp update_time = 6;- Specified by:
hasUpdateTimein 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:
getUpdateTimein 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:
getUpdateTimeOrBuilderin interfaceTransferStatsOrBuilder
-
hasLastTransferEndTime
public boolean hasLastTransferEndTime()
Time when last transfer completed.
optional .google.protobuf.Timestamp last_transfer_end_time = 7;- Specified by:
hasLastTransferEndTimein 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:
getLastTransferEndTimein 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:
getLastTransferEndTimeOrBuilderin interfaceTransferStatsOrBuilder
-
hasLastTransferError
public boolean hasLastTransferError()
A message describing the cause of the last transfer failure.
optional string last_transfer_error = 8;- Specified by:
hasLastTransferErrorin 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:
getLastTransferErrorin 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:
getLastTransferErrorBytesin interfaceTransferStatsOrBuilder- Returns:
- The bytes for lastTransferError.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TransferStats.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public TransferStats getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-