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

package io.github.intoto.attestation.predicates.provenance.v01;

public final class ProvenanceOuterClass {
  private ProvenanceOuterClass() {}
  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 ProvenanceOrBuilder extends
      // @@protoc_insertion_point(interface_extends:in_toto_attestation.predicates.provenance.v01.Provenance)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>.in_toto_attestation.predicates.provenance.v01.Builder builder = 1;</code>
     * @return Whether the builder field is set.
     */
    boolean hasBuilder();
    /**
     * <code>.in_toto_attestation.predicates.provenance.v01.Builder builder = 1;</code>
     * @return The builder.
     */
    io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder getBuilder();
    /**
     * <code>.in_toto_attestation.predicates.provenance.v01.Builder builder = 1;</code>
     */
    io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.BuilderOrBuilder getBuilderOrBuilder();

    /**
     * <code>.in_toto_attestation.predicates.provenance.v01.Recipe recipe = 2;</code>
     * @return Whether the recipe field is set.
     */
    boolean hasRecipe();
    /**
     * <code>.in_toto_attestation.predicates.provenance.v01.Recipe recipe = 2;</code>
     * @return The recipe.
     */
    io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe getRecipe();
    /**
     * <code>.in_toto_attestation.predicates.provenance.v01.Recipe recipe = 2;</code>
     */
    io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.RecipeOrBuilder getRecipeOrBuilder();

    /**
     * <code>.in_toto_attestation.predicates.provenance.v01.Metadata metadata = 3;</code>
     * @return Whether the metadata field is set.
     */
    boolean hasMetadata();
    /**
     * <code>.in_toto_attestation.predicates.provenance.v01.Metadata metadata = 3;</code>
     * @return The metadata.
     */
    io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata getMetadata();
    /**
     * <code>.in_toto_attestation.predicates.provenance.v01.Metadata metadata = 3;</code>
     */
    io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.MetadataOrBuilder getMetadataOrBuilder();

    /**
     * <code>repeated .in_toto_attestation.predicates.provenance.v01.Material materials = 4;</code>
     */
    java.util.List<io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material> 
        getMaterialsList();
    /**
     * <code>repeated .in_toto_attestation.predicates.provenance.v01.Material materials = 4;</code>
     */
    io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material getMaterials(int index);
    /**
     * <code>repeated .in_toto_attestation.predicates.provenance.v01.Material materials = 4;</code>
     */
    int getMaterialsCount();
    /**
     * <code>repeated .in_toto_attestation.predicates.provenance.v01.Material materials = 4;</code>
     */
    java.util.List<? extends io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.MaterialOrBuilder> 
        getMaterialsOrBuilderList();
    /**
     * <code>repeated .in_toto_attestation.predicates.provenance.v01.Material materials = 4;</code>
     */
    io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.MaterialOrBuilder getMaterialsOrBuilder(
        int index);
  }
  /**
   * <pre>
   * Proto representation of predicate type https://slsa.dev/provenance/v0.1
   * </pre>
   *
   * Protobuf type {@code in_toto_attestation.predicates.provenance.v01.Provenance}
   */
  public static final class Provenance extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:in_toto_attestation.predicates.provenance.v01.Provenance)
      ProvenanceOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Provenance.newBuilder() to construct.
    private Provenance(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private Provenance() {
      materials_ = java.util.Collections.emptyList();
    }

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

    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v01_Provenance_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v01_Provenance_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Provenance.class, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Provenance.Builder.class);
    }

    private int bitField0_;
    public static final int BUILDER_FIELD_NUMBER = 1;
    private io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder builder_;
    /**
     * <code>.in_toto_attestation.predicates.provenance.v01.Builder builder = 1;</code>
     * @return Whether the builder field is set.
     */
    @java.lang.Override
    public boolean hasBuilder() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>.in_toto_attestation.predicates.provenance.v01.Builder builder = 1;</code>
     * @return The builder.
     */
    @java.lang.Override
    public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder getBuilder() {
      return builder_ == null ? io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder.getDefaultInstance() : builder_;
    }
    /**
     * <code>.in_toto_attestation.predicates.provenance.v01.Builder builder = 1;</code>
     */
    @java.lang.Override
    public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.BuilderOrBuilder getBuilderOrBuilder() {
      return builder_ == null ? io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder.getDefaultInstance() : builder_;
    }

    public static final int RECIPE_FIELD_NUMBER = 2;
    private io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe recipe_;
    /**
     * <code>.in_toto_attestation.predicates.provenance.v01.Recipe recipe = 2;</code>
     * @return Whether the recipe field is set.
     */
    @java.lang.Override
    public boolean hasRecipe() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <code>.in_toto_attestation.predicates.provenance.v01.Recipe recipe = 2;</code>
     * @return The recipe.
     */
    @java.lang.Override
    public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe getRecipe() {
      return recipe_ == null ? io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe.getDefaultInstance() : recipe_;
    }
    /**
     * <code>.in_toto_attestation.predicates.provenance.v01.Recipe recipe = 2;</code>
     */
    @java.lang.Override
    public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.RecipeOrBuilder getRecipeOrBuilder() {
      return recipe_ == null ? io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe.getDefaultInstance() : recipe_;
    }

    public static final int METADATA_FIELD_NUMBER = 3;
    private io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata metadata_;
    /**
     * <code>.in_toto_attestation.predicates.provenance.v01.Metadata metadata = 3;</code>
     * @return Whether the metadata field is set.
     */
    @java.lang.Override
    public boolean hasMetadata() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * <code>.in_toto_attestation.predicates.provenance.v01.Metadata metadata = 3;</code>
     * @return The metadata.
     */
    @java.lang.Override
    public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata getMetadata() {
      return metadata_ == null ? io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata.getDefaultInstance() : metadata_;
    }
    /**
     * <code>.in_toto_attestation.predicates.provenance.v01.Metadata metadata = 3;</code>
     */
    @java.lang.Override
    public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
      return metadata_ == null ? io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata.getDefaultInstance() : metadata_;
    }

    public static final int MATERIALS_FIELD_NUMBER = 4;
    @SuppressWarnings("serial")
    private java.util.List<io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material> materials_;
    /**
     * <code>repeated .in_toto_attestation.predicates.provenance.v01.Material materials = 4;</code>
     */
    @java.lang.Override
    public java.util.List<io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material> getMaterialsList() {
      return materials_;
    }
    /**
     * <code>repeated .in_toto_attestation.predicates.provenance.v01.Material materials = 4;</code>
     */
    @java.lang.Override
    public java.util.List<? extends io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.MaterialOrBuilder> 
        getMaterialsOrBuilderList() {
      return materials_;
    }
    /**
     * <code>repeated .in_toto_attestation.predicates.provenance.v01.Material materials = 4;</code>
     */
    @java.lang.Override
    public int getMaterialsCount() {
      return materials_.size();
    }
    /**
     * <code>repeated .in_toto_attestation.predicates.provenance.v01.Material materials = 4;</code>
     */
    @java.lang.Override
    public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material getMaterials(int index) {
      return materials_.get(index);
    }
    /**
     * <code>repeated .in_toto_attestation.predicates.provenance.v01.Material materials = 4;</code>
     */
    @java.lang.Override
    public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.MaterialOrBuilder getMaterialsOrBuilder(
        int index) {
      return materials_.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 {
      if (((bitField0_ & 0x00000001) != 0)) {
        output.writeMessage(1, getBuilder());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeMessage(2, getRecipe());
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        output.writeMessage(3, getMetadata());
      }
      for (int i = 0; i < materials_.size(); i++) {
        output.writeMessage(4, materials_.get(i));
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (((bitField0_ & 0x00000001) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getBuilder());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getRecipe());
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, getMetadata());
      }
      for (int i = 0; i < materials_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, materials_.get(i));
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Provenance)) {
        return super.equals(obj);
      }
      io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Provenance other = (io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Provenance) obj;

      if (hasBuilder() != other.hasBuilder()) return false;
      if (hasBuilder()) {
        if (!getBuilder()
            .equals(other.getBuilder())) return false;
      }
      if (hasRecipe() != other.hasRecipe()) return false;
      if (hasRecipe()) {
        if (!getRecipe()
            .equals(other.getRecipe())) return false;
      }
      if (hasMetadata() != other.hasMetadata()) return false;
      if (hasMetadata()) {
        if (!getMetadata()
            .equals(other.getMetadata())) return false;
      }
      if (!getMaterialsList()
          .equals(other.getMaterialsList())) 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 (hasBuilder()) {
        hash = (37 * hash) + BUILDER_FIELD_NUMBER;
        hash = (53 * hash) + getBuilder().hashCode();
      }
      if (hasRecipe()) {
        hash = (37 * hash) + RECIPE_FIELD_NUMBER;
        hash = (53 * hash) + getRecipe().hashCode();
      }
      if (hasMetadata()) {
        hash = (37 * hash) + METADATA_FIELD_NUMBER;
        hash = (53 * hash) + getMetadata().hashCode();
      }
      if (getMaterialsCount() > 0) {
        hash = (37 * hash) + MATERIALS_FIELD_NUMBER;
        hash = (53 * hash) + getMaterialsList().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

    public static io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Provenance 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.provenance.v01.ProvenanceOuterClass.Provenance 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.provenance.v01.ProvenanceOuterClass.Provenance 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.provenance.v01.ProvenanceOuterClass.Provenance 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;
    }
    /**
     * <pre>
     * Proto representation of predicate type https://slsa.dev/provenance/v0.1
     * </pre>
     *
     * Protobuf type {@code in_toto_attestation.predicates.provenance.v01.Provenance}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:in_toto_attestation.predicates.provenance.v01.Provenance)
        io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.ProvenanceOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v01_Provenance_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v01_Provenance_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Provenance.class, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Provenance.Builder.class);
      }

      // Construct using io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Provenance.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getBuilderFieldBuilder();
          getRecipeFieldBuilder();
          getMetadataFieldBuilder();
          getMaterialsFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        builder_ = null;
        if (builderBuilder_ != null) {
          builderBuilder_.dispose();
          builderBuilder_ = null;
        }
        recipe_ = null;
        if (recipeBuilder_ != null) {
          recipeBuilder_.dispose();
          recipeBuilder_ = null;
        }
        metadata_ = null;
        if (metadataBuilder_ != null) {
          metadataBuilder_.dispose();
          metadataBuilder_ = null;
        }
        if (materialsBuilder_ == null) {
          materials_ = java.util.Collections.emptyList();
        } else {
          materials_ = null;
          materialsBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000008);
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v01_Provenance_descriptor;
      }

      @java.lang.Override
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Provenance getDefaultInstanceForType() {
        return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Provenance.getDefaultInstance();
      }

      @java.lang.Override
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Provenance build() {
        io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Provenance result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Provenance buildPartial() {
        io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Provenance result = new io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Provenance(this);
        buildPartialRepeatedFields(result);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }

      private void buildPartialRepeatedFields(io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Provenance result) {
        if (materialsBuilder_ == null) {
          if (((bitField0_ & 0x00000008) != 0)) {
            materials_ = java.util.Collections.unmodifiableList(materials_);
            bitField0_ = (bitField0_ & ~0x00000008);
          }
          result.materials_ = materials_;
        } else {
          result.materials_ = materialsBuilder_.build();
        }
      }

      private void buildPartial0(io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Provenance result) {
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.builder_ = builderBuilder_ == null
              ? builder_
              : builderBuilder_.build();
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.recipe_ = recipeBuilder_ == null
              ? recipe_
              : recipeBuilder_.build();
          to_bitField0_ |= 0x00000002;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.metadata_ = metadataBuilder_ == null
              ? metadata_
              : metadataBuilder_.build();
          to_bitField0_ |= 0x00000004;
        }
        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.provenance.v01.ProvenanceOuterClass.Provenance) {
          return mergeFrom((io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Provenance)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Provenance other) {
        if (other == io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Provenance.getDefaultInstance()) return this;
        if (other.hasBuilder()) {
          mergeBuilder(other.getBuilder());
        }
        if (other.hasRecipe()) {
          mergeRecipe(other.getRecipe());
        }
        if (other.hasMetadata()) {
          mergeMetadata(other.getMetadata());
        }
        if (materialsBuilder_ == null) {
          if (!other.materials_.isEmpty()) {
            if (materials_.isEmpty()) {
              materials_ = other.materials_;
              bitField0_ = (bitField0_ & ~0x00000008);
            } else {
              ensureMaterialsIsMutable();
              materials_.addAll(other.materials_);
            }
            onChanged();
          }
        } else {
          if (!other.materials_.isEmpty()) {
            if (materialsBuilder_.isEmpty()) {
              materialsBuilder_.dispose();
              materialsBuilder_ = null;
              materials_ = other.materials_;
              bitField0_ = (bitField0_ & ~0x00000008);
              materialsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getMaterialsFieldBuilder() : null;
            } else {
              materialsBuilder_.addAllMessages(other.materials_);
            }
          }
        }
        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(
                    getBuilderFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000001;
                break;
              } // case 10
              case 18: {
                input.readMessage(
                    getRecipeFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000002;
                break;
              } // case 18
              case 26: {
                input.readMessage(
                    getMetadataFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000004;
                break;
              } // case 26
              case 34: {
                io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material m =
                    input.readMessage(
                        io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material.parser(),
                        extensionRegistry);
                if (materialsBuilder_ == null) {
                  ensureMaterialsIsMutable();
                  materials_.add(m);
                } else {
                  materialsBuilder_.addMessage(m);
                }
                break;
              } // case 34
              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 io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder builder_;
      private com.google.protobuf.SingleFieldBuilderV3<
          io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder.Builder, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.BuilderOrBuilder> builderBuilder_;
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Builder builder = 1;</code>
       * @return Whether the builder field is set.
       */
      public boolean hasBuilder() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Builder builder = 1;</code>
       * @return The builder.
       */
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder getBuilder() {
        if (builderBuilder_ == null) {
          return builder_ == null ? io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder.getDefaultInstance() : builder_;
        } else {
          return builderBuilder_.getMessage();
        }
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Builder builder = 1;</code>
       */
      public Builder setBuilder(io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder value) {
        if (builderBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          builder_ = value;
        } else {
          builderBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Builder builder = 1;</code>
       */
      public Builder setBuilder(
          io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder.Builder builderForValue) {
        if (builderBuilder_ == null) {
          builder_ = builderForValue.build();
        } else {
          builderBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Builder builder = 1;</code>
       */
      public Builder mergeBuilder(io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder value) {
        if (builderBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0) &&
            builder_ != null &&
            builder_ != io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder.getDefaultInstance()) {
            getBuilderBuilder().mergeFrom(value);
          } else {
            builder_ = value;
          }
        } else {
          builderBuilder_.mergeFrom(value);
        }
        if (builder_ != null) {
          bitField0_ |= 0x00000001;
          onChanged();
        }
        return this;
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Builder builder = 1;</code>
       */
      public Builder clearBuilder() {
        bitField0_ = (bitField0_ & ~0x00000001);
        builder_ = null;
        if (builderBuilder_ != null) {
          builderBuilder_.dispose();
          builderBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Builder builder = 1;</code>
       */
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder.Builder getBuilderBuilder() {
        bitField0_ |= 0x00000001;
        onChanged();
        return getBuilderFieldBuilder().getBuilder();
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Builder builder = 1;</code>
       */
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.BuilderOrBuilder getBuilderOrBuilder() {
        if (builderBuilder_ != null) {
          return builderBuilder_.getMessageOrBuilder();
        } else {
          return builder_ == null ?
              io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder.getDefaultInstance() : builder_;
        }
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Builder builder = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder.Builder, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.BuilderOrBuilder> 
          getBuilderFieldBuilder() {
        if (builderBuilder_ == null) {
          builderBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder.Builder, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.BuilderOrBuilder>(
                  getBuilder(),
                  getParentForChildren(),
                  isClean());
          builder_ = null;
        }
        return builderBuilder_;
      }

      private io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe recipe_;
      private com.google.protobuf.SingleFieldBuilderV3<
          io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe.Builder, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.RecipeOrBuilder> recipeBuilder_;
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Recipe recipe = 2;</code>
       * @return Whether the recipe field is set.
       */
      public boolean hasRecipe() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Recipe recipe = 2;</code>
       * @return The recipe.
       */
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe getRecipe() {
        if (recipeBuilder_ == null) {
          return recipe_ == null ? io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe.getDefaultInstance() : recipe_;
        } else {
          return recipeBuilder_.getMessage();
        }
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Recipe recipe = 2;</code>
       */
      public Builder setRecipe(io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe value) {
        if (recipeBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          recipe_ = value;
        } else {
          recipeBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Recipe recipe = 2;</code>
       */
      public Builder setRecipe(
          io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe.Builder builderForValue) {
        if (recipeBuilder_ == null) {
          recipe_ = builderForValue.build();
        } else {
          recipeBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Recipe recipe = 2;</code>
       */
      public Builder mergeRecipe(io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe value) {
        if (recipeBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0) &&
            recipe_ != null &&
            recipe_ != io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe.getDefaultInstance()) {
            getRecipeBuilder().mergeFrom(value);
          } else {
            recipe_ = value;
          }
        } else {
          recipeBuilder_.mergeFrom(value);
        }
        if (recipe_ != null) {
          bitField0_ |= 0x00000002;
          onChanged();
        }
        return this;
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Recipe recipe = 2;</code>
       */
      public Builder clearRecipe() {
        bitField0_ = (bitField0_ & ~0x00000002);
        recipe_ = null;
        if (recipeBuilder_ != null) {
          recipeBuilder_.dispose();
          recipeBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Recipe recipe = 2;</code>
       */
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe.Builder getRecipeBuilder() {
        bitField0_ |= 0x00000002;
        onChanged();
        return getRecipeFieldBuilder().getBuilder();
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Recipe recipe = 2;</code>
       */
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.RecipeOrBuilder getRecipeOrBuilder() {
        if (recipeBuilder_ != null) {
          return recipeBuilder_.getMessageOrBuilder();
        } else {
          return recipe_ == null ?
              io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe.getDefaultInstance() : recipe_;
        }
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Recipe recipe = 2;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe.Builder, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.RecipeOrBuilder> 
          getRecipeFieldBuilder() {
        if (recipeBuilder_ == null) {
          recipeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe.Builder, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.RecipeOrBuilder>(
                  getRecipe(),
                  getParentForChildren(),
                  isClean());
          recipe_ = null;
        }
        return recipeBuilder_;
      }

      private io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata metadata_;
      private com.google.protobuf.SingleFieldBuilderV3<
          io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata.Builder, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.MetadataOrBuilder> metadataBuilder_;
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Metadata metadata = 3;</code>
       * @return Whether the metadata field is set.
       */
      public boolean hasMetadata() {
        return ((bitField0_ & 0x00000004) != 0);
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Metadata metadata = 3;</code>
       * @return The metadata.
       */
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata getMetadata() {
        if (metadataBuilder_ == null) {
          return metadata_ == null ? io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata.getDefaultInstance() : metadata_;
        } else {
          return metadataBuilder_.getMessage();
        }
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Metadata metadata = 3;</code>
       */
      public Builder setMetadata(io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          metadata_ = value;
        } else {
          metadataBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Metadata metadata = 3;</code>
       */
      public Builder setMetadata(
          io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata.Builder builderForValue) {
        if (metadataBuilder_ == null) {
          metadata_ = builderForValue.build();
        } else {
          metadataBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Metadata metadata = 3;</code>
       */
      public Builder mergeMetadata(io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (((bitField0_ & 0x00000004) != 0) &&
            metadata_ != null &&
            metadata_ != io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata.getDefaultInstance()) {
            getMetadataBuilder().mergeFrom(value);
          } else {
            metadata_ = value;
          }
        } else {
          metadataBuilder_.mergeFrom(value);
        }
        if (metadata_ != null) {
          bitField0_ |= 0x00000004;
          onChanged();
        }
        return this;
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Metadata metadata = 3;</code>
       */
      public Builder clearMetadata() {
        bitField0_ = (bitField0_ & ~0x00000004);
        metadata_ = null;
        if (metadataBuilder_ != null) {
          metadataBuilder_.dispose();
          metadataBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Metadata metadata = 3;</code>
       */
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata.Builder getMetadataBuilder() {
        bitField0_ |= 0x00000004;
        onChanged();
        return getMetadataFieldBuilder().getBuilder();
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Metadata metadata = 3;</code>
       */
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
        if (metadataBuilder_ != null) {
          return metadataBuilder_.getMessageOrBuilder();
        } else {
          return metadata_ == null ?
              io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata.getDefaultInstance() : metadata_;
        }
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Metadata metadata = 3;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata.Builder, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.MetadataOrBuilder> 
          getMetadataFieldBuilder() {
        if (metadataBuilder_ == null) {
          metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata.Builder, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.MetadataOrBuilder>(
                  getMetadata(),
                  getParentForChildren(),
                  isClean());
          metadata_ = null;
        }
        return metadataBuilder_;
      }

      private java.util.List<io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material> materials_ =
        java.util.Collections.emptyList();
      private void ensureMaterialsIsMutable() {
        if (!((bitField0_ & 0x00000008) != 0)) {
          materials_ = new java.util.ArrayList<io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material>(materials_);
          bitField0_ |= 0x00000008;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material.Builder, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.MaterialOrBuilder> materialsBuilder_;

      /**
       * <code>repeated .in_toto_attestation.predicates.provenance.v01.Material materials = 4;</code>
       */
      public java.util.List<io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material> getMaterialsList() {
        if (materialsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(materials_);
        } else {
          return materialsBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .in_toto_attestation.predicates.provenance.v01.Material materials = 4;</code>
       */
      public int getMaterialsCount() {
        if (materialsBuilder_ == null) {
          return materials_.size();
        } else {
          return materialsBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .in_toto_attestation.predicates.provenance.v01.Material materials = 4;</code>
       */
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material getMaterials(int index) {
        if (materialsBuilder_ == null) {
          return materials_.get(index);
        } else {
          return materialsBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .in_toto_attestation.predicates.provenance.v01.Material materials = 4;</code>
       */
      public Builder setMaterials(
          int index, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material value) {
        if (materialsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureMaterialsIsMutable();
          materials_.set(index, value);
          onChanged();
        } else {
          materialsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .in_toto_attestation.predicates.provenance.v01.Material materials = 4;</code>
       */
      public Builder setMaterials(
          int index, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material.Builder builderForValue) {
        if (materialsBuilder_ == null) {
          ensureMaterialsIsMutable();
          materials_.set(index, builderForValue.build());
          onChanged();
        } else {
          materialsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .in_toto_attestation.predicates.provenance.v01.Material materials = 4;</code>
       */
      public Builder addMaterials(io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material value) {
        if (materialsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureMaterialsIsMutable();
          materials_.add(value);
          onChanged();
        } else {
          materialsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .in_toto_attestation.predicates.provenance.v01.Material materials = 4;</code>
       */
      public Builder addMaterials(
          int index, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material value) {
        if (materialsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureMaterialsIsMutable();
          materials_.add(index, value);
          onChanged();
        } else {
          materialsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .in_toto_attestation.predicates.provenance.v01.Material materials = 4;</code>
       */
      public Builder addMaterials(
          io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material.Builder builderForValue) {
        if (materialsBuilder_ == null) {
          ensureMaterialsIsMutable();
          materials_.add(builderForValue.build());
          onChanged();
        } else {
          materialsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .in_toto_attestation.predicates.provenance.v01.Material materials = 4;</code>
       */
      public Builder addMaterials(
          int index, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material.Builder builderForValue) {
        if (materialsBuilder_ == null) {
          ensureMaterialsIsMutable();
          materials_.add(index, builderForValue.build());
          onChanged();
        } else {
          materialsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .in_toto_attestation.predicates.provenance.v01.Material materials = 4;</code>
       */
      public Builder addAllMaterials(
          java.lang.Iterable<? extends io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material> values) {
        if (materialsBuilder_ == null) {
          ensureMaterialsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, materials_);
          onChanged();
        } else {
          materialsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .in_toto_attestation.predicates.provenance.v01.Material materials = 4;</code>
       */
      public Builder clearMaterials() {
        if (materialsBuilder_ == null) {
          materials_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000008);
          onChanged();
        } else {
          materialsBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .in_toto_attestation.predicates.provenance.v01.Material materials = 4;</code>
       */
      public Builder removeMaterials(int index) {
        if (materialsBuilder_ == null) {
          ensureMaterialsIsMutable();
          materials_.remove(index);
          onChanged();
        } else {
          materialsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .in_toto_attestation.predicates.provenance.v01.Material materials = 4;</code>
       */
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material.Builder getMaterialsBuilder(
          int index) {
        return getMaterialsFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .in_toto_attestation.predicates.provenance.v01.Material materials = 4;</code>
       */
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.MaterialOrBuilder getMaterialsOrBuilder(
          int index) {
        if (materialsBuilder_ == null) {
          return materials_.get(index);  } else {
          return materialsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .in_toto_attestation.predicates.provenance.v01.Material materials = 4;</code>
       */
      public java.util.List<? extends io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.MaterialOrBuilder> 
           getMaterialsOrBuilderList() {
        if (materialsBuilder_ != null) {
          return materialsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(materials_);
        }
      }
      /**
       * <code>repeated .in_toto_attestation.predicates.provenance.v01.Material materials = 4;</code>
       */
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material.Builder addMaterialsBuilder() {
        return getMaterialsFieldBuilder().addBuilder(
            io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material.getDefaultInstance());
      }
      /**
       * <code>repeated .in_toto_attestation.predicates.provenance.v01.Material materials = 4;</code>
       */
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material.Builder addMaterialsBuilder(
          int index) {
        return getMaterialsFieldBuilder().addBuilder(
            index, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material.getDefaultInstance());
      }
      /**
       * <code>repeated .in_toto_attestation.predicates.provenance.v01.Material materials = 4;</code>
       */
      public java.util.List<io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material.Builder> 
           getMaterialsBuilderList() {
        return getMaterialsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material.Builder, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.MaterialOrBuilder> 
          getMaterialsFieldBuilder() {
        if (materialsBuilder_ == null) {
          materialsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material.Builder, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.MaterialOrBuilder>(
                  materials_,
                  ((bitField0_ & 0x00000008) != 0),
                  getParentForChildren(),
                  isClean());
          materials_ = null;
        }
        return materialsBuilder_;
      }
      @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.provenance.v01.Provenance)
    }

    // @@protoc_insertion_point(class_scope:in_toto_attestation.predicates.provenance.v01.Provenance)
    private static final io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Provenance DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Provenance();
    }

    public static io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Provenance getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

    @java.lang.Override
    public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Provenance getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface BuilderOrBuilder extends
      // @@protoc_insertion_point(interface_extends:in_toto_attestation.predicates.provenance.v01.Builder)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>string id = 1;</code>
     * @return The id.
     */
    java.lang.String getId();
    /**
     * <code>string id = 1;</code>
     * @return The bytes for id.
     */
    com.google.protobuf.ByteString
        getIdBytes();
  }
  /**
   * Protobuf type {@code in_toto_attestation.predicates.provenance.v01.Builder}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:in_toto_attestation.predicates.provenance.v01.Builder)
      BuilderOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Builder.newBuilder() to construct.
    private Builder(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private Builder() {
      id_ = "";
    }

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

    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v01_Builder_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v01_Builder_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder.class, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder.Builder.class);
    }

    public static final int ID_FIELD_NUMBER = 1;
    @SuppressWarnings("serial")
    private volatile java.lang.Object id_ = "";
    /**
     * <code>string id = 1;</code>
     * @return The id.
     */
    @java.lang.Override
    public java.lang.String getId() {
      java.lang.Object ref = id_;
      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();
        id_ = s;
        return s;
      }
    }
    /**
     * <code>string id = 1;</code>
     * @return The bytes for id.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getIdBytes() {
      java.lang.Object ref = id_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        id_ = 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(id_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_);
      }
      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(id_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_);
      }
      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.provenance.v01.ProvenanceOuterClass.Builder)) {
        return super.equals(obj);
      }
      io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder other = (io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder) obj;

      if (!getId()
          .equals(other.getId())) 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) + ID_FIELD_NUMBER;
      hash = (53 * hash) + getId().hashCode();
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

    public static io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder 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.provenance.v01.ProvenanceOuterClass.Builder 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.provenance.v01.ProvenanceOuterClass.Builder 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.provenance.v01.ProvenanceOuterClass.Builder 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.provenance.v01.Builder}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:in_toto_attestation.predicates.provenance.v01.Builder)
        io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.BuilderOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v01_Builder_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v01_Builder_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder.class, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder.Builder.class);
      }

      // Construct using io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder.newBuilder()
      private Builder() {

      }

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

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

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v01_Builder_descriptor;
      }

      @java.lang.Override
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder getDefaultInstanceForType() {
        return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder.getDefaultInstance();
      }

      @java.lang.Override
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder build() {
        io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder buildPartial() {
        io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder result = new io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder(this);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }

      private void buildPartial0(io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.id_ = id_;
        }
      }

      @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.provenance.v01.ProvenanceOuterClass.Builder) {
          return mergeFrom((io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

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

      private java.lang.Object id_ = "";
      /**
       * <code>string id = 1;</code>
       * @return The id.
       */
      public java.lang.String getId() {
        java.lang.Object ref = id_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          id_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string id = 1;</code>
       * @return The bytes for id.
       */
      public com.google.protobuf.ByteString
          getIdBytes() {
        java.lang.Object ref = id_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          id_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string id = 1;</code>
       * @param value The id to set.
       * @return This builder for chaining.
       */
      public Builder setId(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        id_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <code>string id = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearId() {
        id_ = getDefaultInstance().getId();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       * <code>string id = 1;</code>
       * @param value The bytes for id to set.
       * @return This builder for chaining.
       */
      public Builder setIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        id_ = value;
        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:in_toto_attestation.predicates.provenance.v01.Builder)
    }

    // @@protoc_insertion_point(class_scope:in_toto_attestation.predicates.provenance.v01.Builder)
    private static final io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder();
    }

    public static io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

    @java.lang.Override
    public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Builder getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface RecipeOrBuilder extends
      // @@protoc_insertion_point(interface_extends:in_toto_attestation.predicates.provenance.v01.Recipe)
      com.google.protobuf.MessageOrBuilder {

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

    /**
     * <code>int32 defined_in_material = 2;</code>
     * @return The definedInMaterial.
     */
    int getDefinedInMaterial();

    /**
     * <code>string entry_point = 3;</code>
     * @return The entryPoint.
     */
    java.lang.String getEntryPoint();
    /**
     * <code>string entry_point = 3;</code>
     * @return The bytes for entryPoint.
     */
    com.google.protobuf.ByteString
        getEntryPointBytes();

    /**
     * <code>.google.protobuf.Struct arguments = 4;</code>
     * @return Whether the arguments field is set.
     */
    boolean hasArguments();
    /**
     * <code>.google.protobuf.Struct arguments = 4;</code>
     * @return The arguments.
     */
    com.google.protobuf.Struct getArguments();
    /**
     * <code>.google.protobuf.Struct arguments = 4;</code>
     */
    com.google.protobuf.StructOrBuilder getArgumentsOrBuilder();

    /**
     * <code>.google.protobuf.Struct environment = 5;</code>
     * @return Whether the environment field is set.
     */
    boolean hasEnvironment();
    /**
     * <code>.google.protobuf.Struct environment = 5;</code>
     * @return The environment.
     */
    com.google.protobuf.Struct getEnvironment();
    /**
     * <code>.google.protobuf.Struct environment = 5;</code>
     */
    com.google.protobuf.StructOrBuilder getEnvironmentOrBuilder();
  }
  /**
   * Protobuf type {@code in_toto_attestation.predicates.provenance.v01.Recipe}
   */
  public static final class Recipe extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:in_toto_attestation.predicates.provenance.v01.Recipe)
      RecipeOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Recipe.newBuilder() to construct.
    private Recipe(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private Recipe() {
      type_ = "";
      entryPoint_ = "";
    }

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

    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v01_Recipe_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v01_Recipe_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe.class, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe.Builder.class);
    }

    private int bitField0_;
    public static final int TYPE_FIELD_NUMBER = 1;
    @SuppressWarnings("serial")
    private volatile java.lang.Object type_ = "";
    /**
     * <code>string type = 1;</code>
     * @return The type.
     */
    @java.lang.Override
    public java.lang.String getType() {
      java.lang.Object ref = type_;
      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();
        type_ = s;
        return s;
      }
    }
    /**
     * <code>string type = 1;</code>
     * @return The bytes for type.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getTypeBytes() {
      java.lang.Object ref = type_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        type_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int DEFINED_IN_MATERIAL_FIELD_NUMBER = 2;
    private int definedInMaterial_ = 0;
    /**
     * <code>int32 defined_in_material = 2;</code>
     * @return The definedInMaterial.
     */
    @java.lang.Override
    public int getDefinedInMaterial() {
      return definedInMaterial_;
    }

    public static final int ENTRY_POINT_FIELD_NUMBER = 3;
    @SuppressWarnings("serial")
    private volatile java.lang.Object entryPoint_ = "";
    /**
     * <code>string entry_point = 3;</code>
     * @return The entryPoint.
     */
    @java.lang.Override
    public java.lang.String getEntryPoint() {
      java.lang.Object ref = entryPoint_;
      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();
        entryPoint_ = s;
        return s;
      }
    }
    /**
     * <code>string entry_point = 3;</code>
     * @return The bytes for entryPoint.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getEntryPointBytes() {
      java.lang.Object ref = entryPoint_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        entryPoint_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int ARGUMENTS_FIELD_NUMBER = 4;
    private com.google.protobuf.Struct arguments_;
    /**
     * <code>.google.protobuf.Struct arguments = 4;</code>
     * @return Whether the arguments field is set.
     */
    @java.lang.Override
    public boolean hasArguments() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>.google.protobuf.Struct arguments = 4;</code>
     * @return The arguments.
     */
    @java.lang.Override
    public com.google.protobuf.Struct getArguments() {
      return arguments_ == null ? com.google.protobuf.Struct.getDefaultInstance() : arguments_;
    }
    /**
     * <code>.google.protobuf.Struct arguments = 4;</code>
     */
    @java.lang.Override
    public com.google.protobuf.StructOrBuilder getArgumentsOrBuilder() {
      return arguments_ == null ? com.google.protobuf.Struct.getDefaultInstance() : arguments_;
    }

    public static final int ENVIRONMENT_FIELD_NUMBER = 5;
    private com.google.protobuf.Struct environment_;
    /**
     * <code>.google.protobuf.Struct environment = 5;</code>
     * @return Whether the environment field is set.
     */
    @java.lang.Override
    public boolean hasEnvironment() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <code>.google.protobuf.Struct environment = 5;</code>
     * @return The environment.
     */
    @java.lang.Override
    public com.google.protobuf.Struct getEnvironment() {
      return environment_ == null ? com.google.protobuf.Struct.getDefaultInstance() : environment_;
    }
    /**
     * <code>.google.protobuf.Struct environment = 5;</code>
     */
    @java.lang.Override
    public com.google.protobuf.StructOrBuilder getEnvironmentOrBuilder() {
      return environment_ == null ? com.google.protobuf.Struct.getDefaultInstance() : environment_;
    }

    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(type_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_);
      }
      if (definedInMaterial_ != 0) {
        output.writeInt32(2, definedInMaterial_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entryPoint_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, entryPoint_);
      }
      if (((bitField0_ & 0x00000001) != 0)) {
        output.writeMessage(4, getArguments());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeMessage(5, getEnvironment());
      }
      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(type_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, type_);
      }
      if (definedInMaterial_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(2, definedInMaterial_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entryPoint_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, entryPoint_);
      }
      if (((bitField0_ & 0x00000001) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, getArguments());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(5, getEnvironment());
      }
      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.provenance.v01.ProvenanceOuterClass.Recipe)) {
        return super.equals(obj);
      }
      io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe other = (io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe) obj;

      if (!getType()
          .equals(other.getType())) return false;
      if (getDefinedInMaterial()
          != other.getDefinedInMaterial()) return false;
      if (!getEntryPoint()
          .equals(other.getEntryPoint())) return false;
      if (hasArguments() != other.hasArguments()) return false;
      if (hasArguments()) {
        if (!getArguments()
            .equals(other.getArguments())) return false;
      }
      if (hasEnvironment() != other.hasEnvironment()) return false;
      if (hasEnvironment()) {
        if (!getEnvironment()
            .equals(other.getEnvironment())) 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) + TYPE_FIELD_NUMBER;
      hash = (53 * hash) + getType().hashCode();
      hash = (37 * hash) + DEFINED_IN_MATERIAL_FIELD_NUMBER;
      hash = (53 * hash) + getDefinedInMaterial();
      hash = (37 * hash) + ENTRY_POINT_FIELD_NUMBER;
      hash = (53 * hash) + getEntryPoint().hashCode();
      if (hasArguments()) {
        hash = (37 * hash) + ARGUMENTS_FIELD_NUMBER;
        hash = (53 * hash) + getArguments().hashCode();
      }
      if (hasEnvironment()) {
        hash = (37 * hash) + ENVIRONMENT_FIELD_NUMBER;
        hash = (53 * hash) + getEnvironment().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

    public static io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe 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.provenance.v01.ProvenanceOuterClass.Recipe 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.provenance.v01.ProvenanceOuterClass.Recipe 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.provenance.v01.ProvenanceOuterClass.Recipe 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.provenance.v01.Recipe}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:in_toto_attestation.predicates.provenance.v01.Recipe)
        io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.RecipeOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v01_Recipe_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v01_Recipe_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe.class, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe.Builder.class);
      }

      // Construct using io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getArgumentsFieldBuilder();
          getEnvironmentFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        type_ = "";
        definedInMaterial_ = 0;
        entryPoint_ = "";
        arguments_ = null;
        if (argumentsBuilder_ != null) {
          argumentsBuilder_.dispose();
          argumentsBuilder_ = null;
        }
        environment_ = null;
        if (environmentBuilder_ != null) {
          environmentBuilder_.dispose();
          environmentBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v01_Recipe_descriptor;
      }

      @java.lang.Override
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe getDefaultInstanceForType() {
        return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe.getDefaultInstance();
      }

      @java.lang.Override
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe build() {
        io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe buildPartial() {
        io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe result = new io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe(this);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }

      private void buildPartial0(io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.type_ = type_;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.definedInMaterial_ = definedInMaterial_;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.entryPoint_ = entryPoint_;
        }
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000008) != 0)) {
          result.arguments_ = argumentsBuilder_ == null
              ? arguments_
              : argumentsBuilder_.build();
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000010) != 0)) {
          result.environment_ = environmentBuilder_ == null
              ? environment_
              : environmentBuilder_.build();
          to_bitField0_ |= 0x00000002;
        }
        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.provenance.v01.ProvenanceOuterClass.Recipe) {
          return mergeFrom((io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe other) {
        if (other == io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe.getDefaultInstance()) return this;
        if (!other.getType().isEmpty()) {
          type_ = other.type_;
          bitField0_ |= 0x00000001;
          onChanged();
        }
        if (other.getDefinedInMaterial() != 0) {
          setDefinedInMaterial(other.getDefinedInMaterial());
        }
        if (!other.getEntryPoint().isEmpty()) {
          entryPoint_ = other.entryPoint_;
          bitField0_ |= 0x00000004;
          onChanged();
        }
        if (other.hasArguments()) {
          mergeArguments(other.getArguments());
        }
        if (other.hasEnvironment()) {
          mergeEnvironment(other.getEnvironment());
        }
        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: {
                type_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000001;
                break;
              } // case 10
              case 16: {
                definedInMaterial_ = input.readInt32();
                bitField0_ |= 0x00000002;
                break;
              } // case 16
              case 26: {
                entryPoint_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000004;
                break;
              } // case 26
              case 34: {
                input.readMessage(
                    getArgumentsFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000008;
                break;
              } // case 34
              case 42: {
                input.readMessage(
                    getEnvironmentFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000010;
                break;
              } // case 42
              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 type_ = "";
      /**
       * <code>string type = 1;</code>
       * @return The type.
       */
      public java.lang.String getType() {
        java.lang.Object ref = type_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          type_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string type = 1;</code>
       * @return The bytes for type.
       */
      public com.google.protobuf.ByteString
          getTypeBytes() {
        java.lang.Object ref = type_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          type_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string type = 1;</code>
       * @param value The type to set.
       * @return This builder for chaining.
       */
      public Builder setType(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        type_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <code>string type = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearType() {
        type_ = getDefaultInstance().getType();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       * <code>string type = 1;</code>
       * @param value The bytes for type to set.
       * @return This builder for chaining.
       */
      public Builder setTypeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        type_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }

      private int definedInMaterial_ ;
      /**
       * <code>int32 defined_in_material = 2;</code>
       * @return The definedInMaterial.
       */
      @java.lang.Override
      public int getDefinedInMaterial() {
        return definedInMaterial_;
      }
      /**
       * <code>int32 defined_in_material = 2;</code>
       * @param value The definedInMaterial to set.
       * @return This builder for chaining.
       */
      public Builder setDefinedInMaterial(int value) {

        definedInMaterial_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <code>int32 defined_in_material = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearDefinedInMaterial() {
        bitField0_ = (bitField0_ & ~0x00000002);
        definedInMaterial_ = 0;
        onChanged();
        return this;
      }

      private java.lang.Object entryPoint_ = "";
      /**
       * <code>string entry_point = 3;</code>
       * @return The entryPoint.
       */
      public java.lang.String getEntryPoint() {
        java.lang.Object ref = entryPoint_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          entryPoint_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string entry_point = 3;</code>
       * @return The bytes for entryPoint.
       */
      public com.google.protobuf.ByteString
          getEntryPointBytes() {
        java.lang.Object ref = entryPoint_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          entryPoint_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string entry_point = 3;</code>
       * @param value The entryPoint to set.
       * @return This builder for chaining.
       */
      public Builder setEntryPoint(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        entryPoint_ = value;
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * <code>string entry_point = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearEntryPoint() {
        entryPoint_ = getDefaultInstance().getEntryPoint();
        bitField0_ = (bitField0_ & ~0x00000004);
        onChanged();
        return this;
      }
      /**
       * <code>string entry_point = 3;</code>
       * @param value The bytes for entryPoint to set.
       * @return This builder for chaining.
       */
      public Builder setEntryPointBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        entryPoint_ = value;
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }

      private com.google.protobuf.Struct arguments_;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> argumentsBuilder_;
      /**
       * <code>.google.protobuf.Struct arguments = 4;</code>
       * @return Whether the arguments field is set.
       */
      public boolean hasArguments() {
        return ((bitField0_ & 0x00000008) != 0);
      }
      /**
       * <code>.google.protobuf.Struct arguments = 4;</code>
       * @return The arguments.
       */
      public com.google.protobuf.Struct getArguments() {
        if (argumentsBuilder_ == null) {
          return arguments_ == null ? com.google.protobuf.Struct.getDefaultInstance() : arguments_;
        } else {
          return argumentsBuilder_.getMessage();
        }
      }
      /**
       * <code>.google.protobuf.Struct arguments = 4;</code>
       */
      public Builder setArguments(com.google.protobuf.Struct value) {
        if (argumentsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          arguments_ = value;
        } else {
          argumentsBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000008;
        onChanged();
        return this;
      }
      /**
       * <code>.google.protobuf.Struct arguments = 4;</code>
       */
      public Builder setArguments(
          com.google.protobuf.Struct.Builder builderForValue) {
        if (argumentsBuilder_ == null) {
          arguments_ = builderForValue.build();
        } else {
          argumentsBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000008;
        onChanged();
        return this;
      }
      /**
       * <code>.google.protobuf.Struct arguments = 4;</code>
       */
      public Builder mergeArguments(com.google.protobuf.Struct value) {
        if (argumentsBuilder_ == null) {
          if (((bitField0_ & 0x00000008) != 0) &&
            arguments_ != null &&
            arguments_ != com.google.protobuf.Struct.getDefaultInstance()) {
            getArgumentsBuilder().mergeFrom(value);
          } else {
            arguments_ = value;
          }
        } else {
          argumentsBuilder_.mergeFrom(value);
        }
        if (arguments_ != null) {
          bitField0_ |= 0x00000008;
          onChanged();
        }
        return this;
      }
      /**
       * <code>.google.protobuf.Struct arguments = 4;</code>
       */
      public Builder clearArguments() {
        bitField0_ = (bitField0_ & ~0x00000008);
        arguments_ = null;
        if (argumentsBuilder_ != null) {
          argumentsBuilder_.dispose();
          argumentsBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * <code>.google.protobuf.Struct arguments = 4;</code>
       */
      public com.google.protobuf.Struct.Builder getArgumentsBuilder() {
        bitField0_ |= 0x00000008;
        onChanged();
        return getArgumentsFieldBuilder().getBuilder();
      }
      /**
       * <code>.google.protobuf.Struct arguments = 4;</code>
       */
      public com.google.protobuf.StructOrBuilder getArgumentsOrBuilder() {
        if (argumentsBuilder_ != null) {
          return argumentsBuilder_.getMessageOrBuilder();
        } else {
          return arguments_ == null ?
              com.google.protobuf.Struct.getDefaultInstance() : arguments_;
        }
      }
      /**
       * <code>.google.protobuf.Struct arguments = 4;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
          getArgumentsFieldBuilder() {
        if (argumentsBuilder_ == null) {
          argumentsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
                  getArguments(),
                  getParentForChildren(),
                  isClean());
          arguments_ = null;
        }
        return argumentsBuilder_;
      }

      private com.google.protobuf.Struct environment_;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> environmentBuilder_;
      /**
       * <code>.google.protobuf.Struct environment = 5;</code>
       * @return Whether the environment field is set.
       */
      public boolean hasEnvironment() {
        return ((bitField0_ & 0x00000010) != 0);
      }
      /**
       * <code>.google.protobuf.Struct environment = 5;</code>
       * @return The environment.
       */
      public com.google.protobuf.Struct getEnvironment() {
        if (environmentBuilder_ == null) {
          return environment_ == null ? com.google.protobuf.Struct.getDefaultInstance() : environment_;
        } else {
          return environmentBuilder_.getMessage();
        }
      }
      /**
       * <code>.google.protobuf.Struct environment = 5;</code>
       */
      public Builder setEnvironment(com.google.protobuf.Struct value) {
        if (environmentBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          environment_ = value;
        } else {
          environmentBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000010;
        onChanged();
        return this;
      }
      /**
       * <code>.google.protobuf.Struct environment = 5;</code>
       */
      public Builder setEnvironment(
          com.google.protobuf.Struct.Builder builderForValue) {
        if (environmentBuilder_ == null) {
          environment_ = builderForValue.build();
        } else {
          environmentBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000010;
        onChanged();
        return this;
      }
      /**
       * <code>.google.protobuf.Struct environment = 5;</code>
       */
      public Builder mergeEnvironment(com.google.protobuf.Struct value) {
        if (environmentBuilder_ == null) {
          if (((bitField0_ & 0x00000010) != 0) &&
            environment_ != null &&
            environment_ != com.google.protobuf.Struct.getDefaultInstance()) {
            getEnvironmentBuilder().mergeFrom(value);
          } else {
            environment_ = value;
          }
        } else {
          environmentBuilder_.mergeFrom(value);
        }
        if (environment_ != null) {
          bitField0_ |= 0x00000010;
          onChanged();
        }
        return this;
      }
      /**
       * <code>.google.protobuf.Struct environment = 5;</code>
       */
      public Builder clearEnvironment() {
        bitField0_ = (bitField0_ & ~0x00000010);
        environment_ = null;
        if (environmentBuilder_ != null) {
          environmentBuilder_.dispose();
          environmentBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * <code>.google.protobuf.Struct environment = 5;</code>
       */
      public com.google.protobuf.Struct.Builder getEnvironmentBuilder() {
        bitField0_ |= 0x00000010;
        onChanged();
        return getEnvironmentFieldBuilder().getBuilder();
      }
      /**
       * <code>.google.protobuf.Struct environment = 5;</code>
       */
      public com.google.protobuf.StructOrBuilder getEnvironmentOrBuilder() {
        if (environmentBuilder_ != null) {
          return environmentBuilder_.getMessageOrBuilder();
        } else {
          return environment_ == null ?
              com.google.protobuf.Struct.getDefaultInstance() : environment_;
        }
      }
      /**
       * <code>.google.protobuf.Struct environment = 5;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
          getEnvironmentFieldBuilder() {
        if (environmentBuilder_ == null) {
          environmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
                  getEnvironment(),
                  getParentForChildren(),
                  isClean());
          environment_ = null;
        }
        return environmentBuilder_;
      }
      @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.provenance.v01.Recipe)
    }

    // @@protoc_insertion_point(class_scope:in_toto_attestation.predicates.provenance.v01.Recipe)
    private static final io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe();
    }

    public static io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

    @java.lang.Override
    public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Recipe getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface MetadataOrBuilder extends
      // @@protoc_insertion_point(interface_extends:in_toto_attestation.predicates.provenance.v01.Metadata)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>string build_invocation_id = 1;</code>
     * @return The buildInvocationId.
     */
    java.lang.String getBuildInvocationId();
    /**
     * <code>string build_invocation_id = 1;</code>
     * @return The bytes for buildInvocationId.
     */
    com.google.protobuf.ByteString
        getBuildInvocationIdBytes();

    /**
     * <code>.google.protobuf.Timestamp build_started_on = 2;</code>
     * @return Whether the buildStartedOn field is set.
     */
    boolean hasBuildStartedOn();
    /**
     * <code>.google.protobuf.Timestamp build_started_on = 2;</code>
     * @return The buildStartedOn.
     */
    com.google.protobuf.Timestamp getBuildStartedOn();
    /**
     * <code>.google.protobuf.Timestamp build_started_on = 2;</code>
     */
    com.google.protobuf.TimestampOrBuilder getBuildStartedOnOrBuilder();

    /**
     * <code>.google.protobuf.Timestamp build_finished_on = 3;</code>
     * @return Whether the buildFinishedOn field is set.
     */
    boolean hasBuildFinishedOn();
    /**
     * <code>.google.protobuf.Timestamp build_finished_on = 3;</code>
     * @return The buildFinishedOn.
     */
    com.google.protobuf.Timestamp getBuildFinishedOn();
    /**
     * <code>.google.protobuf.Timestamp build_finished_on = 3;</code>
     */
    com.google.protobuf.TimestampOrBuilder getBuildFinishedOnOrBuilder();

    /**
     * <code>.in_toto_attestation.predicates.provenance.v01.Completeness completeness = 4;</code>
     * @return Whether the completeness field is set.
     */
    boolean hasCompleteness();
    /**
     * <code>.in_toto_attestation.predicates.provenance.v01.Completeness completeness = 4;</code>
     * @return The completeness.
     */
    io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness getCompleteness();
    /**
     * <code>.in_toto_attestation.predicates.provenance.v01.Completeness completeness = 4;</code>
     */
    io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.CompletenessOrBuilder getCompletenessOrBuilder();

    /**
     * <code>bool reproducible = 5;</code>
     * @return The reproducible.
     */
    boolean getReproducible();
  }
  /**
   * Protobuf type {@code in_toto_attestation.predicates.provenance.v01.Metadata}
   */
  public static final class Metadata extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:in_toto_attestation.predicates.provenance.v01.Metadata)
      MetadataOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Metadata.newBuilder() to construct.
    private Metadata(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private Metadata() {
      buildInvocationId_ = "";
    }

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

    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v01_Metadata_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v01_Metadata_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata.class, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata.Builder.class);
    }

    private int bitField0_;
    public static final int BUILD_INVOCATION_ID_FIELD_NUMBER = 1;
    @SuppressWarnings("serial")
    private volatile java.lang.Object buildInvocationId_ = "";
    /**
     * <code>string build_invocation_id = 1;</code>
     * @return The buildInvocationId.
     */
    @java.lang.Override
    public java.lang.String getBuildInvocationId() {
      java.lang.Object ref = buildInvocationId_;
      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();
        buildInvocationId_ = s;
        return s;
      }
    }
    /**
     * <code>string build_invocation_id = 1;</code>
     * @return The bytes for buildInvocationId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getBuildInvocationIdBytes() {
      java.lang.Object ref = buildInvocationId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        buildInvocationId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int BUILD_STARTED_ON_FIELD_NUMBER = 2;
    private com.google.protobuf.Timestamp buildStartedOn_;
    /**
     * <code>.google.protobuf.Timestamp build_started_on = 2;</code>
     * @return Whether the buildStartedOn field is set.
     */
    @java.lang.Override
    public boolean hasBuildStartedOn() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>.google.protobuf.Timestamp build_started_on = 2;</code>
     * @return The buildStartedOn.
     */
    @java.lang.Override
    public com.google.protobuf.Timestamp getBuildStartedOn() {
      return buildStartedOn_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : buildStartedOn_;
    }
    /**
     * <code>.google.protobuf.Timestamp build_started_on = 2;</code>
     */
    @java.lang.Override
    public com.google.protobuf.TimestampOrBuilder getBuildStartedOnOrBuilder() {
      return buildStartedOn_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : buildStartedOn_;
    }

    public static final int BUILD_FINISHED_ON_FIELD_NUMBER = 3;
    private com.google.protobuf.Timestamp buildFinishedOn_;
    /**
     * <code>.google.protobuf.Timestamp build_finished_on = 3;</code>
     * @return Whether the buildFinishedOn field is set.
     */
    @java.lang.Override
    public boolean hasBuildFinishedOn() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <code>.google.protobuf.Timestamp build_finished_on = 3;</code>
     * @return The buildFinishedOn.
     */
    @java.lang.Override
    public com.google.protobuf.Timestamp getBuildFinishedOn() {
      return buildFinishedOn_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : buildFinishedOn_;
    }
    /**
     * <code>.google.protobuf.Timestamp build_finished_on = 3;</code>
     */
    @java.lang.Override
    public com.google.protobuf.TimestampOrBuilder getBuildFinishedOnOrBuilder() {
      return buildFinishedOn_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : buildFinishedOn_;
    }

    public static final int COMPLETENESS_FIELD_NUMBER = 4;
    private io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness completeness_;
    /**
     * <code>.in_toto_attestation.predicates.provenance.v01.Completeness completeness = 4;</code>
     * @return Whether the completeness field is set.
     */
    @java.lang.Override
    public boolean hasCompleteness() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * <code>.in_toto_attestation.predicates.provenance.v01.Completeness completeness = 4;</code>
     * @return The completeness.
     */
    @java.lang.Override
    public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness getCompleteness() {
      return completeness_ == null ? io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness.getDefaultInstance() : completeness_;
    }
    /**
     * <code>.in_toto_attestation.predicates.provenance.v01.Completeness completeness = 4;</code>
     */
    @java.lang.Override
    public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.CompletenessOrBuilder getCompletenessOrBuilder() {
      return completeness_ == null ? io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness.getDefaultInstance() : completeness_;
    }

    public static final int REPRODUCIBLE_FIELD_NUMBER = 5;
    private boolean reproducible_ = false;
    /**
     * <code>bool reproducible = 5;</code>
     * @return The reproducible.
     */
    @java.lang.Override
    public boolean getReproducible() {
      return reproducible_;
    }

    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(buildInvocationId_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, buildInvocationId_);
      }
      if (((bitField0_ & 0x00000001) != 0)) {
        output.writeMessage(2, getBuildStartedOn());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeMessage(3, getBuildFinishedOn());
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        output.writeMessage(4, getCompleteness());
      }
      if (reproducible_ != false) {
        output.writeBool(5, reproducible_);
      }
      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(buildInvocationId_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, buildInvocationId_);
      }
      if (((bitField0_ & 0x00000001) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getBuildStartedOn());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, getBuildFinishedOn());
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, getCompleteness());
      }
      if (reproducible_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(5, reproducible_);
      }
      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.provenance.v01.ProvenanceOuterClass.Metadata)) {
        return super.equals(obj);
      }
      io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata other = (io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata) obj;

      if (!getBuildInvocationId()
          .equals(other.getBuildInvocationId())) return false;
      if (hasBuildStartedOn() != other.hasBuildStartedOn()) return false;
      if (hasBuildStartedOn()) {
        if (!getBuildStartedOn()
            .equals(other.getBuildStartedOn())) return false;
      }
      if (hasBuildFinishedOn() != other.hasBuildFinishedOn()) return false;
      if (hasBuildFinishedOn()) {
        if (!getBuildFinishedOn()
            .equals(other.getBuildFinishedOn())) return false;
      }
      if (hasCompleteness() != other.hasCompleteness()) return false;
      if (hasCompleteness()) {
        if (!getCompleteness()
            .equals(other.getCompleteness())) return false;
      }
      if (getReproducible()
          != other.getReproducible()) 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) + BUILD_INVOCATION_ID_FIELD_NUMBER;
      hash = (53 * hash) + getBuildInvocationId().hashCode();
      if (hasBuildStartedOn()) {
        hash = (37 * hash) + BUILD_STARTED_ON_FIELD_NUMBER;
        hash = (53 * hash) + getBuildStartedOn().hashCode();
      }
      if (hasBuildFinishedOn()) {
        hash = (37 * hash) + BUILD_FINISHED_ON_FIELD_NUMBER;
        hash = (53 * hash) + getBuildFinishedOn().hashCode();
      }
      if (hasCompleteness()) {
        hash = (37 * hash) + COMPLETENESS_FIELD_NUMBER;
        hash = (53 * hash) + getCompleteness().hashCode();
      }
      hash = (37 * hash) + REPRODUCIBLE_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getReproducible());
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

    public static io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata 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.provenance.v01.ProvenanceOuterClass.Metadata 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.provenance.v01.ProvenanceOuterClass.Metadata 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.provenance.v01.ProvenanceOuterClass.Metadata 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.provenance.v01.Metadata}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:in_toto_attestation.predicates.provenance.v01.Metadata)
        io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.MetadataOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v01_Metadata_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v01_Metadata_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata.class, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata.Builder.class);
      }

      // Construct using io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getBuildStartedOnFieldBuilder();
          getBuildFinishedOnFieldBuilder();
          getCompletenessFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        buildInvocationId_ = "";
        buildStartedOn_ = null;
        if (buildStartedOnBuilder_ != null) {
          buildStartedOnBuilder_.dispose();
          buildStartedOnBuilder_ = null;
        }
        buildFinishedOn_ = null;
        if (buildFinishedOnBuilder_ != null) {
          buildFinishedOnBuilder_.dispose();
          buildFinishedOnBuilder_ = null;
        }
        completeness_ = null;
        if (completenessBuilder_ != null) {
          completenessBuilder_.dispose();
          completenessBuilder_ = null;
        }
        reproducible_ = false;
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v01_Metadata_descriptor;
      }

      @java.lang.Override
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata getDefaultInstanceForType() {
        return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata.getDefaultInstance();
      }

      @java.lang.Override
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata build() {
        io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata buildPartial() {
        io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata result = new io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata(this);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }

      private void buildPartial0(io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.buildInvocationId_ = buildInvocationId_;
        }
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.buildStartedOn_ = buildStartedOnBuilder_ == null
              ? buildStartedOn_
              : buildStartedOnBuilder_.build();
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.buildFinishedOn_ = buildFinishedOnBuilder_ == null
              ? buildFinishedOn_
              : buildFinishedOnBuilder_.build();
          to_bitField0_ |= 0x00000002;
        }
        if (((from_bitField0_ & 0x00000008) != 0)) {
          result.completeness_ = completenessBuilder_ == null
              ? completeness_
              : completenessBuilder_.build();
          to_bitField0_ |= 0x00000004;
        }
        if (((from_bitField0_ & 0x00000010) != 0)) {
          result.reproducible_ = reproducible_;
        }
        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.provenance.v01.ProvenanceOuterClass.Metadata) {
          return mergeFrom((io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata other) {
        if (other == io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata.getDefaultInstance()) return this;
        if (!other.getBuildInvocationId().isEmpty()) {
          buildInvocationId_ = other.buildInvocationId_;
          bitField0_ |= 0x00000001;
          onChanged();
        }
        if (other.hasBuildStartedOn()) {
          mergeBuildStartedOn(other.getBuildStartedOn());
        }
        if (other.hasBuildFinishedOn()) {
          mergeBuildFinishedOn(other.getBuildFinishedOn());
        }
        if (other.hasCompleteness()) {
          mergeCompleteness(other.getCompleteness());
        }
        if (other.getReproducible() != false) {
          setReproducible(other.getReproducible());
        }
        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: {
                buildInvocationId_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000001;
                break;
              } // case 10
              case 18: {
                input.readMessage(
                    getBuildStartedOnFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000002;
                break;
              } // case 18
              case 26: {
                input.readMessage(
                    getBuildFinishedOnFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000004;
                break;
              } // case 26
              case 34: {
                input.readMessage(
                    getCompletenessFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000008;
                break;
              } // case 34
              case 40: {
                reproducible_ = input.readBool();
                bitField0_ |= 0x00000010;
                break;
              } // case 40
              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 buildInvocationId_ = "";
      /**
       * <code>string build_invocation_id = 1;</code>
       * @return The buildInvocationId.
       */
      public java.lang.String getBuildInvocationId() {
        java.lang.Object ref = buildInvocationId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          buildInvocationId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string build_invocation_id = 1;</code>
       * @return The bytes for buildInvocationId.
       */
      public com.google.protobuf.ByteString
          getBuildInvocationIdBytes() {
        java.lang.Object ref = buildInvocationId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          buildInvocationId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string build_invocation_id = 1;</code>
       * @param value The buildInvocationId to set.
       * @return This builder for chaining.
       */
      public Builder setBuildInvocationId(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        buildInvocationId_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <code>string build_invocation_id = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearBuildInvocationId() {
        buildInvocationId_ = getDefaultInstance().getBuildInvocationId();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       * <code>string build_invocation_id = 1;</code>
       * @param value The bytes for buildInvocationId to set.
       * @return This builder for chaining.
       */
      public Builder setBuildInvocationIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        buildInvocationId_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }

      private com.google.protobuf.Timestamp buildStartedOn_;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> buildStartedOnBuilder_;
      /**
       * <code>.google.protobuf.Timestamp build_started_on = 2;</code>
       * @return Whether the buildStartedOn field is set.
       */
      public boolean hasBuildStartedOn() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * <code>.google.protobuf.Timestamp build_started_on = 2;</code>
       * @return The buildStartedOn.
       */
      public com.google.protobuf.Timestamp getBuildStartedOn() {
        if (buildStartedOnBuilder_ == null) {
          return buildStartedOn_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : buildStartedOn_;
        } else {
          return buildStartedOnBuilder_.getMessage();
        }
      }
      /**
       * <code>.google.protobuf.Timestamp build_started_on = 2;</code>
       */
      public Builder setBuildStartedOn(com.google.protobuf.Timestamp value) {
        if (buildStartedOnBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          buildStartedOn_ = value;
        } else {
          buildStartedOnBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <code>.google.protobuf.Timestamp build_started_on = 2;</code>
       */
      public Builder setBuildStartedOn(
          com.google.protobuf.Timestamp.Builder builderForValue) {
        if (buildStartedOnBuilder_ == null) {
          buildStartedOn_ = builderForValue.build();
        } else {
          buildStartedOnBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <code>.google.protobuf.Timestamp build_started_on = 2;</code>
       */
      public Builder mergeBuildStartedOn(com.google.protobuf.Timestamp value) {
        if (buildStartedOnBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0) &&
            buildStartedOn_ != null &&
            buildStartedOn_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
            getBuildStartedOnBuilder().mergeFrom(value);
          } else {
            buildStartedOn_ = value;
          }
        } else {
          buildStartedOnBuilder_.mergeFrom(value);
        }
        if (buildStartedOn_ != null) {
          bitField0_ |= 0x00000002;
          onChanged();
        }
        return this;
      }
      /**
       * <code>.google.protobuf.Timestamp build_started_on = 2;</code>
       */
      public Builder clearBuildStartedOn() {
        bitField0_ = (bitField0_ & ~0x00000002);
        buildStartedOn_ = null;
        if (buildStartedOnBuilder_ != null) {
          buildStartedOnBuilder_.dispose();
          buildStartedOnBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * <code>.google.protobuf.Timestamp build_started_on = 2;</code>
       */
      public com.google.protobuf.Timestamp.Builder getBuildStartedOnBuilder() {
        bitField0_ |= 0x00000002;
        onChanged();
        return getBuildStartedOnFieldBuilder().getBuilder();
      }
      /**
       * <code>.google.protobuf.Timestamp build_started_on = 2;</code>
       */
      public com.google.protobuf.TimestampOrBuilder getBuildStartedOnOrBuilder() {
        if (buildStartedOnBuilder_ != null) {
          return buildStartedOnBuilder_.getMessageOrBuilder();
        } else {
          return buildStartedOn_ == null ?
              com.google.protobuf.Timestamp.getDefaultInstance() : buildStartedOn_;
        }
      }
      /**
       * <code>.google.protobuf.Timestamp build_started_on = 2;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
          getBuildStartedOnFieldBuilder() {
        if (buildStartedOnBuilder_ == null) {
          buildStartedOnBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
                  getBuildStartedOn(),
                  getParentForChildren(),
                  isClean());
          buildStartedOn_ = null;
        }
        return buildStartedOnBuilder_;
      }

      private com.google.protobuf.Timestamp buildFinishedOn_;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> buildFinishedOnBuilder_;
      /**
       * <code>.google.protobuf.Timestamp build_finished_on = 3;</code>
       * @return Whether the buildFinishedOn field is set.
       */
      public boolean hasBuildFinishedOn() {
        return ((bitField0_ & 0x00000004) != 0);
      }
      /**
       * <code>.google.protobuf.Timestamp build_finished_on = 3;</code>
       * @return The buildFinishedOn.
       */
      public com.google.protobuf.Timestamp getBuildFinishedOn() {
        if (buildFinishedOnBuilder_ == null) {
          return buildFinishedOn_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : buildFinishedOn_;
        } else {
          return buildFinishedOnBuilder_.getMessage();
        }
      }
      /**
       * <code>.google.protobuf.Timestamp build_finished_on = 3;</code>
       */
      public Builder setBuildFinishedOn(com.google.protobuf.Timestamp value) {
        if (buildFinishedOnBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          buildFinishedOn_ = value;
        } else {
          buildFinishedOnBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * <code>.google.protobuf.Timestamp build_finished_on = 3;</code>
       */
      public Builder setBuildFinishedOn(
          com.google.protobuf.Timestamp.Builder builderForValue) {
        if (buildFinishedOnBuilder_ == null) {
          buildFinishedOn_ = builderForValue.build();
        } else {
          buildFinishedOnBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * <code>.google.protobuf.Timestamp build_finished_on = 3;</code>
       */
      public Builder mergeBuildFinishedOn(com.google.protobuf.Timestamp value) {
        if (buildFinishedOnBuilder_ == null) {
          if (((bitField0_ & 0x00000004) != 0) &&
            buildFinishedOn_ != null &&
            buildFinishedOn_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
            getBuildFinishedOnBuilder().mergeFrom(value);
          } else {
            buildFinishedOn_ = value;
          }
        } else {
          buildFinishedOnBuilder_.mergeFrom(value);
        }
        if (buildFinishedOn_ != null) {
          bitField0_ |= 0x00000004;
          onChanged();
        }
        return this;
      }
      /**
       * <code>.google.protobuf.Timestamp build_finished_on = 3;</code>
       */
      public Builder clearBuildFinishedOn() {
        bitField0_ = (bitField0_ & ~0x00000004);
        buildFinishedOn_ = null;
        if (buildFinishedOnBuilder_ != null) {
          buildFinishedOnBuilder_.dispose();
          buildFinishedOnBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * <code>.google.protobuf.Timestamp build_finished_on = 3;</code>
       */
      public com.google.protobuf.Timestamp.Builder getBuildFinishedOnBuilder() {
        bitField0_ |= 0x00000004;
        onChanged();
        return getBuildFinishedOnFieldBuilder().getBuilder();
      }
      /**
       * <code>.google.protobuf.Timestamp build_finished_on = 3;</code>
       */
      public com.google.protobuf.TimestampOrBuilder getBuildFinishedOnOrBuilder() {
        if (buildFinishedOnBuilder_ != null) {
          return buildFinishedOnBuilder_.getMessageOrBuilder();
        } else {
          return buildFinishedOn_ == null ?
              com.google.protobuf.Timestamp.getDefaultInstance() : buildFinishedOn_;
        }
      }
      /**
       * <code>.google.protobuf.Timestamp build_finished_on = 3;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
          getBuildFinishedOnFieldBuilder() {
        if (buildFinishedOnBuilder_ == null) {
          buildFinishedOnBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
                  getBuildFinishedOn(),
                  getParentForChildren(),
                  isClean());
          buildFinishedOn_ = null;
        }
        return buildFinishedOnBuilder_;
      }

      private io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness completeness_;
      private com.google.protobuf.SingleFieldBuilderV3<
          io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness.Builder, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.CompletenessOrBuilder> completenessBuilder_;
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Completeness completeness = 4;</code>
       * @return Whether the completeness field is set.
       */
      public boolean hasCompleteness() {
        return ((bitField0_ & 0x00000008) != 0);
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Completeness completeness = 4;</code>
       * @return The completeness.
       */
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness getCompleteness() {
        if (completenessBuilder_ == null) {
          return completeness_ == null ? io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness.getDefaultInstance() : completeness_;
        } else {
          return completenessBuilder_.getMessage();
        }
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Completeness completeness = 4;</code>
       */
      public Builder setCompleteness(io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness value) {
        if (completenessBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          completeness_ = value;
        } else {
          completenessBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000008;
        onChanged();
        return this;
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Completeness completeness = 4;</code>
       */
      public Builder setCompleteness(
          io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness.Builder builderForValue) {
        if (completenessBuilder_ == null) {
          completeness_ = builderForValue.build();
        } else {
          completenessBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000008;
        onChanged();
        return this;
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Completeness completeness = 4;</code>
       */
      public Builder mergeCompleteness(io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness value) {
        if (completenessBuilder_ == null) {
          if (((bitField0_ & 0x00000008) != 0) &&
            completeness_ != null &&
            completeness_ != io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness.getDefaultInstance()) {
            getCompletenessBuilder().mergeFrom(value);
          } else {
            completeness_ = value;
          }
        } else {
          completenessBuilder_.mergeFrom(value);
        }
        if (completeness_ != null) {
          bitField0_ |= 0x00000008;
          onChanged();
        }
        return this;
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Completeness completeness = 4;</code>
       */
      public Builder clearCompleteness() {
        bitField0_ = (bitField0_ & ~0x00000008);
        completeness_ = null;
        if (completenessBuilder_ != null) {
          completenessBuilder_.dispose();
          completenessBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Completeness completeness = 4;</code>
       */
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness.Builder getCompletenessBuilder() {
        bitField0_ |= 0x00000008;
        onChanged();
        return getCompletenessFieldBuilder().getBuilder();
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Completeness completeness = 4;</code>
       */
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.CompletenessOrBuilder getCompletenessOrBuilder() {
        if (completenessBuilder_ != null) {
          return completenessBuilder_.getMessageOrBuilder();
        } else {
          return completeness_ == null ?
              io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness.getDefaultInstance() : completeness_;
        }
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v01.Completeness completeness = 4;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness.Builder, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.CompletenessOrBuilder> 
          getCompletenessFieldBuilder() {
        if (completenessBuilder_ == null) {
          completenessBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness.Builder, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.CompletenessOrBuilder>(
                  getCompleteness(),
                  getParentForChildren(),
                  isClean());
          completeness_ = null;
        }
        return completenessBuilder_;
      }

      private boolean reproducible_ ;
      /**
       * <code>bool reproducible = 5;</code>
       * @return The reproducible.
       */
      @java.lang.Override
      public boolean getReproducible() {
        return reproducible_;
      }
      /**
       * <code>bool reproducible = 5;</code>
       * @param value The reproducible to set.
       * @return This builder for chaining.
       */
      public Builder setReproducible(boolean value) {

        reproducible_ = value;
        bitField0_ |= 0x00000010;
        onChanged();
        return this;
      }
      /**
       * <code>bool reproducible = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearReproducible() {
        bitField0_ = (bitField0_ & ~0x00000010);
        reproducible_ = false;
        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.provenance.v01.Metadata)
    }

    // @@protoc_insertion_point(class_scope:in_toto_attestation.predicates.provenance.v01.Metadata)
    private static final io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata();
    }

    public static io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

    @java.lang.Override
    public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Metadata getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface CompletenessOrBuilder extends
      // @@protoc_insertion_point(interface_extends:in_toto_attestation.predicates.provenance.v01.Completeness)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>bool arguments = 1;</code>
     * @return The arguments.
     */
    boolean getArguments();

    /**
     * <code>bool environment = 2;</code>
     * @return The environment.
     */
    boolean getEnvironment();

    /**
     * <code>bool materials = 3;</code>
     * @return The materials.
     */
    boolean getMaterials();
  }
  /**
   * Protobuf type {@code in_toto_attestation.predicates.provenance.v01.Completeness}
   */
  public static final class Completeness extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:in_toto_attestation.predicates.provenance.v01.Completeness)
      CompletenessOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Completeness.newBuilder() to construct.
    private Completeness(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private Completeness() {
    }

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

    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v01_Completeness_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v01_Completeness_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness.class, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness.Builder.class);
    }

    public static final int ARGUMENTS_FIELD_NUMBER = 1;
    private boolean arguments_ = false;
    /**
     * <code>bool arguments = 1;</code>
     * @return The arguments.
     */
    @java.lang.Override
    public boolean getArguments() {
      return arguments_;
    }

    public static final int ENVIRONMENT_FIELD_NUMBER = 2;
    private boolean environment_ = false;
    /**
     * <code>bool environment = 2;</code>
     * @return The environment.
     */
    @java.lang.Override
    public boolean getEnvironment() {
      return environment_;
    }

    public static final int MATERIALS_FIELD_NUMBER = 3;
    private boolean materials_ = false;
    /**
     * <code>bool materials = 3;</code>
     * @return The materials.
     */
    @java.lang.Override
    public boolean getMaterials() {
      return materials_;
    }

    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 (arguments_ != false) {
        output.writeBool(1, arguments_);
      }
      if (environment_ != false) {
        output.writeBool(2, environment_);
      }
      if (materials_ != false) {
        output.writeBool(3, materials_);
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (arguments_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(1, arguments_);
      }
      if (environment_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(2, environment_);
      }
      if (materials_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(3, materials_);
      }
      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.provenance.v01.ProvenanceOuterClass.Completeness)) {
        return super.equals(obj);
      }
      io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness other = (io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness) obj;

      if (getArguments()
          != other.getArguments()) return false;
      if (getEnvironment()
          != other.getEnvironment()) return false;
      if (getMaterials()
          != other.getMaterials()) 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) + ARGUMENTS_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getArguments());
      hash = (37 * hash) + ENVIRONMENT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getEnvironment());
      hash = (37 * hash) + MATERIALS_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getMaterials());
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

    public static io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness 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.provenance.v01.ProvenanceOuterClass.Completeness 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.provenance.v01.ProvenanceOuterClass.Completeness 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.provenance.v01.ProvenanceOuterClass.Completeness 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.provenance.v01.Completeness}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:in_toto_attestation.predicates.provenance.v01.Completeness)
        io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.CompletenessOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v01_Completeness_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v01_Completeness_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness.class, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness.Builder.class);
      }

      // Construct using io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness.newBuilder()
      private Builder() {

      }

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

      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        arguments_ = false;
        environment_ = false;
        materials_ = false;
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v01_Completeness_descriptor;
      }

      @java.lang.Override
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness getDefaultInstanceForType() {
        return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness.getDefaultInstance();
      }

      @java.lang.Override
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness build() {
        io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness buildPartial() {
        io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness result = new io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness(this);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }

      private void buildPartial0(io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.arguments_ = arguments_;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.environment_ = environment_;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.materials_ = materials_;
        }
      }

      @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.provenance.v01.ProvenanceOuterClass.Completeness) {
          return mergeFrom((io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness other) {
        if (other == io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness.getDefaultInstance()) return this;
        if (other.getArguments() != false) {
          setArguments(other.getArguments());
        }
        if (other.getEnvironment() != false) {
          setEnvironment(other.getEnvironment());
        }
        if (other.getMaterials() != false) {
          setMaterials(other.getMaterials());
        }
        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 8: {
                arguments_ = input.readBool();
                bitField0_ |= 0x00000001;
                break;
              } // case 8
              case 16: {
                environment_ = input.readBool();
                bitField0_ |= 0x00000002;
                break;
              } // case 16
              case 24: {
                materials_ = input.readBool();
                bitField0_ |= 0x00000004;
                break;
              } // case 24
              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 boolean arguments_ ;
      /**
       * <code>bool arguments = 1;</code>
       * @return The arguments.
       */
      @java.lang.Override
      public boolean getArguments() {
        return arguments_;
      }
      /**
       * <code>bool arguments = 1;</code>
       * @param value The arguments to set.
       * @return This builder for chaining.
       */
      public Builder setArguments(boolean value) {

        arguments_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <code>bool arguments = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearArguments() {
        bitField0_ = (bitField0_ & ~0x00000001);
        arguments_ = false;
        onChanged();
        return this;
      }

      private boolean environment_ ;
      /**
       * <code>bool environment = 2;</code>
       * @return The environment.
       */
      @java.lang.Override
      public boolean getEnvironment() {
        return environment_;
      }
      /**
       * <code>bool environment = 2;</code>
       * @param value The environment to set.
       * @return This builder for chaining.
       */
      public Builder setEnvironment(boolean value) {

        environment_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <code>bool environment = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearEnvironment() {
        bitField0_ = (bitField0_ & ~0x00000002);
        environment_ = false;
        onChanged();
        return this;
      }

      private boolean materials_ ;
      /**
       * <code>bool materials = 3;</code>
       * @return The materials.
       */
      @java.lang.Override
      public boolean getMaterials() {
        return materials_;
      }
      /**
       * <code>bool materials = 3;</code>
       * @param value The materials to set.
       * @return This builder for chaining.
       */
      public Builder setMaterials(boolean value) {

        materials_ = value;
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * <code>bool materials = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearMaterials() {
        bitField0_ = (bitField0_ & ~0x00000004);
        materials_ = false;
        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.provenance.v01.Completeness)
    }

    // @@protoc_insertion_point(class_scope:in_toto_attestation.predicates.provenance.v01.Completeness)
    private static final io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness();
    }

    public static io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

    @java.lang.Override
    public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Completeness getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface MaterialOrBuilder extends
      // @@protoc_insertion_point(interface_extends:in_toto_attestation.predicates.provenance.v01.Material)
      com.google.protobuf.MessageOrBuilder {

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

    /**
     * <code>map&lt;string, string&gt; digest = 2;</code>
     */
    int getDigestCount();
    /**
     * <code>map&lt;string, string&gt; digest = 2;</code>
     */
    boolean containsDigest(
        java.lang.String key);
    /**
     * Use {@link #getDigestMap()} instead.
     */
    @java.lang.Deprecated
    java.util.Map<java.lang.String, java.lang.String>
    getDigest();
    /**
     * <code>map&lt;string, string&gt; digest = 2;</code>
     */
    java.util.Map<java.lang.String, java.lang.String>
    getDigestMap();
    /**
     * <code>map&lt;string, string&gt; digest = 2;</code>
     */
    /* nullable */
java.lang.String getDigestOrDefault(
        java.lang.String key,
        /* nullable */
java.lang.String defaultValue);
    /**
     * <code>map&lt;string, string&gt; digest = 2;</code>
     */
    java.lang.String getDigestOrThrow(
        java.lang.String key);
  }
  /**
   * Protobuf type {@code in_toto_attestation.predicates.provenance.v01.Material}
   */
  public static final class Material extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:in_toto_attestation.predicates.provenance.v01.Material)
      MaterialOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Material.newBuilder() to construct.
    private Material(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private Material() {
      uri_ = "";
    }

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

    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v01_Material_descriptor;
    }

    @SuppressWarnings({"rawtypes"})
    @java.lang.Override
    protected com.google.protobuf.MapField internalGetMapField(
        int number) {
      switch (number) {
        case 2:
          return internalGetDigest();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v01_Material_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material.class, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material.Builder.class);
    }

    public static final int URI_FIELD_NUMBER = 1;
    @SuppressWarnings("serial")
    private volatile java.lang.Object uri_ = "";
    /**
     * <code>string uri = 1;</code>
     * @return The uri.
     */
    @java.lang.Override
    public java.lang.String getUri() {
      java.lang.Object ref = uri_;
      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();
        uri_ = s;
        return s;
      }
    }
    /**
     * <code>string uri = 1;</code>
     * @return The bytes for uri.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getUriBytes() {
      java.lang.Object ref = uri_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        uri_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int DIGEST_FIELD_NUMBER = 2;
    private static final class DigestDefaultEntryHolder {
      static final com.google.protobuf.MapEntry<
          java.lang.String, java.lang.String> defaultEntry =
              com.google.protobuf.MapEntry
              .<java.lang.String, java.lang.String>newDefaultInstance(
                  io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v01_Material_DigestEntry_descriptor, 
                  com.google.protobuf.WireFormat.FieldType.STRING,
                  "",
                  com.google.protobuf.WireFormat.FieldType.STRING,
                  "");
    }
    @SuppressWarnings("serial")
    private com.google.protobuf.MapField<
        java.lang.String, java.lang.String> digest_;
    private com.google.protobuf.MapField<java.lang.String, java.lang.String>
    internalGetDigest() {
      if (digest_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            DigestDefaultEntryHolder.defaultEntry);
      }
      return digest_;
    }
    public int getDigestCount() {
      return internalGetDigest().getMap().size();
    }
    /**
     * <code>map&lt;string, string&gt; digest = 2;</code>
     */
    @java.lang.Override
    public boolean containsDigest(
        java.lang.String key) {
      if (key == null) { throw new NullPointerException("map key"); }
      return internalGetDigest().getMap().containsKey(key);
    }
    /**
     * Use {@link #getDigestMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map<java.lang.String, java.lang.String> getDigest() {
      return getDigestMap();
    }
    /**
     * <code>map&lt;string, string&gt; digest = 2;</code>
     */
    @java.lang.Override
    public java.util.Map<java.lang.String, java.lang.String> getDigestMap() {
      return internalGetDigest().getMap();
    }
    /**
     * <code>map&lt;string, string&gt; digest = 2;</code>
     */
    @java.lang.Override
    public /* nullable */
java.lang.String getDigestOrDefault(
        java.lang.String key,
        /* nullable */
java.lang.String defaultValue) {
      if (key == null) { throw new NullPointerException("map key"); }
      java.util.Map<java.lang.String, java.lang.String> map =
          internalGetDigest().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * <code>map&lt;string, string&gt; digest = 2;</code>
     */
    @java.lang.Override
    public java.lang.String getDigestOrThrow(
        java.lang.String key) {
      if (key == null) { throw new NullPointerException("map key"); }
      java.util.Map<java.lang.String, java.lang.String> map =
          internalGetDigest().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }

    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(uri_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_);
      }
      com.google.protobuf.GeneratedMessageV3
        .serializeStringMapTo(
          output,
          internalGetDigest(),
          DigestDefaultEntryHolder.defaultEntry,
          2);
      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(uri_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uri_);
      }
      for (java.util.Map.Entry<java.lang.String, java.lang.String> entry
           : internalGetDigest().getMap().entrySet()) {
        com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
        digest__ = DigestDefaultEntryHolder.defaultEntry.newBuilderForType()
            .setKey(entry.getKey())
            .setValue(entry.getValue())
            .build();
        size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(2, digest__);
      }
      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.provenance.v01.ProvenanceOuterClass.Material)) {
        return super.equals(obj);
      }
      io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material other = (io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material) obj;

      if (!getUri()
          .equals(other.getUri())) return false;
      if (!internalGetDigest().equals(
          other.internalGetDigest())) 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) + URI_FIELD_NUMBER;
      hash = (53 * hash) + getUri().hashCode();
      if (!internalGetDigest().getMap().isEmpty()) {
        hash = (37 * hash) + DIGEST_FIELD_NUMBER;
        hash = (53 * hash) + internalGetDigest().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

    public static io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material 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.provenance.v01.ProvenanceOuterClass.Material 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.provenance.v01.ProvenanceOuterClass.Material 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.provenance.v01.ProvenanceOuterClass.Material 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.provenance.v01.Material}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:in_toto_attestation.predicates.provenance.v01.Material)
        io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.MaterialOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v01_Material_descriptor;
      }

      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMapField(
          int number) {
        switch (number) {
          case 2:
            return internalGetDigest();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMutableMapField(
          int number) {
        switch (number) {
          case 2:
            return internalGetMutableDigest();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v01_Material_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material.class, io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material.Builder.class);
      }

      // Construct using io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material.newBuilder()
      private Builder() {

      }

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

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

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v01_Material_descriptor;
      }

      @java.lang.Override
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material getDefaultInstanceForType() {
        return io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material.getDefaultInstance();
      }

      @java.lang.Override
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material build() {
        io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material buildPartial() {
        io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material result = new io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material(this);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }

      private void buildPartial0(io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.uri_ = uri_;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.digest_ = internalGetDigest();
          result.digest_.makeImmutable();
        }
      }

      @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.provenance.v01.ProvenanceOuterClass.Material) {
          return mergeFrom((io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material other) {
        if (other == io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material.getDefaultInstance()) return this;
        if (!other.getUri().isEmpty()) {
          uri_ = other.uri_;
          bitField0_ |= 0x00000001;
          onChanged();
        }
        internalGetMutableDigest().mergeFrom(
            other.internalGetDigest());
        bitField0_ |= 0x00000002;
        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: {
                uri_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000001;
                break;
              } // case 10
              case 18: {
                com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
                digest__ = input.readMessage(
                    DigestDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
                internalGetMutableDigest().getMutableMap().put(
                    digest__.getKey(), digest__.getValue());
                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 uri_ = "";
      /**
       * <code>string uri = 1;</code>
       * @return The uri.
       */
      public java.lang.String getUri() {
        java.lang.Object ref = uri_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          uri_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string uri = 1;</code>
       * @return The bytes for uri.
       */
      public com.google.protobuf.ByteString
          getUriBytes() {
        java.lang.Object ref = uri_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          uri_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string uri = 1;</code>
       * @param value The uri to set.
       * @return This builder for chaining.
       */
      public Builder setUri(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        uri_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <code>string uri = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearUri() {
        uri_ = getDefaultInstance().getUri();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       * <code>string uri = 1;</code>
       * @param value The bytes for uri to set.
       * @return This builder for chaining.
       */
      public Builder setUriBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        uri_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }

      private com.google.protobuf.MapField<
          java.lang.String, java.lang.String> digest_;
      private com.google.protobuf.MapField<java.lang.String, java.lang.String>
          internalGetDigest() {
        if (digest_ == null) {
          return com.google.protobuf.MapField.emptyMapField(
              DigestDefaultEntryHolder.defaultEntry);
        }
        return digest_;
      }
      private com.google.protobuf.MapField<java.lang.String, java.lang.String>
          internalGetMutableDigest() {
        if (digest_ == null) {
          digest_ = com.google.protobuf.MapField.newMapField(
              DigestDefaultEntryHolder.defaultEntry);
        }
        if (!digest_.isMutable()) {
          digest_ = digest_.copy();
        }
        bitField0_ |= 0x00000002;
        onChanged();
        return digest_;
      }
      public int getDigestCount() {
        return internalGetDigest().getMap().size();
      }
      /**
       * <code>map&lt;string, string&gt; digest = 2;</code>
       */
      @java.lang.Override
      public boolean containsDigest(
          java.lang.String key) {
        if (key == null) { throw new NullPointerException("map key"); }
        return internalGetDigest().getMap().containsKey(key);
      }
      /**
       * Use {@link #getDigestMap()} instead.
       */
      @java.lang.Override
      @java.lang.Deprecated
      public java.util.Map<java.lang.String, java.lang.String> getDigest() {
        return getDigestMap();
      }
      /**
       * <code>map&lt;string, string&gt; digest = 2;</code>
       */
      @java.lang.Override
      public java.util.Map<java.lang.String, java.lang.String> getDigestMap() {
        return internalGetDigest().getMap();
      }
      /**
       * <code>map&lt;string, string&gt; digest = 2;</code>
       */
      @java.lang.Override
      public /* nullable */
java.lang.String getDigestOrDefault(
          java.lang.String key,
          /* nullable */
java.lang.String defaultValue) {
        if (key == null) { throw new NullPointerException("map key"); }
        java.util.Map<java.lang.String, java.lang.String> map =
            internalGetDigest().getMap();
        return map.containsKey(key) ? map.get(key) : defaultValue;
      }
      /**
       * <code>map&lt;string, string&gt; digest = 2;</code>
       */
      @java.lang.Override
      public java.lang.String getDigestOrThrow(
          java.lang.String key) {
        if (key == null) { throw new NullPointerException("map key"); }
        java.util.Map<java.lang.String, java.lang.String> map =
            internalGetDigest().getMap();
        if (!map.containsKey(key)) {
          throw new java.lang.IllegalArgumentException();
        }
        return map.get(key);
      }
      public Builder clearDigest() {
        bitField0_ = (bitField0_ & ~0x00000002);
        internalGetMutableDigest().getMutableMap()
            .clear();
        return this;
      }
      /**
       * <code>map&lt;string, string&gt; digest = 2;</code>
       */
      public Builder removeDigest(
          java.lang.String key) {
        if (key == null) { throw new NullPointerException("map key"); }
        internalGetMutableDigest().getMutableMap()
            .remove(key);
        return this;
      }
      /**
       * Use alternate mutation accessors instead.
       */
      @java.lang.Deprecated
      public java.util.Map<java.lang.String, java.lang.String>
          getMutableDigest() {
        bitField0_ |= 0x00000002;
        return internalGetMutableDigest().getMutableMap();
      }
      /**
       * <code>map&lt;string, string&gt; digest = 2;</code>
       */
      public Builder putDigest(
          java.lang.String key,
          java.lang.String value) {
        if (key == null) { throw new NullPointerException("map key"); }
        if (value == null) { throw new NullPointerException("map value"); }
        internalGetMutableDigest().getMutableMap()
            .put(key, value);
        bitField0_ |= 0x00000002;
        return this;
      }
      /**
       * <code>map&lt;string, string&gt; digest = 2;</code>
       */
      public Builder putAllDigest(
          java.util.Map<java.lang.String, java.lang.String> values) {
        internalGetMutableDigest().getMutableMap()
            .putAll(values);
        bitField0_ |= 0x00000002;
        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.provenance.v01.Material)
    }

    // @@protoc_insertion_point(class_scope:in_toto_attestation.predicates.provenance.v01.Material)
    private static final io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material();
    }

    public static io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

    @java.lang.Override
    public io.github.intoto.attestation.predicates.provenance.v01.ProvenanceOuterClass.Material getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_in_toto_attestation_predicates_provenance_v01_Provenance_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_in_toto_attestation_predicates_provenance_v01_Provenance_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_in_toto_attestation_predicates_provenance_v01_Builder_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_in_toto_attestation_predicates_provenance_v01_Builder_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_in_toto_attestation_predicates_provenance_v01_Recipe_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_in_toto_attestation_predicates_provenance_v01_Recipe_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_in_toto_attestation_predicates_provenance_v01_Metadata_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_in_toto_attestation_predicates_provenance_v01_Metadata_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_in_toto_attestation_predicates_provenance_v01_Completeness_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_in_toto_attestation_predicates_provenance_v01_Completeness_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_in_toto_attestation_predicates_provenance_v01_Material_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_in_toto_attestation_predicates_provenance_v01_Material_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_in_toto_attestation_predicates_provenance_v01_Material_DigestEntry_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_in_toto_attestation_predicates_provenance_v01_Material_DigestEntry_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n?in_toto_attestation/predicates/provena" +
      "nce/v0.1/provenance.proto\022-in_toto_attes" +
      "tation.predicates.provenance.v01\032\034google" +
      "/protobuf/struct.proto\032\037google/protobuf/" +
      "timestamp.proto\"\263\002\n\nProvenance\022G\n\007builde" +
      "r\030\001 \001(\01326.in_toto_attestation.predicates" +
      ".provenance.v01.Builder\022E\n\006recipe\030\002 \001(\0132" +
      "5.in_toto_attestation.predicates.provena" +
      "nce.v01.Recipe\022I\n\010metadata\030\003 \001(\01327.in_to" +
      "to_attestation.predicates.provenance.v01" +
      ".Metadata\022J\n\tmaterials\030\004 \003(\01327.in_toto_a" +
      "ttestation.predicates.provenance.v01.Mat" +
      "erial\"\025\n\007Builder\022\n\n\002id\030\001 \001(\t\"\242\001\n\006Recipe\022" +
      "\014\n\004type\030\001 \001(\t\022\033\n\023defined_in_material\030\002 \001" +
      "(\005\022\023\n\013entry_point\030\003 \001(\t\022*\n\targuments\030\004 \001" +
      "(\0132\027.google.protobuf.Struct\022,\n\013environme" +
      "nt\030\005 \001(\0132\027.google.protobuf.Struct\"\375\001\n\010Me" +
      "tadata\022\033\n\023build_invocation_id\030\001 \001(\t\0224\n\020b" +
      "uild_started_on\030\002 \001(\0132\032.google.protobuf." +
      "Timestamp\0225\n\021build_finished_on\030\003 \001(\0132\032.g" +
      "oogle.protobuf.Timestamp\022Q\n\014completeness" +
      "\030\004 \001(\0132;.in_toto_attestation.predicates." +
      "provenance.v01.Completeness\022\024\n\014reproduci" +
      "ble\030\005 \001(\010\"I\n\014Completeness\022\021\n\targuments\030\001" +
      " \001(\010\022\023\n\013environment\030\002 \001(\010\022\021\n\tmaterials\030\003" +
      " \001(\010\"\233\001\n\010Material\022\013\n\003uri\030\001 \001(\t\022S\n\006digest" +
      "\030\002 \003(\0132C.in_toto_attestation.predicates." +
      "provenance.v01.Material.DigestEntry\032-\n\013D" +
      "igestEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" +
      "8\001Bu\n6io.github.intoto.attestation.predi" +
      "cates.provenance.v01Z;github.com/in-toto" +
      "/attestation/go/predicates/provenance/v0" +
      "1b\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          com.google.protobuf.StructProto.getDescriptor(),
          com.google.protobuf.TimestampProto.getDescriptor(),
        });
    internal_static_in_toto_attestation_predicates_provenance_v01_Provenance_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_in_toto_attestation_predicates_provenance_v01_Provenance_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_in_toto_attestation_predicates_provenance_v01_Provenance_descriptor,
        new java.lang.String[] { "Builder", "Recipe", "Metadata", "Materials", });
    internal_static_in_toto_attestation_predicates_provenance_v01_Builder_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_in_toto_attestation_predicates_provenance_v01_Builder_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_in_toto_attestation_predicates_provenance_v01_Builder_descriptor,
        new java.lang.String[] { "Id", });
    internal_static_in_toto_attestation_predicates_provenance_v01_Recipe_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_in_toto_attestation_predicates_provenance_v01_Recipe_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_in_toto_attestation_predicates_provenance_v01_Recipe_descriptor,
        new java.lang.String[] { "Type", "DefinedInMaterial", "EntryPoint", "Arguments", "Environment", });
    internal_static_in_toto_attestation_predicates_provenance_v01_Metadata_descriptor =
      getDescriptor().getMessageTypes().get(3);
    internal_static_in_toto_attestation_predicates_provenance_v01_Metadata_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_in_toto_attestation_predicates_provenance_v01_Metadata_descriptor,
        new java.lang.String[] { "BuildInvocationId", "BuildStartedOn", "BuildFinishedOn", "Completeness", "Reproducible", });
    internal_static_in_toto_attestation_predicates_provenance_v01_Completeness_descriptor =
      getDescriptor().getMessageTypes().get(4);
    internal_static_in_toto_attestation_predicates_provenance_v01_Completeness_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_in_toto_attestation_predicates_provenance_v01_Completeness_descriptor,
        new java.lang.String[] { "Arguments", "Environment", "Materials", });
    internal_static_in_toto_attestation_predicates_provenance_v01_Material_descriptor =
      getDescriptor().getMessageTypes().get(5);
    internal_static_in_toto_attestation_predicates_provenance_v01_Material_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_in_toto_attestation_predicates_provenance_v01_Material_descriptor,
        new java.lang.String[] { "Uri", "Digest", });
    internal_static_in_toto_attestation_predicates_provenance_v01_Material_DigestEntry_descriptor =
      internal_static_in_toto_attestation_predicates_provenance_v01_Material_descriptor.getNestedTypes().get(0);
    internal_static_in_toto_attestation_predicates_provenance_v01_Material_DigestEntry_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_in_toto_attestation_predicates_provenance_v01_Material_DigestEntry_descriptor,
        new java.lang.String[] { "Key", "Value", });
    com.google.protobuf.StructProto.getDescriptor();
    com.google.protobuf.TimestampProto.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
