• 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 CommandOrBuilder
23     extends
24     // @@protoc_insertion_point(interface_extends:grafeas.v1.Command)
25     com.google.protobuf.MessageOrBuilder {
26 
27   /**
28    *
29    *
30    * <pre>
31    * Required. Name of the command, as presented on the command line, or if the
32    * command is packaged as a Docker container, as presented to `docker pull`.
33    * </pre>
34    *
35    * <code>string name = 1;</code>
36    *
37    * @return The name.
38    */
getName()39   java.lang.String getName();
40   /**
41    *
42    *
43    * <pre>
44    * Required. Name of the command, as presented on the command line, or if the
45    * command is packaged as a Docker container, as presented to `docker pull`.
46    * </pre>
47    *
48    * <code>string name = 1;</code>
49    *
50    * @return The bytes for name.
51    */
getNameBytes()52   com.google.protobuf.ByteString getNameBytes();
53 
54   /**
55    *
56    *
57    * <pre>
58    * Environment variables set before running this command.
59    * </pre>
60    *
61    * <code>repeated string env = 2;</code>
62    *
63    * @return A list containing the env.
64    */
getEnvList()65   java.util.List<java.lang.String> getEnvList();
66   /**
67    *
68    *
69    * <pre>
70    * Environment variables set before running this command.
71    * </pre>
72    *
73    * <code>repeated string env = 2;</code>
74    *
75    * @return The count of env.
76    */
getEnvCount()77   int getEnvCount();
78   /**
79    *
80    *
81    * <pre>
82    * Environment variables set before running this command.
83    * </pre>
84    *
85    * <code>repeated string env = 2;</code>
86    *
87    * @param index The index of the element to return.
88    * @return The env at the given index.
89    */
getEnv(int index)90   java.lang.String getEnv(int index);
91   /**
92    *
93    *
94    * <pre>
95    * Environment variables set before running this command.
96    * </pre>
97    *
98    * <code>repeated string env = 2;</code>
99    *
100    * @param index The index of the value to return.
101    * @return The bytes of the env at the given index.
102    */
getEnvBytes(int index)103   com.google.protobuf.ByteString getEnvBytes(int index);
104 
105   /**
106    *
107    *
108    * <pre>
109    * Command-line arguments used when executing this command.
110    * </pre>
111    *
112    * <code>repeated string args = 3;</code>
113    *
114    * @return A list containing the args.
115    */
getArgsList()116   java.util.List<java.lang.String> getArgsList();
117   /**
118    *
119    *
120    * <pre>
121    * Command-line arguments used when executing this command.
122    * </pre>
123    *
124    * <code>repeated string args = 3;</code>
125    *
126    * @return The count of args.
127    */
getArgsCount()128   int getArgsCount();
129   /**
130    *
131    *
132    * <pre>
133    * Command-line arguments used when executing this command.
134    * </pre>
135    *
136    * <code>repeated string args = 3;</code>
137    *
138    * @param index The index of the element to return.
139    * @return The args at the given index.
140    */
getArgs(int index)141   java.lang.String getArgs(int index);
142   /**
143    *
144    *
145    * <pre>
146    * Command-line arguments used when executing this command.
147    * </pre>
148    *
149    * <code>repeated string args = 3;</code>
150    *
151    * @param index The index of the value to return.
152    * @return The bytes of the args at the given index.
153    */
getArgsBytes(int index)154   com.google.protobuf.ByteString getArgsBytes(int index);
155 
156   /**
157    *
158    *
159    * <pre>
160    * Working directory (relative to project source root) used when running this
161    * command.
162    * </pre>
163    *
164    * <code>string dir = 4;</code>
165    *
166    * @return The dir.
167    */
getDir()168   java.lang.String getDir();
169   /**
170    *
171    *
172    * <pre>
173    * Working directory (relative to project source root) used when running this
174    * command.
175    * </pre>
176    *
177    * <code>string dir = 4;</code>
178    *
179    * @return The bytes for dir.
180    */
getDirBytes()181   com.google.protobuf.ByteString getDirBytes();
182 
183   /**
184    *
185    *
186    * <pre>
187    * Optional unique identifier for this command, used in wait_for to reference
188    * this command as a dependency.
189    * </pre>
190    *
191    * <code>string id = 5;</code>
192    *
193    * @return The id.
194    */
getId()195   java.lang.String getId();
196   /**
197    *
198    *
199    * <pre>
200    * Optional unique identifier for this command, used in wait_for to reference
201    * this command as a dependency.
202    * </pre>
203    *
204    * <code>string id = 5;</code>
205    *
206    * @return The bytes for id.
207    */
getIdBytes()208   com.google.protobuf.ByteString getIdBytes();
209 
210   /**
211    *
212    *
213    * <pre>
214    * The ID(s) of the command(s) that this command depends on.
215    * </pre>
216    *
217    * <code>repeated string wait_for = 6;</code>
218    *
219    * @return A list containing the waitFor.
220    */
getWaitForList()221   java.util.List<java.lang.String> getWaitForList();
222   /**
223    *
224    *
225    * <pre>
226    * The ID(s) of the command(s) that this command depends on.
227    * </pre>
228    *
229    * <code>repeated string wait_for = 6;</code>
230    *
231    * @return The count of waitFor.
232    */
getWaitForCount()233   int getWaitForCount();
234   /**
235    *
236    *
237    * <pre>
238    * The ID(s) of the command(s) that this command depends on.
239    * </pre>
240    *
241    * <code>repeated string wait_for = 6;</code>
242    *
243    * @param index The index of the element to return.
244    * @return The waitFor at the given index.
245    */
getWaitFor(int index)246   java.lang.String getWaitFor(int index);
247   /**
248    *
249    *
250    * <pre>
251    * The ID(s) of the command(s) that this command depends on.
252    * </pre>
253    *
254    * <code>repeated string wait_for = 6;</code>
255    *
256    * @param index The index of the value to return.
257    * @return The bytes of the waitFor at the given index.
258    */
getWaitForBytes(int index)259   com.google.protobuf.ByteString getWaitForBytes(int index);
260 }
261