You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 16, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: owl-bot-staging/v1/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/CloudBuildClient.java
+30-50Lines changed: 30 additions & 50 deletions
Original file line number
Diff line number
Diff line change
@@ -100,13 +100,13 @@
100
100
* methods:
101
101
*
102
102
* <ol>
103
-
* <li>A "flattened" method. With this type of method, the fields of the request type have been
103
+
* <li>A "flattened" method. With this type of method, the fields of the request type have been
104
104
* converted into function parameters. It may be the case that not all fields are available as
105
105
* parameters, and not every API method will have a flattened method entry point.
106
-
* <li>A "request object" method. This type of method only takes one parameter, a request object,
106
+
* <li>A "request object" method. This type of method only takes one parameter, a request object,
107
107
* which must be constructed before the call. Not every API method will have a request object
108
108
* method.
109
-
* <li>A "callable" method. This type of method takes no parameters and returns an immutable API
109
+
* <li>A "callable" method. This type of method takes no parameters and returns an immutable API
110
110
* callable object, which can be used to initiate calls to the service.
111
111
* </ol>
112
112
*
@@ -609,26 +609,26 @@ public final UnaryCallable<CancelBuildRequest, Build> cancelBuildCallable() {
609
609
* <p>For triggered builds:
610
610
*
611
611
* <ul>
612
-
* <li>Triggered builds resolve to a precise revision; therefore a retry of a triggered build
612
+
* <li>Triggered builds resolve to a precise revision; therefore a retry of a triggered build
613
613
* will result in a build that uses the same revision.
614
614
* </ul>
615
615
*
616
616
* <p>For non-triggered builds that specify `RepoSource`:
617
617
*
618
618
* <ul>
619
-
* <li>If the original build built from the tip of a branch, the retried build will build from
619
+
* <li>If the original build built from the tip of a branch, the retried build will build from
620
620
* the tip of that branch, which may not be the same revision as the original build.
621
-
* <li>If the original build specified a commit sha or revision ID, the retried build will use
621
+
* <li>If the original build specified a commit sha or revision ID, the retried build will use
622
622
* the identical source.
623
623
* </ul>
624
624
*
625
625
* <p>For builds that specify `StorageSource`:
626
626
*
627
627
* <ul>
628
-
* <li>If the original build pulled source from Google Cloud Storage without specifying the
628
+
* <li>If the original build pulled source from Google Cloud Storage without specifying the
629
629
* generation of the object, the new build will use the current object, which may be
630
630
* different from the original build source.
631
-
* <li>If the original build pulled source from Cloud Storage and specified the generation of
631
+
* <li>If the original build pulled source from Cloud Storage and specified the generation of
632
632
* the object, the new build will attempt to use the same object, which may or may not be
633
633
* available depending on the bucket's lifecycle management settings.
634
634
* </ul>
@@ -664,26 +664,26 @@ public final OperationFuture<Build, BuildOperationMetadata> retryBuildAsync(
664
664
* <p>For triggered builds:
665
665
*
666
666
* <ul>
667
-
* <li>Triggered builds resolve to a precise revision; therefore a retry of a triggered build
667
+
* <li>Triggered builds resolve to a precise revision; therefore a retry of a triggered build
668
668
* will result in a build that uses the same revision.
669
669
* </ul>
670
670
*
671
671
* <p>For non-triggered builds that specify `RepoSource`:
672
672
*
673
673
* <ul>
674
-
* <li>If the original build built from the tip of a branch, the retried build will build from
674
+
* <li>If the original build built from the tip of a branch, the retried build will build from
675
675
* the tip of that branch, which may not be the same revision as the original build.
676
-
* <li>If the original build specified a commit sha or revision ID, the retried build will use
676
+
* <li>If the original build specified a commit sha or revision ID, the retried build will use
677
677
* the identical source.
678
678
* </ul>
679
679
*
680
680
* <p>For builds that specify `StorageSource`:
681
681
*
682
682
* <ul>
683
-
* <li>If the original build pulled source from Google Cloud Storage without specifying the
683
+
* <li>If the original build pulled source from Google Cloud Storage without specifying the
684
684
* generation of the object, the new build will use the current object, which may be
685
685
* different from the original build source.
686
-
* <li>If the original build pulled source from Cloud Storage and specified the generation of
686
+
* <li>If the original build pulled source from Cloud Storage and specified the generation of
687
687
* the object, the new build will attempt to use the same object, which may or may not be
688
688
* available depending on the bucket's lifecycle management settings.
689
689
* </ul>
@@ -720,26 +720,26 @@ public final OperationFuture<Build, BuildOperationMetadata> retryBuildAsync(
720
720
* <p>For triggered builds:
721
721
*
722
722
* <ul>
723
-
* <li>Triggered builds resolve to a precise revision; therefore a retry of a triggered build
723
+
* <li>Triggered builds resolve to a precise revision; therefore a retry of a triggered build
724
724
* will result in a build that uses the same revision.
725
725
* </ul>
726
726
*
727
727
* <p>For non-triggered builds that specify `RepoSource`:
728
728
*
729
729
* <ul>
730
-
* <li>If the original build built from the tip of a branch, the retried build will build from
730
+
* <li>If the original build built from the tip of a branch, the retried build will build from
731
731
* the tip of that branch, which may not be the same revision as the original build.
732
-
* <li>If the original build specified a commit sha or revision ID, the retried build will use
732
+
* <li>If the original build specified a commit sha or revision ID, the retried build will use
733
733
* the identical source.
734
734
* </ul>
735
735
*
736
736
* <p>For builds that specify `StorageSource`:
737
737
*
738
738
* <ul>
739
-
* <li>If the original build pulled source from Google Cloud Storage without specifying the
739
+
* <li>If the original build pulled source from Google Cloud Storage without specifying the
740
740
* generation of the object, the new build will use the current object, which may be
741
741
* different from the original build source.
742
-
* <li>If the original build pulled source from Cloud Storage and specified the generation of
742
+
* <li>If the original build pulled source from Cloud Storage and specified the generation of
743
743
* the object, the new build will attempt to use the same object, which may or may not be
744
744
* available depending on the bucket's lifecycle management settings.
745
745
* </ul>
@@ -776,26 +776,26 @@ public final OperationFuture<Build, BuildOperationMetadata> retryBuildAsync(
776
776
* <p>For triggered builds:
777
777
*
778
778
* <ul>
779
-
* <li>Triggered builds resolve to a precise revision; therefore a retry of a triggered build
779
+
* <li>Triggered builds resolve to a precise revision; therefore a retry of a triggered build
780
780
* will result in a build that uses the same revision.
781
781
* </ul>
782
782
*
783
783
* <p>For non-triggered builds that specify `RepoSource`:
784
784
*
785
785
* <ul>
786
-
* <li>If the original build built from the tip of a branch, the retried build will build from
786
+
* <li>If the original build built from the tip of a branch, the retried build will build from
787
787
* the tip of that branch, which may not be the same revision as the original build.
788
-
* <li>If the original build specified a commit sha or revision ID, the retried build will use
788
+
* <li>If the original build specified a commit sha or revision ID, the retried build will use
789
789
* the identical source.
790
790
* </ul>
791
791
*
792
792
* <p>For builds that specify `StorageSource`:
793
793
*
794
794
* <ul>
795
-
* <li>If the original build pulled source from Google Cloud Storage without specifying the
795
+
* <li>If the original build pulled source from Google Cloud Storage without specifying the
796
796
* generation of the object, the new build will use the current object, which may be
797
797
* different from the original build source.
798
-
* <li>If the original build pulled source from Cloud Storage and specified the generation of
798
+
* <li>If the original build pulled source from Cloud Storage and specified the generation of
799
799
* the object, the new build will attempt to use the same object, which may or may not be
800
800
* available depending on the bucket's lifecycle management settings.
Copy file name to clipboardExpand all lines: owl-bot-staging/v1/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/CloudBuildSettings.java
Copy file name to clipboardExpand all lines: owl-bot-staging/v1/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/stub/CloudBuildStubSettings.java
+4-5Lines changed: 4 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -93,9 +93,9 @@
93
93
* <p>The default instance has everything set to sensible defaults:
94
94
*
95
95
* <ul>
96
-
* <li>The default service address (cloudbuild.googleapis.com) and default port (443) are used.
97
-
* <li>Credentials are acquired automatically through Application Default Credentials.
98
-
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
96
+
* <li>The default service address (cloudbuild.googleapis.com) and default port (443) are used.
97
+
* <li>Credentials are acquired automatically through Application Default Credentials.
98
+
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
99
99
* </ul>
100
100
*
101
101
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
@@ -303,8 +303,7 @@ public ApiFuture<ListBuildsPagedResponse> getFuturePagedResponse(
Copy file name to clipboardExpand all lines: owl-bot-staging/v1/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/stub/GrpcCloudBuildStub.java
Copy file name to clipboardExpand all lines: owl-bot-staging/v1/google-cloud-build/src/test/java/com/google/cloud/devtools/cloudbuild/v1/CloudBuildClientTest.java
-3Lines changed: 0 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -565,7 +565,6 @@ public void createBuildTriggerTest() throws Exception {
565
565
.addAllIgnoredFiles(newArrayList<String>())
566
566
.addAllIncludedFiles(newArrayList<String>())
567
567
.setFilter("filter-1274492040")
568
-
.setServiceAccount("serviceAccount1079137720")
569
568
.build();
570
569
mockCloudBuild.addResponse(expectedResponse);
571
570
@@ -621,7 +620,6 @@ public void getBuildTriggerTest() throws Exception {
621
620
.addAllIgnoredFiles(newArrayList<String>())
622
621
.addAllIncludedFiles(newArrayList<String>())
623
622
.setFilter("filter-1274492040")
624
-
.setServiceAccount("serviceAccount1079137720")
625
623
.build();
626
624
mockCloudBuild.addResponse(expectedResponse);
627
625
@@ -758,7 +756,6 @@ public void updateBuildTriggerTest() throws Exception {
0 commit comments