- 1.52.0 (latest)
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.5
- 1.2.0
- 1.1.1
- 1.0.5
public static final class 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CloneJob.BuilderImplements
CloneJobOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CloneJob.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CloneJob.Builder |
build()
public CloneJob build()
Type | Description |
CloneJob |
buildPartial()
public CloneJob buildPartial()
Type | Description |
CloneJob |
clear()
public CloneJob.Builder clear()
Type | Description |
CloneJob.Builder |
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];
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];
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];
Type | Description |
CloneJob.Builder |
clearField(Descriptors.FieldDescriptor field)
public CloneJob.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CloneJob.Builder |
clearName()
public CloneJob.Builder clearName()
The name of the clone.
string name = 3;
Type | Description |
CloneJob.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CloneJob.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CloneJob.Builder |
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];
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];
Type | Description |
CloneJob.Builder |
clearTargetVmDetails()
public CloneJob.Builder clearTargetVmDetails()
Type | Description |
CloneJob.Builder |
clone()
public CloneJob.Builder clone()
Type | Description |
CloneJob.Builder |
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];
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];
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];
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];
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];
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];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public CloneJob getDefaultInstanceForType()
Type | Description |
CloneJob |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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];
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];
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];
Type | Description |
com.google.rpc.StatusOrBuilder |
getName()
public String getName()
The name of the clone.
string name = 3;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The name of the clone.
string name = 3;
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];
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];
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];
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];
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];
Type | Description |
int | The enum numeric value on the wire for state. |
getTargetVmDetailsCase()
public CloneJob.TargetVmDetailsCase getTargetVmDetailsCase()
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];
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];
Type | Description |
boolean | Whether the createTime 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];
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];
Type | Description |
boolean | Whether the stateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
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];
Name | Description |
value | ComputeEngineTargetDetails |
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];
Name | Description |
value | Timestamp |
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];
Name | Description |
value | com.google.rpc.Status |
Type | Description |
CloneJob.Builder |
mergeFrom(CloneJob other)
public CloneJob.Builder mergeFrom(CloneJob other)
Name | Description |
other | CloneJob |
Type | Description |
CloneJob.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CloneJob.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CloneJob.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CloneJob.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CloneJob.Builder |
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];
Name | Description |
value | Timestamp |
Type | Description |
CloneJob.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloneJob.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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];
Name | Description |
value | ComputeEngineTargetDetails |
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];
Name | Description |
builderForValue | ComputeEngineTargetDetails.Builder |
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];
Name | Description |
value | Timestamp |
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];
Name | Description |
builderForValue | Builder |
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];
Name | Description |
value | com.google.rpc.Status |
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];
Name | Description |
builderForValue | com.google.rpc.Status.Builder |
Type | Description |
CloneJob.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CloneJob.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CloneJob.Builder |
setName(String value)
public CloneJob.Builder setName(String value)
The name of the clone.
string name = 3;
Name | Description |
value | String The name to set. |
Type | Description |
CloneJob.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public CloneJob.Builder setNameBytes(ByteString value)
The name of the clone.
string name = 3;
Name | Description |
value | ByteString The bytes for name to set. |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CloneJob.Builder |
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];
Name | Description |
value | CloneJob.State The state to set. |
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];
Name | Description |
value | Timestamp |
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];
Name | Description |
builderForValue | Builder |
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];
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
CloneJob.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CloneJob.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CloneJob.Builder |