Class EphemeralStorageConfig.Builder (2.9.0)

public static final class EphemeralStorageConfig.Builder extends GeneratedMessageV3.Builder<EphemeralStorageConfig.Builder> implements EphemeralStorageConfigOrBuilder

EphemeralStorageConfig contains configuration for the ephemeral storage filesystem.

Protobuf type google.container.v1beta1.EphemeralStorageConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EphemeralStorageConfig build()
Returns
TypeDescription
EphemeralStorageConfig

buildPartial()

public EphemeralStorageConfig buildPartial()
Returns
TypeDescription
EphemeralStorageConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearLocalSsdCount()

public EphemeralStorageConfig.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.

int32 local_ssd_count = 1;

Returns
TypeDescription
EphemeralStorageConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public EphemeralStorageConfig getDefaultInstanceForType()
Returns
TypeDescription
EphemeralStorageConfig

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.

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(EphemeralStorageConfig other)

public EphemeralStorageConfig.Builder mergeFrom(EphemeralStorageConfig other)
Parameter
NameDescription
otherEphemeralStorageConfig
Returns
TypeDescription
EphemeralStorageConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setLocalSsdCount(int value)

public EphemeralStorageConfig.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.

int32 local_ssd_count = 1;

Parameter
NameDescription
valueint

The localSsdCount to set.

Returns
TypeDescription
EphemeralStorageConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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