Class AdvancedFilterConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.chronicle.v1.AdvancedFilterConfig
All Implemented Interfaces:
AdvancedFilterConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class AdvancedFilterConfig extends com.google.protobuf.GeneratedMessage implements AdvancedFilterConfigOrBuilder
 Advanced filter configuration for the filter widget.
 
Protobuf type google.cloud.chronicle.v1.AdvancedFilterConfig
See Also:
  • Field Details

    • TOKEN_FIELD_NUMBER

      public static final int TOKEN_FIELD_NUMBER
      See Also:
    • PREFIX_FIELD_NUMBER

      public static final int PREFIX_FIELD_NUMBER
      See Also:
    • SUFFIX_FIELD_NUMBER

      public static final int SUFFIX_FIELD_NUMBER
      See Also:
    • SEPARATOR_FIELD_NUMBER

      public static final int SEPARATOR_FIELD_NUMBER
      See Also:
    • MULTIPLE_ALLOWED_FIELD_NUMBER

      public static final int MULTIPLE_ALLOWED_FIELD_NUMBER
      See Also:
    • DEFAULT_VALUES_FIELD_NUMBER

      public static final int DEFAULT_VALUES_FIELD_NUMBER
      See Also:
    • SKIP_DEFAULT_AFFIXES_FIELD_NUMBER

      public static final int SKIP_DEFAULT_AFFIXES_FIELD_NUMBER
      See Also:
    • VALUE_SOURCE_FIELD_NUMBER

      public static final int VALUE_SOURCE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getToken

      public 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];
      Specified by:
      getToken in interface AdvancedFilterConfigOrBuilder
      Returns:
      The token.
    • getTokenBytes

      public 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];
      Specified by:
      getTokenBytes in interface AdvancedFilterConfigOrBuilder
      Returns:
      The bytes for token.
    • getPrefix

      public String getPrefix()
       Optional. String to prepend to the final replaced value (e.g., "/", "^(",
       "\"").
       
      string prefix = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPrefix in interface AdvancedFilterConfigOrBuilder
      Returns:
      The prefix.
    • getPrefixBytes

      public com.google.protobuf.ByteString getPrefixBytes()
       Optional. String to prepend to the final replaced value (e.g., "/", "^(",
       "\"").
       
      string prefix = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPrefixBytes in interface AdvancedFilterConfigOrBuilder
      Returns:
      The bytes for prefix.
    • getSuffix

      public String getSuffix()
       Optional. String to append to the final replaced value (e.g., "/", ")$",
       "\"").
       
      string suffix = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSuffix in interface AdvancedFilterConfigOrBuilder
      Returns:
      The suffix.
    • getSuffixBytes

      public com.google.protobuf.ByteString getSuffixBytes()
       Optional. String to append to the final replaced value (e.g., "/", ")$",
       "\"").
       
      string suffix = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSuffixBytes in interface AdvancedFilterConfigOrBuilder
      Returns:
      The bytes for suffix.
    • getSeparator

      public String getSeparator()
       Optional. Delimiter to join multiple selected values (e.g., "|", " OR field
       = ").
       
      string separator = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSeparator in interface AdvancedFilterConfigOrBuilder
      Returns:
      The separator.
    • getSeparatorBytes

      public com.google.protobuf.ByteString getSeparatorBytes()
       Optional. Delimiter to join multiple selected values (e.g., "|", " OR field
       = ").
       
      string separator = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSeparatorBytes in interface AdvancedFilterConfigOrBuilder
      Returns:
      The bytes for separator.
    • getMultipleAllowed

      public boolean getMultipleAllowed()
       Optional. Whether to allow selection of multiple values.
       
      bool multiple_allowed = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMultipleAllowed in interface AdvancedFilterConfigOrBuilder
      Returns:
      The multipleAllowed.
    • getDefaultValuesList

      public com.google.protobuf.ProtocolStringList getDefaultValuesList()
       Optional. Default values to use if no value is selected/provided.
       
      repeated string default_values = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefaultValuesList in interface AdvancedFilterConfigOrBuilder
      Returns:
      A list containing the defaultValues.
    • getDefaultValuesCount

      public int getDefaultValuesCount()
       Optional. Default values to use if no value is selected/provided.
       
      repeated string default_values = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefaultValuesCount in interface AdvancedFilterConfigOrBuilder
      Returns:
      The count of defaultValues.
    • getDefaultValues

      public 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];
      Specified by:
      getDefaultValues in interface AdvancedFilterConfigOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The defaultValues at the given index.
    • getDefaultValuesBytes

      public 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];
      Specified by:
      getDefaultValuesBytes in interface AdvancedFilterConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the defaultValues at the given index.
    • getSkipDefaultAffixes

      public 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];
      Specified by:
      getSkipDefaultAffixes in interface AdvancedFilterConfigOrBuilder
      Returns:
      The skipDefaultAffixes.
    • hasValueSource

      public boolean hasValueSource()
       Required. Source of the values for the filter.
       
      .google.cloud.chronicle.v1.AdvancedFilterConfig.ValueSource value_source = 8 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasValueSource in interface AdvancedFilterConfigOrBuilder
      Returns:
      Whether the valueSource field is set.
    • getValueSource

      public 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];
      Specified by:
      getValueSource in interface AdvancedFilterConfigOrBuilder
      Returns:
      The valueSource.
    • getValueSourceOrBuilder

      public 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];
      Specified by:
      getValueSourceOrBuilder in interface AdvancedFilterConfigOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static AdvancedFilterConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AdvancedFilterConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AdvancedFilterConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AdvancedFilterConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AdvancedFilterConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AdvancedFilterConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AdvancedFilterConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AdvancedFilterConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AdvancedFilterConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AdvancedFilterConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AdvancedFilterConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AdvancedFilterConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public AdvancedFilterConfig.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static AdvancedFilterConfig.Builder newBuilder()
    • newBuilder

      public static AdvancedFilterConfig.Builder newBuilder(AdvancedFilterConfig prototype)
    • toBuilder

      public AdvancedFilterConfig.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected AdvancedFilterConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static AdvancedFilterConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AdvancedFilterConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<AdvancedFilterConfig> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public AdvancedFilterConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder