- 1.54.0 (latest)
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.5
- 1.2.0
- 1.1.1
- 1.0.5
public static final class ReplicationCycle.Builder extends GeneratedMessageV3.Builder<ReplicationCycle.Builder> implements ReplicationCycleOrBuilder
ReplicationCycle contains information about the current replication cycle status.
Protobuf type google.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()
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.cloud.vmmigration.v1.CycleStep steps = 9;
Name | Description |
values | Iterable<? extends com.google.cloud.vmmigration.v1.CycleStep> |
Type | Description |
ReplicationCycle.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReplicationCycle.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ReplicationCycle.Builder |
addSteps(CycleStep value)
public ReplicationCycle.Builder addSteps(CycleStep value)
The cycle's steps list representing its progress.
repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;
Name | Description |
value | CycleStep |
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.cloud.vmmigration.v1.CycleStep steps = 9;
Name | Description |
builderForValue | CycleStep.Builder |
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.cloud.vmmigration.v1.CycleStep steps = 9;
Name | Description |
index | int |
value | CycleStep |
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.cloud.vmmigration.v1.CycleStep steps = 9;
Name | Description |
index | int |
builderForValue | CycleStep.Builder |
Type | Description |
ReplicationCycle.Builder |
addStepsBuilder()
public CycleStep.Builder addStepsBuilder()
The cycle's steps list representing its progress.
repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;
Type | Description |
CycleStep.Builder |
addStepsBuilder(int index)
public CycleStep.Builder addStepsBuilder(int index)
The cycle's steps list representing its progress.
repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;
Name | Description |
index | int |
Type | Description |
CycleStep.Builder |
build()
public ReplicationCycle build()
Type | Description |
ReplicationCycle |
buildPartial()
public ReplicationCycle buildPartial()
Type | Description |
ReplicationCycle |
clear()
public ReplicationCycle.Builder clear()
Type | Description |
ReplicationCycle.Builder |
clearCycleNumber()
public ReplicationCycle.Builder clearCycleNumber()
The cycle's ordinal number.
int32 cycle_number = 10;
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;
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;
Type | Description |
ReplicationCycle.Builder |
clearField(Descriptors.FieldDescriptor field)
public ReplicationCycle.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ReplicationCycle.Builder |
clearName()
public ReplicationCycle.Builder clearName()
The identifier of the ReplicationCycle.
string name = 13;
Type | Description |
ReplicationCycle.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ReplicationCycle.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ReplicationCycle.Builder |
clearProgressPercent() (deprecated)
public ReplicationCycle.Builder clearProgressPercent()
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];
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;
Type | Description |
ReplicationCycle.Builder |
clearState()
public ReplicationCycle.Builder clearState()
State of the ReplicationCycle.
.google.cloud.vmmigration.v1.ReplicationCycle.State state = 11;
Type | Description |
ReplicationCycle.Builder | This builder for chaining. |
clearSteps()
public ReplicationCycle.Builder clearSteps()
The cycle's steps list representing its progress.
repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;
Type | Description |
ReplicationCycle.Builder |
clearTotalPauseDuration()
public ReplicationCycle.Builder clearTotalPauseDuration()
The accumulated duration the replication cycle was paused.
.google.protobuf.Duration total_pause_duration = 7;
Type | Description |
ReplicationCycle.Builder |
clone()
public ReplicationCycle.Builder clone()
Type | Description |
ReplicationCycle.Builder |
getCycleNumber()
public int getCycleNumber()
The cycle's ordinal number.
int32 cycle_number = 10;
Type | Description |
int | The cycleNumber. |
getDefaultInstanceForType()
public ReplicationCycle getDefaultInstanceForType()
Type | Description |
ReplicationCycle |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEndTime()
public Timestamp getEndTime()
The time the replication cycle has ended.
.google.protobuf.Timestamp end_time = 6;
Type | Description |
Timestamp | The endTime. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
The time the replication cycle has ended.
.google.protobuf.Timestamp end_time = 6;
Type | Description |
Builder |
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
The time the replication cycle has ended.
.google.protobuf.Timestamp end_time = 6;
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;
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;
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;
Type | Description |
com.google.rpc.StatusOrBuilder |
getName()
public String getName()
The identifier of the ReplicationCycle.
string name = 13;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The identifier of the ReplicationCycle.
string name = 13;
Type | Description |
ByteString | The bytes for name. |
getProgressPercent() (deprecated)
public 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];
Type | Description |
int | The progressPercent. |
getStartTime()
public Timestamp getStartTime()
The time the replication cycle has started.
.google.protobuf.Timestamp start_time = 1;
Type | Description |
Timestamp | The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
The time the replication cycle has started.
.google.protobuf.Timestamp start_time = 1;
Type | Description |
Builder |
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
The time the replication cycle has started.
.google.protobuf.Timestamp start_time = 1;
Type | Description |
TimestampOrBuilder |
getState()
public ReplicationCycle.State getState()
State of the ReplicationCycle.
.google.cloud.vmmigration.v1.ReplicationCycle.State state = 11;
Type | Description |
ReplicationCycle.State | The state. |
getStateValue()
public int getStateValue()
State of the ReplicationCycle.
.google.cloud.vmmigration.v1.ReplicationCycle.State state = 11;
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.cloud.vmmigration.v1.CycleStep steps = 9;
Name | Description |
index | int |
Type | Description |
CycleStep |
getStepsBuilder(int index)
public CycleStep.Builder getStepsBuilder(int index)
The cycle's steps list representing its progress.
repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;
Name | Description |
index | int |
Type | Description |
CycleStep.Builder |
getStepsBuilderList()
public List<CycleStep.Builder> getStepsBuilderList()
The cycle's steps list representing its progress.
repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;
Type | Description |
List<Builder> |
getStepsCount()
public int getStepsCount()
The cycle's steps list representing its progress.
repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;
Type | Description |
int |
getStepsList()
public List<CycleStep> getStepsList()
The cycle's steps list representing its progress.
repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;
Type | Description |
List<CycleStep> |
getStepsOrBuilder(int index)
public CycleStepOrBuilder getStepsOrBuilder(int index)
The cycle's steps list representing its progress.
repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;
Name | Description |
index | int |
Type | Description |
CycleStepOrBuilder |
getStepsOrBuilderList()
public List<? extends CycleStepOrBuilder> getStepsOrBuilderList()
The cycle's steps list representing its progress.
repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;
Type | Description |
List<? extends com.google.cloud.vmmigration.v1.CycleStepOrBuilder> |
getTotalPauseDuration()
public Duration getTotalPauseDuration()
The accumulated duration the replication cycle was paused.
.google.protobuf.Duration total_pause_duration = 7;
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;
Type | Description |
Builder |
getTotalPauseDurationOrBuilder()
public DurationOrBuilder getTotalPauseDurationOrBuilder()
The accumulated duration the replication cycle was paused.
.google.protobuf.Duration total_pause_duration = 7;
Type | Description |
DurationOrBuilder |
hasEndTime()
public boolean hasEndTime()
The time the replication cycle has ended.
.google.protobuf.Timestamp end_time = 6;
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;
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;
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;
Type | Description |
boolean | Whether the totalPauseDuration field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
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;
Name | Description |
value | Timestamp |
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;
Name | Description |
value | com.google.rpc.Status |
Type | Description |
ReplicationCycle.Builder |
mergeFrom(ReplicationCycle other)
public ReplicationCycle.Builder mergeFrom(ReplicationCycle other)
Name | Description |
other | ReplicationCycle |
Type | Description |
ReplicationCycle.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReplicationCycle.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReplicationCycle.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ReplicationCycle.Builder mergeFrom(Message other)
Name | Description |
other | Message |
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;
Name | Description |
value | Timestamp |
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;
Name | Description |
value | Duration |
Type | Description |
ReplicationCycle.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReplicationCycle.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ReplicationCycle.Builder |
removeSteps(int index)
public ReplicationCycle.Builder removeSteps(int index)
The cycle's steps list representing its progress.
repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;
Name | Description |
index | int |
Type | Description |
ReplicationCycle.Builder |
setCycleNumber(int value)
public ReplicationCycle.Builder setCycleNumber(int value)
The cycle's ordinal number.
int32 cycle_number = 10;
Name | Description |
value | int The cycleNumber to set. |
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;
Name | Description |
value | Timestamp |
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;
Name | Description |
builderForValue | Builder |
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;
Name | Description |
value | com.google.rpc.Status |
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;
Name | Description |
builderForValue | com.google.rpc.Status.Builder |
Type | Description |
ReplicationCycle.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ReplicationCycle.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ReplicationCycle.Builder |
setName(String value)
public ReplicationCycle.Builder setName(String value)
The identifier of the ReplicationCycle.
string name = 13;
Name | Description |
value | String The name to set. |
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;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
ReplicationCycle.Builder | This builder for chaining. |
setProgressPercent(int value) (deprecated)
public ReplicationCycle.Builder setProgressPercent(int value)
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];
Name | Description |
value | int The progressPercent to set. |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
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;
Name | Description |
value | Timestamp |
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;
Name | Description |
builderForValue | Builder |
Type | Description |
ReplicationCycle.Builder |
setState(ReplicationCycle.State value)
public ReplicationCycle.Builder setState(ReplicationCycle.State value)
State of the ReplicationCycle.
.google.cloud.vmmigration.v1.ReplicationCycle.State state = 11;
Name | Description |
value | ReplicationCycle.State The state to set. |
Type | Description |
ReplicationCycle.Builder | This builder for chaining. |
setStateValue(int value)
public ReplicationCycle.Builder setStateValue(int value)
State of the ReplicationCycle.
.google.cloud.vmmigration.v1.ReplicationCycle.State state = 11;
Name | Description |
value | int The enum numeric value on the wire for state to set. |
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.cloud.vmmigration.v1.CycleStep steps = 9;
Name | Description |
index | int |
value | CycleStep |
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.cloud.vmmigration.v1.CycleStep steps = 9;
Name | Description |
index | int |
builderForValue | CycleStep.Builder |
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;
Name | Description |
value | Duration |
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;
Name | Description |
builderForValue | Builder |
Type | Description |
ReplicationCycle.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ReplicationCycle.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ReplicationCycle.Builder |