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.securitycentermanagement.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.securitycentermanagement.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.securitycentermanagement.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()
Identifier. The resource name of the custom module. Its format is "organizations/{organization}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}", or "folders/{folder}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}", or "projects/{project}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}"
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
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.securitycentermanagement.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.securitycentermanagement.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.securitycentermanagement.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.securitycentermanagement.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.securitycentermanagement.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()
Identifier. The resource name of the custom module. Its format is "organizations/{organization}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}", or "folders/{folder}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}", or "projects/{project}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}"
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Identifier. The resource name of the custom module. Its format is "organizations/{organization}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}", or "folders/{folder}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}", or "projects/{project}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}"
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
hasCustomConfig()
public boolean hasCustomConfig()
Output only. The user-specified configuration for the module.
.google.cloud.securitycentermanagement.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.securitycentermanagement.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.securitycentermanagement.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.securitycentermanagement.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.securitycentermanagement.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.securitycentermanagement.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)
Identifier. The resource name of the custom module. Its format is "organizations/{organization}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}", or "folders/{folder}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}", or "projects/{project}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}"
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
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)
Identifier. The resource name of the custom module. Its format is "organizations/{organization}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}", or "folders/{folder}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}", or "projects/{project}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}"
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
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 |