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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Finding.MuteInfo.Builder newBuilder()
newBuilder(Finding.MuteInfo prototype)
public static Finding.MuteInfo.Builder newBuilder(Finding.MuteInfo prototype)
public static Finding.MuteInfo parseDelimitedFrom(InputStream input)
public static Finding.MuteInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Finding.MuteInfo parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Finding.MuteInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Finding.MuteInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Finding.MuteInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Finding.MuteInfo parseFrom(CodedInputStream input)
public static Finding.MuteInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Finding.MuteInfo parseFrom(InputStream input)
public static Finding.MuteInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Finding.MuteInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Finding.MuteInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Finding.MuteInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Finding.MuteInfo getDefaultInstanceForType()
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
|
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> |
|
getParserForType()
public Parser<Finding.MuteInfo> getParserForType()
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;
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Finding.MuteInfo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Finding.MuteInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Finding.MuteInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides