/*
 * Copyright 2019 The Grafeas Authors. All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: grafeas/v1/intoto_provenance.proto

package io.grafeas.v1;

public interface InTotoProvenanceOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:grafeas.v1.InTotoProvenance)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * required
   * </pre>
   *
   * <code>.grafeas.v1.BuilderConfig builder_config = 1;</code>
   *
   * @return Whether the builderConfig field is set.
   */
  boolean hasBuilderConfig();
  /**
   *
   *
   * <pre>
   * required
   * </pre>
   *
   * <code>.grafeas.v1.BuilderConfig builder_config = 1;</code>
   *
   * @return The builderConfig.
   */
  io.grafeas.v1.BuilderConfig getBuilderConfig();
  /**
   *
   *
   * <pre>
   * required
   * </pre>
   *
   * <code>.grafeas.v1.BuilderConfig builder_config = 1;</code>
   */
  io.grafeas.v1.BuilderConfigOrBuilder getBuilderConfigOrBuilder();

  /**
   *
   *
   * <pre>
   * Identifies the configuration used for the build.
   * When combined with materials, this SHOULD fully describe the build,
   * such that re-running this recipe results in bit-for-bit identical output
   * (if the build is reproducible).
   * </pre>
   *
   * <code>.grafeas.v1.Recipe recipe = 2;</code>
   *
   * @return Whether the recipe field is set.
   */
  boolean hasRecipe();
  /**
   *
   *
   * <pre>
   * Identifies the configuration used for the build.
   * When combined with materials, this SHOULD fully describe the build,
   * such that re-running this recipe results in bit-for-bit identical output
   * (if the build is reproducible).
   * </pre>
   *
   * <code>.grafeas.v1.Recipe recipe = 2;</code>
   *
   * @return The recipe.
   */
  io.grafeas.v1.Recipe getRecipe();
  /**
   *
   *
   * <pre>
   * Identifies the configuration used for the build.
   * When combined with materials, this SHOULD fully describe the build,
   * such that re-running this recipe results in bit-for-bit identical output
   * (if the build is reproducible).
   * </pre>
   *
   * <code>.grafeas.v1.Recipe recipe = 2;</code>
   */
  io.grafeas.v1.RecipeOrBuilder getRecipeOrBuilder();

  /**
   * <code>.grafeas.v1.Metadata metadata = 3;</code>
   *
   * @return Whether the metadata field is set.
   */
  boolean hasMetadata();
  /**
   * <code>.grafeas.v1.Metadata metadata = 3;</code>
   *
   * @return The metadata.
   */
  io.grafeas.v1.Metadata getMetadata();
  /** <code>.grafeas.v1.Metadata metadata = 3;</code> */
  io.grafeas.v1.MetadataOrBuilder getMetadataOrBuilder();

  /**
   *
   *
   * <pre>
   * The collection of artifacts that influenced the build including sources,
   * dependencies, build tools, base images, and so on. This is considered to be
   * incomplete unless metadata.completeness.materials is true. Unset or null is
   * equivalent to empty.
   * </pre>
   *
   * <code>repeated string materials = 4;</code>
   *
   * @return A list containing the materials.
   */
  java.util.List<java.lang.String> getMaterialsList();
  /**
   *
   *
   * <pre>
   * The collection of artifacts that influenced the build including sources,
   * dependencies, build tools, base images, and so on. This is considered to be
   * incomplete unless metadata.completeness.materials is true. Unset or null is
   * equivalent to empty.
   * </pre>
   *
   * <code>repeated string materials = 4;</code>
   *
   * @return The count of materials.
   */
  int getMaterialsCount();
  /**
   *
   *
   * <pre>
   * The collection of artifacts that influenced the build including sources,
   * dependencies, build tools, base images, and so on. This is considered to be
   * incomplete unless metadata.completeness.materials is true. Unset or null is
   * equivalent to empty.
   * </pre>
   *
   * <code>repeated string materials = 4;</code>
   *
   * @param index The index of the element to return.
   * @return The materials at the given index.
   */
  java.lang.String getMaterials(int index);
  /**
   *
   *
   * <pre>
   * The collection of artifacts that influenced the build including sources,
   * dependencies, build tools, base images, and so on. This is considered to be
   * incomplete unless metadata.completeness.materials is true. Unset or null is
   * equivalent to empty.
   * </pre>
   *
   * <code>repeated string materials = 4;</code>
   *
   * @param index The index of the value to return.
   * @return The bytes of the materials at the given index.
   */
  com.google.protobuf.ByteString getMaterialsBytes(int index);
}
