public static final class UpdateAttachedClusterRequest.Builder extends GeneratedMessageV3.Builder<UpdateAttachedClusterRequest.Builder> implements UpdateAttachedClusterRequestOrBuilder
Request message for AttachedClusters.UpdateAttachedCluster
method.
Protobuf type google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateAttachedClusterRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateAttachedClusterRequest build()
Returns
buildPartial()
public UpdateAttachedClusterRequest buildPartial()
Returns
clear()
public UpdateAttachedClusterRequest.Builder clear()
Returns
Overrides
clearAttachedCluster()
public UpdateAttachedClusterRequest.Builder clearAttachedCluster()
Required. The
AttachedCluster resource
to update.
.google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public UpdateAttachedClusterRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateAttachedClusterRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpdateMask()
public UpdateAttachedClusterRequest.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
AttachedCluster:
description
.
annotations
.
platform_version
.
authorization.admin_users
.
logging_config.component_config.enable_components
.
monitoring_config.managed_prometheus_config.enabled
.
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
clearValidateOnly()
public UpdateAttachedClusterRequest.Builder clearValidateOnly()
If set, only validate the request, but do not actually update the cluster.
bool validate_only = 2;
Returns
clone()
public UpdateAttachedClusterRequest.Builder clone()
Returns
Overrides
getAttachedCluster()
public AttachedCluster getAttachedCluster()
Required. The
AttachedCluster resource
to update.
.google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getAttachedClusterBuilder()
public AttachedCluster.Builder getAttachedClusterBuilder()
Required. The
AttachedCluster resource
to update.
.google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getAttachedClusterOrBuilder()
public AttachedClusterOrBuilder getAttachedClusterOrBuilder()
Required. The
AttachedCluster resource
to update.
.google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public UpdateAttachedClusterRequest 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
AttachedCluster:
description
.
annotations
.
platform_version
.
authorization.admin_users
.
logging_config.component_config.enable_components
.
monitoring_config.managed_prometheus_config.enabled
.
.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
AttachedCluster:
description
.
annotations
.
platform_version
.
authorization.admin_users
.
logging_config.component_config.enable_components
.
monitoring_config.managed_prometheus_config.enabled
.
.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
AttachedCluster:
description
.
annotations
.
platform_version
.
authorization.admin_users
.
logging_config.component_config.enable_components
.
monitoring_config.managed_prometheus_config.enabled
.
.google.protobuf.FieldMask update_mask = 3 [(.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.
|
hasAttachedCluster()
public boolean hasAttachedCluster()
Required. The
AttachedCluster resource
to update.
.google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the attachedCluster 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
AttachedCluster:
description
.
annotations
.
platform_version
.
authorization.admin_users
.
logging_config.component_config.enable_components
.
monitoring_config.managed_prometheus_config.enabled
.
.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
mergeAttachedCluster(AttachedCluster value)
public UpdateAttachedClusterRequest.Builder mergeAttachedCluster(AttachedCluster value)
Required. The
AttachedCluster resource
to update.
.google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(UpdateAttachedClusterRequest other)
public UpdateAttachedClusterRequest.Builder mergeFrom(UpdateAttachedClusterRequest other)
Parameter
Returns
public UpdateAttachedClusterRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateAttachedClusterRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAttachedClusterRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateAttachedClusterRequest.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
AttachedCluster:
description
.
annotations
.
platform_version
.
authorization.admin_users
.
logging_config.component_config.enable_components
.
monitoring_config.managed_prometheus_config.enabled
.
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setAttachedCluster(AttachedCluster value)
public UpdateAttachedClusterRequest.Builder setAttachedCluster(AttachedCluster value)
Required. The
AttachedCluster resource
to update.
.google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setAttachedCluster(AttachedCluster.Builder builderForValue)
public UpdateAttachedClusterRequest.Builder setAttachedCluster(AttachedCluster.Builder builderForValue)
Required. The
AttachedCluster resource
to update.
.google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateAttachedClusterRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateAttachedClusterRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAttachedClusterRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateAttachedClusterRequest.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
AttachedCluster:
description
.
annotations
.
platform_version
.
authorization.admin_users
.
logging_config.component_config.enable_components
.
monitoring_config.managed_prometheus_config.enabled
.
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateAttachedClusterRequest.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
AttachedCluster:
description
.
annotations
.
platform_version
.
authorization.admin_users
.
logging_config.component_config.enable_components
.
monitoring_config.managed_prometheus_config.enabled
.
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setValidateOnly(boolean value)
public UpdateAttachedClusterRequest.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