Package com.google.cloud.vmmigration.v1
Class MigratingVm
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.vmmigration.v1.MigratingVm
-
- All Implemented Interfaces:
MigratingVmOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class MigratingVm extends com.google.protobuf.GeneratedMessageV3 implements MigratingVmOrBuilder
MigratingVm describes the VM that will be migrated from a Source environment and its replication state.
Protobuf typegoogle.cloud.vmmigration.v1.MigratingVm- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMigratingVm.BuilderMigratingVm describes the VM that will be migrated from a Source environment and its replication state.static classMigratingVm.SourceVmDetailsCasestatic classMigratingVm.StateThe possible values of the state/health of source VM.static classMigratingVm.TargetVmDefaultsCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intAWS_SOURCE_VM_DETAILS_FIELD_NUMBERstatic intCOMPUTE_ENGINE_TARGET_DEFAULTS_FIELD_NUMBERstatic intCREATE_TIME_FIELD_NUMBERstatic intCURRENT_SYNC_INFO_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intDISPLAY_NAME_FIELD_NUMBERstatic intERROR_FIELD_NUMBERstatic intGROUP_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intLAST_SYNC_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intPOLICY_FIELD_NUMBERstatic intRECENT_CLONE_JOBS_FIELD_NUMBERstatic intRECENT_CUTOVER_JOBS_FIELD_NUMBERstatic intSOURCE_VM_ID_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intSTATE_TIME_FIELD_NUMBERstatic intUPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)The labels of the migrating VM.booleanequals(Object obj)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.static MigratingVmgetDefaultInstance()MigratingVmgetDefaultInstanceForType()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.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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.com.google.protobuf.Parser<MigratingVm>getParserForType()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.intgetSerializedSize()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.inthashCode()booleanhasLastSync()Output only.booleanhasPolicy()The replication schedule policy.booleanhasStateTime()Output only.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static MigratingVm.BuildernewBuilder()static MigratingVm.BuildernewBuilder(MigratingVm prototype)MigratingVm.BuildernewBuilderForType()protected MigratingVm.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static MigratingVmparseDelimitedFrom(InputStream input)static MigratingVmparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MigratingVmparseFrom(byte[] data)static MigratingVmparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MigratingVmparseFrom(com.google.protobuf.ByteString data)static MigratingVmparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MigratingVmparseFrom(com.google.protobuf.CodedInputStream input)static MigratingVmparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MigratingVmparseFrom(InputStream input)static MigratingVmparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MigratingVmparseFrom(ByteBuffer data)static MigratingVmparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<MigratingVm>parser()MigratingVm.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
COMPUTE_ENGINE_TARGET_DEFAULTS_FIELD_NUMBER
public static final int COMPUTE_ENGINE_TARGET_DEFAULTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AWS_SOURCE_VM_DETAILS_FIELD_NUMBER
public static final int AWS_SOURCE_VM_DETAILS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_VM_ID_FIELD_NUMBER
public static final int SOURCE_VM_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POLICY_FIELD_NUMBER
public static final int POLICY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_SYNC_FIELD_NUMBER
public static final int LAST_SYNC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_TIME_FIELD_NUMBER
public static final int STATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CURRENT_SYNC_INFO_FIELD_NUMBER
public static final int CURRENT_SYNC_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GROUP_FIELD_NUMBER
public static final int GROUP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RECENT_CLONE_JOBS_FIELD_NUMBER
public static final int RECENT_CLONE_JOBS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RECENT_CUTOVER_JOBS_FIELD_NUMBER
public static final int RECENT_CUTOVER_JOBS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getTargetVmDefaultsCase
public MigratingVm.TargetVmDefaultsCase getTargetVmDefaultsCase()
- Specified by:
getTargetVmDefaultsCasein interfaceMigratingVmOrBuilder
-
getSourceVmDetailsCase
public MigratingVm.SourceVmDetailsCase getSourceVmDetailsCase()
- Specified by:
getSourceVmDetailsCasein interfaceMigratingVmOrBuilder
-
hasComputeEngineTargetDefaults
public boolean hasComputeEngineTargetDefaults()
Details of the target VM in Compute Engine.
.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26;- Specified by:
hasComputeEngineTargetDefaultsin interfaceMigratingVmOrBuilder- Returns:
- Whether the computeEngineTargetDefaults field is set.
-
getComputeEngineTargetDefaults
public ComputeEngineTargetDefaults getComputeEngineTargetDefaults()
Details of the target VM in Compute Engine.
.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26;- Specified by:
getComputeEngineTargetDefaultsin interfaceMigratingVmOrBuilder- Returns:
- The computeEngineTargetDefaults.
-
getComputeEngineTargetDefaultsOrBuilder
public ComputeEngineTargetDefaultsOrBuilder getComputeEngineTargetDefaultsOrBuilder()
Details of the target VM in Compute Engine.
.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26;- Specified by:
getComputeEngineTargetDefaultsOrBuilderin interfaceMigratingVmOrBuilder
-
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];- Specified by:
hasAwsSourceVmDetailsin interfaceMigratingVmOrBuilder- Returns:
- Whether the awsSourceVmDetails field is set.
-
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];- Specified by:
getAwsSourceVmDetailsin interfaceMigratingVmOrBuilder- Returns:
- The awsSourceVmDetails.
-
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];- Specified by:
getAwsSourceVmDetailsOrBuilderin interfaceMigratingVmOrBuilder
-
getName
public String getName()
Output only. The identifier of the MigratingVm.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceMigratingVmOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The identifier of the MigratingVm.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceMigratingVmOrBuilder- Returns:
- The bytes for name.
-
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;- Specified by:
getSourceVmIdin interfaceMigratingVmOrBuilder- Returns:
- The sourceVmId.
-
getSourceVmIdBytes
public 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;- Specified by:
getSourceVmIdBytesin interfaceMigratingVmOrBuilder- Returns:
- The bytes for sourceVmId.
-
getDisplayName
public String getDisplayName()
The display name attached to the MigratingVm by the user.
string display_name = 18;- Specified by:
getDisplayNamein interfaceMigratingVmOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
The display name attached to the MigratingVm by the user.
string display_name = 18;- Specified by:
getDisplayNameBytesin interfaceMigratingVmOrBuilder- Returns:
- The bytes for displayName.
-
getDescription
public String getDescription()
The description attached to the migrating VM by the user.
string description = 3;- Specified by:
getDescriptionin interfaceMigratingVmOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
The description attached to the migrating VM by the user.
string description = 3;- Specified by:
getDescriptionBytesin interfaceMigratingVmOrBuilder- Returns:
- The bytes for description.
-
hasPolicy
public boolean hasPolicy()
The replication schedule policy.
.google.cloud.vmmigration.v1.SchedulePolicy policy = 8;- Specified by:
hasPolicyin interfaceMigratingVmOrBuilder- Returns:
- Whether the policy field is set.
-
getPolicy
public SchedulePolicy getPolicy()
The replication schedule policy.
.google.cloud.vmmigration.v1.SchedulePolicy policy = 8;- Specified by:
getPolicyin interfaceMigratingVmOrBuilder- Returns:
- The policy.
-
getPolicyOrBuilder
public SchedulePolicyOrBuilder getPolicyOrBuilder()
The replication schedule policy.
.google.cloud.vmmigration.v1.SchedulePolicy policy = 8;- Specified by:
getPolicyOrBuilderin interfaceMigratingVmOrBuilder
-
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];- Specified by:
hasCreateTimein interfaceMigratingVmOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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];- Specified by:
getCreateTimein interfaceMigratingVmOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public 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];- Specified by:
getCreateTimeOrBuilderin interfaceMigratingVmOrBuilder
-
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];- Specified by:
hasUpdateTimein interfaceMigratingVmOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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];- Specified by:
getUpdateTimein interfaceMigratingVmOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public 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];- Specified by:
getUpdateTimeOrBuilderin interfaceMigratingVmOrBuilder
-
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];- Specified by:
hasLastSyncin interfaceMigratingVmOrBuilder- Returns:
- Whether the lastSync field is set.
-
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];- Specified by:
getLastSyncin interfaceMigratingVmOrBuilder- Returns:
- The lastSync.
-
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];- Specified by:
getLastSyncOrBuilderin interfaceMigratingVmOrBuilder
-
getStateValue
public int getStateValue()
Output only. State of the MigratingVm.
.google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceMigratingVmOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
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];- Specified by:
getStatein interfaceMigratingVmOrBuilder- Returns:
- The state.
-
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];- Specified by:
hasStateTimein interfaceMigratingVmOrBuilder- Returns:
- Whether the stateTime field is set.
-
getStateTime
public 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];- Specified by:
getStateTimein interfaceMigratingVmOrBuilder- Returns:
- The stateTime.
-
getStateTimeOrBuilder
public 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];- Specified by:
getStateTimeOrBuilderin interfaceMigratingVmOrBuilder
-
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];- Specified by:
hasCurrentSyncInfoin interfaceMigratingVmOrBuilder- Returns:
- Whether the currentSyncInfo field is set.
-
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];- Specified by:
getCurrentSyncInfoin interfaceMigratingVmOrBuilder- Returns:
- The currentSyncInfo.
-
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];- Specified by:
getCurrentSyncInfoOrBuilderin interfaceMigratingVmOrBuilder
-
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][google.cloud.vmmigration.v1.Group] resource.
string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getGroupin interfaceMigratingVmOrBuilder- Returns:
- The group.
-
getGroupBytes
public 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) = { ... }- Specified by:
getGroupBytesin interfaceMigratingVmOrBuilder- Returns:
- The bytes for group.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:MigratingVmOrBuilderThe labels of the migrating VM.
map<string, string> labels = 16;- Specified by:
getLabelsCountin interfaceMigratingVmOrBuilder
-
containsLabels
public boolean containsLabels(String key)
The labels of the migrating VM.
map<string, string> labels = 16;- Specified by:
containsLabelsin interfaceMigratingVmOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceMigratingVmOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
The labels of the migrating VM.
map<string, string> labels = 16;- Specified by:
getLabelsMapin interfaceMigratingVmOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
The labels of the migrating VM.
map<string, string> labels = 16;- Specified by:
getLabelsOrDefaultin interfaceMigratingVmOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
The labels of the migrating VM.
map<string, string> labels = 16;- Specified by:
getLabelsOrThrowin interfaceMigratingVmOrBuilder
-
getRecentCloneJobsList
public 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];- Specified by:
getRecentCloneJobsListin interfaceMigratingVmOrBuilder
-
getRecentCloneJobsOrBuilderList
public 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];- Specified by:
getRecentCloneJobsOrBuilderListin interfaceMigratingVmOrBuilder
-
getRecentCloneJobsCount
public 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];- Specified by:
getRecentCloneJobsCountin interfaceMigratingVmOrBuilder
-
getRecentCloneJobs
public 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];- Specified by:
getRecentCloneJobsin interfaceMigratingVmOrBuilder
-
getRecentCloneJobsOrBuilder
public 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];- Specified by:
getRecentCloneJobsOrBuilderin interfaceMigratingVmOrBuilder
-
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];- Specified by:
hasErrorin interfaceMigratingVmOrBuilder- Returns:
- Whether the error field is set.
-
getError
public 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];- Specified by:
getErrorin interfaceMigratingVmOrBuilder- Returns:
- The error.
-
getErrorOrBuilder
public 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];- Specified by:
getErrorOrBuilderin interfaceMigratingVmOrBuilder
-
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];- Specified by:
getRecentCutoverJobsListin interfaceMigratingVmOrBuilder
-
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];- Specified by:
getRecentCutoverJobsOrBuilderListin interfaceMigratingVmOrBuilder
-
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];- Specified by:
getRecentCutoverJobsCountin interfaceMigratingVmOrBuilder
-
getRecentCutoverJobs
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];- Specified by:
getRecentCutoverJobsin interfaceMigratingVmOrBuilder
-
getRecentCutoverJobsOrBuilder
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];- Specified by:
getRecentCutoverJobsOrBuilderin interfaceMigratingVmOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static MigratingVm parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MigratingVm parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MigratingVm parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MigratingVm parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MigratingVm parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MigratingVm parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MigratingVm parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static MigratingVm parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static MigratingVm parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static MigratingVm parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static MigratingVm parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static MigratingVm parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public MigratingVm.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static MigratingVm.Builder newBuilder()
-
newBuilder
public static MigratingVm.Builder newBuilder(MigratingVm prototype)
-
toBuilder
public MigratingVm.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MigratingVm.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static MigratingVm getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<MigratingVm> parser()
-
getParserForType
public com.google.protobuf.Parser<MigratingVm> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public MigratingVm getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-