Class AwsSourceVmDetails.AwsDiskDetails.Builder (0.14.1)

public static final class AwsSourceVmDetails.AwsDiskDetails.Builder extends GeneratedMessageV3.Builder<AwsSourceVmDetails.AwsDiskDetails.Builder> implements AwsSourceVmDetails.AwsDiskDetailsOrBuilder

The details of an AWS instance disk.

Protobuf type google.events.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AwsSourceVmDetails.AwsDiskDetails build()
Returns
TypeDescription
AwsSourceVmDetails.AwsDiskDetails

buildPartial()

public AwsSourceVmDetails.AwsDiskDetails buildPartial()
Returns
TypeDescription
AwsSourceVmDetails.AwsDiskDetails

clear()

public AwsSourceVmDetails.AwsDiskDetails.Builder clear()
Returns
TypeDescription
AwsSourceVmDetails.AwsDiskDetails.Builder
Overrides

clearDiskNumber()

public AwsSourceVmDetails.AwsDiskDetails.Builder clearDiskNumber()

The ordinal number of the disk.

int32 disk_number = 1;

Returns
TypeDescription
AwsSourceVmDetails.AwsDiskDetails.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSizeGb()

public AwsSourceVmDetails.AwsDiskDetails.Builder clearSizeGb()

Size in GB.

int64 size_gb = 3;

Returns
TypeDescription
AwsSourceVmDetails.AwsDiskDetails.Builder

This builder for chaining.

clearVolumeId()

public AwsSourceVmDetails.AwsDiskDetails.Builder clearVolumeId()

AWS volume ID.

string volume_id = 2;

Returns
TypeDescription
AwsSourceVmDetails.AwsDiskDetails.Builder

This builder for chaining.

clone()

public AwsSourceVmDetails.AwsDiskDetails.Builder clone()
Returns
TypeDescription
AwsSourceVmDetails.AwsDiskDetails.Builder
Overrides

getDefaultInstanceForType()

public AwsSourceVmDetails.AwsDiskDetails getDefaultInstanceForType()
Returns
TypeDescription
AwsSourceVmDetails.AwsDiskDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDiskNumber()

public int getDiskNumber()

The ordinal number of the disk.

int32 disk_number = 1;

Returns
TypeDescription
int

The diskNumber.

getSizeGb()

public long getSizeGb()

Size in GB.

int64 size_gb = 3;

Returns
TypeDescription
long

The sizeGb.

getVolumeId()

public String getVolumeId()

AWS volume ID.

string volume_id = 2;

Returns
TypeDescription
String

The volumeId.

getVolumeIdBytes()

public ByteString getVolumeIdBytes()

AWS volume ID.

string volume_id = 2;

Returns
TypeDescription
ByteString

The bytes for volumeId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AwsSourceVmDetails.AwsDiskDetails other)

public AwsSourceVmDetails.AwsDiskDetails.Builder mergeFrom(AwsSourceVmDetails.AwsDiskDetails other)
Parameter
NameDescription
otherAwsSourceVmDetails.AwsDiskDetails
Returns
TypeDescription
AwsSourceVmDetails.AwsDiskDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDiskNumber(int value)

public AwsSourceVmDetails.AwsDiskDetails.Builder setDiskNumber(int value)

The ordinal number of the disk.

int32 disk_number = 1;

Parameter
NameDescription
valueint

The diskNumber to set.

Returns
TypeDescription
AwsSourceVmDetails.AwsDiskDetails.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSizeGb(long value)

public AwsSourceVmDetails.AwsDiskDetails.Builder setSizeGb(long value)

Size in GB.

int64 size_gb = 3;

Parameter
NameDescription
valuelong

The sizeGb to set.

Returns
TypeDescription
AwsSourceVmDetails.AwsDiskDetails.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setVolumeId(String value)

public AwsSourceVmDetails.AwsDiskDetails.Builder setVolumeId(String value)

AWS volume ID.

string volume_id = 2;

Parameter
NameDescription
valueString

The volumeId to set.

Returns
TypeDescription
AwsSourceVmDetails.AwsDiskDetails.Builder

This builder for chaining.

setVolumeIdBytes(ByteString value)

public AwsSourceVmDetails.AwsDiskDetails.Builder setVolumeIdBytes(ByteString value)

AWS volume ID.

string volume_id = 2;

Parameter
NameDescription
valueByteString

The bytes for volumeId to set.

Returns
TypeDescription
AwsSourceVmDetails.AwsDiskDetails.Builder

This builder for chaining.