Debian Codegraph @

googleapis/devtools/cloudbuild/v1/alias.go

raw
1 // Copyright 2022 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by aliasgen. DO NOT EDIT.
16
17 // Package cloudbuild aliases all exported identifiers in package
18 // "cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb".
19 //
20 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb.
21 // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md
22 // for more details.
23 package cloudbuild
24
25 import (
26 src "cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb"
27 grpc "google.golang.org/grpc"
28 )
29
30 // Deprecated: Please use consts in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
31 const (
32 ApprovalResult_APPROVED = src.ApprovalResult_APPROVED
33 ApprovalResult_DECISION_UNSPECIFIED = src.ApprovalResult_DECISION_UNSPECIFIED
34 ApprovalResult_REJECTED = src.ApprovalResult_REJECTED
35 BuildApproval_APPROVED = src.BuildApproval_APPROVED
36 BuildApproval_CANCELLED = src.BuildApproval_CANCELLED
37 BuildApproval_PENDING = src.BuildApproval_PENDING
38 BuildApproval_REJECTED = src.BuildApproval_REJECTED
39 BuildApproval_STATE_UNSPECIFIED = src.BuildApproval_STATE_UNSPECIFIED
40 BuildOptions_ALLOW_LOOSE = src.BuildOptions_ALLOW_LOOSE
41 BuildOptions_CLOUD_LOGGING_ONLY = src.BuildOptions_CLOUD_LOGGING_ONLY
42 BuildOptions_E2_HIGHCPU_32 = src.BuildOptions_E2_HIGHCPU_32
43 BuildOptions_E2_HIGHCPU_8 = src.BuildOptions_E2_HIGHCPU_8
44 BuildOptions_GCS_ONLY = src.BuildOptions_GCS_ONLY
45 BuildOptions_LEGACY = src.BuildOptions_LEGACY
46 BuildOptions_LOGGING_UNSPECIFIED = src.BuildOptions_LOGGING_UNSPECIFIED
47 BuildOptions_MUST_MATCH = src.BuildOptions_MUST_MATCH
48 BuildOptions_N1_HIGHCPU_32 = src.BuildOptions_N1_HIGHCPU_32
49 BuildOptions_N1_HIGHCPU_8 = src.BuildOptions_N1_HIGHCPU_8
50 BuildOptions_NONE = src.BuildOptions_NONE
51 BuildOptions_NOT_VERIFIED = src.BuildOptions_NOT_VERIFIED
52 BuildOptions_STACKDRIVER_ONLY = src.BuildOptions_STACKDRIVER_ONLY
53 BuildOptions_STREAM_DEFAULT = src.BuildOptions_STREAM_DEFAULT
54 BuildOptions_STREAM_OFF = src.BuildOptions_STREAM_OFF
55 BuildOptions_STREAM_ON = src.BuildOptions_STREAM_ON
56 BuildOptions_UNSPECIFIED = src.BuildOptions_UNSPECIFIED
57 BuildOptions_VERIFIED = src.BuildOptions_VERIFIED
58 Build_CANCELLED = src.Build_CANCELLED
59 Build_EXPIRED = src.Build_EXPIRED
60 Build_FAILURE = src.Build_FAILURE
61 Build_FailureInfo_FAILURE_TYPE_UNSPECIFIED = src.Build_FailureInfo_FAILURE_TYPE_UNSPECIFIED
62 Build_FailureInfo_FETCH_SOURCE_FAILED = src.Build_FailureInfo_FETCH_SOURCE_FAILED
63 Build_FailureInfo_LOGGING_FAILURE = src.Build_FailureInfo_LOGGING_FAILURE
64 Build_FailureInfo_PUSH_FAILED = src.Build_FailureInfo_PUSH_FAILED
65 Build_FailureInfo_PUSH_IMAGE_NOT_FOUND = src.Build_FailureInfo_PUSH_IMAGE_NOT_FOUND
66 Build_FailureInfo_PUSH_NOT_AUTHORIZED = src.Build_FailureInfo_PUSH_NOT_AUTHORIZED
67 Build_FailureInfo_USER_BUILD_STEP = src.Build_FailureInfo_USER_BUILD_STEP
68 Build_INTERNAL_ERROR = src.Build_INTERNAL_ERROR
69 Build_PENDING = src.Build_PENDING
70 Build_QUEUED = src.Build_QUEUED
71 Build_STATUS_UNKNOWN = src.Build_STATUS_UNKNOWN
72 Build_SUCCESS = src.Build_SUCCESS
73 Build_TIMEOUT = src.Build_TIMEOUT
74 Build_WORKING = src.Build_WORKING
75 Build_Warning_ALERT = src.Build_Warning_ALERT
76 Build_Warning_INFO = src.Build_Warning_INFO
77 Build_Warning_PRIORITY_UNSPECIFIED = src.Build_Warning_PRIORITY_UNSPECIFIED
78 Build_Warning_WARNING = src.Build_Warning_WARNING
79 Hash_MD5 = src.Hash_MD5
80 Hash_NONE = src.Hash_NONE
81 Hash_SHA256 = src.Hash_SHA256
82 PrivatePoolV1Config_NetworkConfig_EGRESS_OPTION_UNSPECIFIED = src.PrivatePoolV1Config_NetworkConfig_EGRESS_OPTION_UNSPECIFIED
83 PrivatePoolV1Config_NetworkConfig_NO_PUBLIC_EGRESS = src.PrivatePoolV1Config_NetworkConfig_NO_PUBLIC_EGRESS
84 PrivatePoolV1Config_NetworkConfig_PUBLIC_EGRESS = src.PrivatePoolV1Config_NetworkConfig_PUBLIC_EGRESS
85 PubsubConfig_OK = src.PubsubConfig_OK
86 PubsubConfig_STATE_UNSPECIFIED = src.PubsubConfig_STATE_UNSPECIFIED
87 PubsubConfig_SUBSCRIPTION_DELETED = src.PubsubConfig_SUBSCRIPTION_DELETED
88 PubsubConfig_SUBSCRIPTION_MISCONFIGURED = src.PubsubConfig_SUBSCRIPTION_MISCONFIGURED
89 PubsubConfig_TOPIC_DELETED = src.PubsubConfig_TOPIC_DELETED
90 PullRequestFilter_COMMENTS_DISABLED = src.PullRequestFilter_COMMENTS_DISABLED
91 PullRequestFilter_COMMENTS_ENABLED = src.PullRequestFilter_COMMENTS_ENABLED
92 PullRequestFilter_COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY = src.PullRequestFilter_COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY
93 WebhookConfig_OK = src.WebhookConfig_OK
94 WebhookConfig_SECRET_DELETED = src.WebhookConfig_SECRET_DELETED
95 WebhookConfig_STATE_UNSPECIFIED = src.WebhookConfig_STATE_UNSPECIFIED
96 WorkerPool_CREATING = src.WorkerPool_CREATING
97 WorkerPool_DELETED = src.WorkerPool_DELETED
98 WorkerPool_DELETING = src.WorkerPool_DELETING
99 WorkerPool_RUNNING = src.WorkerPool_RUNNING
100 WorkerPool_STATE_UNSPECIFIED = src.WorkerPool_STATE_UNSPECIFIED
101 )
102
103 // Deprecated: Please use vars in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
104 var (
105 ApprovalResult_Decision_name = src.ApprovalResult_Decision_name
106 ApprovalResult_Decision_value = src.ApprovalResult_Decision_value
107 BuildApproval_State_name = src.BuildApproval_State_name
108 BuildApproval_State_value = src.BuildApproval_State_value
109 BuildOptions_LogStreamingOption_name = src.BuildOptions_LogStreamingOption_name
110 BuildOptions_LogStreamingOption_value = src.BuildOptions_LogStreamingOption_value
111 BuildOptions_LoggingMode_name = src.BuildOptions_LoggingMode_name
112 BuildOptions_LoggingMode_value = src.BuildOptions_LoggingMode_value
113 BuildOptions_MachineType_name = src.BuildOptions_MachineType_name
114 BuildOptions_MachineType_value = src.BuildOptions_MachineType_value
115 BuildOptions_SubstitutionOption_name = src.BuildOptions_SubstitutionOption_name
116 BuildOptions_SubstitutionOption_value = src.BuildOptions_SubstitutionOption_value
117 BuildOptions_VerifyOption_name = src.BuildOptions_VerifyOption_name
118 BuildOptions_VerifyOption_value = src.BuildOptions_VerifyOption_value
119 Build_FailureInfo_FailureType_name = src.Build_FailureInfo_FailureType_name
120 Build_FailureInfo_FailureType_value = src.Build_FailureInfo_FailureType_value
121 Build_Status_name = src.Build_Status_name
122 Build_Status_value = src.Build_Status_value
123 Build_Warning_Priority_name = src.Build_Warning_Priority_name
124 Build_Warning_Priority_value = src.Build_Warning_Priority_value
125 File_google_devtools_cloudbuild_v1_cloudbuild_proto = src.File_google_devtools_cloudbuild_v1_cloudbuild_proto
126 Hash_HashType_name = src.Hash_HashType_name
127 Hash_HashType_value = src.Hash_HashType_value
128 PrivatePoolV1Config_NetworkConfig_EgressOption_name = src.PrivatePoolV1Config_NetworkConfig_EgressOption_name
129 PrivatePoolV1Config_NetworkConfig_EgressOption_value = src.PrivatePoolV1Config_NetworkConfig_EgressOption_value
130 PubsubConfig_State_name = src.PubsubConfig_State_name
131 PubsubConfig_State_value = src.PubsubConfig_State_value
132 PullRequestFilter_CommentControl_name = src.PullRequestFilter_CommentControl_name
133 PullRequestFilter_CommentControl_value = src.PullRequestFilter_CommentControl_value
134 WebhookConfig_State_name = src.WebhookConfig_State_name
135 WebhookConfig_State_value = src.WebhookConfig_State_value
136 WorkerPool_State_name = src.WorkerPool_State_name
137 WorkerPool_State_value = src.WorkerPool_State_value
138 )
139
140 // ApprovalConfig describes configuration for manual approval of a build.
141 //
142 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
143 type ApprovalConfig = src.ApprovalConfig
144
145 // ApprovalResult describes the decision and associated metadata of a manual
146 // approval of a build.
147 //
148 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
149 type ApprovalResult = src.ApprovalResult
150
151 // Specifies whether or not this manual approval result is to approve or
152 // reject a build.
153 //
154 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
155 type ApprovalResult_Decision = src.ApprovalResult_Decision
156
157 // Request to approve or reject a pending build.
158 //
159 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
160 type ApproveBuildRequest = src.ApproveBuildRequest
161
162 // An artifact that was uploaded during a build. This is a single record in
163 // the artifact manifest JSON file.
164 //
165 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
166 type ArtifactResult = src.ArtifactResult
167
168 // Artifacts produced by a build that should be uploaded upon successful
169 // completion of all build steps.
170 //
171 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
172 type Artifacts = src.Artifacts
173
174 // Files in the workspace to upload to Cloud Storage upon successful
175 // completion of all build steps.
176 //
177 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
178 type Artifacts_ArtifactObjects = src.Artifacts_ArtifactObjects
179
180 // A build resource in the Cloud Build API. At a high level, a `Build`
181 // describes where to find source code, how to build it (for example, the
182 // builder image to run on the source), and where to store the built artifacts.
183 // Fields can include the following variables, which will be expanded when the
184 // build is created: - $PROJECT_ID: the project ID of the build. -
185 // $PROJECT_NUMBER: the project number of the build. - $BUILD_ID: the
186 // autogenerated ID of the build. - $REPO_NAME: the source repository name
187 // specified by RepoSource. - $BRANCH_NAME: the branch name specified by
188 // RepoSource. - $TAG_NAME: the tag name specified by RepoSource. -
189 // $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or
190 // resolved from the specified branch or tag. - $SHORT_SHA: first 7 characters
191 // of $REVISION_ID or $COMMIT_SHA.
192 //
193 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
194 type Build = src.Build
195
196 // BuildApproval describes a build's approval configuration, state, and
197 // result.
198 //
199 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
200 type BuildApproval = src.BuildApproval
201
202 // Specifies the current state of a build's approval.
203 //
204 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
205 type BuildApproval_State = src.BuildApproval_State
206
207 // Metadata for build operations.
208 //
209 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
210 type BuildOperationMetadata = src.BuildOperationMetadata
211
212 // Optional arguments to enable specific features of builds.
213 //
214 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
215 type BuildOptions = src.BuildOptions
216
217 // Specifies the behavior when writing build logs to Google Cloud Storage.
218 //
219 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
220 type BuildOptions_LogStreamingOption = src.BuildOptions_LogStreamingOption
221
222 // Specifies the logging mode.
223 //
224 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
225 type BuildOptions_LoggingMode = src.BuildOptions_LoggingMode
226
227 // Supported Compute Engine machine types. For more information, see [Machine
228 // types](https://cloud.google.com/compute/docs/machine-types).
229 //
230 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
231 type BuildOptions_MachineType = src.BuildOptions_MachineType
232
233 // Details about how a build should be executed on a `WorkerPool`. See
234 // [running builds in a private
235 // pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool)
236 // for more information.
237 //
238 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
239 type BuildOptions_PoolOption = src.BuildOptions_PoolOption
240
241 // Specifies the behavior when there is an error in the substitution checks.
242 //
243 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
244 type BuildOptions_SubstitutionOption = src.BuildOptions_SubstitutionOption
245
246 // Specifies the manner in which the build should be verified, if at all.
247 //
248 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
249 type BuildOptions_VerifyOption = src.BuildOptions_VerifyOption
250
251 // A step in the build pipeline.
252 //
253 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
254 type BuildStep = src.BuildStep
255
256 // Configuration for an automated build in response to source repository
257 // changes.
258 //
259 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
260 type BuildTrigger = src.BuildTrigger
261 type BuildTrigger_Autodetect = src.BuildTrigger_Autodetect
262 type BuildTrigger_Build = src.BuildTrigger_Build
263 type BuildTrigger_Filename = src.BuildTrigger_Filename
264
265 // A fatal problem encountered during the execution of the build.
266 //
267 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
268 type Build_FailureInfo = src.Build_FailureInfo
269
270 // The name of a fatal problem encountered during the execution of the build.
271 //
272 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
273 type Build_FailureInfo_FailureType = src.Build_FailureInfo_FailureType
274
275 // Possible status of a build or build step.
276 //
277 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
278 type Build_Status = src.Build_Status
279
280 // A non-fatal problem encountered during the execution of the build.
281 //
282 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
283 type Build_Warning = src.Build_Warning
284
285 // The relative importance of this warning.
286 //
287 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
288 type Build_Warning_Priority = src.Build_Warning_Priority
289
290 // An image built by the pipeline.
291 //
292 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
293 type BuiltImage = src.BuiltImage
294
295 // Request to cancel an ongoing build.
296 //
297 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
298 type CancelBuildRequest = src.CancelBuildRequest
299
300 // CloudBuildClient is the client API for CloudBuild service. For semantics
301 // around ctx use and closing/ending streaming RPCs, please refer to
302 // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
303 //
304 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
305 type CloudBuildClient = src.CloudBuildClient
306
307 // CloudBuildServer is the server API for CloudBuild service.
308 //
309 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
310 type CloudBuildServer = src.CloudBuildServer
311
312 // Request to create a new build.
313 //
314 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
315 type CreateBuildRequest = src.CreateBuildRequest
316
317 // Request to create a new `BuildTrigger`.
318 //
319 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
320 type CreateBuildTriggerRequest = src.CreateBuildTriggerRequest
321
322 // Metadata for the `CreateWorkerPool` operation.
323 //
324 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
325 type CreateWorkerPoolOperationMetadata = src.CreateWorkerPoolOperationMetadata
326
327 // Request to create a new `WorkerPool`.
328 //
329 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
330 type CreateWorkerPoolRequest = src.CreateWorkerPoolRequest
331
332 // Request to delete a `BuildTrigger`.
333 //
334 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
335 type DeleteBuildTriggerRequest = src.DeleteBuildTriggerRequest
336
337 // Metadata for the `DeleteWorkerPool` operation.
338 //
339 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
340 type DeleteWorkerPoolOperationMetadata = src.DeleteWorkerPoolOperationMetadata
341
342 // Request to delete a `WorkerPool`.
343 //
344 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
345 type DeleteWorkerPoolRequest = src.DeleteWorkerPoolRequest
346
347 // Container message for hashes of byte content of files, used in
348 // SourceProvenance messages to verify integrity of source input to the build.
349 //
350 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
351 type FileHashes = src.FileHashes
352
353 // Request to get a build.
354 //
355 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
356 type GetBuildRequest = src.GetBuildRequest
357
358 // Returns the `BuildTrigger` with the specified ID.
359 //
360 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
361 type GetBuildTriggerRequest = src.GetBuildTriggerRequest
362
363 // Request to get a `WorkerPool` with the specified name.
364 //
365 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
366 type GetWorkerPoolRequest = src.GetWorkerPoolRequest
367
368 // GitHubEventsConfig describes the configuration of a trigger that creates a
369 // build whenever a GitHub event is received. This message is experimental.
370 //
371 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
372 type GitHubEventsConfig = src.GitHubEventsConfig
373 type GitHubEventsConfig_PullRequest = src.GitHubEventsConfig_PullRequest
374 type GitHubEventsConfig_Push = src.GitHubEventsConfig_Push
375
376 // Container message for hash values.
377 //
378 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
379 type Hash = src.Hash
380
381 // Specifies the hash algorithm, if any.
382 //
383 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
384 type Hash_HashType = src.Hash_HashType
385
386 // Pairs a set of secret environment variables mapped to encrypted values with
387 // the Cloud KMS key to use to decrypt the value.
388 //
389 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
390 type InlineSecret = src.InlineSecret
391
392 // Request to list existing `BuildTriggers`.
393 //
394 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
395 type ListBuildTriggersRequest = src.ListBuildTriggersRequest
396
397 // Response containing existing `BuildTriggers`.
398 //
399 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
400 type ListBuildTriggersResponse = src.ListBuildTriggersResponse
401
402 // Request to list builds.
403 //
404 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
405 type ListBuildsRequest = src.ListBuildsRequest
406
407 // Response including listed builds.
408 //
409 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
410 type ListBuildsResponse = src.ListBuildsResponse
411
412 // Request to list `WorkerPool`s.
413 //
414 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
415 type ListWorkerPoolsRequest = src.ListWorkerPoolsRequest
416
417 // Response containing existing `WorkerPools`.
418 //
419 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
420 type ListWorkerPoolsResponse = src.ListWorkerPoolsResponse
421
422 // Configuration for a V1 `PrivatePool`.
423 //
424 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
425 type PrivatePoolV1Config = src.PrivatePoolV1Config
426
427 // Defines the network configuration for the pool.
428 //
429 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
430 type PrivatePoolV1Config_NetworkConfig = src.PrivatePoolV1Config_NetworkConfig
431
432 // Defines the egress option for the pool.
433 //
434 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
435 type PrivatePoolV1Config_NetworkConfig_EgressOption = src.PrivatePoolV1Config_NetworkConfig_EgressOption
436
437 // Defines the configuration to be used for creating workers in the pool.
438 //
439 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
440 type PrivatePoolV1Config_WorkerConfig = src.PrivatePoolV1Config_WorkerConfig
441
442 // PubsubConfig describes the configuration of a trigger that creates a build
443 // whenever a Pub/Sub message is published.
444 //
445 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
446 type PubsubConfig = src.PubsubConfig
447
448 // Enumerates potential issues with the underlying Pub/Sub subscription
449 // configuration.
450 //
451 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
452 type PubsubConfig_State = src.PubsubConfig_State
453
454 // PullRequestFilter contains filter properties for matching GitHub Pull
455 // Requests.
456 //
457 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
458 type PullRequestFilter = src.PullRequestFilter
459 type PullRequestFilter_Branch = src.PullRequestFilter_Branch
460
461 // Controls behavior of Pull Request comments.
462 //
463 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
464 type PullRequestFilter_CommentControl = src.PullRequestFilter_CommentControl
465
466 // Push contains filter properties for matching GitHub git pushes.
467 //
468 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
469 type PushFilter = src.PushFilter
470 type PushFilter_Branch = src.PushFilter_Branch
471 type PushFilter_Tag = src.PushFilter_Tag
472
473 // ReceiveTriggerWebhookRequest [Experimental] is the request object accepted
474 // by the ReceiveTriggerWebhook method.
475 //
476 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
477 type ReceiveTriggerWebhookRequest = src.ReceiveTriggerWebhookRequest
478
479 // ReceiveTriggerWebhookResponse [Experimental] is the response object for the
480 // ReceiveTriggerWebhook method.
481 //
482 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
483 type ReceiveTriggerWebhookResponse = src.ReceiveTriggerWebhookResponse
484
485 // Location of the source in a Google Cloud Source Repository.
486 //
487 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
488 type RepoSource = src.RepoSource
489 type RepoSource_BranchName = src.RepoSource_BranchName
490 type RepoSource_CommitSha = src.RepoSource_CommitSha
491 type RepoSource_TagName = src.RepoSource_TagName
492
493 // Artifacts created by the build pipeline.
494 //
495 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
496 type Results = src.Results
497
498 // Specifies a build to retry.
499 //
500 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
501 type RetryBuildRequest = src.RetryBuildRequest
502
503 // Specifies a build trigger to run and the source to use.
504 //
505 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
506 type RunBuildTriggerRequest = src.RunBuildTriggerRequest
507
508 // Pairs a set of secret environment variables containing encrypted values
509 // with the Cloud KMS key to use to decrypt the value. Note: Use `kmsKeyName`
510 // with `available_secrets` instead of using `kmsKeyName` with `secret`. For
511 // instructions see:
512 // https://cloud.google.com/cloud-build/docs/securing-builds/use-encrypted-credentials.
513 //
514 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
515 type Secret = src.Secret
516
517 // Pairs a secret environment variable with a SecretVersion in Secret Manager.
518 //
519 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
520 type SecretManagerSecret = src.SecretManagerSecret
521
522 // Secrets and secret environment variables.
523 //
524 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
525 type Secrets = src.Secrets
526
527 // Location of the source in a supported storage service.
528 //
529 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
530 type Source = src.Source
531
532 // Provenance of the source. Ways to find the original source, or verify that
533 // some source was used for this build.
534 //
535 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
536 type SourceProvenance = src.SourceProvenance
537 type Source_RepoSource = src.Source_RepoSource
538 type Source_StorageSource = src.Source_StorageSource
539 type Source_StorageSourceManifest = src.Source_StorageSourceManifest
540
541 // Location of the source in an archive file in Google Cloud Storage.
542 //
543 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
544 type StorageSource = src.StorageSource
545
546 // Location of the source manifest in Google Cloud Storage. This feature is in
547 // Preview; see description
548 // [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).
549 //
550 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
551 type StorageSourceManifest = src.StorageSourceManifest
552
553 // Start and end times for a build execution phase.
554 //
555 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
556 type TimeSpan = src.TimeSpan
557
558 // UnimplementedCloudBuildServer can be embedded to have forward compatible
559 // implementations.
560 //
561 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
562 type UnimplementedCloudBuildServer = src.UnimplementedCloudBuildServer
563
564 // Request to update an existing `BuildTrigger`.
565 //
566 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
567 type UpdateBuildTriggerRequest = src.UpdateBuildTriggerRequest
568
569 // Metadata for the `UpdateWorkerPool` operation.
570 //
571 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
572 type UpdateWorkerPoolOperationMetadata = src.UpdateWorkerPoolOperationMetadata
573
574 // Request to update a `WorkerPool`.
575 //
576 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
577 type UpdateWorkerPoolRequest = src.UpdateWorkerPoolRequest
578
579 // Volume describes a Docker container volume which is mounted into build
580 // steps in order to persist files across build step execution.
581 //
582 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
583 type Volume = src.Volume
584
585 // WebhookConfig describes the configuration of a trigger that creates a build
586 // whenever a webhook is sent to a trigger's webhook URL.
587 //
588 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
589 type WebhookConfig = src.WebhookConfig
590 type WebhookConfig_Secret = src.WebhookConfig_Secret
591
592 // Enumerates potential issues with the Secret Manager secret provided by the
593 // user.
594 //
595 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
596 type WebhookConfig_State = src.WebhookConfig_State
597
598 // Configuration for a `WorkerPool`. Cloud Build owns and maintains a pool of
599 // workers for general use and have no access to a project's private network.
600 // By default, builds submitted to Cloud Build will use a worker from this
601 // pool. If your build needs access to resources on a private network, create
602 // and use a `WorkerPool` to run your builds. Private `WorkerPool`s give your
603 // builds access to any single VPC network that you administer, including any
604 // on-prem resources connected to that VPC network. For an overview of private
605 // pools, see [Private pools
606 // overview](https://cloud.google.com/build/docs/private-pools/private-pools-overview).
607 //
608 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
609 type WorkerPool = src.WorkerPool
610 type WorkerPool_PrivatePoolV1Config = src.WorkerPool_PrivatePoolV1Config
611
612 // State of the `WorkerPool`.
613 //
614 // Deprecated: Please use types in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
615 type WorkerPool_State = src.WorkerPool_State
616
617 // Deprecated: Please use funcs in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
618 func NewCloudBuildClient(cc grpc.ClientConnInterface) CloudBuildClient {
619 return src.NewCloudBuildClient(cc)
620 }
621
622 // Deprecated: Please use funcs in: cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb
623 func RegisterCloudBuildServer(s *grpc.Server, srv CloudBuildServer) {
624 src.RegisterCloudBuildServer(s, srv)
625 }