Debian Codegraph @

spanner/apiv1/spannerpb/change_stream.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/change_stream.proto
20
21 package spannerpb
22
23 import (
24 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 structpb "google.golang.org/protobuf/types/known/structpb"
27 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
28 reflect "reflect"
29 sync "sync"
30 )
31
32 const (
33 // Verify that this generated code is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35 // Verify that runtime/protoimpl is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39 // Mod type describes the type of change Spanner applied to the data. For
40 // example, if the client submits an INSERT_OR_UPDATE request, Spanner will
41 // perform an insert if there is no existing row and return ModType INSERT.
42 // Alternatively, if there is an existing row, Spanner will perform an
43 // update and return ModType UPDATE.
44 type ChangeStreamRecord_DataChangeRecord_ModType int32
45
46 const (
47 // Not specified.
48 ChangeStreamRecord_DataChangeRecord_MOD_TYPE_UNSPECIFIED ChangeStreamRecord_DataChangeRecord_ModType = 0
49 // Indicates data was inserted.
50 ChangeStreamRecord_DataChangeRecord_INSERT ChangeStreamRecord_DataChangeRecord_ModType = 10
51 // Indicates existing data was updated.
52 ChangeStreamRecord_DataChangeRecord_UPDATE ChangeStreamRecord_DataChangeRecord_ModType = 20
53 // Indicates existing data was deleted.
54 ChangeStreamRecord_DataChangeRecord_DELETE ChangeStreamRecord_DataChangeRecord_ModType = 30
55 )
56
57 // Enum value maps for ChangeStreamRecord_DataChangeRecord_ModType.
58 var (
59 ChangeStreamRecord_DataChangeRecord_ModType_name = map[int32]string{
60 0: "MOD_TYPE_UNSPECIFIED",
61 10: "INSERT",
62 20: "UPDATE",
63 30: "DELETE",
64 }
65 ChangeStreamRecord_DataChangeRecord_ModType_value = map[string]int32{
66 "MOD_TYPE_UNSPECIFIED": 0,
67 "INSERT": 10,
68 "UPDATE": 20,
69 "DELETE": 30,
70 }
71 )
72
73 func (x ChangeStreamRecord_DataChangeRecord_ModType) Enum() *ChangeStreamRecord_DataChangeRecord_ModType {
74 p := new(ChangeStreamRecord_DataChangeRecord_ModType)
75 *p = x
76 return p
77 }
78
79 func (x ChangeStreamRecord_DataChangeRecord_ModType) String() string {
80 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
81 }
82
83 func (ChangeStreamRecord_DataChangeRecord_ModType) Descriptor() protoreflect.EnumDescriptor {
84 return file_google_spanner_v1_change_stream_proto_enumTypes[0].Descriptor()
85 }
86
87 func (ChangeStreamRecord_DataChangeRecord_ModType) Type() protoreflect.EnumType {
88 return &file_google_spanner_v1_change_stream_proto_enumTypes[0]
89 }
90
91 func (x ChangeStreamRecord_DataChangeRecord_ModType) Number() protoreflect.EnumNumber {
92 return protoreflect.EnumNumber(x)
93 }
94
95 // Deprecated: Use ChangeStreamRecord_DataChangeRecord_ModType.Descriptor instead.
96 func (ChangeStreamRecord_DataChangeRecord_ModType) EnumDescriptor() ([]byte, []int) {
97 return file_google_spanner_v1_change_stream_proto_rawDescGZIP(), []int{0, 0, 0}
98 }
99
100 // Value capture type describes which values are recorded in the data
101 // change record.
102 type ChangeStreamRecord_DataChangeRecord_ValueCaptureType int32
103
104 const (
105 // Not specified.
106 ChangeStreamRecord_DataChangeRecord_VALUE_CAPTURE_TYPE_UNSPECIFIED ChangeStreamRecord_DataChangeRecord_ValueCaptureType = 0
107 // Records both old and new values of the modified watched columns.
108 ChangeStreamRecord_DataChangeRecord_OLD_AND_NEW_VALUES ChangeStreamRecord_DataChangeRecord_ValueCaptureType = 10
109 // Records only new values of the modified watched columns.
110 ChangeStreamRecord_DataChangeRecord_NEW_VALUES ChangeStreamRecord_DataChangeRecord_ValueCaptureType = 20
111 // Records new values of all watched columns, including modified and
112 // unmodified columns.
113 ChangeStreamRecord_DataChangeRecord_NEW_ROW ChangeStreamRecord_DataChangeRecord_ValueCaptureType = 30
114 // Records the new values of all watched columns, including modified and
115 // unmodified columns. Also records the old values of the modified
116 // columns.
117 ChangeStreamRecord_DataChangeRecord_NEW_ROW_AND_OLD_VALUES ChangeStreamRecord_DataChangeRecord_ValueCaptureType = 40
118 )
119
120 // Enum value maps for ChangeStreamRecord_DataChangeRecord_ValueCaptureType.
121 var (
122 ChangeStreamRecord_DataChangeRecord_ValueCaptureType_name = map[int32]string{
123 0: "VALUE_CAPTURE_TYPE_UNSPECIFIED",
124 10: "OLD_AND_NEW_VALUES",
125 20: "NEW_VALUES",
126 30: "NEW_ROW",
127 40: "NEW_ROW_AND_OLD_VALUES",
128 }
129 ChangeStreamRecord_DataChangeRecord_ValueCaptureType_value = map[string]int32{
130 "VALUE_CAPTURE_TYPE_UNSPECIFIED": 0,
131 "OLD_AND_NEW_VALUES": 10,
132 "NEW_VALUES": 20,
133 "NEW_ROW": 30,
134 "NEW_ROW_AND_OLD_VALUES": 40,
135 }
136 )
137
138 func (x ChangeStreamRecord_DataChangeRecord_ValueCaptureType) Enum() *ChangeStreamRecord_DataChangeRecord_ValueCaptureType {
139 p := new(ChangeStreamRecord_DataChangeRecord_ValueCaptureType)
140 *p = x
141 return p
142 }
143
144 func (x ChangeStreamRecord_DataChangeRecord_ValueCaptureType) String() string {
145 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
146 }
147
148 func (ChangeStreamRecord_DataChangeRecord_ValueCaptureType) Descriptor() protoreflect.EnumDescriptor {
149 return file_google_spanner_v1_change_stream_proto_enumTypes[1].Descriptor()
150 }
151
152 func (ChangeStreamRecord_DataChangeRecord_ValueCaptureType) Type() protoreflect.EnumType {
153 return &file_google_spanner_v1_change_stream_proto_enumTypes[1]
154 }
155
156 func (x ChangeStreamRecord_DataChangeRecord_ValueCaptureType) Number() protoreflect.EnumNumber {
157 return protoreflect.EnumNumber(x)
158 }
159
160 // Deprecated: Use ChangeStreamRecord_DataChangeRecord_ValueCaptureType.Descriptor instead.
161 func (ChangeStreamRecord_DataChangeRecord_ValueCaptureType) EnumDescriptor() ([]byte, []int) {
162 return file_google_spanner_v1_change_stream_proto_rawDescGZIP(), []int{0, 0, 1}
163 }
164
165 // Spanner Change Streams enable customers to capture and stream out changes to
166 // their Spanner databases in real-time. A change stream
167 // can be created with option partition_mode='IMMUTABLE_KEY_RANGE' or
168 // partition_mode='MUTABLE_KEY_RANGE'.
169 //
170 // This message is only used in Change Streams created with the option
171 // partition_mode='MUTABLE_KEY_RANGE'. Spanner automatically creates a special
172 // Table-Valued Function (TVF) along with each Change Streams. The function
173 // provides access to the change stream's records. The function is named
174 // READ_<change_stream_name> (where <change_stream_name> is the
175 // name of the change stream), and it returns a table with only one column
176 // called ChangeRecord.
177 type ChangeStreamRecord struct {
178 state protoimpl.MessageState
179 sizeCache protoimpl.SizeCache
180 unknownFields protoimpl.UnknownFields
181
182 // One of the change stream subrecords.
183 //
184 // Types that are assignable to Record:
185 //
186 // *ChangeStreamRecord_DataChangeRecord_
187 // *ChangeStreamRecord_HeartbeatRecord_
188 // *ChangeStreamRecord_PartitionStartRecord_
189 // *ChangeStreamRecord_PartitionEndRecord_
190 // *ChangeStreamRecord_PartitionEventRecord_
191 Record isChangeStreamRecord_Record `protobuf_oneof:"record"`
192 }
193
194 func (x *ChangeStreamRecord) Reset() {
195 *x = ChangeStreamRecord{}
196 mi := &file_google_spanner_v1_change_stream_proto_msgTypes[0]
197 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
198 ms.StoreMessageInfo(mi)
199 }
200
201 func (x *ChangeStreamRecord) String() string {
202 return protoimpl.X.MessageStringOf(x)
203 }
204
205 func (*ChangeStreamRecord) ProtoMessage() {}
206
207 func (x *ChangeStreamRecord) ProtoReflect() protoreflect.Message {
208 mi := &file_google_spanner_v1_change_stream_proto_msgTypes[0]
209 if x != nil {
210 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
211 if ms.LoadMessageInfo() == nil {
212 ms.StoreMessageInfo(mi)
213 }
214 return ms
215 }
216 return mi.MessageOf(x)
217 }
218
219 // Deprecated: Use ChangeStreamRecord.ProtoReflect.Descriptor instead.
220 func (*ChangeStreamRecord) Descriptor() ([]byte, []int) {
221 return file_google_spanner_v1_change_stream_proto_rawDescGZIP(), []int{0}
222 }
223
224 func (m *ChangeStreamRecord) GetRecord() isChangeStreamRecord_Record {
225 if m != nil {
226 return m.Record
227 }
228 return nil
229 }
230
231 func (x *ChangeStreamRecord) GetDataChangeRecord() *ChangeStreamRecord_DataChangeRecord {
232 if x, ok := x.GetRecord().(*ChangeStreamRecord_DataChangeRecord_); ok {
233 return x.DataChangeRecord
234 }
235 return nil
236 }
237
238 func (x *ChangeStreamRecord) GetHeartbeatRecord() *ChangeStreamRecord_HeartbeatRecord {
239 if x, ok := x.GetRecord().(*ChangeStreamRecord_HeartbeatRecord_); ok {
240 return x.HeartbeatRecord
241 }
242 return nil
243 }
244
245 func (x *ChangeStreamRecord) GetPartitionStartRecord() *ChangeStreamRecord_PartitionStartRecord {
246 if x, ok := x.GetRecord().(*ChangeStreamRecord_PartitionStartRecord_); ok {
247 return x.PartitionStartRecord
248 }
249 return nil
250 }
251
252 func (x *ChangeStreamRecord) GetPartitionEndRecord() *ChangeStreamRecord_PartitionEndRecord {
253 if x, ok := x.GetRecord().(*ChangeStreamRecord_PartitionEndRecord_); ok {
254 return x.PartitionEndRecord
255 }
256 return nil
257 }
258
259 func (x *ChangeStreamRecord) GetPartitionEventRecord() *ChangeStreamRecord_PartitionEventRecord {
260 if x, ok := x.GetRecord().(*ChangeStreamRecord_PartitionEventRecord_); ok {
261 return x.PartitionEventRecord
262 }
263 return nil
264 }
265
266 type isChangeStreamRecord_Record interface {
267 isChangeStreamRecord_Record()
268 }
269
270 type ChangeStreamRecord_DataChangeRecord_ struct {
271 // Data change record describing a data change for a change stream
272 // partition.
273 DataChangeRecord *ChangeStreamRecord_DataChangeRecord `protobuf:"bytes,1,opt,name=data_change_record,json=dataChangeRecord,proto3,oneof"`
274 }
275
276 type ChangeStreamRecord_HeartbeatRecord_ struct {
277 // Heartbeat record describing a heartbeat for a change stream partition.
278 HeartbeatRecord *ChangeStreamRecord_HeartbeatRecord `protobuf:"bytes,2,opt,name=heartbeat_record,json=heartbeatRecord,proto3,oneof"`
279 }
280
281 type ChangeStreamRecord_PartitionStartRecord_ struct {
282 // Partition start record describing a new change stream partition.
283 PartitionStartRecord *ChangeStreamRecord_PartitionStartRecord `protobuf:"bytes,3,opt,name=partition_start_record,json=partitionStartRecord,proto3,oneof"`
284 }
285
286 type ChangeStreamRecord_PartitionEndRecord_ struct {
287 // Partition end record describing a terminated change stream partition.
288 PartitionEndRecord *ChangeStreamRecord_PartitionEndRecord `protobuf:"bytes,4,opt,name=partition_end_record,json=partitionEndRecord,proto3,oneof"`
289 }
290
291 type ChangeStreamRecord_PartitionEventRecord_ struct {
292 // Partition event record describing key range changes for a change stream
293 // partition.
294 PartitionEventRecord *ChangeStreamRecord_PartitionEventRecord `protobuf:"bytes,5,opt,name=partition_event_record,json=partitionEventRecord,proto3,oneof"`
295 }
296
297 func (*ChangeStreamRecord_DataChangeRecord_) isChangeStreamRecord_Record() {}
298
299 func (*ChangeStreamRecord_HeartbeatRecord_) isChangeStreamRecord_Record() {}
300
301 func (*ChangeStreamRecord_PartitionStartRecord_) isChangeStreamRecord_Record() {}
302
303 func (*ChangeStreamRecord_PartitionEndRecord_) isChangeStreamRecord_Record() {}
304
305 func (*ChangeStreamRecord_PartitionEventRecord_) isChangeStreamRecord_Record() {}
306
307 // A data change record contains a set of changes to a table with the same
308 // modification type (insert, update, or delete) committed at the same commit
309 // timestamp in one change stream partition for the same transaction. Multiple
310 // data change records can be returned for the same transaction across
311 // multiple change stream partitions.
312 type ChangeStreamRecord_DataChangeRecord struct {
313 state protoimpl.MessageState
314 sizeCache protoimpl.SizeCache
315 unknownFields protoimpl.UnknownFields
316
317 // Indicates the timestamp in which the change was committed.
318 // DataChangeRecord.commit_timestamps,
319 // PartitionStartRecord.start_timestamps,
320 // PartitionEventRecord.commit_timestamps, and
321 // PartitionEndRecord.end_timestamps can have the same value in the same
322 // partition.
323 CommitTimestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=commit_timestamp,json=commitTimestamp,proto3" json:"commit_timestamp,omitempty"`
324 // Record sequence numbers are unique and monotonically increasing (but not
325 // necessarily contiguous) for a specific timestamp across record
326 // types in the same partition. To guarantee ordered processing, the reader
327 // should process records (of potentially different types) in
328 // record_sequence order for a specific timestamp in the same partition.
329 //
330 // The record sequence number ordering across partitions is only meaningful
331 // in the context of a specific transaction. Record sequence numbers are
332 // unique across partitions for a specific transaction. Sort the
333 // DataChangeRecords for the same
334 // [server_transaction_id][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.server_transaction_id]
335 // by
336 // [record_sequence][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.record_sequence]
337 // to reconstruct the ordering of the changes within the transaction.
338 RecordSequence string `protobuf:"bytes,2,opt,name=record_sequence,json=recordSequence,proto3" json:"record_sequence,omitempty"`
339 // Provides a globally unique string that represents the transaction in
340 // which the change was committed. Multiple transactions can have the same
341 // commit timestamp, but each transaction has a unique
342 // server_transaction_id.
343 ServerTransactionId string `protobuf:"bytes,3,opt,name=server_transaction_id,json=serverTransactionId,proto3" json:"server_transaction_id,omitempty"`
344 // Indicates whether this is the last record for a transaction in the
345 //
346 // current partition. Clients can use this field to determine when all
347 // records for a transaction in the current partition have been received.
348 IsLastRecordInTransactionInPartition bool `protobuf:"varint,4,opt,name=is_last_record_in_transaction_in_partition,json=isLastRecordInTransactionInPartition,proto3" json:"is_last_record_in_transaction_in_partition,omitempty"`
349 // Name of the table affected by the change.
350 Table string `protobuf:"bytes,5,opt,name=table,proto3" json:"table,omitempty"`
351 // Provides metadata describing the columns associated with the
352 // [mods][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.mods] listed
353 // below.
354 ColumnMetadata []*ChangeStreamRecord_DataChangeRecord_ColumnMetadata `protobuf:"bytes,6,rep,name=column_metadata,json=columnMetadata,proto3" json:"column_metadata,omitempty"`
355 // Describes the changes that were made.
356 Mods []*ChangeStreamRecord_DataChangeRecord_Mod `protobuf:"bytes,7,rep,name=mods,proto3" json:"mods,omitempty"`
357 // Describes the type of change.
358 ModType ChangeStreamRecord_DataChangeRecord_ModType `protobuf:"varint,8,opt,name=mod_type,json=modType,proto3,enum=google.spanner.v1.ChangeStreamRecord_DataChangeRecord_ModType" json:"mod_type,omitempty"`
359 // Describes the value capture type that was specified in the change stream
360 // configuration when this change was captured.
361 ValueCaptureType ChangeStreamRecord_DataChangeRecord_ValueCaptureType `protobuf:"varint,9,opt,name=value_capture_type,json=valueCaptureType,proto3,enum=google.spanner.v1.ChangeStreamRecord_DataChangeRecord_ValueCaptureType" json:"value_capture_type,omitempty"`
362 // Indicates the number of data change records that are part of this
363 // transaction across all change stream partitions. This value can be used
364 // to assemble all the records associated with a particular transaction.
365 NumberOfRecordsInTransaction int32 `protobuf:"varint,10,opt,name=number_of_records_in_transaction,json=numberOfRecordsInTransaction,proto3" json:"number_of_records_in_transaction,omitempty"`
366 // Indicates the number of partitions that return data change records for
367 // this transaction. This value can be helpful in assembling all records
368 // associated with a particular transaction.
369 NumberOfPartitionsInTransaction int32 `protobuf:"varint,11,opt,name=number_of_partitions_in_transaction,json=numberOfPartitionsInTransaction,proto3" json:"number_of_partitions_in_transaction,omitempty"`
370 // Indicates the transaction tag associated with this transaction.
371 TransactionTag string `protobuf:"bytes,12,opt,name=transaction_tag,json=transactionTag,proto3" json:"transaction_tag,omitempty"`
372 // Indicates whether the transaction is a system transaction. System
373 // transactions include those issued by time-to-live (TTL), column backfill,
374 // etc.
375 IsSystemTransaction bool `protobuf:"varint,13,opt,name=is_system_transaction,json=isSystemTransaction,proto3" json:"is_system_transaction,omitempty"`
376 }
377
378 func (x *ChangeStreamRecord_DataChangeRecord) Reset() {
379 *x = ChangeStreamRecord_DataChangeRecord{}
380 mi := &file_google_spanner_v1_change_stream_proto_msgTypes[1]
381 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
382 ms.StoreMessageInfo(mi)
383 }
384
385 func (x *ChangeStreamRecord_DataChangeRecord) String() string {
386 return protoimpl.X.MessageStringOf(x)
387 }
388
389 func (*ChangeStreamRecord_DataChangeRecord) ProtoMessage() {}
390
391 func (x *ChangeStreamRecord_DataChangeRecord) ProtoReflect() protoreflect.Message {
392 mi := &file_google_spanner_v1_change_stream_proto_msgTypes[1]
393 if x != nil {
394 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
395 if ms.LoadMessageInfo() == nil {
396 ms.StoreMessageInfo(mi)
397 }
398 return ms
399 }
400 return mi.MessageOf(x)
401 }
402
403 // Deprecated: Use ChangeStreamRecord_DataChangeRecord.ProtoReflect.Descriptor instead.
404 func (*ChangeStreamRecord_DataChangeRecord) Descriptor() ([]byte, []int) {
405 return file_google_spanner_v1_change_stream_proto_rawDescGZIP(), []int{0, 0}
406 }
407
408 func (x *ChangeStreamRecord_DataChangeRecord) GetCommitTimestamp() *timestamppb.Timestamp {
409 if x != nil {
410 return x.CommitTimestamp
411 }
412 return nil
413 }
414
415 func (x *ChangeStreamRecord_DataChangeRecord) GetRecordSequence() string {
416 if x != nil {
417 return x.RecordSequence
418 }
419 return ""
420 }
421
422 func (x *ChangeStreamRecord_DataChangeRecord) GetServerTransactionId() string {
423 if x != nil {
424 return x.ServerTransactionId
425 }
426 return ""
427 }
428
429 func (x *ChangeStreamRecord_DataChangeRecord) GetIsLastRecordInTransactionInPartition() bool {
430 if x != nil {
431 return x.IsLastRecordInTransactionInPartition
432 }
433 return false
434 }
435
436 func (x *ChangeStreamRecord_DataChangeRecord) GetTable() string {
437 if x != nil {
438 return x.Table
439 }
440 return ""
441 }
442
443 func (x *ChangeStreamRecord_DataChangeRecord) GetColumnMetadata() []*ChangeStreamRecord_DataChangeRecord_ColumnMetadata {
444 if x != nil {
445 return x.ColumnMetadata
446 }
447 return nil
448 }
449
450 func (x *ChangeStreamRecord_DataChangeRecord) GetMods() []*ChangeStreamRecord_DataChangeRecord_Mod {
451 if x != nil {
452 return x.Mods
453 }
454 return nil
455 }
456
457 func (x *ChangeStreamRecord_DataChangeRecord) GetModType() ChangeStreamRecord_DataChangeRecord_ModType {
458 if x != nil {
459 return x.ModType
460 }
461 return ChangeStreamRecord_DataChangeRecord_MOD_TYPE_UNSPECIFIED
462 }
463
464 func (x *ChangeStreamRecord_DataChangeRecord) GetValueCaptureType() ChangeStreamRecord_DataChangeRecord_ValueCaptureType {
465 if x != nil {
466 return x.ValueCaptureType
467 }
468 return ChangeStreamRecord_DataChangeRecord_VALUE_CAPTURE_TYPE_UNSPECIFIED
469 }
470
471 func (x *ChangeStreamRecord_DataChangeRecord) GetNumberOfRecordsInTransaction() int32 {
472 if x != nil {
473 return x.NumberOfRecordsInTransaction
474 }
475 return 0
476 }
477
478 func (x *ChangeStreamRecord_DataChangeRecord) GetNumberOfPartitionsInTransaction() int32 {
479 if x != nil {
480 return x.NumberOfPartitionsInTransaction
481 }
482 return 0
483 }
484
485 func (x *ChangeStreamRecord_DataChangeRecord) GetTransactionTag() string {
486 if x != nil {
487 return x.TransactionTag
488 }
489 return ""
490 }
491
492 func (x *ChangeStreamRecord_DataChangeRecord) GetIsSystemTransaction() bool {
493 if x != nil {
494 return x.IsSystemTransaction
495 }
496 return false
497 }
498
499 // A heartbeat record is returned as a progress indicator, when there are no
500 // data changes or any other partition record types in the change stream
501 // partition.
502 type ChangeStreamRecord_HeartbeatRecord struct {
503 state protoimpl.MessageState
504 sizeCache protoimpl.SizeCache
505 unknownFields protoimpl.UnknownFields
506
507 // Indicates the timestamp at which the query has returned all the records
508 // in the change stream partition with timestamp <= heartbeat timestamp.
509 // The heartbeat timestamp will not be the same as the timestamps of other
510 // record types in the same partition.
511 Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
512 }
513
514 func (x *ChangeStreamRecord_HeartbeatRecord) Reset() {
515 *x = ChangeStreamRecord_HeartbeatRecord{}
516 mi := &file_google_spanner_v1_change_stream_proto_msgTypes[2]
517 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
518 ms.StoreMessageInfo(mi)
519 }
520
521 func (x *ChangeStreamRecord_HeartbeatRecord) String() string {
522 return protoimpl.X.MessageStringOf(x)
523 }
524
525 func (*ChangeStreamRecord_HeartbeatRecord) ProtoMessage() {}
526
527 func (x *ChangeStreamRecord_HeartbeatRecord) ProtoReflect() protoreflect.Message {
528 mi := &file_google_spanner_v1_change_stream_proto_msgTypes[2]
529 if x != nil {
530 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
531 if ms.LoadMessageInfo() == nil {
532 ms.StoreMessageInfo(mi)
533 }
534 return ms
535 }
536 return mi.MessageOf(x)
537 }
538
539 // Deprecated: Use ChangeStreamRecord_HeartbeatRecord.ProtoReflect.Descriptor instead.
540 func (*ChangeStreamRecord_HeartbeatRecord) Descriptor() ([]byte, []int) {
541 return file_google_spanner_v1_change_stream_proto_rawDescGZIP(), []int{0, 1}
542 }
543
544 func (x *ChangeStreamRecord_HeartbeatRecord) GetTimestamp() *timestamppb.Timestamp {
545 if x != nil {
546 return x.Timestamp
547 }
548 return nil
549 }
550
551 // A partition start record serves as a notification that the client should
552 // schedule the partitions to be queried. PartitionStartRecord returns
553 // information about one or more partitions.
554 type ChangeStreamRecord_PartitionStartRecord struct {
555 state protoimpl.MessageState
556 sizeCache protoimpl.SizeCache
557 unknownFields protoimpl.UnknownFields
558
559 // Start timestamp at which the partitions should be queried to return
560 // change stream records with timestamps >= start_timestamp.
561 // DataChangeRecord.commit_timestamps,
562 // PartitionStartRecord.start_timestamps,
563 // PartitionEventRecord.commit_timestamps, and
564 // PartitionEndRecord.end_timestamps can have the same value in the same
565 // partition.
566 StartTimestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_timestamp,json=startTimestamp,proto3" json:"start_timestamp,omitempty"`
567 // Record sequence numbers are unique and monotonically increasing (but not
568 // necessarily contiguous) for a specific timestamp across record
569 // types in the same partition. To guarantee ordered processing, the reader
570 // should process records (of potentially different types) in
571 // record_sequence order for a specific timestamp in the same partition.
572 RecordSequence string `protobuf:"bytes,2,opt,name=record_sequence,json=recordSequence,proto3" json:"record_sequence,omitempty"`
573 // Unique partition identifiers to be used in queries.
574 PartitionTokens []string `protobuf:"bytes,3,rep,name=partition_tokens,json=partitionTokens,proto3" json:"partition_tokens,omitempty"`
575 }
576
577 func (x *ChangeStreamRecord_PartitionStartRecord) Reset() {
578 *x = ChangeStreamRecord_PartitionStartRecord{}
579 mi := &file_google_spanner_v1_change_stream_proto_msgTypes[3]
580 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
581 ms.StoreMessageInfo(mi)
582 }
583
584 func (x *ChangeStreamRecord_PartitionStartRecord) String() string {
585 return protoimpl.X.MessageStringOf(x)
586 }
587
588 func (*ChangeStreamRecord_PartitionStartRecord) ProtoMessage() {}
589
590 func (x *ChangeStreamRecord_PartitionStartRecord) ProtoReflect() protoreflect.Message {
591 mi := &file_google_spanner_v1_change_stream_proto_msgTypes[3]
592 if x != nil {
593 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
594 if ms.LoadMessageInfo() == nil {
595 ms.StoreMessageInfo(mi)
596 }
597 return ms
598 }
599 return mi.MessageOf(x)
600 }
601
602 // Deprecated: Use ChangeStreamRecord_PartitionStartRecord.ProtoReflect.Descriptor instead.
603 func (*ChangeStreamRecord_PartitionStartRecord) Descriptor() ([]byte, []int) {
604 return file_google_spanner_v1_change_stream_proto_rawDescGZIP(), []int{0, 2}
605 }
606
607 func (x *ChangeStreamRecord_PartitionStartRecord) GetStartTimestamp() *timestamppb.Timestamp {
608 if x != nil {
609 return x.StartTimestamp
610 }
611 return nil
612 }
613
614 func (x *ChangeStreamRecord_PartitionStartRecord) GetRecordSequence() string {
615 if x != nil {
616 return x.RecordSequence
617 }
618 return ""
619 }
620
621 func (x *ChangeStreamRecord_PartitionStartRecord) GetPartitionTokens() []string {
622 if x != nil {
623 return x.PartitionTokens
624 }
625 return nil
626 }
627
628 // A partition end record serves as a notification that the client should stop
629 // reading the partition. No further records are expected to be retrieved on
630 // it.
631 type ChangeStreamRecord_PartitionEndRecord struct {
632 state protoimpl.MessageState
633 sizeCache protoimpl.SizeCache
634 unknownFields protoimpl.UnknownFields
635
636 // End timestamp at which the change stream partition is terminated. All
637 // changes generated by this partition will have timestamps <=
638 // end_timestamp. DataChangeRecord.commit_timestamps,
639 // PartitionStartRecord.start_timestamps,
640 // PartitionEventRecord.commit_timestamps, and
641 // PartitionEndRecord.end_timestamps can have the same value in the same
642 // partition. PartitionEndRecord is the last record returned for a
643 // partition.
644 EndTimestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=end_timestamp,json=endTimestamp,proto3" json:"end_timestamp,omitempty"`
645 // Record sequence numbers are unique and monotonically increasing (but not
646 // necessarily contiguous) for a specific timestamp across record
647 // types in the same partition. To guarantee ordered processing, the reader
648 // should process records (of potentially different types) in
649 // record_sequence order for a specific timestamp in the same partition.
650 RecordSequence string `protobuf:"bytes,2,opt,name=record_sequence,json=recordSequence,proto3" json:"record_sequence,omitempty"`
651 // Unique partition identifier describing the terminated change stream
652 // partition.
653 // [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEndRecord.partition_token]
654 // is equal to the partition token of the change stream partition currently
655 // queried to return this PartitionEndRecord.
656 PartitionToken string `protobuf:"bytes,3,opt,name=partition_token,json=partitionToken,proto3" json:"partition_token,omitempty"`
657 }
658
659 func (x *ChangeStreamRecord_PartitionEndRecord) Reset() {
660 *x = ChangeStreamRecord_PartitionEndRecord{}
661 mi := &file_google_spanner_v1_change_stream_proto_msgTypes[4]
662 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
663 ms.StoreMessageInfo(mi)
664 }
665
666 func (x *ChangeStreamRecord_PartitionEndRecord) String() string {
667 return protoimpl.X.MessageStringOf(x)
668 }
669
670 func (*ChangeStreamRecord_PartitionEndRecord) ProtoMessage() {}
671
672 func (x *ChangeStreamRecord_PartitionEndRecord) ProtoReflect() protoreflect.Message {
673 mi := &file_google_spanner_v1_change_stream_proto_msgTypes[4]
674 if x != nil {
675 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
676 if ms.LoadMessageInfo() == nil {
677 ms.StoreMessageInfo(mi)
678 }
679 return ms
680 }
681 return mi.MessageOf(x)
682 }
683
684 // Deprecated: Use ChangeStreamRecord_PartitionEndRecord.ProtoReflect.Descriptor instead.
685 func (*ChangeStreamRecord_PartitionEndRecord) Descriptor() ([]byte, []int) {
686 return file_google_spanner_v1_change_stream_proto_rawDescGZIP(), []int{0, 3}
687 }
688
689 func (x *ChangeStreamRecord_PartitionEndRecord) GetEndTimestamp() *timestamppb.Timestamp {
690 if x != nil {
691 return x.EndTimestamp
692 }
693 return nil
694 }
695
696 func (x *ChangeStreamRecord_PartitionEndRecord) GetRecordSequence() string {
697 if x != nil {
698 return x.RecordSequence
699 }
700 return ""
701 }
702
703 func (x *ChangeStreamRecord_PartitionEndRecord) GetPartitionToken() string {
704 if x != nil {
705 return x.PartitionToken
706 }
707 return ""
708 }
709
710 // A partition event record describes key range changes for a change stream
711 // partition. The changes to a row defined by its primary key can be captured
712 // in one change stream partition for a specific time range, and then be
713 // captured in a different change stream partition for a different time range.
714 // This movement of key ranges across change stream partitions is a reflection
715 // of activities, such as Spanner's dynamic splitting and load balancing, etc.
716 // Processing this event is needed if users want to guarantee processing of
717 // the changes for any key in timestamp order. If time ordered processing of
718 // changes for a primary key is not needed, this event can be ignored.
719 // To guarantee time ordered processing for each primary key, if the event
720 // describes move-ins, the reader of this partition needs to wait until the
721 // readers of the source partitions have processed all records with timestamps
722 // <= this PartitionEventRecord.commit_timestamp, before advancing beyond this
723 // PartitionEventRecord. If the event describes move-outs, the reader can
724 // notify the readers of the destination partitions that they can continue
725 // processing.
726 type ChangeStreamRecord_PartitionEventRecord struct {
727 state protoimpl.MessageState
728 sizeCache protoimpl.SizeCache
729 unknownFields protoimpl.UnknownFields
730
731 // Indicates the commit timestamp at which the key range change occurred.
732 // DataChangeRecord.commit_timestamps,
733 // PartitionStartRecord.start_timestamps,
734 // PartitionEventRecord.commit_timestamps, and
735 // PartitionEndRecord.end_timestamps can have the same value in the same
736 // partition.
737 CommitTimestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=commit_timestamp,json=commitTimestamp,proto3" json:"commit_timestamp,omitempty"`
738 // Record sequence numbers are unique and monotonically increasing (but not
739 // necessarily contiguous) for a specific timestamp across record
740 // types in the same partition. To guarantee ordered processing, the reader
741 // should process records (of potentially different types) in
742 // record_sequence order for a specific timestamp in the same partition.
743 RecordSequence string `protobuf:"bytes,2,opt,name=record_sequence,json=recordSequence,proto3" json:"record_sequence,omitempty"`
744 // Unique partition identifier describing the partition this event
745 // occurred on.
746 // [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token]
747 // is equal to the partition token of the change stream partition currently
748 // queried to return this PartitionEventRecord.
749 PartitionToken string `protobuf:"bytes,3,opt,name=partition_token,json=partitionToken,proto3" json:"partition_token,omitempty"`
750 // Set when one or more key ranges are moved into the change stream
751 // partition identified by
752 // [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
753 //
754 // Example: Two key ranges are moved into partition (P1) from partition (P2)
755 // and partition (P3) in a single transaction at timestamp T.
756 //
757 // The PartitionEventRecord returned in P1 will reflect the move as:
758 //
759 // PartitionEventRecord {
760 // commit_timestamp: T
761 // partition_token: "P1"
762 // move_in_events {
763 // source_partition_token: "P2"
764 // }
765 // move_in_events {
766 // source_partition_token: "P3"
767 // }
768 // }
769 //
770 // The PartitionEventRecord returned in P2 will reflect the move as:
771 //
772 // PartitionEventRecord {
773 // commit_timestamp: T
774 // partition_token: "P2"
775 // move_out_events {
776 // destination_partition_token: "P1"
777 // }
778 // }
779 //
780 // The PartitionEventRecord returned in P3 will reflect the move as:
781 //
782 // PartitionEventRecord {
783 // commit_timestamp: T
784 // partition_token: "P3"
785 // move_out_events {
786 // destination_partition_token: "P1"
787 // }
788 // }
789 MoveInEvents []*ChangeStreamRecord_PartitionEventRecord_MoveInEvent `protobuf:"bytes,4,rep,name=move_in_events,json=moveInEvents,proto3" json:"move_in_events,omitempty"`
790 // Set when one or more key ranges are moved out of the change stream
791 // partition identified by
792 // [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
793 //
794 // Example: Two key ranges are moved out of partition (P1) to partition (P2)
795 // and partition (P3) in a single transaction at timestamp T.
796 //
797 // The PartitionEventRecord returned in P1 will reflect the move as:
798 //
799 // PartitionEventRecord {
800 // commit_timestamp: T
801 // partition_token: "P1"
802 // move_out_events {
803 // destination_partition_token: "P2"
804 // }
805 // move_out_events {
806 // destination_partition_token: "P3"
807 // }
808 // }
809 //
810 // The PartitionEventRecord returned in P2 will reflect the move as:
811 //
812 // PartitionEventRecord {
813 // commit_timestamp: T
814 // partition_token: "P2"
815 // move_in_events {
816 // source_partition_token: "P1"
817 // }
818 // }
819 //
820 // The PartitionEventRecord returned in P3 will reflect the move as:
821 //
822 // PartitionEventRecord {
823 // commit_timestamp: T
824 // partition_token: "P3"
825 // move_in_events {
826 // source_partition_token: "P1"
827 // }
828 // }
829 MoveOutEvents []*ChangeStreamRecord_PartitionEventRecord_MoveOutEvent `protobuf:"bytes,5,rep,name=move_out_events,json=moveOutEvents,proto3" json:"move_out_events,omitempty"`
830 }
831
832 func (x *ChangeStreamRecord_PartitionEventRecord) Reset() {
833 *x = ChangeStreamRecord_PartitionEventRecord{}
834 mi := &file_google_spanner_v1_change_stream_proto_msgTypes[5]
835 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
836 ms.StoreMessageInfo(mi)
837 }
838
839 func (x *ChangeStreamRecord_PartitionEventRecord) String() string {
840 return protoimpl.X.MessageStringOf(x)
841 }
842
843 func (*ChangeStreamRecord_PartitionEventRecord) ProtoMessage() {}
844
845 func (x *ChangeStreamRecord_PartitionEventRecord) ProtoReflect() protoreflect.Message {
846 mi := &file_google_spanner_v1_change_stream_proto_msgTypes[5]
847 if x != nil {
848 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
849 if ms.LoadMessageInfo() == nil {
850 ms.StoreMessageInfo(mi)
851 }
852 return ms
853 }
854 return mi.MessageOf(x)
855 }
856
857 // Deprecated: Use ChangeStreamRecord_PartitionEventRecord.ProtoReflect.Descriptor instead.
858 func (*ChangeStreamRecord_PartitionEventRecord) Descriptor() ([]byte, []int) {
859 return file_google_spanner_v1_change_stream_proto_rawDescGZIP(), []int{0, 4}
860 }
861
862 func (x *ChangeStreamRecord_PartitionEventRecord) GetCommitTimestamp() *timestamppb.Timestamp {
863 if x != nil {
864 return x.CommitTimestamp
865 }
866 return nil
867 }
868
869 func (x *ChangeStreamRecord_PartitionEventRecord) GetRecordSequence() string {
870 if x != nil {
871 return x.RecordSequence
872 }
873 return ""
874 }
875
876 func (x *ChangeStreamRecord_PartitionEventRecord) GetPartitionToken() string {
877 if x != nil {
878 return x.PartitionToken
879 }
880 return ""
881 }
882
883 func (x *ChangeStreamRecord_PartitionEventRecord) GetMoveInEvents() []*ChangeStreamRecord_PartitionEventRecord_MoveInEvent {
884 if x != nil {
885 return x.MoveInEvents
886 }
887 return nil
888 }
889
890 func (x *ChangeStreamRecord_PartitionEventRecord) GetMoveOutEvents() []*ChangeStreamRecord_PartitionEventRecord_MoveOutEvent {
891 if x != nil {
892 return x.MoveOutEvents
893 }
894 return nil
895 }
896
897 // Metadata for a column.
898 type ChangeStreamRecord_DataChangeRecord_ColumnMetadata struct {
899 state protoimpl.MessageState
900 sizeCache protoimpl.SizeCache
901 unknownFields protoimpl.UnknownFields
902
903 // Name of the column.
904 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
905 // Type of the column.
906 Type *Type `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
907 // Indicates whether the column is a primary key column.
908 IsPrimaryKey bool `protobuf:"varint,3,opt,name=is_primary_key,json=isPrimaryKey,proto3" json:"is_primary_key,omitempty"`
909 // Ordinal position of the column based on the original table definition
910 // in the schema starting with a value of 1.
911 OrdinalPosition int64 `protobuf:"varint,4,opt,name=ordinal_position,json=ordinalPosition,proto3" json:"ordinal_position,omitempty"`
912 }
913
914 func (x *ChangeStreamRecord_DataChangeRecord_ColumnMetadata) Reset() {
915 *x = ChangeStreamRecord_DataChangeRecord_ColumnMetadata{}
916 mi := &file_google_spanner_v1_change_stream_proto_msgTypes[6]
917 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
918 ms.StoreMessageInfo(mi)
919 }
920
921 func (x *ChangeStreamRecord_DataChangeRecord_ColumnMetadata) String() string {
922 return protoimpl.X.MessageStringOf(x)
923 }
924
925 func (*ChangeStreamRecord_DataChangeRecord_ColumnMetadata) ProtoMessage() {}
926
927 func (x *ChangeStreamRecord_DataChangeRecord_ColumnMetadata) ProtoReflect() protoreflect.Message {
928 mi := &file_google_spanner_v1_change_stream_proto_msgTypes[6]
929 if x != nil {
930 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
931 if ms.LoadMessageInfo() == nil {
932 ms.StoreMessageInfo(mi)
933 }
934 return ms
935 }
936 return mi.MessageOf(x)
937 }
938
939 // Deprecated: Use ChangeStreamRecord_DataChangeRecord_ColumnMetadata.ProtoReflect.Descriptor instead.
940 func (*ChangeStreamRecord_DataChangeRecord_ColumnMetadata) Descriptor() ([]byte, []int) {
941 return file_google_spanner_v1_change_stream_proto_rawDescGZIP(), []int{0, 0, 0}
942 }
943
944 func (x *ChangeStreamRecord_DataChangeRecord_ColumnMetadata) GetName() string {
945 if x != nil {
946 return x.Name
947 }
948 return ""
949 }
950
951 func (x *ChangeStreamRecord_DataChangeRecord_ColumnMetadata) GetType() *Type {
952 if x != nil {
953 return x.Type
954 }
955 return nil
956 }
957
958 func (x *ChangeStreamRecord_DataChangeRecord_ColumnMetadata) GetIsPrimaryKey() bool {
959 if x != nil {
960 return x.IsPrimaryKey
961 }
962 return false
963 }
964
965 func (x *ChangeStreamRecord_DataChangeRecord_ColumnMetadata) GetOrdinalPosition() int64 {
966 if x != nil {
967 return x.OrdinalPosition
968 }
969 return 0
970 }
971
972 // Returns the value and associated metadata for a particular field of the
973 // [Mod][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod].
974 type ChangeStreamRecord_DataChangeRecord_ModValue struct {
975 state protoimpl.MessageState
976 sizeCache protoimpl.SizeCache
977 unknownFields protoimpl.UnknownFields
978
979 // Index within the repeated
980 // [column_metadata][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.column_metadata]
981 // field, to obtain the column metadata for the column that was modified.
982 ColumnMetadataIndex int32 `protobuf:"varint,1,opt,name=column_metadata_index,json=columnMetadataIndex,proto3" json:"column_metadata_index,omitempty"`
983 // The value of the column.
984 Value *structpb.Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
985 }
986
987 func (x *ChangeStreamRecord_DataChangeRecord_ModValue) Reset() {
988 *x = ChangeStreamRecord_DataChangeRecord_ModValue{}
989 mi := &file_google_spanner_v1_change_stream_proto_msgTypes[7]
990 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
991 ms.StoreMessageInfo(mi)
992 }
993
994 func (x *ChangeStreamRecord_DataChangeRecord_ModValue) String() string {
995 return protoimpl.X.MessageStringOf(x)
996 }
997
998 func (*ChangeStreamRecord_DataChangeRecord_ModValue) ProtoMessage() {}
999
1000 func (x *ChangeStreamRecord_DataChangeRecord_ModValue) ProtoReflect() protoreflect.Message {
1001 mi := &file_google_spanner_v1_change_stream_proto_msgTypes[7]
1002 if x != nil {
1003 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1004 if ms.LoadMessageInfo() == nil {
1005 ms.StoreMessageInfo(mi)
1006 }
1007 return ms
1008 }
1009 return mi.MessageOf(x)
1010 }
1011
1012 // Deprecated: Use ChangeStreamRecord_DataChangeRecord_ModValue.ProtoReflect.Descriptor instead.
1013 func (*ChangeStreamRecord_DataChangeRecord_ModValue) Descriptor() ([]byte, []int) {
1014 return file_google_spanner_v1_change_stream_proto_rawDescGZIP(), []int{0, 0, 1}
1015 }
1016
1017 func (x *ChangeStreamRecord_DataChangeRecord_ModValue) GetColumnMetadataIndex() int32 {
1018 if x != nil {
1019 return x.ColumnMetadataIndex
1020 }
1021 return 0
1022 }
1023
1024 func (x *ChangeStreamRecord_DataChangeRecord_ModValue) GetValue() *structpb.Value {
1025 if x != nil {
1026 return x.Value
1027 }
1028 return nil
1029 }
1030
1031 // A mod describes all data changes in a watched table row.
1032 type ChangeStreamRecord_DataChangeRecord_Mod struct {
1033 state protoimpl.MessageState
1034 sizeCache protoimpl.SizeCache
1035 unknownFields protoimpl.UnknownFields
1036
1037 // Returns the value of the primary key of the modified row.
1038 Keys []*ChangeStreamRecord_DataChangeRecord_ModValue `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
1039 // Returns the old values before the change for the modified columns.
1040 // Always empty for
1041 // [INSERT][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModType.INSERT],
1042 // or if old values are not being captured specified by
1043 // [value_capture_type][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ValueCaptureType].
1044 OldValues []*ChangeStreamRecord_DataChangeRecord_ModValue `protobuf:"bytes,2,rep,name=old_values,json=oldValues,proto3" json:"old_values,omitempty"`
1045 // Returns the new values after the change for the modified columns.
1046 // Always empty for
1047 // [DELETE][google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModType.DELETE].
1048 NewValues []*ChangeStreamRecord_DataChangeRecord_ModValue `protobuf:"bytes,3,rep,name=new_values,json=newValues,proto3" json:"new_values,omitempty"`
1049 }
1050
1051 func (x *ChangeStreamRecord_DataChangeRecord_Mod) Reset() {
1052 *x = ChangeStreamRecord_DataChangeRecord_Mod{}
1053 mi := &file_google_spanner_v1_change_stream_proto_msgTypes[8]
1054 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1055 ms.StoreMessageInfo(mi)
1056 }
1057
1058 func (x *ChangeStreamRecord_DataChangeRecord_Mod) String() string {
1059 return protoimpl.X.MessageStringOf(x)
1060 }
1061
1062 func (*ChangeStreamRecord_DataChangeRecord_Mod) ProtoMessage() {}
1063
1064 func (x *ChangeStreamRecord_DataChangeRecord_Mod) ProtoReflect() protoreflect.Message {
1065 mi := &file_google_spanner_v1_change_stream_proto_msgTypes[8]
1066 if x != nil {
1067 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1068 if ms.LoadMessageInfo() == nil {
1069 ms.StoreMessageInfo(mi)
1070 }
1071 return ms
1072 }
1073 return mi.MessageOf(x)
1074 }
1075
1076 // Deprecated: Use ChangeStreamRecord_DataChangeRecord_Mod.ProtoReflect.Descriptor instead.
1077 func (*ChangeStreamRecord_DataChangeRecord_Mod) Descriptor() ([]byte, []int) {
1078 return file_google_spanner_v1_change_stream_proto_rawDescGZIP(), []int{0, 0, 2}
1079 }
1080
1081 func (x *ChangeStreamRecord_DataChangeRecord_Mod) GetKeys() []*ChangeStreamRecord_DataChangeRecord_ModValue {
1082 if x != nil {
1083 return x.Keys
1084 }
1085 return nil
1086 }
1087
1088 func (x *ChangeStreamRecord_DataChangeRecord_Mod) GetOldValues() []*ChangeStreamRecord_DataChangeRecord_ModValue {
1089 if x != nil {
1090 return x.OldValues
1091 }
1092 return nil
1093 }
1094
1095 func (x *ChangeStreamRecord_DataChangeRecord_Mod) GetNewValues() []*ChangeStreamRecord_DataChangeRecord_ModValue {
1096 if x != nil {
1097 return x.NewValues
1098 }
1099 return nil
1100 }
1101
1102 // Describes move-in of the key ranges into the change stream partition
1103 // identified by
1104 // [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
1105 //
1106 // To maintain processing the changes for a particular key in timestamp
1107 // order, the query processing the change stream partition identified by
1108 // [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token]
1109 // should not advance beyond the partition event record commit timestamp
1110 // until the queries processing the source change stream partitions have
1111 // processed all change stream records with timestamps <= the partition
1112 // event record commit timestamp.
1113 type ChangeStreamRecord_PartitionEventRecord_MoveInEvent struct {
1114 state protoimpl.MessageState
1115 sizeCache protoimpl.SizeCache
1116 unknownFields protoimpl.UnknownFields
1117
1118 // An unique partition identifier describing the source change stream
1119 // partition that recorded changes for the key range that is moving
1120 // into this partition.
1121 SourcePartitionToken string `protobuf:"bytes,1,opt,name=source_partition_token,json=sourcePartitionToken,proto3" json:"source_partition_token,omitempty"`
1122 }
1123
1124 func (x *ChangeStreamRecord_PartitionEventRecord_MoveInEvent) Reset() {
1125 *x = ChangeStreamRecord_PartitionEventRecord_MoveInEvent{}
1126 mi := &file_google_spanner_v1_change_stream_proto_msgTypes[9]
1127 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1128 ms.StoreMessageInfo(mi)
1129 }
1130
1131 func (x *ChangeStreamRecord_PartitionEventRecord_MoveInEvent) String() string {
1132 return protoimpl.X.MessageStringOf(x)
1133 }
1134
1135 func (*ChangeStreamRecord_PartitionEventRecord_MoveInEvent) ProtoMessage() {}
1136
1137 func (x *ChangeStreamRecord_PartitionEventRecord_MoveInEvent) ProtoReflect() protoreflect.Message {
1138 mi := &file_google_spanner_v1_change_stream_proto_msgTypes[9]
1139 if x != nil {
1140 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1141 if ms.LoadMessageInfo() == nil {
1142 ms.StoreMessageInfo(mi)
1143 }
1144 return ms
1145 }
1146 return mi.MessageOf(x)
1147 }
1148
1149 // Deprecated: Use ChangeStreamRecord_PartitionEventRecord_MoveInEvent.ProtoReflect.Descriptor instead.
1150 func (*ChangeStreamRecord_PartitionEventRecord_MoveInEvent) Descriptor() ([]byte, []int) {
1151 return file_google_spanner_v1_change_stream_proto_rawDescGZIP(), []int{0, 4, 0}
1152 }
1153
1154 func (x *ChangeStreamRecord_PartitionEventRecord_MoveInEvent) GetSourcePartitionToken() string {
1155 if x != nil {
1156 return x.SourcePartitionToken
1157 }
1158 return ""
1159 }
1160
1161 // Describes move-out of the key ranges out of the change stream partition
1162 // identified by
1163 // [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token].
1164 //
1165 // To maintain processing the changes for a particular key in timestamp
1166 // order, the query processing the
1167 // [MoveOutEvent][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent]
1168 // in the partition identified by
1169 // [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.partition_token]
1170 // should inform the queries processing the destination partitions that
1171 // they can unblock and proceed processing records past the
1172 // [commit_timestamp][google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.commit_timestamp].
1173 type ChangeStreamRecord_PartitionEventRecord_MoveOutEvent struct {
1174 state protoimpl.MessageState
1175 sizeCache protoimpl.SizeCache
1176 unknownFields protoimpl.UnknownFields
1177
1178 // An unique partition identifier describing the destination change
1179 // stream partition that will record changes for the key range that is
1180 // moving out of this partition.
1181 DestinationPartitionToken string `protobuf:"bytes,1,opt,name=destination_partition_token,json=destinationPartitionToken,proto3" json:"destination_partition_token,omitempty"`
1182 }
1183
1184 func (x *ChangeStreamRecord_PartitionEventRecord_MoveOutEvent) Reset() {
1185 *x = ChangeStreamRecord_PartitionEventRecord_MoveOutEvent{}
1186 mi := &file_google_spanner_v1_change_stream_proto_msgTypes[10]
1187 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1188 ms.StoreMessageInfo(mi)
1189 }
1190
1191 func (x *ChangeStreamRecord_PartitionEventRecord_MoveOutEvent) String() string {
1192 return protoimpl.X.MessageStringOf(x)
1193 }
1194
1195 func (*ChangeStreamRecord_PartitionEventRecord_MoveOutEvent) ProtoMessage() {}
1196
1197 func (x *ChangeStreamRecord_PartitionEventRecord_MoveOutEvent) ProtoReflect() protoreflect.Message {
1198 mi := &file_google_spanner_v1_change_stream_proto_msgTypes[10]
1199 if x != nil {
1200 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1201 if ms.LoadMessageInfo() == nil {
1202 ms.StoreMessageInfo(mi)
1203 }
1204 return ms
1205 }
1206 return mi.MessageOf(x)
1207 }
1208
1209 // Deprecated: Use ChangeStreamRecord_PartitionEventRecord_MoveOutEvent.ProtoReflect.Descriptor instead.
1210 func (*ChangeStreamRecord_PartitionEventRecord_MoveOutEvent) Descriptor() ([]byte, []int) {
1211 return file_google_spanner_v1_change_stream_proto_rawDescGZIP(), []int{0, 4, 1}
1212 }
1213
1214 func (x *ChangeStreamRecord_PartitionEventRecord_MoveOutEvent) GetDestinationPartitionToken() string {
1215 if x != nil {
1216 return x.DestinationPartitionToken
1217 }
1218 return ""
1219 }
1220
1221 var File_google_spanner_v1_change_stream_proto protoreflect.FileDescriptor
1222
1223 var file_google_spanner_v1_change_stream_proto_rawDesc = []byte{
1224 0x0a, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72,
1225 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61,
1226 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1227 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67,
1228 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75,
1229 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1230 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
1231 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1232 0x65, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x79, 0x70,
1233 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc0, 0x19, 0x0a, 0x12, 0x43, 0x68, 0x61, 0x6e,
1234 0x67, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x66,
1235 0x0a, 0x12, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x65,
1236 0x63, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f,
1237 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43,
1238 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72,
1239 0x64, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x6f,
1240 0x72, 0x64, 0x48, 0x00, 0x52, 0x10, 0x64, 0x61, 0x74, 0x61, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,
1241 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x62, 0x0a, 0x10, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62,
1242 0x65, 0x61, 0x74, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
1243 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65,
1244 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61,
1245 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61,
1246 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x48, 0x00, 0x52, 0x0f, 0x68, 0x65, 0x61, 0x72, 0x74,
1247 0x62, 0x65, 0x61, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x72, 0x0a, 0x16, 0x70, 0x61,
1248 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x72, 0x65,
1249 0x63, 0x6f, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f,
1250 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43,
1251 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72,
1252 0x64, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x72, 0x74,
1253 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x48, 0x00, 0x52, 0x14, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74,
1254 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x6c,
1255 0x0a, 0x14, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x64, 0x5f,
1256 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67,
1257 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31,
1258 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x63,
1259 0x6f, 0x72, 0x64, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64,
1260 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x48, 0x00, 0x52, 0x12, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74,
1261 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x72, 0x0a, 0x16,
1262 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f,
1263 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67,
1264 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31,
1265 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x63,
1266 0x6f, 0x72, 0x64, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65,
1267 0x6e, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x48, 0x00, 0x52, 0x14, 0x70, 0x61, 0x72, 0x74,
1268 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
1269 0x1a, 0xae, 0x0d, 0x0a, 0x10, 0x44, 0x61, 0x74, 0x61, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52,
1270 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x45, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f,
1271 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
1272 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1273 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0f, 0x63, 0x6f, 0x6d,
1274 0x6d, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x27, 0x0a, 0x0f,
1275 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18,
1276 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x53, 0x65, 0x71,
1277 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x32, 0x0a, 0x15, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f,
1278 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03,
1279 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x72, 0x61, 0x6e,
1280 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x58, 0x0a, 0x2a, 0x69, 0x73, 0x5f,
1281 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x69, 0x6e, 0x5f, 0x74,
1282 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x5f, 0x70, 0x61,
1283 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x24, 0x69,
1284 0x73, 0x4c, 0x61, 0x73, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x49, 0x6e, 0x54, 0x72, 0x61,
1285 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74,
1286 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01,
1287 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x6e, 0x0a, 0x0f, 0x63, 0x6f, 0x6c,
1288 0x75, 0x6d, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x06, 0x20, 0x03,
1289 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e,
1290 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x72,
1291 0x65, 0x61, 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x43, 0x68,
1292 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d,
1293 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0e, 0x63, 0x6f, 0x6c, 0x75, 0x6d,
1294 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x4e, 0x0a, 0x04, 0x6d, 0x6f, 0x64,
1295 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1296 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e,
1297 0x67, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x44,
1298 0x61, 0x74, 0x61, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e,
1299 0x4d, 0x6f, 0x64, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x73, 0x12, 0x59, 0x0a, 0x08, 0x6d, 0x6f, 0x64,
1300 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3e, 0x2e, 0x67, 0x6f,
1301 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e,
1302 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x63, 0x6f,
1303 0x72, 0x64, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63,
1304 0x6f, 0x72, 0x64, 0x2e, 0x4d, 0x6f, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x6d, 0x6f, 0x64,
1305 0x54, 0x79, 0x70, 0x65, 0x12, 0x75, 0x0a, 0x12, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x63, 0x61,
1306 0x70, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e,
1307 0x32, 0x47, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65,
1308 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61,
1309 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x43, 0x68, 0x61, 0x6e,
1310 0x67, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x43, 0x61,
1311 0x70, 0x74, 0x75, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x10, 0x76, 0x61, 0x6c, 0x75, 0x65,
1312 0x43, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x46, 0x0a, 0x20, 0x6e,
1313 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x6f, 0x66, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73,
1314 0x5f, 0x69, 0x6e, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18,
1315 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x1c, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4f, 0x66, 0x52,
1316 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x49, 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74,
1317 0x69, 0x6f, 0x6e, 0x12, 0x4c, 0x0a, 0x23, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x6f, 0x66,
1318 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x69, 0x6e, 0x5f, 0x74,
1319 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05,
1320 0x52, 0x1f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4f, 0x66, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74,
1321 0x69, 0x6f, 0x6e, 0x73, 0x49, 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f,
1322 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
1323 0x5f, 0x74, 0x61, 0x67, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x72, 0x61, 0x6e,
1324 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x67, 0x12, 0x32, 0x0a, 0x15, 0x69, 0x73,
1325 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74,
1326 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x69, 0x73, 0x53, 0x79, 0x73,
1327 0x74, 0x65, 0x6d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xa2,
1328 0x01, 0x0a, 0x0e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
1329 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
1330 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20,
1331 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61,
1332 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79,
1333 0x70, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79,
1334 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x50, 0x72,
1335 0x69, 0x6d, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x12, 0x29, 0x0a, 0x10, 0x6f, 0x72, 0x64, 0x69,
1336 0x6e, 0x61, 0x6c, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01,
1337 0x28, 0x03, 0x52, 0x0f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x6c, 0x50, 0x6f, 0x73, 0x69, 0x74,
1338 0x69, 0x6f, 0x6e, 0x1a, 0x6c, 0x0a, 0x08, 0x4d, 0x6f, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
1339 0x32, 0x0a, 0x15, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61,
1340 0x74, 0x61, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13,
1341 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x49, 0x6e,
1342 0x64, 0x65, 0x78, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
1343 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
1344 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
1345 0x65, 0x1a, 0x9a, 0x02, 0x0a, 0x03, 0x4d, 0x6f, 0x64, 0x12, 0x53, 0x0a, 0x04, 0x6b, 0x65, 0x79,
1346 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1347 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e,
1348 0x67, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x44,
1349 0x61, 0x74, 0x61, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e,
1350 0x4d, 0x6f, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x12, 0x5e,
1351 0x0a, 0x0a, 0x6f, 0x6c, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03,
1352 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e,
1353 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x72,
1354 0x65, 0x61, 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x43, 0x68,
1355 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x4d, 0x6f, 0x64, 0x56, 0x61,
1356 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x6c, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x5e,
1357 0x0a, 0x0a, 0x6e, 0x65, 0x77, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03,
1358 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e,
1359 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x72,
1360 0x65, 0x61, 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x43, 0x68,
1361 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x4d, 0x6f, 0x64, 0x56, 0x61,
1362 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6e, 0x65, 0x77, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0x47,
1363 0x0a, 0x07, 0x4d, 0x6f, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x14, 0x4d, 0x4f, 0x44,
1364 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
1365 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x49, 0x4e, 0x53, 0x45, 0x52, 0x54, 0x10, 0x0a, 0x12,
1366 0x0a, 0x0a, 0x06, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x14, 0x12, 0x0a, 0x0a, 0x06, 0x44,
1367 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x1e, 0x22, 0x87, 0x01, 0x0a, 0x10, 0x56, 0x61, 0x6c, 0x75,
1368 0x65, 0x43, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x1e,
1369 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x43, 0x41, 0x50, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x54, 0x59,
1370 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
1371 0x12, 0x16, 0x0a, 0x12, 0x4f, 0x4c, 0x44, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x4e, 0x45, 0x57, 0x5f,
1372 0x56, 0x41, 0x4c, 0x55, 0x45, 0x53, 0x10, 0x0a, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x45, 0x57, 0x5f,
1373 0x56, 0x41, 0x4c, 0x55, 0x45, 0x53, 0x10, 0x14, 0x12, 0x0b, 0x0a, 0x07, 0x4e, 0x45, 0x57, 0x5f,
1374 0x52, 0x4f, 0x57, 0x10, 0x1e, 0x12, 0x1a, 0x0a, 0x16, 0x4e, 0x45, 0x57, 0x5f, 0x52, 0x4f, 0x57,
1375 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x4f, 0x4c, 0x44, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x53, 0x10,
1376 0x28, 0x1a, 0x4b, 0x0a, 0x0f, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x52, 0x65,
1377 0x63, 0x6f, 0x72, 0x64, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
1378 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1379 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
1380 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x1a, 0xaf,
1381 0x01, 0x0a, 0x14, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x72,
1382 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x43, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74,
1383 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
1384 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
1385 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0e, 0x73, 0x74,
1386 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x27, 0x0a, 0x0f,
1387 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18,
1388 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x53, 0x65, 0x71,
1389 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
1390 0x6f, 0x6e, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52,
1391 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73,
1392 0x1a, 0xa7, 0x01, 0x0a, 0x12, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e,
1393 0x64, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x3f, 0x0a, 0x0d, 0x65, 0x6e, 0x64, 0x5f, 0x74,
1394 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
1395 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1396 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x65, 0x6e, 0x64, 0x54,
1397 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x63, 0x6f,
1398 0x72, 0x64, 0x5f, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
1399 0x09, 0x52, 0x0e, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63,
1400 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74,
1401 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x74,
1402 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x1a, 0xa3, 0x04, 0x0a, 0x14, 0x50,
1403 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x63,
1404 0x6f, 0x72, 0x64, 0x12, 0x45, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x74, 0x69,
1405 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
1406 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
1407 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x69,
1408 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65,
1409 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20,
1410 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x53, 0x65, 0x71, 0x75, 0x65,
1411 0x6e, 0x63, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
1412 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x61,
1413 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x6c, 0x0a, 0x0e,
1414 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x69, 0x6e, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04,
1415 0x20, 0x03, 0x28, 0x0b, 0x32, 0x46, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70,
1416 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53,
1417 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x50, 0x61, 0x72, 0x74,
1418 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
1419 0x2e, 0x4d, 0x6f, 0x76, 0x65, 0x49, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x0c, 0x6d, 0x6f,
1420 0x76, 0x65, 0x49, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x6f, 0x0a, 0x0f, 0x6d, 0x6f,
1421 0x76, 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20,
1422 0x03, 0x28, 0x0b, 0x32, 0x47, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61,
1423 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74,
1424 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69,
1425 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e,
1426 0x4d, 0x6f, 0x76, 0x65, 0x4f, 0x75, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x0d, 0x6d, 0x6f,
1427 0x76, 0x65, 0x4f, 0x75, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0x43, 0x0a, 0x0b, 0x4d,
1428 0x6f, 0x76, 0x65, 0x49, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x16, 0x73, 0x6f,
1429 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74,
1430 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x73, 0x6f, 0x75, 0x72,
1431 0x63, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
1432 0x1a, 0x4e, 0x0a, 0x0c, 0x4d, 0x6f, 0x76, 0x65, 0x4f, 0x75, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74,
1433 0x12, 0x3e, 0x0a, 0x1b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
1434 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18,
1435 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x19, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69,
1436 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
1437 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x42, 0xb4, 0x01, 0x0a, 0x15, 0x63,
1438 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65,
1439 0x72, 0x2e, 0x76, 0x31, 0x42, 0x11, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x72, 0x65,
1440 0x61, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x63, 0x6c, 0x6f, 0x75, 0x64,
1441 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73,
1442 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x73, 0x70, 0x61,
1443 0x6e, 0x6e, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x70, 0x62,
1444 0xaa, 0x02, 0x17, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
1445 0x53, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x17, 0x47, 0x6f, 0x6f,
1446 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x70, 0x61, 0x6e, 0x6e, 0x65,
1447 0x72, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43,
1448 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x3a, 0x3a, 0x56,
1449 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1450 }
1451
1452 var (
1453 file_google_spanner_v1_change_stream_proto_rawDescOnce sync.Once
1454 file_google_spanner_v1_change_stream_proto_rawDescData = file_google_spanner_v1_change_stream_proto_rawDesc
1455 )
1456
1457 func file_google_spanner_v1_change_stream_proto_rawDescGZIP() []byte {
1458 file_google_spanner_v1_change_stream_proto_rawDescOnce.Do(func() {
1459 file_google_spanner_v1_change_stream_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_spanner_v1_change_stream_proto_rawDescData)
1460 })
1461 return file_google_spanner_v1_change_stream_proto_rawDescData
1462 }
1463
1464 var file_google_spanner_v1_change_stream_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
1465 var file_google_spanner_v1_change_stream_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
1466 var file_google_spanner_v1_change_stream_proto_goTypes = []any{
1467 (ChangeStreamRecord_DataChangeRecord_ModType)(0), // 0: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModType
1468 (ChangeStreamRecord_DataChangeRecord_ValueCaptureType)(0), // 1: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ValueCaptureType
1469 (*ChangeStreamRecord)(nil), // 2: google.spanner.v1.ChangeStreamRecord
1470 (*ChangeStreamRecord_DataChangeRecord)(nil), // 3: google.spanner.v1.ChangeStreamRecord.DataChangeRecord
1471 (*ChangeStreamRecord_HeartbeatRecord)(nil), // 4: google.spanner.v1.ChangeStreamRecord.HeartbeatRecord
1472 (*ChangeStreamRecord_PartitionStartRecord)(nil), // 5: google.spanner.v1.ChangeStreamRecord.PartitionStartRecord
1473 (*ChangeStreamRecord_PartitionEndRecord)(nil), // 6: google.spanner.v1.ChangeStreamRecord.PartitionEndRecord
1474 (*ChangeStreamRecord_PartitionEventRecord)(nil), // 7: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord
1475 (*ChangeStreamRecord_DataChangeRecord_ColumnMetadata)(nil), // 8: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata
1476 (*ChangeStreamRecord_DataChangeRecord_ModValue)(nil), // 9: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue
1477 (*ChangeStreamRecord_DataChangeRecord_Mod)(nil), // 10: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod
1478 (*ChangeStreamRecord_PartitionEventRecord_MoveInEvent)(nil), // 11: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent
1479 (*ChangeStreamRecord_PartitionEventRecord_MoveOutEvent)(nil), // 12: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent
1480 (*timestamppb.Timestamp)(nil), // 13: google.protobuf.Timestamp
1481 (*Type)(nil), // 14: google.spanner.v1.Type
1482 (*structpb.Value)(nil), // 15: google.protobuf.Value
1483 }
1484 var file_google_spanner_v1_change_stream_proto_depIdxs = []int32{
1485 3, // 0: google.spanner.v1.ChangeStreamRecord.data_change_record:type_name -> google.spanner.v1.ChangeStreamRecord.DataChangeRecord
1486 4, // 1: google.spanner.v1.ChangeStreamRecord.heartbeat_record:type_name -> google.spanner.v1.ChangeStreamRecord.HeartbeatRecord
1487 5, // 2: google.spanner.v1.ChangeStreamRecord.partition_start_record:type_name -> google.spanner.v1.ChangeStreamRecord.PartitionStartRecord
1488 6, // 3: google.spanner.v1.ChangeStreamRecord.partition_end_record:type_name -> google.spanner.v1.ChangeStreamRecord.PartitionEndRecord
1489 7, // 4: google.spanner.v1.ChangeStreamRecord.partition_event_record:type_name -> google.spanner.v1.ChangeStreamRecord.PartitionEventRecord
1490 13, // 5: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.commit_timestamp:type_name -> google.protobuf.Timestamp
1491 8, // 6: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.column_metadata:type_name -> google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata
1492 10, // 7: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.mods:type_name -> google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod
1493 0, // 8: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.mod_type:type_name -> google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModType
1494 1, // 9: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.value_capture_type:type_name -> google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ValueCaptureType
1495 13, // 10: google.spanner.v1.ChangeStreamRecord.HeartbeatRecord.timestamp:type_name -> google.protobuf.Timestamp
1496 13, // 11: google.spanner.v1.ChangeStreamRecord.PartitionStartRecord.start_timestamp:type_name -> google.protobuf.Timestamp
1497 13, // 12: google.spanner.v1.ChangeStreamRecord.PartitionEndRecord.end_timestamp:type_name -> google.protobuf.Timestamp
1498 13, // 13: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.commit_timestamp:type_name -> google.protobuf.Timestamp
1499 11, // 14: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.move_in_events:type_name -> google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent
1500 12, // 15: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.move_out_events:type_name -> google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent
1501 14, // 16: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata.type:type_name -> google.spanner.v1.Type
1502 15, // 17: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue.value:type_name -> google.protobuf.Value
1503 9, // 18: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod.keys:type_name -> google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue
1504 9, // 19: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod.old_values:type_name -> google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue
1505 9, // 20: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod.new_values:type_name -> google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue
1506 21, // [21:21] is the sub-list for method output_type
1507 21, // [21:21] is the sub-list for method input_type
1508 21, // [21:21] is the sub-list for extension type_name
1509 21, // [21:21] is the sub-list for extension extendee
1510 0, // [0:21] is the sub-list for field type_name
1511 }
1512
1513 func init() { file_google_spanner_v1_change_stream_proto_init() }
1514 func file_google_spanner_v1_change_stream_proto_init() {
1515 if File_google_spanner_v1_change_stream_proto != nil {
1516 return
1517 }
1518 file_google_spanner_v1_type_proto_init()
1519 file_google_spanner_v1_change_stream_proto_msgTypes[0].OneofWrappers = []any{
1520 (*ChangeStreamRecord_DataChangeRecord_)(nil),
1521 (*ChangeStreamRecord_HeartbeatRecord_)(nil),
1522 (*ChangeStreamRecord_PartitionStartRecord_)(nil),
1523 (*ChangeStreamRecord_PartitionEndRecord_)(nil),
1524 (*ChangeStreamRecord_PartitionEventRecord_)(nil),
1525 }
1526 type x struct{}
1527 out := protoimpl.TypeBuilder{
1528 File: protoimpl.DescBuilder{
1529 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1530 RawDescriptor: file_google_spanner_v1_change_stream_proto_rawDesc,
1531 NumEnums: 2,
1532 NumMessages: 11,
1533 NumExtensions: 0,
1534 NumServices: 0,
1535 },
1536 GoTypes: file_google_spanner_v1_change_stream_proto_goTypes,
1537 DependencyIndexes: file_google_spanner_v1_change_stream_proto_depIdxs,
1538 EnumInfos: file_google_spanner_v1_change_stream_proto_enumTypes,
1539 MessageInfos: file_google_spanner_v1_change_stream_proto_msgTypes,
1540 }.Build()
1541 File_google_spanner_v1_change_stream_proto = out.File
1542 file_google_spanner_v1_change_stream_proto_rawDesc = nil
1543 file_google_spanner_v1_change_stream_proto_goTypes = nil
1544 file_google_spanner_v1_change_stream_proto_depIdxs = nil
1545 }