Package com.google.cloud.chronicle.v1
Interface AdvancedFilterConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AdvancedFilterConfig,AdvancedFilterConfig.Builder
@Generated
public interface AdvancedFilterConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetDefaultValues(int index) Optional.com.google.protobuf.ByteStringgetDefaultValuesBytes(int index) Optional.intOptional.Optional.booleanOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.booleanOptional.Optional.com.google.protobuf.ByteStringOptional.getToken()Required.com.google.protobuf.ByteStringRequired.Required.Required.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getToken
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:
- The token.
-
getTokenBytes
com.google.protobuf.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:
- The bytes for token.
-
getPrefix
String getPrefix()Optional. String to prepend to the final replaced value (e.g., "/", "^(", "\"").string prefix = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The prefix.
-
getPrefixBytes
com.google.protobuf.ByteString getPrefixBytes()Optional. String to prepend to the final replaced value (e.g., "/", "^(", "\"").string prefix = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for prefix.
-
getSuffix
String getSuffix()Optional. String to append to the final replaced value (e.g., "/", ")$", "\"").
string suffix = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The suffix.
-
getSuffixBytes
com.google.protobuf.ByteString getSuffixBytes()Optional. String to append to the final replaced value (e.g., "/", ")$", "\"").
string suffix = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for suffix.
-
getSeparator
String getSeparator()Optional. Delimiter to join multiple selected values (e.g., "|", " OR field = ").
string separator = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The separator.
-
getSeparatorBytes
com.google.protobuf.ByteString getSeparatorBytes()Optional. Delimiter to join multiple selected values (e.g., "|", " OR field = ").
string separator = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for separator.
-
getMultipleAllowed
boolean getMultipleAllowed()Optional. Whether to allow selection of multiple values.
bool multiple_allowed = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The multipleAllowed.
-
getDefaultValuesList
Optional. Default values to use if no value is selected/provided.
repeated string default_values = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the defaultValues.
-
getDefaultValuesCount
int getDefaultValuesCount()Optional. Default values to use if no value is selected/provided.
repeated string default_values = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of defaultValues.
-
getDefaultValues
Optional. Default values to use if no value is selected/provided.
repeated string default_values = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The defaultValues at the given index.
-
getDefaultValuesBytes
com.google.protobuf.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];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the defaultValues at the given index.
-
getSkipDefaultAffixes
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:
- The skipDefaultAffixes.
-
hasValueSource
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:
- Whether the valueSource field is set.
-
getValueSource
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:
- The valueSource.
-
getValueSourceOrBuilder
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];
-