Class MigratingVm.Builder (0.14.1)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllRecentCloneJobs(Iterable<? extends CloneJob> values)

public MigratingVm.Builder addAllRecentCloneJobs(Iterable<? extends CloneJob> values)

Output only. The recent clone jobs performed on the migrating VM. This field holds the vm's last completed clone job and the vm's running clone job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17;

Parameter
NameDescription
valuesIterable<? extends com.google.events.cloud.vmmigration.v1.CloneJob>
Returns
TypeDescription
MigratingVm.Builder

addAllRecentCutoverJobs(Iterable<? extends CutoverJob> values)

public MigratingVm.Builder addAllRecentCutoverJobs(Iterable<? extends CutoverJob> values)

Output only. The recent cutover jobs performed on the migrating VM. This field holds the vm's last completed cutover job and the vm's running cutover job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20;

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

addRecentCloneJobs(CloneJob value)

public MigratingVm.Builder addRecentCloneJobs(CloneJob value)

Output only. The recent clone jobs performed on the migrating VM. This field holds the vm's last completed clone job and the vm's running clone job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17;

Parameter
NameDescription
valueCloneJob
Returns
TypeDescription
MigratingVm.Builder

addRecentCloneJobs(CloneJob.Builder builderForValue)

public MigratingVm.Builder addRecentCloneJobs(CloneJob.Builder builderForValue)

Output only. The recent clone jobs performed on the migrating VM. This field holds the vm's last completed clone job and the vm's running clone job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17;

Parameter
NameDescription
builderForValueCloneJob.Builder
Returns
TypeDescription
MigratingVm.Builder

addRecentCloneJobs(int index, CloneJob value)

public MigratingVm.Builder addRecentCloneJobs(int index, CloneJob value)

Output only. The recent clone jobs performed on the migrating VM. This field holds the vm's last completed clone job and the vm's running clone job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17;

Parameters
NameDescription
indexint
valueCloneJob
Returns
TypeDescription
MigratingVm.Builder

addRecentCloneJobs(int index, CloneJob.Builder builderForValue)

public MigratingVm.Builder addRecentCloneJobs(int index, CloneJob.Builder builderForValue)

Output only. The recent clone jobs performed on the migrating VM. This field holds the vm's last completed clone job and the vm's running clone job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17;

Parameters
NameDescription
indexint
builderForValueCloneJob.Builder
Returns
TypeDescription
MigratingVm.Builder

addRecentCloneJobsBuilder()

public CloneJob.Builder addRecentCloneJobsBuilder()

Output only. The recent clone jobs performed on the migrating VM. This field holds the vm's last completed clone job and the vm's running clone job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17;

Returns
TypeDescription
CloneJob.Builder

addRecentCloneJobsBuilder(int index)

public CloneJob.Builder addRecentCloneJobsBuilder(int index)

Output only. The recent clone jobs performed on the migrating VM. This field holds the vm's last completed clone job and the vm's running clone job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17;

Parameter
NameDescription
indexint
Returns
TypeDescription
CloneJob.Builder

addRecentCutoverJobs(CutoverJob value)

public MigratingVm.Builder addRecentCutoverJobs(CutoverJob value)

Output only. The recent cutover jobs performed on the migrating VM. This field holds the vm's last completed cutover job and the vm's running cutover job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20;

Parameter
NameDescription
valueCutoverJob
Returns
TypeDescription
MigratingVm.Builder

addRecentCutoverJobs(CutoverJob.Builder builderForValue)

public MigratingVm.Builder addRecentCutoverJobs(CutoverJob.Builder builderForValue)

Output only. The recent cutover jobs performed on the migrating VM. This field holds the vm's last completed cutover job and the vm's running cutover job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20;

Parameter
NameDescription
builderForValueCutoverJob.Builder
Returns
TypeDescription
MigratingVm.Builder

addRecentCutoverJobs(int index, CutoverJob value)

public MigratingVm.Builder addRecentCutoverJobs(int index, CutoverJob value)

Output only. The recent cutover jobs performed on the migrating VM. This field holds the vm's last completed cutover job and the vm's running cutover job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20;

Parameters
NameDescription
indexint
valueCutoverJob
Returns
TypeDescription
MigratingVm.Builder

addRecentCutoverJobs(int index, CutoverJob.Builder builderForValue)

public MigratingVm.Builder addRecentCutoverJobs(int index, CutoverJob.Builder builderForValue)

Output only. The recent cutover jobs performed on the migrating VM. This field holds the vm's last completed cutover job and the vm's running cutover job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20;

Parameters
NameDescription
indexint
builderForValueCutoverJob.Builder
Returns
TypeDescription
MigratingVm.Builder

addRecentCutoverJobsBuilder()

public CutoverJob.Builder addRecentCutoverJobsBuilder()

Output only. The recent cutover jobs performed on the migrating VM. This field holds the vm's last completed cutover job and the vm's running cutover job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20;

Returns
TypeDescription
CutoverJob.Builder

addRecentCutoverJobsBuilder(int index)

public CutoverJob.Builder addRecentCutoverJobsBuilder(int index)

Output only. The recent cutover jobs performed on the migrating VM. This field holds the vm's last completed cutover job and the vm's running cutover job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20;

Parameter
NameDescription
indexint
Returns
TypeDescription
CutoverJob.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MigratingVm build()
Returns
TypeDescription
MigratingVm

buildPartial()

public MigratingVm buildPartial()
Returns
TypeDescription
MigratingVm

clear()

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

clearAwsSourceVmDetails()

public MigratingVm.Builder clearAwsSourceVmDetails()

Output only. Details of the VM from an AWS source.

.google.events.cloud.vmmigration.v1.AwsSourceVmDetails aws_source_vm_details = 29;

Returns
TypeDescription
MigratingVm.Builder

clearComputeEngineTargetDefaults()

public MigratingVm.Builder clearComputeEngineTargetDefaults()

Details of the target VM in Compute Engine.

.google.events.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26;

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

Returns
TypeDescription
MigratingVm.Builder

clearCurrentSyncInfo()

public MigratingVm.Builder clearCurrentSyncInfo()

Output only. Details of the current running replication cycle.

.google.events.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13;

Returns
TypeDescription
MigratingVm.Builder

clearCutoverForecast()

public MigratingVm.Builder clearCutoverForecast()

Output only. Provides details of future CutoverJobs of a MigratingVm. Set to empty when cutover forecast is unavailable.

.google.events.cloud.vmmigration.v1.CutoverForecast cutover_forecast = 33;

Returns
TypeDescription
MigratingVm.Builder

clearDescription()

public MigratingVm.Builder clearDescription()

The description attached to the migrating VM by the user.

string description = 3;

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

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

Returns
TypeDescription
MigratingVm.Builder

clearField(Descriptors.FieldDescriptor field)

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

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;

Returns
TypeDescription
MigratingVm.Builder

This builder for chaining.

clearLabels()

public MigratingVm.Builder clearLabels()
Returns
TypeDescription
MigratingVm.Builder

clearLastReplicationCycle()

public MigratingVm.Builder clearLastReplicationCycle()

Output only. Details of the last replication cycle. This will be updated whenever a replication cycle is finished and is not to be confused with last_sync which is only updated on successful replication cycles.

.google.events.cloud.vmmigration.v1.ReplicationCycle last_replication_cycle = 32;

Returns
TypeDescription
MigratingVm.Builder

clearLastSync()

public MigratingVm.Builder clearLastSync()

Output only. The most updated snapshot created time in the source that finished replication.

.google.events.cloud.vmmigration.v1.ReplicationSync last_sync = 11;

Returns
TypeDescription
MigratingVm.Builder

clearName()

public MigratingVm.Builder clearName()

Output only. The identifier of the MigratingVm.

string name = 1;

Returns
TypeDescription
MigratingVm.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPolicy()

public MigratingVm.Builder clearPolicy()

The replication schedule policy.

.google.events.cloud.vmmigration.v1.SchedulePolicy policy = 8;

Returns
TypeDescription
MigratingVm.Builder

clearRecentCloneJobs()

public MigratingVm.Builder clearRecentCloneJobs()

Output only. The recent clone jobs performed on the migrating VM. This field holds the vm's last completed clone job and the vm's running clone job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17;

Returns
TypeDescription
MigratingVm.Builder

clearRecentCutoverJobs()

public MigratingVm.Builder clearRecentCutoverJobs()

Output only. The recent cutover jobs performed on the migrating VM. This field holds the vm's last completed cutover job and the vm's running cutover job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20;

Returns
TypeDescription
MigratingVm.Builder

clearSourceVmDetails()

public MigratingVm.Builder clearSourceVmDetails()
Returns
TypeDescription
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;

Returns
TypeDescription
MigratingVm.Builder

This builder for chaining.

clearState()

public MigratingVm.Builder clearState()

Output only. State of the MigratingVm.

.google.events.cloud.vmmigration.v1.MigratingVm.State state = 23;

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

Returns
TypeDescription
MigratingVm.Builder

clearTargetVmDefaults()

public MigratingVm.Builder clearTargetVmDefaults()
Returns
TypeDescription
MigratingVm.Builder

clearUpdateTime()

public MigratingVm.Builder clearUpdateTime()

Output only. The last time the migrating VM resource was updated.

.google.protobuf.Timestamp update_time = 10;

Returns
TypeDescription
MigratingVm.Builder

clone()

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

containsLabels(String key)

public boolean containsLabels(String key)

The labels of the migrating VM.

map<string, string> labels = 16;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAwsSourceVmDetails()

public AwsSourceVmDetails getAwsSourceVmDetails()

Output only. Details of the VM from an AWS source.

.google.events.cloud.vmmigration.v1.AwsSourceVmDetails aws_source_vm_details = 29;

Returns
TypeDescription
AwsSourceVmDetails

The awsSourceVmDetails.

getAwsSourceVmDetailsBuilder()

public AwsSourceVmDetails.Builder getAwsSourceVmDetailsBuilder()

Output only. Details of the VM from an AWS source.

.google.events.cloud.vmmigration.v1.AwsSourceVmDetails aws_source_vm_details = 29;

Returns
TypeDescription
AwsSourceVmDetails.Builder

getAwsSourceVmDetailsOrBuilder()

public AwsSourceVmDetailsOrBuilder getAwsSourceVmDetailsOrBuilder()

Output only. Details of the VM from an AWS source.

.google.events.cloud.vmmigration.v1.AwsSourceVmDetails aws_source_vm_details = 29;

Returns
TypeDescription
AwsSourceVmDetailsOrBuilder

getComputeEngineTargetDefaults()

public ComputeEngineTargetDefaults getComputeEngineTargetDefaults()

Details of the target VM in Compute Engine.

.google.events.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26;

Returns
TypeDescription
ComputeEngineTargetDefaults

The computeEngineTargetDefaults.

getComputeEngineTargetDefaultsBuilder()

public ComputeEngineTargetDefaults.Builder getComputeEngineTargetDefaultsBuilder()

Details of the target VM in Compute Engine.

.google.events.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26;

Returns
TypeDescription
ComputeEngineTargetDefaults.Builder

getComputeEngineTargetDefaultsOrBuilder()

public ComputeEngineTargetDefaultsOrBuilder getComputeEngineTargetDefaultsOrBuilder()

Details of the target VM in Compute Engine.

.google.events.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26;

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

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

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

Returns
TypeDescription
TimestampOrBuilder

getCurrentSyncInfo()

public ReplicationCycle getCurrentSyncInfo()

Output only. Details of the current running replication cycle.

.google.events.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13;

Returns
TypeDescription
ReplicationCycle

The currentSyncInfo.

getCurrentSyncInfoBuilder()

public ReplicationCycle.Builder getCurrentSyncInfoBuilder()

Output only. Details of the current running replication cycle.

.google.events.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13;

Returns
TypeDescription
ReplicationCycle.Builder

getCurrentSyncInfoOrBuilder()

public ReplicationCycleOrBuilder getCurrentSyncInfoOrBuilder()

Output only. Details of the current running replication cycle.

.google.events.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13;

Returns
TypeDescription
ReplicationCycleOrBuilder

getCutoverForecast()

public CutoverForecast getCutoverForecast()

Output only. Provides details of future CutoverJobs of a MigratingVm. Set to empty when cutover forecast is unavailable.

.google.events.cloud.vmmigration.v1.CutoverForecast cutover_forecast = 33;

Returns
TypeDescription
CutoverForecast

The cutoverForecast.

getCutoverForecastBuilder()

public CutoverForecast.Builder getCutoverForecastBuilder()

Output only. Provides details of future CutoverJobs of a MigratingVm. Set to empty when cutover forecast is unavailable.

.google.events.cloud.vmmigration.v1.CutoverForecast cutover_forecast = 33;

Returns
TypeDescription
CutoverForecast.Builder

getCutoverForecastOrBuilder()

public CutoverForecastOrBuilder getCutoverForecastOrBuilder()

Output only. Provides details of future CutoverJobs of a MigratingVm. Set to empty when cutover forecast is unavailable.

.google.events.cloud.vmmigration.v1.CutoverForecast cutover_forecast = 33;

Returns
TypeDescription
CutoverForecastOrBuilder

getDefaultInstanceForType()

public MigratingVm getDefaultInstanceForType()
Returns
TypeDescription
MigratingVm

getDescription()

public String getDescription()

The description attached to the migrating VM by the user.

string description = 3;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The description attached to the migrating VM by the user.

string description = 3;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

The display name attached to the MigratingVm by the user.

string display_name = 18;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The display name attached to the MigratingVm by the user.

string display_name = 18;

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

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

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

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

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

Returns
TypeDescription
ByteString

The bytes for group.

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

The labels of the migrating VM.

map<string, string> labels = 16;

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

The labels of the migrating VM.

map<string, string> labels = 16;

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

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

The labels of the migrating VM.

map<string, string> labels = 16;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getLastReplicationCycle()

public ReplicationCycle getLastReplicationCycle()

Output only. Details of the last replication cycle. This will be updated whenever a replication cycle is finished and is not to be confused with last_sync which is only updated on successful replication cycles.

.google.events.cloud.vmmigration.v1.ReplicationCycle last_replication_cycle = 32;

Returns
TypeDescription
ReplicationCycle

The lastReplicationCycle.

getLastReplicationCycleBuilder()

public ReplicationCycle.Builder getLastReplicationCycleBuilder()

Output only. Details of the last replication cycle. This will be updated whenever a replication cycle is finished and is not to be confused with last_sync which is only updated on successful replication cycles.

.google.events.cloud.vmmigration.v1.ReplicationCycle last_replication_cycle = 32;

Returns
TypeDescription
ReplicationCycle.Builder

getLastReplicationCycleOrBuilder()

public ReplicationCycleOrBuilder getLastReplicationCycleOrBuilder()

Output only. Details of the last replication cycle. This will be updated whenever a replication cycle is finished and is not to be confused with last_sync which is only updated on successful replication cycles.

.google.events.cloud.vmmigration.v1.ReplicationCycle last_replication_cycle = 32;

Returns
TypeDescription
ReplicationCycleOrBuilder

getLastSync()

public ReplicationSync getLastSync()

Output only. The most updated snapshot created time in the source that finished replication.

.google.events.cloud.vmmigration.v1.ReplicationSync last_sync = 11;

Returns
TypeDescription
ReplicationSync

The lastSync.

getLastSyncBuilder()

public ReplicationSync.Builder getLastSyncBuilder()

Output only. The most updated snapshot created time in the source that finished replication.

.google.events.cloud.vmmigration.v1.ReplicationSync last_sync = 11;

Returns
TypeDescription
ReplicationSync.Builder

getLastSyncOrBuilder()

public ReplicationSyncOrBuilder getLastSyncOrBuilder()

Output only. The most updated snapshot created time in the source that finished replication.

.google.events.cloud.vmmigration.v1.ReplicationSync last_sync = 11;

Returns
TypeDescription
ReplicationSyncOrBuilder

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getName()

public String getName()

Output only. The identifier of the MigratingVm.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The identifier of the MigratingVm.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getPolicy()

public SchedulePolicy getPolicy()

The replication schedule policy.

.google.events.cloud.vmmigration.v1.SchedulePolicy policy = 8;

Returns
TypeDescription
SchedulePolicy

The policy.

getPolicyBuilder()

public SchedulePolicy.Builder getPolicyBuilder()

The replication schedule policy.

.google.events.cloud.vmmigration.v1.SchedulePolicy policy = 8;

Returns
TypeDescription
SchedulePolicy.Builder

getPolicyOrBuilder()

public SchedulePolicyOrBuilder getPolicyOrBuilder()

The replication schedule policy.

.google.events.cloud.vmmigration.v1.SchedulePolicy policy = 8;

Returns
TypeDescription
SchedulePolicyOrBuilder

getRecentCloneJobs(int index)

public CloneJob getRecentCloneJobs(int index)

Output only. The recent clone jobs performed on the migrating VM. This field holds the vm's last completed clone job and the vm's running clone job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17;

Parameter
NameDescription
indexint
Returns
TypeDescription
CloneJob

getRecentCloneJobsBuilder(int index)

public CloneJob.Builder getRecentCloneJobsBuilder(int index)

Output only. The recent clone jobs performed on the migrating VM. This field holds the vm's last completed clone job and the vm's running clone job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17;

Parameter
NameDescription
indexint
Returns
TypeDescription
CloneJob.Builder

getRecentCloneJobsBuilderList()

public List<CloneJob.Builder> getRecentCloneJobsBuilderList()

Output only. The recent clone jobs performed on the migrating VM. This field holds the vm's last completed clone job and the vm's running clone job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17;

Returns
TypeDescription
List<Builder>

getRecentCloneJobsCount()

public int getRecentCloneJobsCount()

Output only. The recent clone jobs performed on the migrating VM. This field holds the vm's last completed clone job and the vm's running clone job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17;

Returns
TypeDescription
int

getRecentCloneJobsList()

public List<CloneJob> getRecentCloneJobsList()

Output only. The recent clone jobs performed on the migrating VM. This field holds the vm's last completed clone job and the vm's running clone job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17;

Returns
TypeDescription
List<CloneJob>

getRecentCloneJobsOrBuilder(int index)

public CloneJobOrBuilder getRecentCloneJobsOrBuilder(int index)

Output only. The recent clone jobs performed on the migrating VM. This field holds the vm's last completed clone job and the vm's running clone job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17;

Parameter
NameDescription
indexint
Returns
TypeDescription
CloneJobOrBuilder

getRecentCloneJobsOrBuilderList()

public List<? extends CloneJobOrBuilder> getRecentCloneJobsOrBuilderList()

Output only. The recent clone jobs performed on the migrating VM. This field holds the vm's last completed clone job and the vm's running clone job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17;

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

getRecentCutoverJobs(int index)

public CutoverJob getRecentCutoverJobs(int index)

Output only. The recent cutover jobs performed on the migrating VM. This field holds the vm's last completed cutover job and the vm's running cutover job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20;

Parameter
NameDescription
indexint
Returns
TypeDescription
CutoverJob

getRecentCutoverJobsBuilder(int index)

public CutoverJob.Builder getRecentCutoverJobsBuilder(int index)

Output only. The recent cutover jobs performed on the migrating VM. This field holds the vm's last completed cutover job and the vm's running cutover job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20;

Parameter
NameDescription
indexint
Returns
TypeDescription
CutoverJob.Builder

getRecentCutoverJobsBuilderList()

public List<CutoverJob.Builder> getRecentCutoverJobsBuilderList()

Output only. The recent cutover jobs performed on the migrating VM. This field holds the vm's last completed cutover job and the vm's running cutover job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20;

Returns
TypeDescription
List<Builder>

getRecentCutoverJobsCount()

public int getRecentCutoverJobsCount()

Output only. The recent cutover jobs performed on the migrating VM. This field holds the vm's last completed cutover job and the vm's running cutover job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20;

Returns
TypeDescription
int

getRecentCutoverJobsList()

public List<CutoverJob> getRecentCutoverJobsList()

Output only. The recent cutover jobs performed on the migrating VM. This field holds the vm's last completed cutover job and the vm's running cutover job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20;

Returns
TypeDescription
List<CutoverJob>

getRecentCutoverJobsOrBuilder(int index)

public CutoverJobOrBuilder getRecentCutoverJobsOrBuilder(int index)

Output only. The recent cutover jobs performed on the migrating VM. This field holds the vm's last completed cutover job and the vm's running cutover job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20;

Parameter
NameDescription
indexint
Returns
TypeDescription
CutoverJobOrBuilder

getRecentCutoverJobsOrBuilderList()

public List<? extends CutoverJobOrBuilder> getRecentCutoverJobsOrBuilderList()

Output only. The recent cutover jobs performed on the migrating VM. This field holds the vm's last completed cutover job and the vm's running cutover job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20;

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

getSourceVmDetailsCase()

public MigratingVm.SourceVmDetailsCase getSourceVmDetailsCase()
Returns
TypeDescription
MigratingVm.SourceVmDetailsCase

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;

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

Returns
TypeDescription
ByteString

The bytes for sourceVmId.

getState()

public MigratingVm.State getState()

Output only. State of the MigratingVm.

.google.events.cloud.vmmigration.v1.MigratingVm.State state = 23;

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

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

Returns
TypeDescription
Builder

getStateTimeOrBuilder()

public TimestampOrBuilder getStateTimeOrBuilder()

Output only. The last time the migrating VM state was updated.

.google.protobuf.Timestamp state_time = 22;

Returns
TypeDescription
TimestampOrBuilder

getStateValue()

public int getStateValue()

Output only. State of the MigratingVm.

.google.events.cloud.vmmigration.v1.MigratingVm.State state = 23;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getTargetVmDefaultsCase()

public MigratingVm.TargetVmDefaultsCase getTargetVmDefaultsCase()
Returns
TypeDescription
MigratingVm.TargetVmDefaultsCase

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The last time the migrating VM resource was updated.

.google.protobuf.Timestamp update_time = 10;

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

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The last time the migrating VM resource was updated.

.google.protobuf.Timestamp update_time = 10;

Returns
TypeDescription
TimestampOrBuilder

hasAwsSourceVmDetails()

public boolean hasAwsSourceVmDetails()

Output only. Details of the VM from an AWS source.

.google.events.cloud.vmmigration.v1.AwsSourceVmDetails aws_source_vm_details = 29;

Returns
TypeDescription
boolean

Whether the awsSourceVmDetails field is set.

hasComputeEngineTargetDefaults()

public boolean hasComputeEngineTargetDefaults()

Details of the target VM in Compute Engine.

.google.events.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26;

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

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasCurrentSyncInfo()

public boolean hasCurrentSyncInfo()

Output only. Details of the current running replication cycle.

.google.events.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13;

Returns
TypeDescription
boolean

