Class Finding.MuteInfo.DynamicMuteRecord.Builder (2.62.0)

public static final class Finding.MuteInfo.DynamicMuteRecord.Builder extends GeneratedMessageV3.Builder<Finding.MuteInfo.DynamicMuteRecord.Builder> implements Finding.MuteInfo.DynamicMuteRecordOrBuilder

The record of a dynamic mute rule that matches the finding.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMatchTime()

public Finding.MuteInfo.DynamicMuteRecord.Builder clearMatchTime()

When the dynamic mute rule first matched the finding.

.google.protobuf.Timestamp match_time = 2;

Returns
Type Description
Finding.MuteInfo.DynamicMuteRecord.Builder

clearMuteConfig()

public Finding.MuteInfo.DynamicMuteRecord.Builder clearMuteConfig()

The relative resource name of the mute rule, represented by a mute config, that created this record, for example organizations/123/muteConfigs/mymuteconfig or organizations/123/locations/global/muteConfigs/mymuteconfig.

string mute_config = 1;

Returns
Type Description
Finding.MuteInfo.DynamicMuteRecord.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMatchTime()

public Timestamp getMatchTime()

When the dynamic mute rule first matched the finding.

.google.protobuf.Timestamp match_time = 2;

Returns
Type Description
Timestamp

The matchTime.

getMatchTimeBuilder()

public Timestamp.Builder getMatchTimeBuilder()

When the dynamic mute rule first matched the finding.

.google.protobuf.Timestamp match_time = 2;

Returns
Type Description
Builder

getMatchTimeOrBuilder()

public TimestampOrBuilder getMatchTimeOrBuilder()

When the dynamic mute rule first matched the finding.

.google.protobuf.Timestamp match_time = 2;

Returns
Type Description
TimestampOrBuilder

getMuteConfig()

public String getMuteConfig()

The relative resource name of the mute rule, represented by a mute config, that created this record, for example organizations/123/muteConfigs/mymuteconfig or organizations/123/locations/global/muteConfigs/mymuteconfig.

string mute_config = 1;

Returns
Type Description
String

The muteConfig.

getMuteConfigBytes()

public ByteString getMuteConfigBytes()

The relative resource name of the mute rule, represented by a mute config, that created this record, for example organizations/123/muteConfigs/mymuteconfig or organizations/123/locations/global/muteConfigs/mymuteconfig.

string mute_config = 1;

Returns
Type Description
ByteString

The bytes for muteConfig.

hasMatchTime()

public boolean hasMatchTime()

When the dynamic mute rule first matched the finding.

.google.protobuf.Timestamp match_time = 2;

Returns
Type Description
boolean

Whether the matchTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Finding.MuteInfo.DynamicMuteRecord other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMatchTime(Timestamp value)

public Finding.MuteInfo.DynamicMuteRecord.Builder mergeMatchTime(Timestamp value)

When the dynamic mute rule first matched the finding.

.google.protobuf.Timestamp match_time = 2;

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMatchTime(Timestamp value)

public Finding.MuteInfo.DynamicMuteRecord.Builder setMatchTime(Timestamp value)

When the dynamic mute rule first matched the finding.

.google.protobuf.Timestamp match_time = 2;

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

setMatchTime(Timestamp.Builder builderForValue)

public Finding.MuteInfo.DynamicMuteRecord.Builder setMatchTime(Timestamp.Builder builderForValue)

When the dynamic mute rule first matched the finding.

.google.protobuf.Timestamp match_time = 2;

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

setMuteConfig(String value)

public Finding.MuteInfo.DynamicMuteRecord.Builder setMuteConfig(String value)

The relative resource name of the mute rule, represented by a mute config, that created this record, for example organizations/123/muteConfigs/mymuteconfig or organizations/123/locations/global/muteConfigs/mymuteconfig.

string mute_config = 1;

Parameter
Name Description
value String

The muteConfig to set.

Returns
Type Description
Finding.MuteInfo.DynamicMuteRecord.Builder

This builder for chaining.

setMuteConfigBytes(ByteString value)

public Finding.MuteInfo.DynamicMuteRecord.Builder setMuteConfigBytes(ByteString value)

The relative resource name of the mute rule, represented by a mute config, that created this record, for example organizations/123/muteConfigs/mymuteconfig or organizations/123/locations/global/muteConfigs/mymuteconfig.

string mute_config = 1;

Parameter
Name Description
value ByteString

The bytes for muteConfig to set.

Returns
Type Description
Finding.MuteInfo.DynamicMuteRecord.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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