Class FindingsRefinement.Builder (0.33.0)

public static final class FindingsRefinement.Builder extends GeneratedMessage.Builder<FindingsRefinement.Builder> implements FindingsRefinementOrBuilder

Represents a set of logic conditions used to refine various types of findings such as curated rule detections.

Protobuf type google.cloud.chronicle.v1.FindingsRefinement

Static Methods

getDescriptor()

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

Methods

addAllOutcomeFilters(Iterable<? extends OutcomeFilter> values)

public FindingsRefinement.Builder addAllOutcomeFilters(Iterable<? extends OutcomeFilter> values)

Optional. The outcome filters for the findings refinement. These allow you to specify filters that are applied to the outcome variables in the detection. All filters must be true for a detection to match the findings refinement.

repeated .google.cloud.chronicle.v1.OutcomeFilter outcome_filters = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.chronicle.v1.OutcomeFilter>
Returns
Type Description
FindingsRefinement.Builder

addOutcomeFilters(OutcomeFilter value)

public FindingsRefinement.Builder addOutcomeFilters(OutcomeFilter value)

Optional. The outcome filters for the findings refinement. These allow you to specify filters that are applied to the outcome variables in the detection. All filters must be true for a detection to match the findings refinement.

repeated .google.cloud.chronicle.v1.OutcomeFilter outcome_filters = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value OutcomeFilter
Returns
Type Description
FindingsRefinement.Builder

addOutcomeFilters(OutcomeFilter.Builder builderForValue)

public FindingsRefinement.Builder addOutcomeFilters(OutcomeFilter.Builder builderForValue)

Optional. The outcome filters for the findings refinement. These allow you to specify filters that are applied to the outcome variables in the detection. All filters must be true for a detection to match the findings refinement.

repeated .google.cloud.chronicle.v1.OutcomeFilter outcome_filters = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue OutcomeFilter.Builder
Returns
Type Description
FindingsRefinement.Builder

addOutcomeFilters(int index, OutcomeFilter value)

public FindingsRefinement.Builder addOutcomeFilters(int index, OutcomeFilter value)

Optional. The outcome filters for the findings refinement. These allow you to specify filters that are applied to the outcome variables in the detection. All filters must be true for a detection to match the findings refinement.

repeated .google.cloud.chronicle.v1.OutcomeFilter outcome_filters = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value OutcomeFilter
Returns
Type Description
FindingsRefinement.Builder

addOutcomeFilters(int index, OutcomeFilter.Builder builderForValue)

public FindingsRefinement.Builder addOutcomeFilters(int index, OutcomeFilter.Builder builderForValue)

Optional. The outcome filters for the findings refinement. These allow you to specify filters that are applied to the outcome variables in the detection. All filters must be true for a detection to match the findings refinement.

repeated .google.cloud.chronicle.v1.OutcomeFilter outcome_filters = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue OutcomeFilter.Builder
Returns
Type Description
FindingsRefinement.Builder

addOutcomeFiltersBuilder()

public OutcomeFilter.Builder addOutcomeFiltersBuilder()

Optional. The outcome filters for the findings refinement. These allow you to specify filters that are applied to the outcome variables in the detection. All filters must be true for a detection to match the findings refinement.

repeated .google.cloud.chronicle.v1.OutcomeFilter outcome_filters = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OutcomeFilter.Builder

addOutcomeFiltersBuilder(int index)

public OutcomeFilter.Builder addOutcomeFiltersBuilder(int index)

Optional. The outcome filters for the findings refinement. These allow you to specify filters that are applied to the outcome variables in the detection. All filters must be true for a detection to match the findings refinement.

repeated .google.cloud.chronicle.v1.OutcomeFilter outcome_filters = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
OutcomeFilter.Builder

build()

public FindingsRefinement build()
Returns
Type Description
FindingsRefinement

buildPartial()

public FindingsRefinement buildPartial()
Returns
Type Description
FindingsRefinement

clear()

