Skip to content

Commit 7a4a98c

Browse files
committed
Add ppl protos (#14516)
1 parent 574db2e commit 7a4a98c

File tree

98 files changed

+11363
-3675
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+11363
-3675
lines changed

Firestore/Example/Firestore.xcodeproj/project.pbxproj

+48
Large diffs are not rendered by default.

Firestore/Example/Firestore.xcodeproj/xcshareddata/xcschemes/Firestore_IntegrationTests_macOS.xcscheme

+9-13
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
2929
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<MacroExpansion>
31+
<BuildableReference
32+
BuildableIdentifier = "primary"
33+
BlueprintIdentifier = "54B8E4A9224BDC4100930F18"
34+
BuildableName = "Firestore_IntegrationTests_macOS.xctest"
35+
BlueprintName = "Firestore_IntegrationTests_macOS"
36+
ReferencedContainer = "container:Firestore.xcodeproj">
37+
</BuildableReference>
38+
</MacroExpansion>
3039
<Testables>
3140
<TestableReference
3241
skipped = "NO">
@@ -39,17 +48,6 @@
3948
</BuildableReference>
4049
</TestableReference>
4150
</Testables>
42-
<MacroExpansion>
43-
<BuildableReference
44-
BuildableIdentifier = "primary"
45-
BlueprintIdentifier = "54B8E4A9224BDC4100930F18"
46-
BuildableName = "Firestore_IntegrationTests_macOS.xctest"
47-
BlueprintName = "Firestore_IntegrationTests_macOS"
48-
ReferencedContainer = "container:Firestore.xcodeproj">
49-
</BuildableReference>
50-
</MacroExpansion>
51-
<AdditionalOptions>
52-
</AdditionalOptions>
5351
</TestAction>
5452
<LaunchAction
5553
buildConfiguration = "Debug"
@@ -70,8 +68,6 @@
7068
ReferencedContainer = "container:Firestore.xcodeproj">
7169
</BuildableReference>
7270
</MacroExpansion>
73-
<AdditionalOptions>
74-
</AdditionalOptions>
7571
</LaunchAction>
7672
<ProfileAction
7773
buildConfiguration = "Release"

Firestore/Protos/CMakeLists.txt

+3
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,16 @@ set(
4242
firestore/local/target
4343
firestore/bundle
4444
google/api/annotations
45+
google/api/field_behavior
4546
google/api/http
4647
google/firestore/admin/index
4748
google/firestore/v1/aggregation_result
4849
google/firestore/v1/bloom_filter
4950
google/firestore/v1/common
5051
google/firestore/v1/document
52+
google/firestore/v1/explain_stats
5153
google/firestore/v1/firestore
54+
google/firestore/v1/pipeline
5255
google/firestore/v1/query
5356
google/firestore/v1/write
5457
google/rpc/status

Firestore/Protos/cpp/firestore/bundle.pb.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 Google LLC
2+
* Copyright 2025 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

Firestore/Protos/cpp/firestore/bundle.pb.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 Google LLC
2+
* Copyright 2025 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

Firestore/Protos/cpp/firestore/local/maybe_document.pb.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 Google LLC
2+
* Copyright 2025 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

Firestore/Protos/cpp/firestore/local/maybe_document.pb.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 Google LLC
2+
* Copyright 2025 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

Firestore/Protos/cpp/firestore/local/mutation.pb.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 Google LLC
2+
* Copyright 2025 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

Firestore/Protos/cpp/firestore/local/mutation.pb.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 Google LLC
2+
* Copyright 2025 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

Firestore/Protos/cpp/firestore/local/target.pb.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 Google LLC
2+
* Copyright 2025 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

Firestore/Protos/cpp/firestore/local/target.pb.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 Google LLC
2+
* Copyright 2025 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

Firestore/Protos/cpp/google/api/annotations.pb.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 Google LLC
2+
* Copyright 2025 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

Firestore/Protos/cpp/google/api/annotations.pb.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 Google LLC
2+
* Copyright 2025 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
/*
2+
* Copyright 2025 Google LLC
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
// Generated by the protocol buffer compiler. DO NOT EDIT!
18+
// source: google/api/field_behavior.proto
19+
20+
#include "google/api/field_behavior.pb.h"
21+
22+
#include <algorithm>
23+
#include "google/protobuf/io/coded_stream.h"
24+
#include "google/protobuf/extension_set.h"
25+
#include "google/protobuf/wire_format_lite.h"
26+
#include "google/protobuf/descriptor.h"
27+
#include "google/protobuf/generated_message_reflection.h"
28+
#include "google/protobuf/reflection_ops.h"
29+
#include "google/protobuf/wire_format.h"
30+
#include "google/protobuf/generated_message_tctable_impl.h"
31+
// @@protoc_insertion_point(includes)
32+
33+
// Must be included last.
34+
#include "google/protobuf/port_def.inc"
35+
PROTOBUF_PRAGMA_INIT_SEG
36+
namespace _pb = ::google::protobuf;
37+
namespace _pbi = ::google::protobuf::internal;
38+
namespace _fl = ::google::protobuf::internal::field_layout;
39+
namespace google {
40+
namespace api {
41+
} // namespace api
42+
} // namespace google
43+
static const ::_pb::EnumDescriptor* file_level_enum_descriptors_google_2fapi_2ffield_5fbehavior_2eproto[1];
44+
static constexpr const ::_pb::ServiceDescriptor**
45+
file_level_service_descriptors_google_2fapi_2ffield_5fbehavior_2eproto = nullptr;
46+
const ::uint32_t TableStruct_google_2fapi_2ffield_5fbehavior_2eproto::offsets[1] = {};
47+
static constexpr ::_pbi::MigrationSchema* schemas = nullptr;
48+
static constexpr ::_pb::Message* const* file_default_instances = nullptr;
49+
const char descriptor_table_protodef_google_2fapi_2ffield_5fbehavior_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
50+
"\n\037google/api/field_behavior.proto\022\ngoogl"
51+
"e.api\032 google/protobuf/descriptor.proto*"
52+
"\266\001\n\rFieldBehavior\022\036\n\032FIELD_BEHAVIOR_UNSP"
53+
"ECIFIED\020\000\022\014\n\010OPTIONAL\020\001\022\014\n\010REQUIRED\020\002\022\017\n"
54+
"\013OUTPUT_ONLY\020\003\022\016\n\nINPUT_ONLY\020\004\022\r\n\tIMMUTA"
55+
"BLE\020\005\022\022\n\016UNORDERED_LIST\020\006\022\025\n\021NON_EMPTY_D"
56+
"EFAULT\020\007\022\016\n\nIDENTIFIER\020\010:U\n\016field_behavi"
57+
"or\022\035.google.protobuf.FieldOptions\030\234\010 \003(\016"
58+
"2\031.google.api.FieldBehaviorB\002\020\000Bp\n\016com.g"
59+
"oogle.apiB\022FieldBehaviorProtoP\001ZAgoogle."
60+
"golang.org/genproto/googleapis/api/annot"
61+
"ations;annotations\242\002\004GAPIb\006proto3"
62+
};
63+
static const ::_pbi::DescriptorTable* const descriptor_table_google_2fapi_2ffield_5fbehavior_2eproto_deps[1] =
64+
{
65+
&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
66+
};
67+
static ::absl::once_flag descriptor_table_google_2fapi_2ffield_5fbehavior_2eproto_once;
68+
const ::_pbi::DescriptorTable descriptor_table_google_2fapi_2ffield_5fbehavior_2eproto = {
69+
false,
70+
false,
71+
473,
72+
descriptor_table_protodef_google_2fapi_2ffield_5fbehavior_2eproto,
73+
"google/api/field_behavior.proto",
74+
&descriptor_table_google_2fapi_2ffield_5fbehavior_2eproto_once,
75+
descriptor_table_google_2fapi_2ffield_5fbehavior_2eproto_deps,
76+
1,
77+
0,
78+
schemas,
79+
file_default_instances,
80+
TableStruct_google_2fapi_2ffield_5fbehavior_2eproto::offsets,
81+
nullptr,
82+
file_level_enum_descriptors_google_2fapi_2ffield_5fbehavior_2eproto,
83+
file_level_service_descriptors_google_2fapi_2ffield_5fbehavior_2eproto,
84+
};
85+
86+
// This function exists to be marked as weak.
87+
// It can significantly speed up compilation by breaking up LLVM's SCC
88+
// in the .pb.cc translation units. Large translation units see a
89+
// reduction of more than 35% of walltime for optimized builds. Without
90+
// the weak attribute all the messages in the file, including all the
91+
// vtables and everything they use become part of the same SCC through
92+
// a cycle like:
93+
// GetMetadata -> descriptor table -> default instances ->
94+
// vtables -> GetMetadata
95+
// By adding a weak function here we break the connection from the
96+
// individual vtables back into the descriptor table.
97+
PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_google_2fapi_2ffield_5fbehavior_2eproto_getter() {
98+
return &descriptor_table_google_2fapi_2ffield_5fbehavior_2eproto;
99+
}
100+
// Force running AddDescriptors() at dynamic initialization time.
101+
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
102+
static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_google_2fapi_2ffield_5fbehavior_2eproto(&descriptor_table_google_2fapi_2ffield_5fbehavior_2eproto);
103+
namespace google {
104+
namespace api {
105+
const ::google::protobuf::EnumDescriptor* FieldBehavior_descriptor() {
106+
::google::protobuf::internal::AssignDescriptors(&descriptor_table_google_2fapi_2ffield_5fbehavior_2eproto);
107+
return file_level_enum_descriptors_google_2fapi_2ffield_5fbehavior_2eproto[0];
108+
}
109+
PROTOBUF_CONSTINIT const uint32_t FieldBehavior_internal_data_[] = {
110+
589824u, 0u, };
111+
bool FieldBehavior_IsValid(int value) {
112+
return 0 <= value && value <= 8;
113+
}
114+
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::FieldOptions,
115+
::google::protobuf::internal::RepeatedEnumTypeTraits< ::google::api::FieldBehavior, ::google::api::FieldBehavior_IsValid>, 14, false>
116+
field_behavior(kFieldBehaviorFieldNumber, static_cast< ::google::api::FieldBehavior >(0), nullptr);
117+
// @@protoc_insertion_point(namespace_scope)
118+
} // namespace api
119+
} // namespace google
120+
namespace google {
121+
namespace protobuf {
122+
} // namespace protobuf
123+
} // namespace google
124+
// @@protoc_insertion_point(global_scope)
125+
#include "google/protobuf/port_undef.inc"

0 commit comments

Comments
 (0)