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 class
MigratingVm.Builder
MigratingVm describes the VM that will be migrated from a Source environment and its replication state.static class
MigratingVm.SourceVmDetailsCase
static class
MigratingVm.State
The possible values of the state/health of source VM.static class
MigratingVm.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 int
AWS_SOURCE_VM_DETAILS_FIELD_NUMBER
static int
COMPUTE_ENGINE_TARGET_DEFAULTS_FIELD_NUMBER
static int
CREATE_TIME_FIELD_NUMBER
static int
CURRENT_SYNC_INFO_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
DISPLAY_NAME_FIELD_NUMBER
static int
ERROR_FIELD_NUMBER
static int
GROUP_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
LAST_SYNC_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
POLICY_FIELD_NUMBER
static int
RECENT_CLONE_JOBS_FIELD_NUMBER
static int
RECENT_CUTOVER_JOBS_FIELD_NUMBER
static int
SOURCE_VM_ID_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
static int
STATE_TIME_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
The labels of the migrating VM.boolean
equals(Object obj)
AwsSourceVmDetails
getAwsSourceVmDetails()
Output only.AwsSourceVmDetailsOrBuilder
getAwsSourceVmDetailsOrBuilder()
Output only.ComputeEngineTargetDefaults
getComputeEngineTargetDefaults()
Details of the target VM in Compute Engine.ComputeEngineTargetDefaultsOrBuilder
getComputeEngineTargetDefaultsOrBuilder()
Details of the target VM in Compute Engine.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.ReplicationCycle
getCurrentSyncInfo()
Output only.ReplicationCycleOrBuilder
getCurrentSyncInfoOrBuilder()
Output only.static MigratingVm
getDefaultInstance()
MigratingVm
getDefaultInstanceForType()
String
getDescription()
The description attached to the migrating VM by the user.com.google.protobuf.ByteString
getDescriptionBytes()
The description attached to the migrating VM by the user.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getDisplayName()
The display name attached to the MigratingVm by the user.com.google.protobuf.ByteString
getDisplayNameBytes()
The display name attached to the MigratingVm by the user.com.google.rpc.Status
getError()
Output only.com.google.rpc.StatusOrBuilder
getErrorOrBuilder()
Output only.String
getGroup()
Output only.com.google.protobuf.ByteString
getGroupBytes()
Output only.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
The labels of the migrating VM.Map<String,String>
getLabelsMap()
The labels of the migrating VM.String
getLabelsOrDefault(String key, String defaultValue)
The labels of the migrating VM.String
getLabelsOrThrow(String key)
The labels of the migrating VM.ReplicationSync
getLastSync()
Output only.ReplicationSyncOrBuilder
getLastSyncOrBuilder()
Output only.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.com.google.protobuf.Parser<MigratingVm>
getParserForType()
SchedulePolicy
getPolicy()
The replication schedule policy.SchedulePolicyOrBuilder
getPolicyOrBuilder()
The replication schedule policy.CloneJob
getRecentCloneJobs(int index)
Output only.int
getRecentCloneJobsCount()
Output only.List<CloneJob>
getRecentCloneJobsList()
Output only.CloneJobOrBuilder
getRecentCloneJobsOrBuilder(int index)
Output only.List<? extends CloneJobOrBuilder>
getRecentCloneJobsOrBuilderList()
Output only.CutoverJob
getRecentCutoverJobs(int index)
Output only.int
getRecentCutoverJobsCount()
Output only.List<CutoverJob>
getRecentCutoverJobsList()
Output only.CutoverJobOrBuilder
getRecentCutoverJobsOrBuilder(int index)
Output only.List<? extends CutoverJobOrBuilder>
getRecentCutoverJobsOrBuilderList()
Output only.int
getSerializedSize()
MigratingVm.SourceVmDetailsCase
getSourceVmDetailsCase()
String
getSourceVmId()
The unique ID of the VM in the source.com.google.protobuf.ByteString
getSourceVmIdBytes()
The unique ID of the VM in the source.MigratingVm.State
getState()
Output only.com.google.protobuf.Timestamp
getStateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getStateTimeOrBuilder()
Output only.int
getStateValue()
Output only.MigratingVm.TargetVmDefaultsCase
getTargetVmDefaultsCase()
com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasAwsSourceVmDetails()
Output only.boolean
hasComputeEngineTargetDefaults()
Details of the target VM in Compute Engine.boolean
hasCreateTime()
Output only.boolean
hasCurrentSyncInfo()
Output only.boolean
hasError()
Output only.int
hashCode()
boolean
hasLastSync()
Output only.boolean
hasPolicy()
The replication schedule policy.boolean
hasStateTime()
Output only.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static MigratingVm.Builder
newBuilder()
static MigratingVm.Builder
newBuilder(MigratingVm prototype)
MigratingVm.Builder
newBuilderForType()
protected MigratingVm.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static MigratingVm
parseDelimitedFrom(InputStream input)
static MigratingVm
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MigratingVm
parseFrom(byte[] data)
static MigratingVm
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MigratingVm
parseFrom(com.google.protobuf.ByteString data)
static MigratingVm
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MigratingVm
parseFrom(com.google.protobuf.CodedInputStream input)
static MigratingVm
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MigratingVm
parseFrom(InputStream input)
static MigratingVm
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MigratingVm
parseFrom(ByteBuffer data)
static MigratingVm
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<MigratingVm>
parser()
MigratingVm.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getTargetVmDefaultsCase
public MigratingVm.TargetVmDefaultsCase getTargetVmDefaultsCase()
- Specified by:
getTargetVmDefaultsCase
in interfaceMigratingVmOrBuilder
-
getSourceVmDetailsCase
public MigratingVm.SourceVmDetailsCase getSourceVmDetailsCase()
- Specified by:
getSourceVmDetailsCase
in 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:
hasComputeEngineTargetDefaults
in 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:
getComputeEngineTargetDefaults
in 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:
getComputeEngineTargetDefaultsOrBuilder
in 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:
hasAwsSourceVmDetails
in 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:
getAwsSourceVmDetails
in 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:
getAwsSourceVmDetailsOrBuilder
in interfaceMigratingVmOrBuilder
-
getName
public String getName()
Output only. The identifier of the MigratingVm.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getName
in 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:
getNameBytes
in 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:
getSourceVmId
in 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:
getSourceVmIdBytes
in 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:
getDisplayName
in 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:
getDisplayNameBytes
in 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:
getDescription
in 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:
getDescriptionBytes
in interfaceMigratingVmOrBuilder
- Returns:
- The bytes for description.
-
hasPolicy
public boolean hasPolicy()
The replication schedule policy.
.google.cloud.vmmigration.v1.SchedulePolicy policy = 8;
- Specified by:
hasPolicy
in 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:
getPolicy
in interfaceMigratingVmOrBuilder
- Returns:
- The policy.
-
getPolicyOrBuilder
public SchedulePolicyOrBuilder getPolicyOrBuilder()
The replication schedule policy.
.google.cloud.vmmigration.v1.SchedulePolicy policy = 8;
- Specified by:
getPolicyOrBuilder
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in 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:
hasUpdateTime
in 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:
getUpdateTime
in 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:
getUpdateTimeOrBuilder
in 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:
hasLastSync
in 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:
getLastSync
in 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:
getLastSyncOrBuilder
in 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:
getStateValue
in 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:
getState
in 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:
hasStateTime
in 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:
getStateTime
in 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:
getStateTimeOrBuilder
in 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:
hasCurrentSyncInfo
in 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:
getCurrentSyncInfo
in 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:
getCurrentSyncInfoOrBuilder
in 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:
getGroup
in 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:
getGroupBytes
in interfaceMigratingVmOrBuilder
- Returns:
- The bytes for group.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:MigratingVmOrBuilder
The labels of the migrating VM.
map<string, string> labels = 16;
- Specified by:
getLabelsCount
in interfaceMigratingVmOrBuilder
-
containsLabels
public boolean containsLabels(String key)
The labels of the migrating VM.
map<string, string> labels = 16;
- Specified by:
containsLabels
in interfaceMigratingVmOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceMigratingVmOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
The labels of the migrating VM.
map<string, string> labels = 16;
- Specified by:
getLabelsMap
in interfaceMigratingVmOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
The labels of the migrating VM.
map<string, string> labels = 16;
- Specified by:
getLabelsOrDefault
in interfaceMigratingVmOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
The labels of the migrating VM.
map<string, string> labels = 16;
- Specified by:
getLabelsOrThrow
in 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:
getRecentCloneJobsList
in 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:
getRecentCloneJobsOrBuilderList
in 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:
getRecentCloneJobsCount
in 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:
getRecentCloneJobs
in 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:
getRecentCloneJobsOrBuilder
in 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:
hasError
in 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:
getError
in 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:
getErrorOrBuilder
in 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:
getRecentCutoverJobsList
in 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:
getRecentCutoverJobsOrBuilderList
in 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:
getRecentCutoverJobsCount
in 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:
getRecentCutoverJobs
in 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:
getRecentCutoverJobsOrBuilder
in interfaceMigratingVmOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MigratingVm.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public MigratingVm getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-