public FindingsRefinement.Builder clear()
Returns
Type Description
FindingsRefinement.Builder
Overrides

clearCreateTime()

public FindingsRefinement.Builder clearCreateTime()

Output only. The timestamp of when the findings refinement was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FindingsRefinement.Builder

clearDisplayName()

public FindingsRefinement.Builder clearDisplayName()

Display name of the findings refinement.

string display_name = 2;

Returns
Type Description
FindingsRefinement.Builder

This builder for chaining.

clearName()

public FindingsRefinement.Builder clearName()

Full resource name for the findings refinement. Format: projects/{project}/locations/{region}/instances/{instance}/findingsRefinements/{findings_refinement}

string name = 1;

Returns
Type Description
FindingsRefinement.Builder

This builder for chaining.

clearOutcomeFilters()

public FindingsRefinement.Builder clearOutcomeFilters()

Optional. The outcome filters for the findings refinement. These allow you to specify filters that are applied to the outcome variables in the detection. All filters must be true for a detection to match the findings refinement.

repeated .google.cloud.chronicle.v1.OutcomeFilter outcome_filters = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FindingsRefinement.Builder

clearQuery()

public FindingsRefinement.Builder clearQuery()

The query for the findings refinement. Works in conjunction with the type field to determine the findings refinement behavior. The syntax of this query is the same as a UDM search string. See the following for more information: https://cloud.google.com/chronicle/docs/investigation/udm-search

string query = 7;

Returns
Type Description
FindingsRefinement.Builder

This builder for chaining.

clearType()

public FindingsRefinement.Builder clearType()

The type of findings refinement.

.google.cloud.chronicle.v1.FindingsRefinementType type = 3;

Returns
Type Description
FindingsRefinement.Builder

This builder for chaining.

clearUpdateTime()

public FindingsRefinement.Builder clearUpdateTime()

Output only. The timestamp of when the findings refinement was last updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FindingsRefinement.Builder

getCreateTime()

public Timestamp getCreateTime()

Output only. The timestamp of when the findings refinement was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The timestamp of when the findings refinement was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The timestamp of when the findings refinement was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public FindingsRefinement getDefaultInstanceForType()
Returns
Type Description
FindingsRefinement

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

Display name of the findings refinement.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Display name of the findings refinement.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getName()

public String getName()

Full resource name for the findings refinement. Format: projects/{project}/locations/{region}/instances/{instance}/findingsRefinements/{findings_refinement}

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Full resource name for the findings refinement. Format: projects/{project}/locations/{region}/instances/{instance}/findingsRefinements/{findings_refinement}

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getOutcomeFilters(int index)

public OutcomeFilter getOutcomeFilters(int index)

Optional. The outcome filters for the findings refinement. These allow you to specify filters that are applied to the outcome variables in the detection. All filters must be true for a detection to match the findings refinement.

repeated .google.cloud.chronicle.v1.OutcomeFilter outcome_filters = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
OutcomeFilter

getOutcomeFiltersBuilder(int index)

public OutcomeFilter.Builder getOutcomeFiltersBuilder(int index)

Optional. The outcome filters for the findings refinement. These allow you to specify filters that are applied to the outcome variables in the detection. All filters must be true for a detection to match the findings refinement.

repeated .google.cloud.chronicle.v1.OutcomeFilter outcome_filters = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
OutcomeFilter.Builder

getOutcomeFiltersBuilderList()

public List<OutcomeFilter.Builder> getOutcomeFiltersBuilderList()

Optional. The outcome filters for the findings refinement. These allow you to specify filters that are applied to the outcome variables in the detection. All filters must be true for a detection to match the findings refinement.

repeated .google.cloud.chronicle.v1.OutcomeFilter outcome_filters = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getOutcomeFiltersCount()

public int getOutcomeFiltersCount()

Optional. The outcome filters for the findings refinement. These allow you to specify filters that are applied to the outcome variables in the detection. All filters must be true for a detection to match the findings refinement.

