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

grpc.cache_client._ListFetchResponse 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._ListFetchResponse}
 */
public final class _ListFetchResponse extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:cache_client._ListFetchResponse)
    _ListFetchResponseOrBuilder {
private static final long serialVersionUID = 0L;
  // Use _ListFetchResponse.newBuilder() to construct.
  private _ListFetchResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private _ListFetchResponse() {
  }

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

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

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

  public interface _FoundOrBuilder extends
      // @@protoc_insertion_point(interface_extends:cache_client._ListFetchResponse._Found)
      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._ListFetchResponse._Found}
   */
  public static final class _Found extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:cache_client._ListFetchResponse._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() {
      values_ = emptyList(com.google.protobuf.ByteString.class);
    }

    @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__ListFetchResponse__Found_descriptor;
    }

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

    public static final int VALUES_FIELD_NUMBER = 1;
    @SuppressWarnings("serial")
    private com.google.protobuf.Internal.ProtobufList values_ =
        emptyList(com.google.protobuf.ByteString.class);
    /**
     * 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._ListFetchResponse._Found)) {
        return super.equals(obj);
      }
      grpc.cache_client._ListFetchResponse._Found other = (grpc.cache_client._ListFetchResponse._Found) 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._ListFetchResponse._Found parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static grpc.cache_client._ListFetchResponse._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._ListFetchResponse._Found parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static grpc.cache_client._ListFetchResponse._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._ListFetchResponse._Found parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static grpc.cache_client._ListFetchResponse._Found parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static grpc.cache_client._ListFetchResponse._Found parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static grpc.cache_client._ListFetchResponse._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._ListFetchResponse._Found parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }

    public static grpc.cache_client._ListFetchResponse._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._ListFetchResponse._Found parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static grpc.cache_client._ListFetchResponse._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._ListFetchResponse._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._ListFetchResponse._Found}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:cache_client._ListFetchResponse._Found)
        grpc.cache_client._ListFetchResponse._FoundOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return grpc.cache_client.Cacheclient.internal_static_cache_client__ListFetchResponse__Found_descriptor;
      }

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

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

      }

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

      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        values_ = emptyList(com.google.protobuf.ByteString.class);
        return this;
      }

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

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

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

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

      private void buildPartial0(grpc.cache_client._ListFetchResponse._Found result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          values_.makeImmutable();
          result.values_ = values_;
        }
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof grpc.cache_client._ListFetchResponse._Found) {
          return mergeFrom((grpc.cache_client._ListFetchResponse._Found)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(grpc.cache_client._ListFetchResponse._Found other) {
        if (other == grpc.cache_client._ListFetchResponse._Found.getDefaultInstance()) return this;
        if (!other.values_.isEmpty()) {
          if (values_.isEmpty()) {
            values_ = other.values_;
            values_.makeImmutable();
            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 com.google.protobuf.Internal.ProtobufList values_ = emptyList(com.google.protobuf.ByteString.class);
      private void ensureValuesIsMutable() {
        if (!values_.isModifiable()) {
          values_ = makeMutableCopy(values_);
        }
        bitField0_ |= 0x00000001;
      }
      /**
       * repeated bytes values = 1;
       * @return A list containing the values.
       */
      public java.util.List
          getValuesList() {
        values_.makeImmutable();
        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);
      }
      /**
       * 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);
        bitField0_ |= 0x00000001;
        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);
        bitField0_ |= 0x00000001;
        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_);
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * repeated bytes values = 1;
       * @return This builder for chaining.
       */
      public Builder clearValues() {
        values_ = emptyList(com.google.protobuf.ByteString.class);
        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._ListFetchResponse._Found)
    }

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

    public static grpc.cache_client._ListFetchResponse._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._ListFetchResponse._Found getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface _MissingOrBuilder extends
      // @@protoc_insertion_point(interface_extends:cache_client._ListFetchResponse._Missing)
      com.google.protobuf.MessageOrBuilder {
  }
  /**
   * Protobuf type {@code cache_client._ListFetchResponse._Missing}
   */
  public static final class _Missing extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:cache_client._ListFetchResponse._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__ListFetchResponse__Missing_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return grpc.cache_client.Cacheclient.internal_static_cache_client__ListFetchResponse__Missing_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              grpc.cache_client._ListFetchResponse._Missing.class, grpc.cache_client._ListFetchResponse._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._ListFetchResponse._Missing)) {
        return super.equals(obj);
      }
      grpc.cache_client._ListFetchResponse._Missing other = (grpc.cache_client._ListFetchResponse._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._ListFetchResponse._Missing parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static grpc.cache_client._ListFetchResponse._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._ListFetchResponse._Missing parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static grpc.cache_client._ListFetchResponse._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._ListFetchResponse._Missing parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static grpc.cache_client._ListFetchResponse._Missing parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static grpc.cache_client._ListFetchResponse._Missing parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static grpc.cache_client._ListFetchResponse._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._ListFetchResponse._Missing parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }

    public static grpc.cache_client._ListFetchResponse._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._ListFetchResponse._Missing parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static grpc.cache_client._ListFetchResponse._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._ListFetchResponse._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._ListFetchResponse._Missing}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:cache_client._ListFetchResponse._Missing)
        grpc.cache_client._ListFetchResponse._MissingOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return grpc.cache_client.Cacheclient.internal_static_cache_client__ListFetchResponse__Missing_descriptor;
      }

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

      // Construct using grpc.cache_client._ListFetchResponse._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__ListFetchResponse__Missing_descriptor;
      }

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

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

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

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof grpc.cache_client._ListFetchResponse._Missing) {
          return mergeFrom((grpc.cache_client._ListFetchResponse._Missing)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(grpc.cache_client._ListFetchResponse._Missing other) {
        if (other == grpc.cache_client._ListFetchResponse._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._ListFetchResponse._Missing)
    }

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

    public static grpc.cache_client._ListFetchResponse._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._ListFetchResponse._Missing getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

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

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

  public ListCase
  getListCase() {
    return ListCase.forNumber(
        listCase_);
  }

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

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

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

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

    if (!getListCase().equals(other.getListCase())) return false;
    switch (listCase_) {
      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 (listCase_) {
      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._ListFetchResponse parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static grpc.cache_client._ListFetchResponse 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._ListFetchResponse parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static grpc.cache_client._ListFetchResponse 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._ListFetchResponse parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static grpc.cache_client._ListFetchResponse parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static grpc.cache_client._ListFetchResponse parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static grpc.cache_client._ListFetchResponse 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._ListFetchResponse parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }

  public static grpc.cache_client._ListFetchResponse 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._ListFetchResponse parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static grpc.cache_client._ListFetchResponse 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._ListFetchResponse 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._ListFetchResponse}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:cache_client._ListFetchResponse)
      grpc.cache_client._ListFetchResponseOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return grpc.cache_client.Cacheclient.internal_static_cache_client__ListFetchResponse_descriptor;
    }

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

    // Construct using grpc.cache_client._ListFetchResponse.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();
      }
      listCase_ = 0;
      list_ = null;
      return this;
    }

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

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

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

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

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

    private void buildPartialOneofs(grpc.cache_client._ListFetchResponse result) {
      result.listCase_ = listCase_;
      result.list_ = this.list_;
      if (listCase_ == 1 &&
          foundBuilder_ != null) {
        result.list_ = foundBuilder_.build();
      }
      if (listCase_ == 2 &&
          missingBuilder_ != null) {
        result.list_ = missingBuilder_.build();
      }
    }

    @java.lang.Override
    public Builder clone() {
      return super.clone();
    }
    @java.lang.Override
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.setField(field, value);
    }
    @java.lang.Override
    public Builder clearField(
        com.google.protobuf.Descriptors.FieldDescriptor field) {
      return super.clearField(field);
    }
    @java.lang.Override
    public Builder clearOneof(
        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return super.clearOneof(oneof);
    }
    @java.lang.Override
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        int index, java.lang.Object value) {
      return super.setRepeatedField(field, index, value);
    }
    @java.lang.Override
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.addRepeatedField(field, value);
    }
    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof grpc.cache_client._ListFetchResponse) {
        return mergeFrom((grpc.cache_client._ListFetchResponse)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(grpc.cache_client._ListFetchResponse other) {
      if (other == grpc.cache_client._ListFetchResponse.getDefaultInstance()) return this;
      switch (other.getListCase()) {
        case FOUND: {
          mergeFound(other.getFound());
          break;
        }
        case MISSING: {
          mergeMissing(other.getMissing());
          break;
        }
        case LIST_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);
              listCase_ = 1;
              break;
            } // case 10
            case 18: {
              input.readMessage(
                  getMissingFieldBuilder().getBuilder(),
                  extensionRegistry);
              listCase_ = 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 listCase_ = 0;
    private java.lang.Object list_;
    public ListCase
        getListCase() {
      return ListCase.forNumber(
          listCase_);
    }

    public Builder clearList() {
      listCase_ = 0;
      list_ = null;
      onChanged();
      return this;
    }

    private int bitField0_;

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

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

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

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

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

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

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

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy