Class CreateNodePoolRequest.Builder (0.39.0)

public static final class CreateNodePoolRequest.Builder extends GeneratedMessageV3.Builder<CreateNodePoolRequest.Builder> implements CreateNodePoolRequestOrBuilder

Creates a node pool.

Protobuf type google.cloud.edgecontainer.v1.CreateNodePoolRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateNodePoolRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateNodePoolRequest.Builder
Overrides

build()

public CreateNodePoolRequest build()
Returns
Type Description
CreateNodePoolRequest

buildPartial()

public CreateNodePoolRequest buildPartial()
Returns
Type Description
CreateNodePoolRequest

clear()

public CreateNodePoolRequest.Builder clear()
Returns
Type Description
CreateNodePoolRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateNodePoolRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateNodePoolRequest.Builder
Overrides

clearNodePool()

public CreateNodePoolRequest.Builder clearNodePool()

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

public CreateNodePoolRequest.Builder clearNodePoolId()

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)

public CreateNodePoolRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateNodePoolRequest.Builder
Overrides

clearParent()

public CreateNodePoolRequest.Builder clearParent()

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

public CreateNodePoolRequest.Builder clearRequestId()

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

public CreateNodePoolRequest.Builder clone()
Returns
Type Description
CreateNodePoolRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateNodePoolRequest getDefaultInstanceForType()
Returns
Type Description
CreateNodePoolRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNodePool()

public NodePool getNodePool()

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

public NodePool.Builder getNodePoolBuilder()

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

public String getNodePoolId()

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

public ByteString getNodePoolIdBytes()

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

public NodePoolOrBuilder getNodePoolOrBuilder()

Required. The node pool to create.

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

Returns
Type Description
NodePoolOrBuilder

getParent()

public String getParent()

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

public ByteString getParentBytes()

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

public String getRequestId()

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

public ByteString getRequestIdBytes()

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

public boolean hasNodePool()

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

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateNodePoolRequest other)

public CreateNodePoolRequest.Builder mergeFrom(CreateNodePoolRequest other)
Parameter
Name Description
other CreateNodePoolRequest
Returns
Type Description
CreateNodePoolRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateNodePoolRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateNodePoolRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateNodePoolRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateNodePoolRequest.Builder
Overrides

mergeNodePool(NodePool value)

public CreateNodePoolRequest.Builder mergeNodePool(NodePool value)

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)

public final CreateNodePoolRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateNodePoolRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateNodePoolRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateNodePoolRequest.Builder
Overrides

setNodePool(NodePool value)

public CreateNodePoolRequest.Builder setNodePool(NodePool value)

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)

public CreateNodePoolRequest.Builder setNodePool(NodePool.Builder builderForValue)

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)

public CreateNodePoolRequest.Builder setNodePoolId(String value)

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)

public CreateNodePoolRequest.Builder setNodePoolIdBytes(ByteString value)

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)

public CreateNodePoolRequest.Builder setParent(String value)

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)

public CreateNodePoolRequest.Builder setParentBytes(ByteString value)

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)

public CreateNodePoolRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateNodePoolRequest.Builder
Overrides

setRequestId(String value)

public CreateNodePoolRequest.Builder setRequestId(String value)

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)

public CreateNodePoolRequest.Builder setRequestIdBytes(ByteString value)

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)

public final CreateNodePoolRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateNodePoolRequest.Builder
Overrides