repeated .google.cloud.chronicle.v1.OutcomeFilter outcome_filters = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getOutcomeFiltersList()

public List<OutcomeFilter> getOutcomeFiltersList()

Optional. The outcome filters for the findings refinement. These allow you to specify filters that are applied to the outcome variables in the detection. All filters must be true for a detection to match the findings refinement.

repeated .google.cloud.chronicle.v1.OutcomeFilter outcome_filters = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<OutcomeFilter>

getOutcomeFiltersOrBuilder(int index)

public OutcomeFilterOrBuilder getOutcomeFiltersOrBuilder(int index)

Optional. The outcome filters for the findings refinement. These allow you to specify filters that are applied to the outcome variables in the detection. All filters must be true for a detection to match the findings refinement.

repeated .google.cloud.chronicle.v1.OutcomeFilter outcome_filters = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
OutcomeFilterOrBuilder

getOutcomeFiltersOrBuilderList()

public List<? extends OutcomeFilterOrBuilder> getOutcomeFiltersOrBuilderList()

Optional. The outcome filters for the findings refinement. These allow you to specify filters that are applied to the outcome variables in the detection. All filters must be true for a detection to match the findings refinement.

repeated .google.cloud.chronicle.v1.OutcomeFilter outcome_filters = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.chronicle.v1.OutcomeFilterOrBuilder>

getQuery()

public String getQuery()

The query for the findings refinement. Works in conjunction with the type field to determine the findings refinement behavior. The syntax of this query is the same as a UDM search string. See the following for more information: https://cloud.google.com/chronicle/docs/investigation/udm-search

string query = 7;

Returns
Type Description
String

The query.

getQueryBytes()

public ByteString getQueryBytes()

The query for the findings refinement. Works in conjunction with the type field to determine the findings refinement behavior. The syntax of this query is the same as a UDM search string. See the following for more information: https://cloud.google.com/chronicle/docs/investigation/udm-search

string query = 7;

Returns
Type Description
ByteString

The bytes for query.

getType()

public FindingsRefinementType getType()

The type of findings refinement.

.google.cloud.chronicle.v1.FindingsRefinementType type = 3;

Returns
Type Description
FindingsRefinementType

The type.

getTypeValue()

public int getTypeValue()

The type of findings refinement.

.google.cloud.chronicle.v1.FindingsRefinementType type = 3;

Returns
Type Description
int

The enum numeric value on the wire for type.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The timestamp of when the findings refinement was last updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The timestamp of when the findings refinement was last updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The timestamp of when the findings refinement was last updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The timestamp of when the findings refinement was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The timestamp of when the findings refinement was last updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public FindingsRefinement.Builder mergeCreateTime(Timestamp value)

Output only. The timestamp of when the findings refinement was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
FindingsRefinement.Builder

mergeFrom(FindingsRefinement other)

public FindingsRefinement.Builder mergeFrom(FindingsRefinement other)
Parameter
Name Description
other FindingsRefinement
Returns
Type Description
FindingsRefinement.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public FindingsRefinement.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FindingsRefinement.Builder
Overrides

mergeUpdateTime(Timestamp value)

public FindingsRefinement.Builder mergeUpdateTime(Timestamp value)

Output only. The timestamp of when the findings refinement was last updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
FindingsRefinement.Builder

removeOutcomeFilters(int index)

public FindingsRefinement.Builder removeOutcomeFilters(int index)

Optional. The outcome filters for the findings refinement. These allow you to specify filters that are applied to the outcome variables in the detection. All filters must be true for a detection to match the findings refinement.

repeated .google.cloud.chronicle.v1.OutcomeFilter outcome_filters = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
FindingsRefinement.Builder

setCreateTime(Timestamp value)

public FindingsRefinement.Builder setCreateTime(Timestamp value)

Output only. The timestamp of when the findings refinement was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
FindingsRefinement.Builder

setCreateTime(Timestamp.Builder builderForValue)

