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

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

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

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

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

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

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

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

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

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

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

      // Construct using grpc.cache_client._SetIfResponse._Stored.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__SetIfResponse__Stored_descriptor;
      }

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

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

      @java.lang.Override
      public grpc.cache_client._SetIfResponse._Stored buildPartial() {
        grpc.cache_client._SetIfResponse._Stored result = new grpc.cache_client._SetIfResponse._Stored(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._SetIfResponse._Stored) {
          return mergeFrom((grpc.cache_client._SetIfResponse._Stored)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

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

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

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

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

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

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

  }

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

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

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

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

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

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

      // Construct using grpc.cache_client._SetIfResponse._NotStored.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__SetIfResponse__NotStored_descriptor;
      }

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

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

      @java.lang.Override
      public grpc.cache_client._SetIfResponse._NotStored buildPartial() {
        grpc.cache_client._SetIfResponse._NotStored result = new grpc.cache_client._SetIfResponse._NotStored(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._SetIfResponse._NotStored) {
          return mergeFrom((grpc.cache_client._SetIfResponse._NotStored)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

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

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

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

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

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

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

  }

  private int resultCase_ = 0;
  @SuppressWarnings("serial")
  private java.lang.Object result_;
  public enum ResultCase
      implements com.google.protobuf.Internal.EnumLite,
          com.google.protobuf.AbstractMessage.InternalOneOfEnum {
    STORED(1),
    NOT_STORED(2),
    RESULT_NOT_SET(0);
    private final int value;
    private ResultCase(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 ResultCase valueOf(int value) {
      return forNumber(value);
    }

    public static ResultCase forNumber(int value) {
      switch (value) {
        case 1: return STORED;
        case 2: return NOT_STORED;
        case 0: return RESULT_NOT_SET;
        default: return null;
      }
    }
    public int getNumber() {
      return this.value;
    }
  };

  public ResultCase
  getResultCase() {
    return ResultCase.forNumber(
        resultCase_);
  }

  public static final int STORED_FIELD_NUMBER = 1;
  /**
   * .cache_client._SetIfResponse._Stored stored = 1;
   * @return Whether the stored field is set.
   */
  @java.lang.Override
  public boolean hasStored() {
    return resultCase_ == 1;
  }
  /**
   * .cache_client._SetIfResponse._Stored stored = 1;
   * @return The stored.
   */
  @java.lang.Override
  public grpc.cache_client._SetIfResponse._Stored getStored() {
    if (resultCase_ == 1) {
       return (grpc.cache_client._SetIfResponse._Stored) result_;
    }
    return grpc.cache_client._SetIfResponse._Stored.getDefaultInstance();
  }
  /**
   * .cache_client._SetIfResponse._Stored stored = 1;
   */
  @java.lang.Override
  public grpc.cache_client._SetIfResponse._StoredOrBuilder getStoredOrBuilder() {
    if (resultCase_ == 1) {
       return (grpc.cache_client._SetIfResponse._Stored) result_;
    }
    return grpc.cache_client._SetIfResponse._Stored.getDefaultInstance();
  }

  public static final int NOT_STORED_FIELD_NUMBER = 2;
  /**
   * .cache_client._SetIfResponse._NotStored not_stored = 2;
   * @return Whether the notStored field is set.
   */
  @java.lang.Override
  public boolean hasNotStored() {
    return resultCase_ == 2;
  }
  /**
   * .cache_client._SetIfResponse._NotStored not_stored = 2;
   * @return The notStored.
   */
  @java.lang.Override
  public grpc.cache_client._SetIfResponse._NotStored getNotStored() {
    if (resultCase_ == 2) {
       return (grpc.cache_client._SetIfResponse._NotStored) result_;
    }
    return grpc.cache_client._SetIfResponse._NotStored.getDefaultInstance();
  }
  /**
   * .cache_client._SetIfResponse._NotStored not_stored = 2;
   */
  @java.lang.Override
  public grpc.cache_client._SetIfResponse._NotStoredOrBuilder getNotStoredOrBuilder() {
    if (resultCase_ == 2) {
       return (grpc.cache_client._SetIfResponse._NotStored) result_;
    }
    return grpc.cache_client._SetIfResponse._NotStored.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 (resultCase_ == 1) {
      output.writeMessage(1, (grpc.cache_client._SetIfResponse._Stored) result_);
    }
    if (resultCase_ == 2) {
      output.writeMessage(2, (grpc.cache_client._SetIfResponse._NotStored) result_);
    }
    getUnknownFields().writeTo(output);
  }

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

    size = 0;
    if (resultCase_ == 1) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1, (grpc.cache_client._SetIfResponse._Stored) result_);
    }
    if (resultCase_ == 2) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, (grpc.cache_client._SetIfResponse._NotStored) result_);
    }
    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._SetIfResponse)) {
      return super.equals(obj);
    }
    grpc.cache_client._SetIfResponse other = (grpc.cache_client._SetIfResponse) obj;

    if (!getResultCase().equals(other.getResultCase())) return false;
    switch (resultCase_) {
      case 1:
        if (!getStored()
            .equals(other.getStored())) return false;
        break;
      case 2:
        if (!getNotStored()
            .equals(other.getNotStored())) 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 (resultCase_) {
      case 1:
        hash = (37 * hash) + STORED_FIELD_NUMBER;
        hash = (53 * hash) + getStored().hashCode();
        break;
      case 2:
        hash = (37 * hash) + NOT_STORED_FIELD_NUMBER;
        hash = (53 * hash) + getNotStored().hashCode();
        break;
      case 0:
      default:
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

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

    }

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

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      if (storedBuilder_ != null) {
        storedBuilder_.clear();
      }
      if (notStoredBuilder_ != null) {
        notStoredBuilder_.clear();
      }
      resultCase_ = 0;
      result_ = null;
      return this;
    }

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

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

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

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

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

    private void buildPartialOneofs(grpc.cache_client._SetIfResponse result) {
      result.resultCase_ = resultCase_;
      result.result_ = this.result_;
      if (resultCase_ == 1 &&
          storedBuilder_ != null) {
        result.result_ = storedBuilder_.build();
      }
      if (resultCase_ == 2 &&
          notStoredBuilder_ != null) {
        result.result_ = notStoredBuilder_.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._SetIfResponse) {
        return mergeFrom((grpc.cache_client._SetIfResponse)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(grpc.cache_client._SetIfResponse other) {
      if (other == grpc.cache_client._SetIfResponse.getDefaultInstance()) return this;
      switch (other.getResultCase()) {
        case STORED: {
          mergeStored(other.getStored());
          break;
        }
        case NOT_STORED: {
          mergeNotStored(other.getNotStored());
          break;
        }
        case RESULT_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(
                  getStoredFieldBuilder().getBuilder(),
                  extensionRegistry);
              resultCase_ = 1;
              break;
            } // case 10
            case 18: {
              input.readMessage(
                  getNotStoredFieldBuilder().getBuilder(),
                  extensionRegistry);
              resultCase_ = 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 resultCase_ = 0;
    private java.lang.Object result_;
    public ResultCase
        getResultCase() {
      return ResultCase.forNumber(
          resultCase_);
    }

    public Builder clearResult() {
      resultCase_ = 0;
      result_ = null;
      onChanged();
      return this;
    }

    private int bitField0_;

    private com.google.protobuf.SingleFieldBuilderV3<
        grpc.cache_client._SetIfResponse._Stored, grpc.cache_client._SetIfResponse._Stored.Builder, grpc.cache_client._SetIfResponse._StoredOrBuilder> storedBuilder_;
    /**
     * .cache_client._SetIfResponse._Stored stored = 1;
     * @return Whether the stored field is set.
     */
    @java.lang.Override
    public boolean hasStored() {
      return resultCase_ == 1;
    }
    /**
     * .cache_client._SetIfResponse._Stored stored = 1;
     * @return The stored.
     */
    @java.lang.Override
    public grpc.cache_client._SetIfResponse._Stored getStored() {
      if (storedBuilder_ == null) {
        if (resultCase_ == 1) {
          return (grpc.cache_client._SetIfResponse._Stored) result_;
        }
        return grpc.cache_client._SetIfResponse._Stored.getDefaultInstance();
      } else {
        if (resultCase_ == 1) {
          return storedBuilder_.getMessage();
        }
        return grpc.cache_client._SetIfResponse._Stored.getDefaultInstance();
      }
    }
    /**
     * .cache_client._SetIfResponse._Stored stored = 1;
     */
    public Builder setStored(grpc.cache_client._SetIfResponse._Stored value) {
      if (storedBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        result_ = value;
        onChanged();
      } else {
        storedBuilder_.setMessage(value);
      }
      resultCase_ = 1;
      return this;
    }
    /**
     * .cache_client._SetIfResponse._Stored stored = 1;
     */
    public Builder setStored(
        grpc.cache_client._SetIfResponse._Stored.Builder builderForValue) {
      if (storedBuilder_ == null) {
        result_ = builderForValue.build();
        onChanged();
      } else {
        storedBuilder_.setMessage(builderForValue.build());
      }
      resultCase_ = 1;
      return this;
    }
    /**
     * .cache_client._SetIfResponse._Stored stored = 1;
     */
    public Builder mergeStored(grpc.cache_client._SetIfResponse._Stored value) {
      if (storedBuilder_ == null) {
        if (resultCase_ == 1 &&
            result_ != grpc.cache_client._SetIfResponse._Stored.getDefaultInstance()) {
          result_ = grpc.cache_client._SetIfResponse._Stored.newBuilder((grpc.cache_client._SetIfResponse._Stored) result_)
              .mergeFrom(value).buildPartial();
        } else {
          result_ = value;
        }
        onChanged();
      } else {
        if (resultCase_ == 1) {
          storedBuilder_.mergeFrom(value);
        } else {
          storedBuilder_.setMessage(value);
        }
      }
      resultCase_ = 1;
      return this;
    }
    /**
     * .cache_client._SetIfResponse._Stored stored = 1;
     */
    public Builder clearStored() {
      if (storedBuilder_ == null) {
        if (resultCase_ == 1) {
          resultCase_ = 0;
          result_ = null;
          onChanged();
        }
      } else {
        if (resultCase_ == 1) {
          resultCase_ = 0;
          result_ = null;
        }
        storedBuilder_.clear();
      }
      return this;
    }
    /**
     * .cache_client._SetIfResponse._Stored stored = 1;
     */
    public grpc.cache_client._SetIfResponse._Stored.Builder getStoredBuilder() {
      return getStoredFieldBuilder().getBuilder();
    }
    /**
     * .cache_client._SetIfResponse._Stored stored = 1;
     */
    @java.lang.Override
    public grpc.cache_client._SetIfResponse._StoredOrBuilder getStoredOrBuilder() {
      if ((resultCase_ == 1) && (storedBuilder_ != null)) {
        return storedBuilder_.getMessageOrBuilder();
      } else {
        if (resultCase_ == 1) {
          return (grpc.cache_client._SetIfResponse._Stored) result_;
        }
        return grpc.cache_client._SetIfResponse._Stored.getDefaultInstance();
      }
    }
    /**
     * .cache_client._SetIfResponse._Stored stored = 1;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        grpc.cache_client._SetIfResponse._Stored, grpc.cache_client._SetIfResponse._Stored.Builder, grpc.cache_client._SetIfResponse._StoredOrBuilder> 
        getStoredFieldBuilder() {
      if (storedBuilder_ == null) {
        if (!(resultCase_ == 1)) {
          result_ = grpc.cache_client._SetIfResponse._Stored.getDefaultInstance();
        }
        storedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            grpc.cache_client._SetIfResponse._Stored, grpc.cache_client._SetIfResponse._Stored.Builder, grpc.cache_client._SetIfResponse._StoredOrBuilder>(
                (grpc.cache_client._SetIfResponse._Stored) result_,
                getParentForChildren(),
                isClean());
        result_ = null;
      }
      resultCase_ = 1;
      onChanged();
      return storedBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        grpc.cache_client._SetIfResponse._NotStored, grpc.cache_client._SetIfResponse._NotStored.Builder, grpc.cache_client._SetIfResponse._NotStoredOrBuilder> notStoredBuilder_;
    /**
     * .cache_client._SetIfResponse._NotStored not_stored = 2;
     * @return Whether the notStored field is set.
     */
    @java.lang.Override
    public boolean hasNotStored() {
      return resultCase_ == 2;
    }
    /**
     * .cache_client._SetIfResponse._NotStored not_stored = 2;
     * @return The notStored.
     */
    @java.lang.Override
    public grpc.cache_client._SetIfResponse._NotStored getNotStored() {
      if (notStoredBuilder_ == null) {
        if (resultCase_ == 2) {
          return (grpc.cache_client._SetIfResponse._NotStored) result_;
        }
        return grpc.cache_client._SetIfResponse._NotStored.getDefaultInstance();
      } else {
        if (resultCase_ == 2) {
          return notStoredBuilder_.getMessage();
        }
        return grpc.cache_client._SetIfResponse._NotStored.getDefaultInstance();
      }
    }
    /**
     * .cache_client._SetIfResponse._NotStored not_stored = 2;
     */
    public Builder setNotStored(grpc.cache_client._SetIfResponse._NotStored value) {
      if (notStoredBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        result_ = value;
        onChanged();
      } else {
        notStoredBuilder_.setMessage(value);
      }
      resultCase_ = 2;
      return this;
    }
    /**
     * .cache_client._SetIfResponse._NotStored not_stored = 2;
     */
    public Builder setNotStored(
        grpc.cache_client._SetIfResponse._NotStored.Builder builderForValue) {
      if (notStoredBuilder_ == null) {
        result_ = builderForValue.build();
        onChanged();
      } else {
        notStoredBuilder_.setMessage(builderForValue.build());
      }
      resultCase_ = 2;
      return this;
    }
    /**
     * .cache_client._SetIfResponse._NotStored not_stored = 2;
     */
    public Builder mergeNotStored(grpc.cache_client._SetIfResponse._NotStored value) {
      if (notStoredBuilder_ == null) {
        if (resultCase_ == 2 &&
            result_ != grpc.cache_client._SetIfResponse._NotStored.getDefaultInstance()) {
          result_ = grpc.cache_client._SetIfResponse._NotStored.newBuilder((grpc.cache_client._SetIfResponse._NotStored) result_)
              .mergeFrom(value).buildPartial();
        } else {
          result_ = value;
        }
        onChanged();
      } else {
        if (resultCase_ == 2) {
          notStoredBuilder_.mergeFrom(value);
        } else {
          notStoredBuilder_.setMessage(value);
        }
      }
      resultCase_ = 2;
      return this;
    }
    /**
     * .cache_client._SetIfResponse._NotStored not_stored = 2;
     */
    public Builder clearNotStored() {
      if (notStoredBuilder_ == null) {
        if (resultCase_ == 2) {
          resultCase_ = 0;
          result_ = null;
          onChanged();
        }
      } else {
        if (resultCase_ == 2) {
          resultCase_ = 0;
          result_ = null;
        }
        notStoredBuilder_.clear();
      }
      return this;
    }
    /**
     * .cache_client._SetIfResponse._NotStored not_stored = 2;
     */
    public grpc.cache_client._SetIfResponse._NotStored.Builder getNotStoredBuilder() {
      return getNotStoredFieldBuilder().getBuilder();
    }
    /**
     * .cache_client._SetIfResponse._NotStored not_stored = 2;
     */
    @java.lang.Override
    public grpc.cache_client._SetIfResponse._NotStoredOrBuilder getNotStoredOrBuilder() {
      if ((resultCase_ == 2) && (notStoredBuilder_ != null)) {
        return notStoredBuilder_.getMessageOrBuilder();
      } else {
        if (resultCase_ == 2) {
          return (grpc.cache_client._SetIfResponse._NotStored) result_;
        }
        return grpc.cache_client._SetIfResponse._NotStored.getDefaultInstance();
      }
    }
    /**
     * .cache_client._SetIfResponse._NotStored not_stored = 2;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        grpc.cache_client._SetIfResponse._NotStored, grpc.cache_client._SetIfResponse._NotStored.Builder, grpc.cache_client._SetIfResponse._NotStoredOrBuilder> 
        getNotStoredFieldBuilder() {
      if (notStoredBuilder_ == null) {
        if (!(resultCase_ == 2)) {
          result_ = grpc.cache_client._SetIfResponse._NotStored.getDefaultInstance();
        }
        notStoredBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            grpc.cache_client._SetIfResponse._NotStored, grpc.cache_client._SetIfResponse._NotStored.Builder, grpc.cache_client._SetIfResponse._NotStoredOrBuilder>(
                (grpc.cache_client._SetIfResponse._NotStored) result_,
                getParentForChildren(),
                isClean());
        result_ = null;
      }
      resultCase_ = 2;
      onChanged();
      return notStoredBuilder_;
    }
    @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._SetIfResponse)
  }

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

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

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

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

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

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy