Interface SearchKnowledgeRequest.SearchConfig.BoostSpecsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SearchKnowledgeRequest.SearchConfig.BoostSpecs, SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder
Enclosing class:
SearchKnowledgeRequest.SearchConfig

public static interface SearchKnowledgeRequest.SearchConfig.BoostSpecsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getDataStoresList

      List<String> getDataStoresList()
       Optional. Data Stores where the boosting configuration is applied. The
       full names of the referenced data stores. Formats:
       `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`
       `projects/{project}/locations/{location}/dataStores/{data_store}`
       
      repeated string data_stores = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      A list containing the dataStores.
    • getDataStoresCount

      int getDataStoresCount()
       Optional. Data Stores where the boosting configuration is applied. The
       full names of the referenced data stores. Formats:
       `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`
       `projects/{project}/locations/{location}/dataStores/{data_store}`
       
      repeated string data_stores = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The count of dataStores.
    • getDataStores

      String getDataStores(int index)
       Optional. Data Stores where the boosting configuration is applied. The
       full names of the referenced data stores. Formats:
       `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`
       `projects/{project}/locations/{location}/dataStores/{data_store}`
       
      repeated string data_stores = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the element to return.
      Returns:
      The dataStores at the given index.
    • getDataStoresBytes

      com.google.protobuf.ByteString getDataStoresBytes(int index)
       Optional. Data Stores where the boosting configuration is applied. The
       full names of the referenced data stores. Formats:
       `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`
       `projects/{project}/locations/{location}/dataStores/{data_store}`
       
      repeated string data_stores = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the dataStores at the given index.
    • getSpecList

       Optional. A list of boosting specifications.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getSpec

       Optional. A list of boosting specifications.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getSpecCount

      int getSpecCount()
       Optional. A list of boosting specifications.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getSpecOrBuilderList

       Optional. A list of boosting specifications.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getSpecOrBuilder

       Optional. A list of boosting specifications.
       
      repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];