public final class SecurityHealthAnalyticsCustomModule extends com.google.protobuf.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 child folders and projects.Protobuf type
google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule| Modifier and Type | Class and Description |
|---|---|
static class |
SecurityHealthAnalyticsCustomModule.Builder
Represents an instance of a Security Health Analytics custom module,
including its full module name, display name, enablement state, and last
updated time.
|
static class |
SecurityHealthAnalyticsCustomModule.EnablementState
Possible enablement states of a custom module.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ANCESTOR_MODULE_FIELD_NUMBER |
static int |
CUSTOM_CONFIG_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
ENABLEMENT_STATE_FIELD_NUMBER |
static int |
LAST_EDITOR_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAncestorModule()
Output only.
|
com.google.protobuf.ByteString |
getAncestorModuleBytes()
Output only.
|
CustomConfig |
getCustomConfig()
The user specified custom configuration for the module.
|
CustomConfigOrBuilder |
getCustomConfigOrBuilder()
The user specified custom configuration for the module.
|
static SecurityHealthAnalyticsCustomModule |
getDefaultInstance() |
SecurityHealthAnalyticsCustomModule |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDisplayName()
The display name of the Security Health Analytics custom module.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
The display name of the Security Health Analytics custom module.
|
SecurityHealthAnalyticsCustomModule.EnablementState |
getEnablementState()
The enablement state of the custom module.
|
int |
getEnablementStateValue()
The enablement state of the custom module.
|
String |
getLastEditor()
Output only.
|
com.google.protobuf.ByteString |
getLastEditorBytes()
Output only.
|
String |
getName()
Immutable.
|
com.google.protobuf.ByteString |
getNameBytes()
Immutable.
|
com.google.protobuf.Parser<SecurityHealthAnalyticsCustomModule> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCustomConfig()
The user specified custom configuration for the module.
|
int |
hashCode() |
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static SecurityHealthAnalyticsCustomModule.Builder |
newBuilder() |
static SecurityHealthAnalyticsCustomModule.Builder |
newBuilder(SecurityHealthAnalyticsCustomModule prototype) |
SecurityHealthAnalyticsCustomModule.Builder |
newBuilderForType() |
protected SecurityHealthAnalyticsCustomModule.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static SecurityHealthAnalyticsCustomModule |
parseDelimitedFrom(InputStream input) |
static SecurityHealthAnalyticsCustomModule |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SecurityHealthAnalyticsCustomModule |
parseFrom(byte[] data) |
static SecurityHealthAnalyticsCustomModule |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SecurityHealthAnalyticsCustomModule |
parseFrom(ByteBuffer data) |
static SecurityHealthAnalyticsCustomModule |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SecurityHealthAnalyticsCustomModule |
parseFrom(com.google.protobuf.ByteString data) |
static SecurityHealthAnalyticsCustomModule |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SecurityHealthAnalyticsCustomModule |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SecurityHealthAnalyticsCustomModule |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SecurityHealthAnalyticsCustomModule |
parseFrom(InputStream input) |
static SecurityHealthAnalyticsCustomModule |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SecurityHealthAnalyticsCustomModule> |
parser() |
SecurityHealthAnalyticsCustomModule.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int ENABLEMENT_STATE_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int LAST_EDITOR_FIELD_NUMBER
public static final int ANCESTOR_MODULE_FIELD_NUMBER
public static final int CUSTOM_CONFIG_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
Immutable. The resource name of the custom module.
Its format is
"organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}",
or
"folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}",
or
"projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}"
The id {customModule} is server-generated and is not user settable.
It will be a numeric id containing 1-20 digits.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];getName in interface SecurityHealthAnalyticsCustomModuleOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Immutable. The resource name of the custom module.
Its format is
"organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}",
or
"folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}",
or
"projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}"
The id {customModule} is server-generated and is not user settable.
It will be a numeric id containing 1-20 digits.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];getNameBytes in interface SecurityHealthAnalyticsCustomModuleOrBuilderpublic String getDisplayName()
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;getDisplayName in interface SecurityHealthAnalyticsCustomModuleOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
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;getDisplayNameBytes in interface SecurityHealthAnalyticsCustomModuleOrBuilderpublic int getEnablementStateValue()
The enablement state of the custom module.
.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule.EnablementState enablement_state = 4;
getEnablementStateValue in interface SecurityHealthAnalyticsCustomModuleOrBuilderpublic SecurityHealthAnalyticsCustomModule.EnablementState getEnablementState()
The enablement state of the custom module.
.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule.EnablementState enablement_state = 4;
getEnablementState in interface SecurityHealthAnalyticsCustomModuleOrBuilderpublic boolean hasUpdateTime()
Output only. The time at which the custom module was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface SecurityHealthAnalyticsCustomModuleOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The time at which the custom module was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface SecurityHealthAnalyticsCustomModuleOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time at which the custom module was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface SecurityHealthAnalyticsCustomModuleOrBuilderpublic String getLastEditor()
Output only. The editor that last updated the custom module.
string last_editor = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getLastEditor in interface SecurityHealthAnalyticsCustomModuleOrBuilderpublic com.google.protobuf.ByteString getLastEditorBytes()
Output only. The editor that last updated the custom module.
string last_editor = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getLastEditorBytes in interface SecurityHealthAnalyticsCustomModuleOrBuilderpublic String getAncestorModule()
Output only. If empty, indicates that the custom module was created in the organization, folder, or project in which you are viewing the custom module. Otherwise, `ancestor_module` specifies the organization or folder from which the custom module is inherited.
string ancestor_module = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getAncestorModule in interface SecurityHealthAnalyticsCustomModuleOrBuilderpublic com.google.protobuf.ByteString getAncestorModuleBytes()
Output only. If empty, indicates that the custom module was created in the organization, folder, or project in which you are viewing the custom module. Otherwise, `ancestor_module` specifies the organization or folder from which the custom module is inherited.
string ancestor_module = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getAncestorModuleBytes in interface SecurityHealthAnalyticsCustomModuleOrBuilderpublic boolean hasCustomConfig()
The user specified custom configuration for the module.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 8;hasCustomConfig in interface SecurityHealthAnalyticsCustomModuleOrBuilderpublic CustomConfig getCustomConfig()
The user specified custom configuration for the module.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 8;getCustomConfig in interface SecurityHealthAnalyticsCustomModuleOrBuilderpublic CustomConfigOrBuilder getCustomConfigOrBuilder()
The user specified custom configuration for the module.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 8;getCustomConfigOrBuilder in interface SecurityHealthAnalyticsCustomModuleOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static SecurityHealthAnalyticsCustomModule parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SecurityHealthAnalyticsCustomModule parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SecurityHealthAnalyticsCustomModule parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SecurityHealthAnalyticsCustomModule parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SecurityHealthAnalyticsCustomModule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SecurityHealthAnalyticsCustomModule parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SecurityHealthAnalyticsCustomModule parseFrom(InputStream input) throws IOException
IOExceptionpublic static SecurityHealthAnalyticsCustomModule parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SecurityHealthAnalyticsCustomModule parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SecurityHealthAnalyticsCustomModule parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SecurityHealthAnalyticsCustomModule parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SecurityHealthAnalyticsCustomModule parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SecurityHealthAnalyticsCustomModule.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SecurityHealthAnalyticsCustomModule.Builder newBuilder()
public static SecurityHealthAnalyticsCustomModule.Builder newBuilder(SecurityHealthAnalyticsCustomModule prototype)
public SecurityHealthAnalyticsCustomModule.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SecurityHealthAnalyticsCustomModule.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SecurityHealthAnalyticsCustomModule getDefaultInstance()
public static com.google.protobuf.Parser<SecurityHealthAnalyticsCustomModule> parser()
public com.google.protobuf.Parser<SecurityHealthAnalyticsCustomModule> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SecurityHealthAnalyticsCustomModule getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.