public static final class BundledLocalSsds.Builder extends GeneratedMessage.Builder<BundledLocalSsds.Builder> implements BundledLocalSsdsOrBuilder Protobuf type google.cloud.compute.v1.BundledLocalSsds
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BundledLocalSsds.BuilderImplements
BundledLocalSsdsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public BundledLocalSsds build()| Returns | |
|---|---|
| Type | Description |
BundledLocalSsds |
|
buildPartial()
public BundledLocalSsds buildPartial()| Returns | |
|---|---|
| Type | Description |
BundledLocalSsds |
|
clear()
public BundledLocalSsds.Builder clear()| Returns | |
|---|---|
| Type | Description |
BundledLocalSsds.Builder |
|
clearDefaultInterface()
public BundledLocalSsds.Builder clearDefaultInterface()The default disk interface if the interface is not specified.
optional string default_interface = 17309883;
| Returns | |
|---|---|
| Type | Description |
BundledLocalSsds.Builder |
This builder for chaining. |
clearPartitionCount()
public BundledLocalSsds.Builder clearPartitionCount()The number of partitions.
optional int32 partition_count = 408514426;
| Returns | |
|---|---|
| Type | Description |
BundledLocalSsds.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public BundledLocalSsds getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BundledLocalSsds |
|
getDefaultInterface()
public String getDefaultInterface()The default disk interface if the interface is not specified.
optional string default_interface = 17309883;
| Returns | |
|---|---|
| Type | Description |
String |
The defaultInterface. |
getDefaultInterfaceBytes()
public ByteString getDefaultInterfaceBytes()The default disk interface if the interface is not specified.
optional string default_interface = 17309883;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for defaultInterface. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPartitionCount()
public int getPartitionCount()The number of partitions.
optional int32 partition_count = 408514426;
| Returns | |
|---|---|
| Type | Description |
int |
The partitionCount. |
hasDefaultInterface()
public boolean hasDefaultInterface()The default disk interface if the interface is not specified.
optional string default_interface = 17309883;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the defaultInterface field is set. |
hasPartitionCount()
public boolean hasPartitionCount()The number of partitions.
optional int32 partition_count = 408514426;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the partitionCount field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BundledLocalSsds other)
public BundledLocalSsds.Builder mergeFrom(BundledLocalSsds other)| Parameter | |
|---|---|
| Name | Description |
other |
BundledLocalSsds |
| Returns | |
|---|---|
| Type | Description |
BundledLocalSsds.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BundledLocalSsds.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BundledLocalSsds.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BundledLocalSsds.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BundledLocalSsds.Builder |
|
setDefaultInterface(String value)
public BundledLocalSsds.Builder setDefaultInterface(String value)The default disk interface if the interface is not specified.
optional string default_interface = 17309883;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe defaultInterface to set. |
| Returns | |
|---|---|
| Type | Description |
BundledLocalSsds.Builder |
This builder for chaining. |
setDefaultInterfaceBytes(ByteString value)
public BundledLocalSsds.Builder setDefaultInterfaceBytes(ByteString value)The default disk interface if the interface is not specified.
optional string default_interface = 17309883;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for defaultInterface to set. |
| Returns | |
|---|---|
| Type | Description |
BundledLocalSsds.Builder |
This builder for chaining. |
setPartitionCount(int value)
public BundledLocalSsds.Builder setPartitionCount(int value)The number of partitions.
optional int32 partition_count = 408514426;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe partitionCount to set. |
| Returns | |
|---|---|
| Type | Description |
BundledLocalSsds.Builder |
This builder for chaining. |