Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-build</artifactId>
<version>3.3.13</version>
<version>3.4.0</version>
</dependency>
```

If you are using Gradle without BOM, add this to your dependencies

```Groovy
implementation 'com.google.cloud:google-cloud-build:3.3.13'
implementation 'com.google.cloud:google-cloud-build:3.4.0'
```

If you are using SBT, add this to your dependencies

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-build" % "3.3.13"
libraryDependencies += "com.google.cloud" % "google-cloud-build" % "3.4.0"
```

## Authentication
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import com.google.api.core.ApiFuture;
import com.google.api.core.ApiFutures;
import com.google.api.core.BetaApi;
import com.google.api.gax.core.BackgroundResource;
import com.google.api.gax.longrunning.OperationFuture;
import com.google.api.gax.paging.AbstractFixedSizeCollection;
Expand Down Expand Up @@ -168,7 +167,6 @@ public static final CloudBuildClient create(CloudBuildSettings settings) throws
* Constructs an instance of CloudBuildClient, using the given stub for making calls. This is for
* advanced usage - prefer using create(CloudBuildSettings).
*/
@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public static final CloudBuildClient create(CloudBuildStub stub) {
return new CloudBuildClient(stub);
}
Expand All @@ -183,7 +181,6 @@ protected CloudBuildClient(CloudBuildSettings settings) throws IOException {
this.operationsClient = OperationsClient.create(this.stub.getOperationsStub());
}

@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
protected CloudBuildClient(CloudBuildStub stub) {
this.settings = null;
this.stub = stub;
Expand All @@ -194,7 +191,6 @@ public final CloudBuildSettings getSettings() {
return settings;
}

@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public CloudBuildStub getStub() {
return stub;
}
Expand Down Expand Up @@ -537,7 +533,7 @@ public final UnaryCallable<ListBuildsRequest, ListBuildsPagedResponse> listBuild
* .build();
* while (true) {
* ListBuildsResponse response = cloudBuildClient.listBuildsCallable().call(request);
* for (Build element : response.getResponsesList()) {
* for (Build element : response.getBuildsList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
Expand Down Expand Up @@ -1272,7 +1268,7 @@ public final ListBuildTriggersPagedResponse listBuildTriggers(ListBuildTriggersR
* while (true) {
* ListBuildTriggersResponse response =
* cloudBuildClient.listBuildTriggersCallable().call(request);
* for (BuildTrigger element : response.getResponsesList()) {
* for (BuildTrigger element : response.getTriggersList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
Expand Down Expand Up @@ -2292,7 +2288,7 @@ public final ListWorkerPoolsPagedResponse listWorkerPools(ListWorkerPoolsRequest
* .build();
* while (true) {
* ListWorkerPoolsResponse response = cloudBuildClient.listWorkerPoolsCallable().call(request);
* for (WorkerPool element : response.getResponsesList()) {
* for (WorkerPool element : response.getWorkerPoolsList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,6 @@ public UnaryCallSettings<UpdateWorkerPoolRequest, Operation> updateWorkerPoolSet
return listWorkerPoolsSettings;
}

@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public CloudBuildStub createStub() throws IOException {
if (getTransportChannelProvider()
.getTransportName()
Expand Down