Class CreateAwsNodePoolRequest.Builder (0.26.0)

public static final class CreateAwsNodePoolRequest.Builder extends GeneratedMessageV3.Builder<CreateAwsNodePoolRequest.Builder> implements CreateAwsNodePoolRequestOrBuilder

Response message for AwsClusters.CreateAwsNodePool method.

Protobuf type google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateAwsNodePoolRequest build()
Returns
TypeDescription
CreateAwsNodePoolRequest

buildPartial()

public CreateAwsNodePoolRequest buildPartial()
Returns
TypeDescription
CreateAwsNodePoolRequest

clear()

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

clearAwsNodePool()

public CreateAwsNodePoolRequest.Builder clearAwsNodePool()

Required. The specification of the AwsNodePool to create.

.google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateAwsNodePoolRequest.Builder

clearAwsNodePoolId()

public CreateAwsNodePoolRequest.Builder clearAwsNodePoolId()

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the AwsNodePool resource name formatted as projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>.

Valid characters are /a-z-/. Cannot be longer than 63 characters.

string aws_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateAwsNodePoolRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CreateAwsNodePoolRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateAwsNodePoolRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateAwsNodePoolRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CreateAwsNodePoolRequest.Builder
Overrides

clearParent()

public CreateAwsNodePoolRequest.Builder clearParent()

Required. The AwsCluster resource where this node pool will be created.

AwsCluster names are formatted as projects/<project-id>/locations/<region>/awsClusters/<cluster-id>.

See Resource Names for more details on Google Cloud resource names.

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

Returns
TypeDescription
CreateAwsNodePoolRequest.Builder

This builder for chaining.

clearValidateOnly()

public CreateAwsNodePoolRequest.Builder clearValidateOnly()

If set, only validate the request, but do not actually create the node pool.

bool validate_only = 4;

Returns
TypeDescription
CreateAwsNodePoolRequest.Builder

This builder for chaining.

clone()

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

getAwsNodePool()

public AwsNodePool getAwsNodePool()

Required. The specification of the AwsNodePool to create.

.google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AwsNodePool

The awsNodePool.

getAwsNodePoolBuilder()

public AwsNodePool.Builder getAwsNodePoolBuilder()

Required. The specification of the AwsNodePool to create.

.google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AwsNodePool.Builder

getAwsNodePoolId()

public String getAwsNodePoolId()

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the AwsNodePool resource name formatted as projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>.

Valid characters are /a-z-/. Cannot be longer than 63 characters.

string aws_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The awsNodePoolId.

getAwsNodePoolIdBytes()

public ByteString getAwsNodePoolIdBytes()

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the AwsNodePool resource name formatted as projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>.

Valid characters are /a-z-/. Cannot be longer than 63 characters.

string aws_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for awsNodePoolId.

getAwsNodePoolOrBuilder()

public AwsNodePoolOrBuilder getAwsNodePoolOrBuilder()

Required. The specification of the AwsNodePool to create.

.google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AwsNodePoolOrBuilder

getDefaultInstanceForType()

public CreateAwsNodePoolRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateAwsNodePoolRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParent()

public String getParent()

Required. The AwsCluster resource where this node pool will be created.

AwsCluster names are formatted as projects/<project-id>/locations/<region>/awsClusters/<cluster-id>.

See Resource Names for more details on Google Cloud resource names.

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The AwsCluster resource where this node pool will be created.

AwsCluster names are formatted as projects/<project-id>/locations/<region>/awsClusters/<cluster-id>.

See Resource Names for more details on Google Cloud resource names.

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

Returns
TypeDescription
ByteString

The bytes for parent.

getValidateOnly()

public boolean getValidateOnly()

If set, only validate the request, but do not actually create the node pool.

bool validate_only = 4;

Returns
TypeDescription
boolean

The validateOnly.

hasAwsNodePool()

public boolean hasAwsNodePool()

Required. The specification of the AwsNodePool to create.

.google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the awsNodePool field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAwsNodePool(AwsNodePool value)

public CreateAwsNodePoolRequest.Builder mergeAwsNodePool(AwsNodePool value)

Required. The specification of the AwsNodePool to create.

.google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueAwsNodePool
Returns
TypeDescription
CreateAwsNodePoolRequest.Builder

mergeFrom(CreateAwsNodePoolRequest other)

public CreateAwsNodePoolRequest.Builder mergeFrom(CreateAwsNodePoolRequest other)
Parameter
NameDescription
otherCreateAwsNodePoolRequest
Returns
TypeDescription
CreateAwsNodePoolRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CreateAwsNodePoolRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateAwsNodePoolRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAwsNodePool(AwsNodePool value)

public CreateAwsNodePoolRequest.Builder setAwsNodePool(AwsNodePool value)

Required. The specification of the AwsNodePool to create.

.google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueAwsNodePool
Returns
TypeDescription
CreateAwsNodePoolRequest.Builder

setAwsNodePool(AwsNodePool.Builder builderForValue)

public CreateAwsNodePoolRequest.Builder setAwsNodePool(AwsNodePool.Builder builderForValue)

Required. The specification of the AwsNodePool to create.

.google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueAwsNodePool.Builder
Returns
TypeDescription
CreateAwsNodePoolRequest.Builder

setAwsNodePoolId(String value)

public CreateAwsNodePoolRequest.Builder setAwsNodePoolId(String value)

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the AwsNodePool resource name formatted as projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>.

Valid characters are /a-z-/. Cannot be longer than 63 characters.

string aws_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The awsNodePoolId to set.

Returns
TypeDescription
CreateAwsNodePoolRequest.Builder

This builder for chaining.

setAwsNodePoolIdBytes(ByteString value)

public CreateAwsNodePoolRequest.Builder setAwsNodePoolIdBytes(ByteString value)

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the AwsNodePool resource name formatted as projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>.

Valid characters are /a-z-/. Cannot be longer than 63 characters.

string aws_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for awsNodePoolId to set.

Returns
TypeDescription
CreateAwsNodePoolRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateAwsNodePoolRequest.Builder setParent(String value)

Required. The AwsCluster resource where this node pool will be created.

AwsCluster names are formatted as projects/<project-id>/locations/<region>/awsClusters/<cluster-id>.

See Resource Names for more details on Google Cloud resource names.

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

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
CreateAwsNodePoolRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateAwsNodePoolRequest.Builder setParentBytes(ByteString value)

Required. The AwsCluster resource where this node pool will be created.

AwsCluster names are formatted as projects/<project-id>/locations/<region>/awsClusters/<cluster-id>.

See Resource Names for more details on Google Cloud resource names.

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

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
CreateAwsNodePoolRequest.Builder

This builder for chaining.

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

public CreateAwsNodePoolRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateAwsNodePoolRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setValidateOnly(boolean value)

public CreateAwsNodePoolRequest.Builder setValidateOnly(boolean value)

If set, only validate the request, but do not actually create the node pool.

bool validate_only = 4;

Parameter
NameDescription
valueboolean

The validateOnly to set.

Returns
TypeDescription
CreateAwsNodePoolRequest.Builder

This builder for chaining.