create
This commit is contained in:
51
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/api/annotations.nanopb.cc
generated
Normal file
51
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/api/annotations.nanopb.cc
generated
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2023 Google LLC
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
/* Automatically generated nanopb constant definitions */
|
||||
/* Generated by nanopb-0.3.9.8 */
|
||||
|
||||
#include "annotations.nanopb.h"
|
||||
|
||||
#include "Firestore/core/src/nanopb/pretty_printing.h"
|
||||
|
||||
namespace firebase {
|
||||
namespace firestore {
|
||||
|
||||
using nanopb::PrintEnumField;
|
||||
using nanopb::PrintHeader;
|
||||
using nanopb::PrintMessageField;
|
||||
using nanopb::PrintPrimitiveField;
|
||||
using nanopb::PrintTail;
|
||||
|
||||
/* @@protoc_insertion_point(includes) */
|
||||
#if PB_PROTO_HEADER_VERSION != 30
|
||||
#error Regenerate this file with the current version of nanopb generator.
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* Check that field information fits in pb_field_t */
|
||||
#if !defined(PB_FIELD_32BIT)
|
||||
#error Field descriptor for google_api_http_struct.http is too large. Define PB_FIELD_32BIT to fix this.
|
||||
#endif
|
||||
|
||||
|
||||
} // namespace firestore
|
||||
} // namespace firebase
|
||||
|
||||
/* @@protoc_insertion_point(eof) */
|
||||
46
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/api/annotations.nanopb.h
generated
Normal file
46
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/api/annotations.nanopb.h
generated
Normal file
@@ -0,0 +1,46 @@
|
||||
/*
|
||||
* Copyright 2023 Google LLC
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
/* Automatically generated nanopb header */
|
||||
/* Generated by nanopb-0.3.9.8 */
|
||||
|
||||
#ifndef PB_GOOGLE_API_ANNOTATIONS_NANOPB_H_INCLUDED
|
||||
#define PB_GOOGLE_API_ANNOTATIONS_NANOPB_H_INCLUDED
|
||||
#include <pb.h>
|
||||
|
||||
#include "google/api/http.nanopb.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace firebase {
|
||||
namespace firestore {
|
||||
|
||||
/* @@protoc_insertion_point(includes) */
|
||||
#if PB_PROTO_HEADER_VERSION != 30
|
||||
#error Regenerate this file with the current version of nanopb generator.
|
||||
#endif
|
||||
|
||||
|
||||
/* Extensions */
|
||||
/* Extension field google_api_http was skipped because only "optional"
|
||||
type of extension fields is currently supported. */
|
||||
|
||||
} // namespace firestore
|
||||
} // namespace firebase
|
||||
|
||||
/* @@protoc_insertion_point(eof) */
|
||||
|
||||
#endif
|
||||
174
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/api/http.nanopb.cc
generated
Normal file
174
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/api/http.nanopb.cc
generated
Normal file
@@ -0,0 +1,174 @@
|
||||
/*
|
||||
* Copyright 2023 Google LLC
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
/* Automatically generated nanopb constant definitions */
|
||||
/* Generated by nanopb-0.3.9.8 */
|
||||
|
||||
#include "http.nanopb.h"
|
||||
|
||||
#include "Firestore/core/src/nanopb/pretty_printing.h"
|
||||
|
||||
namespace firebase {
|
||||
namespace firestore {
|
||||
|
||||
using nanopb::PrintEnumField;
|
||||
using nanopb::PrintHeader;
|
||||
using nanopb::PrintMessageField;
|
||||
using nanopb::PrintPrimitiveField;
|
||||
using nanopb::PrintTail;
|
||||
|
||||
/* @@protoc_insertion_point(includes) */
|
||||
#if PB_PROTO_HEADER_VERSION != 30
|
||||
#error Regenerate this file with the current version of nanopb generator.
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
const pb_field_t google_api_Http_fields[3] = {
|
||||
PB_FIELD( 1, MESSAGE , REPEATED, POINTER , FIRST, google_api_Http, rules, rules, &google_api_HttpRule_fields),
|
||||
PB_FIELD( 2, BOOL , SINGULAR, STATIC , OTHER, google_api_Http, fully_decode_reserved_expansion, rules, 0),
|
||||
PB_LAST_FIELD
|
||||
};
|
||||
|
||||
const pb_field_t google_api_HttpRule_fields[10] = {
|
||||
PB_FIELD( 1, BYTES , SINGULAR, POINTER , FIRST, google_api_HttpRule, selector, selector, 0),
|
||||
PB_ANONYMOUS_ONEOF_FIELD(pattern, 2, BYTES , ONEOF, POINTER , OTHER, google_api_HttpRule, get, selector, 0),
|
||||
PB_ANONYMOUS_ONEOF_FIELD(pattern, 3, BYTES , ONEOF, POINTER , UNION, google_api_HttpRule, put, selector, 0),
|
||||
PB_ANONYMOUS_ONEOF_FIELD(pattern, 4, BYTES , ONEOF, POINTER , UNION, google_api_HttpRule, post, selector, 0),
|
||||
PB_ANONYMOUS_ONEOF_FIELD(pattern, 5, BYTES , ONEOF, POINTER , UNION, google_api_HttpRule, delete_, selector, 0),
|
||||
PB_ANONYMOUS_ONEOF_FIELD(pattern, 6, BYTES , ONEOF, POINTER , UNION, google_api_HttpRule, patch, selector, 0),
|
||||
PB_ANONYMOUS_ONEOF_FIELD(pattern, 8, MESSAGE , ONEOF, STATIC , UNION, google_api_HttpRule, custom, selector, &google_api_CustomHttpPattern_fields),
|
||||
PB_FIELD( 7, BYTES , SINGULAR, POINTER , OTHER, google_api_HttpRule, body, custom, 0),
|
||||
PB_FIELD( 11, MESSAGE , REPEATED, POINTER , OTHER, google_api_HttpRule, additional_bindings, body, &google_api_HttpRule_fields),
|
||||
PB_LAST_FIELD
|
||||
};
|
||||
|
||||
const pb_field_t google_api_CustomHttpPattern_fields[3] = {
|
||||
PB_FIELD( 1, BYTES , SINGULAR, POINTER , FIRST, google_api_CustomHttpPattern, kind, kind, 0),
|
||||
PB_FIELD( 2, BYTES , SINGULAR, POINTER , OTHER, google_api_CustomHttpPattern, path, kind, 0),
|
||||
PB_LAST_FIELD
|
||||
};
|
||||
|
||||
|
||||
/* Check that field information fits in pb_field_t */
|
||||
#if !defined(PB_FIELD_32BIT)
|
||||
/* If you get an error here, it means that you need to define PB_FIELD_32BIT
|
||||
* compile-time option. You can do that in pb.h or on compiler command line.
|
||||
*
|
||||
* The reason you need to do this is that some of your messages contain tag
|
||||
* numbers or field sizes that are larger than what can fit in 8 or 16 bit
|
||||
* field descriptors.
|
||||
*/
|
||||
PB_STATIC_ASSERT((pb_membersize(google_api_HttpRule, custom) < 65536), YOU_MUST_DEFINE_PB_FIELD_32BIT_FOR_MESSAGES_google_api_Http_google_api_HttpRule_google_api_CustomHttpPattern)
|
||||
#endif
|
||||
|
||||
#if !defined(PB_FIELD_16BIT) && !defined(PB_FIELD_32BIT)
|
||||
/* If you get an error here, it means that you need to define PB_FIELD_16BIT
|
||||
* compile-time option. You can do that in pb.h or on compiler command line.
|
||||
*
|
||||
* The reason you need to do this is that some of your messages contain tag
|
||||
* numbers or field sizes that are larger than what can fit in the default
|
||||
* 8 bit descriptors.
|
||||
*/
|
||||
PB_STATIC_ASSERT((pb_membersize(google_api_HttpRule, custom) < 256), YOU_MUST_DEFINE_PB_FIELD_16BIT_FOR_MESSAGES_google_api_Http_google_api_HttpRule_google_api_CustomHttpPattern)
|
||||
#endif
|
||||
|
||||
|
||||
std::string google_api_Http::ToString(int indent) const {
|
||||
std::string tostring_header = PrintHeader(indent, "Http", this);
|
||||
std::string tostring_result;
|
||||
|
||||
for (pb_size_t i = 0; i != rules_count; ++i) {
|
||||
tostring_result += PrintMessageField("rules ",
|
||||
rules[i], indent + 1, true);
|
||||
}
|
||||
tostring_result += PrintPrimitiveField("fully_decode_reserved_expansion: ",
|
||||
fully_decode_reserved_expansion, indent + 1, false);
|
||||
|
||||
bool is_root = indent == 0;
|
||||
if (!tostring_result.empty() || is_root) {
|
||||
std::string tostring_tail = PrintTail(indent);
|
||||
return tostring_header + tostring_result + tostring_tail;
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
std::string google_api_HttpRule::ToString(int indent) const {
|
||||
std::string tostring_header = PrintHeader(indent, "HttpRule", this);
|
||||
std::string tostring_result;
|
||||
|
||||
tostring_result += PrintPrimitiveField("selector: ",
|
||||
selector, indent + 1, false);
|
||||
switch (which_pattern) {
|
||||
case google_api_HttpRule_get_tag:
|
||||
tostring_result += PrintPrimitiveField("get: ", get, indent + 1, true);
|
||||
break;
|
||||
case google_api_HttpRule_put_tag:
|
||||
tostring_result += PrintPrimitiveField("put: ", put, indent + 1, true);
|
||||
break;
|
||||
case google_api_HttpRule_post_tag:
|
||||
tostring_result += PrintPrimitiveField("post: ",
|
||||
post, indent + 1, true);
|
||||
break;
|
||||
case google_api_HttpRule_delete_tag:
|
||||
tostring_result += PrintPrimitiveField("delete: ",
|
||||
delete_, indent + 1, true);
|
||||
break;
|
||||
case google_api_HttpRule_patch_tag:
|
||||
tostring_result += PrintPrimitiveField("patch: ",
|
||||
patch, indent + 1, true);
|
||||
break;
|
||||
case google_api_HttpRule_custom_tag:
|
||||
tostring_result += PrintMessageField("custom ",
|
||||
custom, indent + 1, true);
|
||||
break;
|
||||
}
|
||||
tostring_result += PrintPrimitiveField("body: ", body, indent + 1, false);
|
||||
for (pb_size_t i = 0; i != additional_bindings_count; ++i) {
|
||||
tostring_result += PrintMessageField("additional_bindings ",
|
||||
additional_bindings[i], indent + 1, true);
|
||||
}
|
||||
|
||||
bool is_root = indent == 0;
|
||||
if (!tostring_result.empty() || is_root) {
|
||||
std::string tostring_tail = PrintTail(indent);
|
||||
return tostring_header + tostring_result + tostring_tail;
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
std::string google_api_CustomHttpPattern::ToString(int indent) const {
|
||||
std::string tostring_header = PrintHeader(indent, "CustomHttpPattern", this);
|
||||
std::string tostring_result;
|
||||
|
||||
tostring_result += PrintPrimitiveField("kind: ", kind, indent + 1, false);
|
||||
tostring_result += PrintPrimitiveField("path: ", path, indent + 1, false);
|
||||
|
||||
bool is_root = indent == 0;
|
||||
if (!tostring_result.empty() || is_root) {
|
||||
std::string tostring_tail = PrintTail(indent);
|
||||
return tostring_header + tostring_result + tostring_tail;
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace firestore
|
||||
} // namespace firebase
|
||||
|
||||
/* @@protoc_insertion_point(eof) */
|
||||
120
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/api/http.nanopb.h
generated
Normal file
120
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/api/http.nanopb.h
generated
Normal file
@@ -0,0 +1,120 @@
|
||||
/*
|
||||
* Copyright 2023 Google LLC
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
/* Automatically generated nanopb header */
|
||||
/* Generated by nanopb-0.3.9.8 */
|
||||
|
||||
#ifndef PB_GOOGLE_API_HTTP_NANOPB_H_INCLUDED
|
||||
#define PB_GOOGLE_API_HTTP_NANOPB_H_INCLUDED
|
||||
#include <pb.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace firebase {
|
||||
namespace firestore {
|
||||
|
||||
/* @@protoc_insertion_point(includes) */
|
||||
#if PB_PROTO_HEADER_VERSION != 30
|
||||
#error Regenerate this file with the current version of nanopb generator.
|
||||
#endif
|
||||
|
||||
|
||||
/* Struct definitions */
|
||||
typedef struct _google_api_CustomHttpPattern {
|
||||
pb_bytes_array_t *kind;
|
||||
pb_bytes_array_t *path;
|
||||
|
||||
std::string ToString(int indent = 0) const;
|
||||
/* @@protoc_insertion_point(struct:google_api_CustomHttpPattern) */
|
||||
} google_api_CustomHttpPattern;
|
||||
|
||||
typedef struct _google_api_Http {
|
||||
pb_size_t rules_count;
|
||||
struct _google_api_HttpRule *rules;
|
||||
bool fully_decode_reserved_expansion;
|
||||
|
||||
std::string ToString(int indent = 0) const;
|
||||
/* @@protoc_insertion_point(struct:google_api_Http) */
|
||||
} google_api_Http;
|
||||
|
||||
typedef struct _google_api_HttpRule {
|
||||
pb_bytes_array_t *selector;
|
||||
pb_size_t which_pattern;
|
||||
union {
|
||||
pb_bytes_array_t *get;
|
||||
pb_bytes_array_t *put;
|
||||
pb_bytes_array_t *post;
|
||||
pb_bytes_array_t *delete_;
|
||||
pb_bytes_array_t *patch;
|
||||
google_api_CustomHttpPattern custom;
|
||||
};
|
||||
pb_bytes_array_t *body;
|
||||
pb_size_t additional_bindings_count;
|
||||
struct _google_api_HttpRule *additional_bindings;
|
||||
|
||||
std::string ToString(int indent = 0) const;
|
||||
/* @@protoc_insertion_point(struct:google_api_HttpRule) */
|
||||
} google_api_HttpRule;
|
||||
|
||||
/* Default values for struct fields */
|
||||
|
||||
/* Initializer values for message structs */
|
||||
#define google_api_Http_init_default {0, NULL, 0}
|
||||
#define google_api_HttpRule_init_default {NULL, 0, {NULL}, NULL, 0, NULL}
|
||||
#define google_api_CustomHttpPattern_init_default {NULL, NULL}
|
||||
#define google_api_Http_init_zero {0, NULL, 0}
|
||||
#define google_api_HttpRule_init_zero {NULL, 0, {NULL}, NULL, 0, NULL}
|
||||
#define google_api_CustomHttpPattern_init_zero {NULL, NULL}
|
||||
|
||||
/* Field tags (for use in manual encoding/decoding) */
|
||||
#define google_api_CustomHttpPattern_kind_tag 1
|
||||
#define google_api_CustomHttpPattern_path_tag 2
|
||||
#define google_api_Http_rules_tag 1
|
||||
#define google_api_Http_fully_decode_reserved_expansion_tag 2
|
||||
#define google_api_HttpRule_get_tag 2
|
||||
#define google_api_HttpRule_put_tag 3
|
||||
#define google_api_HttpRule_post_tag 4
|
||||
#define google_api_HttpRule_delete_tag 5
|
||||
#define google_api_HttpRule_patch_tag 6
|
||||
#define google_api_HttpRule_custom_tag 8
|
||||
#define google_api_HttpRule_selector_tag 1
|
||||
#define google_api_HttpRule_body_tag 7
|
||||
#define google_api_HttpRule_additional_bindings_tag 11
|
||||
|
||||
/* Struct field encoding specification for nanopb */
|
||||
extern const pb_field_t google_api_Http_fields[3];
|
||||
extern const pb_field_t google_api_HttpRule_fields[10];
|
||||
extern const pb_field_t google_api_CustomHttpPattern_fields[3];
|
||||
|
||||
/* Maximum encoded size of messages (where known) */
|
||||
/* google_api_Http_size depends on runtime parameters */
|
||||
/* google_api_HttpRule_size depends on runtime parameters */
|
||||
/* google_api_CustomHttpPattern_size depends on runtime parameters */
|
||||
|
||||
/* Message IDs (where set with "msgid" option) */
|
||||
#ifdef PB_MSGID
|
||||
|
||||
#define HTTP_MESSAGES \
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
} // namespace firestore
|
||||
} // namespace firebase
|
||||
|
||||
/* @@protoc_insertion_point(eof) */
|
||||
|
||||
#endif
|
||||
137
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/api/resource.nanopb.cc
generated
Normal file
137
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/api/resource.nanopb.cc
generated
Normal file
@@ -0,0 +1,137 @@
|
||||
/*
|
||||
* Copyright 2023 Google LLC
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
/* Automatically generated nanopb constant definitions */
|
||||
/* Generated by nanopb-0.3.9.8 */
|
||||
|
||||
#include "resource.nanopb.h"
|
||||
|
||||
#include "Firestore/core/src/nanopb/pretty_printing.h"
|
||||
|
||||
namespace firebase {
|
||||
namespace firestore {
|
||||
|
||||
using nanopb::PrintEnumField;
|
||||
using nanopb::PrintHeader;
|
||||
using nanopb::PrintMessageField;
|
||||
using nanopb::PrintPrimitiveField;
|
||||
using nanopb::PrintTail;
|
||||
|
||||
/* @@protoc_insertion_point(includes) */
|
||||
#if PB_PROTO_HEADER_VERSION != 30
|
||||
#error Regenerate this file with the current version of nanopb generator.
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
const pb_field_t google_api_ResourceDescriptor_fields[7] = {
|
||||
PB_FIELD( 1, BYTES , SINGULAR, POINTER , FIRST, google_api_ResourceDescriptor, type, type, 0),
|
||||
PB_FIELD( 2, BYTES , REPEATED, POINTER , OTHER, google_api_ResourceDescriptor, pattern, type, 0),
|
||||
PB_FIELD( 3, BYTES , SINGULAR, POINTER , OTHER, google_api_ResourceDescriptor, name_field, pattern, 0),
|
||||
PB_FIELD( 4, UENUM , SINGULAR, STATIC , OTHER, google_api_ResourceDescriptor, history, name_field, 0),
|
||||
PB_FIELD( 5, BYTES , SINGULAR, POINTER , OTHER, google_api_ResourceDescriptor, plural, history, 0),
|
||||
PB_FIELD( 6, BYTES , SINGULAR, POINTER , OTHER, google_api_ResourceDescriptor, singular, plural, 0),
|
||||
PB_LAST_FIELD
|
||||
};
|
||||
|
||||
const pb_field_t google_api_ResourceReference_fields[3] = {
|
||||
PB_FIELD( 1, BYTES , SINGULAR, POINTER , FIRST, google_api_ResourceReference, type, type, 0),
|
||||
PB_FIELD( 2, BYTES , SINGULAR, POINTER , OTHER, google_api_ResourceReference, child_type, type, 0),
|
||||
PB_LAST_FIELD
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* Check that field information fits in pb_field_t */
|
||||
#if !defined(PB_FIELD_32BIT)
|
||||
/* If you get an error here, it means that you need to define PB_FIELD_32BIT
|
||||
* compile-time option. You can do that in pb.h or on compiler command line.
|
||||
*
|
||||
* The reason you need to do this is that some of your messages contain tag
|
||||
* numbers or field sizes that are larger than what can fit in 8 or 16 bit
|
||||
* field descriptors.
|
||||
*/
|
||||
PB_STATIC_ASSERT((pb_membersize(google_api_resource_reference_struct, resource_reference) < 65536 && pb_membersize(google_api_resource_struct, resource) < 65536), YOU_MUST_DEFINE_PB_FIELD_32BIT_FOR_MESSAGES_google_api_ResourceDescriptor_google_api_ResourceReference)
|
||||
#endif
|
||||
|
||||
#if !defined(PB_FIELD_16BIT) && !defined(PB_FIELD_32BIT)
|
||||
#error Field descriptor for google_api_resource_reference_struct.resource_reference is too large. Define PB_FIELD_16BIT to fix this.
|
||||
#endif
|
||||
|
||||
|
||||
const char* EnumToString(
|
||||
google_api_ResourceDescriptor_History value) {
|
||||
switch (value) {
|
||||
case google_api_ResourceDescriptor_History_HISTORY_UNSPECIFIED:
|
||||
return "HISTORY_UNSPECIFIED";
|
||||
case google_api_ResourceDescriptor_History_ORIGINALLY_SINGLE_PATTERN:
|
||||
return "ORIGINALLY_SINGLE_PATTERN";
|
||||
case google_api_ResourceDescriptor_History_FUTURE_MULTI_PATTERN:
|
||||
return "FUTURE_MULTI_PATTERN";
|
||||
}
|
||||
return "<unknown enum value>";
|
||||
}
|
||||
|
||||
std::string google_api_ResourceDescriptor::ToString(int indent) const {
|
||||
std::string tostring_header = PrintHeader(indent, "ResourceDescriptor", this);
|
||||
std::string tostring_result;
|
||||
|
||||
tostring_result += PrintPrimitiveField("type: ", type, indent + 1, false);
|
||||
for (pb_size_t i = 0; i != pattern_count; ++i) {
|
||||
tostring_result += PrintPrimitiveField("pattern: ",
|
||||
pattern[i], indent + 1, true);
|
||||
}
|
||||
tostring_result += PrintPrimitiveField("name_field: ",
|
||||
name_field, indent + 1, false);
|
||||
tostring_result += PrintEnumField("history: ", history, indent + 1, false);
|
||||
tostring_result += PrintPrimitiveField("plural: ",
|
||||
plural, indent + 1, false);
|
||||
tostring_result += PrintPrimitiveField("singular: ",
|
||||
singular, indent + 1, false);
|
||||
|
||||
bool is_root = indent == 0;
|
||||
if (!tostring_result.empty() || is_root) {
|
||||
std::string tostring_tail = PrintTail(indent);
|
||||
return tostring_header + tostring_result + tostring_tail;
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
std::string google_api_ResourceReference::ToString(int indent) const {
|
||||
std::string tostring_header = PrintHeader(indent, "ResourceReference", this);
|
||||
std::string tostring_result;
|
||||
|
||||
tostring_result += PrintPrimitiveField("type: ", type, indent + 1, false);
|
||||
tostring_result += PrintPrimitiveField("child_type: ",
|
||||
child_type, indent + 1, false);
|
||||
|
||||
bool is_root = indent == 0;
|
||||
if (!tostring_result.empty() || is_root) {
|
||||
std::string tostring_tail = PrintTail(indent);
|
||||
return tostring_header + tostring_result + tostring_tail;
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace firestore
|
||||
} // namespace firebase
|
||||
|
||||
/* @@protoc_insertion_point(eof) */
|
||||
118
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/api/resource.nanopb.h
generated
Normal file
118
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/api/resource.nanopb.h
generated
Normal file
@@ -0,0 +1,118 @@
|
||||
/*
|
||||
* Copyright 2023 Google LLC
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
/* Automatically generated nanopb header */
|
||||
/* Generated by nanopb-0.3.9.8 */
|
||||
|
||||
#ifndef PB_GOOGLE_API_RESOURCE_NANOPB_H_INCLUDED
|
||||
#define PB_GOOGLE_API_RESOURCE_NANOPB_H_INCLUDED
|
||||
#include <pb.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace firebase {
|
||||
namespace firestore {
|
||||
|
||||
/* @@protoc_insertion_point(includes) */
|
||||
#if PB_PROTO_HEADER_VERSION != 30
|
||||
#error Regenerate this file with the current version of nanopb generator.
|
||||
#endif
|
||||
|
||||
|
||||
/* Enum definitions */
|
||||
typedef enum _google_api_ResourceDescriptor_History {
|
||||
google_api_ResourceDescriptor_History_HISTORY_UNSPECIFIED = 0,
|
||||
google_api_ResourceDescriptor_History_ORIGINALLY_SINGLE_PATTERN = 1,
|
||||
google_api_ResourceDescriptor_History_FUTURE_MULTI_PATTERN = 2
|
||||
} google_api_ResourceDescriptor_History;
|
||||
#define _google_api_ResourceDescriptor_History_MIN google_api_ResourceDescriptor_History_HISTORY_UNSPECIFIED
|
||||
#define _google_api_ResourceDescriptor_History_MAX google_api_ResourceDescriptor_History_FUTURE_MULTI_PATTERN
|
||||
#define _google_api_ResourceDescriptor_History_ARRAYSIZE ((google_api_ResourceDescriptor_History)(google_api_ResourceDescriptor_History_FUTURE_MULTI_PATTERN+1))
|
||||
|
||||
/* Struct definitions */
|
||||
typedef struct _google_api_ResourceReference {
|
||||
pb_bytes_array_t *type;
|
||||
pb_bytes_array_t *child_type;
|
||||
|
||||
std::string ToString(int indent = 0) const;
|
||||
/* @@protoc_insertion_point(struct:google_api_ResourceReference) */
|
||||
} google_api_ResourceReference;
|
||||
|
||||
typedef struct _google_api_ResourceDescriptor {
|
||||
pb_bytes_array_t *type;
|
||||
pb_size_t pattern_count;
|
||||
pb_bytes_array_t **pattern;
|
||||
pb_bytes_array_t *name_field;
|
||||
google_api_ResourceDescriptor_History history;
|
||||
pb_bytes_array_t *plural;
|
||||
pb_bytes_array_t *singular;
|
||||
|
||||
std::string ToString(int indent = 0) const;
|
||||
/* @@protoc_insertion_point(struct:google_api_ResourceDescriptor) */
|
||||
} google_api_ResourceDescriptor;
|
||||
|
||||
/* Extensions */
|
||||
/* Extension field google_api_resource_reference was skipped because only "optional"
|
||||
type of extension fields is currently supported. */
|
||||
/* Extension field google_api_resource_definition was skipped because only "optional"
|
||||
type of extension fields is currently supported. */
|
||||
/* Extension field google_api_resource was skipped because only "optional"
|
||||
type of extension fields is currently supported. */
|
||||
|
||||
/* Default values for struct fields */
|
||||
|
||||
/* Initializer values for message structs */
|
||||
#define google_api_ResourceDescriptor_init_default {NULL, 0, NULL, NULL, _google_api_ResourceDescriptor_History_MIN, NULL, NULL}
|
||||
#define google_api_ResourceReference_init_default {NULL, NULL}
|
||||
#define google_api_ResourceDescriptor_init_zero {NULL, 0, NULL, NULL, _google_api_ResourceDescriptor_History_MIN, NULL, NULL}
|
||||
#define google_api_ResourceReference_init_zero {NULL, NULL}
|
||||
|
||||
/* Field tags (for use in manual encoding/decoding) */
|
||||
#define google_api_ResourceReference_type_tag 1
|
||||
#define google_api_ResourceReference_child_type_tag 2
|
||||
#define google_api_ResourceDescriptor_type_tag 1
|
||||
#define google_api_ResourceDescriptor_pattern_tag 2
|
||||
#define google_api_ResourceDescriptor_name_field_tag 3
|
||||
#define google_api_ResourceDescriptor_history_tag 4
|
||||
#define google_api_ResourceDescriptor_plural_tag 5
|
||||
#define google_api_ResourceDescriptor_singular_tag 6
|
||||
#define google_api_resource_reference_tag 1055
|
||||
#define google_api_resource_definition_tag 1053
|
||||
#define google_api_resource_tag 1053
|
||||
|
||||
/* Struct field encoding specification for nanopb */
|
||||
extern const pb_field_t google_api_ResourceDescriptor_fields[7];
|
||||
extern const pb_field_t google_api_ResourceReference_fields[3];
|
||||
|
||||
/* Maximum encoded size of messages (where known) */
|
||||
/* google_api_ResourceDescriptor_size depends on runtime parameters */
|
||||
/* google_api_ResourceReference_size depends on runtime parameters */
|
||||
|
||||
/* Message IDs (where set with "msgid" option) */
|
||||
#ifdef PB_MSGID
|
||||
|
||||
#define RESOURCE_MESSAGES \
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
const char* EnumToString(google_api_ResourceDescriptor_History value);
|
||||
} // namespace firestore
|
||||
} // namespace firebase
|
||||
|
||||
/* @@protoc_insertion_point(eof) */
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user