public FindingsRefinement.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The timestamp of when the findings refinement was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
FindingsRefinement.Builder

setDisplayName(String value)

public FindingsRefinement.Builder setDisplayName(String value)

Display name of the findings refinement.

string display_name = 2;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
FindingsRefinement.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public FindingsRefinement.Builder setDisplayNameBytes(ByteString value)

Display name of the findings refinement.

string display_name = 2;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
FindingsRefinement.Builder

This builder for chaining.

setName(String value)

public FindingsRefinement.Builder setName(String value)

Full resource name for the findings refinement. Format: projects/{project}/locations/{region}/instances/{instance}/findingsRefinements/{findings_refinement}

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
FindingsRefinement.Builder

This builder for chaining.

setNameBytes(ByteString value)

public FindingsRefinement.Builder setNameBytes(ByteString value)

Full resource name for the findings refinement. Format: projects/{project}/locations/{region}/instances/{instance}/findingsRefinements/{findings_refinement}

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
FindingsRefinement.Builder

This builder for chaining.

setOutcomeFilters(int index, OutcomeFilter value)

public FindingsRefinement.Builder setOutcomeFilters(int index, OutcomeFilter value)

Optional. The outcome filters for the findings refinement. These allow you to specify filters that are applied to the outcome variables in the detection. All filters must be true for a detection to match the findings refinement.

repeated .google.cloud.chronicle.v1.OutcomeFilter outcome_filters = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value OutcomeFilter
Returns
Type Description
FindingsRefinement.Builder

setOutcomeFilters(int index, OutcomeFilter.Builder builderForValue)

public FindingsRefinement.Builder setOutcomeFilters(int index, OutcomeFilter.Builder builderForValue)

Optional. The outcome filters for the findings refinement. These allow you to specify filters that are applied to the outcome variables in the detection. All filters must be true for a detection to match the findings refinement.

repeated .google.cloud.chronicle.v1.OutcomeFilter outcome_filters = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue OutcomeFilter.Builder
Returns
Type Description
FindingsRefinement.Builder

setQuery(String value)

public FindingsRefinement.Builder setQuery(String value)

The query for the findings refinement. Works in conjunction with the type field to determine the findings refinement behavior. The syntax of this query is the same as a UDM search string. See the following for more information: https://cloud.google.com/chronicle/docs/investigation/udm-search

string query = 7;

Parameter
Name Description
value String

The query to set.

Returns
Type Description
FindingsRefinement.Builder

This builder for chaining.

setQueryBytes(ByteString value)

public FindingsRefinement.Builder setQueryBytes(ByteString value)

The query for the findings refinement. Works in conjunction with the type field to determine the findings refinement behavior. The syntax of this query is the same as a UDM search string. See the following for more information: https://cloud.google.com/chronicle/docs/investigation/udm-search

string query = 7;

Parameter
Name Description
value ByteString

The bytes for query to set.

Returns
Type Description
FindingsRefinement.Builder

This builder for chaining.

setType(FindingsRefinementType value)

public FindingsRefinement.Builder setType(FindingsRefinementType value)

The type of findings refinement.

.google.cloud.chronicle.v1.FindingsRefinementType type = 3;

Parameter
Name Description
value FindingsRefinementType

The type to set.

Returns
Type Description
FindingsRefinement.Builder

This builder for chaining.

setTypeValue(int value)

public FindingsRefinement.Builder setTypeValue(int value)

The type of findings refinement.

.google.cloud.chronicle.v1.FindingsRefinementType type = 3;

Parameter
Name Description
value int

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

Returns
Type Description
FindingsRefinement.Builder

This builder for chaining.

setUpdateTime(Timestamp value)

public FindingsRefinement.Builder setUpdateTime(Timestamp value)

Output only. The timestamp of when the findings refinement was last updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
FindingsRefinement.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public FindingsRefinement.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The timestamp of when the findings refinement was last updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
FindingsRefinement.Builder