public static final class BulkMuteFindingsRequest.Builder extends com.google.protobuf.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| Modifier and Type | Method and Description |
|---|---|
BulkMuteFindingsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BulkMuteFindingsRequest |
build() |
BulkMuteFindingsRequest |
buildPartial() |
BulkMuteFindingsRequest.Builder |
clear() |
BulkMuteFindingsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BulkMuteFindingsRequest.Builder |
clearFilter()
Expression that identifies findings that should be updated.
|
BulkMuteFindingsRequest.Builder |
clearMuteAnnotation()
Deprecated.
google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is
deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=787
|
BulkMuteFindingsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BulkMuteFindingsRequest.Builder |
clearParent()
Required.
|
BulkMuteFindingsRequest.Builder |
clone() |
BulkMuteFindingsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFilter()
Expression that identifies findings that should be updated.
|
com.google.protobuf.ByteString |
getFilterBytes()
Expression that identifies findings that should be updated.
|
String |
getMuteAnnotation()
Deprecated.
google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is
deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=787
|
com.google.protobuf.ByteString |
getMuteAnnotationBytes()
Deprecated.
google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is
deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=787
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BulkMuteFindingsRequest.Builder |
mergeFrom(BulkMuteFindingsRequest other) |
BulkMuteFindingsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BulkMuteFindingsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
BulkMuteFindingsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BulkMuteFindingsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BulkMuteFindingsRequest.Builder |
setFilter(String value)
Expression that identifies findings that should be updated.
|
BulkMuteFindingsRequest.Builder |
setFilterBytes(com.google.protobuf.ByteString value)
Expression that identifies findings that should be updated.
|
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
|
BulkMuteFindingsRequest.Builder |
setMuteAnnotationBytes(com.google.protobuf.ByteString value)
Deprecated.
google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is
deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=787
|
BulkMuteFindingsRequest.Builder |
setParent(String value)
Required.
|
BulkMuteFindingsRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
BulkMuteFindingsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BulkMuteFindingsRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BulkMuteFindingsRequest.Builder>public BulkMuteFindingsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BulkMuteFindingsRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BulkMuteFindingsRequest.Builder>public BulkMuteFindingsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BulkMuteFindingsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BulkMuteFindingsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BulkMuteFindingsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BulkMuteFindingsRequest.Builder>public BulkMuteFindingsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<BulkMuteFindingsRequest.Builder>public BulkMuteFindingsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BulkMuteFindingsRequest.Builder>public BulkMuteFindingsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BulkMuteFindingsRequest.Builder>public BulkMuteFindingsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BulkMuteFindingsRequest.Builder>public BulkMuteFindingsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BulkMuteFindingsRequest.Builder>public BulkMuteFindingsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BulkMuteFindingsRequest.Builder>public BulkMuteFindingsRequest.Builder mergeFrom(BulkMuteFindingsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BulkMuteFindingsRequest.Builder>public BulkMuteFindingsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BulkMuteFindingsRequest.Builder>IOExceptionpublic 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) = { ... }
getParent in interface BulkMuteFindingsRequestOrBuilderpublic com.google.protobuf.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) = { ... }
getParentBytes in interface BulkMuteFindingsRequestOrBuilderpublic 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) = { ... }
value - The parent to set.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) = { ... }
public BulkMuteFindingsRequest.Builder setParentBytes(com.google.protobuf.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) = { ... }
value - The bytes for parent to set.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;getFilter in interface BulkMuteFindingsRequestOrBuilderpublic com.google.protobuf.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;getFilterBytes in interface BulkMuteFindingsRequestOrBuilderpublic 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;value - The filter to set.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;public BulkMuteFindingsRequest.Builder setFilterBytes(com.google.protobuf.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;value - The bytes for filter to set.@Deprecated 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];getMuteAnnotation in interface BulkMuteFindingsRequestOrBuilder@Deprecated public com.google.protobuf.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];getMuteAnnotationBytes in interface BulkMuteFindingsRequestOrBuilder@Deprecated public BulkMuteFindingsRequest.Builder setMuteAnnotation(String value)
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];value - The muteAnnotation to set.@Deprecated public BulkMuteFindingsRequest.Builder clearMuteAnnotation()
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];@Deprecated public BulkMuteFindingsRequest.Builder setMuteAnnotationBytes(com.google.protobuf.ByteString value)
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];value - The bytes for muteAnnotation to set.public final BulkMuteFindingsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BulkMuteFindingsRequest.Builder>public final BulkMuteFindingsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BulkMuteFindingsRequest.Builder>Copyright © 2023 Google LLC. All rights reserved.