public static final class LinuxNodeConfig.HugepagesConfig.Builder extends GeneratedMessageV3.Builder<LinuxNodeConfig.HugepagesConfig.Builder> implements LinuxNodeConfig.HugepagesConfigOrBuilder
Hugepages amount in both 2m and 1g size
Protobuf type google.container.v1.LinuxNodeConfig.HugepagesConfig
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 LinuxNodeConfig.HugepagesConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public LinuxNodeConfig.HugepagesConfig build()
buildPartial()
public LinuxNodeConfig.HugepagesConfig buildPartial()
clear()
public LinuxNodeConfig.HugepagesConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public LinuxNodeConfig.HugepagesConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearHugepageSize1G()
public LinuxNodeConfig.HugepagesConfig.Builder clearHugepageSize1G()
Optional. Amount of 1G hugepages
optional int32 hugepage_size1g = 2 [(.google.api.field_behavior) = OPTIONAL];
clearHugepageSize2M()
public LinuxNodeConfig.HugepagesConfig.Builder clearHugepageSize2M()
Optional. Amount of 2M hugepages
optional int32 hugepage_size2m = 1 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof)
public LinuxNodeConfig.HugepagesConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public LinuxNodeConfig.HugepagesConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public LinuxNodeConfig.HugepagesConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getHugepageSize1G()
public int getHugepageSize1G()
Optional. Amount of 1G hugepages
optional int32 hugepage_size1g = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The hugepageSize1g.
|
getHugepageSize2M()
public int getHugepageSize2M()
Optional. Amount of 2M hugepages
optional int32 hugepage_size2m = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The hugepageSize2m.
|
hasHugepageSize1G()
public boolean hasHugepageSize1G()
Optional. Amount of 1G hugepages
optional int32 hugepage_size1g = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the hugepageSize1g field is set.
|
hasHugepageSize2M()
public boolean hasHugepageSize2M()
Optional. Amount of 2M hugepages
optional int32 hugepage_size2m = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the hugepageSize2m field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(LinuxNodeConfig.HugepagesConfig other)
public LinuxNodeConfig.HugepagesConfig.Builder mergeFrom(LinuxNodeConfig.HugepagesConfig other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LinuxNodeConfig.HugepagesConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public LinuxNodeConfig.HugepagesConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LinuxNodeConfig.HugepagesConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public LinuxNodeConfig.HugepagesConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setHugepageSize1G(int value)
public LinuxNodeConfig.HugepagesConfig.Builder setHugepageSize1G(int value)
Optional. Amount of 1G hugepages
optional int32 hugepage_size1g = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
int
The hugepageSize1g to set.
|
setHugepageSize2M(int value)
public LinuxNodeConfig.HugepagesConfig.Builder setHugepageSize2M(int value)
Optional. Amount of 2M hugepages
optional int32 hugepage_size2m = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
int
The hugepageSize2m to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LinuxNodeConfig.HugepagesConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final LinuxNodeConfig.HugepagesConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides