Class SecurityCenterService.ModuleSettings.Builder (0.22.0)

public static final class SecurityCenterService.ModuleSettings.Builder extends GeneratedMessageV3.Builder<SecurityCenterService.ModuleSettings.Builder> implements SecurityCenterService.ModuleSettingsOrBuilder

The settings for individual modules.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SecurityCenterService.ModuleSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SecurityCenterService.ModuleSettings.Builder
Overrides

build()

public SecurityCenterService.ModuleSettings build()
Returns
Type Description
SecurityCenterService.ModuleSettings

buildPartial()

public SecurityCenterService.ModuleSettings buildPartial()
Returns
Type Description
SecurityCenterService.ModuleSettings

clear()

public SecurityCenterService.ModuleSettings.Builder clear()
Returns
Type Description
SecurityCenterService.ModuleSettings.Builder
Overrides

clearEffectiveEnablementState()

public SecurityCenterService.ModuleSettings.Builder clearEffectiveEnablementState()

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)

public SecurityCenterService.ModuleSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SecurityCenterService.ModuleSettings.Builder
Overrides

clearIntendedEnablementState()

public SecurityCenterService.ModuleSettings.Builder clearIntendedEnablementState()

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)

public SecurityCenterService.ModuleSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SecurityCenterService.ModuleSettings.Builder
Overrides

clone()

public SecurityCenterService.ModuleSettings.Builder clone()
Returns
Type Description
SecurityCenterService.ModuleSettings.Builder
Overrides

getDefaultInstanceForType()

public SecurityCenterService.ModuleSettings getDefaultInstanceForType()
Returns
Type Description
SecurityCenterService.ModuleSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEffectiveEnablementState()

public SecurityCenterService.EnablementState getEffectiveEnablementState()

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

public int getEffectiveEnablementStateValue()

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

public SecurityCenterService.EnablementState getIntendedEnablementState()

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

public int getIntendedEnablementStateValue()

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

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SecurityCenterService.ModuleSettings other)

public SecurityCenterService.ModuleSettings.Builder mergeFrom(SecurityCenterService.ModuleSettings other)
Parameter
Name Description
other SecurityCenterService.ModuleSettings
Returns
Type Description
SecurityCenterService.ModuleSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SecurityCenterService.ModuleSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityCenterService.ModuleSettings.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SecurityCenterService.ModuleSettings.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SecurityCenterService.ModuleSettings.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SecurityCenterService.ModuleSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SecurityCenterService.ModuleSettings.Builder
Overrides

setEffectiveEnablementState(SecurityCenterService.EnablementState value)

public SecurityCenterService.ModuleSettings.Builder setEffectiveEnablementState(SecurityCenterService.EnablementState value)

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)

public SecurityCenterService.ModuleSettings.Builder setEffectiveEnablementStateValue(int value)

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)

public SecurityCenterService.ModuleSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SecurityCenterService.ModuleSettings.Builder
Overrides

setIntendedEnablementState(SecurityCenterService.EnablementState value)

public SecurityCenterService.ModuleSettings.Builder setIntendedEnablementState(SecurityCenterService.EnablementState value)

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)

public SecurityCenterService.ModuleSettings.Builder setIntendedEnablementStateValue(int value)

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)

public SecurityCenterService.ModuleSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SecurityCenterService.ModuleSettings.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SecurityCenterService.ModuleSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SecurityCenterService.ModuleSettings.Builder
Overrides