Class CloneJob.Builder (1.47.0)

public static final class CloneJob.Builder extends GeneratedMessageV3.Builder<CloneJob.Builder> implements CloneJobOrBuilder

CloneJob describes the process of creating a clone of a MigratingVM to the requested target based on the latest successful uploaded snapshots. While the migration cycles of a MigratingVm take place, it is possible to verify the uploaded VM can be started in the cloud, by creating a clone. The clone can be created without any downtime, and it is created using the latest snapshots which are already in the cloud. The cloneJob is only responsible for its work, not its products, which means once it is finished, it will never touch the instance it created. It will only delete it in case of the CloneJob being cancelled or upon failure to clone.

Protobuf type google.cloud.vmmigration.v1.CloneJob

Implements

CloneJobOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllSteps(Iterable<? extends CloneStep> values)

public CloneJob.Builder addAllSteps(Iterable<? extends CloneStep> values)

Output only. The clone steps list representing its progress.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.vmmigration.v1.CloneStep>
Returns
Type Description
CloneJob.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CloneJob.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CloneJob.Builder
Overrides

addSteps(CloneStep value)

public CloneJob.Builder addSteps(CloneStep value)

Output only. The clone steps list representing its progress.

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

Parameter
Name Description
value CloneStep
Returns
Type Description
CloneJob.Builder

addSteps(CloneStep.Builder builderForValue)

public CloneJob.Builder addSteps(CloneStep.Builder builderForValue)

Output only. The clone steps list representing its progress.

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

Parameter
Name Description
builderForValue CloneStep.Builder
Returns
Type Description
CloneJob.Builder

addSteps(int index, CloneStep value)

public CloneJob.Builder addSteps(int index, CloneStep value)

Output only. The clone steps list representing its progress.

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

Parameters
Name Description
index int
value CloneStep
Returns
Type Description
CloneJob.Builder

addSteps(int index, CloneStep.Builder builderForValue)

public CloneJob.Builder addSteps(int index, CloneStep.Builder builderForValue)

Output only. The clone steps list representing its progress.

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

Parameters
Name Description
index int
builderForValue CloneStep.Builder
Returns
Type Description
CloneJob.Builder

addStepsBuilder()

public CloneStep.Builder addStepsBuilder()

Output only. The clone steps list representing its progress.

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

Returns
Type Description
CloneStep.Builder

addStepsBuilder(int index)

public CloneStep.Builder addStepsBuilder(int index)

Output only. The clone steps list representing its progress.

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

Parameter
Name Description
index int
Returns
Type Description
CloneStep.Builder

build()

public CloneJob build()
Returns
Type Description
CloneJob

buildPartial()

public CloneJob buildPartial()
Returns
Type Description
CloneJob

clear()

public CloneJob.Builder clear()
Returns
Type Description
CloneJob.Builder
Overrides

clearComputeEngineTargetDetails()

public CloneJob.Builder clearComputeEngineTargetDetails()

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

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

Returns
Type Description
CloneJob.Builder

clearCreateTime()

public CloneJob.Builder clearCreateTime()

Output only. The time the clone 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
Type Description
CloneJob.Builder

clearEndTime()

public CloneJob.Builder clearEndTime()

Output only. The time the clone job was ended.

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

Returns
Type Description
CloneJob.Builder

clearError()

public CloneJob.Builder clearError()

Output only. Provides details for the errors that led to the Clone Job's state.

.google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloneJob.Builder

clearField(Descriptors.FieldDescriptor field)

public CloneJob.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CloneJob.Builder
Overrides

clearName()

public CloneJob.Builder clearName()

Output only. The name of the clone.

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

Returns
Type Description
CloneJob.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CloneJob.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CloneJob.Builder
Overrides

clearState()

public CloneJob.Builder clearState()

Output only. State of the clone job.

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

Returns
Type Description
CloneJob.Builder

This builder for chaining.

clearStateTime()

public CloneJob.Builder clearStateTime()

Output only. The time the state was last updated.

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

Returns
Type Description
CloneJob.Builder

clearSteps()

public CloneJob.Builder clearSteps()

Output only. The clone steps list representing its progress.

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

Returns
Type Description
CloneJob.Builder

clearTargetVmDetails()

public CloneJob.Builder clearTargetVmDetails()
Returns
Type Description
CloneJob.Builder

clone()

public CloneJob.Builder clone()
Returns
Type Description
CloneJob.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 = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

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

Returns
Type Description
ComputeEngineTargetDetailsOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Output only. The time the clone 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
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The time the clone 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
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time the clone 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
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public CloneJob getDefaultInstanceForType()
Returns
Type Description
CloneJob

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

Output only. The time the clone job was ended.

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

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

Output only. The time the clone job was ended.

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

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Output only. The time the clone job was ended.

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

Returns
Type Description
TimestampOrBuilder

getError()

public Status getError()

Output only. Provides details for the errors that led to the Clone Job's state.

.google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

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 Clone Job's state.

.google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.Status.Builder

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

Output only. Provides details for the errors that led to the Clone Job's state.

.google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.StatusOrBuilder

getName()

public String getName()

Output only. The name of the clone.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The name of the clone.

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

Returns
Type Description
ByteString

The bytes for name.

getState()

public CloneJob.State getState()

Output only. State of the clone job.

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

Returns
Type Description
CloneJob.State

The state.

getStateTime()

public Timestamp getStateTime()

Output only. The time the state was last updated.

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

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

Returns
Type Description
Builder

getStateTimeOrBuilder()

public TimestampOrBuilder getStateTimeOrBuilder()

Output only. The time the state was last updated.

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

Returns
Type Description
TimestampOrBuilder

getStateValue()

public int getStateValue()

Output only. State of the clone job.

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

Returns
Type Description
int

The enum numeric value on the wire for state.

getSteps(int index)

public CloneStep getSteps(int index)

Output only. The clone steps list representing its progress.

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

Parameter
Name Description
index int
Returns
Type Description
CloneStep

getStepsBuilder(int index)

public CloneStep.Builder getStepsBuilder(int index)

Output only. The clone steps list representing its progress.

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

Parameter
Name Description
index int
Returns
Type Description
CloneStep.Builder

getStepsBuilderList()

public List<CloneStep.Builder> getStepsBuilderList()

Output only. The clone steps list representing its progress.

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

Returns
Type Description
List<Builder>

getStepsCount()

public int getStepsCount()

Output only. The clone steps list representing its progress.

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

Returns
Type Description
int

getStepsList()

public List<CloneStep> getStepsList()

Output only. The clone steps list representing its progress.

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

Returns
Type Description
List<CloneStep>

getStepsOrBuilder(int index)

public CloneStepOrBuilder getStepsOrBuilder(int index)

Output only. The clone steps list representing its progress.

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

Parameter
Name Description
index int
Returns
Type Description
CloneStepOrBuilder

getStepsOrBuilderList()

public List<? extends CloneStepOrBuilder> getStepsOrBuilderList()

Output only. The clone steps list representing its progress.

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

Returns
Type Description
List<? extends com.google.cloud.vmmigration.v1.CloneStepOrBuilder>

getTargetVmDetailsCase()

public CloneJob.TargetVmDetailsCase getTargetVmDetailsCase()
Returns
Type Description
CloneJob.TargetVmDetailsCase

hasComputeEngineTargetDetails()

public boolean hasComputeEngineTargetDetails()

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

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

Returns
Type Description
boolean

Whether the computeEngineTargetDetails field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. The time the clone 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
Type Description
boolean

Whether the createTime field is set.

hasEndTime()

public boolean hasEndTime()

Output only. The time the clone job was ended.

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

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 Clone Job's state.

.google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

Returns
Type Description
boolean

Whether the stateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeComputeEngineTargetDetails(ComputeEngineTargetDetails value)

public CloneJob.Builder mergeComputeEngineTargetDetails(ComputeEngineTargetDetails value)

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

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

Parameter
Name Description
value ComputeEngineTargetDetails
Returns
Type Description
CloneJob.Builder

mergeCreateTime(Timestamp value)

public CloneJob.Builder mergeCreateTime(Timestamp value)

Output only. The time the clone 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
Name Description
value Timestamp
Returns
Type Description
CloneJob.Builder

mergeEndTime(Timestamp value)

public CloneJob.Builder mergeEndTime(Timestamp value)

Output only. The time the clone job was ended.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
CloneJob.Builder

mergeError(Status value)

public CloneJob.Builder mergeError(Status value)

Output only. Provides details for the errors that led to the Clone Job's state.

