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