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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MUTE_ANNOTATION_FIELD_NUMBER
public static final int MUTE_ANNOTATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static BulkMuteFindingsRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BulkMuteFindingsRequest.Builder newBuilder()
newBuilder(BulkMuteFindingsRequest prototype)
public static BulkMuteFindingsRequest.Builder newBuilder(BulkMuteFindingsRequest prototype)
public static BulkMuteFindingsRequest parseDelimitedFrom(InputStream input)
public static BulkMuteFindingsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BulkMuteFindingsRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BulkMuteFindingsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BulkMuteFindingsRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BulkMuteFindingsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BulkMuteFindingsRequest parseFrom(CodedInputStream input)
public static BulkMuteFindingsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BulkMuteFindingsRequest parseFrom(InputStream input)
public static BulkMuteFindingsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BulkMuteFindingsRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BulkMuteFindingsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BulkMuteFindingsRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public BulkMuteFindingsRequest getDefaultInstanceForType()
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 |
---|
Type | Description |
ByteString | The bytes for filter.
|
getMuteAnnotation() (deprecated)
public String getMuteAnnotation()
Deprecated. google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is
deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=787
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() (deprecated)
public ByteString getMuteAnnotationBytes()
Deprecated. google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is
deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=787
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 |
---|
Type | Description |
ByteString | The bytes for parent.
|
getParserForType()
public Parser<BulkMuteFindingsRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public BulkMuteFindingsRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BulkMuteFindingsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public BulkMuteFindingsRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides