Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

fix: Set the transport of grafeas back to grpc only #498

Merged
merged 14 commits into from
Jun 30, 2022
Merged
Show file tree
Hide file tree
Changes from 2 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
4 changes: 0 additions & 4 deletions src/main/java/io/grafeas/v1/GrafeasClient.java
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.paging.AbstractFixedSizeCollection;
import com.google.api.gax.paging.AbstractPage;
Expand Down Expand Up @@ -134,7 +133,6 @@ public static final GrafeasClient create(GrafeasSettings settings) throws IOExce
* Constructs an instance of GrafeasClient, using the given stub for making calls. This is for
* advanced usage - prefer using create(GrafeasSettings).
*/
@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public static final GrafeasClient create(GrafeasStub stub) {
return new GrafeasClient(stub);
}
Expand All @@ -148,7 +146,6 @@ protected GrafeasClient(GrafeasSettings settings) throws IOException {
this.stub = ((GrafeasStubSettings) settings.getStubSettings()).createStub();
}

@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
protected GrafeasClient(GrafeasStub stub) {
this.settings = null;
this.stub = stub;
Expand All @@ -158,7 +155,6 @@ public final GrafeasSettings getSettings() {
return settings;
}

@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public GrafeasStub getStub() {
return stub;
}
Expand Down
1 change: 0 additions & 1 deletion src/main/java/io/grafeas/v1/stub/GrafeasStubSettings.java
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,6 @@ public UnaryCallSettings<UpdateNoteRequest, Note> updateNoteSettings() {
return listNoteOccurrencesSettings;
}

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