// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: in_toto_attestation/predicates/release/v0/release.proto

package io.github.intoto.attestation.predicates.release.v0;

public final class ReleaseOuterClass {
  private ReleaseOuterClass() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface ReleaseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:in_toto_attestation.predicates.release.v0.Release)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>string purl = 1;</code>
     * @return The purl.
     */
    java.lang.String getPurl();
    /**
     * <code>string purl = 1;</code>
     * @return The bytes for purl.
     */
    com.google.protobuf.ByteString
        getPurlBytes();

    /**
     * <code>optional string release_id = 2;</code>
     * @return Whether the releaseId field is set.
     */
    boolean hasReleaseId();
    /**
     * <code>optional string release_id = 2;</code>
     * @return The releaseId.
     */
    java.lang.String getReleaseId();
    /**
     * <code>optional string release_id = 2;</code>
     * @return The bytes for releaseId.
     */
    com.google.protobuf.ByteString
        getReleaseIdBytes();
  }
  /**
   * Protobuf type {@code in_toto_attestation.predicates.release.v0.Release}
   */
  public static final class Release extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:in_toto_attestation.predicates.release.v0.Release)
      ReleaseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Release.newBuilder() to construct.
    private Release(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private Release() {
      purl_ = "";
      releaseId_ = "";
    }

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

    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.internal_static_in_toto_attestation_predicates_release_v0_Release_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.internal_static_in_toto_attestation_predicates_release_v0_Release_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release.class, io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release.Builder.class);
    }

    private int bitField0_;
    public static final int PURL_FIELD_NUMBER = 1;
    @SuppressWarnings("serial")
    private volatile java.lang.Object purl_ = "";
    /**
     * <code>string purl = 1;</code>
     * @return The purl.
     */
    @java.lang.Override
    public java.lang.String getPurl() {
      java.lang.Object ref = purl_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        purl_ = s;
        return s;
      }
    }
    /**
     * <code>string purl = 1;</code>
     * @return The bytes for purl.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getPurlBytes() {
      java.lang.Object ref = purl_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        purl_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int RELEASE_ID_FIELD_NUMBER = 2;
    @SuppressWarnings("serial")
    private volatile java.lang.Object releaseId_ = "";
    /**
     * <code>optional string release_id = 2;</code>
     * @return Whether the releaseId field is set.
     */
    @java.lang.Override
    public boolean hasReleaseId() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>optional string release_id = 2;</code>
     * @return The releaseId.
     */
    @java.lang.Override
    public java.lang.String getReleaseId() {
      java.lang.Object ref = releaseId_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        releaseId_ = s;
        return s;
      }
    }
    /**
     * <code>optional string release_id = 2;</code>
     * @return The bytes for releaseId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getReleaseIdBytes() {
      java.lang.Object ref = releaseId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        releaseId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(purl_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, purl_);
      }
      if (((bitField0_ & 0x00000001) != 0)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, releaseId_);
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(purl_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, purl_);
      }
      if (((bitField0_ & 0x00000001) != 0)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, releaseId_);
      }
      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 io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release)) {
        return super.equals(obj);
      }
      io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release other = (io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release) obj;

      if (!getPurl()
          .equals(other.getPurl())) return false;
      if (hasReleaseId() != other.hasReleaseId()) return false;
      if (hasReleaseId()) {
        if (!getReleaseId()
            .equals(other.getReleaseId())) 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();
      hash = (37 * hash) + PURL_FIELD_NUMBER;
      hash = (53 * hash) + getPurl().hashCode();
      if (hasReleaseId()) {
        hash = (37 * hash) + RELEASE_ID_FIELD_NUMBER;
        hash = (53 * hash) + getReleaseId().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release 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 io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }

    public static io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release 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 io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release 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(io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release 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 in_toto_attestation.predicates.release.v0.Release}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:in_toto_attestation.predicates.release.v0.Release)
        io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.ReleaseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.internal_static_in_toto_attestation_predicates_release_v0_Release_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.internal_static_in_toto_attestation_predicates_release_v0_Release_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release.class, io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release.Builder.class);
      }

      // Construct using io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release.newBuilder()
      private Builder() {

      }

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

      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        purl_ = "";
        releaseId_ = "";
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.internal_static_in_toto_attestation_predicates_release_v0_Release_descriptor;
      }

      @java.lang.Override
      public io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release getDefaultInstanceForType() {
        return io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release.getDefaultInstance();
      }

      @java.lang.Override
      public io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release build() {
        io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release buildPartial() {
        io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release result = new io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release(this);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }

      private void buildPartial0(io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.purl_ = purl_;
        }
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.releaseId_ = releaseId_;
          to_bitField0_ |= 0x00000001;
        }
        result.bitField0_ |= to_bitField0_;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release) {
          return mergeFrom((io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release other) {
        if (other == io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release.getDefaultInstance()) return this;
        if (!other.getPurl().isEmpty()) {
          purl_ = other.purl_;
          bitField0_ |= 0x00000001;
          onChanged();
        }
        if (other.hasReleaseId()) {
          releaseId_ = other.releaseId_;
          bitField0_ |= 0x00000002;
          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: {
                purl_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000001;
                break;
              } // case 10
              case 18: {
                releaseId_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000002;
                break;
              } // case 18
              default: {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }
      private int bitField0_;

      private java.lang.Object purl_ = "";
      /**
       * <code>string purl = 1;</code>
       * @return The purl.
       */
      public java.lang.String getPurl() {
        java.lang.Object ref = purl_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          purl_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string purl = 1;</code>
       * @return The bytes for purl.
       */
      public com.google.protobuf.ByteString
          getPurlBytes() {
        java.lang.Object ref = purl_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          purl_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string purl = 1;</code>
       * @param value The purl to set.
       * @return This builder for chaining.
       */
      public Builder setPurl(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        purl_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <code>string purl = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearPurl() {
        purl_ = getDefaultInstance().getPurl();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       * <code>string purl = 1;</code>
       * @param value The bytes for purl to set.
       * @return This builder for chaining.
       */
      public Builder setPurlBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        purl_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }

      private java.lang.Object releaseId_ = "";
      /**
       * <code>optional string release_id = 2;</code>
       * @return Whether the releaseId field is set.
       */
      public boolean hasReleaseId() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * <code>optional string release_id = 2;</code>
       * @return The releaseId.
       */
      public java.lang.String getReleaseId() {
        java.lang.Object ref = releaseId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          releaseId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string release_id = 2;</code>
       * @return The bytes for releaseId.
       */
      public com.google.protobuf.ByteString
          getReleaseIdBytes() {
        java.lang.Object ref = releaseId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          releaseId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string release_id = 2;</code>
       * @param value The releaseId to set.
       * @return This builder for chaining.
       */
      public Builder setReleaseId(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        releaseId_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <code>optional string release_id = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearReleaseId() {
        releaseId_ = getDefaultInstance().getReleaseId();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }
      /**
       * <code>optional string release_id = 2;</code>
       * @param value The bytes for releaseId to set.
       * @return This builder for chaining.
       */
      public Builder setReleaseIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        releaseId_ = value;
        bitField0_ |= 0x00000002;
        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:in_toto_attestation.predicates.release.v0.Release)
    }

    // @@protoc_insertion_point(class_scope:in_toto_attestation.predicates.release.v0.Release)
    private static final io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release();
    }

    public static io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

    @java.lang.Override
    public io.github.intoto.attestation.predicates.release.v0.ReleaseOuterClass.Release getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_in_toto_attestation_predicates_release_v0_Release_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_in_toto_attestation_predicates_release_v0_Release_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n7in_toto_attestation/predicates/release" +
      "/v0/release.proto\022)in_toto_attestation.p" +
      "redicates.release.v0\"?\n\007Release\022\014\n\004purl\030" +
      "\001 \001(\t\022\027\n\nrelease_id\030\002 \001(\tH\000\210\001\001B\r\n\013_relea" +
      "se_idBm\n2io.github.intoto.attestation.pr" +
      "edicates.release.v0Z7github.com/in-toto/" +
      "attestation/go/predicates/release/v0b\006pr" +
      "oto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        });
    internal_static_in_toto_attestation_predicates_release_v0_Release_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_in_toto_attestation_predicates_release_v0_Release_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_in_toto_attestation_predicates_release_v0_Release_descriptor,
        new java.lang.String[] { "Purl", "ReleaseId", "ReleaseId", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}
