Class CloneStep.Builder (1.21.0)

public static final class CloneStep.Builder extends GeneratedMessageV3.Builder<CloneStep.Builder> implements CloneStepOrBuilder

CloneStep holds information about the clone step progress.

Protobuf type google.cloud.vmmigration.v1.CloneStep

Implements

CloneStepOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CloneStep build()
Returns
TypeDescription
CloneStep

buildPartial()

public CloneStep buildPartial()
Returns
TypeDescription
CloneStep

clear()

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

clearAdaptingOs()

public CloneStep.Builder clearAdaptingOs()

Adapting OS step.

.google.cloud.vmmigration.v1.AdaptingOSStep adapting_os = 3;

Returns
TypeDescription
CloneStep.Builder

clearEndTime()

public CloneStep.Builder clearEndTime()

The time the step has ended.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
CloneStep.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearInstantiatingMigratedVm()

public CloneStep.Builder clearInstantiatingMigratedVm()

Instantiating migrated VM step.

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

Returns
TypeDescription
CloneStep.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPreparingVmDisks()

public CloneStep.Builder clearPreparingVmDisks()

Preparing VM disks step.

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

Returns
TypeDescription
CloneStep.Builder

clearStartTime()

public CloneStep.Builder clearStartTime()

The time the step has started.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
CloneStep.Builder

clearStep()

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

clone()

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

getAdaptingOs()

public AdaptingOSStep getAdaptingOs()

Adapting OS step.

.google.cloud.vmmigration.v1.AdaptingOSStep adapting_os = 3;

Returns
TypeDescription
AdaptingOSStep

The adaptingOs.

getAdaptingOsBuilder()

public AdaptingOSStep.Builder getAdaptingOsBuilder()

Adapting OS step.

.google.cloud.vmmigration.v1.AdaptingOSStep adapting_os = 3;

Returns
TypeDescription
AdaptingOSStep.Builder

getAdaptingOsOrBuilder()

public AdaptingOSStepOrBuilder getAdaptingOsOrBuilder()

Adapting OS step.

.google.cloud.vmmigration.v1.AdaptingOSStep adapting_os = 3;

Returns
TypeDescription
AdaptingOSStepOrBuilder

getDefaultInstanceForType()

public CloneStep getDefaultInstanceForType()
Returns
TypeDescription
CloneStep

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

getInstantiatingMigratedVm()

public InstantiatingMigratedVMStep getInstantiatingMigratedVm()

Instantiating migrated VM step.

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

Returns
TypeDescription
InstantiatingMigratedVMStep

The instantiatingMigratedVm.

getInstantiatingMigratedVmBuilder()

public InstantiatingMigratedVMStep.Builder getInstantiatingMigratedVmBuilder()

Instantiating migrated VM step.

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

Returns
TypeDescription
InstantiatingMigratedVMStep.Builder

getInstantiatingMigratedVmOrBuilder()

public InstantiatingMigratedVMStepOrBuilder getInstantiatingMigratedVmOrBuilder()

Instantiating migrated VM step.

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

Returns
TypeDescription
InstantiatingMigratedVMStepOrBuilder

getPreparingVmDisks()

public PreparingVMDisksStep getPreparingVmDisks()

Preparing VM disks step.

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

Returns
TypeDescription
PreparingVMDisksStep

The preparingVmDisks.

getPreparingVmDisksBuilder()

public PreparingVMDisksStep.Builder getPreparingVmDisksBuilder()

Preparing VM disks step.

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

Returns
TypeDescription
PreparingVMDisksStep.Builder

getPreparingVmDisksOrBuilder()

public PreparingVMDisksStepOrBuilder getPreparingVmDisksOrBuilder()

Preparing VM disks step.

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

Returns
TypeDescription
PreparingVMDisksStepOrBuilder

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 CloneStep.StepCase getStepCase()
Returns
TypeDescription
CloneStep.StepCase

hasAdaptingOs()

public boolean hasAdaptingOs()

Adapting OS step.

.google.cloud.vmmigration.v1.AdaptingOSStep adapting_os = 3;

Returns
TypeDescription
boolean

Whether the adaptingOs field is set.

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.

hasInstantiatingMigratedVm()

public boolean hasInstantiatingMigratedVm()

Instantiating migrated VM step.

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

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 = 4;

Returns
TypeDescription
boolean

Whether the preparingVmDisks 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

mergeAdaptingOs(AdaptingOSStep value)

public CloneStep.Builder mergeAdaptingOs(AdaptingOSStep value)

Adapting OS step.

.google.cloud.vmmigration.v1.AdaptingOSStep adapting_os = 3;

Parameter
NameDescription
valueAdaptingOSStep
Returns
TypeDescription
CloneStep.Builder

mergeEndTime(Timestamp value)

public CloneStep.Builder mergeEndTime(Timestamp value)

The time the step has ended.

.google.protobuf.Timestamp end_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CloneStep.Builder

mergeFrom(CloneStep other)

public CloneStep.Builder mergeFrom(CloneStep other)
Parameter
NameDescription
otherCloneStep
Returns
TypeDescription
CloneStep.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInstantiatingMigratedVm(InstantiatingMigratedVMStep value)

public CloneStep.Builder mergeInstantiatingMigratedVm(InstantiatingMigratedVMStep value)

Instantiating migrated VM step.

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

Parameter
NameDescription
valueInstantiatingMigratedVMStep
Returns
TypeDescription
CloneStep.Builder

mergePreparingVmDisks(PreparingVMDisksStep value)

public CloneStep.Builder mergePreparingVmDisks(PreparingVMDisksStep value)

Preparing VM disks step.

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

Parameter
NameDescription
valuePreparingVMDisksStep
Returns
TypeDescription
CloneStep.Builder

mergeStartTime(Timestamp value)

public CloneStep.Builder mergeStartTime(Timestamp value)

The time the step has started.

.google.protobuf.Timestamp start_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CloneStep.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAdaptingOs(AdaptingOSStep value)

public CloneStep.Builder setAdaptingOs(AdaptingOSStep value)

Adapting OS step.

.google.cloud.vmmigration.v1.AdaptingOSStep adapting_os = 3;

Parameter
NameDescription
valueAdaptingOSStep
Returns
TypeDescription
CloneStep.Builder

setAdaptingOs(AdaptingOSStep.Builder builderForValue)

public CloneStep.Builder setAdaptingOs(AdaptingOSStep.Builder builderForValue)

Adapting OS step.

.google.cloud.vmmigration.v1.AdaptingOSStep adapting_os = 3;

Parameter
NameDescription
builderForValueAdaptingOSStep.Builder
Returns
TypeDescription
CloneStep.Builder

setEndTime(Timestamp value)

public CloneStep.Builder setEndTime(Timestamp value)

The time the step has ended.

.google.protobuf.Timestamp end_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CloneStep.Builder

setEndTime(Timestamp.Builder builderForValue)

public CloneStep.Builder setEndTime(Timestamp.Builder builderForValue)

The time the step has ended.

.google.protobuf.Timestamp end_time = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
CloneStep.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstantiatingMigratedVm(InstantiatingMigratedVMStep value)

public CloneStep.Builder setInstantiatingMigratedVm(InstantiatingMigratedVMStep value)

Instantiating migrated VM step.

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

Parameter
NameDescription
valueInstantiatingMigratedVMStep
Returns
TypeDescription
CloneStep.Builder

setInstantiatingMigratedVm(InstantiatingMigratedVMStep.Builder builderForValue)

public CloneStep.Builder setInstantiatingMigratedVm(InstantiatingMigratedVMStep.Builder builderForValue)

Instantiating migrated VM step.

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

Parameter
NameDescription
builderForValueInstantiatingMigratedVMStep.Builder
Returns
TypeDescription
CloneStep.Builder

setPreparingVmDisks(PreparingVMDisksStep value)

public CloneStep.Builder setPreparingVmDisks(PreparingVMDisksStep value)

Preparing VM disks step.

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

Parameter
NameDescription
valuePreparingVMDisksStep
Returns
TypeDescription
CloneStep.Builder

setPreparingVmDisks(PreparingVMDisksStep.Builder builderForValue)

public CloneStep.Builder setPreparingVmDisks(PreparingVMDisksStep.Builder builderForValue)

Preparing VM disks step.

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

Parameter
NameDescription
builderForValuePreparingVMDisksStep.Builder
Returns
TypeDescription
CloneStep.Builder

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

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

setStartTime(Timestamp value)

public CloneStep.Builder setStartTime(Timestamp value)

The time the step has started.

.google.protobuf.Timestamp start_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CloneStep.Builder

setStartTime(Timestamp.Builder builderForValue)

public CloneStep.Builder setStartTime(Timestamp.Builder builderForValue)

The time the step has started.

.google.protobuf.Timestamp start_time = 1;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
CloneStep.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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