com.yelp.nrtsearch.server.grpc.CompletionQueryOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clientlib Show documentation
Show all versions of clientlib Show documentation
GRPC Clientlib for nrtSearch
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: yelp/nrtsearch/search.proto
// Protobuf Java Version: 3.25.3
package com.yelp.nrtsearch.server.grpc;
public interface CompletionQueryOrBuilder extends
// @@protoc_insertion_point(interface_extends:luceneserver.CompletionQuery)
com.google.protobuf.MessageOrBuilder {
/**
*
* Name of the field in the document to query, must be a SuggestField
*
*
* string field = 1;
* @return The field.
*/
java.lang.String getField();
/**
*
* Name of the field in the document to query, must be a SuggestField
*
*
* string field = 1;
* @return The bytes for field.
*/
com.google.protobuf.ByteString
getFieldBytes();
/**
*
* Completion query type, used when constructing the lucene completion query
*
*
* .luceneserver.CompletionQueryType queryType = 2;
* @return The enum numeric value on the wire for queryType.
*/
int getQueryTypeValue();
/**
*
* Completion query type, used when constructing the lucene completion query
*
*
* .luceneserver.CompletionQueryType queryType = 2;
* @return The queryType.
*/
com.yelp.nrtsearch.server.grpc.CompletionQueryType getQueryType();
/**
*
* Completion text to be used in completion query
*
*
* string text = 3;
* @return The text.
*/
java.lang.String getText();
/**
*
* Completion text to be used in completion query
*
*
* string text = 3;
* @return The bytes for text.
*/
com.google.protobuf.ByteString
getTextBytes();
/**
*
* List of contexts to filter by. Each result will have at least one of the contexts specified
*
*
* repeated string contexts = 4;
* @return A list containing the contexts.
*/
java.util.List
getContextsList();
/**
*
* List of contexts to filter by. Each result will have at least one of the contexts specified
*
*
* repeated string contexts = 4;
* @return The count of contexts.
*/
int getContextsCount();
/**
*
* List of contexts to filter by. Each result will have at least one of the contexts specified
*
*
* repeated string contexts = 4;
* @param index The index of the element to return.
* @return The contexts at the given index.
*/
java.lang.String getContexts(int index);
/**
*
* List of contexts to filter by. Each result will have at least one of the contexts specified
*
*
* repeated string contexts = 4;
* @param index The index of the value to return.
* @return The bytes of the contexts at the given index.
*/
com.google.protobuf.ByteString
getContextsBytes(int index);
}