public static final class ReplicationCycle.Builder extends GeneratedMessageV3.Builder<ReplicationCycle.Builder> implements ReplicationCycleOrBuilderReplicationCycle contains information about the current replication cycle status.
Protobuf type google.events.cloud.vmmigration.v1.ReplicationCycle
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ReplicationCycle.BuilderImplements
ReplicationCycleOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllSteps(Iterable<? extends CycleStep> values)
public ReplicationCycle.Builder addAllSteps(Iterable<? extends CycleStep> values)The cycle's steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CycleStep steps = 9;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.events.cloud.vmmigration.v1.CycleStep> |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
addAllWarnings(Iterable<? extends MigrationWarning> values)
public ReplicationCycle.Builder addAllWarnings(Iterable<? extends MigrationWarning> values)Output only. Warnings that occurred during the cycle.
repeated .google.events.cloud.vmmigration.v1.MigrationWarning warnings = 14;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.events.cloud.vmmigration.v1.MigrationWarning> |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReplicationCycle.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
addSteps(CycleStep value)
public ReplicationCycle.Builder addSteps(CycleStep value)The cycle's steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CycleStep steps = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
CycleStep |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
addSteps(CycleStep.Builder builderForValue)
public ReplicationCycle.Builder addSteps(CycleStep.Builder builderForValue)The cycle's steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CycleStep steps = 9;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CycleStep.Builder |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
addSteps(int index, CycleStep value)
public ReplicationCycle.Builder addSteps(int index, CycleStep value)The cycle's steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CycleStep steps = 9;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
CycleStep |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
addSteps(int index, CycleStep.Builder builderForValue)
public ReplicationCycle.Builder addSteps(int index, CycleStep.Builder builderForValue)The cycle's steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CycleStep steps = 9;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
CycleStep.Builder |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
addStepsBuilder()
public CycleStep.Builder addStepsBuilder()The cycle's steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CycleStep steps = 9;
| Returns | |
|---|---|
| Type | Description |
CycleStep.Builder |
|
addStepsBuilder(int index)
public CycleStep.Builder addStepsBuilder(int index)The cycle's steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CycleStep steps = 9;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CycleStep.Builder |
|
addWarnings(MigrationWarning value)
public ReplicationCycle.Builder addWarnings(MigrationWarning value)Output only. Warnings that occurred during the cycle.
repeated .google.events.cloud.vmmigration.v1.MigrationWarning warnings = 14;
| Parameter | |
|---|---|
| Name | Description |
value |
MigrationWarning |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
addWarnings(MigrationWarning.Builder builderForValue)
public ReplicationCycle.Builder addWarnings(MigrationWarning.Builder builderForValue)Output only. Warnings that occurred during the cycle.
repeated .google.events.cloud.vmmigration.v1.MigrationWarning warnings = 14;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
MigrationWarning.Builder |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
addWarnings(int index, MigrationWarning value)
public ReplicationCycle.Builder addWarnings(int index, MigrationWarning value)Output only. Warnings that occurred during the cycle.
repeated .google.events.cloud.vmmigration.v1.MigrationWarning warnings = 14;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
MigrationWarning |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
addWarnings(int index, MigrationWarning.Builder builderForValue)
public ReplicationCycle.Builder addWarnings(int index, MigrationWarning.Builder builderForValue)Output only. Warnings that occurred during the cycle.
repeated .google.events.cloud.vmmigration.v1.MigrationWarning warnings = 14;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
MigrationWarning.Builder |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
addWarningsBuilder()
public MigrationWarning.Builder addWarningsBuilder()Output only. Warnings that occurred during the cycle.
repeated .google.events.cloud.vmmigration.v1.MigrationWarning warnings = 14;
| Returns | |
|---|---|
| Type | Description |
MigrationWarning.Builder |
|
addWarningsBuilder(int index)
public MigrationWarning.Builder addWarningsBuilder(int index)Output only. Warnings that occurred during the cycle.
repeated .google.events.cloud.vmmigration.v1.MigrationWarning warnings = 14;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MigrationWarning.Builder |
|
build()
public ReplicationCycle build()| Returns | |
|---|---|
| Type | Description |
ReplicationCycle |
|
buildPartial()
public ReplicationCycle buildPartial()| Returns | |
|---|---|
| Type | Description |
ReplicationCycle |
|
clear()
public ReplicationCycle.Builder clear()| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
clearCycleNumber()
public ReplicationCycle.Builder clearCycleNumber()The cycle's ordinal number.
int32 cycle_number = 10;
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
This builder for chaining. |
clearEndTime()
public ReplicationCycle.Builder clearEndTime()The time the replication cycle has ended.
.google.protobuf.Timestamp end_time = 6;
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
clearError()
public ReplicationCycle.Builder clearError()Provides details on the state of the cycle in case of an error.
.google.rpc.Status error = 12;
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public ReplicationCycle.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
clearName()
public ReplicationCycle.Builder clearName()The identifier of the ReplicationCycle.
string name = 13;
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ReplicationCycle.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
clearProgressPercent()
public ReplicationCycle.Builder clearProgressPercent()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 |
ReplicationCycle.Builder |
This builder for chaining. |
clearStartTime()
public ReplicationCycle.Builder clearStartTime()The time the replication cycle has started.
.google.protobuf.Timestamp start_time = 1;
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
clearState()
public ReplicationCycle.Builder clearState()State of the ReplicationCycle.
.google.events.cloud.vmmigration.v1.ReplicationCycle.State state = 11;
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
This builder for chaining. |
clearSteps()
public ReplicationCycle.Builder clearSteps()The cycle's steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CycleStep steps = 9;
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
clearTotalPauseDuration()
public ReplicationCycle.Builder clearTotalPauseDuration()The accumulated duration the replication cycle was paused.
.google.protobuf.Duration total_pause_duration = 7;
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
clearWarnings()
public ReplicationCycle.Builder clearWarnings()Output only. Warnings that occurred during the cycle.
repeated .google.events.cloud.vmmigration.v1.MigrationWarning warnings = 14;
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
clone()
public ReplicationCycle.Builder clone()| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
getCycleNumber()
public int getCycleNumber()The cycle's ordinal number.
int32 cycle_number = 10;
| Returns | |
|---|---|
| Type | Description |
int |
The cycleNumber. |
getDefaultInstanceForType()
public ReplicationCycle getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ReplicationCycle |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEndTime()
public Timestamp getEndTime()The time the replication cycle has ended.
.google.protobuf.Timestamp end_time = 6;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The endTime. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()The time the replication cycle has ended.
.google.protobuf.Timestamp end_time = 6;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()The time the replication cycle has ended.
.google.protobuf.Timestamp end_time = 6;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getError()
public Status 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. |
getErrorBuilder()
public Status.Builder getErrorBuilder()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.Builder |
|
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()
public String 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. |
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. |
getStartTime()
public Timestamp getStartTime()The time the replication cycle has started.
.google.protobuf.Timestamp start_time = 1;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()The time the replication cycle has started.
.google.protobuf.Timestamp start_time = 1;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()The time the replication cycle has started.
.google.protobuf.Timestamp start_time = 1;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getState()
public ReplicationCycle.State getState()State of the ReplicationCycle.
.google.events.cloud.vmmigration.v1.ReplicationCycle.State state = 11;
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.State |
The state. |
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 |
| Returns | |
|---|---|
| Type | Description |
CycleStep |
|
getStepsBuilder(int index)
public CycleStep.Builder getStepsBuilder(int index)The cycle's steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CycleStep steps = 9;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CycleStep.Builder |
|
getStepsBuilderList()
public List<CycleStep.Builder> getStepsBuilderList()The cycle's steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CycleStep steps = 9;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<CycleStep> |
|
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 |
| Returns | |
|---|---|
| Type | Description |
CycleStepOrBuilder |
|
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. |
getTotalPauseDurationBuilder()
public Duration.Builder getTotalPauseDurationBuilder()The accumulated duration the replication cycle was paused.
.google.protobuf.Duration total_pause_duration = 7;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getTotalPauseDurationOrBuilder()
public DurationOrBuilder getTotalPauseDurationOrBuilder()The accumulated duration the replication cycle was paused.
.google.protobuf.Duration total_pause_duration = 7;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
MigrationWarning |
|
getWarningsBuilder(int index)
public MigrationWarning.Builder getWarningsBuilder(int index)Output only. Warnings that occurred during the cycle.
repeated .google.events.cloud.vmmigration.v1.MigrationWarning warnings = 14;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MigrationWarning.Builder |
|
getWarningsBuilderList()
public List<MigrationWarning.Builder> getWarningsBuilderList()Output only. Warnings that occurred during the cycle.
repeated .google.events.cloud.vmmigration.v1.MigrationWarning warnings = 14;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<MigrationWarning> |
|
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 |
| Returns | |
|---|---|
| Type | Description |
MigrationWarningOrBuilder |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEndTime(Timestamp value)
public ReplicationCycle.Builder mergeEndTime(Timestamp value)The time the replication cycle has ended.
.google.protobuf.Timestamp end_time = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
mergeError(Status value)
public ReplicationCycle.Builder mergeError(Status value)Provides details on the state of the cycle in case of an error.
.google.rpc.Status error = 12;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.rpc.Status |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
mergeFrom(ReplicationCycle other)
public ReplicationCycle.Builder mergeFrom(ReplicationCycle other)| Parameter | |
|---|---|
| Name | Description |
other |
ReplicationCycle |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReplicationCycle.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ReplicationCycle.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
mergeStartTime(Timestamp value)
public ReplicationCycle.Builder mergeStartTime(Timestamp value)The time the replication cycle has started.
.google.protobuf.Timestamp start_time = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
mergeTotalPauseDuration(Duration value)
public ReplicationCycle.Builder mergeTotalPauseDuration(Duration value)The accumulated duration the replication cycle was paused.
.google.protobuf.Duration total_pause_duration = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReplicationCycle.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
removeSteps(int index)
public ReplicationCycle.Builder removeSteps(int index)The cycle's steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CycleStep steps = 9;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
removeWarnings(int index)
public ReplicationCycle.Builder removeWarnings(int index)Output only. Warnings that occurred during the cycle.
repeated .google.events.cloud.vmmigration.v1.MigrationWarning warnings = 14;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
setCycleNumber(int value)
public ReplicationCycle.Builder setCycleNumber(int value)The cycle's ordinal number.
int32 cycle_number = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe cycleNumber to set. |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
This builder for chaining. |
setEndTime(Timestamp value)
public ReplicationCycle.Builder setEndTime(Timestamp value)The time the replication cycle has ended.
.google.protobuf.Timestamp end_time = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
setEndTime(Timestamp.Builder builderForValue)
public ReplicationCycle.Builder setEndTime(Timestamp.Builder builderForValue)The time the replication cycle has ended.
.google.protobuf.Timestamp end_time = 6;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
setError(Status value)
public ReplicationCycle.Builder setError(Status value)Provides details on the state of the cycle in case of an error.
.google.rpc.Status error = 12;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.rpc.Status |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
setError(Status.Builder builderForValue)
public ReplicationCycle.Builder setError(Status.Builder builderForValue)Provides details on the state of the cycle in case of an error.
.google.rpc.Status error = 12;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.rpc.Status.Builder |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public ReplicationCycle.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
setName(String value)
public ReplicationCycle.Builder setName(String value)The identifier of the ReplicationCycle.
string name = 13;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ReplicationCycle.Builder setNameBytes(ByteString value)The identifier of the ReplicationCycle.
string name = 13;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
This builder for chaining. |
setProgressPercent(int value)
public ReplicationCycle.Builder setProgressPercent(int value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe progressPercent to set. |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReplicationCycle.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
setStartTime(Timestamp value)
public ReplicationCycle.Builder setStartTime(Timestamp value)The time the replication cycle has started.
.google.protobuf.Timestamp start_time = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
setStartTime(Timestamp.Builder builderForValue)
public ReplicationCycle.Builder setStartTime(Timestamp.Builder builderForValue)The time the replication cycle has started.
.google.protobuf.Timestamp start_time = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
setState(ReplicationCycle.State value)
public ReplicationCycle.Builder setState(ReplicationCycle.State value)State of the ReplicationCycle.
.google.events.cloud.vmmigration.v1.ReplicationCycle.State state = 11;
| Parameter | |
|---|---|
| Name | Description |
value |
ReplicationCycle.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
This builder for chaining. |
setStateValue(int value)
public ReplicationCycle.Builder setStateValue(int value)State of the ReplicationCycle.
.google.events.cloud.vmmigration.v1.ReplicationCycle.State state = 11;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
This builder for chaining. |
setSteps(int index, CycleStep value)
public ReplicationCycle.Builder setSteps(int index, CycleStep value)The cycle's steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CycleStep steps = 9;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
CycleStep |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
setSteps(int index, CycleStep.Builder builderForValue)
public ReplicationCycle.Builder setSteps(int index, CycleStep.Builder builderForValue)The cycle's steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CycleStep steps = 9;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
CycleStep.Builder |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
setTotalPauseDuration(Duration value)
public ReplicationCycle.Builder setTotalPauseDuration(Duration value)The accumulated duration the replication cycle was paused.
.google.protobuf.Duration total_pause_duration = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
setTotalPauseDuration(Duration.Builder builderForValue)
public ReplicationCycle.Builder setTotalPauseDuration(Duration.Builder builderForValue)The accumulated duration the replication cycle was paused.
.google.protobuf.Duration total_pause_duration = 7;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ReplicationCycle.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
setWarnings(int index, MigrationWarning value)
public ReplicationCycle.Builder setWarnings(int index, MigrationWarning value)Output only. Warnings that occurred during the cycle.
repeated .google.events.cloud.vmmigration.v1.MigrationWarning warnings = 14;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
MigrationWarning |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|
setWarnings(int index, MigrationWarning.Builder builderForValue)
public ReplicationCycle.Builder setWarnings(int index, MigrationWarning.Builder builderForValue)Output only. Warnings that occurred during the cycle.
repeated .google.events.cloud.vmmigration.v1.MigrationWarning warnings = 14;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
MigrationWarning.Builder |
| Returns | |
|---|---|
| Type | Description |
ReplicationCycle.Builder |
|