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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
SecurityHealthAnalyticsCustomModule
build()
SecurityHealthAnalyticsCustomModule
buildPartial()
SecurityHealthAnalyticsCustomModule.Builder
clear()
SecurityHealthAnalyticsCustomModule.Builder
clearAncestorModule()
Output only.SecurityHealthAnalyticsCustomModule.Builder
clearCustomConfig()
The user specified custom configuration for the module.SecurityHealthAnalyticsCustomModule.Builder
clearDisplayName()
The display name of the Security Health Analytics custom module.SecurityHealthAnalyticsCustomModule.Builder
clearEnablementState()
The enablement state of the custom module.SecurityHealthAnalyticsCustomModule.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
SecurityHealthAnalyticsCustomModule.Builder
clearLastEditor()
Output only.SecurityHealthAnalyticsCustomModule.Builder
clearName()
Immutable.SecurityHealthAnalyticsCustomModule.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
SecurityHealthAnalyticsCustomModule.Builder
clearUpdateTime()
Output only.SecurityHealthAnalyticsCustomModule.Builder
clone()
String
getAncestorModule()
Output only.com.google.protobuf.ByteString
getAncestorModuleBytes()
Output only.CustomConfig
getCustomConfig()
The user specified custom configuration for the module.CustomConfig.Builder
getCustomConfigBuilder()
The user specified custom configuration for the module.CustomConfigOrBuilder
getCustomConfigOrBuilder()
The user specified custom configuration for the module.SecurityHealthAnalyticsCustomModule
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDisplayName()
The display name of the Security Health Analytics custom module.com.google.protobuf.ByteString
getDisplayNameBytes()
The display name of the Security Health Analytics custom module.SecurityHealthAnalyticsCustomModule.EnablementState
getEnablementState()
The enablement state of the custom module.int
getEnablementStateValue()
The enablement state of the custom module.String
getLastEditor()
Output only.com.google.protobuf.ByteString
getLastEditorBytes()
Output only.String
getName()
Immutable.com.google.protobuf.ByteString
getNameBytes()
Immutable.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCustomConfig()
The user specified custom configuration for the module.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
SecurityHealthAnalyticsCustomModule.Builder
mergeCustomConfig(CustomConfig value)
The user specified custom configuration for the module.SecurityHealthAnalyticsCustomModule.Builder
mergeFrom(SecurityHealthAnalyticsCustomModule other)
SecurityHealthAnalyticsCustomModule.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
SecurityHealthAnalyticsCustomModule.Builder
mergeFrom(com.google.protobuf.Message other)
SecurityHealthAnalyticsCustomModule.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
SecurityHealthAnalyticsCustomModule.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.SecurityHealthAnalyticsCustomModule.Builder
setAncestorModule(String value)
Output only.SecurityHealthAnalyticsCustomModule.Builder
setAncestorModuleBytes(com.google.protobuf.ByteString value)
Output only.SecurityHealthAnalyticsCustomModule.Builder
setCustomConfig(CustomConfig value)
The user specified custom configuration for the module.SecurityHealthAnalyticsCustomModule.Builder
setCustomConfig(CustomConfig.Builder builderForValue)
The user specified custom configuration for the module.SecurityHealthAnalyticsCustomModule.Builder
setDisplayName(String value)
The display name of the Security Health Analytics custom module.SecurityHealthAnalyticsCustomModule.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
The display name of the Security Health Analytics custom module.SecurityHealthAnalyticsCustomModule.Builder
setEnablementState(SecurityHealthAnalyticsCustomModule.EnablementState value)
The enablement state of the custom module.SecurityHealthAnalyticsCustomModule.Builder
setEnablementStateValue(int value)
The enablement state of the custom module.SecurityHealthAnalyticsCustomModule.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
SecurityHealthAnalyticsCustomModule.Builder
setLastEditor(String value)
Output only.SecurityHealthAnalyticsCustomModule.Builder
setLastEditorBytes(com.google.protobuf.ByteString value)
Output only.SecurityHealthAnalyticsCustomModule.Builder
setName(String value)
Immutable.SecurityHealthAnalyticsCustomModule.Builder
setNameBytes(com.google.protobuf.ByteString value)
Immutable.SecurityHealthAnalyticsCustomModule.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
SecurityHealthAnalyticsCustomModule.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
SecurityHealthAnalyticsCustomModule.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.SecurityHealthAnalyticsCustomModule.Builder
setUpdateTime(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>
-
clear
public SecurityHealthAnalyticsCustomModule.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>
-
getDefaultInstanceForType
public SecurityHealthAnalyticsCustomModule getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public SecurityHealthAnalyticsCustomModule build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SecurityHealthAnalyticsCustomModule buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SecurityHealthAnalyticsCustomModule.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>
-
setField
public SecurityHealthAnalyticsCustomModule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>
-
clearField
public SecurityHealthAnalyticsCustomModule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>
-
clearOneof
public SecurityHealthAnalyticsCustomModule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>
-
setRepeatedField
public SecurityHealthAnalyticsCustomModule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>
-
addRepeatedField
public SecurityHealthAnalyticsCustomModule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>
-
mergeFrom
public SecurityHealthAnalyticsCustomModule.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SecurityHealthAnalyticsCustomModule.Builder>
-
mergeFrom
public SecurityHealthAnalyticsCustomModule.Builder mergeFrom(SecurityHealthAnalyticsCustomModule other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getName
in 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:
getNameBytes
in 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:
getDisplayName
in 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:
getDisplayNameBytes
in 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:
getEnablementStateValue
in 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:
getEnablementState
in 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:
hasUpdateTime
in 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:
getUpdateTime
in 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:
getUpdateTimeOrBuilder
in 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:
getLastEditor
in 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:
getLastEditorBytes
in 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:
getAncestorModule
in 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:
getAncestorModuleBytes
in 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:
hasCustomConfig
in 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:
getCustomConfig
in 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:
getCustomConfigOrBuilder
in interfaceSecurityHealthAnalyticsCustomModuleOrBuilder
-
setUnknownFields
public final SecurityHealthAnalyticsCustomModule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>
-
mergeUnknownFields
public final SecurityHealthAnalyticsCustomModule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsCustomModule.Builder>
-
-