Class NodePool.NodeConfig.Builder (0.40.0)

publicstaticfinalclass NodePool.NodeConfig.BuilderextendsGeneratedMessageV3.Builder<NodePool.NodeConfig.Builder>implementsNodePool.NodeConfigOrBuilder

Configuration for each node in the NodePool

Protobuf type google.cloud.edgecontainer.v1.NodePool.NodeConfig

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()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicNodePool.NodeConfig.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NodePool.NodeConfig.Builder
Overrides

build()

publicNodePool.NodeConfigbuild()
Returns
Type Description
NodePool.NodeConfig

buildPartial()

publicNodePool.NodeConfigbuildPartial()
Returns
Type Description
NodePool.NodeConfig

clear()

publicNodePool.NodeConfig.Builderclear()
Returns
Type Description
NodePool.NodeConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicNodePool.NodeConfig.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NodePool.NodeConfig.Builder
Overrides

clearLabels()

publicNodePool.NodeConfig.BuilderclearLabels()
Returns
Type Description
NodePool.NodeConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

publicNodePool.NodeConfig.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
NodePool.NodeConfig.Builder
Overrides

clone()

publicNodePool.NodeConfig.Builderclone()
Returns
Type Description
NodePool.NodeConfig.Builder
Overrides

containsLabels(String key)

publicbooleancontainsLabels(Stringkey)

Optional. The Kubernetes node labels

map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getDefaultInstanceForType()

publicNodePool.NodeConfiggetDefaultInstanceForType()
Returns
Type Description
NodePool.NodeConfig

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLabels() (deprecated)

publicMap<String,String>getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

publicintgetLabelsCount()

Optional. The Kubernetes node labels

map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

publicMap<String,String>getLabelsMap()

Optional. The Kubernetes node labels

map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

publicStringgetLabelsOrDefault(Stringkey,StringdefaultValue)

Optional. The Kubernetes node labels

map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

publicStringgetLabelsOrThrow(Stringkey)

Optional. The Kubernetes node labels

map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getMutableLabels() (deprecated)

publicMap<String,String>getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protectedMapFieldReflectionAccessorinternalGetMapFieldReflection(intnumber)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protectedMapFieldReflectionAccessorinternalGetMutableMapFieldReflection(intnumber)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NodePool.NodeConfig other)

publicNodePool.NodeConfig.BuildermergeFrom(NodePool.NodeConfigother)
Parameter
Name Description
other NodePool.NodeConfig
Returns
Type Description
NodePool.NodeConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicNodePool.NodeConfig.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodePool.NodeConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicNodePool.NodeConfig.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
NodePool.NodeConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalNodePool.NodeConfig.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NodePool.NodeConfig.Builder
Overrides

putAllLabels(Map<String,String> values)

publicNodePool.NodeConfig.BuilderputAllLabels(Map<String,String>values)

Optional. The Kubernetes node labels

map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
NodePool.NodeConfig.Builder

putLabels(String key, String value)

publicNodePool.NodeConfig.BuilderputLabels(Stringkey,Stringvalue)

Optional. The Kubernetes node labels

map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
value String
Returns
Type Description
NodePool.NodeConfig.Builder

removeLabels(String key)

publicNodePool.NodeConfig.BuilderremoveLabels(Stringkey)

Optional. The Kubernetes node labels

map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
NodePool.NodeConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

publicNodePool.NodeConfig.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NodePool.NodeConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicNodePool.NodeConfig.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
NodePool.NodeConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalNodePool.NodeConfig.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NodePool.NodeConfig.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.