Skip to content
This repository was archived by the owner on May 8, 2026. It is now read-only.

Commit db52255

Browse files
chore: generate libraries at Thu Apr 9 12:29:54 UTC 2026
1 parent c0b57b1 commit db52255

9 files changed

Lines changed: 39 additions & 22 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-bigtable'
5656
If you are using Gradle without BOM, add this to your dependencies:
5757

5858
```Groovy
59-
implementation 'com.google.cloud:google-cloud-bigtable:2.76.0'
59+
implementation 'com.google.cloud:google-cloud-bigtable:2.77.0'
6060
```
6161

6262
If you are using SBT, add this to your dependencies:
6363

6464
```Scala
65-
libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "2.76.0"
65+
libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "2.77.0"
6666
```
6767

6868
## Authentication
@@ -452,7 +452,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
452452
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-bigtable/latest/history
453453
[stability-image]: https://img.shields.io/badge/stability-stable-green
454454
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigtable.svg
455-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigtable/2.76.0
455+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigtable/2.77.0
456456
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
457457
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
458458
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/internal/api/AuthorizedViewName.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,15 @@ public static AuthorizedViewName parse(String name) {
8282
!parts.get(3).isEmpty(), "Invalid authorized view name %s, must have an instance id", name);
8383
Preconditions.checkArgument(
8484
"tables".equals(parts.get(4)),
85-
"Invalid authorized view name: %s, must start with projects/$PROJECT_ID/instances/$INSTANCE_ID/tables",
85+
"Invalid authorized view name: %s, must start with"
86+
+ " projects/$PROJECT_ID/instances/$INSTANCE_ID/tables",
8687
name);
8788
Preconditions.checkArgument(
8889
!parts.get(5).isEmpty(), "Invalid authorized view name %s, must have table id", name);
8990
Preconditions.checkArgument(
9091
"authorizedViews".equals(parts.get(6)),
91-
"Invalid authorized view name: %s, must start with projects/$PROJECT_ID/instances/$INSTANCE_ID/tables/$TABLE_ID/authorizedViews",
92+
"Invalid authorized view name: %s, must start with"
93+
+ " projects/$PROJECT_ID/instances/$INSTANCE_ID/tables/$TABLE_ID/authorizedViews",
9294
name);
9395
Preconditions.checkArgument(
9496
!parts.get(7).isEmpty(),

google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/internal/api/MaterializedViewName.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ public static MaterializedViewName parse(String name) {
6666
name);
6767
Preconditions.checkArgument(
6868
"materializedViews".equals(parts.get(4)),
69-
"Invalid materialized view name: %s, must start with projects/$PROJECT_ID/instances/$INSTANCE_ID/materializedViews",
69+
"Invalid materialized view name: %s, must start with"
70+
+ " projects/$PROJECT_ID/instances/$INSTANCE_ID/materializedViews",
7071
name);
7172
Preconditions.checkArgument(
7273
!parts.get(5).isEmpty(), "Invalid materialized view name %s, must have table id", name);

google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/internal/channels/ChannelPoolDpImpl.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,8 @@ public synchronized SessionStream newStream(
178178
() -> {
179179
log(
180180
Level.FINE,
181-
"Couldn't find an existing channel with capacity, num outstanding streams across all channel groups: %d, num groups: %d",
181+
"Couldn't find an existing channel with capacity, num outstanding streams across"
182+
+ " all channel groups: %d, num groups: %d",
182183
channelGroups.stream().mapToInt(g -> g.numStreams).sum(),
183184
channelGroups.size());
184185

google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/internal/middleware/RetryingVRpc.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ public RetryingVRpc(Supplier<VRpc<ReqT, RespT>> supplier, ScheduledExecutorServi
6767
new SynchronizationContext(
6868
(t, e) -> {
6969
this.cancel(
70-
"Unexpected error while notifying the caller of RetryingVRpc. Trying to cancel vRpc to ensure consistent state",
70+
"Unexpected error while notifying the caller of RetryingVRpc. Trying to cancel"
71+
+ " vRpc to ensure consistent state",
7172
e);
7273
});
7374

@@ -203,7 +204,8 @@ public void onClose(VRpcResult result) {
203204
if (currentState != Active.this) {
204205
LOG.log(
205206
Level.FINE,
206-
"Discarding server close with result {0} because the the attempt is no longer active.",
207+
"Discarding server close with result {0} because the the attempt is no"
208+
+ " longer active.",
207209
result);
208210
return;
209211
}

google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/internal/session/SessionImpl.java

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,8 @@ private void startGracefulClose() {
281281
debugTagTracer.checkPrecondition(
282282
state == SessionState.CLOSING,
283283
"session_graceful_close_wrong_state",
284-
"Session error: %s tried to actuate session closing when not in the correct state. State: %s",
284+
"Session error: %s tried to actuate session closing when not in the correct state. State:"
285+
+ " %s",
285286
info.getLogName(),
286287
state);
287288

@@ -454,7 +455,8 @@ private void handleVRpcResponse(VirtualRpcResponse vrpc) {
454455
TelemetryConfiguration.Level.WARN, "session_closed_discard_vrpc_response");
455456
logger.warning(
456457
String.format(
457-
"%s Discarding vRPC error because session is past the CLOSING phase with the reason: %s",
458+
"%s Discarding vRPC error because session is past the CLOSING phase with the"
459+
+ " reason: %s",
458460
info.getLogName(), closeReason));
459461
return;
460462
}
@@ -531,7 +533,8 @@ private void handleVRpcErrorResponse(ErrorResponse error) {
531533
TelemetryConfiguration.Level.WARN, "session_closed_discard_vrpc_response");
532534
logger.warning(
533535
String.format(
534-
"%s Discarding vRPC error because session is past the CLOSING phase with the reason: %s, error was: %s",
536+
"%s Discarding vRPC error because session is past the CLOSING phase with the"
537+
+ " reason: %s, error was: %s",
535538
info.getLogName(), closeReason, error));
536539
return;
537540
}
@@ -663,7 +666,8 @@ private void dispatchStreamClosed(Status status, Metadata trailers) {
663666
logger.log(
664667
Level.WARNING,
665668
String.format(
666-
"Session error: %s Unhandled exception while notifying vRpc of session closure status %s",
669+
"Session error: %s Unhandled exception while notifying vRpc of session closure"
670+
+ " status %s",
667671
info.getLogName(), status),
668672
t);
669673
}

google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/internal/session/SessionPoolImpl.java

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,8 @@ private synchronized void createSession(OpenParams openParams) {
328328
debugTagTracer.record(TelemetryConfiguration.Level.DEBUG, "session_pool_no_budget");
329329
logger.fine(
330330
String.format(
331-
"Refusing to add a new session due to exhausted %s concurrent create session requests",
331+
"Refusing to add a new session due to exhausted %s concurrent create session"
332+
+ " requests",
332333
budget.getMaxConcurrentRequest()));
333334
// Retry create session if we run out of budget. In the edge case where we get a new VRpc
334335
// after failing to create any sessions and exhausting all the budget, we'll retry session
@@ -508,7 +509,8 @@ private void onSessionClose(
508509
VRpcResult.createRejectedError(
509510
Status.UNAVAILABLE.withDescription(
510511
String.format(
511-
"Session failed with consecutive failures. Most recent server status: %s, metadata: %s.",
512+
"Session failed with consecutive failures. Most recent server status: %s,"
513+
+ " metadata: %s.",
512514
status, trailers)));
513515
for (PendingVRpc<?, ?> vrpc : toBeClosed) {
514516
try {
@@ -803,7 +805,8 @@ public void run() {
803805
debugTagTracer.record(TelemetryConfiguration.Level.WARN, "watchdog_close_session");
804806
LOG.fine(
805807
String.format(
806-
"Found session %s that lingered too long in WAIT_SERVER_CLOSE state, canceling session",
808+
"Found session %s that lingered too long in WAIT_SERVER_CLOSE state, canceling"
809+
+ " session",
807810
handle.getSession().getLogName()));
808811
handle
809812
.getSession()
@@ -812,7 +815,8 @@ public void run() {
812815
.setReason(CloseSessionReason.CLOSE_SESSION_REASON_ERROR)
813816
.setDescription(
814817
String.format(
815-
"Watchdog found session %s in awaiting close for too long. Last activity was %s ago.",
818+
"Watchdog found session %s in awaiting close for too long. Last"
819+
+ " activity was %s ago.",
816820
handle.getSession().getLogName(),
817821
Duration.between(
818822
handle.getSession().getLastStateChange(), Instant.now(clock))))

google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/internal/session/SessionImplTest.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,9 @@ void streamErrorDuringRpcTest() throws Exception {
280280
.hasMessageThat()
281281
.isEqualTo(
282282
"UNAVAILABLE: vRPC failed due to transport error\n"
283-
+ "Transport error: INTERNAL: fake internal error. PeerInfo: application_frontend_subzone: \"ll\" transport_type: TRANSPORT_TYPE_SESSION_DIRECT_ACCESS application_frontend_region: \"local\"");
283+
+ "Transport error: INTERNAL: fake internal error. PeerInfo:"
284+
+ " application_frontend_subzone: \"ll\" transport_type:"
285+
+ " TRANSPORT_TYPE_SESSION_DIRECT_ACCESS application_frontend_region: \"local\"");
284286
assertThat(error.getResult()).state().isEqualTo(State.TRANSPORT_FAILURE);
285287
// TODO: fix server Latency definition - need to split node latency from transport latency
286288
assertThat(error.getResult()).backendLatency().isEqualTo(Duration.ZERO);
@@ -291,7 +293,8 @@ void streamErrorDuringRpcTest() throws Exception {
291293
.description()
292294
.isEqualTo(
293295
actualSessionStatusProto.getMessage()
294-
+ ". PeerInfo: application_frontend_subzone: \"ll\" transport_type: TRANSPORT_TYPE_SESSION_DIRECT_ACCESS application_frontend_region: \"local\"");
296+
+ ". PeerInfo: application_frontend_subzone: \"ll\" transport_type:"
297+
+ " TRANSPORT_TYPE_SESSION_DIRECT_ACCESS application_frontend_region: \"local\"");
295298
}
296299

297300
@Test

google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/internal/session/SessionPoolImplTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,9 @@ public void consecutiveFailuresTest() {
206206
assertThat(exception)
207207
.hasMessageThat()
208208
.contains(
209-
"UNAVAILABLE: Session failed with consecutive failures."
210-
+ " Most recent server status: Status{code=INTERNAL, "
211-
+ "description=fake internal error. PeerInfo: transport_type: TRANSPORT_TYPE_SESSION_UNKNOWN, cause=null}");
209+
"UNAVAILABLE: Session failed with consecutive failures. Most recent server status:"
210+
+ " Status{code=INTERNAL, description=fake internal error. PeerInfo:"
211+
+ " transport_type: TRANSPORT_TYPE_SESSION_UNKNOWN, cause=null}");
212212
}
213213

214214
@Test

0 commit comments

Comments
 (0)