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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateAwsClusterRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateAwsClusterRequest build()
Returns
buildPartial()
public UpdateAwsClusterRequest buildPartial()
Returns
clear()
public UpdateAwsClusterRequest.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public UpdateAwsClusterRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateAwsClusterRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
.
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.iops
.
control_plane.root_volume.kms_key_arn
.
control_plane.root_volume.volume_type
.
control_plane.root_volume.size_gib
.
control_plane.ssh_config
.
control_plane.ssh_config.ec2_key_pair
.
control_plane.instance_placement.tenancy
.
logging_config
.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];
Returns
clearValidateOnly()
public UpdateAwsClusterRequest.Builder clearValidateOnly()
If set, only validate the request, but do not actually update the cluster.
bool validate_only = 2;
Returns
clone()
public UpdateAwsClusterRequest.Builder clone()
Returns
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
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
getAwsClusterOrBuilder()
public AwsClusterOrBuilder getAwsClusterOrBuilder()
Required. The AwsCluster resource to update.
.google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public UpdateAwsClusterRequest 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 AwsCluster:
description
.
annotations
.
control_plane.version
.
authorization.admin_users
.
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.iops
.
control_plane.root_volume.kms_key_arn
.
control_plane.root_volume.volume_type
.
control_plane.root_volume.size_gib
.
control_plane.ssh_config
.
control_plane.ssh_config.ec2_key_pair
.
control_plane.instance_placement.tenancy
.
logging_config
.
.google.protobuf.FieldMask update_mask = 4 [(.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 AwsCluster:
description
.
annotations
.
control_plane.version
.
authorization.admin_users
.
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.iops
.
control_plane.root_volume.kms_key_arn
.
control_plane.root_volume.volume_type
.
control_plane.root_volume.size_gib
.
control_plane.ssh_config
.
control_plane.ssh_config.ec2_key_pair
.
control_plane.instance_placement.tenancy
.
logging_config
.
.google.protobuf.FieldMask update_mask = 4 [(.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 AwsCluster:
description
.
annotations
.
control_plane.version
.
authorization.admin_users
.
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.iops
.
control_plane.root_volume.kms_key_arn
.
control_plane.root_volume.volume_type
.
control_plane.root_volume.size_gib
.
control_plane.ssh_config
.
control_plane.ssh_config.ec2_key_pair
.
control_plane.instance_placement.tenancy
.
logging_config
.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];
Returns
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
.
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.iops
.
control_plane.root_volume.kms_key_arn
.
control_plane.root_volume.volume_type
.
control_plane.root_volume.size_gib
.
control_plane.ssh_config
.
control_plane.ssh_config.ec2_key_pair
.
control_plane.instance_placement.tenancy
.
logging_config
.
.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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(UpdateAwsClusterRequest other)
public UpdateAwsClusterRequest.Builder mergeFrom(UpdateAwsClusterRequest other)
Parameter
Returns
public UpdateAwsClusterRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateAwsClusterRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAwsClusterRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
.
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.iops
.
control_plane.root_volume.kms_key_arn
.
control_plane.root_volume.volume_type
.
control_plane.root_volume.size_gib
.
control_plane.ssh_config
.
control_plane.ssh_config.ec2_key_pair
.
control_plane.instance_placement.tenancy
.
logging_config
.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateAwsClusterRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateAwsClusterRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAwsClusterRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
.
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.iops
.
control_plane.root_volume.kms_key_arn
.
control_plane.root_volume.volume_type
.
control_plane.root_volume.size_gib
.
control_plane.ssh_config
.
control_plane.ssh_config.ec2_key_pair
.
control_plane.instance_placement.tenancy
.
logging_config
.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
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
.
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.iops
.
control_plane.root_volume.kms_key_arn
.
control_plane.root_volume.volume_type
.
control_plane.root_volume.size_gib
.
control_plane.ssh_config
.
control_plane.ssh_config.ec2_key_pair
.
control_plane.instance_placement.tenancy
.
logging_config
.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
builderForValue | Builder
|
Returns
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