public static final class MuteConfig.Builder extends GeneratedMessageV3.Builder<MuteConfig.Builder> implements MuteConfigOrBuilder
A mute config is a Cloud SCC resource that contains the configuration to mute create/update events of findings.Protobuf type
google.cloud.securitycenter.v1.MuteConfig
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<MuteConfig.Builder>
public MuteConfig.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<MuteConfig.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<MuteConfig.Builder>
public MuteConfig getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public MuteConfig build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public MuteConfig buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public MuteConfig.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<MuteConfig.Builder>
public MuteConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<MuteConfig.Builder>
public MuteConfig.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<MuteConfig.Builder>
public MuteConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<MuteConfig.Builder>
public MuteConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<MuteConfig.Builder>
public MuteConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<MuteConfig.Builder>
public MuteConfig.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<MuteConfig.Builder>
public MuteConfig.Builder mergeFrom(MuteConfig other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<MuteConfig.Builder>
public MuteConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<MuteConfig.Builder>
IOException
public String getName()
This field will be ignored if provided on config creation. Format "organizations/{organization}/muteConfigs/{mute_config}" "folders/{folder}/muteConfigs/{mute_config}" "projects/{project}/muteConfigs/{mute_config}"
string name = 1;
getName
in interface MuteConfigOrBuilder
public ByteString getNameBytes()
This field will be ignored if provided on config creation. Format "organizations/{organization}/muteConfigs/{mute_config}" "folders/{folder}/muteConfigs/{mute_config}" "projects/{project}/muteConfigs/{mute_config}"
string name = 1;
getNameBytes
in interface MuteConfigOrBuilder
public MuteConfig.Builder setName(String value)
This field will be ignored if provided on config creation. Format "organizations/{organization}/muteConfigs/{mute_config}" "folders/{folder}/muteConfigs/{mute_config}" "projects/{project}/muteConfigs/{mute_config}"
string name = 1;
value
- The name to set.public MuteConfig.Builder clearName()
This field will be ignored if provided on config creation. Format "organizations/{organization}/muteConfigs/{mute_config}" "folders/{folder}/muteConfigs/{mute_config}" "projects/{project}/muteConfigs/{mute_config}"
string name = 1;
public MuteConfig.Builder setNameBytes(ByteString value)
This field will be ignored if provided on config creation. Format "organizations/{organization}/muteConfigs/{mute_config}" "folders/{folder}/muteConfigs/{mute_config}" "projects/{project}/muteConfigs/{mute_config}"
string name = 1;
value
- The bytes for name to set.@Deprecated public String getDisplayName()
The human readable name to be displayed for the mute config.
string display_name = 2 [deprecated = true];
getDisplayName
in interface MuteConfigOrBuilder
@Deprecated public ByteString getDisplayNameBytes()
The human readable name to be displayed for the mute config.
string display_name = 2 [deprecated = true];
getDisplayNameBytes
in interface MuteConfigOrBuilder
@Deprecated public MuteConfig.Builder setDisplayName(String value)
The human readable name to be displayed for the mute config.
string display_name = 2 [deprecated = true];
value
- The displayName to set.@Deprecated public MuteConfig.Builder clearDisplayName()
The human readable name to be displayed for the mute config.
string display_name = 2 [deprecated = true];
@Deprecated public MuteConfig.Builder setDisplayNameBytes(ByteString value)
The human readable name to be displayed for the mute config.
string display_name = 2 [deprecated = true];
value
- The bytes for displayName to set.public String getDescription()
A description of the mute config.
string description = 3;
getDescription
in interface MuteConfigOrBuilder
public ByteString getDescriptionBytes()
A description of the mute config.
string description = 3;
getDescriptionBytes
in interface MuteConfigOrBuilder
public MuteConfig.Builder setDescription(String value)
A description of the mute config.
string description = 3;
value
- The description to set.public MuteConfig.Builder clearDescription()
A description of the mute config.
string description = 3;
public MuteConfig.Builder setDescriptionBytes(ByteString value)
A description of the mute config.
string description = 3;
value
- The bytes for description to set.public String getFilter()
Required. An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings. The following field and operator combinations are supported: * severity: `=`, `:` * category: `=`, `:` * resource.name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.type: `=`, `:` * finding_class: `=`, `:` * indicator.ip_addresses: `=`, `:` * indicator.domains: `=`, `:`
string filter = 4 [(.google.api.field_behavior) = REQUIRED];
getFilter
in interface MuteConfigOrBuilder
public ByteString getFilterBytes()
Required. An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings. The following field and operator combinations are supported: * severity: `=`, `:` * category: `=`, `:` * resource.name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.type: `=`, `:` * finding_class: `=`, `:` * indicator.ip_addresses: `=`, `:` * indicator.domains: `=`, `:`
string filter = 4 [(.google.api.field_behavior) = REQUIRED];
getFilterBytes
in interface MuteConfigOrBuilder
public MuteConfig.Builder setFilter(String value)
Required. An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings. The following field and operator combinations are supported: * severity: `=`, `:` * category: `=`, `:` * resource.name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.type: `=`, `:` * finding_class: `=`, `:` * indicator.ip_addresses: `=`, `:` * indicator.domains: `=`, `:`
string filter = 4 [(.google.api.field_behavior) = REQUIRED];
value
- The filter to set.public MuteConfig.Builder clearFilter()
Required. An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings. The following field and operator combinations are supported: * severity: `=`, `:` * category: `=`, `:` * resource.name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.type: `=`, `:` * finding_class: `=`, `:` * indicator.ip_addresses: `=`, `:` * indicator.domains: `=`, `:`
string filter = 4 [(.google.api.field_behavior) = REQUIRED];
public MuteConfig.Builder setFilterBytes(ByteString value)
Required. An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings. The following field and operator combinations are supported: * severity: `=`, `:` * category: `=`, `:` * resource.name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.type: `=`, `:` * finding_class: `=`, `:` * indicator.ip_addresses: `=`, `:` * indicator.domains: `=`, `:`
string filter = 4 [(.google.api.field_behavior) = REQUIRED];
value
- The bytes for filter to set.public boolean hasCreateTime()
Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime
in interface MuteConfigOrBuilder
public Timestamp getCreateTime()
Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime
in interface MuteConfigOrBuilder
public MuteConfig.Builder setCreateTime(Timestamp value)
Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public MuteConfig.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public MuteConfig.Builder mergeCreateTime(Timestamp value)
Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public MuteConfig.Builder clearCreateTime()
Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Timestamp.Builder getCreateTimeBuilder()
Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder
in interface MuteConfigOrBuilder
public boolean hasUpdateTime()
Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime
in interface MuteConfigOrBuilder
public Timestamp getUpdateTime()
Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime
in interface MuteConfigOrBuilder
public MuteConfig.Builder setUpdateTime(Timestamp value)
Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public MuteConfig.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public MuteConfig.Builder mergeUpdateTime(Timestamp value)
Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public MuteConfig.Builder clearUpdateTime()
Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder
in interface MuteConfigOrBuilder
public String getMostRecentEditor()
Output only. Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.
string most_recent_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getMostRecentEditor
in interface MuteConfigOrBuilder
public ByteString getMostRecentEditorBytes()
Output only. Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.
string most_recent_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getMostRecentEditorBytes
in interface MuteConfigOrBuilder
public MuteConfig.Builder setMostRecentEditor(String value)
Output only. Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.
string most_recent_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The mostRecentEditor to set.public MuteConfig.Builder clearMostRecentEditor()
Output only. Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.
string most_recent_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public MuteConfig.Builder setMostRecentEditorBytes(ByteString value)
Output only. Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.
string most_recent_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The bytes for mostRecentEditor to set.public final MuteConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<MuteConfig.Builder>
public final MuteConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<MuteConfig.Builder>
Copyright © 2022 Google LLC. All rights reserved.