Send feedback
Class UpdateComponentSettingsRequest.Builder
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.5.12 keyboard_arrow_down
public static final class UpdateComponentSettingsRequest . Builder extends GeneratedMessageV3 . Builder<UpdateComponentSettingsRequest . Builder > implements UpdateComponentSettingsRequestOrBuilder
Request message for UpdateComponentSettings.
Protobuf type
google.cloud.securitycenter.settings.v1beta1.UpdateComponentSettingsRequest
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateComponentSettingsRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public UpdateComponentSettingsRequest build ()
Returns
buildPartial()
public UpdateComponentSettingsRequest buildPartial ()
Returns
clear()
public UpdateComponentSettingsRequest . Builder clear ()
Returns
Overrides
clearComponentSettings()
public UpdateComponentSettingsRequest . Builder clearComponentSettings ()
Required. The component settings to update.
The component settings' name
field is used to identify the component
settings to be updated. Formats:
organizations/{organization}/components/{component}/settings
folders/{folder}/components/{component}/settings
projects/{project}/components/{component}/settings
projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings
projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings
projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings
.google.cloud.securitycenter.settings.v1beta1.ComponentSettings component_settings = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public UpdateComponentSettingsRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateComponentSettingsRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearUpdateMask()
public UpdateComponentSettingsRequest . Builder clearUpdateMask ()
The list of fields to be updated on the component settings resource.
.google.protobuf.FieldMask update_mask = 2;
Returns
clone()
public UpdateComponentSettingsRequest . Builder clone ()
Returns
Overrides
getComponentSettings()
public ComponentSettings getComponentSettings ()
Required. The component settings to update.
The component settings' name
field is used to identify the component
settings to be updated. Formats:
organizations/{organization}/components/{component}/settings
folders/{folder}/components/{component}/settings
projects/{project}/components/{component}/settings
projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings
projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings
projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings
.google.cloud.securitycenter.settings.v1beta1.ComponentSettings component_settings = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getComponentSettingsBuilder()
public ComponentSettings . Builder getComponentSettingsBuilder ()
Required. The component settings to update.
The component settings' name
field is used to identify the component
settings to be updated. Formats:
organizations/{organization}/components/{component}/settings
folders/{folder}/components/{component}/settings
projects/{project}/components/{component}/settings
projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings
projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings
projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings
.google.cloud.securitycenter.settings.v1beta1.ComponentSettings component_settings = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getComponentSettingsOrBuilder()
public ComponentSettingsOrBuilder getComponentSettingsOrBuilder ()
Required. The component settings to update.
The component settings' name
field is used to identify the component
settings to be updated. Formats:
organizations/{organization}/components/{component}/settings
folders/{folder}/components/{component}/settings
projects/{project}/components/{component}/settings
projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings
projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings
projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings
.google.cloud.securitycenter.settings.v1beta1.ComponentSettings component_settings = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public UpdateComponentSettingsRequest getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getUpdateMask()
public FieldMask getUpdateMask ()
The list of fields to be updated on the component settings resource.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskBuilder()
public FieldMask . Builder getUpdateMaskBuilder ()
The list of fields to be updated on the component settings resource.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder ()
The list of fields to be updated on the component settings resource.
.google.protobuf.FieldMask update_mask = 2;
Returns
hasComponentSettings()
public boolean hasComponentSettings ()
Required. The component settings to update.
The component settings' name
field is used to identify the component
settings to be updated. Formats:
organizations/{organization}/components/{component}/settings
folders/{folder}/components/{component}/settings
projects/{project}/components/{component}/settings
projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings
projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings
projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings
.google.cloud.securitycenter.settings.v1beta1.ComponentSettings component_settings = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type Description boolean Whether the componentSettings field is set.
hasUpdateMask()
public boolean hasUpdateMask ()
The list of fields to be updated on the component settings resource.
.google.protobuf.FieldMask update_mask = 2;
Returns
Type Description boolean Whether the updateMask field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeComponentSettings(ComponentSettings value)
public UpdateComponentSettingsRequest . Builder mergeComponentSettings ( ComponentSettings value )
Required. The component settings to update.
The component settings' name
field is used to identify the component
settings to be updated. Formats:
organizations/{organization}/components/{component}/settings
folders/{folder}/components/{component}/settings
projects/{project}/components/{component}/settings
projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings
projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings
projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings
.google.cloud.securitycenter.settings.v1beta1.ComponentSettings component_settings = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(UpdateComponentSettingsRequest other)
public UpdateComponentSettingsRequest . Builder mergeFrom ( UpdateComponentSettingsRequest other )
Parameter
Returns
public UpdateComponentSettingsRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateComponentSettingsRequest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateComponentSettingsRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateComponentSettingsRequest . Builder mergeUpdateMask ( FieldMask value )
The list of fields to be updated on the component settings resource.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
setComponentSettings(ComponentSettings value)
public UpdateComponentSettingsRequest . Builder setComponentSettings ( ComponentSettings value )
Required. The component settings to update.
The component settings' name
field is used to identify the component
settings to be updated. Formats:
organizations/{organization}/components/{component}/settings
folders/{folder}/components/{component}/settings
projects/{project}/components/{component}/settings
projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings
projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings
projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings
.google.cloud.securitycenter.settings.v1beta1.ComponentSettings component_settings = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setComponentSettings(ComponentSettings.Builder builderForValue)
public UpdateComponentSettingsRequest . Builder setComponentSettings ( ComponentSettings . Builder builderForValue )
Required. The component settings to update.
The component settings' name
field is used to identify the component
settings to be updated. Formats:
organizations/{organization}/components/{component}/settings
folders/{folder}/components/{component}/settings
projects/{project}/components/{component}/settings
projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings
projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings
projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings
.google.cloud.securitycenter.settings.v1beta1.ComponentSettings component_settings = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateComponentSettingsRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateComponentSettingsRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateComponentSettingsRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateComponentSettingsRequest . Builder setUpdateMask ( FieldMask value )
The list of fields to be updated on the component settings resource.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateComponentSettingsRequest . Builder setUpdateMask ( FieldMask . Builder builderForValue )
The list of fields to be updated on the component settings resource.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Name Description builderForValue Builder
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]