public static final class AwsSourceVmDetails.Builder extends GeneratedMessageV3.Builder<AwsSourceVmDetails.Builder> implements AwsSourceVmDetailsOrBuilder
Represent the source AWS VM details.
Protobuf type google.cloud.vmmigration.v1.AwsSourceVmDetails
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AwsSourceVmDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AwsSourceVmDetails build()
Returns
buildPartial()
public AwsSourceVmDetails buildPartial()
Returns
clear()
public AwsSourceVmDetails.Builder clear()
Returns
Overrides
clearCommittedStorageBytes()
public AwsSourceVmDetails.Builder clearCommittedStorageBytes()
The total size of the disks being migrated in bytes.
int64 committed_storage_bytes = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public AwsSourceVmDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearFirmware()
public AwsSourceVmDetails.Builder clearFirmware()
The firmware type of the source VM.
.google.cloud.vmmigration.v1.AwsSourceVmDetails.Firmware firmware = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public AwsSourceVmDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public AwsSourceVmDetails.Builder clone()
Returns
Overrides
getCommittedStorageBytes()
public long getCommittedStorageBytes()
The total size of the disks being migrated in bytes.
int64 committed_storage_bytes = 2;
Returns
Type | Description |
long | The committedStorageBytes.
|
getDefaultInstanceForType()
public AwsSourceVmDetails getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getFirmware()
public AwsSourceVmDetails.Firmware getFirmware()
The firmware type of the source VM.
.google.cloud.vmmigration.v1.AwsSourceVmDetails.Firmware firmware = 1;
Returns
getFirmwareValue()
public int getFirmwareValue()
The firmware type of the source VM.
.google.cloud.vmmigration.v1.AwsSourceVmDetails.Firmware firmware = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for firmware.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AwsSourceVmDetails other)
public AwsSourceVmDetails.Builder mergeFrom(AwsSourceVmDetails other)
Parameter
Returns
public AwsSourceVmDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AwsSourceVmDetails.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AwsSourceVmDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setCommittedStorageBytes(long value)
public AwsSourceVmDetails.Builder setCommittedStorageBytes(long value)
The total size of the disks being migrated in bytes.
int64 committed_storage_bytes = 2;
Parameter
Name | Description |
value | long
The committedStorageBytes to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AwsSourceVmDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setFirmware(AwsSourceVmDetails.Firmware value)
public AwsSourceVmDetails.Builder setFirmware(AwsSourceVmDetails.Firmware value)
The firmware type of the source VM.
.google.cloud.vmmigration.v1.AwsSourceVmDetails.Firmware firmware = 1;
Parameter
Returns
setFirmwareValue(int value)
public AwsSourceVmDetails.Builder setFirmwareValue(int value)
The firmware type of the source VM.
.google.cloud.vmmigration.v1.AwsSourceVmDetails.Firmware firmware = 1;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for firmware to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AwsSourceVmDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AwsSourceVmDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides