Class CreateNodePoolRequest.Builder (0.43.0)

publicstaticfinalclass CreateNodePoolRequest.BuilderextendsGeneratedMessageV3.Builder<CreateNodePoolRequest.Builder>implementsCreateNodePoolRequestOrBuilder

Creates a node pool.

Protobuf type google.cloud.edgecontainer.v1.CreateNodePoolRequest

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)

publicCreateNodePoolRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateNodePoolRequest.Builder
Overrides

build()

publicCreateNodePoolRequestbuild()
Returns
Type Description
CreateNodePoolRequest

buildPartial()

publicCreateNodePoolRequestbuildPartial()
Returns
Type Description
CreateNodePoolRequest

clear()

publicCreateNodePoolRequest.Builderclear()
Returns
Type Description
CreateNodePoolRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicCreateNodePoolRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateNodePoolRequest.Builder
Overrides

clearNodePool()

publicCreateNodePoolRequest.BuilderclearNodePool()

Required. The node pool to create.

.google.cloud.edgecontainer.v1.NodePool node_pool = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateNodePoolRequest.Builder

clearNodePoolId()

publicCreateNodePoolRequest.BuilderclearNodePoolId()

Required. A client-specified unique identifier for the node pool.

string node_pool_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateNodePoolRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

publicCreateNodePoolRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateNodePoolRequest.Builder
Overrides

clearParent()

publicCreateNodePoolRequest.BuilderclearParent()

Required. The parent cluster where this node pool will be created.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateNodePoolRequest.Builder

This builder for chaining.

clearRequestId()

publicCreateNodePoolRequest.BuilderclearRequestId()

A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if request_id is provided.

string request_id = 4;

Returns
Type Description
CreateNodePoolRequest.Builder

This builder for chaining.

clone()

publicCreateNodePoolRequest.Builderclone()
Returns
Type Description
CreateNodePoolRequest.Builder
Overrides

getDefaultInstanceForType()

publicCreateNodePoolRequestgetDefaultInstanceForType()
Returns
Type Description
CreateNodePoolRequest

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNodePool()

publicNodePoolgetNodePool()

Required. The node pool to create.

.google.cloud.edgecontainer.v1.NodePool node_pool = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NodePool

The nodePool.

getNodePoolBuilder()

publicNodePool.BuildergetNodePoolBuilder()

Required. The node pool to create.

.google.cloud.edgecontainer.v1.NodePool node_pool = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NodePool.Builder

getNodePoolId()

publicStringgetNodePoolId()

Required. A client-specified unique identifier for the node pool.

string node_pool_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The nodePoolId.

getNodePoolIdBytes()

publicByteStringgetNodePoolIdBytes()

Required. A client-specified unique identifier for the node pool.

string node_pool_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for nodePoolId.

getNodePoolOrBuilder()

publicNodePoolOrBuildergetNodePoolOrBuilder()

Required. The node pool to create.

.google.cloud.edgecontainer.v1.NodePool node_pool = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NodePoolOrBuilder

getParent()

publicStringgetParent()

Required. The parent cluster where this node pool will be created.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

publicByteStringgetParentBytes()

Required. The parent cluster where this node pool will be created.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getRequestId()

publicStringgetRequestId()

A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if request_id is provided.

string request_id = 4;

Returns
Type Description
String

The requestId.

getRequestIdBytes()

publicByteStringgetRequestIdBytes()

A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if request_id is provided.

string request_id = 4;

Returns
Type Description
ByteString

The bytes for requestId.

hasNodePool()

publicbooleanhasNodePool()

Required. The node pool to create.

.google.cloud.edgecontainer.v1.NodePool node_pool = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the nodePool field is set.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateNodePoolRequest other)

publicCreateNodePoolRequest.BuildermergeFrom(CreateNodePoolRequestother)
Parameter
Name Description
other CreateNodePoolRequest
Returns
Type Description
CreateNodePoolRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

publicCreateNodePoolRequest.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
CreateNodePoolRequest.Builder
Overrides

mergeNodePool(NodePool value)

publicCreateNodePoolRequest.BuildermergeNodePool(NodePoolvalue)

Required. The node pool to create.

.google.cloud.edgecontainer.v1.NodePool node_pool = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value NodePool
Returns
Type Description
CreateNodePoolRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalCreateNodePoolRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateNodePoolRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

publicCreateNodePoolRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateNodePoolRequest.Builder
Overrides

setNodePool(NodePool value)

publicCreateNodePoolRequest.BuildersetNodePool(NodePoolvalue)

Required. The node pool to create.

.google.cloud.edgecontainer.v1.NodePool node_pool = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value NodePool
Returns
Type Description
CreateNodePoolRequest.Builder

setNodePool(NodePool.Builder builderForValue)

publicCreateNodePoolRequest.BuildersetNodePool(NodePool.BuilderbuilderForValue)

Required. The node pool to create.

.google.cloud.edgecontainer.v1.NodePool node_pool = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue NodePool.Builder
Returns
Type Description
CreateNodePoolRequest.Builder

setNodePoolId(String value)

publicCreateNodePoolRequest.BuildersetNodePoolId(Stringvalue)

Required. A client-specified unique identifier for the node pool.

string node_pool_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The nodePoolId to set.

Returns
Type Description
CreateNodePoolRequest.Builder

This builder for chaining.

setNodePoolIdBytes(ByteString value)

publicCreateNodePoolRequest.BuildersetNodePoolIdBytes(ByteStringvalue)

Required. A client-specified unique identifier for the node pool.

string node_pool_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for nodePoolId to set.

Returns
Type Description
CreateNodePoolRequest.Builder

This builder for chaining.

setParent(String value)

publicCreateNodePoolRequest.BuildersetParent(Stringvalue)

Required. The parent cluster where this node pool will be created.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateNodePoolRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

publicCreateNodePoolRequest.BuildersetParentBytes(ByteStringvalue)

Required. The parent cluster where this node pool will be created.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateNodePoolRequest.Builder

This builder for chaining.

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

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

setRequestId(String value)

publicCreateNodePoolRequest.BuildersetRequestId(Stringvalue)

A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if request_id is provided.

string request_id = 4;

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
CreateNodePoolRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

publicCreateNodePoolRequest.BuildersetRequestIdBytes(ByteStringvalue)

A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if request_id is provided.

string request_id = 4;

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
CreateNodePoolRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalCreateNodePoolRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateNodePoolRequest.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.