- 2.63.0 (latest)
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.1
- 2.6.0
- 2.5.6
- 2.3.2
public static final class BulkMuteFindingsRequest.Builder extends GeneratedMessageV3.Builder<BulkMuteFindingsRequest.Builder> 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.v2.BulkMuteFindingsRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BulkMuteFindingsRequest.BuilderImplements
BulkMuteFindingsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BulkMuteFindingsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
BulkMuteFindingsRequest.Builder |
build()
public BulkMuteFindingsRequest build()
Returns | |
---|---|
Type | Description |
BulkMuteFindingsRequest |
buildPartial()
public BulkMuteFindingsRequest buildPartial()
Returns | |
---|---|
Type | Description |
BulkMuteFindingsRequest |
clear()
public BulkMuteFindingsRequest.Builder clear()
Returns | |
---|---|
Type | Description |
BulkMuteFindingsRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public BulkMuteFindingsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
BulkMuteFindingsRequest.Builder |
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
andfalse
without quotes.
string filter = 2;
Returns | |
---|---|
Type | Description |
BulkMuteFindingsRequest.Builder |
This builder for chaining. |
clearMuteState()
public BulkMuteFindingsRequest.Builder clearMuteState()
Optional. All findings matching the given filter will have their mute state
set to this value. The default value is MUTED
. Setting this to
UNDEFINED
will clear the mute state on all matching findings.
.google.cloud.securitycenter.v2.BulkMuteFindingsRequest.MuteState mute_state = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
BulkMuteFindingsRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public BulkMuteFindingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
BulkMuteFindingsRequest.Builder |
clearParent()
public BulkMuteFindingsRequest.Builder clearParent()
Required. The parent, at which bulk action needs to be applied. If no location is specified, findings are updated in global. The following list shows some examples:
organizations/[organization_id]
organizations/[organization_id]/locations/[location_id]
folders/[folder_id]
folders/[folder_id]/locations/[location_id]
projects/[project_id]
projects/[project_id]/locations/[location_id]
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
BulkMuteFindingsRequest.Builder |
This builder for chaining. |
clone()
public BulkMuteFindingsRequest.Builder clone()
Returns | |
---|---|
Type | Description |
BulkMuteFindingsRequest.Builder |
getDefaultInstanceForType()
public BulkMuteFindingsRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
BulkMuteFindingsRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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
andfalse
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
andfalse
without quotes.
string filter = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for filter. |
getMuteState()
public BulkMuteFindingsRequest.MuteState getMuteState()
Optional. All findings matching the given filter will have their mute state
set to this value. The default value is MUTED
. Setting this to
UNDEFINED
will clear the mute state on all matching findings.
.google.cloud.securitycenter.v2.BulkMuteFindingsRequest.MuteState mute_state = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
BulkMuteFindingsRequest.MuteState |
The muteState. |
getMuteStateValue()
public int getMuteStateValue()
Optional. All findings matching the given filter will have their mute state
set to this value. The default value is MUTED
. Setting this to
UNDEFINED
will clear the mute state on all matching findings.
.google.cloud.securitycenter.v2.BulkMuteFindingsRequest.MuteState mute_state = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for muteState. |
getParent()
public String getParent()
Required. The parent, at which bulk action needs to be applied. If no location is specified, findings are updated in global. The following list shows some examples:
organizations/[organization_id]
organizations/[organization_id]/locations/[location_id]
folders/[folder_id]
folders/[folder_id]/locations/[location_id]
projects/[project_id]
projects/[project_id]/locations/[location_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. If no location is specified, findings are updated in global. The following list shows some examples:
organizations/[organization_id]
organizations/[organization_id]/locations/[location_id]
folders/[folder_id]
folders/[folder_id]/locations/[location_id]
projects/[project_id]
projects/[project_id]/locations/[location_id]
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(BulkMuteFindingsRequest other)
public BulkMuteFindingsRequest.Builder mergeFrom(BulkMuteFindingsRequest other)
Parameter | |
---|---|
Name | Description |
other |
BulkMuteFindingsRequest |
Returns | |
---|---|
Type | Description |
BulkMuteFindingsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BulkMuteFindingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BulkMuteFindingsRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public BulkMuteFindingsRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
BulkMuteFindingsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BulkMuteFindingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BulkMuteFindingsRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BulkMuteFindingsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
BulkMuteFindingsRequest.Builder |
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
andfalse
without quotes.
string filter = 2;
Parameter | |
---|---|
Name | Description |
value |
String The filter to set. |
Returns | |
---|---|
Type | Description |
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
andfalse
without quotes.
string filter = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for filter to set. |
Returns | |
---|---|
Type | Description |
BulkMuteFindingsRequest.Builder |
This builder for chaining. |
setMuteState(BulkMuteFindingsRequest.MuteState value)
public BulkMuteFindingsRequest.Builder setMuteState(BulkMuteFindingsRequest.MuteState value)
Optional. All findings matching the given filter will have their mute state
set to this value. The default value is MUTED
. Setting this to
UNDEFINED
will clear the mute state on all matching findings.
.google.cloud.securitycenter.v2.BulkMuteFindingsRequest.MuteState mute_state = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
BulkMuteFindingsRequest.MuteState The muteState to set. |
Returns | |
---|---|
Type | Description |
BulkMuteFindingsRequest.Builder |
This builder for chaining. |
setMuteStateValue(int value)
public BulkMuteFindingsRequest.Builder setMuteStateValue(int value)
Optional. All findings matching the given filter will have their mute state
set to this value. The default value is MUTED
. Setting this to
UNDEFINED
will clear the mute state on all matching findings.
.google.cloud.securitycenter.v2.BulkMuteFindingsRequest.MuteState mute_state = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for muteState to set. |
Returns | |
---|---|
Type | Description |
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. If no location is specified, findings are updated in global. The following list shows some examples:
organizations/[organization_id]
organizations/[organization_id]/locations/[location_id]
folders/[folder_id]
folders/[folder_id]/locations/[location_id]
projects/[project_id]
projects/[project_id]/locations/[location_id]
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
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. If no location is specified, findings are updated in global. The following list shows some examples:
organizations/[organization_id]
organizations/[organization_id]/locations/[location_id]
folders/[folder_id]
folders/[folder_id]/locations/[location_id]
projects/[project_id]
projects/[project_id]/locations/[location_id]
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
BulkMuteFindingsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final BulkMuteFindingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BulkMuteFindingsRequest.Builder |