• 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/provenance.proto
19 
20 package io.grafeas.v1;
21 
22 public interface BuildProvenanceOrBuilder
23     extends
24     // @@protoc_insertion_point(interface_extends:grafeas.v1.BuildProvenance)
25     com.google.protobuf.MessageOrBuilder {
26 
27   /**
28    *
29    *
30    * <pre>
31    * Required. Unique identifier of the build.
32    * </pre>
33    *
34    * <code>string id = 1;</code>
35    *
36    * @return The id.
37    */
getId()38   java.lang.String getId();
39   /**
40    *
41    *
42    * <pre>
43    * Required. Unique identifier of the build.
44    * </pre>
45    *
46    * <code>string id = 1;</code>
47    *
48    * @return The bytes for id.
49    */
getIdBytes()50   com.google.protobuf.ByteString getIdBytes();
51 
52   /**
53    *
54    *
55    * <pre>
56    * ID of the project.
57    * </pre>
58    *
59    * <code>string project_id = 2;</code>
60    *
61    * @return The projectId.
62    */
getProjectId()63   java.lang.String getProjectId();
64   /**
65    *
66    *
67    * <pre>
68    * ID of the project.
69    * </pre>
70    *
71    * <code>string project_id = 2;</code>
72    *
73    * @return The bytes for projectId.
74    */
getProjectIdBytes()75   com.google.protobuf.ByteString getProjectIdBytes();
76 
77   /**
78    *
79    *
80    * <pre>
81    * Commands requested by the build.
82    * </pre>
83    *
84    * <code>repeated .grafeas.v1.Command commands = 3;</code>
85    */
getCommandsList()86   java.util.List<io.grafeas.v1.Command> getCommandsList();
87   /**
88    *
89    *
90    * <pre>
91    * Commands requested by the build.
92    * </pre>
93    *
94    * <code>repeated .grafeas.v1.Command commands = 3;</code>
95    */
getCommands(int index)96   io.grafeas.v1.Command getCommands(int index);
97   /**
98    *
99    *
100    * <pre>
101    * Commands requested by the build.
102    * </pre>
103    *
104    * <code>repeated .grafeas.v1.Command commands = 3;</code>
105    */
getCommandsCount()106   int getCommandsCount();
107   /**
108    *
109    *
110    * <pre>
111    * Commands requested by the build.
112    * </pre>
113    *
114    * <code>repeated .grafeas.v1.Command commands = 3;</code>
115    */
getCommandsOrBuilderList()116   java.util.List<? extends io.grafeas.v1.CommandOrBuilder> getCommandsOrBuilderList();
117   /**
118    *
119    *
120    * <pre>
121    * Commands requested by the build.
122    * </pre>
123    *
124    * <code>repeated .grafeas.v1.Command commands = 3;</code>
125    */
getCommandsOrBuilder(int index)126   io.grafeas.v1.CommandOrBuilder getCommandsOrBuilder(int index);
127 
128   /**
129    *
130    *
131    * <pre>
132    * Output of the build.
133    * </pre>
134    *
135    * <code>repeated .grafeas.v1.Artifact built_artifacts = 4;</code>
136    */
getBuiltArtifactsList()137   java.util.List<io.grafeas.v1.Artifact> getBuiltArtifactsList();
138   /**
139    *
140    *
141    * <pre>
142    * Output of the build.
143    * </pre>
144    *
145    * <code>repeated .grafeas.v1.Artifact built_artifacts = 4;</code>
146    */
getBuiltArtifacts(int index)147   io.grafeas.v1.Artifact getBuiltArtifacts(int index);
148   /**
149    *
150    *
151    * <pre>
152    * Output of the build.
153    * </pre>
154    *
155    * <code>repeated .grafeas.v1.Artifact built_artifacts = 4;</code>
156    */
getBuiltArtifactsCount()157   int getBuiltArtifactsCount();
158   /**
159    *
160    *
161    * <pre>
162    * Output of the build.
163    * </pre>
164    *
165    * <code>repeated .grafeas.v1.Artifact built_artifacts = 4;</code>
166    */
getBuiltArtifactsOrBuilderList()167   java.util.List<? extends io.grafeas.v1.ArtifactOrBuilder> getBuiltArtifactsOrBuilderList();
168   /**
169    *
170    *
171    * <pre>
172    * Output of the build.
173    * </pre>
174    *
175    * <code>repeated .grafeas.v1.Artifact built_artifacts = 4;</code>
176    */
getBuiltArtifactsOrBuilder(int index)177   io.grafeas.v1.ArtifactOrBuilder getBuiltArtifactsOrBuilder(int index);
178 
179   /**
180    *
181    *
182    * <pre>
183    * Time at which the build was created.
184    * </pre>
185    *
186    * <code>.google.protobuf.Timestamp create_time = 5;</code>
187    *
188    * @return Whether the createTime field is set.
189    */
hasCreateTime()190   boolean hasCreateTime();
191   /**
192    *
193    *
194    * <pre>
195    * Time at which the build was created.
196    * </pre>
197    *
198    * <code>.google.protobuf.Timestamp create_time = 5;</code>
199    *
200    * @return The createTime.
201    */
getCreateTime()202   com.google.protobuf.Timestamp getCreateTime();
203   /**
204    *
205    *
206    * <pre>
207    * Time at which the build was created.
208    * </pre>
209    *
210    * <code>.google.protobuf.Timestamp create_time = 5;</code>
211    */
getCreateTimeOrBuilder()212   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
213 
214   /**
215    *
216    *
217    * <pre>
218    * Time at which execution of the build was started.
219    * </pre>
220    *
221    * <code>.google.protobuf.Timestamp start_time = 6;</code>
222    *
223    * @return Whether the startTime field is set.
224    */
hasStartTime()225   boolean hasStartTime();
226   /**
227    *
228    *
229    * <pre>
230    * Time at which execution of the build was started.
231    * </pre>
232    *
233    * <code>.google.protobuf.Timestamp start_time = 6;</code>
234    *
235    * @return The startTime.
236    */
getStartTime()237   com.google.protobuf.Timestamp getStartTime();
238   /**
239    *
240    *
241    * <pre>
242    * Time at which execution of the build was started.
243    * </pre>
244    *
245    * <code>.google.protobuf.Timestamp start_time = 6;</code>
246    */
getStartTimeOrBuilder()247   com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
248 
249   /**
250    *
251    *
252    * <pre>
253    * Time at which execution of the build was finished.
254    * </pre>
255    *
256    * <code>.google.protobuf.Timestamp end_time = 7;</code>
257    *
258    * @return Whether the endTime field is set.
259    */
hasEndTime()260   boolean hasEndTime();
261   /**
262    *
263    *
264    * <pre>
265    * Time at which execution of the build was finished.
266    * </pre>
267    *
268    * <code>.google.protobuf.Timestamp end_time = 7;</code>
269    *
270    * @return The endTime.
271    */
getEndTime()272   com.google.protobuf.Timestamp getEndTime();
273   /**
274    *
275    *
276    * <pre>
277    * Time at which execution of the build was finished.
278    * </pre>
279    *
280    * <code>.google.protobuf.Timestamp end_time = 7;</code>
281    */
getEndTimeOrBuilder()282   com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
283 
284   /**
285    *
286    *
287    * <pre>
288    * E-mail address of the user who initiated this build. Note that this was the
289    * user's e-mail address at the time the build was initiated; this address may
290    * not represent the same end-user for all time.
291    * </pre>
292    *
293    * <code>string creator = 8;</code>
294    *
295    * @return The creator.
296    */
getCreator()297   java.lang.String getCreator();
298   /**
299    *
300    *
301    * <pre>
302    * E-mail address of the user who initiated this build. Note that this was the
303    * user's e-mail address at the time the build was initiated; this address may
304    * not represent the same end-user for all time.
305    * </pre>
306    *
307    * <code>string creator = 8;</code>
308    *
309    * @return The bytes for creator.
310    */
getCreatorBytes()311   com.google.protobuf.ByteString getCreatorBytes();
312 
313   /**
314    *
315    *
316    * <pre>
317    * URI where any logs for this provenance were written.
318    * </pre>
319    *
320    * <code>string logs_uri = 9;</code>
321    *
322    * @return The logsUri.
323    */
getLogsUri()324   java.lang.String getLogsUri();
325   /**
326    *
327    *
328    * <pre>
329    * URI where any logs for this provenance were written.
330    * </pre>
331    *
332    * <code>string logs_uri = 9;</code>
333    *
334    * @return The bytes for logsUri.
335    */
getLogsUriBytes()336   com.google.protobuf.ByteString getLogsUriBytes();
337 
338   /**
339    *
340    *
341    * <pre>
342    * Details of the Source input to the build.
343    * </pre>
344    *
345    * <code>.grafeas.v1.Source source_provenance = 10;</code>
346    *
347    * @return Whether the sourceProvenance field is set.
348    */
hasSourceProvenance()349   boolean hasSourceProvenance();
350   /**
351    *
352    *
353    * <pre>
354    * Details of the Source input to the build.
355    * </pre>
356    *
357    * <code>.grafeas.v1.Source source_provenance = 10;</code>
358    *
359    * @return The sourceProvenance.
360    */
getSourceProvenance()361   io.grafeas.v1.Source getSourceProvenance();
362   /**
363    *
364    *
365    * <pre>
366    * Details of the Source input to the build.
367    * </pre>
368    *
369    * <code>.grafeas.v1.Source source_provenance = 10;</code>
370    */
getSourceProvenanceOrBuilder()371   io.grafeas.v1.SourceOrBuilder getSourceProvenanceOrBuilder();
372 
373   /**
374    *
375    *
376    * <pre>
377    * Trigger identifier if the build was triggered automatically; empty if not.
378    * </pre>
379    *
380    * <code>string trigger_id = 11;</code>
381    *
382    * @return The triggerId.
383    */
getTriggerId()384   java.lang.String getTriggerId();
385   /**
386    *
387    *
388    * <pre>
389    * Trigger identifier if the build was triggered automatically; empty if not.
390    * </pre>
391    *
392    * <code>string trigger_id = 11;</code>
393    *
394    * @return The bytes for triggerId.
395    */
getTriggerIdBytes()396   com.google.protobuf.ByteString getTriggerIdBytes();
397 
398   /**
399    *
400    *
401    * <pre>
402    * Special options applied to this build. This is a catch-all field where
403    * build providers can enter any desired additional details.
404    * </pre>
405    *
406    * <code>map&lt;string, string&gt; build_options = 12;</code>
407    */
getBuildOptionsCount()408   int getBuildOptionsCount();
409   /**
410    *
411    *
412    * <pre>
413    * Special options applied to this build. This is a catch-all field where
414    * build providers can enter any desired additional details.
415    * </pre>
416    *
417    * <code>map&lt;string, string&gt; build_options = 12;</code>
418    */
containsBuildOptions(java.lang.String key)419   boolean containsBuildOptions(java.lang.String key);
420   /** Use {@link #getBuildOptionsMap()} instead. */
421   @java.lang.Deprecated
getBuildOptions()422   java.util.Map<java.lang.String, java.lang.String> getBuildOptions();
423   /**
424    *
425    *
426    * <pre>
427    * Special options applied to this build. This is a catch-all field where
428    * build providers can enter any desired additional details.
429    * </pre>
430    *
431    * <code>map&lt;string, string&gt; build_options = 12;</code>
432    */
getBuildOptionsMap()433   java.util.Map<java.lang.String, java.lang.String> getBuildOptionsMap();
434   /**
435    *
436    *
437    * <pre>
438    * Special options applied to this build. This is a catch-all field where
439    * build providers can enter any desired additional details.
440    * </pre>
441    *
442    * <code>map&lt;string, string&gt; build_options = 12;</code>
443    */
444   /* nullable */
getBuildOptionsOrDefault( java.lang.String key, java.lang.String defaultValue)445   java.lang.String getBuildOptionsOrDefault(
446       java.lang.String key,
447       /* nullable */
448       java.lang.String defaultValue);
449   /**
450    *
451    *
452    * <pre>
453    * Special options applied to this build. This is a catch-all field where
454    * build providers can enter any desired additional details.
455    * </pre>
456    *
457    * <code>map&lt;string, string&gt; build_options = 12;</code>
458    */
getBuildOptionsOrThrow(java.lang.String key)459   java.lang.String getBuildOptionsOrThrow(java.lang.String key);
460 
461   /**
462    *
463    *
464    * <pre>
465    * Version string of the builder at the time this build was executed.
466    * </pre>
467    *
468    * <code>string builder_version = 13;</code>
469    *
470    * @return The builderVersion.
471    */
getBuilderVersion()472   java.lang.String getBuilderVersion();
473   /**
474    *
475    *
476    * <pre>
477    * Version string of the builder at the time this build was executed.
478    * </pre>
479    *
480    * <code>string builder_version = 13;</code>
481    *
482    * @return The bytes for builderVersion.
483    */
getBuilderVersionBytes()484   com.google.protobuf.ByteString getBuilderVersionBytes();
485 }
486