public final class MuteConfig extends GeneratedMessageV3 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
Modifier and Type | Class and Description |
---|---|
static class |
MuteConfig.Builder
A mute config is a Cloud SCC resource that contains the configuration
to mute create/update events of findings.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
FILTER_FIELD_NUMBER |
static int |
MOST_RECENT_EDITOR_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int MOST_RECENT_EDITOR_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
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
@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
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 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 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 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 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 final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static MuteConfig parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static MuteConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static MuteConfig parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static MuteConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static MuteConfig parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static MuteConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static MuteConfig parseFrom(InputStream input) throws IOException
IOException
public static MuteConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static MuteConfig parseDelimitedFrom(InputStream input) throws IOException
IOException
public static MuteConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static MuteConfig parseFrom(CodedInputStream input) throws IOException
IOException
public static MuteConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public MuteConfig.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static MuteConfig.Builder newBuilder()
public static MuteConfig.Builder newBuilder(MuteConfig prototype)
public MuteConfig.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected MuteConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static MuteConfig getDefaultInstance()
public static Parser<MuteConfig> parser()
public Parser<MuteConfig> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public MuteConfig getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.