Class AwsSourceVmDetails.AwsDiskDetails.Builder (0.15.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AwsSourceVmDetails.AwsDiskDetails build()
Returns
Type Description
AwsSourceVmDetails.AwsDiskDetails

buildPartial()

public AwsSourceVmDetails.AwsDiskDetails buildPartial()
Returns
Type Description
AwsSourceVmDetails.AwsDiskDetails

clear()

public AwsSourceVmDetails.AwsDiskDetails.Builder clear()
Returns
Type Description
AwsSourceVmDetails.AwsDiskDetails.Builder
Overrides

clearDiskNumber()

public AwsSourceVmDetails.AwsDiskDetails.Builder clearDiskNumber()

The ordinal number of the disk.

int32 disk_number = 1;

Returns
Type Description
AwsSourceVmDetails.AwsDiskDetails.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSizeGb()

public AwsSourceVmDetails.AwsDiskDetails.Builder clearSizeGb()

Size in GB.

int64 size_gb = 3;

Returns
Type Description
AwsSourceVmDetails.AwsDiskDetails.Builder

This builder for chaining.

clearVolumeId()

public AwsSourceVmDetails.AwsDiskDetails.Builder clearVolumeId()

AWS volume ID.

string volume_id = 2;

Returns
Type Description
AwsSourceVmDetails.AwsDiskDetails.Builder

This builder for chaining.

clone()

public AwsSourceVmDetails.AwsDiskDetails.Builder clone()
Returns
Type Description
AwsSourceVmDetails.AwsDiskDetails.Builder
Overrides

getDefaultInstanceForType()

public AwsSourceVmDetails.AwsDiskDetails getDefaultInstanceForType()
Returns
Type Description
AwsSourceVmDetails.AwsDiskDetails

getDescriptorForType()

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

getDiskNumber()

public int getDiskNumber()

The ordinal number of the disk.

int32 disk_number = 1;

Returns
Type Description
int

The diskNumber.

getSizeGb()

public long getSizeGb()

Size in GB.

int64 size_gb = 3;

Returns
Type Description
long

The sizeGb.

getVolumeId()

public String getVolumeId()

AWS volume ID.

string volume_id = 2;

Returns
Type Description
String

The volumeId.

getVolumeIdBytes()

public ByteString getVolumeIdBytes()

AWS volume ID.

string volume_id = 2;

Returns
Type Description
ByteString

The bytes for volumeId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AwsSourceVmDetails.AwsDiskDetails other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AwsSourceVmDetails.AwsDiskDetails.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AwsSourceVmDetails.AwsDiskDetails.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AwsSourceVmDetails.AwsDiskDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value int

The diskNumber to set.

Returns
Type Description
AwsSourceVmDetails.AwsDiskDetails.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AwsSourceVmDetails.AwsDiskDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AwsSourceVmDetails.AwsDiskDetails.Builder
Overrides

setSizeGb(long value)

public AwsSourceVmDetails.AwsDiskDetails.Builder setSizeGb(long value)

Size in GB.

int64 size_gb = 3;

Parameter
Name Description
value long

The sizeGb to set.

Returns
Type Description
AwsSourceVmDetails.AwsDiskDetails.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setVolumeId(String value)

public AwsSourceVmDetails.AwsDiskDetails.Builder setVolumeId(String value)

AWS volume ID.

string volume_id = 2;

Parameter
Name Description
value String

The volumeId to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for volumeId to set.

Returns
Type Description
AwsSourceVmDetails.AwsDiskDetails.Builder

This builder for chaining.