Whether the currentSyncInfo field is set.

hasCutoverForecast()

public boolean hasCutoverForecast()

Output only. Provides details of future CutoverJobs of a MigratingVm. Set to empty when cutover forecast is unavailable.

.google.events.cloud.vmmigration.v1.CutoverForecast cutover_forecast = 33;

Returns
TypeDescription
boolean

Whether the cutoverForecast 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;

Returns
TypeDescription
boolean

Whether the error field is set.

hasLastReplicationCycle()

public boolean hasLastReplicationCycle()

Output only. Details of the last replication cycle. This will be updated whenever a replication cycle is finished and is not to be confused with last_sync which is only updated on successful replication cycles.

.google.events.cloud.vmmigration.v1.ReplicationCycle last_replication_cycle = 32;

Returns
TypeDescription
boolean

Whether the lastReplicationCycle field is set.

hasLastSync()

public boolean hasLastSync()

Output only. The most updated snapshot created time in the source that finished replication.

.google.events.cloud.vmmigration.v1.ReplicationSync last_sync = 11;

Returns
TypeDescription
boolean

Whether the lastSync field is set.

hasPolicy()

public boolean hasPolicy()

The replication schedule policy.

.google.events.cloud.vmmigration.v1.SchedulePolicy policy = 8;

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

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

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAwsSourceVmDetails(AwsSourceVmDetails value)

public MigratingVm.Builder mergeAwsSourceVmDetails(AwsSourceVmDetails value)

Output only. Details of the VM from an AWS source.

.google.events.cloud.vmmigration.v1.AwsSourceVmDetails aws_source_vm_details = 29;

Parameter
NameDescription
valueAwsSourceVmDetails
Returns
TypeDescription
MigratingVm.Builder

mergeComputeEngineTargetDefaults(ComputeEngineTargetDefaults value)

public MigratingVm.Builder mergeComputeEngineTargetDefaults(ComputeEngineTargetDefaults value)

Details of the target VM in Compute Engine.

.google.events.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26;

Parameter
NameDescription
valueComputeEngineTargetDefaults
Returns
TypeDescription
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;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
MigratingVm.Builder

mergeCurrentSyncInfo(ReplicationCycle value)

public MigratingVm.Builder mergeCurrentSyncInfo(ReplicationCycle value)

Output only. Details of the current running replication cycle.

.google.events.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13;

Parameter
NameDescription
valueReplicationCycle
Returns
TypeDescription
MigratingVm.Builder

mergeCutoverForecast(CutoverForecast value)

public MigratingVm.Builder mergeCutoverForecast(CutoverForecast value)

Output only. Provides details of future CutoverJobs of a MigratingVm. Set to empty when cutover forecast is unavailable.

.google.events.cloud.vmmigration.v1.CutoverForecast cutover_forecast = 33;

Parameter
NameDescription
valueCutoverForecast
Returns
TypeDescription
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;

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

mergeFrom(MigratingVm other)

public MigratingVm.Builder mergeFrom(MigratingVm other)
Parameter
NameDescription
otherMigratingVm
Returns
TypeDescription
MigratingVm.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLastReplicationCycle(ReplicationCycle value)

public MigratingVm.Builder mergeLastReplicationCycle(ReplicationCycle value)

Output only. Details of the last replication cycle. This will be updated whenever a replication cycle is finished and is not to be confused with last_sync which is only updated on successful replication cycles.

.google.events.cloud.vmmigration.v1.ReplicationCycle last_replication_cycle = 32;

Parameter
NameDescription
valueReplicationCycle
Returns
TypeDescription
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.events.cloud.vmmigration.v1.ReplicationSync last_sync = 11;

Parameter
NameDescription
valueReplicationSync
Returns
TypeDescription
MigratingVm.Builder

mergePolicy(SchedulePolicy value)

public MigratingVm.Builder mergePolicy(SchedulePolicy value)

The replication schedule policy.

.google.events.cloud.vmmigration.v1.SchedulePolicy policy = 8;

Parameter
NameDescription
valueSchedulePolicy
Returns
TypeDescription
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;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
MigratingVm.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
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;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
MigratingVm.Builder

removeLabels(String key)

public MigratingVm.Builder removeLabels(String key)

The labels of the migrating VM.

map<string, string> labels = 16;

Parameter
NameDescription
keyString
Returns
TypeDescription
MigratingVm.Builder

removeRecentCloneJobs(int index)

public MigratingVm.Builder removeRecentCloneJobs(int index)

Output only. The recent clone jobs performed on the migrating VM. This field holds the vm's last completed clone job and the vm's running clone job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17;

Parameter
NameDescription
indexint
Returns
TypeDescription
MigratingVm.Builder

