• 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 SourceOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.devtools.cloudbuild.v1.Source)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * If provided, get the source from this location in Google Cloud Storage.
31    * </pre>
32    *
33    * <code>.google.devtools.cloudbuild.v1.StorageSource storage_source = 2;</code>
34    *
35    * @return Whether the storageSource field is set.
36    */
hasStorageSource()37   boolean hasStorageSource();
38   /**
39    *
40    *
41    * <pre>
42    * If provided, get the source from this location in Google Cloud Storage.
43    * </pre>
44    *
45    * <code>.google.devtools.cloudbuild.v1.StorageSource storage_source = 2;</code>
46    *
47    * @return The storageSource.
48    */
getStorageSource()49   com.google.cloudbuild.v1.StorageSource getStorageSource();
50   /**
51    *
52    *
53    * <pre>
54    * If provided, get the source from this location in Google Cloud Storage.
55    * </pre>
56    *
57    * <code>.google.devtools.cloudbuild.v1.StorageSource storage_source = 2;</code>
58    */
getStorageSourceOrBuilder()59   com.google.cloudbuild.v1.StorageSourceOrBuilder getStorageSourceOrBuilder();
60 
61   /**
62    *
63    *
64    * <pre>
65    * If provided, get the source from this location in a Cloud Source
66    * Repository.
67    * </pre>
68    *
69    * <code>.google.devtools.cloudbuild.v1.RepoSource repo_source = 3;</code>
70    *
71    * @return Whether the repoSource field is set.
72    */
hasRepoSource()73   boolean hasRepoSource();
74   /**
75    *
76    *
77    * <pre>
78    * If provided, get the source from this location in a Cloud Source
79    * Repository.
80    * </pre>
81    *
82    * <code>.google.devtools.cloudbuild.v1.RepoSource repo_source = 3;</code>
83    *
84    * @return The repoSource.
85    */
getRepoSource()86   com.google.cloudbuild.v1.RepoSource getRepoSource();
87   /**
88    *
89    *
90    * <pre>
91    * If provided, get the source from this location in a Cloud Source
92    * Repository.
93    * </pre>
94    *
95    * <code>.google.devtools.cloudbuild.v1.RepoSource repo_source = 3;</code>
96    */
getRepoSourceOrBuilder()97   com.google.cloudbuild.v1.RepoSourceOrBuilder getRepoSourceOrBuilder();
98 
99   /**
100    *
101    *
102    * <pre>
103    * If provided, get the source from this Git repository.
104    * </pre>
105    *
106    * <code>.google.devtools.cloudbuild.v1.GitSource git_source = 5;</code>
107    *
108    * @return Whether the gitSource field is set.
109    */
hasGitSource()110   boolean hasGitSource();
111   /**
112    *
113    *
114    * <pre>
115    * If provided, get the source from this Git repository.
116    * </pre>
117    *
118    * <code>.google.devtools.cloudbuild.v1.GitSource git_source = 5;</code>
119    *
120    * @return The gitSource.
121    */
getGitSource()122   com.google.cloudbuild.v1.GitSource getGitSource();
123   /**
124    *
125    *
126    * <pre>
127    * If provided, get the source from this Git repository.
128    * </pre>
129    *
130    * <code>.google.devtools.cloudbuild.v1.GitSource git_source = 5;</code>
131    */
getGitSourceOrBuilder()132   com.google.cloudbuild.v1.GitSourceOrBuilder getGitSourceOrBuilder();
133 
134   /**
135    *
136    *
137    * <pre>
138    * If provided, get the source from this manifest in Google Cloud Storage.
139    * This feature is in Preview; see description
140    * [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).
141    * </pre>
142    *
143    * <code>.google.devtools.cloudbuild.v1.StorageSourceManifest storage_source_manifest = 8;</code>
144    *
145    * @return Whether the storageSourceManifest field is set.
146    */
hasStorageSourceManifest()147   boolean hasStorageSourceManifest();
148   /**
149    *
150    *
151    * <pre>
152    * If provided, get the source from this manifest in Google Cloud Storage.
153    * This feature is in Preview; see description
154    * [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).
155    * </pre>
156    *
157    * <code>.google.devtools.cloudbuild.v1.StorageSourceManifest storage_source_manifest = 8;</code>
158    *
159    * @return The storageSourceManifest.
160    */
getStorageSourceManifest()161   com.google.cloudbuild.v1.StorageSourceManifest getStorageSourceManifest();
162   /**
163    *
164    *
165    * <pre>
166    * If provided, get the source from this manifest in Google Cloud Storage.
167    * This feature is in Preview; see description
168    * [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).
169    * </pre>
170    *
171    * <code>.google.devtools.cloudbuild.v1.StorageSourceManifest storage_source_manifest = 8;</code>
172    */
getStorageSourceManifestOrBuilder()173   com.google.cloudbuild.v1.StorageSourceManifestOrBuilder getStorageSourceManifestOrBuilder();
174 
getSourceCase()175   public com.google.cloudbuild.v1.Source.SourceCase getSourceCase();
176 }
177