• 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/intoto_provenance.proto
19 
20 package io.grafeas.v1;
21 
22 public interface RecipeOrBuilder
23     extends
24     // @@protoc_insertion_point(interface_extends:grafeas.v1.Recipe)
25     com.google.protobuf.MessageOrBuilder {
26 
27   /**
28    *
29    *
30    * <pre>
31    * URI indicating what type of recipe was performed. It determines the meaning
32    * of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
33    * </pre>
34    *
35    * <code>string type = 1;</code>
36    *
37    * @return The type.
38    */
getType()39   java.lang.String getType();
40   /**
41    *
42    *
43    * <pre>
44    * URI indicating what type of recipe was performed. It determines the meaning
45    * of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
46    * </pre>
47    *
48    * <code>string type = 1;</code>
49    *
50    * @return The bytes for type.
51    */
getTypeBytes()52   com.google.protobuf.ByteString getTypeBytes();
53 
54   /**
55    *
56    *
57    * <pre>
58    * Index in materials containing the recipe steps that are not implied by
59    * recipe.type. For example, if the recipe type were "make", then this would
60    * point to the source containing the Makefile, not the make program itself.
61    * Set to -1 if the recipe doesn't come from a material, as zero is default
62    * unset value for int64.
63    * </pre>
64    *
65    * <code>int64 defined_in_material = 2;</code>
66    *
67    * @return The definedInMaterial.
68    */
getDefinedInMaterial()69   long getDefinedInMaterial();
70 
71   /**
72    *
73    *
74    * <pre>
75    * String identifying the entry point into the build.
76    * This is often a path to a configuration file and/or a target label within
77    * that file. The syntax and meaning are defined by recipe.type. For example,
78    * if the recipe type were "make", then this would reference the directory in
79    * which to run make as well as which target to use.
80    * </pre>
81    *
82    * <code>string entry_point = 3;</code>
83    *
84    * @return The entryPoint.
85    */
getEntryPoint()86   java.lang.String getEntryPoint();
87   /**
88    *
89    *
90    * <pre>
91    * String identifying the entry point into the build.
92    * This is often a path to a configuration file and/or a target label within
93    * that file. The syntax and meaning are defined by recipe.type. For example,
94    * if the recipe type were "make", then this would reference the directory in
95    * which to run make as well as which target to use.
96    * </pre>
97    *
98    * <code>string entry_point = 3;</code>
99    *
100    * @return The bytes for entryPoint.
101    */
getEntryPointBytes()102   com.google.protobuf.ByteString getEntryPointBytes();
103 
104   /**
105    *
106    *
107    * <pre>
108    * Collection of all external inputs that influenced the build on top of
109    * recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe
110    * type were "make", then this might be the flags passed to make aside from
111    * the target, which is captured in recipe.entryPoint. Since the arguments
112    * field can greatly vary in structure, depending on the builder and recipe
113    * type, this is of form "Any".
114    * </pre>
115    *
116    * <code>repeated .google.protobuf.Any arguments = 4;</code>
117    */
getArgumentsList()118   java.util.List<com.google.protobuf.Any> getArgumentsList();
119   /**
120    *
121    *
122    * <pre>
123    * Collection of all external inputs that influenced the build on top of
124    * recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe
125    * type were "make", then this might be the flags passed to make aside from
126    * the target, which is captured in recipe.entryPoint. Since the arguments
127    * field can greatly vary in structure, depending on the builder and recipe
128    * type, this is of form "Any".
129    * </pre>
130    *
131    * <code>repeated .google.protobuf.Any arguments = 4;</code>
132    */
getArguments(int index)133   com.google.protobuf.Any getArguments(int index);
134   /**
135    *
136    *
137    * <pre>
138    * Collection of all external inputs that influenced the build on top of
139    * recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe
140    * type were "make", then this might be the flags passed to make aside from
141    * the target, which is captured in recipe.entryPoint. Since the arguments
142    * field can greatly vary in structure, depending on the builder and recipe
143    * type, this is of form "Any".
144    * </pre>
145    *
146    * <code>repeated .google.protobuf.Any arguments = 4;</code>
147    */
getArgumentsCount()148   int getArgumentsCount();
149   /**
150    *
151    *
152    * <pre>
153    * Collection of all external inputs that influenced the build on top of
154    * recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe
155    * type were "make", then this might be the flags passed to make aside from
156    * the target, which is captured in recipe.entryPoint. Since the arguments
157    * field can greatly vary in structure, depending on the builder and recipe
158    * type, this is of form "Any".
159    * </pre>
160    *
161    * <code>repeated .google.protobuf.Any arguments = 4;</code>
162    */
getArgumentsOrBuilderList()163   java.util.List<? extends com.google.protobuf.AnyOrBuilder> getArgumentsOrBuilderList();
164   /**
165    *
166    *
167    * <pre>
168    * Collection of all external inputs that influenced the build on top of
169    * recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe
170    * type were "make", then this might be the flags passed to make aside from
171    * the target, which is captured in recipe.entryPoint. Since the arguments
172    * field can greatly vary in structure, depending on the builder and recipe
173    * type, this is of form "Any".
174    * </pre>
175    *
176    * <code>repeated .google.protobuf.Any arguments = 4;</code>
177    */
getArgumentsOrBuilder(int index)178   com.google.protobuf.AnyOrBuilder getArgumentsOrBuilder(int index);
179 
180   /**
181    *
182    *
183    * <pre>
184    * Any other builder-controlled inputs necessary for correctly evaluating the
185    * recipe. Usually only needed for reproducing the build but not evaluated as
186    * part of policy. Since the environment field can greatly vary in structure,
187    * depending on the builder and recipe type, this is of form "Any".
188    * </pre>
189    *
190    * <code>repeated .google.protobuf.Any environment = 5;</code>
191    */
getEnvironmentList()192   java.util.List<com.google.protobuf.Any> getEnvironmentList();
193   /**
194    *
195    *
196    * <pre>
197    * Any other builder-controlled inputs necessary for correctly evaluating the
198    * recipe. Usually only needed for reproducing the build but not evaluated as
199    * part of policy. Since the environment field can greatly vary in structure,
200    * depending on the builder and recipe type, this is of form "Any".
201    * </pre>
202    *
203    * <code>repeated .google.protobuf.Any environment = 5;</code>
204    */
getEnvironment(int index)205   com.google.protobuf.Any getEnvironment(int index);
206   /**
207    *
208    *
209    * <pre>
210    * Any other builder-controlled inputs necessary for correctly evaluating the
211    * recipe. Usually only needed for reproducing the build but not evaluated as
212    * part of policy. Since the environment field can greatly vary in structure,
213    * depending on the builder and recipe type, this is of form "Any".
214    * </pre>
215    *
216    * <code>repeated .google.protobuf.Any environment = 5;</code>
217    */
getEnvironmentCount()218   int getEnvironmentCount();
219   /**
220    *
221    *
222    * <pre>
223    * Any other builder-controlled inputs necessary for correctly evaluating the
224    * recipe. Usually only needed for reproducing the build but not evaluated as
225    * part of policy. Since the environment field can greatly vary in structure,
226    * depending on the builder and recipe type, this is of form "Any".
227    * </pre>
228    *
229    * <code>repeated .google.protobuf.Any environment = 5;</code>
230    */
getEnvironmentOrBuilderList()231   java.util.List<? extends com.google.protobuf.AnyOrBuilder> getEnvironmentOrBuilderList();
232   /**
233    *
234    *
235    * <pre>
236    * Any other builder-controlled inputs necessary for correctly evaluating the
237    * recipe. Usually only needed for reproducing the build but not evaluated as
238    * part of policy. Since the environment field can greatly vary in structure,
239    * depending on the builder and recipe type, this is of form "Any".
240    * </pre>
241    *
242    * <code>repeated .google.protobuf.Any environment = 5;</code>
243    */
getEnvironmentOrBuilder(int index)244   com.google.protobuf.AnyOrBuilder getEnvironmentOrBuilder(int index);
245 }
246