Class Finding.MuteInfo.Builder (2.62.0)

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.v1.Finding.MuteInfo

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

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.v1.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.securitycenter.v1.Finding.MuteInfo.DynamicMuteRecord>
Returns
Type Description
Finding.MuteInfo.Builder

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.v1.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;

Parameter
Name Description
value Finding.MuteInfo.DynamicMuteRecord
Returns
Type Description
Finding.MuteInfo.Builder

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.v1.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;

Parameter
Name Description
builderForValue Finding.MuteInfo.DynamicMuteRecord.Builder
Returns
Type Description
Finding.MuteInfo.Builder

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.v1.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;

Parameters
Name Description
index int
value Finding.MuteInfo.DynamicMuteRecord
Returns
Type Description
Finding.MuteInfo.Builder

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.v1.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;

Parameters
Name Description
index int
builderForValue Finding.MuteInfo.DynamicMuteRecord.Builder
Returns
Type Description
Finding.MuteInfo.Builder

addDynamicMuteRecordsBuilder()

public Finding.MuteInfo.DynamicMuteRecord.Builder addDynamicMuteRecordsBuilder()

The list of dynamic mute rules that currently match the finding.

repeated .google.cloud.securitycenter.v1.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;

Returns
Type Description
Finding.MuteInfo.DynamicMuteRecord.Builder

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.v1.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;

Parameter
Name Description
index int
Returns
Type Description
Finding.MuteInfo.DynamicMuteRecord.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Finding.MuteInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Finding.MuteInfo.Builder
Overrides

build()

public Finding.MuteInfo build()
Returns
Type Description
Finding.MuteInfo

buildPartial()

public Finding.MuteInfo buildPartial()
Returns
Type Description
Finding.MuteInfo

clear()

public Finding.MuteInfo.Builder clear()
Returns
Type Description
Finding.MuteInfo.Builder
Overrides

clearDynamicMuteRecords()

public Finding.MuteInfo.Builder clearDynamicMuteRecords()

The list of dynamic mute rules that currently match the finding.

repeated .google.cloud.securitycenter.v1.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;

Returns
Type Description
Finding.MuteInfo.Builder

clearField(Descriptors.FieldDescriptor field)

public Finding.MuteInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Finding.MuteInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Finding.MuteInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Finding.MuteInfo.Builder
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.v1.Finding.MuteInfo.StaticMute static_mute = 1;

Returns
Type Description
Finding.MuteInfo.Builder

clone()

public Finding.MuteInfo.Builder clone()
Returns
Type Description
Finding.MuteInfo.Builder
Overrides

getDefaultInstanceForType()

public Finding.MuteInfo getDefaultInstanceForType()
Returns
Type Description
Finding.MuteInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.v1.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;

Parameter
Name Description
index int
Returns
Type Description
Finding.MuteInfo.DynamicMuteRecord

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.v1.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;

Parameter
Name Description
index int
Returns
Type Description
Finding.MuteInfo.DynamicMuteRecord.Builder

getDynamicMuteRecordsBuilderList()

public List<Finding.MuteInfo.DynamicMuteRecord.Builder> getDynamicMuteRecordsBuilderList()

The list of dynamic mute rules that currently match the finding.

repeated .google.cloud.securitycenter.v1.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;

Returns
Type Description
List<Builder>

getDynamicMuteRecordsCount()

public int getDynamicMuteRecordsCount()

The list of dynamic mute rules that currently match the finding.

repeated .google.cloud.securitycenter.v1.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.v1.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;

Returns
Type Description
List<DynamicMuteRecord>

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.v1.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;

Parameter
Name Description
index int
Returns
Type Description
Finding.MuteInfo.DynamicMuteRecordOrBuilder

getDynamicMuteRecordsOrBuilderList()

public List<? extends Finding.MuteInfo.DynamicMuteRecordOrBuilder> getDynamicMuteRecordsOrBuilderList()

The list of dynamic mute rules that currently match the finding.

repeated .google.cloud.securitycenter.v1.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;

Returns
Type Description
List<? extends com.google.cloud.securitycenter.v1.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.v1.Finding.MuteInfo.StaticMute static_mute = 1;

Returns
Type Description
Finding.MuteInfo.StaticMute

The staticMute.

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.v1.Finding.MuteInfo.StaticMute static_mute = 1;

Returns
Type Description
Finding.MuteInfo.StaticMute.Builder

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.v1.Finding.MuteInfo.StaticMute static_mute = 1;

Returns
Type Description
Finding.MuteInfo.StaticMuteOrBuilder

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.v1.Finding.MuteInfo.StaticMute static_mute = 1;

Returns
Type Description
boolean

Whether the staticMute field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Finding.MuteInfo other)

public Finding.MuteInfo.Builder mergeFrom(Finding.MuteInfo other)
Parameter
Name Description
other Finding.MuteInfo
Returns
Type Description
Finding.MuteInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Finding.MuteInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Finding.MuteInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Finding.MuteInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Finding.MuteInfo.Builder
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.v1.Finding.MuteInfo.StaticMute static_mute = 1;

Parameter
Name Description
value Finding.MuteInfo.StaticMute
Returns
Type Description
Finding.MuteInfo.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Finding.MuteInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Finding.MuteInfo.Builder
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.v1.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;

Parameter
Name Description
index int
Returns
Type Description
Finding.MuteInfo.Builder

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.v1.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;

Parameters
Name Description
index int
value Finding.MuteInfo.DynamicMuteRecord
Returns
Type Description
Finding.MuteInfo.Builder

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.v1.Finding.MuteInfo.DynamicMuteRecord dynamic_mute_records = 2;

Parameters
Name Description
index int
builderForValue Finding.MuteInfo.DynamicMuteRecord.Builder
Returns
Type Description
Finding.MuteInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Finding.MuteInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Finding.MuteInfo.Builder
Overrides

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

public Finding.MuteInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Finding.MuteInfo.Builder
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.v1.Finding.MuteInfo.StaticMute static_mute = 1;

Parameter
Name Description
value Finding.MuteInfo.StaticMute
Returns
Type Description
Finding.MuteInfo.Builder

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.v1.Finding.MuteInfo.StaticMute static_mute = 1;

Parameter
Name Description
builderForValue Finding.MuteInfo.StaticMute.Builder
Returns
Type Description
Finding.MuteInfo.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Finding.MuteInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Finding.MuteInfo.Builder
Overrides