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

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

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.v02.Provenance)
      com.google.protobuf.MessageOrBuilder {

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

    /**
     * <code>string build_type = 2;</code>
     * @return The buildType.
     */
    java.lang.String getBuildType();
    /**
     * <code>string build_type = 2;</code>
     * @return The bytes for buildType.
     */
    com.google.protobuf.ByteString
        getBuildTypeBytes();

    /**
     * <code>.in_toto_attestation.predicates.provenance.v02.Invocation invocation = 3;</code>
     * @return Whether the invocation field is set.
     */
    boolean hasInvocation();
    /**
     * <code>.in_toto_attestation.predicates.provenance.v02.Invocation invocation = 3;</code>
     * @return The invocation.
     */
    io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Invocation getInvocation();
    /**
     * <code>.in_toto_attestation.predicates.provenance.v02.Invocation invocation = 3;</code>
     */
    io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.InvocationOrBuilder getInvocationOrBuilder();

    /**
     * <code>.google.protobuf.Struct build_config = 4;</code>
     * @return Whether the buildConfig field is set.
     */
    boolean hasBuildConfig();
    /**
     * <code>.google.protobuf.Struct build_config = 4;</code>
     * @return The buildConfig.
     */
    com.google.protobuf.Struct getBuildConfig();
    /**
     * <code>.google.protobuf.Struct build_config = 4;</code>
     */
    com.google.protobuf.StructOrBuilder getBuildConfigOrBuilder();

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

    /**
     * <code>repeated .in_toto_attestation.predicates.provenance.v02.Material materials = 6;</code>
     */
    java.util.List<io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Material> 
        getMaterialsList();
    /**
     * <code>repeated .in_toto_attestation.predicates.provenance.v02.Material materials = 6;</code>
     */
    io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Material getMaterials(int index);
    /**
     * <code>repeated .in_toto_attestation.predicates.provenance.v02.Material materials = 6;</code>
     */
    int getMaterialsCount();
    /**
     * <code>repeated .in_toto_attestation.predicates.provenance.v02.Material materials = 6;</code>
     */
    java.util.List<? extends io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.MaterialOrBuilder> 
        getMaterialsOrBuilderList();
    /**
     * <code>repeated .in_toto_attestation.predicates.provenance.v02.Material materials = 6;</code>
     */
    io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.MaterialOrBuilder getMaterialsOrBuilder(
        int index);
  }
  /**
   * <pre>
   * Proto representation of predicate type https://slsa.dev/provenance/v0.2
   * Validation of all fields is left to the users of this proto.
   * </pre>
   *
   * Protobuf type {@code in_toto_attestation.predicates.provenance.v02.Provenance}
   */
  public static final class Provenance extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:in_toto_attestation.predicates.provenance.v02.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() {
      buildType_ = "";
      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.v02.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v02_Provenance_descriptor;
    }

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

    private int bitField0_;
    public static final int BUILDER_FIELD_NUMBER = 1;
    private io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Builder builder_;
    /**
     * <code>.in_toto_attestation.predicates.provenance.v02.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.v02.Builder builder = 1;</code>
     * @return The builder.
     */
    @java.lang.Override
    public io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Builder getBuilder() {
      return builder_ == null ? io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Builder.getDefaultInstance() : builder_;
    }
    /**
     * <code>.in_toto_attestation.predicates.provenance.v02.Builder builder = 1;</code>
     */
    @java.lang.Override
    public io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.BuilderOrBuilder getBuilderOrBuilder() {
      return builder_ == null ? io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Builder.getDefaultInstance() : builder_;
    }

    public static final int BUILD_TYPE_FIELD_NUMBER = 2;
    @SuppressWarnings("serial")
    private volatile java.lang.Object buildType_ = "";
    /**
     * <code>string build_type = 2;</code>
     * @return The buildType.
     */
    @java.lang.Override
    public java.lang.String getBuildType() {
      java.lang.Object ref = buildType_;
      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();
        buildType_ = s;
        return s;
      }
    }
    /**
     * <code>string build_type = 2;</code>
     * @return The bytes for buildType.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getBuildTypeBytes() {
      java.lang.Object ref = buildType_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        buildType_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int INVOCATION_FIELD_NUMBER = 3;
    private io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Invocation invocation_;
    /**
     * <code>.in_toto_attestation.predicates.provenance.v02.Invocation invocation = 3;</code>
     * @return Whether the invocation field is set.
     */
    @java.lang.Override
    public boolean hasInvocation() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <code>.in_toto_attestation.predicates.provenance.v02.Invocation invocation = 3;</code>
     * @return The invocation.
     */
    @java.lang.Override
    public io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Invocation getInvocation() {
      return invocation_ == null ? io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Invocation.getDefaultInstance() : invocation_;
    }
    /**
     * <code>.in_toto_attestation.predicates.provenance.v02.Invocation invocation = 3;</code>
     */
    @java.lang.Override
    public io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.InvocationOrBuilder getInvocationOrBuilder() {
      return invocation_ == null ? io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Invocation.getDefaultInstance() : invocation_;
    }

    public static final int BUILD_CONFIG_FIELD_NUMBER = 4;
    private com.google.protobuf.Struct buildConfig_;
    /**
     * <code>.google.protobuf.Struct build_config = 4;</code>
     * @return Whether the buildConfig field is set.
     */
    @java.lang.Override
    public boolean hasBuildConfig() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * <code>.google.protobuf.Struct build_config = 4;</code>
     * @return The buildConfig.
     */
    @java.lang.Override
    public com.google.protobuf.Struct getBuildConfig() {
      return buildConfig_ == null ? com.google.protobuf.Struct.getDefaultInstance() : buildConfig_;
    }
    /**
     * <code>.google.protobuf.Struct build_config = 4;</code>
     */
    @java.lang.Override
    public com.google.protobuf.StructOrBuilder getBuildConfigOrBuilder() {
      return buildConfig_ == null ? com.google.protobuf.Struct.getDefaultInstance() : buildConfig_;
    }

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

    public static final int MATERIALS_FIELD_NUMBER = 6;
    @SuppressWarnings("serial")
    private java.util.List<io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Material> materials_;
    /**
     * <code>repeated .in_toto_attestation.predicates.provenance.v02.Material materials = 6;</code>
     */
    @java.lang.Override
    public java.util.List<io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Material> getMaterialsList() {
      return materials_;
    }
    /**
     * <code>repeated .in_toto_attestation.predicates.provenance.v02.Material materials = 6;</code>
     */
    @java.lang.Override
    public java.util.List<? extends io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.MaterialOrBuilder> 
        getMaterialsOrBuilderList() {
      return materials_;
    }
    /**
     * <code>repeated .in_toto_attestation.predicates.provenance.v02.Material materials = 6;</code>
     */
    @java.lang.Override
    public int getMaterialsCount() {
      return materials_.size();
    }
    /**
     * <code>repeated .in_toto_attestation.predicates.provenance.v02.Material materials = 6;</code>
     */
    @java.lang.Override
    public io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Material getMaterials(int index) {
      return materials_.get(index);
    }
    /**
     * <code>repeated .in_toto_attestation.predicates.provenance.v02.Material materials = 6;</code>
     */
    @java.lang.Override
    public io.github.intoto.attestation.predicates.provenance.v02.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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(buildType_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, buildType_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeMessage(3, getInvocation());
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        output.writeMessage(4, getBuildConfig());
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        output.writeMessage(5, getMetadata());
      }
      for (int i = 0; i < materials_.size(); i++) {
        output.writeMessage(6, 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(buildType_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, buildType_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, getInvocation());
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, getBuildConfig());
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(5, getMetadata());
      }
      for (int i = 0; i < materials_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(6, 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.v02.ProvenanceOuterClass.Provenance)) {
        return super.equals(obj);
      }
      io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Provenance other = (io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Provenance) obj;

      if (hasBuilder() != other.hasBuilder()) return false;
      if (hasBuilder()) {
        if (!getBuilder()
            .equals(other.getBuilder())) return false;
      }
      if (!getBuildType()
          .equals(other.getBuildType())) return false;
      if (hasInvocation() != other.hasInvocation()) return false;
      if (hasInvocation()) {
        if (!getInvocation()
            .equals(other.getInvocation())) return false;
      }
      if (hasBuildConfig() != other.hasBuildConfig()) return false;
      if (hasBuildConfig()) {
        if (!getBuildConfig()
            .equals(other.getBuildConfig())) 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();
      }
      hash = (37 * hash) + BUILD_TYPE_FIELD_NUMBER;
      hash = (53 * hash) + getBuildType().hashCode();
      if (hasInvocation()) {
        hash = (37 * hash) + INVOCATION_FIELD_NUMBER;
        hash = (53 * hash) + getInvocation().hashCode();
      }
      if (hasBuildConfig()) {
        hash = (37 * hash) + BUILD_CONFIG_FIELD_NUMBER;
        hash = (53 * hash) + getBuildConfig().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.v02.ProvenanceOuterClass.Provenance parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.github.intoto.attestation.predicates.provenance.v02.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.v02.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.v02.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.v02.ProvenanceOuterClass.Provenance parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.github.intoto.attestation.predicates.provenance.v02.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.v02.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.v02.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.v02.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.v02.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.v02.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.v02.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.v02.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.2
     * Validation of all fields is left to the users of this proto.
     * </pre>
     *
     * Protobuf type {@code in_toto_attestation.predicates.provenance.v02.Provenance}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:in_toto_attestation.predicates.provenance.v02.Provenance)
        io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ProvenanceOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v02_Provenance_descriptor;
      }

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

      // Construct using io.github.intoto.attestation.predicates.provenance.v02.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();
          getInvocationFieldBuilder();
          getBuildConfigFieldBuilder();
          getMetadataFieldBuilder();
          getMaterialsFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        builder_ = null;
        if (builderBuilder_ != null) {
          builderBuilder_.dispose();
          builderBuilder_ = null;
        }
        buildType_ = "";
        invocation_ = null;
        if (invocationBuilder_ != null) {
          invocationBuilder_.dispose();
          invocationBuilder_ = null;
        }
        buildConfig_ = null;
        if (buildConfigBuilder_ != null) {
          buildConfigBuilder_.dispose();
          buildConfigBuilder_ = 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_ & ~0x00000020);
        return this;
      }

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

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

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

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

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

      private void buildPartial0(io.github.intoto.attestation.predicates.provenance.v02.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.buildType_ = buildType_;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.invocation_ = invocationBuilder_ == null
              ? invocation_
              : invocationBuilder_.build();
          to_bitField0_ |= 0x00000002;
        }
        if (((from_bitField0_ & 0x00000008) != 0)) {
          result.buildConfig_ = buildConfigBuilder_ == null
              ? buildConfig_
              : buildConfigBuilder_.build();
          to_bitField0_ |= 0x00000004;
        }
        if (((from_bitField0_ & 0x00000010) != 0)) {
          result.metadata_ = metadataBuilder_ == null
              ? metadata_
              : metadataBuilder_.build();
          to_bitField0_ |= 0x00000008;
        }
        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.v02.ProvenanceOuterClass.Provenance) {
          return mergeFrom((io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Provenance)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Provenance other) {
        if (other == io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Provenance.getDefaultInstance()) return this;
        if (other.hasBuilder()) {
          mergeBuilder(other.getBuilder());
        }
        if (!other.getBuildType().isEmpty()) {
          buildType_ = other.buildType_;
          bitField0_ |= 0x00000002;
          onChanged();
        }
        if (other.hasInvocation()) {
          mergeInvocation(other.getInvocation());
        }
        if (other.hasBuildConfig()) {
          mergeBuildConfig(other.getBuildConfig());
        }
        if (other.hasMetadata()) {
          mergeMetadata(other.getMetadata());
        }
        if (materialsBuilder_ == null) {
          if (!other.materials_.isEmpty()) {
            if (materials_.isEmpty()) {
              materials_ = other.materials_;
              bitField0_ = (bitField0_ & ~0x00000020);
            } else {
              ensureMaterialsIsMutable();
              materials_.addAll(other.materials_);
            }
            onChanged();
          }
        } else {
          if (!other.materials_.isEmpty()) {
            if (materialsBuilder_.isEmpty()) {
              materialsBuilder_.dispose();
              materialsBuilder_ = null;
              materials_ = other.materials_;
              bitField0_ = (bitField0_ & ~0x00000020);
              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: {
                buildType_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000002;
                break;
              } // case 18
              case 26: {
                input.readMessage(
                    getInvocationFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000004;
                break;
              } // case 26
              case 34: {
                input.readMessage(
                    getBuildConfigFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000008;
                break;
              } // case 34
              case 42: {
                input.readMessage(
                    getMetadataFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000010;
                break;
              } // case 42
              case 50: {
                io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Material m =
                    input.readMessage(
                        io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Material.parser(),
                        extensionRegistry);
                if (materialsBuilder_ == null) {
                  ensureMaterialsIsMutable();
                  materials_.add(m);
                } else {
                  materialsBuilder_.addMessage(m);
                }
                break;
              } // case 50
              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.v02.ProvenanceOuterClass.Builder builder_;
      private com.google.protobuf.SingleFieldBuilderV3<
          io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Builder, io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Builder.Builder, io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.BuilderOrBuilder> builderBuilder_;
      /**
       * <code>.in_toto_attestation.predicates.provenance.v02.Builder builder = 1;</code>
       * @return Whether the builder field is set.
       */
      public boolean hasBuilder() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v02.Builder builder = 1;</code>
       * @return The builder.
       */
      public io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Builder getBuilder() {
        if (builderBuilder_ == null) {
          return builder_ == null ? io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Builder.getDefaultInstance() : builder_;
        } else {
          return builderBuilder_.getMessage();
        }
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v02.Builder builder = 1;</code>
       */
      public Builder setBuilder(io.github.intoto.attestation.predicates.provenance.v02.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.v02.Builder builder = 1;</code>
       */
      public Builder setBuilder(
          io.github.intoto.attestation.predicates.provenance.v02.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.v02.Builder builder = 1;</code>
       */
      public Builder mergeBuilder(io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Builder value) {
        if (builderBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0) &&
            builder_ != null &&
            builder_ != io.github.intoto.attestation.predicates.provenance.v02.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.v02.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.v02.Builder builder = 1;</code>
       */
      public io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Builder.Builder getBuilderBuilder() {
        bitField0_ |= 0x00000001;
        onChanged();
        return getBuilderFieldBuilder().getBuilder();
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v02.Builder builder = 1;</code>
       */
      public io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.BuilderOrBuilder getBuilderOrBuilder() {
        if (builderBuilder_ != null) {
          return builderBuilder_.getMessageOrBuilder();
        } else {
          return builder_ == null ?
              io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Builder.getDefaultInstance() : builder_;
        }
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v02.Builder builder = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Builder, io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Builder.Builder, io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.BuilderOrBuilder> 
          getBuilderFieldBuilder() {
        if (builderBuilder_ == null) {
          builderBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Builder, io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Builder.Builder, io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.BuilderOrBuilder>(
                  getBuilder(),
                  getParentForChildren(),
                  isClean());
          builder_ = null;
        }
        return builderBuilder_;
      }

      private java.lang.Object buildType_ = "";
      /**
       * <code>string build_type = 2;</code>
       * @return The buildType.
       */
      public java.lang.String getBuildType() {
        java.lang.Object ref = buildType_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          buildType_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string build_type = 2;</code>
       * @return The bytes for buildType.
       */
      public com.google.protobuf.ByteString
          getBuildTypeBytes() {
        java.lang.Object ref = buildType_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          buildType_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string build_type = 2;</code>
       * @param value The buildType to set.
       * @return This builder for chaining.
       */
      public Builder setBuildType(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        buildType_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <code>string build_type = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearBuildType() {
        buildType_ = getDefaultInstance().getBuildType();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }
      /**
       * <code>string build_type = 2;</code>
       * @param value The bytes for buildType to set.
       * @return This builder for chaining.
       */
      public Builder setBuildTypeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        buildType_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }

      private io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Invocation invocation_;
      private com.google.protobuf.SingleFieldBuilderV3<
          io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Invocation, io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Invocation.Builder, io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.InvocationOrBuilder> invocationBuilder_;
      /**
       * <code>.in_toto_attestation.predicates.provenance.v02.Invocation invocation = 3;</code>
       * @return Whether the invocation field is set.
       */
      public boolean hasInvocation() {
        return ((bitField0_ & 0x00000004) != 0);
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v02.Invocation invocation = 3;</code>
       * @return The invocation.
       */
      public io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Invocation getInvocation() {
        if (invocationBuilder_ == null) {
          return invocation_ == null ? io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Invocation.getDefaultInstance() : invocation_;
        } else {
          return invocationBuilder_.getMessage();
        }
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v02.Invocation invocation = 3;</code>
       */
      public Builder setInvocation(io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Invocation value) {
        if (invocationBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          invocation_ = value;
        } else {
          invocationBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v02.Invocation invocation = 3;</code>
       */
      public Builder setInvocation(
          io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Invocation.Builder builderForValue) {
        if (invocationBuilder_ == null) {
          invocation_ = builderForValue.build();
        } else {
          invocationBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v02.Invocation invocation = 3;</code>
       */
      public Builder mergeInvocation(io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Invocation value) {
        if (invocationBuilder_ == null) {
          if (((bitField0_ & 0x00000004) != 0) &&
            invocation_ != null &&
            invocation_ != io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Invocation.getDefaultInstance()) {
            getInvocationBuilder().mergeFrom(value);
          } else {
            invocation_ = value;
          }
        } else {
          invocationBuilder_.mergeFrom(value);
        }
        if (invocation_ != null) {
          bitField0_ |= 0x00000004;
          onChanged();
        }
        return this;
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v02.Invocation invocation = 3;</code>
       */
      public Builder clearInvocation() {
        bitField0_ = (bitField0_ & ~0x00000004);
        invocation_ = null;
        if (invocationBuilder_ != null) {
          invocationBuilder_.dispose();
          invocationBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v02.Invocation invocation = 3;</code>
       */
      public io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Invocation.Builder getInvocationBuilder() {
        bitField0_ |= 0x00000004;
        onChanged();
        return getInvocationFieldBuilder().getBuilder();
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v02.Invocation invocation = 3;</code>
       */
      public io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.InvocationOrBuilder getInvocationOrBuilder() {
        if (invocationBuilder_ != null) {
          return invocationBuilder_.getMessageOrBuilder();
        } else {
          return invocation_ == null ?
              io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Invocation.getDefaultInstance() : invocation_;
        }
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v02.Invocation invocation = 3;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Invocation, io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Invocation.Builder, io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.InvocationOrBuilder> 
          getInvocationFieldBuilder() {
        if (invocationBuilder_ == null) {
          invocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Invocation, io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Invocation.Builder, io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.InvocationOrBuilder>(
                  getInvocation(),
                  getParentForChildren(),
                  isClean());
          invocation_ = null;
        }
        return invocationBuilder_;
      }

      private com.google.protobuf.Struct buildConfig_;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> buildConfigBuilder_;
      /**
       * <code>.google.protobuf.Struct build_config = 4;</code>
       * @return Whether the buildConfig field is set.
       */
      public boolean hasBuildConfig() {
        return ((bitField0_ & 0x00000008) != 0);
      }
      /**
       * <code>.google.protobuf.Struct build_config = 4;</code>
       * @return The buildConfig.
       */
      public com.google.protobuf.Struct getBuildConfig() {
        if (buildConfigBuilder_ == null) {
          return buildConfig_ == null ? com.google.protobuf.Struct.getDefaultInstance() : buildConfig_;
        } else {
          return buildConfigBuilder_.getMessage();
        }
      }
      /**
       * <code>.google.protobuf.Struct build_config = 4;</code>
       */
      public Builder setBuildConfig(com.google.protobuf.Struct value) {
        if (buildConfigBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          buildConfig_ = value;
        } else {
          buildConfigBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000008;
        onChanged();
        return this;
      }
      /**
       * <code>.google.protobuf.Struct build_config = 4;</code>
       */
      public Builder setBuildConfig(
          com.google.protobuf.Struct.Builder builderForValue) {
        if (buildConfigBuilder_ == null) {
          buildConfig_ = builderForValue.build();
        } else {
          buildConfigBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000008;
        onChanged();
        return this;
      }
      /**
       * <code>.google.protobuf.Struct build_config = 4;</code>
       */
      public Builder mergeBuildConfig(com.google.protobuf.Struct value) {
        if (buildConfigBuilder_ == null) {
          if (((bitField0_ & 0x00000008) != 0) &&
            buildConfig_ != null &&
            buildConfig_ != com.google.protobuf.Struct.getDefaultInstance()) {
            getBuildConfigBuilder().mergeFrom(value);
          } else {
            buildConfig_ = value;
          }
        } else {
          buildConfigBuilder_.mergeFrom(value);
        }
        if (buildConfig_ != null) {
          bitField0_ |= 0x00000008;
          onChanged();
        }
        return this;
      }
      /**
       * <code>.google.protobuf.Struct build_config = 4;</code>
       */
      public Builder clearBuildConfig() {
        bitField0_ = (bitField0_ & ~0x00000008);
        buildConfig_ = null;
        if (buildConfigBuilder_ != null) {
          buildConfigBuilder_.dispose();
          buildConfigBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * <code>.google.protobuf.Struct build_config = 4;</code>
       */
      public com.google.protobuf.Struct.Builder getBuildConfigBuilder() {
        bitField0_ |= 0x00000008;
        onChanged();
        return getBuildConfigFieldBuilder().getBuilder();
      }
      /**
       * <code>.google.protobuf.Struct build_config = 4;</code>
       */
      public com.google.protobuf.StructOrBuilder getBuildConfigOrBuilder() {
        if (buildConfigBuilder_ != null) {
          return buildConfigBuilder_.getMessageOrBuilder();
        } else {
          return buildConfig_ == null ?
              com.google.protobuf.Struct.getDefaultInstance() : buildConfig_;
        }
      }
      /**
       * <code>.google.protobuf.Struct build_config = 4;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
          getBuildConfigFieldBuilder() {
        if (buildConfigBuilder_ == null) {
          buildConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
                  getBuildConfig(),
                  getParentForChildren(),
                  isClean());
          buildConfig_ = null;
        }
        return buildConfigBuilder_;
      }

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

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

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

      /**
       * <code>repeated .in_toto_attestation.predicates.provenance.v02.Material materials = 6;</code>
       */
      public java.util.List<io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Material> getMaterialsList() {
        if (materialsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(materials_);
        } else {
          return materialsBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .in_toto_attestation.predicates.provenance.v02.Material materials = 6;</code>
       */
      public int getMaterialsCount() {
        if (materialsBuilder_ == null) {
          return materials_.size();
        } else {
          return materialsBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .in_toto_attestation.predicates.provenance.v02.Material materials = 6;</code>
       */
      public io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Material getMaterials(int index) {
        if (materialsBuilder_ == null) {
          return materials_.get(index);
        } else {
          return materialsBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .in_toto_attestation.predicates.provenance.v02.Material materials = 6;</code>
       */
      public Builder setMaterials(
          int index, io.github.intoto.attestation.predicates.provenance.v02.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.v02.Material materials = 6;</code>
       */
      public Builder setMaterials(
          int index, io.github.intoto.attestation.predicates.provenance.v02.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.v02.Material materials = 6;</code>
       */
      public Builder addMaterials(io.github.intoto.attestation.predicates.provenance.v02.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.v02.Material materials = 6;</code>
       */
      public Builder addMaterials(
          int index, io.github.intoto.attestation.predicates.provenance.v02.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.v02.Material materials = 6;</code>
       */
      public Builder addMaterials(
          io.github.intoto.attestation.predicates.provenance.v02.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.v02.Material materials = 6;</code>
       */
      public Builder addMaterials(
          int index, io.github.intoto.attestation.predicates.provenance.v02.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.v02.Material materials = 6;</code>
       */
      public Builder addAllMaterials(
          java.lang.Iterable<? extends io.github.intoto.attestation.predicates.provenance.v02.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.v02.Material materials = 6;</code>
       */
      public Builder clearMaterials() {
        if (materialsBuilder_ == null) {
          materials_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000020);
          onChanged();
        } else {
          materialsBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .in_toto_attestation.predicates.provenance.v02.Material materials = 6;</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.v02.Material materials = 6;</code>
       */
      public io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Material.Builder getMaterialsBuilder(
          int index) {
        return getMaterialsFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .in_toto_attestation.predicates.provenance.v02.Material materials = 6;</code>
       */
      public io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.MaterialOrBuilder getMaterialsOrBuilder(
          int index) {
        if (materialsBuilder_ == null) {
          return materials_.get(index);  } else {
          return materialsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .in_toto_attestation.predicates.provenance.v02.Material materials = 6;</code>
       */
      public java.util.List<? extends io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.MaterialOrBuilder> 
           getMaterialsOrBuilderList() {
        if (materialsBuilder_ != null) {
          return materialsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(materials_);
        }
      }
      /**
       * <code>repeated .in_toto_attestation.predicates.provenance.v02.Material materials = 6;</code>
       */
      public io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Material.Builder addMaterialsBuilder() {
        return getMaterialsFieldBuilder().addBuilder(
            io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Material.getDefaultInstance());
      }
      /**
       * <code>repeated .in_toto_attestation.predicates.provenance.v02.Material materials = 6;</code>
       */
      public io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Material.Builder addMaterialsBuilder(
          int index) {
        return getMaterialsFieldBuilder().addBuilder(
            index, io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Material.getDefaultInstance());
      }
      /**
       * <code>repeated .in_toto_attestation.predicates.provenance.v02.Material materials = 6;</code>
       */
      public java.util.List<io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Material.Builder> 
           getMaterialsBuilderList() {
        return getMaterialsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Material, io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Material.Builder, io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.MaterialOrBuilder> 
          getMaterialsFieldBuilder() {
        if (materialsBuilder_ == null) {
          materialsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Material, io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Material.Builder, io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.MaterialOrBuilder>(
                  materials_,
                  ((bitField0_ & 0x00000020) != 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.v02.Provenance)
    }

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

    public static io.github.intoto.attestation.predicates.provenance.v02.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.v02.ProvenanceOuterClass.Provenance getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface BuilderOrBuilder extends
      // @@protoc_insertion_point(interface_extends:in_toto_attestation.predicates.provenance.v02.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.v02.Builder}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:in_toto_attestation.predicates.provenance.v02.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.v02.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v02_Builder_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v02_Builder_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Builder.class, io.github.intoto.attestation.predicates.provenance.v02.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.v02.ProvenanceOuterClass.Builder)) {
        return super.equals(obj);
      }
      io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Builder other = (io.github.intoto.attestation.predicates.provenance.v02.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.v02.ProvenanceOuterClass.Builder parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.github.intoto.attestation.predicates.provenance.v02.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.v02.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.v02.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.v02.ProvenanceOuterClass.Builder parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.github.intoto.attestation.predicates.provenance.v02.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.v02.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.v02.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.v02.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.v02.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.v02.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.v02.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.v02.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.v02.Builder}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:in_toto_attestation.predicates.provenance.v02.Builder)
        io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.BuilderOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v02_Builder_descriptor;
      }

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

      // Construct using io.github.intoto.attestation.predicates.provenance.v02.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.v02.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v02_Builder_descriptor;
      }

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

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

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

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

      public Builder mergeFrom(io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Builder other) {
        if (other == io.github.intoto.attestation.predicates.provenance.v02.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.v02.Builder)
    }

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

    public static io.github.intoto.attestation.predicates.provenance.v02.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.v02.ProvenanceOuterClass.Builder getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface InvocationOrBuilder extends
      // @@protoc_insertion_point(interface_extends:in_toto_attestation.predicates.provenance.v02.Invocation)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>.in_toto_attestation.predicates.provenance.v02.ConfigSource config_source = 1;</code>
     * @return Whether the configSource field is set.
     */
    boolean hasConfigSource();
    /**
     * <code>.in_toto_attestation.predicates.provenance.v02.ConfigSource config_source = 1;</code>
     * @return The configSource.
     */
    io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource getConfigSource();
    /**
     * <code>.in_toto_attestation.predicates.provenance.v02.ConfigSource config_source = 1;</code>
     */
    io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSourceOrBuilder getConfigSourceOrBuilder();

    /**
     * <code>.google.protobuf.Struct parameters = 2;</code>
     * @return Whether the parameters field is set.
     */
    boolean hasParameters();
    /**
     * <code>.google.protobuf.Struct parameters = 2;</code>
     * @return The parameters.
     */
    com.google.protobuf.Struct getParameters();
    /**
     * <code>.google.protobuf.Struct parameters = 2;</code>
     */
    com.google.protobuf.StructOrBuilder getParametersOrBuilder();

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

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

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

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

    private int bitField0_;
    public static final int CONFIG_SOURCE_FIELD_NUMBER = 1;
    private io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource configSource_;
    /**
     * <code>.in_toto_attestation.predicates.provenance.v02.ConfigSource config_source = 1;</code>
     * @return Whether the configSource field is set.
     */
    @java.lang.Override
    public boolean hasConfigSource() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>.in_toto_attestation.predicates.provenance.v02.ConfigSource config_source = 1;</code>
     * @return The configSource.
     */
    @java.lang.Override
    public io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource getConfigSource() {
      return configSource_ == null ? io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource.getDefaultInstance() : configSource_;
    }
    /**
     * <code>.in_toto_attestation.predicates.provenance.v02.ConfigSource config_source = 1;</code>
     */
    @java.lang.Override
    public io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSourceOrBuilder getConfigSourceOrBuilder() {
      return configSource_ == null ? io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource.getDefaultInstance() : configSource_;
    }

    public static final int PARAMETERS_FIELD_NUMBER = 2;
    private com.google.protobuf.Struct parameters_;
    /**
     * <code>.google.protobuf.Struct parameters = 2;</code>
     * @return Whether the parameters field is set.
     */
    @java.lang.Override
    public boolean hasParameters() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <code>.google.protobuf.Struct parameters = 2;</code>
     * @return The parameters.
     */
    @java.lang.Override
    public com.google.protobuf.Struct getParameters() {
      return parameters_ == null ? com.google.protobuf.Struct.getDefaultInstance() : parameters_;
    }
    /**
     * <code>.google.protobuf.Struct parameters = 2;</code>
     */
    @java.lang.Override
    public com.google.protobuf.StructOrBuilder getParametersOrBuilder() {
      return parameters_ == null ? com.google.protobuf.Struct.getDefaultInstance() : parameters_;
    }

    public static final int ENVIRONMENT_FIELD_NUMBER = 3;
    private com.google.protobuf.Struct environment_;
    /**
     * <code>.google.protobuf.Struct environment = 3;</code>
     * @return Whether the environment field is set.
     */
    @java.lang.Override
    public boolean hasEnvironment() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * <code>.google.protobuf.Struct environment = 3;</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 = 3;</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 (((bitField0_ & 0x00000001) != 0)) {
        output.writeMessage(1, getConfigSource());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeMessage(2, getParameters());
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        output.writeMessage(3, getEnvironment());
      }
      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, getConfigSource());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getParameters());
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, 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.v02.ProvenanceOuterClass.Invocation)) {
        return super.equals(obj);
      }
      io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Invocation other = (io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Invocation) obj;

      if (hasConfigSource() != other.hasConfigSource()) return false;
      if (hasConfigSource()) {
        if (!getConfigSource()
            .equals(other.getConfigSource())) return false;
      }
      if (hasParameters() != other.hasParameters()) return false;
      if (hasParameters()) {
        if (!getParameters()
            .equals(other.getParameters())) 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();
      if (hasConfigSource()) {
        hash = (37 * hash) + CONFIG_SOURCE_FIELD_NUMBER;
        hash = (53 * hash) + getConfigSource().hashCode();
      }
      if (hasParameters()) {
        hash = (37 * hash) + PARAMETERS_FIELD_NUMBER;
        hash = (53 * hash) + getParameters().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.v02.ProvenanceOuterClass.Invocation parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Invocation 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.v02.ProvenanceOuterClass.Invocation parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Invocation 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.v02.ProvenanceOuterClass.Invocation parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Invocation 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.v02.ProvenanceOuterClass.Invocation 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.v02.ProvenanceOuterClass.Invocation 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.v02.ProvenanceOuterClass.Invocation 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.v02.ProvenanceOuterClass.Invocation 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.v02.ProvenanceOuterClass.Invocation 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.v02.ProvenanceOuterClass.Invocation 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.v02.ProvenanceOuterClass.Invocation 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.v02.Invocation}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:in_toto_attestation.predicates.provenance.v02.Invocation)
        io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.InvocationOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v02_Invocation_descriptor;
      }

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

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

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getConfigSourceFieldBuilder();
          getParametersFieldBuilder();
          getEnvironmentFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        configSource_ = null;
        if (configSourceBuilder_ != null) {
          configSourceBuilder_.dispose();
          configSourceBuilder_ = null;
        }
        parameters_ = null;
        if (parametersBuilder_ != null) {
          parametersBuilder_.dispose();
          parametersBuilder_ = 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.v02.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v02_Invocation_descriptor;
      }

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

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

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

      private void buildPartial0(io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Invocation result) {
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.configSource_ = configSourceBuilder_ == null
              ? configSource_
              : configSourceBuilder_.build();
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.parameters_ = parametersBuilder_ == null
              ? parameters_
              : parametersBuilder_.build();
          to_bitField0_ |= 0x00000002;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.environment_ = environmentBuilder_ == null
              ? environment_
              : environmentBuilder_.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.v02.ProvenanceOuterClass.Invocation) {
          return mergeFrom((io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Invocation)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Invocation other) {
        if (other == io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Invocation.getDefaultInstance()) return this;
        if (other.hasConfigSource()) {
          mergeConfigSource(other.getConfigSource());
        }
        if (other.hasParameters()) {
          mergeParameters(other.getParameters());
        }
        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: {
                input.readMessage(
                    getConfigSourceFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000001;
                break;
              } // case 10
              case 18: {
                input.readMessage(
                    getParametersFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000002;
                break;
              } // case 18
              case 26: {
                input.readMessage(
                    getEnvironmentFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000004;
                break;
              } // case 26
              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.v02.ProvenanceOuterClass.ConfigSource configSource_;
      private com.google.protobuf.SingleFieldBuilderV3<
          io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource, io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource.Builder, io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSourceOrBuilder> configSourceBuilder_;
      /**
       * <code>.in_toto_attestation.predicates.provenance.v02.ConfigSource config_source = 1;</code>
       * @return Whether the configSource field is set.
       */
      public boolean hasConfigSource() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v02.ConfigSource config_source = 1;</code>
       * @return The configSource.
       */
      public io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource getConfigSource() {
        if (configSourceBuilder_ == null) {
          return configSource_ == null ? io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource.getDefaultInstance() : configSource_;
        } else {
          return configSourceBuilder_.getMessage();
        }
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v02.ConfigSource config_source = 1;</code>
       */
      public Builder setConfigSource(io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource value) {
        if (configSourceBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          configSource_ = value;
        } else {
          configSourceBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v02.ConfigSource config_source = 1;</code>
       */
      public Builder setConfigSource(
          io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource.Builder builderForValue) {
        if (configSourceBuilder_ == null) {
          configSource_ = builderForValue.build();
        } else {
          configSourceBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v02.ConfigSource config_source = 1;</code>
       */
      public Builder mergeConfigSource(io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource value) {
        if (configSourceBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0) &&
            configSource_ != null &&
            configSource_ != io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource.getDefaultInstance()) {
            getConfigSourceBuilder().mergeFrom(value);
          } else {
            configSource_ = value;
          }
        } else {
          configSourceBuilder_.mergeFrom(value);
        }
        if (configSource_ != null) {
          bitField0_ |= 0x00000001;
          onChanged();
        }
        return this;
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v02.ConfigSource config_source = 1;</code>
       */
      public Builder clearConfigSource() {
        bitField0_ = (bitField0_ & ~0x00000001);
        configSource_ = null;
        if (configSourceBuilder_ != null) {
          configSourceBuilder_.dispose();
          configSourceBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v02.ConfigSource config_source = 1;</code>
       */
      public io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource.Builder getConfigSourceBuilder() {
        bitField0_ |= 0x00000001;
        onChanged();
        return getConfigSourceFieldBuilder().getBuilder();
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v02.ConfigSource config_source = 1;</code>
       */
      public io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSourceOrBuilder getConfigSourceOrBuilder() {
        if (configSourceBuilder_ != null) {
          return configSourceBuilder_.getMessageOrBuilder();
        } else {
          return configSource_ == null ?
              io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource.getDefaultInstance() : configSource_;
        }
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v02.ConfigSource config_source = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource, io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource.Builder, io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSourceOrBuilder> 
          getConfigSourceFieldBuilder() {
        if (configSourceBuilder_ == null) {
          configSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource, io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource.Builder, io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSourceOrBuilder>(
                  getConfigSource(),
                  getParentForChildren(),
                  isClean());
          configSource_ = null;
        }
        return configSourceBuilder_;
      }

      private com.google.protobuf.Struct parameters_;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> parametersBuilder_;
      /**
       * <code>.google.protobuf.Struct parameters = 2;</code>
       * @return Whether the parameters field is set.
       */
      public boolean hasParameters() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * <code>.google.protobuf.Struct parameters = 2;</code>
       * @return The parameters.
       */
      public com.google.protobuf.Struct getParameters() {
        if (parametersBuilder_ == null) {
          return parameters_ == null ? com.google.protobuf.Struct.getDefaultInstance() : parameters_;
        } else {
          return parametersBuilder_.getMessage();
        }
      }
      /**
       * <code>.google.protobuf.Struct parameters = 2;</code>
       */
      public Builder setParameters(com.google.protobuf.Struct value) {
        if (parametersBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          parameters_ = value;
        } else {
          parametersBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <code>.google.protobuf.Struct parameters = 2;</code>
       */
      public Builder setParameters(
          com.google.protobuf.Struct.Builder builderForValue) {
        if (parametersBuilder_ == null) {
          parameters_ = builderForValue.build();
        } else {
          parametersBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <code>.google.protobuf.Struct parameters = 2;</code>
       */
      public Builder mergeParameters(com.google.protobuf.Struct value) {
        if (parametersBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0) &&
            parameters_ != null &&
            parameters_ != com.google.protobuf.Struct.getDefaultInstance()) {
            getParametersBuilder().mergeFrom(value);
          } else {
            parameters_ = value;
          }
        } else {
          parametersBuilder_.mergeFrom(value);
        }
        if (parameters_ != null) {
          bitField0_ |= 0x00000002;
          onChanged();
        }
        return this;
      }
      /**
       * <code>.google.protobuf.Struct parameters = 2;</code>
       */
      public Builder clearParameters() {
        bitField0_ = (bitField0_ & ~0x00000002);
        parameters_ = null;
        if (parametersBuilder_ != null) {
          parametersBuilder_.dispose();
          parametersBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * <code>.google.protobuf.Struct parameters = 2;</code>
       */
      public com.google.protobuf.Struct.Builder getParametersBuilder() {
        bitField0_ |= 0x00000002;
        onChanged();
        return getParametersFieldBuilder().getBuilder();
      }
      /**
       * <code>.google.protobuf.Struct parameters = 2;</code>
       */
      public com.google.protobuf.StructOrBuilder getParametersOrBuilder() {
        if (parametersBuilder_ != null) {
          return parametersBuilder_.getMessageOrBuilder();
        } else {
          return parameters_ == null ?
              com.google.protobuf.Struct.getDefaultInstance() : parameters_;
        }
      }
      /**
       * <code>.google.protobuf.Struct parameters = 2;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
          getParametersFieldBuilder() {
        if (parametersBuilder_ == null) {
          parametersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
                  getParameters(),
                  getParentForChildren(),
                  isClean());
          parameters_ = null;
        }
        return parametersBuilder_;
      }

      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 = 3;</code>
       * @return Whether the environment field is set.
       */
      public boolean hasEnvironment() {
        return ((bitField0_ & 0x00000004) != 0);
      }
      /**
       * <code>.google.protobuf.Struct environment = 3;</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 = 3;</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_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * <code>.google.protobuf.Struct environment = 3;</code>
       */
      public Builder setEnvironment(
          com.google.protobuf.Struct.Builder builderForValue) {
        if (environmentBuilder_ == null) {
          environment_ = builderForValue.build();
        } else {
          environmentBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * <code>.google.protobuf.Struct environment = 3;</code>
       */
      public Builder mergeEnvironment(com.google.protobuf.Struct value) {
        if (environmentBuilder_ == null) {
          if (((bitField0_ & 0x00000004) != 0) &&
            environment_ != null &&
            environment_ != com.google.protobuf.Struct.getDefaultInstance()) {
            getEnvironmentBuilder().mergeFrom(value);
          } else {
            environment_ = value;
          }
        } else {
          environmentBuilder_.mergeFrom(value);
        }
        if (environment_ != null) {
          bitField0_ |= 0x00000004;
          onChanged();
        }
        return this;
      }
      /**
       * <code>.google.protobuf.Struct environment = 3;</code>
       */
      public Builder clearEnvironment() {
        bitField0_ = (bitField0_ & ~0x00000004);
        environment_ = null;
        if (environmentBuilder_ != null) {
          environmentBuilder_.dispose();
          environmentBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * <code>.google.protobuf.Struct environment = 3;</code>
       */
      public com.google.protobuf.Struct.Builder getEnvironmentBuilder() {
        bitField0_ |= 0x00000004;
        onChanged();
        return getEnvironmentFieldBuilder().getBuilder();
      }
      /**
       * <code>.google.protobuf.Struct environment = 3;</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 = 3;</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.v02.Invocation)
    }

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

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

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

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

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

  }

  public interface ConfigSourceOrBuilder extends
      // @@protoc_insertion_point(interface_extends:in_toto_attestation.predicates.provenance.v02.ConfigSource)
      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);

    /**
     * <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();
  }
  /**
   * Protobuf type {@code in_toto_attestation.predicates.provenance.v02.ConfigSource}
   */
  public static final class ConfigSource extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:in_toto_attestation.predicates.provenance.v02.ConfigSource)
      ConfigSourceOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ConfigSource.newBuilder() to construct.
    private ConfigSource(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private ConfigSource() {
      uri_ = "";
      entryPoint_ = "";
    }

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

    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v02_ConfigSource_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.v02.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v02_ConfigSource_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource.class, io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource.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.v02.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v02_ConfigSource_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);
    }

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

    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);
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entryPoint_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, entryPoint_);
      }
      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__);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entryPoint_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, entryPoint_);
      }
      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.v02.ProvenanceOuterClass.ConfigSource)) {
        return super.equals(obj);
      }
      io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource other = (io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource) obj;

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

    public static io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource 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.v02.ProvenanceOuterClass.ConfigSource parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource 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.v02.ProvenanceOuterClass.ConfigSource parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource 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.v02.ProvenanceOuterClass.ConfigSource 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.v02.ProvenanceOuterClass.ConfigSource 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.v02.ProvenanceOuterClass.ConfigSource 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.v02.ProvenanceOuterClass.ConfigSource 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.v02.ProvenanceOuterClass.ConfigSource 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.v02.ProvenanceOuterClass.ConfigSource 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.v02.ProvenanceOuterClass.ConfigSource 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.v02.ConfigSource}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:in_toto_attestation.predicates.provenance.v02.ConfigSource)
        io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSourceOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v02_ConfigSource_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.v02.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v02_ConfigSource_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource.class, io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource.Builder.class);
      }

      // Construct using io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource.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();
        entryPoint_ = "";
        return this;
      }

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

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

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

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

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

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

      public Builder mergeFrom(io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource other) {
        if (other == io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.ConfigSource.getDefaultInstance()) return this;
        if (!other.getUri().isEmpty()) {
          uri_ = other.uri_;
          bitField0_ |= 0x00000001;
          onChanged();
        }
        internalGetMutableDigest().mergeFrom(
            other.internalGetDigest());
        bitField0_ |= 0x00000002;
        if (!other.getEntryPoint().isEmpty()) {
          entryPoint_ = other.entryPoint_;
          bitField0_ |= 0x00000004;
          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: {
                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
              case 26: {
                entryPoint_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000004;
                break;
              } // case 26
              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;
      }

      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;
      }
      @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.v02.ConfigSource)
    }

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

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

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

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

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

  }

  public interface MetadataOrBuilder extends
      // @@protoc_insertion_point(interface_extends:in_toto_attestation.predicates.provenance.v02.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.v02.Completeness completeness = 4;</code>
     * @return Whether the completeness field is set.
     */
    boolean hasCompleteness();
    /**
     * <code>.in_toto_attestation.predicates.provenance.v02.Completeness completeness = 4;</code>
     * @return The completeness.
     */
    io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Completeness getCompleteness();
    /**
     * <code>.in_toto_attestation.predicates.provenance.v02.Completeness completeness = 4;</code>
     */
    io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.CompletenessOrBuilder getCompletenessOrBuilder();

    /**
     * <code>bool reproducible = 5;</code>
     * @return The reproducible.
     */
    boolean getReproducible();
  }
  /**
   * Protobuf type {@code in_toto_attestation.predicates.provenance.v02.Metadata}
   */
  public static final class Metadata extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:in_toto_attestation.predicates.provenance.v02.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.v02.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v02_Metadata_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v02_Metadata_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Metadata.class, io.github.intoto.attestation.predicates.provenance.v02.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.v02.ProvenanceOuterClass.Completeness completeness_;
    /**
     * <code>.in_toto_attestation.predicates.provenance.v02.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.v02.Completeness completeness = 4;</code>
     * @return The completeness.
     */
    @java.lang.Override
    public io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Completeness getCompleteness() {
      return completeness_ == null ? io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Completeness.getDefaultInstance() : completeness_;
    }
    /**
     * <code>.in_toto_attestation.predicates.provenance.v02.Completeness completeness = 4;</code>
     */
    @java.lang.Override
    public io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.CompletenessOrBuilder getCompletenessOrBuilder() {
      return completeness_ == null ? io.github.intoto.attestation.predicates.provenance.v02.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.v02.ProvenanceOuterClass.Metadata)) {
        return super.equals(obj);
      }
      io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Metadata other = (io.github.intoto.attestation.predicates.provenance.v02.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.v02.ProvenanceOuterClass.Metadata parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.github.intoto.attestation.predicates.provenance.v02.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.v02.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.v02.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.v02.ProvenanceOuterClass.Metadata parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.github.intoto.attestation.predicates.provenance.v02.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.v02.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.v02.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.v02.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.v02.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.v02.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.v02.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.v02.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.v02.Metadata}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:in_toto_attestation.predicates.provenance.v02.Metadata)
        io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.MetadataOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v02_Metadata_descriptor;
      }

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

      // Construct using io.github.intoto.attestation.predicates.provenance.v02.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.v02.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v02_Metadata_descriptor;
      }

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

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

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

      private void buildPartial0(io.github.intoto.attestation.predicates.provenance.v02.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.v02.ProvenanceOuterClass.Metadata) {
          return mergeFrom((io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Metadata)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Metadata other) {
        if (other == io.github.intoto.attestation.predicates.provenance.v02.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.v02.ProvenanceOuterClass.Completeness completeness_;
      private com.google.protobuf.SingleFieldBuilderV3<
          io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Completeness, io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Completeness.Builder, io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.CompletenessOrBuilder> completenessBuilder_;
      /**
       * <code>.in_toto_attestation.predicates.provenance.v02.Completeness completeness = 4;</code>
       * @return Whether the completeness field is set.
       */
      public boolean hasCompleteness() {
        return ((bitField0_ & 0x00000008) != 0);
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v02.Completeness completeness = 4;</code>
       * @return The completeness.
       */
      public io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Completeness getCompleteness() {
        if (completenessBuilder_ == null) {
          return completeness_ == null ? io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Completeness.getDefaultInstance() : completeness_;
        } else {
          return completenessBuilder_.getMessage();
        }
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v02.Completeness completeness = 4;</code>
       */
      public Builder setCompleteness(io.github.intoto.attestation.predicates.provenance.v02.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.v02.Completeness completeness = 4;</code>
       */
      public Builder setCompleteness(
          io.github.intoto.attestation.predicates.provenance.v02.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.v02.Completeness completeness = 4;</code>
       */
      public Builder mergeCompleteness(io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Completeness value) {
        if (completenessBuilder_ == null) {
          if (((bitField0_ & 0x00000008) != 0) &&
            completeness_ != null &&
            completeness_ != io.github.intoto.attestation.predicates.provenance.v02.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.v02.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.v02.Completeness completeness = 4;</code>
       */
      public io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Completeness.Builder getCompletenessBuilder() {
        bitField0_ |= 0x00000008;
        onChanged();
        return getCompletenessFieldBuilder().getBuilder();
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v02.Completeness completeness = 4;</code>
       */
      public io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.CompletenessOrBuilder getCompletenessOrBuilder() {
        if (completenessBuilder_ != null) {
          return completenessBuilder_.getMessageOrBuilder();
        } else {
          return completeness_ == null ?
              io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Completeness.getDefaultInstance() : completeness_;
        }
      }
      /**
       * <code>.in_toto_attestation.predicates.provenance.v02.Completeness completeness = 4;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Completeness, io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Completeness.Builder, io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.CompletenessOrBuilder> 
          getCompletenessFieldBuilder() {
        if (completenessBuilder_ == null) {
          completenessBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Completeness, io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Completeness.Builder, io.github.intoto.attestation.predicates.provenance.v02.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.v02.Metadata)
    }

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

    public static io.github.intoto.attestation.predicates.provenance.v02.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.v02.ProvenanceOuterClass.Metadata getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

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

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

    /**
     * <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.v02.Completeness}
   */
  public static final class Completeness extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:in_toto_attestation.predicates.provenance.v02.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.v02.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v02_Completeness_descriptor;
    }

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

    public static final int PARAMETERS_FIELD_NUMBER = 1;
    private boolean parameters_ = false;
    /**
     * <code>bool parameters = 1;</code>
     * @return The parameters.
     */
    @java.lang.Override
    public boolean getParameters() {
      return parameters_;
    }

    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 (parameters_ != false) {
        output.writeBool(1, parameters_);
      }
      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 (parameters_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(1, parameters_);
      }
      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.v02.ProvenanceOuterClass.Completeness)) {
        return super.equals(obj);
      }
      io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Completeness other = (io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Completeness) obj;

      if (getParameters()
          != other.getParameters()) 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) + PARAMETERS_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getParameters());
      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.v02.ProvenanceOuterClass.Completeness parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.github.intoto.attestation.predicates.provenance.v02.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.v02.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.v02.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.v02.ProvenanceOuterClass.Completeness parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.github.intoto.attestation.predicates.provenance.v02.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.v02.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.v02.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.v02.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.v02.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.v02.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.v02.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.v02.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.v02.Completeness}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:in_toto_attestation.predicates.provenance.v02.Completeness)
        io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.CompletenessOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v02_Completeness_descriptor;
      }

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

      // Construct using io.github.intoto.attestation.predicates.provenance.v02.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;
        parameters_ = false;
        environment_ = false;
        materials_ = false;
        return this;
      }

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

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

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

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

      private void buildPartial0(io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Completeness result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.parameters_ = parameters_;
        }
        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.v02.ProvenanceOuterClass.Completeness) {
          return mergeFrom((io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Completeness)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Completeness other) {
        if (other == io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Completeness.getDefaultInstance()) return this;
        if (other.getParameters() != false) {
          setParameters(other.getParameters());
        }
        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: {
                parameters_ = 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 parameters_ ;
      /**
       * <code>bool parameters = 1;</code>
       * @return The parameters.
       */
      @java.lang.Override
      public boolean getParameters() {
        return parameters_;
      }
      /**
       * <code>bool parameters = 1;</code>
       * @param value The parameters to set.
       * @return This builder for chaining.
       */
      public Builder setParameters(boolean value) {

        parameters_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <code>bool parameters = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearParameters() {
        bitField0_ = (bitField0_ & ~0x00000001);
        parameters_ = 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.v02.Completeness)
    }

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

    public static io.github.intoto.attestation.predicates.provenance.v02.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.v02.ProvenanceOuterClass.Completeness getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface MaterialOrBuilder extends
      // @@protoc_insertion_point(interface_extends:in_toto_attestation.predicates.provenance.v02.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.v02.Material}
   */
  public static final class Material extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:in_toto_attestation.predicates.provenance.v02.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.v02.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v02_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.v02.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v02_Material_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Material.class, io.github.intoto.attestation.predicates.provenance.v02.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.v02.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v02_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.v02.ProvenanceOuterClass.Material)) {
        return super.equals(obj);
      }
      io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Material other = (io.github.intoto.attestation.predicates.provenance.v02.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.v02.ProvenanceOuterClass.Material parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.github.intoto.attestation.predicates.provenance.v02.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.v02.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.v02.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.v02.ProvenanceOuterClass.Material parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.github.intoto.attestation.predicates.provenance.v02.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.v02.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.v02.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.v02.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.v02.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.v02.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.v02.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.v02.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.v02.Material}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:in_toto_attestation.predicates.provenance.v02.Material)
        io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.MaterialOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v02_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.v02.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v02_Material_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Material.class, io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Material.Builder.class);
      }

      // Construct using io.github.intoto.attestation.predicates.provenance.v02.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.v02.ProvenanceOuterClass.internal_static_in_toto_attestation_predicates_provenance_v02_Material_descriptor;
      }

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

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

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

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

      public Builder mergeFrom(io.github.intoto.attestation.predicates.provenance.v02.ProvenanceOuterClass.Material other) {
        if (other == io.github.intoto.attestation.predicates.provenance.v02.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.v02.Material)
    }

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

    public static io.github.intoto.attestation.predicates.provenance.v02.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.v02.ProvenanceOuterClass.Material getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_in_toto_attestation_predicates_provenance_v02_Provenance_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_in_toto_attestation_predicates_provenance_v02_Provenance_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_in_toto_attestation_predicates_provenance_v02_Builder_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_in_toto_attestation_predicates_provenance_v02_Builder_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_in_toto_attestation_predicates_provenance_v02_Invocation_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_in_toto_attestation_predicates_provenance_v02_Invocation_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_in_toto_attestation_predicates_provenance_v02_ConfigSource_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_in_toto_attestation_predicates_provenance_v02_ConfigSource_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_in_toto_attestation_predicates_provenance_v02_ConfigSource_DigestEntry_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_in_toto_attestation_predicates_provenance_v02_ConfigSource_DigestEntry_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_in_toto_attestation_predicates_provenance_v02_Metadata_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_in_toto_attestation_predicates_provenance_v02_Metadata_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_in_toto_attestation_predicates_provenance_v02_Completeness_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_in_toto_attestation_predicates_provenance_v02_Completeness_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_in_toto_attestation_predicates_provenance_v02_Material_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_in_toto_attestation_predicates_provenance_v02_Material_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_in_toto_attestation_predicates_provenance_v02_Material_DigestEntry_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_in_toto_attestation_predicates_provenance_v02_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.2/provenance.proto\022-in_toto_attes" +
      "tation.predicates.provenance.v02\032\034google" +
      "/protobuf/struct.proto\032\037google/protobuf/" +
      "timestamp.proto\"\376\002\n\nProvenance\022G\n\007builde" +
      "r\030\001 \001(\01326.in_toto_attestation.predicates" +
      ".provenance.v02.Builder\022\022\n\nbuild_type\030\002 " +
      "\001(\t\022M\n\ninvocation\030\003 \001(\01329.in_toto_attest" +
      "ation.predicates.provenance.v02.Invocati" +
      "on\022-\n\014build_config\030\004 \001(\0132\027.google.protob" +
      "uf.Struct\022I\n\010metadata\030\005 \001(\01327.in_toto_at" +
      "testation.predicates.provenance.v02.Meta" +
      "data\022J\n\tmaterials\030\006 \003(\01327.in_toto_attest" +
      "ation.predicates.provenance.v02.Material" +
      "\"\025\n\007Builder\022\n\n\002id\030\001 \001(\t\"\273\001\n\nInvocation\022R" +
      "\n\rconfig_source\030\001 \001(\0132;.in_toto_attestat" +
      "ion.predicates.provenance.v02.ConfigSour" +
      "ce\022+\n\nparameters\030\002 \001(\0132\027.google.protobuf" +
      ".Struct\022,\n\013environment\030\003 \001(\0132\027.google.pr" +
      "otobuf.Struct\"\270\001\n\014ConfigSource\022\013\n\003uri\030\001 " +
      "\001(\t\022W\n\006digest\030\002 \003(\0132G.in_toto_attestatio" +
      "n.predicates.provenance.v02.ConfigSource" +
      ".DigestEntry\022\023\n\013entry_point\030\003 \001(\t\032-\n\013Dig" +
      "estEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" +
      "\"\375\001\n\010Metadata\022\033\n\023build_invocation_id\030\001 \001" +
      "(\t\0224\n\020build_started_on\030\002 \001(\0132\032.google.pr" +
      "otobuf.Timestamp\0225\n\021build_finished_on\030\003 " +
      "\001(\0132\032.google.protobuf.Timestamp\022Q\n\014compl" +
      "eteness\030\004 \001(\0132;.in_toto_attestation.pred" +
      "icates.provenance.v02.Completeness\022\024\n\014re" +
      "producible\030\005 \001(\010\"J\n\014Completeness\022\022\n\npara" +
      "meters\030\001 \001(\010\022\023\n\013environment\030\002 \001(\010\022\021\n\tmat" +
      "erials\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.pre" +
      "dicates.provenance.v02.Material.DigestEn" +
      "try\032-\n\013DigestEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value" +
      "\030\002 \001(\t:\0028\001Bu\n6io.github.intoto.attestati" +
      "on.predicates.provenance.v02Z;github.com" +
      "/in-toto/attestation/go/predicates/prove" +
      "nance/v02b\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_v02_Provenance_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_in_toto_attestation_predicates_provenance_v02_Provenance_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_in_toto_attestation_predicates_provenance_v02_Provenance_descriptor,
        new java.lang.String[] { "Builder", "BuildType", "Invocation", "BuildConfig", "Metadata", "Materials", });
    internal_static_in_toto_attestation_predicates_provenance_v02_Builder_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_in_toto_attestation_predicates_provenance_v02_Builder_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_in_toto_attestation_predicates_provenance_v02_Builder_descriptor,
        new java.lang.String[] { "Id", });
    internal_static_in_toto_attestation_predicates_provenance_v02_Invocation_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_in_toto_attestation_predicates_provenance_v02_Invocation_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_in_toto_attestation_predicates_provenance_v02_Invocation_descriptor,
        new java.lang.String[] { "ConfigSource", "Parameters", "Environment", });
    internal_static_in_toto_attestation_predicates_provenance_v02_ConfigSource_descriptor =
      getDescriptor().getMessageTypes().get(3);
    internal_static_in_toto_attestation_predicates_provenance_v02_ConfigSource_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_in_toto_attestation_predicates_provenance_v02_ConfigSource_descriptor,
        new java.lang.String[] { "Uri", "Digest", "EntryPoint", });
    internal_static_in_toto_attestation_predicates_provenance_v02_ConfigSource_DigestEntry_descriptor =
      internal_static_in_toto_attestation_predicates_provenance_v02_ConfigSource_descriptor.getNestedTypes().get(0);
    internal_static_in_toto_attestation_predicates_provenance_v02_ConfigSource_DigestEntry_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_in_toto_attestation_predicates_provenance_v02_ConfigSource_DigestEntry_descriptor,
        new java.lang.String[] { "Key", "Value", });
    internal_static_in_toto_attestation_predicates_provenance_v02_Metadata_descriptor =
      getDescriptor().getMessageTypes().get(4);
    internal_static_in_toto_attestation_predicates_provenance_v02_Metadata_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_in_toto_attestation_predicates_provenance_v02_Metadata_descriptor,
        new java.lang.String[] { "BuildInvocationId", "BuildStartedOn", "BuildFinishedOn", "Completeness", "Reproducible", });
    internal_static_in_toto_attestation_predicates_provenance_v02_Completeness_descriptor =
      getDescriptor().getMessageTypes().get(5);
    internal_static_in_toto_attestation_predicates_provenance_v02_Completeness_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_in_toto_attestation_predicates_provenance_v02_Completeness_descriptor,
        new java.lang.String[] { "Parameters", "Environment", "Materials", });
    internal_static_in_toto_attestation_predicates_provenance_v02_Material_descriptor =
      getDescriptor().getMessageTypes().get(6);
    internal_static_in_toto_attestation_predicates_provenance_v02_Material_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_in_toto_attestation_predicates_provenance_v02_Material_descriptor,
        new java.lang.String[] { "Uri", "Digest", });
    internal_static_in_toto_attestation_predicates_provenance_v02_Material_DigestEntry_descriptor =
      internal_static_in_toto_attestation_predicates_provenance_v02_Material_descriptor.getNestedTypes().get(0);
    internal_static_in_toto_attestation_predicates_provenance_v02_Material_DigestEntry_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_in_toto_attestation_predicates_provenance_v02_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)
}
