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 ArtifactResultOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.devtools.cloudbuild.v1.ArtifactResult) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * The path of an artifact in a Google Cloud Storage bucket, with the 31 * generation number. For example, 32 * `gs://mybucket/path/to/output.jar#generation`. 33 * </pre> 34 * 35 * <code>string location = 1;</code> 36 * 37 * @return The location. 38 */ getLocation()39 java.lang.String getLocation(); 40 /** 41 * 42 * 43 * <pre> 44 * The path of an artifact in a Google Cloud Storage bucket, with the 45 * generation number. For example, 46 * `gs://mybucket/path/to/output.jar#generation`. 47 * </pre> 48 * 49 * <code>string location = 1;</code> 50 * 51 * @return The bytes for location. 52 */ getLocationBytes()53 com.google.protobuf.ByteString getLocationBytes(); 54 55 /** 56 * 57 * 58 * <pre> 59 * The file hash of the artifact. 60 * </pre> 61 * 62 * <code>repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;</code> 63 */ getFileHashList()64 java.util.List<com.google.cloudbuild.v1.FileHashes> getFileHashList(); 65 /** 66 * 67 * 68 * <pre> 69 * The file hash of the artifact. 70 * </pre> 71 * 72 * <code>repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;</code> 73 */ getFileHash(int index)74 com.google.cloudbuild.v1.FileHashes getFileHash(int index); 75 /** 76 * 77 * 78 * <pre> 79 * The file hash of the artifact. 80 * </pre> 81 * 82 * <code>repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;</code> 83 */ getFileHashCount()84 int getFileHashCount(); 85 /** 86 * 87 * 88 * <pre> 89 * The file hash of the artifact. 90 * </pre> 91 * 92 * <code>repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;</code> 93 */ getFileHashOrBuilderList()94 java.util.List<? extends com.google.cloudbuild.v1.FileHashesOrBuilder> getFileHashOrBuilderList(); 95 /** 96 * 97 * 98 * <pre> 99 * The file hash of the artifact. 100 * </pre> 101 * 102 * <code>repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;</code> 103 */ getFileHashOrBuilder(int index)104 com.google.cloudbuild.v1.FileHashesOrBuilder getFileHashOrBuilder(int index); 105 } 106