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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateAttachedClusterRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateAttachedClusterRequest build()
buildPartial()
public UpdateAttachedClusterRequest buildPartial()
clear()
public UpdateAttachedClusterRequest.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public UpdateAttachedClusterRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateAttachedClusterRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clearValidateOnly()
public UpdateAttachedClusterRequest.Builder clearValidateOnly()
If set, only validate the request, but do not actually update the cluster.
bool validate_only = 2;
clone()
public UpdateAttachedClusterRequest.Builder clone()
Overrides
getAttachedCluster()
public AttachedCluster getAttachedCluster()
Required. The
AttachedCluster resource
to update.
.google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED];
getAttachedClusterBuilder()
public AttachedCluster.Builder getAttachedClusterBuilder()
Required. The
AttachedCluster resource
to update.
.google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED];
getAttachedClusterOrBuilder()
public AttachedClusterOrBuilder getAttachedClusterOrBuilder()
Required. The
AttachedCluster resource
to update.
.google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public UpdateAttachedClusterRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
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
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(UpdateAttachedClusterRequest other)
public UpdateAttachedClusterRequest.Builder mergeFrom(UpdateAttachedClusterRequest other)
public UpdateAttachedClusterRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateAttachedClusterRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAttachedClusterRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateAttachedClusterRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateAttachedClusterRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAttachedClusterRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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];
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
|
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.
|