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

package io.grafeas.v1;

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

  /**
   *
   *
   * <pre>
   * If doing something security critical, make sure to verify the signatures in
   * this metadata.
   * </pre>
   *
   * <code>.grafeas.v1.Envelope envelope = 1;</code>
   *
   * @return Whether the envelope field is set.
   */
  boolean hasEnvelope();
  /**
   *
   *
   * <pre>
   * If doing something security critical, make sure to verify the signatures in
   * this metadata.
   * </pre>
   *
   * <code>.grafeas.v1.Envelope envelope = 1;</code>
   *
   * @return The envelope.
   */
  io.grafeas.v1.Envelope getEnvelope();
  /**
   *
   *
   * <pre>
   * If doing something security critical, make sure to verify the signatures in
   * this metadata.
   * </pre>
   *
   * <code>.grafeas.v1.Envelope envelope = 1;</code>
   */
  io.grafeas.v1.EnvelopeOrBuilder getEnvelopeOrBuilder();

  /**
   * <code>.grafeas.v1.InTotoStatement statement = 2;</code>
   *
   * @return Whether the statement field is set.
   */
  boolean hasStatement();
  /**
   * <code>.grafeas.v1.InTotoStatement statement = 2;</code>
   *
   * @return The statement.
   */
  io.grafeas.v1.InTotoStatement getStatement();
  /** <code>.grafeas.v1.InTotoStatement statement = 2;</code> */
  io.grafeas.v1.InTotoStatementOrBuilder getStatementOrBuilder();

  public io.grafeas.v1.DSSEAttestationOccurrence.DecodedPayloadCase getDecodedPayloadCase();
}
