- 2.63.0 (latest)
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.1
- 2.6.0
- 2.5.6
- 2.3.2
public static final class 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MuteConfig.BuilderImplements
MuteConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MuteConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MuteConfig.Builder |
build()
public MuteConfig build()
Type | Description |
MuteConfig |
buildPartial()
public MuteConfig buildPartial()
Type | Description |
MuteConfig |
clear()
public MuteConfig.Builder clear()
Type | Description |
MuteConfig.Builder |
clearCreateTime()
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];
Type | Description |
MuteConfig.Builder |
clearDescription()
public MuteConfig.Builder clearDescription()
A description of the mute config.
string description = 3;
Type | Description |
MuteConfig.Builder | This builder for chaining. |
clearDisplayName()
public MuteConfig.Builder clearDisplayName()
The human readable name to be displayed for the mute config.
string display_name = 2 [deprecated = true];
Type | Description |
MuteConfig.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public MuteConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
MuteConfig.Builder |
clearFilter()
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];
Type | Description |
MuteConfig.Builder | This builder for chaining. |
clearMostRecentEditor()
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];
Type | Description |
MuteConfig.Builder | This builder for chaining. |
clearName()
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;
Type | Description |
MuteConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public MuteConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
MuteConfig.Builder |
clearUpdateTime()
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];
Type | Description |
MuteConfig.Builder |
clone()
public MuteConfig.Builder clone()
Type | Description |
MuteConfig.Builder |
getCreateTime()
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];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
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];
Type | Description |
Builder |
getCreateTimeOrBuilder()
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];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public MuteConfig getDefaultInstanceForType()
Type | Description |
MuteConfig |
getDescription()
public String getDescription()
A description of the mute config.
string description = 3;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
A description of the mute config.
string description = 3;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
The human readable name to be displayed for the mute config.
string display_name = 2 [deprecated = true];
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
The human readable name to be displayed for the mute config.
string display_name = 2 [deprecated = true];
Type | Description |
ByteString | The bytes for displayName. |
getFilter()
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];
Type | Description |
String | The filter. |
getFilterBytes()
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];
Type | Description |
ByteString | The bytes for filter. |
getMostRecentEditor()
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];
Type | Description |
String | The mostRecentEditor. |
getMostRecentEditorBytes()
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];
Type | Description |
ByteString | The bytes for mostRecentEditor. |
getName()
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;
Type | Description |
String | The name. |
getNameBytes()
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;
Type | Description |
ByteString | The bytes for name. |
getUpdateTime()
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];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
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];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
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];
Type | Description |
TimestampOrBuilder |
hasCreateTime()
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];
Type | Description |
boolean | Whether the createTime field is set. |
hasUpdateTime()
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];
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
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];
Name | Description |
value | Timestamp |
Type | Description |
MuteConfig.Builder |
mergeFrom(MuteConfig other)
public MuteConfig.Builder mergeFrom(MuteConfig other)
Name | Description |
other | MuteConfig |
Type | Description |
MuteConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MuteConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MuteConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public MuteConfig.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
MuteConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MuteConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MuteConfig.Builder |
mergeUpdateTime(Timestamp value)
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];
Name | Description |
value | Timestamp |
Type | Description |
MuteConfig.Builder |
setCreateTime(Timestamp value)
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];
Name | Description |
value | Timestamp |
Type | Description |
MuteConfig.Builder |
setCreateTime(Timestamp.Builder builderForValue)
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];
Name | Description |
builderForValue | Builder |
Type | Description |
MuteConfig.Builder |
setDescription(String value)
public MuteConfig.Builder setDescription(String value)
A description of the mute config.
string description = 3;
Name | Description |
value | String The description to set. |
Type | Description |
MuteConfig.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public MuteConfig.Builder setDescriptionBytes(ByteString value)
A description of the mute config.
string description = 3;
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
MuteConfig.Builder | This builder for chaining. |
setDisplayName(String value)
public MuteConfig.Builder setDisplayName(String value)
The human readable name to be displayed for the mute config.
string display_name = 2 [deprecated = true];
Name | Description |
value | String The displayName to set. |
Type | Description |
MuteConfig.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public MuteConfig.Builder setDisplayNameBytes(ByteString value)
The human readable name to be displayed for the mute config.
string display_name = 2 [deprecated = true];
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
MuteConfig.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public MuteConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MuteConfig.Builder |
setFilter(String value)
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];
Name | Description |
value | String The filter to set. |
Type | Description |
MuteConfig.Builder | This builder for chaining. |
setFilterBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes for filter to set. |
Type | Description |
MuteConfig.Builder | This builder for chaining. |
setMostRecentEditor(String value)
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];
Name | Description |
value | String The mostRecentEditor to set. |
Type | Description |
MuteConfig.Builder | This builder for chaining. |
setMostRecentEditorBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes for mostRecentEditor to set. |
Type | Description |
MuteConfig.Builder | This builder for chaining. |
setName(String value)
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;
Name | Description |
value | String The name to set. |
Type | Description |
MuteConfig.Builder | This builder for chaining. |
setNameBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
MuteConfig.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MuteConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
MuteConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final MuteConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MuteConfig.Builder |
setUpdateTime(Timestamp value)
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];
Name | Description |
value | Timestamp |
Type | Description |
MuteConfig.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
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];
Name | Description |
builderForValue | Builder |
Type | Description |
MuteConfig.Builder |