Debian Codegraph @

spanner/apiv1/spannerpb/spanner.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/spanner/v1/spanner.proto
20
21 package spannerpb
22
23 import (
24 context "context"
25 _ "google.golang.org/genproto/googleapis/api/annotations"
26 status "google.golang.org/genproto/googleapis/rpc/status"
27 grpc "google.golang.org/grpc"
28 codes "google.golang.org/grpc/codes"
29 status1 "google.golang.org/grpc/status"
30 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
31 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
32 durationpb "google.golang.org/protobuf/types/known/durationpb"
33 emptypb "google.golang.org/protobuf/types/known/emptypb"
34 structpb "google.golang.org/protobuf/types/known/structpb"
35 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
36 reflect "reflect"
37 sync "sync"
38 )
39
40 const (
41 // Verify that this generated code is sufficiently up-to-date.
42 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
43 // Verify that runtime/protoimpl is sufficiently up-to-date.
44 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
45 )
46
47 // The relative priority for requests. Note that priority isn't applicable
48 // for [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction].
49 //
50 // The priority acts as a hint to the Cloud Spanner scheduler and doesn't
51 // guarantee priority or order of execution. For example:
52 //
53 // - Some parts of a write operation always execute at `PRIORITY_HIGH`,
54 // regardless of the specified priority. This can cause you to see an
55 // increase in high priority workload even when executing a low priority
56 // request. This can also potentially cause a priority inversion where a
57 // lower priority request is fulfilled ahead of a higher priority
58 // request.
59 // - If a transaction contains multiple operations with different priorities,
60 // Cloud Spanner doesn't guarantee to process the higher priority
61 // operations first. There might be other constraints to satisfy, such as
62 // the order of operations.
63 type RequestOptions_Priority int32
64
65 const (
66 // `PRIORITY_UNSPECIFIED` is equivalent to `PRIORITY_HIGH`.
67 RequestOptions_PRIORITY_UNSPECIFIED RequestOptions_Priority = 0
68 // This specifies that the request is low priority.
69 RequestOptions_PRIORITY_LOW RequestOptions_Priority = 1
70 // This specifies that the request is medium priority.
71 RequestOptions_PRIORITY_MEDIUM RequestOptions_Priority = 2
72 // This specifies that the request is high priority.
73 RequestOptions_PRIORITY_HIGH RequestOptions_Priority = 3
74 )
75
76 // Enum value maps for RequestOptions_Priority.
77 var (
78 RequestOptions_Priority_name = map[int32]string{
79 0: "PRIORITY_UNSPECIFIED",
80 1: "PRIORITY_LOW",
81 2: "PRIORITY_MEDIUM",
82 3: "PRIORITY_HIGH",
83 }
84 RequestOptions_Priority_value = map[string]int32{
85 "PRIORITY_UNSPECIFIED": 0,
86 "PRIORITY_LOW": 1,
87 "PRIORITY_MEDIUM": 2,
88 "PRIORITY_HIGH": 3,
89 }
90 )
91
92 func (x RequestOptions_Priority) Enum() *RequestOptions_Priority {
93 p := new(RequestOptions_Priority)
94 *p = x
95 return p
96 }
97
98 func (x RequestOptions_Priority) String() string {
99 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
100 }
101
102 func (RequestOptions_Priority) Descriptor() protoreflect.EnumDescriptor {
103 return file_google_spanner_v1_spanner_proto_enumTypes[0].Descriptor()
104 }
105
106 func (RequestOptions_Priority) Type() protoreflect.EnumType {
107 return &file_google_spanner_v1_spanner_proto_enumTypes[0]
108 }
109
110 func (x RequestOptions_Priority) Number() protoreflect.EnumNumber {
111 return protoreflect.EnumNumber(x)
112 }
113
114 // Deprecated: Use RequestOptions_Priority.Descriptor instead.
115 func (RequestOptions_Priority) EnumDescriptor() ([]byte, []int) {
116 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{8, 0}
117 }
118
119 // Indicates the type of replica.
120 type DirectedReadOptions_ReplicaSelection_Type int32
121
122 const (
123 // Not specified.
124 DirectedReadOptions_ReplicaSelection_TYPE_UNSPECIFIED DirectedReadOptions_ReplicaSelection_Type = 0
125 // Read-write replicas support both reads and writes.
126 DirectedReadOptions_ReplicaSelection_READ_WRITE DirectedReadOptions_ReplicaSelection_Type = 1
127 // Read-only replicas only support reads (not writes).
128 DirectedReadOptions_ReplicaSelection_READ_ONLY DirectedReadOptions_ReplicaSelection_Type = 2
129 )
130
131 // Enum value maps for DirectedReadOptions_ReplicaSelection_Type.
132 var (
133 DirectedReadOptions_ReplicaSelection_Type_name = map[int32]string{
134 0: "TYPE_UNSPECIFIED",
135 1: "READ_WRITE",
136 2: "READ_ONLY",
137 }
138 DirectedReadOptions_ReplicaSelection_Type_value = map[string]int32{
139 "TYPE_UNSPECIFIED": 0,
140 "READ_WRITE": 1,
141 "READ_ONLY": 2,
142 }
143 )
144
145 func (x DirectedReadOptions_ReplicaSelection_Type) Enum() *DirectedReadOptions_ReplicaSelection_Type {
146 p := new(DirectedReadOptions_ReplicaSelection_Type)
147 *p = x
148 return p
149 }
150
151 func (x DirectedReadOptions_ReplicaSelection_Type) String() string {
152 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
153 }
154
155 func (DirectedReadOptions_ReplicaSelection_Type) Descriptor() protoreflect.EnumDescriptor {
156 return file_google_spanner_v1_spanner_proto_enumTypes[1].Descriptor()
157 }
158
159 func (DirectedReadOptions_ReplicaSelection_Type) Type() protoreflect.EnumType {
160 return &file_google_spanner_v1_spanner_proto_enumTypes[1]
161 }
162
163 func (x DirectedReadOptions_ReplicaSelection_Type) Number() protoreflect.EnumNumber {
164 return protoreflect.EnumNumber(x)
165 }
166
167 // Deprecated: Use DirectedReadOptions_ReplicaSelection_Type.Descriptor instead.
168 func (DirectedReadOptions_ReplicaSelection_Type) EnumDescriptor() ([]byte, []int) {
169 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{9, 0, 0}
170 }
171
172 // Mode in which the statement must be processed.
173 type ExecuteSqlRequest_QueryMode int32
174
175 const (
176 // The default mode. Only the statement results are returned.
177 ExecuteSqlRequest_NORMAL ExecuteSqlRequest_QueryMode = 0
178 // This mode returns only the query plan, without any results or
179 // execution statistics information.
180 ExecuteSqlRequest_PLAN ExecuteSqlRequest_QueryMode = 1
181 // This mode returns the query plan, overall execution statistics,
182 // operator level execution statistics along with the results. This has a
183 // performance overhead compared to the other modes. It isn't recommended
184 // to use this mode for production traffic.
185 ExecuteSqlRequest_PROFILE ExecuteSqlRequest_QueryMode = 2
186 // This mode returns the overall (but not operator-level) execution
187 // statistics along with the results.
188 ExecuteSqlRequest_WITH_STATS ExecuteSqlRequest_QueryMode = 3
189 // This mode returns the query plan, overall (but not operator-level)
190 // execution statistics along with the results.
191 ExecuteSqlRequest_WITH_PLAN_AND_STATS ExecuteSqlRequest_QueryMode = 4
192 )
193
194 // Enum value maps for ExecuteSqlRequest_QueryMode.
195 var (
196 ExecuteSqlRequest_QueryMode_name = map[int32]string{
197 0: "NORMAL",
198 1: "PLAN",
199 2: "PROFILE",
200 3: "WITH_STATS",
201 4: "WITH_PLAN_AND_STATS",
202 }
203 ExecuteSqlRequest_QueryMode_value = map[string]int32{
204 "NORMAL": 0,
205 "PLAN": 1,
206 "PROFILE": 2,
207 "WITH_STATS": 3,
208 "WITH_PLAN_AND_STATS": 4,
209 }
210 )
211
212 func (x ExecuteSqlRequest_QueryMode) Enum() *ExecuteSqlRequest_QueryMode {
213 p := new(ExecuteSqlRequest_QueryMode)
214 *p = x
215 return p
216 }
217
218 func (x ExecuteSqlRequest_QueryMode) String() string {
219 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
220 }
221
222 func (ExecuteSqlRequest_QueryMode) Descriptor() protoreflect.EnumDescriptor {
223 return file_google_spanner_v1_spanner_proto_enumTypes[2].Descriptor()
224 }
225
226 func (ExecuteSqlRequest_QueryMode) Type() protoreflect.EnumType {
227 return &file_google_spanner_v1_spanner_proto_enumTypes[2]
228 }
229
230 func (x ExecuteSqlRequest_QueryMode) Number() protoreflect.EnumNumber {
231 return protoreflect.EnumNumber(x)
232 }
233
234 // Deprecated: Use ExecuteSqlRequest_QueryMode.Descriptor instead.
235 func (ExecuteSqlRequest_QueryMode) EnumDescriptor() ([]byte, []int) {
236 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{10, 0}
237 }
238
239 // An option to control the order in which rows are returned from a read.
240 type ReadRequest_OrderBy int32
241
242 const (
243 // Default value.
244 //
245 // `ORDER_BY_UNSPECIFIED` is equivalent to `ORDER_BY_PRIMARY_KEY`.
246 ReadRequest_ORDER_BY_UNSPECIFIED ReadRequest_OrderBy = 0
247 // Read rows are returned in primary key order.
248 //
249 // In the event that this option is used in conjunction with the
250 // `partition_token` field, the API returns an `INVALID_ARGUMENT` error.
251 ReadRequest_ORDER_BY_PRIMARY_KEY ReadRequest_OrderBy = 1
252 // Read rows are returned in any order.
253 ReadRequest_ORDER_BY_NO_ORDER ReadRequest_OrderBy = 2
254 )
255
256 // Enum value maps for ReadRequest_OrderBy.
257 var (
258 ReadRequest_OrderBy_name = map[int32]string{
259 0: "ORDER_BY_UNSPECIFIED",
260 1: "ORDER_BY_PRIMARY_KEY",
261 2: "ORDER_BY_NO_ORDER",
262 }
263 ReadRequest_OrderBy_value = map[string]int32{
264 "ORDER_BY_UNSPECIFIED": 0,
265 "ORDER_BY_PRIMARY_KEY": 1,
266 "ORDER_BY_NO_ORDER": 2,
267 }
268 )
269
270 func (x ReadRequest_OrderBy) Enum() *ReadRequest_OrderBy {
271 p := new(ReadRequest_OrderBy)
272 *p = x
273 return p
274 }
275
276 func (x ReadRequest_OrderBy) String() string {
277 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
278 }
279
280 func (ReadRequest_OrderBy) Descriptor() protoreflect.EnumDescriptor {
281 return file_google_spanner_v1_spanner_proto_enumTypes[3].Descriptor()
282 }
283
284 func (ReadRequest_OrderBy) Type() protoreflect.EnumType {
285 return &file_google_spanner_v1_spanner_proto_enumTypes[3]
286 }
287
288 func (x ReadRequest_OrderBy) Number() protoreflect.EnumNumber {
289 return protoreflect.EnumNumber(x)
290 }
291
292 // Deprecated: Use ReadRequest_OrderBy.Descriptor instead.
293 func (ReadRequest_OrderBy) EnumDescriptor() ([]byte, []int) {
294 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{18, 0}
295 }
296
297 // A lock hint mechanism for reads done within a transaction.
298 type ReadRequest_LockHint int32
299
300 const (
301 // Default value.
302 //
303 // `LOCK_HINT_UNSPECIFIED` is equivalent to `LOCK_HINT_SHARED`.
304 ReadRequest_LOCK_HINT_UNSPECIFIED ReadRequest_LockHint = 0
305 // Acquire shared locks.
306 //
307 // By default when you perform a read as part of a read-write transaction,
308 // Spanner acquires shared read locks, which allows other reads to still
309 // access the data until your transaction is ready to commit. When your
310 // transaction is committing and writes are being applied, the transaction
311 // attempts to upgrade to an exclusive lock for any data you are writing.
312 // For more information about locks, see [Lock
313 // modes](https://cloud.google.com/spanner/docs/introspection/lock-statistics#explain-lock-modes).
314 ReadRequest_LOCK_HINT_SHARED ReadRequest_LockHint = 1
315 // Acquire exclusive locks.
316 //
317 // Requesting exclusive locks is beneficial if you observe high write
318 // contention, which means you notice that multiple transactions are
319 // concurrently trying to read and write to the same data, resulting in a
320 // large number of aborts. This problem occurs when two transactions
321 // initially acquire shared locks and then both try to upgrade to exclusive
322 // locks at the same time. In this situation both transactions are waiting
323 // for the other to give up their lock, resulting in a deadlocked situation.
324 // Spanner is able to detect this occurring and force one of the
325 // transactions to abort. However, this is a slow and expensive operation
326 // and results in lower performance. In this case it makes sense to acquire
327 // exclusive locks at the start of the transaction because then when
328 // multiple transactions try to act on the same data, they automatically get
329 // serialized. Each transaction waits its turn to acquire the lock and
330 // avoids getting into deadlock situations.
331 //
332 // Because the exclusive lock hint is just a hint, it shouldn't be
333 // considered equivalent to a mutex. In other words, you shouldn't use
334 // Spanner exclusive locks as a mutual exclusion mechanism for the execution
335 // of code outside of Spanner.
336 //
337 // **Note:** Request exclusive locks judiciously because they block others
338 // from reading that data for the entire transaction, rather than just when
339 // the writes are being performed. Unless you observe high write contention,
340 // you should use the default of shared read locks so you don't prematurely
341 // block other clients from reading the data that you're writing to.
342 ReadRequest_LOCK_HINT_EXCLUSIVE ReadRequest_LockHint = 2
343 )
344
345 // Enum value maps for ReadRequest_LockHint.
346 var (
347 ReadRequest_LockHint_name = map[int32]string{
348 0: "LOCK_HINT_UNSPECIFIED",
349 1: "LOCK_HINT_SHARED",
350 2: "LOCK_HINT_EXCLUSIVE",
351 }
352 ReadRequest_LockHint_value = map[string]int32{
353 "LOCK_HINT_UNSPECIFIED": 0,
354 "LOCK_HINT_SHARED": 1,
355 "LOCK_HINT_EXCLUSIVE": 2,
356 }
357 )
358
359 func (x ReadRequest_LockHint) Enum() *ReadRequest_LockHint {
360 p := new(ReadRequest_LockHint)
361 *p = x
362 return p
363 }
364
365 func (x ReadRequest_LockHint) String() string {
366 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
367 }
368
369 func (ReadRequest_LockHint) Descriptor() protoreflect.EnumDescriptor {
370 return file_google_spanner_v1_spanner_proto_enumTypes[4].Descriptor()
371 }
372
373 func (ReadRequest_LockHint) Type() protoreflect.EnumType {
374 return &file_google_spanner_v1_spanner_proto_enumTypes[4]
375 }
376
377 func (x ReadRequest_LockHint) Number() protoreflect.EnumNumber {
378 return protoreflect.EnumNumber(x)
379 }
380
381 // Deprecated: Use ReadRequest_LockHint.Descriptor instead.
382 func (ReadRequest_LockHint) EnumDescriptor() ([]byte, []int) {
383 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{18, 1}
384 }
385
386 // The request for [CreateSession][google.spanner.v1.Spanner.CreateSession].
387 type CreateSessionRequest struct {
388 state protoimpl.MessageState
389 sizeCache protoimpl.SizeCache
390 unknownFields protoimpl.UnknownFields
391
392 // Required. The database in which the new session is created.
393 Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
394 // Required. The session to create.
395 Session *Session `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"`
396 }
397
398 func (x *CreateSessionRequest) Reset() {
399 *x = CreateSessionRequest{}
400 mi := &file_google_spanner_v1_spanner_proto_msgTypes[0]
401 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
402 ms.StoreMessageInfo(mi)
403 }
404
405 func (x *CreateSessionRequest) String() string {
406 return protoimpl.X.MessageStringOf(x)
407 }
408
409 func (*CreateSessionRequest) ProtoMessage() {}
410
411 func (x *CreateSessionRequest) ProtoReflect() protoreflect.Message {
412 mi := &file_google_spanner_v1_spanner_proto_msgTypes[0]
413 if x != nil {
414 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
415 if ms.LoadMessageInfo() == nil {
416 ms.StoreMessageInfo(mi)
417 }
418 return ms
419 }
420 return mi.MessageOf(x)
421 }
422
423 // Deprecated: Use CreateSessionRequest.ProtoReflect.Descriptor instead.
424 func (*CreateSessionRequest) Descriptor() ([]byte, []int) {
425 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{0}
426 }
427
428 func (x *CreateSessionRequest) GetDatabase() string {
429 if x != nil {
430 return x.Database
431 }
432 return ""
433 }
434
435 func (x *CreateSessionRequest) GetSession() *Session {
436 if x != nil {
437 return x.Session
438 }
439 return nil
440 }
441
442 // The request for
443 // [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions].
444 type BatchCreateSessionsRequest struct {
445 state protoimpl.MessageState
446 sizeCache protoimpl.SizeCache
447 unknownFields protoimpl.UnknownFields
448
449 // Required. The database in which the new sessions are created.
450 Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
451 // Parameters to apply to each created session.
452 SessionTemplate *Session `protobuf:"bytes,2,opt,name=session_template,json=sessionTemplate,proto3" json:"session_template,omitempty"`
453 // Required. The number of sessions to be created in this batch call.
454 // The API can return fewer than the requested number of sessions. If a
455 // specific number of sessions are desired, the client can make additional
456 // calls to `BatchCreateSessions` (adjusting
457 // [session_count][google.spanner.v1.BatchCreateSessionsRequest.session_count]
458 // as necessary).
459 SessionCount int32 `protobuf:"varint,3,opt,name=session_count,json=sessionCount,proto3" json:"session_count,omitempty"`
460 }
461
462 func (x *BatchCreateSessionsRequest) Reset() {
463 *x = BatchCreateSessionsRequest{}
464 mi := &file_google_spanner_v1_spanner_proto_msgTypes[1]
465 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
466 ms.StoreMessageInfo(mi)
467 }
468
469 func (x *BatchCreateSessionsRequest) String() string {
470 return protoimpl.X.MessageStringOf(x)
471 }
472
473 func (*BatchCreateSessionsRequest) ProtoMessage() {}
474
475 func (x *BatchCreateSessionsRequest) ProtoReflect() protoreflect.Message {
476 mi := &file_google_spanner_v1_spanner_proto_msgTypes[1]
477 if x != nil {
478 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
479 if ms.LoadMessageInfo() == nil {
480 ms.StoreMessageInfo(mi)
481 }
482 return ms
483 }
484 return mi.MessageOf(x)
485 }
486
487 // Deprecated: Use BatchCreateSessionsRequest.ProtoReflect.Descriptor instead.
488 func (*BatchCreateSessionsRequest) Descriptor() ([]byte, []int) {
489 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{1}
490 }
491
492 func (x *BatchCreateSessionsRequest) GetDatabase() string {
493 if x != nil {
494 return x.Database
495 }
496 return ""
497 }
498
499 func (x *BatchCreateSessionsRequest) GetSessionTemplate() *Session {
500 if x != nil {
501 return x.SessionTemplate
502 }
503 return nil
504 }
505
506 func (x *BatchCreateSessionsRequest) GetSessionCount() int32 {
507 if x != nil {
508 return x.SessionCount
509 }
510 return 0
511 }
512
513 // The response for
514 // [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions].
515 type BatchCreateSessionsResponse struct {
516 state protoimpl.MessageState
517 sizeCache protoimpl.SizeCache
518 unknownFields protoimpl.UnknownFields
519
520 // The freshly created sessions.
521 Session []*Session `protobuf:"bytes,1,rep,name=session,proto3" json:"session,omitempty"`
522 }
523
524 func (x *BatchCreateSessionsResponse) Reset() {
525 *x = BatchCreateSessionsResponse{}
526 mi := &file_google_spanner_v1_spanner_proto_msgTypes[2]
527 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
528 ms.StoreMessageInfo(mi)
529 }
530
531 func (x *BatchCreateSessionsResponse) String() string {
532 return protoimpl.X.MessageStringOf(x)
533 }
534
535 func (*BatchCreateSessionsResponse) ProtoMessage() {}
536
537 func (x *BatchCreateSessionsResponse) ProtoReflect() protoreflect.Message {
538 mi := &file_google_spanner_v1_spanner_proto_msgTypes[2]
539 if x != nil {
540 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
541 if ms.LoadMessageInfo() == nil {
542 ms.StoreMessageInfo(mi)
543 }
544 return ms
545 }
546 return mi.MessageOf(x)
547 }
548
549 // Deprecated: Use BatchCreateSessionsResponse.ProtoReflect.Descriptor instead.
550 func (*BatchCreateSessionsResponse) Descriptor() ([]byte, []int) {
551 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{2}
552 }
553
554 func (x *BatchCreateSessionsResponse) GetSession() []*Session {
555 if x != nil {
556 return x.Session
557 }
558 return nil
559 }
560
561 // A session in the Cloud Spanner API.
562 type Session struct {
563 state protoimpl.MessageState
564 sizeCache protoimpl.SizeCache
565 unknownFields protoimpl.UnknownFields
566
567 // Output only. The name of the session. This is always system-assigned.
568 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
569 // The labels for the session.
570 //
571 // - Label keys must be between 1 and 63 characters long and must conform to
572 // the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
573 // - Label values must be between 0 and 63 characters long and must conform
574 // to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
575 // - No more than 64 labels can be associated with a given session.
576 //
577 // See https://goo.gl/xmQnxf for more information on and examples of labels.
578 Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
579 // Output only. The timestamp when the session is created.
580 CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
581 // Output only. The approximate timestamp when the session is last used. It's
582 // typically earlier than the actual last use time.
583 ApproximateLastUseTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=approximate_last_use_time,json=approximateLastUseTime,proto3" json:"approximate_last_use_time,omitempty"`
584 // The database role which created this session.
585 CreatorRole string `protobuf:"bytes,5,opt,name=creator_role,json=creatorRole,proto3" json:"creator_role,omitempty"`
586 // Optional. If `true`, specifies a multiplexed session. Use a multiplexed
587 // session for multiple, concurrent read-only operations. Don't use them for
588 // read-write transactions, partitioned reads, or partitioned queries. Use
589 // [`sessions.create`][google.spanner.v1.Spanner.CreateSession] to create
590 // multiplexed sessions. Don't use
591 // [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions] to
592 // create a multiplexed session. You can't delete or list multiplexed
593 // sessions.
594 Multiplexed bool `protobuf:"varint,6,opt,name=multiplexed,proto3" json:"multiplexed,omitempty"`
595 }
596
597 func (x *Session) Reset() {
598 *x = Session{}
599 mi := &file_google_spanner_v1_spanner_proto_msgTypes[3]
600 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
601 ms.StoreMessageInfo(mi)
602 }
603
604 func (x *Session) String() string {
605 return protoimpl.X.MessageStringOf(x)
606 }
607
608 func (*Session) ProtoMessage() {}
609
610 func (x *Session) ProtoReflect() protoreflect.Message {
611 mi := &file_google_spanner_v1_spanner_proto_msgTypes[3]
612 if x != nil {
613 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
614 if ms.LoadMessageInfo() == nil {
615 ms.StoreMessageInfo(mi)
616 }
617 return ms
618 }
619 return mi.MessageOf(x)
620 }
621
622 // Deprecated: Use Session.ProtoReflect.Descriptor instead.
623 func (*Session) Descriptor() ([]byte, []int) {
624 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{3}
625 }
626
627 func (x *Session) GetName() string {
628 if x != nil {
629 return x.Name
630 }
631 return ""
632 }
633
634 func (x *Session) GetLabels() map[string]string {
635 if x != nil {
636 return x.Labels
637 }
638 return nil
639 }
640
641 func (x *Session) GetCreateTime() *timestamppb.Timestamp {
642 if x != nil {
643 return x.CreateTime
644 }
645 return nil
646 }
647
648 func (x *Session) GetApproximateLastUseTime() *timestamppb.Timestamp {
649 if x != nil {
650 return x.ApproximateLastUseTime
651 }
652 return nil
653 }
654
655 func (x *Session) GetCreatorRole() string {
656 if x != nil {
657 return x.CreatorRole
658 }
659 return ""
660 }
661
662 func (x *Session) GetMultiplexed() bool {
663 if x != nil {
664 return x.Multiplexed
665 }
666 return false
667 }
668
669 // The request for [GetSession][google.spanner.v1.Spanner.GetSession].
670 type GetSessionRequest struct {
671 state protoimpl.MessageState
672 sizeCache protoimpl.SizeCache
673 unknownFields protoimpl.UnknownFields
674
675 // Required. The name of the session to retrieve.
676 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
677 }
678
679 func (x *GetSessionRequest) Reset() {
680 *x = GetSessionRequest{}
681 mi := &file_google_spanner_v1_spanner_proto_msgTypes[4]
682 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
683 ms.StoreMessageInfo(mi)
684 }
685
686 func (x *GetSessionRequest) String() string {
687 return protoimpl.X.MessageStringOf(x)
688 }
689
690 func (*GetSessionRequest) ProtoMessage() {}
691
692 func (x *GetSessionRequest) ProtoReflect() protoreflect.Message {
693 mi := &file_google_spanner_v1_spanner_proto_msgTypes[4]
694 if x != nil {
695 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
696 if ms.LoadMessageInfo() == nil {
697 ms.StoreMessageInfo(mi)
698 }
699 return ms
700 }
701 return mi.MessageOf(x)
702 }
703
704 // Deprecated: Use GetSessionRequest.ProtoReflect.Descriptor instead.
705 func (*GetSessionRequest) Descriptor() ([]byte, []int) {
706 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{4}
707 }
708
709 func (x *GetSessionRequest) GetName() string {
710 if x != nil {
711 return x.Name
712 }
713 return ""
714 }
715
716 // The request for [ListSessions][google.spanner.v1.Spanner.ListSessions].
717 type ListSessionsRequest struct {
718 state protoimpl.MessageState
719 sizeCache protoimpl.SizeCache
720 unknownFields protoimpl.UnknownFields
721
722 // Required. The database in which to list sessions.
723 Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
724 // Number of sessions to be returned in the response. If 0 or less, defaults
725 // to the server's maximum allowed page size.
726 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
727 // If non-empty, `page_token` should contain a
728 // [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token]
729 // from a previous
730 // [ListSessionsResponse][google.spanner.v1.ListSessionsResponse].
731 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
732 // An expression for filtering the results of the request. Filter rules are
733 // case insensitive. The fields eligible for filtering are:
734 //
735 // - `labels.key` where key is the name of a label
736 //
737 // Some examples of using filters are:
738 //
739 // - `labels.env:*` --> The session has the label "env".
740 // - `labels.env:dev` --> The session has the label "env" and the value of
741 // the label contains the string "dev".
742 Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
743 }
744
745 func (x *ListSessionsRequest) Reset() {
746 *x = ListSessionsRequest{}
747 mi := &file_google_spanner_v1_spanner_proto_msgTypes[5]
748 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
749 ms.StoreMessageInfo(mi)
750 }
751
752 func (x *ListSessionsRequest) String() string {
753 return protoimpl.X.MessageStringOf(x)
754 }
755
756 func (*ListSessionsRequest) ProtoMessage() {}
757
758 func (x *ListSessionsRequest) ProtoReflect() protoreflect.Message {
759 mi := &file_google_spanner_v1_spanner_proto_msgTypes[5]
760 if x != nil {
761 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
762 if ms.LoadMessageInfo() == nil {
763 ms.StoreMessageInfo(mi)
764 }
765 return ms
766 }
767 return mi.MessageOf(x)
768 }
769
770 // Deprecated: Use ListSessionsRequest.ProtoReflect.Descriptor instead.
771 func (*ListSessionsRequest) Descriptor() ([]byte, []int) {
772 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{5}
773 }
774
775 func (x *ListSessionsRequest) GetDatabase() string {
776 if x != nil {
777 return x.Database
778 }
779 return ""
780 }
781
782 func (x *ListSessionsRequest) GetPageSize() int32 {
783 if x != nil {
784 return x.PageSize
785 }
786 return 0
787 }
788
789 func (x *ListSessionsRequest) GetPageToken() string {
790 if x != nil {
791 return x.PageToken
792 }
793 return ""
794 }
795
796 func (x *ListSessionsRequest) GetFilter() string {
797 if x != nil {
798 return x.Filter
799 }
800 return ""
801 }
802
803 // The response for [ListSessions][google.spanner.v1.Spanner.ListSessions].
804 type ListSessionsResponse struct {
805 state protoimpl.MessageState
806 sizeCache protoimpl.SizeCache
807 unknownFields protoimpl.UnknownFields
808
809 // The list of requested sessions.
810 Sessions []*Session `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
811 // `next_page_token` can be sent in a subsequent
812 // [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more
813 // of the matching sessions.
814 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
815 }
816
817 func (x *ListSessionsResponse) Reset() {
818 *x = ListSessionsResponse{}
819 mi := &file_google_spanner_v1_spanner_proto_msgTypes[6]
820 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
821 ms.StoreMessageInfo(mi)
822 }
823
824 func (x *ListSessionsResponse) String() string {
825 return protoimpl.X.MessageStringOf(x)
826 }
827
828 func (*ListSessionsResponse) ProtoMessage() {}
829
830 func (x *ListSessionsResponse) ProtoReflect() protoreflect.Message {
831 mi := &file_google_spanner_v1_spanner_proto_msgTypes[6]
832 if x != nil {
833 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
834 if ms.LoadMessageInfo() == nil {
835 ms.StoreMessageInfo(mi)
836 }
837 return ms
838 }
839 return mi.MessageOf(x)
840 }
841
842 // Deprecated: Use ListSessionsResponse.ProtoReflect.Descriptor instead.
843 func (*ListSessionsResponse) Descriptor() ([]byte, []int) {
844 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{6}
845 }
846
847 func (x *ListSessionsResponse) GetSessions() []*Session {
848 if x != nil {
849 return x.Sessions
850 }
851 return nil
852 }
853
854 func (x *ListSessionsResponse) GetNextPageToken() string {
855 if x != nil {
856 return x.NextPageToken
857 }
858 return ""
859 }
860
861 // The request for [DeleteSession][google.spanner.v1.Spanner.DeleteSession].
862 type DeleteSessionRequest struct {
863 state protoimpl.MessageState
864 sizeCache protoimpl.SizeCache
865 unknownFields protoimpl.UnknownFields
866
867 // Required. The name of the session to delete.
868 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
869 }
870
871 func (x *DeleteSessionRequest) Reset() {
872 *x = DeleteSessionRequest{}
873 mi := &file_google_spanner_v1_spanner_proto_msgTypes[7]
874 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
875 ms.StoreMessageInfo(mi)
876 }
877
878 func (x *DeleteSessionRequest) String() string {
879 return protoimpl.X.MessageStringOf(x)
880 }
881
882 func (*DeleteSessionRequest) ProtoMessage() {}
883
884 func (x *DeleteSessionRequest) ProtoReflect() protoreflect.Message {
885 mi := &file_google_spanner_v1_spanner_proto_msgTypes[7]
886 if x != nil {
887 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
888 if ms.LoadMessageInfo() == nil {
889 ms.StoreMessageInfo(mi)
890 }
891 return ms
892 }
893 return mi.MessageOf(x)
894 }
895
896 // Deprecated: Use DeleteSessionRequest.ProtoReflect.Descriptor instead.
897 func (*DeleteSessionRequest) Descriptor() ([]byte, []int) {
898 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{7}
899 }
900
901 func (x *DeleteSessionRequest) GetName() string {
902 if x != nil {
903 return x.Name
904 }
905 return ""
906 }
907
908 // Common request options for various APIs.
909 type RequestOptions struct {
910 state protoimpl.MessageState
911 sizeCache protoimpl.SizeCache
912 unknownFields protoimpl.UnknownFields
913
914 // Priority for the request.
915 Priority RequestOptions_Priority `protobuf:"varint,1,opt,name=priority,proto3,enum=google.spanner.v1.RequestOptions_Priority" json:"priority,omitempty"`
916 // A per-request tag which can be applied to queries or reads, used for
917 // statistics collection.
918 // Both `request_tag` and `transaction_tag` can be specified for a read or
919 // query that belongs to a transaction.
920 // This field is ignored for requests where it's not applicable (for example,
921 // `CommitRequest`).
922 // Legal characters for `request_tag` values are all printable characters
923 // (ASCII 32 - 126) and the length of a request_tag is limited to 50
924 // characters. Values that exceed this limit are truncated.
925 // Any leading underscore (_) characters are removed from the string.
926 RequestTag string `protobuf:"bytes,2,opt,name=request_tag,json=requestTag,proto3" json:"request_tag,omitempty"`
927 // A tag used for statistics collection about this transaction.
928 // Both `request_tag` and `transaction_tag` can be specified for a read or
929 // query that belongs to a transaction.
930 // The value of transaction_tag should be the same for all requests belonging
931 // to the same transaction.
932 // If this request doesn't belong to any transaction, `transaction_tag` is
933 // ignored.
934 // Legal characters for `transaction_tag` values are all printable characters
935 // (ASCII 32 - 126) and the length of a `transaction_tag` is limited to 50
936 // characters. Values that exceed this limit are truncated.
937 // Any leading underscore (_) characters are removed from the string.
938 TransactionTag string `protobuf:"bytes,3,opt,name=transaction_tag,json=transactionTag,proto3" json:"transaction_tag,omitempty"`
939 }
940
941 func (x *RequestOptions) Reset() {
942 *x = RequestOptions{}
943 mi := &file_google_spanner_v1_spanner_proto_msgTypes[8]
944 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
945 ms.StoreMessageInfo(mi)
946 }
947
948 func (x *RequestOptions) String() string {
949 return protoimpl.X.MessageStringOf(x)
950 }
951
952 func (*RequestOptions) ProtoMessage() {}
953
954 func (x *RequestOptions) ProtoReflect() protoreflect.Message {
955 mi := &file_google_spanner_v1_spanner_proto_msgTypes[8]
956 if x != nil {
957 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
958 if ms.LoadMessageInfo() == nil {
959 ms.StoreMessageInfo(mi)
960 }
961 return ms
962 }
963 return mi.MessageOf(x)
964 }
965
966 // Deprecated: Use RequestOptions.ProtoReflect.Descriptor instead.
967 func (*RequestOptions) Descriptor() ([]byte, []int) {
968 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{8}
969 }
970
971 func (x *RequestOptions) GetPriority() RequestOptions_Priority {
972 if x != nil {
973 return x.Priority
974 }
975 return RequestOptions_PRIORITY_UNSPECIFIED
976 }
977
978 func (x *RequestOptions) GetRequestTag() string {
979 if x != nil {
980 return x.RequestTag
981 }
982 return ""
983 }
984
985 func (x *RequestOptions) GetTransactionTag() string {
986 if x != nil {
987 return x.TransactionTag
988 }
989 return ""
990 }
991
992 // The `DirectedReadOptions` can be used to indicate which replicas or regions
993 // should be used for non-transactional reads or queries.
994 //
995 // `DirectedReadOptions` can only be specified for a read-only transaction,
996 // otherwise the API returns an `INVALID_ARGUMENT` error.
997 type DirectedReadOptions struct {
998 state protoimpl.MessageState
999 sizeCache protoimpl.SizeCache
1000 unknownFields protoimpl.UnknownFields
1001
1002 // Required. At most one of either `include_replicas` or `exclude_replicas`
1003 // should be present in the message.
1004 //
1005 // Types that are assignable to Replicas:
1006 //
1007 // *DirectedReadOptions_IncludeReplicas_
1008 // *DirectedReadOptions_ExcludeReplicas_
1009 Replicas isDirectedReadOptions_Replicas `protobuf_oneof:"replicas"`
1010 }
1011
1012 func (x *DirectedReadOptions) Reset() {
1013 *x = DirectedReadOptions{}
1014 mi := &file_google_spanner_v1_spanner_proto_msgTypes[9]
1015 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1016 ms.StoreMessageInfo(mi)
1017 }
1018
1019 func (x *DirectedReadOptions) String() string {
1020 return protoimpl.X.MessageStringOf(x)
1021 }
1022
1023 func (*DirectedReadOptions) ProtoMessage() {}
1024
1025 func (x *DirectedReadOptions) ProtoReflect() protoreflect.Message {
1026 mi := &file_google_spanner_v1_spanner_proto_msgTypes[9]
1027 if x != nil {
1028 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1029 if ms.LoadMessageInfo() == nil {
1030 ms.StoreMessageInfo(mi)
1031 }
1032 return ms
1033 }
1034 return mi.MessageOf(x)
1035 }
1036
1037 // Deprecated: Use DirectedReadOptions.ProtoReflect.Descriptor instead.
1038 func (*DirectedReadOptions) Descriptor() ([]byte, []int) {
1039 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{9}
1040 }
1041
1042 func (m *DirectedReadOptions) GetReplicas() isDirectedReadOptions_Replicas {
1043 if m != nil {
1044 return m.Replicas
1045 }
1046 return nil
1047 }
1048
1049 func (x *DirectedReadOptions) GetIncludeReplicas() *DirectedReadOptions_IncludeReplicas {
1050 if x, ok := x.GetReplicas().(*DirectedReadOptions_IncludeReplicas_); ok {
1051 return x.IncludeReplicas
1052 }
1053 return nil
1054 }
1055
1056 func (x *DirectedReadOptions) GetExcludeReplicas() *DirectedReadOptions_ExcludeReplicas {
1057 if x, ok := x.GetReplicas().(*DirectedReadOptions_ExcludeReplicas_); ok {
1058 return x.ExcludeReplicas
1059 }
1060 return nil
1061 }
1062
1063 type isDirectedReadOptions_Replicas interface {
1064 isDirectedReadOptions_Replicas()
1065 }
1066
1067 type DirectedReadOptions_IncludeReplicas_ struct {
1068 // `Include_replicas` indicates the order of replicas (as they appear in
1069 // this list) to process the request. If `auto_failover_disabled` is set to
1070 // `true` and all replicas are exhausted without finding a healthy replica,
1071 // Spanner waits for a replica in the list to become available, requests
1072 // might fail due to `DEADLINE_EXCEEDED` errors.
1073 IncludeReplicas *DirectedReadOptions_IncludeReplicas `protobuf:"bytes,1,opt,name=include_replicas,json=includeReplicas,proto3,oneof"`
1074 }
1075
1076 type DirectedReadOptions_ExcludeReplicas_ struct {
1077 // `Exclude_replicas` indicates that specified replicas should be excluded
1078 // from serving requests. Spanner doesn't route requests to the replicas
1079 // in this list.
1080 ExcludeReplicas *DirectedReadOptions_ExcludeReplicas `protobuf:"bytes,2,opt,name=exclude_replicas,json=excludeReplicas,proto3,oneof"`
1081 }
1082
1083 func (*DirectedReadOptions_IncludeReplicas_) isDirectedReadOptions_Replicas() {}
1084
1085 func (*DirectedReadOptions_ExcludeReplicas_) isDirectedReadOptions_Replicas() {}
1086
1087 // The request for [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and
1088 // [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql].
1089 type ExecuteSqlRequest struct {
1090 state protoimpl.MessageState
1091 sizeCache protoimpl.SizeCache
1092 unknownFields protoimpl.UnknownFields
1093
1094 // Required. The session in which the SQL query should be performed.
1095 Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
1096 // The transaction to use.
1097 //
1098 // For queries, if none is provided, the default is a temporary read-only
1099 // transaction with strong concurrency.
1100 //
1101 // Standard DML statements require a read-write transaction. To protect
1102 // against replays, single-use transactions are not supported. The caller
1103 // must either supply an existing transaction ID or begin a new transaction.
1104 //
1105 // Partitioned DML requires an existing Partitioned DML transaction ID.
1106 Transaction *TransactionSelector `protobuf:"bytes,2,opt,name=transaction,proto3" json:"transaction,omitempty"`
1107 // Required. The SQL string.
1108 Sql string `protobuf:"bytes,3,opt,name=sql,proto3" json:"sql,omitempty"`
1109 // Parameter names and values that bind to placeholders in the SQL string.
1110 //
1111 // A parameter placeholder consists of the `@` character followed by the
1112 // parameter name (for example, `@firstName`). Parameter names must conform
1113 // to the naming requirements of identifiers as specified at
1114 // https://cloud.google.com/spanner/docs/lexical#identifiers.
1115 //
1116 // Parameters can appear anywhere that a literal value is expected. The same
1117 // parameter name can be used more than once, for example:
1118 //
1119 // `"WHERE id > @msg_id AND id < @msg_id + 100"`
1120 //
1121 // It's an error to execute a SQL statement with unbound parameters.
1122 Params *structpb.Struct `protobuf:"bytes,4,opt,name=params,proto3" json:"params,omitempty"`
1123 // It isn't always possible for Cloud Spanner to infer the right SQL type
1124 // from a JSON value. For example, values of type `BYTES` and values
1125 // of type `STRING` both appear in
1126 // [params][google.spanner.v1.ExecuteSqlRequest.params] as JSON strings.
1127 //
1128 // In these cases, you can use `param_types` to specify the exact
1129 // SQL type for some or all of the SQL statement parameters. See the
1130 // definition of [Type][google.spanner.v1.Type] for more information
1131 // about SQL types.
1132 ParamTypes map[string]*Type `protobuf:"bytes,5,rep,name=param_types,json=paramTypes,proto3" json:"param_types,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
1133 // If this request is resuming a previously interrupted SQL statement
1134 // execution, `resume_token` should be copied from the last
1135 // [PartialResultSet][google.spanner.v1.PartialResultSet] yielded before the
1136 // interruption. Doing this enables the new SQL statement execution to resume
1137 // where the last one left off. The rest of the request parameters must
1138 // exactly match the request that yielded this token.
1139 ResumeToken []byte `protobuf:"bytes,6,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty"`
1140 // Used to control the amount of debugging information returned in
1141 // [ResultSetStats][google.spanner.v1.ResultSetStats]. If
1142 // [partition_token][google.spanner.v1.ExecuteSqlRequest.partition_token] is
1143 // set, [query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode] can only
1144 // be set to
1145 // [QueryMode.NORMAL][google.spanner.v1.ExecuteSqlRequest.QueryMode.NORMAL].
1146 QueryMode ExecuteSqlRequest_QueryMode `protobuf:"varint,7,opt,name=query_mode,json=queryMode,proto3,enum=google.spanner.v1.ExecuteSqlRequest_QueryMode" json:"query_mode,omitempty"`
1147 // If present, results are restricted to the specified partition
1148 // previously created using `PartitionQuery`. There must be an exact
1149 // match for the values of fields common to this message and the
1150 // `PartitionQueryRequest` message used to create this `partition_token`.
1151 PartitionToken []byte `protobuf:"bytes,8,opt,name=partition_token,json=partitionToken,proto3" json:"partition_token,omitempty"`
1152 // A per-transaction sequence number used to identify this request. This field
1153 // makes each request idempotent such that if the request is received multiple
1154 // times, at most one succeeds.
1155 //
1156 // The sequence number must be monotonically increasing within the
1157 // transaction. If a request arrives for the first time with an out-of-order
1158 // sequence number, the transaction can be aborted. Replays of previously
1159 // handled requests yield the same response as the first execution.
1160 //
1161 // Required for DML statements. Ignored for queries.
1162 Seqno int64 `protobuf:"varint,9,opt,name=seqno,proto3" json:"seqno,omitempty"`
1163 // Query optimizer configuration to use for the given query.
1164 QueryOptions *ExecuteSqlRequest_QueryOptions `protobuf:"bytes,10,opt,name=query_options,json=queryOptions,proto3" json:"query_options,omitempty"`
1165 // Common options for this request.
1166 RequestOptions *RequestOptions `protobuf:"bytes,11,opt,name=request_options,json=requestOptions,proto3" json:"request_options,omitempty"`
1167 // Directed read options for this request.
1168 DirectedReadOptions *DirectedReadOptions `protobuf:"bytes,15,opt,name=directed_read_options,json=directedReadOptions,proto3" json:"directed_read_options,omitempty"`
1169 // If this is for a partitioned query and this field is set to `true`, the
1170 // request is executed with Spanner Data Boost independent compute resources.
1171 //
1172 // If the field is set to `true` but the request doesn't set
1173 // `partition_token`, the API returns an `INVALID_ARGUMENT` error.
1174 DataBoostEnabled bool `protobuf:"varint,16,opt,name=data_boost_enabled,json=dataBoostEnabled,proto3" json:"data_boost_enabled,omitempty"`
1175 // Optional. If set to `true`, this statement marks the end of the
1176 // transaction. After this statement executes, you must commit or abort the
1177 // transaction. Attempts to execute any other requests against this
1178 // transaction (including reads and queries) are rejected.
1179 //
1180 // For DML statements, setting this option might cause some error reporting to
1181 // be deferred until commit time (for example, validation of unique
1182 // constraints). Given this, successful execution of a DML statement shouldn't
1183 // be assumed until a subsequent `Commit` call completes successfully.
1184 LastStatement bool `protobuf:"varint,17,opt,name=last_statement,json=lastStatement,proto3" json:"last_statement,omitempty"`
1185 }
1186
1187 func (x *ExecuteSqlRequest) Reset() {
1188 *x = ExecuteSqlRequest{}
1189 mi := &file_google_spanner_v1_spanner_proto_msgTypes[10]
1190 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1191 ms.StoreMessageInfo(mi)
1192 }
1193
1194 func (x *ExecuteSqlRequest) String() string {
1195 return protoimpl.X.MessageStringOf(x)
1196 }
1197
1198 func (*ExecuteSqlRequest) ProtoMessage() {}
1199
1200 func (x *ExecuteSqlRequest) ProtoReflect() protoreflect.Message {
1201 mi := &file_google_spanner_v1_spanner_proto_msgTypes[10]
1202 if x != nil {
1203 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1204 if ms.LoadMessageInfo() == nil {
1205 ms.StoreMessageInfo(mi)
1206 }
1207 return ms
1208 }
1209 return mi.MessageOf(x)
1210 }
1211
1212 // Deprecated: Use ExecuteSqlRequest.ProtoReflect.Descriptor instead.
1213 func (*ExecuteSqlRequest) Descriptor() ([]byte, []int) {
1214 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{10}
1215 }
1216
1217 func (x *ExecuteSqlRequest) GetSession() string {
1218 if x != nil {
1219 return x.Session
1220 }
1221 return ""
1222 }
1223
1224 func (x *ExecuteSqlRequest) GetTransaction() *TransactionSelector {
1225 if x != nil {
1226 return x.Transaction
1227 }
1228 return nil
1229 }
1230
1231 func (x *ExecuteSqlRequest) GetSql() string {
1232 if x != nil {
1233 return x.Sql
1234 }
1235 return ""
1236 }
1237
1238 func (x *ExecuteSqlRequest) GetParams() *structpb.Struct {
1239 if x != nil {
1240 return x.Params
1241 }
1242 return nil
1243 }
1244
1245 func (x *ExecuteSqlRequest) GetParamTypes() map[string]*Type {
1246 if x != nil {
1247 return x.ParamTypes
1248 }
1249 return nil
1250 }
1251
1252 func (x *ExecuteSqlRequest) GetResumeToken() []byte {
1253 if x != nil {
1254 return x.ResumeToken
1255 }
1256 return nil
1257 }
1258
1259 func (x *ExecuteSqlRequest) GetQueryMode() ExecuteSqlRequest_QueryMode {
1260 if x != nil {
1261 return x.QueryMode
1262 }
1263 return ExecuteSqlRequest_NORMAL
1264 }
1265
1266 func (x *ExecuteSqlRequest) GetPartitionToken() []byte {
1267 if x != nil {
1268 return x.PartitionToken
1269 }
1270 return nil
1271 }
1272
1273 func (x *ExecuteSqlRequest) GetSeqno() int64 {
1274 if x != nil {
1275 return x.Seqno
1276 }
1277 return 0
1278 }
1279
1280 func (x *ExecuteSqlRequest) GetQueryOptions() *ExecuteSqlRequest_QueryOptions {
1281 if x != nil {
1282 return x.QueryOptions
1283 }
1284 return nil
1285 }
1286
1287 func (x *ExecuteSqlRequest) GetRequestOptions() *RequestOptions {
1288 if x != nil {
1289 return x.RequestOptions
1290 }
1291 return nil
1292 }
1293
1294 func (x *ExecuteSqlRequest) GetDirectedReadOptions() *DirectedReadOptions {
1295 if x != nil {
1296 return x.DirectedReadOptions
1297 }
1298 return nil
1299 }
1300
1301 func (x *ExecuteSqlRequest) GetDataBoostEnabled() bool {
1302 if x != nil {
1303 return x.DataBoostEnabled
1304 }
1305 return false
1306 }
1307
1308 func (x *ExecuteSqlRequest) GetLastStatement() bool {
1309 if x != nil {
1310 return x.LastStatement
1311 }
1312 return false
1313 }
1314
1315 // The request for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml].
1316 type ExecuteBatchDmlRequest struct {
1317 state protoimpl.MessageState
1318 sizeCache protoimpl.SizeCache
1319 unknownFields protoimpl.UnknownFields
1320
1321 // Required. The session in which the DML statements should be performed.
1322 Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
1323 // Required. The transaction to use. Must be a read-write transaction.
1324 //
1325 // To protect against replays, single-use transactions are not supported. The
1326 // caller must either supply an existing transaction ID or begin a new
1327 // transaction.
1328 Transaction *TransactionSelector `protobuf:"bytes,2,opt,name=transaction,proto3" json:"transaction,omitempty"`
1329 // Required. The list of statements to execute in this batch. Statements are
1330 // executed serially, such that the effects of statement `i` are visible to
1331 // statement `i+1`. Each statement must be a DML statement. Execution stops at
1332 // the first failed statement; the remaining statements are not executed.
1333 //
1334 // Callers must provide at least one statement.
1335 Statements []*ExecuteBatchDmlRequest_Statement `protobuf:"bytes,3,rep,name=statements,proto3" json:"statements,omitempty"`
1336 // Required. A per-transaction sequence number used to identify this request.
1337 // This field makes each request idempotent such that if the request is
1338 // received multiple times, at most one succeeds.
1339 //
1340 // The sequence number must be monotonically increasing within the
1341 // transaction. If a request arrives for the first time with an out-of-order
1342 // sequence number, the transaction might be aborted. Replays of previously
1343 // handled requests yield the same response as the first execution.
1344 Seqno int64 `protobuf:"varint,4,opt,name=seqno,proto3" json:"seqno,omitempty"`
1345 // Common options for this request.
1346 RequestOptions *RequestOptions `protobuf:"bytes,5,opt,name=request_options,json=requestOptions,proto3" json:"request_options,omitempty"`
1347 // Optional. If set to `true`, this request marks the end of the transaction.
1348 // After these statements execute, you must commit or abort the transaction.
1349 // Attempts to execute any other requests against this transaction
1350 // (including reads and queries) are rejected.
1351 //
1352 // Setting this option might cause some error reporting to be deferred until
1353 // commit time (for example, validation of unique constraints). Given this,
1354 // successful execution of statements shouldn't be assumed until a subsequent
1355 // `Commit` call completes successfully.
1356 LastStatements bool `protobuf:"varint,6,opt,name=last_statements,json=lastStatements,proto3" json:"last_statements,omitempty"`
1357 }
1358
1359 func (x *ExecuteBatchDmlRequest) Reset() {
1360 *x = ExecuteBatchDmlRequest{}
1361 mi := &file_google_spanner_v1_spanner_proto_msgTypes[11]
1362 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1363 ms.StoreMessageInfo(mi)
1364 }
1365
1366 func (x *ExecuteBatchDmlRequest) String() string {
1367 return protoimpl.X.MessageStringOf(x)
1368 }
1369
1370 func (*ExecuteBatchDmlRequest) ProtoMessage() {}
1371
1372 func (x *ExecuteBatchDmlRequest) ProtoReflect() protoreflect.Message {
1373 mi := &file_google_spanner_v1_spanner_proto_msgTypes[11]
1374 if x != nil {
1375 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1376 if ms.LoadMessageInfo() == nil {
1377 ms.StoreMessageInfo(mi)
1378 }
1379 return ms
1380 }
1381 return mi.MessageOf(x)
1382 }
1383
1384 // Deprecated: Use ExecuteBatchDmlRequest.ProtoReflect.Descriptor instead.
1385 func (*ExecuteBatchDmlRequest) Descriptor() ([]byte, []int) {
1386 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{11}
1387 }
1388
1389 func (x *ExecuteBatchDmlRequest) GetSession() string {
1390 if x != nil {
1391 return x.Session
1392 }
1393 return ""
1394 }
1395
1396 func (x *ExecuteBatchDmlRequest) GetTransaction() *TransactionSelector {
1397 if x != nil {
1398 return x.Transaction
1399 }
1400 return nil
1401 }
1402
1403 func (x *ExecuteBatchDmlRequest) GetStatements() []*ExecuteBatchDmlRequest_Statement {
1404 if x != nil {
1405 return x.Statements
1406 }
1407 return nil
1408 }
1409
1410 func (x *ExecuteBatchDmlRequest) GetSeqno() int64 {
1411 if x != nil {
1412 return x.Seqno
1413 }
1414 return 0
1415 }
1416
1417 func (x *ExecuteBatchDmlRequest) GetRequestOptions() *RequestOptions {
1418 if x != nil {
1419 return x.RequestOptions
1420 }
1421 return nil
1422 }
1423
1424 func (x *ExecuteBatchDmlRequest) GetLastStatements() bool {
1425 if x != nil {
1426 return x.LastStatements
1427 }
1428 return false
1429 }
1430
1431 // The response for
1432 // [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml]. Contains a list
1433 // of [ResultSet][google.spanner.v1.ResultSet] messages, one for each DML
1434 // statement that has successfully executed, in the same order as the statements
1435 // in the request. If a statement fails, the status in the response body
1436 // identifies the cause of the failure.
1437 //
1438 // To check for DML statements that failed, use the following approach:
1439 //
1440 // 1. Check the status in the response message. The
1441 // [google.rpc.Code][google.rpc.Code] enum
1442 //
1443 // value `OK` indicates that all statements were executed successfully.
1444 // 2. If the status was not `OK`, check the number of result sets in the
1445 // response. If the response contains `N`
1446 // [ResultSet][google.spanner.v1.ResultSet] messages, then statement `N+1` in
1447 // the request failed.
1448 //
1449 // Example 1:
1450 //
1451 // * Request: 5 DML statements, all executed successfully.
1452 // * Response: 5 [ResultSet][google.spanner.v1.ResultSet] messages, with the
1453 // status `OK`.
1454 //
1455 // Example 2:
1456 //
1457 // * Request: 5 DML statements. The third statement has a syntax error.
1458 // * Response: 2 [ResultSet][google.spanner.v1.ResultSet] messages, and a syntax
1459 // error (`INVALID_ARGUMENT`)
1460 //
1461 // status. The number of [ResultSet][google.spanner.v1.ResultSet] messages
1462 // indicates that the third statement failed, and the fourth and fifth
1463 // statements were not executed.
1464 type ExecuteBatchDmlResponse struct {
1465 state protoimpl.MessageState
1466 sizeCache protoimpl.SizeCache
1467 unknownFields protoimpl.UnknownFields
1468
1469 // One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
1470 // request that ran successfully, in the same order as the statements in the
1471 // request. Each [ResultSet][google.spanner.v1.ResultSet] does not contain any
1472 // rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each
1473 // [ResultSet][google.spanner.v1.ResultSet] contain the number of rows
1474 // modified by the statement.
1475 //
1476 // Only the first [ResultSet][google.spanner.v1.ResultSet] in the response
1477 // contains valid [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
1478 ResultSets []*ResultSet `protobuf:"bytes,1,rep,name=result_sets,json=resultSets,proto3" json:"result_sets,omitempty"`
1479 // If all DML statements are executed successfully, the status is `OK`.
1480 // Otherwise, the error status of the first failed statement.
1481 Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
1482 // Optional. A precommit token is included if the read-write transaction
1483 // is on a multiplexed session. Pass the precommit token with the highest
1484 // sequence number from this transaction attempt should be passed to the
1485 // [Commit][google.spanner.v1.Spanner.Commit] request for this transaction.
1486 PrecommitToken *MultiplexedSessionPrecommitToken `protobuf:"bytes,3,opt,name=precommit_token,json=precommitToken,proto3" json:"precommit_token,omitempty"`
1487 }
1488
1489 func (x *ExecuteBatchDmlResponse) Reset() {
1490 *x = ExecuteBatchDmlResponse{}
1491 mi := &file_google_spanner_v1_spanner_proto_msgTypes[12]
1492 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1493 ms.StoreMessageInfo(mi)
1494 }
1495
1496 func (x *ExecuteBatchDmlResponse) String() string {
1497 return protoimpl.X.MessageStringOf(x)
1498 }
1499
1500 func (*ExecuteBatchDmlResponse) ProtoMessage() {}
1501
1502 func (x *ExecuteBatchDmlResponse) ProtoReflect() protoreflect.Message {
1503 mi := &file_google_spanner_v1_spanner_proto_msgTypes[12]
1504 if x != nil {
1505 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1506 if ms.LoadMessageInfo() == nil {
1507 ms.StoreMessageInfo(mi)
1508 }
1509 return ms
1510 }
1511 return mi.MessageOf(x)
1512 }
1513
1514 // Deprecated: Use ExecuteBatchDmlResponse.ProtoReflect.Descriptor instead.
1515 func (*ExecuteBatchDmlResponse) Descriptor() ([]byte, []int) {
1516 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{12}
1517 }
1518
1519 func (x *ExecuteBatchDmlResponse) GetResultSets() []*ResultSet {
1520 if x != nil {
1521 return x.ResultSets
1522 }
1523 return nil
1524 }
1525
1526 func (x *ExecuteBatchDmlResponse) GetStatus() *status.Status {
1527 if x != nil {
1528 return x.Status
1529 }
1530 return nil
1531 }
1532
1533 func (x *ExecuteBatchDmlResponse) GetPrecommitToken() *MultiplexedSessionPrecommitToken {
1534 if x != nil {
1535 return x.PrecommitToken
1536 }
1537 return nil
1538 }
1539
1540 // Options for a `PartitionQueryRequest` and `PartitionReadRequest`.
1541 type PartitionOptions struct {
1542 state protoimpl.MessageState
1543 sizeCache protoimpl.SizeCache
1544 unknownFields protoimpl.UnknownFields
1545
1546 // **Note:** This hint is currently ignored by `PartitionQuery` and
1547 // `PartitionRead` requests.
1548 //
1549 // The desired data size for each partition generated. The default for this
1550 // option is currently 1 GiB. This is only a hint. The actual size of each
1551 // partition can be smaller or larger than this size request.
1552 PartitionSizeBytes int64 `protobuf:"varint,1,opt,name=partition_size_bytes,json=partitionSizeBytes,proto3" json:"partition_size_bytes,omitempty"`
1553 // **Note:** This hint is currently ignored by `PartitionQuery` and
1554 // `PartitionRead` requests.
1555 //
1556 // The desired maximum number of partitions to return. For example, this
1557 // might be set to the number of workers available. The default for this
1558 // option is currently 10,000. The maximum value is currently 200,000. This
1559 // is only a hint. The actual number of partitions returned can be smaller or
1560 // larger than this maximum count request.
1561 MaxPartitions int64 `protobuf:"varint,2,opt,name=max_partitions,json=maxPartitions,proto3" json:"max_partitions,omitempty"`
1562 }
1563
1564 func (x *PartitionOptions) Reset() {
1565 *x = PartitionOptions{}
1566 mi := &file_google_spanner_v1_spanner_proto_msgTypes[13]
1567 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1568 ms.StoreMessageInfo(mi)
1569 }
1570
1571 func (x *PartitionOptions) String() string {
1572 return protoimpl.X.MessageStringOf(x)
1573 }
1574
1575 func (*PartitionOptions) ProtoMessage() {}
1576
1577 func (x *PartitionOptions) ProtoReflect() protoreflect.Message {
1578 mi := &file_google_spanner_v1_spanner_proto_msgTypes[13]
1579 if x != nil {
1580 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1581 if ms.LoadMessageInfo() == nil {
1582 ms.StoreMessageInfo(mi)
1583 }
1584 return ms
1585 }
1586 return mi.MessageOf(x)
1587 }
1588
1589 // Deprecated: Use PartitionOptions.ProtoReflect.Descriptor instead.
1590 func (*PartitionOptions) Descriptor() ([]byte, []int) {
1591 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{13}
1592 }
1593
1594 func (x *PartitionOptions) GetPartitionSizeBytes() int64 {
1595 if x != nil {
1596 return x.PartitionSizeBytes
1597 }
1598 return 0
1599 }
1600
1601 func (x *PartitionOptions) GetMaxPartitions() int64 {
1602 if x != nil {
1603 return x.MaxPartitions
1604 }
1605 return 0
1606 }
1607
1608 // The request for [PartitionQuery][google.spanner.v1.Spanner.PartitionQuery]
1609 type PartitionQueryRequest struct {
1610 state protoimpl.MessageState
1611 sizeCache protoimpl.SizeCache
1612 unknownFields protoimpl.UnknownFields
1613
1614 // Required. The session used to create the partitions.
1615 Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
1616 // Read-only snapshot transactions are supported, read and write and
1617 // single-use transactions are not.
1618 Transaction *TransactionSelector `protobuf:"bytes,2,opt,name=transaction,proto3" json:"transaction,omitempty"`
1619 // Required. The query request to generate partitions for. The request fails
1620 // if the query isn't root partitionable. For a query to be root
1621 // partitionable, it needs to satisfy a few conditions. For example, if the
1622 // query execution plan contains a distributed union operator, then it must be
1623 // the first operator in the plan. For more information about other
1624 // conditions, see [Read data in
1625 // parallel](https://cloud.google.com/spanner/docs/reads#read_data_in_parallel).
1626 //
1627 // The query request must not contain DML commands, such as `INSERT`,
1628 // `UPDATE`, or `DELETE`. Use
1629 // [`ExecuteStreamingSql`][google.spanner.v1.Spanner.ExecuteStreamingSql] with
1630 // a `PartitionedDml` transaction for large, partition-friendly DML
1631 // operations.
1632 Sql string `protobuf:"bytes,3,opt,name=sql,proto3" json:"sql,omitempty"`
1633 // Parameter names and values that bind to placeholders in the SQL string.
1634 //
1635 // A parameter placeholder consists of the `@` character followed by the
1636 // parameter name (for example, `@firstName`). Parameter names can contain
1637 // letters, numbers, and underscores.
1638 //
1639 // Parameters can appear anywhere that a literal value is expected. The same
1640 // parameter name can be used more than once, for example:
1641 //
1642 // `"WHERE id > @msg_id AND id < @msg_id + 100"`
1643 //
1644 // It's an error to execute a SQL statement with unbound parameters.
1645 Params *structpb.Struct `protobuf:"bytes,4,opt,name=params,proto3" json:"params,omitempty"`
1646 // It isn't always possible for Cloud Spanner to infer the right SQL type
1647 // from a JSON value. For example, values of type `BYTES` and values
1648 // of type `STRING` both appear in
1649 // [params][google.spanner.v1.PartitionQueryRequest.params] as JSON strings.
1650 //
1651 // In these cases, `param_types` can be used to specify the exact
1652 // SQL type for some or all of the SQL query parameters. See the
1653 // definition of [Type][google.spanner.v1.Type] for more information
1654 // about SQL types.
1655 ParamTypes map[string]*Type `protobuf:"bytes,5,rep,name=param_types,json=paramTypes,proto3" json:"param_types,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
1656 // Additional options that affect how many partitions are created.
1657 PartitionOptions *PartitionOptions `protobuf:"bytes,6,opt,name=partition_options,json=partitionOptions,proto3" json:"partition_options,omitempty"`
1658 }
1659
1660 func (x *PartitionQueryRequest) Reset() {
1661 *x = PartitionQueryRequest{}
1662 mi := &file_google_spanner_v1_spanner_proto_msgTypes[14]
1663 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1664 ms.StoreMessageInfo(mi)
1665 }
1666
1667 func (x *PartitionQueryRequest) String() string {
1668 return protoimpl.X.MessageStringOf(x)
1669 }
1670
1671 func (*PartitionQueryRequest) ProtoMessage() {}
1672
1673 func (x *PartitionQueryRequest) ProtoReflect() protoreflect.Message {
1674 mi := &file_google_spanner_v1_spanner_proto_msgTypes[14]
1675 if x != nil {
1676 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1677 if ms.LoadMessageInfo() == nil {
1678 ms.StoreMessageInfo(mi)
1679 }
1680 return ms
1681 }
1682 return mi.MessageOf(x)
1683 }
1684
1685 // Deprecated: Use PartitionQueryRequest.ProtoReflect.Descriptor instead.
1686 func (*PartitionQueryRequest) Descriptor() ([]byte, []int) {
1687 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{14}
1688 }
1689
1690 func (x *PartitionQueryRequest) GetSession() string {
1691 if x != nil {
1692 return x.Session
1693 }
1694 return ""
1695 }
1696
1697 func (x *PartitionQueryRequest) GetTransaction() *TransactionSelector {
1698 if x != nil {
1699 return x.Transaction
1700 }
1701 return nil
1702 }
1703
1704 func (x *PartitionQueryRequest) GetSql() string {
1705 if x != nil {
1706 return x.Sql
1707 }
1708 return ""
1709 }
1710
1711 func (x *PartitionQueryRequest) GetParams() *structpb.Struct {
1712 if x != nil {
1713 return x.Params
1714 }
1715 return nil
1716 }
1717
1718 func (x *PartitionQueryRequest) GetParamTypes() map[string]*Type {
1719 if x != nil {
1720 return x.ParamTypes
1721 }
1722 return nil
1723 }
1724
1725 func (x *PartitionQueryRequest) GetPartitionOptions() *PartitionOptions {
1726 if x != nil {
1727 return x.PartitionOptions
1728 }
1729 return nil
1730 }
1731
1732 // The request for [PartitionRead][google.spanner.v1.Spanner.PartitionRead]
1733 type PartitionReadRequest struct {
1734 state protoimpl.MessageState
1735 sizeCache protoimpl.SizeCache
1736 unknownFields protoimpl.UnknownFields
1737
1738 // Required. The session used to create the partitions.
1739 Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
1740 // Read only snapshot transactions are supported, read/write and single use
1741 // transactions are not.
1742 Transaction *TransactionSelector `protobuf:"bytes,2,opt,name=transaction,proto3" json:"transaction,omitempty"`
1743 // Required. The name of the table in the database to be read.
1744 Table string `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"`
1745 // If non-empty, the name of an index on
1746 // [table][google.spanner.v1.PartitionReadRequest.table]. This index is used
1747 // instead of the table primary key when interpreting
1748 // [key_set][google.spanner.v1.PartitionReadRequest.key_set] and sorting
1749 // result rows. See [key_set][google.spanner.v1.PartitionReadRequest.key_set]
1750 // for further information.
1751 Index string `protobuf:"bytes,4,opt,name=index,proto3" json:"index,omitempty"`
1752 // The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be
1753 // returned for each row matching this request.
1754 Columns []string `protobuf:"bytes,5,rep,name=columns,proto3" json:"columns,omitempty"`
1755 // Required. `key_set` identifies the rows to be yielded. `key_set` names the
1756 // primary keys of the rows in
1757 // [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless
1758 // [index][google.spanner.v1.PartitionReadRequest.index] is present. If
1759 // [index][google.spanner.v1.PartitionReadRequest.index] is present, then
1760 // [key_set][google.spanner.v1.PartitionReadRequest.key_set] instead names
1761 // index keys in [index][google.spanner.v1.PartitionReadRequest.index].
1762 //
1763 // It isn't an error for the `key_set` to name rows that don't
1764 // exist in the database. Read yields nothing for nonexistent rows.
1765 KeySet *KeySet `protobuf:"bytes,6,opt,name=key_set,json=keySet,proto3" json:"key_set,omitempty"`
1766 // Additional options that affect how many partitions are created.
1767 PartitionOptions *PartitionOptions `protobuf:"bytes,9,opt,name=partition_options,json=partitionOptions,proto3" json:"partition_options,omitempty"`
1768 }
1769
1770 func (x *PartitionReadRequest) Reset() {
1771 *x = PartitionReadRequest{}
1772 mi := &file_google_spanner_v1_spanner_proto_msgTypes[15]
1773 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1774 ms.StoreMessageInfo(mi)
1775 }
1776
1777 func (x *PartitionReadRequest) String() string {
1778 return protoimpl.X.MessageStringOf(x)
1779 }
1780
1781 func (*PartitionReadRequest) ProtoMessage() {}
1782
1783 func (x *PartitionReadRequest) ProtoReflect() protoreflect.Message {
1784 mi := &file_google_spanner_v1_spanner_proto_msgTypes[15]
1785 if x != nil {
1786 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1787 if ms.LoadMessageInfo() == nil {
1788 ms.StoreMessageInfo(mi)
1789 }
1790 return ms
1791 }
1792 return mi.MessageOf(x)
1793 }
1794
1795 // Deprecated: Use PartitionReadRequest.ProtoReflect.Descriptor instead.
1796 func (*PartitionReadRequest) Descriptor() ([]byte, []int) {
1797 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{15}
1798 }
1799
1800 func (x *PartitionReadRequest) GetSession() string {
1801 if x != nil {
1802 return x.Session
1803 }
1804 return ""
1805 }
1806
1807 func (x *PartitionReadRequest) GetTransaction() *TransactionSelector {
1808 if x != nil {
1809 return x.Transaction
1810 }
1811 return nil
1812 }
1813
1814 func (x *PartitionReadRequest) GetTable() string {
1815 if x != nil {
1816 return x.Table
1817 }
1818 return ""
1819 }
1820
1821 func (x *PartitionReadRequest) GetIndex() string {
1822 if x != nil {
1823 return x.Index
1824 }
1825 return ""
1826 }
1827
1828 func (x *PartitionReadRequest) GetColumns() []string {
1829 if x != nil {
1830 return x.Columns
1831 }
1832 return nil
1833 }
1834
1835 func (x *PartitionReadRequest) GetKeySet() *KeySet {
1836 if x != nil {
1837 return x.KeySet
1838 }
1839 return nil
1840 }
1841
1842 func (x *PartitionReadRequest) GetPartitionOptions() *PartitionOptions {
1843 if x != nil {
1844 return x.PartitionOptions
1845 }
1846 return nil
1847 }
1848
1849 // Information returned for each partition returned in a
1850 // PartitionResponse.
1851 type Partition struct {
1852 state protoimpl.MessageState
1853 sizeCache protoimpl.SizeCache
1854 unknownFields protoimpl.UnknownFields
1855
1856 // This token can be passed to `Read`, `StreamingRead`, `ExecuteSql`, or
1857 // `ExecuteStreamingSql` requests to restrict the results to those identified
1858 // by this partition token.
1859 PartitionToken []byte `protobuf:"bytes,1,opt,name=partition_token,json=partitionToken,proto3" json:"partition_token,omitempty"`
1860 }
1861
1862 func (x *Partition) Reset() {
1863 *x = Partition{}
1864 mi := &file_google_spanner_v1_spanner_proto_msgTypes[16]
1865 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1866 ms.StoreMessageInfo(mi)
1867 }
1868
1869 func (x *Partition) String() string {
1870 return protoimpl.X.MessageStringOf(x)
1871 }
1872
1873 func (*Partition) ProtoMessage() {}
1874
1875 func (x *Partition) ProtoReflect() protoreflect.Message {
1876 mi := &file_google_spanner_v1_spanner_proto_msgTypes[16]
1877 if x != nil {
1878 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1879 if ms.LoadMessageInfo() == nil {
1880 ms.StoreMessageInfo(mi)
1881 }
1882 return ms
1883 }
1884 return mi.MessageOf(x)
1885 }
1886
1887 // Deprecated: Use Partition.ProtoReflect.Descriptor instead.
1888 func (*Partition) Descriptor() ([]byte, []int) {
1889 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{16}
1890 }
1891
1892 func (x *Partition) GetPartitionToken() []byte {
1893 if x != nil {
1894 return x.PartitionToken
1895 }
1896 return nil
1897 }
1898
1899 // The response for [PartitionQuery][google.spanner.v1.Spanner.PartitionQuery]
1900 // or [PartitionRead][google.spanner.v1.Spanner.PartitionRead]
1901 type PartitionResponse struct {
1902 state protoimpl.MessageState
1903 sizeCache protoimpl.SizeCache
1904 unknownFields protoimpl.UnknownFields
1905
1906 // Partitions created by this request.
1907 Partitions []*Partition `protobuf:"bytes,1,rep,name=partitions,proto3" json:"partitions,omitempty"`
1908 // Transaction created by this request.
1909 Transaction *Transaction `protobuf:"bytes,2,opt,name=transaction,proto3" json:"transaction,omitempty"`
1910 }
1911
1912 func (x *PartitionResponse) Reset() {
1913 *x = PartitionResponse{}
1914 mi := &file_google_spanner_v1_spanner_proto_msgTypes[17]
1915 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1916 ms.StoreMessageInfo(mi)
1917 }
1918
1919 func (x *PartitionResponse) String() string {
1920 return protoimpl.X.MessageStringOf(x)
1921 }
1922
1923 func (*PartitionResponse) ProtoMessage() {}
1924
1925 func (x *PartitionResponse) ProtoReflect() protoreflect.Message {
1926 mi := &file_google_spanner_v1_spanner_proto_msgTypes[17]
1927 if x != nil {
1928 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1929 if ms.LoadMessageInfo() == nil {
1930 ms.StoreMessageInfo(mi)
1931 }
1932 return ms
1933 }
1934 return mi.MessageOf(x)
1935 }
1936
1937 // Deprecated: Use PartitionResponse.ProtoReflect.Descriptor instead.
1938 func (*PartitionResponse) Descriptor() ([]byte, []int) {
1939 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{17}
1940 }
1941
1942 func (x *PartitionResponse) GetPartitions() []*Partition {
1943 if x != nil {
1944 return x.Partitions
1945 }
1946 return nil
1947 }
1948
1949 func (x *PartitionResponse) GetTransaction() *Transaction {
1950 if x != nil {
1951 return x.Transaction
1952 }
1953 return nil
1954 }
1955
1956 // The request for [Read][google.spanner.v1.Spanner.Read] and
1957 // [StreamingRead][google.spanner.v1.Spanner.StreamingRead].
1958 type ReadRequest struct {
1959 state protoimpl.MessageState
1960 sizeCache protoimpl.SizeCache
1961 unknownFields protoimpl.UnknownFields
1962
1963 // Required. The session in which the read should be performed.
1964 Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
1965 // The transaction to use. If none is provided, the default is a
1966 // temporary read-only transaction with strong concurrency.
1967 Transaction *TransactionSelector `protobuf:"bytes,2,opt,name=transaction,proto3" json:"transaction,omitempty"`
1968 // Required. The name of the table in the database to be read.
1969 Table string `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"`
1970 // If non-empty, the name of an index on
1971 // [table][google.spanner.v1.ReadRequest.table]. This index is used instead of
1972 // the table primary key when interpreting
1973 // [key_set][google.spanner.v1.ReadRequest.key_set] and sorting result rows.
1974 // See [key_set][google.spanner.v1.ReadRequest.key_set] for further
1975 // information.
1976 Index string `protobuf:"bytes,4,opt,name=index,proto3" json:"index,omitempty"`
1977 // Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be
1978 // returned for each row matching this request.
1979 Columns []string `protobuf:"bytes,5,rep,name=columns,proto3" json:"columns,omitempty"`
1980 // Required. `key_set` identifies the rows to be yielded. `key_set` names the
1981 // primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to
1982 // be yielded, unless [index][google.spanner.v1.ReadRequest.index] is present.
1983 // If [index][google.spanner.v1.ReadRequest.index] is present, then
1984 // [key_set][google.spanner.v1.ReadRequest.key_set] instead names index keys
1985 // in [index][google.spanner.v1.ReadRequest.index].
1986 //
1987 // If the [partition_token][google.spanner.v1.ReadRequest.partition_token]
1988 // field is empty, rows are yielded in table primary key order (if
1989 // [index][google.spanner.v1.ReadRequest.index] is empty) or index key order
1990 // (if [index][google.spanner.v1.ReadRequest.index] is non-empty). If the
1991 // [partition_token][google.spanner.v1.ReadRequest.partition_token] field
1992 // isn't empty, rows are yielded in an unspecified order.
1993 //
1994 // It isn't an error for the `key_set` to name rows that don't
1995 // exist in the database. Read yields nothing for nonexistent rows.
1996 KeySet *KeySet `protobuf:"bytes,6,opt,name=key_set,json=keySet,proto3" json:"key_set,omitempty"`
1997 // If greater than zero, only the first `limit` rows are yielded. If `limit`
1998 // is zero, the default is no limit. A limit can't be specified if
1999 // `partition_token` is set.
2000 Limit int64 `protobuf:"varint,8,opt,name=limit,proto3" json:"limit,omitempty"`
2001 // If this request is resuming a previously interrupted read,
2002 // `resume_token` should be copied from the last
2003 // [PartialResultSet][google.spanner.v1.PartialResultSet] yielded before the
2004 // interruption. Doing this enables the new read to resume where the last read
2005 // left off. The rest of the request parameters must exactly match the request
2006 // that yielded this token.
2007 ResumeToken []byte `protobuf:"bytes,9,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty"`
2008 // If present, results are restricted to the specified partition
2009 // previously created using `PartitionRead`. There must be an exact
2010 // match for the values of fields common to this message and the
2011 // PartitionReadRequest message used to create this partition_token.
2012 PartitionToken []byte `protobuf:"bytes,10,opt,name=partition_token,json=partitionToken,proto3" json:"partition_token,omitempty"`
2013 // Common options for this request.
2014 RequestOptions *RequestOptions `protobuf:"bytes,11,opt,name=request_options,json=requestOptions,proto3" json:"request_options,omitempty"`
2015 // Directed read options for this request.
2016 DirectedReadOptions *DirectedReadOptions `protobuf:"bytes,14,opt,name=directed_read_options,json=directedReadOptions,proto3" json:"directed_read_options,omitempty"`
2017 // If this is for a partitioned read and this field is set to `true`, the
2018 // request is executed with Spanner Data Boost independent compute resources.
2019 //
2020 // If the field is set to `true` but the request doesn't set
2021 // `partition_token`, the API returns an `INVALID_ARGUMENT` error.
2022 DataBoostEnabled bool `protobuf:"varint,15,opt,name=data_boost_enabled,json=dataBoostEnabled,proto3" json:"data_boost_enabled,omitempty"`
2023 // Optional. Order for the returned rows.
2024 //
2025 // By default, Spanner returns result rows in primary key order except for
2026 // PartitionRead requests. For applications that don't require rows to be
2027 // returned in primary key (`ORDER_BY_PRIMARY_KEY`) order, setting
2028 // `ORDER_BY_NO_ORDER` option allows Spanner to optimize row retrieval,
2029 // resulting in lower latencies in certain cases (for example, bulk point
2030 // lookups).
2031 OrderBy ReadRequest_OrderBy `protobuf:"varint,16,opt,name=order_by,json=orderBy,proto3,enum=google.spanner.v1.ReadRequest_OrderBy" json:"order_by,omitempty"`
2032 // Optional. Lock Hint for the request, it can only be used with read-write
2033 // transactions.
2034 LockHint ReadRequest_LockHint `protobuf:"varint,17,opt,name=lock_hint,json=lockHint,proto3,enum=google.spanner.v1.ReadRequest_LockHint" json:"lock_hint,omitempty"`
2035 }
2036
2037 func (x *ReadRequest) Reset() {
2038 *x = ReadRequest{}
2039 mi := &file_google_spanner_v1_spanner_proto_msgTypes[18]
2040 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2041 ms.StoreMessageInfo(mi)
2042 }
2043
2044 func (x *ReadRequest) String() string {
2045 return protoimpl.X.MessageStringOf(x)
2046 }
2047
2048 func (*ReadRequest) ProtoMessage() {}
2049
2050 func (x *ReadRequest) ProtoReflect() protoreflect.Message {
2051 mi := &file_google_spanner_v1_spanner_proto_msgTypes[18]
2052 if x != nil {
2053 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2054 if ms.LoadMessageInfo() == nil {
2055 ms.StoreMessageInfo(mi)
2056 }
2057 return ms
2058 }
2059 return mi.MessageOf(x)
2060 }
2061
2062 // Deprecated: Use ReadRequest.ProtoReflect.Descriptor instead.
2063 func (*ReadRequest) Descriptor() ([]byte, []int) {
2064 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{18}
2065 }
2066
2067 func (x *ReadRequest) GetSession() string {
2068 if x != nil {
2069 return x.Session
2070 }
2071 return ""
2072 }
2073
2074 func (x *ReadRequest) GetTransaction() *TransactionSelector {
2075 if x != nil {
2076 return x.Transaction
2077 }
2078 return nil
2079 }
2080
2081 func (x *ReadRequest) GetTable() string {
2082 if x != nil {
2083 return x.Table
2084 }
2085 return ""
2086 }
2087
2088 func (x *ReadRequest) GetIndex() string {
2089 if x != nil {
2090 return x.Index
2091 }
2092 return ""
2093 }
2094
2095 func (x *ReadRequest) GetColumns() []string {
2096 if x != nil {
2097 return x.Columns
2098 }
2099 return nil
2100 }
2101
2102 func (x *ReadRequest) GetKeySet() *KeySet {
2103 if x != nil {
2104 return x.KeySet
2105 }
2106 return nil
2107 }
2108
2109 func (x *ReadRequest) GetLimit() int64 {
2110 if x != nil {
2111 return x.Limit
2112 }
2113 return 0
2114 }
2115
2116 func (x *ReadRequest) GetResumeToken() []byte {
2117 if x != nil {
2118 return x.ResumeToken
2119 }
2120 return nil
2121 }
2122
2123 func (x *ReadRequest) GetPartitionToken() []byte {
2124 if x != nil {
2125 return x.PartitionToken
2126 }
2127 return nil
2128 }
2129
2130 func (x *ReadRequest) GetRequestOptions() *RequestOptions {
2131 if x != nil {
2132 return x.RequestOptions
2133 }
2134 return nil
2135 }
2136
2137 func (x *ReadRequest) GetDirectedReadOptions() *DirectedReadOptions {
2138 if x != nil {
2139 return x.DirectedReadOptions
2140 }
2141 return nil
2142 }
2143
2144 func (x *ReadRequest) GetDataBoostEnabled() bool {
2145 if x != nil {
2146 return x.DataBoostEnabled
2147 }
2148 return false
2149 }
2150
2151 func (x *ReadRequest) GetOrderBy() ReadRequest_OrderBy {
2152 if x != nil {
2153 return x.OrderBy
2154 }
2155 return ReadRequest_ORDER_BY_UNSPECIFIED
2156 }
2157
2158 func (x *ReadRequest) GetLockHint() ReadRequest_LockHint {
2159 if x != nil {
2160 return x.LockHint
2161 }
2162 return ReadRequest_LOCK_HINT_UNSPECIFIED
2163 }
2164
2165 // The request for
2166 // [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction].
2167 type BeginTransactionRequest struct {
2168 state protoimpl.MessageState
2169 sizeCache protoimpl.SizeCache
2170 unknownFields protoimpl.UnknownFields
2171
2172 // Required. The session in which the transaction runs.
2173 Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
2174 // Required. Options for the new transaction.
2175 Options *TransactionOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
2176 // Common options for this request.
2177 // Priority is ignored for this request. Setting the priority in this
2178 // `request_options` struct doesn't do anything. To set the priority for a
2179 // transaction, set it on the reads and writes that are part of this
2180 // transaction instead.
2181 RequestOptions *RequestOptions `protobuf:"bytes,3,opt,name=request_options,json=requestOptions,proto3" json:"request_options,omitempty"`
2182 // Optional. Required for read-write transactions on a multiplexed session
2183 // that commit mutations but don't perform any reads or queries. You must
2184 // randomly select one of the mutations from the mutation set and send it as a
2185 // part of this request.
2186 MutationKey *Mutation `protobuf:"bytes,4,opt,name=mutation_key,json=mutationKey,proto3" json:"mutation_key,omitempty"`
2187 }
2188
2189 func (x *BeginTransactionRequest) Reset() {
2190 *x = BeginTransactionRequest{}
2191 mi := &file_google_spanner_v1_spanner_proto_msgTypes[19]
2192 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2193 ms.StoreMessageInfo(mi)
2194 }
2195
2196 func (x *BeginTransactionRequest) String() string {
2197 return protoimpl.X.MessageStringOf(x)
2198 }
2199
2200 func (*BeginTransactionRequest) ProtoMessage() {}
2201
2202 func (x *BeginTransactionRequest) ProtoReflect() protoreflect.Message {
2203 mi := &file_google_spanner_v1_spanner_proto_msgTypes[19]
2204 if x != nil {
2205 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2206 if ms.LoadMessageInfo() == nil {
2207 ms.StoreMessageInfo(mi)
2208 }
2209 return ms
2210 }
2211 return mi.MessageOf(x)
2212 }
2213
2214 // Deprecated: Use BeginTransactionRequest.ProtoReflect.Descriptor instead.
2215 func (*BeginTransactionRequest) Descriptor() ([]byte, []int) {
2216 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{19}
2217 }
2218
2219 func (x *BeginTransactionRequest) GetSession() string {
2220 if x != nil {
2221 return x.Session
2222 }
2223 return ""
2224 }
2225
2226 func (x *BeginTransactionRequest) GetOptions() *TransactionOptions {
2227 if x != nil {
2228 return x.Options
2229 }
2230 return nil
2231 }
2232
2233 func (x *BeginTransactionRequest) GetRequestOptions() *RequestOptions {
2234 if x != nil {
2235 return x.RequestOptions
2236 }
2237 return nil
2238 }
2239
2240 func (x *BeginTransactionRequest) GetMutationKey() *Mutation {
2241 if x != nil {
2242 return x.MutationKey
2243 }
2244 return nil
2245 }
2246
2247 // The request for [Commit][google.spanner.v1.Spanner.Commit].
2248 type CommitRequest struct {
2249 state protoimpl.MessageState
2250 sizeCache protoimpl.SizeCache
2251 unknownFields protoimpl.UnknownFields
2252
2253 // Required. The session in which the transaction to be committed is running.
2254 Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
2255 // Required. The transaction in which to commit.
2256 //
2257 // Types that are assignable to Transaction:
2258 //
2259 // *CommitRequest_TransactionId
2260 // *CommitRequest_SingleUseTransaction
2261 Transaction isCommitRequest_Transaction `protobuf_oneof:"transaction"`
2262 // The mutations to be executed when this transaction commits. All
2263 // mutations are applied atomically, in the order they appear in
2264 // this list.
2265 Mutations []*Mutation `protobuf:"bytes,4,rep,name=mutations,proto3" json:"mutations,omitempty"`
2266 // If `true`, then statistics related to the transaction is included in
2267 // the [CommitResponse][google.spanner.v1.CommitResponse.commit_stats].
2268 // Default value is `false`.
2269 ReturnCommitStats bool `protobuf:"varint,5,opt,name=return_commit_stats,json=returnCommitStats,proto3" json:"return_commit_stats,omitempty"`
2270 // Optional. The amount of latency this request is configured to incur in
2271 // order to improve throughput. If this field isn't set, Spanner assumes
2272 // requests are relatively latency sensitive and automatically determines an
2273 // appropriate delay time. You can specify a commit delay value between 0 and
2274 // 500 ms.
2275 MaxCommitDelay *durationpb.Duration `protobuf:"bytes,8,opt,name=max_commit_delay,json=maxCommitDelay,proto3" json:"max_commit_delay,omitempty"`
2276 // Common options for this request.
2277 RequestOptions *RequestOptions `protobuf:"bytes,6,opt,name=request_options,json=requestOptions,proto3" json:"request_options,omitempty"`
2278 // Optional. If the read-write transaction was executed on a multiplexed
2279 // session, then you must include the precommit token with the highest
2280 // sequence number received in this transaction attempt. Failing to do so
2281 // results in a `FailedPrecondition` error.
2282 PrecommitToken *MultiplexedSessionPrecommitToken `protobuf:"bytes,9,opt,name=precommit_token,json=precommitToken,proto3" json:"precommit_token,omitempty"`
2283 }
2284
2285 func (x *CommitRequest) Reset() {
2286 *x = CommitRequest{}
2287 mi := &file_google_spanner_v1_spanner_proto_msgTypes[20]
2288 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2289 ms.StoreMessageInfo(mi)
2290 }
2291
2292 func (x *CommitRequest) String() string {
2293 return protoimpl.X.MessageStringOf(x)
2294 }
2295
2296 func (*CommitRequest) ProtoMessage() {}
2297
2298 func (x *CommitRequest) ProtoReflect() protoreflect.Message {
2299 mi := &file_google_spanner_v1_spanner_proto_msgTypes[20]
2300 if x != nil {
2301 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2302 if ms.LoadMessageInfo() == nil {
2303 ms.StoreMessageInfo(mi)
2304 }
2305 return ms
2306 }
2307 return mi.MessageOf(x)
2308 }
2309
2310 // Deprecated: Use CommitRequest.ProtoReflect.Descriptor instead.
2311 func (*CommitRequest) Descriptor() ([]byte, []int) {
2312 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{20}
2313 }
2314
2315 func (x *CommitRequest) GetSession() string {
2316 if x != nil {
2317 return x.Session
2318 }
2319 return ""
2320 }
2321
2322 func (m *CommitRequest) GetTransaction() isCommitRequest_Transaction {
2323 if m != nil {
2324 return m.Transaction
2325 }
2326 return nil
2327 }
2328
2329 func (x *CommitRequest) GetTransactionId() []byte {
2330 if x, ok := x.GetTransaction().(*CommitRequest_TransactionId); ok {
2331 return x.TransactionId
2332 }
2333 return nil
2334 }
2335
2336 func (x *CommitRequest) GetSingleUseTransaction() *TransactionOptions {
2337 if x, ok := x.GetTransaction().(*CommitRequest_SingleUseTransaction); ok {
2338 return x.SingleUseTransaction
2339 }
2340 return nil
2341 }
2342
2343 func (x *CommitRequest) GetMutations() []*Mutation {
2344 if x != nil {
2345 return x.Mutations
2346 }
2347 return nil
2348 }
2349
2350 func (x *CommitRequest) GetReturnCommitStats() bool {
2351 if x != nil {
2352 return x.ReturnCommitStats
2353 }
2354 return false
2355 }
2356
2357 func (x *CommitRequest) GetMaxCommitDelay() *durationpb.Duration {
2358 if x != nil {
2359 return x.MaxCommitDelay
2360 }
2361 return nil
2362 }
2363
2364 func (x *CommitRequest) GetRequestOptions() *RequestOptions {
2365 if x != nil {
2366 return x.RequestOptions
2367 }
2368 return nil
2369 }
2370
2371 func (x *CommitRequest) GetPrecommitToken() *MultiplexedSessionPrecommitToken {
2372 if x != nil {
2373 return x.PrecommitToken
2374 }
2375 return nil
2376 }
2377
2378 type isCommitRequest_Transaction interface {
2379 isCommitRequest_Transaction()
2380 }
2381
2382 type CommitRequest_TransactionId struct {
2383 // Commit a previously-started transaction.
2384 TransactionId []byte `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId,proto3,oneof"`
2385 }
2386
2387 type CommitRequest_SingleUseTransaction struct {
2388 // Execute mutations in a temporary transaction. Note that unlike
2389 // commit of a previously-started transaction, commit with a
2390 // temporary transaction is non-idempotent. That is, if the
2391 // `CommitRequest` is sent to Cloud Spanner more than once (for
2392 // instance, due to retries in the application, or in the
2393 // transport library), it's possible that the mutations are
2394 // executed more than once. If this is undesirable, use
2395 // [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction] and
2396 // [Commit][google.spanner.v1.Spanner.Commit] instead.
2397 SingleUseTransaction *TransactionOptions `protobuf:"bytes,3,opt,name=single_use_transaction,json=singleUseTransaction,proto3,oneof"`
2398 }
2399
2400 func (*CommitRequest_TransactionId) isCommitRequest_Transaction() {}
2401
2402 func (*CommitRequest_SingleUseTransaction) isCommitRequest_Transaction() {}
2403
2404 // The request for [Rollback][google.spanner.v1.Spanner.Rollback].
2405 type RollbackRequest struct {
2406 state protoimpl.MessageState
2407 sizeCache protoimpl.SizeCache
2408 unknownFields protoimpl.UnknownFields
2409
2410 // Required. The session in which the transaction to roll back is running.
2411 Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
2412 // Required. The transaction to roll back.
2413 TransactionId []byte `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
2414 }
2415
2416 func (x *RollbackRequest) Reset() {
2417 *x = RollbackRequest{}
2418 mi := &file_google_spanner_v1_spanner_proto_msgTypes[21]
2419 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2420 ms.StoreMessageInfo(mi)
2421 }
2422
2423 func (x *RollbackRequest) String() string {
2424 return protoimpl.X.MessageStringOf(x)
2425 }
2426
2427 func (*RollbackRequest) ProtoMessage() {}
2428
2429 func (x *RollbackRequest) ProtoReflect() protoreflect.Message {
2430 mi := &file_google_spanner_v1_spanner_proto_msgTypes[21]
2431 if x != nil {
2432 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2433 if ms.LoadMessageInfo() == nil {
2434 ms.StoreMessageInfo(mi)
2435 }
2436 return ms
2437 }
2438 return mi.MessageOf(x)
2439 }
2440
2441 // Deprecated: Use RollbackRequest.ProtoReflect.Descriptor instead.
2442 func (*RollbackRequest) Descriptor() ([]byte, []int) {
2443 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{21}
2444 }
2445
2446 func (x *RollbackRequest) GetSession() string {
2447 if x != nil {
2448 return x.Session
2449 }
2450 return ""
2451 }
2452
2453 func (x *RollbackRequest) GetTransactionId() []byte {
2454 if x != nil {
2455 return x.TransactionId
2456 }
2457 return nil
2458 }
2459
2460 // The request for [BatchWrite][google.spanner.v1.Spanner.BatchWrite].
2461 type BatchWriteRequest struct {
2462 state protoimpl.MessageState
2463 sizeCache protoimpl.SizeCache
2464 unknownFields protoimpl.UnknownFields
2465
2466 // Required. The session in which the batch request is to be run.
2467 Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
2468 // Common options for this request.
2469 RequestOptions *RequestOptions `protobuf:"bytes,3,opt,name=request_options,json=requestOptions,proto3" json:"request_options,omitempty"`
2470 // Required. The groups of mutations to be applied.
2471 MutationGroups []*BatchWriteRequest_MutationGroup `protobuf:"bytes,4,rep,name=mutation_groups,json=mutationGroups,proto3" json:"mutation_groups,omitempty"`
2472 // Optional. If you don't set the `exclude_txn_from_change_streams` option or
2473 // if it's set to `false`, then any change streams monitoring columns modified
2474 // by transactions will capture the updates made within that transaction.
2475 ExcludeTxnFromChangeStreams bool `protobuf:"varint,5,opt,name=exclude_txn_from_change_streams,json=excludeTxnFromChangeStreams,proto3" json:"exclude_txn_from_change_streams,omitempty"`
2476 }
2477
2478 func (x *BatchWriteRequest) Reset() {
2479 *x = BatchWriteRequest{}
2480 mi := &file_google_spanner_v1_spanner_proto_msgTypes[22]
2481 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2482 ms.StoreMessageInfo(mi)
2483 }
2484
2485 func (x *BatchWriteRequest) String() string {
2486 return protoimpl.X.MessageStringOf(x)
2487 }
2488
2489 func (*BatchWriteRequest) ProtoMessage() {}
2490
2491 func (x *BatchWriteRequest) ProtoReflect() protoreflect.Message {
2492 mi := &file_google_spanner_v1_spanner_proto_msgTypes[22]
2493 if x != nil {
2494 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2495 if ms.LoadMessageInfo() == nil {
2496 ms.StoreMessageInfo(mi)
2497 }
2498 return ms
2499 }
2500 return mi.MessageOf(x)
2501 }
2502
2503 // Deprecated: Use BatchWriteRequest.ProtoReflect.Descriptor instead.
2504 func (*BatchWriteRequest) Descriptor() ([]byte, []int) {
2505 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{22}
2506 }
2507
2508 func (x *BatchWriteRequest) GetSession() string {
2509 if x != nil {
2510 return x.Session
2511 }
2512 return ""
2513 }
2514
2515 func (x *BatchWriteRequest) GetRequestOptions() *RequestOptions {
2516 if x != nil {
2517 return x.RequestOptions
2518 }
2519 return nil
2520 }
2521
2522 func (x *BatchWriteRequest) GetMutationGroups() []*BatchWriteRequest_MutationGroup {
2523 if x != nil {
2524 return x.MutationGroups
2525 }
2526 return nil
2527 }
2528
2529 func (x *BatchWriteRequest) GetExcludeTxnFromChangeStreams() bool {
2530 if x != nil {
2531 return x.ExcludeTxnFromChangeStreams
2532 }
2533 return false
2534 }
2535
2536 // The result of applying a batch of mutations.
2537 type BatchWriteResponse struct {
2538 state protoimpl.MessageState
2539 sizeCache protoimpl.SizeCache
2540 unknownFields protoimpl.UnknownFields
2541
2542 // The mutation groups applied in this batch. The values index into the
2543 // `mutation_groups` field in the corresponding `BatchWriteRequest`.
2544 Indexes []int32 `protobuf:"varint,1,rep,packed,name=indexes,proto3" json:"indexes,omitempty"`
2545 // An `OK` status indicates success. Any other status indicates a failure.
2546 Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
2547 // The commit timestamp of the transaction that applied this batch.
2548 // Present if `status` is `OK`, absent otherwise.
2549 CommitTimestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=commit_timestamp,json=commitTimestamp,proto3" json:"commit_timestamp,omitempty"`
2550 }
2551
2552 func (x *BatchWriteResponse) Reset() {
2553 *x = BatchWriteResponse{}
2554 mi := &file_google_spanner_v1_spanner_proto_msgTypes[23]
2555 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2556 ms.StoreMessageInfo(mi)
2557 }
2558
2559 func (x *BatchWriteResponse) String() string {
2560 return protoimpl.X.MessageStringOf(x)
2561 }
2562
2563 func (*BatchWriteResponse) ProtoMessage() {}
2564
2565 func (x *BatchWriteResponse) ProtoReflect() protoreflect.Message {
2566 mi := &file_google_spanner_v1_spanner_proto_msgTypes[23]
2567 if x != nil {
2568 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2569 if ms.LoadMessageInfo() == nil {
2570 ms.StoreMessageInfo(mi)
2571 }
2572 return ms
2573 }
2574 return mi.MessageOf(x)
2575 }
2576
2577 // Deprecated: Use BatchWriteResponse.ProtoReflect.Descriptor instead.
2578 func (*BatchWriteResponse) Descriptor() ([]byte, []int) {
2579 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{23}
2580 }
2581
2582 func (x *BatchWriteResponse) GetIndexes() []int32 {
2583 if x != nil {
2584 return x.Indexes
2585 }
2586 return nil
2587 }
2588
2589 func (x *BatchWriteResponse) GetStatus() *status.Status {
2590 if x != nil {
2591 return x.Status
2592 }
2593 return nil
2594 }
2595
2596 func (x *BatchWriteResponse) GetCommitTimestamp() *timestamppb.Timestamp {
2597 if x != nil {
2598 return x.CommitTimestamp
2599 }
2600 return nil
2601 }
2602
2603 // The directed read replica selector.
2604 // Callers must provide one or more of the following fields for replica
2605 // selection:
2606 //
2607 // - `location` - The location must be one of the regions within the
2608 // multi-region configuration of your database.
2609 // - `type` - The type of the replica.
2610 //
2611 // Some examples of using replica_selectors are:
2612 //
2613 // - `location:us-east1` --> The "us-east1" replica(s) of any available type
2614 // is used to process the request.
2615 // - `type:READ_ONLY` --> The "READ_ONLY" type replica(s) in the nearest
2616 // available location are used to process the
2617 // request.
2618 // - `location:us-east1 type:READ_ONLY` --> The "READ_ONLY" type replica(s)
2619 // in location "us-east1" is used to process
2620 // the request.
2621 type DirectedReadOptions_ReplicaSelection struct {
2622 state protoimpl.MessageState
2623 sizeCache protoimpl.SizeCache
2624 unknownFields protoimpl.UnknownFields
2625
2626 // The location or region of the serving requests, for example, "us-east1".
2627 Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
2628 // The type of replica.
2629 Type DirectedReadOptions_ReplicaSelection_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.spanner.v1.DirectedReadOptions_ReplicaSelection_Type" json:"type,omitempty"`
2630 }
2631
2632 func (x *DirectedReadOptions_ReplicaSelection) Reset() {
2633 *x = DirectedReadOptions_ReplicaSelection{}
2634 mi := &file_google_spanner_v1_spanner_proto_msgTypes[25]
2635 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2636 ms.StoreMessageInfo(mi)
2637 }
2638
2639 func (x *DirectedReadOptions_ReplicaSelection) String() string {
2640 return protoimpl.X.MessageStringOf(x)
2641 }
2642
2643 func (*DirectedReadOptions_ReplicaSelection) ProtoMessage() {}
2644
2645 func (x *DirectedReadOptions_ReplicaSelection) ProtoReflect() protoreflect.Message {
2646 mi := &file_google_spanner_v1_spanner_proto_msgTypes[25]
2647 if x != nil {
2648 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2649 if ms.LoadMessageInfo() == nil {
2650 ms.StoreMessageInfo(mi)
2651 }
2652 return ms
2653 }
2654 return mi.MessageOf(x)
2655 }
2656
2657 // Deprecated: Use DirectedReadOptions_ReplicaSelection.ProtoReflect.Descriptor instead.
2658 func (*DirectedReadOptions_ReplicaSelection) Descriptor() ([]byte, []int) {
2659 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{9, 0}
2660 }
2661
2662 func (x *DirectedReadOptions_ReplicaSelection) GetLocation() string {
2663 if x != nil {
2664 return x.Location
2665 }
2666 return ""
2667 }
2668
2669 func (x *DirectedReadOptions_ReplicaSelection) GetType() DirectedReadOptions_ReplicaSelection_Type {
2670 if x != nil {
2671 return x.Type
2672 }
2673 return DirectedReadOptions_ReplicaSelection_TYPE_UNSPECIFIED
2674 }
2675
2676 // An `IncludeReplicas` contains a repeated set of `ReplicaSelection` which
2677 // indicates the order in which replicas should be considered.
2678 type DirectedReadOptions_IncludeReplicas struct {
2679 state protoimpl.MessageState
2680 sizeCache protoimpl.SizeCache
2681 unknownFields protoimpl.UnknownFields
2682
2683 // The directed read replica selector.
2684 ReplicaSelections []*DirectedReadOptions_ReplicaSelection `protobuf:"bytes,1,rep,name=replica_selections,json=replicaSelections,proto3" json:"replica_selections,omitempty"`
2685 // If `true`, Spanner doesn't route requests to a replica outside the
2686 // <`include_replicas` list when all of the specified replicas are
2687 // unavailable or unhealthy. Default value is `false`.
2688 AutoFailoverDisabled bool `protobuf:"varint,2,opt,name=auto_failover_disabled,json=autoFailoverDisabled,proto3" json:"auto_failover_disabled,omitempty"`
2689 }
2690
2691 func (x *DirectedReadOptions_IncludeReplicas) Reset() {
2692 *x = DirectedReadOptions_IncludeReplicas{}
2693 mi := &file_google_spanner_v1_spanner_proto_msgTypes[26]
2694 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2695 ms.StoreMessageInfo(mi)
2696 }
2697
2698 func (x *DirectedReadOptions_IncludeReplicas) String() string {
2699 return protoimpl.X.MessageStringOf(x)
2700 }
2701
2702 func (*DirectedReadOptions_IncludeReplicas) ProtoMessage() {}
2703
2704 func (x *DirectedReadOptions_IncludeReplicas) ProtoReflect() protoreflect.Message {
2705 mi := &file_google_spanner_v1_spanner_proto_msgTypes[26]
2706 if x != nil {
2707 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2708 if ms.LoadMessageInfo() == nil {
2709 ms.StoreMessageInfo(mi)
2710 }
2711 return ms
2712 }
2713 return mi.MessageOf(x)
2714 }
2715
2716 // Deprecated: Use DirectedReadOptions_IncludeReplicas.ProtoReflect.Descriptor instead.
2717 func (*DirectedReadOptions_IncludeReplicas) Descriptor() ([]byte, []int) {
2718 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{9, 1}
2719 }
2720
2721 func (x *DirectedReadOptions_IncludeReplicas) GetReplicaSelections() []*DirectedReadOptions_ReplicaSelection {
2722 if x != nil {
2723 return x.ReplicaSelections
2724 }
2725 return nil
2726 }
2727
2728 func (x *DirectedReadOptions_IncludeReplicas) GetAutoFailoverDisabled() bool {
2729 if x != nil {
2730 return x.AutoFailoverDisabled
2731 }
2732 return false
2733 }
2734
2735 // An ExcludeReplicas contains a repeated set of ReplicaSelection that should
2736 // be excluded from serving requests.
2737 type DirectedReadOptions_ExcludeReplicas struct {
2738 state protoimpl.MessageState
2739 sizeCache protoimpl.SizeCache
2740 unknownFields protoimpl.UnknownFields
2741
2742 // The directed read replica selector.
2743 ReplicaSelections []*DirectedReadOptions_ReplicaSelection `protobuf:"bytes,1,rep,name=replica_selections,json=replicaSelections,proto3" json:"replica_selections,omitempty"`
2744 }
2745
2746 func (x *DirectedReadOptions_ExcludeReplicas) Reset() {
2747 *x = DirectedReadOptions_ExcludeReplicas{}
2748 mi := &file_google_spanner_v1_spanner_proto_msgTypes[27]
2749 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2750 ms.StoreMessageInfo(mi)
2751 }
2752
2753 func (x *DirectedReadOptions_ExcludeReplicas) String() string {
2754 return protoimpl.X.MessageStringOf(x)
2755 }
2756
2757 func (*DirectedReadOptions_ExcludeReplicas) ProtoMessage() {}
2758
2759 func (x *DirectedReadOptions_ExcludeReplicas) ProtoReflect() protoreflect.Message {
2760 mi := &file_google_spanner_v1_spanner_proto_msgTypes[27]
2761 if x != nil {
2762 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2763 if ms.LoadMessageInfo() == nil {
2764 ms.StoreMessageInfo(mi)
2765 }
2766 return ms
2767 }
2768 return mi.MessageOf(x)
2769 }
2770
2771 // Deprecated: Use DirectedReadOptions_ExcludeReplicas.ProtoReflect.Descriptor instead.
2772 func (*DirectedReadOptions_ExcludeReplicas) Descriptor() ([]byte, []int) {
2773 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{9, 2}
2774 }
2775
2776 func (x *DirectedReadOptions_ExcludeReplicas) GetReplicaSelections() []*DirectedReadOptions_ReplicaSelection {
2777 if x != nil {
2778 return x.ReplicaSelections
2779 }
2780 return nil
2781 }
2782
2783 // Query optimizer configuration.
2784 type ExecuteSqlRequest_QueryOptions struct {
2785 state protoimpl.MessageState
2786 sizeCache protoimpl.SizeCache
2787 unknownFields protoimpl.UnknownFields
2788
2789 // An option to control the selection of optimizer version.
2790 //
2791 // This parameter allows individual queries to pick different query
2792 // optimizer versions.
2793 //
2794 // Specifying `latest` as a value instructs Cloud Spanner to use the
2795 // latest supported query optimizer version. If not specified, Cloud Spanner
2796 // uses the optimizer version set at the database level options. Any other
2797 // positive integer (from the list of supported optimizer versions)
2798 // overrides the default optimizer version for query execution.
2799 //
2800 // The list of supported optimizer versions can be queried from
2801 // `SPANNER_SYS.SUPPORTED_OPTIMIZER_VERSIONS`.
2802 //
2803 // Executing a SQL statement with an invalid optimizer version fails with
2804 // an `INVALID_ARGUMENT` error.
2805 //
2806 // See
2807 // https://cloud.google.com/spanner/docs/query-optimizer/manage-query-optimizer
2808 // for more information on managing the query optimizer.
2809 //
2810 // The `optimizer_version` statement hint has precedence over this setting.
2811 OptimizerVersion string `protobuf:"bytes,1,opt,name=optimizer_version,json=optimizerVersion,proto3" json:"optimizer_version,omitempty"`
2812 // An option to control the selection of optimizer statistics package.
2813 //
2814 // This parameter allows individual queries to use a different query
2815 // optimizer statistics package.
2816 //
2817 // Specifying `latest` as a value instructs Cloud Spanner to use the latest
2818 // generated statistics package. If not specified, Cloud Spanner uses
2819 // the statistics package set at the database level options, or the latest
2820 // package if the database option isn't set.
2821 //
2822 // The statistics package requested by the query has to be exempt from
2823 // garbage collection. This can be achieved with the following DDL
2824 // statement:
2825 //
2826 // ```sql
2827 // ALTER STATISTICS <package_name> SET OPTIONS (allow_gc=false)
2828 // ```
2829 //
2830 // The list of available statistics packages can be queried from
2831 // `INFORMATION_SCHEMA.SPANNER_STATISTICS`.
2832 //
2833 // Executing a SQL statement with an invalid optimizer statistics package
2834 // or with a statistics package that allows garbage collection fails with
2835 // an `INVALID_ARGUMENT` error.
2836 OptimizerStatisticsPackage string `protobuf:"bytes,2,opt,name=optimizer_statistics_package,json=optimizerStatisticsPackage,proto3" json:"optimizer_statistics_package,omitempty"`
2837 }
2838
2839 func (x *ExecuteSqlRequest_QueryOptions) Reset() {
2840 *x = ExecuteSqlRequest_QueryOptions{}
2841 mi := &file_google_spanner_v1_spanner_proto_msgTypes[28]
2842 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2843 ms.StoreMessageInfo(mi)
2844 }
2845
2846 func (x *ExecuteSqlRequest_QueryOptions) String() string {
2847 return protoimpl.X.MessageStringOf(x)
2848 }
2849
2850 func (*ExecuteSqlRequest_QueryOptions) ProtoMessage() {}
2851
2852 func (x *ExecuteSqlRequest_QueryOptions) ProtoReflect() protoreflect.Message {
2853 mi := &file_google_spanner_v1_spanner_proto_msgTypes[28]
2854 if x != nil {
2855 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2856 if ms.LoadMessageInfo() == nil {
2857 ms.StoreMessageInfo(mi)
2858 }
2859 return ms
2860 }
2861 return mi.MessageOf(x)
2862 }
2863
2864 // Deprecated: Use ExecuteSqlRequest_QueryOptions.ProtoReflect.Descriptor instead.
2865 func (*ExecuteSqlRequest_QueryOptions) Descriptor() ([]byte, []int) {
2866 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{10, 0}
2867 }
2868
2869 func (x *ExecuteSqlRequest_QueryOptions) GetOptimizerVersion() string {
2870 if x != nil {
2871 return x.OptimizerVersion
2872 }
2873 return ""
2874 }
2875
2876 func (x *ExecuteSqlRequest_QueryOptions) GetOptimizerStatisticsPackage() string {
2877 if x != nil {
2878 return x.OptimizerStatisticsPackage
2879 }
2880 return ""
2881 }
2882
2883 // A single DML statement.
2884 type ExecuteBatchDmlRequest_Statement struct {
2885 state protoimpl.MessageState
2886 sizeCache protoimpl.SizeCache
2887 unknownFields protoimpl.UnknownFields
2888
2889 // Required. The DML string.
2890 Sql string `protobuf:"bytes,1,opt,name=sql,proto3" json:"sql,omitempty"`
2891 // Parameter names and values that bind to placeholders in the DML string.
2892 //
2893 // A parameter placeholder consists of the `@` character followed by the
2894 // parameter name (for example, `@firstName`). Parameter names can contain
2895 // letters, numbers, and underscores.
2896 //
2897 // Parameters can appear anywhere that a literal value is expected. The
2898 // same parameter name can be used more than once, for example:
2899 //
2900 // `"WHERE id > @msg_id AND id < @msg_id + 100"`
2901 //
2902 // It's an error to execute a SQL statement with unbound parameters.
2903 Params *structpb.Struct `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
2904 // It isn't always possible for Cloud Spanner to infer the right SQL type
2905 // from a JSON value. For example, values of type `BYTES` and values
2906 // of type `STRING` both appear in
2907 // [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params] as
2908 // JSON strings.
2909 //
2910 // In these cases, `param_types` can be used to specify the exact
2911 // SQL type for some or all of the SQL statement parameters. See the
2912 // definition of [Type][google.spanner.v1.Type] for more information
2913 // about SQL types.
2914 ParamTypes map[string]*Type `protobuf:"bytes,3,rep,name=param_types,json=paramTypes,proto3" json:"param_types,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
2915 }
2916
2917 func (x *ExecuteBatchDmlRequest_Statement) Reset() {
2918 *x = ExecuteBatchDmlRequest_Statement{}
2919 mi := &file_google_spanner_v1_spanner_proto_msgTypes[30]
2920 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2921 ms.StoreMessageInfo(mi)
2922 }
2923
2924 func (x *ExecuteBatchDmlRequest_Statement) String() string {
2925 return protoimpl.X.MessageStringOf(x)
2926 }
2927
2928 func (*ExecuteBatchDmlRequest_Statement) ProtoMessage() {}
2929
2930 func (x *ExecuteBatchDmlRequest_Statement) ProtoReflect() protoreflect.Message {
2931 mi := &file_google_spanner_v1_spanner_proto_msgTypes[30]
2932 if x != nil {
2933 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2934 if ms.LoadMessageInfo() == nil {
2935 ms.StoreMessageInfo(mi)
2936 }
2937 return ms
2938 }
2939 return mi.MessageOf(x)
2940 }
2941
2942 // Deprecated: Use ExecuteBatchDmlRequest_Statement.ProtoReflect.Descriptor instead.
2943 func (*ExecuteBatchDmlRequest_Statement) Descriptor() ([]byte, []int) {
2944 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{11, 0}
2945 }
2946
2947 func (x *ExecuteBatchDmlRequest_Statement) GetSql() string {
2948 if x != nil {
2949 return x.Sql
2950 }
2951 return ""
2952 }
2953
2954 func (x *ExecuteBatchDmlRequest_Statement) GetParams() *structpb.Struct {
2955 if x != nil {
2956 return x.Params
2957 }
2958 return nil
2959 }
2960
2961 func (x *ExecuteBatchDmlRequest_Statement) GetParamTypes() map[string]*Type {
2962 if x != nil {
2963 return x.ParamTypes
2964 }
2965 return nil
2966 }
2967
2968 // A group of mutations to be committed together. Related mutations should be
2969 // placed in a group. For example, two mutations inserting rows with the same
2970 // primary key prefix in both parent and child tables are related.
2971 type BatchWriteRequest_MutationGroup struct {
2972 state protoimpl.MessageState
2973 sizeCache protoimpl.SizeCache
2974 unknownFields protoimpl.UnknownFields
2975
2976 // Required. The mutations in this group.
2977 Mutations []*Mutation `protobuf:"bytes,1,rep,name=mutations,proto3" json:"mutations,omitempty"`
2978 }
2979
2980 func (x *BatchWriteRequest_MutationGroup) Reset() {
2981 *x = BatchWriteRequest_MutationGroup{}
2982 mi := &file_google_spanner_v1_spanner_proto_msgTypes[33]
2983 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2984 ms.StoreMessageInfo(mi)
2985 }
2986
2987 func (x *BatchWriteRequest_MutationGroup) String() string {
2988 return protoimpl.X.MessageStringOf(x)
2989 }
2990
2991 func (*BatchWriteRequest_MutationGroup) ProtoMessage() {}
2992
2993 func (x *BatchWriteRequest_MutationGroup) ProtoReflect() protoreflect.Message {
2994 mi := &file_google_spanner_v1_spanner_proto_msgTypes[33]
2995 if x != nil {
2996 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2997 if ms.LoadMessageInfo() == nil {
2998 ms.StoreMessageInfo(mi)
2999 }
3000 return ms
3001 }
3002 return mi.MessageOf(x)
3003 }
3004
3005 // Deprecated: Use BatchWriteRequest_MutationGroup.ProtoReflect.Descriptor instead.
3006 func (*BatchWriteRequest_MutationGroup) Descriptor() ([]byte, []int) {
3007 return file_google_spanner_v1_spanner_proto_rawDescGZIP(), []int{22, 0}
3008 }
3009
3010 func (x *BatchWriteRequest_MutationGroup) GetMutations() []*Mutation {
3011 if x != nil {
3012 return x.Mutations
3013 }
3014 return nil
3015 }
3016
3017 var File_google_spanner_v1_spanner_proto protoreflect.FileDescriptor
3018
3019 var file_google_spanner_v1_spanner_proto_rawDesc = []byte{
3020 0x0a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72,
3021 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74,
3022 0x6f, 0x12, 0x11, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65,
3023 0x72, 0x2e, 0x76, 0x31, 0x1a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x70, 0x61,
3024 0x6e, 0x6e, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x72,
3025 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67,
3026 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
3027 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f,
3028 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70,
3029 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
3030 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e,
3031 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70,
3032 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
3033 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
3034 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
3035 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
3036 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67,
3037 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73,
3038 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f,
3039 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d,
3040 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f,
3041 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e,
3042 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x70,
3043 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x70, 0x72,
3044 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x70, 0x61, 0x6e,
3045 0x6e, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
3046 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x70,
3047 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x5f,
3048 0x73, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
3049 0x65, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x72, 0x61,
3050 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c,
3051 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2f, 0x76,
3052 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x96, 0x01, 0x0a,
3053 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65,
3054 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
3055 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x0a,
3056 0x1f, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
3057 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
3058 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x07, 0x73, 0x65,
3059 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
3060 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e,
3061 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x73, 0x65,
3062 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xd2, 0x01, 0x0a, 0x1a, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43,
3063 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71,
3064 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
3065 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x0a, 0x1f,
3066 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
3067 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52,
3068 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x10, 0x73, 0x65, 0x73,
3069 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20,
3070 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61,
3071 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52,
3072 0x0f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65,
3073 0x12, 0x28, 0x0a, 0x0d, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 0x6e,
3074 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0c, 0x73, 0x65,
3075 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x53, 0x0a, 0x1b, 0x42, 0x61,
3076 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
3077 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x07, 0x73, 0x65, 0x73,
3078 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
3079 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x53,
3080 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22,
3081 0x90, 0x04, 0x0a, 0x07, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x04, 0x6e,
3082 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04,
3083 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x02,
3084 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70,
3085 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
3086 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61,
3087 0x62, 0x65, 0x6c, 0x73, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74,
3088 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
3089 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
3090 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61,
3091 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x5a, 0x0a, 0x19, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x78,
3092 0x69, 0x6d, 0x61, 0x74, 0x65, 0x5f, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x5f, 0x74,
3093 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
3094 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
3095 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x16, 0x61, 0x70, 0x70, 0x72,
3096 0x6f, 0x78, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x73, 0x74, 0x55, 0x73, 0x65, 0x54, 0x69,
3097 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x72, 0x6f,
3098 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f,
3099 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c,
3100 0x65, 0x78, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
3101 0x0b, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x78, 0x65, 0x64, 0x1a, 0x39, 0x0a, 0x0b,
3102 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
3103 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
3104 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
3105 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x88, 0x01, 0xea, 0x41, 0x84, 0x01, 0x0a, 0x1e,
3106 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
3107 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x4f,
3108 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
3109 0x74, 0x7d, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x69, 0x6e,
3110 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
3111 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x7d, 0x2f, 0x73, 0x65, 0x73,
3112 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x7d, 0x2a,
3113 0x08, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x32, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69,
3114 0x6f, 0x6e, 0x22, 0x4f, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
3115 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
3116 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x26, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x20, 0x0a, 0x1e, 0x73,
3117 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
3118 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x6e,
3119 0x61, 0x6d, 0x65, 0x22, 0xae, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x73, 0x73,
3120 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x08, 0x64,
3121 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0,
3122 0x41, 0x02, 0xfa, 0x41, 0x21, 0x0a, 0x1f, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x67,
3123 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61,
3124 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
3125 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20,
3126 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a,
3127 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
3128 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06,
3129 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69,
3130 0x6c, 0x74, 0x65, 0x72, 0x22, 0x76, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x73, 0x73,
3131 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x08,
3132 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a,
3133 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e,
3134 0x76, 0x31, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x73, 0x65, 0x73, 0x73,
3135 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67,
3136 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e,
3137 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x52, 0x0a, 0x14,
3138 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,
3139 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
3140 0x28, 0x09, 0x42, 0x26, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x20, 0x0a, 0x1e, 0x73, 0x70, 0x61, 0x6e,
3141 0x6e, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
3142 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
3143 0x22, 0x82, 0x02, 0x0a, 0x0e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69,
3144 0x6f, 0x6e, 0x73, 0x12, 0x46, 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18,
3145 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73,
3146 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
3147 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74,
3148 0x79, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x72,
3149 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
3150 0x52, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x61, 0x67, 0x12, 0x27, 0x0a, 0x0f,
3151 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x61, 0x67, 0x18,
3152 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69,
3153 0x6f, 0x6e, 0x54, 0x61, 0x67, 0x22, 0x5e, 0x0a, 0x08, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74,
3154 0x79, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x52, 0x49, 0x4f, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e,
3155 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x50,
3156 0x52, 0x49, 0x4f, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x4c, 0x4f, 0x57, 0x10, 0x01, 0x12, 0x13, 0x0a,
3157 0x0f, 0x50, 0x52, 0x49, 0x4f, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x4d, 0x45, 0x44, 0x49, 0x55, 0x4d,
3158 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x50, 0x52, 0x49, 0x4f, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x48,
3159 0x49, 0x47, 0x48, 0x10, 0x03, 0x22, 0xd8, 0x05, 0x0a, 0x13, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74,
3160 0x65, 0x64, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x63, 0x0a,
3161 0x10, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61,
3162 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
3163 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x72, 0x65,
3164 0x63, 0x74, 0x65, 0x64, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
3165 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x48,
3166 0x00, 0x52, 0x0f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63,
3167 0x61, 0x73, 0x12, 0x63, 0x0a, 0x10, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x72, 0x65,
3168 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67,
3169 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31,
3170 0x2e, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x70, 0x74,
3171 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x52, 0x65, 0x70, 0x6c,
3172 0x69, 0x63, 0x61, 0x73, 0x48, 0x00, 0x52, 0x0f, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x52,
3173 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x1a, 0xbd, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x70, 0x6c,
3174 0x69, 0x63, 0x61, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08,
3175 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
3176 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
3177 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
3178 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x72, 0x65, 0x63,
3179 0x74, 0x65, 0x64, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x52,
3180 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
3181 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x3b, 0x0a, 0x04, 0x54, 0x79,
3182 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
3183 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x45, 0x41, 0x44,
3184 0x5f, 0x57, 0x52, 0x49, 0x54, 0x45, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x45, 0x41, 0x44,
3185 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x02, 0x1a, 0xaf, 0x01, 0x0a, 0x0f, 0x49, 0x6e, 0x63, 0x6c,
3186 0x75, 0x64, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x66, 0x0a, 0x12, 0x72,
3187 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
3188 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
3189 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x72, 0x65,
3190 0x63, 0x74, 0x65, 0x64, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
3191 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
3192 0x52, 0x11, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69,
3193 0x6f, 0x6e, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x66, 0x61, 0x69, 0x6c,
3194 0x6f, 0x76, 0x65, 0x72, 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20,
3195 0x01, 0x28, 0x08, 0x52, 0x14, 0x61, 0x75, 0x74, 0x6f, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65,
3196 0x72, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x1a, 0x79, 0x0a, 0x0f, 0x45, 0x78, 0x63,
3197 0x6c, 0x75, 0x64, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x66, 0x0a, 0x12,
3198 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f,
3199 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
3200 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x72,
3201 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
3202 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f,
3203 0x6e, 0x52, 0x11, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74,
3204 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x0a, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73,
3205 0x22, 0xf9, 0x08, 0x0a, 0x11, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x53, 0x71, 0x6c, 0x52,
3206 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f,
3207 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x26, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x20, 0x0a,
3208 0x1e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
3209 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52,
3210 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x48, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e,
3211 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e,
3212 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76,
3213 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x6c,
3214 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69,
3215 0x6f, 0x6e, 0x12, 0x15, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42,
3216 0x03, 0xe0, 0x41, 0x02, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x12, 0x2f, 0x0a, 0x06, 0x70, 0x61, 0x72,
3217 0x61, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
3218 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75,
3219 0x63, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x55, 0x0a, 0x0b, 0x70, 0x61,
3220 0x72, 0x61, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32,
3221 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72,
3222 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x53, 0x71, 0x6c, 0x52, 0x65,
3223 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x73,
3224 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x54, 0x79, 0x70, 0x65,
3225 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65,
3226 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x54,
3227 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x4d, 0x0a, 0x0a, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x6d, 0x6f,
3228 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
3229 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65,
3230 0x63, 0x75, 0x74, 0x65, 0x53, 0x71, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x51,
3231 0x75, 0x65, 0x72, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x09, 0x71, 0x75, 0x65, 0x72, 0x79, 0x4d,
3232 0x6f, 0x64, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
3233 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x70, 0x61,
3234 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x14, 0x0a, 0x05,
3235 0x73, 0x65, 0x71, 0x6e, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x73, 0x65, 0x71,
3236 0x6e, 0x6f, 0x12, 0x56, 0x0a, 0x0d, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x6f, 0x70, 0x74, 0x69,
3237 0x6f, 0x6e, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
3238 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78,
3239 0x65, 0x63, 0x75, 0x74, 0x65, 0x53, 0x71, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e,
3240 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0c, 0x71, 0x75,
3241 0x65, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x4a, 0x0a, 0x0f, 0x72, 0x65,
3242 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0b, 0x20,
3243 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61,
3244 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4f,
3245 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4f,
3246 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x5a, 0x0a, 0x15, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,
3247 0x65, 0x64, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
3248 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73,
3249 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74,
3250 0x65, 0x64, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x13, 0x64,
3251 0x69, 0x72, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f,
3252 0x6e, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x62, 0x6f, 0x6f, 0x73, 0x74,
3253 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10,
3254 0x64, 0x61, 0x74, 0x61, 0x42, 0x6f, 0x6f, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
3255 0x12, 0x2a, 0x0a, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65,
3256 0x6e, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0d, 0x6c,
3257 0x61, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x1a, 0x7d, 0x0a, 0x0c,
3258 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2b, 0x0a, 0x11,
3259 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
3260 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a,
3261 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x1c, 0x6f, 0x70, 0x74,
3262 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63,
3263 0x73, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
3264 0x1a, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73,
3265 0x74, 0x69, 0x63, 0x73, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x1a, 0x56, 0x0a, 0x0f, 0x50,
3266 0x61, 0x72, 0x61, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
3267 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
3268 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
3269 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72,
3270 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
3271 0x02, 0x38, 0x01, 0x22, 0x57, 0x0a, 0x09, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x6f, 0x64, 0x65,
3272 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04,
3273 0x50, 0x4c, 0x41, 0x4e, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x52, 0x4f, 0x46, 0x49, 0x4c,
3274 0x45, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x53, 0x54, 0x41, 0x54,
3275 0x53, 0x10, 0x03, 0x12, 0x17, 0x0a, 0x13, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x50, 0x4c, 0x41, 0x4e,
3276 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x53, 0x10, 0x04, 0x22, 0xac, 0x05, 0x0a,
3277 0x16, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, 0x6d, 0x6c,
3278 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69,
3279 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x26, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x20,
3280 0x0a, 0x1e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
3281 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
3282 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x4d, 0x0a, 0x0b, 0x74, 0x72, 0x61,
3283 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26,
3284 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e,
3285 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65,
3286 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x74, 0x72, 0x61,
3287 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x58, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74,
3288 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67,
3289 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31,
3290 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, 0x6d, 0x6c,
3291 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e,
3292 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e,
3293 0x74, 0x73, 0x12, 0x19, 0x0a, 0x05, 0x73, 0x65, 0x71, 0x6e, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28,
3294 0x03, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x73, 0x65, 0x71, 0x6e, 0x6f, 0x12, 0x4a, 0x0a,
3295 0x0f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
3296 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
3297 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65,
3298 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65,
3299 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2c, 0x0a, 0x0f, 0x6c, 0x61, 0x73,
3300 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01,
3301 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x74, 0x61,
3302 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0x91, 0x02, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x74,
3303 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x15, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x01, 0x20, 0x01,
3304 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x12, 0x2f, 0x0a, 0x06,
3305 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67,
3306 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53,
3307 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x64, 0x0a,
3308 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03,
3309 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e,
3310 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x42, 0x61,
3311 0x74, 0x63, 0x68, 0x44, 0x6d, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x74,
3312 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x54, 0x79, 0x70,
3313 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x54, 0x79,
3314 0x70, 0x65, 0x73, 0x1a, 0x56, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x54, 0x79, 0x70, 0x65,
3315 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
3316 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
3317 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
3318 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x79, 0x70, 0x65,
3319 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xe7, 0x01, 0x0a, 0x17,
3320 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, 0x6d, 0x6c, 0x52,
3321 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x75, 0x6c,
3322 0x74, 0x5f, 0x73, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67,
3323 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31,
3324 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x53, 0x65, 0x74, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x75,
3325 0x6c, 0x74, 0x53, 0x65, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
3326 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
3327 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74,
3328 0x75, 0x73, 0x12, 0x61, 0x0a, 0x0f, 0x70, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f,
3329 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f,
3330 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e,
3331 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x78, 0x65, 0x64, 0x53, 0x65, 0x73, 0x73, 0x69,
3332 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
3333 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0e, 0x70, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74,
3334 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x6b, 0x0a, 0x10, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
3335 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x70, 0x61, 0x72,
3336 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x62, 0x79, 0x74, 0x65,
3337 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
3338 0x6f, 0x6e, 0x53, 0x69, 0x7a, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x6d,
3339 0x61, 0x78, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20,
3340 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,
3341 0x6e, 0x73, 0x22, 0xf0, 0x03, 0x0a, 0x15, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
3342 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x07,
3343 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x26, 0xe0,
3344 0x41, 0x02, 0xfa, 0x41, 0x20, 0x0a, 0x1e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x67,
3345 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65,
3346 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x48,
3347 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20,
3348 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61,
3349 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74,
3350 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0b, 0x74, 0x72, 0x61,
3351 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18,
3352 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x12,
3353 0x2f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
3354 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
3355 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73,
3356 0x12, 0x59, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18,
3357 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73,
3358 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74,
3359 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e,
3360 0x50, 0x61, 0x72, 0x61, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
3361 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x50, 0x0a, 0x11, 0x70,
3362 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
3363 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
3364 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69,
3365 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x10, 0x70, 0x61, 0x72,
3366 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x56, 0x0a,
3367 0x0f, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
3368 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
3369 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
3370 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e,
3371 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
3372 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xf8, 0x02, 0x0a, 0x14, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74,
3373 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40,
3374 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
3375 0x26, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x20, 0x0a, 0x1e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72,
3376 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
3377 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
3378 0x12, 0x48, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18,
3379 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73,
3380 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61,
3381 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0b, 0x74,
3382 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x05, 0x74, 0x61,
3383 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05,
3384 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04,
3385 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x18, 0x0a, 0x07, 0x63,
3386 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f,
3387 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x37, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x5f, 0x73, 0x65, 0x74,
3388 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
3389 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x53, 0x65,
3390 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x6b, 0x65, 0x79, 0x53, 0x65, 0x74, 0x12, 0x50,
3391 0x0a, 0x11, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69,
3392 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
3393 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61,
3394 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x10,
3395 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
3396 0x22, 0x34, 0x0a, 0x09, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a,
3397 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
3398 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,
3399 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x93, 0x01, 0x0a, 0x11, 0x50, 0x61, 0x72, 0x74, 0x69,
3400 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x0a,
3401 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
3402 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65,
3403 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a,
3404 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x40, 0x0a, 0x0b, 0x74, 0x72,
3405 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
3406 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72,
3407 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52,
3408 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x99, 0x07, 0x0a,
3409 0x0b, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x07,
3410 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x26, 0xe0,
3411 0x41, 0x02, 0xfa, 0x41, 0x20, 0x0a, 0x1e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x67,
3412 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65,
3413 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x48,
3414 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20,
3415 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61,
3416 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74,
3417 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0b, 0x74, 0x72, 0x61,
3418 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c,
3419 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x74, 0x61,
3420 0x62, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01,
3421 0x28, 0x09, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x07, 0x63, 0x6f, 0x6c,
3422 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
3423 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x37, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x5f,
3424 0x73, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
3425 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65,
3426 0x79, 0x53, 0x65, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x6b, 0x65, 0x79, 0x53, 0x65,
3427 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03,
3428 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x75, 0x6d,
3429 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x72,
3430 0x65, 0x73, 0x75, 0x6d, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61,
3431 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x0a, 0x20,
3432 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f,
3433 0x6b, 0x65, 0x6e, 0x12, 0x4a, 0x0a, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x6f,
3434 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67,
3435 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31,
3436 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52,
3437 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12,
3438 0x5a, 0x0a, 0x15, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x61, 0x64,
3439 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26,
3440 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e,
3441 0x76, 0x31, 0x2e, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x65, 0x61, 0x64, 0x4f,
3442 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x13, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x65, 0x64,
3443 0x52, 0x65, 0x61, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x64,
3444 0x61, 0x74, 0x61, 0x5f, 0x62, 0x6f, 0x6f, 0x73, 0x74, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65,
3445 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x64, 0x61, 0x74, 0x61, 0x42, 0x6f, 0x6f,
3446 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x46, 0x0a, 0x08, 0x6f, 0x72, 0x64,
3447 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x67, 0x6f,
3448 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e,
3449 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4f, 0x72, 0x64, 0x65,
3450 0x72, 0x42, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42,
3451 0x79, 0x12, 0x49, 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x69, 0x6e, 0x74, 0x18, 0x11,
3452 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70,
3453 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71,
3454 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x6f, 0x63, 0x6b, 0x48, 0x69, 0x6e, 0x74, 0x42, 0x03, 0xe0,
3455 0x41, 0x01, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x69, 0x6e, 0x74, 0x22, 0x54, 0x0a, 0x07,
3456 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x12, 0x18, 0x0a, 0x14, 0x4f, 0x52, 0x44, 0x45, 0x52,
3457 0x5f, 0x42, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
3458 0x00, 0x12, 0x18, 0x0a, 0x14, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x42, 0x59, 0x5f, 0x50, 0x52,
3459 0x49, 0x4d, 0x41, 0x52, 0x59, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x4f,
3460 0x52, 0x44, 0x45, 0x52, 0x5f, 0x42, 0x59, 0x5f, 0x4e, 0x4f, 0x5f, 0x4f, 0x52, 0x44, 0x45, 0x52,
3461 0x10, 0x02, 0x22, 0x54, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x6b, 0x48, 0x69, 0x6e, 0x74, 0x12, 0x19,
3462 0x0a, 0x15, 0x4c, 0x4f, 0x43, 0x4b, 0x5f, 0x48, 0x49, 0x4e, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50,
3463 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x4c, 0x4f, 0x43,
3464 0x4b, 0x5f, 0x48, 0x49, 0x4e, 0x54, 0x5f, 0x53, 0x48, 0x41, 0x52, 0x45, 0x44, 0x10, 0x01, 0x12,
3465 0x17, 0x0a, 0x13, 0x4c, 0x4f, 0x43, 0x4b, 0x5f, 0x48, 0x49, 0x4e, 0x54, 0x5f, 0x45, 0x58, 0x43,
3466 0x4c, 0x55, 0x53, 0x49, 0x56, 0x45, 0x10, 0x02, 0x22, 0xb2, 0x02, 0x0a, 0x17, 0x42, 0x65, 0x67,
3467 0x69, 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,
3468 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18,
3469 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x26, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x20, 0x0a, 0x1e, 0x73,
3470 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
3471 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73,
3472 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x44, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
3473 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
3474 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e,
3475 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x03,
3476 0xe0, 0x41, 0x02, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x4a, 0x0a, 0x0f,
3477 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
3478 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73,
3479 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
3480 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
3481 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x43, 0x0a, 0x0c, 0x6d, 0x75, 0x74, 0x61,
3482 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b,
3483 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e,
3484 0x76, 0x31, 0x2e, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x01,
3485 0x52, 0x0b, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x22, 0xcc, 0x04,
3486 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
3487 0x40, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
3488 0x42, 0x26, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x20, 0x0a, 0x1e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65,
3489 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
3490 0x2f, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f,
3491 0x6e, 0x12, 0x27, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
3492 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0d, 0x74, 0x72, 0x61,
3493 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x5d, 0x0a, 0x16, 0x73, 0x69,
3494 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63,
3495 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f,
3496 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54,
3497 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
3498 0x73, 0x48, 0x00, 0x52, 0x14, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x55, 0x73, 0x65, 0x54, 0x72,
3499 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x09, 0x6d, 0x75, 0x74,
3500 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67,
3501 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31,
3502 0x2e, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6d, 0x75, 0x74, 0x61, 0x74,
3503 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x5f, 0x63,
3504 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28,
3505 0x08, 0x52, 0x11, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53,
3506 0x74, 0x61, 0x74, 0x73, 0x12, 0x48, 0x0a, 0x10, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x6f, 0x6d, 0x6d,
3507 0x69, 0x74, 0x5f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19,
3508 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
3509 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0e,
3510 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x12, 0x4a,
3511 0x0a, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
3512 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
3513 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75,
3514 0x65, 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0e, 0x72, 0x65, 0x71, 0x75,
3515 0x65, 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x61, 0x0a, 0x0f, 0x70, 0x72,
3516 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x09, 0x20,
3517 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61,
3518 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65,
3519 0x78, 0x65, 0x64, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x63, 0x6f, 0x6d,
3520 0x6d, 0x69, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0e, 0x70,
3521 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x0d, 0x0a,
3522 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x7f, 0x0a, 0x0f,
3523 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
3524 0x40, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
3525 0x42, 0x26, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x20, 0x0a, 0x1e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65,
3526 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
3527 0x2f, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f,
3528 0x6e, 0x12, 0x2a, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
3529 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d,
3530 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x9f, 0x03,
3531 0x0a, 0x11, 0x42, 0x61, 0x74, 0x63, 0x68, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75,
3532 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01,
3533 0x20, 0x01, 0x28, 0x09, 0x42, 0x26, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x20, 0x0a, 0x1e, 0x73, 0x70,
3534 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
3535 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65,
3536 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x4a, 0x0a, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
3537 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21,
3538 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e,
3539 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
3540 0x73, 0x52, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
3541 0x73, 0x12, 0x60, 0x0a, 0x0f, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x67, 0x72,
3542 0x6f, 0x75, 0x70, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f,
3543 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42,
3544 0x61, 0x74, 0x63, 0x68, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
3545 0x2e, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x03,
3546 0xe0, 0x41, 0x02, 0x52, 0x0e, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f,
3547 0x75, 0x70, 0x73, 0x12, 0x49, 0x0a, 0x1f, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x74,
3548 0x78, 0x6e, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x73,
3549 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41,
3550 0x01, 0x52, 0x1b, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x54, 0x78, 0x6e, 0x46, 0x72, 0x6f,
3551 0x6d, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x1a, 0x4f,
3552 0x0a, 0x0d, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12,
3553 0x3e, 0x0a, 0x09, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03,
3554 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e,
3555 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42,
3556 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22,
3557 0xa1, 0x01, 0x0a, 0x12, 0x42, 0x61, 0x74, 0x63, 0x68, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65,
3558 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65,
3559 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73,
3560 0x12, 0x2a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
3561 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74,
3562 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x45, 0x0a, 0x10,
3563 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
3564 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
3565 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
3566 0x6d, 0x70, 0x52, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
3567 0x61, 0x6d, 0x70, 0x32, 0x8b, 0x18, 0x0a, 0x07, 0x53, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x12,
3568 0xa6, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f,
3569 0x6e, 0x12, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e,
3570 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x73, 0x73,
3571 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
3572 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x53,
3573 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x50, 0xda, 0x41, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62,
3574 0x61, 0x73, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x3a, 0x01, 0x2a, 0x22, 0x3a, 0x2f, 0x76,
3575 0x31, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a,
3576 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73,
3577 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f,
3578 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0xe0, 0x01, 0x0a, 0x13, 0x42, 0x61, 0x74,
3579 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73,
3580 0x12, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65,
3581 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
3582 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
3583 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72,
3584 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53,
3585 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
3586 0x6a, 0xda, 0x41, 0x16, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2c, 0x73, 0x65, 0x73,
3587 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4b,
3588 0x3a, 0x01, 0x2a, 0x22, 0x46, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,
3589 0x73, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e,
3590 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,
3591 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a,
3592 0x62, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x97, 0x01, 0x0a, 0x0a,
3593 0x47, 0x65, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x67, 0x6f, 0x6f,
3594 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x47,
3595 0x65, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
3596 0x1a, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65,
3597 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x47, 0xda, 0x41,
3598 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3a, 0x12, 0x38, 0x2f, 0x76, 0x31,
3599 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,
3600 0x2a, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61,
3601 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f,
3602 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xae, 0x01, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65,
3603 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
3604 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53,
3605 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27,
3606 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e,
3607 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52,
3608 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4d, 0xda, 0x41, 0x08, 0x64, 0x61, 0x74, 0x61,
3609 0x62, 0x61, 0x73, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3c, 0x12, 0x3a, 0x2f, 0x76, 0x31, 0x2f,
3610 0x7b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
3611 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a,
3612 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x65,
3613 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x99, 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74,
3614 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
3615 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c,
3616 0x65, 0x74, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
3617 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
3618 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x47, 0xda, 0x41, 0x04, 0x6e, 0x61,
3619 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3a, 0x2a, 0x38, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e,
3620 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x69,
3621 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62,
3622 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
3623 0x2a, 0x7d, 0x12, 0xa3, 0x01, 0x0a, 0x0a, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x53, 0x71,
3624 0x6c, 0x12, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e,
3625 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x53, 0x71, 0x6c,
3626 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
3627 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x75,
3628 0x6c, 0x74, 0x53, 0x65, 0x74, 0x22, 0x51, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4b, 0x3a, 0x01, 0x2a,
3629 0x22, 0x46, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x3d, 0x70,
3630 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e,
3631 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f,
3632 0x2a, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x65, 0x78,
3633 0x65, 0x63, 0x75, 0x74, 0x65, 0x53, 0x71, 0x6c, 0x12, 0xbe, 0x01, 0x0a, 0x13, 0x45, 0x78, 0x65,
3634 0x63, 0x75, 0x74, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x53, 0x71, 0x6c,
3635 0x12, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65,
3636 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x53, 0x71, 0x6c, 0x52,
3637 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
3638 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69,
3639 0x61, 0x6c, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x53, 0x65, 0x74, 0x22, 0x5a, 0x82, 0xd3, 0xe4,
3640 0x93, 0x02, 0x54, 0x3a, 0x01, 0x2a, 0x22, 0x4f, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x73, 0x65, 0x73,
3641 0x73, 0x69, 0x6f, 0x6e, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f,
3642 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61,
3643 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73,
3644 0x2f, 0x2a, 0x7d, 0x3a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61,
3645 0x6d, 0x69, 0x6e, 0x67, 0x53, 0x71, 0x6c, 0x30, 0x01, 0x12, 0xc0, 0x01, 0x0a, 0x0f, 0x45, 0x78,
3646 0x65, 0x63, 0x75, 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, 0x6d, 0x6c, 0x12, 0x29, 0x2e,
3647 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76,
3648 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, 0x6d,
3649 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
3650 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65,
3651 0x63, 0x75, 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, 0x6d, 0x6c, 0x52, 0x65, 0x73, 0x70,
3652 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x56, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x50, 0x3a, 0x01, 0x2a, 0x22,
3653 0x4b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x3d, 0x70, 0x72,
3654 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,
3655 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a,
3656 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x65, 0x78, 0x65,
3657 0x63, 0x75, 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, 0x6d, 0x6c, 0x12, 0x91, 0x01, 0x0a,
3658 0x04, 0x52, 0x65, 0x61, 0x64, 0x12, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73,
3659 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65,
3660 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73,
3661 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
3662 0x53, 0x65, 0x74, 0x22, 0x4b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x3a, 0x01, 0x2a, 0x22, 0x40,
3663 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x3d, 0x70, 0x72, 0x6f,
3664 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
3665 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f,
3666 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x72, 0x65, 0x61, 0x64,
3667 0x12, 0xac, 0x01, 0x0a, 0x0d, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x52, 0x65,
3668 0x61, 0x64, 0x12, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e,
3669 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65,
3670 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e,
3671 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65,
3672 0x73, 0x75, 0x6c, 0x74, 0x53, 0x65, 0x74, 0x22, 0x54, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4e, 0x3a,
3673 0x01, 0x2a, 0x22, 0x49, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
3674 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x73, 0x74,
3675 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
3676 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x3a,
3677 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x61, 0x64, 0x30, 0x01, 0x12,
3678 0xc9, 0x01, 0x0a, 0x10, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63,
3679 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70,
3680 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x54, 0x72,
3681 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
3682 0x1a, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65,
3683 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
3684 0x22, 0x69, 0xda, 0x41, 0x0f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2c, 0x6f, 0x70, 0x74,
3685 0x69, 0x6f, 0x6e, 0x73, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x51, 0x3a, 0x01, 0x2a, 0x22, 0x4c, 0x2f,
3686 0x76, 0x31, 0x2f, 0x7b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x3d, 0x70, 0x72, 0x6f, 0x6a,
3687 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73,
3688 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x73,
3689 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x62, 0x65, 0x67, 0x69, 0x6e,
3690 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0xeb, 0x01, 0x0a, 0x06,
3691 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
3692 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69,
3693 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
3694 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d,
3695 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9b, 0x01, 0xda, 0x41,
3696 0x20, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63,
3697 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2c, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
3698 0x73, 0xda, 0x41, 0x28, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2c, 0x73, 0x69, 0x6e, 0x67,
3699 0x6c, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69,
3700 0x6f, 0x6e, 0x2c, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x82, 0xd3, 0xe4, 0x93,
3701 0x02, 0x47, 0x3a, 0x01, 0x2a, 0x22, 0x42, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x73, 0x65, 0x73, 0x73,
3702 0x69, 0x6f, 0x6e, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x69,
3703 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62,
3704 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
3705 0x2a, 0x7d, 0x3a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0xb0, 0x01, 0x0a, 0x08, 0x52, 0x6f,
3706 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
3707 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x62,
3708 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f,
3709 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70,
3710 0x74, 0x79, 0x22, 0x68, 0xda, 0x41, 0x16, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2c, 0x74,
3711 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4,
3712 0x93, 0x02, 0x49, 0x3a, 0x01, 0x2a, 0x22, 0x44, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x73, 0x65, 0x73,
3713 0x73, 0x69, 0x6f, 0x6e, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f,
3714 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61,
3715 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73,
3716 0x2f, 0x2a, 0x7d, 0x3a, 0x72, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0xb7, 0x01, 0x0a,
3717 0x0e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12,
3718 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72,
3719 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65,
3720 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
3721 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61,
3722 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
3723 0x55, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4f, 0x3a, 0x01, 0x2a, 0x22, 0x4a, 0x2f, 0x76, 0x31, 0x2f,
3724 0x7b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
3725 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f,
3726 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x65, 0x73, 0x73,
3727 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,
3728 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0xb4, 0x01, 0x0a, 0x0d, 0x50, 0x61, 0x72, 0x74, 0x69,
3729 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x61, 0x64, 0x12, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
3730 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72,
3731 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
3732 0x74, 0x1a, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e,
3733 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52,
3734 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x54, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4e, 0x3a,
3735 0x01, 0x2a, 0x22, 0x49, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
3736 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x73, 0x74,
3737 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
3738 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x3a,
3739 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x61, 0x64, 0x12, 0xc8, 0x01,
3740 0x0a, 0x0a, 0x42, 0x61, 0x74, 0x63, 0x68, 0x57, 0x72, 0x69, 0x74, 0x65, 0x12, 0x24, 0x2e, 0x67,
3741 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31,
3742 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
3743 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e,
3744 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x57, 0x72, 0x69, 0x74,
3745 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x6b, 0xda, 0x41, 0x17, 0x73, 0x65,
3746 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2c, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x67,
3747 0x72, 0x6f, 0x75, 0x70, 0x73, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4b, 0x3a, 0x01, 0x2a, 0x22, 0x46,
3748 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x3d, 0x70, 0x72, 0x6f,
3749 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
3750 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f,
3751 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x62, 0x61, 0x74, 0x63,
3752 0x68, 0x57, 0x72, 0x69, 0x74, 0x65, 0x30, 0x01, 0x1a, 0x77, 0xca, 0x41, 0x16, 0x73, 0x70, 0x61,
3753 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
3754 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x5b, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77,
3755 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
3756 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74,
3757 0x66, 0x6f, 0x72, 0x6d, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77,
3758 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
3759 0x61, 0x75, 0x74, 0x68, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x64, 0x61, 0x74,
3760 0x61, 0x42, 0x91, 0x02, 0xea, 0x41, 0x5f, 0x0a, 0x1f, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72,
3761 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
3762 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x3c, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
3763 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x69, 0x6e, 0x73,
3764 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
3765 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74,
3766 0x61, 0x62, 0x61, 0x73, 0x65, 0x7d, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
3767 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x53,
3768 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x63,
3769 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
3770 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31,
3771 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x70, 0x61, 0x6e, 0x6e,
3772 0x65, 0x72, 0x70, 0x62, 0xaa, 0x02, 0x17, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c,
3773 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02,
3774 0x17, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x70,
3775 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
3776 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x70, 0x61, 0x6e, 0x6e, 0x65,
3777 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x50, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
3778 }
3779
3780 var (
3781 file_google_spanner_v1_spanner_proto_rawDescOnce sync.Once
3782 file_google_spanner_v1_spanner_proto_rawDescData = file_google_spanner_v1_spanner_proto_rawDesc
3783 )
3784
3785 func file_google_spanner_v1_spanner_proto_rawDescGZIP() []byte {
3786 file_google_spanner_v1_spanner_proto_rawDescOnce.Do(func() {
3787 file_google_spanner_v1_spanner_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_spanner_v1_spanner_proto_rawDescData)
3788 })
3789 return file_google_spanner_v1_spanner_proto_rawDescData
3790 }
3791
3792 var file_google_spanner_v1_spanner_proto_enumTypes = make([]protoimpl.EnumInfo, 5)
3793 var file_google_spanner_v1_spanner_proto_msgTypes = make([]protoimpl.MessageInfo, 34)
3794 var file_google_spanner_v1_spanner_proto_goTypes = []any{
3795 (RequestOptions_Priority)(0), // 0: google.spanner.v1.RequestOptions.Priority
3796 (DirectedReadOptions_ReplicaSelection_Type)(0), // 1: google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type
3797 (ExecuteSqlRequest_QueryMode)(0), // 2: google.spanner.v1.ExecuteSqlRequest.QueryMode
3798 (ReadRequest_OrderBy)(0), // 3: google.spanner.v1.ReadRequest.OrderBy
3799 (ReadRequest_LockHint)(0), // 4: google.spanner.v1.ReadRequest.LockHint
3800 (*CreateSessionRequest)(nil), // 5: google.spanner.v1.CreateSessionRequest
3801 (*BatchCreateSessionsRequest)(nil), // 6: google.spanner.v1.BatchCreateSessionsRequest
3802 (*BatchCreateSessionsResponse)(nil), // 7: google.spanner.v1.BatchCreateSessionsResponse
3803 (*Session)(nil), // 8: google.spanner.v1.Session
3804 (*GetSessionRequest)(nil), // 9: google.spanner.v1.GetSessionRequest
3805 (*ListSessionsRequest)(nil), // 10: google.spanner.v1.ListSessionsRequest
3806 (*ListSessionsResponse)(nil), // 11: google.spanner.v1.ListSessionsResponse
3807 (*DeleteSessionRequest)(nil), // 12: google.spanner.v1.DeleteSessionRequest
3808 (*RequestOptions)(nil), // 13: google.spanner.v1.RequestOptions
3809 (*DirectedReadOptions)(nil), // 14: google.spanner.v1.DirectedReadOptions
3810 (*ExecuteSqlRequest)(nil), // 15: google.spanner.v1.ExecuteSqlRequest
3811 (*ExecuteBatchDmlRequest)(nil), // 16: google.spanner.v1.ExecuteBatchDmlRequest
3812 (*ExecuteBatchDmlResponse)(nil), // 17: google.spanner.v1.ExecuteBatchDmlResponse
3813 (*PartitionOptions)(nil), // 18: google.spanner.v1.PartitionOptions
3814 (*PartitionQueryRequest)(nil), // 19: google.spanner.v1.PartitionQueryRequest
3815 (*PartitionReadRequest)(nil), // 20: google.spanner.v1.PartitionReadRequest
3816 (*Partition)(nil), // 21: google.spanner.v1.Partition
3817 (*PartitionResponse)(nil), // 22: google.spanner.v1.PartitionResponse
3818 (*ReadRequest)(nil), // 23: google.spanner.v1.ReadRequest
3819 (*BeginTransactionRequest)(nil), // 24: google.spanner.v1.BeginTransactionRequest
3820 (*CommitRequest)(nil), // 25: google.spanner.v1.CommitRequest
3821 (*RollbackRequest)(nil), // 26: google.spanner.v1.RollbackRequest
3822 (*BatchWriteRequest)(nil), // 27: google.spanner.v1.BatchWriteRequest
3823 (*BatchWriteResponse)(nil), // 28: google.spanner.v1.BatchWriteResponse
3824 nil, // 29: google.spanner.v1.Session.LabelsEntry
3825 (*DirectedReadOptions_ReplicaSelection)(nil), // 30: google.spanner.v1.DirectedReadOptions.ReplicaSelection
3826 (*DirectedReadOptions_IncludeReplicas)(nil), // 31: google.spanner.v1.DirectedReadOptions.IncludeReplicas
3827 (*DirectedReadOptions_ExcludeReplicas)(nil), // 32: google.spanner.v1.DirectedReadOptions.ExcludeReplicas
3828 (*ExecuteSqlRequest_QueryOptions)(nil), // 33: google.spanner.v1.ExecuteSqlRequest.QueryOptions
3829 nil, // 34: google.spanner.v1.ExecuteSqlRequest.ParamTypesEntry
3830 (*ExecuteBatchDmlRequest_Statement)(nil), // 35: google.spanner.v1.ExecuteBatchDmlRequest.Statement
3831 nil, // 36: google.spanner.v1.ExecuteBatchDmlRequest.Statement.ParamTypesEntry
3832 nil, // 37: google.spanner.v1.PartitionQueryRequest.ParamTypesEntry
3833 (*BatchWriteRequest_MutationGroup)(nil), // 38: google.spanner.v1.BatchWriteRequest.MutationGroup
3834 (*timestamppb.Timestamp)(nil), // 39: google.protobuf.Timestamp
3835 (*TransactionSelector)(nil), // 40: google.spanner.v1.TransactionSelector
3836 (*structpb.Struct)(nil), // 41: google.protobuf.Struct
3837 (*ResultSet)(nil), // 42: google.spanner.v1.ResultSet
3838 (*status.Status)(nil), // 43: google.rpc.Status
3839 (*MultiplexedSessionPrecommitToken)(nil), // 44: google.spanner.v1.MultiplexedSessionPrecommitToken
3840 (*KeySet)(nil), // 45: google.spanner.v1.KeySet
3841 (*Transaction)(nil), // 46: google.spanner.v1.Transaction
3842 (*TransactionOptions)(nil), // 47: google.spanner.v1.TransactionOptions
3843 (*Mutation)(nil), // 48: google.spanner.v1.Mutation
3844 (*durationpb.Duration)(nil), // 49: google.protobuf.Duration
3845 (*Type)(nil), // 50: google.spanner.v1.Type
3846 (*emptypb.Empty)(nil), // 51: google.protobuf.Empty
3847 (*PartialResultSet)(nil), // 52: google.spanner.v1.PartialResultSet
3848 (*CommitResponse)(nil), // 53: google.spanner.v1.CommitResponse
3849 }
3850 var file_google_spanner_v1_spanner_proto_depIdxs = []int32{
3851 8, // 0: google.spanner.v1.CreateSessionRequest.session:type_name -> google.spanner.v1.Session
3852 8, // 1: google.spanner.v1.BatchCreateSessionsRequest.session_template:type_name -> google.spanner.v1.Session
3853 8, // 2: google.spanner.v1.BatchCreateSessionsResponse.session:type_name -> google.spanner.v1.Session
3854 29, // 3: google.spanner.v1.Session.labels:type_name -> google.spanner.v1.Session.LabelsEntry
3855 39, // 4: google.spanner.v1.Session.create_time:type_name -> google.protobuf.Timestamp
3856 39, // 5: google.spanner.v1.Session.approximate_last_use_time:type_name -> google.protobuf.Timestamp
3857 8, // 6: google.spanner.v1.ListSessionsResponse.sessions:type_name -> google.spanner.v1.Session
3858 0, // 7: google.spanner.v1.RequestOptions.priority:type_name -> google.spanner.v1.RequestOptions.Priority
3859 31, // 8: google.spanner.v1.DirectedReadOptions.include_replicas:type_name -> google.spanner.v1.DirectedReadOptions.IncludeReplicas
3860 32, // 9: google.spanner.v1.DirectedReadOptions.exclude_replicas:type_name -> google.spanner.v1.DirectedReadOptions.ExcludeReplicas
3861 40, // 10: google.spanner.v1.ExecuteSqlRequest.transaction:type_name -> google.spanner.v1.TransactionSelector
3862 41, // 11: google.spanner.v1.ExecuteSqlRequest.params:type_name -> google.protobuf.Struct
3863 34, // 12: google.spanner.v1.ExecuteSqlRequest.param_types:type_name -> google.spanner.v1.ExecuteSqlRequest.ParamTypesEntry
3864 2, // 13: google.spanner.v1.ExecuteSqlRequest.query_mode:type_name -> google.spanner.v1.ExecuteSqlRequest.QueryMode
3865 33, // 14: google.spanner.v1.ExecuteSqlRequest.query_options:type_name -> google.spanner.v1.ExecuteSqlRequest.QueryOptions
3866 13, // 15: google.spanner.v1.ExecuteSqlRequest.request_options:type_name -> google.spanner.v1.RequestOptions
3867 14, // 16: google.spanner.v1.ExecuteSqlRequest.directed_read_options:type_name -> google.spanner.v1.DirectedReadOptions
3868 40, // 17: google.spanner.v1.ExecuteBatchDmlRequest.transaction:type_name -> google.spanner.v1.TransactionSelector
3869 35, // 18: google.spanner.v1.ExecuteBatchDmlRequest.statements:type_name -> google.spanner.v1.ExecuteBatchDmlRequest.Statement
3870 13, // 19: google.spanner.v1.ExecuteBatchDmlRequest.request_options:type_name -> google.spanner.v1.RequestOptions
3871 42, // 20: google.spanner.v1.ExecuteBatchDmlResponse.result_sets:type_name -> google.spanner.v1.ResultSet
3872 43, // 21: google.spanner.v1.ExecuteBatchDmlResponse.status:type_name -> google.rpc.Status
3873 44, // 22: google.spanner.v1.ExecuteBatchDmlResponse.precommit_token:type_name -> google.spanner.v1.MultiplexedSessionPrecommitToken
3874 40, // 23: google.spanner.v1.PartitionQueryRequest.transaction:type_name -> google.spanner.v1.TransactionSelector
3875 41, // 24: google.spanner.v1.PartitionQueryRequest.params:type_name -> google.protobuf.Struct
3876 37, // 25: google.spanner.v1.PartitionQueryRequest.param_types:type_name -> google.spanner.v1.PartitionQueryRequest.ParamTypesEntry
3877 18, // 26: google.spanner.v1.PartitionQueryRequest.partition_options:type_name -> google.spanner.v1.PartitionOptions
3878 40, // 27: google.spanner.v1.PartitionReadRequest.transaction:type_name -> google.spanner.v1.TransactionSelector
3879 45, // 28: google.spanner.v1.PartitionReadRequest.key_set:type_name -> google.spanner.v1.KeySet
3880 18, // 29: google.spanner.v1.PartitionReadRequest.partition_options:type_name -> google.spanner.v1.PartitionOptions
3881 21, // 30: google.spanner.v1.PartitionResponse.partitions:type_name -> google.spanner.v1.Partition
3882 46, // 31: google.spanner.v1.PartitionResponse.transaction:type_name -> google.spanner.v1.Transaction
3883 40, // 32: google.spanner.v1.ReadRequest.transaction:type_name -> google.spanner.v1.TransactionSelector
3884 45, // 33: google.spanner.v1.ReadRequest.key_set:type_name -> google.spanner.v1.KeySet
3885 13, // 34: google.spanner.v1.ReadRequest.request_options:type_name -> google.spanner.v1.RequestOptions
3886 14, // 35: google.spanner.v1.ReadRequest.directed_read_options:type_name -> google.spanner.v1.DirectedReadOptions
3887 3, // 36: google.spanner.v1.ReadRequest.order_by:type_name -> google.spanner.v1.ReadRequest.OrderBy
3888 4, // 37: google.spanner.v1.ReadRequest.lock_hint:type_name -> google.spanner.v1.ReadRequest.LockHint
3889 47, // 38: google.spanner.v1.BeginTransactionRequest.options:type_name -> google.spanner.v1.TransactionOptions
3890 13, // 39: google.spanner.v1.BeginTransactionRequest.request_options:type_name -> google.spanner.v1.RequestOptions
3891 48, // 40: google.spanner.v1.BeginTransactionRequest.mutation_key:type_name -> google.spanner.v1.Mutation
3892 47, // 41: google.spanner.v1.CommitRequest.single_use_transaction:type_name -> google.spanner.v1.TransactionOptions
3893 48, // 42: google.spanner.v1.CommitRequest.mutations:type_name -> google.spanner.v1.Mutation
3894 49, // 43: google.spanner.v1.CommitRequest.max_commit_delay:type_name -> google.protobuf.Duration
3895 13, // 44: google.spanner.v1.CommitRequest.request_options:type_name -> google.spanner.v1.RequestOptions
3896 44, // 45: google.spanner.v1.CommitRequest.precommit_token:type_name -> google.spanner.v1.MultiplexedSessionPrecommitToken
3897 13, // 46: google.spanner.v1.BatchWriteRequest.request_options:type_name -> google.spanner.v1.RequestOptions
3898 38, // 47: google.spanner.v1.BatchWriteRequest.mutation_groups:type_name -> google.spanner.v1.BatchWriteRequest.MutationGroup
3899 43, // 48: google.spanner.v1.BatchWriteResponse.status:type_name -> google.rpc.Status
3900 39, // 49: google.spanner.v1.BatchWriteResponse.commit_timestamp:type_name -> google.protobuf.Timestamp
3901 1, // 50: google.spanner.v1.DirectedReadOptions.ReplicaSelection.type:type_name -> google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type
3902 30, // 51: google.spanner.v1.DirectedReadOptions.IncludeReplicas.replica_selections:type_name -> google.spanner.v1.DirectedReadOptions.ReplicaSelection
3903 30, // 52: google.spanner.v1.DirectedReadOptions.ExcludeReplicas.replica_selections:type_name -> google.spanner.v1.DirectedReadOptions.ReplicaSelection
3904 50, // 53: google.spanner.v1.ExecuteSqlRequest.ParamTypesEntry.value:type_name -> google.spanner.v1.Type
3905 41, // 54: google.spanner.v1.ExecuteBatchDmlRequest.Statement.params:type_name -> google.protobuf.Struct
3906 36, // 55: google.spanner.v1.ExecuteBatchDmlRequest.Statement.param_types:type_name -> google.spanner.v1.ExecuteBatchDmlRequest.Statement.ParamTypesEntry
3907 50, // 56: google.spanner.v1.ExecuteBatchDmlRequest.Statement.ParamTypesEntry.value:type_name -> google.spanner.v1.Type
3908 50, // 57: google.spanner.v1.PartitionQueryRequest.ParamTypesEntry.value:type_name -> google.spanner.v1.Type
3909 48, // 58: google.spanner.v1.BatchWriteRequest.MutationGroup.mutations:type_name -> google.spanner.v1.Mutation
3910 5, // 59: google.spanner.v1.Spanner.CreateSession:input_type -> google.spanner.v1.CreateSessionRequest
3911 6, // 60: google.spanner.v1.Spanner.BatchCreateSessions:input_type -> google.spanner.v1.BatchCreateSessionsRequest
3912 9, // 61: google.spanner.v1.Spanner.GetSession:input_type -> google.spanner.v1.GetSessionRequest
3913 10, // 62: google.spanner.v1.Spanner.ListSessions:input_type -> google.spanner.v1.ListSessionsRequest
3914 12, // 63: google.spanner.v1.Spanner.DeleteSession:input_type -> google.spanner.v1.DeleteSessionRequest
3915 15, // 64: google.spanner.v1.Spanner.ExecuteSql:input_type -> google.spanner.v1.ExecuteSqlRequest
3916 15, // 65: google.spanner.v1.Spanner.ExecuteStreamingSql:input_type -> google.spanner.v1.ExecuteSqlRequest
3917 16, // 66: google.spanner.v1.Spanner.ExecuteBatchDml:input_type -> google.spanner.v1.ExecuteBatchDmlRequest
3918 23, // 67: google.spanner.v1.Spanner.Read:input_type -> google.spanner.v1.ReadRequest
3919 23, // 68: google.spanner.v1.Spanner.StreamingRead:input_type -> google.spanner.v1.ReadRequest
3920 24, // 69: google.spanner.v1.Spanner.BeginTransaction:input_type -> google.spanner.v1.BeginTransactionRequest
3921 25, // 70: google.spanner.v1.Spanner.Commit:input_type -> google.spanner.v1.CommitRequest
3922 26, // 71: google.spanner.v1.Spanner.Rollback:input_type -> google.spanner.v1.RollbackRequest
3923 19, // 72: google.spanner.v1.Spanner.PartitionQuery:input_type -> google.spanner.v1.PartitionQueryRequest
3924 20, // 73: google.spanner.v1.Spanner.PartitionRead:input_type -> google.spanner.v1.PartitionReadRequest
3925 27, // 74: google.spanner.v1.Spanner.BatchWrite:input_type -> google.spanner.v1.BatchWriteRequest
3926 8, // 75: google.spanner.v1.Spanner.CreateSession:output_type -> google.spanner.v1.Session
3927 7, // 76: google.spanner.v1.Spanner.BatchCreateSessions:output_type -> google.spanner.v1.BatchCreateSessionsResponse
3928 8, // 77: google.spanner.v1.Spanner.GetSession:output_type -> google.spanner.v1.Session
3929 11, // 78: google.spanner.v1.Spanner.ListSessions:output_type -> google.spanner.v1.ListSessionsResponse
3930 51, // 79: google.spanner.v1.Spanner.DeleteSession:output_type -> google.protobuf.Empty
3931 42, // 80: google.spanner.v1.Spanner.ExecuteSql:output_type -> google.spanner.v1.ResultSet
3932 52, // 81: google.spanner.v1.Spanner.ExecuteStreamingSql:output_type -> google.spanner.v1.PartialResultSet
3933 17, // 82: google.spanner.v1.Spanner.ExecuteBatchDml:output_type -> google.spanner.v1.ExecuteBatchDmlResponse
3934 42, // 83: google.spanner.v1.Spanner.Read:output_type -> google.spanner.v1.ResultSet
3935 52, // 84: google.spanner.v1.Spanner.StreamingRead:output_type -> google.spanner.v1.PartialResultSet
3936 46, // 85: google.spanner.v1.Spanner.BeginTransaction:output_type -> google.spanner.v1.Transaction
3937 53, // 86: google.spanner.v1.Spanner.Commit:output_type -> google.spanner.v1.CommitResponse
3938 51, // 87: google.spanner.v1.Spanner.Rollback:output_type -> google.protobuf.Empty
3939 22, // 88: google.spanner.v1.Spanner.PartitionQuery:output_type -> google.spanner.v1.PartitionResponse
3940 22, // 89: google.spanner.v1.Spanner.PartitionRead:output_type -> google.spanner.v1.PartitionResponse
3941 28, // 90: google.spanner.v1.Spanner.BatchWrite:output_type -> google.spanner.v1.BatchWriteResponse
3942 75, // [75:91] is the sub-list for method output_type
3943 59, // [59:75] is the sub-list for method input_type
3944 59, // [59:59] is the sub-list for extension type_name
3945 59, // [59:59] is the sub-list for extension extendee
3946 0, // [0:59] is the sub-list for field type_name
3947 }
3948
3949 func init() { file_google_spanner_v1_spanner_proto_init() }
3950 func file_google_spanner_v1_spanner_proto_init() {
3951 if File_google_spanner_v1_spanner_proto != nil {
3952 return
3953 }
3954 file_google_spanner_v1_commit_response_proto_init()
3955 file_google_spanner_v1_keys_proto_init()
3956 file_google_spanner_v1_mutation_proto_init()
3957 file_google_spanner_v1_result_set_proto_init()
3958 file_google_spanner_v1_transaction_proto_init()
3959 file_google_spanner_v1_type_proto_init()
3960 file_google_spanner_v1_spanner_proto_msgTypes[9].OneofWrappers = []any{
3961 (*DirectedReadOptions_IncludeReplicas_)(nil),
3962 (*DirectedReadOptions_ExcludeReplicas_)(nil),
3963 }
3964 file_google_spanner_v1_spanner_proto_msgTypes[20].OneofWrappers = []any{
3965 (*CommitRequest_TransactionId)(nil),
3966 (*CommitRequest_SingleUseTransaction)(nil),
3967 }
3968 type x struct{}
3969 out := protoimpl.TypeBuilder{
3970 File: protoimpl.DescBuilder{
3971 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
3972 RawDescriptor: file_google_spanner_v1_spanner_proto_rawDesc,
3973 NumEnums: 5,
3974 NumMessages: 34,
3975 NumExtensions: 0,
3976 NumServices: 1,
3977 },
3978 GoTypes: file_google_spanner_v1_spanner_proto_goTypes,
3979 DependencyIndexes: file_google_spanner_v1_spanner_proto_depIdxs,
3980 EnumInfos: file_google_spanner_v1_spanner_proto_enumTypes,
3981 MessageInfos: file_google_spanner_v1_spanner_proto_msgTypes,
3982 }.Build()
3983 File_google_spanner_v1_spanner_proto = out.File
3984 file_google_spanner_v1_spanner_proto_rawDesc = nil
3985 file_google_spanner_v1_spanner_proto_goTypes = nil
3986 file_google_spanner_v1_spanner_proto_depIdxs = nil
3987 }
3988
3989 // Reference imports to suppress errors if they are not otherwise used.
3990 var _ context.Context
3991 var _ grpc.ClientConnInterface
3992
3993 // This is a compile-time assertion to ensure that this generated file
3994 // is compatible with the grpc package it is being compiled against.
3995 const _ = grpc.SupportPackageIsVersion6
3996
3997 // SpannerClient is the client API for Spanner service.
3998 //
3999 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
4000 type SpannerClient interface {
4001 // Creates a new session. A session can be used to perform
4002 // transactions that read and/or modify data in a Cloud Spanner database.
4003 // Sessions are meant to be reused for many consecutive
4004 // transactions.
4005 //
4006 // Sessions can only execute one transaction at a time. To execute
4007 // multiple concurrent read-write/write-only transactions, create
4008 // multiple sessions. Note that standalone reads and queries use a
4009 // transaction internally, and count toward the one transaction
4010 // limit.
4011 //
4012 // Active sessions use additional server resources, so it's a good idea to
4013 // delete idle and unneeded sessions.
4014 // Aside from explicit deletes, Cloud Spanner can delete sessions when no
4015 // operations are sent for more than an hour. If a session is deleted,
4016 // requests to it return `NOT_FOUND`.
4017 //
4018 // Idle sessions can be kept alive by sending a trivial SQL query
4019 // periodically, for example, `"SELECT 1"`.
4020 CreateSession(ctx context.Context, in *CreateSessionRequest, opts ...grpc.CallOption) (*Session, error)
4021 // Creates multiple new sessions.
4022 //
4023 // This API can be used to initialize a session cache on the clients.
4024 // See https://goo.gl/TgSFN2 for best practices on session cache management.
4025 BatchCreateSessions(ctx context.Context, in *BatchCreateSessionsRequest, opts ...grpc.CallOption) (*BatchCreateSessionsResponse, error)
4026 // Gets a session. Returns `NOT_FOUND` if the session doesn't exist.
4027 // This is mainly useful for determining whether a session is still
4028 // alive.
4029 GetSession(ctx context.Context, in *GetSessionRequest, opts ...grpc.CallOption) (*Session, error)
4030 // Lists all sessions in a given database.
4031 ListSessions(ctx context.Context, in *ListSessionsRequest, opts ...grpc.CallOption) (*ListSessionsResponse, error)
4032 // Ends a session, releasing server resources associated with it. This
4033 // asynchronously triggers the cancellation of any operations that are running
4034 // with this session.
4035 DeleteSession(ctx context.Context, in *DeleteSessionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
4036 // Executes an SQL statement, returning all results in a single reply. This
4037 // method can't be used to return a result set larger than 10 MiB;
4038 // if the query yields more data than that, the query fails with
4039 // a `FAILED_PRECONDITION` error.
4040 //
4041 // Operations inside read-write transactions might return `ABORTED`. If
4042 // this occurs, the application should restart the transaction from
4043 // the beginning. See [Transaction][google.spanner.v1.Transaction] for more
4044 // details.
4045 //
4046 // Larger result sets can be fetched in streaming fashion by calling
4047 // [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql]
4048 // instead.
4049 //
4050 // The query string can be SQL or [Graph Query Language
4051 // (GQL)](https://cloud.google.com/spanner/docs/reference/standard-sql/graph-intro).
4052 ExecuteSql(ctx context.Context, in *ExecuteSqlRequest, opts ...grpc.CallOption) (*ResultSet, error)
4053 // Like [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql], except returns the
4054 // result set as a stream. Unlike
4055 // [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql], there is no limit on
4056 // the size of the returned result set. However, no individual row in the
4057 // result set can exceed 100 MiB, and no column value can exceed 10 MiB.
4058 //
4059 // The query string can be SQL or [Graph Query Language
4060 // (GQL)](https://cloud.google.com/spanner/docs/reference/standard-sql/graph-intro).
4061 ExecuteStreamingSql(ctx context.Context, in *ExecuteSqlRequest, opts ...grpc.CallOption) (Spanner_ExecuteStreamingSqlClient, error)
4062 // Executes a batch of SQL DML statements. This method allows many statements
4063 // to be run with lower latency than submitting them sequentially with
4064 // [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql].
4065 //
4066 // Statements are executed in sequential order. A request can succeed even if
4067 // a statement fails. The
4068 // [ExecuteBatchDmlResponse.status][google.spanner.v1.ExecuteBatchDmlResponse.status]
4069 // field in the response provides information about the statement that failed.
4070 // Clients must inspect this field to determine whether an error occurred.
4071 //
4072 // Execution stops after the first failed statement; the remaining statements
4073 // are not executed.
4074 ExecuteBatchDml(ctx context.Context, in *ExecuteBatchDmlRequest, opts ...grpc.CallOption) (*ExecuteBatchDmlResponse, error)
4075 // Reads rows from the database using key lookups and scans, as a
4076 // simple key/value style alternative to
4077 // [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql]. This method can't be
4078 // used to return a result set larger than 10 MiB; if the read matches more
4079 // data than that, the read fails with a `FAILED_PRECONDITION`
4080 // error.
4081 //
4082 // Reads inside read-write transactions might return `ABORTED`. If
4083 // this occurs, the application should restart the transaction from
4084 // the beginning. See [Transaction][google.spanner.v1.Transaction] for more
4085 // details.
4086 //
4087 // Larger result sets can be yielded in streaming fashion by calling
4088 // [StreamingRead][google.spanner.v1.Spanner.StreamingRead] instead.
4089 Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (*ResultSet, error)
4090 // Like [Read][google.spanner.v1.Spanner.Read], except returns the result set
4091 // as a stream. Unlike [Read][google.spanner.v1.Spanner.Read], there is no
4092 // limit on the size of the returned result set. However, no individual row in
4093 // the result set can exceed 100 MiB, and no column value can exceed
4094 // 10 MiB.
4095 StreamingRead(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (Spanner_StreamingReadClient, error)
4096 // Begins a new transaction. This step can often be skipped:
4097 // [Read][google.spanner.v1.Spanner.Read],
4098 // [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and
4099 // [Commit][google.spanner.v1.Spanner.Commit] can begin a new transaction as a
4100 // side-effect.
4101 BeginTransaction(ctx context.Context, in *BeginTransactionRequest, opts ...grpc.CallOption) (*Transaction, error)
4102 // Commits a transaction. The request includes the mutations to be
4103 // applied to rows in the database.
4104 //
4105 // `Commit` might return an `ABORTED` error. This can occur at any time;
4106 // commonly, the cause is conflicts with concurrent
4107 // transactions. However, it can also happen for a variety of other
4108 // reasons. If `Commit` returns `ABORTED`, the caller should retry
4109 // the transaction from the beginning, reusing the same session.
4110 //
4111 // On very rare occasions, `Commit` might return `UNKNOWN`. This can happen,
4112 // for example, if the client job experiences a 1+ hour networking failure.
4113 // At that point, Cloud Spanner has lost track of the transaction outcome and
4114 // we recommend that you perform another read from the database to see the
4115 // state of things as they are now.
4116 Commit(ctx context.Context, in *CommitRequest, opts ...grpc.CallOption) (*CommitResponse, error)
4117 // Rolls back a transaction, releasing any locks it holds. It's a good
4118 // idea to call this for any transaction that includes one or more
4119 // [Read][google.spanner.v1.Spanner.Read] or
4120 // [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] requests and ultimately
4121 // decides not to commit.
4122 //
4123 // `Rollback` returns `OK` if it successfully aborts the transaction, the
4124 // transaction was already aborted, or the transaction isn't
4125 // found. `Rollback` never returns `ABORTED`.
4126 Rollback(ctx context.Context, in *RollbackRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
4127 // Creates a set of partition tokens that can be used to execute a query
4128 // operation in parallel. Each of the returned partition tokens can be used
4129 // by [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql] to
4130 // specify a subset of the query result to read. The same session and
4131 // read-only transaction must be used by the `PartitionQueryRequest` used to
4132 // create the partition tokens and the `ExecuteSqlRequests` that use the
4133 // partition tokens.
4134 //
4135 // Partition tokens become invalid when the session used to create them
4136 // is deleted, is idle for too long, begins a new transaction, or becomes too
4137 // old. When any of these happen, it isn't possible to resume the query, and
4138 // the whole operation must be restarted from the beginning.
4139 PartitionQuery(ctx context.Context, in *PartitionQueryRequest, opts ...grpc.CallOption) (*PartitionResponse, error)
4140 // Creates a set of partition tokens that can be used to execute a read
4141 // operation in parallel. Each of the returned partition tokens can be used
4142 // by [StreamingRead][google.spanner.v1.Spanner.StreamingRead] to specify a
4143 // subset of the read result to read. The same session and read-only
4144 // transaction must be used by the `PartitionReadRequest` used to create the
4145 // partition tokens and the `ReadRequests` that use the partition tokens.
4146 // There are no ordering guarantees on rows returned among the returned
4147 // partition tokens, or even within each individual `StreamingRead` call
4148 // issued with a `partition_token`.
4149 //
4150 // Partition tokens become invalid when the session used to create them
4151 // is deleted, is idle for too long, begins a new transaction, or becomes too
4152 // old. When any of these happen, it isn't possible to resume the read, and
4153 // the whole operation must be restarted from the beginning.
4154 PartitionRead(ctx context.Context, in *PartitionReadRequest, opts ...grpc.CallOption) (*PartitionResponse, error)
4155 // Batches the supplied mutation groups in a collection of efficient
4156 // transactions. All mutations in a group are committed atomically. However,
4157 // mutations across groups can be committed non-atomically in an unspecified
4158 // order and thus, they must be independent of each other. Partial failure is
4159 // possible, that is, some groups might have been committed successfully,
4160 // while some might have failed. The results of individual batches are
4161 // streamed into the response as the batches are applied.
4162 //
4163 // `BatchWrite` requests are not replay protected, meaning that each mutation
4164 // group can be applied more than once. Replays of non-idempotent mutations
4165 // can have undesirable effects. For example, replays of an insert mutation
4166 // can produce an already exists error or if you use generated or commit
4167 // timestamp-based keys, it can result in additional rows being added to the
4168 // mutation's table. We recommend structuring your mutation groups to be
4169 // idempotent to avoid this issue.
4170 BatchWrite(ctx context.Context, in *BatchWriteRequest, opts ...grpc.CallOption) (Spanner_BatchWriteClient, error)
4171 }
4172
4173 type spannerClient struct {
4174 cc grpc.ClientConnInterface
4175 }
4176
4177 func NewSpannerClient(cc grpc.ClientConnInterface) SpannerClient {
4178 return &spannerClient{cc}
4179 }
4180
4181 func (c *spannerClient) CreateSession(ctx context.Context, in *CreateSessionRequest, opts ...grpc.CallOption) (*Session, error) {
4182 out := new(Session)
4183 err := c.cc.Invoke(ctx, "/google.spanner.v1.Spanner/CreateSession", in, out, opts...)
4184 if err != nil {
4185 return nil, err
4186 }
4187 return out, nil
4188 }
4189
4190 func (c *spannerClient) BatchCreateSessions(ctx context.Context, in *BatchCreateSessionsRequest, opts ...grpc.CallOption) (*BatchCreateSessionsResponse, error) {
4191 out := new(BatchCreateSessionsResponse)
4192 err := c.cc.Invoke(ctx, "/google.spanner.v1.Spanner/BatchCreateSessions", in, out, opts...)
4193 if err != nil {
4194 return nil, err
4195 }
4196 return out, nil
4197 }
4198
4199 func (c *spannerClient) GetSession(ctx context.Context, in *GetSessionRequest, opts ...grpc.CallOption) (*Session, error) {
4200 out := new(Session)
4201 err := c.cc.Invoke(ctx, "/google.spanner.v1.Spanner/GetSession", in, out, opts...)
4202 if err != nil {
4203 return nil, err
4204 }
4205 return out, nil
4206 }
4207
4208 func (c *spannerClient) ListSessions(ctx context.Context, in *ListSessionsRequest, opts ...grpc.CallOption) (*ListSessionsResponse, error) {
4209 out := new(ListSessionsResponse)
4210 err := c.cc.Invoke(ctx, "/google.spanner.v1.Spanner/ListSessions", in, out, opts...)
4211 if err != nil {
4212 return nil, err
4213 }
4214 return out, nil
4215 }
4216
4217 func (c *spannerClient) DeleteSession(ctx context.Context, in *DeleteSessionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
4218 out := new(emptypb.Empty)
4219 err := c.cc.Invoke(ctx, "/google.spanner.v1.Spanner/DeleteSession", in, out, opts...)
4220 if err != nil {
4221 return nil, err
4222 }
4223 return out, nil
4224 }
4225
4226 func (c *spannerClient) ExecuteSql(ctx context.Context, in *ExecuteSqlRequest, opts ...grpc.CallOption) (*ResultSet, error) {
4227 out := new(ResultSet)
4228 err := c.cc.Invoke(ctx, "/google.spanner.v1.Spanner/ExecuteSql", in, out, opts...)
4229 if err != nil {
4230 return nil, err
4231 }
4232 return out, nil
4233 }
4234
4235 func (c *spannerClient) ExecuteStreamingSql(ctx context.Context, in *ExecuteSqlRequest, opts ...grpc.CallOption) (Spanner_ExecuteStreamingSqlClient, error) {
4236 stream, err := c.cc.NewStream(ctx, &_Spanner_serviceDesc.Streams[0], "/google.spanner.v1.Spanner/ExecuteStreamingSql", opts...)
4237 if err != nil {
4238 return nil, err
4239 }
4240 x := &spannerExecuteStreamingSqlClient{stream}
4241 if err := x.ClientStream.SendMsg(in); err != nil {
4242 return nil, err
4243 }
4244 if err := x.ClientStream.CloseSend(); err != nil {
4245 return nil, err
4246 }
4247 return x, nil
4248 }
4249
4250 type Spanner_ExecuteStreamingSqlClient interface {
4251 Recv() (*PartialResultSet, error)
4252 grpc.ClientStream
4253 }
4254
4255 type spannerExecuteStreamingSqlClient struct {
4256 grpc.ClientStream
4257 }
4258
4259 func (x *spannerExecuteStreamingSqlClient) Recv() (*PartialResultSet, error) {
4260 m := new(PartialResultSet)
4261 if err := x.ClientStream.RecvMsg(m); err != nil {
4262 return nil, err
4263 }
4264 return m, nil
4265 }
4266
4267 func (c *spannerClient) ExecuteBatchDml(ctx context.Context, in *ExecuteBatchDmlRequest, opts ...grpc.CallOption) (*ExecuteBatchDmlResponse, error) {
4268 out := new(ExecuteBatchDmlResponse)
4269 err := c.cc.Invoke(ctx, "/google.spanner.v1.Spanner/ExecuteBatchDml", in, out, opts...)
4270 if err != nil {
4271 return nil, err
4272 }
4273 return out, nil
4274 }
4275
4276 func (c *spannerClient) Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (*ResultSet, error) {
4277 out := new(ResultSet)
4278 err := c.cc.Invoke(ctx, "/google.spanner.v1.Spanner/Read", in, out, opts...)
4279 if err != nil {
4280 return nil, err
4281 }
4282 return out, nil
4283 }
4284
4285 func (c *spannerClient) StreamingRead(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (Spanner_StreamingReadClient, error) {
4286 stream, err := c.cc.NewStream(ctx, &_Spanner_serviceDesc.Streams[1], "/google.spanner.v1.Spanner/StreamingRead", opts...)
4287 if err != nil {
4288 return nil, err
4289 }
4290 x := &spannerStreamingReadClient{stream}
4291 if err := x.ClientStream.SendMsg(in); err != nil {
4292 return nil, err
4293 }
4294 if err := x.ClientStream.CloseSend(); err != nil {
4295 return nil, err
4296 }
4297 return x, nil
4298 }
4299
4300 type Spanner_StreamingReadClient interface {
4301 Recv() (*PartialResultSet, error)
4302 grpc.ClientStream
4303 }
4304
4305 type spannerStreamingReadClient struct {
4306 grpc.ClientStream
4307 }
4308
4309 func (x *spannerStreamingReadClient) Recv() (*PartialResultSet, error) {
4310 m := new(PartialResultSet)
4311 if err := x.ClientStream.RecvMsg(m); err != nil {
4312 return nil, err
4313 }
4314 return m, nil
4315 }
4316
4317 func (c *spannerClient) BeginTransaction(ctx context.Context, in *BeginTransactionRequest, opts ...grpc.CallOption) (*Transaction, error) {
4318 out := new(Transaction)
4319 err := c.cc.Invoke(ctx, "/google.spanner.v1.Spanner/BeginTransaction", in, out, opts...)
4320 if err != nil {
4321 return nil, err
4322 }
4323 return out, nil
4324 }
4325
4326 func (c *spannerClient) Commit(ctx context.Context, in *CommitRequest, opts ...grpc.CallOption) (*CommitResponse, error) {
4327 out := new(CommitResponse)
4328 err := c.cc.Invoke(ctx, "/google.spanner.v1.Spanner/Commit", in, out, opts...)
4329 if err != nil {
4330 return nil, err
4331 }
4332 return out, nil
4333 }
4334
4335 func (c *spannerClient) Rollback(ctx context.Context, in *RollbackRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
4336 out := new(emptypb.Empty)
4337 err := c.cc.Invoke(ctx, "/google.spanner.v1.Spanner/Rollback", in, out, opts...)
4338 if err != nil {
4339 return nil, err
4340 }
4341 return out, nil
4342 }
4343
4344 func (c *spannerClient) PartitionQuery(ctx context.Context, in *PartitionQueryRequest, opts ...grpc.CallOption) (*PartitionResponse, error) {
4345 out := new(PartitionResponse)
4346 err := c.cc.Invoke(ctx, "/google.spanner.v1.Spanner/PartitionQuery", in, out, opts...)
4347 if err != nil {
4348 return nil, err
4349 }
4350 return out, nil
4351 }
4352
4353 func (c *spannerClient) PartitionRead(ctx context.Context, in *PartitionReadRequest, opts ...grpc.CallOption) (*PartitionResponse, error) {
4354 out := new(PartitionResponse)
4355 err := c.cc.Invoke(ctx, "/google.spanner.v1.Spanner/PartitionRead", in, out, opts...)
4356 if err != nil {
4357 return nil, err
4358 }
4359 return out, nil
4360 }
4361
4362 func (c *spannerClient) BatchWrite(ctx context.Context, in *BatchWriteRequest, opts ...grpc.CallOption) (Spanner_BatchWriteClient, error) {
4363 stream, err := c.cc.NewStream(ctx, &_Spanner_serviceDesc.Streams[2], "/google.spanner.v1.Spanner/BatchWrite", opts...)
4364 if err != nil {
4365 return nil, err
4366 }
4367 x := &spannerBatchWriteClient{stream}
4368 if err := x.ClientStream.SendMsg(in); err != nil {
4369 return nil, err
4370 }
4371 if err := x.ClientStream.CloseSend(); err != nil {
4372 return nil, err
4373 }
4374 return x, nil
4375 }
4376
4377 type Spanner_BatchWriteClient interface {
4378 Recv() (*BatchWriteResponse, error)
4379 grpc.ClientStream
4380 }
4381
4382 type spannerBatchWriteClient struct {
4383 grpc.ClientStream
4384 }
4385
4386 func (x *spannerBatchWriteClient) Recv() (*BatchWriteResponse, error) {
4387 m := new(BatchWriteResponse)
4388 if err := x.ClientStream.RecvMsg(m); err != nil {
4389 return nil, err
4390 }
4391 return m, nil
4392 }
4393
4394 // SpannerServer is the server API for Spanner service.
4395 type SpannerServer interface {
4396 // Creates a new session. A session can be used to perform
4397 // transactions that read and/or modify data in a Cloud Spanner database.
4398 // Sessions are meant to be reused for many consecutive
4399 // transactions.
4400 //
4401 // Sessions can only execute one transaction at a time. To execute
4402 // multiple concurrent read-write/write-only transactions, create
4403 // multiple sessions. Note that standalone reads and queries use a
4404 // transaction internally, and count toward the one transaction
4405 // limit.
4406 //
4407 // Active sessions use additional server resources, so it's a good idea to
4408 // delete idle and unneeded sessions.
4409 // Aside from explicit deletes, Cloud Spanner can delete sessions when no
4410 // operations are sent for more than an hour. If a session is deleted,
4411 // requests to it return `NOT_FOUND`.
4412 //
4413 // Idle sessions can be kept alive by sending a trivial SQL query
4414 // periodically, for example, `"SELECT 1"`.
4415 CreateSession(context.Context, *CreateSessionRequest) (*Session, error)
4416 // Creates multiple new sessions.
4417 //
4418 // This API can be used to initialize a session cache on the clients.
4419 // See https://goo.gl/TgSFN2 for best practices on session cache management.
4420 BatchCreateSessions(context.Context, *BatchCreateSessionsRequest) (*BatchCreateSessionsResponse, error)
4421 // Gets a session. Returns `NOT_FOUND` if the session doesn't exist.
4422 // This is mainly useful for determining whether a session is still
4423 // alive.
4424 GetSession(context.Context, *GetSessionRequest) (*Session, error)
4425 // Lists all sessions in a given database.
4426 ListSessions(context.Context, *ListSessionsRequest) (*ListSessionsResponse, error)
4427 // Ends a session, releasing server resources associated with it. This
4428 // asynchronously triggers the cancellation of any operations that are running
4429 // with this session.
4430 DeleteSession(context.Context, *DeleteSessionRequest) (*emptypb.Empty, error)
4431 // Executes an SQL statement, returning all results in a single reply. This
4432 // method can't be used to return a result set larger than 10 MiB;
4433 // if the query yields more data than that, the query fails with
4434 // a `FAILED_PRECONDITION` error.
4435 //
4436 // Operations inside read-write transactions might return `ABORTED`. If
4437 // this occurs, the application should restart the transaction from
4438 // the beginning. See [Transaction][google.spanner.v1.Transaction] for more
4439 // details.
4440 //
4441 // Larger result sets can be fetched in streaming fashion by calling
4442 // [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql]
4443 // instead.
4444 //
4445 // The query string can be SQL or [Graph Query Language
4446 // (GQL)](https://cloud.google.com/spanner/docs/reference/standard-sql/graph-intro).
4447 ExecuteSql(context.Context, *ExecuteSqlRequest) (*ResultSet, error)
4448 // Like [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql], except returns the
4449 // result set as a stream. Unlike
4450 // [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql], there is no limit on
4451 // the size of the returned result set. However, no individual row in the
4452 // result set can exceed 100 MiB, and no column value can exceed 10 MiB.
4453 //
4454 // The query string can be SQL or [Graph Query Language
4455 // (GQL)](https://cloud.google.com/spanner/docs/reference/standard-sql/graph-intro).
4456 ExecuteStreamingSql(*ExecuteSqlRequest, Spanner_ExecuteStreamingSqlServer) error
4457 // Executes a batch of SQL DML statements. This method allows many statements
4458 // to be run with lower latency than submitting them sequentially with
4459 // [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql].
4460 //
4461 // Statements are executed in sequential order. A request can succeed even if
4462 // a statement fails. The
4463 // [ExecuteBatchDmlResponse.status][google.spanner.v1.ExecuteBatchDmlResponse.status]
4464 // field in the response provides information about the statement that failed.
4465 // Clients must inspect this field to determine whether an error occurred.
4466 //
4467 // Execution stops after the first failed statement; the remaining statements
4468 // are not executed.
4469 ExecuteBatchDml(context.Context, *ExecuteBatchDmlRequest) (*ExecuteBatchDmlResponse, error)
4470 // Reads rows from the database using key lookups and scans, as a
4471 // simple key/value style alternative to
4472 // [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql]. This method can't be
4473 // used to return a result set larger than 10 MiB; if the read matches more
4474 // data than that, the read fails with a `FAILED_PRECONDITION`
4475 // error.
4476 //
4477 // Reads inside read-write transactions might return `ABORTED`. If
4478 // this occurs, the application should restart the transaction from
4479 // the beginning. See [Transaction][google.spanner.v1.Transaction] for more
4480 // details.
4481 //
4482 // Larger result sets can be yielded in streaming fashion by calling
4483 // [StreamingRead][google.spanner.v1.Spanner.StreamingRead] instead.
4484 Read(context.Context, *ReadRequest) (*ResultSet, error)
4485 // Like [Read][google.spanner.v1.Spanner.Read], except returns the result set
4486 // as a stream. Unlike [Read][google.spanner.v1.Spanner.Read], there is no
4487 // limit on the size of the returned result set. However, no individual row in
4488 // the result set can exceed 100 MiB, and no column value can exceed
4489 // 10 MiB.
4490 StreamingRead(*ReadRequest, Spanner_StreamingReadServer) error
4491 // Begins a new transaction. This step can often be skipped:
4492 // [Read][google.spanner.v1.Spanner.Read],
4493 // [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and
4494 // [Commit][google.spanner.v1.Spanner.Commit] can begin a new transaction as a
4495 // side-effect.
4496 BeginTransaction(context.Context, *BeginTransactionRequest) (*Transaction, error)
4497 // Commits a transaction. The request includes the mutations to be
4498 // applied to rows in the database.
4499 //
4500 // `Commit` might return an `ABORTED` error. This can occur at any time;
4501 // commonly, the cause is conflicts with concurrent
4502 // transactions. However, it can also happen for a variety of other
4503 // reasons. If `Commit` returns `ABORTED`, the caller should retry
4504 // the transaction from the beginning, reusing the same session.
4505 //
4506 // On very rare occasions, `Commit` might return `UNKNOWN`. This can happen,
4507 // for example, if the client job experiences a 1+ hour networking failure.
4508 // At that point, Cloud Spanner has lost track of the transaction outcome and
4509 // we recommend that you perform another read from the database to see the
4510 // state of things as they are now.
4511 Commit(context.Context, *CommitRequest) (*CommitResponse, error)
4512 // Rolls back a transaction, releasing any locks it holds. It's a good
4513 // idea to call this for any transaction that includes one or more
4514 // [Read][google.spanner.v1.Spanner.Read] or
4515 // [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] requests and ultimately
4516 // decides not to commit.
4517 //
4518 // `Rollback` returns `OK` if it successfully aborts the transaction, the
4519 // transaction was already aborted, or the transaction isn't
4520 // found. `Rollback` never returns `ABORTED`.
4521 Rollback(context.Context, *RollbackRequest) (*emptypb.Empty, error)
4522 // Creates a set of partition tokens that can be used to execute a query
4523 // operation in parallel. Each of the returned partition tokens can be used
4524 // by [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql] to
4525 // specify a subset of the query result to read. The same session and
4526 // read-only transaction must be used by the `PartitionQueryRequest` used to
4527 // create the partition tokens and the `ExecuteSqlRequests` that use the
4528 // partition tokens.
4529 //
4530 // Partition tokens become invalid when the session used to create them
4531 // is deleted, is idle for too long, begins a new transaction, or becomes too
4532 // old. When any of these happen, it isn't possible to resume the query, and
4533 // the whole operation must be restarted from the beginning.
4534 PartitionQuery(context.Context, *PartitionQueryRequest) (*PartitionResponse, error)
4535 // Creates a set of partition tokens that can be used to execute a read
4536 // operation in parallel. Each of the returned partition tokens can be used
4537 // by [StreamingRead][google.spanner.v1.Spanner.StreamingRead] to specify a
4538 // subset of the read result to read. The same session and read-only
4539 // transaction must be used by the `PartitionReadRequest` used to create the
4540 // partition tokens and the `ReadRequests` that use the partition tokens.
4541 // There are no ordering guarantees on rows returned among the returned
4542 // partition tokens, or even within each individual `StreamingRead` call
4543 // issued with a `partition_token`.
4544 //
4545 // Partition tokens become invalid when the session used to create them
4546 // is deleted, is idle for too long, begins a new transaction, or becomes too
4547 // old. When any of these happen, it isn't possible to resume the read, and
4548 // the whole operation must be restarted from the beginning.
4549 PartitionRead(context.Context, *PartitionReadRequest) (*PartitionResponse, error)
4550 // Batches the supplied mutation groups in a collection of efficient
4551 // transactions. All mutations in a group are committed atomically. However,
4552 // mutations across groups can be committed non-atomically in an unspecified
4553 // order and thus, they must be independent of each other. Partial failure is
4554 // possible, that is, some groups might have been committed successfully,
4555 // while some might have failed. The results of individual batches are
4556 // streamed into the response as the batches are applied.
4557 //
4558 // `BatchWrite` requests are not replay protected, meaning that each mutation
4559 // group can be applied more than once. Replays of non-idempotent mutations
4560 // can have undesirable effects. For example, replays of an insert mutation
4561 // can produce an already exists error or if you use generated or commit
4562 // timestamp-based keys, it can result in additional rows being added to the
4563 // mutation's table. We recommend structuring your mutation groups to be
4564 // idempotent to avoid this issue.
4565 BatchWrite(*BatchWriteRequest, Spanner_BatchWriteServer) error
4566 }
4567
4568 // UnimplementedSpannerServer can be embedded to have forward compatible implementations.
4569 type UnimplementedSpannerServer struct {
4570 }
4571
4572 func (*UnimplementedSpannerServer) CreateSession(context.Context, *CreateSessionRequest) (*Session, error) {
4573 return nil, status1.Errorf(codes.Unimplemented, "method CreateSession not implemented")
4574 }
4575 func (*UnimplementedSpannerServer) BatchCreateSessions(context.Context, *BatchCreateSessionsRequest) (*BatchCreateSessionsResponse, error) {
4576 return nil, status1.Errorf(codes.Unimplemented, "method BatchCreateSessions not implemented")
4577 }
4578 func (*UnimplementedSpannerServer) GetSession(context.Context, *GetSessionRequest) (*Session, error) {
4579 return nil, status1.Errorf(codes.Unimplemented, "method GetSession not implemented")
4580 }
4581 func (*UnimplementedSpannerServer) ListSessions(context.Context, *ListSessionsRequest) (*ListSessionsResponse, error) {
4582 return nil, status1.Errorf(codes.Unimplemented, "method ListSessions not implemented")
4583 }
4584 func (*UnimplementedSpannerServer) DeleteSession(context.Context, *DeleteSessionRequest) (*emptypb.Empty, error) {
4585 return nil, status1.Errorf(codes.Unimplemented, "method DeleteSession not implemented")
4586 }
4587 func (*UnimplementedSpannerServer) ExecuteSql(context.Context, *ExecuteSqlRequest) (*ResultSet, error) {
4588 return nil, status1.Errorf(codes.Unimplemented, "method ExecuteSql not implemented")
4589 }
4590 func (*UnimplementedSpannerServer) ExecuteStreamingSql(*ExecuteSqlRequest, Spanner_ExecuteStreamingSqlServer) error {
4591 return status1.Errorf(codes.Unimplemented, "method ExecuteStreamingSql not implemented")
4592 }
4593 func (*UnimplementedSpannerServer) ExecuteBatchDml(context.Context, *ExecuteBatchDmlRequest) (*ExecuteBatchDmlResponse, error) {
4594 return nil, status1.Errorf(codes.Unimplemented, "method ExecuteBatchDml not implemented")
4595 }
4596 func (*UnimplementedSpannerServer) Read(context.Context, *ReadRequest) (*ResultSet, error) {
4597 return nil, status1.Errorf(codes.Unimplemented, "method Read not implemented")
4598 }
4599 func (*UnimplementedSpannerServer) StreamingRead(*ReadRequest, Spanner_StreamingReadServer) error {
4600 return status1.Errorf(codes.Unimplemented, "method StreamingRead not implemented")
4601 }
4602 func (*UnimplementedSpannerServer) BeginTransaction(context.Context, *BeginTransactionRequest) (*Transaction, error) {
4603 return nil, status1.Errorf(codes.Unimplemented, "method BeginTransaction not implemented")
4604 }
4605 func (*UnimplementedSpannerServer) Commit(context.Context, *CommitRequest) (*CommitResponse, error) {
4606 return nil, status1.Errorf(codes.Unimplemented, "method Commit not implemented")
4607 }
4608 func (*UnimplementedSpannerServer) Rollback(context.Context, *RollbackRequest) (*emptypb.Empty, error) {
4609 return nil, status1.Errorf(codes.Unimplemented, "method Rollback not implemented")
4610 }
4611 func (*UnimplementedSpannerServer) PartitionQuery(context.Context, *PartitionQueryRequest) (*PartitionResponse, error) {
4612 return nil, status1.Errorf(codes.Unimplemented, "method PartitionQuery not implemented")
4613 }
4614 func (*UnimplementedSpannerServer) PartitionRead(context.Context, *PartitionReadRequest) (*PartitionResponse, error) {
4615 return nil, status1.Errorf(codes.Unimplemented, "method PartitionRead not implemented")
4616 }
4617 func (*UnimplementedSpannerServer) BatchWrite(*BatchWriteRequest, Spanner_BatchWriteServer) error {
4618 return status1.Errorf(codes.Unimplemented, "method BatchWrite not implemented")
4619 }
4620
4621 func RegisterSpannerServer(s *grpc.Server, srv SpannerServer) {
4622 s.RegisterService(&_Spanner_serviceDesc, srv)
4623 }
4624
4625 func _Spanner_CreateSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4626 in := new(CreateSessionRequest)
4627 if err := dec(in); err != nil {
4628 return nil, err
4629 }
4630 if interceptor == nil {
4631 return srv.(SpannerServer).CreateSession(ctx, in)
4632 }
4633 info := &grpc.UnaryServerInfo{
4634 Server: srv,
4635 FullMethod: "/google.spanner.v1.Spanner/CreateSession",
4636 }
4637 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4638 return srv.(SpannerServer).CreateSession(ctx, req.(*CreateSessionRequest))
4639 }
4640 return interceptor(ctx, in, info, handler)
4641 }
4642
4643 func _Spanner_BatchCreateSessions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4644 in := new(BatchCreateSessionsRequest)
4645 if err := dec(in); err != nil {
4646 return nil, err
4647 }
4648 if interceptor == nil {
4649 return srv.(SpannerServer).BatchCreateSessions(ctx, in)
4650 }
4651 info := &grpc.UnaryServerInfo{
4652 Server: srv,
4653 FullMethod: "/google.spanner.v1.Spanner/BatchCreateSessions",
4654 }
4655 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4656 return srv.(SpannerServer).BatchCreateSessions(ctx, req.(*BatchCreateSessionsRequest))
4657 }
4658 return interceptor(ctx, in, info, handler)
4659 }
4660
4661 func _Spanner_GetSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4662 in := new(GetSessionRequest)
4663 if err := dec(in); err != nil {
4664 return nil, err
4665 }
4666 if interceptor == nil {
4667 return srv.(SpannerServer).GetSession(ctx, in)
4668 }
4669 info := &grpc.UnaryServerInfo{
4670 Server: srv,
4671 FullMethod: "/google.spanner.v1.Spanner/GetSession",
4672 }
4673 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4674 return srv.(SpannerServer).GetSession(ctx, req.(*GetSessionRequest))
4675 }
4676 return interceptor(ctx, in, info, handler)
4677 }
4678
4679 func _Spanner_ListSessions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4680 in := new(ListSessionsRequest)
4681 if err := dec(in); err != nil {
4682 return nil, err
4683 }
4684 if interceptor == nil {
4685 return srv.(SpannerServer).ListSessions(ctx, in)
4686 }
4687 info := &grpc.UnaryServerInfo{
4688 Server: srv,
4689 FullMethod: "/google.spanner.v1.Spanner/ListSessions",
4690 }
4691 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4692 return srv.(SpannerServer).ListSessions(ctx, req.(*ListSessionsRequest))
4693 }
4694 return interceptor(ctx, in, info, handler)
4695 }
4696
4697 func _Spanner_DeleteSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4698 in := new(DeleteSessionRequest)
4699 if err := dec(in); err != nil {
4700 return nil, err
4701 }
4702 if interceptor == nil {
4703 return srv.(SpannerServer).DeleteSession(ctx, in)
4704 }
4705 info := &grpc.UnaryServerInfo{
4706 Server: srv,
4707 FullMethod: "/google.spanner.v1.Spanner/DeleteSession",
4708 }
4709 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4710 return srv.(SpannerServer).DeleteSession(ctx, req.(*DeleteSessionRequest))
4711 }
4712 return interceptor(ctx, in, info, handler)
4713 }
4714
4715 func _Spanner_ExecuteSql_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4716 in := new(ExecuteSqlRequest)
4717 if err := dec(in); err != nil {
4718 return nil, err
4719 }
4720 if interceptor == nil {
4721 return srv.(SpannerServer).ExecuteSql(ctx, in)
4722 }
4723 info := &grpc.UnaryServerInfo{
4724 Server: srv,
4725 FullMethod: "/google.spanner.v1.Spanner/ExecuteSql",
4726 }
4727 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4728 return srv.(SpannerServer).ExecuteSql(ctx, req.(*ExecuteSqlRequest))
4729 }
4730 return interceptor(ctx, in, info, handler)
4731 }
4732
4733 func _Spanner_ExecuteStreamingSql_Handler(srv interface{}, stream grpc.ServerStream) error {
4734 m := new(ExecuteSqlRequest)
4735 if err := stream.RecvMsg(m); err != nil {
4736 return err
4737 }
4738 return srv.(SpannerServer).ExecuteStreamingSql(m, &spannerExecuteStreamingSqlServer{stream})
4739 }
4740
4741 type Spanner_ExecuteStreamingSqlServer interface {
4742 Send(*PartialResultSet) error
4743 grpc.ServerStream
4744 }
4745
4746 type spannerExecuteStreamingSqlServer struct {
4747 grpc.ServerStream
4748 }
4749
4750 func (x *spannerExecuteStreamingSqlServer) Send(m *PartialResultSet) error {
4751 return x.ServerStream.SendMsg(m)
4752 }
4753
4754 func _Spanner_ExecuteBatchDml_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4755 in := new(ExecuteBatchDmlRequest)
4756 if err := dec(in); err != nil {
4757 return nil, err
4758 }
4759 if interceptor == nil {
4760 return srv.(SpannerServer).ExecuteBatchDml(ctx, in)
4761 }
4762 info := &grpc.UnaryServerInfo{
4763 Server: srv,
4764 FullMethod: "/google.spanner.v1.Spanner/ExecuteBatchDml",
4765 }
4766 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4767 return srv.(SpannerServer).ExecuteBatchDml(ctx, req.(*ExecuteBatchDmlRequest))
4768 }
4769 return interceptor(ctx, in, info, handler)
4770 }
4771
4772 func _Spanner_Read_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4773 in := new(ReadRequest)
4774 if err := dec(in); err != nil {
4775 return nil, err
4776 }
4777 if interceptor == nil {
4778 return srv.(SpannerServer).Read(ctx, in)
4779 }
4780 info := &grpc.UnaryServerInfo{
4781 Server: srv,
4782 FullMethod: "/google.spanner.v1.Spanner/Read",
4783 }
4784 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4785 return srv.(SpannerServer).Read(ctx, req.(*ReadRequest))
4786 }
4787 return interceptor(ctx, in, info, handler)
4788 }
4789
4790 func _Spanner_StreamingRead_Handler(srv interface{}, stream grpc.ServerStream) error {
4791 m := new(ReadRequest)
4792 if err := stream.RecvMsg(m); err != nil {
4793 return err
4794 }
4795 return srv.(SpannerServer).StreamingRead(m, &spannerStreamingReadServer{stream})
4796 }
4797
4798 type Spanner_StreamingReadServer interface {
4799 Send(*PartialResultSet) error
4800 grpc.ServerStream
4801 }
4802
4803 type spannerStreamingReadServer struct {
4804 grpc.ServerStream
4805 }
4806
4807 func (x *spannerStreamingReadServer) Send(m *PartialResultSet) error {
4808 return x.ServerStream.SendMsg(m)
4809 }
4810
4811 func _Spanner_BeginTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4812 in := new(BeginTransactionRequest)
4813 if err := dec(in); err != nil {
4814 return nil, err
4815 }
4816 if interceptor == nil {
4817 return srv.(SpannerServer).BeginTransaction(ctx, in)
4818 }
4819 info := &grpc.UnaryServerInfo{
4820 Server: srv,
4821 FullMethod: "/google.spanner.v1.Spanner/BeginTransaction",
4822 }
4823 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4824 return srv.(SpannerServer).BeginTransaction(ctx, req.(*BeginTransactionRequest))
4825 }
4826 return interceptor(ctx, in, info, handler)
4827 }
4828
4829 func _Spanner_Commit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4830 in := new(CommitRequest)
4831 if err := dec(in); err != nil {
4832 return nil, err
4833 }
4834 if interceptor == nil {
4835 return srv.(SpannerServer).Commit(ctx, in)
4836 }
4837 info := &grpc.UnaryServerInfo{
4838 Server: srv,
4839 FullMethod: "/google.spanner.v1.Spanner/Commit",
4840 }
4841 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4842 return srv.(SpannerServer).Commit(ctx, req.(*CommitRequest))
4843 }
4844 return interceptor(ctx, in, info, handler)
4845 }
4846
4847 func _Spanner_Rollback_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4848 in := new(RollbackRequest)
4849 if err := dec(in); err != nil {
4850 return nil, err
4851 }
4852 if interceptor == nil {
4853 return srv.(SpannerServer).Rollback(ctx, in)
4854 }
4855 info := &grpc.UnaryServerInfo{
4856 Server: srv,
4857 FullMethod: "/google.spanner.v1.Spanner/Rollback",
4858 }
4859 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4860 return srv.(SpannerServer).Rollback(ctx, req.(*RollbackRequest))
4861 }
4862 return interceptor(ctx, in, info, handler)
4863 }
4864
4865 func _Spanner_PartitionQuery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4866 in := new(PartitionQueryRequest)
4867 if err := dec(in); err != nil {
4868 return nil, err
4869 }
4870 if interceptor == nil {
4871 return srv.(SpannerServer).PartitionQuery(ctx, in)
4872 }
4873 info := &grpc.UnaryServerInfo{
4874 Server: srv,
4875 FullMethod: "/google.spanner.v1.Spanner/PartitionQuery",
4876 }
4877 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4878 return srv.(SpannerServer).PartitionQuery(ctx, req.(*PartitionQueryRequest))
4879 }
4880 return interceptor(ctx, in, info, handler)
4881 }
4882
4883 func _Spanner_PartitionRead_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4884 in := new(PartitionReadRequest)
4885 if err := dec(in); err != nil {
4886 return nil, err
4887 }
4888 if interceptor == nil {
4889 return srv.(SpannerServer).PartitionRead(ctx, in)
4890 }
4891 info := &grpc.UnaryServerInfo{
4892 Server: srv,
4893 FullMethod: "/google.spanner.v1.Spanner/PartitionRead",
4894 }
4895 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4896 return srv.(SpannerServer).PartitionRead(ctx, req.(*PartitionReadRequest))
4897 }
4898 return interceptor(ctx, in, info, handler)
4899 }
4900
4901 func _Spanner_BatchWrite_Handler(srv interface{}, stream grpc.ServerStream) error {
4902 m := new(BatchWriteRequest)
4903 if err := stream.RecvMsg(m); err != nil {
4904 return err
4905 }
4906 return srv.(SpannerServer).BatchWrite(m, &spannerBatchWriteServer{stream})
4907 }
4908
4909 type Spanner_BatchWriteServer interface {
4910 Send(*BatchWriteResponse) error
4911 grpc.ServerStream
4912 }
4913
4914 type spannerBatchWriteServer struct {
4915 grpc.ServerStream
4916 }
4917
4918 func (x *spannerBatchWriteServer) Send(m *BatchWriteResponse) error {
4919 return x.ServerStream.SendMsg(m)
4920 }
4921
4922 var _Spanner_serviceDesc = grpc.ServiceDesc{
4923 ServiceName: "google.spanner.v1.Spanner",
4924 HandlerType: (*SpannerServer)(nil),
4925 Methods: []grpc.MethodDesc{
4926 {
4927 MethodName: "CreateSession",
4928 Handler: _Spanner_CreateSession_Handler,
4929 },
4930 {
4931 MethodName: "BatchCreateSessions",
4932 Handler: _Spanner_BatchCreateSessions_Handler,
4933 },
4934 {
4935 MethodName: "GetSession",
4936 Handler: _Spanner_GetSession_Handler,
4937 },
4938 {
4939 MethodName: "ListSessions",
4940 Handler: _Spanner_ListSessions_Handler,
4941 },
4942 {
4943 MethodName: "DeleteSession",
4944 Handler: _Spanner_DeleteSession_Handler,
4945 },
4946 {
4947 MethodName: "ExecuteSql",
4948 Handler: _Spanner_ExecuteSql_Handler,
4949 },
4950 {
4951 MethodName: "ExecuteBatchDml",
4952 Handler: _Spanner_ExecuteBatchDml_Handler,
4953 },
4954 {
4955 MethodName: "Read",
4956 Handler: _Spanner_Read_Handler,
4957 },
4958 {
4959 MethodName: "BeginTransaction",
4960 Handler: _Spanner_BeginTransaction_Handler,
4961 },
4962 {
4963 MethodName: "Commit",
4964 Handler: _Spanner_Commit_Handler,
4965 },
4966 {
4967 MethodName: "Rollback",
4968 Handler: _Spanner_Rollback_Handler,
4969 },
4970 {
4971 MethodName: "PartitionQuery",
4972 Handler: _Spanner_PartitionQuery_Handler,
4973 },
4974 {
4975 MethodName: "PartitionRead",
4976 Handler: _Spanner_PartitionRead_Handler,
4977 },
4978 },
4979 Streams: []grpc.StreamDesc{
4980 {
4981 StreamName: "ExecuteStreamingSql",
4982 Handler: _Spanner_ExecuteStreamingSql_Handler,
4983 ServerStreams: true,
4984 },
4985 {
4986 StreamName: "StreamingRead",
4987 Handler: _Spanner_StreamingRead_Handler,
4988 ServerStreams: true,
4989 },
4990 {
4991 StreamName: "BatchWrite",
4992 Handler: _Spanner_BatchWrite_Handler,
4993 ServerStreams: true,
4994 },
4995 },
4996 Metadata: "google/spanner/v1/spanner.proto",
4997 }