com.yelp.nrtsearch.server.grpc.OneSuggestLookupResponseOrBuilder 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/suggest.proto
// Protobuf Java Version: 3.25.3
package com.yelp.nrtsearch.server.grpc;
public interface OneSuggestLookupResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:luceneserver.OneSuggestLookupResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* Expert: custom Object to hold the result of a highlighted suggestion (currently only works with AnalyzingInfixSuggester)
*
*
* .luceneserver.SuggestLookupHighlight suggestLookupHighlight = 1;
* @return Whether the suggestLookupHighlight field is set.
*/
boolean hasSuggestLookupHighlight();
/**
*
* Expert: custom Object to hold the result of a highlighted suggestion (currently only works with AnalyzingInfixSuggester)
*
*
* .luceneserver.SuggestLookupHighlight suggestLookupHighlight = 1;
* @return The suggestLookupHighlight.
*/
com.yelp.nrtsearch.server.grpc.SuggestLookupHighlight getSuggestLookupHighlight();
/**
*
* Expert: custom Object to hold the result of a highlighted suggestion (currently only works with AnalyzingInfixSuggester)
*
*
* .luceneserver.SuggestLookupHighlight suggestLookupHighlight = 1;
*/
com.yelp.nrtsearch.server.grpc.SuggestLookupHighlightOrBuilder getSuggestLookupHighlightOrBuilder();
/**
*
* the key's text
*
*
* string key = 2;
* @return Whether the key field is set.
*/
boolean hasKey();
/**
*
* the key's text
*
*
* string key = 2;
* @return The key.
*/
java.lang.String getKey();
/**
*
* the key's text
*
*
* string key = 2;
* @return The bytes for key.
*/
com.google.protobuf.ByteString
getKeyBytes();
/**
*
*the key's weight
*
*
* int64 weight = 3;
* @return The weight.
*/
long getWeight();
/**
*
*the key's payload (null if not present)
*
*
* string payload = 4;
* @return The payload.
*/
java.lang.String getPayload();
/**
*
*the key's payload (null if not present)
*
*
* string payload = 4;
* @return The bytes for payload.
*/
com.google.protobuf.ByteString
getPayloadBytes();
com.yelp.nrtsearch.server.grpc.OneSuggestLookupResponse.HighlightKeyCase getHighlightKeyCase();
}