Class NodePool.NodeConfig (0.75.0)

publicstaticfinalclass NodePool.NodeConfigextendsGeneratedMessageV3implementsNodePool.NodeConfigOrBuilder

Configuration for each node in the NodePool

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

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

LABELS_FIELD_NUMBER

publicstaticfinalintLABELS_FIELD_NUMBER
Field Value
Type Description
int

NODE_STORAGE_SCHEMA_FIELD_NUMBER

publicstaticfinalintNODE_STORAGE_SCHEMA_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticNodePool.NodeConfiggetDefaultInstance()
Returns
Type Description
NodePool.NodeConfig

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticNodePool.NodeConfig.BuildernewBuilder()
Returns
Type Description
NodePool.NodeConfig.Builder

newBuilder(NodePool.NodeConfig prototype)

publicstaticNodePool.NodeConfig.BuildernewBuilder(NodePool.NodeConfigprototype)
Parameter
Name Description
prototype NodePool.NodeConfig
Returns
Type Description
NodePool.NodeConfig.Builder

parseDelimitedFrom(InputStream input)

publicstaticNodePool.NodeConfigparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
NodePool.NodeConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticNodePool.NodeConfigparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodePool.NodeConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticNodePool.NodeConfigparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
NodePool.NodeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticNodePool.NodeConfigparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodePool.NodeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticNodePool.NodeConfigparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
NodePool.NodeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticNodePool.NodeConfigparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodePool.NodeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticNodePool.NodeConfigparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NodePool.NodeConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticNodePool.NodeConfigparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodePool.NodeConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticNodePool.NodeConfigparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
NodePool.NodeConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticNodePool.NodeConfigparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodePool.NodeConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticNodePool.NodeConfigparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
NodePool.NodeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticNodePool.NodeConfigparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodePool.NodeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<NodePool.NodeConfig>parser()
Returns
Type Description
Parser<NodeConfig>

Methods

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

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicNodePool.NodeConfiggetDefaultInstanceForType()
Returns
Type Description
NodePool.NodeConfig

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

getNodeStorageSchema()

publicStringgetNodeStorageSchema()

Optional. Name for the storage schema of worker nodes.

Warning: Configurable node local storage schema feature is an experimental feature, and is not recommended for general use in production clusters/nodepools.

string node_storage_schema = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The nodeStorageSchema.

getNodeStorageSchemaBytes()

publicByteStringgetNodeStorageSchemaBytes()

Optional. Name for the storage schema of worker nodes.

Warning: Configurable node local storage schema feature is an experimental feature, and is not recommended for general use in production clusters/nodepools.

string node_storage_schema = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for nodeStorageSchema.

getParserForType()

publicParser<NodePool.NodeConfig>getParserForType()
Returns
Type Description
Parser<NodeConfig>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

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.internalGetMapFieldReflection(int)

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedNodePool.NodeConfig.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
NodePool.NodeConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

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.