Class CutoverStep (1.21.0)

public final class CutoverStep extends GeneratedMessageV3 implements CutoverStepOrBuilder

CutoverStep holds information about the cutover step progress.

Protobuf type google.cloud.vmmigration.v1.CutoverStep

Static Fields

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

FINAL_SYNC_FIELD_NUMBER

public static final int FINAL_SYNC_FIELD_NUMBER
Field Value
TypeDescription
int

INSTANTIATING_MIGRATED_VM_FIELD_NUMBER

public static final int INSTANTIATING_MIGRATED_VM_FIELD_NUMBER
Field Value
TypeDescription
int

PREPARING_VM_DISKS_FIELD_NUMBER

public static final int PREPARING_VM_DISKS_FIELD_NUMBER
Field Value
TypeDescription
int

PREVIOUS_REPLICATION_CYCLE_FIELD_NUMBER

public static final int PREVIOUS_REPLICATION_CYCLE_FIELD_NUMBER
Field Value
TypeDescription
int

SHUTTING_DOWN_SOURCE_VM_FIELD_NUMBER

public static final int SHUTTING_DOWN_SOURCE_VM_FIELD_NUMBER
Field Value
TypeDescription
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CutoverStep getDefaultInstance()
Returns
TypeDescription
CutoverStep

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CutoverStep.Builder newBuilder()
Returns
TypeDescription
CutoverStep.Builder

newBuilder(CutoverStep prototype)

public static CutoverStep.Builder newBuilder(CutoverStep prototype)
Parameter
NameDescription
prototypeCutoverStep
Returns
TypeDescription
CutoverStep.Builder

parseDelimitedFrom(InputStream input)

public static CutoverStep parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CutoverStep
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CutoverStep parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CutoverStep
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CutoverStep parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CutoverStep
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CutoverStep parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CutoverStep
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CutoverStep parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CutoverStep
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CutoverStep parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CutoverStep
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CutoverStep parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CutoverStep
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CutoverStep parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CutoverStep
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CutoverStep parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CutoverStep
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CutoverStep parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CutoverStep
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CutoverStep parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CutoverStep
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CutoverStep parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CutoverStep
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CutoverStep> parser()
Returns
TypeDescription
Parser<CutoverStep>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CutoverStep getDefaultInstanceForType()
Returns
TypeDescription
CutoverStep

getEndTime()

public Timestamp getEndTime()

The time the step has ended.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The time the step has ended.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getFinalSync()

public ReplicationCycle getFinalSync()

Final sync step.

.google.cloud.vmmigration.v1.ReplicationCycle final_sync = 5;

Returns
TypeDescription
ReplicationCycle

The finalSync.

getFinalSyncOrBuilder()

public ReplicationCycleOrBuilder getFinalSyncOrBuilder()

Final sync step.

.google.cloud.vmmigration.v1.ReplicationCycle final_sync = 5;

Returns
TypeDescription
ReplicationCycleOrBuilder

getInstantiatingMigratedVm()

public InstantiatingMigratedVMStep getInstantiatingMigratedVm()

Instantiating migrated VM step.

.google.cloud.vmmigration.v1.InstantiatingMigratedVMStep instantiating_migrated_vm = 7;

Returns
TypeDescription
InstantiatingMigratedVMStep

The instantiatingMigratedVm.

getInstantiatingMigratedVmOrBuilder()

public InstantiatingMigratedVMStepOrBuilder getInstantiatingMigratedVmOrBuilder()

Instantiating migrated VM step.

.google.cloud.vmmigration.v1.InstantiatingMigratedVMStep instantiating_migrated_vm = 7;

Returns
TypeDescription
InstantiatingMigratedVMStepOrBuilder

getParserForType()

public Parser<CutoverStep> getParserForType()
Returns
TypeDescription
Parser<CutoverStep>
Overrides

getPreparingVmDisks()

public PreparingVMDisksStep getPreparingVmDisks()

Preparing VM disks step.

.google.cloud.vmmigration.v1.PreparingVMDisksStep preparing_vm_disks = 6;

Returns
TypeDescription
PreparingVMDisksStep

The preparingVmDisks.

getPreparingVmDisksOrBuilder()

public PreparingVMDisksStepOrBuilder getPreparingVmDisksOrBuilder()

Preparing VM disks step.

.google.cloud.vmmigration.v1.PreparingVMDisksStep preparing_vm_disks = 6;

Returns
TypeDescription
PreparingVMDisksStepOrBuilder

getPreviousReplicationCycle()

public ReplicationCycle getPreviousReplicationCycle()

A replication cycle prior cutover step.

.google.cloud.vmmigration.v1.ReplicationCycle previous_replication_cycle = 3;

Returns
TypeDescription
ReplicationCycle

The previousReplicationCycle.

getPreviousReplicationCycleOrBuilder()

public ReplicationCycleOrBuilder getPreviousReplicationCycleOrBuilder()

A replication cycle prior cutover step.

.google.cloud.vmmigration.v1.ReplicationCycle previous_replication_cycle = 3;

Returns
TypeDescription
ReplicationCycleOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getShuttingDownSourceVm()

public ShuttingDownSourceVMStep getShuttingDownSourceVm()

Shutting down VM step.

.google.cloud.vmmigration.v1.ShuttingDownSourceVMStep shutting_down_source_vm = 4;

Returns
TypeDescription
ShuttingDownSourceVMStep

The shuttingDownSourceVm.

getShuttingDownSourceVmOrBuilder()

public ShuttingDownSourceVMStepOrBuilder getShuttingDownSourceVmOrBuilder()

Shutting down VM step.

.google.cloud.vmmigration.v1.ShuttingDownSourceVMStep shutting_down_source_vm = 4;

Returns
TypeDescription
ShuttingDownSourceVMStepOrBuilder

getStartTime()

public Timestamp getStartTime()

The time the step has started.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The time the step has started.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
TimestampOrBuilder

getStepCase()

public CutoverStep.StepCase getStepCase()
Returns
TypeDescription
CutoverStep.StepCase

hasEndTime()

public boolean hasEndTime()

The time the step has ended.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
boolean

Whether the endTime field is set.

hasFinalSync()

public boolean hasFinalSync()

Final sync step.

.google.cloud.vmmigration.v1.ReplicationCycle final_sync = 5;

Returns
TypeDescription
boolean

Whether the finalSync field is set.

hasInstantiatingMigratedVm()

public boolean hasInstantiatingMigratedVm()

Instantiating migrated VM step.

.google.cloud.vmmigration.v1.InstantiatingMigratedVMStep instantiating_migrated_vm = 7;

Returns
TypeDescription
boolean

Whether the instantiatingMigratedVm field is set.

hasPreparingVmDisks()

public boolean hasPreparingVmDisks()

Preparing VM disks step.

.google.cloud.vmmigration.v1.PreparingVMDisksStep preparing_vm_disks = 6;

Returns
TypeDescription
boolean

Whether the preparingVmDisks field is set.

hasPreviousReplicationCycle()

public boolean hasPreviousReplicationCycle()

A replication cycle prior cutover step.

.google.cloud.vmmigration.v1.ReplicationCycle previous_replication_cycle = 3;

Returns
TypeDescription
boolean

Whether the previousReplicationCycle field is set.

hasShuttingDownSourceVm()

public boolean hasShuttingDownSourceVm()

Shutting down VM step.

.google.cloud.vmmigration.v1.ShuttingDownSourceVMStep shutting_down_source_vm = 4;

Returns
TypeDescription
boolean

Whether the shuttingDownSourceVm field is set.

hasStartTime()

public boolean hasStartTime()

The time the step has started.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
boolean

Whether the startTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CutoverStep.Builder newBuilderForType()
Returns
TypeDescription
CutoverStep.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CutoverStep.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CutoverStep.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CutoverStep.Builder toBuilder()
Returns
TypeDescription
CutoverStep.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException