Class UpdateAzureClusterRequest.Builder (0.36.0)

public static final class UpdateAzureClusterRequest.Builder extends GeneratedMessageV3.Builder<UpdateAzureClusterRequest.Builder> implements UpdateAzureClusterRequestOrBuilder

Request message for AzureClusters.UpdateAzureCluster method.

Protobuf type google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateAzureClusterRequest build()
Returns
TypeDescription
UpdateAzureClusterRequest

buildPartial()

public UpdateAzureClusterRequest buildPartial()
Returns
TypeDescription
UpdateAzureClusterRequest

clear()

public UpdateAzureClusterRequest.Builder clear()
Returns
TypeDescription
UpdateAzureClusterRequest.Builder
Overrides

clearAzureCluster()

public UpdateAzureClusterRequest.Builder clearAzureCluster()

Required. The AzureCluster resource to update.

.google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateAzureClusterRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateAzureClusterRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateAzureClusterRequest.Builder
Overrides

clearUpdateMask()

public UpdateAzureClusterRequest.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 AzureCluster:

  • description.
  • azureClient.
  • control_plane.version.
  • control_plane.vm_size.
  • annotations.
  • authorization.admin_users.
  • authorization.admin_groups.
  • control_plane.root_volume.size_gib.
  • azure_services_authentication.
  • azure_services_authentication.tenant_id.
  • azure_services_authentication.application_id.
  • control_plane.proxy_config.
  • control_plane.proxy_config.resource_group_id.
  • control_plane.proxy_config.secret_id.
  • control_plane.ssh_config.authorized_key.
  • logging_config.component_config.enable_components
  • monitoring_config.managed_prometheus_config.enabled.

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

Returns
TypeDescription
UpdateAzureClusterRequest.Builder

clearValidateOnly()

public UpdateAzureClusterRequest.Builder clearValidateOnly()

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

bool validate_only = 2;

Returns
TypeDescription
UpdateAzureClusterRequest.Builder

This builder for chaining.

clone()

public UpdateAzureClusterRequest.Builder clone()
Returns
TypeDescription
UpdateAzureClusterRequest.Builder
Overrides

getAzureCluster()

public AzureCluster getAzureCluster()

Required. The AzureCluster resource to update.

.google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AzureCluster

The azureCluster.

getAzureClusterBuilder()

public AzureCluster.Builder getAzureClusterBuilder()

Required. The AzureCluster resource to update.

.google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AzureCluster.Builder

getAzureClusterOrBuilder()

public AzureClusterOrBuilder getAzureClusterOrBuilder()

Required. The AzureCluster resource to update.

.google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AzureClusterOrBuilder

getDefaultInstanceForType()

public UpdateAzureClusterRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateAzureClusterRequest

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

  • description.
  • azureClient.
  • control_plane.version.
  • control_plane.vm_size.
  • annotations.
  • authorization.admin_users.
  • authorization.admin_groups.
  • control_plane.root_volume.size_gib.
  • azure_services_authentication.
  • azure_services_authentication.tenant_id.
  • azure_services_authentication.application_id.
  • control_plane.proxy_config.
  • control_plane.proxy_config.resource_group_id.
  • control_plane.proxy_config.secret_id.
  • control_plane.ssh_config.authorized_key.
  • logging_config.component_config.enable_components
  • monitoring_config.managed_prometheus_config.enabled.

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

  • description.
  • azureClient.
  • control_plane.version.
  • control_plane.vm_size.
  • annotations.
  • authorization.admin_users.
  • authorization.admin_groups.
  • control_plane.root_volume.size_gib.
  • azure_services_authentication.
  • azure_services_authentication.tenant_id.
  • azure_services_authentication.application_id.
  • control_plane.proxy_config.
  • control_plane.proxy_config.resource_group_id.
  • control_plane.proxy_config.secret_id.
  • control_plane.ssh_config.authorized_key.
  • logging_config.component_config.enable_components
  • monitoring_config.managed_prometheus_config.enabled.

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

  • description.
  • azureClient.
  • control_plane.version.
  • control_plane.vm_size.
  • annotations.
  • authorization.admin_users.
  • authorization.admin_groups.
  • control_plane.root_volume.size_gib.
  • azure_services_authentication.
  • azure_services_authentication.tenant_id.
  • azure_services_authentication.application_id.
  • control_plane.proxy_config.
  • control_plane.proxy_config.resource_group_id.
  • control_plane.proxy_config.secret_id.
  • control_plane.ssh_config.authorized_key.
  • logging_config.component_config.enable_components
  • monitoring_config.managed_prometheus_config.enabled.

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

Returns
TypeDescription
FieldMaskOrBuilder

getValidateOnly()

public boolean getValidateOnly()

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

bool validate_only = 2;

Returns
TypeDescription
boolean

The validateOnly.

hasAzureCluster()

public boolean hasAzureCluster()

Required. The AzureCluster resource to update.

.google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the azureCluster 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 AzureCluster:

  • description.
  • azureClient.
  • control_plane.version.
  • control_plane.vm_size.
  • annotations.
  • authorization.admin_users.
  • authorization.admin_groups.
  • control_plane.root_volume.size_gib.
  • azure_services_authentication.
  • azure_services_authentication.tenant_id.
  • azure_services_authentication.application_id.
  • control_plane.proxy_config.
  • control_plane.proxy_config.resource_group_id.
  • control_plane.proxy_config.secret_id.
  • control_plane.ssh_config.authorized_key.
  • logging_config.component_config.enable_components
  • monitoring_config.managed_prometheus_config.enabled.

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

mergeAzureCluster(AzureCluster value)

public UpdateAzureClusterRequest.Builder mergeAzureCluster(AzureCluster value)

Required. The AzureCluster resource to update.

.google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueAzureCluster
Returns
TypeDescription
UpdateAzureClusterRequest.Builder

mergeFrom(UpdateAzureClusterRequest other)

public UpdateAzureClusterRequest.Builder mergeFrom(UpdateAzureClusterRequest other)
Parameter
NameDescription
otherUpdateAzureClusterRequest
Returns
TypeDescription
UpdateAzureClusterRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateAzureClusterRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateAzureClusterRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateAzureClusterRequest.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 AzureCluster:

  • description.
  • azureClient.
  • control_plane.version.
  • control_plane.vm_size.
  • annotations.
  • authorization.admin_users.
  • authorization.admin_groups.
  • control_plane.root_volume.size_gib.
  • azure_services_authentication.
  • azure_services_authentication.tenant_id.
  • azure_services_authentication.application_id.
  • control_plane.proxy_config.
  • control_plane.proxy_config.resource_group_id.
  • control_plane.proxy_config.secret_id.
  • control_plane.ssh_config.authorized_key.
  • logging_config.component_config.enable_components
  • monitoring_config.managed_prometheus_config.enabled.

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

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateAzureClusterRequest.Builder

setAzureCluster(AzureCluster value)

public UpdateAzureClusterRequest.Builder setAzureCluster(AzureCluster value)

Required. The AzureCluster resource to update.

.google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueAzureCluster
Returns
TypeDescription
UpdateAzureClusterRequest.Builder

setAzureCluster(AzureCluster.Builder builderForValue)

public UpdateAzureClusterRequest.Builder setAzureCluster(AzureCluster.Builder builderForValue)

Required. The AzureCluster resource to update.

.google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueAzureCluster.Builder
Returns
TypeDescription
UpdateAzureClusterRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateAzureClusterRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateAzureClusterRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateAzureClusterRequest.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 AzureCluster:

  • description.
  • azureClient.
  • control_plane.version.
  • control_plane.vm_size.
  • annotations.
  • authorization.admin_users.
  • authorization.admin_groups.
  • control_plane.root_volume.size_gib.
  • azure_services_authentication.
  • azure_services_authentication.tenant_id.
  • azure_services_authentication.application_id.
  • control_plane.proxy_config.
  • control_plane.proxy_config.resource_group_id.
  • control_plane.proxy_config.secret_id.
  • control_plane.ssh_config.authorized_key.
  • logging_config.component_config.enable_components
  • monitoring_config.managed_prometheus_config.enabled.

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

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateAzureClusterRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateAzureClusterRequest.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 AzureCluster:

  • description.
  • azureClient.
  • control_plane.version.
  • control_plane.vm_size.
  • annotations.
  • authorization.admin_users.
  • authorization.admin_groups.
  • control_plane.root_volume.size_gib.
  • azure_services_authentication.
  • azure_services_authentication.tenant_id.
  • azure_services_authentication.application_id.
  • control_plane.proxy_config.
  • control_plane.proxy_config.resource_group_id.
  • control_plane.proxy_config.secret_id.
  • control_plane.ssh_config.authorized_key.
  • logging_config.component_config.enable_components
  • monitoring_config.managed_prometheus_config.enabled.

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateAzureClusterRequest.Builder

setValidateOnly(boolean value)

public UpdateAzureClusterRequest.Builder setValidateOnly(boolean value)

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

bool validate_only = 2;

Parameter
NameDescription
valueboolean

The validateOnly to set.

Returns
TypeDescription
UpdateAzureClusterRequest.Builder

This builder for chaining.