MigratingVm class
MigratingVm describes the VM that will be migrated from a Source environment and its replication state.
- Inheritance
-
- Object
- GeneratedMessage
- MigratingVm
Constructors
-
MigratingVm({String? name, String? sourceVmId, String? description, SchedulePolicy? policy, Timestamp? createTime, Timestamp? updateTime, ReplicationSync? lastSync, ReplicationCycle? currentSyncInfo, String? group, Map<
String, String> ? labels, Iterable<CloneJob> ? recentCloneJobs, String? displayName, Status? error, Iterable<CutoverJob> ? recentCutoverJobs, Timestamp? stateTime, MigratingVm_State? state, ComputeEngineTargetDefaults? computeEngineTargetDefaults, AwsSourceVmDetails? awsSourceVmDetails, ReplicationCycle? lastReplicationCycle, CutoverForecast? cutoverForecast}) -
factory
-
MigratingVm.fromBuffer(List<
int> i, [ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) -
factory
- MigratingVm.fromJson(String i, [ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY])
-
factory
Properties
- awsSourceVmDetails ↔ AwsSourceVmDetails
-
Output only. Details of the VM from an AWS source.
getter/setter pair
- computeEngineTargetDefaults ↔ ComputeEngineTargetDefaults
-
Details of the target VM in Compute Engine.
getter/setter pair
- createTime ↔ Timestamp
-
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).
getter/setter pair
- currentSyncInfo ↔ ReplicationCycle
-
Output only. Details of the current running replication cycle.
getter/setter pair
- cutoverForecast ↔ CutoverForecast
-
Output only. Provides details of future CutoverJobs of a MigratingVm.
Set to empty when cutover forecast is unavailable.
getter/setter pair
- description ↔ String
-
The description attached to the migrating VM by the user.
getter/setter pair
- displayName ↔ String
-
The display name attached to the MigratingVm by the user.
getter/setter pair
- error ↔ Status
-
Output only. Provides details on the state of the Migrating VM in case of
an error in replication.
getter/setter pair
- eventPlugin → EventPlugin?
-
Subclasses can override this getter to be notified of changes
to protobuf fields.
no setterinherited
- group ↔ String
-
Output only. The group this migrating vm is included in, if any. The group
is represented by the full path of the appropriate
google.cloud.vmmigration.v1.Group
resource.getter/setter pair - hashCode → int
-
Calculates a hash code based on the contents of the protobuf.
no setterinherited
- info_ → BuilderInfo
-
no setteroverride
- isFrozen → bool
-
Returns
true
if this message is marked read-only. Otherwisefalse
.no setterinherited -
labels
→ Map<
String, String> -
The labels of the migrating VM.
no setter
- lastReplicationCycle ↔ ReplicationCycle
-
Output only. Details of the last replication cycle. This will be updated
whenever a replication cycle is finished and is not to be confused with
last_sync which is only updated on successful replication cycles.
getter/setter pair
- lastSync ↔ ReplicationSync
-
Output only. The most updated snapshot created time in the source that
finished replication.
getter/setter pair
- name ↔ String
-
Output only. The identifier of the MigratingVm.
getter/setter pair
- policy ↔ SchedulePolicy
-
The replication schedule policy.
getter/setter pair
-
recentCloneJobs
→ List<
CloneJob> -
Output only. The recent
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.no setter -
recentCutoverJobs
→ List<
CutoverJob> -
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.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceVmId ↔ String
-
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-
getter/setter pair
- state ↔ MigratingVm_State
-
Output only. State of the MigratingVm.
getter/setter pair
- stateTime ↔ Timestamp
-
Output only. The last time the migrating VM state was updated.
getter/setter pair
- unknownFields → UnknownFieldSet
-
no setterinherited
- updateTime ↔ Timestamp
-
Output only. The last time the migrating VM resource was updated.
getter/setter pair
Methods
-
addExtension(
Extension extension, Object? value) → void -
Adds an extension field value to a repeated field.
inherited
-
check(
) → void -
inherited
-
clear(
) → void -
Clears all data that was set in this message.
inherited
-
clearAwsSourceVmDetails(
) → void -
clearComputeEngineTargetDefaults(
) → void -
clearCreateTime(
) → void -
clearCurrentSyncInfo(
) → void -
clearCutoverForecast(
) → void -
clearDescription(
) → void -
clearDisplayName(
) → void -
clearError(
) → void -
clearExtension(
Extension extension) → void -
Clears an extension field and also removes the extension.
inherited
-
clearField(
int tagNumber) → void -
Clears the contents of a given field.
inherited
-
clearGroup(
) → void -
clearLastReplicationCycle(
) → void -
clearLastSync(
) → void -
clearName(
) → void -
clearPolicy(
) → void -
clearSourceVmDetails(
) → void -
clearSourceVmId(
) → void -
clearState(
) → void -
clearStateTime(
) → void -
clearTargetVmDefaults(
) → void -
clearUpdateTime(
) → void -
clone(
) → MigratingVm -
Creates a deep copy of the fields in this message.
(The generated code uses mergeFromMessage.)
override
-
copyWith(
void updates(MigratingVm)) → MigratingVm -
Apply
updates
to a copy of this message.override -
createEmptyInstance(
) → MigratingVm -
Creates an empty instance of the same message type as this.
override
-
createMapField<
K, V> (int tagNumber, MapFieldInfo< K, V> fi) → Map<K, V> -
Creates a Map representing a map field.
inherited
-
createRepeatedField<
T> (int tagNumber, FieldInfo< T> fi) → List<T> -
Creates List implementing a mutable repeated field.
inherited
-
ensureAwsSourceVmDetails(
) → AwsSourceVmDetails -
ensureComputeEngineTargetDefaults(
) → ComputeEngineTargetDefaults -
ensureCreateTime(
) → Timestamp -
ensureCurrentSyncInfo(
) → ReplicationCycle -
ensureCutoverForecast(
) → CutoverForecast -
ensureError(
) → Status -
ensureLastReplicationCycle(
) → ReplicationCycle -
ensureLastSync(
) → ReplicationSync -
ensurePolicy(
) → SchedulePolicy -
ensureStateTime(
) → Timestamp -
ensureUpdateTime(
) → Timestamp -
extensionsAreInitialized(
) → bool -
inherited
-
freeze(
) → GeneratedMessage -
Make this message read-only.
inherited
-
getDefaultForField(
int tagNumber) → dynamic -
Returns the default value for the given field.
inherited
-
getExtension(
Extension extension) → dynamic -
Returns the value of
extension
.inherited -
getField(
int tagNumber) → dynamic -
Returns the value of the field associated with
tagNumber
, or the default value if it is not set.inherited -
getFieldOrNull(
int tagNumber) → dynamic -
Returns the value of a field, ignoring any defaults.
inherited
-
getTagNumber(
String fieldName) → int? -
inherited
-
hasAwsSourceVmDetails(
) → bool -
hasComputeEngineTargetDefaults(
) → bool -
hasCreateTime(
) → bool -
hasCurrentSyncInfo(
) → bool -
hasCutoverForecast(
) → bool -
hasDescription(
) → bool -
hasDisplayName(
) → bool -
hasError(
) → bool -
hasExtension(
Extension extension) → bool -
Returns
true
if a value ofextension
is present.inherited -
hasField(
int tagNumber) → bool -
Whether this message has a field associated with
tagNumber
.inherited -
hasGroup(
) → bool -
hasLastReplicationCycle(
) → bool -
hasLastSync(
) → bool -
hasName(
) → bool -
hasPolicy(
) → bool -
hasRequiredFields(
) → bool -
Whether the message has required fields.
inherited
-
hasSourceVmId(
) → bool -
hasState(
) → bool -
hasStateTime(
) → bool -
hasUpdateTime(
) → bool -
isInitialized(
) → bool -
Whether all required fields in the message and embedded messages are set.
inherited
-
mergeFromBuffer(
List< int> input, [ExtensionRegistry extensionRegistry = ExtensionRegistry.EMPTY]) → void -
Merges serialized protocol buffer data into this message.
inherited
-
mergeFromCodedBufferReader(
CodedBufferReader input, [ExtensionRegistry extensionRegistry = ExtensionRegistry.EMPTY]) → void -
inherited
-
mergeFromJson(
String data, [ExtensionRegistry extensionRegistry = ExtensionRegistry.EMPTY]) → void -
Merges field values from
data
, a JSON object, encoded as described byGeneratedMessage.writeToJson
.inherited -
mergeFromJsonMap(
Map< String, dynamic> json, [ExtensionRegistry extensionRegistry = ExtensionRegistry.EMPTY]) → void -
Merges field values from a JSON object represented as a Dart map.
inherited
-
mergeFromMessage(
GeneratedMessage other) → void -
Merges the contents of the
other
into this message.inherited -
mergeFromProto3Json(
Object? json, {TypeRegistry typeRegistry = const TypeRegistry.empty(), bool ignoreUnknownFields = false, bool supportNamesWithUnderscores = true, bool permissiveEnums = false}) → void -
Merges field values from
json
, a JSON object using proto3 encoding.inherited -
mergeUnknownFields(
UnknownFieldSet unknownFieldSet) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setExtension(
Extension extension, Object value) → void -
Sets the value of a non-repeated extension field to
value
.inherited -
setField(
int tagNumber, Object value) → void -
Sets the value of a field by its
tagNumber
.inherited -
toBuilder(
) → GeneratedMessage -
Creates a writable, shallow copy of this message.
inherited
-
toDebugString(
) → String -
Returns a String representation of this message.
inherited
-
toProto3Json(
{TypeRegistry typeRegistry = const TypeRegistry.empty()}) → Object? -
Returns an Object representing Proto3 JSON serialization of
this
.inherited -
toString(
) → String -
Returns a String representation of this message.
inherited
-
whichSourceVmDetails(
) → MigratingVm_SourceVmDetails -
whichTargetVmDefaults(
) → MigratingVm_TargetVmDefaults -
writeToBuffer(
) → Uint8List -
inherited
-
writeToCodedBufferWriter(
CodedBufferWriter output) → void -
inherited
-
writeToJson(
) → String -
Returns a JSON string that encodes this message.
inherited
-
writeToJsonMap(
) → Map< String, dynamic> -
Returns the JSON encoding of this message as a Dart Map.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
create(
) → MigratingVm -
createRepeated(
) → PbList< MigratingVm> -
getDefault(
) → MigratingVm