public static final class LocalNvmeSsdBlockConfig.Builder extends GeneratedMessageV3.Builder<LocalNvmeSsdBlockConfig.Builder> implements LocalNvmeSsdBlockConfigOrBuilder
LocalNvmeSsdBlockConfig contains configuration for using raw-block local
NVMe SSDs
Protobuf type google.container.v1beta1.LocalNvmeSsdBlockConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LocalNvmeSsdBlockConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public LocalNvmeSsdBlockConfig build()
buildPartial()
public LocalNvmeSsdBlockConfig buildPartial()
clear()
public LocalNvmeSsdBlockConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public LocalNvmeSsdBlockConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLocalSsdCount()
public LocalNvmeSsdBlockConfig.Builder clearLocalSsdCount()
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public LocalNvmeSsdBlockConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public LocalNvmeSsdBlockConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public LocalNvmeSsdBlockConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(LocalNvmeSsdBlockConfig other)
public LocalNvmeSsdBlockConfig.Builder mergeFrom(LocalNvmeSsdBlockConfig other)
public LocalNvmeSsdBlockConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public LocalNvmeSsdBlockConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LocalNvmeSsdBlockConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public LocalNvmeSsdBlockConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setLocalSsdCount(int value)
public LocalNvmeSsdBlockConfig.Builder setLocalSsdCount(int value)
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;
Parameter |
---|
Name | Description |
value | int
The localSsdCount to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LocalNvmeSsdBlockConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final LocalNvmeSsdBlockConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides