• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
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 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/devtools/cloudbuild/v1/cloudbuild.proto
18 
19 package com.google.cloudbuild.v1;
20 
21 public interface ArtifactsOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.devtools.cloudbuild.v1.Artifacts)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * A list of images to be pushed upon the successful completion of all build
31    * steps.
32    * The images will be pushed using the builder service account's credentials.
33    * The digests of the pushed images will be stored in the Build resource's
34    * results field.
35    * If any of the images fail to be pushed, the build is marked FAILURE.
36    * </pre>
37    *
38    * <code>repeated string images = 1;</code>
39    *
40    * @return A list containing the images.
41    */
getImagesList()42   java.util.List<java.lang.String> getImagesList();
43   /**
44    *
45    *
46    * <pre>
47    * A list of images to be pushed upon the successful completion of all build
48    * steps.
49    * The images will be pushed using the builder service account's credentials.
50    * The digests of the pushed images will be stored in the Build resource's
51    * results field.
52    * If any of the images fail to be pushed, the build is marked FAILURE.
53    * </pre>
54    *
55    * <code>repeated string images = 1;</code>
56    *
57    * @return The count of images.
58    */
getImagesCount()59   int getImagesCount();
60   /**
61    *
62    *
63    * <pre>
64    * A list of images to be pushed upon the successful completion of all build
65    * steps.
66    * The images will be pushed using the builder service account's credentials.
67    * The digests of the pushed images will be stored in the Build resource's
68    * results field.
69    * If any of the images fail to be pushed, the build is marked FAILURE.
70    * </pre>
71    *
72    * <code>repeated string images = 1;</code>
73    *
74    * @param index The index of the element to return.
75    * @return The images at the given index.
76    */
getImages(int index)77   java.lang.String getImages(int index);
78   /**
79    *
80    *
81    * <pre>
82    * A list of images to be pushed upon the successful completion of all build
83    * steps.
84    * The images will be pushed using the builder service account's credentials.
85    * The digests of the pushed images will be stored in the Build resource's
86    * results field.
87    * If any of the images fail to be pushed, the build is marked FAILURE.
88    * </pre>
89    *
90    * <code>repeated string images = 1;</code>
91    *
92    * @param index The index of the value to return.
93    * @return The bytes of the images at the given index.
94    */
getImagesBytes(int index)95   com.google.protobuf.ByteString getImagesBytes(int index);
96 
97   /**
98    *
99    *
100    * <pre>
101    * A list of objects to be uploaded to Cloud Storage upon successful
102    * completion of all build steps.
103    * Files in the workspace matching specified paths globs will be uploaded to
104    * the specified Cloud Storage location using the builder service account's
105    * credentials.
106    * The location and generation of the uploaded objects will be stored in the
107    * Build resource's results field.
108    * If any objects fail to be pushed, the build is marked FAILURE.
109    * </pre>
110    *
111    * <code>.google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects objects = 2;</code>
112    *
113    * @return Whether the objects field is set.
114    */
hasObjects()115   boolean hasObjects();
116   /**
117    *
118    *
119    * <pre>
120    * A list of objects to be uploaded to Cloud Storage upon successful
121    * completion of all build steps.
122    * Files in the workspace matching specified paths globs will be uploaded to
123    * the specified Cloud Storage location using the builder service account's
124    * credentials.
125    * The location and generation of the uploaded objects will be stored in the
126    * Build resource's results field.
127    * If any objects fail to be pushed, the build is marked FAILURE.
128    * </pre>
129    *
130    * <code>.google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects objects = 2;</code>
131    *
132    * @return The objects.
133    */
getObjects()134   com.google.cloudbuild.v1.Artifacts.ArtifactObjects getObjects();
135   /**
136    *
137    *
138    * <pre>
139    * A list of objects to be uploaded to Cloud Storage upon successful
140    * completion of all build steps.
141    * Files in the workspace matching specified paths globs will be uploaded to
142    * the specified Cloud Storage location using the builder service account's
143    * credentials.
144    * The location and generation of the uploaded objects will be stored in the
145    * Build resource's results field.
146    * If any objects fail to be pushed, the build is marked FAILURE.
147    * </pre>
148    *
149    * <code>.google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects objects = 2;</code>
150    */
getObjectsOrBuilder()151   com.google.cloudbuild.v1.Artifacts.ArtifactObjectsOrBuilder getObjectsOrBuilder();
152 
153   /**
154    *
155    *
156    * <pre>
157    * A list of Maven artifacts to be uploaded to Artifact Registry upon
158    * successful completion of all build steps.
159    * Artifacts in the workspace matching specified paths globs will be uploaded
160    * to the specified Artifact Registry repository using the builder service
161    * account's credentials.
162    * If any artifacts fail to be pushed, the build is marked FAILURE.
163    * </pre>
164    *
165    * <code>repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
166    * </code>
167    */
getMavenArtifactsList()168   java.util.List<com.google.cloudbuild.v1.Artifacts.MavenArtifact> getMavenArtifactsList();
169   /**
170    *
171    *
172    * <pre>
173    * A list of Maven artifacts to be uploaded to Artifact Registry upon
174    * successful completion of all build steps.
175    * Artifacts in the workspace matching specified paths globs will be uploaded
176    * to the specified Artifact Registry repository using the builder service
177    * account's credentials.
178    * If any artifacts fail to be pushed, the build is marked FAILURE.
179    * </pre>
180    *
181    * <code>repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
182    * </code>
183    */
getMavenArtifacts(int index)184   com.google.cloudbuild.v1.Artifacts.MavenArtifact getMavenArtifacts(int index);
185   /**
186    *
187    *
188    * <pre>
189    * A list of Maven artifacts to be uploaded to Artifact Registry upon
190    * successful completion of all build steps.
191    * Artifacts in the workspace matching specified paths globs will be uploaded
192    * to the specified Artifact Registry repository using the builder service
193    * account's credentials.
194    * If any artifacts fail to be pushed, the build is marked FAILURE.
195    * </pre>
196    *
197    * <code>repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
198    * </code>
199    */
getMavenArtifactsCount()200   int getMavenArtifactsCount();
201   /**
202    *
203    *
204    * <pre>
205    * A list of Maven artifacts to be uploaded to Artifact Registry upon
206    * successful completion of all build steps.
207    * Artifacts in the workspace matching specified paths globs will be uploaded
208    * to the specified Artifact Registry repository using the builder service
209    * account's credentials.
210    * If any artifacts fail to be pushed, the build is marked FAILURE.
211    * </pre>
212    *
213    * <code>repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
214    * </code>
215    */
216   java.util.List<? extends com.google.cloudbuild.v1.Artifacts.MavenArtifactOrBuilder>
getMavenArtifactsOrBuilderList()217       getMavenArtifactsOrBuilderList();
218   /**
219    *
220    *
221    * <pre>
222    * A list of Maven artifacts to be uploaded to Artifact Registry upon
223    * successful completion of all build steps.
224    * Artifacts in the workspace matching specified paths globs will be uploaded
225    * to the specified Artifact Registry repository using the builder service
226    * account's credentials.
227    * If any artifacts fail to be pushed, the build is marked FAILURE.
228    * </pre>
229    *
230    * <code>repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
231    * </code>
232    */
getMavenArtifactsOrBuilder(int index)233   com.google.cloudbuild.v1.Artifacts.MavenArtifactOrBuilder getMavenArtifactsOrBuilder(int index);
234 
235   /**
236    *
237    *
238    * <pre>
239    * A list of Python packages to be uploaded to Artifact Registry upon
240    * successful completion of all build steps.
241    * The build service account credentials will be used to perform the upload.
242    * If any objects fail to be pushed, the build is marked FAILURE.
243    * </pre>
244    *
245    * <code>repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
246    * </code>
247    */
getPythonPackagesList()248   java.util.List<com.google.cloudbuild.v1.Artifacts.PythonPackage> getPythonPackagesList();
249   /**
250    *
251    *
252    * <pre>
253    * A list of Python packages to be uploaded to Artifact Registry upon
254    * successful completion of all build steps.
255    * The build service account credentials will be used to perform the upload.
256    * If any objects fail to be pushed, the build is marked FAILURE.
257    * </pre>
258    *
259    * <code>repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
260    * </code>
261    */
getPythonPackages(int index)262   com.google.cloudbuild.v1.Artifacts.PythonPackage getPythonPackages(int index);
263   /**
264    *
265    *
266    * <pre>
267    * A list of Python packages to be uploaded to Artifact Registry upon
268    * successful completion of all build steps.
269    * The build service account credentials will be used to perform the upload.
270    * If any objects fail to be pushed, the build is marked FAILURE.
271    * </pre>
272    *
273    * <code>repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
274    * </code>
275    */
getPythonPackagesCount()276   int getPythonPackagesCount();
277   /**
278    *
279    *
280    * <pre>
281    * A list of Python packages to be uploaded to Artifact Registry upon
282    * successful completion of all build steps.
283    * The build service account credentials will be used to perform the upload.
284    * If any objects fail to be pushed, the build is marked FAILURE.
285    * </pre>
286    *
287    * <code>repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
288    * </code>
289    */
290   java.util.List<? extends com.google.cloudbuild.v1.Artifacts.PythonPackageOrBuilder>
getPythonPackagesOrBuilderList()291       getPythonPackagesOrBuilderList();
292   /**
293    *
294    *
295    * <pre>
296    * A list of Python packages to be uploaded to Artifact Registry upon
297    * successful completion of all build steps.
298    * The build service account credentials will be used to perform the upload.
299    * If any objects fail to be pushed, the build is marked FAILURE.
300    * </pre>
301    *
302    * <code>repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
303    * </code>
304    */
getPythonPackagesOrBuilder(int index)305   com.google.cloudbuild.v1.Artifacts.PythonPackageOrBuilder getPythonPackagesOrBuilder(int index);
306 
307   /**
308    *
309    *
310    * <pre>
311    * A list of npm packages to be uploaded to Artifact Registry upon
312    * successful completion of all build steps.
313    * Npm packages in the specified paths will be uploaded
314    * to the specified Artifact Registry repository using the builder service
315    * account's credentials.
316    * If any packages fail to be pushed, the build is marked FAILURE.
317    * </pre>
318    *
319    * <code>repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;</code>
320    */
getNpmPackagesList()321   java.util.List<com.google.cloudbuild.v1.Artifacts.NpmPackage> getNpmPackagesList();
322   /**
323    *
324    *
325    * <pre>
326    * A list of npm packages to be uploaded to Artifact Registry upon
327    * successful completion of all build steps.
328    * Npm packages in the specified paths will be uploaded
329    * to the specified Artifact Registry repository using the builder service
330    * account's credentials.
331    * If any packages fail to be pushed, the build is marked FAILURE.
332    * </pre>
333    *
334    * <code>repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;</code>
335    */
getNpmPackages(int index)336   com.google.cloudbuild.v1.Artifacts.NpmPackage getNpmPackages(int index);
337   /**
338    *
339    *
340    * <pre>
341    * A list of npm packages to be uploaded to Artifact Registry upon
342    * successful completion of all build steps.
343    * Npm packages in the specified paths will be uploaded
344    * to the specified Artifact Registry repository using the builder service
345    * account's credentials.
346    * If any packages fail to be pushed, the build is marked FAILURE.
347    * </pre>
348    *
349    * <code>repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;</code>
350    */
getNpmPackagesCount()351   int getNpmPackagesCount();
352   /**
353    *
354    *
355    * <pre>
356    * A list of npm packages to be uploaded to Artifact Registry upon
357    * successful completion of all build steps.
358    * Npm packages in the specified paths will be uploaded
359    * to the specified Artifact Registry repository using the builder service
360    * account's credentials.
361    * If any packages fail to be pushed, the build is marked FAILURE.
362    * </pre>
363    *
364    * <code>repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;</code>
365    */
366   java.util.List<? extends com.google.cloudbuild.v1.Artifacts.NpmPackageOrBuilder>
getNpmPackagesOrBuilderList()367       getNpmPackagesOrBuilderList();
368   /**
369    *
370    *
371    * <pre>
372    * A list of npm packages to be uploaded to Artifact Registry upon
373    * successful completion of all build steps.
374    * Npm packages in the specified paths will be uploaded
375    * to the specified Artifact Registry repository using the builder service
376    * account's credentials.
377    * If any packages fail to be pushed, the build is marked FAILURE.
378    * </pre>
379    *
380    * <code>repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;</code>
381    */
getNpmPackagesOrBuilder(int index)382   com.google.cloudbuild.v1.Artifacts.NpmPackageOrBuilder getNpmPackagesOrBuilder(int index);
383 }
384