Class EphemeralStorageLocalSsdConfig (2.38.0)

public final class EphemeralStorageLocalSsdConfig extends GeneratedMessageV3 implements EphemeralStorageLocalSsdConfigOrBuilder

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

Protobuf type google.container.v1.EphemeralStorageLocalSsdConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > EphemeralStorageLocalSsdConfig

Static Fields

LOCAL_SSD_COUNT_FIELD_NUMBER

public static final int LOCAL_SSD_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EphemeralStorageLocalSsdConfig getDefaultInstance()
Returns
TypeDescription
EphemeralStorageLocalSsdConfig

getDescriptor()

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

newBuilder()

public static EphemeralStorageLocalSsdConfig.Builder newBuilder()
Returns
TypeDescription
EphemeralStorageLocalSsdConfig.Builder

newBuilder(EphemeralStorageLocalSsdConfig prototype)

public static EphemeralStorageLocalSsdConfig.Builder newBuilder(EphemeralStorageLocalSsdConfig prototype)
Parameter
NameDescription
prototypeEphemeralStorageLocalSsdConfig
Returns
TypeDescription
EphemeralStorageLocalSsdConfig.Builder

parseDelimitedFrom(InputStream input)

public static EphemeralStorageLocalSsdConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EphemeralStorageLocalSsdConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EphemeralStorageLocalSsdConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EphemeralStorageLocalSsdConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static EphemeralStorageLocalSsdConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
EphemeralStorageLocalSsdConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EphemeralStorageLocalSsdConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EphemeralStorageLocalSsdConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EphemeralStorageLocalSsdConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EphemeralStorageLocalSsdConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EphemeralStorageLocalSsdConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EphemeralStorageLocalSsdConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EphemeralStorageLocalSsdConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EphemeralStorageLocalSsdConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EphemeralStorageLocalSsdConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EphemeralStorageLocalSsdConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static EphemeralStorageLocalSsdConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EphemeralStorageLocalSsdConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EphemeralStorageLocalSsdConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EphemeralStorageLocalSsdConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static EphemeralStorageLocalSsdConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EphemeralStorageLocalSsdConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EphemeralStorageLocalSsdConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EphemeralStorageLocalSsdConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<EphemeralStorageLocalSsdConfig> parser()
Returns
TypeDescription
Parser<EphemeralStorageLocalSsdConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public EphemeralStorageLocalSsdConfig getDefaultInstanceForType()
Returns
TypeDescription
EphemeralStorageLocalSsdConfig

getLocalSsdCount()

public int getLocalSsdCount()

Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces.

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. 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.
  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
TypeDescription
int

The localSsdCount.

getParserForType()

public Parser<EphemeralStorageLocalSsdConfig> getParserForType()
Returns
TypeDescription
Parser<EphemeralStorageLocalSsdConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public EphemeralStorageLocalSsdConfig.Builder newBuilderForType()
Returns
TypeDescription
EphemeralStorageLocalSsdConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EphemeralStorageLocalSsdConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
EphemeralStorageLocalSsdConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public EphemeralStorageLocalSsdConfig.Builder toBuilder()
Returns
TypeDescription
EphemeralStorageLocalSsdConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException