From b1d854d364902a3b30ec204ff9909ad04af15b16 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:16:33 +0000 Subject: [PATCH] fix: update gapic-generator-java with mock service generation fixes (#922) - [ ] 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 --- .../v1/VideoIntelligenceServiceClient.java | 2 ++ .../v1beta2/VideoIntelligenceServiceClient.java | 1 + .../v1p1beta1/VideoIntelligenceServiceClient.java | 1 + .../v1p2beta1/VideoIntelligenceServiceClient.java | 1 + .../v1p3beta1/VideoIntelligenceServiceClient.java | 1 + .../annotatevideo/SyncAnnotateVideoStringListfeature.java | 6 ++---- .../create/SyncCreateSetCredentialsProvider.java | 6 ++---- .../create/SyncCreateSetCredentialsProvider1.java | 6 ++---- .../annotatevideo/SyncAnnotateVideo.java | 3 +-- .../annotatevideo/AsyncAnnotateVideoLRO.java | 3 +-- .../annotatevideo/SyncAnnotateVideoStringListfeature.java | 6 ++---- .../create/SyncCreateSetCredentialsProvider.java | 6 ++---- .../create/SyncCreateSetCredentialsProvider1.java | 6 ++---- .../create/SyncCreateSetEndpoint.java | 3 +-- .../annotatevideo/SyncAnnotateVideo.java | 6 ++---- .../annotatevideo/AsyncAnnotateVideoLRO.java | 6 ++---- .../annotatevideo/SyncAnnotateVideoStringListfeature.java | 6 ++---- .../create/SyncCreateSetCredentialsProvider.java | 6 ++---- .../create/SyncCreateSetCredentialsProvider1.java | 6 ++---- .../create/SyncCreateSetEndpoint.java | 6 ++---- .../annotatevideo/SyncAnnotateVideo.java | 6 ++---- .../annotatevideo/AsyncAnnotateVideoLRO.java | 6 ++---- .../annotatevideo/SyncAnnotateVideoStringListfeature.java | 6 ++---- .../create/SyncCreateSetCredentialsProvider.java | 6 ++---- .../create/SyncCreateSetCredentialsProvider1.java | 6 ++---- .../create/SyncCreateSetEndpoint.java | 6 ++---- .../create/SyncCreateSetCredentialsProvider.java | 6 ++---- .../create/SyncCreateSetCredentialsProvider1.java | 6 ++---- .../create/SyncCreateSetEndpoint.java | 6 ++---- .../streamingannotatevideo/AsyncStreamingAnnotateVideo.java | 6 ++---- .../streamingannotatevideo/SyncStreamingAnnotateVideo.java | 6 ++---- .../streamingannotatevideo/SyncStreamingAnnotateVideo.java | 6 ++---- .../annotatevideo/SyncAnnotateVideo.java | 6 ++---- .../annotatevideo/AsyncAnnotateVideoLRO.java | 6 ++---- .../annotatevideo/SyncAnnotateVideoStringListfeature.java | 6 ++---- .../create/SyncCreateSetCredentialsProvider.java | 6 ++---- .../create/SyncCreateSetCredentialsProvider1.java | 6 ++---- .../create/SyncCreateSetEndpoint.java | 6 ++---- 38 files changed, 69 insertions(+), 126 deletions(-) diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClient.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClient.java index 81d6e2be3..778296692 100644 --- a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClient.java +++ b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClient.java @@ -16,6 +16,7 @@ package com.google.cloud.videointelligence.v1; +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; @@ -188,6 +189,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/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClient.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClient.java index 1210b11b6..cb563d970 100644 --- a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClient.java +++ b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClient.java @@ -190,6 +190,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/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClient.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClient.java index 501a5f6f0..135f15b16 100644 --- a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClient.java +++ b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClient.java @@ -190,6 +190,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/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClient.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClient.java index 10e3b3e14..7fce79092 100644 --- a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClient.java +++ b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClient.java @@ -190,6 +190,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/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClient.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClient.java index 49cec9781..74701de19 100644 --- a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClient.java +++ b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClient.java @@ -190,6 +190,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/videointelligence/v1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java index 65facc202..5e828421e 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1.samples; -// [START -// videointelligence_v1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] +// [START videointelligence_v1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] import com.google.cloud.videointelligence.v1.AnnotateVideoResponse; import com.google.cloud.videointelligence.v1.Feature; import com.google.cloud.videointelligence.v1.VideoIntelligenceServiceClient; @@ -42,5 +41,4 @@ public static void syncAnnotateVideoStringListfeature() throws Exception { } } } -// [END -// videointelligence_v1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] +// [END videointelligence_v1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java index 724680f3a..3963d0877 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1.samples; -// [START -// videointelligence_v1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] +// [START videointelligence_v1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.videointelligence.v1.VideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1.VideoIntelligenceServiceSettings; @@ -40,5 +39,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); } } -// [END -// videointelligence_v1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] +// [END videointelligence_v1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java index 1490a6db8..f252944c4 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1.samples; -// [START -// videointelligence_v1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] +// [START videointelligence_v1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] import com.google.cloud.videointelligence.v1.VideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1.VideoIntelligenceServiceSettings; @@ -39,5 +38,4 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); } } -// [END -// videointelligence_v1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] +// [END videointelligence_v1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java index ab4d64f59..4e2e757f5 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1beta2.stub.samples; -// [START -// videointelligence_v1beta2_generated_videointelligenceservicestubsettings_annotatevideo_sync] +// [START videointelligence_v1beta2_generated_videointelligenceservicestubsettings_annotatevideo_sync] import com.google.cloud.videointelligence.v1beta2.stub.VideoIntelligenceServiceStubSettings; import java.time.Duration; diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java index dbdc031b8..b2c15855c 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1beta2.samples; -// [START -// videointelligence_v1beta2_generated_videointelligenceserviceclient_annotatevideo_lro_async] +// [START videointelligence_v1beta2_generated_videointelligenceserviceclient_annotatevideo_lro_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress; import com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest; diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java index 5cb7e22d2..c2935ec4f 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1beta2.samples; -// [START -// videointelligence_v1beta2_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] +// [START videointelligence_v1beta2_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] import com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse; import com.google.cloud.videointelligence.v1beta2.Feature; import com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceClient; @@ -42,5 +41,4 @@ public static void syncAnnotateVideoStringListfeature() throws Exception { } } } -// [END -// videointelligence_v1beta2_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] +// [END videointelligence_v1beta2_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java index ceaee81f0..4aecb28a8 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1beta2.samples; -// [START -// videointelligence_v1beta2_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] +// [START videointelligence_v1beta2_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceSettings; @@ -40,5 +39,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); } } -// [END -// videointelligence_v1beta2_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] +// [END videointelligence_v1beta2_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java index 84bd52042..6b025c883 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1beta2.samples; -// [START -// videointelligence_v1beta2_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] +// [START videointelligence_v1beta2_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] import com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceSettings; @@ -39,5 +38,4 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); } } -// [END -// videointelligence_v1beta2_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] +// [END videointelligence_v1beta2_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java index 42e9a82b7..bef39c8e6 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1beta2.samples; -// [START -// videointelligence_v1beta2_generated_videointelligenceserviceclient_create_setendpoint_sync] +// [START videointelligence_v1beta2_generated_videointelligenceserviceclient_create_setendpoint_sync] import com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceSettings; import com.google.cloud.videointelligence.v1beta2.myEndpoint; diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java index 0e1339a98..ee211c508 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1p1beta1.stub.samples; -// [START -// videointelligence_v1p1beta1_generated_videointelligenceservicestubsettings_annotatevideo_sync] +// [START videointelligence_v1p1beta1_generated_videointelligenceservicestubsettings_annotatevideo_sync] import com.google.cloud.videointelligence.v1p1beta1.stub.VideoIntelligenceServiceStubSettings; import java.time.Duration; @@ -45,5 +44,4 @@ public static void syncAnnotateVideo() throws Exception { videoIntelligenceServiceSettingsBuilder.build(); } } -// [END -// videointelligence_v1p1beta1_generated_videointelligenceservicestubsettings_annotatevideo_sync] +// [END videointelligence_v1p1beta1_generated_videointelligenceservicestubsettings_annotatevideo_sync] diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java index f95fefb89..e4ebb4cb7 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1p1beta1.samples; -// [START -// videointelligence_v1p1beta1_generated_videointelligenceserviceclient_annotatevideo_lro_async] +// [START videointelligence_v1p1beta1_generated_videointelligenceserviceclient_annotatevideo_lro_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress; import com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest; @@ -55,5 +54,4 @@ public static void asyncAnnotateVideoLRO() throws Exception { } } } -// [END -// videointelligence_v1p1beta1_generated_videointelligenceserviceclient_annotatevideo_lro_async] +// [END videointelligence_v1p1beta1_generated_videointelligenceserviceclient_annotatevideo_lro_async] diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java index c7d0f5af8..daae83bf0 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1p1beta1.samples; -// [START -// videointelligence_v1p1beta1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] +// [START videointelligence_v1p1beta1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] import com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse; import com.google.cloud.videointelligence.v1p1beta1.Feature; import com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceClient; @@ -42,5 +41,4 @@ public static void syncAnnotateVideoStringListfeature() throws Exception { } } } -// [END -// videointelligence_v1p1beta1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] +// [END videointelligence_v1p1beta1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java index 4088eafe7..97dcbcd75 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1p1beta1.samples; -// [START -// videointelligence_v1p1beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] +// [START videointelligence_v1p1beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceSettings; @@ -40,5 +39,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); } } -// [END -// videointelligence_v1p1beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] +// [END videointelligence_v1p1beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java index 68d9b64e4..00b0405da 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1p1beta1.samples; -// [START -// videointelligence_v1p1beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] +// [START videointelligence_v1p1beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] import com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceSettings; @@ -39,5 +38,4 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); } } -// [END -// videointelligence_v1p1beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] +// [END videointelligence_v1p1beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java index 35a534c9f..3400284e1 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1p1beta1.samples; -// [START -// videointelligence_v1p1beta1_generated_videointelligenceserviceclient_create_setendpoint_sync] +// [START videointelligence_v1p1beta1_generated_videointelligenceserviceclient_create_setendpoint_sync] import com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceSettings; import com.google.cloud.videointelligence.v1p1beta1.myEndpoint; @@ -37,5 +36,4 @@ public static void syncCreateSetEndpoint() throws Exception { VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); } } -// [END -// videointelligence_v1p1beta1_generated_videointelligenceserviceclient_create_setendpoint_sync] +// [END videointelligence_v1p1beta1_generated_videointelligenceserviceclient_create_setendpoint_sync] diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java index 160b44c2b..8dfbb2d43 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1p2beta1.stub.samples; -// [START -// videointelligence_v1p2beta1_generated_videointelligenceservicestubsettings_annotatevideo_sync] +// [START videointelligence_v1p2beta1_generated_videointelligenceservicestubsettings_annotatevideo_sync] import com.google.cloud.videointelligence.v1p2beta1.stub.VideoIntelligenceServiceStubSettings; import java.time.Duration; @@ -45,5 +44,4 @@ public static void syncAnnotateVideo() throws Exception { videoIntelligenceServiceSettingsBuilder.build(); } } -// [END -// videointelligence_v1p2beta1_generated_videointelligenceservicestubsettings_annotatevideo_sync] +// [END videointelligence_v1p2beta1_generated_videointelligenceservicestubsettings_annotatevideo_sync] diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java index 7ddea1a28..433a7749c 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1p2beta1.samples; -// [START -// videointelligence_v1p2beta1_generated_videointelligenceserviceclient_annotatevideo_lro_async] +// [START videointelligence_v1p2beta1_generated_videointelligenceserviceclient_annotatevideo_lro_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress; import com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest; @@ -55,5 +54,4 @@ public static void asyncAnnotateVideoLRO() throws Exception { } } } -// [END -// videointelligence_v1p2beta1_generated_videointelligenceserviceclient_annotatevideo_lro_async] +// [END videointelligence_v1p2beta1_generated_videointelligenceserviceclient_annotatevideo_lro_async] diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java index efe6e536b..88e048758 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1p2beta1.samples; -// [START -// videointelligence_v1p2beta1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] +// [START videointelligence_v1p2beta1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] import com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse; import com.google.cloud.videointelligence.v1p2beta1.Feature; import com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceClient; @@ -42,5 +41,4 @@ public static void syncAnnotateVideoStringListfeature() throws Exception { } } } -// [END -// videointelligence_v1p2beta1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] +// [END videointelligence_v1p2beta1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java index d99688f2d..d554c1034 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1p2beta1.samples; -// [START -// videointelligence_v1p2beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] +// [START videointelligence_v1p2beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceSettings; @@ -40,5 +39,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); } } -// [END -// videointelligence_v1p2beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] +// [END videointelligence_v1p2beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java index 44d437931..b99606c79 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1p2beta1.samples; -// [START -// videointelligence_v1p2beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] +// [START videointelligence_v1p2beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] import com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceSettings; @@ -39,5 +38,4 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); } } -// [END -// videointelligence_v1p2beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] +// [END videointelligence_v1p2beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java index 9c5d26317..1750f1c4b 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1p2beta1.samples; -// [START -// videointelligence_v1p2beta1_generated_videointelligenceserviceclient_create_setendpoint_sync] +// [START videointelligence_v1p2beta1_generated_videointelligenceserviceclient_create_setendpoint_sync] import com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceSettings; import com.google.cloud.videointelligence.v1p2beta1.myEndpoint; @@ -37,5 +36,4 @@ public static void syncCreateSetEndpoint() throws Exception { VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); } } -// [END -// videointelligence_v1p2beta1_generated_videointelligenceserviceclient_create_setendpoint_sync] +// [END videointelligence_v1p2beta1_generated_videointelligenceserviceclient_create_setendpoint_sync] diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java index 7d19294d4..6e36612a5 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1p3beta1.samples; -// [START -// videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_create_setcredentialsprovider_sync] +// [START videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_create_setcredentialsprovider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceServiceSettings; @@ -40,5 +39,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { StreamingVideoIntelligenceServiceClient.create(streamingVideoIntelligenceServiceSettings); } } -// [END -// videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_create_setcredentialsprovider_sync] +// [END videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_create_setcredentialsprovider_sync] diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java index 78e7f5ece..de9f6e263 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1p3beta1.samples; -// [START -// videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_create_setcredentialsprovider1_sync] +// [START videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_create_setcredentialsprovider1_sync] import com.google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceServiceSettings; @@ -40,5 +39,4 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { StreamingVideoIntelligenceServiceClient.create(streamingVideoIntelligenceServiceSettings); } } -// [END -// videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_create_setcredentialsprovider1_sync] +// [END videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_create_setcredentialsprovider1_sync] diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetEndpoint.java index 17abe6667..89543210f 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetEndpoint.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetEndpoint.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1p3beta1.samples; -// [START -// videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_create_setendpoint_sync] +// [START videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_create_setendpoint_sync] import com.google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceServiceSettings; import com.google.cloud.videointelligence.v1p3beta1.myEndpoint; @@ -37,5 +36,4 @@ public static void syncCreateSetEndpoint() throws Exception { StreamingVideoIntelligenceServiceClient.create(streamingVideoIntelligenceServiceSettings); } } -// [END -// videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_create_setendpoint_sync] +// [END videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_create_setendpoint_sync] diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/streamingannotatevideo/AsyncStreamingAnnotateVideo.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/streamingannotatevideo/AsyncStreamingAnnotateVideo.java index ccc30e85a..5c2a1d4c4 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/streamingannotatevideo/AsyncStreamingAnnotateVideo.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/streamingannotatevideo/AsyncStreamingAnnotateVideo.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1p3beta1.samples; -// [START -// videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_streamingannotatevideo_async] +// [START videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_streamingannotatevideo_async] import com.google.api.gax.rpc.BidiStream; import com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest; import com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse; @@ -44,5 +43,4 @@ public static void asyncStreamingAnnotateVideo() throws Exception { } } } -// [END -// videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_streamingannotatevideo_async] +// [END videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_streamingannotatevideo_async] diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceservicesettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceservicesettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java index 8fac3c7ab..f266ca084 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceservicesettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceservicesettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1p3beta1.samples; -// [START -// videointelligence_v1p3beta1_generated_streamingvideointelligenceservicesettings_streamingannotatevideo_sync] +// [START videointelligence_v1p3beta1_generated_streamingvideointelligenceservicesettings_streamingannotatevideo_sync] import com.google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceServiceSettings; import java.time.Duration; @@ -46,5 +45,4 @@ public static void syncStreamingAnnotateVideo() throws Exception { streamingVideoIntelligenceServiceSettingsBuilder.build(); } } -// [END -// videointelligence_v1p3beta1_generated_streamingvideointelligenceservicesettings_streamingannotatevideo_sync] +// [END videointelligence_v1p3beta1_generated_streamingvideointelligenceservicesettings_streamingannotatevideo_sync] diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/streamingvideointelligenceservicestubsettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/streamingvideointelligenceservicestubsettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java index 5cd4e0ca3..6ec943ae1 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/streamingvideointelligenceservicestubsettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/streamingvideointelligenceservicestubsettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1p3beta1.stub.samples; -// [START -// videointelligence_v1p3beta1_generated_streamingvideointelligenceservicestubsettings_streamingannotatevideo_sync] +// [START videointelligence_v1p3beta1_generated_streamingvideointelligenceservicestubsettings_streamingannotatevideo_sync] import com.google.cloud.videointelligence.v1p3beta1.stub.StreamingVideoIntelligenceServiceStubSettings; import java.time.Duration; @@ -46,5 +45,4 @@ public static void syncStreamingAnnotateVideo() throws Exception { streamingVideoIntelligenceServiceSettingsBuilder.build(); } } -// [END -// videointelligence_v1p3beta1_generated_streamingvideointelligenceservicestubsettings_streamingannotatevideo_sync] +// [END videointelligence_v1p3beta1_generated_streamingvideointelligenceservicestubsettings_streamingannotatevideo_sync] diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java index 56075a6d0..7d06b2d2b 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1p3beta1.stub.samples; -// [START -// videointelligence_v1p3beta1_generated_videointelligenceservicestubsettings_annotatevideo_sync] +// [START videointelligence_v1p3beta1_generated_videointelligenceservicestubsettings_annotatevideo_sync] import com.google.cloud.videointelligence.v1p3beta1.stub.VideoIntelligenceServiceStubSettings; import java.time.Duration; @@ -45,5 +44,4 @@ public static void syncAnnotateVideo() throws Exception { videoIntelligenceServiceSettingsBuilder.build(); } } -// [END -// videointelligence_v1p3beta1_generated_videointelligenceservicestubsettings_annotatevideo_sync] +// [END videointelligence_v1p3beta1_generated_videointelligenceservicestubsettings_annotatevideo_sync] diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java index f40391fab..104d51222 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1p3beta1.samples; -// [START -// videointelligence_v1p3beta1_generated_videointelligenceserviceclient_annotatevideo_lro_async] +// [START videointelligence_v1p3beta1_generated_videointelligenceserviceclient_annotatevideo_lro_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress; import com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest; @@ -55,5 +54,4 @@ public static void asyncAnnotateVideoLRO() throws Exception { } } } -// [END -// videointelligence_v1p3beta1_generated_videointelligenceserviceclient_annotatevideo_lro_async] +// [END videointelligence_v1p3beta1_generated_videointelligenceserviceclient_annotatevideo_lro_async] diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java index 4024aab1d..f324054a0 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1p3beta1.samples; -// [START -// videointelligence_v1p3beta1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] +// [START videointelligence_v1p3beta1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] import com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse; import com.google.cloud.videointelligence.v1p3beta1.Feature; import com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceClient; @@ -42,5 +41,4 @@ public static void syncAnnotateVideoStringListfeature() throws Exception { } } } -// [END -// videointelligence_v1p3beta1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] +// [END videointelligence_v1p3beta1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java index e36036c09..93048434a 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1p3beta1.samples; -// [START -// videointelligence_v1p3beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] +// [START videointelligence_v1p3beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceSettings; @@ -40,5 +39,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); } } -// [END -// videointelligence_v1p3beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] +// [END videointelligence_v1p3beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java index d8748bf2f..c22af42ec 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1p3beta1.samples; -// [START -// videointelligence_v1p3beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] +// [START videointelligence_v1p3beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] import com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceSettings; @@ -39,5 +38,4 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); } } -// [END -// videointelligence_v1p3beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] +// [END videointelligence_v1p3beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] diff --git a/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java index 03819a397..1650f7527 100644 --- a/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java @@ -16,8 +16,7 @@ package com.google.cloud.videointelligence.v1p3beta1.samples; -// [START -// videointelligence_v1p3beta1_generated_videointelligenceserviceclient_create_setendpoint_sync] +// [START videointelligence_v1p3beta1_generated_videointelligenceserviceclient_create_setendpoint_sync] import com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceSettings; import com.google.cloud.videointelligence.v1p3beta1.myEndpoint; @@ -37,5 +36,4 @@ public static void syncCreateSetEndpoint() throws Exception { VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); } } -// [END -// videointelligence_v1p3beta1_generated_videointelligenceserviceclient_create_setendpoint_sync] +// [END videointelligence_v1p3beta1_generated_videointelligenceserviceclient_create_setendpoint_sync]