Class EffectiveSecurityHealthAnalyticsCustomModule (2.45.0)

public final class EffectiveSecurityHealthAnalyticsCustomModule extends GeneratedMessageV3 implements EffectiveSecurityHealthAnalyticsCustomModuleOrBuilder

An EffectiveSecurityHealthAnalyticsCustomModule is the representation of a Security Health Analytics custom module at a specified level of the resource hierarchy: organization, folder, or project. If a custom module is inherited from a parent organization or folder, the value of the enablementState property in EffectiveSecurityHealthAnalyticsCustomModule is set to the value that is effective in the parent, instead of INHERITED. For example, if the module is enabled in a parent organization or folder, the effective enablement_state for the module in all child folders or projects is also enabled. EffectiveSecurityHealthAnalyticsCustomModule is read-only.

Protobuf type google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > EffectiveSecurityHealthAnalyticsCustomModule

Static Fields

CUSTOM_CONFIG_FIELD_NUMBER

public static final int CUSTOM_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

ENABLEMENT_STATE_FIELD_NUMBER

public static final int ENABLEMENT_STATE_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EffectiveSecurityHealthAnalyticsCustomModule getDefaultInstance()
Returns
TypeDescription
EffectiveSecurityHealthAnalyticsCustomModule

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static EffectiveSecurityHealthAnalyticsCustomModule.Builder newBuilder()
Returns
TypeDescription
EffectiveSecurityHealthAnalyticsCustomModule.Builder

newBuilder(EffectiveSecurityHealthAnalyticsCustomModule prototype)

public static EffectiveSecurityHealthAnalyticsCustomModule.Builder newBuilder(EffectiveSecurityHealthAnalyticsCustomModule prototype)
Parameter
NameDescription
prototypeEffectiveSecurityHealthAnalyticsCustomModule
Returns
TypeDescription
EffectiveSecurityHealthAnalyticsCustomModule.Builder

parseDelimitedFrom(InputStream input)

public static EffectiveSecurityHealthAnalyticsCustomModule parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EffectiveSecurityHealthAnalyticsCustomModule
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EffectiveSecurityHealthAnalyticsCustomModule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EffectiveSecurityHealthAnalyticsCustomModule
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static EffectiveSecurityHealthAnalyticsCustomModule parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
EffectiveSecurityHealthAnalyticsCustomModule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EffectiveSecurityHealthAnalyticsCustomModule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EffectiveSecurityHealthAnalyticsCustomModule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EffectiveSecurityHealthAnalyticsCustomModule parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EffectiveSecurityHealthAnalyticsCustomModule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EffectiveSecurityHealthAnalyticsCustomModule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EffectiveSecurityHealthAnalyticsCustomModule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EffectiveSecurityHealthAnalyticsCustomModule parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EffectiveSecurityHealthAnalyticsCustomModule
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EffectiveSecurityHealthAnalyticsCustomModule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EffectiveSecurityHealthAnalyticsCustomModule
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static EffectiveSecurityHealthAnalyticsCustomModule parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EffectiveSecurityHealthAnalyticsCustomModule
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EffectiveSecurityHealthAnalyticsCustomModule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EffectiveSecurityHealthAnalyticsCustomModule
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static EffectiveSecurityHealthAnalyticsCustomModule parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EffectiveSecurityHealthAnalyticsCustomModule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EffectiveSecurityHealthAnalyticsCustomModule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EffectiveSecurityHealthAnalyticsCustomModule
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<EffectiveSecurityHealthAnalyticsCustomModule> parser()
Returns
TypeDescription
Parser<EffectiveSecurityHealthAnalyticsCustomModule>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCustomConfig()

public CustomConfig getCustomConfig()

Output only. The user-specified configuration for the module.

.google.cloud.securitycenter.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CustomConfig

The customConfig.

getCustomConfigOrBuilder()

public CustomConfigOrBuilder getCustomConfigOrBuilder()

Output only. The user-specified configuration for the module.

.google.cloud.securitycenter.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CustomConfigOrBuilder

getDefaultInstanceForType()

public EffectiveSecurityHealthAnalyticsCustomModule getDefaultInstanceForType()
Returns
TypeDescription
EffectiveSecurityHealthAnalyticsCustomModule

getDisplayName()

public String getDisplayName()

Output only. The display name for the custom module. The name must be between 1 and 128 characters, start with a lowercase letter, and contain alphanumeric characters or underscores only.

string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Output only. The display name for the custom module. The name must be between 1 and 128 characters, start with a lowercase letter, and contain alphanumeric characters or underscores only.

string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for displayName.

getEnablementState()

public EffectiveSecurityHealthAnalyticsCustomModule.EnablementState getEnablementState()

Output only. The effective state of enablement for the module at the given level of the hierarchy.

.google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule.EnablementState enablement_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
EffectiveSecurityHealthAnalyticsCustomModule.EnablementState

The enablementState.

getEnablementStateValue()

public int getEnablementStateValue()

Output only. The effective state of enablement for the module at the given level of the hierarchy.

.google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule.EnablementState enablement_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for enablementState.

getName()

public String getName()

Output only. The resource name of the custom module. Its format is "organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", or "folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", or "projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}"

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The resource name of the custom module. Its format is "organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", or "folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", or "projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}"

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<EffectiveSecurityHealthAnalyticsCustomModule> getParserForType()
Returns
TypeDescription
Parser<EffectiveSecurityHealthAnalyticsCustomModule>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasCustomConfig()

public boolean hasCustomConfig()

Output only. The user-specified configuration for the module.

.google.cloud.securitycenter.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the customConfig field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public EffectiveSecurityHealthAnalyticsCustomModule.Builder newBuilderForType()
Returns
TypeDescription
EffectiveSecurityHealthAnalyticsCustomModule.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EffectiveSecurityHealthAnalyticsCustomModule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
EffectiveSecurityHealthAnalyticsCustomModule.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public EffectiveSecurityHealthAnalyticsCustomModule.Builder toBuilder()
Returns
TypeDescription
EffectiveSecurityHealthAnalyticsCustomModule.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException