mirror of
https://github.com/firebase/firebase-ios-sdk
synced 2026-11-09 22:36:01 +05:45
* Rename nanopb/.../*.pb.c to nanopb/.../*.nanopb.c This ensures that all generated nanopb files use the same (sub) extension of nanopb. This matches up with nanopb's --extension parameter (which will be enabled later in this PR.) * Remove references to NANOPB_PROTOC_BIN Which wasn't being used, and wasn't pointing to a valid protoc. * Add ability to generate protos from cmake build. Currently, it's an entirely manual process via 'generate_protos' target. This target is not automatically run during a build. See Firestore/Protos/build-protos.sh for expected usage. * cleanup/update license in build-protos.sh * Build grpc proto sources (objc only) * Use 32bit nanopb fields (instead of 16) To match xcode build, but also to allow google/api/annotations.proto to compile. (A recent change to nanopb now enforces this.) This isn't strictly necessary, since we don't make use of that proto, so we could've simply removed it instead (and in fact, the objc protos do exactly that) but matching the xcode build certainly seems worthwhile. * Rebuild all proto sources * Skip whitespace checks on protoc generated files
99 lines
3.4 KiB
C++
99 lines
3.4 KiB
C++
/*
|
|
* Copyright 2018 Google
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: google/api/annotations.proto
|
|
|
|
#ifndef PROTOBUF_google_2fapi_2fannotations_2eproto__INCLUDED
|
|
#define PROTOBUF_google_2fapi_2fannotations_2eproto__INCLUDED
|
|
|
|
#include <string>
|
|
|
|
#include <google/protobuf/stubs/common.h>
|
|
|
|
#if GOOGLE_PROTOBUF_VERSION < 3005000
|
|
#error This file was generated by a newer version of protoc which is
|
|
#error incompatible with your Protocol Buffer headers. Please update
|
|
#error your headers.
|
|
#endif
|
|
#if 3005001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
|
|
#error This file was generated by an older version of protoc which is
|
|
#error incompatible with your Protocol Buffer headers. Please
|
|
#error regenerate this file with a newer version of protoc.
|
|
#endif
|
|
|
|
#include <google/protobuf/io/coded_stream.h>
|
|
#include <google/protobuf/arena.h>
|
|
#include <google/protobuf/arenastring.h>
|
|
#include <google/protobuf/generated_message_table_driven.h>
|
|
#include <google/protobuf/generated_message_util.h>
|
|
#include <google/protobuf/metadata.h>
|
|
#include <google/protobuf/repeated_field.h> // IWYU pragma: export
|
|
#include <google/protobuf/extension_set.h> // IWYU pragma: export
|
|
#include "google/api/http.pb.h"
|
|
#include <google/protobuf/descriptor.pb.h>
|
|
// @@protoc_insertion_point(includes)
|
|
|
|
namespace protobuf_google_2fapi_2fannotations_2eproto {
|
|
// Internal implementation detail -- do not use these members.
|
|
struct TableStruct {
|
|
static const ::google::protobuf::internal::ParseTableField entries[];
|
|
static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
|
|
static const ::google::protobuf::internal::ParseTable schema[1];
|
|
static const ::google::protobuf::internal::FieldMetadata field_metadata[];
|
|
static const ::google::protobuf::internal::SerializationTable serialization_table[];
|
|
static const ::google::protobuf::uint32 offsets[];
|
|
};
|
|
void AddDescriptors();
|
|
inline void InitDefaults() {
|
|
}
|
|
} // namespace protobuf_google_2fapi_2fannotations_2eproto
|
|
namespace google {
|
|
namespace api {
|
|
} // namespace api
|
|
} // namespace google
|
|
namespace google {
|
|
namespace api {
|
|
|
|
// ===================================================================
|
|
|
|
|
|
// ===================================================================
|
|
|
|
static const int kHttpFieldNumber = 72295728;
|
|
extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::MethodOptions,
|
|
::google::protobuf::internal::MessageTypeTraits< ::google::api::HttpRule >, 11, false >
|
|
http;
|
|
|
|
// ===================================================================
|
|
|
|
#ifdef __GNUC__
|
|
#pragma GCC diagnostic push
|
|
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
|
#endif // __GNUC__
|
|
#ifdef __GNUC__
|
|
#pragma GCC diagnostic pop
|
|
#endif // __GNUC__
|
|
|
|
// @@protoc_insertion_point(namespace_scope)
|
|
|
|
} // namespace api
|
|
} // namespace google
|
|
|
|
// @@protoc_insertion_point(global_scope)
|
|
|
|
#endif // PROTOBUF_google_2fapi_2fannotations_2eproto__INCLUDED
|