2727 * @author Google, Inc.
2828 */
2929@ SuppressWarnings ("javadoc" )
30- public final class PipelineRun extends com .google .api .client .json .GenericJson {
30+ public final class GoogleDevtoolsCloudbuildV2PipelineRun extends com .google .api .client .json .GenericJson {
3131
3232 /**
3333 * User annotations. See https://google.aip.dev/128#annotations
@@ -114,12 +114,6 @@ public final class PipelineRun extends com.google.api.client.json.GenericJson {
114114 @ com .google .api .client .util .Key
115115 private java .util .List <Param > params ;
116116
117- static {
118- // hack to force ProGuard to consider Param used, since otherwise it would be stripped out
119- // see https://github.com/google/google-api-java-client/issues/543
120- com .google .api .client .util .Data .nullOf (Param .class );
121- }
122-
123117 /**
124118 * PipelineRef refer to a specific instance of a Pipeline.
125119 * The value may be {@code null}.
@@ -267,7 +261,7 @@ public java.util.Map<String, java.lang.String> getAnnotations() {
267261 * User annotations. See https://google.aip.dev/128#annotations
268262 * @param annotations annotations or {@code null} for none
269263 */
270- public PipelineRun setAnnotations (java .util .Map <String , java .lang .String > annotations ) {
264+ public GoogleDevtoolsCloudbuildV2PipelineRun setAnnotations (java .util .Map <String , java .lang .String > annotations ) {
271265 this .annotations = annotations ;
272266 return this ;
273267 }
@@ -286,7 +280,7 @@ public java.util.List<ChildStatusReference> getChildReferences() {
286280 * PipelineRun.
287281 * @param childReferences childReferences or {@code null} for none
288282 */
289- public PipelineRun setChildReferences (java .util .List <ChildStatusReference > childReferences ) {
283+ public GoogleDevtoolsCloudbuildV2PipelineRun setChildReferences (java .util .List <ChildStatusReference > childReferences ) {
290284 this .childReferences = childReferences ;
291285 return this ;
292286 }
@@ -303,7 +297,7 @@ public String getCompletionTime() {
303297 * Output only. Time the pipeline completed.
304298 * @param completionTime completionTime or {@code null} for none
305299 */
306- public PipelineRun setCompletionTime (String completionTime ) {
300+ public GoogleDevtoolsCloudbuildV2PipelineRun setCompletionTime (String completionTime ) {
307301 this .completionTime = completionTime ;
308302 return this ;
309303 }
@@ -320,7 +314,7 @@ public java.util.List<GoogleDevtoolsCloudbuildV2Condition> getConditions() {
320314 * Output only. Kubernetes Conditions convention for PipelineRun status and error.
321315 * @param conditions conditions or {@code null} for none
322316 */
323- public PipelineRun setConditions (java .util .List <GoogleDevtoolsCloudbuildV2Condition > conditions ) {
317+ public GoogleDevtoolsCloudbuildV2PipelineRun setConditions (java .util .List <GoogleDevtoolsCloudbuildV2Condition > conditions ) {
324318 this .conditions = conditions ;
325319 return this ;
326320 }
@@ -337,7 +331,7 @@ public String getCreateTime() {
337331 * Output only. Time at which the request to create the `PipelineRun` was received.
338332 * @param createTime createTime or {@code null} for none
339333 */
340- public PipelineRun setCreateTime (String createTime ) {
334+ public GoogleDevtoolsCloudbuildV2PipelineRun setCreateTime (String createTime ) {
341335 this .createTime = createTime ;
342336 return this ;
343337 }
@@ -354,7 +348,7 @@ public java.lang.String getEtag() {
354348 * Needed for declarative-friendly resources.
355349 * @param etag etag or {@code null} for none
356350 */
357- public PipelineRun setEtag (java .lang .String etag ) {
351+ public GoogleDevtoolsCloudbuildV2PipelineRun setEtag (java .lang .String etag ) {
358352 this .etag = etag ;
359353 return this ;
360354 }
@@ -373,7 +367,7 @@ public String getFinallyStartTime() {
373367 * finally tasks are being executed. +optional
374368 * @param finallyStartTime finallyStartTime or {@code null} for none
375369 */
376- public PipelineRun setFinallyStartTime (String finallyStartTime ) {
370+ public GoogleDevtoolsCloudbuildV2PipelineRun setFinallyStartTime (String finallyStartTime ) {
377371 this .finallyStartTime = finallyStartTime ;
378372 return this ;
379373 }
@@ -390,7 +384,7 @@ public java.util.Map<String, java.lang.String> getGcbParams() {
390384 * Output only. GCB default params.
391385 * @param gcbParams gcbParams or {@code null} for none
392386 */
393- public PipelineRun setGcbParams (java .util .Map <String , java .lang .String > gcbParams ) {
387+ public GoogleDevtoolsCloudbuildV2PipelineRun setGcbParams (java .util .Map <String , java .lang .String > gcbParams ) {
394388 this .gcbParams = gcbParams ;
395389 return this ;
396390 }
@@ -409,7 +403,7 @@ public java.lang.String getName() {
409403 * `projects/{project}/locations/{location}/pipelineRuns/{pipeline_run}`
410404 * @param name name or {@code null} for none
411405 */
412- public PipelineRun setName (java .lang .String name ) {
406+ public GoogleDevtoolsCloudbuildV2PipelineRun setName (java .lang .String name ) {
413407 this .name = name ;
414408 return this ;
415409 }
@@ -426,7 +420,7 @@ public java.util.List<Param> getParams() {
426420 * Params is a list of parameter names and values.
427421 * @param params params or {@code null} for none
428422 */
429- public PipelineRun setParams (java .util .List <Param > params ) {
423+ public GoogleDevtoolsCloudbuildV2PipelineRun setParams (java .util .List <Param > params ) {
430424 this .params = params ;
431425 return this ;
432426 }
@@ -443,7 +437,7 @@ public PipelineRef getPipelineRef() {
443437 * PipelineRef refer to a specific instance of a Pipeline.
444438 * @param pipelineRef pipelineRef or {@code null} for none
445439 */
446- public PipelineRun setPipelineRef (PipelineRef pipelineRef ) {
440+ public GoogleDevtoolsCloudbuildV2PipelineRun setPipelineRef (PipelineRef pipelineRef ) {
447441 this .pipelineRef = pipelineRef ;
448442 return this ;
449443 }
@@ -460,7 +454,7 @@ public java.lang.String getPipelineRunStatus() {
460454 * Pipelinerun status the user can provide. Used for cancellation.
461455 * @param pipelineRunStatus pipelineRunStatus or {@code null} for none
462456 */
463- public PipelineRun setPipelineRunStatus (java .lang .String pipelineRunStatus ) {
457+ public GoogleDevtoolsCloudbuildV2PipelineRun setPipelineRunStatus (java .lang .String pipelineRunStatus ) {
464458 this .pipelineRunStatus = pipelineRunStatus ;
465459 return this ;
466460 }
@@ -477,7 +471,7 @@ public PipelineSpec getPipelineSpec() {
477471 * PipelineSpec defines the desired state of Pipeline.
478472 * @param pipelineSpec pipelineSpec or {@code null} for none
479473 */
480- public PipelineRun setPipelineSpec (PipelineSpec pipelineSpec ) {
474+ public GoogleDevtoolsCloudbuildV2PipelineRun setPipelineSpec (PipelineSpec pipelineSpec ) {
481475 this .pipelineSpec = pipelineSpec ;
482476 return this ;
483477 }
@@ -494,7 +488,7 @@ public java.lang.String getPipelineSpecYaml() {
494488 * Output only. Inline pipelineSpec yaml string, used by workflow run requests.
495489 * @param pipelineSpecYaml pipelineSpecYaml or {@code null} for none
496490 */
497- public PipelineRun setPipelineSpecYaml (java .lang .String pipelineSpecYaml ) {
491+ public GoogleDevtoolsCloudbuildV2PipelineRun setPipelineSpecYaml (java .lang .String pipelineSpecYaml ) {
498492 this .pipelineSpecYaml = pipelineSpecYaml ;
499493 return this ;
500494 }
@@ -511,7 +505,7 @@ public Provenance getProvenance() {
511505 * Optional. Provenance configuration.
512506 * @param provenance provenance or {@code null} for none
513507 */
514- public PipelineRun setProvenance (Provenance provenance ) {
508+ public GoogleDevtoolsCloudbuildV2PipelineRun setProvenance (Provenance provenance ) {
515509 this .provenance = provenance ;
516510 return this ;
517511 }
@@ -530,7 +524,7 @@ public java.lang.String getRecord() {
530524 * `projects/{project}/locations/{location}/results/{result_id}/records/{record_id}`
531525 * @param record record or {@code null} for none
532526 */
533- public PipelineRun setRecord (java .lang .String record ) {
527+ public GoogleDevtoolsCloudbuildV2PipelineRun setRecord (java .lang .String record ) {
534528 this .record = record ;
535529 return this ;
536530 }
@@ -547,7 +541,7 @@ public PipelineSpec getResolvedPipelineSpec() {
547541 * Output only. The exact PipelineSpec used to instantiate the run.
548542 * @param resolvedPipelineSpec resolvedPipelineSpec or {@code null} for none
549543 */
550- public PipelineRun setResolvedPipelineSpec (PipelineSpec resolvedPipelineSpec ) {
544+ public GoogleDevtoolsCloudbuildV2PipelineRun setResolvedPipelineSpec (PipelineSpec resolvedPipelineSpec ) {
551545 this .resolvedPipelineSpec = resolvedPipelineSpec ;
552546 return this ;
553547 }
@@ -564,7 +558,7 @@ public java.util.List<PipelineRunResult> getResults() {
564558 * Optional. Output only. List of results written out by the pipeline's containers
565559 * @param results results or {@code null} for none
566560 */
567- public PipelineRun setResults (java .util .List <PipelineRunResult > results ) {
561+ public GoogleDevtoolsCloudbuildV2PipelineRun setResults (java .util .List <PipelineRunResult > results ) {
568562 this .results = results ;
569563 return this ;
570564 }
@@ -581,7 +575,7 @@ public Security getSecurity() {
581575 * Optional. Security configuration.
582576 * @param security security or {@code null} for none
583577 */
584- public PipelineRun setSecurity (Security security ) {
578+ public GoogleDevtoolsCloudbuildV2PipelineRun setSecurity (Security security ) {
585579 this .security = security ;
586580 return this ;
587581 }
@@ -598,7 +592,7 @@ public java.lang.String getServiceAccount() {
598592 * Service account used in the Pipeline. Deprecated; please use security.service_account instead.
599593 * @param serviceAccount serviceAccount or {@code null} for none
600594 */
601- public PipelineRun setServiceAccount (java .lang .String serviceAccount ) {
595+ public GoogleDevtoolsCloudbuildV2PipelineRun setServiceAccount (java .lang .String serviceAccount ) {
602596 this .serviceAccount = serviceAccount ;
603597 return this ;
604598 }
@@ -615,7 +609,7 @@ public java.util.List<SkippedTask> getSkippedTasks() {
615609 * Output only. List of tasks that were skipped due to when expressions evaluating to false.
616610 * @param skippedTasks skippedTasks or {@code null} for none
617611 */
618- public PipelineRun setSkippedTasks (java .util .List <SkippedTask > skippedTasks ) {
612+ public GoogleDevtoolsCloudbuildV2PipelineRun setSkippedTasks (java .util .List <SkippedTask > skippedTasks ) {
619613 this .skippedTasks = skippedTasks ;
620614 return this ;
621615 }
@@ -632,7 +626,7 @@ public String getStartTime() {
632626 * Output only. Time the pipeline is actually started.
633627 * @param startTime startTime or {@code null} for none
634628 */
635- public PipelineRun setStartTime (String startTime ) {
629+ public GoogleDevtoolsCloudbuildV2PipelineRun setStartTime (String startTime ) {
636630 this .startTime = startTime ;
637631 return this ;
638632 }
@@ -651,7 +645,7 @@ public TimeoutFields getTimeouts() {
651645 * tasks and finally with Timeouts.pipeline >= Timeouts.tasks + Timeouts.finally
652646 * @param timeouts timeouts or {@code null} for none
653647 */
654- public PipelineRun setTimeouts (TimeoutFields timeouts ) {
648+ public GoogleDevtoolsCloudbuildV2PipelineRun setTimeouts (TimeoutFields timeouts ) {
655649 this .timeouts = timeouts ;
656650 return this ;
657651 }
@@ -668,7 +662,7 @@ public java.lang.String getUid() {
668662 * Output only. A unique identifier for the `PipelineRun`.
669663 * @param uid uid or {@code null} for none
670664 */
671- public PipelineRun setUid (java .lang .String uid ) {
665+ public GoogleDevtoolsCloudbuildV2PipelineRun setUid (java .lang .String uid ) {
672666 this .uid = uid ;
673667 return this ;
674668 }
@@ -685,7 +679,7 @@ public String getUpdateTime() {
685679 * Output only. Time at which the request to update the `PipelineRun` was received.
686680 * @param updateTime updateTime or {@code null} for none
687681 */
688- public PipelineRun setUpdateTime (String updateTime ) {
682+ public GoogleDevtoolsCloudbuildV2PipelineRun setUpdateTime (String updateTime ) {
689683 this .updateTime = updateTime ;
690684 return this ;
691685 }
@@ -702,7 +696,7 @@ public Worker getWorker() {
702696 * Optional. Worker configuration.
703697 * @param worker worker or {@code null} for none
704698 */
705- public PipelineRun setWorker (Worker worker ) {
699+ public GoogleDevtoolsCloudbuildV2PipelineRun setWorker (Worker worker ) {
706700 this .worker = worker ;
707701 return this ;
708702 }
@@ -719,7 +713,7 @@ public java.lang.String getWorkerPool() {
719713 * Output only. The WorkerPool used to run this PipelineRun.
720714 * @param workerPool workerPool or {@code null} for none
721715 */
722- public PipelineRun setWorkerPool (java .lang .String workerPool ) {
716+ public GoogleDevtoolsCloudbuildV2PipelineRun setWorkerPool (java .lang .String workerPool ) {
723717 this .workerPool = workerPool ;
724718 return this ;
725719 }
@@ -736,7 +730,7 @@ public java.lang.String getWorkflow() {
736730 * Output only. The Workflow used to create this PipelineRun.
737731 * @param workflow workflow or {@code null} for none
738732 */
739- public PipelineRun setWorkflow (java .lang .String workflow ) {
733+ public GoogleDevtoolsCloudbuildV2PipelineRun setWorkflow (java .lang .String workflow ) {
740734 this .workflow = workflow ;
741735 return this ;
742736 }
@@ -753,19 +747,19 @@ public java.util.List<WorkspaceBinding> getWorkspaces() {
753747 * Workspaces is a list of WorkspaceBindings from volumes to workspaces.
754748 * @param workspaces workspaces or {@code null} for none
755749 */
756- public PipelineRun setWorkspaces (java .util .List <WorkspaceBinding > workspaces ) {
750+ public GoogleDevtoolsCloudbuildV2PipelineRun setWorkspaces (java .util .List <WorkspaceBinding > workspaces ) {
757751 this .workspaces = workspaces ;
758752 return this ;
759753 }
760754
761755 @ Override
762- public PipelineRun set (String fieldName , Object value ) {
763- return (PipelineRun ) super .set (fieldName , value );
756+ public GoogleDevtoolsCloudbuildV2PipelineRun set (String fieldName , Object value ) {
757+ return (GoogleDevtoolsCloudbuildV2PipelineRun ) super .set (fieldName , value );
764758 }
765759
766760 @ Override
767- public PipelineRun clone () {
768- return (PipelineRun ) super .clone ();
761+ public GoogleDevtoolsCloudbuildV2PipelineRun clone () {
762+ return (GoogleDevtoolsCloudbuildV2PipelineRun ) super .clone ();
769763 }
770764
771765}
0 commit comments