public final class SecurityHealthAnalyticsCustomModule extends GeneratedMessageV3 implements SecurityHealthAnalyticsCustomModuleOrBuilder
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 descendant 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
public static final int ANCESTOR_MODULE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CUSTOM_CONFIG_FIELD_NUMBER
public static final int CUSTOM_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 |
|
ENABLEMENT_STATE_FIELD_NUMBER
public static final int ENABLEMENT_STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LAST_EDITOR_FIELD_NUMBER
public static final int LAST_EDITOR_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_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)
public static SecurityHealthAnalyticsCustomModule parseDelimitedFrom(InputStream input)
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)
public static SecurityHealthAnalyticsCustomModule parseFrom(CodedInputStream input)
public static SecurityHealthAnalyticsCustomModule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SecurityHealthAnalyticsCustomModule parseFrom(InputStream input)
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
getAncestorModule()
public String getAncestorModule()
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()
public ByteString getAncestorModuleBytes()
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()
public CustomConfig getCustomConfig()
Optional. The user-specified custom configuration for the module.
.google.cloud.securitycentermanagement.v1.CustomConfig custom_config = 7 [(.google.api.field_behavior) = OPTIONAL];
getCustomConfigOrBuilder()
public CustomConfigOrBuilder getCustomConfigOrBuilder()
Optional. The user-specified custom configuration for the module.
.google.cloud.securitycentermanagement.v1.CustomConfig custom_config = 7 [(.google.api.field_behavior) = OPTIONAL];
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.
|
getEnablementState()
public SecurityHealthAnalyticsCustomModule.EnablementState getEnablementState()
Optional. The enablement state of the custom module.
.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule.EnablementState enablement_state = 3 [(.google.api.field_behavior) = OPTIONAL];
getEnablementStateValue()
public int getEnablementStateValue()
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()
public String getLastEditor()
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()
public ByteString getLastEditorBytes()
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, in one of the
following formats:
organizations/{organization}/locations/{location}/securityHealthAnalyticsCustomModules/{custom_module}
folders/{folder}/locations/{location}/securityHealthAnalyticsCustomModules/{custom_module}
projects/{project}/locations/{location}/securityHealthAnalyticsCustomModules/{custom_module}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Identifier. The full resource name of the custom module, in one of the
following formats:
organizations/{organization}/locations/{location}/securityHealthAnalyticsCustomModules/{custom_module}
folders/{folder}/locations/{location}/securityHealthAnalyticsCustomModules/{custom_module}
projects/{project}/locations/{location}/securityHealthAnalyticsCustomModules/{custom_module}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<SecurityHealthAnalyticsCustomModule> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getUpdateTime()
public Timestamp getUpdateTime()
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()
public TimestampOrBuilder getUpdateTimeOrBuilder()
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()
public boolean hasCustomConfig()
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()
public boolean hasUpdateTime()
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()
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