public final class MigratingVm extends GeneratedMessageV3 implements MigratingVmOrBuilder
MigratingVm describes the VM that will be migrated from a Source environment
and its replication state.
Protobuf type google.cloud.vmmigration.v1.MigratingVm
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
AWS_SOURCE_VM_DETAILS_FIELD_NUMBER
public static final int AWS_SOURCE_VM_DETAILS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
COMPUTE_ENGINE_TARGET_DEFAULTS_FIELD_NUMBER
public static final int COMPUTE_ENGINE_TARGET_DEFAULTS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CURRENT_SYNC_INFO_FIELD_NUMBER
public static final int CURRENT_SYNC_INFO_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
GROUP_FIELD_NUMBER
public static final int GROUP_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LAST_SYNC_FIELD_NUMBER
public static final int LAST_SYNC_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
POLICY_FIELD_NUMBER
public static final int POLICY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RECENT_CLONE_JOBS_FIELD_NUMBER
public static final int RECENT_CLONE_JOBS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RECENT_CUTOVER_JOBS_FIELD_NUMBER
public static final int RECENT_CUTOVER_JOBS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SOURCE_VM_ID_FIELD_NUMBER
public static final int SOURCE_VM_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATE_TIME_FIELD_NUMBER
public static final int STATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static MigratingVm getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MigratingVm.Builder newBuilder()
newBuilder(MigratingVm prototype)
public static MigratingVm.Builder newBuilder(MigratingVm prototype)
public static MigratingVm parseDelimitedFrom(InputStream input)
public static MigratingVm parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MigratingVm parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MigratingVm parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MigratingVm parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MigratingVm parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MigratingVm parseFrom(CodedInputStream input)
public static MigratingVm parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MigratingVm parseFrom(InputStream input)
public static MigratingVm parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MigratingVm parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MigratingVm parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MigratingVm> parser()
Methods
containsLabels(String key)
public boolean containsLabels(String key)
The labels of the migrating VM.
map<string, string> labels = 16;
Parameter |
Name |
Description |
key |
String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAwsSourceVmDetails()
public 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];
getAwsSourceVmDetailsOrBuilder()
public 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];
getComputeEngineTargetDefaults()
public ComputeEngineTargetDefaults getComputeEngineTargetDefaults()
Details of the target VM in Compute Engine.
.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26;
getComputeEngineTargetDefaultsOrBuilder()
public ComputeEngineTargetDefaultsOrBuilder getComputeEngineTargetDefaultsOrBuilder()
Details of the target VM in Compute Engine.
.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26;
getCreateTime()
public Timestamp getCreateTime()
Output only. The time the migrating VM was created (this refers to this
resource and not to the time it was installed in the source).
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time the migrating VM was created (this refers to this
resource and not to the time it was installed in the source).
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCurrentSyncInfo()
public ReplicationCycle getCurrentSyncInfo()
Output only. The percentage progress of the current running replication
cycle.
.google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCurrentSyncInfoOrBuilder()
public ReplicationCycleOrBuilder getCurrentSyncInfoOrBuilder()
Output only. The percentage progress of the current running replication
cycle.
.google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public MigratingVm getDefaultInstanceForType()
getDescription()
public String getDescription()
The description attached to the migrating VM by the user.
string description = 3;
Returns |
Type |
Description |
String |
The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
The description attached to the migrating VM by the user.
string description = 3;
Returns |
Type |
Description |
ByteString |
The bytes for description.
|
getDisplayName()
public String getDisplayName()
The display name attached to the MigratingVm by the user.
string display_name = 18;
Returns |
Type |
Description |
String |
The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
The display name attached to the MigratingVm by the user.
string display_name = 18;
Returns |
Type |
Description |
ByteString |
The bytes for displayName.
|
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 |
Type |
Description |
com.google.rpc.Status |
The error.
|
getErrorOrBuilder()
public StatusOrBuilder getErrorOrBuilder()
Output only. Provides details on the state of the Migrating VM in case of
an error in replication.
.google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
com.google.rpc.StatusOrBuilder |
|
getGroup()
Output only. The group this migrating vm is included in, if any. The group
is represented by the full path of the appropriate
Group resource.
string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The group.
|
getGroupBytes()
public ByteString getGroupBytes()
Output only. The group this migrating vm is included in, if any. The group
is represented by the full path of the appropriate
Group resource.
string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for group.
|
getLabels() (deprecated)
public Map<String,String> getLabels()
getLabelsCount()
public int getLabelsCount()
The labels of the migrating VM.
map<string, string> labels = 16;
Returns |
Type |
Description |
int |
|
getLabelsMap()
public Map<String,String> getLabelsMap()
The labels of the migrating VM.
map<string, string> labels = 16;
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
The labels of the migrating VM.
map<string, string> labels = 16;
Returns |
Type |
Description |
String |
|
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
The labels of the migrating VM.
map<string, string> labels = 16;
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
getLastSync()
public ReplicationSync getLastSync()
Output only. The most updated snapshot created time in the source that
finished replication.
.google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLastSyncOrBuilder()
public ReplicationSyncOrBuilder getLastSyncOrBuilder()
Output only. The most updated snapshot created time in the source that
finished replication.
.google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getName()
Output only. The identifier of the MigratingVm.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Output only. The identifier of the MigratingVm.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<MigratingVm> getParserForType()
Overrides
getPolicy()
public SchedulePolicy getPolicy()
The replication schedule policy.
.google.cloud.vmmigration.v1.SchedulePolicy policy = 8;
getPolicyOrBuilder()
public SchedulePolicyOrBuilder getPolicyOrBuilder()
The replication schedule policy.
.google.cloud.vmmigration.v1.SchedulePolicy policy = 8;
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.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
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.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
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.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
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.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
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.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
List<? extends com.google.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.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
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.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
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.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
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.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
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.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
List<? extends com.google.cloud.vmmigration.v1.CutoverJobOrBuilder> |
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSourceVmDetailsCase()
public MigratingVm.SourceVmDetailsCase getSourceVmDetailsCase()
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 |
Type |
Description |
String |
The sourceVmId.
|
getSourceVmIdBytes()
public ByteString getSourceVmIdBytes()
The unique ID of the VM in the source.
The VM's name in vSphere can be changed, so this is not the VM's name but
rather its moRef id. This id is of the form vm-<num>.
string source_vm_id = 2;
Returns |
Type |
Description |
ByteString |
The bytes for sourceVmId.
|
getState()
public MigratingVm.State getState()
Output only. State of the MigratingVm.
.google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateTime()
public Timestamp getStateTime()
Output only. The last time the migrating VM state was updated.
.google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The stateTime.
|
getStateTimeOrBuilder()
public TimestampOrBuilder getStateTimeOrBuilder()
Output only. The last time the migrating VM state was updated.
.google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue()
public int getStateValue()
Output only. State of the MigratingVm.
.google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for state.
|
getTargetVmDefaultsCase()
public MigratingVm.TargetVmDefaultsCase getTargetVmDefaultsCase()
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The last time the migrating VM resource was updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The updateTime.
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last time the migrating VM resource was updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasAwsSourceVmDetails()
public 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 |
Type |
Description |
boolean |
Whether the awsSourceVmDetails field is set.
|
hasComputeEngineTargetDefaults()
public boolean hasComputeEngineTargetDefaults()
Details of the target VM in Compute Engine.
.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26;
Returns |
Type |
Description |
boolean |
Whether the computeEngineTargetDefaults field is set.
|
hasCreateTime()
public boolean hasCreateTime()
Output only. The time the migrating VM was created (this refers to this
resource and not to the time it was installed in the source).
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the createTime field is set.
|
hasCurrentSyncInfo()
public boolean hasCurrentSyncInfo()
Output only. The percentage progress of the current running replication
cycle.
.google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the currentSyncInfo field is set.
|
hasError()
public boolean hasError()
Output only. Provides details on the state of the Migrating VM in case of
an error in replication.
.google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the error field is set.
|
hasLastSync()
public boolean hasLastSync()
Output only. The most updated snapshot created time in the source that
finished replication.
.google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the lastSync field is set.
|
hasPolicy()
public boolean hasPolicy()
The replication schedule policy.
.google.cloud.vmmigration.v1.SchedulePolicy policy = 8;
Returns |
Type |
Description |
boolean |
Whether the policy field is set.
|
hasStateTime()
public boolean hasStateTime()
Output only. The last time the migrating VM state was updated.
.google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the stateTime field is set.
|
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The last time the migrating VM resource was updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the updateTime field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public MigratingVm.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MigratingVm.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public MigratingVm.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides