diff --git a/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClient.java b/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClient.java index 81d6e2be3ad1..778296692913 100644 --- a/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClient.java +++ b/java-video-intelligence/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/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClient.java b/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClient.java index 1210b11b630f..cb563d97033c 100644 --- a/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClient.java +++ b/java-video-intelligence/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/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClient.java b/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClient.java index 501a5f6f00a4..135f15b16cd0 100644 --- a/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClient.java +++ b/java-video-intelligence/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/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClient.java b/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClient.java index 10e3b3e14a4c..7fce79092345 100644 --- a/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClient.java +++ b/java-video-intelligence/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/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClient.java b/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClient.java index 49cec978145a..74701de194df 100644 --- a/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClient.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java index 65facc2025b5..5e828421e944 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java index 724680f3a396..3963d0877443 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java index 1490a6db89f9..f252944c470d 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java index ab4d64f5921d..4e2e757f577e 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java index dbdc031b897d..b2c15855cb64 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java index 5cb7e22d2299..c2935ec4fac8 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java index ceaee81f088d..4aecb28a80f0 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java index 84bd52042413..6b025c883d1d 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java index 42e9a82b744e..bef39c8e6090 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java index 0e1339a98838..ee211c508ba1 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java index f95fefb89d72..e4ebb4cb7a2b 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java index c7d0f5af8055..daae83bf07d0 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java index 4088eafe710d..97dcbcd7523a 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java index 68d9b64e459d..00b0405da53e 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java index 35a534c9fe8d..3400284e1701 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java index 160b44c2bf28..8dfbb2d4343b 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java index 7ddea1a281d6..433a7749ca09 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java index efe6e536bbab..88e048758f09 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java index d99688f2df54..d554c1034c32 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java index 44d43793169c..b99606c79f91 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java index 9c5d26317ce2..1750f1c4bc3e 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java index 7d19294d414e..6e36612a57c6 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java index 78e7f5ece758..de9f6e263a46 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetEndpoint.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetEndpoint.java index 17abe666771c..89543210f212 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetEndpoint.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/streamingannotatevideo/AsyncStreamingAnnotateVideo.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/streamingannotatevideo/AsyncStreamingAnnotateVideo.java index ccc30e85ab3f..5c2a1d4c4d2c 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/streamingannotatevideo/AsyncStreamingAnnotateVideo.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceservicesettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceservicesettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java index 8fac3c7ab086..f266ca084f4c 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceservicesettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/streamingvideointelligenceservicestubsettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/streamingvideointelligenceservicestubsettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java index 5cd4e0ca3033..6ec943ae13ef 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/streamingvideointelligenceservicestubsettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java index 56075a6d0d79..7d06b2d2ba46 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java index f40391fab9e1..104d512226b9 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java index 4024aab1de1a..f324054a0da6 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java index e36036c09ba8..93048434aaea 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java index d8748bf2f461..c22af42ec068 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java +++ b/java-video-intelligence/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/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java b/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java index 03819a397ec4..1650f7527c75 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java +++ b/java-video-intelligence/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]