Class EphemeralStorageConfig (2.37.0)

public final class EphemeralStorageConfig extends GeneratedMessageV3 implements EphemeralStorageConfigOrBuilder

EphemeralStorageConfig contains configuration for the ephemeral storage filesystem.

Protobuf type google.container.v1beta1.EphemeralStorageConfig

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 EphemeralStorageConfig getDefaultInstance()
Returns
TypeDescription
EphemeralStorageConfig

getDescriptor()

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

newBuilder()

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

newBuilder(EphemeralStorageConfig prototype)

public static EphemeralStorageConfig.Builder newBuilder(EphemeralStorageConfig prototype)
Parameter
NameDescription
prototypeEphemeralStorageConfig
Returns
TypeDescription
EphemeralStorageConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public EphemeralStorageConfig getDefaultInstanceForType()
Returns
TypeDescription
EphemeralStorageConfig

getLocalSsdCount()

public int getLocalSsdCount()

Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. 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
TypeDescription
int

The localSsdCount.

getParserForType()

public Parser<EphemeralStorageConfig> getParserForType()
Returns
TypeDescription
Parser<EphemeralStorageConfig>
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 EphemeralStorageConfig.Builder newBuilderForType()
Returns
TypeDescription
EphemeralStorageConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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