Class UpdateAwsClusterRequest.Builder (0.48.0)

public static final class UpdateAwsClusterRequest.Builder extends GeneratedMessageV3.Builder<UpdateAwsClusterRequest.Builder> implements UpdateAwsClusterRequestOrBuilder

Request message for AwsClusters.UpdateAwsCluster method.

Protobuf type google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateAwsClusterRequest build()
Returns
Type Description
UpdateAwsClusterRequest

buildPartial()

public UpdateAwsClusterRequest buildPartial()
Returns
Type Description
UpdateAwsClusterRequest

clear()

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

clearAwsCluster()

public UpdateAwsClusterRequest.Builder clearAwsCluster()

Required. The AwsCluster resource to update.

.google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateAwsClusterRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateAwsClusterRequest.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 AwsCluster:

  • description.
  • annotations.
  • control_plane.version.
  • authorization.admin_users.
  • authorization.admin_groups.
  • binary_authorization.evaluation_mode.
  • control_plane.aws_services_authentication.role_arn.
  • control_plane.aws_services_authentication.role_session_name.
  • control_plane.config_encryption.kms_key_arn.
  • control_plane.instance_type.
  • control_plane.security_group_ids.
  • control_plane.proxy_config.
  • control_plane.proxy_config.secret_arn.
  • control_plane.proxy_config.secret_version.
  • control_plane.root_volume.size_gib.
  • control_plane.root_volume.volume_type.
  • control_plane.root_volume.iops.
  • control_plane.root_volume.throughput.
  • control_plane.root_volume.kms_key_arn.
  • control_plane.ssh_config.
  • control_plane.ssh_config.ec2_key_pair.
  • control_plane.instance_placement.tenancy.
  • control_plane.iam_instance_profile.
  • logging_config.component_config.enable_components.
  • control_plane.tags.
  • monitoring_config.managed_prometheus_config.enabled.
  • networking.per_node_pool_sg_rules_disabled.

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

Returns
Type Description
UpdateAwsClusterRequest.Builder

clearValidateOnly()

public UpdateAwsClusterRequest.Builder clearValidateOnly()

If set, only validate the request, but do not actually update the cluster.

bool validate_only = 2;

Returns
Type Description
UpdateAwsClusterRequest.Builder

This builder for chaining.

clone()

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

getAwsCluster()

public AwsCluster getAwsCluster()

Required. The AwsCluster resource to update.

.google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AwsCluster

The awsCluster.

getAwsClusterBuilder()

public AwsCluster.Builder getAwsClusterBuilder()

Required. The AwsCluster resource to update.

.google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AwsCluster.Builder

getAwsClusterOrBuilder()

public AwsClusterOrBuilder getAwsClusterOrBuilder()

Required. The AwsCluster resource to update.

.google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AwsClusterOrBuilder

getDefaultInstanceForType()

public UpdateAwsClusterRequest getDefaultInstanceForType()
Returns
Type Description
UpdateAwsClusterRequest

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 AwsCluster:

  • description.
  • annotations.
  • control_plane.version.
  • authorization.admin_users.
  • authorization.admin_groups.
  • binary_authorization.evaluation_mode.
  • control_plane.aws_services_authentication.role_arn.
  • control_plane.aws_services_authentication.role_session_name.
  • control_plane.config_encryption.kms_key_arn.
  • control_plane.instance_type.
  • control_plane.security_group_ids.
  • control_plane.proxy_config.
  • control_plane.proxy_config.secret_arn.
  • control_plane.proxy_config.secret_version.
  • control_plane.root_volume.size_gib.
  • control_plane.root_volume.volume_type.
  • control_plane.root_volume.iops.
  • control_plane.root_volume.throughput.
  • control_plane.root_volume.kms_key_arn.
  • control_plane.ssh_config.
  • control_plane.ssh_config.ec2_key_pair.
  • control_plane.instance_placement.tenancy.
  • control_plane.iam_instance_profile.
  • logging_config.component_config.enable_components.
  • control_plane.tags.
  • monitoring_config.managed_prometheus_config.enabled.
  • networking.per_node_pool_sg_rules_disabled.

