public static final class EffectiveSecurityHealthAnalyticsCustomModule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EffectiveSecurityHealthAnalyticsCustomModule.Builder> implements EffectiveSecurityHealthAnalyticsCustomModuleOrBuilder
An EffectiveSecurityHealthAnalyticsCustomModule is the representation of a Security Health Analytics custom module at a specified level of the resource hierarchy: organization, folder, or project. If a custom module is inherited from a parent organization or folder, the value of the `enablementState` property in EffectiveSecurityHealthAnalyticsCustomModule is set to the value that is effective in the parent, instead of `INHERITED`. For example, if the module is enabled in a parent organization or folder, the effective enablement_state for the module in all child folders or projects is also `enabled`. EffectiveSecurityHealthAnalyticsCustomModule is read-only.Protobuf type
google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModulegetAllFields, 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<EffectiveSecurityHealthAnalyticsCustomModule.Builder>public EffectiveSecurityHealthAnalyticsCustomModule.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<EffectiveSecurityHealthAnalyticsCustomModule.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<EffectiveSecurityHealthAnalyticsCustomModule.Builder>public EffectiveSecurityHealthAnalyticsCustomModule getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic EffectiveSecurityHealthAnalyticsCustomModule build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic EffectiveSecurityHealthAnalyticsCustomModule buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic EffectiveSecurityHealthAnalyticsCustomModule.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<EffectiveSecurityHealthAnalyticsCustomModule.Builder>public EffectiveSecurityHealthAnalyticsCustomModule.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<EffectiveSecurityHealthAnalyticsCustomModule.Builder>public EffectiveSecurityHealthAnalyticsCustomModule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<EffectiveSecurityHealthAnalyticsCustomModule.Builder>public EffectiveSecurityHealthAnalyticsCustomModule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<EffectiveSecurityHealthAnalyticsCustomModule.Builder>public EffectiveSecurityHealthAnalyticsCustomModule.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<EffectiveSecurityHealthAnalyticsCustomModule.Builder>public EffectiveSecurityHealthAnalyticsCustomModule.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<EffectiveSecurityHealthAnalyticsCustomModule.Builder>public EffectiveSecurityHealthAnalyticsCustomModule.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<EffectiveSecurityHealthAnalyticsCustomModule.Builder>public EffectiveSecurityHealthAnalyticsCustomModule.Builder mergeFrom(EffectiveSecurityHealthAnalyticsCustomModule other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<EffectiveSecurityHealthAnalyticsCustomModule.Builder>public EffectiveSecurityHealthAnalyticsCustomModule.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<EffectiveSecurityHealthAnalyticsCustomModule.Builder>IOExceptionpublic String getName()
Output only. The resource name of the custom module.
Its format is
"organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}",
or
"folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}",
or
"projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}"
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface EffectiveSecurityHealthAnalyticsCustomModuleOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the custom module.
Its format is
"organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}",
or
"folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}",
or
"projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}"
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface EffectiveSecurityHealthAnalyticsCustomModuleOrBuilderpublic EffectiveSecurityHealthAnalyticsCustomModule.Builder setName(String value)
Output only. The resource name of the custom module.
Its format is
"organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}",
or
"folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}",
or
"projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}"
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The name to set.public EffectiveSecurityHealthAnalyticsCustomModule.Builder clearName()
Output only. The resource name of the custom module.
Its format is
"organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}",
or
"folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}",
or
"projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}"
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public EffectiveSecurityHealthAnalyticsCustomModule.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The resource name of the custom module.
Its format is
"organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}",
or
"folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}",
or
"projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}"
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for name to set.public boolean hasCustomConfig()
Output only. The user-specified configuration for the module.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCustomConfig in interface EffectiveSecurityHealthAnalyticsCustomModuleOrBuilderpublic CustomConfig getCustomConfig()
Output only. The user-specified configuration for the module.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCustomConfig in interface EffectiveSecurityHealthAnalyticsCustomModuleOrBuilderpublic EffectiveSecurityHealthAnalyticsCustomModule.Builder setCustomConfig(CustomConfig value)
Output only. The user-specified configuration for the module.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public EffectiveSecurityHealthAnalyticsCustomModule.Builder setCustomConfig(CustomConfig.Builder builderForValue)
Output only. The user-specified configuration for the module.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public EffectiveSecurityHealthAnalyticsCustomModule.Builder mergeCustomConfig(CustomConfig value)
Output only. The user-specified configuration for the module.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public EffectiveSecurityHealthAnalyticsCustomModule.Builder clearCustomConfig()
Output only. The user-specified configuration for the module.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CustomConfig.Builder getCustomConfigBuilder()
Output only. The user-specified configuration for the module.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CustomConfigOrBuilder getCustomConfigOrBuilder()
Output only. The user-specified configuration for the module.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCustomConfigOrBuilder in interface EffectiveSecurityHealthAnalyticsCustomModuleOrBuilderpublic int getEnablementStateValue()
Output only. The effective state of enablement for the module at the given level of the hierarchy.
.google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule.EnablementState enablement_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEnablementStateValue in interface EffectiveSecurityHealthAnalyticsCustomModuleOrBuilderpublic EffectiveSecurityHealthAnalyticsCustomModule.Builder setEnablementStateValue(int value)
Output only. The effective state of enablement for the module at the given level of the hierarchy.
.google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule.EnablementState enablement_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for enablementState to set.public EffectiveSecurityHealthAnalyticsCustomModule.EnablementState getEnablementState()
Output only. The effective state of enablement for the module at the given level of the hierarchy.
.google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule.EnablementState enablement_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEnablementState in interface EffectiveSecurityHealthAnalyticsCustomModuleOrBuilderpublic EffectiveSecurityHealthAnalyticsCustomModule.Builder setEnablementState(EffectiveSecurityHealthAnalyticsCustomModule.EnablementState value)
Output only. The effective state of enablement for the module at the given level of the hierarchy.
.google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule.EnablementState enablement_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enablementState to set.public EffectiveSecurityHealthAnalyticsCustomModule.Builder clearEnablementState()
Output only. The effective state of enablement for the module at the given level of the hierarchy.
.google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule.EnablementState enablement_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public String getDisplayName()
Output only. The display name for the custom module. The name must be between 1 and 128 characters, start with a lowercase letter, and contain alphanumeric characters or underscores only.
string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getDisplayName in interface EffectiveSecurityHealthAnalyticsCustomModuleOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Output only. The display name for the custom module. The name must be between 1 and 128 characters, start with a lowercase letter, and contain alphanumeric characters or underscores only.
string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getDisplayNameBytes in interface EffectiveSecurityHealthAnalyticsCustomModuleOrBuilderpublic EffectiveSecurityHealthAnalyticsCustomModule.Builder setDisplayName(String value)
Output only. The display name for the custom module. The name must be between 1 and 128 characters, start with a lowercase letter, and contain alphanumeric characters or underscores only.
string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The displayName to set.public EffectiveSecurityHealthAnalyticsCustomModule.Builder clearDisplayName()
Output only. The display name for the custom module. The name must be between 1 and 128 characters, start with a lowercase letter, and contain alphanumeric characters or underscores only.
string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];public EffectiveSecurityHealthAnalyticsCustomModule.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Output only. The display name for the custom module. The name must be between 1 and 128 characters, start with a lowercase letter, and contain alphanumeric characters or underscores only.
string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for displayName to set.public final EffectiveSecurityHealthAnalyticsCustomModule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EffectiveSecurityHealthAnalyticsCustomModule.Builder>public final EffectiveSecurityHealthAnalyticsCustomModule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EffectiveSecurityHealthAnalyticsCustomModule.Builder>Copyright © 2023 Google LLC. All rights reserved.