Class CutoverJob.Builder (1.24.0)

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.cloud.vmmigration.v1.CutoverJob

Implements

CutoverJobOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.cloud.vmmigration.v1.CutoverStep steps = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vmmigration.v1.CutoverStep>
Returns
TypeDescription
CutoverJob.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CutoverJob.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CutoverJob.Builder
Overrides

addSteps(CutoverStep value)

public CutoverJob.Builder addSteps(CutoverStep value)

Output only. The cutover steps list representing its progress.

repeated .google.cloud.vmmigration.v1.CutoverStep steps = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueCutoverStep
Returns
TypeDescription
CutoverJob.Builder

addSteps(CutoverStep.Builder builderForValue)

public CutoverJob.Builder addSteps(CutoverStep.Builder builderForValue)

Output only. The cutover steps list representing its progress.

repeated .google.cloud.vmmigration.v1.CutoverStep steps = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueCutoverStep.Builder
Returns
TypeDescription
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.cloud.vmmigration.v1.CutoverStep steps = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valueCutoverStep
Returns
TypeDescription
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.cloud.vmmigration.v1.CutoverStep steps = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueCutoverStep.Builder
Returns
TypeDescription
CutoverJob.Builder

addStepsBuilder()

public CutoverStep.Builder addStepsBuilder()

Output only. The cutover steps list representing its progress.

repeated .google.cloud.vmmigration.v1.CutoverStep steps = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CutoverStep.Builder

addStepsBuilder(int index)

public CutoverStep.Builder addStepsBuilder(int index)

Output only. The cutover steps list representing its progress.

repeated .google.cloud.vmmigration.v1.CutoverStep steps = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
CutoverStep.Builder

build()

public CutoverJob build()
Returns
TypeDescription
CutoverJob

buildPartial()

public CutoverJob buildPartial()
Returns
TypeDescription
CutoverJob

clear()

public CutoverJob.Builder clear()
Returns
TypeDescription
CutoverJob.Builder
Overrides

clearComputeEngineTargetDetails()

public CutoverJob.Builder clearComputeEngineTargetDetails()

Output only. Details of the target VM in Compute Engine.

.google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CutoverJob.Builder

clearEndTime()

public CutoverJob.Builder clearEndTime()

Output only. The time the cutover job had finished.

.google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CutoverJob.Builder

clearField(Descriptors.FieldDescriptor field)

public CutoverJob.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CutoverJob.Builder
Overrides

clearName()

public CutoverJob.Builder clearName()

Output only. The name of the cutover job.

string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CutoverJob.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CutoverJob.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CutoverJob.Builder
Overrides

clearProgressPercent()

public CutoverJob.Builder clearProgressPercent()

Output only. The current progress in percentage of the cutover job.

int32 progress_percent = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CutoverJob.Builder

This builder for chaining.

clearState()

public CutoverJob.Builder clearState()

Output only. State of the cutover job.

.google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CutoverJob.Builder

clearSteps()

public CutoverJob.Builder clearSteps()

Output only. The cutover steps list representing its progress.

repeated .google.cloud.vmmigration.v1.CutoverStep steps = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CutoverJob.Builder

clearTargetVmDetails()

public CutoverJob.Builder clearTargetVmDetails()
Returns
TypeDescription
CutoverJob.Builder

clone()

public CutoverJob.Builder clone()
Returns
TypeDescription
CutoverJob.Builder
Overrides

getComputeEngineTargetDetails()

public ComputeEngineTargetDetails getComputeEngineTargetDetails()

Output only. Details of the target VM in Compute Engine.

.google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ComputeEngineTargetDetails

The computeEngineTargetDetails.

getComputeEngineTargetDetailsBuilder()

public ComputeEngineTargetDetails.Builder getComputeEngineTargetDetailsBuilder()

Output only. Details of the target VM in Compute Engine.

.google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ComputeEngineTargetDetails.Builder

getComputeEngineTargetDetailsOrBuilder()

public ComputeEngineTargetDetailsOrBuilder getComputeEngineTargetDetailsOrBuilder()

Output only. Details of the target VM in Compute Engine.

.google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public CutoverJob getDefaultInstanceForType()
Returns
TypeDescription
CutoverJob

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

Output only. The time the cutover job had finished.

.google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

Output only. The time the cutover job had finished.

.google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Output only. The time the cutover job had finished.

.google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getName()

public String getName()

Output only. The name of the cutover job.

string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The name of the cutover job.

string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.

getProgressPercent()

public int getProgressPercent()

Output only. The current progress in percentage of the cutover job.

int32 progress_percent = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The progressPercent.

getState()

public CutoverJob.State getState()

Output only. State of the cutover job.

.google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CutoverJob.State

The state.

getStateMessage()

public String getStateMessage()

Output only. A message providing possible extra details about the current state.

string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The stateMessage.

getStateMessageBytes()

public ByteString getStateMessageBytes()

Output only. A message providing possible extra details about the current state.

string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for stateMessage.

getStateTime()

public Timestamp getStateTime()

Output only. The time the state was last updated.

.google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The stateTime.

getStateTimeBuilder()

public Timestamp.Builder getStateTimeBuilder()

Output only. The time the state was last updated.

.google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getStateTimeOrBuilder()

public TimestampOrBuilder getStateTimeOrBuilder()

Output only. The time the state was last updated.

.google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getStateValue()

public int getStateValue()

Output only. State of the cutover job.

.google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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.cloud.vmmigration.v1.CutoverStep steps = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
CutoverStep

getStepsBuilder(int index)

public CutoverStep.Builder getStepsBuilder(int index)

Output only. The cutover steps list representing its progress.

repeated .google.cloud.vmmigration.v1.CutoverStep steps = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
CutoverStep.Builder

getStepsBuilderList()

public List<CutoverStep.Builder> getStepsBuilderList()

Output only. The cutover steps list representing its progress.

repeated .google.cloud.vmmigration.v1.CutoverStep steps = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<Builder>

getStepsCount()

public int getStepsCount()

Output only. The cutover steps list representing its progress.

repeated .google.cloud.vmmigration.v1.CutoverStep steps = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

getStepsList()

public List<CutoverStep> getStepsList()

Output only. The cutover steps list representing its progress.

repeated .google.cloud.vmmigration.v1.CutoverStep steps = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<CutoverStep>

getStepsOrBuilder(int index)

public CutoverStepOrBuilder getStepsOrBuilder(int index)

Output only. The cutover steps list representing its progress.

repeated .google.cloud.vmmigration.v1.CutoverStep steps = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
CutoverStepOrBuilder

getStepsOrBuilderList()

public List<? extends CutoverStepOrBuilder> getStepsOrBuilderList()

Output only. The cutover steps list representing its progress.

repeated .google.cloud.vmmigration.v1.CutoverStep steps = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

getTargetVmDetailsCase()

public CutoverJob.TargetVmDetailsCase getTargetVmDetailsCase()
Returns
TypeDescription
CutoverJob.TargetVmDetailsCase

hasComputeEngineTargetDetails()

public boolean hasComputeEngineTargetDetails()

Output only. Details of the target VM in Compute Engine.

.google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the stateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeComputeEngineTargetDetails(ComputeEngineTargetDetails value)

public CutoverJob.Builder mergeComputeEngineTargetDetails(ComputeEngineTargetDetails value)

Output only. Details of the target VM in Compute Engine.

.google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueComputeEngineTargetDetails
Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
CutoverJob.Builder

mergeFrom(CutoverJob other)

public CutoverJob.Builder mergeFrom(CutoverJob other)
Parameter
NameDescription
otherCutoverJob
Returns
TypeDescription
CutoverJob.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CutoverJob.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CutoverJob.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CutoverJob.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CutoverJob.Builder
Overrides

mergeStateTime(Timestamp value)

public CutoverJob.Builder mergeStateTime(Timestamp value)

Output only. The time the state was last updated.

.google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CutoverJob.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CutoverJob.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CutoverJob.Builder
Overrides

removeSteps(int index)

public CutoverJob.Builder removeSteps(int index)

Output only. The cutover steps list representing its progress.

repeated .google.cloud.vmmigration.v1.CutoverStep steps = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
CutoverJob.Builder

setComputeEngineTargetDetails(ComputeEngineTargetDetails value)

public CutoverJob.Builder setComputeEngineTargetDetails(ComputeEngineTargetDetails value)

Output only. Details of the target VM in Compute Engine.

.google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueComputeEngineTargetDetails
Returns
TypeDescription
CutoverJob.Builder

setComputeEngineTargetDetails(ComputeEngineTargetDetails.Builder builderForValue)

public CutoverJob.Builder setComputeEngineTargetDetails(ComputeEngineTargetDetails.Builder builderForValue)

Output only. Details of the target VM in Compute Engine.

.google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueComputeEngineTargetDetails.Builder
Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
CutoverJob.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CutoverJob.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CutoverJob.Builder
Overrides

setName(String value)

public CutoverJob.Builder setName(String value)

Output only. The name of the cutover job.

string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

The progressPercent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CutoverJob.Builder
Overrides

setState(CutoverJob.State value)

public CutoverJob.Builder setState(CutoverJob.State value)

Output only. State of the cutover job.

.google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueCutoverJob.State

The state to set.

Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The stateMessage to set.

Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for stateMessage to set.

Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
CutoverJob.Builder

setStateValue(int value)

public CutoverJob.Builder setStateValue(int value)

Output only. State of the cutover job.

.google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
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.cloud.vmmigration.v1.CutoverStep steps = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valueCutoverStep
Returns
TypeDescription
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.cloud.vmmigration.v1.CutoverStep steps = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueCutoverStep.Builder
Returns
TypeDescription
CutoverJob.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final CutoverJob.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CutoverJob.Builder
Overrides