Class CutoverStep.Builder (1.33.0)

public static final class CutoverStep.Builder extends GeneratedMessageV3.Builder<CutoverStep.Builder> implements CutoverStepOrBuilder

CutoverStep holds information about the cutover step progress.

Protobuf type google.cloud.vmmigration.v1.CutoverStep

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CutoverStep.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CutoverStep.Builder
Overrides

build()

public CutoverStep build()
Returns
TypeDescription
CutoverStep

buildPartial()

public CutoverStep buildPartial()
Returns
TypeDescription
CutoverStep

clear()

public CutoverStep.Builder clear()
Returns
TypeDescription
CutoverStep.Builder
Overrides

clearEndTime()

public CutoverStep.Builder clearEndTime()

The time the step has ended.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
CutoverStep.Builder

clearField(Descriptors.FieldDescriptor field)

public CutoverStep.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CutoverStep.Builder
Overrides

clearFinalSync()

public CutoverStep.Builder clearFinalSync()

Final sync step.

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

Returns
TypeDescription
CutoverStep.Builder

clearInstantiatingMigratedVm()

public CutoverStep.Builder clearInstantiatingMigratedVm()

Instantiating migrated VM step.

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

Returns
TypeDescription
CutoverStep.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CutoverStep.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CutoverStep.Builder
Overrides

clearPreparingVmDisks()

public CutoverStep.Builder clearPreparingVmDisks()

Preparing VM disks step.

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

Returns
TypeDescription
CutoverStep.Builder

clearPreviousReplicationCycle()

public CutoverStep.Builder clearPreviousReplicationCycle()

A replication cycle prior cutover step.

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

Returns
TypeDescription
CutoverStep.Builder

clearShuttingDownSourceVm()

public CutoverStep.Builder clearShuttingDownSourceVm()

Shutting down VM step.

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

Returns
TypeDescription
CutoverStep.Builder

clearStartTime()

public CutoverStep.Builder clearStartTime()

The time the step has started.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
CutoverStep.Builder

clearStep()

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

clone()

public CutoverStep.Builder clone()
Returns
TypeDescription
CutoverStep.Builder
Overrides

getDefaultInstanceForType()

public CutoverStep getDefaultInstanceForType()
Returns
TypeDescription
CutoverStep

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

The time the step has ended.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

The time the step has ended.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
Builder

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.

getFinalSyncBuilder()

public ReplicationCycle.Builder getFinalSyncBuilder()

Final sync step.

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

Returns
TypeDescription
ReplicationCycle.Builder

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.

getInstantiatingMigratedVmBuilder()

public InstantiatingMigratedVMStep.Builder getInstantiatingMigratedVmBuilder()

Instantiating migrated VM step.

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

Returns
TypeDescription
InstantiatingMigratedVMStep.Builder

getInstantiatingMigratedVmOrBuilder()

public InstantiatingMigratedVMStepOrBuilder getInstantiatingMigratedVmOrBuilder()

Instantiating migrated VM step.

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

Returns
TypeDescription
InstantiatingMigratedVMStepOrBuilder

getPreparingVmDisks()

public PreparingVMDisksStep getPreparingVmDisks()

Preparing VM disks step.

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

Returns
TypeDescription
PreparingVMDisksStep

The preparingVmDisks.

getPreparingVmDisksBuilder()

public PreparingVMDisksStep.Builder getPreparingVmDisksBuilder()

Preparing VM disks step.

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

Returns
TypeDescription
PreparingVMDisksStep.Builder

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.

getPreviousReplicationCycleBuilder()

public ReplicationCycle.Builder getPreviousReplicationCycleBuilder()

A replication cycle prior cutover step.

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

Returns
TypeDescription
ReplicationCycle.Builder

getPreviousReplicationCycleOrBuilder()

public ReplicationCycleOrBuilder getPreviousReplicationCycleOrBuilder()

A replication cycle prior cutover step.

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

Returns
TypeDescription
ReplicationCycleOrBuilder

getShuttingDownSourceVm()

public ShuttingDownSourceVMStep getShuttingDownSourceVm()

Shutting down VM step.

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

Returns
TypeDescription
ShuttingDownSourceVMStep

The shuttingDownSourceVm.

getShuttingDownSourceVmBuilder()

public ShuttingDownSourceVMStep.Builder getShuttingDownSourceVmBuilder()

Shutting down VM step.

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

Returns
TypeDescription
ShuttingDownSourceVMStep.Builder

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.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The time the step has started.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeEndTime(Timestamp value)

public CutoverStep.Builder mergeEndTime(Timestamp value)

The time the step has ended.

.google.protobuf.Timestamp end_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CutoverStep.Builder

mergeFinalSync(ReplicationCycle value)

public CutoverStep.Builder mergeFinalSync(ReplicationCycle value)

Final sync step.

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

Parameter
NameDescription
valueReplicationCycle
Returns
TypeDescription
CutoverStep.Builder

mergeFrom(CutoverStep other)

public CutoverStep.Builder mergeFrom(CutoverStep other)
Parameter
NameDescription
otherCutoverStep
Returns
TypeDescription
CutoverStep.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CutoverStep.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CutoverStep.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CutoverStep.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CutoverStep.Builder
Overrides

mergeInstantiatingMigratedVm(InstantiatingMigratedVMStep value)

public CutoverStep.Builder mergeInstantiatingMigratedVm(InstantiatingMigratedVMStep value)

Instantiating migrated VM step.

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

Parameter
NameDescription
valueInstantiatingMigratedVMStep
Returns
TypeDescription
CutoverStep.Builder

mergePreparingVmDisks(PreparingVMDisksStep value)

public CutoverStep.Builder mergePreparingVmDisks(PreparingVMDisksStep value)

Preparing VM disks step.

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

Parameter
NameDescription
valuePreparingVMDisksStep
Returns
TypeDescription
CutoverStep.Builder

mergePreviousReplicationCycle(ReplicationCycle value)

public CutoverStep.Builder mergePreviousReplicationCycle(ReplicationCycle value)

A replication cycle prior cutover step.

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

Parameter
NameDescription
valueReplicationCycle
Returns
TypeDescription
CutoverStep.Builder

mergeShuttingDownSourceVm(ShuttingDownSourceVMStep value)

public CutoverStep.Builder mergeShuttingDownSourceVm(ShuttingDownSourceVMStep value)

Shutting down VM step.

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

Parameter
NameDescription
valueShuttingDownSourceVMStep
Returns
TypeDescription
CutoverStep.Builder

mergeStartTime(Timestamp value)

public CutoverStep.Builder mergeStartTime(Timestamp value)

The time the step has started.

.google.protobuf.Timestamp start_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CutoverStep.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CutoverStep.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CutoverStep.Builder
Overrides

setEndTime(Timestamp value)

public CutoverStep.Builder setEndTime(Timestamp value)

The time the step has ended.

.google.protobuf.Timestamp end_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CutoverStep.Builder

setEndTime(Timestamp.Builder builderForValue)

public CutoverStep.Builder setEndTime(Timestamp.Builder builderForValue)

The time the step has ended.

.google.protobuf.Timestamp end_time = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
CutoverStep.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CutoverStep.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CutoverStep.Builder
Overrides

setFinalSync(ReplicationCycle value)

public CutoverStep.Builder setFinalSync(ReplicationCycle value)

Final sync step.

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

Parameter
NameDescription
valueReplicationCycle
Returns
TypeDescription
CutoverStep.Builder

setFinalSync(ReplicationCycle.Builder builderForValue)

public CutoverStep.Builder setFinalSync(ReplicationCycle.Builder builderForValue)

Final sync step.

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

Parameter
NameDescription
builderForValueReplicationCycle.Builder
Returns
TypeDescription
CutoverStep.Builder

setInstantiatingMigratedVm(InstantiatingMigratedVMStep value)

public CutoverStep.Builder setInstantiatingMigratedVm(InstantiatingMigratedVMStep value)

Instantiating migrated VM step.

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

Parameter
NameDescription
valueInstantiatingMigratedVMStep
Returns
TypeDescription
CutoverStep.Builder

setInstantiatingMigratedVm(InstantiatingMigratedVMStep.Builder builderForValue)

public CutoverStep.Builder setInstantiatingMigratedVm(InstantiatingMigratedVMStep.Builder builderForValue)

Instantiating migrated VM step.

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

Parameter
NameDescription
builderForValueInstantiatingMigratedVMStep.Builder
Returns
TypeDescription
CutoverStep.Builder

setPreparingVmDisks(PreparingVMDisksStep value)

public CutoverStep.Builder setPreparingVmDisks(PreparingVMDisksStep value)

Preparing VM disks step.

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

Parameter
NameDescription
valuePreparingVMDisksStep
Returns
TypeDescription
CutoverStep.Builder

setPreparingVmDisks(PreparingVMDisksStep.Builder builderForValue)

public CutoverStep.Builder setPreparingVmDisks(PreparingVMDisksStep.Builder builderForValue)

Preparing VM disks step.

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

Parameter
NameDescription
builderForValuePreparingVMDisksStep.Builder
Returns
TypeDescription
CutoverStep.Builder

setPreviousReplicationCycle(ReplicationCycle value)

public CutoverStep.Builder setPreviousReplicationCycle(ReplicationCycle value)

A replication cycle prior cutover step.

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

Parameter
NameDescription
valueReplicationCycle
Returns
TypeDescription
CutoverStep.Builder

setPreviousReplicationCycle(ReplicationCycle.Builder builderForValue)

public CutoverStep.Builder setPreviousReplicationCycle(ReplicationCycle.Builder builderForValue)

A replication cycle prior cutover step.

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

Parameter
NameDescription
builderForValueReplicationCycle.Builder
Returns
TypeDescription
CutoverStep.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CutoverStep.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CutoverStep.Builder
Overrides

setShuttingDownSourceVm(ShuttingDownSourceVMStep value)

public CutoverStep.Builder setShuttingDownSourceVm(ShuttingDownSourceVMStep value)

Shutting down VM step.

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

Parameter
NameDescription
valueShuttingDownSourceVMStep
Returns
TypeDescription
CutoverStep.Builder

setShuttingDownSourceVm(ShuttingDownSourceVMStep.Builder builderForValue)

public CutoverStep.Builder setShuttingDownSourceVm(ShuttingDownSourceVMStep.Builder builderForValue)

Shutting down VM step.

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

Parameter
NameDescription
builderForValueShuttingDownSourceVMStep.Builder
Returns
TypeDescription
CutoverStep.Builder

setStartTime(Timestamp value)

public CutoverStep.Builder setStartTime(Timestamp value)

The time the step has started.

.google.protobuf.Timestamp start_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CutoverStep.Builder

setStartTime(Timestamp.Builder builderForValue)

public CutoverStep.Builder setStartTime(Timestamp.Builder builderForValue)

The time the step has started.

.google.protobuf.Timestamp start_time = 1;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
CutoverStep.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final CutoverStep.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CutoverStep.Builder
Overrides