com.yelp.nrtsearch.server.grpc.SuggestResponseProto 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 final class SuggestResponseProto {
private SuggestResponseProto() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
static final com.google.protobuf.Descriptors.Descriptor
internal_static_luceneserver_BuildSuggestRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_luceneserver_BuildSuggestRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_luceneserver_BuildSuggestResponse_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_luceneserver_BuildSuggestResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_luceneserver_SuggestLookupRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_luceneserver_SuggestLookupRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_luceneserver_SuggestLookupResponse_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_luceneserver_SuggestLookupResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_luceneserver_OneSuggestLookupResponse_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_luceneserver_OneSuggestLookupResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_luceneserver_SuggestLookupHighlight_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_luceneserver_SuggestLookupHighlight_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_luceneserver_OneHighlight_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_luceneserver_OneHighlight_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_luceneserver_SuggestLocalSource_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_luceneserver_SuggestLocalSource_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_luceneserver_SuggestNonLocalSource_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_luceneserver_SuggestNonLocalSource_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_luceneserver_InfixSuggester_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_luceneserver_InfixSuggester_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_luceneserver_AnalyzingSuggester_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_luceneserver_AnalyzingSuggester_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_luceneserver_FuzzySuggester_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_luceneserver_FuzzySuggester_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_luceneserver_CompletionInfixSuggester_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_luceneserver_CompletionInfixSuggester_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_luceneserver_FuzzyInfixSuggester_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_luceneserver_FuzzyInfixSuggester_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_luceneserver_NrtsearchIndex_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_luceneserver_NrtsearchIndex_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\034yelp/nrtsearch/suggest.proto\022\014lucenese" +
"rver\"\212\004\n\023BuildSuggestRequest\022\021\n\tindexNam" +
"e\030\001 \001(\t\0226\n\016infixSuggester\030\002 \001(\0132\034.lucene" +
"server.InfixSuggesterH\000\022>\n\022analyzingSugg" +
"ester\030\003 \001(\0132 .luceneserver.AnalyzingSugg" +
"esterH\000\0226\n\016fuzzySuggester\030\004 \001(\0132\034.lucene" +
"server.FuzzySuggesterH\000\022J\n\030completionInf" +
"ixSuggester\030\005 \001(\0132&.luceneserver.Complet" +
"ionInfixSuggesterH\000\022@\n\023fuzzyInfixSuggest" +
"er\030\006 \001(\0132!.luceneserver.FuzzyInfixSugges" +
"terH\000\0227\n\013localSource\030\007 \001(\0132 .luceneserve" +
"r.SuggestLocalSourceH\001\022=\n\016nonLocalSource" +
"\030\010 \001(\0132#.luceneserver.SuggestNonLocalSou" +
"rceH\001\022\023\n\013suggestName\030\t \001(\tB\013\n\tSuggesterB" +
"\010\n\006Source\":\n\024BuildSuggestResponse\022\023\n\013siz" +
"eInBytes\030\001 \001(\003\022\r\n\005count\030\002 \001(\003\"\232\001\n\024Sugges" +
"tLookupRequest\022\021\n\tindexName\030\001 \001(\t\022\023\n\013sug" +
"gestName\030\002 \001(\t\022\014\n\004text\030\003 \001(\t\022\021\n\thighligh" +
"t\030\004 \001(\010\022\030\n\020allTermsRequired\030\005 \001(\010\022\020\n\010con" +
"texts\030\006 \003(\t\022\r\n\005count\030\007 \001(\005\"P\n\025SuggestLoo" +
"kupResponse\0227\n\007results\030\001 \003(\0132&.luceneser" +
"ver.OneSuggestLookupResponse\"\242\001\n\030OneSugg" +
"estLookupResponse\022F\n\026suggestLookupHighli" +
"ght\030\001 \001(\0132$.luceneserver.SuggestLookupHi" +
"ghlightH\000\022\r\n\003key\030\002 \001(\tH\000\022\016\n\006weight\030\003 \001(\003" +
"\022\017\n\007payload\030\004 \001(\tB\016\n\014HighlightKey\"J\n\026Sug" +
"gestLookupHighlight\0220\n\014oneHighlight\030\001 \003(" +
"\0132\032.luceneserver.OneHighlight\"+\n\014OneHigh" +
"light\022\r\n\005isHit\030\001 \001(\010\022\014\n\004text\030\002 \001(\t\"l\n\022Su" +
"ggestLocalSource\022\021\n\tlocalFile\030\001 \001(\t\022\023\n\013h" +
"asContexts\030\002 \001(\010\022\022\n\nhasPayload\030\003 \001(\010\022\032\n\022" +
"hasMultiSearchText\030\004 \001(\010\"\366\001\n\025SuggestNonL" +
"ocalSource\022\022\n\010indexGen\030\001 \001(\003H\000\022\021\n\007versio" +
"n\030\002 \001(\003H\000\022\022\n\010snapshot\030\003 \001(\tH\000\022\024\n\014suggest" +
"Field\030\004 \001(\t\022\025\n\013weightField\030\005 \001(\tH\001\022\032\n\020we" +
"ightExpression\030\006 \001(\tH\001\022\024\n\014payloadField\030\007" +
" \001(\t\022\024\n\014contextField\030\010 \001(\t\022\027\n\017searchText" +
"Field\030\t \001(\tB\n\n\010SearcherB\010\n\006Weight\"P\n\016Inf" +
"ixSuggester\022\020\n\010analyzer\030\001 \001(\t\022\025\n\rindexAn" +
"alyzer\030\002 \001(\t\022\025\n\rqueryAnalyzer\030\003 \001(\t\"\301\001\n\022" +
"AnalyzingSuggester\022\020\n\010analyzer\030\001 \001(\t\022\025\n\r" +
"indexAnalyzer\030\002 \001(\t\022\025\n\rqueryAnalyzer\030\003 \001" +
"(\t\022&\n\036maxSurfaceFormsPerAnalyzedForm\030\004 \001" +
"(\005\022\032\n\022maxGraphExpansions\030\005 \001(\005\022\023\n\013preser" +
"veSep\030\006 \001(\010\022\022\n\nexactFirst\030\007 \001(\010\"\255\002\n\016Fuzz" +
"ySuggester\022\020\n\010analyzer\030\001 \001(\t\022\025\n\rindexAna" +
"lyzer\030\002 \001(\t\022\025\n\rqueryAnalyzer\030\003 \001(\t\022&\n\036ma" +
"xSurfaceFormsPerAnalyzedForm\030\004 \001(\005\022\032\n\022ma" +
"xGraphExpansions\030\005 \001(\005\022\023\n\013preserveSep\030\006 " +
"\001(\010\022\022\n\nexactFirst\030\007 \001(\010\022\026\n\016minFuzzyLengt" +
"h\030\010 \001(\005\022\026\n\016nonFuzzyPrefix\030\t \001(\005\022\020\n\010maxEd" +
"its\030\n \001(\005\022\026\n\016transpositions\030\013 \001(\010\022\024\n\014uni" +
"codeAware\030\014 \001(\010\"Z\n\030CompletionInfixSugges" +
"ter\022\020\n\010analyzer\030\001 \001(\t\022\025\n\rindexAnalyzer\030\002" +
" \001(\t\022\025\n\rqueryAnalyzer\030\003 \001(\t\"\305\001\n\023FuzzyInf" +
"ixSuggester\022\020\n\010analyzer\030\001 \001(\t\022\025\n\rindexAn" +
"alyzer\030\002 \001(\t\022\025\n\rqueryAnalyzer\030\003 \001(\t\022\026\n\016m" +
"inFuzzyLength\030\004 \001(\005\022\026\n\016nonFuzzyPrefix\030\005 " +
"\001(\005\022\020\n\010maxEdits\030\006 \001(\005\022\026\n\016transpositions\030" +
"\007 \001(\010\022\024\n\014unicodeAware\030\010 \001(\010\"i\n\016Nrtsearch" +
"Index\022\020\n\010uniqueId\030\001 \001(\003\022\023\n\013searchTexts\030\002" +
" \003(\t\022\r\n\005score\030\003 \001(\003\022\020\n\010contexts\030\004 \003(\t\022\017\n" +
"\007payload\030\005 \001(\014BY\n\036com.yelp.nrtsearch.ser" +
"ver.grpcB\024SuggestResponseProtoP\001Z\031github" +
".com/Yelp/nrtsearch\242\002\003HLWb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_luceneserver_BuildSuggestRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_luceneserver_BuildSuggestRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_luceneserver_BuildSuggestRequest_descriptor,
new java.lang.String[] { "IndexName", "InfixSuggester", "AnalyzingSuggester", "FuzzySuggester", "CompletionInfixSuggester", "FuzzyInfixSuggester", "LocalSource", "NonLocalSource", "SuggestName", "Suggester", "Source", });
internal_static_luceneserver_BuildSuggestResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_luceneserver_BuildSuggestResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_luceneserver_BuildSuggestResponse_descriptor,
new java.lang.String[] { "SizeInBytes", "Count", });
internal_static_luceneserver_SuggestLookupRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_luceneserver_SuggestLookupRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_luceneserver_SuggestLookupRequest_descriptor,
new java.lang.String[] { "IndexName", "SuggestName", "Text", "Highlight", "AllTermsRequired", "Contexts", "Count", });
internal_static_luceneserver_SuggestLookupResponse_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_luceneserver_SuggestLookupResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_luceneserver_SuggestLookupResponse_descriptor,
new java.lang.String[] { "Results", });
internal_static_luceneserver_OneSuggestLookupResponse_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_luceneserver_OneSuggestLookupResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_luceneserver_OneSuggestLookupResponse_descriptor,
new java.lang.String[] { "SuggestLookupHighlight", "Key", "Weight", "Payload", "HighlightKey", });
internal_static_luceneserver_SuggestLookupHighlight_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_luceneserver_SuggestLookupHighlight_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_luceneserver_SuggestLookupHighlight_descriptor,
new java.lang.String[] { "OneHighlight", });
internal_static_luceneserver_OneHighlight_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_luceneserver_OneHighlight_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_luceneserver_OneHighlight_descriptor,
new java.lang.String[] { "IsHit", "Text", });
internal_static_luceneserver_SuggestLocalSource_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_luceneserver_SuggestLocalSource_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_luceneserver_SuggestLocalSource_descriptor,
new java.lang.String[] { "LocalFile", "HasContexts", "HasPayload", "HasMultiSearchText", });
internal_static_luceneserver_SuggestNonLocalSource_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_luceneserver_SuggestNonLocalSource_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_luceneserver_SuggestNonLocalSource_descriptor,
new java.lang.String[] { "IndexGen", "Version", "Snapshot", "SuggestField", "WeightField", "WeightExpression", "PayloadField", "ContextField", "SearchTextField", "Searcher", "Weight", });
internal_static_luceneserver_InfixSuggester_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_luceneserver_InfixSuggester_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_luceneserver_InfixSuggester_descriptor,
new java.lang.String[] { "Analyzer", "IndexAnalyzer", "QueryAnalyzer", });
internal_static_luceneserver_AnalyzingSuggester_descriptor =
getDescriptor().getMessageTypes().get(10);
internal_static_luceneserver_AnalyzingSuggester_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_luceneserver_AnalyzingSuggester_descriptor,
new java.lang.String[] { "Analyzer", "IndexAnalyzer", "QueryAnalyzer", "MaxSurfaceFormsPerAnalyzedForm", "MaxGraphExpansions", "PreserveSep", "ExactFirst", });
internal_static_luceneserver_FuzzySuggester_descriptor =
getDescriptor().getMessageTypes().get(11);
internal_static_luceneserver_FuzzySuggester_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_luceneserver_FuzzySuggester_descriptor,
new java.lang.String[] { "Analyzer", "IndexAnalyzer", "QueryAnalyzer", "MaxSurfaceFormsPerAnalyzedForm", "MaxGraphExpansions", "PreserveSep", "ExactFirst", "MinFuzzyLength", "NonFuzzyPrefix", "MaxEdits", "Transpositions", "UnicodeAware", });
internal_static_luceneserver_CompletionInfixSuggester_descriptor =
getDescriptor().getMessageTypes().get(12);
internal_static_luceneserver_CompletionInfixSuggester_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_luceneserver_CompletionInfixSuggester_descriptor,
new java.lang.String[] { "Analyzer", "IndexAnalyzer", "QueryAnalyzer", });
internal_static_luceneserver_FuzzyInfixSuggester_descriptor =
getDescriptor().getMessageTypes().get(13);
internal_static_luceneserver_FuzzyInfixSuggester_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_luceneserver_FuzzyInfixSuggester_descriptor,
new java.lang.String[] { "Analyzer", "IndexAnalyzer", "QueryAnalyzer", "MinFuzzyLength", "NonFuzzyPrefix", "MaxEdits", "Transpositions", "UnicodeAware", });
internal_static_luceneserver_NrtsearchIndex_descriptor =
getDescriptor().getMessageTypes().get(14);
internal_static_luceneserver_NrtsearchIndex_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_luceneserver_NrtsearchIndex_descriptor,
new java.lang.String[] { "UniqueId", "SearchTexts", "Score", "Contexts", "Payload", });
}
// @@protoc_insertion_point(outer_class_scope)
}