Class CreateNodePoolRequest.Builder (0.6.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateNodePoolRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateNodePoolRequest.Builder
Overrides

build()

public CreateNodePoolRequest build()
Returns
TypeDescription
CreateNodePoolRequest

buildPartial()

public CreateNodePoolRequest buildPartial()
Returns
TypeDescription
CreateNodePoolRequest

clear()

public CreateNodePoolRequest.Builder clear()
Returns
TypeDescription
CreateNodePoolRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateNodePoolRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CreateNodePoolRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateNodePoolRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CreateNodePoolRequest.Builder

This builder for chaining.

clone()

public CreateNodePoolRequest.Builder clone()
Returns
TypeDescription
CreateNodePoolRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateNodePoolRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateNodePoolRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the nodePool field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateNodePoolRequest other)

public CreateNodePoolRequest.Builder mergeFrom(CreateNodePoolRequest other)
Parameter
NameDescription
otherCreateNodePoolRequest
Returns
TypeDescription
CreateNodePoolRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateNodePoolRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateNodePoolRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateNodePoolRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueNodePool
Returns
TypeDescription
CreateNodePoolRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateNodePoolRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateNodePoolRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateNodePoolRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueNodePool
Returns
TypeDescription
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
NameDescription
builderForValueNodePool.Builder
Returns
TypeDescription
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
NameDescription
valueString

The nodePoolId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nodePoolId to set.

Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The requestId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for requestId to set.

Returns
TypeDescription
CreateNodePoolRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateNodePoolRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateNodePoolRequest.Builder
Overrides