public static final class DiskMigrationStep.Builder extends GeneratedMessageV3.Builder<DiskMigrationStep.Builder> implements DiskMigrationStepOrBuilder
DiskMigrationStep holds information about the disk migration step progress.
Protobuf type google.cloud.vmmigration.v1.DiskMigrationStep
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DiskMigrationStep.BuilderImplements
DiskMigrationStepOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DiskMigrationStep.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
build()
public DiskMigrationStep build()
Returns | |
---|---|
Type | Description |
DiskMigrationStep |
buildPartial()
public DiskMigrationStep buildPartial()
Returns | |
---|---|
Type | Description |
DiskMigrationStep |
clear()
public DiskMigrationStep.Builder clear()
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
clearCopyingSourceDiskSnapshot()
public DiskMigrationStep.Builder clearCopyingSourceDiskSnapshot()
Copying source disk snapshot step.
.google.cloud.vmmigration.v1.CopyingSourceDiskSnapshotStep copying_source_disk_snapshot = 4;
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
clearCreatingSourceDiskSnapshot()
public DiskMigrationStep.Builder clearCreatingSourceDiskSnapshot()
Creating source disk snapshot step.
.google.cloud.vmmigration.v1.CreatingSourceDiskSnapshotStep creating_source_disk_snapshot = 3;
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
clearEndTime()
public DiskMigrationStep.Builder clearEndTime()
Output only. The time the step has ended.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
clearField(Descriptors.FieldDescriptor field)
public DiskMigrationStep.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DiskMigrationStep.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
clearProvisioningTargetDisk()
public DiskMigrationStep.Builder clearProvisioningTargetDisk()
Creating target disk step.
.google.cloud.vmmigration.v1.ProvisioningTargetDiskStep provisioning_target_disk = 5;
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
clearStartTime()
public DiskMigrationStep.Builder clearStartTime()
Output only. The time the step has started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
clearStep()
public DiskMigrationStep.Builder clearStep()
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
clone()
public DiskMigrationStep.Builder clone()
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
getCopyingSourceDiskSnapshot()
public CopyingSourceDiskSnapshotStep getCopyingSourceDiskSnapshot()
Copying source disk snapshot step.
.google.cloud.vmmigration.v1.CopyingSourceDiskSnapshotStep copying_source_disk_snapshot = 4;
Returns | |
---|---|
Type | Description |
CopyingSourceDiskSnapshotStep |
The copyingSourceDiskSnapshot. |
getCopyingSourceDiskSnapshotBuilder()
public CopyingSourceDiskSnapshotStep.Builder getCopyingSourceDiskSnapshotBuilder()
Copying source disk snapshot step.
.google.cloud.vmmigration.v1.CopyingSourceDiskSnapshotStep copying_source_disk_snapshot = 4;
Returns | |
---|---|
Type | Description |
CopyingSourceDiskSnapshotStep.Builder |
getCopyingSourceDiskSnapshotOrBuilder()
public CopyingSourceDiskSnapshotStepOrBuilder getCopyingSourceDiskSnapshotOrBuilder()
Copying source disk snapshot step.
.google.cloud.vmmigration.v1.CopyingSourceDiskSnapshotStep copying_source_disk_snapshot = 4;
Returns | |
---|---|
Type | Description |
CopyingSourceDiskSnapshotStepOrBuilder |
getCreatingSourceDiskSnapshot()
public CreatingSourceDiskSnapshotStep getCreatingSourceDiskSnapshot()
Creating source disk snapshot step.
.google.cloud.vmmigration.v1.CreatingSourceDiskSnapshotStep creating_source_disk_snapshot = 3;
Returns | |
---|---|
Type | Description |
CreatingSourceDiskSnapshotStep |
The creatingSourceDiskSnapshot. |
getCreatingSourceDiskSnapshotBuilder()
public CreatingSourceDiskSnapshotStep.Builder getCreatingSourceDiskSnapshotBuilder()
Creating source disk snapshot step.
.google.cloud.vmmigration.v1.CreatingSourceDiskSnapshotStep creating_source_disk_snapshot = 3;
Returns | |
---|---|
Type | Description |
CreatingSourceDiskSnapshotStep.Builder |
getCreatingSourceDiskSnapshotOrBuilder()
public CreatingSourceDiskSnapshotStepOrBuilder getCreatingSourceDiskSnapshotOrBuilder()
Creating source disk snapshot step.
.google.cloud.vmmigration.v1.CreatingSourceDiskSnapshotStep creating_source_disk_snapshot = 3;
Returns | |
---|---|
Type | Description |
CreatingSourceDiskSnapshotStepOrBuilder |
getDefaultInstanceForType()
public DiskMigrationStep getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DiskMigrationStep |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEndTime()
public Timestamp getEndTime()
Output only. The time the step has ended.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The endTime. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
Output only. The time the step has ended.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
Output only. The time the step has ended.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getProvisioningTargetDisk()
public ProvisioningTargetDiskStep getProvisioningTargetDisk()
Creating target disk step.
.google.cloud.vmmigration.v1.ProvisioningTargetDiskStep provisioning_target_disk = 5;
Returns | |
---|---|
Type | Description |
ProvisioningTargetDiskStep |
The provisioningTargetDisk. |
getProvisioningTargetDiskBuilder()
public ProvisioningTargetDiskStep.Builder getProvisioningTargetDiskBuilder()
Creating target disk step.
.google.cloud.vmmigration.v1.ProvisioningTargetDiskStep provisioning_target_disk = 5;
Returns | |
---|---|
Type | Description |
ProvisioningTargetDiskStep.Builder |
getProvisioningTargetDiskOrBuilder()
public ProvisioningTargetDiskStepOrBuilder getProvisioningTargetDiskOrBuilder()
Creating target disk step.
.google.cloud.vmmigration.v1.ProvisioningTargetDiskStep provisioning_target_disk = 5;
Returns | |
---|---|
Type | Description |
ProvisioningTargetDiskStepOrBuilder |
getStartTime()
public Timestamp getStartTime()
Output only. The time the step has started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
Output only. The time the step has started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Output only. The time the step has started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getStepCase()
public DiskMigrationStep.StepCase getStepCase()
Returns | |
---|---|
Type | Description |
DiskMigrationStep.StepCase |
hasCopyingSourceDiskSnapshot()
public boolean hasCopyingSourceDiskSnapshot()
Copying source disk snapshot step.
.google.cloud.vmmigration.v1.CopyingSourceDiskSnapshotStep copying_source_disk_snapshot = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the copyingSourceDiskSnapshot field is set. |
hasCreatingSourceDiskSnapshot()
public boolean hasCreatingSourceDiskSnapshot()
Creating source disk snapshot step.
.google.cloud.vmmigration.v1.CreatingSourceDiskSnapshotStep creating_source_disk_snapshot = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the creatingSourceDiskSnapshot field is set. |
hasEndTime()
public boolean hasEndTime()
Output only. The time the step has ended.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the endTime field is set. |
hasProvisioningTargetDisk()
public boolean hasProvisioningTargetDisk()
Creating target disk step.
.google.cloud.vmmigration.v1.ProvisioningTargetDiskStep provisioning_target_disk = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the provisioningTargetDisk field is set. |
hasStartTime()
public boolean hasStartTime()
Output only. The time the step has started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCopyingSourceDiskSnapshot(CopyingSourceDiskSnapshotStep value)
public DiskMigrationStep.Builder mergeCopyingSourceDiskSnapshot(CopyingSourceDiskSnapshotStep value)
Copying source disk snapshot step.
.google.cloud.vmmigration.v1.CopyingSourceDiskSnapshotStep copying_source_disk_snapshot = 4;
Parameter | |
---|---|
Name | Description |
value |
CopyingSourceDiskSnapshotStep |
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
mergeCreatingSourceDiskSnapshot(CreatingSourceDiskSnapshotStep value)
public DiskMigrationStep.Builder mergeCreatingSourceDiskSnapshot(CreatingSourceDiskSnapshotStep value)
Creating source disk snapshot step.
.google.cloud.vmmigration.v1.CreatingSourceDiskSnapshotStep creating_source_disk_snapshot = 3;
Parameter | |
---|---|
Name | Description |
value |
CreatingSourceDiskSnapshotStep |
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
mergeEndTime(Timestamp value)
public DiskMigrationStep.Builder mergeEndTime(Timestamp value)
Output only. The time the step has ended.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
mergeFrom(DiskMigrationStep other)
public DiskMigrationStep.Builder mergeFrom(DiskMigrationStep other)
Parameter | |
---|---|
Name | Description |
other |
DiskMigrationStep |
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DiskMigrationStep.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DiskMigrationStep.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
mergeProvisioningTargetDisk(ProvisioningTargetDiskStep value)
public DiskMigrationStep.Builder mergeProvisioningTargetDisk(ProvisioningTargetDiskStep value)
Creating target disk step.
.google.cloud.vmmigration.v1.ProvisioningTargetDiskStep provisioning_target_disk = 5;
Parameter | |
---|---|
Name | Description |
value |
ProvisioningTargetDiskStep |
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
mergeStartTime(Timestamp value)
public DiskMigrationStep.Builder mergeStartTime(Timestamp value)
Output only. The time the step has started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DiskMigrationStep.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
setCopyingSourceDiskSnapshot(CopyingSourceDiskSnapshotStep value)
public DiskMigrationStep.Builder setCopyingSourceDiskSnapshot(CopyingSourceDiskSnapshotStep value)
Copying source disk snapshot step.
.google.cloud.vmmigration.v1.CopyingSourceDiskSnapshotStep copying_source_disk_snapshot = 4;
Parameter | |
---|---|
Name | Description |
value |
CopyingSourceDiskSnapshotStep |
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
setCopyingSourceDiskSnapshot(CopyingSourceDiskSnapshotStep.Builder builderForValue)
public DiskMigrationStep.Builder setCopyingSourceDiskSnapshot(CopyingSourceDiskSnapshotStep.Builder builderForValue)
Copying source disk snapshot step.
.google.cloud.vmmigration.v1.CopyingSourceDiskSnapshotStep copying_source_disk_snapshot = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
CopyingSourceDiskSnapshotStep.Builder |
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
setCreatingSourceDiskSnapshot(CreatingSourceDiskSnapshotStep value)
public DiskMigrationStep.Builder setCreatingSourceDiskSnapshot(CreatingSourceDiskSnapshotStep value)
Creating source disk snapshot step.
.google.cloud.vmmigration.v1.CreatingSourceDiskSnapshotStep creating_source_disk_snapshot = 3;
Parameter | |
---|---|
Name | Description |
value |
CreatingSourceDiskSnapshotStep |
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
setCreatingSourceDiskSnapshot(CreatingSourceDiskSnapshotStep.Builder builderForValue)
public DiskMigrationStep.Builder setCreatingSourceDiskSnapshot(CreatingSourceDiskSnapshotStep.Builder builderForValue)
Creating source disk snapshot step.
.google.cloud.vmmigration.v1.CreatingSourceDiskSnapshotStep creating_source_disk_snapshot = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
CreatingSourceDiskSnapshotStep.Builder |
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
setEndTime(Timestamp value)
public DiskMigrationStep.Builder setEndTime(Timestamp value)
Output only. The time the step has ended.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
setEndTime(Timestamp.Builder builderForValue)
public DiskMigrationStep.Builder setEndTime(Timestamp.Builder builderForValue)
Output only. The time the step has ended.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public DiskMigrationStep.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
setProvisioningTargetDisk(ProvisioningTargetDiskStep value)
public DiskMigrationStep.Builder setProvisioningTargetDisk(ProvisioningTargetDiskStep value)
Creating target disk step.
.google.cloud.vmmigration.v1.ProvisioningTargetDiskStep provisioning_target_disk = 5;
Parameter | |
---|---|
Name | Description |
value |
ProvisioningTargetDiskStep |
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
setProvisioningTargetDisk(ProvisioningTargetDiskStep.Builder builderForValue)
public DiskMigrationStep.Builder setProvisioningTargetDisk(ProvisioningTargetDiskStep.Builder builderForValue)
Creating target disk step.
.google.cloud.vmmigration.v1.ProvisioningTargetDiskStep provisioning_target_disk = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
ProvisioningTargetDiskStep.Builder |
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DiskMigrationStep.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
setStartTime(Timestamp value)
public DiskMigrationStep.Builder setStartTime(Timestamp value)
Output only. The time the step has started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
setStartTime(Timestamp.Builder builderForValue)
public DiskMigrationStep.Builder setStartTime(Timestamp.Builder builderForValue)
Output only. The time the step has started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DiskMigrationStep.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DiskMigrationStep.Builder |