Skip to content

Commit

Permalink
feat!: release gapic-generator-java v2.0.0 (#938)
Browse files Browse the repository at this point in the history
* chore: release gapic-generator-java v1.0.13

Committer: @miraleung
PiperOrigin-RevId: 379784268

Source-Author: Google APIs <noreply@google.com>
Source-Date: Wed Jun 16 12:29:58 2021 -0700
Source-Repo: googleapis/googleapis
Source-Sha: 551681f25e36b11829e87e580281350461f4f3f5
Source-Link: googleapis/googleapis@551681f

* chore: release gapic-generator-java v1.0.17

Committer: @miraleung
PiperOrigin-RevId: 388499329

Source-Author: Google APIs <noreply@google.com>
Source-Date: Tue Aug 3 11:12:29 2021 -0700
Source-Repo: googleapis/googleapis
Source-Sha: bb0a090d9204110042ab5dee2ce9e06e8071ce54
Source-Link: googleapis/googleapis@bb0a090

* feat!: release gapic-generator-java v2.0.0

Committer: @miraleung
PiperOrigin-RevId: 388535346

Source-Author: Google APIs <noreply@google.com>
Source-Date: Tue Aug 3 13:48:38 2021 -0700
Source-Repo: googleapis/googleapis
Source-Sha: d9eaf41de44d953458b18712a3f240bb4c564e48
Source-Link: googleapis/googleapis@d9eaf41

* remove test

* update clirr-ignored-differences.xml

Co-authored-by: Kristen O'Leary <kaoleary@google.com>
  • Loading branch information
yoshi-automation and kolea2 committed Aug 9, 2021
1 parent 1d7c224 commit d2456e4
Show file tree
Hide file tree
Showing 24 changed files with 256 additions and 975 deletions.
Expand Up @@ -16,7 +16,6 @@

package com.google.cloud.bigtable.admin.v2;

import com.google.api.core.ApiFunction;
import com.google.api.core.ApiFuture;
import com.google.api.core.ApiFutures;
import com.google.api.core.BetaApi;
Expand Down Expand Up @@ -2266,12 +2265,7 @@ public static ApiFuture<ListAppProfilesPagedResponse> createAsync(
ListAppProfilesPage.createEmptyPage().createPageAsync(context, futureResponse);
return ApiFutures.transform(
futurePage,
new ApiFunction<ListAppProfilesPage, ListAppProfilesPagedResponse>() {
@Override
public ListAppProfilesPagedResponse apply(ListAppProfilesPage input) {
return new ListAppProfilesPagedResponse(input);
}
},
input -> new ListAppProfilesPagedResponse(input),
MoreExecutors.directExecutor());
}

Expand Down
Expand Up @@ -288,14 +288,13 @@ public BigtableInstanceAdminStubSettings.Builder getStubSettingsBuilder() {
return ((BigtableInstanceAdminStubSettings.Builder) getStubSettings());
}

// NEXT_MAJOR_VER: remove 'throws Exception'.
/**
* Applies the given settings updater function to all of the unary API methods in this service.
*
* <p>Note: This method does not support applying settings to streaming methods.
*/
public Builder applyToAllUnaryMethods(
ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) throws Exception {
ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) {
super.applyToAllUnaryMethods(
getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater);
return this;
Expand Down
Expand Up @@ -16,7 +16,6 @@

package com.google.cloud.bigtable.admin.v2;

import com.google.api.core.ApiFunction;
import com.google.api.core.ApiFuture;
import com.google.api.core.ApiFutures;
import com.google.api.core.BetaApi;
Expand Down Expand Up @@ -3087,14 +3086,7 @@ public static ApiFuture<ListTablesPagedResponse> createAsync(
ApiFuture<ListTablesPage> futurePage =
ListTablesPage.createEmptyPage().createPageAsync(context, futureResponse);
return ApiFutures.transform(
futurePage,
new ApiFunction<ListTablesPage, ListTablesPagedResponse>() {
@Override
public ListTablesPagedResponse apply(ListTablesPage input) {
return new ListTablesPagedResponse(input);
}
},
MoreExecutors.directExecutor());
futurePage, input -> new ListTablesPagedResponse(input), MoreExecutors.directExecutor());
}

private ListTablesPagedResponse(ListTablesPage page) {
Expand Down Expand Up @@ -3168,12 +3160,7 @@ public static ApiFuture<ListSnapshotsPagedResponse> createAsync(
ListSnapshotsPage.createEmptyPage().createPageAsync(context, futureResponse);
return ApiFutures.transform(
futurePage,
new ApiFunction<ListSnapshotsPage, ListSnapshotsPagedResponse>() {
@Override
public ListSnapshotsPagedResponse apply(ListSnapshotsPage input) {
return new ListSnapshotsPagedResponse(input);
}
},
input -> new ListSnapshotsPagedResponse(input),
MoreExecutors.directExecutor());
}

Expand Down Expand Up @@ -3248,14 +3235,7 @@ public static ApiFuture<ListBackupsPagedResponse> createAsync(
ApiFuture<ListBackupsPage> futurePage =
ListBackupsPage.createEmptyPage().createPageAsync(context, futureResponse);
return ApiFutures.transform(
futurePage,
new ApiFunction<ListBackupsPage, ListBackupsPagedResponse>() {
@Override
public ListBackupsPagedResponse apply(ListBackupsPage input) {
return new ListBackupsPagedResponse(input);
}
},
MoreExecutors.directExecutor());
futurePage, input -> new ListBackupsPagedResponse(input), MoreExecutors.directExecutor());
}

private ListBackupsPagedResponse(ListBackupsPage page) {
Expand Down
Expand Up @@ -311,14 +311,13 @@ public BigtableTableAdminStubSettings.Builder getStubSettingsBuilder() {
return ((BigtableTableAdminStubSettings.Builder) getStubSettings());
}

// NEXT_MAJOR_VER: remove 'throws Exception'.
/**
* Applies the given settings updater function to all of the unary API methods in this service.
*
* <p>Note: This method does not support applying settings to streaming methods.
*/
public Builder applyToAllUnaryMethods(
ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) throws Exception {
ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) {
super.applyToAllUnaryMethods(
getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater);
return this;
Expand Down
Expand Up @@ -894,14 +894,13 @@ private static Builder initDefaults(Builder builder) {
return builder;
}

// NEXT_MAJOR_VER: remove 'throws Exception'.
/**
* Applies the given settings updater function to all of the unary API methods in this service.
*
* <p>Note: This method does not support applying settings to streaming methods.
*/
public Builder applyToAllUnaryMethods(
ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) throws Exception {
ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) {
super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater);
return this;
}
Expand Down
Expand Up @@ -1055,14 +1055,13 @@ private static Builder initDefaults(Builder builder) {
return builder;
}

// NEXT_MAJOR_VER: remove 'throws Exception'.
/**
* Applies the given settings updater function to all of the unary API methods in this service.
*
* <p>Note: This method does not support applying settings to streaming methods.
*/
public Builder applyToAllUnaryMethods(
ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) throws Exception {
ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) {
super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater);
return this;
}
Expand Down

0 comments on commit d2456e4

Please sign in to comment.