/* * 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 { /** * * *
* Always `https://in-toto.io/Statement/v0.1`. ** *
string type = 1 [json_name = "_type"];
*
* @return The type.
*/
java.lang.String getType();
/**
*
*
* * Always `https://in-toto.io/Statement/v0.1`. ** *
string type = 1 [json_name = "_type"];
*
* @return The bytes for type.
*/
com.google.protobuf.ByteString getTypeBytes();
/** repeated .grafeas.v1.Subject subject = 2;
*/
java.util.Listrepeated .grafeas.v1.Subject subject = 2;
*/
io.grafeas.v1.Subject getSubject(int index);
/** repeated .grafeas.v1.Subject subject = 2;
*/
int getSubjectCount();
/** repeated .grafeas.v1.Subject subject = 2;
*/
java.util.List extends io.grafeas.v1.SubjectOrBuilder> getSubjectOrBuilderList();
/** repeated .grafeas.v1.Subject subject = 2;
*/
io.grafeas.v1.SubjectOrBuilder getSubjectOrBuilder(int index);
/**
*
*
* * `https://slsa.dev/provenance/v0.1` for SlsaProvenance. ** *
string predicate_type = 3;
*
* @return The predicateType.
*/
java.lang.String getPredicateType();
/**
*
*
* * `https://slsa.dev/provenance/v0.1` for SlsaProvenance. ** *
string predicate_type = 3;
*
* @return The bytes for predicateType.
*/
com.google.protobuf.ByteString getPredicateTypeBytes();
/**
* .grafeas.v1.InTotoProvenance provenance = 4;
*
* @return Whether the provenance field is set.
*/
boolean hasProvenance();
/**
* .grafeas.v1.InTotoProvenance provenance = 4;
*
* @return The provenance.
*/
io.grafeas.v1.InTotoProvenance getProvenance();
/** .grafeas.v1.InTotoProvenance provenance = 4;
*/
io.grafeas.v1.InTotoProvenanceOrBuilder getProvenanceOrBuilder();
/**
* .grafeas.v1.SlsaProvenance slsa_provenance = 5;
*
* @return Whether the slsaProvenance field is set.
*/
boolean hasSlsaProvenance();
/**
* .grafeas.v1.SlsaProvenance slsa_provenance = 5;
*
* @return The slsaProvenance.
*/
io.grafeas.v1.SlsaProvenance getSlsaProvenance();
/** .grafeas.v1.SlsaProvenance slsa_provenance = 5;
*/
io.grafeas.v1.SlsaProvenanceOrBuilder getSlsaProvenanceOrBuilder();
/**
* .grafeas.v1.SlsaProvenanceZeroTwo slsa_provenance_zero_two = 6;
*
* @return Whether the slsaProvenanceZeroTwo field is set.
*/
boolean hasSlsaProvenanceZeroTwo();
/**
* .grafeas.v1.SlsaProvenanceZeroTwo slsa_provenance_zero_two = 6;
*
* @return The slsaProvenanceZeroTwo.
*/
io.grafeas.v1.SlsaProvenanceZeroTwo getSlsaProvenanceZeroTwo();
/** .grafeas.v1.SlsaProvenanceZeroTwo slsa_provenance_zero_two = 6;
*/
io.grafeas.v1.SlsaProvenanceZeroTwoOrBuilder getSlsaProvenanceZeroTwoOrBuilder();
public io.grafeas.v1.InTotoStatement.PredicateCase getPredicateCase();
}