public static final class SecurityCenterService.ModuleSettings.Builder extends GeneratedMessage.Builder<SecurityCenterService.ModuleSettings.Builder> implements SecurityCenterService.ModuleSettingsOrBuilderThe settings for individual modules.
Protobuf type
google.cloud.securitycentermanagement.v1.SecurityCenterService.ModuleSettings
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SecurityCenterService.ModuleSettings.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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. |
getDefaultInstanceForType()
public SecurityCenterService.ModuleSettings getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SecurityCenterService.ModuleSettings |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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.EnablementStateThe 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 |
intThe enum numeric value on the wire for effectiveEnablementState to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityCenterService.ModuleSettings.Builder |
This builder for chaining. |
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.EnablementStateThe 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 |
intThe enum numeric value on the wire for intendedEnablementState to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityCenterService.ModuleSettings.Builder |
This builder for chaining. |