@@ -110,6 +110,7 @@ const ::uint32_t TableStruct_firestore_2flocal_2ftarget_2eproto::offsets[] PROTO
110110 PROTOBUF_FIELD_OFFSET (::firestore::client::Target, _impl_.last_listen_sequence_number_ ),
111111 ::_pbi::kInvalidFieldOffsetTag ,
112112 ::_pbi::kInvalidFieldOffsetTag ,
113+ ::_pbi::kInvalidFieldOffsetTag ,
113114 PROTOBUF_FIELD_OFFSET (::firestore::client::Target, _impl_.last_limbo_free_snapshot_version_ ),
114115 PROTOBUF_FIELD_OFFSET (::firestore::client::Target, _impl_.target_type_ ),
115116 ~0u ,
@@ -118,6 +119,7 @@ const ::uint32_t TableStruct_firestore_2flocal_2ftarget_2eproto::offsets[] PROTO
118119 ~0u ,
119120 ~0u ,
120121 ~0u ,
122+ ~0u ,
121123 1 ,
122124 PROTOBUF_FIELD_OFFSET (::firestore::client::TargetGlobal, _impl_._has_bits_ ),
123125 PROTOBUF_FIELD_OFFSET (::firestore::client::TargetGlobal, _internal_metadata_),
@@ -139,8 +141,8 @@ const ::uint32_t TableStruct_firestore_2flocal_2ftarget_2eproto::offsets[] PROTO
139141
140142static const ::_pbi::MigrationSchema
141143 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)},
144146};
145147
146148static const ::_pb::Message* const file_default_instances[] = {
@@ -150,22 +152,24 @@ static const ::_pb::Message* const file_default_instances[] = {
150152const char descriptor_table_protodef_firestore_2flocal_2ftarget_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
151153 " \n\034 firestore/local/target.proto\022\020 firestor"
152154 " 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"
155157 " _version\030\002 \001 (\013 2\032 .google.protobuf.Timesta"
156158 " mp\022\024\n\014 resume_token\030\003 \001 (\014\022 #\n\033 last_listen_"
157159 " sequence_number\030\004 \001 (\003\022 8\n\005 query\030\005 \001 (\013 2\' .g"
158160 " oogle.firestore.v1.Target.QueryTargetH\000\022 "
159161 " @\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"
169173};
170174static const ::_pbi::DescriptorTable* const descriptor_table_firestore_2flocal_2ftarget_2eproto_deps[2 ] =
171175 {
@@ -176,7 +180,7 @@ static ::absl::once_flag descriptor_table_firestore_2flocal_2ftarget_2eproto_onc
176180const ::_pbi::DescriptorTable descriptor_table_firestore_2flocal_2ftarget_2eproto = {
177181 false ,
178182 false ,
179- 699 ,
183+ 774 ,
180184 descriptor_table_protodef_firestore_2flocal_2ftarget_2eproto,
181185 " firestore/local/target.proto" ,
182186 &descriptor_table_firestore_2flocal_2ftarget_2eproto_once,
@@ -225,6 +229,7 @@ class Target::_Internal {
225229 }
226230 static const ::google::firestore::v1::Target_QueryTarget& query (const Target* msg);
227231 static const ::google::firestore::v1::Target_DocumentsTarget& documents (const Target* msg);
232+ static const ::google::firestore::v1::Target_PipelineQueryTarget& pipeline_query (const Target* msg);
228233 static const ::google::protobuf::Timestamp& last_limbo_free_snapshot_version (const Target* msg);
229234 static void set_has_last_limbo_free_snapshot_version (HasBits* has_bits) {
230235 (*has_bits)[0 ] |= 2u ;
@@ -240,6 +245,9 @@ const ::google::firestore::v1::Target_QueryTarget& Target::_Internal::query(cons
240245const ::google::firestore::v1::Target_DocumentsTarget& Target::_Internal::documents (const Target* msg) {
241246 return *msg->_impl_ .target_type_ .documents_ ;
242247}
248+ const ::google::firestore::v1::Target_PipelineQueryTarget& Target::_Internal::pipeline_query (const Target* msg) {
249+ return *msg->_impl_ .target_type_ .pipeline_query_ ;
250+ }
243251const ::google::protobuf::Timestamp& Target::_Internal::last_limbo_free_snapshot_version (const Target* msg) {
244252 return *msg->_impl_ .last_limbo_free_snapshot_version_ ;
245253}
@@ -292,6 +300,28 @@ void Target::clear_documents() {
292300 clear_has_target_type ();
293301 }
294302}
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+ }
295325void Target::clear_last_limbo_free_snapshot_version () {
296326 PROTOBUF_TSAN_WRITE (&_impl_._tsan_detect_race );
297327 if (_impl_.last_limbo_free_snapshot_version_ != nullptr ) _impl_.last_limbo_free_snapshot_version_ ->Clear ();
@@ -343,6 +373,9 @@ Target::Target(
343373 case kDocuments :
344374 _impl_.target_type_ .documents_ = CreateMaybeMessage<::google::firestore::v1::Target_DocumentsTarget>(arena, *from._impl_ .target_type_ .documents_ );
345375 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 ;
346379 }
347380
348381 // @@protoc_insertion_point(copy_constructor:firestore.client.Target)
@@ -396,6 +429,12 @@ void Target::clear_target_type() {
396429 }
397430 break ;
398431 }
432+ case kPipelineQuery : {
433+ if (GetArena () == nullptr ) {
434+ delete _impl_.target_type_ .pipeline_query_ ;
435+ }
436+ break ;
437+ }
399438 case TARGET_TYPE_NOT_SET: {
400439 break ;
401440 }
@@ -439,16 +478,16 @@ const char* Target::_InternalParse(
439478
440479
441480PROTOBUF_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_ = {
443482 {
444483 PROTOBUF_FIELD_OFFSET (Target, _impl_._has_bits_ ),
445484 0 , // no _extensions_
446- 7 , 56 , // max_field_number, fast_idx_mask
485+ 13 , 56 , // max_field_number, fast_idx_mask
447486 offsetof (decltype (_table_), field_lookup_table),
448- 4294967168 , // skipmap
487+ 4294963072 , // skipmap
449488 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
452491 offsetof (decltype (_table_), aux_entries),
453492 &_Target_default_instance_._instance ,
454493 ::_pbi::TcParser::GenericFallback, // fallback
@@ -495,11 +534,15 @@ const ::_pbi::TcParseTable<3, 7, 4, 0, 2> Target::_table_ = {
495534 // .google.protobuf.Timestamp last_limbo_free_snapshot_version = 7;
496535 {PROTOBUF_FIELD_OFFSET (Target, _impl_.last_limbo_free_snapshot_version_ ), _Internal::kHasBitsOffset + 1 , 3 ,
497536 (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 )},
498540 }}, {{
499541 {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()},
500542 {::_pbi::TcParser::GetTable<::google::firestore::v1::Target_QueryTarget>()},
501543 {::_pbi::TcParser::GetTable<::google::firestore::v1::Target_DocumentsTarget>()},
502544 {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()},
545+ {::_pbi::TcParser::GetTable<::google::firestore::v1::Target_PipelineQueryTarget>()},
503546 }}, {{
504547 }},
505548};
@@ -562,6 +605,13 @@ ::uint8_t* Target::_InternalSerialize(
562605 _Internal::last_limbo_free_snapshot_version (this ).GetCachedSize (), target, stream);
563606 }
564607
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+
565615 if (PROTOBUF_PREDICT_FALSE (_internal_metadata_.have_unknown_fields ())) {
566616 target =
567617 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray (
@@ -625,6 +675,12 @@ ::size_t Target::ByteSizeLong() const {
625675 1 + ::google::protobuf::internal::WireFormatLite::MessageSize (*_impl_.target_type_ .documents_ );
626676 break ;
627677 }
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+ }
628684 case TARGET_TYPE_NOT_SET: {
629685 break ;
630686 }
@@ -679,6 +735,11 @@ void Target::MergeImpl(::google::protobuf::Message& to_msg, const ::google::prot
679735 from._internal_documents ());
680736 break ;
681737 }
738+ case kPipelineQuery : {
739+ _this->_internal_mutable_pipeline_query ()->::google::firestore::v1::Target_PipelineQueryTarget::MergeFrom (
740+ from._internal_pipeline_query ());
741+ break ;
742+ }
682743 case TARGET_TYPE_NOT_SET: {
683744 break ;
684745 }
0 commit comments