public static final class CutoverJob.Builder extends GeneratedMessageV3.Builder<CutoverJob.Builder> implements CutoverJobOrBuilder
CutoverJob message describes a cutover of a migrating VM. The CutoverJob is the operation of shutting down the VM, creating a snapshot and clonning the VM using the replicated snapshot.
Protobuf type google.events.cloud.vmmigration.v1.CutoverJob
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CutoverJob.BuilderImplements
CutoverJobOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllSteps(Iterable<? extends CutoverStep> values)
public CutoverJob.Builder addAllSteps(Iterable<? extends CutoverStep> values)
Output only. The cutover steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CutoverStep steps = 17;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.events.cloud.vmmigration.v1.CutoverStep> |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CutoverJob.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
addSteps(CutoverStep value)
public CutoverJob.Builder addSteps(CutoverStep value)
Output only. The cutover steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CutoverStep steps = 17;
Parameter | |
---|---|
Name | Description |
value |
CutoverStep |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
addSteps(CutoverStep.Builder builderForValue)
public CutoverJob.Builder addSteps(CutoverStep.Builder builderForValue)
Output only. The cutover steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CutoverStep steps = 17;
Parameter | |
---|---|
Name | Description |
builderForValue |
CutoverStep.Builder |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
addSteps(int index, CutoverStep value)
public CutoverJob.Builder addSteps(int index, CutoverStep value)
Output only. The cutover steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CutoverStep steps = 17;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
CutoverStep |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
addSteps(int index, CutoverStep.Builder builderForValue)
public CutoverJob.Builder addSteps(int index, CutoverStep.Builder builderForValue)
Output only. The cutover steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CutoverStep steps = 17;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
CutoverStep.Builder |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
addStepsBuilder()
public CutoverStep.Builder addStepsBuilder()
Output only. The cutover steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CutoverStep steps = 17;
Returns | |
---|---|
Type | Description |
CutoverStep.Builder |
addStepsBuilder(int index)
public CutoverStep.Builder addStepsBuilder(int index)
Output only. The cutover steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CutoverStep steps = 17;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
CutoverStep.Builder |
build()
public CutoverJob build()
Returns | |
---|---|
Type | Description |
CutoverJob |
buildPartial()
public CutoverJob buildPartial()
Returns | |
---|---|
Type | Description |
CutoverJob |
clear()
public CutoverJob.Builder clear()
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
clearComputeEngineTargetDetails()
public CutoverJob.Builder clearComputeEngineTargetDetails()
Output only. Details of the target VM in Compute Engine.
.google.events.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14;
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
clearCreateTime()
public CutoverJob.Builder clearCreateTime()
Output only. The time the cutover job was created (as an API call, not when it was actually created in the target).
.google.protobuf.Timestamp create_time = 1;
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
clearEndTime()
public CutoverJob.Builder clearEndTime()
Output only. The time the cutover job had finished.
.google.protobuf.Timestamp end_time = 16;
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
clearError()
public CutoverJob.Builder clearError()
Output only. Provides details for the errors that led to the Cutover Job's state.
.google.rpc.Status error = 9;
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
clearField(Descriptors.FieldDescriptor field)
public CutoverJob.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
clearName()
public CutoverJob.Builder clearName()
Output only. The name of the cutover job.
string name = 3;
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CutoverJob.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
clearProgressPercent()
public CutoverJob.Builder clearProgressPercent()
Output only. The current progress in percentage of the cutover job.
int32 progress_percent = 13;
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
This builder for chaining. |
clearState()
public CutoverJob.Builder clearState()
Output only. State of the cutover job.
.google.events.cloud.vmmigration.v1.CutoverJob.State state = 5;
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
This builder for chaining. |
clearStateMessage()
public CutoverJob.Builder clearStateMessage()
Output only. A message providing possible extra details about the current state.
string state_message = 10;
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
This builder for chaining. |
clearStateTime()
public CutoverJob.Builder clearStateTime()
Output only. The time the state was last updated.
.google.protobuf.Timestamp state_time = 6;
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
clearSteps()
public CutoverJob.Builder clearSteps()
Output only. The cutover steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CutoverStep steps = 17;
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
clearTargetVmDetails()
public CutoverJob.Builder clearTargetVmDetails()
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
clone()
public CutoverJob.Builder clone()
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
getComputeEngineTargetDetails()
public ComputeEngineTargetDetails getComputeEngineTargetDetails()
Output only. Details of the target VM in Compute Engine.
.google.events.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14;
Returns | |
---|---|
Type | Description |
ComputeEngineTargetDetails |
The computeEngineTargetDetails. |
getComputeEngineTargetDetailsBuilder()
public ComputeEngineTargetDetails.Builder getComputeEngineTargetDetailsBuilder()
Output only. Details of the target VM in Compute Engine.
.google.events.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14;
Returns | |
---|---|
Type | Description |
ComputeEngineTargetDetails.Builder |
getComputeEngineTargetDetailsOrBuilder()
public ComputeEngineTargetDetailsOrBuilder getComputeEngineTargetDetailsOrBuilder()
Output only. Details of the target VM in Compute Engine.
.google.events.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14;
Returns | |
---|---|
Type | Description |
ComputeEngineTargetDetailsOrBuilder |
getCreateTime()
public Timestamp getCreateTime()
Output only. The time the cutover job was created (as an API call, not when it was actually created in the target).
.google.protobuf.Timestamp create_time = 1;
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The time the cutover job was created (as an API call, not when it was actually created in the target).
.google.protobuf.Timestamp create_time = 1;
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time the cutover job was created (as an API call, not when it was actually created in the target).
.google.protobuf.Timestamp create_time = 1;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public CutoverJob getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CutoverJob |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEndTime()
public Timestamp getEndTime()
Output only. The time the cutover job had finished.
.google.protobuf.Timestamp end_time = 16;
Returns | |
---|---|
Type | Description |
Timestamp |
The endTime. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
Output only. The time the cutover job had finished.
.google.protobuf.Timestamp end_time = 16;
Returns | |
---|---|
Type | Description |
Builder |
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
Output only. The time the cutover job had finished.
.google.protobuf.Timestamp end_time = 16;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getError()
public Status getError()
Output only. Provides details for the errors that led to the Cutover Job's state.
.google.rpc.Status error = 9;
Returns | |
---|---|
Type | Description |
com.google.rpc.Status |
The error. |
getErrorBuilder()
public Status.Builder getErrorBuilder()
Output only. Provides details for the errors that led to the Cutover Job's state.
.google.rpc.Status error = 9;
Returns | |
---|---|
Type | Description |
com.google.rpc.Status.Builder |
getErrorOrBuilder()
public StatusOrBuilder getErrorOrBuilder()
Output only. Provides details for the errors that led to the Cutover Job's state.
.google.rpc.Status error = 9;
Returns | |
---|---|
Type | Description |
com.google.rpc.StatusOrBuilder |
getName()
public String getName()
Output only. The name of the cutover job.
string name = 3;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The name of the cutover job.
string name = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getProgressPercent()
public int getProgressPercent()
Output only. The current progress in percentage of the cutover job.
int32 progress_percent = 13;
Returns | |
---|---|
Type | Description |
int |
The progressPercent. |
getState()
public CutoverJob.State getState()
Output only. State of the cutover job.
.google.events.cloud.vmmigration.v1.CutoverJob.State state = 5;
Returns | |
---|---|
Type | Description |
CutoverJob.State |
The state. |
getStateMessage()
public String getStateMessage()
Output only. A message providing possible extra details about the current state.
string state_message = 10;
Returns | |
---|---|
Type | Description |
String |
The stateMessage. |
getStateMessageBytes()
public ByteString getStateMessageBytes()
Output only. A message providing possible extra details about the current state.
string state_message = 10;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for stateMessage. |
getStateTime()
public Timestamp getStateTime()
Output only. The time the state was last updated.
.google.protobuf.Timestamp state_time = 6;
Returns | |
---|---|
Type | Description |
Timestamp |
The stateTime. |
getStateTimeBuilder()
public Timestamp.Builder getStateTimeBuilder()
Output only. The time the state was last updated.
.google.protobuf.Timestamp state_time = 6;
Returns | |
---|---|
Type | Description |
Builder |
getStateTimeOrBuilder()
public TimestampOrBuilder getStateTimeOrBuilder()
Output only. The time the state was last updated.
.google.protobuf.Timestamp state_time = 6;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getStateValue()
public int getStateValue()
Output only. State of the cutover job.
.google.events.cloud.vmmigration.v1.CutoverJob.State state = 5;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
getSteps(int index)
public CutoverStep getSteps(int index)
Output only. The cutover steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CutoverStep steps = 17;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
CutoverStep |
getStepsBuilder(int index)
public CutoverStep.Builder getStepsBuilder(int index)
Output only. The cutover steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CutoverStep steps = 17;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
CutoverStep.Builder |
getStepsBuilderList()
public List<CutoverStep.Builder> getStepsBuilderList()
Output only. The cutover steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CutoverStep steps = 17;
Returns | |
---|---|
Type | Description |
List<Builder> |
getStepsCount()
public int getStepsCount()
Output only. The cutover steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CutoverStep steps = 17;
Returns | |
---|---|
Type | Description |
int |
getStepsList()
public List<CutoverStep> getStepsList()
Output only. The cutover steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CutoverStep steps = 17;
Returns | |
---|---|
Type | Description |
List<CutoverStep> |
getStepsOrBuilder(int index)
public CutoverStepOrBuilder getStepsOrBuilder(int index)
Output only. The cutover steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CutoverStep steps = 17;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
CutoverStepOrBuilder |
getStepsOrBuilderList()
public List<? extends CutoverStepOrBuilder> getStepsOrBuilderList()
Output only. The cutover steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CutoverStep steps = 17;
Returns | |
---|---|
Type | Description |
List<? extends com.google.events.cloud.vmmigration.v1.CutoverStepOrBuilder> |
getTargetVmDetailsCase()
public CutoverJob.TargetVmDetailsCase getTargetVmDetailsCase()
Returns | |
---|---|
Type | Description |
CutoverJob.TargetVmDetailsCase |
hasComputeEngineTargetDetails()
public boolean hasComputeEngineTargetDetails()
Output only. Details of the target VM in Compute Engine.
.google.events.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14;
Returns | |
---|---|
Type | Description |
boolean |
Whether the computeEngineTargetDetails field is set. |
hasCreateTime()
public boolean hasCreateTime()
Output only. The time the cutover job was created (as an API call, not when it was actually created in the target).
.google.protobuf.Timestamp create_time = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasEndTime()
public boolean hasEndTime()
Output only. The time the cutover job had finished.
.google.protobuf.Timestamp end_time = 16;
Returns | |
---|---|
Type | Description |
boolean |
Whether the endTime field is set. |
hasError()
public boolean hasError()
Output only. Provides details for the errors that led to the Cutover Job's state.
.google.rpc.Status error = 9;
Returns | |
---|---|
Type | Description |
boolean |
Whether the error field is set. |
hasStateTime()
public boolean hasStateTime()
Output only. The time the state was last updated.
.google.protobuf.Timestamp state_time = 6;
Returns | |
---|---|
Type | Description |
boolean |
Whether the stateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeComputeEngineTargetDetails(ComputeEngineTargetDetails value)
public CutoverJob.Builder mergeComputeEngineTargetDetails(ComputeEngineTargetDetails value)
Output only. Details of the target VM in Compute Engine.
.google.events.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14;
Parameter | |
---|---|
Name | Description |
value |
ComputeEngineTargetDetails |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
mergeCreateTime(Timestamp value)
public CutoverJob.Builder mergeCreateTime(Timestamp value)
Output only. The time the cutover job was created (as an API call, not when it was actually created in the target).
.google.protobuf.Timestamp create_time = 1;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
mergeEndTime(Timestamp value)
public CutoverJob.Builder mergeEndTime(Timestamp value)
Output only. The time the cutover job had finished.
.google.protobuf.Timestamp end_time = 16;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
mergeError(Status value)
public CutoverJob.Builder mergeError(Status value)
Output only. Provides details for the errors that led to the Cutover Job's state.
.google.rpc.Status error = 9;
Parameter | |
---|---|
Name | Description |
value |
com.google.rpc.Status |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
mergeFrom(CutoverJob other)
public CutoverJob.Builder mergeFrom(CutoverJob other)
Parameter | |
---|---|
Name | Description |
other |
CutoverJob |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CutoverJob.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CutoverJob.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
mergeStateTime(Timestamp value)
public CutoverJob.Builder mergeStateTime(Timestamp value)
Output only. The time the state was last updated.
.google.protobuf.Timestamp state_time = 6;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CutoverJob.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
removeSteps(int index)
public CutoverJob.Builder removeSteps(int index)
Output only. The cutover steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CutoverStep steps = 17;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
setComputeEngineTargetDetails(ComputeEngineTargetDetails value)
public CutoverJob.Builder setComputeEngineTargetDetails(ComputeEngineTargetDetails value)
Output only. Details of the target VM in Compute Engine.
.google.events.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14;
Parameter | |
---|---|
Name | Description |
value |
ComputeEngineTargetDetails |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
setComputeEngineTargetDetails(ComputeEngineTargetDetails.Builder builderForValue)
public CutoverJob.Builder setComputeEngineTargetDetails(ComputeEngineTargetDetails.Builder builderForValue)
Output only. Details of the target VM in Compute Engine.
.google.events.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14;
Parameter | |
---|---|
Name | Description |
builderForValue |
ComputeEngineTargetDetails.Builder |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
setCreateTime(Timestamp value)
public CutoverJob.Builder setCreateTime(Timestamp value)
Output only. The time the cutover job was created (as an API call, not when it was actually created in the target).
.google.protobuf.Timestamp create_time = 1;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public CutoverJob.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The time the cutover job was created (as an API call, not when it was actually created in the target).
.google.protobuf.Timestamp create_time = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
setEndTime(Timestamp value)
public CutoverJob.Builder setEndTime(Timestamp value)
Output only. The time the cutover job had finished.
.google.protobuf.Timestamp end_time = 16;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
setEndTime(Timestamp.Builder builderForValue)
public CutoverJob.Builder setEndTime(Timestamp.Builder builderForValue)
Output only. The time the cutover job had finished.
.google.protobuf.Timestamp end_time = 16;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
setError(Status value)
public CutoverJob.Builder setError(Status value)
Output only. Provides details for the errors that led to the Cutover Job's state.
.google.rpc.Status error = 9;
Parameter | |
---|---|
Name | Description |
value |
com.google.rpc.Status |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
setError(Status.Builder builderForValue)
public CutoverJob.Builder setError(Status.Builder builderForValue)
Output only. Provides details for the errors that led to the Cutover Job's state.
.google.rpc.Status error = 9;
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.rpc.Status.Builder |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CutoverJob.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
setName(String value)
public CutoverJob.Builder setName(String value)
Output only. The name of the cutover job.
string name = 3;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public CutoverJob.Builder setNameBytes(ByteString value)
Output only. The name of the cutover job.
string name = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
This builder for chaining. |
setProgressPercent(int value)
public CutoverJob.Builder setProgressPercent(int value)
Output only. The current progress in percentage of the cutover job.
int32 progress_percent = 13;
Parameter | |
---|---|
Name | Description |
value |
int The progressPercent to set. |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CutoverJob.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
setState(CutoverJob.State value)
public CutoverJob.Builder setState(CutoverJob.State value)
Output only. State of the cutover job.
.google.events.cloud.vmmigration.v1.CutoverJob.State state = 5;
Parameter | |
---|---|
Name | Description |
value |
CutoverJob.State The state to set. |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
This builder for chaining. |
setStateMessage(String value)
public CutoverJob.Builder setStateMessage(String value)
Output only. A message providing possible extra details about the current state.
string state_message = 10;
Parameter | |
---|---|
Name | Description |
value |
String The stateMessage to set. |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
This builder for chaining. |
setStateMessageBytes(ByteString value)
public CutoverJob.Builder setStateMessageBytes(ByteString value)
Output only. A message providing possible extra details about the current state.
string state_message = 10;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for stateMessage to set. |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
This builder for chaining. |
setStateTime(Timestamp value)
public CutoverJob.Builder setStateTime(Timestamp value)
Output only. The time the state was last updated.
.google.protobuf.Timestamp state_time = 6;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
setStateTime(Timestamp.Builder builderForValue)
public CutoverJob.Builder setStateTime(Timestamp.Builder builderForValue)
Output only. The time the state was last updated.
.google.protobuf.Timestamp state_time = 6;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
setStateValue(int value)
public CutoverJob.Builder setStateValue(int value)
Output only. State of the cutover job.
.google.events.cloud.vmmigration.v1.CutoverJob.State state = 5;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
This builder for chaining. |
setSteps(int index, CutoverStep value)
public CutoverJob.Builder setSteps(int index, CutoverStep value)
Output only. The cutover steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CutoverStep steps = 17;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
CutoverStep |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
setSteps(int index, CutoverStep.Builder builderForValue)
public CutoverJob.Builder setSteps(int index, CutoverStep.Builder builderForValue)
Output only. The cutover steps list representing its progress.
repeated .google.events.cloud.vmmigration.v1.CutoverStep steps = 17;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
CutoverStep.Builder |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CutoverJob.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CutoverJob.Builder |