- 2.60.0 (latest)
- 2.59.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.1
- 2.6.0
- 2.5.6
- 2.3.2
public static final class EffectiveSecurityHealthAnalyticsCustomModule.Builder extends 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.EffectiveSecurityHealthAnalyticsCustomModule
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > EffectiveSecurityHealthAnalyticsCustomModule.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EffectiveSecurityHealthAnalyticsCustomModule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
EffectiveSecurityHealthAnalyticsCustomModule.Builder |
build()
public EffectiveSecurityHealthAnalyticsCustomModule build()
Returns | |
---|---|
Type | Description |
EffectiveSecurityHealthAnalyticsCustomModule |
buildPartial()
public EffectiveSecurityHealthAnalyticsCustomModule buildPartial()
Returns | |
---|---|
Type | Description |
EffectiveSecurityHealthAnalyticsCustomModule |
clear()
public EffectiveSecurityHealthAnalyticsCustomModule.Builder clear()
Returns | |
---|---|
Type | Description |
EffectiveSecurityHealthAnalyticsCustomModule.Builder |
clearCustomConfig()
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];
Returns | |
---|---|
Type | Description |
EffectiveSecurityHealthAnalyticsCustomModule.Builder |
clearDisplayName()
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];
Returns | |
---|---|
Type | Description |
EffectiveSecurityHealthAnalyticsCustomModule.Builder | This builder for chaining. |
clearEnablementState()
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];
Returns | |
---|---|
Type | Description |
EffectiveSecurityHealthAnalyticsCustomModule.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public EffectiveSecurityHealthAnalyticsCustomModule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
EffectiveSecurityHealthAnalyticsCustomModule.Builder |
clearName()
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];
Returns | |
---|---|
Type | Description |
EffectiveSecurityHealthAnalyticsCustomModule.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public EffectiveSecurityHealthAnalyticsCustomModule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
EffectiveSecurityHealthAnalyticsCustomModule.Builder |
clone()
public EffectiveSecurityHealthAnalyticsCustomModule.Builder clone()
Returns | |
---|---|
Type | Description |
EffectiveSecurityHealthAnalyticsCustomModule.Builder |
getCustomConfig()
public 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];
Returns | |
---|---|
Type | Description |
CustomConfig | The customConfig. |
getCustomConfigBuilder()
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];
Returns | |
---|---|
Type | Description |
CustomConfig.Builder |
getCustomConfigOrBuilder()
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];
Returns | |
---|---|
Type | Description |
CustomConfigOrBuilder |
getDefaultInstanceForType()
public EffectiveSecurityHealthAnalyticsCustomModule getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
EffectiveSecurityHealthAnalyticsCustomModule |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
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];
Returns | |
---|---|
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public 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];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for displayName. |
getEnablementState()
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];
Returns | |
---|---|
Type | Description |
EffectiveSecurityHealthAnalyticsCustomModule.EnablementState | The enablementState. |
getEnablementStateValue()
public 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];
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for enablementState. |
getName()
public 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];
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public 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];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
hasCustomConfig()
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];
Returns | |
---|---|
Type | Description |
boolean | Whether the customConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCustomConfig(CustomConfig value)
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];
Parameter | |
---|---|
Name | Description |
value | CustomConfig |
Returns | |
---|---|
Type | Description |
EffectiveSecurityHealthAnalyticsCustomModule.Builder |
mergeFrom(EffectiveSecurityHealthAnalyticsCustomModule other)
public EffectiveSecurityHealthAnalyticsCustomModule.Builder mergeFrom(EffectiveSecurityHealthAnalyticsCustomModule other)
Parameter | |
---|---|
Name | Description |
other | EffectiveSecurityHealthAnalyticsCustomModule |
Returns | |
---|---|
Type | Description |
EffectiveSecurityHealthAnalyticsCustomModule.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EffectiveSecurityHealthAnalyticsCustomModule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
EffectiveSecurityHealthAnalyticsCustomModule.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public EffectiveSecurityHealthAnalyticsCustomModule.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
EffectiveSecurityHealthAnalyticsCustomModule.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EffectiveSecurityHealthAnalyticsCustomModule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
EffectiveSecurityHealthAnalyticsCustomModule.Builder |
setCustomConfig(CustomConfig value)
public 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];
Parameter | |
---|---|
Name | Description |
value | CustomConfig |
Returns | |
---|---|
Type | Description |
EffectiveSecurityHealthAnalyticsCustomModule.Builder |
setCustomConfig(CustomConfig.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue | CustomConfig.Builder |
Returns | |
---|---|
Type | Description |
EffectiveSecurityHealthAnalyticsCustomModule.Builder |
setDisplayName(String value)
public 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];
Parameter | |
---|---|
Name | Description |
value | String The displayName to set. |
Returns | |
---|---|
Type | Description |
EffectiveSecurityHealthAnalyticsCustomModule.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public EffectiveSecurityHealthAnalyticsCustomModule.Builder setDisplayNameBytes(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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
EffectiveSecurityHealthAnalyticsCustomModule.Builder | This builder for chaining. |
setEnablementState(EffectiveSecurityHealthAnalyticsCustomModule.EnablementState value)
public 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];
Parameter | |
---|---|
Name | Description |
value | EffectiveSecurityHealthAnalyticsCustomModule.EnablementState The enablementState to set. |
Returns | |
---|---|
Type | Description |
EffectiveSecurityHealthAnalyticsCustomModule.Builder | This builder for chaining. |
setEnablementStateValue(int value)
public 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];
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for enablementState to set. |
Returns | |
---|---|
Type | Description |
EffectiveSecurityHealthAnalyticsCustomModule.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public EffectiveSecurityHealthAnalyticsCustomModule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
EffectiveSecurityHealthAnalyticsCustomModule.Builder |
setName(String value)
public 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];
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
EffectiveSecurityHealthAnalyticsCustomModule.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public EffectiveSecurityHealthAnalyticsCustomModule.Builder setNameBytes(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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
EffectiveSecurityHealthAnalyticsCustomModule.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EffectiveSecurityHealthAnalyticsCustomModule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
EffectiveSecurityHealthAnalyticsCustomModule.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final EffectiveSecurityHealthAnalyticsCustomModule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
EffectiveSecurityHealthAnalyticsCustomModule.Builder |