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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Finding.MuteInfo.StaticMute.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Finding.MuteInfo.StaticMute build()
buildPartial()
public Finding.MuteInfo.StaticMute buildPartial()
clear()
public Finding.MuteInfo.StaticMute.Builder clear()
Overrides
clearApplyTime()
public Finding.MuteInfo.StaticMute.Builder clearApplyTime()
When the static mute was applied.
.google.protobuf.Timestamp apply_time = 2;
clearField(Descriptors.FieldDescriptor field)
public Finding.MuteInfo.StaticMute.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Finding.MuteInfo.StaticMute.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public Finding.MuteInfo.StaticMute.Builder clone()
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;
getApplyTimeOrBuilder()
public TimestampOrBuilder getApplyTimeOrBuilder()
When the static mute was applied.
.google.protobuf.Timestamp apply_time = 2;
getDefaultInstanceForType()
public Finding.MuteInfo.StaticMute getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeApplyTime(Timestamp value)
public Finding.MuteInfo.StaticMute.Builder mergeApplyTime(Timestamp value)
When the static mute was applied.
.google.protobuf.Timestamp apply_time = 2;
mergeFrom(Finding.MuteInfo.StaticMute other)
public Finding.MuteInfo.StaticMute.Builder mergeFrom(Finding.MuteInfo.StaticMute other)
public Finding.MuteInfo.StaticMute.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Finding.MuteInfo.StaticMute.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Finding.MuteInfo.StaticMute.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setApplyTime(Timestamp value)
public Finding.MuteInfo.StaticMute.Builder setApplyTime(Timestamp value)
When the static mute was applied.
.google.protobuf.Timestamp apply_time = 2;
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public Finding.MuteInfo.StaticMute.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Finding.MuteInfo.StaticMute.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Finding.MuteInfo.StaticMute.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides