• 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 CreateBuildRequestOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.devtools.cloudbuild.v1.CreateBuildRequest)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The parent resource where this build will be created.
31    * Format: `projects/{project}/locations/{location}`
32    * </pre>
33    *
34    * <code>string parent = 4 [(.google.api.resource_reference) = { ... }</code>
35    *
36    * @return The parent.
37    */
getParent()38   java.lang.String getParent();
39   /**
40    *
41    *
42    * <pre>
43    * The parent resource where this build will be created.
44    * Format: `projects/{project}/locations/{location}`
45    * </pre>
46    *
47    * <code>string parent = 4 [(.google.api.resource_reference) = { ... }</code>
48    *
49    * @return The bytes for parent.
50    */
getParentBytes()51   com.google.protobuf.ByteString getParentBytes();
52 
53   /**
54    *
55    *
56    * <pre>
57    * Required. ID of the project.
58    * </pre>
59    *
60    * <code>string project_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
61    *
62    * @return The projectId.
63    */
getProjectId()64   java.lang.String getProjectId();
65   /**
66    *
67    *
68    * <pre>
69    * Required. ID of the project.
70    * </pre>
71    *
72    * <code>string project_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
73    *
74    * @return The bytes for projectId.
75    */
getProjectIdBytes()76   com.google.protobuf.ByteString getProjectIdBytes();
77 
78   /**
79    *
80    *
81    * <pre>
82    * Required. Build resource to create.
83    * </pre>
84    *
85    * <code>.google.devtools.cloudbuild.v1.Build build = 2 [(.google.api.field_behavior) = REQUIRED];
86    * </code>
87    *
88    * @return Whether the build field is set.
89    */
hasBuild()90   boolean hasBuild();
91   /**
92    *
93    *
94    * <pre>
95    * Required. Build resource to create.
96    * </pre>
97    *
98    * <code>.google.devtools.cloudbuild.v1.Build build = 2 [(.google.api.field_behavior) = REQUIRED];
99    * </code>
100    *
101    * @return The build.
102    */
getBuild()103   com.google.cloudbuild.v1.Build getBuild();
104   /**
105    *
106    *
107    * <pre>
108    * Required. Build resource to create.
109    * </pre>
110    *
111    * <code>.google.devtools.cloudbuild.v1.Build build = 2 [(.google.api.field_behavior) = REQUIRED];
112    * </code>
113    */
getBuildOrBuilder()114   com.google.cloudbuild.v1.BuildOrBuilder getBuildOrBuilder();
115 }
116