.google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
CloneJob.Builder

mergeFrom(CloneJob other)

public CloneJob.Builder mergeFrom(CloneJob other)
Parameter
Name Description
other CloneJob
Returns
Type Description
CloneJob.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CloneJob.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloneJob.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CloneJob.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CloneJob.Builder
Overrides

mergeStateTime(Timestamp value)

public CloneJob.Builder mergeStateTime(Timestamp value)

Output only. The time the state was last updated.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
CloneJob.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CloneJob.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CloneJob.Builder
Overrides

removeSteps(int index)

public CloneJob.Builder removeSteps(int index)

Output only. The clone steps list representing its progress.

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

Parameter
Name Description
index int
Returns
Type Description
CloneJob.Builder

setComputeEngineTargetDetails(ComputeEngineTargetDetails value)

public CloneJob.Builder setComputeEngineTargetDetails(ComputeEngineTargetDetails value)

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

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

Parameter
Name Description
value ComputeEngineTargetDetails
Returns
Type Description
CloneJob.Builder

setComputeEngineTargetDetails(ComputeEngineTargetDetails.Builder builderForValue)

public CloneJob.Builder setComputeEngineTargetDetails(ComputeEngineTargetDetails.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue ComputeEngineTargetDetails.Builder
Returns
Type Description
CloneJob.Builder

setCreateTime(Timestamp value)

public CloneJob.Builder setCreateTime(Timestamp value)

Output only. The time the clone 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
Name Description
value Timestamp
Returns
Type Description
CloneJob.Builder

setCreateTime(Timestamp.Builder builderForValue)

public CloneJob.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The time the clone 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
Name Description
builderForValue Builder
Returns
Type Description
CloneJob.Builder

setEndTime(Timestamp value)

public CloneJob.Builder setEndTime(Timestamp value)

Output only. The time the clone job was ended.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
CloneJob.Builder

setEndTime(Timestamp.Builder builderForValue)

public CloneJob.Builder setEndTime(Timestamp.Builder builderForValue)

Output only. The time the clone job was ended.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CloneJob.Builder

setError(Status value)

public CloneJob.Builder setError(Status value)

Output only. Provides details for the errors that led to the Clone Job's state.

.google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
CloneJob.Builder

setError(Status.Builder builderForValue)

public CloneJob.Builder setError(Status.Builder builderForValue)

Output only. Provides details for the errors that led to the Clone Job's state.

.google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
CloneJob.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CloneJob.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CloneJob.Builder
Overrides

setName(String value)

public CloneJob.Builder setName(String value)

Output only. The name of the clone.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
CloneJob.Builder

This builder for chaining.

setNameBytes(ByteString value)

public CloneJob.Builder setNameBytes(ByteString value)

Output only. The name of the clone.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
CloneJob.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CloneJob.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CloneJob.Builder
Overrides

setState(CloneJob.State value)

public CloneJob.Builder setState(CloneJob.State value)

Output only. State of the clone job.

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

Parameter
Name Description
value CloneJob.State

The state to set.

Returns
Type Description
CloneJob.Builder

This builder for chaining.

setStateTime(Timestamp value)

public CloneJob.Builder setStateTime(Timestamp value)

Output only. The time the state was last updated.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
CloneJob.Builder

setStateTime(Timestamp.Builder builderForValue)

public CloneJob.Builder setStateTime(Timestamp.Builder builderForValue)

Output only. The time the state was last updated.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CloneJob.Builder

setStateValue(int value)

public CloneJob.Builder setStateValue(int value)

Output only. State of the clone job.

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

Parameter
Name Description
value int

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

Returns
Type Description
CloneJob.Builder

This builder for chaining.

setSteps(int index, CloneStep value)

public CloneJob.Builder setSteps(int index, CloneStep value)

Output only. The clone steps list representing its progress.

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

Parameters
Name Description
index int
value CloneStep
Returns
Type Description
CloneJob.Builder

setSteps(int index, CloneStep.Builder builderForValue)

public CloneJob.Builder setSteps(int index, CloneStep.Builder builderForValue)

Output only. The clone steps list representing its progress.

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

Parameters
Name Description
index int
builderForValue CloneStep.Builder
Returns
Type Description
CloneJob.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final CloneJob.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CloneJob.Builder
Overrides