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