Class SearchKnowledgeRequest.SearchConfig

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

public static final class SearchKnowledgeRequest.SearchConfig extends com.google.protobuf.GeneratedMessage implements SearchKnowledgeRequest.SearchConfigOrBuilder
 Configuration specific to search queries with data stores.
 
Protobuf type google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig
See Also:
  • Field Details

    • BOOST_SPECS_FIELD_NUMBER

      public static final int BOOST_SPECS_FIELD_NUMBER
      See Also:
    • FILTER_SPECS_FIELD_NUMBER

      public static final int FILTER_SPECS_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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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 SearchKnowledgeRequest.SearchConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static SearchKnowledgeRequest.SearchConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static SearchKnowledgeRequest.SearchConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static SearchKnowledgeRequest.SearchConfig.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static SearchKnowledgeRequest.SearchConfig getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<SearchKnowledgeRequest.SearchConfig> 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 SearchKnowledgeRequest.SearchConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder