Class SecurityCenterService.ModuleSettings (0.14.0)

public static final class SecurityCenterService.ModuleSettings extends GeneratedMessageV3 implements SecurityCenterService.ModuleSettingsOrBuilder

The settings for individual modules.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SecurityCenterService.ModuleSettings

Static Fields

EFFECTIVE_ENABLEMENT_STATE_FIELD_NUMBER

public static final int EFFECTIVE_ENABLEMENT_STATE_FIELD_NUMBER
Field Value
Type Description
int

INTENDED_ENABLEMENT_STATE_FIELD_NUMBER

public static final int INTENDED_ENABLEMENT_STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SecurityCenterService.ModuleSettings getDefaultInstance()
Returns
Type Description
SecurityCenterService.ModuleSettings

getDescriptor()

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

newBuilder()

public static SecurityCenterService.ModuleSettings.Builder newBuilder()
Returns
Type Description
SecurityCenterService.ModuleSettings.Builder

newBuilder(SecurityCenterService.ModuleSettings prototype)

public static SecurityCenterService.ModuleSettings.Builder newBuilder(SecurityCenterService.ModuleSettings prototype)
Parameter
Name Description
prototype SecurityCenterService.ModuleSettings
Returns
Type Description
SecurityCenterService.ModuleSettings.Builder

parseDelimitedFrom(InputStream input)

public static SecurityCenterService.ModuleSettings parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SecurityCenterService.ModuleSettings
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityCenterService.ModuleSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityCenterService.ModuleSettings
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SecurityCenterService.ModuleSettings parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SecurityCenterService.ModuleSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SecurityCenterService.ModuleSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityCenterService.ModuleSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SecurityCenterService.ModuleSettings parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SecurityCenterService.ModuleSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SecurityCenterService.ModuleSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityCenterService.ModuleSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SecurityCenterService.ModuleSettings parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SecurityCenterService.ModuleSettings
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityCenterService.ModuleSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityCenterService.ModuleSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SecurityCenterService.ModuleSettings parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SecurityCenterService.ModuleSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityCenterService.ModuleSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityCenterService.ModuleSettings
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SecurityCenterService.ModuleSettings parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SecurityCenterService.ModuleSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SecurityCenterService.ModuleSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityCenterService.ModuleSettings
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SecurityCenterService.ModuleSettings> parser()
Returns
Type Description
Parser<ModuleSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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 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
SecurityCenterService.EnablementState

The intendedEnablementState.

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.

getParserForType()

public Parser<SecurityCenterService.ModuleSettings> getParserForType()
Returns
Type Description
Parser<ModuleSettings>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SecurityCenterService.ModuleSettings.Builder newBuilderForType()
Returns
Type Description
SecurityCenterService.ModuleSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SecurityCenterService.ModuleSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SecurityCenterService.ModuleSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SecurityCenterService.ModuleSettings.Builder toBuilder()
Returns
Type Description
SecurityCenterService.ModuleSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException