Class UpdateAzureNodePoolRequest.Builder (0.40.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateAzureNodePoolRequest build()
Returns
TypeDescription
UpdateAzureNodePoolRequest

buildPartial()

public UpdateAzureNodePoolRequest buildPartial()
Returns
TypeDescription
UpdateAzureNodePoolRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public UpdateAzureNodePoolRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateAzureNodePoolRequest

getDescriptorForType()

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

getValidateOnly()

public boolean getValidateOnly()

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

bool validate_only = 2;

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

Whether the updateMask 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 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
NameDescription
valueAzureNodePool
Returns
TypeDescription
UpdateAzureNodePoolRequest.Builder

mergeFrom(UpdateAzureNodePoolRequest other)

public UpdateAzureNodePoolRequest.Builder mergeFrom(UpdateAzureNodePoolRequest other)
Parameter
NameDescription
otherUpdateAzureNodePoolRequest
Returns
TypeDescription
UpdateAzureNodePoolRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

The validateOnly to set.

Returns
TypeDescription
UpdateAzureNodePoolRequest.Builder

This builder for chaining.