Class FindingsRefinement (0.33.0)

public final class FindingsRefinement extends GeneratedMessage 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 Fields

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

OUTCOME_FILTERS_FIELD_NUMBER

public static final int OUTCOME_FILTERS_FIELD_NUMBER
Field Value
Type Description
int

QUERY_FIELD_NUMBER

public static final int QUERY_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FindingsRefinement getDefaultInstance()
Returns
Type Description
FindingsRefinement

getDescriptor()

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

newBuilder()

public static FindingsRefinement.Builder newBuilder()
Returns
Type Description
FindingsRefinement.Builder

newBuilder(FindingsRefinement prototype)

public static FindingsRefinement.Builder newBuilder(FindingsRefinement prototype)
Parameter
Name Description
prototype FindingsRefinement
Returns
Type Description
FindingsRefinement.Builder

parseDelimitedFrom(InputStream input)

public static FindingsRefinement parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FindingsRefinement
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FindingsRefinement parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FindingsRefinement
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FindingsRefinement parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FindingsRefinement
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FindingsRefinement parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FindingsRefinement
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FindingsRefinement parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FindingsRefinement
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FindingsRefinement parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FindingsRefinement
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FindingsRefinement parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FindingsRefinement
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FindingsRefinement parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FindingsRefinement
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FindingsRefinement parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FindingsRefinement
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FindingsRefinement parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FindingsRefinement
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FindingsRefinement parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FindingsRefinement
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FindingsRefinement parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FindingsRefinement
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FindingsRefinement> parser()
Returns
Type Description
Parser<FindingsRefinement>

Methods

equals(Object obj)

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

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.

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

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

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>

getParserForType()

public Parser<FindingsRefinement> getParserForType()
Returns
Type Description
Parser<FindingsRefinement>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FindingsRefinement.Builder newBuilderForType()
Returns
Type Description
FindingsRefinement.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected FindingsRefinement.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FindingsRefinement.Builder
Overrides

toBuilder()

public FindingsRefinement.Builder toBuilder()
Returns
Type Description
FindingsRefinement.Builder

writeTo(CodedOutputStream output)

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