Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/scripts/update_generation_config.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
set -e
set -ex
# This script should be run at the root of the repository.
# This script is used to update googleapis_commitish, gapic_generator_version,
# and libraries_bom_version in generation configuration at the time of running
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hermetic_library_generation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
with:
fetch-depth: 0
token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
- uses: googleapis/sdk-platform-java/.github/scripts@v2.60.2
- uses: googleapis/sdk-platform-java/.github/scripts@v2.61.0
if: env.SHOULD_RUN == 'true'
with:
base_ref: ${{ github.base_ref }}
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/presubmit/graalvm-native-a.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.50.2" # {x-version-update:google-cloud-shared-dependencies:current}
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.51.0" # {x-version-update:google-cloud-shared-dependencies:current}
}

env_vars: {
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/presubmit/graalvm-native-b.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.50.2" # {x-version-update:google-cloud-shared-dependencies:current}
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.51.0" # {x-version-update:google-cloud-shared-dependencies:current}
}

env_vars: {
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/presubmit/graalvm-native-c.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.50.2" # {x-version-update:google-cloud-shared-dependencies:current}
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.51.0" # {x-version-update:google-cloud-shared-dependencies:current}
}

env_vars: {
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ If you are using Maven without the BOM, add this to your dependencies:
If you are using Gradle 5.x or later, add this to your dependencies:

```Groovy
implementation platform('com.google.cloud:libraries-bom:26.64.0')
implementation platform('com.google.cloud:libraries-bom:26.65.0')

implementation 'com.google.cloud:google-cloud-bigtable'
```
Expand Down
6 changes: 3 additions & 3 deletions generation_config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
gapic_generator_version: 2.60.2
googleapis_commitish: 64e82d17e410ff5e71ab3e040ea393db362f2850
libraries_bom_version: 26.64.0
gapic_generator_version: 2.61.0
googleapis_commitish: b0316578aaf7434e3c5bb93badd252f67aacf8d5
libraries_bom_version: 26.65.0
template_excludes:
- .gitignore
- .kokoro/presubmit/integration.cfg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -644,6 +644,7 @@ public final UnaryCallable<ListInstancesRequest, ListInstancesResponse> listInst
* .setCreateTime(Timestamp.newBuilder().build())
* .setSatisfiesPzs(true)
* .setSatisfiesPzi(true)
* .putAllTags(new HashMap<String, String>())
* .build();
* Instance response = baseBigtableInstanceAdminClient.updateInstance(request);
* }
Expand Down Expand Up @@ -679,6 +680,7 @@ public final Instance updateInstance(Instance request) {
* .setCreateTime(Timestamp.newBuilder().build())
* .setSatisfiesPzs(true)
* .setSatisfiesPzi(true)
* .putAllTags(new HashMap<String, String>())
* .build();
* ApiFuture<Instance> future =
* baseBigtableInstanceAdminClient.updateInstanceCallable().futureCall(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ public void createInstanceTest() throws Exception {
.setCreateTime(Timestamp.newBuilder().build())
.setSatisfiesPzs(true)
.setSatisfiesPzi(true)
.putAllTags(new HashMap<String, String>())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -218,6 +219,7 @@ public void createInstanceTest2() throws Exception {
.setCreateTime(Timestamp.newBuilder().build())
.setSatisfiesPzs(true)
.setSatisfiesPzi(true)
.putAllTags(new HashMap<String, String>())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -279,6 +281,7 @@ public void getInstanceTest() throws Exception {
.setCreateTime(Timestamp.newBuilder().build())
.setSatisfiesPzs(true)
.setSatisfiesPzi(true)
.putAllTags(new HashMap<String, String>())
.build();
mockBigtableInstanceAdmin.addResponse(expectedResponse);

Expand Down Expand Up @@ -322,6 +325,7 @@ public void getInstanceTest2() throws Exception {
.setCreateTime(Timestamp.newBuilder().build())
.setSatisfiesPzs(true)
.setSatisfiesPzi(true)
.putAllTags(new HashMap<String, String>())
.build();
mockBigtableInstanceAdmin.addResponse(expectedResponse);

Expand Down Expand Up @@ -445,6 +449,7 @@ public void updateInstanceTest() throws Exception {
.setCreateTime(Timestamp.newBuilder().build())
.setSatisfiesPzs(true)
.setSatisfiesPzi(true)
.putAllTags(new HashMap<String, String>())
.build();
mockBigtableInstanceAdmin.addResponse(expectedResponse);

Expand All @@ -456,6 +461,7 @@ public void updateInstanceTest() throws Exception {
.setCreateTime(Timestamp.newBuilder().build())
.setSatisfiesPzs(true)
.setSatisfiesPzi(true)
.putAllTags(new HashMap<String, String>())
.build();

Instance actualResponse = client.updateInstance(request);
Expand All @@ -473,6 +479,7 @@ public void updateInstanceTest() throws Exception {
Assert.assertEquals(request.getCreateTime(), actualRequest.getCreateTime());
Assert.assertEquals(request.getSatisfiesPzs(), actualRequest.getSatisfiesPzs());
Assert.assertEquals(request.getSatisfiesPzi(), actualRequest.getSatisfiesPzi());
Assert.assertEquals(request.getTagsMap(), actualRequest.getTagsMap());
Assert.assertTrue(
channelProvider.isHeaderSent(
ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
Expand All @@ -493,6 +500,7 @@ public void updateInstanceExceptionTest() throws Exception {
.setCreateTime(Timestamp.newBuilder().build())
.setSatisfiesPzs(true)
.setSatisfiesPzi(true)
.putAllTags(new HashMap<String, String>())
.build();
client.updateInstance(request);
Assert.fail("No exception raised");
Expand All @@ -511,6 +519,7 @@ public void partialUpdateInstanceTest() throws Exception {
.setCreateTime(Timestamp.newBuilder().build())
.setSatisfiesPzs(true)
.setSatisfiesPzi(true)
.putAllTags(new HashMap<String, String>())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4707,7 +4707,7 @@ public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting getSingleClu
* <code>.google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true];</code>
*
* @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See
* google/bigtable/admin/v2/instance.proto;l=406
* google/bigtable/admin/v2/instance.proto;l=421
* @return Whether the priority field is set.
*/
@java.lang.Deprecated
Expand All @@ -4728,7 +4728,7 @@ public boolean hasPriority() {
* <code>.google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true];</code>
*
* @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See
* google/bigtable/admin/v2/instance.proto;l=406
* google/bigtable/admin/v2/instance.proto;l=421
* @return The enum numeric value on the wire for priority.
*/
@java.lang.Deprecated
Expand All @@ -4752,7 +4752,7 @@ public int getPriorityValue() {
* <code>.google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true];</code>
*
* @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See
* google/bigtable/admin/v2/instance.proto;l=406
* google/bigtable/admin/v2/instance.proto;l=421
* @return The priority.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -6386,7 +6386,7 @@ public Builder clearSingleClusterRouting() {
* <code>.google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true];</code>
*
* @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See
* google/bigtable/admin/v2/instance.proto;l=406
* google/bigtable/admin/v2/instance.proto;l=421
* @return Whether the priority field is set.
*/
@java.lang.Override
Expand All @@ -6408,7 +6408,7 @@ public boolean hasPriority() {
* <code>.google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true];</code>
*
* @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See
* google/bigtable/admin/v2/instance.proto;l=406
* google/bigtable/admin/v2/instance.proto;l=421
* @return The enum numeric value on the wire for priority.
*/
@java.lang.Override
Expand All @@ -6433,7 +6433,7 @@ public int getPriorityValue() {
* <code>.google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true];</code>
*
* @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See
* google/bigtable/admin/v2/instance.proto;l=406
* google/bigtable/admin/v2/instance.proto;l=421
* @param value The enum numeric value on the wire for priority to set.
* @return This builder for chaining.
*/
Expand All @@ -6458,7 +6458,7 @@ public Builder setPriorityValue(int value) {
* <code>.google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true];</code>
*
* @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See
* google/bigtable/admin/v2/instance.proto;l=406
* google/bigtable/admin/v2/instance.proto;l=421
* @return The priority.
*/
@java.lang.Override
Expand Down Expand Up @@ -6488,7 +6488,7 @@ public com.google.bigtable.admin.v2.AppProfile.Priority getPriority() {
* <code>.google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true];</code>
*
* @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See
* google/bigtable/admin/v2/instance.proto;l=406
* google/bigtable/admin/v2/instance.proto;l=421
* @param value The priority to set.
* @return This builder for chaining.
*/
Expand Down Expand Up @@ -6516,7 +6516,7 @@ public Builder setPriority(com.google.bigtable.admin.v2.AppProfile.Priority valu
* <code>.google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true];</code>
*
* @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See
* google/bigtable/admin/v2/instance.proto;l=406
* google/bigtable/admin/v2/instance.proto;l=421
* @return This builder for chaining.
*/
@java.lang.Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ public interface AppProfileOrBuilder
* <code>.google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true];</code>
*
* @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See
* google/bigtable/admin/v2/instance.proto;l=406
* google/bigtable/admin/v2/instance.proto;l=421
* @return Whether the priority field is set.
*/
@java.lang.Deprecated
Expand All @@ -235,7 +235,7 @@ public interface AppProfileOrBuilder
* <code>.google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true];</code>
*
* @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See
* google/bigtable/admin/v2/instance.proto;l=406
* google/bigtable/admin/v2/instance.proto;l=421
* @return The enum numeric value on the wire for priority.
*/
@java.lang.Deprecated
Expand All @@ -254,7 +254,7 @@ public interface AppProfileOrBuilder
* <code>.google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true];</code>
*
* @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See
* google/bigtable/admin/v2/instance.proto;l=406
* google/bigtable/admin/v2/instance.proto;l=421
* @return The priority.
*/
@java.lang.Deprecated
Expand Down
Loading
Loading