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
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 SecurityCenterService.ModuleSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SecurityCenterService.ModuleSettings build()
buildPartial()
public SecurityCenterService.ModuleSettings buildPartial()
clear()
public SecurityCenterService.ModuleSettings.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public SecurityCenterService.ModuleSettings.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearIntendedEnablementState()
public SecurityCenterService.ModuleSettings.Builder clearIntendedEnablementState()
Optional. The intended state of enablement 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];
clearOneof(Descriptors.OneofDescriptor oneof)
public SecurityCenterService.ModuleSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SecurityCenterService.ModuleSettings.Builder clone()
Overrides
getDefaultInstanceForType()
public SecurityCenterService.ModuleSettings getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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 state of enablement 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];
getIntendedEnablementStateValue()
public int getIntendedEnablementStateValue()
Optional. The intended state of enablement 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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SecurityCenterService.ModuleSettings other)
public SecurityCenterService.ModuleSettings.Builder mergeFrom(SecurityCenterService.ModuleSettings other)
public SecurityCenterService.ModuleSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SecurityCenterService.ModuleSettings.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SecurityCenterService.ModuleSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public SecurityCenterService.ModuleSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setIntendedEnablementState(SecurityCenterService.EnablementState value)
public SecurityCenterService.ModuleSettings.Builder setIntendedEnablementState(SecurityCenterService.EnablementState value)
Optional. The intended state of enablement 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];
setIntendedEnablementStateValue(int value)
public SecurityCenterService.ModuleSettings.Builder setIntendedEnablementStateValue(int value)
Optional. The intended state of enablement 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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SecurityCenterService.ModuleSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SecurityCenterService.ModuleSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides