public static final class EphemeralStorageLocalSsdConfig.Builder extends GeneratedMessageV3.Builder<EphemeralStorageLocalSsdConfig.Builder> implements EphemeralStorageLocalSsdConfigOrBuilder
EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral
storage using Local SSDs.
Protobuf type google.container.v1beta1.EphemeralStorageLocalSsdConfig
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 EphemeralStorageLocalSsdConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public EphemeralStorageLocalSsdConfig build()
Returns
buildPartial()
public EphemeralStorageLocalSsdConfig buildPartial()
Returns
clear()
public EphemeralStorageLocalSsdConfig.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public EphemeralStorageLocalSsdConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearLocalSsdCount()
public EphemeralStorageLocalSsdConfig.Builder clearLocalSsdCount()
Number of local SSDs to use to back ephemeral storage. Uses NVMe
interfaces. Each local SSD is 375 GB in size.
If zero, it means to disable using local SSDs as ephemeral storage.
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 EphemeralStorageLocalSsdConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public EphemeralStorageLocalSsdConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public EphemeralStorageLocalSsdConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getLocalSsdCount()
public int getLocalSsdCount()
Number of local SSDs to use to back ephemeral storage. Uses NVMe
interfaces. Each local SSD is 375 GB in size.
If zero, it means to disable using local SSDs as ephemeral storage.
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(EphemeralStorageLocalSsdConfig other)
public EphemeralStorageLocalSsdConfig.Builder mergeFrom(EphemeralStorageLocalSsdConfig other)
Parameter
Returns
public EphemeralStorageLocalSsdConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public EphemeralStorageLocalSsdConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EphemeralStorageLocalSsdConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public EphemeralStorageLocalSsdConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setLocalSsdCount(int value)
public EphemeralStorageLocalSsdConfig.Builder setLocalSsdCount(int value)
Number of local SSDs to use to back ephemeral storage. Uses NVMe
interfaces. Each local SSD is 375 GB in size.
If zero, it means to disable using local SSDs as ephemeral storage.
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 EphemeralStorageLocalSsdConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final EphemeralStorageLocalSsdConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides