• 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 MetadataOrBuilder
23     extends
24     // @@protoc_insertion_point(interface_extends:grafeas.v1.Metadata)
25     com.google.protobuf.MessageOrBuilder {
26 
27   /**
28    *
29    *
30    * <pre>
31    * Identifies the particular build invocation, which can be useful for finding
32    * associated logs or other ad-hoc analysis. The value SHOULD be globally
33    * unique, per in-toto Provenance spec.
34    * </pre>
35    *
36    * <code>string build_invocation_id = 1;</code>
37    *
38    * @return The buildInvocationId.
39    */
getBuildInvocationId()40   java.lang.String getBuildInvocationId();
41   /**
42    *
43    *
44    * <pre>
45    * Identifies the particular build invocation, which can be useful for finding
46    * associated logs or other ad-hoc analysis. The value SHOULD be globally
47    * unique, per in-toto Provenance spec.
48    * </pre>
49    *
50    * <code>string build_invocation_id = 1;</code>
51    *
52    * @return The bytes for buildInvocationId.
53    */
getBuildInvocationIdBytes()54   com.google.protobuf.ByteString getBuildInvocationIdBytes();
55 
56   /**
57    *
58    *
59    * <pre>
60    * The timestamp of when the build started.
61    * </pre>
62    *
63    * <code>.google.protobuf.Timestamp build_started_on = 2;</code>
64    *
65    * @return Whether the buildStartedOn field is set.
66    */
hasBuildStartedOn()67   boolean hasBuildStartedOn();
68   /**
69    *
70    *
71    * <pre>
72    * The timestamp of when the build started.
73    * </pre>
74    *
75    * <code>.google.protobuf.Timestamp build_started_on = 2;</code>
76    *
77    * @return The buildStartedOn.
78    */
getBuildStartedOn()79   com.google.protobuf.Timestamp getBuildStartedOn();
80   /**
81    *
82    *
83    * <pre>
84    * The timestamp of when the build started.
85    * </pre>
86    *
87    * <code>.google.protobuf.Timestamp build_started_on = 2;</code>
88    */
getBuildStartedOnOrBuilder()89   com.google.protobuf.TimestampOrBuilder getBuildStartedOnOrBuilder();
90 
91   /**
92    *
93    *
94    * <pre>
95    * The timestamp of when the build completed.
96    * </pre>
97    *
98    * <code>.google.protobuf.Timestamp build_finished_on = 3;</code>
99    *
100    * @return Whether the buildFinishedOn field is set.
101    */
hasBuildFinishedOn()102   boolean hasBuildFinishedOn();
103   /**
104    *
105    *
106    * <pre>
107    * The timestamp of when the build completed.
108    * </pre>
109    *
110    * <code>.google.protobuf.Timestamp build_finished_on = 3;</code>
111    *
112    * @return The buildFinishedOn.
113    */
getBuildFinishedOn()114   com.google.protobuf.Timestamp getBuildFinishedOn();
115   /**
116    *
117    *
118    * <pre>
119    * The timestamp of when the build completed.
120    * </pre>
121    *
122    * <code>.google.protobuf.Timestamp build_finished_on = 3;</code>
123    */
getBuildFinishedOnOrBuilder()124   com.google.protobuf.TimestampOrBuilder getBuildFinishedOnOrBuilder();
125 
126   /**
127    *
128    *
129    * <pre>
130    * Indicates that the builder claims certain fields in this message to be
131    * complete.
132    * </pre>
133    *
134    * <code>.grafeas.v1.Completeness completeness = 4;</code>
135    *
136    * @return Whether the completeness field is set.
137    */
hasCompleteness()138   boolean hasCompleteness();
139   /**
140    *
141    *
142    * <pre>
143    * Indicates that the builder claims certain fields in this message to be
144    * complete.
145    * </pre>
146    *
147    * <code>.grafeas.v1.Completeness completeness = 4;</code>
148    *
149    * @return The completeness.
150    */
getCompleteness()151   io.grafeas.v1.Completeness getCompleteness();
152   /**
153    *
154    *
155    * <pre>
156    * Indicates that the builder claims certain fields in this message to be
157    * complete.
158    * </pre>
159    *
160    * <code>.grafeas.v1.Completeness completeness = 4;</code>
161    */
getCompletenessOrBuilder()162   io.grafeas.v1.CompletenessOrBuilder getCompletenessOrBuilder();
163 
164   /**
165    *
166    *
167    * <pre>
168    * If true, the builder claims that running the recipe on materials will
169    * produce bit-for-bit identical output.
170    * </pre>
171    *
172    * <code>bool reproducible = 5;</code>
173    *
174    * @return The reproducible.
175    */
getReproducible()176   boolean getReproducible();
177 }
178