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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateAzureNodePoolRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateAzureNodePoolRequest build()
Returns
buildPartial()
public UpdateAzureNodePoolRequest buildPartial()
Returns
clear()
public UpdateAzureNodePoolRequest.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public UpdateAzureNodePoolRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateAzureNodePoolRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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.vm_size
.
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
clearValidateOnly()
public UpdateAzureNodePoolRequest.Builder clearValidateOnly()
If set, only validate the request, but don't actually update the node pool.
bool validate_only = 2;
Returns
clone()
public UpdateAzureNodePoolRequest.Builder clone()
Returns
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
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
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
getDefaultInstanceForType()
public UpdateAzureNodePoolRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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.vm_size
.
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
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.vm_size
.
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
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.vm_size
.
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
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.vm_size
.
.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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(UpdateAzureNodePoolRequest other)
public UpdateAzureNodePoolRequest.Builder mergeFrom(UpdateAzureNodePoolRequest other)
Parameter
Returns
public UpdateAzureNodePoolRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateAzureNodePoolRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAzureNodePoolRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.vm_size
.
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateAzureNodePoolRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateAzureNodePoolRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAzureNodePoolRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.vm_size
.
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
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.vm_size
.
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
builderForValue | Builder
|
Returns
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