public static final class LocalNvmeSsdBlockConfig.Builder extends GeneratedMessageV3.Builder<LocalNvmeSsdBlockConfig.Builder> implements LocalNvmeSsdBlockConfigOrBuilder
LocalNvmeSsdBlockConfig contains configuration for using raw-block local
NVMe SSD.
Protobuf type google.container.v1.LocalNvmeSsdBlockConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LocalNvmeSsdBlockConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public LocalNvmeSsdBlockConfig build()
Returns
buildPartial()
public LocalNvmeSsdBlockConfig buildPartial()
Returns
clear()
public LocalNvmeSsdBlockConfig.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public LocalNvmeSsdBlockConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearLocalSsdCount()
public LocalNvmeSsdBlockConfig.Builder clearLocalSsdCount()
The number of raw-block local NVMe SSD disks to be attached to the node.
Each local SSD is 375 GB in size. If zero, it means no raw-block local NVMe
SSD disks to be attached to the node.
The limit for this value is dependent upon the maximum number of
disks available on a machine per zone. See:
https://cloud.google.com/compute/docs/disks/local-ssd
for more information.
int32 local_ssd_count = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public LocalNvmeSsdBlockConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public LocalNvmeSsdBlockConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public LocalNvmeSsdBlockConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getLocalSsdCount()
public int getLocalSsdCount()
The number of raw-block local NVMe SSD disks to be attached to the node.
Each local SSD is 375 GB in size. If zero, it means no raw-block local NVMe
SSD disks to be attached to the node.
The limit for this value is dependent upon the maximum number of
disks available on a machine per zone. See:
https://cloud.google.com/compute/docs/disks/local-ssd
for more information.
int32 local_ssd_count = 1;
Returns
Type | Description |
int | The localSsdCount.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(LocalNvmeSsdBlockConfig other)
public LocalNvmeSsdBlockConfig.Builder mergeFrom(LocalNvmeSsdBlockConfig other)
Parameter
Returns
public LocalNvmeSsdBlockConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public LocalNvmeSsdBlockConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LocalNvmeSsdBlockConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public LocalNvmeSsdBlockConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setLocalSsdCount(int value)
public LocalNvmeSsdBlockConfig.Builder setLocalSsdCount(int value)
The number of raw-block local NVMe SSD disks to be attached to the node.
Each local SSD is 375 GB in size. If zero, it means no raw-block local NVMe
SSD disks to be attached to the node.
The limit for this value is dependent upon the maximum number of
disks available on a machine per zone. See:
https://cloud.google.com/compute/docs/disks/local-ssd
for more information.
int32 local_ssd_count = 1;
Parameter
Name | Description |
value | int
The localSsdCount to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LocalNvmeSsdBlockConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final LocalNvmeSsdBlockConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides