Package com.google.cloud.vmmigration.v1
Interface ReplicationCycleOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReplicationCycle,ReplicationCycle.Builder
public interface ReplicationCycleOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description intgetCycleNumber()The cycle's ordinal number.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.intgetProgressPercent()Deprecated.google.cloud.vmmigration.v1.ReplicationCycle.progress_percent is deprecated.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.booleanhasStartTime()The time the replication cycle has started.booleanhasTotalPauseDuration()The accumulated duration the replication cycle was paused.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
The identifier of the ReplicationCycle.
string name = 13;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The identifier of the ReplicationCycle.
string name = 13;- Returns:
- The bytes for name.
-
getCycleNumber
int getCycleNumber()
The cycle's ordinal number.
int32 cycle_number = 10;- Returns:
- The cycleNumber.
-
hasStartTime
boolean hasStartTime()
The time the replication cycle has started.
.google.protobuf.Timestamp start_time = 1;- Returns:
- Whether the startTime field is set.
-
getStartTime
com.google.protobuf.Timestamp getStartTime()
The time the replication cycle has started.
.google.protobuf.Timestamp start_time = 1;- Returns:
- The startTime.
-
getStartTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
The time the replication cycle has started.
.google.protobuf.Timestamp start_time = 1;
-
hasEndTime
boolean hasEndTime()
The time the replication cycle has ended.
.google.protobuf.Timestamp end_time = 6;- Returns:
- Whether the endTime field is set.
-
getEndTime
com.google.protobuf.Timestamp getEndTime()
The time the replication cycle has ended.
.google.protobuf.Timestamp end_time = 6;- Returns:
- The endTime.
-
getEndTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
The time the replication cycle has ended.
.google.protobuf.Timestamp end_time = 6;
-
hasTotalPauseDuration
boolean hasTotalPauseDuration()
The accumulated duration the replication cycle was paused.
.google.protobuf.Duration total_pause_duration = 7;- Returns:
- Whether the totalPauseDuration field is set.
-
getTotalPauseDuration
com.google.protobuf.Duration getTotalPauseDuration()
The accumulated duration the replication cycle was paused.
.google.protobuf.Duration total_pause_duration = 7;- Returns:
- The totalPauseDuration.
-
getTotalPauseDurationOrBuilder
com.google.protobuf.DurationOrBuilder getTotalPauseDurationOrBuilder()
The accumulated duration the replication cycle was paused.
.google.protobuf.Duration total_pause_duration = 7;
-
getProgressPercent
@Deprecated 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];- Returns:
- The progressPercent.
-
getStepsList
List<CycleStep> getStepsList()
The cycle's steps list representing its progress.
repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;
-
getSteps
CycleStep getSteps(int index)
The cycle's steps list representing its progress.
repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;
-
getStepsCount
int getStepsCount()
The cycle's steps list representing its progress.
repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;
-
getStepsOrBuilderList
List<? extends CycleStepOrBuilder> getStepsOrBuilderList()
The cycle's steps list representing its progress.
repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;
-
getStepsOrBuilder
CycleStepOrBuilder getStepsOrBuilder(int index)
The cycle's steps list representing its progress.
repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;
-
getStateValue
int getStateValue()
State of the ReplicationCycle.
.google.cloud.vmmigration.v1.ReplicationCycle.State state = 11;- Returns:
- The enum numeric value on the wire for state.
-
getState
ReplicationCycle.State getState()
State of the ReplicationCycle.
.google.cloud.vmmigration.v1.ReplicationCycle.State state = 11;- Returns:
- The state.
-
hasError
boolean hasError()
Provides details on the state of the cycle in case of an error.
.google.rpc.Status error = 12;- Returns:
- Whether the error field is set.
-
getError
com.google.rpc.Status getError()
Provides details on the state of the cycle in case of an error.
.google.rpc.Status error = 12;- Returns:
- The error.
-
getErrorOrBuilder
com.google.rpc.StatusOrBuilder getErrorOrBuilder()
Provides details on the state of the cycle in case of an error.
.google.rpc.Status error = 12;
-
-