Class UpdateAzureNodePoolRequest.Builder (0.43.0)

public static final class UpdateAzureNodePoolRequest.Builder extends GeneratedMessageV3.Builder<UpdateAzureNodePoolRequest.Builder> implements UpdateAzureNodePoolRequestOrBuilder

Request message for AzureClusters.UpdateAzureNodePool method.

Protobuf type google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateAzureNodePoolRequest build()
Returns
Type Description
UpdateAzureNodePoolRequest

buildPartial()

public UpdateAzureNodePoolRequest buildPartial()
Returns
Type Description
UpdateAzureNodePoolRequest

clear()

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

clearAzureNodePool()

public UpdateAzureNodePoolRequest.Builder clearAzureNodePool()

Required. The AzureNodePool resource to update.

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

Returns
Type Description
UpdateAzureNodePoolRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateAzureNodePoolRequest.Builder clearUpdateMask()

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from AzureNodePool:

*. annotations.

  • version.
  • autoscaling.min_node_count.
  • autoscaling.max_node_count.
  • config.ssh_config.authorized_key.
  • management.auto_repair.
  • management.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateAzureNodePoolRequest.Builder

clearValidateOnly()

public UpdateAzureNodePoolRequest.Builder clearValidateOnly()

If set, only validate the request, but don't actually update the node pool.

bool validate_only = 2;

Returns
Type Description
UpdateAzureNodePoolRequest.Builder

This builder for chaining.

clone()

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

getAzureNodePool()

public AzureNodePool getAzureNodePool()

Required. The AzureNodePool resource to update.

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

Returns
Type Description
AzureNodePool

The azureNodePool.

getAzureNodePoolBuilder()

public AzureNodePool.Builder getAzureNodePoolBuilder()

Required. The AzureNodePool resource to update.

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

Returns
Type Description
AzureNodePool.Builder

getAzureNodePoolOrBuilder()

public AzureNodePoolOrBuilder getAzureNodePoolOrBuilder()

Required. The AzureNodePool resource to update.

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

Returns
Type Description
AzureNodePoolOrBuilder

getDefaultInstanceForType()

public UpdateAzureNodePoolRequest getDefaultInstanceForType()
Returns
Type Description
UpdateAzureNodePoolRequest

getDescriptorForType()

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

getUpdateMask()

public FieldMask getUpdateMask()

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from AzureNodePool:

*. annotations.

  • version.
  • autoscaling.min_node_count.
  • autoscaling.max_node_count.
  • config.ssh_config.authorized_key.
  • management.auto_repair.
  • management.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from AzureNodePool:

*. annotations.

  • version.
  • autoscaling.min_node_count.
  • autoscaling.max_node_count.
  • config.ssh_config.authorized_key.
  • management.auto_repair.
  • management.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from AzureNodePool:

*. annotations.

  • version.
  • autoscaling.min_node_count.
  • autoscaling.max_node_count.
  • config.ssh_config.authorized_key.
  • management.auto_repair.
  • management.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

getValidateOnly()

public boolean getValidateOnly()

If set, only validate the request, but don't actually update the node pool.

bool validate_only = 2;

Returns
Type Description
boolean

The validateOnly.

hasAzureNodePool()

public boolean hasAzureNodePool()

Required. The AzureNodePool resource to update.

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

Returns
Type Description
boolean

Whether the azureNodePool field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from AzureNodePool:

*. annotations.

  • version.
  • autoscaling.min_node_count.
  • autoscaling.max_node_count.
  • config.ssh_config.authorized_key.
  • management.auto_repair.
  • management.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask 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 UpdateAzureNodePoolRequest.Builder mergeAzureNodePool(AzureNodePool value)

Required. The AzureNodePool resource to update.

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

Parameter
Name Description
value AzureNodePool
Returns
Type Description
UpdateAzureNodePoolRequest.Builder

mergeFrom(UpdateAzureNodePoolRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateAzureNodePoolRequest.Builder mergeUpdateMask(FieldMask value)

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from AzureNodePool:

*. annotations.

  • version.
  • autoscaling.min_node_count.
  • autoscaling.max_node_count.
  • config.ssh_config.authorized_key.
  • management.auto_repair.
  • management.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateAzureNodePoolRequest.Builder

setAzureNodePool(AzureNodePool value)

public UpdateAzureNodePoolRequest.Builder setAzureNodePool(AzureNodePool value)

Required. The AzureNodePool resource to update.

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

Parameter
Name Description
value AzureNodePool
Returns
Type Description
UpdateAzureNodePoolRequest.Builder

setAzureNodePool(AzureNodePool.Builder builderForValue)

public UpdateAzureNodePoolRequest.Builder setAzureNodePool(AzureNodePool.Builder builderForValue)

Required. The AzureNodePool resource to update.

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateAzureNodePoolRequest.Builder setUpdateMask(FieldMask value)

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from AzureNodePool:

*. annotations.

  • version.
  • autoscaling.min_node_count.
  • autoscaling.max_node_count.
  • config.ssh_config.authorized_key.
  • management.auto_repair.
  • management.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateAzureNodePoolRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateAzureNodePoolRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from AzureNodePool:

*. annotations.

  • version.
  • autoscaling.min_node_count.
  • autoscaling.max_node_count.
  • config.ssh_config.authorized_key.
  • management.auto_repair.
  • management.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateAzureNodePoolRequest.Builder

setValidateOnly(boolean value)

public UpdateAzureNodePoolRequest.Builder setValidateOnly(boolean value)

If set, only validate the request, but don't actually update the node pool.

bool validate_only = 2;

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
UpdateAzureNodePoolRequest.Builder

This builder for chaining.