public static final class AzureVmDetails.Disk.Builder extends GeneratedMessage.Builder<AzureVmDetails.Disk.Builder> implements AzureVmDetails.DiskOrBuilderA message describing a data disk.
Protobuf type google.cloud.vmmigration.v1.AzureVmDetails.Disk
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AzureVmDetails.Disk.BuilderImplements
AzureVmDetails.DiskOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AzureVmDetails.Disk build()| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Disk |
|
buildPartial()
public AzureVmDetails.Disk buildPartial()| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Disk |
|
clear()
public AzureVmDetails.Disk.Builder clear()| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Disk.Builder |
|
clearLun()
public AzureVmDetails.Disk.Builder clearLun()The disk's Logical Unit Number (LUN).
int32 lun = 3;
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Disk.Builder |
This builder for chaining. |
clearName()
public AzureVmDetails.Disk.Builder clearName()The disk name.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Disk.Builder |
This builder for chaining. |
clearSizeGb()
public AzureVmDetails.Disk.Builder clearSizeGb()The disk size in GB.
int32 size_gb = 2;
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Disk.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public AzureVmDetails.Disk getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Disk |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLun()
public int getLun()The disk's Logical Unit Number (LUN).
int32 lun = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The lun. |
getName()
public String getName()The disk name.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()The disk name.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getSizeGb()
public int getSizeGb()The disk size in GB.
int32 size_gb = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The sizeGb. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AzureVmDetails.Disk other)
public AzureVmDetails.Disk.Builder mergeFrom(AzureVmDetails.Disk other)| Parameter | |
|---|---|
| Name | Description |
other |
AzureVmDetails.Disk |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Disk.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AzureVmDetails.Disk.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Disk.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AzureVmDetails.Disk.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Disk.Builder |
|
setLun(int value)
public AzureVmDetails.Disk.Builder setLun(int value)The disk's Logical Unit Number (LUN).
int32 lun = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe lun to set. |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Disk.Builder |
This builder for chaining. |
setName(String value)
public AzureVmDetails.Disk.Builder setName(String value)The disk name.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Disk.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public AzureVmDetails.Disk.Builder setNameBytes(ByteString value)The disk name.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Disk.Builder |
This builder for chaining. |
setSizeGb(int value)
public AzureVmDetails.Disk.Builder setSizeGb(int value)The disk size in GB.
int32 size_gb = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe sizeGb to set. |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Disk.Builder |
This builder for chaining. |