Class CutoverStep.Builder (1.43.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CutoverStep.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CutoverStep.Builder
Overrides

build()

public CutoverStep build()
Returns
Type Description
CutoverStep

buildPartial()

public CutoverStep buildPartial()
Returns
Type Description
CutoverStep

clear()

public CutoverStep.Builder clear()
Returns
Type Description
CutoverStep.Builder
Overrides

clearEndTime()

public CutoverStep.Builder clearEndTime()

The time the step has ended.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
CutoverStep.Builder

clearField(Descriptors.FieldDescriptor field)

public CutoverStep.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CutoverStep.Builder
Overrides

clearFinalSync()

public CutoverStep.Builder clearFinalSync()

Final sync step.

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

Returns
Type Description
CutoverStep.Builder

clearInstantiatingMigratedVm()

public CutoverStep.Builder clearInstantiatingMigratedVm()

Instantiating migrated VM step.

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

Returns
Type Description
CutoverStep.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CutoverStep.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CutoverStep.Builder
Overrides

clearPreparingVmDisks()

public CutoverStep.Builder clearPreparingVmDisks()

Preparing VM disks step.

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

Returns
Type Description
CutoverStep.Builder

clearPreviousReplicationCycle()

public CutoverStep.Builder clearPreviousReplicationCycle()

A replication cycle prior cutover step.

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

Returns
Type Description
CutoverStep.Builder

clearShuttingDownSourceVm()

public CutoverStep.Builder clearShuttingDownSourceVm()

Shutting down VM step.

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

Returns
Type Description
CutoverStep.Builder

clearStartTime()

public CutoverStep.Builder clearStartTime()

The time the step has started.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
CutoverStep.Builder

clearStep()

public CutoverStep.Builder clearStep()
Returns
Type Description
CutoverStep.Builder

clone()

public CutoverStep.Builder clone()
Returns
Type Description
CutoverStep.Builder
Overrides

getDefaultInstanceForType()

public CutoverStep getDefaultInstanceForType()
Returns
Type Description
CutoverStep

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

The time the step has ended.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

The time the step has ended.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The time the step has ended.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
TimestampOrBuilder

getFinalSync()

public ReplicationCycle getFinalSync()

Final sync step.

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

Returns
Type Description
ReplicationCycle

The finalSync.

getFinalSyncBuilder()

public ReplicationCycle.Builder getFinalSyncBuilder()

Final sync step.

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

Returns
Type Description
ReplicationCycle.Builder

getFinalSyncOrBuilder()

public ReplicationCycleOrBuilder getFinalSyncOrBuilder()

Final sync step.

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

Returns
Type Description
ReplicationCycleOrBuilder

getInstantiatingMigratedVm()

public InstantiatingMigratedVMStep getInstantiatingMigratedVm()

Instantiating migrated VM step.

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

Returns
Type Description
InstantiatingMigratedVMStep

The instantiatingMigratedVm.

getInstantiatingMigratedVmBuilder()

public InstantiatingMigratedVMStep.Builder getInstantiatingMigratedVmBuilder()

Instantiating migrated VM step.

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

Returns
Type Description
InstantiatingMigratedVMStep.Builder

getInstantiatingMigratedVmOrBuilder()

public InstantiatingMigratedVMStepOrBuilder getInstantiatingMigratedVmOrBuilder()

Instantiating migrated VM step.

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

Returns
Type Description
InstantiatingMigratedVMStepOrBuilder

getPreparingVmDisks()

public PreparingVMDisksStep getPreparingVmDisks()

Preparing VM disks step.

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

Returns
Type Description
PreparingVMDisksStep

The preparingVmDisks.

getPreparingVmDisksBuilder()

public PreparingVMDisksStep.Builder getPreparingVmDisksBuilder()

Preparing VM disks step.

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

Returns
Type Description
PreparingVMDisksStep.Builder

getPreparingVmDisksOrBuilder()

public PreparingVMDisksStepOrBuilder getPreparingVmDisksOrBuilder()

Preparing VM disks step.

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

Returns
Type Description
PreparingVMDisksStepOrBuilder

getPreviousReplicationCycle()

public ReplicationCycle getPreviousReplicationCycle()

A replication cycle prior cutover step.

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

Returns
Type Description
ReplicationCycle

The previousReplicationCycle.

getPreviousReplicationCycleBuilder()

public ReplicationCycle.Builder getPreviousReplicationCycleBuilder()

A replication cycle prior cutover step.

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

Returns
Type Description
ReplicationCycle.Builder

getPreviousReplicationCycleOrBuilder()

public ReplicationCycleOrBuilder getPreviousReplicationCycleOrBuilder()

A replication cycle prior cutover step.

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

Returns
Type Description
ReplicationCycleOrBuilder

getShuttingDownSourceVm()

public ShuttingDownSourceVMStep getShuttingDownSourceVm()

Shutting down VM step.

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

Returns
Type Description
ShuttingDownSourceVMStep

The shuttingDownSourceVm.

getShuttingDownSourceVmBuilder()

public ShuttingDownSourceVMStep.Builder getShuttingDownSourceVmBuilder()

Shutting down VM step.

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

Returns
Type Description
ShuttingDownSourceVMStep.Builder

getShuttingDownSourceVmOrBuilder()

public ShuttingDownSourceVMStepOrBuilder getShuttingDownSourceVmOrBuilder()

Shutting down VM step.

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

Returns
Type Description
ShuttingDownSourceVMStepOrBuilder

getStartTime()

public Timestamp getStartTime()

The time the step has started.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The time the step has started.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The time the step has started.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
TimestampOrBuilder

getStepCase()

public CutoverStep.StepCase getStepCase()
Returns
Type Description
CutoverStep.StepCase

hasEndTime()

public boolean hasEndTime()

The time the step has ended.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
boolean

Whether the endTime field is set.

hasFinalSync()

public boolean hasFinalSync()

Final sync step.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the shuttingDownSourceVm field is set.

hasStartTime()

public boolean hasStartTime()

The time the step has started.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndTime(Timestamp value)

public CutoverStep.Builder mergeEndTime(Timestamp value)

The time the step has ended.

.google.protobuf.Timestamp end_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
CutoverStep.Builder

mergeFinalSync(ReplicationCycle value)

public CutoverStep.Builder mergeFinalSync(ReplicationCycle value)

Final sync step.

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

Parameter
Name Description
value ReplicationCycle
Returns
Type Description
CutoverStep.Builder

mergeFrom(CutoverStep other)

public CutoverStep.Builder mergeFrom(CutoverStep other)
Parameter
Name Description
other CutoverStep
Returns
Type Description
CutoverStep.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CutoverStep.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CutoverStep.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CutoverStep.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value InstantiatingMigratedVMStep
Returns
Type Description
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
Name Description
value PreparingVMDisksStep
Returns
Type Description
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
Name Description
value ReplicationCycle
Returns
Type Description
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
Name Description
value ShuttingDownSourceVMStep
Returns
Type Description
CutoverStep.Builder

mergeStartTime(Timestamp value)

public CutoverStep.Builder mergeStartTime(Timestamp value)

The time the step has started.

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
CutoverStep.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CutoverStep.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
CutoverStep.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CutoverStep.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CutoverStep.Builder
Overrides

setFinalSync(ReplicationCycle value)

public CutoverStep.Builder setFinalSync(ReplicationCycle value)

Final sync step.

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

Parameter
Name Description
value ReplicationCycle
Returns
Type Description
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
Name Description
builderForValue ReplicationCycle.Builder
Returns
Type Description
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
Name Description
value InstantiatingMigratedVMStep
Returns
Type Description
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
Name Description
builderForValue InstantiatingMigratedVMStep.Builder
Returns
Type Description
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
Name Description
value PreparingVMDisksStep
Returns
Type Description
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
Name Description
builderForValue PreparingVMDisksStep.Builder
Returns
Type Description
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
Name Description
value ReplicationCycle
Returns
Type Description
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
Name Description
builderForValue ReplicationCycle.Builder
Returns
Type Description
CutoverStep.Builder

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

public CutoverStep.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value ShuttingDownSourceVMStep
Returns
Type Description
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
Name Description
builderForValue ShuttingDownSourceVMStep.Builder
Returns
Type Description
CutoverStep.Builder

setStartTime(Timestamp value)

public CutoverStep.Builder setStartTime(Timestamp value)

The time the step has started.

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
CutoverStep.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final CutoverStep.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CutoverStep.Builder
Overrides