Class LocalNvmeSsdBlockConfig.Builder (2.15.0)

public static final class LocalNvmeSsdBlockConfig.Builder extends GeneratedMessageV3.Builder<LocalNvmeSsdBlockConfig.Builder> implements LocalNvmeSsdBlockConfigOrBuilder

LocalNvmeSsdBlockConfig contains configuration for using raw-block local NVMe SSDs

Protobuf type google.container.v1beta1.LocalNvmeSsdBlockConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LocalNvmeSsdBlockConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LocalNvmeSsdBlockConfig.Builder
Overrides

build()

public LocalNvmeSsdBlockConfig build()
Returns
TypeDescription
LocalNvmeSsdBlockConfig

buildPartial()

public LocalNvmeSsdBlockConfig buildPartial()
Returns
TypeDescription
LocalNvmeSsdBlockConfig

clear()

public LocalNvmeSsdBlockConfig.Builder clear()
Returns
TypeDescription
LocalNvmeSsdBlockConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public LocalNvmeSsdBlockConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
LocalNvmeSsdBlockConfig.Builder
Overrides

clearLocalSsdCount()

public LocalNvmeSsdBlockConfig.Builder clearLocalSsdCount()

The number of raw-block local NVMe SSD disks to be attached to the node. Each local SSD is 375 GB in size. If zero, it means no raw-block local NVMe SSD disks to be attached to the node. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.

int32 local_ssd_count = 1;

Returns
TypeDescription
LocalNvmeSsdBlockConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public LocalNvmeSsdBlockConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
LocalNvmeSsdBlockConfig.Builder
Overrides

clone()

public LocalNvmeSsdBlockConfig.Builder clone()
Returns
TypeDescription
LocalNvmeSsdBlockConfig.Builder
Overrides

getDefaultInstanceForType()

public LocalNvmeSsdBlockConfig getDefaultInstanceForType()
Returns
TypeDescription
LocalNvmeSsdBlockConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLocalSsdCount()

public int getLocalSsdCount()

The number of raw-block local NVMe SSD disks to be attached to the node. Each local SSD is 375 GB in size. If zero, it means no raw-block local NVMe SSD disks to be attached to the node. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.

int32 local_ssd_count = 1;

Returns
TypeDescription
int

The localSsdCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(LocalNvmeSsdBlockConfig other)

public LocalNvmeSsdBlockConfig.Builder mergeFrom(LocalNvmeSsdBlockConfig other)
Parameter
NameDescription
otherLocalNvmeSsdBlockConfig
Returns
TypeDescription
LocalNvmeSsdBlockConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LocalNvmeSsdBlockConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LocalNvmeSsdBlockConfig.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public LocalNvmeSsdBlockConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
LocalNvmeSsdBlockConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LocalNvmeSsdBlockConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LocalNvmeSsdBlockConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public LocalNvmeSsdBlockConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LocalNvmeSsdBlockConfig.Builder
Overrides

setLocalSsdCount(int value)

public LocalNvmeSsdBlockConfig.Builder setLocalSsdCount(int value)

The number of raw-block local NVMe SSD disks to be attached to the node. Each local SSD is 375 GB in size. If zero, it means no raw-block local NVMe SSD disks to be attached to the node. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.

int32 local_ssd_count = 1;

Parameter
NameDescription
valueint

The localSsdCount to set.

Returns
TypeDescription
LocalNvmeSsdBlockConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public LocalNvmeSsdBlockConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
LocalNvmeSsdBlockConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LocalNvmeSsdBlockConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LocalNvmeSsdBlockConfig.Builder
Overrides