removeRecentCutoverJobs(int index)

public MigratingVm.Builder removeRecentCutoverJobs(int index)

Output only. The recent cutover jobs performed on the migrating VM. This field holds the vm's last completed cutover job and the vm's running cutover job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20;

Parameter
NameDescription
indexint
Returns
TypeDescription
MigratingVm.Builder

setAwsSourceVmDetails(AwsSourceVmDetails value)

public MigratingVm.Builder setAwsSourceVmDetails(AwsSourceVmDetails value)

Output only. Details of the VM from an AWS source.

.google.events.cloud.vmmigration.v1.AwsSourceVmDetails aws_source_vm_details = 29;

Parameter
NameDescription
valueAwsSourceVmDetails
Returns
TypeDescription
MigratingVm.Builder

setAwsSourceVmDetails(AwsSourceVmDetails.Builder builderForValue)

public MigratingVm.Builder setAwsSourceVmDetails(AwsSourceVmDetails.Builder builderForValue)

Output only. Details of the VM from an AWS source.

.google.events.cloud.vmmigration.v1.AwsSourceVmDetails aws_source_vm_details = 29;

Parameter
NameDescription
builderForValueAwsSourceVmDetails.Builder
Returns
TypeDescription
MigratingVm.Builder

setComputeEngineTargetDefaults(ComputeEngineTargetDefaults value)

public MigratingVm.Builder setComputeEngineTargetDefaults(ComputeEngineTargetDefaults value)

Details of the target VM in Compute Engine.

.google.events.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26;

Parameter
NameDescription
valueComputeEngineTargetDefaults
Returns
TypeDescription
MigratingVm.Builder

setComputeEngineTargetDefaults(ComputeEngineTargetDefaults.Builder builderForValue)

public MigratingVm.Builder setComputeEngineTargetDefaults(ComputeEngineTargetDefaults.Builder builderForValue)

Details of the target VM in Compute Engine.

.google.events.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26;

Parameter
NameDescription
builderForValueComputeEngineTargetDefaults.Builder
Returns
TypeDescription
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;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
MigratingVm.Builder

setCurrentSyncInfo(ReplicationCycle value)

public MigratingVm.Builder setCurrentSyncInfo(ReplicationCycle value)

Output only. Details of the current running replication cycle.

.google.events.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13;

Parameter
NameDescription
valueReplicationCycle
Returns
TypeDescription
MigratingVm.Builder

setCurrentSyncInfo(ReplicationCycle.Builder builderForValue)

public MigratingVm.Builder setCurrentSyncInfo(ReplicationCycle.Builder builderForValue)

Output only. Details of the current running replication cycle.

.google.events.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13;

Parameter
NameDescription
builderForValueReplicationCycle.Builder
Returns
TypeDescription
MigratingVm.Builder

setCutoverForecast(CutoverForecast value)

public MigratingVm.Builder setCutoverForecast(CutoverForecast value)

Output only. Provides details of future CutoverJobs of a MigratingVm. Set to empty when cutover forecast is unavailable.

.google.events.cloud.vmmigration.v1.CutoverForecast cutover_forecast = 33;

Parameter
NameDescription
valueCutoverForecast
Returns
TypeDescription
MigratingVm.Builder

setCutoverForecast(CutoverForecast.Builder builderForValue)

public MigratingVm.Builder setCutoverForecast(CutoverForecast.Builder builderForValue)

Output only. Provides details of future CutoverJobs of a MigratingVm. Set to empty when cutover forecast is unavailable.

.google.events.cloud.vmmigration.v1.CutoverForecast cutover_forecast = 33;

Parameter
NameDescription
builderForValueCutoverForecast.Builder
Returns
TypeDescription
MigratingVm.Builder

setDescription(String value)

public MigratingVm.Builder setDescription(String value)

The description attached to the migrating VM by the user.

string description = 3;

Parameter
NameDescription
valueString

The description to set.

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

Parameter
NameDescription
valueByteString

The bytes for description to set.

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

Parameter
NameDescription
valueString

The displayName to set.

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

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

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

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
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;

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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;

Parameter
NameDescription
valueString

The group to set.

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

Parameter
NameDescription
valueByteString

The bytes for group to set.

Returns
TypeDescription
MigratingVm.Builder

This builder for chaining.

setLastReplicationCycle(ReplicationCycle value)

public MigratingVm.Builder setLastReplicationCycle(ReplicationCycle value)

Output only. Details of the last replication cycle. This will be updated whenever a replication cycle is finished and is not to be confused with last_sync which is only updated on successful replication cycles.

.google.events.cloud.vmmigration.v1.ReplicationCycle last_replication_cycle = 32;

Parameter
NameDescription
valueReplicationCycle
Returns
TypeDescription
MigratingVm.Builder

setLastReplicationCycle(ReplicationCycle.Builder builderForValue)

public MigratingVm.Builder setLastReplicationCycle(ReplicationCycle.Builder builderForValue)

Output only. Details of the last replication cycle. This will be updated whenever a replication cycle is finished and is not to be confused with last_sync which is only updated on successful replication cycles.

.google.events.cloud.vmmigration.v1.ReplicationCycle last_replication_cycle = 32;

Parameter
NameDescription
builderForValueReplicationCycle.Builder
Returns
TypeDescription
MigratingVm.Builder

setLastSync(ReplicationSync value)

public MigratingVm.Builder setLastSync(ReplicationSync value)

Output only. The most updated snapshot created time in the source that finished replication.

.google.events.cloud.vmmigration.v1.ReplicationSync last_sync = 11;

Parameter
NameDescription
valueReplicationSync
Returns
TypeDescription
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.events.cloud.vmmigration.v1.ReplicationSync last_sync = 11;

Parameter
NameDescription
builderForValueReplicationSync.Builder
Returns
TypeDescription
MigratingVm.Builder

setName(String value)

public MigratingVm.Builder setName(String value)

Output only. The identifier of the MigratingVm.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
MigratingVm.Builder

This builder for chaining.

setPolicy(SchedulePolicy value)

public MigratingVm.Builder setPolicy(SchedulePolicy value)

The replication schedule policy.

.google.events.cloud.vmmigration.v1.SchedulePolicy policy = 8;

Parameter
NameDescription
valueSchedulePolicy
Returns
TypeDescription
MigratingVm.Builder

setPolicy(SchedulePolicy.Builder builderForValue)

public MigratingVm.Builder setPolicy(SchedulePolicy.Builder builderForValue)

The replication schedule policy.

.google.events.cloud.vmmigration.v1.SchedulePolicy policy = 8;

Parameter
NameDescription
builderForValueSchedulePolicy.Builder
Returns
TypeDescription
MigratingVm.Builder

setRecentCloneJobs(int index, CloneJob value)

public MigratingVm.Builder setRecentCloneJobs(int index, CloneJob value)

Output only. The recent clone jobs performed on the migrating VM. This field holds the vm's last completed clone job and the vm's running clone job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17;

Parameters
NameDescription
indexint
valueCloneJob
Returns
TypeDescription
MigratingVm.Builder

setRecentCloneJobs(int index, CloneJob.Builder builderForValue)

public MigratingVm.Builder setRecentCloneJobs(int index, CloneJob.Builder builderForValue)

Output only. The recent clone jobs performed on the migrating VM. This field holds the vm's last completed clone job and the vm's running clone job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17;

Parameters
NameDescription
indexint
builderForValueCloneJob.Builder
Returns
TypeDescription
MigratingVm.Builder

setRecentCutoverJobs(int index, CutoverJob value)

public MigratingVm.Builder setRecentCutoverJobs(int index, CutoverJob value)

Output only. The recent cutover jobs performed on the migrating VM. This field holds the vm's last completed cutover job and the vm's running cutover job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20;

Parameters
NameDescription
indexint
valueCutoverJob
Returns
TypeDescription
MigratingVm.Builder

setRecentCutoverJobs(int index, CutoverJob.Builder builderForValue)

public MigratingVm.Builder setRecentCutoverJobs(int index, CutoverJob.Builder builderForValue)

Output only. The recent cutover jobs performed on the migrating VM. This field holds the vm's last completed cutover job and the vm's running cutover job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.

repeated .google.events.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20;

Parameters
NameDescription
indexint
builderForValueCutoverJob.Builder
Returns
TypeDescription
MigratingVm.Builder

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

public MigratingVm.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
MigratingVm.Builder
Overrides

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;

Parameter
NameDescription
valueString

The sourceVmId to set.

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

Parameter
NameDescription
valueByteString

The bytes for sourceVmId to set.

Returns
TypeDescription
MigratingVm.Builder

This builder for chaining.

setState(MigratingVm.State value)

public MigratingVm.Builder setState(MigratingVm.State value)

Output only. State of the MigratingVm.

.google.events.cloud.vmmigration.v1.MigratingVm.State state = 23;

Parameter
NameDescription
valueMigratingVm.State

The state to set.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
MigratingVm.Builder

setStateValue(int value)

public MigratingVm.Builder setStateValue(int value)

Output only. State of the MigratingVm.

.google.events.cloud.vmmigration.v1.MigratingVm.State state = 23;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
MigratingVm.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

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;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
MigratingVm.Builder