Skip to content

Commit

Permalink
build: upgrade Java microgenerator to v2.2.1
Browse files Browse the repository at this point in the history
# v2.2.1

## Bug Fixes
- gax batching regression (#863) (3a6f168)

# v2.2.0

## Features
- Add REST AIP-151 LRO suport (cb1b534)
- enable self signed JWT for http (#850) (aba0ec0)
- Implement DIREGAPIC LRO annotations (#832) (d7b29e0)
- REGAPIC initial implementation (#824) (fdcfe70)
- REGAPIC Multitransport implementation (grpc+rest) (#833) (445daf4)

## Bug Fixes
- [bazel] fix rest transport handling in assembly rule (#835) (92f7c1c)
- DIREGAPIC LRO generated tests logic (#838) (8ae8e6f)
- fix diregapic-lro logic (#834) (957f69a)

PiperOrigin-RevId: 405492216

Source-Link: googleapis/googleapis@4381242

Source-Link: googleapis/googleapis-gen@8d1ecc7
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOGQxZWNjNzMwMDlkOTQ5ODAzZmUxNzQ1ZjQ2MTc1NDZhOGNiNzRmYyJ9
  • Loading branch information
gcf-owl-bot[bot] committed Oct 25, 2021
1 parent e139eed commit 202f3c8
Show file tree
Hide file tree
Showing 169 changed files with 14,350 additions and 22,493 deletions.

This file was deleted.

Expand Up @@ -74,13 +74,13 @@
* methods:
*
* <ol>
* <li>A "flattened" method. With this type of method, the fields of the request type have been
* <li> A "flattened" method. With this type of method, the fields of the request type have been
* converted into function parameters. It may be the case that not all fields are available as
* parameters, and not every API method will have a flattened method entry point.
* <li>A "request object" method. This type of method only takes one parameter, a request object,
* <li> A "request object" method. This type of method only takes one parameter, a request object,
* which must be constructed before the call. Not every API method will have a request object
* method.
* <li>A "callable" method. This type of method takes no parameters and returns an immutable API
* <li> A "callable" method. This type of method takes no parameters and returns an immutable API
* callable object, which can be used to initiate calls to the service.
* </ol>
*
Expand Down Expand Up @@ -210,7 +210,7 @@ public final Schema createSchema(ProjectName parent, Schema schema, String schem
*
* <pre>{@code
* try (SchemaServiceClient schemaServiceClient = SchemaServiceClient.create()) {
* String parent = ProjectName.of("[PROJECT]").toString();
* String parent = SchemaName.of("[PROJECT]", "[SCHEMA]").toString();
* Schema schema = Schema.newBuilder().build();
* String schemaId = "schemaId-697673060";
* Schema response = schemaServiceClient.createSchema(parent, schema, schemaId);
Expand Down Expand Up @@ -248,7 +248,7 @@ public final Schema createSchema(String parent, Schema schema, String schemaId)
* try (SchemaServiceClient schemaServiceClient = SchemaServiceClient.create()) {
* CreateSchemaRequest request =
* CreateSchemaRequest.newBuilder()
* .setParent(ProjectName.of("[PROJECT]").toString())
* .setParent(SchemaName.of("[PROJECT]", "[SCHEMA]").toString())
* .setSchema(Schema.newBuilder().build())
* .setSchemaId("schemaId-697673060")
* .build();
Expand All @@ -273,7 +273,7 @@ public final Schema createSchema(CreateSchemaRequest request) {
* try (SchemaServiceClient schemaServiceClient = SchemaServiceClient.create()) {
* CreateSchemaRequest request =
* CreateSchemaRequest.newBuilder()
* .setParent(ProjectName.of("[PROJECT]").toString())
* .setParent(SchemaName.of("[PROJECT]", "[SCHEMA]").toString())
* .setSchema(Schema.newBuilder().build())
* .setSchemaId("schemaId-697673060")
* .build();
Expand Down Expand Up @@ -473,7 +473,7 @@ public final ListSchemasPagedResponse listSchemas(ListSchemasRequest request) {
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
* ApiFuture<ListSchemasPagedResponse> future = schemaServiceClient.listSchemasPagedCallable().futureCall(request);
* ApiFuture<Schema> future = schemaServiceClient.listSchemasPagedCallable().futureCall(request);
* // Do something.
* for (Schema element : future.get().iterateAll()) {
* // doThingsWith(element);
Expand Down Expand Up @@ -503,7 +503,7 @@ public final ListSchemasPagedResponse listSchemas(ListSchemasRequest request) {
* .build();
* while (true) {
* ListSchemasResponse response = schemaServiceClient.listSchemasCallable().call(request);
* for (Schema element : response.getSchemasList()) {
* for (Schema element : response.getResponsesList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
Expand Down Expand Up @@ -954,10 +954,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted

public static class ListSchemasPagedResponse
extends AbstractPagedListResponse<
ListSchemasRequest,
ListSchemasResponse,
Schema,
ListSchemasPage,
ListSchemasRequest, ListSchemasResponse, Schema, ListSchemasPage,
ListSchemasFixedSizeCollection> {

public static ApiFuture<ListSchemasPagedResponse> createAsync(
Expand Down Expand Up @@ -1004,10 +1001,7 @@ public ApiFuture<ListSchemasPage> createPageAsync(

public static class ListSchemasFixedSizeCollection
extends AbstractFixedSizeCollection<
ListSchemasRequest,
ListSchemasResponse,
Schema,
ListSchemasPage,
ListSchemasRequest, ListSchemasResponse, Schema, ListSchemasPage,
ListSchemasFixedSizeCollection> {

private ListSchemasFixedSizeCollection(List<ListSchemasPage> pages, int collectionSize) {
Expand Down
Expand Up @@ -27,6 +27,7 @@
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.StubSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.pubsub.v1.stub.SchemaServiceStubSettings;
Expand Down Expand Up @@ -57,9 +58,9 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li>The default service address (pubsub.googleapis.com) and default port (443) are used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* <li> The default service address (pubsub.googleapis.com) and default port (443) are used.
* <li> Credentials are acquired automatically through Application Default Credentials.
* <li> Retries are configured for idempotent methods but not for non-idempotent methods.
* </ul>
*
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
Expand Down

0 comments on commit 202f3c8

Please sign in to comment.