public final class EphemeralStorageConfig extends GeneratedMessageV3 implements EphemeralStorageConfigOrBuilder
EphemeralStorageConfig contains configuration for the ephemeral storage
filesystem.
Protobuf type google.container.v1beta1.EphemeralStorageConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
LOCAL_SSD_COUNT_FIELD_NUMBER
public static final int LOCAL_SSD_COUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static EphemeralStorageConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static EphemeralStorageConfig.Builder newBuilder()
newBuilder(EphemeralStorageConfig prototype)
public static EphemeralStorageConfig.Builder newBuilder(EphemeralStorageConfig prototype)
public static EphemeralStorageConfig parseDelimitedFrom(InputStream input)
public static EphemeralStorageConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static EphemeralStorageConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EphemeralStorageConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static EphemeralStorageConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EphemeralStorageConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EphemeralStorageConfig parseFrom(CodedInputStream input)
public static EphemeralStorageConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static EphemeralStorageConfig parseFrom(InputStream input)
public static EphemeralStorageConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static EphemeralStorageConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EphemeralStorageConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<EphemeralStorageConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public EphemeralStorageConfig getDefaultInstanceForType()
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:
- For pre-Gen3 machines, which support flexible numbers of local ssds,
zero (or unset) means to disable using local SSDs as ephemeral storage.
- 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.
|
getParserForType()
public Parser<EphemeralStorageConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public EphemeralStorageConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EphemeralStorageConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public EphemeralStorageConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides