Class SearchKnowledgeRequest.SearchConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SearchKnowledgeRequest.SearchConfig.Builder>
com.google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.Builder
All Implemented Interfaces:
SearchKnowledgeRequest.SearchConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SearchKnowledgeRequest.SearchConfig

public static final class SearchKnowledgeRequest.SearchConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<SearchKnowledgeRequest.SearchConfig.Builder> implements SearchKnowledgeRequest.SearchConfigOrBuilder
 Configuration specific to search queries with data stores.
 
Protobuf type google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig
  • 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<SearchKnowledgeRequest.SearchConfig.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<SearchKnowledgeRequest.SearchConfig.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<SearchKnowledgeRequest.SearchConfig.Builder>
    • getDefaultInstanceForType

      public SearchKnowledgeRequest.SearchConfig 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 SearchKnowledgeRequest.SearchConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public SearchKnowledgeRequest.SearchConfig.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<SearchKnowledgeRequest.SearchConfig.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<SearchKnowledgeRequest.SearchConfig.Builder>
    • mergeFrom

      public SearchKnowledgeRequest.SearchConfig.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<SearchKnowledgeRequest.SearchConfig.Builder>
      Throws:
      IOException
    • getBoostSpecsList

       Optional. Boost specifications for data stores.
      
       Maps from datastore name to their boost configuration. Do not specify
       more than one BoostSpecs for each datastore name. If multiple BoostSpecs
       are provided for the same datastore name, the behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBoostSpecsList in interface SearchKnowledgeRequest.SearchConfigOrBuilder
    • getBoostSpecsCount

      public int getBoostSpecsCount()
       Optional. Boost specifications for data stores.
      
       Maps from datastore name to their boost configuration. Do not specify
       more than one BoostSpecs for each datastore name. If multiple BoostSpecs
       are provided for the same datastore name, the behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBoostSpecsCount in interface SearchKnowledgeRequest.SearchConfigOrBuilder
    • getBoostSpecs

      public SearchKnowledgeRequest.SearchConfig.BoostSpecs getBoostSpecs(int index)
       Optional. Boost specifications for data stores.
      
       Maps from datastore name to their boost configuration. Do not specify
       more than one BoostSpecs for each datastore name. If multiple BoostSpecs
       are provided for the same datastore name, the behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBoostSpecs in interface SearchKnowledgeRequest.SearchConfigOrBuilder
    • setBoostSpecs

       Optional. Boost specifications for data stores.
      
       Maps from datastore name to their boost configuration. Do not specify
       more than one BoostSpecs for each datastore name. If multiple BoostSpecs
       are provided for the same datastore name, the behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
    • setBoostSpecs

       Optional. Boost specifications for data stores.
      
       Maps from datastore name to their boost configuration. Do not specify
       more than one BoostSpecs for each datastore name. If multiple BoostSpecs
       are provided for the same datastore name, the behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addBoostSpecs

       Optional. Boost specifications for data stores.
      
       Maps from datastore name to their boost configuration. Do not specify
       more than one BoostSpecs for each datastore name. If multiple BoostSpecs
       are provided for the same datastore name, the behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addBoostSpecs

       Optional. Boost specifications for data stores.
      
       Maps from datastore name to their boost configuration. Do not specify
       more than one BoostSpecs for each datastore name. If multiple BoostSpecs
       are provided for the same datastore name, the behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addBoostSpecs

       Optional. Boost specifications for data stores.
      
       Maps from datastore name to their boost configuration. Do not specify
       more than one BoostSpecs for each datastore name. If multiple BoostSpecs
       are provided for the same datastore name, the behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addBoostSpecs

       Optional. Boost specifications for data stores.
      
       Maps from datastore name to their boost configuration. Do not specify
       more than one BoostSpecs for each datastore name. If multiple BoostSpecs
       are provided for the same datastore name, the behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addAllBoostSpecs

       Optional. Boost specifications for data stores.
      
       Maps from datastore name to their boost configuration. Do not specify
       more than one BoostSpecs for each datastore name. If multiple BoostSpecs
       are provided for the same datastore name, the behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
    • clearBoostSpecs

       Optional. Boost specifications for data stores.
      
       Maps from datastore name to their boost configuration. Do not specify
       more than one BoostSpecs for each datastore name. If multiple BoostSpecs
       are provided for the same datastore name, the behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
    • removeBoostSpecs

      public SearchKnowledgeRequest.SearchConfig.Builder removeBoostSpecs(int index)
       Optional. Boost specifications for data stores.
      
       Maps from datastore name to their boost configuration. Do not specify
       more than one BoostSpecs for each datastore name. If multiple BoostSpecs
       are provided for the same datastore name, the behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getBoostSpecsBuilder

      public SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder getBoostSpecsBuilder(int index)
       Optional. Boost specifications for data stores.
      
       Maps from datastore name to their boost configuration. Do not specify
       more than one BoostSpecs for each datastore name. If multiple BoostSpecs
       are provided for the same datastore name, the behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getBoostSpecsOrBuilder

      public SearchKnowledgeRequest.SearchConfig.BoostSpecsOrBuilder getBoostSpecsOrBuilder(int index)
       Optional. Boost specifications for data stores.
      
       Maps from datastore name to their boost configuration. Do not specify
       more than one BoostSpecs for each datastore name. If multiple BoostSpecs
       are provided for the same datastore name, the behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBoostSpecsOrBuilder in interface SearchKnowledgeRequest.SearchConfigOrBuilder
    • getBoostSpecsOrBuilderList

      public List<? extends SearchKnowledgeRequest.SearchConfig.BoostSpecsOrBuilder> getBoostSpecsOrBuilderList()
       Optional. Boost specifications for data stores.
      
       Maps from datastore name to their boost configuration. Do not specify
       more than one BoostSpecs for each datastore name. If multiple BoostSpecs
       are provided for the same datastore name, the behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBoostSpecsOrBuilderList in interface SearchKnowledgeRequest.SearchConfigOrBuilder
    • addBoostSpecsBuilder

       Optional. Boost specifications for data stores.
      
       Maps from datastore name to their boost configuration. Do not specify
       more than one BoostSpecs for each datastore name. If multiple BoostSpecs
       are provided for the same datastore name, the behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addBoostSpecsBuilder

      public SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder addBoostSpecsBuilder(int index)
       Optional. Boost specifications for data stores.
      
       Maps from datastore name to their boost configuration. Do not specify
       more than one BoostSpecs for each datastore name. If multiple BoostSpecs
       are provided for the same datastore name, the behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getBoostSpecsBuilderList

       Optional. Boost specifications for data stores.
      
       Maps from datastore name to their boost configuration. Do not specify
       more than one BoostSpecs for each datastore name. If multiple BoostSpecs
       are provided for the same datastore name, the behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getFilterSpecsList

       Optional. Filter specification for data store queries.
      
       TMaps from datastore name to the filter expression for that datastore. Do
       not specify more than one FilterSpecs for each datastore name. If
       multiple FilterSpecs are provided for the same datastore name, the
       behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilterSpecsList in interface SearchKnowledgeRequest.SearchConfigOrBuilder
    • getFilterSpecsCount

      public int getFilterSpecsCount()
       Optional. Filter specification for data store queries.
      
       TMaps from datastore name to the filter expression for that datastore. Do
       not specify more than one FilterSpecs for each datastore name. If
       multiple FilterSpecs are provided for the same datastore name, the
       behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilterSpecsCount in interface SearchKnowledgeRequest.SearchConfigOrBuilder
    • getFilterSpecs

      public SearchKnowledgeRequest.SearchConfig.FilterSpecs getFilterSpecs(int index)
       Optional. Filter specification for data store queries.
      
       TMaps from datastore name to the filter expression for that datastore. Do
       not specify more than one FilterSpecs for each datastore name. If
       multiple FilterSpecs are provided for the same datastore name, the
       behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilterSpecs in interface SearchKnowledgeRequest.SearchConfigOrBuilder
    • setFilterSpecs

       Optional. Filter specification for data store queries.
      
       TMaps from datastore name to the filter expression for that datastore. Do
       not specify more than one FilterSpecs for each datastore name. If
       multiple FilterSpecs are provided for the same datastore name, the
       behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setFilterSpecs

       Optional. Filter specification for data store queries.
      
       TMaps from datastore name to the filter expression for that datastore. Do
       not specify more than one FilterSpecs for each datastore name. If
       multiple FilterSpecs are provided for the same datastore name, the
       behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addFilterSpecs

       Optional. Filter specification for data store queries.
      
       TMaps from datastore name to the filter expression for that datastore. Do
       not specify more than one FilterSpecs for each datastore name. If
       multiple FilterSpecs are provided for the same datastore name, the
       behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addFilterSpecs

       Optional. Filter specification for data store queries.
      
       TMaps from datastore name to the filter expression for that datastore. Do
       not specify more than one FilterSpecs for each datastore name. If
       multiple FilterSpecs are provided for the same datastore name, the
       behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addFilterSpecs

       Optional. Filter specification for data store queries.
      
       TMaps from datastore name to the filter expression for that datastore. Do
       not specify more than one FilterSpecs for each datastore name. If
       multiple FilterSpecs are provided for the same datastore name, the
       behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addFilterSpecs

       Optional. Filter specification for data store queries.
      
       TMaps from datastore name to the filter expression for that datastore. Do
       not specify more than one FilterSpecs for each datastore name. If
       multiple FilterSpecs are provided for the same datastore name, the
       behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addAllFilterSpecs

       Optional. Filter specification for data store queries.
      
       TMaps from datastore name to the filter expression for that datastore. Do
       not specify more than one FilterSpecs for each datastore name. If
       multiple FilterSpecs are provided for the same datastore name, the
       behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearFilterSpecs

       Optional. Filter specification for data store queries.
      
       TMaps from datastore name to the filter expression for that datastore. Do
       not specify more than one FilterSpecs for each datastore name. If
       multiple FilterSpecs are provided for the same datastore name, the
       behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
    • removeFilterSpecs

      public SearchKnowledgeRequest.SearchConfig.Builder removeFilterSpecs(int index)
       Optional. Filter specification for data store queries.
      
       TMaps from datastore name to the filter expression for that datastore. Do
       not specify more than one FilterSpecs for each datastore name. If
       multiple FilterSpecs are provided for the same datastore name, the
       behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getFilterSpecsBuilder

      public SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder getFilterSpecsBuilder(int index)
       Optional. Filter specification for data store queries.
      
       TMaps from datastore name to the filter expression for that datastore. Do
       not specify more than one FilterSpecs for each datastore name. If
       multiple FilterSpecs are provided for the same datastore name, the
       behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getFilterSpecsOrBuilder

      public SearchKnowledgeRequest.SearchConfig.FilterSpecsOrBuilder getFilterSpecsOrBuilder(int index)
       Optional. Filter specification for data store queries.
      
       TMaps from datastore name to the filter expression for that datastore. Do
       not specify more than one FilterSpecs for each datastore name. If
       multiple FilterSpecs are provided for the same datastore name, the
       behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilterSpecsOrBuilder in interface SearchKnowledgeRequest.SearchConfigOrBuilder
    • getFilterSpecsOrBuilderList

      public List<? extends SearchKnowledgeRequest.SearchConfig.FilterSpecsOrBuilder> getFilterSpecsOrBuilderList()
       Optional. Filter specification for data store queries.
      
       TMaps from datastore name to the filter expression for that datastore. Do
       not specify more than one FilterSpecs for each datastore name. If
       multiple FilterSpecs are provided for the same datastore name, the
       behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilterSpecsOrBuilderList in interface SearchKnowledgeRequest.SearchConfigOrBuilder
    • addFilterSpecsBuilder

       Optional. Filter specification for data store queries.
      
       TMaps from datastore name to the filter expression for that datastore. Do
       not specify more than one FilterSpecs for each datastore name. If
       multiple FilterSpecs are provided for the same datastore name, the
       behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addFilterSpecsBuilder

      public SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder addFilterSpecsBuilder(int index)
       Optional. Filter specification for data store queries.
      
       TMaps from datastore name to the filter expression for that datastore. Do
       not specify more than one FilterSpecs for each datastore name. If
       multiple FilterSpecs are provided for the same datastore name, the
       behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getFilterSpecsBuilderList

       Optional. Filter specification for data store queries.
      
       TMaps from datastore name to the filter expression for that datastore. Do
       not specify more than one FilterSpecs for each datastore name. If
       multiple FilterSpecs are provided for the same datastore name, the
       behavior is undefined.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];