1 /* 2 * Copyright 2019 The Grafeas Authors. All rights reserved. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 // Generated by the protocol buffer compiler. DO NOT EDIT! 18 // source: grafeas/v1/dsse_attestation.proto 19 20 package io.grafeas.v1; 21 22 public interface DSSEAttestationOccurrenceOrBuilder 23 extends 24 // @@protoc_insertion_point(interface_extends:grafeas.v1.DSSEAttestationOccurrence) 25 com.google.protobuf.MessageOrBuilder { 26 27 /** 28 * 29 * 30 * <pre> 31 * If doing something security critical, make sure to verify the signatures in 32 * this metadata. 33 * </pre> 34 * 35 * <code>.grafeas.v1.Envelope envelope = 1;</code> 36 * 37 * @return Whether the envelope field is set. 38 */ hasEnvelope()39 boolean hasEnvelope(); 40 /** 41 * 42 * 43 * <pre> 44 * If doing something security critical, make sure to verify the signatures in 45 * this metadata. 46 * </pre> 47 * 48 * <code>.grafeas.v1.Envelope envelope = 1;</code> 49 * 50 * @return The envelope. 51 */ getEnvelope()52 io.grafeas.v1.Envelope getEnvelope(); 53 /** 54 * 55 * 56 * <pre> 57 * If doing something security critical, make sure to verify the signatures in 58 * this metadata. 59 * </pre> 60 * 61 * <code>.grafeas.v1.Envelope envelope = 1;</code> 62 */ getEnvelopeOrBuilder()63 io.grafeas.v1.EnvelopeOrBuilder getEnvelopeOrBuilder(); 64 65 /** 66 * <code>.grafeas.v1.InTotoStatement statement = 2;</code> 67 * 68 * @return Whether the statement field is set. 69 */ hasStatement()70 boolean hasStatement(); 71 /** 72 * <code>.grafeas.v1.InTotoStatement statement = 2;</code> 73 * 74 * @return The statement. 75 */ getStatement()76 io.grafeas.v1.InTotoStatement getStatement(); 77 /** <code>.grafeas.v1.InTotoStatement statement = 2;</code> */ getStatementOrBuilder()78 io.grafeas.v1.InTotoStatementOrBuilder getStatementOrBuilder(); 79 getDecodedPayloadCase()80 public io.grafeas.v1.DSSEAttestationOccurrence.DecodedPayloadCase getDecodedPayloadCase(); 81 } 82