.google.protobuf.FieldMask update_mask = 4 [(.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 AwsCluster:

  • description.
  • annotations.
  • control_plane.version.
  • authorization.admin_users.
  • authorization.admin_groups.
  • binary_authorization.evaluation_mode.
  • control_plane.aws_services_authentication.role_arn.
  • control_plane.aws_services_authentication.role_session_name.
  • control_plane.config_encryption.kms_key_arn.
  • control_plane.instance_type.
  • control_plane.security_group_ids.
  • control_plane.proxy_config.
  • control_plane.proxy_config.secret_arn.
  • control_plane.proxy_config.secret_version.
  • control_plane.root_volume.size_gib.
  • control_plane.root_volume.volume_type.
  • control_plane.root_volume.iops.
  • control_plane.root_volume.throughput.
  • control_plane.root_volume.kms_key_arn.
  • control_plane.ssh_config.
  • control_plane.ssh_config.ec2_key_pair.
  • control_plane.instance_placement.tenancy.
  • control_plane.iam_instance_profile.
  • logging_config.component_config.enable_components.
  • control_plane.tags.
  • monitoring_config.managed_prometheus_config.enabled.
  • networking.per_node_pool_sg_rules_disabled.

.google.protobuf.FieldMask update_mask = 4 [(.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 AwsCluster:

  • description.
  • annotations.
  • control_plane.version.
  • authorization.admin_users.
  • authorization.admin_groups.
  • binary_authorization.evaluation_mode.
  • control_plane.aws_services_authentication.role_arn.
  • control_plane.aws_services_authentication.role_session_name.
  • control_plane.config_encryption.kms_key_arn.
  • control_plane.instance_type.
  • control_plane.security_group_ids.
  • control_plane.proxy_config.
  • control_plane.proxy_config.secret_arn.
  • control_plane.proxy_config.secret_version.
  • control_plane.root_volume.size_gib.
  • control_plane.root_volume.volume_type.
  • control_plane.root_volume.iops.
  • control_plane.root_volume.throughput.
  • control_plane.root_volume.kms_key_arn.
  • control_plane.ssh_config.
  • control_plane.ssh_config.ec2_key_pair.
  • control_plane.instance_placement.tenancy.
  • control_plane.iam_instance_profile.
  • logging_config.component_config.enable_components.
  • control_plane.tags.
  • monitoring_config.managed_prometheus_config.enabled.
  • networking.per_node_pool_sg_rules_disabled.

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

Returns
Type Description
FieldMaskOrBuilder

getValidateOnly()

public boolean getValidateOnly()

If set, only validate the request, but do not actually update the cluster.

bool validate_only = 2;

Returns
Type Description
boolean

The validateOnly.

hasAwsCluster()

public boolean hasAwsCluster()

Required. The AwsCluster resource to update.

.google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the awsCluster 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 AwsCluster:

  • description.
  • annotations.
  • control_plane.version.
  • authorization.admin_users.
  • authorization.admin_groups.
  • binary_authorization.evaluation_mode.
  • control_plane.aws_services_authentication.role_arn.
  • control_plane.aws_services_authentication.role_session_name.
  • control_plane.config_encryption.kms_key_arn.
  • control_plane.instance_type.
  • control_plane.security_group_ids.
  • control_plane.proxy_config.
  • control_plane.proxy_config.secret_arn.
  • control_plane.proxy_config.secret_version.
  • control_plane.root_volume.size_gib.
  • control_plane.root_volume.volume_type.
  • control_plane.root_volume.iops.
  • control_plane.root_volume.throughput.
  • control_plane.root_volume.kms_key_arn.
  • control_plane.ssh_config.
  • control_plane.ssh_config.ec2_key_pair.
  • control_plane.instance_placement.tenancy.
  • control_plane.iam_instance_profile.
  • logging_config.component_config.enable_components.
  • control_plane.tags.
  • monitoring_config.managed_prometheus_config.enabled.
  • networking.per_node_pool_sg_rules_disabled.

.google.protobuf.FieldMask update_mask = 4 [(.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

mergeAwsCluster(AwsCluster value)

public UpdateAwsClusterRequest.Builder mergeAwsCluster(AwsCluster value)

Required. The AwsCluster resource to update.

.google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AwsCluster
Returns
Type Description
UpdateAwsClusterRequest.Builder

mergeFrom(UpdateAwsClusterRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateAwsClusterRequest.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 AwsCluster:

  • description.
  • annotations.
  • control_plane.version.
  • authorization.admin_users.
  • authorization.admin_groups.
  • binary_authorization.evaluation_mode.
  • control_plane.aws_services_authentication.role_arn.
  • control_plane.aws_services_authentication.role_session_name.
  • control_plane.config_encryption.kms_key_arn.
  • control_plane.instance_type.
  • control_plane.security_group_ids.
  • control_plane.proxy_config.
  • control_plane.proxy_config.secret_arn.
  • control_plane.proxy_config.secret_version.
  • control_plane.root_volume.size_gib.
  • control_plane.root_volume.volume_type.
  • control_plane.root_volume.iops.
  • control_plane.root_volume.throughput.
  • control_plane.root_volume.kms_key_arn.
  • control_plane.ssh_config.
  • control_plane.ssh_config.ec2_key_pair.
  • control_plane.instance_placement.tenancy.
  • control_plane.iam_instance_profile.
  • logging_config.component_config.enable_components.
  • control_plane.tags.
  • monitoring_config.managed_prometheus_config.enabled.
  • networking.per_node_pool_sg_rules_disabled.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateAwsClusterRequest.Builder

setAwsCluster(AwsCluster value)

public UpdateAwsClusterRequest.Builder setAwsCluster(AwsCluster value)

Required. The AwsCluster resource to update.

.google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AwsCluster
Returns
Type Description
UpdateAwsClusterRequest.Builder

setAwsCluster(AwsCluster.Builder builderForValue)

public UpdateAwsClusterRequest.Builder setAwsCluster(AwsCluster.Builder builderForValue)

Required. The AwsCluster resource to update.

.google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue AwsCluster.Builder
Returns
Type Description
UpdateAwsClusterRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateAwsClusterRequest.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 AwsCluster:

  • description.
  • annotations.
  • control_plane.version.
  • authorization.admin_users.
  • authorization.admin_groups.
  • binary_authorization.evaluation_mode.
  • control_plane.aws_services_authentication.role_arn.
  • control_plane.aws_services_authentication.role_session_name.
  • control_plane.config_encryption.kms_key_arn.
  • control_plane.instance_type.
  • control_plane.security_group_ids.
  • control_plane.proxy_config.
  • control_plane.proxy_config.secret_arn.
  • control_plane.proxy_config.secret_version.
  • control_plane.root_volume.size_gib.
  • control_plane.root_volume.volume_type.
  • control_plane.root_volume.iops.
  • control_plane.root_volume.throughput.
  • control_plane.root_volume.kms_key_arn.
  • control_plane.ssh_config.
  • control_plane.ssh_config.ec2_key_pair.
  • control_plane.instance_placement.tenancy.
  • control_plane.iam_instance_profile.
  • logging_config.component_config.enable_components.
  • control_plane.tags.
  • monitoring_config.managed_prometheus_config.enabled.
  • networking.per_node_pool_sg_rules_disabled.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateAwsClusterRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateAwsClusterRequest.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 AwsCluster:

  • description.
  • annotations.
  • control_plane.version.
  • authorization.admin_users.
  • authorization.admin_groups.
  • binary_authorization.evaluation_mode.
  • control_plane.aws_services_authentication.role_arn.
  • control_plane.aws_services_authentication.role_session_name.
  • control_plane.config_encryption.kms_key_arn.
  • control_plane.instance_type.
  • control_plane.security_group_ids.
  • control_plane.proxy_config.
  • control_plane.proxy_config.secret_arn.
  • control_plane.proxy_config.secret_version.
  • control_plane.root_volume.size_gib.
  • control_plane.root_volume.volume_type.
  • control_plane.root_volume.iops.
  • control_plane.root_volume.throughput.
  • control_plane.root_volume.kms_key_arn.
  • control_plane.ssh_config.
  • control_plane.ssh_config.ec2_key_pair.
  • control_plane.instance_placement.tenancy.
  • control_plane.iam_instance_profile.
  • logging_config.component_config.enable_components.
  • control_plane.tags.
  • monitoring_config.managed_prometheus_config.enabled.
  • networking.per_node_pool_sg_rules_disabled.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateAwsClusterRequest.Builder

setValidateOnly(boolean value)

public UpdateAwsClusterRequest.Builder setValidateOnly(boolean value)

If set, only validate the request, but do not actually update the cluster.

bool validate_only = 2;

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
UpdateAwsClusterRequest.Builder

This builder for chaining.