public final class LocalNvmeSsdBlockConfig extends GeneratedMessageV3 implements LocalNvmeSsdBlockConfigOrBuilder
LocalNvmeSsdBlockConfig contains configuration for using raw-block local
NVMe SSDs
Protobuf type google.container.v1beta1.LocalNvmeSsdBlockConfig
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 LocalNvmeSsdBlockConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static LocalNvmeSsdBlockConfig.Builder newBuilder()
newBuilder(LocalNvmeSsdBlockConfig prototype)
public static LocalNvmeSsdBlockConfig.Builder newBuilder(LocalNvmeSsdBlockConfig prototype)
public static LocalNvmeSsdBlockConfig parseDelimitedFrom(InputStream input)
public static LocalNvmeSsdBlockConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static LocalNvmeSsdBlockConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LocalNvmeSsdBlockConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static LocalNvmeSsdBlockConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LocalNvmeSsdBlockConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LocalNvmeSsdBlockConfig parseFrom(CodedInputStream input)
public static LocalNvmeSsdBlockConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LocalNvmeSsdBlockConfig parseFrom(InputStream input)
public static LocalNvmeSsdBlockConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static LocalNvmeSsdBlockConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LocalNvmeSsdBlockConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<LocalNvmeSsdBlockConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public LocalNvmeSsdBlockConfig getDefaultInstanceForType()
getLocalSsdCount()
public int getLocalSsdCount()
Number of local NVMe SSDs to use. 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<LocalNvmeSsdBlockConfig> 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 LocalNvmeSsdBlockConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LocalNvmeSsdBlockConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public LocalNvmeSsdBlockConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides