Class BundledLocalSsds.Builder (1.98.0)

public static final class BundledLocalSsds.Builder extends GeneratedMessage.Builder<BundledLocalSsds.Builder> implements BundledLocalSsdsOrBuilder

Protobuf type google.cloud.compute.v1.BundledLocalSsds

Static 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
Overrides

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
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

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 String

The 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 ByteString

The 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 int

The partitionCount to set.

Returns
Type Description
BundledLocalSsds.Builder

This builder for chaining.