- 2.58.0 (latest)
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.2
- 2.4.1
- 2.3.8
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > LinuxNodeConfig.HugepagesConfig.BuilderImplements
LinuxNodeConfig.HugepagesConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LinuxNodeConfig.HugepagesConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.HugepagesConfig.Builder |
build()
public LinuxNodeConfig.HugepagesConfig build()
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.HugepagesConfig |
buildPartial()
public LinuxNodeConfig.HugepagesConfig buildPartial()
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.HugepagesConfig |
clear()
public LinuxNodeConfig.HugepagesConfig.Builder clear()
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.HugepagesConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public LinuxNodeConfig.HugepagesConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.HugepagesConfig.Builder |
clearHugepageSize1G()
public LinuxNodeConfig.HugepagesConfig.Builder clearHugepageSize1G()
Optional. Amount of 1G hugepages
optional int32 hugepage_size1g = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.HugepagesConfig.Builder |
This builder for chaining. |
clearHugepageSize2M()
public LinuxNodeConfig.HugepagesConfig.Builder clearHugepageSize2M()
Optional. Amount of 2M hugepages
optional int32 hugepage_size2m = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.HugepagesConfig.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public LinuxNodeConfig.HugepagesConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.HugepagesConfig.Builder |
clone()
public LinuxNodeConfig.HugepagesConfig.Builder clone()
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.HugepagesConfig.Builder |
getDefaultInstanceForType()
public LinuxNodeConfig.HugepagesConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.HugepagesConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(LinuxNodeConfig.HugepagesConfig other)
public LinuxNodeConfig.HugepagesConfig.Builder mergeFrom(LinuxNodeConfig.HugepagesConfig other)
Parameter | |
---|---|
Name | Description |
other |
LinuxNodeConfig.HugepagesConfig |
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.HugepagesConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LinuxNodeConfig.HugepagesConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.HugepagesConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public LinuxNodeConfig.HugepagesConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.HugepagesConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LinuxNodeConfig.HugepagesConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.HugepagesConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public LinuxNodeConfig.HugepagesConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.HugepagesConfig.Builder |
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. |
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.HugepagesConfig.Builder |
This builder for chaining. |
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. |
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.HugepagesConfig.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LinuxNodeConfig.HugepagesConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.HugepagesConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final LinuxNodeConfig.HugepagesConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.HugepagesConfig.Builder |