Skip to content

Commit 0d2577b

Browse files
chore: generate libraries at Wed Sep 24 11:24:45 UTC 2025
1 parent 3656932 commit 0d2577b

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

google-cloud-spanner/src/main/java/com/google/cloud/spanner/SpannerOptions.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,9 @@ default boolean isEnableEndToEndTracing() {
887887
}
888888

889889
@Deprecated
890-
@ObsoleteApi("This will be removed in upcoming version without breaking change release. You should use universalDomain to configure the built-in metrics endpoint for a partner universe.")
890+
@ObsoleteApi(
891+
"This will be removed in upcoming version without breaking change release. You should use"
892+
+ " universalDomain to configure the built-in metrics endpoint for a partner universe.")
891893
default String getMonitoringHost() {
892894
return null;
893895
}
@@ -1683,7 +1685,9 @@ public Builder setBuiltInMetricsEnabled(boolean enableBuiltInMetrics) {
16831685

16841686
/** Sets the monitoring host to be used for Built-in client side metrics */
16851687
@Deprecated
1686-
@ObsoleteApi("This will be removed in upcoming version without breaking change release. You should use universalDomain to configure the built-in metrics endpoint for a partner universe.")
1688+
@ObsoleteApi(
1689+
"This will be removed in upcoming version without breaking change release. You should use"
1690+
+ " universalDomain to configure the built-in metrics endpoint for a partner universe.")
16871691
public Builder setMonitoringHost(String monitoringHost) {
16881692
this.monitoringHost = monitoringHost;
16891693
return this;

google-cloud-spanner/src/test/java/com/google/cloud/spanner/SpannerOptionsTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -761,11 +761,11 @@ public void testMonitoringHost() {
761761
String metricsEndpoint = "test-endpoint:443";
762762
assertNull(SpannerOptions.newBuilder().setProjectId("p").build().getMonitoringHost());
763763
assertThat(
764-
SpannerOptions.newBuilder()
765-
.setProjectId("p")
766-
.setMonitoringHost(metricsEndpoint)
767-
.build()
768-
.getMonitoringHost())
764+
SpannerOptions.newBuilder()
765+
.setProjectId("p")
766+
.setMonitoringHost(metricsEndpoint)
767+
.build()
768+
.getMonitoringHost())
769769
.isEqualTo(metricsEndpoint);
770770
}
771771

0 commit comments

Comments
 (0)