/*
 * 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_statement.proto

package io.grafeas.v1;

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

  /**
   *
   *
   * <pre>
   * Always `https://in-toto.io/Statement/v0.1`.
   * </pre>
   *
   * <code>string type = 1 [json_name = "_type"];</code>
   *
   * @return The type.
   */
  java.lang.String getType();
  /**
   *
   *
   * <pre>
   * Always `https://in-toto.io/Statement/v0.1`.
   * </pre>
   *
   * <code>string type = 1 [json_name = "_type"];</code>
   *
   * @return The bytes for type.
   */
  com.google.protobuf.ByteString getTypeBytes();

  /** <code>repeated .grafeas.v1.Subject subject = 2;</code> */
  java.util.List<io.grafeas.v1.Subject> getSubjectList();
  /** <code>repeated .grafeas.v1.Subject subject = 2;</code> */
  io.grafeas.v1.Subject getSubject(int index);
  /** <code>repeated .grafeas.v1.Subject subject = 2;</code> */
  int getSubjectCount();
  /** <code>repeated .grafeas.v1.Subject subject = 2;</code> */
  java.util.List<? extends io.grafeas.v1.SubjectOrBuilder> getSubjectOrBuilderList();
  /** <code>repeated .grafeas.v1.Subject subject = 2;</code> */
  io.grafeas.v1.SubjectOrBuilder getSubjectOrBuilder(int index);

  /**
   *
   *
   * <pre>
   * `https://slsa.dev/provenance/v0.1` for SlsaProvenance.
   * </pre>
   *
   * <code>string predicate_type = 3;</code>
   *
   * @return The predicateType.
   */
  java.lang.String getPredicateType();
  /**
   *
   *
   * <pre>
   * `https://slsa.dev/provenance/v0.1` for SlsaProvenance.
   * </pre>
   *
   * <code>string predicate_type = 3;</code>
   *
   * @return The bytes for predicateType.
   */
  com.google.protobuf.ByteString getPredicateTypeBytes();

  /**
   * <code>.grafeas.v1.InTotoProvenance provenance = 4;</code>
   *
   * @return Whether the provenance field is set.
   */
  boolean hasProvenance();
  /**
   * <code>.grafeas.v1.InTotoProvenance provenance = 4;</code>
   *
   * @return The provenance.
   */
  io.grafeas.v1.InTotoProvenance getProvenance();
  /** <code>.grafeas.v1.InTotoProvenance provenance = 4;</code> */
  io.grafeas.v1.InTotoProvenanceOrBuilder getProvenanceOrBuilder();

  /**
   * <code>.grafeas.v1.SlsaProvenance slsa_provenance = 5;</code>
   *
   * @return Whether the slsaProvenance field is set.
   */
  boolean hasSlsaProvenance();
  /**
   * <code>.grafeas.v1.SlsaProvenance slsa_provenance = 5;</code>
   *
   * @return The slsaProvenance.
   */
  io.grafeas.v1.SlsaProvenance getSlsaProvenance();
  /** <code>.grafeas.v1.SlsaProvenance slsa_provenance = 5;</code> */
  io.grafeas.v1.SlsaProvenanceOrBuilder getSlsaProvenanceOrBuilder();

  /**
   * <code>.grafeas.v1.SlsaProvenanceZeroTwo slsa_provenance_zero_two = 6;</code>
   *
   * @return Whether the slsaProvenanceZeroTwo field is set.
   */
  boolean hasSlsaProvenanceZeroTwo();
  /**
   * <code>.grafeas.v1.SlsaProvenanceZeroTwo slsa_provenance_zero_two = 6;</code>
   *
   * @return The slsaProvenanceZeroTwo.
   */
  io.grafeas.v1.SlsaProvenanceZeroTwo getSlsaProvenanceZeroTwo();
  /** <code>.grafeas.v1.SlsaProvenanceZeroTwo slsa_provenance_zero_two = 6;</code> */
  io.grafeas.v1.SlsaProvenanceZeroTwoOrBuilder getSlsaProvenanceZeroTwoOrBuilder();

  public io.grafeas.v1.InTotoStatement.PredicateCase getPredicateCase();
}
