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

fix: update gapic-generator-java with mock service generation fixes #209

Merged
merged 8 commits into from
Jun 30, 2022
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package com.google.cloud.shell.v1;

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.rpc.OperationCallable;
Expand Down Expand Up @@ -126,7 +125,6 @@ public static final CloudShellServiceClient create(CloudShellServiceSettings set
* Constructs an instance of CloudShellServiceClient, using the given stub for making calls. This
* is for advanced usage - prefer using create(CloudShellServiceSettings).
*/
@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public static final CloudShellServiceClient create(CloudShellServiceStub stub) {
return new CloudShellServiceClient(stub);
}
Expand All @@ -142,7 +140,6 @@ protected CloudShellServiceClient(CloudShellServiceSettings settings) throws IOE
this.operationsClient = OperationsClient.create(this.stub.getOperationsStub());
}

@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
protected CloudShellServiceClient(CloudShellServiceStub stub) {
this.settings = null;
this.stub = stub;
Expand All @@ -153,7 +150,6 @@ public final CloudShellServiceSettings getSettings() {
return settings;
}

@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public CloudShellServiceStub getStub() {
return stub;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ public UnaryCallSettings<RemovePublicKeyRequest, Operation> removePublicKeySetti
return removePublicKeyOperationSettings;
}

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