Class CloneJob.Builder (1.18.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.vmmigration.v1.CloneStep>
Returns
TypeDescription
CloneJob.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CloneJob.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueCloneStep
Returns
TypeDescription
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
NameDescription
builderForValueCloneStep.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueCloneStep
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCloneStep.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
CloneStep.Builder

build()

public CloneJob build()
Returns
TypeDescription
CloneJob

buildPartial()

public CloneJob buildPartial()
Returns
TypeDescription
CloneJob

clear()

public CloneJob.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
CloneJob.Builder

clearField(Descriptors.FieldDescriptor field)

public CloneJob.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
CloneJob.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CloneJob.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
CloneJob.Builder

clearTargetVmDetails()

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

clone()

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public CloneJob getDefaultInstanceForType()
Returns
TypeDescription
CloneJob

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The name of the clone.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.vmmigration.v1.CloneStepOrBuilder>

getTargetVmDetailsCase()

public CloneJob.TargetVmDetailsCase getTargetVmDetailsCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
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 = 14 [(.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 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
NameDescription
valueComputeEngineTargetDetails
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
CloneJob.Builder

mergeFrom(CloneJob other)

public CloneJob.Builder mergeFrom(CloneJob other)
Parameter
NameDescription
otherCloneJob
Returns
TypeDescription
CloneJob.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CloneJob.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
CloneJob.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CloneJob.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueComputeEngineTargetDetails
Returns
TypeDescription
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
NameDescription
builderForValueComputeEngineTargetDetails.Builder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
CloneJob.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CloneJob.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueCloneJob.State

The state to set.

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
indexint
valueCloneStep
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCloneStep.Builder
Returns
TypeDescription
CloneJob.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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