All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yelp.nrtsearch.server.grpc.FunctionScoreQuery Maven / Gradle / Ivy

The newest version!
// 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;

/**
 * 
 * A query that wraps another query and uses custom scoring logic to compute the wrapped query's score.
 * 
* * Protobuf type {@code luceneserver.FunctionScoreQuery} */ public final class FunctionScoreQuery extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:luceneserver.FunctionScoreQuery) FunctionScoreQueryOrBuilder { private static final long serialVersionUID = 0L; // Use FunctionScoreQuery.newBuilder() to construct. private FunctionScoreQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FunctionScoreQuery() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new FunctionScoreQuery(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yelp.nrtsearch.server.grpc.SearchResponseProto.internal_static_luceneserver_FunctionScoreQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yelp.nrtsearch.server.grpc.SearchResponseProto.internal_static_luceneserver_FunctionScoreQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yelp.nrtsearch.server.grpc.FunctionScoreQuery.class, com.yelp.nrtsearch.server.grpc.FunctionScoreQuery.Builder.class); } private int bitField0_; public static final int QUERY_FIELD_NUMBER = 1; private com.yelp.nrtsearch.server.grpc.Query query_; /** *
   * Input query
   * 
* * .luceneserver.Query query = 1; * @return Whether the query field is set. */ @java.lang.Override public boolean hasQuery() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * Input query
   * 
* * .luceneserver.Query query = 1; * @return The query. */ @java.lang.Override public com.yelp.nrtsearch.server.grpc.Query getQuery() { return query_ == null ? com.yelp.nrtsearch.server.grpc.Query.getDefaultInstance() : query_; } /** *
   * Input query
   * 
* * .luceneserver.Query query = 1; */ @java.lang.Override public com.yelp.nrtsearch.server.grpc.QueryOrBuilder getQueryOrBuilder() { return query_ == null ? com.yelp.nrtsearch.server.grpc.Query.getDefaultInstance() : query_; } public static final int SCRIPT_FIELD_NUMBER = 2; private com.yelp.nrtsearch.server.grpc.Script script_; /** *
   * script definition to compute a custom document score
   * 
* * .luceneserver.Script script = 2; * @return Whether the script field is set. */ @java.lang.Override public boolean hasScript() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * script definition to compute a custom document score
   * 
* * .luceneserver.Script script = 2; * @return The script. */ @java.lang.Override public com.yelp.nrtsearch.server.grpc.Script getScript() { return script_ == null ? com.yelp.nrtsearch.server.grpc.Script.getDefaultInstance() : script_; } /** *
   * script definition to compute a custom document score
   * 
* * .luceneserver.Script script = 2; */ @java.lang.Override public com.yelp.nrtsearch.server.grpc.ScriptOrBuilder getScriptOrBuilder() { return script_ == null ? com.yelp.nrtsearch.server.grpc.Script.getDefaultInstance() : script_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getQuery()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getScript()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getQuery()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getScript()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yelp.nrtsearch.server.grpc.FunctionScoreQuery)) { return super.equals(obj); } com.yelp.nrtsearch.server.grpc.FunctionScoreQuery other = (com.yelp.nrtsearch.server.grpc.FunctionScoreQuery) obj; if (hasQuery() != other.hasQuery()) return false; if (hasQuery()) { if (!getQuery() .equals(other.getQuery())) return false; } if (hasScript() != other.hasScript()) return false; if (hasScript()) { if (!getScript() .equals(other.getScript())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasQuery()) { hash = (37 * hash) + QUERY_FIELD_NUMBER; hash = (53 * hash) + getQuery().hashCode(); } if (hasScript()) { hash = (37 * hash) + SCRIPT_FIELD_NUMBER; hash = (53 * hash) + getScript().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.yelp.nrtsearch.server.grpc.FunctionScoreQuery parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yelp.nrtsearch.server.grpc.FunctionScoreQuery parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yelp.nrtsearch.server.grpc.FunctionScoreQuery parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yelp.nrtsearch.server.grpc.FunctionScoreQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yelp.nrtsearch.server.grpc.FunctionScoreQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yelp.nrtsearch.server.grpc.FunctionScoreQuery parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yelp.nrtsearch.server.grpc.FunctionScoreQuery parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yelp.nrtsearch.server.grpc.FunctionScoreQuery parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.yelp.nrtsearch.server.grpc.FunctionScoreQuery parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yelp.nrtsearch.server.grpc.FunctionScoreQuery parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.yelp.nrtsearch.server.grpc.FunctionScoreQuery parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yelp.nrtsearch.server.grpc.FunctionScoreQuery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.yelp.nrtsearch.server.grpc.FunctionScoreQuery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * A query that wraps another query and uses custom scoring logic to compute the wrapped query's score.
   * 
* * Protobuf type {@code luceneserver.FunctionScoreQuery} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:luceneserver.FunctionScoreQuery) com.yelp.nrtsearch.server.grpc.FunctionScoreQueryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yelp.nrtsearch.server.grpc.SearchResponseProto.internal_static_luceneserver_FunctionScoreQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yelp.nrtsearch.server.grpc.SearchResponseProto.internal_static_luceneserver_FunctionScoreQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yelp.nrtsearch.server.grpc.FunctionScoreQuery.class, com.yelp.nrtsearch.server.grpc.FunctionScoreQuery.Builder.class); } // Construct using com.yelp.nrtsearch.server.grpc.FunctionScoreQuery.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getQueryFieldBuilder(); getScriptFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; query_ = null; if (queryBuilder_ != null) { queryBuilder_.dispose(); queryBuilder_ = null; } script_ = null; if (scriptBuilder_ != null) { scriptBuilder_.dispose(); scriptBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yelp.nrtsearch.server.grpc.SearchResponseProto.internal_static_luceneserver_FunctionScoreQuery_descriptor; } @java.lang.Override public com.yelp.nrtsearch.server.grpc.FunctionScoreQuery getDefaultInstanceForType() { return com.yelp.nrtsearch.server.grpc.FunctionScoreQuery.getDefaultInstance(); } @java.lang.Override public com.yelp.nrtsearch.server.grpc.FunctionScoreQuery build() { com.yelp.nrtsearch.server.grpc.FunctionScoreQuery result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yelp.nrtsearch.server.grpc.FunctionScoreQuery buildPartial() { com.yelp.nrtsearch.server.grpc.FunctionScoreQuery result = new com.yelp.nrtsearch.server.grpc.FunctionScoreQuery(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.yelp.nrtsearch.server.grpc.FunctionScoreQuery result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.query_ = queryBuilder_ == null ? query_ : queryBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.script_ = scriptBuilder_ == null ? script_ : scriptBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.yelp.nrtsearch.server.grpc.FunctionScoreQuery) { return mergeFrom((com.yelp.nrtsearch.server.grpc.FunctionScoreQuery)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yelp.nrtsearch.server.grpc.FunctionScoreQuery other) { if (other == com.yelp.nrtsearch.server.grpc.FunctionScoreQuery.getDefaultInstance()) return this; if (other.hasQuery()) { mergeQuery(other.getQuery()); } if (other.hasScript()) { mergeScript(other.getScript()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getQueryFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getScriptFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.yelp.nrtsearch.server.grpc.Query query_; private com.google.protobuf.SingleFieldBuilderV3< com.yelp.nrtsearch.server.grpc.Query, com.yelp.nrtsearch.server.grpc.Query.Builder, com.yelp.nrtsearch.server.grpc.QueryOrBuilder> queryBuilder_; /** *
     * Input query
     * 
* * .luceneserver.Query query = 1; * @return Whether the query field is set. */ public boolean hasQuery() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Input query
     * 
* * .luceneserver.Query query = 1; * @return The query. */ public com.yelp.nrtsearch.server.grpc.Query getQuery() { if (queryBuilder_ == null) { return query_ == null ? com.yelp.nrtsearch.server.grpc.Query.getDefaultInstance() : query_; } else { return queryBuilder_.getMessage(); } } /** *
     * Input query
     * 
* * .luceneserver.Query query = 1; */ public Builder setQuery(com.yelp.nrtsearch.server.grpc.Query value) { if (queryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } query_ = value; } else { queryBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * Input query
     * 
* * .luceneserver.Query query = 1; */ public Builder setQuery( com.yelp.nrtsearch.server.grpc.Query.Builder builderForValue) { if (queryBuilder_ == null) { query_ = builderForValue.build(); } else { queryBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * Input query
     * 
* * .luceneserver.Query query = 1; */ public Builder mergeQuery(com.yelp.nrtsearch.server.grpc.Query value) { if (queryBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && query_ != null && query_ != com.yelp.nrtsearch.server.grpc.Query.getDefaultInstance()) { getQueryBuilder().mergeFrom(value); } else { query_ = value; } } else { queryBuilder_.mergeFrom(value); } if (query_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
     * Input query
     * 
* * .luceneserver.Query query = 1; */ public Builder clearQuery() { bitField0_ = (bitField0_ & ~0x00000001); query_ = null; if (queryBuilder_ != null) { queryBuilder_.dispose(); queryBuilder_ = null; } onChanged(); return this; } /** *
     * Input query
     * 
* * .luceneserver.Query query = 1; */ public com.yelp.nrtsearch.server.grpc.Query.Builder getQueryBuilder() { bitField0_ |= 0x00000001; onChanged(); return getQueryFieldBuilder().getBuilder(); } /** *
     * Input query
     * 
* * .luceneserver.Query query = 1; */ public com.yelp.nrtsearch.server.grpc.QueryOrBuilder getQueryOrBuilder() { if (queryBuilder_ != null) { return queryBuilder_.getMessageOrBuilder(); } else { return query_ == null ? com.yelp.nrtsearch.server.grpc.Query.getDefaultInstance() : query_; } } /** *
     * Input query
     * 
* * .luceneserver.Query query = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yelp.nrtsearch.server.grpc.Query, com.yelp.nrtsearch.server.grpc.Query.Builder, com.yelp.nrtsearch.server.grpc.QueryOrBuilder> getQueryFieldBuilder() { if (queryBuilder_ == null) { queryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yelp.nrtsearch.server.grpc.Query, com.yelp.nrtsearch.server.grpc.Query.Builder, com.yelp.nrtsearch.server.grpc.QueryOrBuilder>( getQuery(), getParentForChildren(), isClean()); query_ = null; } return queryBuilder_; } private com.yelp.nrtsearch.server.grpc.Script script_; private com.google.protobuf.SingleFieldBuilderV3< com.yelp.nrtsearch.server.grpc.Script, com.yelp.nrtsearch.server.grpc.Script.Builder, com.yelp.nrtsearch.server.grpc.ScriptOrBuilder> scriptBuilder_; /** *
     * script definition to compute a custom document score
     * 
* * .luceneserver.Script script = 2; * @return Whether the script field is set. */ public boolean hasScript() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * script definition to compute a custom document score
     * 
* * .luceneserver.Script script = 2; * @return The script. */ public com.yelp.nrtsearch.server.grpc.Script getScript() { if (scriptBuilder_ == null) { return script_ == null ? com.yelp.nrtsearch.server.grpc.Script.getDefaultInstance() : script_; } else { return scriptBuilder_.getMessage(); } } /** *
     * script definition to compute a custom document score
     * 
* * .luceneserver.Script script = 2; */ public Builder setScript(com.yelp.nrtsearch.server.grpc.Script value) { if (scriptBuilder_ == null) { if (value == null) { throw new NullPointerException(); } script_ = value; } else { scriptBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * script definition to compute a custom document score
     * 
* * .luceneserver.Script script = 2; */ public Builder setScript( com.yelp.nrtsearch.server.grpc.Script.Builder builderForValue) { if (scriptBuilder_ == null) { script_ = builderForValue.build(); } else { scriptBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * script definition to compute a custom document score
     * 
* * .luceneserver.Script script = 2; */ public Builder mergeScript(com.yelp.nrtsearch.server.grpc.Script value) { if (scriptBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && script_ != null && script_ != com.yelp.nrtsearch.server.grpc.Script.getDefaultInstance()) { getScriptBuilder().mergeFrom(value); } else { script_ = value; } } else { scriptBuilder_.mergeFrom(value); } if (script_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** *
     * script definition to compute a custom document score
     * 
* * .luceneserver.Script script = 2; */ public Builder clearScript() { bitField0_ = (bitField0_ & ~0x00000002); script_ = null; if (scriptBuilder_ != null) { scriptBuilder_.dispose(); scriptBuilder_ = null; } onChanged(); return this; } /** *
     * script definition to compute a custom document score
     * 
* * .luceneserver.Script script = 2; */ public com.yelp.nrtsearch.server.grpc.Script.Builder getScriptBuilder() { bitField0_ |= 0x00000002; onChanged(); return getScriptFieldBuilder().getBuilder(); } /** *
     * script definition to compute a custom document score
     * 
* * .luceneserver.Script script = 2; */ public com.yelp.nrtsearch.server.grpc.ScriptOrBuilder getScriptOrBuilder() { if (scriptBuilder_ != null) { return scriptBuilder_.getMessageOrBuilder(); } else { return script_ == null ? com.yelp.nrtsearch.server.grpc.Script.getDefaultInstance() : script_; } } /** *
     * script definition to compute a custom document score
     * 
* * .luceneserver.Script script = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.yelp.nrtsearch.server.grpc.Script, com.yelp.nrtsearch.server.grpc.Script.Builder, com.yelp.nrtsearch.server.grpc.ScriptOrBuilder> getScriptFieldBuilder() { if (scriptBuilder_ == null) { scriptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yelp.nrtsearch.server.grpc.Script, com.yelp.nrtsearch.server.grpc.Script.Builder, com.yelp.nrtsearch.server.grpc.ScriptOrBuilder>( getScript(), getParentForChildren(), isClean()); script_ = null; } return scriptBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:luceneserver.FunctionScoreQuery) } // @@protoc_insertion_point(class_scope:luceneserver.FunctionScoreQuery) private static final com.yelp.nrtsearch.server.grpc.FunctionScoreQuery DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yelp.nrtsearch.server.grpc.FunctionScoreQuery(); } public static com.yelp.nrtsearch.server.grpc.FunctionScoreQuery getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public FunctionScoreQuery parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yelp.nrtsearch.server.grpc.FunctionScoreQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy