publicfinalclass SecurityHealthAnalyticsCustomModuleextendsGeneratedMessageV3implementsSecurityHealthAnalyticsCustomModuleOrBuilder
Represents an instance of a Security Health Analytics custom module,
including its full module name, display name, enablement state, and last
updated time. You can create a custom module at the organization, folder, or
project level. Custom modules that you create at the organization or folder
level are inherited by the child folders and projects.
Protobuf type
google.cloud.securitycentermanagement.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
ANCESTOR_MODULE_FIELD_NUMBER
publicstaticfinalintANCESTOR_MODULE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
CUSTOM_CONFIG_FIELD_NUMBER
publicstaticfinalintCUSTOM_CONFIG_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
DISPLAY_NAME_FIELD_NUMBER
publicstaticfinalintDISPLAY_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
ENABLEMENT_STATE_FIELD_NUMBER
publicstaticfinalintENABLEMENT_STATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
LAST_EDITOR_FIELD_NUMBER
publicstaticfinalintLAST_EDITOR_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
NAME_FIELD_NUMBER
publicstaticfinalintNAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
UPDATE_TIME_FIELD_NUMBER
publicstaticfinalintUPDATE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticSecurityHealthAnalyticsCustomModulegetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticSecurityHealthAnalyticsCustomModule.BuildernewBuilder()
newBuilder(SecurityHealthAnalyticsCustomModule prototype)
publicstaticSecurityHealthAnalyticsCustomModule.BuildernewBuilder(SecurityHealthAnalyticsCustomModuleprototype)
publicstaticSecurityHealthAnalyticsCustomModuleparseDelimitedFrom(InputStreaminput)
publicstaticSecurityHealthAnalyticsCustomModuleparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticSecurityHealthAnalyticsCustomModuleparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticSecurityHealthAnalyticsCustomModuleparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticSecurityHealthAnalyticsCustomModuleparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticSecurityHealthAnalyticsCustomModuleparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticSecurityHealthAnalyticsCustomModuleparseFrom(CodedInputStreaminput)
publicstaticSecurityHealthAnalyticsCustomModuleparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticSecurityHealthAnalyticsCustomModuleparseFrom(InputStreaminput)
publicstaticSecurityHealthAnalyticsCustomModuleparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticSecurityHealthAnalyticsCustomModuleparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticSecurityHealthAnalyticsCustomModuleparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<SecurityHealthAnalyticsCustomModule>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAncestorModule()
publicStringgetAncestorModule()
Output only. Specifies the organization or folder from which the custom
module is inherited. If empty, indicates that the custom module was created
in the organization, folder, or project in which you are viewing the custom
module.
string ancestor_module = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
String |
The ancestorModule.
|
getAncestorModuleBytes()
publicByteStringgetAncestorModuleBytes()
Output only. Specifies the organization or folder from which the custom
module is inherited. If empty, indicates that the custom module was created
in the organization, folder, or project in which you are viewing the custom
module.
string ancestor_module = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
ByteString |
The bytes for ancestorModule.
|
getCustomConfig()
publicCustomConfiggetCustomConfig()
Optional. The user specified custom configuration for the module.
.google.cloud.securitycentermanagement.v1.CustomConfig custom_config = 7 [(.google.api.field_behavior) = OPTIONAL];
getCustomConfigOrBuilder()
publicCustomConfigOrBuildergetCustomConfigOrBuilder()
Optional. The user specified custom configuration for the module.
.google.cloud.securitycentermanagement.v1.CustomConfig custom_config = 7 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
publicSecurityHealthAnalyticsCustomModulegetDefaultInstanceForType()
getDisplayName()
publicStringgetDisplayName()
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()
publicByteStringgetDisplayNameBytes()
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.
|
getEnablementState()
publicSecurityHealthAnalyticsCustomModule.EnablementStategetEnablementState()
Optional. The enablement state of the custom module.
.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule.EnablementState enablement_state = 3 [(.google.api.field_behavior) = OPTIONAL];
getEnablementStateValue()
publicintgetEnablementStateValue()
Optional. The enablement state of the custom module.
.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule.EnablementState enablement_state = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for enablementState.
|
getLastEditor()
publicStringgetLastEditor()
Output only. The editor that last updated the custom module.
string last_editor = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The lastEditor.
|
getLastEditorBytes()
publicByteStringgetLastEditorBytes()
Output only. The editor that last updated the custom module.
string last_editor = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for lastEditor.
|
getName()
Identifier. The full resource name of the custom module, specified in one
of the following formats:
organizations/{organization}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}
folders/{folder}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}
projects/{project}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns |
| Type |
Description |
String |
The name.
|
getNameBytes()
publicByteStringgetNameBytes()
Identifier. The full resource name of the custom module, specified in one
of the following formats:
organizations/{organization}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}
folders/{folder}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}
projects/{project}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
publicParser<SecurityHealthAnalyticsCustomModule>getParserForType()
Overrides
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
getUpdateTime()
publicTimestampgetUpdateTime()
Output only. The time at which the custom module was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The updateTime.
|
getUpdateTimeOrBuilder()
publicTimestampOrBuildergetUpdateTimeOrBuilder()
Output only. The time at which the custom module was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCustomConfig()
publicbooleanhasCustomConfig()
Optional. The user specified custom configuration for the module.
.google.cloud.securitycentermanagement.v1.CustomConfig custom_config = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the customConfig field is set.
|
hasUpdateTime()
publicbooleanhasUpdateTime()
Output only. The time at which the custom module was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the updateTime field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicSecurityHealthAnalyticsCustomModule.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedSecurityHealthAnalyticsCustomModule.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicSecurityHealthAnalyticsCustomModule.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides