From 7e9c6405018c231c587070327023372fb26d08b5 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 28 Jun 2022 04:18:23 +0000 Subject: [PATCH] fix: update gapic-generator-java with mock service generation fixes (#112) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 457524730 Source-Link: https://github.com/googleapis/googleapis/commit/917e7f21cb1dc062744c6694437cdd46219f28cb Source-Link: https://github.com/googleapis/googleapis-gen/commit/2497f9a069d3f6b2d6810d5a4e239cda1e7e5a39 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjQ5N2Y5YTA2OWQzZjZiMmQ2ODEwZDVhNGUyMzljZGExZTdlNWEzOSJ9 --- .../src/main/java/com/google/cloud/ids/v1/IDSClient.java | 2 ++ .../ids/v1/idsclient/deleteendpoint/SyncDeleteEndpoint.java | 1 + .../deleteendpoint/SyncDeleteEndpointEndpointname.java | 1 + .../v1/idsclient/deleteendpoint/SyncDeleteEndpointString.java | 1 + 4 files changed, 5 insertions(+) diff --git a/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/IDSClient.java b/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/IDSClient.java index 9347529..2576c72 100644 --- a/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/IDSClient.java +++ b/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/IDSClient.java @@ -18,6 +18,7 @@ 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.httpjson.longrunning.OperationsClient; import com.google.api.gax.longrunning.OperationFuture; @@ -184,6 +185,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ + @BetaApi public final OperationsClient getHttpJsonOperationsClient() { return httpJsonOperationsClient; } diff --git a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/SyncDeleteEndpoint.java b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/SyncDeleteEndpoint.java index d082ce8..82ae52e 100644 --- a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/SyncDeleteEndpoint.java +++ b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/SyncDeleteEndpoint.java @@ -20,6 +20,7 @@ import com.google.cloud.ids.v1.DeleteEndpointRequest; import com.google.cloud.ids.v1.EndpointName; import com.google.cloud.ids.v1.IDSClient; +import com.google.protobuf.Empty; public class SyncDeleteEndpoint { diff --git a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/SyncDeleteEndpointEndpointname.java b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/SyncDeleteEndpointEndpointname.java index f114753..b56e840 100644 --- a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/SyncDeleteEndpointEndpointname.java +++ b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/SyncDeleteEndpointEndpointname.java @@ -19,6 +19,7 @@ // [START ids_v1_generated_idsclient_deleteendpoint_endpointname_sync] import com.google.cloud.ids.v1.EndpointName; import com.google.cloud.ids.v1.IDSClient; +import com.google.protobuf.Empty; public class SyncDeleteEndpointEndpointname { diff --git a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/SyncDeleteEndpointString.java b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/SyncDeleteEndpointString.java index 54d2562..f7e9fcd 100644 --- a/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/SyncDeleteEndpointString.java +++ b/samples/snippets/generated/com/google/cloud/ids/v1/idsclient/deleteendpoint/SyncDeleteEndpointString.java @@ -19,6 +19,7 @@ // [START ids_v1_generated_idsclient_deleteendpoint_string_sync] import com.google.cloud.ids.v1.EndpointName; import com.google.cloud.ids.v1.IDSClient; +import com.google.protobuf.Empty; public class SyncDeleteEndpointString {