public static final class Finding.MuteInfo.Builder extends GeneratedMessageV3.Builder<Finding.MuteInfo.Builder> implements Finding.MuteInfoOrBuilder
Mute information about the finding, including whether the finding has a
static mute or any matching dynamic mute rules.
Protobuf type google.cloud.securitycenter.v2.Finding.MuteInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllDynamicMuteRecords(Iterable<? extends Finding.MuteInfo.DynamicMuteRecord> values)
public Finding.MuteInfo.Builder addAllDynamicMuteRecords(Iterable<? extends Finding.MuteInfo.DynamicMuteRecord> values)
The list of dynamic mute rules that currently match the finding.
repeated .google.cloud.securitycenter.v2.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.securitycenter.v2.Finding.MuteInfo.DynamicMuteRecord>
|
addDynamicMuteRecords(Finding.MuteInfo.DynamicMuteRecord value)
public Finding.MuteInfo.Builder addDynamicMuteRecords(Finding.MuteInfo.DynamicMuteRecord value)
The list of dynamic mute rules that currently match the finding.
repeated .google.cloud.securitycenter.v2.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;
addDynamicMuteRecords(Finding.MuteInfo.DynamicMuteRecord.Builder builderForValue)
public Finding.MuteInfo.Builder addDynamicMuteRecords(Finding.MuteInfo.DynamicMuteRecord.Builder builderForValue)
The list of dynamic mute rules that currently match the finding.
repeated .google.cloud.securitycenter.v2.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;
addDynamicMuteRecords(int index, Finding.MuteInfo.DynamicMuteRecord value)
public Finding.MuteInfo.Builder addDynamicMuteRecords(int index, Finding.MuteInfo.DynamicMuteRecord value)
The list of dynamic mute rules that currently match the finding.
repeated .google.cloud.securitycenter.v2.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;
addDynamicMuteRecords(int index, Finding.MuteInfo.DynamicMuteRecord.Builder builderForValue)
public Finding.MuteInfo.Builder addDynamicMuteRecords(int index, Finding.MuteInfo.DynamicMuteRecord.Builder builderForValue)
The list of dynamic mute rules that currently match the finding.
repeated .google.cloud.securitycenter.v2.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;
addDynamicMuteRecordsBuilder()
public Finding.MuteInfo.DynamicMuteRecord.Builder addDynamicMuteRecordsBuilder()
The list of dynamic mute rules that currently match the finding.
repeated .google.cloud.securitycenter.v2.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;
addDynamicMuteRecordsBuilder(int index)
public Finding.MuteInfo.DynamicMuteRecord.Builder addDynamicMuteRecordsBuilder(int index)
The list of dynamic mute rules that currently match the finding.
repeated .google.cloud.securitycenter.v2.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Finding.MuteInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Finding.MuteInfo build()
buildPartial()
public Finding.MuteInfo buildPartial()
clear()
public Finding.MuteInfo.Builder clear()
Overrides
clearDynamicMuteRecords()
public Finding.MuteInfo.Builder clearDynamicMuteRecords()
The list of dynamic mute rules that currently match the finding.
repeated .google.cloud.securitycenter.v2.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;
clearField(Descriptors.FieldDescriptor field)
public Finding.MuteInfo.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Finding.MuteInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearStaticMute()
public Finding.MuteInfo.Builder clearStaticMute()
If set, the static mute applied to this finding. Static mutes override
dynamic mutes. If unset, there is no static mute.
.google.cloud.securitycenter.v2.Finding.MuteInfo.StaticMute static_mute = 1;
clone()
public Finding.MuteInfo.Builder clone()
Overrides
getDefaultInstanceForType()
public Finding.MuteInfo getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDynamicMuteRecords(int index)
public Finding.MuteInfo.DynamicMuteRecord getDynamicMuteRecords(int index)
The list of dynamic mute rules that currently match the finding.
repeated .google.cloud.securitycenter.v2.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;
Parameter |
Name |
Description |
index |
int
|
getDynamicMuteRecordsBuilder(int index)
public Finding.MuteInfo.DynamicMuteRecord.Builder getDynamicMuteRecordsBuilder(int index)
The list of dynamic mute rules that currently match the finding.
repeated .google.cloud.securitycenter.v2.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;
Parameter |
Name |
Description |
index |
int
|
getDynamicMuteRecordsBuilderList()
public List<Finding.MuteInfo.DynamicMuteRecord.Builder> getDynamicMuteRecordsBuilderList()
The list of dynamic mute rules that currently match the finding.
repeated .google.cloud.securitycenter.v2.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;
getDynamicMuteRecordsCount()
public int getDynamicMuteRecordsCount()
The list of dynamic mute rules that currently match the finding.
repeated .google.cloud.securitycenter.v2.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;
Returns |
Type |
Description |
int |
|
getDynamicMuteRecordsList()
public List<Finding.MuteInfo.DynamicMuteRecord> getDynamicMuteRecordsList()
The list of dynamic mute rules that currently match the finding.
repeated .google.cloud.securitycenter.v2.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;
getDynamicMuteRecordsOrBuilder(int index)
public Finding.MuteInfo.DynamicMuteRecordOrBuilder getDynamicMuteRecordsOrBuilder(int index)
The list of dynamic mute rules that currently match the finding.
repeated .google.cloud.securitycenter.v2.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;
Parameter |
Name |
Description |
index |
int
|
getDynamicMuteRecordsOrBuilderList()
public List<? extends Finding.MuteInfo.DynamicMuteRecordOrBuilder> getDynamicMuteRecordsOrBuilderList()
The list of dynamic mute rules that currently match the finding.
repeated .google.cloud.securitycenter.v2.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;
Returns |
Type |
Description |
List<? extends com.google.cloud.securitycenter.v2.Finding.MuteInfo.DynamicMuteRecordOrBuilder> |
|
getStaticMute()
public Finding.MuteInfo.StaticMute getStaticMute()
If set, the static mute applied to this finding. Static mutes override
dynamic mutes. If unset, there is no static mute.
.google.cloud.securitycenter.v2.Finding.MuteInfo.StaticMute static_mute = 1;
getStaticMuteBuilder()
public Finding.MuteInfo.StaticMute.Builder getStaticMuteBuilder()
If set, the static mute applied to this finding. Static mutes override
dynamic mutes. If unset, there is no static mute.
.google.cloud.securitycenter.v2.Finding.MuteInfo.StaticMute static_mute = 1;
getStaticMuteOrBuilder()
public Finding.MuteInfo.StaticMuteOrBuilder getStaticMuteOrBuilder()
If set, the static mute applied to this finding. Static mutes override
dynamic mutes. If unset, there is no static mute.
.google.cloud.securitycenter.v2.Finding.MuteInfo.StaticMute static_mute = 1;
hasStaticMute()
public boolean hasStaticMute()
If set, the static mute applied to this finding. Static mutes override
dynamic mutes. If unset, there is no static mute.
.google.cloud.securitycenter.v2.Finding.MuteInfo.StaticMute static_mute = 1;
Returns |
Type |
Description |
boolean |
Whether the staticMute field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Finding.MuteInfo other)
public Finding.MuteInfo.Builder mergeFrom(Finding.MuteInfo other)
public Finding.MuteInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Finding.MuteInfo.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeStaticMute(Finding.MuteInfo.StaticMute value)
public Finding.MuteInfo.Builder mergeStaticMute(Finding.MuteInfo.StaticMute value)
If set, the static mute applied to this finding. Static mutes override
dynamic mutes. If unset, there is no static mute.
.google.cloud.securitycenter.v2.Finding.MuteInfo.StaticMute static_mute = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Finding.MuteInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeDynamicMuteRecords(int index)
public Finding.MuteInfo.Builder removeDynamicMuteRecords(int index)
The list of dynamic mute rules that currently match the finding.
repeated .google.cloud.securitycenter.v2.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;
Parameter |
Name |
Description |
index |
int
|
setDynamicMuteRecords(int index, Finding.MuteInfo.DynamicMuteRecord value)
public Finding.MuteInfo.Builder setDynamicMuteRecords(int index, Finding.MuteInfo.DynamicMuteRecord value)
The list of dynamic mute rules that currently match the finding.
repeated .google.cloud.securitycenter.v2.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;
setDynamicMuteRecords(int index, Finding.MuteInfo.DynamicMuteRecord.Builder builderForValue)
public Finding.MuteInfo.Builder setDynamicMuteRecords(int index, Finding.MuteInfo.DynamicMuteRecord.Builder builderForValue)
The list of dynamic mute rules that currently match the finding.
repeated .google.cloud.securitycenter.v2.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public Finding.MuteInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Finding.MuteInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setStaticMute(Finding.MuteInfo.StaticMute value)
public Finding.MuteInfo.Builder setStaticMute(Finding.MuteInfo.StaticMute value)
If set, the static mute applied to this finding. Static mutes override
dynamic mutes. If unset, there is no static mute.
.google.cloud.securitycenter.v2.Finding.MuteInfo.StaticMute static_mute = 1;
setStaticMute(Finding.MuteInfo.StaticMute.Builder builderForValue)
public Finding.MuteInfo.Builder setStaticMute(Finding.MuteInfo.StaticMute.Builder builderForValue)
If set, the static mute applied to this finding. Static mutes override
dynamic mutes. If unset, there is no static mute.
.google.cloud.securitycenter.v2.Finding.MuteInfo.StaticMute static_mute = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final Finding.MuteInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides