• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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/slsa_provenance.proto
19 
20 package io.grafeas.v1;
21 
22 public interface SlsaProvenanceOrBuilder
23     extends
24     // @@protoc_insertion_point(interface_extends:grafeas.v1.SlsaProvenance)
25     com.google.protobuf.MessageOrBuilder {
26 
27   /**
28    *
29    *
30    * <pre>
31    * required
32    * </pre>
33    *
34    * <code>.grafeas.v1.SlsaProvenance.SlsaBuilder builder = 1;</code>
35    *
36    * @return Whether the builder field is set.
37    */
hasBuilder()38   boolean hasBuilder();
39   /**
40    *
41    *
42    * <pre>
43    * required
44    * </pre>
45    *
46    * <code>.grafeas.v1.SlsaProvenance.SlsaBuilder builder = 1;</code>
47    *
48    * @return The builder.
49    */
getBuilder()50   io.grafeas.v1.SlsaProvenance.SlsaBuilder getBuilder();
51   /**
52    *
53    *
54    * <pre>
55    * required
56    * </pre>
57    *
58    * <code>.grafeas.v1.SlsaProvenance.SlsaBuilder builder = 1;</code>
59    */
getBuilderOrBuilder()60   io.grafeas.v1.SlsaProvenance.SlsaBuilderOrBuilder getBuilderOrBuilder();
61 
62   /**
63    *
64    *
65    * <pre>
66    * Identifies the configuration used for the build.
67    * When combined with materials, this SHOULD fully describe the build,
68    * such that re-running this recipe results in bit-for-bit identical output
69    * (if the build is reproducible).
70    * </pre>
71    *
72    * <code>.grafeas.v1.SlsaProvenance.SlsaRecipe recipe = 2;</code>
73    *
74    * @return Whether the recipe field is set.
75    */
hasRecipe()76   boolean hasRecipe();
77   /**
78    *
79    *
80    * <pre>
81    * Identifies the configuration used for the build.
82    * When combined with materials, this SHOULD fully describe the build,
83    * such that re-running this recipe results in bit-for-bit identical output
84    * (if the build is reproducible).
85    * </pre>
86    *
87    * <code>.grafeas.v1.SlsaProvenance.SlsaRecipe recipe = 2;</code>
88    *
89    * @return The recipe.
90    */
getRecipe()91   io.grafeas.v1.SlsaProvenance.SlsaRecipe getRecipe();
92   /**
93    *
94    *
95    * <pre>
96    * Identifies the configuration used for the build.
97    * When combined with materials, this SHOULD fully describe the build,
98    * such that re-running this recipe results in bit-for-bit identical output
99    * (if the build is reproducible).
100    * </pre>
101    *
102    * <code>.grafeas.v1.SlsaProvenance.SlsaRecipe recipe = 2;</code>
103    */
getRecipeOrBuilder()104   io.grafeas.v1.SlsaProvenance.SlsaRecipeOrBuilder getRecipeOrBuilder();
105 
106   /**
107    * <code>.grafeas.v1.SlsaProvenance.SlsaMetadata metadata = 3;</code>
108    *
109    * @return Whether the metadata field is set.
110    */
hasMetadata()111   boolean hasMetadata();
112   /**
113    * <code>.grafeas.v1.SlsaProvenance.SlsaMetadata metadata = 3;</code>
114    *
115    * @return The metadata.
116    */
getMetadata()117   io.grafeas.v1.SlsaProvenance.SlsaMetadata getMetadata();
118   /** <code>.grafeas.v1.SlsaProvenance.SlsaMetadata metadata = 3;</code> */
getMetadataOrBuilder()119   io.grafeas.v1.SlsaProvenance.SlsaMetadataOrBuilder getMetadataOrBuilder();
120 
121   /**
122    *
123    *
124    * <pre>
125    * The collection of artifacts that influenced the build including sources,
126    * dependencies, build tools, base images, and so on. This is considered to be
127    * incomplete unless metadata.completeness.materials is true. Unset or null is
128    * equivalent to empty.
129    * </pre>
130    *
131    * <code>repeated .grafeas.v1.SlsaProvenance.Material materials = 4;</code>
132    */
getMaterialsList()133   java.util.List<io.grafeas.v1.SlsaProvenance.Material> getMaterialsList();
134   /**
135    *
136    *
137    * <pre>
138    * The collection of artifacts that influenced the build including sources,
139    * dependencies, build tools, base images, and so on. This is considered to be
140    * incomplete unless metadata.completeness.materials is true. Unset or null is
141    * equivalent to empty.
142    * </pre>
143    *
144    * <code>repeated .grafeas.v1.SlsaProvenance.Material materials = 4;</code>
145    */
getMaterials(int index)146   io.grafeas.v1.SlsaProvenance.Material getMaterials(int index);
147   /**
148    *
149    *
150    * <pre>
151    * The collection of artifacts that influenced the build including sources,
152    * dependencies, build tools, base images, and so on. This is considered to be
153    * incomplete unless metadata.completeness.materials is true. Unset or null is
154    * equivalent to empty.
155    * </pre>
156    *
157    * <code>repeated .grafeas.v1.SlsaProvenance.Material materials = 4;</code>
158    */
getMaterialsCount()159   int getMaterialsCount();
160   /**
161    *
162    *
163    * <pre>
164    * The collection of artifacts that influenced the build including sources,
165    * dependencies, build tools, base images, and so on. This is considered to be
166    * incomplete unless metadata.completeness.materials is true. Unset or null is
167    * equivalent to empty.
168    * </pre>
169    *
170    * <code>repeated .grafeas.v1.SlsaProvenance.Material materials = 4;</code>
171    */
172   java.util.List<? extends io.grafeas.v1.SlsaProvenance.MaterialOrBuilder>
getMaterialsOrBuilderList()173       getMaterialsOrBuilderList();
174   /**
175    *
176    *
177    * <pre>
178    * The collection of artifacts that influenced the build including sources,
179    * dependencies, build tools, base images, and so on. This is considered to be
180    * incomplete unless metadata.completeness.materials is true. Unset or null is
181    * equivalent to empty.
182    * </pre>
183    *
184    * <code>repeated .grafeas.v1.SlsaProvenance.Material materials = 4;</code>
185    */
getMaterialsOrBuilder(int index)186   io.grafeas.v1.SlsaProvenance.MaterialOrBuilder getMaterialsOrBuilder(int index);
187 }
188