From 8f60a02c70b96af47064120bf2cd944f7ee8b109 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 (#63)

- [ ] 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
---
 .../cloud/video/livestream/v1/LivestreamServiceClient.java  | 2 ++
 .../SyncCreateChannelLocationnameChannelString.java         | 6 ++----
 .../deletechannel/SyncDeleteChannel.java                    | 1 +
 .../deletechannel/SyncDeleteChannelChannelname.java         | 1 +
 .../deletechannel/SyncDeleteChannelString.java              | 1 +
 .../deleteevent/SyncDeleteEvent.java                        | 1 +
 .../deleteevent/SyncDeleteEventEventname.java               | 1 +
 .../deleteevent/SyncDeleteEventString.java                  | 1 +
 .../deleteinput/SyncDeleteInput.java                        | 1 +
 .../deleteinput/SyncDeleteInputInputname.java               | 1 +
 .../deleteinput/SyncDeleteInputString.java                  | 1 +
 11 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceClient.java b/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceClient.java
index 39aa5a0..9d7cd61 100644
--- a/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceClient.java
+++ b/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceClient.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;
@@ -195,6 +196,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/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannelLocationnameChannelString.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannelLocationnameChannelString.java
index 51f976f..27ce263 100644
--- a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannelLocationnameChannelString.java
+++ b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/createchannel/SyncCreateChannelLocationnameChannelString.java
@@ -16,8 +16,7 @@
 
 package com.google.cloud.video.livestream.v1.samples;
 
-// [START
-// livestream_v1_generated_livestreamserviceclient_createchannel_locationnamechannelstring_sync]
+// [START livestream_v1_generated_livestreamserviceclient_createchannel_locationnamechannelstring_sync]
 import com.google.cloud.video.livestream.v1.Channel;
 import com.google.cloud.video.livestream.v1.LivestreamServiceClient;
 import com.google.cloud.video.livestream.v1.LocationName;
@@ -40,5 +39,4 @@ public static void syncCreateChannelLocationnameChannelString() throws Exception
     }
   }
 }
-// [END
-// livestream_v1_generated_livestreamserviceclient_createchannel_locationnamechannelstring_sync]
+// [END livestream_v1_generated_livestreamserviceclient_createchannel_locationnamechannelstring_sync]
diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannel.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannel.java
index 3baa3e8..d4f1374 100644
--- a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannel.java
+++ b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannel.java
@@ -20,6 +20,7 @@
 import com.google.cloud.video.livestream.v1.ChannelName;
 import com.google.cloud.video.livestream.v1.DeleteChannelRequest;
 import com.google.cloud.video.livestream.v1.LivestreamServiceClient;
+import com.google.protobuf.Empty;
 
 public class SyncDeleteChannel {
 
diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelChannelname.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelChannelname.java
index 321a56a..f3237fe 100644
--- a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelChannelname.java
+++ b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelChannelname.java
@@ -19,6 +19,7 @@
 // [START livestream_v1_generated_livestreamserviceclient_deletechannel_channelname_sync]
 import com.google.cloud.video.livestream.v1.ChannelName;
 import com.google.cloud.video.livestream.v1.LivestreamServiceClient;
+import com.google.protobuf.Empty;
 
 public class SyncDeleteChannelChannelname {
 
diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelString.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelString.java
index 6719746..3c8bac7 100644
--- a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelString.java
+++ b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deletechannel/SyncDeleteChannelString.java
@@ -19,6 +19,7 @@
 // [START livestream_v1_generated_livestreamserviceclient_deletechannel_string_sync]
 import com.google.cloud.video.livestream.v1.ChannelName;
 import com.google.cloud.video.livestream.v1.LivestreamServiceClient;
+import com.google.protobuf.Empty;
 
 public class SyncDeleteChannelString {
 
diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEvent.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEvent.java
index 869ad14..1ba36b3 100644
--- a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEvent.java
+++ b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEvent.java
@@ -20,6 +20,7 @@
 import com.google.cloud.video.livestream.v1.DeleteEventRequest;
 import com.google.cloud.video.livestream.v1.EventName;
 import com.google.cloud.video.livestream.v1.LivestreamServiceClient;
+import com.google.protobuf.Empty;
 
 public class SyncDeleteEvent {
 
diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventEventname.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventEventname.java
index d96d491..8791418 100644
--- a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventEventname.java
+++ b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventEventname.java
@@ -19,6 +19,7 @@
 // [START livestream_v1_generated_livestreamserviceclient_deleteevent_eventname_sync]
 import com.google.cloud.video.livestream.v1.EventName;
 import com.google.cloud.video.livestream.v1.LivestreamServiceClient;
+import com.google.protobuf.Empty;
 
 public class SyncDeleteEventEventname {
 
diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventString.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventString.java
index 675aeed..fc0dac1 100644
--- a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventString.java
+++ b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteevent/SyncDeleteEventString.java
@@ -19,6 +19,7 @@
 // [START livestream_v1_generated_livestreamserviceclient_deleteevent_string_sync]
 import com.google.cloud.video.livestream.v1.EventName;
 import com.google.cloud.video.livestream.v1.LivestreamServiceClient;
+import com.google.protobuf.Empty;
 
 public class SyncDeleteEventString {
 
diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInput.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInput.java
index 34ff018..a811bee 100644
--- a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInput.java
+++ b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInput.java
@@ -20,6 +20,7 @@
 import com.google.cloud.video.livestream.v1.DeleteInputRequest;
 import com.google.cloud.video.livestream.v1.InputName;
 import com.google.cloud.video.livestream.v1.LivestreamServiceClient;
+import com.google.protobuf.Empty;
 
 public class SyncDeleteInput {
 
diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputInputname.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputInputname.java
index 8e57c33..06aa24a 100644
--- a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputInputname.java
+++ b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputInputname.java
@@ -19,6 +19,7 @@
 // [START livestream_v1_generated_livestreamserviceclient_deleteinput_inputname_sync]
 import com.google.cloud.video.livestream.v1.InputName;
 import com.google.cloud.video.livestream.v1.LivestreamServiceClient;
+import com.google.protobuf.Empty;
 
 public class SyncDeleteInputInputname {
 
diff --git a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputString.java b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputString.java
index 6703950..e49a523 100644
--- a/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputString.java
+++ b/samples/snippets/generated/com/google/cloud/video/livestream/v1/livestreamserviceclient/deleteinput/SyncDeleteInputString.java
@@ -19,6 +19,7 @@
 // [START livestream_v1_generated_livestreamserviceclient_deleteinput_string_sync]
 import com.google.cloud.video.livestream.v1.InputName;
 import com.google.cloud.video.livestream.v1.LivestreamServiceClient;
+import com.google.protobuf.Empty;
 
 public class SyncDeleteInputString {