Class SecurityHealthAnalyticsCustomModule (0.4.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
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
TypeDescription
int

MODULE_ENABLEMENT_STATE_FIELD_NUMBER

public static final int MODULE_ENABLEMENT_STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SecurityHealthAnalyticsCustomModule getDefaultInstance()
Returns
TypeDescription
SecurityHealthAnalyticsCustomModule

getDescriptor()

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

newBuilder()

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

newBuilder(SecurityHealthAnalyticsCustomModule prototype)

public static SecurityHealthAnalyticsCustomModule.Builder newBuilder(SecurityHealthAnalyticsCustomModule prototype)
Parameter
NameDescription
prototypeSecurityHealthAnalyticsCustomModule
Returns
TypeDescription
SecurityHealthAnalyticsCustomModule.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getConfig()

public CustomConfig getConfig()

Required. custom module details

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

Returns
TypeDescription
CustomConfig

The config.

getConfigOrBuilder()

public CustomConfigOrBuilder getConfigOrBuilder()

Required. custom module details

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

Returns
TypeDescription
CustomConfigOrBuilder

getDefaultInstanceForType()

public SecurityHealthAnalyticsCustomModule getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for moduleEnablementState.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasConfig()

public boolean hasConfig()

Required. custom module details

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

Returns
TypeDescription
boolean

Whether the config 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 SecurityHealthAnalyticsCustomModule.Builder newBuilderForType()
Returns
TypeDescription
SecurityHealthAnalyticsCustomModule.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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