Class BulkMuteFindingsRequest (2.14.0)

public final class BulkMuteFindingsRequest extends GeneratedMessageV3 implements BulkMuteFindingsRequestOrBuilder

Request message for bulk findings update. Note:

  1. If multiple bulk update requests match the same resource, the order in which they get executed is not defined.
  2. 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
TypeDescription
int

MUTE_ANNOTATION_FIELD_NUMBER

public static final int MUTE_ANNOTATION_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BulkMuteFindingsRequest getDefaultInstance()
Returns
TypeDescription
BulkMuteFindingsRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BulkMuteFindingsRequest.Builder newBuilder()
Returns
TypeDescription
BulkMuteFindingsRequest.Builder

newBuilder(BulkMuteFindingsRequest prototype)

public static BulkMuteFindingsRequest.Builder newBuilder(BulkMuteFindingsRequest prototype)
Parameter
NameDescription
prototypeBulkMuteFindingsRequest
Returns
TypeDescription
BulkMuteFindingsRequest.Builder

parseDelimitedFrom(InputStream input)

public static BulkMuteFindingsRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BulkMuteFindingsRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BulkMuteFindingsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BulkMuteFindingsRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BulkMuteFindingsRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BulkMuteFindingsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BulkMuteFindingsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BulkMuteFindingsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BulkMuteFindingsRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BulkMuteFindingsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BulkMuteFindingsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BulkMuteFindingsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BulkMuteFindingsRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BulkMuteFindingsRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BulkMuteFindingsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BulkMuteFindingsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BulkMuteFindingsRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BulkMuteFindingsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BulkMuteFindingsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BulkMuteFindingsRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BulkMuteFindingsRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BulkMuteFindingsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BulkMuteFindingsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BulkMuteFindingsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BulkMuteFindingsRequest> parser()
Returns
TypeDescription
Parser<BulkMuteFindingsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public BulkMuteFindingsRequest getDefaultInstanceForType()
Returns
TypeDescription
BulkMuteFindingsRequest

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
TypeDescription
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
TypeDescription
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=612

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
TypeDescription
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=612

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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

getParserForType()

public Parser<BulkMuteFindingsRequest> getParserForType()
Returns
TypeDescription
Parser<BulkMuteFindingsRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BulkMuteFindingsRequest.Builder newBuilderForType()
Returns
TypeDescription
BulkMuteFindingsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BulkMuteFindingsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BulkMuteFindingsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BulkMuteFindingsRequest.Builder toBuilder()
Returns
TypeDescription
BulkMuteFindingsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException