Class SecurityHealthAnalyticsCustomModule.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>
-
- com.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule.Builder
-
- All Implemented Interfaces:
SecurityHealthAnalyticsCustomModuleOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SecurityHealthAnalyticsCustomModule
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 typegoogle.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityHealthAnalyticsCustomModule.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)SecurityHealthAnalyticsCustomModulebuild()SecurityHealthAnalyticsCustomModulebuildPartial()SecurityHealthAnalyticsCustomModule.Builderclear()SecurityHealthAnalyticsCustomModule.BuilderclearAncestorModule()Output only.SecurityHealthAnalyticsCustomModule.BuilderclearCustomConfig()The user specified custom configuration for the module.SecurityHealthAnalyticsCustomModule.BuilderclearDisplayName()The display name of the Security Health Analytics custom module.SecurityHealthAnalyticsCustomModule.BuilderclearEnablementState()The enablement state of the custom module.SecurityHealthAnalyticsCustomModule.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)SecurityHealthAnalyticsCustomModule.BuilderclearLastEditor()Output only.SecurityHealthAnalyticsCustomModule.BuilderclearName()Immutable.SecurityHealthAnalyticsCustomModule.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)SecurityHealthAnalyticsCustomModule.BuilderclearUpdateTime()Output only.SecurityHealthAnalyticsCustomModule.Builderclone()StringgetAncestorModule()Output only.com.google.protobuf.ByteStringgetAncestorModuleBytes()Output only.CustomConfiggetCustomConfig()The user specified custom configuration for the module.CustomConfig.BuildergetCustomConfigBuilder()The user specified custom configuration for the module.CustomConfigOrBuildergetCustomConfigOrBuilder()The user specified custom configuration for the module.SecurityHealthAnalyticsCustomModulegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDisplayName()The display name of the Security Health Analytics custom module.com.google.protobuf.ByteStringgetDisplayNameBytes()The display name of the Security Health Analytics custom module.SecurityHealthAnalyticsCustomModule.EnablementStategetEnablementState()The enablement state of the custom module.intgetEnablementStateValue()The enablement state of the custom module.StringgetLastEditor()Output only.com.google.protobuf.ByteStringgetLastEditorBytes()Output only.StringgetName()Immutable.com.google.protobuf.ByteStringgetNameBytes()Immutable.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasCustomConfig()The user specified custom configuration for the module.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()SecurityHealthAnalyticsCustomModule.BuildermergeCustomConfig(CustomConfig value)The user specified custom configuration for the module.SecurityHealthAnalyticsCustomModule.BuildermergeFrom(SecurityHealthAnalyticsCustomModule other)SecurityHealthAnalyticsCustomModule.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)SecurityHealthAnalyticsCustomModule.BuildermergeFrom(com.google.protobuf.Message other)SecurityHealthAnalyticsCustomModule.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)SecurityHealthAnalyticsCustomModule.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.SecurityHealthAnalyticsCustomModule.BuildersetAncestorModule(String value)Output only.SecurityHealthAnalyticsCustomModule.BuildersetAncestorModuleBytes(com.google.protobuf.ByteString value)Output only.SecurityHealthAnalyticsCustomModule.BuildersetCustomConfig(CustomConfig value)The user specified custom configuration for the module.SecurityHealthAnalyticsCustomModule.BuildersetCustomConfig(CustomConfig.Builder builderForValue)The user specified custom configuration for the module.SecurityHealthAnalyticsCustomModule.BuildersetDisplayName(String value)The display name of the Security Health Analytics custom module.SecurityHealthAnalyticsCustomModule.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)The display name of the Security Health Analytics custom module.SecurityHealthAnalyticsCustomModule.BuildersetEnablementState(SecurityHealthAnalyticsCustomModule.EnablementState value)The enablement state of the custom module.SecurityHealthAnalyticsCustomModule.BuildersetEnablementStateValue(int value)The enablement state of the custom module.SecurityHealthAnalyticsCustomModule.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)SecurityHealthAnalyticsCustomModule.BuildersetLastEditor(String value)Output only.SecurityHealthAnalyticsCustomModule.BuildersetLastEditorBytes(com.google.protobuf.ByteString value)Output only.SecurityHealthAnalyticsCustomModule.BuildersetName(String value)Immutable.SecurityHealthAnalyticsCustomModule.BuildersetNameBytes(com.google.protobuf.ByteString value)Immutable.SecurityHealthAnalyticsCustomModule.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)SecurityHealthAnalyticsCustomModule.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)SecurityHealthAnalyticsCustomModule.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.SecurityHealthAnalyticsCustomModule.BuildersetUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>
-
clear
public SecurityHealthAnalyticsCustomModule.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>
-
getDefaultInstanceForType
public SecurityHealthAnalyticsCustomModule getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public SecurityHealthAnalyticsCustomModule build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SecurityHealthAnalyticsCustomModule buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SecurityHealthAnalyticsCustomModule.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>
-
setField
public SecurityHealthAnalyticsCustomModule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>
-
clearField
public SecurityHealthAnalyticsCustomModule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>
-
clearOneof
public SecurityHealthAnalyticsCustomModule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>
-
setRepeatedField
public SecurityHealthAnalyticsCustomModule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>
-
addRepeatedField
public SecurityHealthAnalyticsCustomModule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>
-
mergeFrom
public SecurityHealthAnalyticsCustomModule.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SecurityHealthAnalyticsCustomModule.Builder>
-
mergeFrom
public SecurityHealthAnalyticsCustomModule.Builder mergeFrom(SecurityHealthAnalyticsCustomModule other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>
-
mergeFrom
public SecurityHealthAnalyticsCustomModule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SecurityHealthAnalyticsCustomModule.Builder>- Throws:
IOException
-
getName
public 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];- Specified by:
getNamein interfaceSecurityHealthAnalyticsCustomModuleOrBuilder- Returns:
- The name.
-
getNameBytes
public 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];- Specified by:
getNameBytesin interfaceSecurityHealthAnalyticsCustomModuleOrBuilder- Returns:
- The bytes for name.
-
setName
public 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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
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];- Returns:
- This builder for chaining.
-
setNameBytes
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
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;- Specified by:
getDisplayNamein interfaceSecurityHealthAnalyticsCustomModuleOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public 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;- Specified by:
getDisplayNameBytesin interfaceSecurityHealthAnalyticsCustomModuleOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
public 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;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
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;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
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;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getEnablementStateValue
public int getEnablementStateValue()
The enablement state of the custom module.
.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule.EnablementState enablement_state = 4;- Specified by:
getEnablementStateValuein interfaceSecurityHealthAnalyticsCustomModuleOrBuilder- Returns:
- The enum numeric value on the wire for enablementState.
-
setEnablementStateValue
public SecurityHealthAnalyticsCustomModule.Builder setEnablementStateValue(int value)
The enablement state of the custom module.
.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule.EnablementState enablement_state = 4;- Parameters:
value- The enum numeric value on the wire for enablementState to set.- Returns:
- This builder for chaining.
-
getEnablementState
public SecurityHealthAnalyticsCustomModule.EnablementState getEnablementState()
The enablement state of the custom module.
.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule.EnablementState enablement_state = 4;- Specified by:
getEnablementStatein interfaceSecurityHealthAnalyticsCustomModuleOrBuilder- Returns:
- The enablementState.
-
setEnablementState
public SecurityHealthAnalyticsCustomModule.Builder setEnablementState(SecurityHealthAnalyticsCustomModule.EnablementState value)
The enablement state of the custom module.
.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule.EnablementState enablement_state = 4;- Parameters:
value- The enablementState to set.- Returns:
- This builder for chaining.
-
clearEnablementState
public SecurityHealthAnalyticsCustomModule.Builder clearEnablementState()
The enablement state of the custom module.
.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule.EnablementState enablement_state = 4;- Returns:
- This builder for chaining.
-
hasUpdateTime
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];- Specified by:
hasUpdateTimein interfaceSecurityHealthAnalyticsCustomModuleOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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];- Specified by:
getUpdateTimein interfaceSecurityHealthAnalyticsCustomModuleOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
public 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];
-
setUpdateTime
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];
-
mergeUpdateTime
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];
-
clearUpdateTime
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];
-
getUpdateTimeBuilder
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];
-
getUpdateTimeOrBuilder
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];- Specified by:
getUpdateTimeOrBuilderin interfaceSecurityHealthAnalyticsCustomModuleOrBuilder
-
getLastEditor
public String getLastEditor()
Output only. The editor that last updated the custom module.
string last_editor = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLastEditorin interfaceSecurityHealthAnalyticsCustomModuleOrBuilder- Returns:
- The lastEditor.
-
getLastEditorBytes
public 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];- Specified by:
getLastEditorBytesin interfaceSecurityHealthAnalyticsCustomModuleOrBuilder- Returns:
- The bytes for lastEditor.
-
setLastEditor
public 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];- Parameters:
value- The lastEditor to set.- Returns:
- This builder for chaining.
-
clearLastEditor
public SecurityHealthAnalyticsCustomModule.Builder clearLastEditor()
Output only. The editor that last updated the custom module.
string last_editor = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setLastEditorBytes
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];- Parameters:
value- The bytes for lastEditor to set.- Returns:
- This builder for chaining.
-
getAncestorModule
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) = { ... }- Specified by:
getAncestorModulein interfaceSecurityHealthAnalyticsCustomModuleOrBuilder- Returns:
- The ancestorModule.
-
getAncestorModuleBytes
public 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) = { ... }- Specified by:
getAncestorModuleBytesin interfaceSecurityHealthAnalyticsCustomModuleOrBuilder- Returns:
- The bytes for ancestorModule.
-
setAncestorModule
public 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) = { ... }- Parameters:
value- The ancestorModule to set.- Returns:
- This builder for chaining.
-
clearAncestorModule
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) = { ... }- Returns:
- This builder for chaining.
-
setAncestorModuleBytes
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) = { ... }- Parameters:
value- The bytes for ancestorModule to set.- Returns:
- This builder for chaining.
-
hasCustomConfig
public boolean hasCustomConfig()
The user specified custom configuration for the module.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 8;- Specified by:
hasCustomConfigin interfaceSecurityHealthAnalyticsCustomModuleOrBuilder- Returns:
- Whether the customConfig field is set.
-
getCustomConfig
public CustomConfig getCustomConfig()
The user specified custom configuration for the module.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 8;- Specified by:
getCustomConfigin interfaceSecurityHealthAnalyticsCustomModuleOrBuilder- Returns:
- The customConfig.
-
setCustomConfig
public SecurityHealthAnalyticsCustomModule.Builder setCustomConfig(CustomConfig value)
The user specified custom configuration for the module.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 8;
-
setCustomConfig
public SecurityHealthAnalyticsCustomModule.Builder setCustomConfig(CustomConfig.Builder builderForValue)
The user specified custom configuration for the module.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 8;
-
mergeCustomConfig
public SecurityHealthAnalyticsCustomModule.Builder mergeCustomConfig(CustomConfig value)
The user specified custom configuration for the module.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 8;
-
clearCustomConfig
public SecurityHealthAnalyticsCustomModule.Builder clearCustomConfig()
The user specified custom configuration for the module.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 8;
-
getCustomConfigBuilder
public CustomConfig.Builder getCustomConfigBuilder()
The user specified custom configuration for the module.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 8;
-
getCustomConfigOrBuilder
public CustomConfigOrBuilder getCustomConfigOrBuilder()
The user specified custom configuration for the module.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 8;- Specified by:
getCustomConfigOrBuilderin interfaceSecurityHealthAnalyticsCustomModuleOrBuilder
-
setUnknownFields
public final SecurityHealthAnalyticsCustomModule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>
-
mergeUnknownFields
public final SecurityHealthAnalyticsCustomModule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>
-
-