Class AdvancedFilterConfig.QueryOptions.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AdvancedFilterConfig.QueryOptions.Builder>
com.google.cloud.chronicle.v1.AdvancedFilterConfig.QueryOptions.Builder
All Implemented Interfaces:
AdvancedFilterConfig.QueryOptionsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
AdvancedFilterConfig.QueryOptions

public static final class AdvancedFilterConfig.QueryOptions.Builder extends com.google.protobuf.GeneratedMessage.Builder<AdvancedFilterConfig.QueryOptions.Builder> implements AdvancedFilterConfig.QueryOptionsOrBuilder
 Query options to fetch the values from the query engine.
 This is used for the filter's population query.
 
Protobuf type google.cloud.chronicle.v1.AdvancedFilterConfig.QueryOptions
  • 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.Builder<AdvancedFilterConfig.QueryOptions.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<AdvancedFilterConfig.QueryOptions.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AdvancedFilterConfig.QueryOptions.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public AdvancedFilterConfig.QueryOptions buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public AdvancedFilterConfig.QueryOptions.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AdvancedFilterConfig.QueryOptions.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<AdvancedFilterConfig.QueryOptions.Builder>
    • mergeFrom

      public AdvancedFilterConfig.QueryOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AdvancedFilterConfig.QueryOptions.Builder>
      Throws:
      IOException
    • getQuery

      public String getQuery()
       Required. The query to execute to fetch the values.
       
      string query = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getQuery in interface AdvancedFilterConfig.QueryOptionsOrBuilder
      Returns:
      The query.
    • getQueryBytes

      public com.google.protobuf.ByteString getQueryBytes()
       Required. The query to execute to fetch the values.
       
      string query = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getQueryBytes in interface AdvancedFilterConfig.QueryOptionsOrBuilder
      Returns:
      The bytes for query.
    • setQuery

       Required. The query to execute to fetch the values.
       
      string query = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The query to set.
      Returns:
      This builder for chaining.
    • clearQuery

       Required. The query to execute to fetch the values.
       
      string query = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setQueryBytes

      public AdvancedFilterConfig.QueryOptions.Builder setQueryBytes(com.google.protobuf.ByteString value)
       Required. The query to execute to fetch the values.
       
      string query = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for query to set.
      Returns:
      This builder for chaining.
    • getColumn

      public String getColumn()
       Required. The column name to use for the values.
       
      string column = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getColumn in interface AdvancedFilterConfig.QueryOptionsOrBuilder
      Returns:
      The column.
    • getColumnBytes

      public com.google.protobuf.ByteString getColumnBytes()
       Required. The column name to use for the values.
       
      string column = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getColumnBytes in interface AdvancedFilterConfig.QueryOptionsOrBuilder
      Returns:
      The bytes for column.
    • setColumn

       Required. The column name to use for the values.
       
      string column = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The column to set.
      Returns:
      This builder for chaining.
    • clearColumn

       Required. The column name to use for the values.
       
      string column = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setColumnBytes

      public AdvancedFilterConfig.QueryOptions.Builder setColumnBytes(com.google.protobuf.ByteString value)
       Required. The column name to use for the values.
       
      string column = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for column to set.
      Returns:
      This builder for chaining.
    • getGlobalTimeFilterEnabled

      public boolean getGlobalTimeFilterEnabled()
       Optional. Enable global time filter
       
      bool global_time_filter_enabled = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGlobalTimeFilterEnabled in interface AdvancedFilterConfig.QueryOptionsOrBuilder
      Returns:
      The globalTimeFilterEnabled.
    • setGlobalTimeFilterEnabled

      public AdvancedFilterConfig.QueryOptions.Builder setGlobalTimeFilterEnabled(boolean value)
       Optional. Enable global time filter
       
      bool global_time_filter_enabled = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The globalTimeFilterEnabled to set.
      Returns:
      This builder for chaining.
    • clearGlobalTimeFilterEnabled

      public AdvancedFilterConfig.QueryOptions.Builder clearGlobalTimeFilterEnabled()
       Optional. Enable global time filter
       
      bool global_time_filter_enabled = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasInput

      public boolean hasInput()
       Optional. Time range input specifically for the filter's population
       query.
       
      .google.cloud.chronicle.v1.DashboardQuery.Input input = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasInput in interface AdvancedFilterConfig.QueryOptionsOrBuilder
      Returns:
      Whether the input field is set.
    • getInput

      public DashboardQuery.Input getInput()
       Optional. Time range input specifically for the filter's population
       query.
       
      .google.cloud.chronicle.v1.DashboardQuery.Input input = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInput in interface AdvancedFilterConfig.QueryOptionsOrBuilder
      Returns:
      The input.
    • setInput

       Optional. Time range input specifically for the filter's population
       query.
       
      .google.cloud.chronicle.v1.DashboardQuery.Input input = 4 [(.google.api.field_behavior) = OPTIONAL];
    • setInput

       Optional. Time range input specifically for the filter's population
       query.
       
      .google.cloud.chronicle.v1.DashboardQuery.Input input = 4 [(.google.api.field_behavior) = OPTIONAL];
    • mergeInput

       Optional. Time range input specifically for the filter's population
       query.
       
      .google.cloud.chronicle.v1.DashboardQuery.Input input = 4 [(.google.api.field_behavior) = OPTIONAL];
    • clearInput

       Optional. Time range input specifically for the filter's population
       query.
       
      .google.cloud.chronicle.v1.DashboardQuery.Input input = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getInputBuilder

      public DashboardQuery.Input.Builder getInputBuilder()
       Optional. Time range input specifically for the filter's population
       query.
       
      .google.cloud.chronicle.v1.DashboardQuery.Input input = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getInputOrBuilder

      public DashboardQuery.InputOrBuilder getInputOrBuilder()
       Optional. Time range input specifically for the filter's population
       query.
       
      .google.cloud.chronicle.v1.DashboardQuery.Input input = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInputOrBuilder in interface AdvancedFilterConfig.QueryOptionsOrBuilder