Interface AdvancedFilterConfigOrBuilder (0.31.0)

public interface AdvancedFilterConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDefaultValues(int index)

public abstract String getDefaultValues(int index)

Optional. Default values to use if no value is selected/provided.

repeated string default_values = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The defaultValues at the given index.

getDefaultValuesBytes(int index)

public abstract ByteString getDefaultValuesBytes(int index)

Optional. Default values to use if no value is selected/provided.

repeated string default_values = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the defaultValues at the given index.

getDefaultValuesCount()

public abstract int getDefaultValuesCount()

Optional. Default values to use if no value is selected/provided.

repeated string default_values = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of defaultValues.

getDefaultValuesList()

public abstract List<String> getDefaultValuesList()

Optional. Default values to use if no value is selected/provided.

repeated string default_values = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the defaultValues.

getMultipleAllowed()

public abstract boolean getMultipleAllowed()

Optional. Whether to allow selection of multiple values.

bool multiple_allowed = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The multipleAllowed.

getPrefix()

public abstract String getPrefix()

Optional. String to prepend to the final replaced value (e.g., "/", "^(", "\"").

string prefix = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The prefix.

getPrefixBytes()

public abstract ByteString getPrefixBytes()

Optional. String to prepend to the final replaced value (e.g., "/", "^(", "\"").

string prefix = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for prefix.

getSeparator()

public abstract String getSeparator()

Optional. Delimiter to join multiple selected values (e.g., "|", " OR field = ").

string separator = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The separator.

getSeparatorBytes()

public abstract ByteString getSeparatorBytes()

Optional. Delimiter to join multiple selected values (e.g., "|", " OR field = ").

string separator = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for separator.

getSkipDefaultAffixes()

public abstract boolean getSkipDefaultAffixes()

Optional. Whether to skip the configured prefix and suffix when using default values. If true, default values are inserted raw (joined by the separator).

bool skip_default_affixes = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The skipDefaultAffixes.

getSuffix()

public abstract String getSuffix()

Optional. String to append to the final replaced value (e.g., "/", ")$", "\"").

string suffix = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The suffix.

getSuffixBytes()

public abstract ByteString getSuffixBytes()

Optional. String to append to the final replaced value (e.g., "/", ")$", "\"").

string suffix = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for suffix.

getToken()

public abstract String getToken()

Required. The token name to look for in the query (e.g., "hostname"). The system will automatically wrap this in '$' (e.g., "$hostname$").

string token = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The token.

getTokenBytes()

public abstract ByteString getTokenBytes()

Required. The token name to look for in the query (e.g., "hostname"). The system will automatically wrap this in '$' (e.g., "$hostname$").

string token = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for token.

getValueSource()

public abstract AdvancedFilterConfig.ValueSource getValueSource()

Required. Source of the values for the filter.

.google.cloud.chronicle.v1.AdvancedFilterConfig.ValueSource value_source = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AdvancedFilterConfig.ValueSource

The valueSource.

getValueSourceOrBuilder()

public abstract AdvancedFilterConfig.ValueSourceOrBuilder getValueSourceOrBuilder()

Required. Source of the values for the filter.

.google.cloud.chronicle.v1.AdvancedFilterConfig.ValueSource value_source = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AdvancedFilterConfig.ValueSourceOrBuilder

hasValueSource()

public abstract boolean hasValueSource()

Required. Source of the values for the filter.

.google.cloud.chronicle.v1.AdvancedFilterConfig.ValueSource value_source = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the valueSource field is set.