Class Finding.MuteInfo (2.57.0)

public static final class Finding.MuteInfo extends GeneratedMessageV3 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

Static Fields

DYNAMIC_MUTE_RECORDS_FIELD_NUMBER

public static final int DYNAMIC_MUTE_RECORDS_FIELD_NUMBER
Field Value
Type Description
int

STATIC_MUTE_FIELD_NUMBER

public static final int STATIC_MUTE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Finding.MuteInfo getDefaultInstance()
Returns
Type Description
Finding.MuteInfo

getDescriptor()

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

newBuilder()

public static Finding.MuteInfo.Builder newBuilder()
Returns
Type Description
Finding.MuteInfo.Builder

newBuilder(Finding.MuteInfo prototype)

public static Finding.MuteInfo.Builder newBuilder(Finding.MuteInfo prototype)
Parameter
Name Description
prototype Finding.MuteInfo
Returns
Type Description
Finding.MuteInfo.Builder

parseDelimitedFrom(InputStream input)

public static Finding.MuteInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Finding.MuteInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Finding.MuteInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Finding.MuteInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Finding.MuteInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Finding.MuteInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Finding.MuteInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Finding.MuteInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Finding.MuteInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Finding.MuteInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Finding.MuteInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Finding.MuteInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Finding.MuteInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Finding.MuteInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Finding.MuteInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Finding.MuteInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Finding.MuteInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Finding.MuteInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Finding.MuteInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Finding.MuteInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Finding.MuteInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Finding.MuteInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Finding.MuteInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Finding.MuteInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Finding.MuteInfo> parser()
Returns
Type Description
Parser<MuteInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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
Returns
Type Description
Finding.MuteInfo.DynamicMuteRecord

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;

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

Returns
Type Description
List<? extends com.google.cloud.securitycenter.v2.Finding.MuteInfo.DynamicMuteRecordOrBuilder>

getParserForType()

public Parser<Finding.MuteInfo> getParserForType()
Returns
Type Description
Parser<MuteInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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;

Returns
Type Description
Finding.MuteInfo.StaticMute

The staticMute.

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;

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

Returns
Type Description
boolean

Whether the staticMute field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Finding.MuteInfo.Builder newBuilderForType()
Returns
Type Description
Finding.MuteInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Finding.MuteInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Finding.MuteInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Finding.MuteInfo.Builder toBuilder()
Returns
Type Description
Finding.MuteInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException