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

grpc.cache_client._SortedSetFetchResponse Maven / Gradle / Ivy

There is a newer version: 0.119.4
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: cacheclient.proto

package grpc.cache_client;

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

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

  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return grpc.cache_client.Cacheclient.internal_static_cache_client__SortedSetFetchResponse_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return grpc.cache_client.Cacheclient.internal_static_cache_client__SortedSetFetchResponse_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            grpc.cache_client._SortedSetFetchResponse.class, grpc.cache_client._SortedSetFetchResponse.Builder.class);
  }

  public interface _FoundOrBuilder extends
      // @@protoc_insertion_point(interface_extends:cache_client._SortedSetFetchResponse._Found)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .cache_client._SortedSetFetchResponse._Found._ValuesWithScores values_with_scores = 1;
     * @return Whether the valuesWithScores field is set.
     */
    boolean hasValuesWithScores();
    /**
     * .cache_client._SortedSetFetchResponse._Found._ValuesWithScores values_with_scores = 1;
     * @return The valuesWithScores.
     */
    grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores getValuesWithScores();
    /**
     * .cache_client._SortedSetFetchResponse._Found._ValuesWithScores values_with_scores = 1;
     */
    grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScoresOrBuilder getValuesWithScoresOrBuilder();

    /**
     * .cache_client._SortedSetFetchResponse._Found._Values values = 2;
     * @return Whether the values field is set.
     */
    boolean hasValues();
    /**
     * .cache_client._SortedSetFetchResponse._Found._Values values = 2;
     * @return The values.
     */
    grpc.cache_client._SortedSetFetchResponse._Found._Values getValues();
    /**
     * .cache_client._SortedSetFetchResponse._Found._Values values = 2;
     */
    grpc.cache_client._SortedSetFetchResponse._Found._ValuesOrBuilder getValuesOrBuilder();

    grpc.cache_client._SortedSetFetchResponse._Found.ElementsCase getElementsCase();
  }
  /**
   * Protobuf type {@code cache_client._SortedSetFetchResponse._Found}
   */
  public static final class _Found extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:cache_client._SortedSetFetchResponse._Found)
      _FoundOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use _Found.newBuilder() to construct.
    private _Found(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private _Found() {
    }

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

    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return grpc.cache_client.Cacheclient.internal_static_cache_client__SortedSetFetchResponse__Found_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return grpc.cache_client.Cacheclient.internal_static_cache_client__SortedSetFetchResponse__Found_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              grpc.cache_client._SortedSetFetchResponse._Found.class, grpc.cache_client._SortedSetFetchResponse._Found.Builder.class);
    }

    public interface _ValuesWithScoresOrBuilder extends
        // @@protoc_insertion_point(interface_extends:cache_client._SortedSetFetchResponse._Found._ValuesWithScores)
        com.google.protobuf.MessageOrBuilder {

      /**
       * repeated .cache_client._SortedSetElement elements = 1;
       */
      java.util.List 
          getElementsList();
      /**
       * repeated .cache_client._SortedSetElement elements = 1;
       */
      grpc.cache_client._SortedSetElement getElements(int index);
      /**
       * repeated .cache_client._SortedSetElement elements = 1;
       */
      int getElementsCount();
      /**
       * repeated .cache_client._SortedSetElement elements = 1;
       */
      java.util.List 
          getElementsOrBuilderList();
      /**
       * repeated .cache_client._SortedSetElement elements = 1;
       */
      grpc.cache_client._SortedSetElementOrBuilder getElementsOrBuilder(
          int index);
    }
    /**
     * Protobuf type {@code cache_client._SortedSetFetchResponse._Found._ValuesWithScores}
     */
    public static final class _ValuesWithScores extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:cache_client._SortedSetFetchResponse._Found._ValuesWithScores)
        _ValuesWithScoresOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use _ValuesWithScores.newBuilder() to construct.
      private _ValuesWithScores(com.google.protobuf.GeneratedMessageV3.Builder builder) {
        super(builder);
      }
      private _ValuesWithScores() {
        elements_ = java.util.Collections.emptyList();
      }

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

      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return grpc.cache_client.Cacheclient.internal_static_cache_client__SortedSetFetchResponse__Found__ValuesWithScores_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return grpc.cache_client.Cacheclient.internal_static_cache_client__SortedSetFetchResponse__Found__ValuesWithScores_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores.class, grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores.Builder.class);
      }

      public static final int ELEMENTS_FIELD_NUMBER = 1;
      @SuppressWarnings("serial")
      private java.util.List elements_;
      /**
       * repeated .cache_client._SortedSetElement elements = 1;
       */
      @java.lang.Override
      public java.util.List getElementsList() {
        return elements_;
      }
      /**
       * repeated .cache_client._SortedSetElement elements = 1;
       */
      @java.lang.Override
      public java.util.List 
          getElementsOrBuilderList() {
        return elements_;
      }
      /**
       * repeated .cache_client._SortedSetElement elements = 1;
       */
      @java.lang.Override
      public int getElementsCount() {
        return elements_.size();
      }
      /**
       * repeated .cache_client._SortedSetElement elements = 1;
       */
      @java.lang.Override
      public grpc.cache_client._SortedSetElement getElements(int index) {
        return elements_.get(index);
      }
      /**
       * repeated .cache_client._SortedSetElement elements = 1;
       */
      @java.lang.Override
      public grpc.cache_client._SortedSetElementOrBuilder getElementsOrBuilder(
          int index) {
        return elements_.get(index);
      }

      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 {
        for (int i = 0; i < elements_.size(); i++) {
          output.writeMessage(1, elements_.get(i));
        }
        getUnknownFields().writeTo(output);
      }

      @java.lang.Override
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;

        size = 0;
        for (int i = 0; i < elements_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(1, elements_.get(i));
        }
        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 grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores)) {
          return super.equals(obj);
        }
        grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores other = (grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores) obj;

        if (!getElementsList()
            .equals(other.getElementsList())) 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 (getElementsCount() > 0) {
          hash = (37 * hash) + ELEMENTS_FIELD_NUMBER;
          hash = (53 * hash) + getElementsList().hashCode();
        }
        hash = (29 * hash) + getUnknownFields().hashCode();
        memoizedHashCode = hash;
        return hash;
      }

      public static grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores parseFrom(
          java.nio.ByteBuffer data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores parseFrom(
          com.google.protobuf.ByteString data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores 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 grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores 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 grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores 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(grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores 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 cache_client._SortedSetFetchResponse._Found._ValuesWithScores}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder implements
          // @@protoc_insertion_point(builder_implements:cache_client._SortedSetFetchResponse._Found._ValuesWithScores)
          grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScoresOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return grpc.cache_client.Cacheclient.internal_static_cache_client__SortedSetFetchResponse__Found__ValuesWithScores_descriptor;
        }

        @java.lang.Override
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return grpc.cache_client.Cacheclient.internal_static_cache_client__SortedSetFetchResponse__Found__ValuesWithScores_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores.class, grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores.Builder.class);
        }

        // Construct using grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores.newBuilder()
        private Builder() {

        }

        private Builder(
            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          super(parent);

        }
        @java.lang.Override
        public Builder clear() {
          super.clear();
          bitField0_ = 0;
          if (elementsBuilder_ == null) {
            elements_ = java.util.Collections.emptyList();
          } else {
            elements_ = null;
            elementsBuilder_.clear();
          }
          bitField0_ = (bitField0_ & ~0x00000001);
          return this;
        }

        @java.lang.Override
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return grpc.cache_client.Cacheclient.internal_static_cache_client__SortedSetFetchResponse__Found__ValuesWithScores_descriptor;
        }

        @java.lang.Override
        public grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores getDefaultInstanceForType() {
          return grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores.getDefaultInstance();
        }

        @java.lang.Override
        public grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores build() {
          grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }

        @java.lang.Override
        public grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores buildPartial() {
          grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores result = new grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores(this);
          buildPartialRepeatedFields(result);
          if (bitField0_ != 0) { buildPartial0(result); }
          onBuilt();
          return result;
        }

        private void buildPartialRepeatedFields(grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores result) {
          if (elementsBuilder_ == null) {
            if (((bitField0_ & 0x00000001) != 0)) {
              elements_ = java.util.Collections.unmodifiableList(elements_);
              bitField0_ = (bitField0_ & ~0x00000001);
            }
            result.elements_ = elements_;
          } else {
            result.elements_ = elementsBuilder_.build();
          }
        }

        private void buildPartial0(grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores result) {
          int from_bitField0_ = bitField0_;
        }

        @java.lang.Override
        public Builder mergeFrom(com.google.protobuf.Message other) {
          if (other instanceof grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores) {
            return mergeFrom((grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }

        public Builder mergeFrom(grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores other) {
          if (other == grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores.getDefaultInstance()) return this;
          if (elementsBuilder_ == null) {
            if (!other.elements_.isEmpty()) {
              if (elements_.isEmpty()) {
                elements_ = other.elements_;
                bitField0_ = (bitField0_ & ~0x00000001);
              } else {
                ensureElementsIsMutable();
                elements_.addAll(other.elements_);
              }
              onChanged();
            }
          } else {
            if (!other.elements_.isEmpty()) {
              if (elementsBuilder_.isEmpty()) {
                elementsBuilder_.dispose();
                elementsBuilder_ = null;
                elements_ = other.elements_;
                bitField0_ = (bitField0_ & ~0x00000001);
                elementsBuilder_ = 
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                     getElementsFieldBuilder() : null;
              } else {
                elementsBuilder_.addAllMessages(other.elements_);
              }
            }
          }
          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: {
                  grpc.cache_client._SortedSetElement m =
                      input.readMessage(
                          grpc.cache_client._SortedSetElement.parser(),
                          extensionRegistry);
                  if (elementsBuilder_ == null) {
                    ensureElementsIsMutable();
                    elements_.add(m);
                  } else {
                    elementsBuilder_.addMessage(m);
                  }
                  break;
                } // case 10
                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 java.util.List elements_ =
          java.util.Collections.emptyList();
        private void ensureElementsIsMutable() {
          if (!((bitField0_ & 0x00000001) != 0)) {
            elements_ = new java.util.ArrayList(elements_);
            bitField0_ |= 0x00000001;
           }
        }

        private com.google.protobuf.RepeatedFieldBuilderV3<
            grpc.cache_client._SortedSetElement, grpc.cache_client._SortedSetElement.Builder, grpc.cache_client._SortedSetElementOrBuilder> elementsBuilder_;

        /**
         * repeated .cache_client._SortedSetElement elements = 1;
         */
        public java.util.List getElementsList() {
          if (elementsBuilder_ == null) {
            return java.util.Collections.unmodifiableList(elements_);
          } else {
            return elementsBuilder_.getMessageList();
          }
        }
        /**
         * repeated .cache_client._SortedSetElement elements = 1;
         */
        public int getElementsCount() {
          if (elementsBuilder_ == null) {
            return elements_.size();
          } else {
            return elementsBuilder_.getCount();
          }
        }
        /**
         * repeated .cache_client._SortedSetElement elements = 1;
         */
        public grpc.cache_client._SortedSetElement getElements(int index) {
          if (elementsBuilder_ == null) {
            return elements_.get(index);
          } else {
            return elementsBuilder_.getMessage(index);
          }
        }
        /**
         * repeated .cache_client._SortedSetElement elements = 1;
         */
        public Builder setElements(
            int index, grpc.cache_client._SortedSetElement value) {
          if (elementsBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureElementsIsMutable();
            elements_.set(index, value);
            onChanged();
          } else {
            elementsBuilder_.setMessage(index, value);
          }
          return this;
        }
        /**
         * repeated .cache_client._SortedSetElement elements = 1;
         */
        public Builder setElements(
            int index, grpc.cache_client._SortedSetElement.Builder builderForValue) {
          if (elementsBuilder_ == null) {
            ensureElementsIsMutable();
            elements_.set(index, builderForValue.build());
            onChanged();
          } else {
            elementsBuilder_.setMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * repeated .cache_client._SortedSetElement elements = 1;
         */
        public Builder addElements(grpc.cache_client._SortedSetElement value) {
          if (elementsBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureElementsIsMutable();
            elements_.add(value);
            onChanged();
          } else {
            elementsBuilder_.addMessage(value);
          }
          return this;
        }
        /**
         * repeated .cache_client._SortedSetElement elements = 1;
         */
        public Builder addElements(
            int index, grpc.cache_client._SortedSetElement value) {
          if (elementsBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureElementsIsMutable();
            elements_.add(index, value);
            onChanged();
          } else {
            elementsBuilder_.addMessage(index, value);
          }
          return this;
        }
        /**
         * repeated .cache_client._SortedSetElement elements = 1;
         */
        public Builder addElements(
            grpc.cache_client._SortedSetElement.Builder builderForValue) {
          if (elementsBuilder_ == null) {
            ensureElementsIsMutable();
            elements_.add(builderForValue.build());
            onChanged();
          } else {
            elementsBuilder_.addMessage(builderForValue.build());
          }
          return this;
        }
        /**
         * repeated .cache_client._SortedSetElement elements = 1;
         */
        public Builder addElements(
            int index, grpc.cache_client._SortedSetElement.Builder builderForValue) {
          if (elementsBuilder_ == null) {
            ensureElementsIsMutable();
            elements_.add(index, builderForValue.build());
            onChanged();
          } else {
            elementsBuilder_.addMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * repeated .cache_client._SortedSetElement elements = 1;
         */
        public Builder addAllElements(
            java.lang.Iterable values) {
          if (elementsBuilder_ == null) {
            ensureElementsIsMutable();
            com.google.protobuf.AbstractMessageLite.Builder.addAll(
                values, elements_);
            onChanged();
          } else {
            elementsBuilder_.addAllMessages(values);
          }
          return this;
        }
        /**
         * repeated .cache_client._SortedSetElement elements = 1;
         */
        public Builder clearElements() {
          if (elementsBuilder_ == null) {
            elements_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000001);
            onChanged();
          } else {
            elementsBuilder_.clear();
          }
          return this;
        }
        /**
         * repeated .cache_client._SortedSetElement elements = 1;
         */
        public Builder removeElements(int index) {
          if (elementsBuilder_ == null) {
            ensureElementsIsMutable();
            elements_.remove(index);
            onChanged();
          } else {
            elementsBuilder_.remove(index);
          }
          return this;
        }
        /**
         * repeated .cache_client._SortedSetElement elements = 1;
         */
        public grpc.cache_client._SortedSetElement.Builder getElementsBuilder(
            int index) {
          return getElementsFieldBuilder().getBuilder(index);
        }
        /**
         * repeated .cache_client._SortedSetElement elements = 1;
         */
        public grpc.cache_client._SortedSetElementOrBuilder getElementsOrBuilder(
            int index) {
          if (elementsBuilder_ == null) {
            return elements_.get(index);  } else {
            return elementsBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         * repeated .cache_client._SortedSetElement elements = 1;
         */
        public java.util.List 
             getElementsOrBuilderList() {
          if (elementsBuilder_ != null) {
            return elementsBuilder_.getMessageOrBuilderList();
          } else {
            return java.util.Collections.unmodifiableList(elements_);
          }
        }
        /**
         * repeated .cache_client._SortedSetElement elements = 1;
         */
        public grpc.cache_client._SortedSetElement.Builder addElementsBuilder() {
          return getElementsFieldBuilder().addBuilder(
              grpc.cache_client._SortedSetElement.getDefaultInstance());
        }
        /**
         * repeated .cache_client._SortedSetElement elements = 1;
         */
        public grpc.cache_client._SortedSetElement.Builder addElementsBuilder(
            int index) {
          return getElementsFieldBuilder().addBuilder(
              index, grpc.cache_client._SortedSetElement.getDefaultInstance());
        }
        /**
         * repeated .cache_client._SortedSetElement elements = 1;
         */
        public java.util.List 
             getElementsBuilderList() {
          return getElementsFieldBuilder().getBuilderList();
        }
        private com.google.protobuf.RepeatedFieldBuilderV3<
            grpc.cache_client._SortedSetElement, grpc.cache_client._SortedSetElement.Builder, grpc.cache_client._SortedSetElementOrBuilder> 
            getElementsFieldBuilder() {
          if (elementsBuilder_ == null) {
            elementsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
                grpc.cache_client._SortedSetElement, grpc.cache_client._SortedSetElement.Builder, grpc.cache_client._SortedSetElementOrBuilder>(
                    elements_,
                    ((bitField0_ & 0x00000001) != 0),
                    getParentForChildren(),
                    isClean());
            elements_ = null;
          }
          return elementsBuilder_;
        }
        @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:cache_client._SortedSetFetchResponse._Found._ValuesWithScores)
      }

      // @@protoc_insertion_point(class_scope:cache_client._SortedSetFetchResponse._Found._ValuesWithScores)
      private static final grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores();
      }

      public static grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

      private static final com.google.protobuf.Parser<_ValuesWithScores>
          PARSER = new com.google.protobuf.AbstractParser<_ValuesWithScores>() {
        @java.lang.Override
        public _ValuesWithScores 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<_ValuesWithScores> parser() {
        return PARSER;
      }

      @java.lang.Override
      public com.google.protobuf.Parser<_ValuesWithScores> getParserForType() {
        return PARSER;
      }

      @java.lang.Override
      public grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }

    }

    public interface _ValuesOrBuilder extends
        // @@protoc_insertion_point(interface_extends:cache_client._SortedSetFetchResponse._Found._Values)
        com.google.protobuf.MessageOrBuilder {

      /**
       * repeated bytes values = 1;
       * @return A list containing the values.
       */
      java.util.List getValuesList();
      /**
       * repeated bytes values = 1;
       * @return The count of values.
       */
      int getValuesCount();
      /**
       * repeated bytes values = 1;
       * @param index The index of the element to return.
       * @return The values at the given index.
       */
      com.google.protobuf.ByteString getValues(int index);
    }
    /**
     * Protobuf type {@code cache_client._SortedSetFetchResponse._Found._Values}
     */
    public static final class _Values extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:cache_client._SortedSetFetchResponse._Found._Values)
        _ValuesOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use _Values.newBuilder() to construct.
      private _Values(com.google.protobuf.GeneratedMessageV3.Builder builder) {
        super(builder);
      }
      private _Values() {
        values_ = java.util.Collections.emptyList();
      }

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

      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return grpc.cache_client.Cacheclient.internal_static_cache_client__SortedSetFetchResponse__Found__Values_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return grpc.cache_client.Cacheclient.internal_static_cache_client__SortedSetFetchResponse__Found__Values_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                grpc.cache_client._SortedSetFetchResponse._Found._Values.class, grpc.cache_client._SortedSetFetchResponse._Found._Values.Builder.class);
      }

      public static final int VALUES_FIELD_NUMBER = 1;
      @SuppressWarnings("serial")
      private java.util.List values_;
      /**
       * repeated bytes values = 1;
       * @return A list containing the values.
       */
      @java.lang.Override
      public java.util.List
          getValuesList() {
        return values_;
      }
      /**
       * repeated bytes values = 1;
       * @return The count of values.
       */
      public int getValuesCount() {
        return values_.size();
      }
      /**
       * repeated bytes values = 1;
       * @param index The index of the element to return.
       * @return The values at the given index.
       */
      public com.google.protobuf.ByteString getValues(int index) {
        return values_.get(index);
      }

      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 {
        for (int i = 0; i < values_.size(); i++) {
          output.writeBytes(1, values_.get(i));
        }
        getUnknownFields().writeTo(output);
      }

      @java.lang.Override
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;

        size = 0;
        {
          int dataSize = 0;
          for (int i = 0; i < values_.size(); i++) {
            dataSize += com.google.protobuf.CodedOutputStream
              .computeBytesSizeNoTag(values_.get(i));
          }
          size += dataSize;
          size += 1 * getValuesList().size();
        }
        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 grpc.cache_client._SortedSetFetchResponse._Found._Values)) {
          return super.equals(obj);
        }
        grpc.cache_client._SortedSetFetchResponse._Found._Values other = (grpc.cache_client._SortedSetFetchResponse._Found._Values) obj;

        if (!getValuesList()
            .equals(other.getValuesList())) 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 (getValuesCount() > 0) {
          hash = (37 * hash) + VALUES_FIELD_NUMBER;
          hash = (53 * hash) + getValuesList().hashCode();
        }
        hash = (29 * hash) + getUnknownFields().hashCode();
        memoizedHashCode = hash;
        return hash;
      }

      public static grpc.cache_client._SortedSetFetchResponse._Found._Values parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static grpc.cache_client._SortedSetFetchResponse._Found._Values parseFrom(
          java.nio.ByteBuffer data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static grpc.cache_client._SortedSetFetchResponse._Found._Values parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static grpc.cache_client._SortedSetFetchResponse._Found._Values parseFrom(
          com.google.protobuf.ByteString data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static grpc.cache_client._SortedSetFetchResponse._Found._Values parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static grpc.cache_client._SortedSetFetchResponse._Found._Values parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static grpc.cache_client._SortedSetFetchResponse._Found._Values parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static grpc.cache_client._SortedSetFetchResponse._Found._Values 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 grpc.cache_client._SortedSetFetchResponse._Found._Values parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static grpc.cache_client._SortedSetFetchResponse._Found._Values 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 grpc.cache_client._SortedSetFetchResponse._Found._Values parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static grpc.cache_client._SortedSetFetchResponse._Found._Values 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(grpc.cache_client._SortedSetFetchResponse._Found._Values 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 cache_client._SortedSetFetchResponse._Found._Values}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder implements
          // @@protoc_insertion_point(builder_implements:cache_client._SortedSetFetchResponse._Found._Values)
          grpc.cache_client._SortedSetFetchResponse._Found._ValuesOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return grpc.cache_client.Cacheclient.internal_static_cache_client__SortedSetFetchResponse__Found__Values_descriptor;
        }

        @java.lang.Override
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return grpc.cache_client.Cacheclient.internal_static_cache_client__SortedSetFetchResponse__Found__Values_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  grpc.cache_client._SortedSetFetchResponse._Found._Values.class, grpc.cache_client._SortedSetFetchResponse._Found._Values.Builder.class);
        }

        // Construct using grpc.cache_client._SortedSetFetchResponse._Found._Values.newBuilder()
        private Builder() {

        }

        private Builder(
            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          super(parent);

        }
        @java.lang.Override
        public Builder clear() {
          super.clear();
          bitField0_ = 0;
          values_ = java.util.Collections.emptyList();
          return this;
        }

        @java.lang.Override
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return grpc.cache_client.Cacheclient.internal_static_cache_client__SortedSetFetchResponse__Found__Values_descriptor;
        }

        @java.lang.Override
        public grpc.cache_client._SortedSetFetchResponse._Found._Values getDefaultInstanceForType() {
          return grpc.cache_client._SortedSetFetchResponse._Found._Values.getDefaultInstance();
        }

        @java.lang.Override
        public grpc.cache_client._SortedSetFetchResponse._Found._Values build() {
          grpc.cache_client._SortedSetFetchResponse._Found._Values result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }

        @java.lang.Override
        public grpc.cache_client._SortedSetFetchResponse._Found._Values buildPartial() {
          grpc.cache_client._SortedSetFetchResponse._Found._Values result = new grpc.cache_client._SortedSetFetchResponse._Found._Values(this);
          buildPartialRepeatedFields(result);
          if (bitField0_ != 0) { buildPartial0(result); }
          onBuilt();
          return result;
        }

        private void buildPartialRepeatedFields(grpc.cache_client._SortedSetFetchResponse._Found._Values result) {
          if (((bitField0_ & 0x00000001) != 0)) {
            values_ = java.util.Collections.unmodifiableList(values_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.values_ = values_;
        }

        private void buildPartial0(grpc.cache_client._SortedSetFetchResponse._Found._Values result) {
          int from_bitField0_ = bitField0_;
        }

        @java.lang.Override
        public Builder mergeFrom(com.google.protobuf.Message other) {
          if (other instanceof grpc.cache_client._SortedSetFetchResponse._Found._Values) {
            return mergeFrom((grpc.cache_client._SortedSetFetchResponse._Found._Values)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }

        public Builder mergeFrom(grpc.cache_client._SortedSetFetchResponse._Found._Values other) {
          if (other == grpc.cache_client._SortedSetFetchResponse._Found._Values.getDefaultInstance()) return this;
          if (!other.values_.isEmpty()) {
            if (values_.isEmpty()) {
              values_ = other.values_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureValuesIsMutable();
              values_.addAll(other.values_);
            }
            onChanged();
          }
          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: {
                  com.google.protobuf.ByteString v = input.readBytes();
                  ensureValuesIsMutable();
                  values_.add(v);
                  break;
                } // case 10
                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 java.util.List values_ = java.util.Collections.emptyList();
        private void ensureValuesIsMutable() {
          if (!((bitField0_ & 0x00000001) != 0)) {
            values_ = new java.util.ArrayList(values_);
            bitField0_ |= 0x00000001;
          }
        }
        /**
         * repeated bytes values = 1;
         * @return A list containing the values.
         */
        public java.util.List
            getValuesList() {
          return ((bitField0_ & 0x00000001) != 0) ?
                   java.util.Collections.unmodifiableList(values_) : values_;
        }
        /**
         * repeated bytes values = 1;
         * @return The count of values.
         */
        public int getValuesCount() {
          return values_.size();
        }
        /**
         * repeated bytes values = 1;
         * @param index The index of the element to return.
         * @return The values at the given index.
         */
        public com.google.protobuf.ByteString getValues(int index) {
          return values_.get(index);
        }
        /**
         * repeated bytes values = 1;
         * @param index The index to set the value at.
         * @param value The values to set.
         * @return This builder for chaining.
         */
        public Builder setValues(
            int index, com.google.protobuf.ByteString value) {
          if (value == null) { throw new NullPointerException(); }
          ensureValuesIsMutable();
          values_.set(index, value);
          onChanged();
          return this;
        }
        /**
         * repeated bytes values = 1;
         * @param value The values to add.
         * @return This builder for chaining.
         */
        public Builder addValues(com.google.protobuf.ByteString value) {
          if (value == null) { throw new NullPointerException(); }
          ensureValuesIsMutable();
          values_.add(value);
          onChanged();
          return this;
        }
        /**
         * repeated bytes values = 1;
         * @param values The values to add.
         * @return This builder for chaining.
         */
        public Builder addAllValues(
            java.lang.Iterable values) {
          ensureValuesIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, values_);
          onChanged();
          return this;
        }
        /**
         * repeated bytes values = 1;
         * @return This builder for chaining.
         */
        public Builder clearValues() {
          values_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
          return this;
        }
        @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:cache_client._SortedSetFetchResponse._Found._Values)
      }

      // @@protoc_insertion_point(class_scope:cache_client._SortedSetFetchResponse._Found._Values)
      private static final grpc.cache_client._SortedSetFetchResponse._Found._Values DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new grpc.cache_client._SortedSetFetchResponse._Found._Values();
      }

      public static grpc.cache_client._SortedSetFetchResponse._Found._Values getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

      private static final com.google.protobuf.Parser<_Values>
          PARSER = new com.google.protobuf.AbstractParser<_Values>() {
        @java.lang.Override
        public _Values 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<_Values> parser() {
        return PARSER;
      }

      @java.lang.Override
      public com.google.protobuf.Parser<_Values> getParserForType() {
        return PARSER;
      }

      @java.lang.Override
      public grpc.cache_client._SortedSetFetchResponse._Found._Values getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }

    }

    private int elementsCase_ = 0;
    @SuppressWarnings("serial")
    private java.lang.Object elements_;
    public enum ElementsCase
        implements com.google.protobuf.Internal.EnumLite,
            com.google.protobuf.AbstractMessage.InternalOneOfEnum {
      VALUES_WITH_SCORES(1),
      VALUES(2),
      ELEMENTS_NOT_SET(0);
      private final int value;
      private ElementsCase(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 ElementsCase valueOf(int value) {
        return forNumber(value);
      }

      public static ElementsCase forNumber(int value) {
        switch (value) {
          case 1: return VALUES_WITH_SCORES;
          case 2: return VALUES;
          case 0: return ELEMENTS_NOT_SET;
          default: return null;
        }
      }
      public int getNumber() {
        return this.value;
      }
    };

    public ElementsCase
    getElementsCase() {
      return ElementsCase.forNumber(
          elementsCase_);
    }

    public static final int VALUES_WITH_SCORES_FIELD_NUMBER = 1;
    /**
     * .cache_client._SortedSetFetchResponse._Found._ValuesWithScores values_with_scores = 1;
     * @return Whether the valuesWithScores field is set.
     */
    @java.lang.Override
    public boolean hasValuesWithScores() {
      return elementsCase_ == 1;
    }
    /**
     * .cache_client._SortedSetFetchResponse._Found._ValuesWithScores values_with_scores = 1;
     * @return The valuesWithScores.
     */
    @java.lang.Override
    public grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores getValuesWithScores() {
      if (elementsCase_ == 1) {
         return (grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores) elements_;
      }
      return grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores.getDefaultInstance();
    }
    /**
     * .cache_client._SortedSetFetchResponse._Found._ValuesWithScores values_with_scores = 1;
     */
    @java.lang.Override
    public grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScoresOrBuilder getValuesWithScoresOrBuilder() {
      if (elementsCase_ == 1) {
         return (grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores) elements_;
      }
      return grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores.getDefaultInstance();
    }

    public static final int VALUES_FIELD_NUMBER = 2;
    /**
     * .cache_client._SortedSetFetchResponse._Found._Values values = 2;
     * @return Whether the values field is set.
     */
    @java.lang.Override
    public boolean hasValues() {
      return elementsCase_ == 2;
    }
    /**
     * .cache_client._SortedSetFetchResponse._Found._Values values = 2;
     * @return The values.
     */
    @java.lang.Override
    public grpc.cache_client._SortedSetFetchResponse._Found._Values getValues() {
      if (elementsCase_ == 2) {
         return (grpc.cache_client._SortedSetFetchResponse._Found._Values) elements_;
      }
      return grpc.cache_client._SortedSetFetchResponse._Found._Values.getDefaultInstance();
    }
    /**
     * .cache_client._SortedSetFetchResponse._Found._Values values = 2;
     */
    @java.lang.Override
    public grpc.cache_client._SortedSetFetchResponse._Found._ValuesOrBuilder getValuesOrBuilder() {
      if (elementsCase_ == 2) {
         return (grpc.cache_client._SortedSetFetchResponse._Found._Values) elements_;
      }
      return grpc.cache_client._SortedSetFetchResponse._Found._Values.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 (elementsCase_ == 1) {
        output.writeMessage(1, (grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores) elements_);
      }
      if (elementsCase_ == 2) {
        output.writeMessage(2, (grpc.cache_client._SortedSetFetchResponse._Found._Values) elements_);
      }
      getUnknownFields().writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (elementsCase_ == 1) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, (grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores) elements_);
      }
      if (elementsCase_ == 2) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, (grpc.cache_client._SortedSetFetchResponse._Found._Values) elements_);
      }
      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 grpc.cache_client._SortedSetFetchResponse._Found)) {
        return super.equals(obj);
      }
      grpc.cache_client._SortedSetFetchResponse._Found other = (grpc.cache_client._SortedSetFetchResponse._Found) obj;

      if (!getElementsCase().equals(other.getElementsCase())) return false;
      switch (elementsCase_) {
        case 1:
          if (!getValuesWithScores()
              .equals(other.getValuesWithScores())) return false;
          break;
        case 2:
          if (!getValues()
              .equals(other.getValues())) 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 (elementsCase_) {
        case 1:
          hash = (37 * hash) + VALUES_WITH_SCORES_FIELD_NUMBER;
          hash = (53 * hash) + getValuesWithScores().hashCode();
          break;
        case 2:
          hash = (37 * hash) + VALUES_FIELD_NUMBER;
          hash = (53 * hash) + getValues().hashCode();
          break;
        case 0:
        default:
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static grpc.cache_client._SortedSetFetchResponse._Found parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static grpc.cache_client._SortedSetFetchResponse._Found parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static grpc.cache_client._SortedSetFetchResponse._Found parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static grpc.cache_client._SortedSetFetchResponse._Found parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static grpc.cache_client._SortedSetFetchResponse._Found parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static grpc.cache_client._SortedSetFetchResponse._Found parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static grpc.cache_client._SortedSetFetchResponse._Found parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static grpc.cache_client._SortedSetFetchResponse._Found 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 grpc.cache_client._SortedSetFetchResponse._Found parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static grpc.cache_client._SortedSetFetchResponse._Found 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 grpc.cache_client._SortedSetFetchResponse._Found parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static grpc.cache_client._SortedSetFetchResponse._Found 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(grpc.cache_client._SortedSetFetchResponse._Found 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 cache_client._SortedSetFetchResponse._Found}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:cache_client._SortedSetFetchResponse._Found)
        grpc.cache_client._SortedSetFetchResponse._FoundOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return grpc.cache_client.Cacheclient.internal_static_cache_client__SortedSetFetchResponse__Found_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return grpc.cache_client.Cacheclient.internal_static_cache_client__SortedSetFetchResponse__Found_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                grpc.cache_client._SortedSetFetchResponse._Found.class, grpc.cache_client._SortedSetFetchResponse._Found.Builder.class);
      }

      // Construct using grpc.cache_client._SortedSetFetchResponse._Found.newBuilder()
      private Builder() {

      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);

      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        if (valuesWithScoresBuilder_ != null) {
          valuesWithScoresBuilder_.clear();
        }
        if (valuesBuilder_ != null) {
          valuesBuilder_.clear();
        }
        elementsCase_ = 0;
        elements_ = null;
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return grpc.cache_client.Cacheclient.internal_static_cache_client__SortedSetFetchResponse__Found_descriptor;
      }

      @java.lang.Override
      public grpc.cache_client._SortedSetFetchResponse._Found getDefaultInstanceForType() {
        return grpc.cache_client._SortedSetFetchResponse._Found.getDefaultInstance();
      }

      @java.lang.Override
      public grpc.cache_client._SortedSetFetchResponse._Found build() {
        grpc.cache_client._SortedSetFetchResponse._Found result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public grpc.cache_client._SortedSetFetchResponse._Found buildPartial() {
        grpc.cache_client._SortedSetFetchResponse._Found result = new grpc.cache_client._SortedSetFetchResponse._Found(this);
        if (bitField0_ != 0) { buildPartial0(result); }
        buildPartialOneofs(result);
        onBuilt();
        return result;
      }

      private void buildPartial0(grpc.cache_client._SortedSetFetchResponse._Found result) {
        int from_bitField0_ = bitField0_;
      }

      private void buildPartialOneofs(grpc.cache_client._SortedSetFetchResponse._Found result) {
        result.elementsCase_ = elementsCase_;
        result.elements_ = this.elements_;
        if (elementsCase_ == 1 &&
            valuesWithScoresBuilder_ != null) {
          result.elements_ = valuesWithScoresBuilder_.build();
        }
        if (elementsCase_ == 2 &&
            valuesBuilder_ != null) {
          result.elements_ = valuesBuilder_.build();
        }
      }

      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof grpc.cache_client._SortedSetFetchResponse._Found) {
          return mergeFrom((grpc.cache_client._SortedSetFetchResponse._Found)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(grpc.cache_client._SortedSetFetchResponse._Found other) {
        if (other == grpc.cache_client._SortedSetFetchResponse._Found.getDefaultInstance()) return this;
        switch (other.getElementsCase()) {
          case VALUES_WITH_SCORES: {
            mergeValuesWithScores(other.getValuesWithScores());
            break;
          }
          case VALUES: {
            mergeValues(other.getValues());
            break;
          }
          case ELEMENTS_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(
                    getValuesWithScoresFieldBuilder().getBuilder(),
                    extensionRegistry);
                elementsCase_ = 1;
                break;
              } // case 10
              case 18: {
                input.readMessage(
                    getValuesFieldBuilder().getBuilder(),
                    extensionRegistry);
                elementsCase_ = 2;
                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 elementsCase_ = 0;
      private java.lang.Object elements_;
      public ElementsCase
          getElementsCase() {
        return ElementsCase.forNumber(
            elementsCase_);
      }

      public Builder clearElements() {
        elementsCase_ = 0;
        elements_ = null;
        onChanged();
        return this;
      }

      private int bitField0_;

      private com.google.protobuf.SingleFieldBuilderV3<
          grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores, grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores.Builder, grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScoresOrBuilder> valuesWithScoresBuilder_;
      /**
       * .cache_client._SortedSetFetchResponse._Found._ValuesWithScores values_with_scores = 1;
       * @return Whether the valuesWithScores field is set.
       */
      @java.lang.Override
      public boolean hasValuesWithScores() {
        return elementsCase_ == 1;
      }
      /**
       * .cache_client._SortedSetFetchResponse._Found._ValuesWithScores values_with_scores = 1;
       * @return The valuesWithScores.
       */
      @java.lang.Override
      public grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores getValuesWithScores() {
        if (valuesWithScoresBuilder_ == null) {
          if (elementsCase_ == 1) {
            return (grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores) elements_;
          }
          return grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores.getDefaultInstance();
        } else {
          if (elementsCase_ == 1) {
            return valuesWithScoresBuilder_.getMessage();
          }
          return grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores.getDefaultInstance();
        }
      }
      /**
       * .cache_client._SortedSetFetchResponse._Found._ValuesWithScores values_with_scores = 1;
       */
      public Builder setValuesWithScores(grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores value) {
        if (valuesWithScoresBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          elements_ = value;
          onChanged();
        } else {
          valuesWithScoresBuilder_.setMessage(value);
        }
        elementsCase_ = 1;
        return this;
      }
      /**
       * .cache_client._SortedSetFetchResponse._Found._ValuesWithScores values_with_scores = 1;
       */
      public Builder setValuesWithScores(
          grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores.Builder builderForValue) {
        if (valuesWithScoresBuilder_ == null) {
          elements_ = builderForValue.build();
          onChanged();
        } else {
          valuesWithScoresBuilder_.setMessage(builderForValue.build());
        }
        elementsCase_ = 1;
        return this;
      }
      /**
       * .cache_client._SortedSetFetchResponse._Found._ValuesWithScores values_with_scores = 1;
       */
      public Builder mergeValuesWithScores(grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores value) {
        if (valuesWithScoresBuilder_ == null) {
          if (elementsCase_ == 1 &&
              elements_ != grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores.getDefaultInstance()) {
            elements_ = grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores.newBuilder((grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores) elements_)
                .mergeFrom(value).buildPartial();
          } else {
            elements_ = value;
          }
          onChanged();
        } else {
          if (elementsCase_ == 1) {
            valuesWithScoresBuilder_.mergeFrom(value);
          } else {
            valuesWithScoresBuilder_.setMessage(value);
          }
        }
        elementsCase_ = 1;
        return this;
      }
      /**
       * .cache_client._SortedSetFetchResponse._Found._ValuesWithScores values_with_scores = 1;
       */
      public Builder clearValuesWithScores() {
        if (valuesWithScoresBuilder_ == null) {
          if (elementsCase_ == 1) {
            elementsCase_ = 0;
            elements_ = null;
            onChanged();
          }
        } else {
          if (elementsCase_ == 1) {
            elementsCase_ = 0;
            elements_ = null;
          }
          valuesWithScoresBuilder_.clear();
        }
        return this;
      }
      /**
       * .cache_client._SortedSetFetchResponse._Found._ValuesWithScores values_with_scores = 1;
       */
      public grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores.Builder getValuesWithScoresBuilder() {
        return getValuesWithScoresFieldBuilder().getBuilder();
      }
      /**
       * .cache_client._SortedSetFetchResponse._Found._ValuesWithScores values_with_scores = 1;
       */
      @java.lang.Override
      public grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScoresOrBuilder getValuesWithScoresOrBuilder() {
        if ((elementsCase_ == 1) && (valuesWithScoresBuilder_ != null)) {
          return valuesWithScoresBuilder_.getMessageOrBuilder();
        } else {
          if (elementsCase_ == 1) {
            return (grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores) elements_;
          }
          return grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores.getDefaultInstance();
        }
      }
      /**
       * .cache_client._SortedSetFetchResponse._Found._ValuesWithScores values_with_scores = 1;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores, grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores.Builder, grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScoresOrBuilder> 
          getValuesWithScoresFieldBuilder() {
        if (valuesWithScoresBuilder_ == null) {
          if (!(elementsCase_ == 1)) {
            elements_ = grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores.getDefaultInstance();
          }
          valuesWithScoresBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores, grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores.Builder, grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScoresOrBuilder>(
                  (grpc.cache_client._SortedSetFetchResponse._Found._ValuesWithScores) elements_,
                  getParentForChildren(),
                  isClean());
          elements_ = null;
        }
        elementsCase_ = 1;
        onChanged();
        return valuesWithScoresBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          grpc.cache_client._SortedSetFetchResponse._Found._Values, grpc.cache_client._SortedSetFetchResponse._Found._Values.Builder, grpc.cache_client._SortedSetFetchResponse._Found._ValuesOrBuilder> valuesBuilder_;
      /**
       * .cache_client._SortedSetFetchResponse._Found._Values values = 2;
       * @return Whether the values field is set.
       */
      @java.lang.Override
      public boolean hasValues() {
        return elementsCase_ == 2;
      }
      /**
       * .cache_client._SortedSetFetchResponse._Found._Values values = 2;
       * @return The values.
       */
      @java.lang.Override
      public grpc.cache_client._SortedSetFetchResponse._Found._Values getValues() {
        if (valuesBuilder_ == null) {
          if (elementsCase_ == 2) {
            return (grpc.cache_client._SortedSetFetchResponse._Found._Values) elements_;
          }
          return grpc.cache_client._SortedSetFetchResponse._Found._Values.getDefaultInstance();
        } else {
          if (elementsCase_ == 2) {
            return valuesBuilder_.getMessage();
          }
          return grpc.cache_client._SortedSetFetchResponse._Found._Values.getDefaultInstance();
        }
      }
      /**
       * .cache_client._SortedSetFetchResponse._Found._Values values = 2;
       */
      public Builder setValues(grpc.cache_client._SortedSetFetchResponse._Found._Values value) {
        if (valuesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          elements_ = value;
          onChanged();
        } else {
          valuesBuilder_.setMessage(value);
        }
        elementsCase_ = 2;
        return this;
      }
      /**
       * .cache_client._SortedSetFetchResponse._Found._Values values = 2;
       */
      public Builder setValues(
          grpc.cache_client._SortedSetFetchResponse._Found._Values.Builder builderForValue) {
        if (valuesBuilder_ == null) {
          elements_ = builderForValue.build();
          onChanged();
        } else {
          valuesBuilder_.setMessage(builderForValue.build());
        }
        elementsCase_ = 2;
        return this;
      }
      /**
       * .cache_client._SortedSetFetchResponse._Found._Values values = 2;
       */
      public Builder mergeValues(grpc.cache_client._SortedSetFetchResponse._Found._Values value) {
        if (valuesBuilder_ == null) {
          if (elementsCase_ == 2 &&
              elements_ != grpc.cache_client._SortedSetFetchResponse._Found._Values.getDefaultInstance()) {
            elements_ = grpc.cache_client._SortedSetFetchResponse._Found._Values.newBuilder((grpc.cache_client._SortedSetFetchResponse._Found._Values) elements_)
                .mergeFrom(value).buildPartial();
          } else {
            elements_ = value;
          }
          onChanged();
        } else {
          if (elementsCase_ == 2) {
            valuesBuilder_.mergeFrom(value);
          } else {
            valuesBuilder_.setMessage(value);
          }
        }
        elementsCase_ = 2;
        return this;
      }
      /**
       * .cache_client._SortedSetFetchResponse._Found._Values values = 2;
       */
      public Builder clearValues() {
        if (valuesBuilder_ == null) {
          if (elementsCase_ == 2) {
            elementsCase_ = 0;
            elements_ = null;
            onChanged();
          }
        } else {
          if (elementsCase_ == 2) {
            elementsCase_ = 0;
            elements_ = null;
          }
          valuesBuilder_.clear();
        }
        return this;
      }
      /**
       * .cache_client._SortedSetFetchResponse._Found._Values values = 2;
       */
      public grpc.cache_client._SortedSetFetchResponse._Found._Values.Builder getValuesBuilder() {
        return getValuesFieldBuilder().getBuilder();
      }
      /**
       * .cache_client._SortedSetFetchResponse._Found._Values values = 2;
       */
      @java.lang.Override
      public grpc.cache_client._SortedSetFetchResponse._Found._ValuesOrBuilder getValuesOrBuilder() {
        if ((elementsCase_ == 2) && (valuesBuilder_ != null)) {
          return valuesBuilder_.getMessageOrBuilder();
        } else {
          if (elementsCase_ == 2) {
            return (grpc.cache_client._SortedSetFetchResponse._Found._Values) elements_;
          }
          return grpc.cache_client._SortedSetFetchResponse._Found._Values.getDefaultInstance();
        }
      }
      /**
       * .cache_client._SortedSetFetchResponse._Found._Values values = 2;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          grpc.cache_client._SortedSetFetchResponse._Found._Values, grpc.cache_client._SortedSetFetchResponse._Found._Values.Builder, grpc.cache_client._SortedSetFetchResponse._Found._ValuesOrBuilder> 
          getValuesFieldBuilder() {
        if (valuesBuilder_ == null) {
          if (!(elementsCase_ == 2)) {
            elements_ = grpc.cache_client._SortedSetFetchResponse._Found._Values.getDefaultInstance();
          }
          valuesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              grpc.cache_client._SortedSetFetchResponse._Found._Values, grpc.cache_client._SortedSetFetchResponse._Found._Values.Builder, grpc.cache_client._SortedSetFetchResponse._Found._ValuesOrBuilder>(
                  (grpc.cache_client._SortedSetFetchResponse._Found._Values) elements_,
                  getParentForChildren(),
                  isClean());
          elements_ = null;
        }
        elementsCase_ = 2;
        onChanged();
        return valuesBuilder_;
      }
      @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:cache_client._SortedSetFetchResponse._Found)
    }

    // @@protoc_insertion_point(class_scope:cache_client._SortedSetFetchResponse._Found)
    private static final grpc.cache_client._SortedSetFetchResponse._Found DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new grpc.cache_client._SortedSetFetchResponse._Found();
    }

    public static grpc.cache_client._SortedSetFetchResponse._Found getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<_Found>
        PARSER = new com.google.protobuf.AbstractParser<_Found>() {
      @java.lang.Override
      public _Found 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<_Found> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<_Found> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public grpc.cache_client._SortedSetFetchResponse._Found getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface _MissingOrBuilder extends
      // @@protoc_insertion_point(interface_extends:cache_client._SortedSetFetchResponse._Missing)
      com.google.protobuf.MessageOrBuilder {
  }
  /**
   * Protobuf type {@code cache_client._SortedSetFetchResponse._Missing}
   */
  public static final class _Missing extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:cache_client._SortedSetFetchResponse._Missing)
      _MissingOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use _Missing.newBuilder() to construct.
    private _Missing(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private _Missing() {
    }

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

    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return grpc.cache_client.Cacheclient.internal_static_cache_client__SortedSetFetchResponse__Missing_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return grpc.cache_client.Cacheclient.internal_static_cache_client__SortedSetFetchResponse__Missing_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              grpc.cache_client._SortedSetFetchResponse._Missing.class, grpc.cache_client._SortedSetFetchResponse._Missing.Builder.class);
    }

    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 {
      getUnknownFields().writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      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 grpc.cache_client._SortedSetFetchResponse._Missing)) {
        return super.equals(obj);
      }
      grpc.cache_client._SortedSetFetchResponse._Missing other = (grpc.cache_client._SortedSetFetchResponse._Missing) obj;

      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();
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static grpc.cache_client._SortedSetFetchResponse._Missing parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static grpc.cache_client._SortedSetFetchResponse._Missing parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static grpc.cache_client._SortedSetFetchResponse._Missing parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static grpc.cache_client._SortedSetFetchResponse._Missing parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static grpc.cache_client._SortedSetFetchResponse._Missing parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static grpc.cache_client._SortedSetFetchResponse._Missing parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static grpc.cache_client._SortedSetFetchResponse._Missing parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static grpc.cache_client._SortedSetFetchResponse._Missing 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 grpc.cache_client._SortedSetFetchResponse._Missing parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static grpc.cache_client._SortedSetFetchResponse._Missing 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 grpc.cache_client._SortedSetFetchResponse._Missing parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static grpc.cache_client._SortedSetFetchResponse._Missing 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(grpc.cache_client._SortedSetFetchResponse._Missing 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 cache_client._SortedSetFetchResponse._Missing}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:cache_client._SortedSetFetchResponse._Missing)
        grpc.cache_client._SortedSetFetchResponse._MissingOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return grpc.cache_client.Cacheclient.internal_static_cache_client__SortedSetFetchResponse__Missing_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return grpc.cache_client.Cacheclient.internal_static_cache_client__SortedSetFetchResponse__Missing_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                grpc.cache_client._SortedSetFetchResponse._Missing.class, grpc.cache_client._SortedSetFetchResponse._Missing.Builder.class);
      }

      // Construct using grpc.cache_client._SortedSetFetchResponse._Missing.newBuilder()
      private Builder() {

      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);

      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return grpc.cache_client.Cacheclient.internal_static_cache_client__SortedSetFetchResponse__Missing_descriptor;
      }

      @java.lang.Override
      public grpc.cache_client._SortedSetFetchResponse._Missing getDefaultInstanceForType() {
        return grpc.cache_client._SortedSetFetchResponse._Missing.getDefaultInstance();
      }

      @java.lang.Override
      public grpc.cache_client._SortedSetFetchResponse._Missing build() {
        grpc.cache_client._SortedSetFetchResponse._Missing result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public grpc.cache_client._SortedSetFetchResponse._Missing buildPartial() {
        grpc.cache_client._SortedSetFetchResponse._Missing result = new grpc.cache_client._SortedSetFetchResponse._Missing(this);
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof grpc.cache_client._SortedSetFetchResponse._Missing) {
          return mergeFrom((grpc.cache_client._SortedSetFetchResponse._Missing)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(grpc.cache_client._SortedSetFetchResponse._Missing other) {
        if (other == grpc.cache_client._SortedSetFetchResponse._Missing.getDefaultInstance()) return this;
        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;
              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;
      }
      @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:cache_client._SortedSetFetchResponse._Missing)
    }

    // @@protoc_insertion_point(class_scope:cache_client._SortedSetFetchResponse._Missing)
    private static final grpc.cache_client._SortedSetFetchResponse._Missing DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new grpc.cache_client._SortedSetFetchResponse._Missing();
    }

    public static grpc.cache_client._SortedSetFetchResponse._Missing getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<_Missing>
        PARSER = new com.google.protobuf.AbstractParser<_Missing>() {
      @java.lang.Override
      public _Missing 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<_Missing> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<_Missing> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public grpc.cache_client._SortedSetFetchResponse._Missing getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private int sortedSetCase_ = 0;
  @SuppressWarnings("serial")
  private java.lang.Object sortedSet_;
  public enum SortedSetCase
      implements com.google.protobuf.Internal.EnumLite,
          com.google.protobuf.AbstractMessage.InternalOneOfEnum {
    FOUND(1),
    MISSING(2),
    SORTEDSET_NOT_SET(0);
    private final int value;
    private SortedSetCase(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 SortedSetCase valueOf(int value) {
      return forNumber(value);
    }

    public static SortedSetCase forNumber(int value) {
      switch (value) {
        case 1: return FOUND;
        case 2: return MISSING;
        case 0: return SORTEDSET_NOT_SET;
        default: return null;
      }
    }
    public int getNumber() {
      return this.value;
    }
  };

  public SortedSetCase
  getSortedSetCase() {
    return SortedSetCase.forNumber(
        sortedSetCase_);
  }

  public static final int FOUND_FIELD_NUMBER = 1;
  /**
   * .cache_client._SortedSetFetchResponse._Found found = 1;
   * @return Whether the found field is set.
   */
  @java.lang.Override
  public boolean hasFound() {
    return sortedSetCase_ == 1;
  }
  /**
   * .cache_client._SortedSetFetchResponse._Found found = 1;
   * @return The found.
   */
  @java.lang.Override
  public grpc.cache_client._SortedSetFetchResponse._Found getFound() {
    if (sortedSetCase_ == 1) {
       return (grpc.cache_client._SortedSetFetchResponse._Found) sortedSet_;
    }
    return grpc.cache_client._SortedSetFetchResponse._Found.getDefaultInstance();
  }
  /**
   * .cache_client._SortedSetFetchResponse._Found found = 1;
   */
  @java.lang.Override
  public grpc.cache_client._SortedSetFetchResponse._FoundOrBuilder getFoundOrBuilder() {
    if (sortedSetCase_ == 1) {
       return (grpc.cache_client._SortedSetFetchResponse._Found) sortedSet_;
    }
    return grpc.cache_client._SortedSetFetchResponse._Found.getDefaultInstance();
  }

  public static final int MISSING_FIELD_NUMBER = 2;
  /**
   * .cache_client._SortedSetFetchResponse._Missing missing = 2;
   * @return Whether the missing field is set.
   */
  @java.lang.Override
  public boolean hasMissing() {
    return sortedSetCase_ == 2;
  }
  /**
   * .cache_client._SortedSetFetchResponse._Missing missing = 2;
   * @return The missing.
   */
  @java.lang.Override
  public grpc.cache_client._SortedSetFetchResponse._Missing getMissing() {
    if (sortedSetCase_ == 2) {
       return (grpc.cache_client._SortedSetFetchResponse._Missing) sortedSet_;
    }
    return grpc.cache_client._SortedSetFetchResponse._Missing.getDefaultInstance();
  }
  /**
   * .cache_client._SortedSetFetchResponse._Missing missing = 2;
   */
  @java.lang.Override
  public grpc.cache_client._SortedSetFetchResponse._MissingOrBuilder getMissingOrBuilder() {
    if (sortedSetCase_ == 2) {
       return (grpc.cache_client._SortedSetFetchResponse._Missing) sortedSet_;
    }
    return grpc.cache_client._SortedSetFetchResponse._Missing.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 (sortedSetCase_ == 1) {
      output.writeMessage(1, (grpc.cache_client._SortedSetFetchResponse._Found) sortedSet_);
    }
    if (sortedSetCase_ == 2) {
      output.writeMessage(2, (grpc.cache_client._SortedSetFetchResponse._Missing) sortedSet_);
    }
    getUnknownFields().writeTo(output);
  }

  @java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (sortedSetCase_ == 1) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1, (grpc.cache_client._SortedSetFetchResponse._Found) sortedSet_);
    }
    if (sortedSetCase_ == 2) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, (grpc.cache_client._SortedSetFetchResponse._Missing) sortedSet_);
    }
    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 grpc.cache_client._SortedSetFetchResponse)) {
      return super.equals(obj);
    }
    grpc.cache_client._SortedSetFetchResponse other = (grpc.cache_client._SortedSetFetchResponse) obj;

    if (!getSortedSetCase().equals(other.getSortedSetCase())) return false;
    switch (sortedSetCase_) {
      case 1:
        if (!getFound()
            .equals(other.getFound())) return false;
        break;
      case 2:
        if (!getMissing()
            .equals(other.getMissing())) 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 (sortedSetCase_) {
      case 1:
        hash = (37 * hash) + FOUND_FIELD_NUMBER;
        hash = (53 * hash) + getFound().hashCode();
        break;
      case 2:
        hash = (37 * hash) + MISSING_FIELD_NUMBER;
        hash = (53 * hash) + getMissing().hashCode();
        break;
      case 0:
      default:
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static grpc.cache_client._SortedSetFetchResponse parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static grpc.cache_client._SortedSetFetchResponse parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static grpc.cache_client._SortedSetFetchResponse parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static grpc.cache_client._SortedSetFetchResponse parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static grpc.cache_client._SortedSetFetchResponse parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static grpc.cache_client._SortedSetFetchResponse parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static grpc.cache_client._SortedSetFetchResponse parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static grpc.cache_client._SortedSetFetchResponse 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 grpc.cache_client._SortedSetFetchResponse parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static grpc.cache_client._SortedSetFetchResponse 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 grpc.cache_client._SortedSetFetchResponse parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static grpc.cache_client._SortedSetFetchResponse 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(grpc.cache_client._SortedSetFetchResponse 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 cache_client._SortedSetFetchResponse}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:cache_client._SortedSetFetchResponse)
      grpc.cache_client._SortedSetFetchResponseOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return grpc.cache_client.Cacheclient.internal_static_cache_client__SortedSetFetchResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return grpc.cache_client.Cacheclient.internal_static_cache_client__SortedSetFetchResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              grpc.cache_client._SortedSetFetchResponse.class, grpc.cache_client._SortedSetFetchResponse.Builder.class);
    }

    // Construct using grpc.cache_client._SortedSetFetchResponse.newBuilder()
    private Builder() {

    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      if (foundBuilder_ != null) {
        foundBuilder_.clear();
      }
      if (missingBuilder_ != null) {
        missingBuilder_.clear();
      }
      sortedSetCase_ = 0;
      sortedSet_ = null;
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return grpc.cache_client.Cacheclient.internal_static_cache_client__SortedSetFetchResponse_descriptor;
    }

    @java.lang.Override
    public grpc.cache_client._SortedSetFetchResponse getDefaultInstanceForType() {
      return grpc.cache_client._SortedSetFetchResponse.getDefaultInstance();
    }

    @java.lang.Override
    public grpc.cache_client._SortedSetFetchResponse build() {
      grpc.cache_client._SortedSetFetchResponse result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public grpc.cache_client._SortedSetFetchResponse buildPartial() {
      grpc.cache_client._SortedSetFetchResponse result = new grpc.cache_client._SortedSetFetchResponse(this);
      if (bitField0_ != 0) { buildPartial0(result); }
      buildPartialOneofs(result);
      onBuilt();
      return result;
    }

    private void buildPartial0(grpc.cache_client._SortedSetFetchResponse result) {
      int from_bitField0_ = bitField0_;
    }

    private void buildPartialOneofs(grpc.cache_client._SortedSetFetchResponse result) {
      result.sortedSetCase_ = sortedSetCase_;
      result.sortedSet_ = this.sortedSet_;
      if (sortedSetCase_ == 1 &&
          foundBuilder_ != null) {
        result.sortedSet_ = foundBuilder_.build();
      }
      if (sortedSetCase_ == 2 &&
          missingBuilder_ != null) {
        result.sortedSet_ = missingBuilder_.build();
      }
    }

    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof grpc.cache_client._SortedSetFetchResponse) {
        return mergeFrom((grpc.cache_client._SortedSetFetchResponse)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(grpc.cache_client._SortedSetFetchResponse other) {
      if (other == grpc.cache_client._SortedSetFetchResponse.getDefaultInstance()) return this;
      switch (other.getSortedSetCase()) {
        case FOUND: {
          mergeFound(other.getFound());
          break;
        }
        case MISSING: {
          mergeMissing(other.getMissing());
          break;
        }
        case SORTEDSET_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(
                  getFoundFieldBuilder().getBuilder(),
                  extensionRegistry);
              sortedSetCase_ = 1;
              break;
            } // case 10
            case 18: {
              input.readMessage(
                  getMissingFieldBuilder().getBuilder(),
                  extensionRegistry);
              sortedSetCase_ = 2;
              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 sortedSetCase_ = 0;
    private java.lang.Object sortedSet_;
    public SortedSetCase
        getSortedSetCase() {
      return SortedSetCase.forNumber(
          sortedSetCase_);
    }

    public Builder clearSortedSet() {
      sortedSetCase_ = 0;
      sortedSet_ = null;
      onChanged();
      return this;
    }

    private int bitField0_;

    private com.google.protobuf.SingleFieldBuilderV3<
        grpc.cache_client._SortedSetFetchResponse._Found, grpc.cache_client._SortedSetFetchResponse._Found.Builder, grpc.cache_client._SortedSetFetchResponse._FoundOrBuilder> foundBuilder_;
    /**
     * .cache_client._SortedSetFetchResponse._Found found = 1;
     * @return Whether the found field is set.
     */
    @java.lang.Override
    public boolean hasFound() {
      return sortedSetCase_ == 1;
    }
    /**
     * .cache_client._SortedSetFetchResponse._Found found = 1;
     * @return The found.
     */
    @java.lang.Override
    public grpc.cache_client._SortedSetFetchResponse._Found getFound() {
      if (foundBuilder_ == null) {
        if (sortedSetCase_ == 1) {
          return (grpc.cache_client._SortedSetFetchResponse._Found) sortedSet_;
        }
        return grpc.cache_client._SortedSetFetchResponse._Found.getDefaultInstance();
      } else {
        if (sortedSetCase_ == 1) {
          return foundBuilder_.getMessage();
        }
        return grpc.cache_client._SortedSetFetchResponse._Found.getDefaultInstance();
      }
    }
    /**
     * .cache_client._SortedSetFetchResponse._Found found = 1;
     */
    public Builder setFound(grpc.cache_client._SortedSetFetchResponse._Found value) {
      if (foundBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        sortedSet_ = value;
        onChanged();
      } else {
        foundBuilder_.setMessage(value);
      }
      sortedSetCase_ = 1;
      return this;
    }
    /**
     * .cache_client._SortedSetFetchResponse._Found found = 1;
     */
    public Builder setFound(
        grpc.cache_client._SortedSetFetchResponse._Found.Builder builderForValue) {
      if (foundBuilder_ == null) {
        sortedSet_ = builderForValue.build();
        onChanged();
      } else {
        foundBuilder_.setMessage(builderForValue.build());
      }
      sortedSetCase_ = 1;
      return this;
    }
    /**
     * .cache_client._SortedSetFetchResponse._Found found = 1;
     */
    public Builder mergeFound(grpc.cache_client._SortedSetFetchResponse._Found value) {
      if (foundBuilder_ == null) {
        if (sortedSetCase_ == 1 &&
            sortedSet_ != grpc.cache_client._SortedSetFetchResponse._Found.getDefaultInstance()) {
          sortedSet_ = grpc.cache_client._SortedSetFetchResponse._Found.newBuilder((grpc.cache_client._SortedSetFetchResponse._Found) sortedSet_)
              .mergeFrom(value).buildPartial();
        } else {
          sortedSet_ = value;
        }
        onChanged();
      } else {
        if (sortedSetCase_ == 1) {
          foundBuilder_.mergeFrom(value);
        } else {
          foundBuilder_.setMessage(value);
        }
      }
      sortedSetCase_ = 1;
      return this;
    }
    /**
     * .cache_client._SortedSetFetchResponse._Found found = 1;
     */
    public Builder clearFound() {
      if (foundBuilder_ == null) {
        if (sortedSetCase_ == 1) {
          sortedSetCase_ = 0;
          sortedSet_ = null;
          onChanged();
        }
      } else {
        if (sortedSetCase_ == 1) {
          sortedSetCase_ = 0;
          sortedSet_ = null;
        }
        foundBuilder_.clear();
      }
      return this;
    }
    /**
     * .cache_client._SortedSetFetchResponse._Found found = 1;
     */
    public grpc.cache_client._SortedSetFetchResponse._Found.Builder getFoundBuilder() {
      return getFoundFieldBuilder().getBuilder();
    }
    /**
     * .cache_client._SortedSetFetchResponse._Found found = 1;
     */
    @java.lang.Override
    public grpc.cache_client._SortedSetFetchResponse._FoundOrBuilder getFoundOrBuilder() {
      if ((sortedSetCase_ == 1) && (foundBuilder_ != null)) {
        return foundBuilder_.getMessageOrBuilder();
      } else {
        if (sortedSetCase_ == 1) {
          return (grpc.cache_client._SortedSetFetchResponse._Found) sortedSet_;
        }
        return grpc.cache_client._SortedSetFetchResponse._Found.getDefaultInstance();
      }
    }
    /**
     * .cache_client._SortedSetFetchResponse._Found found = 1;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        grpc.cache_client._SortedSetFetchResponse._Found, grpc.cache_client._SortedSetFetchResponse._Found.Builder, grpc.cache_client._SortedSetFetchResponse._FoundOrBuilder> 
        getFoundFieldBuilder() {
      if (foundBuilder_ == null) {
        if (!(sortedSetCase_ == 1)) {
          sortedSet_ = grpc.cache_client._SortedSetFetchResponse._Found.getDefaultInstance();
        }
        foundBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            grpc.cache_client._SortedSetFetchResponse._Found, grpc.cache_client._SortedSetFetchResponse._Found.Builder, grpc.cache_client._SortedSetFetchResponse._FoundOrBuilder>(
                (grpc.cache_client._SortedSetFetchResponse._Found) sortedSet_,
                getParentForChildren(),
                isClean());
        sortedSet_ = null;
      }
      sortedSetCase_ = 1;
      onChanged();
      return foundBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        grpc.cache_client._SortedSetFetchResponse._Missing, grpc.cache_client._SortedSetFetchResponse._Missing.Builder, grpc.cache_client._SortedSetFetchResponse._MissingOrBuilder> missingBuilder_;
    /**
     * .cache_client._SortedSetFetchResponse._Missing missing = 2;
     * @return Whether the missing field is set.
     */
    @java.lang.Override
    public boolean hasMissing() {
      return sortedSetCase_ == 2;
    }
    /**
     * .cache_client._SortedSetFetchResponse._Missing missing = 2;
     * @return The missing.
     */
    @java.lang.Override
    public grpc.cache_client._SortedSetFetchResponse._Missing getMissing() {
      if (missingBuilder_ == null) {
        if (sortedSetCase_ == 2) {
          return (grpc.cache_client._SortedSetFetchResponse._Missing) sortedSet_;
        }
        return grpc.cache_client._SortedSetFetchResponse._Missing.getDefaultInstance();
      } else {
        if (sortedSetCase_ == 2) {
          return missingBuilder_.getMessage();
        }
        return grpc.cache_client._SortedSetFetchResponse._Missing.getDefaultInstance();
      }
    }
    /**
     * .cache_client._SortedSetFetchResponse._Missing missing = 2;
     */
    public Builder setMissing(grpc.cache_client._SortedSetFetchResponse._Missing value) {
      if (missingBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        sortedSet_ = value;
        onChanged();
      } else {
        missingBuilder_.setMessage(value);
      }
      sortedSetCase_ = 2;
      return this;
    }
    /**
     * .cache_client._SortedSetFetchResponse._Missing missing = 2;
     */
    public Builder setMissing(
        grpc.cache_client._SortedSetFetchResponse._Missing.Builder builderForValue) {
      if (missingBuilder_ == null) {
        sortedSet_ = builderForValue.build();
        onChanged();
      } else {
        missingBuilder_.setMessage(builderForValue.build());
      }
      sortedSetCase_ = 2;
      return this;
    }
    /**
     * .cache_client._SortedSetFetchResponse._Missing missing = 2;
     */
    public Builder mergeMissing(grpc.cache_client._SortedSetFetchResponse._Missing value) {
      if (missingBuilder_ == null) {
        if (sortedSetCase_ == 2 &&
            sortedSet_ != grpc.cache_client._SortedSetFetchResponse._Missing.getDefaultInstance()) {
          sortedSet_ = grpc.cache_client._SortedSetFetchResponse._Missing.newBuilder((grpc.cache_client._SortedSetFetchResponse._Missing) sortedSet_)
              .mergeFrom(value).buildPartial();
        } else {
          sortedSet_ = value;
        }
        onChanged();
      } else {
        if (sortedSetCase_ == 2) {
          missingBuilder_.mergeFrom(value);
        } else {
          missingBuilder_.setMessage(value);
        }
      }
      sortedSetCase_ = 2;
      return this;
    }
    /**
     * .cache_client._SortedSetFetchResponse._Missing missing = 2;
     */
    public Builder clearMissing() {
      if (missingBuilder_ == null) {
        if (sortedSetCase_ == 2) {
          sortedSetCase_ = 0;
          sortedSet_ = null;
          onChanged();
        }
      } else {
        if (sortedSetCase_ == 2) {
          sortedSetCase_ = 0;
          sortedSet_ = null;
        }
        missingBuilder_.clear();
      }
      return this;
    }
    /**
     * .cache_client._SortedSetFetchResponse._Missing missing = 2;
     */
    public grpc.cache_client._SortedSetFetchResponse._Missing.Builder getMissingBuilder() {
      return getMissingFieldBuilder().getBuilder();
    }
    /**
     * .cache_client._SortedSetFetchResponse._Missing missing = 2;
     */
    @java.lang.Override
    public grpc.cache_client._SortedSetFetchResponse._MissingOrBuilder getMissingOrBuilder() {
      if ((sortedSetCase_ == 2) && (missingBuilder_ != null)) {
        return missingBuilder_.getMessageOrBuilder();
      } else {
        if (sortedSetCase_ == 2) {
          return (grpc.cache_client._SortedSetFetchResponse._Missing) sortedSet_;
        }
        return grpc.cache_client._SortedSetFetchResponse._Missing.getDefaultInstance();
      }
    }
    /**
     * .cache_client._SortedSetFetchResponse._Missing missing = 2;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        grpc.cache_client._SortedSetFetchResponse._Missing, grpc.cache_client._SortedSetFetchResponse._Missing.Builder, grpc.cache_client._SortedSetFetchResponse._MissingOrBuilder> 
        getMissingFieldBuilder() {
      if (missingBuilder_ == null) {
        if (!(sortedSetCase_ == 2)) {
          sortedSet_ = grpc.cache_client._SortedSetFetchResponse._Missing.getDefaultInstance();
        }
        missingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            grpc.cache_client._SortedSetFetchResponse._Missing, grpc.cache_client._SortedSetFetchResponse._Missing.Builder, grpc.cache_client._SortedSetFetchResponse._MissingOrBuilder>(
                (grpc.cache_client._SortedSetFetchResponse._Missing) sortedSet_,
                getParentForChildren(),
                isClean());
        sortedSet_ = null;
      }
      sortedSetCase_ = 2;
      onChanged();
      return missingBuilder_;
    }
    @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:cache_client._SortedSetFetchResponse)
  }

  // @@protoc_insertion_point(class_scope:cache_client._SortedSetFetchResponse)
  private static final grpc.cache_client._SortedSetFetchResponse DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new grpc.cache_client._SortedSetFetchResponse();
  }

  public static grpc.cache_client._SortedSetFetchResponse getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser<_SortedSetFetchResponse>
      PARSER = new com.google.protobuf.AbstractParser<_SortedSetFetchResponse>() {
    @java.lang.Override
    public _SortedSetFetchResponse 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<_SortedSetFetchResponse> parser() {
    return PARSER;
  }

  @java.lang.Override
  public com.google.protobuf.Parser<_SortedSetFetchResponse> getParserForType() {
    return PARSER;
  }

  @java.lang.Override
  public grpc.cache_client._SortedSetFetchResponse getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy