Class SecurityHealthAnalyticsCustomModule (0.18.0)

public final class SecurityHealthAnalyticsCustomModule extends GeneratedMessageV3 implements SecurityHealthAnalyticsCustomModuleOrBuilder

Message for SHA Custom Module

Protobuf type google.cloud.securityposture.v1.SecurityHealthAnalyticsCustomModule

Inheritance

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

Static Fields

CONFIG_FIELD_NUMBER

public static final int CONFIG_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

MODULE_ENABLEMENT_STATE_FIELD_NUMBER

public static final int MODULE_ENABLEMENT_STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SecurityHealthAnalyticsCustomModule getDefaultInstance()
Returns
Type Description
SecurityHealthAnalyticsCustomModule

getDescriptor()

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

newBuilder()

public static SecurityHealthAnalyticsCustomModule.Builder newBuilder()
Returns
Type Description
SecurityHealthAnalyticsCustomModule.Builder

newBuilder(SecurityHealthAnalyticsCustomModule prototype)

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

parseDelimitedFrom(InputStream input)

public static SecurityHealthAnalyticsCustomModule parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SecurityHealthAnalyticsCustomModule
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static SecurityHealthAnalyticsCustomModule parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SecurityHealthAnalyticsCustomModule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static SecurityHealthAnalyticsCustomModule parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SecurityHealthAnalyticsCustomModule
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static SecurityHealthAnalyticsCustomModule parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SecurityHealthAnalyticsCustomModule
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static SecurityHealthAnalyticsCustomModule parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SecurityHealthAnalyticsCustomModule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<SecurityHealthAnalyticsCustomModule> parser()
Returns
Type Description
Parser<SecurityHealthAnalyticsCustomModule>

Methods

equals(Object obj)

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

getConfig()

public CustomConfig getConfig()

Required. custom module details

.google.cloud.securityposture.v1.CustomConfig config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomConfig

The config.

getConfigOrBuilder()

public CustomConfigOrBuilder getConfigOrBuilder()

Required. custom module details

.google.cloud.securityposture.v1.CustomConfig config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomConfigOrBuilder

getDefaultInstanceForType()

public SecurityHealthAnalyticsCustomModule getDefaultInstanceForType()
Returns
Type Description
SecurityHealthAnalyticsCustomModule

getDisplayName()

public String getDisplayName()

Optional. The display name of the Security Health Analytics custom module. This display name becomes the finding category for all findings that are returned by this custom module. The display name must be between 1 and 128 characters, start with a lowercase letter, and contain alphanumeric characters or underscores only.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. The display name of the Security Health Analytics custom module. This display name becomes the finding category for all findings that are returned by this custom module. The display name must be between 1 and 128 characters, start with a lowercase letter, and contain alphanumeric characters or underscores only.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for displayName.

getId()

public String getId()

Output only. Immutable. The id of the custom module. The id is server-generated and is not user settable. It will be a numeric id containing 1-20 digits.

string id = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

Output only. Immutable. The id of the custom module. The id is server-generated and is not user settable. It will be a numeric id containing 1-20 digits.

string id = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for id.

getModuleEnablementState()

public EnablementState getModuleEnablementState()

The state of enablement for the module at its level of the resource hierarchy.

.google.cloud.securityposture.v1.EnablementState module_enablement_state = 4;

Returns
Type Description
EnablementState

The moduleEnablementState.

getModuleEnablementStateValue()

public int getModuleEnablementStateValue()

The state of enablement for the module at its level of the resource hierarchy.

.google.cloud.securityposture.v1.EnablementState module_enablement_state = 4;

Returns
Type Description
int

The enum numeric value on the wire for moduleEnablementState.

getParserForType()

public Parser<SecurityHealthAnalyticsCustomModule> getParserForType()
Returns
Type Description
Parser<SecurityHealthAnalyticsCustomModule>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasConfig()

public boolean hasConfig()

Required. custom module details

.google.cloud.securityposture.v1.CustomConfig config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the config field is set.

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 SecurityHealthAnalyticsCustomModule.Builder newBuilderForType()
Returns
Type Description
SecurityHealthAnalyticsCustomModule.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public SecurityHealthAnalyticsCustomModule.Builder toBuilder()
Returns
Type Description
SecurityHealthAnalyticsCustomModule.Builder

writeTo(CodedOutputStream output)

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