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

Commit 069b732

Browse files
chore: update gapic-generator-java version to 2.1.0
PiperOrigin-RevId: 391407209 Source-Link: googleapis/googleapis@e1738ee Source-Link: https://github.com/googleapis/googleapis-gen/commit/ee19262b2b9bf96e2c5f5f13df60686247be11dd
1 parent e1da5c6 commit 069b732

File tree

174 files changed

+26855
-45302
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

174 files changed

+26855
-45302
lines changed

grpc-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceGrpc.java

Lines changed: 0 additions & 1201 deletions
This file was deleted.

grpc-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceGrpc.java

Lines changed: 0 additions & 1219 deletions
This file was deleted.

google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceClient.java renamed to owl-bot-staging/v1/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceClient.java

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@
6161
* methods:
6262
*
6363
* <ol>
64-
* <li>A "flattened" method. With this type of method, the fields of the request type have been
64+
* <li> A "flattened" method. With this type of method, the fields of the request type have been
6565
* converted into function parameters. It may be the case that not all fields are available as
6666
* parameters, and not every API method will have a flattened method entry point.
67-
* <li>A "request object" method. This type of method only takes one parameter, a request object,
67+
* <li> A "request object" method. This type of method only takes one parameter, a request object,
6868
* which must be constructed before the call. Not every API method will have a request object
6969
* method.
70-
* <li>A "callable" method. This type of method takes no parameters and returns an immutable API
70+
* <li> A "callable" method. This type of method takes no parameters and returns an immutable API
7171
* callable object, which can be used to initiate calls to the service.
7272
* </ol>
7373
*
@@ -1122,10 +1122,7 @@ protected ListJobsFixedSizeCollection createCollection(
11221122

11231123
public static class ListJobTemplatesPagedResponse
11241124
extends AbstractPagedListResponse<
1125-
ListJobTemplatesRequest,
1126-
ListJobTemplatesResponse,
1127-
JobTemplate,
1128-
ListJobTemplatesPage,
1125+
ListJobTemplatesRequest, ListJobTemplatesResponse, JobTemplate, ListJobTemplatesPage,
11291126
ListJobTemplatesFixedSizeCollection> {
11301127

11311128
public static ApiFuture<ListJobTemplatesPagedResponse> createAsync(
@@ -1175,10 +1172,7 @@ public ApiFuture<ListJobTemplatesPage> createPageAsync(
11751172

11761173
public static class ListJobTemplatesFixedSizeCollection
11771174
extends AbstractFixedSizeCollection<
1178-
ListJobTemplatesRequest,
1179-
ListJobTemplatesResponse,
1180-
JobTemplate,
1181-
ListJobTemplatesPage,
1175+
ListJobTemplatesRequest, ListJobTemplatesResponse, JobTemplate, ListJobTemplatesPage,
11821176
ListJobTemplatesFixedSizeCollection> {
11831177

11841178
private ListJobTemplatesFixedSizeCollection(

google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceSettings.java renamed to owl-bot-staging/v1/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceSettings.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
import com.google.api.gax.rpc.ClientContext;
2929
import com.google.api.gax.rpc.ClientSettings;
3030
import com.google.api.gax.rpc.PagedCallSettings;
31+
import com.google.api.gax.rpc.StubSettings;
3132
import com.google.api.gax.rpc.TransportChannelProvider;
3233
import com.google.api.gax.rpc.UnaryCallSettings;
3334
import com.google.cloud.video.transcoder.v1.stub.TranscoderServiceStubSettings;
@@ -43,9 +44,9 @@
4344
* <p>The default instance has everything set to sensible defaults:
4445
*
4546
* <ul>
46-
* <li>The default service address (transcoder.googleapis.com) and default port (443) are used.
47-
* <li>Credentials are acquired automatically through Application Default Credentials.
48-
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
47+
* <li> The default service address (transcoder.googleapis.com) and default port (443) are used.
48+
* <li> Credentials are acquired automatically through Application Default Credentials.
49+
* <li> Retries are configured for idempotent methods but not for non-idempotent methods.
4950
* </ul>
5051
*
5152
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
File renamed without changes.
File renamed without changes.
File renamed without changes.

google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/GrpcTranscoderServiceStub.java renamed to owl-bot-staging/v1/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/GrpcTranscoderServiceStub.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
import io.grpc.MethodDescriptor;
4444
import io.grpc.protobuf.ProtoUtils;
4545
import java.io.IOException;
46+
import java.util.Map;
4647
import java.util.concurrent.TimeUnit;
4748
import javax.annotation.Generated;
4849

File renamed without changes.
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@
7070
* <p>The default instance has everything set to sensible defaults:
7171
*
7272
* <ul>
73-
* <li>The default service address (transcoder.googleapis.com) and default port (443) are used.
74-
* <li>Credentials are acquired automatically through Application Default Credentials.
75-
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
73+
* <li> The default service address (transcoder.googleapis.com) and default port (443) are used.
74+
* <li> Credentials are acquired automatically through Application Default Credentials.
75+
* <li> Retries are configured for idempotent methods but not for non-idempotent methods.
7676
* </ul>
7777
*
7878
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
@@ -302,7 +302,9 @@ public static List<String> getDefaultServiceScopes() {
302302

303303
/** Returns a builder for the default credentials for this service. */
304304
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() {
305-
return GoogleCredentialsProvider.newBuilder().setScopesToApply(DEFAULT_SERVICE_SCOPES);
305+
return GoogleCredentialsProvider.newBuilder()
306+
.setScopesToApply(DEFAULT_SERVICE_SCOPES)
307+
.setUseJwtAccessWithScope(true);
306308
}
307309

308310
/** Returns a builder for the default ChannelProvider for this service. */

0 commit comments

Comments
 (0)