• 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 StorageSourceOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.devtools.cloudbuild.v1.StorageSource)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Google Cloud Storage bucket containing the source (see
31    * [Bucket Name
32    * Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
33    * </pre>
34    *
35    * <code>string bucket = 1;</code>
36    *
37    * @return The bucket.
38    */
getBucket()39   java.lang.String getBucket();
40   /**
41    *
42    *
43    * <pre>
44    * Google Cloud Storage bucket containing the source (see
45    * [Bucket Name
46    * Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
47    * </pre>
48    *
49    * <code>string bucket = 1;</code>
50    *
51    * @return The bytes for bucket.
52    */
getBucketBytes()53   com.google.protobuf.ByteString getBucketBytes();
54 
55   /**
56    *
57    *
58    * <pre>
59    * Google Cloud Storage object containing the source.
60    * This object must be a gzipped archive file (`.tar.gz`) containing source to
61    * build.
62    * </pre>
63    *
64    * <code>string object = 2;</code>
65    *
66    * @return The object.
67    */
getObject()68   java.lang.String getObject();
69   /**
70    *
71    *
72    * <pre>
73    * Google Cloud Storage object containing the source.
74    * This object must be a gzipped archive file (`.tar.gz`) containing source to
75    * build.
76    * </pre>
77    *
78    * <code>string object = 2;</code>
79    *
80    * @return The bytes for object.
81    */
getObjectBytes()82   com.google.protobuf.ByteString getObjectBytes();
83 
84   /**
85    *
86    *
87    * <pre>
88    * Google Cloud Storage generation for the object. If the generation is
89    * omitted, the latest generation will be used.
90    * </pre>
91    *
92    * <code>int64 generation = 3;</code>
93    *
94    * @return The generation.
95    */
getGeneration()96   long getGeneration();
97 }
98