@@ -110,6 +110,7 @@ const ::uint32_t TableStruct_firestore_2flocal_2ftarget_2eproto::offsets[] PROTO
110
110
PROTOBUF_FIELD_OFFSET (::firestore::client::Target, _impl_.last_listen_sequence_number_ ),
111
111
::_pbi::kInvalidFieldOffsetTag ,
112
112
::_pbi::kInvalidFieldOffsetTag ,
113
+ ::_pbi::kInvalidFieldOffsetTag ,
113
114
PROTOBUF_FIELD_OFFSET (::firestore::client::Target, _impl_.last_limbo_free_snapshot_version_ ),
114
115
PROTOBUF_FIELD_OFFSET (::firestore::client::Target, _impl_.target_type_ ),
115
116
~0u ,
@@ -118,6 +119,7 @@ const ::uint32_t TableStruct_firestore_2flocal_2ftarget_2eproto::offsets[] PROTO
118
119
~0u ,
119
120
~0u ,
120
121
~0u ,
122
+ ~0u ,
121
123
1 ,
122
124
PROTOBUF_FIELD_OFFSET (::firestore::client::TargetGlobal, _impl_._has_bits_ ),
123
125
PROTOBUF_FIELD_OFFSET (::firestore::client::TargetGlobal, _internal_metadata_),
@@ -139,8 +141,8 @@ const ::uint32_t TableStruct_firestore_2flocal_2ftarget_2eproto::offsets[] PROTO
139
141
140
142
static const ::_pbi::MigrationSchema
141
143
schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
142
- {0 , 16 , -1 , sizeof (::firestore::client::Target)},
143
- {23 , 35 , -1 , sizeof (::firestore::client::TargetGlobal)},
144
+ {0 , 17 , -1 , sizeof (::firestore::client::Target)},
145
+ {25 , 37 , -1 , sizeof (::firestore::client::TargetGlobal)},
144
146
};
145
147
146
148
static const ::_pb::Message* const file_default_instances[] = {
@@ -150,22 +152,24 @@ static const ::_pb::Message* const file_default_instances[] = {
150
152
const char descriptor_table_protodef_firestore_2flocal_2ftarget_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
151
153
" \n\034 firestore/local/target.proto\022\020 firestor"
152
154
" e.client\032 #google/firestore/v1/firestore."
153
- " proto\032\037 google/protobuf/timestamp.proto\"\335 "
154
- " \002 \n\006 Target\022\021\n\t target_id\030\001 \001 (\005\022 4\n\020 snapshot"
155
+ " proto\032\037 google/protobuf/timestamp.proto\"\250 "
156
+ " \003 \n\006 Target\022\021\n\t target_id\030\001 \001 (\005\022 4\n\020 snapshot"
155
157
" _version\030\002 \001 (\013 2\032 .google.protobuf.Timesta"
156
158
" mp\022\024\n\014 resume_token\030\003 \001 (\014\022 #\n\033 last_listen_"
157
159
" sequence_number\030\004 \001 (\003\022 8\n\005 query\030\005 \001 (\013 2\' .g"
158
160
" oogle.firestore.v1.Target.QueryTargetH\000\022 "
159
161
" @\n\t documents\030\006 \001 (\013 2+.google.firestore.v1"
160
- " .Target.DocumentsTargetH\000\022 D\n last_limbo_"
161
- " free_snapshot_version\030\007 \001 (\013 2\032 .google.pro"
162
- " tobuf.TimestampB\r\n\013 target_type\"\251\001\n\014 Targe"
163
- " tGlobal\022\031\n\021 highest_target_id\030\001 \001 (\005\022 &\n\036 hi"
164
- " ghest_listen_sequence_number\030\002 \001 (\003\022 @\n\034 la"
165
- " st_remote_snapshot_version\030\003 \001 (\013 2\032 .googl"
166
- " e.protobuf.Timestamp\022\024\n\014 target_count\030\004 \001 "
167
- " (\005 B/\n #com.google.firebase.firestore.prot"
168
- " oP\001\242\002\005 FSTPBb\006 proto3"
162
+ " .Target.DocumentsTargetH\000\022 I\n\016 pipeline_qu"
163
+ " ery\030\r \001 (\013 2/.google.firestore.v1.Target.P"
164
+ " ipelineQueryTargetH\000\022 D\n last_limbo_free_"
165
+ " snapshot_version\030\007 \001 (\013 2\032 .google.protobuf"
166
+ " .TimestampB\r\n\013 target_type\"\251\001\n\014 TargetGlob"
167
+ " al\022\031\n\021 highest_target_id\030\001 \001 (\005\022 &\n\036 highest"
168
+ " _listen_sequence_number\030\002 \001 (\003\022 @\n\034 last_re"
169
+ " mote_snapshot_version\030\003 \001 (\013 2\032 .google.pro"
170
+ " tobuf.Timestamp\022\024\n\014 target_count\030\004 \001 (\005 B/\n "
171
+ " #com.google.firebase.firestore.protoP\001\242\002 "
172
+ " \005 FSTPBb\006 proto3"
169
173
};
170
174
static const ::_pbi::DescriptorTable* const descriptor_table_firestore_2flocal_2ftarget_2eproto_deps[2 ] =
171
175
{
@@ -176,7 +180,7 @@ static ::absl::once_flag descriptor_table_firestore_2flocal_2ftarget_2eproto_onc
176
180
const ::_pbi::DescriptorTable descriptor_table_firestore_2flocal_2ftarget_2eproto = {
177
181
false ,
178
182
false ,
179
- 699 ,
183
+ 774 ,
180
184
descriptor_table_protodef_firestore_2flocal_2ftarget_2eproto,
181
185
" firestore/local/target.proto" ,
182
186
&descriptor_table_firestore_2flocal_2ftarget_2eproto_once,
@@ -225,6 +229,7 @@ class Target::_Internal {
225
229
}
226
230
static const ::google::firestore::v1::Target_QueryTarget& query (const Target* msg);
227
231
static const ::google::firestore::v1::Target_DocumentsTarget& documents (const Target* msg);
232
+ static const ::google::firestore::v1::Target_PipelineQueryTarget& pipeline_query (const Target* msg);
228
233
static const ::google::protobuf::Timestamp& last_limbo_free_snapshot_version (const Target* msg);
229
234
static void set_has_last_limbo_free_snapshot_version (HasBits* has_bits) {
230
235
(*has_bits)[0 ] |= 2u ;
@@ -240,6 +245,9 @@ const ::google::firestore::v1::Target_QueryTarget& Target::_Internal::query(cons
240
245
const ::google::firestore::v1::Target_DocumentsTarget& Target::_Internal::documents (const Target* msg) {
241
246
return *msg->_impl_ .target_type_ .documents_ ;
242
247
}
248
+ const ::google::firestore::v1::Target_PipelineQueryTarget& Target::_Internal::pipeline_query (const Target* msg) {
249
+ return *msg->_impl_ .target_type_ .pipeline_query_ ;
250
+ }
243
251
const ::google::protobuf::Timestamp& Target::_Internal::last_limbo_free_snapshot_version (const Target* msg) {
244
252
return *msg->_impl_ .last_limbo_free_snapshot_version_ ;
245
253
}
@@ -292,6 +300,28 @@ void Target::clear_documents() {
292
300
clear_has_target_type ();
293
301
}
294
302
}
303
+ void Target::set_allocated_pipeline_query (::google::firestore::v1::Target_PipelineQueryTarget* pipeline_query) {
304
+ ::google::protobuf::Arena* message_arena = GetArena ();
305
+ clear_target_type ();
306
+ if (pipeline_query) {
307
+ ::google::protobuf::Arena* submessage_arena = reinterpret_cast <::google::protobuf::MessageLite*>(pipeline_query)->GetArena ();
308
+ if (message_arena != submessage_arena) {
309
+ pipeline_query = ::google::protobuf::internal::GetOwnedMessage (message_arena, pipeline_query, submessage_arena);
310
+ }
311
+ set_has_pipeline_query ();
312
+ _impl_.target_type_ .pipeline_query_ = pipeline_query;
313
+ }
314
+ // @@protoc_insertion_point(field_set_allocated:firestore.client.Target.pipeline_query)
315
+ }
316
+ void Target::clear_pipeline_query () {
317
+ PROTOBUF_TSAN_WRITE (&_impl_._tsan_detect_race );
318
+ if (target_type_case () == kPipelineQuery ) {
319
+ if (GetArena () == nullptr ) {
320
+ delete _impl_.target_type_ .pipeline_query_ ;
321
+ }
322
+ clear_has_target_type ();
323
+ }
324
+ }
295
325
void Target::clear_last_limbo_free_snapshot_version () {
296
326
PROTOBUF_TSAN_WRITE (&_impl_._tsan_detect_race );
297
327
if (_impl_.last_limbo_free_snapshot_version_ != nullptr ) _impl_.last_limbo_free_snapshot_version_ ->Clear ();
@@ -343,6 +373,9 @@ Target::Target(
343
373
case kDocuments :
344
374
_impl_.target_type_ .documents_ = CreateMaybeMessage<::google::firestore::v1::Target_DocumentsTarget>(arena, *from._impl_ .target_type_ .documents_ );
345
375
break ;
376
+ case kPipelineQuery :
377
+ _impl_.target_type_ .pipeline_query_ = CreateMaybeMessage<::google::firestore::v1::Target_PipelineQueryTarget>(arena, *from._impl_ .target_type_ .pipeline_query_ );
378
+ break ;
346
379
}
347
380
348
381
// @@protoc_insertion_point(copy_constructor:firestore.client.Target)
@@ -396,6 +429,12 @@ void Target::clear_target_type() {
396
429
}
397
430
break ;
398
431
}
432
+ case kPipelineQuery : {
433
+ if (GetArena () == nullptr ) {
434
+ delete _impl_.target_type_ .pipeline_query_ ;
435
+ }
436
+ break ;
437
+ }
399
438
case TARGET_TYPE_NOT_SET: {
400
439
break ;
401
440
}
@@ -439,16 +478,16 @@ const char* Target::_InternalParse(
439
478
440
479
441
480
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
442
- const ::_pbi::TcParseTable<3 , 7 , 4 , 0 , 2 > Target::_table_ = {
481
+ const ::_pbi::TcParseTable<3 , 8 , 5 , 0 , 2 > Target::_table_ = {
443
482
{
444
483
PROTOBUF_FIELD_OFFSET (Target, _impl_._has_bits_ ),
445
484
0 , // no _extensions_
446
- 7 , 56 , // max_field_number, fast_idx_mask
485
+ 13 , 56 , // max_field_number, fast_idx_mask
447
486
offsetof (decltype (_table_), field_lookup_table),
448
- 4294967168 , // skipmap
487
+ 4294963072 , // skipmap
449
488
offsetof (decltype (_table_), field_entries),
450
- 7 , // num_field_entries
451
- 4 , // num_aux_entries
489
+ 8 , // num_field_entries
490
+ 5 , // num_aux_entries
452
491
offsetof (decltype (_table_), aux_entries),
453
492
&_Target_default_instance_._instance ,
454
493
::_pbi::TcParser::GenericFallback, // fallback
@@ -495,11 +534,15 @@ const ::_pbi::TcParseTable<3, 7, 4, 0, 2> Target::_table_ = {
495
534
// .google.protobuf.Timestamp last_limbo_free_snapshot_version = 7;
496
535
{PROTOBUF_FIELD_OFFSET (Target, _impl_.last_limbo_free_snapshot_version_ ), _Internal::kHasBitsOffset + 1 , 3 ,
497
536
(0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable )},
537
+ // .google.firestore.v1.Target.PipelineQueryTarget pipeline_query = 13;
538
+ {PROTOBUF_FIELD_OFFSET (Target, _impl_.target_type_ .pipeline_query_ ), _Internal::kOneofCaseOffset + 0 , 4 ,
539
+ (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable )},
498
540
}}, {{
499
541
{::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()},
500
542
{::_pbi::TcParser::GetTable<::google::firestore::v1::Target_QueryTarget>()},
501
543
{::_pbi::TcParser::GetTable<::google::firestore::v1::Target_DocumentsTarget>()},
502
544
{::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()},
545
+ {::_pbi::TcParser::GetTable<::google::firestore::v1::Target_PipelineQueryTarget>()},
503
546
}}, {{
504
547
}},
505
548
};
@@ -562,6 +605,13 @@ ::uint8_t* Target::_InternalSerialize(
562
605
_Internal::last_limbo_free_snapshot_version (this ).GetCachedSize (), target, stream);
563
606
}
564
607
608
+ // .google.firestore.v1.Target.PipelineQueryTarget pipeline_query = 13;
609
+ if (target_type_case () == kPipelineQuery ) {
610
+ target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage (
611
+ 13 , _Internal::pipeline_query (this ),
612
+ _Internal::pipeline_query (this ).GetCachedSize (), target, stream);
613
+ }
614
+
565
615
if (PROTOBUF_PREDICT_FALSE (_internal_metadata_.have_unknown_fields ())) {
566
616
target =
567
617
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray (
@@ -625,6 +675,12 @@ ::size_t Target::ByteSizeLong() const {
625
675
1 + ::google::protobuf::internal::WireFormatLite::MessageSize (*_impl_.target_type_ .documents_ );
626
676
break ;
627
677
}
678
+ // .google.firestore.v1.Target.PipelineQueryTarget pipeline_query = 13;
679
+ case kPipelineQuery : {
680
+ total_size +=
681
+ 1 + ::google::protobuf::internal::WireFormatLite::MessageSize (*_impl_.target_type_ .pipeline_query_ );
682
+ break ;
683
+ }
628
684
case TARGET_TYPE_NOT_SET: {
629
685
break ;
630
686
}
@@ -679,6 +735,11 @@ void Target::MergeImpl(::google::protobuf::Message& to_msg, const ::google::prot
679
735
from._internal_documents ());
680
736
break ;
681
737
}
738
+ case kPipelineQuery : {
739
+ _this->_internal_mutable_pipeline_query ()->::google::firestore::v1::Target_PipelineQueryTarget::MergeFrom (
740
+ from._internal_pipeline_query ());
741
+ break ;
742
+ }
682
743
case TARGET_TYPE_NOT_SET: {
683
744
break ;
684
745
}
0 commit comments