Package com.google.cloud.vmmigration.v1
Interface MigratingVmOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MigratingVm,MigratingVm.Builder
public interface MigratingVmOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)The labels of the migrating VM.AwsSourceVmDetailsgetAwsSourceVmDetails()Output only.AwsSourceVmDetailsOrBuildergetAwsSourceVmDetailsOrBuilder()Output only.ComputeEngineTargetDefaultsgetComputeEngineTargetDefaults()Details of the target VM in Compute Engine.ComputeEngineTargetDefaultsOrBuildergetComputeEngineTargetDefaultsOrBuilder()Details of the target VM in Compute Engine.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.ReplicationCyclegetCurrentSyncInfo()Output only.ReplicationCycleOrBuildergetCurrentSyncInfoOrBuilder()Output only.StringgetDescription()The description attached to the migrating VM by the user.com.google.protobuf.ByteStringgetDescriptionBytes()The description attached to the migrating VM by the user.StringgetDisplayName()The display name attached to the MigratingVm by the user.com.google.protobuf.ByteStringgetDisplayNameBytes()The display name attached to the MigratingVm by the user.com.google.rpc.StatusgetError()Output only.com.google.rpc.StatusOrBuildergetErrorOrBuilder()Output only.StringgetGroup()Output only.com.google.protobuf.ByteStringgetGroupBytes()Output only.Map<String,String>getLabels()Deprecated.intgetLabelsCount()The labels of the migrating VM.Map<String,String>getLabelsMap()The labels of the migrating VM.StringgetLabelsOrDefault(String key, String defaultValue)The labels of the migrating VM.StringgetLabelsOrThrow(String key)The labels of the migrating VM.ReplicationSyncgetLastSync()Output only.ReplicationSyncOrBuildergetLastSyncOrBuilder()Output only.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.SchedulePolicygetPolicy()The replication schedule policy.SchedulePolicyOrBuildergetPolicyOrBuilder()The replication schedule policy.CloneJobgetRecentCloneJobs(int index)Output only.intgetRecentCloneJobsCount()Output only.List<CloneJob>getRecentCloneJobsList()Output only.CloneJobOrBuildergetRecentCloneJobsOrBuilder(int index)Output only.List<? extends CloneJobOrBuilder>getRecentCloneJobsOrBuilderList()Output only.CutoverJobgetRecentCutoverJobs(int index)Output only.intgetRecentCutoverJobsCount()Output only.List<CutoverJob>getRecentCutoverJobsList()Output only.CutoverJobOrBuildergetRecentCutoverJobsOrBuilder(int index)Output only.List<? extends CutoverJobOrBuilder>getRecentCutoverJobsOrBuilderList()Output only.MigratingVm.SourceVmDetailsCasegetSourceVmDetailsCase()StringgetSourceVmId()The unique ID of the VM in the source.com.google.protobuf.ByteStringgetSourceVmIdBytes()The unique ID of the VM in the source.MigratingVm.StategetState()Output only.com.google.protobuf.TimestampgetStateTime()Output only.com.google.protobuf.TimestampOrBuildergetStateTimeOrBuilder()Output only.intgetStateValue()Output only.MigratingVm.TargetVmDefaultsCasegetTargetVmDefaultsCase()com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasAwsSourceVmDetails()Output only.booleanhasComputeEngineTargetDefaults()Details of the target VM in Compute Engine.booleanhasCreateTime()Output only.booleanhasCurrentSyncInfo()Output only.booleanhasError()Output only.booleanhasLastSync()Output only.booleanhasPolicy()The replication schedule policy.booleanhasStateTime()Output only.booleanhasUpdateTime()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasComputeEngineTargetDefaults
boolean hasComputeEngineTargetDefaults()
Details of the target VM in Compute Engine.
.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26;- Returns:
- Whether the computeEngineTargetDefaults field is set.
-
getComputeEngineTargetDefaults
ComputeEngineTargetDefaults getComputeEngineTargetDefaults()
Details of the target VM in Compute Engine.
.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26;- Returns:
- The computeEngineTargetDefaults.
-
getComputeEngineTargetDefaultsOrBuilder
ComputeEngineTargetDefaultsOrBuilder getComputeEngineTargetDefaultsOrBuilder()
Details of the target VM in Compute Engine.
.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26;
-
hasAwsSourceVmDetails
boolean hasAwsSourceVmDetails()
Output only. Details of the VM from an AWS source.
.google.cloud.vmmigration.v1.AwsSourceVmDetails aws_source_vm_details = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the awsSourceVmDetails field is set.
-
getAwsSourceVmDetails
AwsSourceVmDetails getAwsSourceVmDetails()
Output only. Details of the VM from an AWS source.
.google.cloud.vmmigration.v1.AwsSourceVmDetails aws_source_vm_details = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The awsSourceVmDetails.
-
getAwsSourceVmDetailsOrBuilder
AwsSourceVmDetailsOrBuilder getAwsSourceVmDetailsOrBuilder()
Output only. Details of the VM from an AWS source.
.google.cloud.vmmigration.v1.AwsSourceVmDetails aws_source_vm_details = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getName
String getName()
Output only. The identifier of the MigratingVm.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. The identifier of the MigratingVm.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for name.
-
getSourceVmId
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:
- The sourceVmId.
-
getSourceVmIdBytes
com.google.protobuf.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:
- The bytes for sourceVmId.
-
getDisplayName
String getDisplayName()
The display name attached to the MigratingVm by the user.
string display_name = 18;- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()
The display name attached to the MigratingVm by the user.
string display_name = 18;- Returns:
- The bytes for displayName.
-
getDescription
String getDescription()
The description attached to the migrating VM by the user.
string description = 3;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
The description attached to the migrating VM by the user.
string description = 3;- Returns:
- The bytes for description.
-
hasPolicy
boolean hasPolicy()
The replication schedule policy.
.google.cloud.vmmigration.v1.SchedulePolicy policy = 8;- Returns:
- Whether the policy field is set.
-
getPolicy
SchedulePolicy getPolicy()
The replication schedule policy.
.google.cloud.vmmigration.v1.SchedulePolicy policy = 8;- Returns:
- The policy.
-
getPolicyOrBuilder
SchedulePolicyOrBuilder getPolicyOrBuilder()
The replication schedule policy.
.google.cloud.vmmigration.v1.SchedulePolicy policy = 8;
-
hasCreateTime
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];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.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];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.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];
-
hasUpdateTime
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];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.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];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.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];
-
hasLastSync
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];- Returns:
- Whether the lastSync field is set.
-
getLastSync
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];- Returns:
- The lastSync.
-
getLastSyncOrBuilder
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];
-
getStateValue
int getStateValue()
Output only. State of the MigratingVm.
.google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
MigratingVm.State getState()
Output only. State of the MigratingVm.
.google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The state.
-
hasStateTime
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];- Returns:
- Whether the stateTime field is set.
-
getStateTime
com.google.protobuf.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];- Returns:
- The stateTime.
-
getStateTimeOrBuilder
com.google.protobuf.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];
-
hasCurrentSyncInfo
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];- Returns:
- Whether the currentSyncInfo field is set.
-
getCurrentSyncInfo
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];- Returns:
- The currentSyncInfo.
-
getCurrentSyncInfoOrBuilder
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];
-
getGroup
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][google.cloud.vmmigration.v1.Group] resource.
string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The group.
-
getGroupBytes
com.google.protobuf.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][google.cloud.vmmigration.v1.Group] resource.
string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for group.
-
getLabelsCount
int getLabelsCount()
The labels of the migrating VM.
map<string, string> labels = 16;
-
containsLabels
boolean containsLabels(String key)
The labels of the migrating VM.
map<string, string> labels = 16;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
The labels of the migrating VM.
map<string, string> labels = 16;
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
The labels of the migrating VM.
map<string, string> labels = 16;
-
getLabelsOrThrow
String getLabelsOrThrow(String key)
The labels of the migrating VM.
map<string, string> labels = 16;
-
getRecentCloneJobsList
List<CloneJob> getRecentCloneJobsList()
Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob] 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.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getRecentCloneJobs
CloneJob getRecentCloneJobs(int index)
Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob] 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.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getRecentCloneJobsCount
int getRecentCloneJobsCount()
Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob] 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.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getRecentCloneJobsOrBuilderList
List<? extends CloneJobOrBuilder> getRecentCloneJobsOrBuilderList()
Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob] 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.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getRecentCloneJobsOrBuilder
CloneJobOrBuilder getRecentCloneJobsOrBuilder(int index)
Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob] 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.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasError
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];- Returns:
- Whether the error field is set.
-
getError
com.google.rpc.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];- Returns:
- The error.
-
getErrorOrBuilder
com.google.rpc.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];
-
getRecentCutoverJobsList
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.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getRecentCutoverJobs
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.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getRecentCutoverJobsCount
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.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getRecentCutoverJobsOrBuilderList
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.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getRecentCutoverJobsOrBuilder
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.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getTargetVmDefaultsCase
MigratingVm.TargetVmDefaultsCase getTargetVmDefaultsCase()
-
getSourceVmDetailsCase
MigratingVm.SourceVmDetailsCase getSourceVmDetailsCase()
-
-