Skip to content

Commit c078ac3

Browse files
chore: Update generation configuration at Wed Oct 2 02:24:35 UTC 2024 (#3353)
* chore: Update generation configuration at Sat Sep 28 02:23:38 UTC 2024 * chore: Update generation configuration at Mon Sep 30 20:28:50 UTC 2024 * chore: generate libraries at Mon Sep 30 20:29:33 UTC 2024 * chore: Update generation configuration at Tue Oct 1 02:28:18 UTC 2024 * chore: Update generation configuration at Wed Oct 2 02:24:35 UTC 2024
1 parent 7c21164 commit c078ac3

12 files changed

+611
-452
lines changed

generation_config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
gapic_generator_version: 2.46.1
2-
googleapis_commitish: 005df4681b89bd204a90b76168a6dc9d9e7bf4fe
2+
googleapis_commitish: 16a1580c06b3b32e8ab33c39d846bba7e21bfae3
33
libraries_bom_version: 26.47.0
44
libraries:
55
- api_shortname: spanner

proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequest.java

+56-4
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,37 @@ public enum QueryMode implements com.google.protobuf.ProtocolMessageEnum {
115115
*
116116
*
117117
* <pre>
118-
* This mode returns both the query plan and the execution statistics along
119-
* with the results.
118+
* This mode returns the query plan, overall execution statistics,
119+
* operator level execution statistics along with the results. This has a
120+
* performance overhead compared to the other modes. It is not recommended
121+
* to use this mode for production traffic.
120122
* </pre>
121123
*
122124
* <code>PROFILE = 2;</code>
123125
*/
124126
PROFILE(2),
127+
/**
128+
*
129+
*
130+
* <pre>
131+
* This mode returns the overall (but not operator-level) execution
132+
* statistics along with the results.
133+
* </pre>
134+
*
135+
* <code>WITH_STATS = 3;</code>
136+
*/
137+
WITH_STATS(3),
138+
/**
139+
*
140+
*
141+
* <pre>
142+
* This mode returns the query plan, overall (but not operator-level)
143+
* execution statistics along with the results.
144+
* </pre>
145+
*
146+
* <code>WITH_PLAN_AND_STATS = 4;</code>
147+
*/
148+
WITH_PLAN_AND_STATS(4),
125149
UNRECOGNIZED(-1),
126150
;
127151

@@ -150,13 +174,37 @@ public enum QueryMode implements com.google.protobuf.ProtocolMessageEnum {
150174
*
151175
*
152176
* <pre>
153-
* This mode returns both the query plan and the execution statistics along
154-
* with the results.
177+
* This mode returns the query plan, overall execution statistics,
178+
* operator level execution statistics along with the results. This has a
179+
* performance overhead compared to the other modes. It is not recommended
180+
* to use this mode for production traffic.
155181
* </pre>
156182
*
157183
* <code>PROFILE = 2;</code>
158184
*/
159185
public static final int PROFILE_VALUE = 2;
186+
/**
187+
*
188+
*
189+
* <pre>
190+
* This mode returns the overall (but not operator-level) execution
191+
* statistics along with the results.
192+
* </pre>
193+
*
194+
* <code>WITH_STATS = 3;</code>
195+
*/
196+
public static final int WITH_STATS_VALUE = 3;
197+
/**
198+
*
199+
*
200+
* <pre>
201+
* This mode returns the query plan, overall (but not operator-level)
202+
* execution statistics along with the results.
203+
* </pre>
204+
*
205+
* <code>WITH_PLAN_AND_STATS = 4;</code>
206+
*/
207+
public static final int WITH_PLAN_AND_STATS_VALUE = 4;
160208

161209
public final int getNumber() {
162210
if (this == UNRECOGNIZED) {
@@ -188,6 +236,10 @@ public static QueryMode forNumber(int value) {
188236
return PLAN;
189237
case 2:
190238
return PROFILE;
239+
case 3:
240+
return WITH_STATS;
241+
case 4:
242+
return WITH_PLAN_AND_STATS;
191243
default:
192244
return null;
193245
}

proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java

+175-174
Large diffs are not rendered by default.

proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/StructType.java

+73-71
Large diffs are not rendered by default.

proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/StructTypeOrBuilder.java

+15-15
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ public interface StructTypeOrBuilder
3131
* The list of fields that make up this struct. Order is
3232
* significant, because values of this struct type are represented as
3333
* lists, where the order of field values matches the order of
34-
* fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields
35-
* matches the order of columns in a read request, or the order of
36-
* fields in the `SELECT` clause of a query.
34+
* fields in the [StructType][google.spanner.v1.StructType]. In turn, the
35+
* order of fields matches the order of columns in a read request, or the
36+
* order of fields in the `SELECT` clause of a query.
3737
* </pre>
3838
*
3939
* <code>repeated .google.spanner.v1.StructType.Field fields = 1;</code>
@@ -46,9 +46,9 @@ public interface StructTypeOrBuilder
4646
* The list of fields that make up this struct. Order is
4747
* significant, because values of this struct type are represented as
4848
* lists, where the order of field values matches the order of
49-
* fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields
50-
* matches the order of columns in a read request, or the order of
51-
* fields in the `SELECT` clause of a query.
49+
* fields in the [StructType][google.spanner.v1.StructType]. In turn, the
50+
* order of fields matches the order of columns in a read request, or the
51+
* order of fields in the `SELECT` clause of a query.
5252
* </pre>
5353
*
5454
* <code>repeated .google.spanner.v1.StructType.Field fields = 1;</code>
@@ -61,9 +61,9 @@ public interface StructTypeOrBuilder
6161
* The list of fields that make up this struct. Order is
6262
* significant, because values of this struct type are represented as
6363
* lists, where the order of field values matches the order of
64-
* fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields
65-
* matches the order of columns in a read request, or the order of
66-
* fields in the `SELECT` clause of a query.
64+
* fields in the [StructType][google.spanner.v1.StructType]. In turn, the
65+
* order of fields matches the order of columns in a read request, or the
66+
* order of fields in the `SELECT` clause of a query.
6767
* </pre>
6868
*
6969
* <code>repeated .google.spanner.v1.StructType.Field fields = 1;</code>
@@ -76,9 +76,9 @@ public interface StructTypeOrBuilder
7676
* The list of fields that make up this struct. Order is
7777
* significant, because values of this struct type are represented as
7878
* lists, where the order of field values matches the order of
79-
* fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields
80-
* matches the order of columns in a read request, or the order of
81-
* fields in the `SELECT` clause of a query.
79+
* fields in the [StructType][google.spanner.v1.StructType]. In turn, the
80+
* order of fields matches the order of columns in a read request, or the
81+
* order of fields in the `SELECT` clause of a query.
8282
* </pre>
8383
*
8484
* <code>repeated .google.spanner.v1.StructType.Field fields = 1;</code>
@@ -92,9 +92,9 @@ public interface StructTypeOrBuilder
9292
* The list of fields that make up this struct. Order is
9393
* significant, because values of this struct type are represented as
9494
* lists, where the order of field values matches the order of
95-
* fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields
96-
* matches the order of columns in a read request, or the order of
97-
* fields in the `SELECT` clause of a query.
95+
* fields in the [StructType][google.spanner.v1.StructType]. In turn, the
96+
* order of fields matches the order of columns in a read request, or the
97+
* order of fields in the `SELECT` clause of a query.
9898
* </pre>
9999
*
100100
* <code>repeated .google.spanner.v1.StructType.Field fields = 1;</code>

0 commit comments

Comments
 (0)