public final class ReplicationCycle extends GeneratedMessageV3 implements ReplicationCycleOrBuilder
ReplicationCycle contains information about the current replication cycle
status.
Protobuf type google.events.cloud.vmmigration.v1.ReplicationCycle
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>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CYCLE_NUMBER_FIELD_NUMBER
public static final int CYCLE_NUMBER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PROGRESS_PERCENT_FIELD_NUMBER
public static final int PROGRESS_PERCENT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STEPS_FIELD_NUMBER
public static final int STEPS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TOTAL_PAUSE_DURATION_FIELD_NUMBER
public static final int TOTAL_PAUSE_DURATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
WARNINGS_FIELD_NUMBER
public static final int WARNINGS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ReplicationCycle getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ReplicationCycle.Builder newBuilder()
newBuilder(ReplicationCycle prototype)
public static ReplicationCycle.Builder newBuilder(ReplicationCycle prototype)
public static ReplicationCycle parseDelimitedFrom(InputStream input)
public static ReplicationCycle parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ReplicationCycle parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReplicationCycle parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ReplicationCycle parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReplicationCycle parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReplicationCycle parseFrom(CodedInputStream input)
public static ReplicationCycle parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ReplicationCycle parseFrom(InputStream input)
public static ReplicationCycle parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ReplicationCycle parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ReplicationCycle parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ReplicationCycle> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCycleNumber()
public int getCycleNumber()
The cycle's ordinal number.
int32 cycle_number = 10;
Returns |
Type |
Description |
int |
The cycleNumber.
|
getDefaultInstanceForType()
public ReplicationCycle getDefaultInstanceForType()
getEndTime()
public Timestamp getEndTime()
The time the replication cycle has ended.
.google.protobuf.Timestamp end_time = 6;
Returns |
Type |
Description |
Timestamp |
The endTime.
|
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
The time the replication cycle has ended.
.google.protobuf.Timestamp end_time = 6;
getError()
Provides details on the state of the cycle in case of an error.
.google.rpc.Status error = 12;
Returns |
Type |
Description |
com.google.rpc.Status |
The error.
|
getErrorOrBuilder()
public StatusOrBuilder getErrorOrBuilder()
Provides details on the state of the cycle in case of an error.
.google.rpc.Status error = 12;
Returns |
Type |
Description |
com.google.rpc.StatusOrBuilder |
|
getName()
The identifier of the ReplicationCycle.
string name = 13;
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
The identifier of the ReplicationCycle.
string name = 13;
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<ReplicationCycle> getParserForType()
Overrides
getProgressPercent()
public int getProgressPercent()
The current progress in percentage of this cycle.
Was replaced by 'steps' field, which breaks down the cycle progression more
accurately.
int32 progress_percent = 5;
Returns |
Type |
Description |
int |
The progressPercent.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getStartTime()
public Timestamp getStartTime()
The time the replication cycle has started.
.google.protobuf.Timestamp start_time = 1;
Returns |
Type |
Description |
Timestamp |
The startTime.
|
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
The time the replication cycle has started.
.google.protobuf.Timestamp start_time = 1;
getState()
public ReplicationCycle.State getState()
State of the ReplicationCycle.
.google.events.cloud.vmmigration.v1.ReplicationCycle.State state = 11;
getStateValue()
public int getStateValue()
State of the ReplicationCycle.
.google.events.cloud.vmmigration.v1.ReplicationCycle.State state = 11;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for state.
|
getSteps(int index)
public CycleStep getSteps(int index)
The cycle's steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CycleStep steps = 9;
Parameter |
Name |
Description |
index |
int
|
getStepsCount()
public int getStepsCount()
The cycle's steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CycleStep steps = 9;
Returns |
Type |
Description |
int |
|
getStepsList()
public List<CycleStep> getStepsList()
The cycle's steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CycleStep steps = 9;
getStepsOrBuilder(int index)
public CycleStepOrBuilder getStepsOrBuilder(int index)
The cycle's steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CycleStep steps = 9;
Parameter |
Name |
Description |
index |
int
|
getStepsOrBuilderList()
public List<? extends CycleStepOrBuilder> getStepsOrBuilderList()
The cycle's steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CycleStep steps = 9;
Returns |
Type |
Description |
List<? extends com.google.events.cloud.vmmigration.v1.CycleStepOrBuilder> |
|
getTotalPauseDuration()
public Duration getTotalPauseDuration()
The accumulated duration the replication cycle was paused.
.google.protobuf.Duration total_pause_duration = 7;
Returns |
Type |
Description |
Duration |
The totalPauseDuration.
|
getTotalPauseDurationOrBuilder()
public DurationOrBuilder getTotalPauseDurationOrBuilder()
The accumulated duration the replication cycle was paused.
.google.protobuf.Duration total_pause_duration = 7;
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
getWarnings(int index)
public MigrationWarning getWarnings(int index)
Output only. Warnings that occurred during the cycle.
repeated .google.events.cloud.vmmigration.v1.MigrationWarning warnings = 14;
Parameter |
Name |
Description |
index |
int
|
getWarningsCount()
public int getWarningsCount()
Output only. Warnings that occurred during the cycle.
repeated .google.events.cloud.vmmigration.v1.MigrationWarning warnings = 14;
Returns |
Type |
Description |
int |
|
getWarningsList()
public List<MigrationWarning> getWarningsList()
Output only. Warnings that occurred during the cycle.
repeated .google.events.cloud.vmmigration.v1.MigrationWarning warnings = 14;
getWarningsOrBuilder(int index)
public MigrationWarningOrBuilder getWarningsOrBuilder(int index)
Output only. Warnings that occurred during the cycle.
repeated .google.events.cloud.vmmigration.v1.MigrationWarning warnings = 14;
Parameter |
Name |
Description |
index |
int
|
getWarningsOrBuilderList()
public List<? extends MigrationWarningOrBuilder> getWarningsOrBuilderList()
Output only. Warnings that occurred during the cycle.
repeated .google.events.cloud.vmmigration.v1.MigrationWarning warnings = 14;
Returns |
Type |
Description |
List<? extends com.google.events.cloud.vmmigration.v1.MigrationWarningOrBuilder> |
|
hasEndTime()
public boolean hasEndTime()
The time the replication cycle has ended.
.google.protobuf.Timestamp end_time = 6;
Returns |
Type |
Description |
boolean |
Whether the endTime field is set.
|
hasError()
public boolean hasError()
Provides details on the state of the cycle in case of an error.
.google.rpc.Status error = 12;
Returns |
Type |
Description |
boolean |
Whether the error field is set.
|
hasStartTime()
public boolean hasStartTime()
The time the replication cycle has started.
.google.protobuf.Timestamp start_time = 1;
Returns |
Type |
Description |
boolean |
Whether the startTime field is set.
|
hasTotalPauseDuration()
public boolean hasTotalPauseDuration()
The accumulated duration the replication cycle was paused.
.google.protobuf.Duration total_pause_duration = 7;
Returns |
Type |
Description |
boolean |
Whether the totalPauseDuration field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ReplicationCycle.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ReplicationCycle.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ReplicationCycle.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides