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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AwsSourceVmDetails.AwsDiskDetails.BuilderImplements
AwsSourceVmDetails.AwsDiskDetailsOrBuilderStatic 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 |
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 |
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 |
clearOneof(Descriptors.OneofDescriptor oneof)
public AwsSourceVmDetails.AwsDiskDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.AwsDiskDetails.Builder |
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 |
getDefaultInstanceForType()
public AwsSourceVmDetails.AwsDiskDetails getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.AwsDiskDetails |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AwsSourceVmDetails.AwsDiskDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.AwsDiskDetails.Builder |
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 |
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 |
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 |
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. |