Class EphemeralStorageLocalSsdConfig.Builder (2.13.0)

public static final class EphemeralStorageLocalSsdConfig.Builder extends GeneratedMessageV3.Builder<EphemeralStorageLocalSsdConfig.Builder> implements EphemeralStorageLocalSsdConfigOrBuilder

EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs.

Protobuf type google.container.v1beta1.EphemeralStorageLocalSsdConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EphemeralStorageLocalSsdConfig build()
Returns
TypeDescription
EphemeralStorageLocalSsdConfig

buildPartial()

public EphemeralStorageLocalSsdConfig buildPartial()
Returns
TypeDescription
EphemeralStorageLocalSsdConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearLocalSsdCount()

public EphemeralStorageLocalSsdConfig.Builder clearLocalSsdCount()

Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. Each local SSD is 375 GB in size. If zero, it means to disable using local SSDs as ephemeral storage. 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
EphemeralStorageLocalSsdConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public EphemeralStorageLocalSsdConfig getDefaultInstanceForType()
Returns
TypeDescription
EphemeralStorageLocalSsdConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLocalSsdCount()

public int getLocalSsdCount()

Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. Each local SSD is 375 GB in size. If zero, it means to disable using local SSDs as ephemeral storage. 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(EphemeralStorageLocalSsdConfig other)

public EphemeralStorageLocalSsdConfig.Builder mergeFrom(EphemeralStorageLocalSsdConfig other)
Parameter
NameDescription
otherEphemeralStorageLocalSsdConfig
Returns
TypeDescription
EphemeralStorageLocalSsdConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setLocalSsdCount(int value)

public EphemeralStorageLocalSsdConfig.Builder setLocalSsdCount(int value)

Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. Each local SSD is 375 GB in size. If zero, it means to disable using local SSDs as ephemeral storage. 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
EphemeralStorageLocalSsdConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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