Send feedback
Class SecurityHealthAnalyticsCustomModule (0.21.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public final class SecurityHealthAnalyticsCustomModule extends GeneratedMessageV3 implements SecurityHealthAnalyticsCustomModuleOrBuilder
Message for SHA Custom Module
Protobuf type google.cloud.securityposture.v1.SecurityHealthAnalyticsCustomModule
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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 ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static SecurityHealthAnalyticsCustomModule . Builder newBuilder ()
newBuilder(SecurityHealthAnalyticsCustomModule prototype)
public static SecurityHealthAnalyticsCustomModule . Builder newBuilder ( SecurityHealthAnalyticsCustomModule prototype )
parseDelimitedFrom(InputStream input)
public static SecurityHealthAnalyticsCustomModule parseDelimitedFrom ( InputStream input )
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SecurityHealthAnalyticsCustomModule parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static SecurityHealthAnalyticsCustomModule parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SecurityHealthAnalyticsCustomModule parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static SecurityHealthAnalyticsCustomModule parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SecurityHealthAnalyticsCustomModule parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
parseFrom(CodedInputStream input)
public static SecurityHealthAnalyticsCustomModule parseFrom ( CodedInputStream input )
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SecurityHealthAnalyticsCustomModule parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(InputStream input)
public static SecurityHealthAnalyticsCustomModule parseFrom ( InputStream input )
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SecurityHealthAnalyticsCustomModule parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static SecurityHealthAnalyticsCustomModule parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SecurityHealthAnalyticsCustomModule parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<SecurityHealthAnalyticsCustomModule> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getConfig()
public CustomConfig getConfig ()
Required. custom module details
.google.cloud.securityposture.v1.CustomConfig config = 3 [(.google.api.field_behavior) = REQUIRED];
getConfigOrBuilder()
public CustomConfigOrBuilder getConfigOrBuilder ()
Required. custom module details
.google.cloud.securityposture.v1.CustomConfig config = 3 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public SecurityHealthAnalyticsCustomModule getDefaultInstanceForType ()
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()
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;
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 ()
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()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public SecurityHealthAnalyticsCustomModule . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SecurityHealthAnalyticsCustomModule . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public SecurityHealthAnalyticsCustomModule . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]