Interface ReplicationCycleOrBuilder (1.23.0)

public interface ReplicationCycleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCycleNumber()

public abstract int getCycleNumber()

The cycle's ordinal number.

int32 cycle_number = 10;

Returns
TypeDescription
int

The cycleNumber.

getEndTime()

public abstract Timestamp getEndTime()

The time the replication cycle has ended.

.google.protobuf.Timestamp end_time = 6;

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeOrBuilder()

public abstract TimestampOrBuilder getEndTimeOrBuilder()

The time the replication cycle has ended.

.google.protobuf.Timestamp end_time = 6;

Returns
TypeDescription
TimestampOrBuilder

getError()

public abstract Status getError()

Provides details on the state of the cycle in case of an error.

.google.rpc.Status error = 12;

Returns
TypeDescription
com.google.rpc.Status

The error.

getErrorOrBuilder()

public abstract StatusOrBuilder getErrorOrBuilder()

Provides details on the state of the cycle in case of an error.

.google.rpc.Status error = 12;

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getName()

public abstract String getName()

The identifier of the ReplicationCycle.

string name = 13;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The identifier of the ReplicationCycle.

string name = 13;

Returns
TypeDescription
ByteString

The bytes for name.

getProgressPercent() (deprecated)

public abstract int getProgressPercent()

Deprecated. google.cloud.vmmigration.v1.ReplicationCycle.progress_percent is deprecated. See google/cloud/vmmigration/v1/vmmigration.proto;l=715

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 [deprecated = true];

Returns
TypeDescription
int

The progressPercent.

getStartTime()

public abstract Timestamp getStartTime()

The time the replication cycle has started.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeOrBuilder()

public abstract TimestampOrBuilder getStartTimeOrBuilder()

The time the replication cycle has started.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
TimestampOrBuilder

getState()

public abstract ReplicationCycle.State getState()

State of the ReplicationCycle.

.google.cloud.vmmigration.v1.ReplicationCycle.State state = 11;

Returns
TypeDescription
ReplicationCycle.State

The state.

getStateValue()

public abstract int getStateValue()

State of the ReplicationCycle.

.google.cloud.vmmigration.v1.ReplicationCycle.State state = 11;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getSteps(int index)

public abstract CycleStep getSteps(int index)

The cycle's steps list representing its progress.

repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;

Parameter
NameDescription
indexint
Returns
TypeDescription
CycleStep

getStepsCount()

public abstract int getStepsCount()

The cycle's steps list representing its progress.

repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;

Returns
TypeDescription
int

getStepsList()

public abstract List<CycleStep> getStepsList()

The cycle's steps list representing its progress.

repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;

Returns
TypeDescription
List<CycleStep>

getStepsOrBuilder(int index)

public abstract CycleStepOrBuilder getStepsOrBuilder(int index)

The cycle's steps list representing its progress.

repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;

Parameter
NameDescription
indexint
Returns
TypeDescription
CycleStepOrBuilder

getStepsOrBuilderList()

public abstract List<? extends CycleStepOrBuilder> getStepsOrBuilderList()

The cycle's steps list representing its progress.

repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;

Returns
TypeDescription
List<? extends com.google.cloud.vmmigration.v1.CycleStepOrBuilder>

getTotalPauseDuration()

public abstract Duration getTotalPauseDuration()

The accumulated duration the replication cycle was paused.

.google.protobuf.Duration total_pause_duration = 7;

Returns
TypeDescription
Duration

The totalPauseDuration.

getTotalPauseDurationOrBuilder()

public abstract DurationOrBuilder getTotalPauseDurationOrBuilder()

The accumulated duration the replication cycle was paused.

.google.protobuf.Duration total_pause_duration = 7;

Returns
TypeDescription
DurationOrBuilder

hasEndTime()

public abstract boolean hasEndTime()

The time the replication cycle has ended.

.google.protobuf.Timestamp end_time = 6;

Returns
TypeDescription
boolean

Whether the endTime field is set.

hasError()

public abstract boolean hasError()

Provides details on the state of the cycle in case of an error.

.google.rpc.Status error = 12;

Returns
TypeDescription
boolean

Whether the error field is set.

hasStartTime()

public abstract boolean hasStartTime()

The time the replication cycle has started.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
boolean

Whether the startTime field is set.

hasTotalPauseDuration()

public abstract boolean hasTotalPauseDuration()

The accumulated duration the replication cycle was paused.

.google.protobuf.Duration total_pause_duration = 7;

Returns
TypeDescription
boolean

Whether the totalPauseDuration field is set.