/* * 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/slsa_provenance.proto package io.grafeas.v1; public interface SlsaProvenanceOrBuilder extends // @@protoc_insertion_point(interface_extends:grafeas.v1.SlsaProvenance) com.google.protobuf.MessageOrBuilder { /** * * *
* required ** *
.grafeas.v1.SlsaProvenance.SlsaBuilder builder = 1;
*
* @return Whether the builder field is set.
*/
boolean hasBuilder();
/**
*
*
* * required ** *
.grafeas.v1.SlsaProvenance.SlsaBuilder builder = 1;
*
* @return The builder.
*/
io.grafeas.v1.SlsaProvenance.SlsaBuilder getBuilder();
/**
*
*
* * required ** *
.grafeas.v1.SlsaProvenance.SlsaBuilder builder = 1;
*/
io.grafeas.v1.SlsaProvenance.SlsaBuilderOrBuilder getBuilderOrBuilder();
/**
*
*
* * 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). ** *
.grafeas.v1.SlsaProvenance.SlsaRecipe recipe = 2;
*
* @return Whether the recipe field is set.
*/
boolean hasRecipe();
/**
*
*
* * 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). ** *
.grafeas.v1.SlsaProvenance.SlsaRecipe recipe = 2;
*
* @return The recipe.
*/
io.grafeas.v1.SlsaProvenance.SlsaRecipe getRecipe();
/**
*
*
* * 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). ** *
.grafeas.v1.SlsaProvenance.SlsaRecipe recipe = 2;
*/
io.grafeas.v1.SlsaProvenance.SlsaRecipeOrBuilder getRecipeOrBuilder();
/**
* .grafeas.v1.SlsaProvenance.SlsaMetadata metadata = 3;
*
* @return Whether the metadata field is set.
*/
boolean hasMetadata();
/**
* .grafeas.v1.SlsaProvenance.SlsaMetadata metadata = 3;
*
* @return The metadata.
*/
io.grafeas.v1.SlsaProvenance.SlsaMetadata getMetadata();
/** .grafeas.v1.SlsaProvenance.SlsaMetadata metadata = 3;
*/
io.grafeas.v1.SlsaProvenance.SlsaMetadataOrBuilder getMetadataOrBuilder();
/**
*
*
* * 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. ** *
repeated .grafeas.v1.SlsaProvenance.Material materials = 4;
*/
java.util.List* 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. ** *
repeated .grafeas.v1.SlsaProvenance.Material materials = 4;
*/
io.grafeas.v1.SlsaProvenance.Material getMaterials(int index);
/**
*
*
* * 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. ** *
repeated .grafeas.v1.SlsaProvenance.Material materials = 4;
*/
int getMaterialsCount();
/**
*
*
* * 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. ** *
repeated .grafeas.v1.SlsaProvenance.Material materials = 4;
*/
java.util.List extends io.grafeas.v1.SlsaProvenance.MaterialOrBuilder>
getMaterialsOrBuilderList();
/**
*
*
* * 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. ** *
repeated .grafeas.v1.SlsaProvenance.Material materials = 4;
*/
io.grafeas.v1.SlsaProvenance.MaterialOrBuilder getMaterialsOrBuilder(int index);
}