Class Finding.MuteInfo.StaticMute.Builder (2.60.0)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearApplyTime()

public Finding.MuteInfo.StaticMute.Builder clearApplyTime()

When the static mute was applied.

.google.protobuf.Timestamp apply_time = 2;

Returns
Type Description
Finding.MuteInfo.StaticMute.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Finding.MuteInfo.StaticMute.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Finding.MuteInfo.StaticMute.Builder
Overrides

clearState()

public Finding.MuteInfo.StaticMute.Builder clearState()

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.v2.Finding.Mute state = 1;

Returns
Type Description
Finding.MuteInfo.StaticMute.Builder

This builder for chaining.

clone()

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

getApplyTime()

public Timestamp getApplyTime()

When the static mute was applied.

.google.protobuf.Timestamp apply_time = 2;

Returns
Type Description
Timestamp

The applyTime.

getApplyTimeBuilder()

public Timestamp.Builder getApplyTimeBuilder()

When the static mute was applied.

.google.protobuf.Timestamp apply_time = 2;

Returns
Type Description
Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.v2.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.v2.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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeApplyTime(Timestamp value)

public Finding.MuteInfo.StaticMute.Builder mergeApplyTime(Timestamp value)

When the static mute was applied.

.google.protobuf.Timestamp apply_time = 2;

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

mergeFrom(Finding.MuteInfo.StaticMute other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setApplyTime(Timestamp value)

public Finding.MuteInfo.StaticMute.Builder setApplyTime(Timestamp value)

When the static mute was applied.

.google.protobuf.Timestamp apply_time = 2;

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

setApplyTime(Timestamp.Builder builderForValue)

public Finding.MuteInfo.StaticMute.Builder setApplyTime(Timestamp.Builder builderForValue)

When the static mute was applied.

.google.protobuf.Timestamp apply_time = 2;

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public Finding.MuteInfo.StaticMute.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Finding.MuteInfo.StaticMute.Builder
Overrides

setState(Finding.Mute value)

public Finding.MuteInfo.StaticMute.Builder setState(Finding.Mute value)

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.v2.Finding.Mute state = 1;

Parameter
Name Description
value Finding.Mute

The state to set.

Returns
Type Description
Finding.MuteInfo.StaticMute.Builder

This builder for chaining.

setStateValue(int value)

public Finding.MuteInfo.StaticMute.Builder setStateValue(int value)

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.v2.Finding.Mute state = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
Finding.MuteInfo.StaticMute.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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