Package com.google.cloud.vmmigration.v1
Class ReplicationCycle
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.vmmigration.v1.ReplicationCycle
-
- All Implemented Interfaces:
ReplicationCycleOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class ReplicationCycle extends com.google.protobuf.GeneratedMessageV3 implements ReplicationCycleOrBuilder
ReplicationCycle contains information about the current replication cycle status.
Protobuf typegoogle.cloud.vmmigration.v1.ReplicationCycle- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReplicationCycle.BuilderReplicationCycle contains information about the current replication cycle status.static classReplicationCycle.StatePossible states of a replication cycle.-
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 intCYCLE_NUMBER_FIELD_NUMBERstatic intEND_TIME_FIELD_NUMBERstatic intERROR_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intPROGRESS_PERCENT_FIELD_NUMBERstatic intSTART_TIME_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intSTEPS_FIELD_NUMBERstatic intTOTAL_PAUSE_DURATION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)intgetCycleNumber()The cycle's ordinal number.static ReplicationCyclegetDefaultInstance()ReplicationCyclegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.TimestampgetEndTime()The time the replication cycle has ended.com.google.protobuf.TimestampOrBuildergetEndTimeOrBuilder()The time the replication cycle has ended.com.google.rpc.StatusgetError()Provides details on the state of the cycle in case of an error.com.google.rpc.StatusOrBuildergetErrorOrBuilder()Provides details on the state of the cycle in case of an error.StringgetName()The identifier of the ReplicationCycle.com.google.protobuf.ByteStringgetNameBytes()The identifier of the ReplicationCycle.com.google.protobuf.Parser<ReplicationCycle>getParserForType()intgetProgressPercent()Deprecated.google.cloud.vmmigration.v1.ReplicationCycle.progress_percent is deprecated.intgetSerializedSize()com.google.protobuf.TimestampgetStartTime()The time the replication cycle has started.com.google.protobuf.TimestampOrBuildergetStartTimeOrBuilder()The time the replication cycle has started.ReplicationCycle.StategetState()State of the ReplicationCycle.intgetStateValue()State of the ReplicationCycle.CycleStepgetSteps(int index)The cycle's steps list representing its progress.intgetStepsCount()The cycle's steps list representing its progress.List<CycleStep>getStepsList()The cycle's steps list representing its progress.CycleStepOrBuildergetStepsOrBuilder(int index)The cycle's steps list representing its progress.List<? extends CycleStepOrBuilder>getStepsOrBuilderList()The cycle's steps list representing its progress.com.google.protobuf.DurationgetTotalPauseDuration()The accumulated duration the replication cycle was paused.com.google.protobuf.DurationOrBuildergetTotalPauseDurationOrBuilder()The accumulated duration the replication cycle was paused.booleanhasEndTime()The time the replication cycle has ended.booleanhasError()Provides details on the state of the cycle in case of an error.inthashCode()booleanhasStartTime()The time the replication cycle has started.booleanhasTotalPauseDuration()The accumulated duration the replication cycle was paused.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ReplicationCycle.BuildernewBuilder()static ReplicationCycle.BuildernewBuilder(ReplicationCycle prototype)ReplicationCycle.BuildernewBuilderForType()protected ReplicationCycle.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ReplicationCycleparseDelimitedFrom(InputStream input)static ReplicationCycleparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReplicationCycleparseFrom(byte[] data)static ReplicationCycleparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReplicationCycleparseFrom(com.google.protobuf.ByteString data)static ReplicationCycleparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReplicationCycleparseFrom(com.google.protobuf.CodedInputStream input)static ReplicationCycleparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReplicationCycleparseFrom(InputStream input)static ReplicationCycleparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReplicationCycleparseFrom(ByteBuffer data)static ReplicationCycleparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ReplicationCycle>parser()ReplicationCycle.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
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CYCLE_NUMBER_FIELD_NUMBER
public static final int CYCLE_NUMBER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TOTAL_PAUSE_DURATION_FIELD_NUMBER
public static final int TOTAL_PAUSE_DURATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROGRESS_PERCENT_FIELD_NUMBER
public static final int PROGRESS_PERCENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STEPS_FIELD_NUMBER
public static final int STEPS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERROR_FIELD_NUMBER
public static final int 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
-
getName
public String getName()
The identifier of the ReplicationCycle.
string name = 13;- Specified by:
getNamein interfaceReplicationCycleOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The identifier of the ReplicationCycle.
string name = 13;- Specified by:
getNameBytesin interfaceReplicationCycleOrBuilder- Returns:
- The bytes for name.
-
getCycleNumber
public int getCycleNumber()
The cycle's ordinal number.
int32 cycle_number = 10;- Specified by:
getCycleNumberin interfaceReplicationCycleOrBuilder- Returns:
- The cycleNumber.
-
hasStartTime
public boolean hasStartTime()
The time the replication cycle has started.
.google.protobuf.Timestamp start_time = 1;- Specified by:
hasStartTimein interfaceReplicationCycleOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()
The time the replication cycle has started.
.google.protobuf.Timestamp start_time = 1;- Specified by:
getStartTimein interfaceReplicationCycleOrBuilder- Returns:
- The startTime.
-
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
The time the replication cycle has started.
.google.protobuf.Timestamp start_time = 1;- Specified by:
getStartTimeOrBuilderin interfaceReplicationCycleOrBuilder
-
hasEndTime
public boolean hasEndTime()
The time the replication cycle has ended.
.google.protobuf.Timestamp end_time = 6;- Specified by:
hasEndTimein interfaceReplicationCycleOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime()
The time the replication cycle has ended.
.google.protobuf.Timestamp end_time = 6;- Specified by:
getEndTimein interfaceReplicationCycleOrBuilder- Returns:
- The endTime.
-
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
The time the replication cycle has ended.
.google.protobuf.Timestamp end_time = 6;- Specified by:
getEndTimeOrBuilderin interfaceReplicationCycleOrBuilder
-
hasTotalPauseDuration
public boolean hasTotalPauseDuration()
The accumulated duration the replication cycle was paused.
.google.protobuf.Duration total_pause_duration = 7;- Specified by:
hasTotalPauseDurationin interfaceReplicationCycleOrBuilder- Returns:
- Whether the totalPauseDuration field is set.
-
getTotalPauseDuration
public com.google.protobuf.Duration getTotalPauseDuration()
The accumulated duration the replication cycle was paused.
.google.protobuf.Duration total_pause_duration = 7;- Specified by:
getTotalPauseDurationin interfaceReplicationCycleOrBuilder- Returns:
- The totalPauseDuration.
-
getTotalPauseDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getTotalPauseDurationOrBuilder()
The accumulated duration the replication cycle was paused.
.google.protobuf.Duration total_pause_duration = 7;- Specified by:
getTotalPauseDurationOrBuilderin interfaceReplicationCycleOrBuilder
-
getProgressPercent
@Deprecated public int getProgressPercent()
Deprecated.google.cloud.vmmigration.v1.ReplicationCycle.progress_percent is deprecated. See google/cloud/vmmigration/v1/vmmigration.proto;l=715The current progress in percentage of this cycle. Was replaced by 'steps' field, which breaks down the cycle progression more accurately.
int32 progress_percent = 5 [deprecated = true];- Specified by:
getProgressPercentin interfaceReplicationCycleOrBuilder- Returns:
- The progressPercent.
-
getStepsList
public List<CycleStep> getStepsList()
The cycle's steps list representing its progress.
repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;- Specified by:
getStepsListin interfaceReplicationCycleOrBuilder
-
getStepsOrBuilderList
public List<? extends CycleStepOrBuilder> getStepsOrBuilderList()
The cycle's steps list representing its progress.
repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;- Specified by:
getStepsOrBuilderListin interfaceReplicationCycleOrBuilder
-
getStepsCount
public int getStepsCount()
The cycle's steps list representing its progress.
repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;- Specified by:
getStepsCountin interfaceReplicationCycleOrBuilder
-
getSteps
public CycleStep getSteps(int index)
The cycle's steps list representing its progress.
repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;- Specified by:
getStepsin interfaceReplicationCycleOrBuilder
-
getStepsOrBuilder
public CycleStepOrBuilder getStepsOrBuilder(int index)
The cycle's steps list representing its progress.
repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;- Specified by:
getStepsOrBuilderin interfaceReplicationCycleOrBuilder
-
getStateValue
public int getStateValue()
State of the ReplicationCycle.
.google.cloud.vmmigration.v1.ReplicationCycle.State state = 11;- Specified by:
getStateValuein interfaceReplicationCycleOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
public ReplicationCycle.State getState()
State of the ReplicationCycle.
.google.cloud.vmmigration.v1.ReplicationCycle.State state = 11;- Specified by:
getStatein interfaceReplicationCycleOrBuilder- Returns:
- The state.
-
hasError
public boolean hasError()
Provides details on the state of the cycle in case of an error.
.google.rpc.Status error = 12;- Specified by:
hasErrorin interfaceReplicationCycleOrBuilder- Returns:
- Whether the error field is set.
-
getError
public com.google.rpc.Status getError()
Provides details on the state of the cycle in case of an error.
.google.rpc.Status error = 12;- Specified by:
getErrorin interfaceReplicationCycleOrBuilder- Returns:
- The error.
-
getErrorOrBuilder
public com.google.rpc.StatusOrBuilder getErrorOrBuilder()
Provides details on the state of the cycle in case of an error.
.google.rpc.Status error = 12;- Specified by:
getErrorOrBuilderin interfaceReplicationCycleOrBuilder
-
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 ReplicationCycle parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReplicationCycle parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReplicationCycle parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReplicationCycle parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReplicationCycle parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReplicationCycle parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReplicationCycle parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ReplicationCycle parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ReplicationCycle parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ReplicationCycle parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ReplicationCycle parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ReplicationCycle parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ReplicationCycle.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ReplicationCycle.Builder newBuilder()
-
newBuilder
public static ReplicationCycle.Builder newBuilder(ReplicationCycle prototype)
-
toBuilder
public ReplicationCycle.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ReplicationCycle.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ReplicationCycle getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ReplicationCycle> parser()
-
getParserForType
public com.google.protobuf.Parser<ReplicationCycle> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ReplicationCycle getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-