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

Commit 4ce5e88

Browse files
fix: update gapic-generator-java with mock service generation fixes (#13)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 457524730 Source-Link: googleapis/googleapis@917e7f2 Source-Link: https://github.com/googleapis/googleapis-gen/commit/2497f9a069d3f6b2d6810d5a4e239cda1e7e5a39 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjQ5N2Y5YTA2OWQzZjZiMmQ2ODEwZDVhNGUyMzljZGExZTdlNWEzOSJ9
1 parent 6575f88 commit 4ce5e88

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

google-cloud-batch/src/main/java/com/google/cloud/batch/v1/BatchServiceClient.java

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
import com.google.api.core.ApiFuture;
2020
import com.google.api.core.ApiFutures;
21+
import com.google.api.core.BetaApi;
2122
import com.google.api.gax.core.BackgroundResource;
2223
import com.google.api.gax.httpjson.longrunning.OperationsClient;
2324
import com.google.api.gax.longrunning.OperationFuture;
@@ -189,6 +190,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() {
189190
* Returns the OperationsClient that can be used to query the status of a long-running operation
190191
* returned by another API method call.
191192
*/
193+
@BetaApi
192194
public final OperationsClient getHttpJsonOperationsClient() {
193195
return httpJsonOperationsClient;
194196
}

google-cloud-batch/src/test/java/com/google/cloud/batch/v1/BatchServiceClientTest.java

-2
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@
2727
import com.google.api.gax.rpc.ApiClientHeaderProvider;
2828
import com.google.api.gax.rpc.InvalidArgumentException;
2929
import com.google.api.gax.rpc.StatusCode;
30-
import com.google.cloud.location.MockLocations;
3130
import com.google.common.collect.Lists;
32-
import com.google.iam.v1.MockIAMPolicy;
3331
import com.google.longrunning.Operation;
3432
import com.google.protobuf.AbstractMessage;
3533
import com.google.protobuf.Any;

google-cloud-batch/src/test/java/com/google/iam/v1/MockIAMPolicy.java renamed to google-cloud-batch/src/test/java/com/google/cloud/batch/v1/MockIAMPolicy.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.google.iam.v1;
17+
package com.google.cloud.batch.v1;
1818

1919
import com.google.api.core.BetaApi;
2020
import com.google.api.gax.grpc.testing.MockGrpcService;

google-cloud-batch/src/test/java/com/google/iam/v1/MockIAMPolicyImpl.java renamed to google-cloud-batch/src/test/java/com/google/cloud/batch/v1/MockIAMPolicyImpl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.google.iam.v1;
17+
package com.google.cloud.batch.v1;
1818

1919
import com.google.api.core.BetaApi;
2020
import com.google.iam.v1.IAMPolicyGrpc.IAMPolicyImplBase;

google-cloud-batch/src/test/java/com/google/cloud/location/MockLocations.java renamed to google-cloud-batch/src/test/java/com/google/cloud/batch/v1/MockLocations.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.google.cloud.location;
17+
package com.google.cloud.batch.v1;
1818

1919
import com.google.api.core.BetaApi;
2020
import com.google.api.gax.grpc.testing.MockGrpcService;

google-cloud-batch/src/test/java/com/google/cloud/location/MockLocationsImpl.java renamed to google-cloud-batch/src/test/java/com/google/cloud/batch/v1/MockLocationsImpl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.google.cloud.location;
17+
package com.google.cloud.batch.v1;
1818

1919
import com.google.api.core.BetaApi;
2020
import com.google.cloud.location.LocationsGrpc.LocationsImplBase;

0 commit comments

Comments
 (0)