Class CreateAzureNodePoolRequest.Builder (0.36.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateAzureNodePoolRequest build()
Returns
TypeDescription
CreateAzureNodePoolRequest

buildPartial()

public CreateAzureNodePoolRequest buildPartial()
Returns
TypeDescription
CreateAzureNodePoolRequest

clear()

public CreateAzureNodePoolRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CreateAzureNodePoolRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public CreateAzureNodePoolRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AzureNodePoolOrBuilder

getDefaultInstanceForType()

public CreateAzureNodePoolRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateAzureNodePoolRequest

getDescriptorForType()

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

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
TypeDescription
boolean

Whether the azureNodePool field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAzureNodePool
Returns
TypeDescription
CreateAzureNodePoolRequest.Builder

mergeFrom(CreateAzureNodePoolRequest other)

public CreateAzureNodePoolRequest.Builder mergeFrom(CreateAzureNodePoolRequest other)
Parameter
NameDescription
otherCreateAzureNodePoolRequest
Returns
TypeDescription
CreateAzureNodePoolRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateAzureNodePoolRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueAzureNodePool
Returns
TypeDescription
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
NameDescription
builderForValueAzureNodePool.Builder
Returns
TypeDescription
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
NameDescription
valueString

The azureNodePoolId to set.

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

The bytes for azureNodePoolId to set.

Returns
TypeDescription
CreateAzureNodePoolRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The parent to set.

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

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateAzureNodePoolRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateAzureNodePoolRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The validateOnly to set.

Returns
TypeDescription
CreateAzureNodePoolRequest.Builder

This builder for chaining.