Skip to content
Permalink
Browse files
feat!: release gapic-generator-java v2.0.0 (#938)
* 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 d2456e4b014f714c87ff5ad414b5fabd0631e912
Showing with 256 additions and 975 deletions.
  1. +1 −7 ...ud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java
  2. +1 −2 ...-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java
  3. +3 −23 ...cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java
  4. +1 −2 ...oud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java
  5. +1 −2 ...able/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStubSettings.java
  6. +1 −2 ...igtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStubSettings.java
  7. +83 −138 ...bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java
  8. +95 −157 ...ud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java
  9. +1 −2 google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStubSettings.java
  10. +31 −45 google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableStub.java
  11. +0 −6 ...cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BigtableTableAdminClientTest.java
  12. +10 −0 proto-google-cloud-bigtable-admin-v2/clirr-ignored-differences.xml
  13. +3 −3 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileName.java
  14. +4 −4 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupName.java
  15. +3 −3 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterName.java
  16. +0 −261 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CryptoKeyName.java
  17. +0 −298 ...ogle-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CryptoKeyVersionName.java
  18. +2 −2 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceName.java
  19. +2 −2 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/LocationName.java
  20. +1 −1 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ProjectName.java
  21. +4 −4 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotName.java
  22. +3 −3 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableName.java
  23. +3 −3 proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TableName.java
  24. +3 −5 synth.metadata
@@ -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;
@@ -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());
}

@@ -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;
@@ -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;
@@ -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) {
@@ -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());
}

@@ -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) {
@@ -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;
@@ -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;
}
@@ -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;
}

0 comments on commit d2456e4

Please sign in to comment.