- 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 MigratingVm.Builder extends GeneratedMessageV3.Builder<MigratingVm.Builder> implements MigratingVmOrBuilder
MigratingVm describes the VM that will be migrated from a Source environment and its replication state.
Protobuf type google.cloud.vmmigration.v1.MigratingVm
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MigratingVm.BuilderImplements
MigratingVmOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MigratingVm.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MigratingVm.Builder |
build()
public MigratingVm build()
Type | Description |
MigratingVm |
buildPartial()
public MigratingVm buildPartial()
Type | Description |
MigratingVm |
clear()
public MigratingVm.Builder clear()
Type | Description |
MigratingVm.Builder |
clearComputeEngineTargetDefaults()
public MigratingVm.Builder clearComputeEngineTargetDefaults()
Details of the target VM in Compute Engine.
.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26;
Type | Description |
MigratingVm.Builder |
clearCreateTime()
public MigratingVm.Builder clearCreateTime()
Output only. The time the migrating VM was created (this refers to this resource and not to the time it was installed in the source).
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
MigratingVm.Builder |
clearCurrentSyncInfo()
public MigratingVm.Builder clearCurrentSyncInfo()
Output only. The percentage progress of the current running replication cycle.
.google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
MigratingVm.Builder |
clearDescription()
public MigratingVm.Builder clearDescription()
The description attached to the migrating VM by the user.
string description = 3;
Type | Description |
MigratingVm.Builder | This builder for chaining. |
clearDisplayName()
public MigratingVm.Builder clearDisplayName()
The display name attached to the MigratingVm by the user.
string display_name = 18;
Type | Description |
MigratingVm.Builder | This builder for chaining. |
clearError()
public MigratingVm.Builder clearError()
Output only. Provides details on the state of the Migrating VM in case of an error in replication.
.google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
MigratingVm.Builder |
clearField(Descriptors.FieldDescriptor field)
public MigratingVm.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
MigratingVm.Builder |
clearGroup()
public MigratingVm.Builder clearGroup()
Output only. The group this migrating vm is included in, if any. The group is represented by the full path of the appropriate Group resource.
string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Type | Description |
MigratingVm.Builder | This builder for chaining. |
clearLabels()
public MigratingVm.Builder clearLabels()
Type | Description |
MigratingVm.Builder |
clearLastSync()
public MigratingVm.Builder clearLastSync()
Output only. The most updated snapshot created time in the source that finished replication.
.google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
MigratingVm.Builder |
clearName()
public MigratingVm.Builder clearName()
Output only. The identifier of the MigratingVm.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
MigratingVm.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public MigratingVm.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
MigratingVm.Builder |
clearPolicy()
public MigratingVm.Builder clearPolicy()
The replication schedule policy.
.google.cloud.vmmigration.v1.SchedulePolicy policy = 8;
Type | Description |
MigratingVm.Builder |
clearSourceVmId()
public MigratingVm.Builder clearSourceVmId()
The unique ID of the VM in the source. The VM's name in vSphere can be changed, so this is not the VM's name but rather its moRef id. This id is of the form vm-<num>.
string source_vm_id = 2;
Type | Description |
MigratingVm.Builder | This builder for chaining. |
clearState()
public MigratingVm.Builder clearState()
Output only. State of the MigratingVm.
.google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
MigratingVm.Builder | This builder for chaining. |
clearStateTime()
public MigratingVm.Builder clearStateTime()
Output only. The last time the migrating VM state was updated.
.google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
MigratingVm.Builder |
clearTargetVmDefaults()
public MigratingVm.Builder clearTargetVmDefaults()
Type | Description |
MigratingVm.Builder |
clearUpdateTime()
public MigratingVm.Builder clearUpdateTime()
Output only. The last time the migrating VM resource was updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
MigratingVm.Builder |
clone()
public MigratingVm.Builder clone()
Type | Description |
MigratingVm.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
The labels of the migrating VM.
map<string, string> labels = 16;
Name | Description |
key | String |
Type | Description |
boolean |
getComputeEngineTargetDefaults()
public ComputeEngineTargetDefaults getComputeEngineTargetDefaults()
Details of the target VM in Compute Engine.
.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26;
Type | Description |
ComputeEngineTargetDefaults | The computeEngineTargetDefaults. |
getComputeEngineTargetDefaultsBuilder()
public ComputeEngineTargetDefaults.Builder getComputeEngineTargetDefaultsBuilder()
Details of the target VM in Compute Engine.
.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26;
Type | Description |
ComputeEngineTargetDefaults.Builder |
getComputeEngineTargetDefaultsOrBuilder()
public ComputeEngineTargetDefaultsOrBuilder getComputeEngineTargetDefaultsOrBuilder()
Details of the target VM in Compute Engine.
.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26;
Type | Description |
ComputeEngineTargetDefaultsOrBuilder |
getCreateTime()
public Timestamp getCreateTime()
Output only. The time the migrating VM was created (this refers to this resource and not to the time it was installed in the source).
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The time the migrating VM was created (this refers to this resource and not to the time it was installed in the source).
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time the migrating VM was created (this refers to this resource and not to the time it was installed in the source).
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getCurrentSyncInfo()
public ReplicationCycle getCurrentSyncInfo()
Output only. The percentage progress of the current running replication cycle.
.google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ReplicationCycle | The currentSyncInfo. |
getCurrentSyncInfoBuilder()
public ReplicationCycle.Builder getCurrentSyncInfoBuilder()
Output only. The percentage progress of the current running replication cycle.
.google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ReplicationCycle.Builder |
getCurrentSyncInfoOrBuilder()
public ReplicationCycleOrBuilder getCurrentSyncInfoOrBuilder()
Output only. The percentage progress of the current running replication cycle.
.google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ReplicationCycleOrBuilder |
getDefaultInstanceForType()
public MigratingVm getDefaultInstanceForType()
Type | Description |
MigratingVm |
getDescription()
public String getDescription()
The description attached to the migrating VM by the user.
string description = 3;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
The description attached to the migrating VM by the user.
string description = 3;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
The display name attached to the MigratingVm by the user.
string display_name = 18;
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
The display name attached to the MigratingVm by the user.
string display_name = 18;
Type | Description |
ByteString | The bytes for displayName. |
getError()
public Status getError()
Output only. Provides details on the state of the Migrating VM in case of an error in replication.
.google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
com.google.rpc.Status | The error. |
getErrorBuilder()
public Status.Builder getErrorBuilder()
Output only. Provides details on the state of the Migrating VM in case of an error in replication.
.google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
com.google.rpc.Status.Builder |
getErrorOrBuilder()
public StatusOrBuilder getErrorOrBuilder()
Output only. Provides details on the state of the Migrating VM in case of an error in replication.
.google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
com.google.rpc.StatusOrBuilder |
getGroup()
public String getGroup()
Output only. The group this migrating vm is included in, if any. The group is represented by the full path of the appropriate Group resource.
string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Type | Description |
String | The group. |
getGroupBytes()
public ByteString getGroupBytes()
Output only. The group this migrating vm is included in, if any. The group is represented by the full path of the appropriate Group resource.
string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for group. |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
The labels of the migrating VM.
map<string, string> labels = 16;
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
The labels of the migrating VM.
map<string, string> labels = 16;
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
The labels of the migrating VM.
map<string, string> labels = 16;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
The labels of the migrating VM.
map<string, string> labels = 16;
Name | Description |
key | String |
Type | Description |
String |
getLastSync()
public ReplicationSync getLastSync()
Output only. The most updated snapshot created time in the source that finished replication.
.google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ReplicationSync | The lastSync. |
getLastSyncBuilder()
public ReplicationSync.Builder getLastSyncBuilder()
Output only. The most updated snapshot created time in the source that finished replication.
.google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ReplicationSync.Builder |
getLastSyncOrBuilder()
public ReplicationSyncOrBuilder getLastSyncOrBuilder()
Output only. The most updated snapshot created time in the source that finished replication.
.google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ReplicationSyncOrBuilder |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getName()
public String getName()
Output only. The identifier of the MigratingVm.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The identifier of the MigratingVm.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for name. |
getPolicy()
public SchedulePolicy getPolicy()
The replication schedule policy.
.google.cloud.vmmigration.v1.SchedulePolicy policy = 8;
Type | Description |
SchedulePolicy | The policy. |
getPolicyBuilder()
public SchedulePolicy.Builder getPolicyBuilder()
The replication schedule policy.
.google.cloud.vmmigration.v1.SchedulePolicy policy = 8;
Type | Description |
SchedulePolicy.Builder |
getPolicyOrBuilder()
public SchedulePolicyOrBuilder getPolicyOrBuilder()
The replication schedule policy.
.google.cloud.vmmigration.v1.SchedulePolicy policy = 8;
Type | Description |
SchedulePolicyOrBuilder |
getSourceVmId()
public String getSourceVmId()
The unique ID of the VM in the source. The VM's name in vSphere can be changed, so this is not the VM's name but rather its moRef id. This id is of the form vm-<num>.
string source_vm_id = 2;
Type | Description |
String | The sourceVmId. |
getSourceVmIdBytes()
public ByteString getSourceVmIdBytes()
The unique ID of the VM in the source. The VM's name in vSphere can be changed, so this is not the VM's name but rather its moRef id. This id is of the form vm-<num>.
string source_vm_id = 2;
Type | Description |
ByteString | The bytes for sourceVmId. |
getState()
public MigratingVm.State getState()
Output only. State of the MigratingVm.
.google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
MigratingVm.State | The state. |
getStateTime()
public Timestamp getStateTime()
Output only. The last time the migrating VM state was updated.
.google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The stateTime. |
getStateTimeBuilder()
public Timestamp.Builder getStateTimeBuilder()
Output only. The last time the migrating VM state was updated.
.google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getStateTimeOrBuilder()
public TimestampOrBuilder getStateTimeOrBuilder()
Output only. The last time the migrating VM state was updated.
.google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getStateValue()
public int getStateValue()
Output only. State of the MigratingVm.
.google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The enum numeric value on the wire for state. |
getTargetVmDefaultsCase()
public MigratingVm.TargetVmDefaultsCase getTargetVmDefaultsCase()
Type | Description |
MigratingVm.TargetVmDefaultsCase |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The last time the migrating VM resource was updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The last time the migrating VM resource was updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last time the migrating VM resource was updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
hasComputeEngineTargetDefaults()
public boolean hasComputeEngineTargetDefaults()
Details of the target VM in Compute Engine.
.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26;
Type | Description |
boolean | Whether the computeEngineTargetDefaults field is set. |
hasCreateTime()
public boolean hasCreateTime()
Output only. The time the migrating VM was created (this refers to this resource and not to the time it was installed in the source).
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the createTime field is set. |
hasCurrentSyncInfo()
public boolean hasCurrentSyncInfo()
Output only. The percentage progress of the current running replication cycle.
.google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the currentSyncInfo field is set. |
hasError()
public boolean hasError()
Output only. Provides details on the state of the Migrating VM in case of an error in replication.
.google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the error field is set. |
hasLastSync()
public boolean hasLastSync()
Output only. The most updated snapshot created time in the source that finished replication.
.google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the lastSync field is set. |
hasPolicy()
public boolean hasPolicy()
The replication schedule policy.
.google.cloud.vmmigration.v1.SchedulePolicy policy = 8;
Type | Description |
boolean | Whether the policy field is set. |
hasStateTime()
public boolean hasStateTime()
Output only. The last time the migrating VM state was updated.
.google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the stateTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The last time the migrating VM resource was updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeComputeEngineTargetDefaults(ComputeEngineTargetDefaults value)
public MigratingVm.Builder mergeComputeEngineTargetDefaults(ComputeEngineTargetDefaults value)
Details of the target VM in Compute Engine.
.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26;
Name | Description |
value | ComputeEngineTargetDefaults |
Type | Description |
MigratingVm.Builder |
mergeCreateTime(Timestamp value)
public MigratingVm.Builder mergeCreateTime(Timestamp value)
Output only. The time the migrating VM was created (this refers to this resource and not to the time it was installed in the source).
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
MigratingVm.Builder |
mergeCurrentSyncInfo(ReplicationCycle value)
public MigratingVm.Builder mergeCurrentSyncInfo(ReplicationCycle value)
Output only. The percentage progress of the current running replication cycle.
.google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ReplicationCycle |
Type | Description |
MigratingVm.Builder |
mergeError(Status value)
public MigratingVm.Builder mergeError(Status value)
Output only. Provides details on the state of the Migrating VM in case of an error in replication.
.google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | com.google.rpc.Status |
Type | Description |
MigratingVm.Builder |
mergeFrom(MigratingVm other)
public MigratingVm.Builder mergeFrom(MigratingVm other)
Name | Description |
other | MigratingVm |
Type | Description |
MigratingVm.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MigratingVm.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MigratingVm.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public MigratingVm.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
MigratingVm.Builder |
mergeLastSync(ReplicationSync value)
public MigratingVm.Builder mergeLastSync(ReplicationSync value)
Output only. The most updated snapshot created time in the source that finished replication.
.google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ReplicationSync |
Type | Description |
MigratingVm.Builder |
mergePolicy(SchedulePolicy value)
public MigratingVm.Builder mergePolicy(SchedulePolicy value)
The replication schedule policy.
.google.cloud.vmmigration.v1.SchedulePolicy policy = 8;
Name | Description |
value | SchedulePolicy |
Type | Description |
MigratingVm.Builder |
mergeStateTime(Timestamp value)
public MigratingVm.Builder mergeStateTime(Timestamp value)
Output only. The last time the migrating VM state was updated.
.google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
MigratingVm.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MigratingVm.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MigratingVm.Builder |
mergeUpdateTime(Timestamp value)
public MigratingVm.Builder mergeUpdateTime(Timestamp value)
Output only. The last time the migrating VM resource was updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
MigratingVm.Builder |
putAllLabels(Map<String,String> values)
public MigratingVm.Builder putAllLabels(Map<String,String> values)
The labels of the migrating VM.
map<string, string> labels = 16;
Name | Description |
values | Map<String,String> |
Type | Description |
MigratingVm.Builder |
putLabels(String key, String value)
public MigratingVm.Builder putLabels(String key, String value)
The labels of the migrating VM.
map<string, string> labels = 16;
Name | Description |
key | String |
value | String |
Type | Description |
MigratingVm.Builder |
removeLabels(String key)
public MigratingVm.Builder removeLabels(String key)
The labels of the migrating VM.
map<string, string> labels = 16;
Name | Description |
key | String |
Type | Description |
MigratingVm.Builder |
setComputeEngineTargetDefaults(ComputeEngineTargetDefaults value)
public MigratingVm.Builder setComputeEngineTargetDefaults(ComputeEngineTargetDefaults value)
Details of the target VM in Compute Engine.
.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26;
Name | Description |
value | ComputeEngineTargetDefaults |
Type | Description |
MigratingVm.Builder |
setComputeEngineTargetDefaults(ComputeEngineTargetDefaults.Builder builderForValue)
public MigratingVm.Builder setComputeEngineTargetDefaults(ComputeEngineTargetDefaults.Builder builderForValue)
Details of the target VM in Compute Engine.
.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26;
Name | Description |
builderForValue | ComputeEngineTargetDefaults.Builder |
Type | Description |
MigratingVm.Builder |
setCreateTime(Timestamp value)
public MigratingVm.Builder setCreateTime(Timestamp value)
Output only. The time the migrating VM was created (this refers to this resource and not to the time it was installed in the source).
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
MigratingVm.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public MigratingVm.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The time the migrating VM was created (this refers to this resource and not to the time it was installed in the source).
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
MigratingVm.Builder |
setCurrentSyncInfo(ReplicationCycle value)
public MigratingVm.Builder setCurrentSyncInfo(ReplicationCycle value)
Output only. The percentage progress of the current running replication cycle.
.google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ReplicationCycle |
Type | Description |
MigratingVm.Builder |
setCurrentSyncInfo(ReplicationCycle.Builder builderForValue)
public MigratingVm.Builder setCurrentSyncInfo(ReplicationCycle.Builder builderForValue)
Output only. The percentage progress of the current running replication cycle.
.google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | ReplicationCycle.Builder |
Type | Description |
MigratingVm.Builder |
setDescription(String value)
public MigratingVm.Builder setDescription(String value)
The description attached to the migrating VM by the user.
string description = 3;
Name | Description |
value | String The description to set. |
Type | Description |
MigratingVm.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public MigratingVm.Builder setDescriptionBytes(ByteString value)
The description attached to the migrating VM by the user.
string description = 3;
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
MigratingVm.Builder | This builder for chaining. |
setDisplayName(String value)
public MigratingVm.Builder setDisplayName(String value)
The display name attached to the MigratingVm by the user.
string display_name = 18;
Name | Description |
value | String The displayName to set. |
Type | Description |
MigratingVm.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public MigratingVm.Builder setDisplayNameBytes(ByteString value)
The display name attached to the MigratingVm by the user.
string display_name = 18;
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
MigratingVm.Builder | This builder for chaining. |
setError(Status value)
public MigratingVm.Builder setError(Status value)
Output only. Provides details on the state of the Migrating VM in case of an error in replication.
.google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | com.google.rpc.Status |
Type | Description |
MigratingVm.Builder |
setError(Status.Builder builderForValue)
public MigratingVm.Builder setError(Status.Builder builderForValue)
Output only. Provides details on the state of the Migrating VM in case of an error in replication.
.google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | com.google.rpc.Status.Builder |
Type | Description |
MigratingVm.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public MigratingVm.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MigratingVm.Builder |
setGroup(String value)
public MigratingVm.Builder setGroup(String value)
Output only. The group this migrating vm is included in, if any. The group is represented by the full path of the appropriate Group resource.
string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The group to set. |
Type | Description |
MigratingVm.Builder | This builder for chaining. |
setGroupBytes(ByteString value)
public MigratingVm.Builder setGroupBytes(ByteString value)
Output only. The group this migrating vm is included in, if any. The group is represented by the full path of the appropriate Group resource.
string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for group to set. |
Type | Description |
MigratingVm.Builder | This builder for chaining. |
setLastSync(ReplicationSync value)
public MigratingVm.Builder setLastSync(ReplicationSync value)
Output only. The most updated snapshot created time in the source that finished replication.
.google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ReplicationSync |
Type | Description |
MigratingVm.Builder |
setLastSync(ReplicationSync.Builder builderForValue)
public MigratingVm.Builder setLastSync(ReplicationSync.Builder builderForValue)
Output only. The most updated snapshot created time in the source that finished replication.
.google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | ReplicationSync.Builder |
Type | Description |
MigratingVm.Builder |
setName(String value)
public MigratingVm.Builder setName(String value)
Output only. The identifier of the MigratingVm.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The name to set. |
Type | Description |
MigratingVm.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public MigratingVm.Builder setNameBytes(ByteString value)
Output only. The identifier of the MigratingVm.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
MigratingVm.Builder | This builder for chaining. |
setPolicy(SchedulePolicy value)
public MigratingVm.Builder setPolicy(SchedulePolicy value)
The replication schedule policy.
.google.cloud.vmmigration.v1.SchedulePolicy policy = 8;
Name | Description |
value | SchedulePolicy |
Type | Description |
MigratingVm.Builder |
setPolicy(SchedulePolicy.Builder builderForValue)
public MigratingVm.Builder setPolicy(SchedulePolicy.Builder builderForValue)
The replication schedule policy.
.google.cloud.vmmigration.v1.SchedulePolicy policy = 8;
Name | Description |
builderForValue | SchedulePolicy.Builder |
Type | Description |
MigratingVm.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MigratingVm.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
MigratingVm.Builder |
setSourceVmId(String value)
public MigratingVm.Builder setSourceVmId(String value)
The unique ID of the VM in the source. The VM's name in vSphere can be changed, so this is not the VM's name but rather its moRef id. This id is of the form vm-<num>.
string source_vm_id = 2;
Name | Description |
value | String The sourceVmId to set. |
Type | Description |
MigratingVm.Builder | This builder for chaining. |
setSourceVmIdBytes(ByteString value)
public MigratingVm.Builder setSourceVmIdBytes(ByteString value)
The unique ID of the VM in the source. The VM's name in vSphere can be changed, so this is not the VM's name but rather its moRef id. This id is of the form vm-<num>.
string source_vm_id = 2;
Name | Description |
value | ByteString The bytes for sourceVmId to set. |
Type | Description |
MigratingVm.Builder | This builder for chaining. |
setState(MigratingVm.State value)
public MigratingVm.Builder setState(MigratingVm.State value)
Output only. State of the MigratingVm.
.google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | MigratingVm.State The state to set. |
Type | Description |
MigratingVm.Builder | This builder for chaining. |
setStateTime(Timestamp value)
public MigratingVm.Builder setStateTime(Timestamp value)
Output only. The last time the migrating VM state was updated.
.google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
MigratingVm.Builder |
setStateTime(Timestamp.Builder builderForValue)
public MigratingVm.Builder setStateTime(Timestamp.Builder builderForValue)
Output only. The last time the migrating VM state was updated.
.google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
MigratingVm.Builder |
setStateValue(int value)
public MigratingVm.Builder setStateValue(int value)
Output only. State of the MigratingVm.
.google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
MigratingVm.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final MigratingVm.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MigratingVm.Builder |
setUpdateTime(Timestamp value)
public MigratingVm.Builder setUpdateTime(Timestamp value)
Output only. The last time the migrating VM resource was updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
MigratingVm.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public MigratingVm.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The last time the migrating VM resource was updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
MigratingVm.Builder |