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

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

There is a newer version: 1.0.0-beta.1
Show 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;

/**
 * Protobuf type {@code luceneserver.CollectorResult}
 */
public final class CollectorResult extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:luceneserver.CollectorResult)
    CollectorResultOrBuilder {
private static final long serialVersionUID = 0L;
  // Use CollectorResult.newBuilder() to construct.
  private CollectorResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private CollectorResult() {
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new CollectorResult();
  }

  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.yelp.nrtsearch.server.grpc.SearchResponseProto.internal_static_luceneserver_CollectorResult_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.yelp.nrtsearch.server.grpc.SearchResponseProto.internal_static_luceneserver_CollectorResult_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.yelp.nrtsearch.server.grpc.CollectorResult.class, com.yelp.nrtsearch.server.grpc.CollectorResult.Builder.class);
  }

  private int collectorResultsCase_ = 0;
  @SuppressWarnings("serial")
  private java.lang.Object collectorResults_;
  public enum CollectorResultsCase
      implements com.google.protobuf.Internal.EnumLite,
          com.google.protobuf.AbstractMessage.InternalOneOfEnum {
    BUCKETRESULT(1),
    ANYRESULT(2),
    HITSRESULT(4),
    FILTERRESULT(5),
    DOUBLERESULT(6),
    COLLECTORRESULTS_NOT_SET(0);
    private final int value;
    private CollectorResultsCase(int value) {
      this.value = value;
    }
    /**
     * @param value The number of the enum to look for.
     * @return The enum associated with the given number.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static CollectorResultsCase valueOf(int value) {
      return forNumber(value);
    }

    public static CollectorResultsCase forNumber(int value) {
      switch (value) {
        case 1: return BUCKETRESULT;
        case 2: return ANYRESULT;
        case 4: return HITSRESULT;
        case 5: return FILTERRESULT;
        case 6: return DOUBLERESULT;
        case 0: return COLLECTORRESULTS_NOT_SET;
        default: return null;
      }
    }
    public int getNumber() {
      return this.value;
    }
  };

  public CollectorResultsCase
  getCollectorResultsCase() {
    return CollectorResultsCase.forNumber(
        collectorResultsCase_);
  }

  public static final int BUCKETRESULT_FIELD_NUMBER = 1;
  /**
   * 
   *Result of collector that produces buckets and counts.
   * 
* * .luceneserver.BucketResult bucketResult = 1; * @return Whether the bucketResult field is set. */ @java.lang.Override public boolean hasBucketResult() { return collectorResultsCase_ == 1; } /** *
   *Result of collector that produces buckets and counts.
   * 
* * .luceneserver.BucketResult bucketResult = 1; * @return The bucketResult. */ @java.lang.Override public com.yelp.nrtsearch.server.grpc.BucketResult getBucketResult() { if (collectorResultsCase_ == 1) { return (com.yelp.nrtsearch.server.grpc.BucketResult) collectorResults_; } return com.yelp.nrtsearch.server.grpc.BucketResult.getDefaultInstance(); } /** *
   *Result of collector that produces buckets and counts.
   * 
* * .luceneserver.BucketResult bucketResult = 1; */ @java.lang.Override public com.yelp.nrtsearch.server.grpc.BucketResultOrBuilder getBucketResultOrBuilder() { if (collectorResultsCase_ == 1) { return (com.yelp.nrtsearch.server.grpc.BucketResult) collectorResults_; } return com.yelp.nrtsearch.server.grpc.BucketResult.getDefaultInstance(); } public static final int ANYRESULT_FIELD_NUMBER = 2; /** *
   *Flexible collector result for additional document collectors
   * 
* * .google.protobuf.Any anyResult = 2; * @return Whether the anyResult field is set. */ @java.lang.Override public boolean hasAnyResult() { return collectorResultsCase_ == 2; } /** *
   *Flexible collector result for additional document collectors
   * 
* * .google.protobuf.Any anyResult = 2; * @return The anyResult. */ @java.lang.Override public com.google.protobuf.Any getAnyResult() { if (collectorResultsCase_ == 2) { return (com.google.protobuf.Any) collectorResults_; } return com.google.protobuf.Any.getDefaultInstance(); } /** *
   *Flexible collector result for additional document collectors
   * 
* * .google.protobuf.Any anyResult = 2; */ @java.lang.Override public com.google.protobuf.AnyOrBuilder getAnyResultOrBuilder() { if (collectorResultsCase_ == 2) { return (com.google.protobuf.Any) collectorResults_; } return com.google.protobuf.Any.getDefaultInstance(); } public static final int HITSRESULT_FIELD_NUMBER = 4; /** *
   *Result of collector that returns document hits.
   * 
* * .luceneserver.HitsResult hitsResult = 4; * @return Whether the hitsResult field is set. */ @java.lang.Override public boolean hasHitsResult() { return collectorResultsCase_ == 4; } /** *
   *Result of collector that returns document hits.
   * 
* * .luceneserver.HitsResult hitsResult = 4; * @return The hitsResult. */ @java.lang.Override public com.yelp.nrtsearch.server.grpc.HitsResult getHitsResult() { if (collectorResultsCase_ == 4) { return (com.yelp.nrtsearch.server.grpc.HitsResult) collectorResults_; } return com.yelp.nrtsearch.server.grpc.HitsResult.getDefaultInstance(); } /** *
   *Result of collector that returns document hits.
   * 
* * .luceneserver.HitsResult hitsResult = 4; */ @java.lang.Override public com.yelp.nrtsearch.server.grpc.HitsResultOrBuilder getHitsResultOrBuilder() { if (collectorResultsCase_ == 4) { return (com.yelp.nrtsearch.server.grpc.HitsResult) collectorResults_; } return com.yelp.nrtsearch.server.grpc.HitsResult.getDefaultInstance(); } public static final int FILTERRESULT_FIELD_NUMBER = 5; /** *
   *Result of collector that filters documents.
   * 
* * .luceneserver.FilterResult filterResult = 5; * @return Whether the filterResult field is set. */ @java.lang.Override public boolean hasFilterResult() { return collectorResultsCase_ == 5; } /** *
   *Result of collector that filters documents.
   * 
* * .luceneserver.FilterResult filterResult = 5; * @return The filterResult. */ @java.lang.Override public com.yelp.nrtsearch.server.grpc.FilterResult getFilterResult() { if (collectorResultsCase_ == 5) { return (com.yelp.nrtsearch.server.grpc.FilterResult) collectorResults_; } return com.yelp.nrtsearch.server.grpc.FilterResult.getDefaultInstance(); } /** *
   *Result of collector that filters documents.
   * 
* * .luceneserver.FilterResult filterResult = 5; */ @java.lang.Override public com.yelp.nrtsearch.server.grpc.FilterResultOrBuilder getFilterResultOrBuilder() { if (collectorResultsCase_ == 5) { return (com.yelp.nrtsearch.server.grpc.FilterResult) collectorResults_; } return com.yelp.nrtsearch.server.grpc.FilterResult.getDefaultInstance(); } public static final int DOUBLERESULT_FIELD_NUMBER = 6; /** *
   *Result of collector that produces a single double value.
   * 
* * .google.protobuf.DoubleValue doubleResult = 6; * @return Whether the doubleResult field is set. */ @java.lang.Override public boolean hasDoubleResult() { return collectorResultsCase_ == 6; } /** *
   *Result of collector that produces a single double value.
   * 
* * .google.protobuf.DoubleValue doubleResult = 6; * @return The doubleResult. */ @java.lang.Override public com.google.protobuf.DoubleValue getDoubleResult() { if (collectorResultsCase_ == 6) { return (com.google.protobuf.DoubleValue) collectorResults_; } return com.google.protobuf.DoubleValue.getDefaultInstance(); } /** *
   *Result of collector that produces a single double value.
   * 
* * .google.protobuf.DoubleValue doubleResult = 6; */ @java.lang.Override public com.google.protobuf.DoubleValueOrBuilder getDoubleResultOrBuilder() { if (collectorResultsCase_ == 6) { return (com.google.protobuf.DoubleValue) collectorResults_; } return com.google.protobuf.DoubleValue.getDefaultInstance(); } 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 (collectorResultsCase_ == 1) { output.writeMessage(1, (com.yelp.nrtsearch.server.grpc.BucketResult) collectorResults_); } if (collectorResultsCase_ == 2) { output.writeMessage(2, (com.google.protobuf.Any) collectorResults_); } if (collectorResultsCase_ == 4) { output.writeMessage(4, (com.yelp.nrtsearch.server.grpc.HitsResult) collectorResults_); } if (collectorResultsCase_ == 5) { output.writeMessage(5, (com.yelp.nrtsearch.server.grpc.FilterResult) collectorResults_); } if (collectorResultsCase_ == 6) { output.writeMessage(6, (com.google.protobuf.DoubleValue) collectorResults_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (collectorResultsCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (com.yelp.nrtsearch.server.grpc.BucketResult) collectorResults_); } if (collectorResultsCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (com.google.protobuf.Any) collectorResults_); } if (collectorResultsCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, (com.yelp.nrtsearch.server.grpc.HitsResult) collectorResults_); } if (collectorResultsCase_ == 5) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, (com.yelp.nrtsearch.server.grpc.FilterResult) collectorResults_); } if (collectorResultsCase_ == 6) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, (com.google.protobuf.DoubleValue) collectorResults_); } 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.CollectorResult)) { return super.equals(obj); } com.yelp.nrtsearch.server.grpc.CollectorResult other = (com.yelp.nrtsearch.server.grpc.CollectorResult) obj; if (!getCollectorResultsCase().equals(other.getCollectorResultsCase())) return false; switch (collectorResultsCase_) { case 1: if (!getBucketResult() .equals(other.getBucketResult())) return false; break; case 2: if (!getAnyResult() .equals(other.getAnyResult())) return false; break; case 4: if (!getHitsResult() .equals(other.getHitsResult())) return false; break; case 5: if (!getFilterResult() .equals(other.getFilterResult())) return false; break; case 6: if (!getDoubleResult() .equals(other.getDoubleResult())) return false; break; case 0: default: } 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(); switch (collectorResultsCase_) { case 1: hash = (37 * hash) + BUCKETRESULT_FIELD_NUMBER; hash = (53 * hash) + getBucketResult().hashCode(); break; case 2: hash = (37 * hash) + ANYRESULT_FIELD_NUMBER; hash = (53 * hash) + getAnyResult().hashCode(); break; case 4: hash = (37 * hash) + HITSRESULT_FIELD_NUMBER; hash = (53 * hash) + getHitsResult().hashCode(); break; case 5: hash = (37 * hash) + FILTERRESULT_FIELD_NUMBER; hash = (53 * hash) + getFilterResult().hashCode(); break; case 6: hash = (37 * hash) + DOUBLERESULT_FIELD_NUMBER; hash = (53 * hash) + getDoubleResult().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.yelp.nrtsearch.server.grpc.CollectorResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yelp.nrtsearch.server.grpc.CollectorResult 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.CollectorResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yelp.nrtsearch.server.grpc.CollectorResult 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.CollectorResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yelp.nrtsearch.server.grpc.CollectorResult 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.CollectorResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yelp.nrtsearch.server.grpc.CollectorResult 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.CollectorResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yelp.nrtsearch.server.grpc.CollectorResult 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.CollectorResult 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.CollectorResult 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.CollectorResult 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; } /** * Protobuf type {@code luceneserver.CollectorResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:luceneserver.CollectorResult) com.yelp.nrtsearch.server.grpc.CollectorResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yelp.nrtsearch.server.grpc.SearchResponseProto.internal_static_luceneserver_CollectorResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yelp.nrtsearch.server.grpc.SearchResponseProto.internal_static_luceneserver_CollectorResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yelp.nrtsearch.server.grpc.CollectorResult.class, com.yelp.nrtsearch.server.grpc.CollectorResult.Builder.class); } // Construct using com.yelp.nrtsearch.server.grpc.CollectorResult.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (bucketResultBuilder_ != null) { bucketResultBuilder_.clear(); } if (anyResultBuilder_ != null) { anyResultBuilder_.clear(); } if (hitsResultBuilder_ != null) { hitsResultBuilder_.clear(); } if (filterResultBuilder_ != null) { filterResultBuilder_.clear(); } if (doubleResultBuilder_ != null) { doubleResultBuilder_.clear(); } collectorResultsCase_ = 0; collectorResults_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yelp.nrtsearch.server.grpc.SearchResponseProto.internal_static_luceneserver_CollectorResult_descriptor; } @java.lang.Override public com.yelp.nrtsearch.server.grpc.CollectorResult getDefaultInstanceForType() { return com.yelp.nrtsearch.server.grpc.CollectorResult.getDefaultInstance(); } @java.lang.Override public com.yelp.nrtsearch.server.grpc.CollectorResult build() { com.yelp.nrtsearch.server.grpc.CollectorResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yelp.nrtsearch.server.grpc.CollectorResult buildPartial() { com.yelp.nrtsearch.server.grpc.CollectorResult result = new com.yelp.nrtsearch.server.grpc.CollectorResult(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(com.yelp.nrtsearch.server.grpc.CollectorResult result) { int from_bitField0_ = bitField0_; } private void buildPartialOneofs(com.yelp.nrtsearch.server.grpc.CollectorResult result) { result.collectorResultsCase_ = collectorResultsCase_; result.collectorResults_ = this.collectorResults_; if (collectorResultsCase_ == 1 && bucketResultBuilder_ != null) { result.collectorResults_ = bucketResultBuilder_.build(); } if (collectorResultsCase_ == 2 && anyResultBuilder_ != null) { result.collectorResults_ = anyResultBuilder_.build(); } if (collectorResultsCase_ == 4 && hitsResultBuilder_ != null) { result.collectorResults_ = hitsResultBuilder_.build(); } if (collectorResultsCase_ == 5 && filterResultBuilder_ != null) { result.collectorResults_ = filterResultBuilder_.build(); } if (collectorResultsCase_ == 6 && doubleResultBuilder_ != null) { result.collectorResults_ = doubleResultBuilder_.build(); } } @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.CollectorResult) { return mergeFrom((com.yelp.nrtsearch.server.grpc.CollectorResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yelp.nrtsearch.server.grpc.CollectorResult other) { if (other == com.yelp.nrtsearch.server.grpc.CollectorResult.getDefaultInstance()) return this; switch (other.getCollectorResultsCase()) { case BUCKETRESULT: { mergeBucketResult(other.getBucketResult()); break; } case ANYRESULT: { mergeAnyResult(other.getAnyResult()); break; } case HITSRESULT: { mergeHitsResult(other.getHitsResult()); break; } case FILTERRESULT: { mergeFilterResult(other.getFilterResult()); break; } case DOUBLERESULT: { mergeDoubleResult(other.getDoubleResult()); break; } case COLLECTORRESULTS_NOT_SET: { break; } } 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( getBucketResultFieldBuilder().getBuilder(), extensionRegistry); collectorResultsCase_ = 1; break; } // case 10 case 18: { input.readMessage( getAnyResultFieldBuilder().getBuilder(), extensionRegistry); collectorResultsCase_ = 2; break; } // case 18 case 34: { input.readMessage( getHitsResultFieldBuilder().getBuilder(), extensionRegistry); collectorResultsCase_ = 4; break; } // case 34 case 42: { input.readMessage( getFilterResultFieldBuilder().getBuilder(), extensionRegistry); collectorResultsCase_ = 5; break; } // case 42 case 50: { input.readMessage( getDoubleResultFieldBuilder().getBuilder(), extensionRegistry); collectorResultsCase_ = 6; break; } // case 50 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 collectorResultsCase_ = 0; private java.lang.Object collectorResults_; public CollectorResultsCase getCollectorResultsCase() { return CollectorResultsCase.forNumber( collectorResultsCase_); } public Builder clearCollectorResults() { collectorResultsCase_ = 0; collectorResults_ = null; onChanged(); return this; } private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< com.yelp.nrtsearch.server.grpc.BucketResult, com.yelp.nrtsearch.server.grpc.BucketResult.Builder, com.yelp.nrtsearch.server.grpc.BucketResultOrBuilder> bucketResultBuilder_; /** *
     *Result of collector that produces buckets and counts.
     * 
* * .luceneserver.BucketResult bucketResult = 1; * @return Whether the bucketResult field is set. */ @java.lang.Override public boolean hasBucketResult() { return collectorResultsCase_ == 1; } /** *
     *Result of collector that produces buckets and counts.
     * 
* * .luceneserver.BucketResult bucketResult = 1; * @return The bucketResult. */ @java.lang.Override public com.yelp.nrtsearch.server.grpc.BucketResult getBucketResult() { if (bucketResultBuilder_ == null) { if (collectorResultsCase_ == 1) { return (com.yelp.nrtsearch.server.grpc.BucketResult) collectorResults_; } return com.yelp.nrtsearch.server.grpc.BucketResult.getDefaultInstance(); } else { if (collectorResultsCase_ == 1) { return bucketResultBuilder_.getMessage(); } return com.yelp.nrtsearch.server.grpc.BucketResult.getDefaultInstance(); } } /** *
     *Result of collector that produces buckets and counts.
     * 
* * .luceneserver.BucketResult bucketResult = 1; */ public Builder setBucketResult(com.yelp.nrtsearch.server.grpc.BucketResult value) { if (bucketResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } collectorResults_ = value; onChanged(); } else { bucketResultBuilder_.setMessage(value); } collectorResultsCase_ = 1; return this; } /** *
     *Result of collector that produces buckets and counts.
     * 
* * .luceneserver.BucketResult bucketResult = 1; */ public Builder setBucketResult( com.yelp.nrtsearch.server.grpc.BucketResult.Builder builderForValue) { if (bucketResultBuilder_ == null) { collectorResults_ = builderForValue.build(); onChanged(); } else { bucketResultBuilder_.setMessage(builderForValue.build()); } collectorResultsCase_ = 1; return this; } /** *
     *Result of collector that produces buckets and counts.
     * 
* * .luceneserver.BucketResult bucketResult = 1; */ public Builder mergeBucketResult(com.yelp.nrtsearch.server.grpc.BucketResult value) { if (bucketResultBuilder_ == null) { if (collectorResultsCase_ == 1 && collectorResults_ != com.yelp.nrtsearch.server.grpc.BucketResult.getDefaultInstance()) { collectorResults_ = com.yelp.nrtsearch.server.grpc.BucketResult.newBuilder((com.yelp.nrtsearch.server.grpc.BucketResult) collectorResults_) .mergeFrom(value).buildPartial(); } else { collectorResults_ = value; } onChanged(); } else { if (collectorResultsCase_ == 1) { bucketResultBuilder_.mergeFrom(value); } else { bucketResultBuilder_.setMessage(value); } } collectorResultsCase_ = 1; return this; } /** *
     *Result of collector that produces buckets and counts.
     * 
* * .luceneserver.BucketResult bucketResult = 1; */ public Builder clearBucketResult() { if (bucketResultBuilder_ == null) { if (collectorResultsCase_ == 1) { collectorResultsCase_ = 0; collectorResults_ = null; onChanged(); } } else { if (collectorResultsCase_ == 1) { collectorResultsCase_ = 0; collectorResults_ = null; } bucketResultBuilder_.clear(); } return this; } /** *
     *Result of collector that produces buckets and counts.
     * 
* * .luceneserver.BucketResult bucketResult = 1; */ public com.yelp.nrtsearch.server.grpc.BucketResult.Builder getBucketResultBuilder() { return getBucketResultFieldBuilder().getBuilder(); } /** *
     *Result of collector that produces buckets and counts.
     * 
* * .luceneserver.BucketResult bucketResult = 1; */ @java.lang.Override public com.yelp.nrtsearch.server.grpc.BucketResultOrBuilder getBucketResultOrBuilder() { if ((collectorResultsCase_ == 1) && (bucketResultBuilder_ != null)) { return bucketResultBuilder_.getMessageOrBuilder(); } else { if (collectorResultsCase_ == 1) { return (com.yelp.nrtsearch.server.grpc.BucketResult) collectorResults_; } return com.yelp.nrtsearch.server.grpc.BucketResult.getDefaultInstance(); } } /** *
     *Result of collector that produces buckets and counts.
     * 
* * .luceneserver.BucketResult bucketResult = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yelp.nrtsearch.server.grpc.BucketResult, com.yelp.nrtsearch.server.grpc.BucketResult.Builder, com.yelp.nrtsearch.server.grpc.BucketResultOrBuilder> getBucketResultFieldBuilder() { if (bucketResultBuilder_ == null) { if (!(collectorResultsCase_ == 1)) { collectorResults_ = com.yelp.nrtsearch.server.grpc.BucketResult.getDefaultInstance(); } bucketResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yelp.nrtsearch.server.grpc.BucketResult, com.yelp.nrtsearch.server.grpc.BucketResult.Builder, com.yelp.nrtsearch.server.grpc.BucketResultOrBuilder>( (com.yelp.nrtsearch.server.grpc.BucketResult) collectorResults_, getParentForChildren(), isClean()); collectorResults_ = null; } collectorResultsCase_ = 1; onChanged(); return bucketResultBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> anyResultBuilder_; /** *
     *Flexible collector result for additional document collectors
     * 
* * .google.protobuf.Any anyResult = 2; * @return Whether the anyResult field is set. */ @java.lang.Override public boolean hasAnyResult() { return collectorResultsCase_ == 2; } /** *
     *Flexible collector result for additional document collectors
     * 
* * .google.protobuf.Any anyResult = 2; * @return The anyResult. */ @java.lang.Override public com.google.protobuf.Any getAnyResult() { if (anyResultBuilder_ == null) { if (collectorResultsCase_ == 2) { return (com.google.protobuf.Any) collectorResults_; } return com.google.protobuf.Any.getDefaultInstance(); } else { if (collectorResultsCase_ == 2) { return anyResultBuilder_.getMessage(); } return com.google.protobuf.Any.getDefaultInstance(); } } /** *
     *Flexible collector result for additional document collectors
     * 
* * .google.protobuf.Any anyResult = 2; */ public Builder setAnyResult(com.google.protobuf.Any value) { if (anyResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } collectorResults_ = value; onChanged(); } else { anyResultBuilder_.setMessage(value); } collectorResultsCase_ = 2; return this; } /** *
     *Flexible collector result for additional document collectors
     * 
* * .google.protobuf.Any anyResult = 2; */ public Builder setAnyResult( com.google.protobuf.Any.Builder builderForValue) { if (anyResultBuilder_ == null) { collectorResults_ = builderForValue.build(); onChanged(); } else { anyResultBuilder_.setMessage(builderForValue.build()); } collectorResultsCase_ = 2; return this; } /** *
     *Flexible collector result for additional document collectors
     * 
* * .google.protobuf.Any anyResult = 2; */ public Builder mergeAnyResult(com.google.protobuf.Any value) { if (anyResultBuilder_ == null) { if (collectorResultsCase_ == 2 && collectorResults_ != com.google.protobuf.Any.getDefaultInstance()) { collectorResults_ = com.google.protobuf.Any.newBuilder((com.google.protobuf.Any) collectorResults_) .mergeFrom(value).buildPartial(); } else { collectorResults_ = value; } onChanged(); } else { if (collectorResultsCase_ == 2) { anyResultBuilder_.mergeFrom(value); } else { anyResultBuilder_.setMessage(value); } } collectorResultsCase_ = 2; return this; } /** *
     *Flexible collector result for additional document collectors
     * 
* * .google.protobuf.Any anyResult = 2; */ public Builder clearAnyResult() { if (anyResultBuilder_ == null) { if (collectorResultsCase_ == 2) { collectorResultsCase_ = 0; collectorResults_ = null; onChanged(); } } else { if (collectorResultsCase_ == 2) { collectorResultsCase_ = 0; collectorResults_ = null; } anyResultBuilder_.clear(); } return this; } /** *
     *Flexible collector result for additional document collectors
     * 
* * .google.protobuf.Any anyResult = 2; */ public com.google.protobuf.Any.Builder getAnyResultBuilder() { return getAnyResultFieldBuilder().getBuilder(); } /** *
     *Flexible collector result for additional document collectors
     * 
* * .google.protobuf.Any anyResult = 2; */ @java.lang.Override public com.google.protobuf.AnyOrBuilder getAnyResultOrBuilder() { if ((collectorResultsCase_ == 2) && (anyResultBuilder_ != null)) { return anyResultBuilder_.getMessageOrBuilder(); } else { if (collectorResultsCase_ == 2) { return (com.google.protobuf.Any) collectorResults_; } return com.google.protobuf.Any.getDefaultInstance(); } } /** *
     *Flexible collector result for additional document collectors
     * 
* * .google.protobuf.Any anyResult = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> getAnyResultFieldBuilder() { if (anyResultBuilder_ == null) { if (!(collectorResultsCase_ == 2)) { collectorResults_ = com.google.protobuf.Any.getDefaultInstance(); } anyResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( (com.google.protobuf.Any) collectorResults_, getParentForChildren(), isClean()); collectorResults_ = null; } collectorResultsCase_ = 2; onChanged(); return anyResultBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.yelp.nrtsearch.server.grpc.HitsResult, com.yelp.nrtsearch.server.grpc.HitsResult.Builder, com.yelp.nrtsearch.server.grpc.HitsResultOrBuilder> hitsResultBuilder_; /** *
     *Result of collector that returns document hits.
     * 
* * .luceneserver.HitsResult hitsResult = 4; * @return Whether the hitsResult field is set. */ @java.lang.Override public boolean hasHitsResult() { return collectorResultsCase_ == 4; } /** *
     *Result of collector that returns document hits.
     * 
* * .luceneserver.HitsResult hitsResult = 4; * @return The hitsResult. */ @java.lang.Override public com.yelp.nrtsearch.server.grpc.HitsResult getHitsResult() { if (hitsResultBuilder_ == null) { if (collectorResultsCase_ == 4) { return (com.yelp.nrtsearch.server.grpc.HitsResult) collectorResults_; } return com.yelp.nrtsearch.server.grpc.HitsResult.getDefaultInstance(); } else { if (collectorResultsCase_ == 4) { return hitsResultBuilder_.getMessage(); } return com.yelp.nrtsearch.server.grpc.HitsResult.getDefaultInstance(); } } /** *
     *Result of collector that returns document hits.
     * 
* * .luceneserver.HitsResult hitsResult = 4; */ public Builder setHitsResult(com.yelp.nrtsearch.server.grpc.HitsResult value) { if (hitsResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } collectorResults_ = value; onChanged(); } else { hitsResultBuilder_.setMessage(value); } collectorResultsCase_ = 4; return this; } /** *
     *Result of collector that returns document hits.
     * 
* * .luceneserver.HitsResult hitsResult = 4; */ public Builder setHitsResult( com.yelp.nrtsearch.server.grpc.HitsResult.Builder builderForValue) { if (hitsResultBuilder_ == null) { collectorResults_ = builderForValue.build(); onChanged(); } else { hitsResultBuilder_.setMessage(builderForValue.build()); } collectorResultsCase_ = 4; return this; } /** *
     *Result of collector that returns document hits.
     * 
* * .luceneserver.HitsResult hitsResult = 4; */ public Builder mergeHitsResult(com.yelp.nrtsearch.server.grpc.HitsResult value) { if (hitsResultBuilder_ == null) { if (collectorResultsCase_ == 4 && collectorResults_ != com.yelp.nrtsearch.server.grpc.HitsResult.getDefaultInstance()) { collectorResults_ = com.yelp.nrtsearch.server.grpc.HitsResult.newBuilder((com.yelp.nrtsearch.server.grpc.HitsResult) collectorResults_) .mergeFrom(value).buildPartial(); } else { collectorResults_ = value; } onChanged(); } else { if (collectorResultsCase_ == 4) { hitsResultBuilder_.mergeFrom(value); } else { hitsResultBuilder_.setMessage(value); } } collectorResultsCase_ = 4; return this; } /** *
     *Result of collector that returns document hits.
     * 
* * .luceneserver.HitsResult hitsResult = 4; */ public Builder clearHitsResult() { if (hitsResultBuilder_ == null) { if (collectorResultsCase_ == 4) { collectorResultsCase_ = 0; collectorResults_ = null; onChanged(); } } else { if (collectorResultsCase_ == 4) { collectorResultsCase_ = 0; collectorResults_ = null; } hitsResultBuilder_.clear(); } return this; } /** *
     *Result of collector that returns document hits.
     * 
* * .luceneserver.HitsResult hitsResult = 4; */ public com.yelp.nrtsearch.server.grpc.HitsResult.Builder getHitsResultBuilder() { return getHitsResultFieldBuilder().getBuilder(); } /** *
     *Result of collector that returns document hits.
     * 
* * .luceneserver.HitsResult hitsResult = 4; */ @java.lang.Override public com.yelp.nrtsearch.server.grpc.HitsResultOrBuilder getHitsResultOrBuilder() { if ((collectorResultsCase_ == 4) && (hitsResultBuilder_ != null)) { return hitsResultBuilder_.getMessageOrBuilder(); } else { if (collectorResultsCase_ == 4) { return (com.yelp.nrtsearch.server.grpc.HitsResult) collectorResults_; } return com.yelp.nrtsearch.server.grpc.HitsResult.getDefaultInstance(); } } /** *
     *Result of collector that returns document hits.
     * 
* * .luceneserver.HitsResult hitsResult = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.yelp.nrtsearch.server.grpc.HitsResult, com.yelp.nrtsearch.server.grpc.HitsResult.Builder, com.yelp.nrtsearch.server.grpc.HitsResultOrBuilder> getHitsResultFieldBuilder() { if (hitsResultBuilder_ == null) { if (!(collectorResultsCase_ == 4)) { collectorResults_ = com.yelp.nrtsearch.server.grpc.HitsResult.getDefaultInstance(); } hitsResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yelp.nrtsearch.server.grpc.HitsResult, com.yelp.nrtsearch.server.grpc.HitsResult.Builder, com.yelp.nrtsearch.server.grpc.HitsResultOrBuilder>( (com.yelp.nrtsearch.server.grpc.HitsResult) collectorResults_, getParentForChildren(), isClean()); collectorResults_ = null; } collectorResultsCase_ = 4; onChanged(); return hitsResultBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.yelp.nrtsearch.server.grpc.FilterResult, com.yelp.nrtsearch.server.grpc.FilterResult.Builder, com.yelp.nrtsearch.server.grpc.FilterResultOrBuilder> filterResultBuilder_; /** *
     *Result of collector that filters documents.
     * 
* * .luceneserver.FilterResult filterResult = 5; * @return Whether the filterResult field is set. */ @java.lang.Override public boolean hasFilterResult() { return collectorResultsCase_ == 5; } /** *
     *Result of collector that filters documents.
     * 
* * .luceneserver.FilterResult filterResult = 5; * @return The filterResult. */ @java.lang.Override public com.yelp.nrtsearch.server.grpc.FilterResult getFilterResult() { if (filterResultBuilder_ == null) { if (collectorResultsCase_ == 5) { return (com.yelp.nrtsearch.server.grpc.FilterResult) collectorResults_; } return com.yelp.nrtsearch.server.grpc.FilterResult.getDefaultInstance(); } else { if (collectorResultsCase_ == 5) { return filterResultBuilder_.getMessage(); } return com.yelp.nrtsearch.server.grpc.FilterResult.getDefaultInstance(); } } /** *
     *Result of collector that filters documents.
     * 
* * .luceneserver.FilterResult filterResult = 5; */ public Builder setFilterResult(com.yelp.nrtsearch.server.grpc.FilterResult value) { if (filterResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } collectorResults_ = value; onChanged(); } else { filterResultBuilder_.setMessage(value); } collectorResultsCase_ = 5; return this; } /** *
     *Result of collector that filters documents.
     * 
* * .luceneserver.FilterResult filterResult = 5; */ public Builder setFilterResult( com.yelp.nrtsearch.server.grpc.FilterResult.Builder builderForValue) { if (filterResultBuilder_ == null) { collectorResults_ = builderForValue.build(); onChanged(); } else { filterResultBuilder_.setMessage(builderForValue.build()); } collectorResultsCase_ = 5; return this; } /** *
     *Result of collector that filters documents.
     * 
* * .luceneserver.FilterResult filterResult = 5; */ public Builder mergeFilterResult(com.yelp.nrtsearch.server.grpc.FilterResult value) { if (filterResultBuilder_ == null) { if (collectorResultsCase_ == 5 && collectorResults_ != com.yelp.nrtsearch.server.grpc.FilterResult.getDefaultInstance()) { collectorResults_ = com.yelp.nrtsearch.server.grpc.FilterResult.newBuilder((com.yelp.nrtsearch.server.grpc.FilterResult) collectorResults_) .mergeFrom(value).buildPartial(); } else { collectorResults_ = value; } onChanged(); } else { if (collectorResultsCase_ == 5) { filterResultBuilder_.mergeFrom(value); } else { filterResultBuilder_.setMessage(value); } } collectorResultsCase_ = 5; return this; } /** *
     *Result of collector that filters documents.
     * 
* * .luceneserver.FilterResult filterResult = 5; */ public Builder clearFilterResult() { if (filterResultBuilder_ == null) { if (collectorResultsCase_ == 5) { collectorResultsCase_ = 0; collectorResults_ = null; onChanged(); } } else { if (collectorResultsCase_ == 5) { collectorResultsCase_ = 0; collectorResults_ = null; } filterResultBuilder_.clear(); } return this; } /** *
     *Result of collector that filters documents.
     * 
* * .luceneserver.FilterResult filterResult = 5; */ public com.yelp.nrtsearch.server.grpc.FilterResult.Builder getFilterResultBuilder() { return getFilterResultFieldBuilder().getBuilder(); } /** *
     *Result of collector that filters documents.
     * 
* * .luceneserver.FilterResult filterResult = 5; */ @java.lang.Override public com.yelp.nrtsearch.server.grpc.FilterResultOrBuilder getFilterResultOrBuilder() { if ((collectorResultsCase_ == 5) && (filterResultBuilder_ != null)) { return filterResultBuilder_.getMessageOrBuilder(); } else { if (collectorResultsCase_ == 5) { return (com.yelp.nrtsearch.server.grpc.FilterResult) collectorResults_; } return com.yelp.nrtsearch.server.grpc.FilterResult.getDefaultInstance(); } } /** *
     *Result of collector that filters documents.
     * 
* * .luceneserver.FilterResult filterResult = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.yelp.nrtsearch.server.grpc.FilterResult, com.yelp.nrtsearch.server.grpc.FilterResult.Builder, com.yelp.nrtsearch.server.grpc.FilterResultOrBuilder> getFilterResultFieldBuilder() { if (filterResultBuilder_ == null) { if (!(collectorResultsCase_ == 5)) { collectorResults_ = com.yelp.nrtsearch.server.grpc.FilterResult.getDefaultInstance(); } filterResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yelp.nrtsearch.server.grpc.FilterResult, com.yelp.nrtsearch.server.grpc.FilterResult.Builder, com.yelp.nrtsearch.server.grpc.FilterResultOrBuilder>( (com.yelp.nrtsearch.server.grpc.FilterResult) collectorResults_, getParentForChildren(), isClean()); collectorResults_ = null; } collectorResultsCase_ = 5; onChanged(); return filterResultBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> doubleResultBuilder_; /** *
     *Result of collector that produces a single double value.
     * 
* * .google.protobuf.DoubleValue doubleResult = 6; * @return Whether the doubleResult field is set. */ @java.lang.Override public boolean hasDoubleResult() { return collectorResultsCase_ == 6; } /** *
     *Result of collector that produces a single double value.
     * 
* * .google.protobuf.DoubleValue doubleResult = 6; * @return The doubleResult. */ @java.lang.Override public com.google.protobuf.DoubleValue getDoubleResult() { if (doubleResultBuilder_ == null) { if (collectorResultsCase_ == 6) { return (com.google.protobuf.DoubleValue) collectorResults_; } return com.google.protobuf.DoubleValue.getDefaultInstance(); } else { if (collectorResultsCase_ == 6) { return doubleResultBuilder_.getMessage(); } return com.google.protobuf.DoubleValue.getDefaultInstance(); } } /** *
     *Result of collector that produces a single double value.
     * 
* * .google.protobuf.DoubleValue doubleResult = 6; */ public Builder setDoubleResult(com.google.protobuf.DoubleValue value) { if (doubleResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } collectorResults_ = value; onChanged(); } else { doubleResultBuilder_.setMessage(value); } collectorResultsCase_ = 6; return this; } /** *
     *Result of collector that produces a single double value.
     * 
* * .google.protobuf.DoubleValue doubleResult = 6; */ public Builder setDoubleResult( com.google.protobuf.DoubleValue.Builder builderForValue) { if (doubleResultBuilder_ == null) { collectorResults_ = builderForValue.build(); onChanged(); } else { doubleResultBuilder_.setMessage(builderForValue.build()); } collectorResultsCase_ = 6; return this; } /** *
     *Result of collector that produces a single double value.
     * 
* * .google.protobuf.DoubleValue doubleResult = 6; */ public Builder mergeDoubleResult(com.google.protobuf.DoubleValue value) { if (doubleResultBuilder_ == null) { if (collectorResultsCase_ == 6 && collectorResults_ != com.google.protobuf.DoubleValue.getDefaultInstance()) { collectorResults_ = com.google.protobuf.DoubleValue.newBuilder((com.google.protobuf.DoubleValue) collectorResults_) .mergeFrom(value).buildPartial(); } else { collectorResults_ = value; } onChanged(); } else { if (collectorResultsCase_ == 6) { doubleResultBuilder_.mergeFrom(value); } else { doubleResultBuilder_.setMessage(value); } } collectorResultsCase_ = 6; return this; } /** *
     *Result of collector that produces a single double value.
     * 
* * .google.protobuf.DoubleValue doubleResult = 6; */ public Builder clearDoubleResult() { if (doubleResultBuilder_ == null) { if (collectorResultsCase_ == 6) { collectorResultsCase_ = 0; collectorResults_ = null; onChanged(); } } else { if (collectorResultsCase_ == 6) { collectorResultsCase_ = 0; collectorResults_ = null; } doubleResultBuilder_.clear(); } return this; } /** *
     *Result of collector that produces a single double value.
     * 
* * .google.protobuf.DoubleValue doubleResult = 6; */ public com.google.protobuf.DoubleValue.Builder getDoubleResultBuilder() { return getDoubleResultFieldBuilder().getBuilder(); } /** *
     *Result of collector that produces a single double value.
     * 
* * .google.protobuf.DoubleValue doubleResult = 6; */ @java.lang.Override public com.google.protobuf.DoubleValueOrBuilder getDoubleResultOrBuilder() { if ((collectorResultsCase_ == 6) && (doubleResultBuilder_ != null)) { return doubleResultBuilder_.getMessageOrBuilder(); } else { if (collectorResultsCase_ == 6) { return (com.google.protobuf.DoubleValue) collectorResults_; } return com.google.protobuf.DoubleValue.getDefaultInstance(); } } /** *
     *Result of collector that produces a single double value.
     * 
* * .google.protobuf.DoubleValue doubleResult = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> getDoubleResultFieldBuilder() { if (doubleResultBuilder_ == null) { if (!(collectorResultsCase_ == 6)) { collectorResults_ = com.google.protobuf.DoubleValue.getDefaultInstance(); } doubleResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder>( (com.google.protobuf.DoubleValue) collectorResults_, getParentForChildren(), isClean()); collectorResults_ = null; } collectorResultsCase_ = 6; onChanged(); return doubleResultBuilder_; } @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.CollectorResult) } // @@protoc_insertion_point(class_scope:luceneserver.CollectorResult) private static final com.yelp.nrtsearch.server.grpc.CollectorResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yelp.nrtsearch.server.grpc.CollectorResult(); } public static com.yelp.nrtsearch.server.grpc.CollectorResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CollectorResult 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.CollectorResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy