Interface MigratingVmOrBuilder (0.14.1)

public interface MigratingVmOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

The labels of the migrating VM.

map<string, string> labels = 16;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAwsSourceVmDetails()

public abstract 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.

getAwsSourceVmDetailsOrBuilder()

public abstract 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 abstract 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.

getComputeEngineTargetDefaultsOrBuilder()

public abstract 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 abstract 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.

getCreateTimeOrBuilder()

public abstract 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 abstract 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.

getCurrentSyncInfoOrBuilder()

public abstract 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 abstract 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.

getCutoverForecastOrBuilder()

public abstract 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

getDescription()

public abstract String getDescription()

The description attached to the migrating VM by the user.

string description = 3;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

The description attached to the migrating VM by the user.

string description = 3;

Returns
TypeDescription
ByteString

The bytes for description.

getDisplayName()

public abstract String getDisplayName()

The display name attached to the MigratingVm by the user.

string display_name = 18;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract 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 abstract 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.

getErrorOrBuilder()

public abstract 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 abstract 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 abstract 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 abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

The labels of the migrating VM.

map<string, string> labels = 16;

Returns
TypeDescription
int

getLabelsMap()

public abstract 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 abstract 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 abstract String getLabelsOrThrow(String key)

The labels of the migrating VM.

map<string, string> labels = 16;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getLastReplicationCycle()

public abstract 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.

getLastReplicationCycleOrBuilder()

public abstract 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 abstract 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.

getLastSyncOrBuilder()

public abstract 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

getName()

public abstract String getName()

Output only. The identifier of the MigratingVm.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The identifier of the MigratingVm.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getPolicy()

public abstract SchedulePolicy getPolicy()

The replication schedule policy.

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

Returns
TypeDescription
SchedulePolicy

The policy.

getPolicyOrBuilder()

public abstract SchedulePolicyOrBuilder getPolicyOrBuilder()

The replication schedule policy.

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

Returns
TypeDescription
SchedulePolicyOrBuilder

getRecentCloneJobs(int index)

public abstract 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

getRecentCloneJobsCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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

getRecentCutoverJobsCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract MigratingVm.SourceVmDetailsCase getSourceVmDetailsCase()
Returns
TypeDescription
MigratingVm.SourceVmDetailsCase

getSourceVmId()

public abstract 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 abstract 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 abstract 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 abstract Timestamp getStateTime()

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

.google.protobuf.Timestamp state_time = 22;

Returns
TypeDescription
Timestamp

The stateTime.

getStateTimeOrBuilder()

public abstract TimestampOrBuilder getStateTimeOrBuilder()

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

.google.protobuf.Timestamp state_time = 22;

Returns
TypeDescription
TimestampOrBuilder

getStateValue()

public abstract 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 abstract MigratingVm.TargetVmDefaultsCase getTargetVmDefaultsCase()
Returns
TypeDescription
MigratingVm.TargetVmDefaultsCase

getUpdateTime()

public abstract Timestamp getUpdateTime()

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

.google.protobuf.Timestamp update_time = 10;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

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

.google.protobuf.Timestamp update_time = 10;

Returns
TypeDescription
TimestampOrBuilder

hasAwsSourceVmDetails()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.