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 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

      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:
      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

      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];
      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

       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

       Required. Source of the values for the filter.
       
      .google.cloud.chronicle.v1.AdvancedFilterConfig.ValueSource value_source = 8 [(.google.api.field_behavior) = REQUIRED];