Class SecurityCenterService.ModuleSettings.Builder (0.48.0)

publicstaticfinalclass SecurityCenterService.ModuleSettings.BuilderextendsGeneratedMessageV3.Builder<SecurityCenterService.ModuleSettings.Builder>implementsSecurityCenterService.ModuleSettingsOrBuilder

The settings for individual modules.

Protobuf type google.cloud.securitycentermanagement.v1.SecurityCenterService.ModuleSettings

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()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicSecurityCenterService.ModuleSettings.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SecurityCenterService.ModuleSettings.Builder
Overrides

build()

publicSecurityCenterService.ModuleSettingsbuild()
Returns
Type Description
SecurityCenterService.ModuleSettings

buildPartial()

publicSecurityCenterService.ModuleSettingsbuildPartial()
Returns
Type Description
SecurityCenterService.ModuleSettings

clear()

publicSecurityCenterService.ModuleSettings.Builderclear()
Returns
Type Description
SecurityCenterService.ModuleSettings.Builder
Overrides

clearEffectiveEnablementState()

publicSecurityCenterService.ModuleSettings.BuilderclearEffectiveEnablementState()

Output only. The effective enablement state for the module at its level of the resource hierarchy. If the intended state is set to INHERITED, the effective state will be inherited from the enablement state of an ancestor. This state may differ from the intended enablement state due to billing eligibility or onboarding status.

.google.cloud.securitycentermanagement.v1.SecurityCenterService.EnablementState effective_enablement_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SecurityCenterService.ModuleSettings.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

publicSecurityCenterService.ModuleSettings.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SecurityCenterService.ModuleSettings.Builder
Overrides

clearIntendedEnablementState()

publicSecurityCenterService.ModuleSettings.BuilderclearIntendedEnablementState()

Optional. The intended enablement state for the module at its level of the resource hierarchy.

.google.cloud.securitycentermanagement.v1.SecurityCenterService.EnablementState intended_enablement_state = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SecurityCenterService.ModuleSettings.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

publicSecurityCenterService.ModuleSettings.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SecurityCenterService.ModuleSettings.Builder
Overrides

clone()

publicSecurityCenterService.ModuleSettings.Builderclone()
Returns
Type Description
SecurityCenterService.ModuleSettings.Builder
Overrides

getDefaultInstanceForType()

publicSecurityCenterService.ModuleSettingsgetDefaultInstanceForType()
Returns
Type Description
SecurityCenterService.ModuleSettings

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEffectiveEnablementState()

publicSecurityCenterService.EnablementStategetEffectiveEnablementState()

Output only. The effective enablement state for the module at its level of the resource hierarchy. If the intended state is set to INHERITED, the effective state will be inherited from the enablement state of an ancestor. This state may differ from the intended enablement state due to billing eligibility or onboarding status.

.google.cloud.securitycentermanagement.v1.SecurityCenterService.EnablementState effective_enablement_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SecurityCenterService.EnablementState

The effectiveEnablementState.

getEffectiveEnablementStateValue()

publicintgetEffectiveEnablementStateValue()

Output only. The effective enablement state for the module at its level of the resource hierarchy. If the intended state is set to INHERITED, the effective state will be inherited from the enablement state of an ancestor. This state may differ from the intended enablement state due to billing eligibility or onboarding status.

.google.cloud.securitycentermanagement.v1.SecurityCenterService.EnablementState effective_enablement_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for effectiveEnablementState.

getIntendedEnablementState()

publicSecurityCenterService.EnablementStategetIntendedEnablementState()

Optional. The intended enablement state for the module at its level of the resource hierarchy.

.google.cloud.securitycentermanagement.v1.SecurityCenterService.EnablementState intended_enablement_state = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SecurityCenterService.EnablementState

The intendedEnablementState.

getIntendedEnablementStateValue()

publicintgetIntendedEnablementStateValue()

Optional. The intended enablement state for the module at its level of the resource hierarchy.

.google.cloud.securitycentermanagement.v1.SecurityCenterService.EnablementState intended_enablement_state = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for intendedEnablementState.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SecurityCenterService.ModuleSettings other)

publicSecurityCenterService.ModuleSettings.BuildermergeFrom(SecurityCenterService.ModuleSettingsother)
Parameter
Name Description
other SecurityCenterService.ModuleSettings
Returns
Type Description
SecurityCenterService.ModuleSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicSecurityCenterService.ModuleSettings.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityCenterService.ModuleSettings.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicSecurityCenterService.ModuleSettings.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
SecurityCenterService.ModuleSettings.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalSecurityCenterService.ModuleSettings.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SecurityCenterService.ModuleSettings.Builder
Overrides

setEffectiveEnablementState(SecurityCenterService.EnablementState value)

publicSecurityCenterService.ModuleSettings.BuildersetEffectiveEnablementState(SecurityCenterService.EnablementStatevalue)

Output only. The effective enablement state for the module at its level of the resource hierarchy. If the intended state is set to INHERITED, the effective state will be inherited from the enablement state of an ancestor. This state may differ from the intended enablement state due to billing eligibility or onboarding status.

.google.cloud.securitycentermanagement.v1.SecurityCenterService.EnablementState effective_enablement_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value SecurityCenterService.EnablementState

The effectiveEnablementState to set.

Returns
Type Description
SecurityCenterService.ModuleSettings.Builder

This builder for chaining.

setEffectiveEnablementStateValue(int value)

publicSecurityCenterService.ModuleSettings.BuildersetEffectiveEnablementStateValue(intvalue)

Output only. The effective enablement state for the module at its level of the resource hierarchy. If the intended state is set to INHERITED, the effective state will be inherited from the enablement state of an ancestor. This state may differ from the intended enablement state due to billing eligibility or onboarding status.

.google.cloud.securitycentermanagement.v1.SecurityCenterService.EnablementState effective_enablement_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for effectiveEnablementState to set.

Returns
Type Description
SecurityCenterService.ModuleSettings.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

publicSecurityCenterService.ModuleSettings.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SecurityCenterService.ModuleSettings.Builder
Overrides

setIntendedEnablementState(SecurityCenterService.EnablementState value)

publicSecurityCenterService.ModuleSettings.BuildersetIntendedEnablementState(SecurityCenterService.EnablementStatevalue)

Optional. The intended enablement state for the module at its level of the resource hierarchy.

.google.cloud.securitycentermanagement.v1.SecurityCenterService.EnablementState intended_enablement_state = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SecurityCenterService.EnablementState

The intendedEnablementState to set.

Returns
Type Description
SecurityCenterService.ModuleSettings.Builder

This builder for chaining.

setIntendedEnablementStateValue(int value)

publicSecurityCenterService.ModuleSettings.BuildersetIntendedEnablementStateValue(intvalue)

Optional. The intended enablement state for the module at its level of the resource hierarchy.

.google.cloud.securitycentermanagement.v1.SecurityCenterService.EnablementState intended_enablement_state = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for intendedEnablementState to set.

Returns
Type Description
SecurityCenterService.ModuleSettings.Builder

This builder for chaining.

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

publicSecurityCenterService.ModuleSettings.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SecurityCenterService.ModuleSettings.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalSecurityCenterService.ModuleSettings.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SecurityCenterService.ModuleSettings.Builder
Overrides

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年11月19日 UTC.