Class CreateAzureNodePoolRequest.Builder (0.45.0)

public static final class CreateAzureNodePoolRequest.Builder extends GeneratedMessageV3.Builder<CreateAzureNodePoolRequest.Builder> implements CreateAzureNodePoolRequestOrBuilder

Response message for AzureClusters.CreateAzureNodePool method.

Protobuf type google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateAzureNodePoolRequest build()
Returns
Type Description
CreateAzureNodePoolRequest

buildPartial()

public CreateAzureNodePoolRequest buildPartial()
Returns
Type Description
CreateAzureNodePoolRequest

clear()

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

clearAzureNodePool()

public CreateAzureNodePoolRequest.Builder clearAzureNodePool()

Required. The specification of the AzureNodePool to create.

.google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateAzureNodePoolRequest.Builder

clearAzureNodePoolId()

public CreateAzureNodePoolRequest.Builder clearAzureNodePoolId()

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

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

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

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

Returns
Type Description
CreateAzureNodePoolRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateAzureNodePoolRequest.Builder clearParent()

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

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<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
Type Description
CreateAzureNodePoolRequest.Builder

This builder for chaining.

clearValidateOnly()

public CreateAzureNodePoolRequest.Builder clearValidateOnly()

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

bool validate_only = 4;

Returns
Type Description
CreateAzureNodePoolRequest.Builder

This builder for chaining.

clone()

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

getAzureNodePool()

public AzureNodePool getAzureNodePool()

Required. The specification of the AzureNodePool to create.

.google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AzureNodePool

The azureNodePool.

getAzureNodePoolBuilder()

public AzureNodePool.Builder getAzureNodePoolBuilder()

Required. The specification of the AzureNodePool to create.

.google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AzureNodePool.Builder

getAzureNodePoolId()

public String getAzureNodePoolId()

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

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

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

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

Returns
Type Description
String

The azureNodePoolId.

getAzureNodePoolIdBytes()

public ByteString getAzureNodePoolIdBytes()

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

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

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

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

Returns
Type Description
ByteString

The bytes for azureNodePoolId.

getAzureNodePoolOrBuilder()

public AzureNodePoolOrBuilder getAzureNodePoolOrBuilder()

Required. The specification of the AzureNodePool to create.

.google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AzureNodePoolOrBuilder

getDefaultInstanceForType()

public CreateAzureNodePoolRequest getDefaultInstanceForType()
Returns
Type Description
CreateAzureNodePoolRequest

getDescriptorForType()

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

getParent()

public String getParent()

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

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<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
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

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

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<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
Type Description
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
Type Description
boolean

The validateOnly.

hasAzureNodePool()

public boolean hasAzureNodePool()

Required. The specification of the AzureNodePool to create.

.google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the azureNodePool field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAzureNodePool(AzureNodePool value)

public CreateAzureNodePoolRequest.Builder mergeAzureNodePool(AzureNodePool value)

Required. The specification of the AzureNodePool to create.

.google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AzureNodePool
Returns
Type Description
CreateAzureNodePoolRequest.Builder

mergeFrom(CreateAzureNodePoolRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAzureNodePool(AzureNodePool value)

public CreateAzureNodePoolRequest.Builder setAzureNodePool(AzureNodePool value)

Required. The specification of the AzureNodePool to create.

.google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AzureNodePool
Returns
Type Description
CreateAzureNodePoolRequest.Builder

setAzureNodePool(AzureNodePool.Builder builderForValue)

public CreateAzureNodePoolRequest.Builder setAzureNodePool(AzureNodePool.Builder builderForValue)

Required. The specification of the AzureNodePool to create.

.google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue AzureNodePool.Builder
Returns
Type Description
CreateAzureNodePoolRequest.Builder

setAzureNodePoolId(String value)

public CreateAzureNodePoolRequest.Builder setAzureNodePoolId(String value)

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

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

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

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

Parameter
Name Description
value String

The azureNodePoolId to set.

Returns
Type Description
CreateAzureNodePoolRequest.Builder

This builder for chaining.

setAzureNodePoolIdBytes(ByteString value)

public CreateAzureNodePoolRequest.Builder setAzureNodePoolIdBytes(ByteString value)

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

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

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

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

Parameter
Name Description
value ByteString

The bytes for azureNodePoolId to set.

Returns
Type Description
CreateAzureNodePoolRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateAzureNodePoolRequest.Builder setParent(String value)

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

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<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
Name Description
value String

The parent to set.

Returns
Type Description
CreateAzureNodePoolRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateAzureNodePoolRequest.Builder setParentBytes(ByteString value)

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

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<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
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateAzureNodePoolRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValidateOnly(boolean value)

public CreateAzureNodePoolRequest.Builder setValidateOnly(boolean value)

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

bool validate_only = 4;

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
CreateAzureNodePoolRequest.Builder

This builder for chaining.