Class LocalNvmeSsdBlockConfig.Builder (2.47.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.v1.LocalNvmeSsdBlockConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LocalNvmeSsdBlockConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LocalNvmeSsdBlockConfig.Builder
Overrides

build()

public LocalNvmeSsdBlockConfig build()
Returns
Type Description
LocalNvmeSsdBlockConfig

buildPartial()

public LocalNvmeSsdBlockConfig buildPartial()
Returns
Type Description
LocalNvmeSsdBlockConfig

clear()

public LocalNvmeSsdBlockConfig.Builder clear()
Returns
Type Description
LocalNvmeSsdBlockConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public LocalNvmeSsdBlockConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
LocalNvmeSsdBlockConfig.Builder
Overrides

clearLocalSsdCount()

public LocalNvmeSsdBlockConfig.Builder clearLocalSsdCount()

Number of local NVMe SSDs to use. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.

A zero (or unset) value has different meanings depending on machine type being used:

  1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage.
  2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info.

int32 local_ssd_count = 1;

Returns
Type Description
LocalNvmeSsdBlockConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public LocalNvmeSsdBlockConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
LocalNvmeSsdBlockConfig.Builder
Overrides

clone()

public LocalNvmeSsdBlockConfig.Builder clone()
Returns
Type Description
LocalNvmeSsdBlockConfig.Builder
Overrides

getDefaultInstanceForType()

public LocalNvmeSsdBlockConfig getDefaultInstanceForType()
Returns
Type Description
LocalNvmeSsdBlockConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLocalSsdCount()

public int getLocalSsdCount()

Number of local NVMe SSDs to use. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.

A zero (or unset) value has different meanings depending on machine type being used:

  1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage.
  2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info.

int32 local_ssd_count = 1;

Returns
Type Description
int

The localSsdCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LocalNvmeSsdBlockConfig other)

public LocalNvmeSsdBlockConfig.Builder mergeFrom(LocalNvmeSsdBlockConfig other)
Parameter
Name Description
other LocalNvmeSsdBlockConfig
Returns
Type Description
LocalNvmeSsdBlockConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LocalNvmeSsdBlockConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LocalNvmeSsdBlockConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LocalNvmeSsdBlockConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LocalNvmeSsdBlockConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public LocalNvmeSsdBlockConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LocalNvmeSsdBlockConfig.Builder
Overrides

setLocalSsdCount(int value)

public LocalNvmeSsdBlockConfig.Builder setLocalSsdCount(int value)

Number of local NVMe SSDs to use. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.

A zero (or unset) value has different meanings depending on machine type being used:

  1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage.
  2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info.

int32 local_ssd_count = 1;

Parameter
Name Description
value int

The localSsdCount to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
LocalNvmeSsdBlockConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LocalNvmeSsdBlockConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LocalNvmeSsdBlockConfig.Builder
Overrides