Class Finding.MuteInfo.StaticMute (2.57.0)

public static final class Finding.MuteInfo.StaticMute extends GeneratedMessageV3 implements Finding.MuteInfo.StaticMuteOrBuilder

Information about the static mute state. A static mute state overrides any dynamic mute rules that apply to this finding. The static mute state can be set by a static mute rule or by muting the finding directly.

Protobuf type google.cloud.securitycenter.v1.Finding.MuteInfo.StaticMute

Static Fields

APPLY_TIME_FIELD_NUMBER

public static final int APPLY_TIME_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(Finding.MuteInfo.StaticMute prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getApplyTime()

public Timestamp getApplyTime()

When the static mute was applied.

.google.protobuf.Timestamp apply_time = 2;

Returns
Type Description
Timestamp

The applyTime.

getApplyTimeOrBuilder()

public TimestampOrBuilder getApplyTimeOrBuilder()

When the static mute was applied.

.google.protobuf.Timestamp apply_time = 2;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public Finding.Mute getState()

The static mute state. If the value is MUTED or UNMUTED, then the finding's overall mute state will have the same value.

.google.cloud.securitycenter.v1.Finding.Mute state = 1;

Returns
Type Description
Finding.Mute

The state.

getStateValue()

public int getStateValue()

The static mute state. If the value is MUTED or UNMUTED, then the finding's overall mute state will have the same value.

.google.cloud.securitycenter.v1.Finding.Mute state = 1;

Returns
Type Description
int

The enum numeric value on the wire for state.

hasApplyTime()

public boolean hasApplyTime()

When the static mute was applied.

.google.protobuf.Timestamp apply_time = 2;

Returns
Type Description
boolean

Whether the applyTime 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.StaticMute.Builder newBuilderForType()
Returns
Type Description
Finding.MuteInfo.StaticMute.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Finding.MuteInfo.StaticMute.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Finding.MuteInfo.StaticMute.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.StaticMute.Builder toBuilder()
Returns
Type Description
Finding.MuteInfo.StaticMute.Builder

writeTo(CodedOutputStream output)

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