Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
574db2e
create main branch of ppl
cherylEnkidu Feb 27, 2025
7a4a98c
Add ppl protos (#14516)
wu-hui Mar 4, 2025
0cd0224
End-to-end minimalistic ppl (#14546)
wu-hui Mar 13, 2025
15046ff
Add C++ stages/expressions and Constant value support (#14588)
wu-hui Mar 24, 2025
ce1bb03
Merge branch 'main' into cheryllin/ppl
cherylEnkidu Apr 24, 2025
abd8560
Manually set cmake version
cherylEnkidu Apr 25, 2025
fc8220f
Update firestore.yml
cherylEnkidu Apr 25, 2025
54b5b9f
set flag
cherylEnkidu Apr 25, 2025
aa6570d
Merge branch 'cheryllin/fixcmake' into cheryllin/ppl
cherylEnkidu Apr 26, 2025
3ba08d6
merge in main
cherylEnkidu May 6, 2025
11ae3e2
Ppl API (#14513)
cherylEnkidu May 21, 2025
7cafce4
Pipeline tests part 1 (#14885)
cherylEnkidu Jun 17, 2025
432064a
Pipeline tests part 2 (#14951)
cherylEnkidu Jun 30, 2025
bc58652
Fix type warnings for size_t use in Firestore (#14790)
cherylEnkidu May 6, 2025
b68369f
[Firebase AI] Add support for Gemma models with Developer API (#14823)
andrewheard May 6, 2025
da813ba
Analytics 11.13.0 (#14824)
pcfba May 6, 2025
51779cf
[Release] Update Package.swift for M164 release (#14828)
ncooke3 May 7, 2025
a1e330d
[Infra] Add `FIRAllocatedUnfairLock` type (#14825)
ncooke3 May 7, 2025
d624f8a
[Firebase AI] Update error domain constant for renamed SDK (#14829)
andrewheard May 8, 2025
bf822b1
[Auth] Add Swift 6 conformance to `FirebaseAuth/Sources/Swift/ActionC…
ncooke3 May 8, 2025
baa6fb8
[Functions] More Swift 6 improvements (#14788)
ncooke3 May 9, 2025
bd6fae7
add FirebaseAI to release notes (#14840)
morganchen12 May 9, 2025
9b1b647
[Functions] Complete Swift 6 support (#14838)
ncooke3 May 13, 2025
45d1d2c
[Firebase AI] Update Gemma candidate token count integration tests (#…
andrewheard May 14, 2025
0b78a27
[Auth] Add Swift 6 conformance to `FirebaseAuth/Sources/Swift/SystemS…
ncooke3 May 14, 2025
9daa421
[Firebase AI] Upload `xcodebuild` logs in integration tests (#14844)
andrewheard May 15, 2025
6e562a0
[Firebase AI] Update CHANGELOG entry wording (#14857)
andrewheard May 15, 2025
79f584a
Bind rmqID instead of using stringWithFormat. (#14856)
leojaygoogle May 15, 2025
20e7382
[Swift 6] Add Swift 6 testing for Sessions (#14599)
ncooke3 May 15, 2025
d259d88
[Auth] Conform 'AuthKeychainServices' to 'Sendable' (#14862)
ncooke3 May 19, 2025
116c6d6
[Sessions] Remove Swift 5.9 guard statements (#14866)
ncooke3 May 19, 2025
baa78c4
[Auth] More Swift 6 progress (#14867)
ncooke3 May 20, 2025
314feae
[CI] Update `Dangerfile` to set `api: firebaseai` label (#14870)
andrewheard May 20, 2025
946b16e
[Release] Carthage for 11.13.0 (#14872)
ncooke3 May 20, 2025
5eeffe5
[Config] Fix Xcode 16.3 warning due to comparing two different enums …
ncooke3 May 20, 2025
e70047d
[Infra] Update Xcode versions in remoteconfig.yml (#14869)
ncooke3 May 20, 2025
2489cd0
use devsite variables (#14874)
morganchen12 May 20, 2025
ca714bf
[Infra] Update versions for Release 11.14.0 (#14875)
ncooke3 May 21, 2025
7682cb9
[Infra] Do not float dependency on FirebaseAI (#14877)
ncooke3 May 21, 2025
c04eb62
[Firebase AI] Run quickstart build test using branch (#14879)
andrewheard May 22, 2025
f57e553
New and clearer FirebaseAnalytics subspecs (#14882)
pcfba May 22, 2025
0cf3d55
NOTICES Change (#14894)
github-actions[bot] May 27, 2025
b4d58b2
[Auth] Fix 'PhoneAuthProviderFake.swift' following Swift 6 changes (#…
ncooke3 May 27, 2025
fbb8458
[Release] Update `Unreleased` CHANGELOG entries (#14898)
andrewheard May 27, 2025
61f6af3
[Infra] Update template README with new min. supported Xcode version …
ncooke3 May 27, 2025
35e0adb
Analytics 11.14.0 (#14897)
pcfba May 27, 2025
f3075b1
[Infra] Fix logic used to find transitive dependencies (#14896)
ncooke3 May 28, 2025
e9427cc
[Infra] Common cocoapods pod lib lint job (#14876)
ncooke3 May 28, 2025
379bcc9
[Infra] Migrate .github/workflows/functions.yml to reusable workflows…
ncooke3 May 28, 2025
19f6c36
[Infra] Remove dupe job in .github/workflows/auth.yml (#14907)
ncooke3 May 28, 2025
f8d111e
[Infra] Remove dupe job in .github/workflows/core.yml (#14905)
ncooke3 May 28, 2025
dba5238
Update bug report template for Firebase AI Logic (#14908)
paulb777 May 28, 2025
4f6ea24
[Release] Firestore binaries for `11.14.0` (#14915)
andrewheard May 29, 2025
16a0fef
[Infra] Make mlmodeldownloader.yml use reusable CocoaPods workflow (#…
ncooke3 May 29, 2025
02300e2
[Infra] Move Storage over to common linting job (#14912)
ncooke3 May 30, 2025
b170155
[Infra] Make firebaseinstallations.yml use reusable CocoaPods workflo…
ncooke3 May 30, 2025
9bb64a2
[Docs] Update min. Xcode version in README.md and SwiftPackageManager…
ncooke3 May 30, 2025
f991be1
[Infra] Trigger dependent workflows when .github/workflows/common_cat…
ncooke3 May 30, 2025
b4b6c81
[Auth] Re-add `import Foundation` in `SecureTokenService.swift` (#14920)
andrewheard May 30, 2025
8174544
Skip test due to being a bad test (#14923)
dmaclach Jun 1, 2025
572228d
Refactored Number Coding in `FunctionsSerializer` (#14889)
yakovmanshin Jun 3, 2025
4aba365
[Infra] Migrate firestore.yml to use reusable workflow jobs (#14917)
ncooke3 Jun 3, 2025
de72981
[Release] Carthage updates for M165 / 11.14.0 (#14927)
andrewheard Jun 3, 2025
d5e993c
[Firebase AI] Add Firebase AI Logic SDK to Carthage docs (#14928)
andrewheard Jun 3, 2025
1045d44
[Release] Update versions for `11.15.0` (#14930)
andrewheard Jun 4, 2025
78461e8
[Firebase AI] Add code snippets for `countTokens` (#14940)
andrewheard Jun 5, 2025
62942a1
[Auth] NFC - AuthRecaptchaVerifier.swift (#14938)
ncooke3 Jun 5, 2025
4238479
Rename VertexAITestApp to FirebaseAITestApp (#14943)
paulb777 Jun 9, 2025
4b69595
[Firebase AI] Make `GenerativeAIRequest.Response` `Sendable` (#14947)
andrewheard Jun 9, 2025
8752b16
[Sessions] Fix Sendability warnings (#14952)
ncooke3 Jun 10, 2025
5f2ba26
Update Xcode version in CONTRIBUTING.md (#14954)
paulb777 Jun 11, 2025
3dad2f1
[Firebase AI] Upgrade Gemini 1.x models in integration tests (#14956)
andrewheard Jun 11, 2025
97562e7
[Firebase AI] Remove `v1` integration tests (#14959)
andrewheard Jun 12, 2025
70cd2ff
Add AI Logic product to FEATURE_REQUEST.yml (#14969)
paulb777 Jun 12, 2025
718df02
docs: fix `auxiliary` in firebaseFunctions sources (#14964)
MojtabaHs Jun 12, 2025
334c2b8
docs: fix `NSDictionary` in firebaseFunctions internal sources (#14965)
MojtabaHs Jun 12, 2025
d62c7a2
fix: a typo in CanSchedule`Operations`WithRespectsToShutdownState (#1…
MojtabaHs Jun 12, 2025
782689c
[Infra] Remove C99 language standard settings (#14970)
ncooke3 Jun 12, 2025
5e1ece4
[Infra] Update FEATURE_REQUEST.yml (#14973)
ncooke3 Jun 13, 2025
06042b6
Remove quickstart tests from dynamiclinks.yml (#14974)
paulb777 Jun 13, 2025
cf262da
[Infra] Delete scripts/gha-encrypted/qs-dynamiclinks.plist.gpg (#14976)
ncooke3 Jun 13, 2025
9b7b370
[Infra] Remove FDL qs from [pre]release.yml (#14977)
ncooke3 Jun 13, 2025
b54e68e
Add title parameter to all static functions in Schema class (#14971)
SeanChinJunKai Jun 13, 2025
343bda6
[Firebase AI] Fix JSON formatting issue in `Schema` unit tests (#14980)
andrewheard Jun 13, 2025
56b4128
[Firebase AI] Add support for configuring a thinking budget (#14909)
andrewheard Jun 16, 2025
3b76a1b
[Firebase AI] Add integration tests for `global` endpoint (#14991)
andrewheard Jun 16, 2025
1c56726
Changelog 11.15.0 (#14994)
paulb777 Jun 17, 2025
cf99a3c
[Auth] Address Xcode 26 warnings in Auth (#14996)
ncooke3 Jun 17, 2025
fa3529a
Analytics 11.15.0 (#14999)
htcgh Jun 17, 2025
3879094
[Firebase AI] Deprecate `CountTokensResponse.totalBillableCharacters`…
andrewheard Jun 17, 2025
676a24d
[Infra] Remove Firebase Dynamic Links from the InAppMessaging sample …
ncooke3 Jun 18, 2025
01a7794
[Core] Deprecate '-[FIROptions deepLinkURLScheme]' API (#15001)
ncooke3 Jun 18, 2025
0d4728b
[Infra] Update CHANGELOG.md for `Options.deepLinkURLScheme` deprecati…
ncooke3 Jun 18, 2025
a00029b
[Core] Remove testing usage of Options.deepLinkURLScheme (#15004)
ncooke3 Jun 18, 2025
3027569
[Firebase AI] Update models used in integration tests (#15007)
andrewheard Jun 19, 2025
e05b238
[Core] Remove Options.deepLinkURLScheme (#15006)
ncooke3 Jun 20, 2025
d2e2ed0
[DynamicLinks] Remove library and corresponding infra (#14978)
ncooke3 Jun 20, 2025
318edd4
[Core] Remove `Options.androidClientID` and `Options.trackingID` (#15…
ncooke3 Jun 20, 2025
a945ff3
[FirebaseAI] update the jump link in README.md for quickstart-ios (#1…
YoungHypo Jun 23, 2025
bb17e64
Carthage 11.15.0 (#15022)
paulb777 Jun 23, 2025
dde003c
Remove deprecated VertexAI (#15027)
paulb777 Jun 24, 2025
d6c8c21
Version 12.0.0 (#15025)
paulb777 Jun 24, 2025
ca966a2
NOTICES Change (#15030)
github-actions[bot] Jun 24, 2025
8f785fc
[Infra] Stop including AdMob in zip builds (#15024)
ncooke3 Jun 24, 2025
3fe56e9
[Firebase AI] Cleanup Vertex AI in Firebase references (#15033)
andrewheard Jun 24, 2025
4238fd8
[Infra] Bump podspec min. versions (#15015)
ncooke3 Jun 24, 2025
17f6f81
[Auth] Remove 'ActionCodeSettings.dynamicLinkDomain' (#15036)
ncooke3 Jun 24, 2025
6482013
[Infra] Bump to Xcode 16.4 on CI runners (#15034)
ncooke3 Jun 24, 2025
3a552e9
[Auth] Remove deprecated string-based provider ID APIs (#15037)
ncooke3 Jun 24, 2025
f4024f0
[Auth] Remove `AuthErrorCode`s '.dynamicLinkNotActivated' & '.invali…
ncooke3 Jun 25, 2025
1450754
Improve Real-time response Handling for Remote Config (#15031)
tusharkhandelwal8 Jun 27, 2025
ddcd6e9
Change iPadOS26 session background listener for session background (#…
themiswang Jun 27, 2025
25f2f46
[Infra] For SPM, defer to Xcode for supported platform versions (#15039)
ncooke3 Jun 27, 2025
5af1fdb
[FIAM] Remove dep. warning (#15051)
ncooke3 Jun 30, 2025
f89ea76
merge in main
cherylEnkidu Jun 30, 2025
c3cc79a
fix merge
cherylEnkidu Jun 30, 2025
33bc889
Pipeline tests part 3 (#15005)
cherylEnkidu Jun 30, 2025
8e1eebc
[realppl 1] Add pipeline listen proto changes (#14826)
wu-hui Sep 10, 2025
7c1bbd4
Ppl public API changes (#15066)
cherylEnkidu Sep 12, 2025
9685284
merge in main
cherylEnkidu Sep 12, 2025
8e0695d
[realppl 2] Minimalistic ppl offline evaluation (#14827)
wu-hui Sep 12, 2025
bc6a400
[realppl 3] Arithmetic and comparison expressions (#14849)
wu-hui Sep 15, 2025
266aacf
[realppl 4] Array, debug, field and logical expressions (#14850)
wu-hui Sep 17, 2025
2c5f607
[realppl 5] map,string,timestamp and mirroring semantics (#14851)
wu-hui Sep 19, 2025
2787ede
[realppl 6] offline ppl evaluation and tests (#14852)
wu-hui Sep 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/firestore-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
name: firestore_nightly

on:
pull_request:
branches: [ "cheryllin/pplapi", "cheryllin/ppl" ]
workflow_dispatch:

concurrency:
Expand Down Expand Up @@ -49,6 +51,7 @@ jobs:
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
MINT_PATH: ${{ github.workspace }}/mint
TARGET_DATABASE_ID: ${{ matrix.databaseId }}
USE_LATEST_CMAKE: false

runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -77,6 +80,11 @@ jobs:
run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/firestore-nightly.plist.gpg \
Firestore/Example/App/GoogleService-Info.plist "$plist_secret"

- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v2
with:
cmake-version: '3.31.1'

# Skipping terraform index creation because we are not allowed to download SA key json.

- name: Setup build
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Secrets.tar

# Xcode
build/
.index-build/
*.pbxuser
!default.pbxuser
*.mode1v3
Expand Down Expand Up @@ -155,6 +156,7 @@ FirebaseAppCheck/Apps/AppCheckCustomProvideApp/AppCheckCustomProvideApp/GoogleSe
/Example/FirestoreSample/ui-debug.log
/Example/FirestoreSample/firestore-debug.log
/Example/FirestoreSample/firebase-debug.log
Firestore/Example/GoogleService-Info.plist

# generated Terraform docs
.terraform/*
Expand Down
3 changes: 2 additions & 1 deletion FirebaseFirestoreInternal.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ Google Cloud Firestore is a NoSQL document database built for automatic scaling,
'"${PODS_TARGET_SRCROOT}" ' +
'"${PODS_TARGET_SRCROOT}/Firestore/Source/Public" ' +
'"${PODS_ROOT}/nanopb" ' +
'"${PODS_TARGET_SRCROOT}/Firestore/Protos/nanopb"'
'"${PODS_TARGET_SRCROOT}/Firestore/Protos/nanopb" ' +
'"$(PODS_ROOT)/gRPC-C++/third_party/re2"'
}

s.compiler_flags = '$(inherited) -Wreorder -Werror=reorder -Wno-comma'
Expand Down
3 changes: 3 additions & 0 deletions Firestore/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Unreleased
- [feature] Add `Pipeline` support.

# 12.1.0
- [fixed] Fixed accidental removal of `pod "Firebase/Firestore"` for tvOS in 12.0.0.

Expand Down
953 changes: 712 additions & 241 deletions Firestore/Example/Firestore.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "54B8E4A9224BDC4100930F18"
BuildableName = "Firestore_IntegrationTests_macOS.xctest"
BlueprintName = "Firestore_IntegrationTests_macOS"
ReferencedContainer = "container:Firestore.xcodeproj">
</BuildableReference>
</MacroExpansion>
<Testables>
<TestableReference
skipped = "NO">
Expand All @@ -39,17 +48,6 @@
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "54B8E4A9224BDC4100930F18"
BuildableName = "Firestore_IntegrationTests_macOS.xctest"
BlueprintName = "Firestore_IntegrationTests_macOS"
ReferencedContainer = "container:Firestore.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
Expand All @@ -70,8 +68,6 @@
ReferencedContainer = "container:Firestore.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
Expand Down
7 changes: 0 additions & 7 deletions Firestore/Example/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,6 @@ if is_platform(:ios)

pod 'leveldb-library'
end

target 'Firestore_FuzzTests_iOS' do
inherit! :search_paths
platform :ios, '15.0'

pod 'LibFuzzer', :podspec => 'LibFuzzer.podspec', :inhibit_warnings => true
end
end
end

Expand Down
2 changes: 2 additions & 0 deletions Firestore/Example/Tests/Util/FSTIntegrationTestCase.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ extern "C" {
/** Returns the default Firestore database ID for testing. */
+ (NSString *)databaseID;

+ (void)switchToEnterpriseMode;

+ (bool)isRunningAgainstEmulator;

/** Returns a FirestoreSettings configured to use either hexa or the emulator. */
Expand Down
5 changes: 5 additions & 0 deletions Firestore/Example/Tests/Util/FSTIntegrationTestCase.mm
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@

static NSString *defaultProjectId;
static NSString *defaultDatabaseId = @"(default)";
static NSString *enterpriseDatabaseId = @"enterprise";
static FIRFirestoreSettings *defaultSettings;

static bool runningAgainstEmulator = false;
Expand Down Expand Up @@ -273,6 +274,10 @@ + (NSString *)databaseID {
return defaultDatabaseId;
}

+ (void)switchToEnterpriseMode {
defaultDatabaseId = enterpriseDatabaseId;
}

+ (bool)isRunningAgainstEmulator {
// The only way to determine whether or not we're running against the emulator is to figure out
// which testing environment we're using. Essentially `setUpDefaults` determines
Expand Down
3 changes: 3 additions & 0 deletions Firestore/Protos/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,16 @@ set(
firestore/local/target
firestore/bundle
google/api/annotations
google/api/field_behavior
google/api/http
google/firestore/admin/index
google/firestore/v1/aggregation_result
google/firestore/v1/bloom_filter
google/firestore/v1/common
google/firestore/v1/document
google/firestore/v1/explain_stats
google/firestore/v1/firestore
google/firestore/v1/pipeline
google/firestore/v1/query
google/firestore/v1/write
google/rpc/status
Expand Down
99 changes: 80 additions & 19 deletions Firestore/Protos/cpp/firestore/local/target.pb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ const ::uint32_t TableStruct_firestore_2flocal_2ftarget_2eproto::offsets[] PROTO
PROTOBUF_FIELD_OFFSET(::firestore::client::Target, _impl_.last_listen_sequence_number_),
::_pbi::kInvalidFieldOffsetTag,
::_pbi::kInvalidFieldOffsetTag,
::_pbi::kInvalidFieldOffsetTag,
PROTOBUF_FIELD_OFFSET(::firestore::client::Target, _impl_.last_limbo_free_snapshot_version_),
PROTOBUF_FIELD_OFFSET(::firestore::client::Target, _impl_.target_type_),
~0u,
Expand All @@ -118,6 +119,7 @@ const ::uint32_t TableStruct_firestore_2flocal_2ftarget_2eproto::offsets[] PROTO
~0u,
~0u,
~0u,
~0u,
1,
PROTOBUF_FIELD_OFFSET(::firestore::client::TargetGlobal, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::firestore::client::TargetGlobal, _internal_metadata_),
Expand All @@ -139,8 +141,8 @@ const ::uint32_t TableStruct_firestore_2flocal_2ftarget_2eproto::offsets[] PROTO

static const ::_pbi::MigrationSchema
schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
{0, 16, -1, sizeof(::firestore::client::Target)},
{23, 35, -1, sizeof(::firestore::client::TargetGlobal)},
{0, 17, -1, sizeof(::firestore::client::Target)},
{25, 37, -1, sizeof(::firestore::client::TargetGlobal)},
};

static const ::_pb::Message* const file_default_instances[] = {
Expand All @@ -150,22 +152,24 @@ static const ::_pb::Message* const file_default_instances[] = {
const char descriptor_table_protodef_firestore_2flocal_2ftarget_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
"\n\034firestore/local/target.proto\022\020firestor"
"e.client\032#google/firestore/v1/firestore."
"proto\032\037google/protobuf/timestamp.proto\"\335"
"\002\n\006Target\022\021\n\ttarget_id\030\001 \001(\005\0224\n\020snapshot"
"proto\032\037google/protobuf/timestamp.proto\"\250"
"\003\n\006Target\022\021\n\ttarget_id\030\001 \001(\005\0224\n\020snapshot"
"_version\030\002 \001(\0132\032.google.protobuf.Timesta"
"mp\022\024\n\014resume_token\030\003 \001(\014\022#\n\033last_listen_"
"sequence_number\030\004 \001(\003\0228\n\005query\030\005 \001(\0132\'.g"
"oogle.firestore.v1.Target.QueryTargetH\000\022"
"@\n\tdocuments\030\006 \001(\0132+.google.firestore.v1"
".Target.DocumentsTargetH\000\022D\n last_limbo_"
"free_snapshot_version\030\007 \001(\0132\032.google.pro"
"tobuf.TimestampB\r\n\013target_type\"\251\001\n\014Targe"
"tGlobal\022\031\n\021highest_target_id\030\001 \001(\005\022&\n\036hi"
"ghest_listen_sequence_number\030\002 \001(\003\022@\n\034la"
"st_remote_snapshot_version\030\003 \001(\0132\032.googl"
"e.protobuf.Timestamp\022\024\n\014target_count\030\004 \001"
"(\005B/\n#com.google.firebase.firestore.prot"
"oP\001\242\002\005FSTPBb\006proto3"
".Target.DocumentsTargetH\000\022I\n\016pipeline_qu"
"ery\030\r \001(\0132/.google.firestore.v1.Target.P"
"ipelineQueryTargetH\000\022D\n last_limbo_free_"
"snapshot_version\030\007 \001(\0132\032.google.protobuf"
".TimestampB\r\n\013target_type\"\251\001\n\014TargetGlob"
"al\022\031\n\021highest_target_id\030\001 \001(\005\022&\n\036highest"
"_listen_sequence_number\030\002 \001(\003\022@\n\034last_re"
"mote_snapshot_version\030\003 \001(\0132\032.google.pro"
"tobuf.Timestamp\022\024\n\014target_count\030\004 \001(\005B/\n"
"#com.google.firebase.firestore.protoP\001\242\002"
"\005FSTPBb\006proto3"
};
static const ::_pbi::DescriptorTable* const descriptor_table_firestore_2flocal_2ftarget_2eproto_deps[2] =
{
Expand All @@ -176,7 +180,7 @@ static ::absl::once_flag descriptor_table_firestore_2flocal_2ftarget_2eproto_onc
const ::_pbi::DescriptorTable descriptor_table_firestore_2flocal_2ftarget_2eproto = {
false,
false,
699,
774,
descriptor_table_protodef_firestore_2flocal_2ftarget_2eproto,
"firestore/local/target.proto",
&descriptor_table_firestore_2flocal_2ftarget_2eproto_once,
Expand Down Expand Up @@ -225,6 +229,7 @@ class Target::_Internal {
}
static const ::google::firestore::v1::Target_QueryTarget& query(const Target* msg);
static const ::google::firestore::v1::Target_DocumentsTarget& documents(const Target* msg);
static const ::google::firestore::v1::Target_PipelineQueryTarget& pipeline_query(const Target* msg);
static const ::google::protobuf::Timestamp& last_limbo_free_snapshot_version(const Target* msg);
static void set_has_last_limbo_free_snapshot_version(HasBits* has_bits) {
(*has_bits)[0] |= 2u;
Expand All @@ -240,6 +245,9 @@ const ::google::firestore::v1::Target_QueryTarget& Target::_Internal::query(cons
const ::google::firestore::v1::Target_DocumentsTarget& Target::_Internal::documents(const Target* msg) {
return *msg->_impl_.target_type_.documents_;
}
const ::google::firestore::v1::Target_PipelineQueryTarget& Target::_Internal::pipeline_query(const Target* msg) {
return *msg->_impl_.target_type_.pipeline_query_;
}
const ::google::protobuf::Timestamp& Target::_Internal::last_limbo_free_snapshot_version(const Target* msg) {
return *msg->_impl_.last_limbo_free_snapshot_version_;
}
Expand Down Expand Up @@ -292,6 +300,28 @@ void Target::clear_documents() {
clear_has_target_type();
}
}
void Target::set_allocated_pipeline_query(::google::firestore::v1::Target_PipelineQueryTarget* pipeline_query) {
::google::protobuf::Arena* message_arena = GetArena();
clear_target_type();
if (pipeline_query) {
::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(pipeline_query)->GetArena();
if (message_arena != submessage_arena) {
pipeline_query = ::google::protobuf::internal::GetOwnedMessage(message_arena, pipeline_query, submessage_arena);
}
set_has_pipeline_query();
_impl_.target_type_.pipeline_query_ = pipeline_query;
}
// @@protoc_insertion_point(field_set_allocated:firestore.client.Target.pipeline_query)
}
void Target::clear_pipeline_query() {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
if (target_type_case() == kPipelineQuery) {
if (GetArena() == nullptr) {
delete _impl_.target_type_.pipeline_query_;
}
clear_has_target_type();
}
}
void Target::clear_last_limbo_free_snapshot_version() {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
if (_impl_.last_limbo_free_snapshot_version_ != nullptr) _impl_.last_limbo_free_snapshot_version_->Clear();
Expand Down Expand Up @@ -343,6 +373,9 @@ Target::Target(
case kDocuments:
_impl_.target_type_.documents_ = CreateMaybeMessage<::google::firestore::v1::Target_DocumentsTarget>(arena, *from._impl_.target_type_.documents_);
break;
case kPipelineQuery:
_impl_.target_type_.pipeline_query_ = CreateMaybeMessage<::google::firestore::v1::Target_PipelineQueryTarget>(arena, *from._impl_.target_type_.pipeline_query_);
break;
}

// @@protoc_insertion_point(copy_constructor:firestore.client.Target)
Expand Down Expand Up @@ -396,6 +429,12 @@ void Target::clear_target_type() {
}
break;
}
case kPipelineQuery: {
if (GetArena() == nullptr) {
delete _impl_.target_type_.pipeline_query_;
}
break;
}
case TARGET_TYPE_NOT_SET: {
break;
}
Expand Down Expand Up @@ -439,16 +478,16 @@ const char* Target::_InternalParse(


PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<3, 7, 4, 0, 2> Target::_table_ = {
const ::_pbi::TcParseTable<3, 8, 5, 0, 2> Target::_table_ = {
{
PROTOBUF_FIELD_OFFSET(Target, _impl_._has_bits_),
0, // no _extensions_
7, 56, // max_field_number, fast_idx_mask
13, 56, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967168, // skipmap
4294963072, // skipmap
offsetof(decltype(_table_), field_entries),
7, // num_field_entries
4, // num_aux_entries
8, // num_field_entries
5, // num_aux_entries
offsetof(decltype(_table_), aux_entries),
&_Target_default_instance_._instance,
::_pbi::TcParser::GenericFallback, // fallback
Expand Down Expand Up @@ -495,11 +534,15 @@ const ::_pbi::TcParseTable<3, 7, 4, 0, 2> Target::_table_ = {
// .google.protobuf.Timestamp last_limbo_free_snapshot_version = 7;
{PROTOBUF_FIELD_OFFSET(Target, _impl_.last_limbo_free_snapshot_version_), _Internal::kHasBitsOffset + 1, 3,
(0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
// .google.firestore.v1.Target.PipelineQueryTarget pipeline_query = 13;
{PROTOBUF_FIELD_OFFSET(Target, _impl_.target_type_.pipeline_query_), _Internal::kOneofCaseOffset + 0, 4,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
}}, {{
{::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()},
{::_pbi::TcParser::GetTable<::google::firestore::v1::Target_QueryTarget>()},
{::_pbi::TcParser::GetTable<::google::firestore::v1::Target_DocumentsTarget>()},
{::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()},
{::_pbi::TcParser::GetTable<::google::firestore::v1::Target_PipelineQueryTarget>()},
}}, {{
}},
};
Expand Down Expand Up @@ -562,6 +605,13 @@ ::uint8_t* Target::_InternalSerialize(
_Internal::last_limbo_free_snapshot_version(this).GetCachedSize(), target, stream);
}

// .google.firestore.v1.Target.PipelineQueryTarget pipeline_query = 13;
if (target_type_case() == kPipelineQuery) {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
13, _Internal::pipeline_query(this),
_Internal::pipeline_query(this).GetCachedSize(), target, stream);
}

if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
Expand Down Expand Up @@ -625,6 +675,12 @@ ::size_t Target::ByteSizeLong() const {
1 + ::google::protobuf::internal::WireFormatLite::MessageSize(*_impl_.target_type_.documents_);
break;
}
// .google.firestore.v1.Target.PipelineQueryTarget pipeline_query = 13;
case kPipelineQuery: {
total_size +=
1 + ::google::protobuf::internal::WireFormatLite::MessageSize(*_impl_.target_type_.pipeline_query_);
break;
}
case TARGET_TYPE_NOT_SET: {
break;
}
Expand Down Expand Up @@ -679,6 +735,11 @@ void Target::MergeImpl(::google::protobuf::Message& to_msg, const ::google::prot
from._internal_documents());
break;
}
case kPipelineQuery: {
_this->_internal_mutable_pipeline_query()->::google::firestore::v1::Target_PipelineQueryTarget::MergeFrom(
from._internal_pipeline_query());
break;
}
case TARGET_TYPE_NOT_SET: {
break;
}
Expand Down
Loading
Loading