public final class BulkMuteFindingsRequest extends GeneratedMessageV3 implements BulkMuteFindingsRequestOrBuilder
Request message for bulk findings update.
Note:
- If multiple bulk update requests match the same resource, the order in
which they get executed is not defined.
- Once a bulk operation is started, there is no way to stop it.
Protobuf type google.cloud.securitycenter.v1.BulkMuteFindingsRequest
Static Fields
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
Field Value
MUTE_ANNOTATION_FIELD_NUMBER
public static final int MUTE_ANNOTATION_FIELD_NUMBER
Field Value
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static BulkMuteFindingsRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static BulkMuteFindingsRequest.Builder newBuilder()
Returns
newBuilder(BulkMuteFindingsRequest prototype)
public static BulkMuteFindingsRequest.Builder newBuilder(BulkMuteFindingsRequest prototype)
Parameter
Returns
public static BulkMuteFindingsRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BulkMuteFindingsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static BulkMuteFindingsRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BulkMuteFindingsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static BulkMuteFindingsRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BulkMuteFindingsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BulkMuteFindingsRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BulkMuteFindingsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BulkMuteFindingsRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BulkMuteFindingsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static BulkMuteFindingsRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BulkMuteFindingsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<BulkMuteFindingsRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public BulkMuteFindingsRequest getDefaultInstanceForType()
Returns
getFilter()
public String getFilter()
Expression that identifies findings that should be updated.
The expression is a list of zero or more restrictions combined
via logical operators AND
and OR
. Parentheses are supported, and OR
has higher precedence than AND
.
Restrictions have the form <field> <operator> <value>
and may have a
-
character in front of them to indicate negation. The fields map to
those defined in the corresponding resource.
The supported operators are:
=
for all value types.
>
, <
, >=
, <=
for integer values.
:
, meaning substring matching, for strings.
The supported value types are:
- string literals in quotes.
- integer literals without quotes.
- boolean literals
true
and false
without quotes.
string filter = 2;
Returns
Type | Description |
String | The filter.
|
getFilterBytes()
public ByteString getFilterBytes()
Expression that identifies findings that should be updated.
The expression is a list of zero or more restrictions combined
via logical operators AND
and OR
. Parentheses are supported, and OR
has higher precedence than AND
.
Restrictions have the form <field> <operator> <value>
and may have a
-
character in front of them to indicate negation. The fields map to
those defined in the corresponding resource.
The supported operators are:
=
for all value types.
>
, <
, >=
, <=
for integer values.
:
, meaning substring matching, for strings.
The supported value types are:
- string literals in quotes.
- integer literals without quotes.
- boolean literals
true
and false
without quotes.
string filter = 2;
Returns
getMuteAnnotation()
public String getMuteAnnotation()
This can be a mute configuration name or any identifier for mute/unmute
of findings based on the filter.
string mute_annotation = 3 [deprecated = true];
Returns
Type | Description |
String | The muteAnnotation.
|
getMuteAnnotationBytes()
public ByteString getMuteAnnotationBytes()
This can be a mute configuration name or any identifier for mute/unmute
of findings based on the filter.
string mute_annotation = 3 [deprecated = true];
Returns
Type | Description |
ByteString | The bytes for muteAnnotation.
|
getParent()
public String getParent()
Required. The parent, at which bulk action needs to be applied. Its format
is "organizations/[organization_id]", "folders/[folder_id]",
"projects/[project_id]".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The parent, at which bulk action needs to be applied. Its format
is "organizations/[organization_id]", "folders/[folder_id]",
"projects/[project_id]".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
getParserForType()
public Parser<BulkMuteFindingsRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public BulkMuteFindingsRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BulkMuteFindingsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public BulkMuteFindingsRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions