public static final class SecurityHealthAnalyticsCustomModule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder> 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.SecurityHealthAnalyticsCustomModulegetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>public SecurityHealthAnalyticsCustomModule.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>public SecurityHealthAnalyticsCustomModule getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SecurityHealthAnalyticsCustomModule build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SecurityHealthAnalyticsCustomModule buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SecurityHealthAnalyticsCustomModule.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>public SecurityHealthAnalyticsCustomModule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>public SecurityHealthAnalyticsCustomModule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>public SecurityHealthAnalyticsCustomModule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>public SecurityHealthAnalyticsCustomModule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>public SecurityHealthAnalyticsCustomModule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>public SecurityHealthAnalyticsCustomModule.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SecurityHealthAnalyticsCustomModule.Builder>public SecurityHealthAnalyticsCustomModule.Builder mergeFrom(SecurityHealthAnalyticsCustomModule other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>public SecurityHealthAnalyticsCustomModule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SecurityHealthAnalyticsCustomModule.Builder>IOExceptionpublic 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 SecurityHealthAnalyticsCustomModule.Builder setName(String value)
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];value - The name to set.public SecurityHealthAnalyticsCustomModule.Builder clearName()
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];public SecurityHealthAnalyticsCustomModule.Builder setNameBytes(com.google.protobuf.ByteString value)
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];value - The bytes for name to set.public 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 SecurityHealthAnalyticsCustomModule.Builder setDisplayName(String value)
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;value - The displayName to set.public SecurityHealthAnalyticsCustomModule.Builder clearDisplayName()
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;public SecurityHealthAnalyticsCustomModule.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
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;value - The bytes for displayName to set.public int getEnablementStateValue()
The enablement state of the custom module.
.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule.EnablementState enablement_state = 4;
getEnablementStateValue in interface SecurityHealthAnalyticsCustomModuleOrBuilderpublic SecurityHealthAnalyticsCustomModule.Builder setEnablementStateValue(int value)
The enablement state of the custom module.
.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule.EnablementState enablement_state = 4;
value - The enum numeric value on the wire for enablementState to set.public SecurityHealthAnalyticsCustomModule.EnablementState getEnablementState()
The enablement state of the custom module.
.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule.EnablementState enablement_state = 4;
getEnablementState in interface SecurityHealthAnalyticsCustomModuleOrBuilderpublic SecurityHealthAnalyticsCustomModule.Builder setEnablementState(SecurityHealthAnalyticsCustomModule.EnablementState value)
The enablement state of the custom module.
.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule.EnablementState enablement_state = 4;
value - The enablementState to set.public SecurityHealthAnalyticsCustomModule.Builder clearEnablementState()
The enablement state of the custom module.
.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule.EnablementState enablement_state = 4;
public 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 SecurityHealthAnalyticsCustomModule.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time at which the custom module was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public SecurityHealthAnalyticsCustomModule.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time at which the custom module was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public SecurityHealthAnalyticsCustomModule.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time at which the custom module was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public SecurityHealthAnalyticsCustomModule.Builder clearUpdateTime()
Output only. The time at which the custom module was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The time at which the custom module was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public 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 SecurityHealthAnalyticsCustomModule.Builder setLastEditor(String value)
Output only. The editor that last updated the custom module.
string last_editor = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The lastEditor to set.public SecurityHealthAnalyticsCustomModule.Builder clearLastEditor()
Output only. The editor that last updated the custom module.
string last_editor = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];public SecurityHealthAnalyticsCustomModule.Builder setLastEditorBytes(com.google.protobuf.ByteString value)
Output only. The editor that last updated the custom module.
string last_editor = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for lastEditor to set.public 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 SecurityHealthAnalyticsCustomModule.Builder setAncestorModule(String value)
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) = { ... }
value - The ancestorModule to set.public SecurityHealthAnalyticsCustomModule.Builder clearAncestorModule()
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) = { ... }
public SecurityHealthAnalyticsCustomModule.Builder setAncestorModuleBytes(com.google.protobuf.ByteString value)
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) = { ... }
value - The bytes for ancestorModule to set.public 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 SecurityHealthAnalyticsCustomModule.Builder setCustomConfig(CustomConfig value)
The user specified custom configuration for the module.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 8;public SecurityHealthAnalyticsCustomModule.Builder setCustomConfig(CustomConfig.Builder builderForValue)
The user specified custom configuration for the module.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 8;public SecurityHealthAnalyticsCustomModule.Builder mergeCustomConfig(CustomConfig value)
The user specified custom configuration for the module.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 8;public SecurityHealthAnalyticsCustomModule.Builder clearCustomConfig()
The user specified custom configuration for the module.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 8;public CustomConfig.Builder getCustomConfigBuilder()
The user specified custom configuration for the module.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 8;public CustomConfigOrBuilder getCustomConfigOrBuilder()
The user specified custom configuration for the module.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 8;getCustomConfigOrBuilder in interface SecurityHealthAnalyticsCustomModuleOrBuilderpublic final SecurityHealthAnalyticsCustomModule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>public final SecurityHealthAnalyticsCustomModule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>Copyright © 2023 Google LLC. All rights reserved.