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

Commit 5a4165c

Browse files
chore(deps): upgrade gapic-generator-java to 2.7.0 and update gax-java to 2.16.0 (#648)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 446250659 Source-Link: googleapis/googleapis@dc4ef31 Source-Link: https://github.com/googleapis/googleapis-gen/commit/5fdda4ddfbab87998e77e4a453e0ff87986d2db8 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNWZkZGE0ZGRmYmFiODc5OThlNzdlNGE0NTNlMGZmODc5ODZkMmRiOCJ9
1 parent 5ea7ac8 commit 5a4165c

10 files changed

+24
-10
lines changed

google-cloud-mediatranslation/src/main/java/com/google/cloud/mediatranslation/v1beta1/SpeechTranslationServiceClient.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2021 Google LLC
2+
* Copyright 2022 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -33,6 +33,8 @@
3333
* calls that map to API methods. Sample code to get started:
3434
*
3535
* <pre>{@code
36+
* // This snippet has been automatically generated for illustrative purposes only.
37+
* // It may require modifications to work in your environment.
3638
* try (SpeechTranslationServiceClient speechTranslationServiceClient =
3739
* SpeechTranslationServiceClient.create()) {
3840
* BidiStream<StreamingTranslateSpeechRequest, StreamingTranslateSpeechResponse> bidiStream =
@@ -76,6 +78,8 @@
7678
* <p>To customize credentials:
7779
*
7880
* <pre>{@code
81+
* // This snippet has been automatically generated for illustrative purposes only.
82+
* // It may require modifications to work in your environment.
7983
* SpeechTranslationServiceSettings speechTranslationServiceSettings =
8084
* SpeechTranslationServiceSettings.newBuilder()
8185
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -87,6 +91,8 @@
8791
* <p>To customize the endpoint:
8892
*
8993
* <pre>{@code
94+
* // This snippet has been automatically generated for illustrative purposes only.
95+
* // It may require modifications to work in your environment.
9096
* SpeechTranslationServiceSettings speechTranslationServiceSettings =
9197
* SpeechTranslationServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
9298
* SpeechTranslationServiceClient speechTranslationServiceClient =
@@ -159,6 +165,8 @@ public SpeechTranslationServiceStub getStub() {
159165
* <p>Sample code:
160166
*
161167
* <pre>{@code
168+
* // This snippet has been automatically generated for illustrative purposes only.
169+
* // It may require modifications to work in your environment.
162170
* try (SpeechTranslationServiceClient speechTranslationServiceClient =
163171
* SpeechTranslationServiceClient.create()) {
164172
* BidiStream<StreamingTranslateSpeechRequest, StreamingTranslateSpeechResponse> bidiStream =

google-cloud-mediatranslation/src/main/java/com/google/cloud/mediatranslation/v1beta1/SpeechTranslationServiceSettings.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2021 Google LLC
2+
* Copyright 2022 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -51,6 +51,8 @@
5151
* <p>For example, to set the total timeout of streamingTranslateSpeech to 30 seconds:
5252
*
5353
* <pre>{@code
54+
* // This snippet has been automatically generated for illustrative purposes only.
55+
* // It may require modifications to work in your environment.
5456
* SpeechTranslationServiceSettings.Builder speechTranslationServiceSettingsBuilder =
5557
* SpeechTranslationServiceSettings.newBuilder();
5658
* speechTranslationServiceSettingsBuilder

google-cloud-mediatranslation/src/main/java/com/google/cloud/mediatranslation/v1beta1/package-info.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2021 Google LLC
2+
* Copyright 2022 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -24,6 +24,8 @@
2424
* <p>Sample for SpeechTranslationServiceClient:
2525
*
2626
* <pre>{@code
27+
* // This snippet has been automatically generated for illustrative purposes only.
28+
* // It may require modifications to work in your environment.
2729
* try (SpeechTranslationServiceClient speechTranslationServiceClient =
2830
* SpeechTranslationServiceClient.create()) {
2931
* BidiStream<StreamingTranslateSpeechRequest, StreamingTranslateSpeechResponse> bidiStream =

google-cloud-mediatranslation/src/main/java/com/google/cloud/mediatranslation/v1beta1/stub/GrpcSpeechTranslationServiceCallableFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2021 Google LLC
2+
* Copyright 2022 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

google-cloud-mediatranslation/src/main/java/com/google/cloud/mediatranslation/v1beta1/stub/GrpcSpeechTranslationServiceStub.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2021 Google LLC
2+
* Copyright 2022 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

google-cloud-mediatranslation/src/main/java/com/google/cloud/mediatranslation/v1beta1/stub/SpeechTranslationServiceStub.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2021 Google LLC
2+
* Copyright 2022 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

google-cloud-mediatranslation/src/main/java/com/google/cloud/mediatranslation/v1beta1/stub/SpeechTranslationServiceStubSettings.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2021 Google LLC
2+
* Copyright 2022 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -62,6 +62,8 @@
6262
* <p>For example, to set the total timeout of streamingTranslateSpeech to 30 seconds:
6363
*
6464
* <pre>{@code
65+
* // This snippet has been automatically generated for illustrative purposes only.
66+
* // It may require modifications to work in your environment.
6567
* SpeechTranslationServiceStubSettings.Builder speechTranslationServiceSettingsBuilder =
6668
* SpeechTranslationServiceStubSettings.newBuilder();
6769
* speechTranslationServiceSettingsBuilder

google-cloud-mediatranslation/src/test/java/com/google/cloud/mediatranslation/v1beta1/MockSpeechTranslationService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2021 Google LLC
2+
* Copyright 2022 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

google-cloud-mediatranslation/src/test/java/com/google/cloud/mediatranslation/v1beta1/MockSpeechTranslationServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2021 Google LLC
2+
* Copyright 2022 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

google-cloud-mediatranslation/src/test/java/com/google/cloud/mediatranslation/v1beta1/SpeechTranslationServiceClientTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2021 Google LLC
2+
* Copyright 2022 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)