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 ResultsOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.devtools.cloudbuild.v1.Results) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Container images that were built as a part of the build. 31 * </pre> 32 * 33 * <code>repeated .google.devtools.cloudbuild.v1.BuiltImage images = 2;</code> 34 */ getImagesList()35 java.util.List<com.google.cloudbuild.v1.BuiltImage> getImagesList(); 36 /** 37 * 38 * 39 * <pre> 40 * Container images that were built as a part of the build. 41 * </pre> 42 * 43 * <code>repeated .google.devtools.cloudbuild.v1.BuiltImage images = 2;</code> 44 */ getImages(int index)45 com.google.cloudbuild.v1.BuiltImage getImages(int index); 46 /** 47 * 48 * 49 * <pre> 50 * Container images that were built as a part of the build. 51 * </pre> 52 * 53 * <code>repeated .google.devtools.cloudbuild.v1.BuiltImage images = 2;</code> 54 */ getImagesCount()55 int getImagesCount(); 56 /** 57 * 58 * 59 * <pre> 60 * Container images that were built as a part of the build. 61 * </pre> 62 * 63 * <code>repeated .google.devtools.cloudbuild.v1.BuiltImage images = 2;</code> 64 */ getImagesOrBuilderList()65 java.util.List<? extends com.google.cloudbuild.v1.BuiltImageOrBuilder> getImagesOrBuilderList(); 66 /** 67 * 68 * 69 * <pre> 70 * Container images that were built as a part of the build. 71 * </pre> 72 * 73 * <code>repeated .google.devtools.cloudbuild.v1.BuiltImage images = 2;</code> 74 */ getImagesOrBuilder(int index)75 com.google.cloudbuild.v1.BuiltImageOrBuilder getImagesOrBuilder(int index); 76 77 /** 78 * 79 * 80 * <pre> 81 * List of build step digests, in the order corresponding to build step 82 * indices. 83 * </pre> 84 * 85 * <code>repeated string build_step_images = 3;</code> 86 * 87 * @return A list containing the buildStepImages. 88 */ getBuildStepImagesList()89 java.util.List<java.lang.String> getBuildStepImagesList(); 90 /** 91 * 92 * 93 * <pre> 94 * List of build step digests, in the order corresponding to build step 95 * indices. 96 * </pre> 97 * 98 * <code>repeated string build_step_images = 3;</code> 99 * 100 * @return The count of buildStepImages. 101 */ getBuildStepImagesCount()102 int getBuildStepImagesCount(); 103 /** 104 * 105 * 106 * <pre> 107 * List of build step digests, in the order corresponding to build step 108 * indices. 109 * </pre> 110 * 111 * <code>repeated string build_step_images = 3;</code> 112 * 113 * @param index The index of the element to return. 114 * @return The buildStepImages at the given index. 115 */ getBuildStepImages(int index)116 java.lang.String getBuildStepImages(int index); 117 /** 118 * 119 * 120 * <pre> 121 * List of build step digests, in the order corresponding to build step 122 * indices. 123 * </pre> 124 * 125 * <code>repeated string build_step_images = 3;</code> 126 * 127 * @param index The index of the value to return. 128 * @return The bytes of the buildStepImages at the given index. 129 */ getBuildStepImagesBytes(int index)130 com.google.protobuf.ByteString getBuildStepImagesBytes(int index); 131 132 /** 133 * 134 * 135 * <pre> 136 * Path to the artifact manifest for non-container artifacts uploaded to Cloud 137 * Storage. Only populated when artifacts are uploaded to Cloud Storage. 138 * </pre> 139 * 140 * <code>string artifact_manifest = 4;</code> 141 * 142 * @return The artifactManifest. 143 */ getArtifactManifest()144 java.lang.String getArtifactManifest(); 145 /** 146 * 147 * 148 * <pre> 149 * Path to the artifact manifest for non-container artifacts uploaded to Cloud 150 * Storage. Only populated when artifacts are uploaded to Cloud Storage. 151 * </pre> 152 * 153 * <code>string artifact_manifest = 4;</code> 154 * 155 * @return The bytes for artifactManifest. 156 */ getArtifactManifestBytes()157 com.google.protobuf.ByteString getArtifactManifestBytes(); 158 159 /** 160 * 161 * 162 * <pre> 163 * Number of non-container artifacts uploaded to Cloud Storage. Only populated 164 * when artifacts are uploaded to Cloud Storage. 165 * </pre> 166 * 167 * <code>int64 num_artifacts = 5;</code> 168 * 169 * @return The numArtifacts. 170 */ getNumArtifacts()171 long getNumArtifacts(); 172 173 /** 174 * 175 * 176 * <pre> 177 * List of build step outputs, produced by builder images, in the order 178 * corresponding to build step indices. 179 * [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders) 180 * can produce this output by writing to `$BUILDER_OUTPUT/output`. 181 * Only the first 4KB of data is stored. 182 * </pre> 183 * 184 * <code>repeated bytes build_step_outputs = 6;</code> 185 * 186 * @return A list containing the buildStepOutputs. 187 */ getBuildStepOutputsList()188 java.util.List<com.google.protobuf.ByteString> getBuildStepOutputsList(); 189 /** 190 * 191 * 192 * <pre> 193 * List of build step outputs, produced by builder images, in the order 194 * corresponding to build step indices. 195 * [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders) 196 * can produce this output by writing to `$BUILDER_OUTPUT/output`. 197 * Only the first 4KB of data is stored. 198 * </pre> 199 * 200 * <code>repeated bytes build_step_outputs = 6;</code> 201 * 202 * @return The count of buildStepOutputs. 203 */ getBuildStepOutputsCount()204 int getBuildStepOutputsCount(); 205 /** 206 * 207 * 208 * <pre> 209 * List of build step outputs, produced by builder images, in the order 210 * corresponding to build step indices. 211 * [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders) 212 * can produce this output by writing to `$BUILDER_OUTPUT/output`. 213 * Only the first 4KB of data is stored. 214 * </pre> 215 * 216 * <code>repeated bytes build_step_outputs = 6;</code> 217 * 218 * @param index The index of the element to return. 219 * @return The buildStepOutputs at the given index. 220 */ getBuildStepOutputs(int index)221 com.google.protobuf.ByteString getBuildStepOutputs(int index); 222 223 /** 224 * 225 * 226 * <pre> 227 * Time to push all non-container artifacts to Cloud Storage. 228 * </pre> 229 * 230 * <code>.google.devtools.cloudbuild.v1.TimeSpan artifact_timing = 7;</code> 231 * 232 * @return Whether the artifactTiming field is set. 233 */ hasArtifactTiming()234 boolean hasArtifactTiming(); 235 /** 236 * 237 * 238 * <pre> 239 * Time to push all non-container artifacts to Cloud Storage. 240 * </pre> 241 * 242 * <code>.google.devtools.cloudbuild.v1.TimeSpan artifact_timing = 7;</code> 243 * 244 * @return The artifactTiming. 245 */ getArtifactTiming()246 com.google.cloudbuild.v1.TimeSpan getArtifactTiming(); 247 /** 248 * 249 * 250 * <pre> 251 * Time to push all non-container artifacts to Cloud Storage. 252 * </pre> 253 * 254 * <code>.google.devtools.cloudbuild.v1.TimeSpan artifact_timing = 7;</code> 255 */ getArtifactTimingOrBuilder()256 com.google.cloudbuild.v1.TimeSpanOrBuilder getArtifactTimingOrBuilder(); 257 258 /** 259 * 260 * 261 * <pre> 262 * Python artifacts uploaded to Artifact Registry at the end of the build. 263 * </pre> 264 * 265 * <code>repeated .google.devtools.cloudbuild.v1.UploadedPythonPackage python_packages = 8;</code> 266 */ getPythonPackagesList()267 java.util.List<com.google.cloudbuild.v1.UploadedPythonPackage> getPythonPackagesList(); 268 /** 269 * 270 * 271 * <pre> 272 * Python artifacts uploaded to Artifact Registry at the end of the build. 273 * </pre> 274 * 275 * <code>repeated .google.devtools.cloudbuild.v1.UploadedPythonPackage python_packages = 8;</code> 276 */ getPythonPackages(int index)277 com.google.cloudbuild.v1.UploadedPythonPackage getPythonPackages(int index); 278 /** 279 * 280 * 281 * <pre> 282 * Python artifacts uploaded to Artifact Registry at the end of the build. 283 * </pre> 284 * 285 * <code>repeated .google.devtools.cloudbuild.v1.UploadedPythonPackage python_packages = 8;</code> 286 */ getPythonPackagesCount()287 int getPythonPackagesCount(); 288 /** 289 * 290 * 291 * <pre> 292 * Python artifacts uploaded to Artifact Registry at the end of the build. 293 * </pre> 294 * 295 * <code>repeated .google.devtools.cloudbuild.v1.UploadedPythonPackage python_packages = 8;</code> 296 */ 297 java.util.List<? extends com.google.cloudbuild.v1.UploadedPythonPackageOrBuilder> getPythonPackagesOrBuilderList()298 getPythonPackagesOrBuilderList(); 299 /** 300 * 301 * 302 * <pre> 303 * Python artifacts uploaded to Artifact Registry at the end of the build. 304 * </pre> 305 * 306 * <code>repeated .google.devtools.cloudbuild.v1.UploadedPythonPackage python_packages = 8;</code> 307 */ getPythonPackagesOrBuilder(int index)308 com.google.cloudbuild.v1.UploadedPythonPackageOrBuilder getPythonPackagesOrBuilder(int index); 309 310 /** 311 * 312 * 313 * <pre> 314 * Maven artifacts uploaded to Artifact Registry at the end of the build. 315 * </pre> 316 * 317 * <code>repeated .google.devtools.cloudbuild.v1.UploadedMavenArtifact maven_artifacts = 9;</code> 318 */ getMavenArtifactsList()319 java.util.List<com.google.cloudbuild.v1.UploadedMavenArtifact> getMavenArtifactsList(); 320 /** 321 * 322 * 323 * <pre> 324 * Maven artifacts uploaded to Artifact Registry at the end of the build. 325 * </pre> 326 * 327 * <code>repeated .google.devtools.cloudbuild.v1.UploadedMavenArtifact maven_artifacts = 9;</code> 328 */ getMavenArtifacts(int index)329 com.google.cloudbuild.v1.UploadedMavenArtifact getMavenArtifacts(int index); 330 /** 331 * 332 * 333 * <pre> 334 * Maven artifacts uploaded to Artifact Registry at the end of the build. 335 * </pre> 336 * 337 * <code>repeated .google.devtools.cloudbuild.v1.UploadedMavenArtifact maven_artifacts = 9;</code> 338 */ getMavenArtifactsCount()339 int getMavenArtifactsCount(); 340 /** 341 * 342 * 343 * <pre> 344 * Maven artifacts uploaded to Artifact Registry at the end of the build. 345 * </pre> 346 * 347 * <code>repeated .google.devtools.cloudbuild.v1.UploadedMavenArtifact maven_artifacts = 9;</code> 348 */ 349 java.util.List<? extends com.google.cloudbuild.v1.UploadedMavenArtifactOrBuilder> getMavenArtifactsOrBuilderList()350 getMavenArtifactsOrBuilderList(); 351 /** 352 * 353 * 354 * <pre> 355 * Maven artifacts uploaded to Artifact Registry at the end of the build. 356 * </pre> 357 * 358 * <code>repeated .google.devtools.cloudbuild.v1.UploadedMavenArtifact maven_artifacts = 9;</code> 359 */ getMavenArtifactsOrBuilder(int index)360 com.google.cloudbuild.v1.UploadedMavenArtifactOrBuilder getMavenArtifactsOrBuilder(int index); 361 362 /** 363 * 364 * 365 * <pre> 366 * Npm packages uploaded to Artifact Registry at the end of the build. 367 * </pre> 368 * 369 * <code>repeated .google.devtools.cloudbuild.v1.UploadedNpmPackage npm_packages = 12;</code> 370 */ getNpmPackagesList()371 java.util.List<com.google.cloudbuild.v1.UploadedNpmPackage> getNpmPackagesList(); 372 /** 373 * 374 * 375 * <pre> 376 * Npm packages uploaded to Artifact Registry at the end of the build. 377 * </pre> 378 * 379 * <code>repeated .google.devtools.cloudbuild.v1.UploadedNpmPackage npm_packages = 12;</code> 380 */ getNpmPackages(int index)381 com.google.cloudbuild.v1.UploadedNpmPackage getNpmPackages(int index); 382 /** 383 * 384 * 385 * <pre> 386 * Npm packages uploaded to Artifact Registry at the end of the build. 387 * </pre> 388 * 389 * <code>repeated .google.devtools.cloudbuild.v1.UploadedNpmPackage npm_packages = 12;</code> 390 */ getNpmPackagesCount()391 int getNpmPackagesCount(); 392 /** 393 * 394 * 395 * <pre> 396 * Npm packages uploaded to Artifact Registry at the end of the build. 397 * </pre> 398 * 399 * <code>repeated .google.devtools.cloudbuild.v1.UploadedNpmPackage npm_packages = 12;</code> 400 */ 401 java.util.List<? extends com.google.cloudbuild.v1.UploadedNpmPackageOrBuilder> getNpmPackagesOrBuilderList()402 getNpmPackagesOrBuilderList(); 403 /** 404 * 405 * 406 * <pre> 407 * Npm packages uploaded to Artifact Registry at the end of the build. 408 * </pre> 409 * 410 * <code>repeated .google.devtools.cloudbuild.v1.UploadedNpmPackage npm_packages = 12;</code> 411 */ getNpmPackagesOrBuilder(int index)412 com.google.cloudbuild.v1.UploadedNpmPackageOrBuilder getNpmPackagesOrBuilder(int index); 413 } 414