Class BulkMuteFindingsRequest.Builder (2.43.0)

public static final class BulkMuteFindingsRequest.Builder extends GeneratedMessageV3.Builder<BulkMuteFindingsRequest.Builder> 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 Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BulkMuteFindingsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BulkMuteFindingsRequest.Builder
Overrides

build()

public BulkMuteFindingsRequest build()
Returns
TypeDescription
BulkMuteFindingsRequest

buildPartial()

public BulkMuteFindingsRequest buildPartial()
Returns
TypeDescription
BulkMuteFindingsRequest

clear()

public BulkMuteFindingsRequest.Builder clear()
Returns
TypeDescription
BulkMuteFindingsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BulkMuteFindingsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BulkMuteFindingsRequest.Builder
Overrides

clearFilter()

public BulkMuteFindingsRequest.Builder clearFilter()

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
BulkMuteFindingsRequest.Builder

This builder for chaining.

clearMuteAnnotation() (deprecated)

public BulkMuteFindingsRequest.Builder clearMuteAnnotation()

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
TypeDescription
BulkMuteFindingsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BulkMuteFindingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BulkMuteFindingsRequest.Builder
Overrides

clearParent()

public BulkMuteFindingsRequest.Builder clearParent()

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
BulkMuteFindingsRequest.Builder

This builder for chaining.

clone()

public BulkMuteFindingsRequest.Builder clone()
Returns
TypeDescription
BulkMuteFindingsRequest.Builder
Overrides

getDefaultInstanceForType()

public BulkMuteFindingsRequest getDefaultInstanceForType()
Returns
TypeDescription
BulkMuteFindingsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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=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
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=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
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BulkMuteFindingsRequest other)

public BulkMuteFindingsRequest.Builder mergeFrom(BulkMuteFindingsRequest other)
Parameter
NameDescription
otherBulkMuteFindingsRequest
Returns
TypeDescription
BulkMuteFindingsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BulkMuteFindingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BulkMuteFindingsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BulkMuteFindingsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BulkMuteFindingsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BulkMuteFindingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BulkMuteFindingsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public BulkMuteFindingsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BulkMuteFindingsRequest.Builder
Overrides

setFilter(String value)

public BulkMuteFindingsRequest.Builder setFilter(String value)

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;

Parameter
NameDescription
valueString

The filter to set.

Returns
TypeDescription
BulkMuteFindingsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public BulkMuteFindingsRequest.Builder setFilterBytes(ByteString value)

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;

Parameter
NameDescription
valueByteString

The bytes for filter to set.

Returns
TypeDescription
BulkMuteFindingsRequest.Builder

This builder for chaining.

setMuteAnnotation(String value) (deprecated)

public BulkMuteFindingsRequest.Builder setMuteAnnotation(String value)

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];

Parameter
NameDescription
valueString

The muteAnnotation to set.

Returns
TypeDescription
BulkMuteFindingsRequest.Builder

This builder for chaining.

setMuteAnnotationBytes(ByteString value) (deprecated)

public BulkMuteFindingsRequest.Builder setMuteAnnotationBytes(ByteString value)

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];

Parameter
NameDescription
valueByteString

The bytes for muteAnnotation to set.

Returns
TypeDescription
BulkMuteFindingsRequest.Builder

This builder for chaining.

setParent(String value)

public BulkMuteFindingsRequest.Builder setParent(String value)

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) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
BulkMuteFindingsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BulkMuteFindingsRequest.Builder setParentBytes(ByteString value)

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) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
BulkMuteFindingsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BulkMuteFindingsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BulkMuteFindingsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BulkMuteFindingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BulkMuteFindingsRequest.Builder
Overrides