create
This commit is contained in:
68
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/protobuf/any.nanopb.cc
generated
Normal file
68
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/protobuf/any.nanopb.cc
generated
Normal file
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* 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 "any.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_protobuf_Any_fields[3] = {
|
||||
PB_FIELD( 1, BYTES , SINGULAR, POINTER , FIRST, google_protobuf_Any, type_url, type_url, 0),
|
||||
PB_FIELD( 2, BYTES , SINGULAR, POINTER , OTHER, google_protobuf_Any, value, type_url, 0),
|
||||
PB_LAST_FIELD
|
||||
};
|
||||
|
||||
|
||||
std::string google_protobuf_Any::ToString(int indent) const {
|
||||
std::string tostring_header = PrintHeader(indent, "Any", this);
|
||||
std::string tostring_result;
|
||||
|
||||
tostring_result += PrintPrimitiveField("type_url: ",
|
||||
type_url, indent + 1, false);
|
||||
tostring_result += PrintPrimitiveField("value: ",
|
||||
value, 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) */
|
||||
73
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/protobuf/any.nanopb.h
generated
Normal file
73
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/protobuf/any.nanopb.h
generated
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* 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_PROTOBUF_ANY_NANOPB_H_INCLUDED
|
||||
#define PB_GOOGLE_PROTOBUF_ANY_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_protobuf_Any {
|
||||
pb_bytes_array_t *type_url;
|
||||
pb_bytes_array_t *value;
|
||||
|
||||
std::string ToString(int indent = 0) const;
|
||||
/* @@protoc_insertion_point(struct:google_protobuf_Any) */
|
||||
} google_protobuf_Any;
|
||||
|
||||
/* Default values for struct fields */
|
||||
|
||||
/* Initializer values for message structs */
|
||||
#define google_protobuf_Any_init_default {NULL, NULL}
|
||||
#define google_protobuf_Any_init_zero {NULL, NULL}
|
||||
|
||||
/* Field tags (for use in manual encoding/decoding) */
|
||||
#define google_protobuf_Any_type_url_tag 1
|
||||
#define google_protobuf_Any_value_tag 2
|
||||
|
||||
/* Struct field encoding specification for nanopb */
|
||||
extern const pb_field_t google_protobuf_Any_fields[3];
|
||||
|
||||
/* Maximum encoded size of messages (where known) */
|
||||
/* google_protobuf_Any_size depends on runtime parameters */
|
||||
|
||||
/* Message IDs (where set with "msgid" option) */
|
||||
#ifdef PB_MSGID
|
||||
|
||||
#define ANY_MESSAGES \
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
} // namespace firestore
|
||||
} // namespace firebase
|
||||
|
||||
/* @@protoc_insertion_point(eof) */
|
||||
|
||||
#endif
|
||||
62
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/protobuf/empty.nanopb.cc
generated
Normal file
62
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/protobuf/empty.nanopb.cc
generated
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* 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 "empty.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_protobuf_Empty_fields[1] = {
|
||||
PB_LAST_FIELD
|
||||
};
|
||||
|
||||
|
||||
std::string google_protobuf_Empty::ToString(int indent) const {
|
||||
std::string tostring_header = PrintHeader(indent, "Empty", this);
|
||||
std::string tostring_result;
|
||||
|
||||
|
||||
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) */
|
||||
70
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/protobuf/empty.nanopb.h
generated
Normal file
70
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/protobuf/empty.nanopb.h
generated
Normal file
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* 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_PROTOBUF_EMPTY_NANOPB_H_INCLUDED
|
||||
#define PB_GOOGLE_PROTOBUF_EMPTY_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_protobuf_Empty {
|
||||
char dummy_field;
|
||||
|
||||
std::string ToString(int indent = 0) const;
|
||||
/* @@protoc_insertion_point(struct:google_protobuf_Empty) */
|
||||
} google_protobuf_Empty;
|
||||
|
||||
/* Default values for struct fields */
|
||||
|
||||
/* Initializer values for message structs */
|
||||
#define google_protobuf_Empty_init_default {0}
|
||||
#define google_protobuf_Empty_init_zero {0}
|
||||
|
||||
/* Field tags (for use in manual encoding/decoding) */
|
||||
|
||||
/* Struct field encoding specification for nanopb */
|
||||
extern const pb_field_t google_protobuf_Empty_fields[1];
|
||||
|
||||
/* Maximum encoded size of messages (where known) */
|
||||
#define google_protobuf_Empty_size 0
|
||||
|
||||
/* Message IDs (where set with "msgid" option) */
|
||||
#ifdef PB_MSGID
|
||||
|
||||
#define EMPTY_MESSAGES \
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
} // namespace firestore
|
||||
} // namespace firebase
|
||||
|
||||
/* @@protoc_insertion_point(eof) */
|
||||
|
||||
#endif
|
||||
197
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/protobuf/struct.nanopb.cc
generated
Normal file
197
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/protobuf/struct.nanopb.cc
generated
Normal file
@@ -0,0 +1,197 @@
|
||||
/*
|
||||
* 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 "struct.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_protobuf_Struct_fields[2] = {
|
||||
PB_FIELD( 1, MESSAGE , REPEATED, POINTER , FIRST, google_protobuf_Struct, fields, fields, &google_protobuf_Struct_FieldsEntry_fields),
|
||||
PB_LAST_FIELD
|
||||
};
|
||||
|
||||
const pb_field_t google_protobuf_Struct_FieldsEntry_fields[3] = {
|
||||
PB_FIELD( 1, BYTES , SINGULAR, POINTER , FIRST, google_protobuf_Struct_FieldsEntry, key, key, 0),
|
||||
PB_FIELD( 2, MESSAGE , SINGULAR, STATIC , OTHER, google_protobuf_Struct_FieldsEntry, value, key, &google_protobuf_Value_fields),
|
||||
PB_LAST_FIELD
|
||||
};
|
||||
|
||||
const pb_field_t google_protobuf_Value_fields[7] = {
|
||||
PB_ANONYMOUS_ONEOF_FIELD(kind, 1, UENUM , ONEOF, STATIC , FIRST, google_protobuf_Value, null_value, null_value, 0),
|
||||
PB_ANONYMOUS_ONEOF_FIELD(kind, 2, DOUBLE , ONEOF, STATIC , UNION, google_protobuf_Value, number_value, number_value, 0),
|
||||
PB_ANONYMOUS_ONEOF_FIELD(kind, 3, BYTES , ONEOF, POINTER , UNION, google_protobuf_Value, string_value, string_value, 0),
|
||||
PB_ANONYMOUS_ONEOF_FIELD(kind, 4, BOOL , ONEOF, STATIC , UNION, google_protobuf_Value, bool_value, bool_value, 0),
|
||||
PB_ANONYMOUS_ONEOF_FIELD(kind, 5, MESSAGE , ONEOF, STATIC , UNION, google_protobuf_Value, struct_value, struct_value, &google_protobuf_Struct_fields),
|
||||
PB_ANONYMOUS_ONEOF_FIELD(kind, 6, MESSAGE , ONEOF, STATIC , UNION, google_protobuf_Value, list_value, list_value, &google_protobuf_ListValue_fields),
|
||||
PB_LAST_FIELD
|
||||
};
|
||||
|
||||
const pb_field_t google_protobuf_ListValue_fields[2] = {
|
||||
PB_FIELD( 1, MESSAGE , REPEATED, POINTER , FIRST, google_protobuf_ListValue, values, values, &google_protobuf_Value_fields),
|
||||
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_protobuf_Struct_FieldsEntry, value) < 65536 && pb_membersize(google_protobuf_Value, struct_value) < 65536 && pb_membersize(google_protobuf_Value, list_value) < 65536), YOU_MUST_DEFINE_PB_FIELD_32BIT_FOR_MESSAGES_google_protobuf_Struct_google_protobuf_Struct_FieldsEntry_google_protobuf_Value_google_protobuf_ListValue)
|
||||
#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_protobuf_Struct_FieldsEntry, value) < 256 && pb_membersize(google_protobuf_Value, struct_value) < 256 && pb_membersize(google_protobuf_Value, list_value) < 256), YOU_MUST_DEFINE_PB_FIELD_16BIT_FOR_MESSAGES_google_protobuf_Struct_google_protobuf_Struct_FieldsEntry_google_protobuf_Value_google_protobuf_ListValue)
|
||||
#endif
|
||||
|
||||
|
||||
/* On some platforms (such as AVR), double is really float.
|
||||
* These are not directly supported by nanopb, but see example_avr_double.
|
||||
* To get rid of this error, remove any double fields from your .proto.
|
||||
*/
|
||||
PB_STATIC_ASSERT(sizeof(double) == 8, DOUBLE_MUST_BE_8_BYTES)
|
||||
|
||||
const char* EnumToString(
|
||||
google_protobuf_NullValue value) {
|
||||
switch (value) {
|
||||
case google_protobuf_NullValue_NULL_VALUE:
|
||||
return "NULL_VALUE";
|
||||
}
|
||||
return "<unknown enum value>";
|
||||
}
|
||||
|
||||
std::string google_protobuf_Struct::ToString(int indent) const {
|
||||
std::string tostring_header = PrintHeader(indent, "Struct", this);
|
||||
std::string tostring_result;
|
||||
|
||||
for (pb_size_t i = 0; i != fields_count; ++i) {
|
||||
tostring_result += PrintMessageField("fields ",
|
||||
fields[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_protobuf_Struct_FieldsEntry::ToString(int indent) const {
|
||||
std::string tostring_header = PrintHeader(indent, "FieldsEntry", this);
|
||||
std::string tostring_result;
|
||||
|
||||
tostring_result += PrintPrimitiveField("key: ", key, indent + 1, false);
|
||||
tostring_result += PrintMessageField("value ", value, indent + 1, false);
|
||||
|
||||
std::string tostring_tail = PrintTail(indent);
|
||||
return tostring_header + tostring_result + tostring_tail;
|
||||
}
|
||||
|
||||
std::string google_protobuf_Value::ToString(int indent) const {
|
||||
std::string tostring_header = PrintHeader(indent, "Value", this);
|
||||
std::string tostring_result;
|
||||
|
||||
switch (which_kind) {
|
||||
case google_protobuf_Value_null_value_tag:
|
||||
tostring_result += PrintEnumField("null_value: ",
|
||||
null_value, indent + 1, true);
|
||||
break;
|
||||
case google_protobuf_Value_number_value_tag:
|
||||
tostring_result += PrintPrimitiveField("number_value: ",
|
||||
number_value, indent + 1, true);
|
||||
break;
|
||||
case google_protobuf_Value_string_value_tag:
|
||||
tostring_result += PrintPrimitiveField("string_value: ",
|
||||
string_value, indent + 1, true);
|
||||
break;
|
||||
case google_protobuf_Value_bool_value_tag:
|
||||
tostring_result += PrintPrimitiveField("bool_value: ",
|
||||
bool_value, indent + 1, true);
|
||||
break;
|
||||
case google_protobuf_Value_struct_value_tag:
|
||||
tostring_result += PrintMessageField("struct_value ",
|
||||
struct_value, indent + 1, true);
|
||||
break;
|
||||
case google_protobuf_Value_list_value_tag:
|
||||
tostring_result += PrintMessageField("list_value ",
|
||||
list_value, indent + 1, true);
|
||||
break;
|
||||
}
|
||||
|
||||
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_protobuf_ListValue::ToString(int indent) const {
|
||||
std::string tostring_header = PrintHeader(indent, "ListValue", this);
|
||||
std::string tostring_result;
|
||||
|
||||
for (pb_size_t i = 0; i != values_count; ++i) {
|
||||
tostring_result += PrintMessageField("values ",
|
||||
values[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 "";
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace firestore
|
||||
} // namespace firebase
|
||||
|
||||
/* @@protoc_insertion_point(eof) */
|
||||
133
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/protobuf/struct.nanopb.h
generated
Normal file
133
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/protobuf/struct.nanopb.h
generated
Normal file
@@ -0,0 +1,133 @@
|
||||
/*
|
||||
* 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_PROTOBUF_STRUCT_NANOPB_H_INCLUDED
|
||||
#define PB_GOOGLE_PROTOBUF_STRUCT_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_protobuf_NullValue {
|
||||
google_protobuf_NullValue_NULL_VALUE = 0
|
||||
} google_protobuf_NullValue;
|
||||
#define _google_protobuf_NullValue_MIN google_protobuf_NullValue_NULL_VALUE
|
||||
#define _google_protobuf_NullValue_MAX google_protobuf_NullValue_NULL_VALUE
|
||||
#define _google_protobuf_NullValue_ARRAYSIZE ((google_protobuf_NullValue)(google_protobuf_NullValue_NULL_VALUE+1))
|
||||
|
||||
/* Struct definitions */
|
||||
typedef struct _google_protobuf_ListValue {
|
||||
pb_size_t values_count;
|
||||
struct _google_protobuf_Value *values;
|
||||
|
||||
std::string ToString(int indent = 0) const;
|
||||
/* @@protoc_insertion_point(struct:google_protobuf_ListValue) */
|
||||
} google_protobuf_ListValue;
|
||||
|
||||
typedef struct _google_protobuf_Struct {
|
||||
pb_size_t fields_count;
|
||||
struct _google_protobuf_Struct_FieldsEntry *fields;
|
||||
|
||||
std::string ToString(int indent = 0) const;
|
||||
/* @@protoc_insertion_point(struct:google_protobuf_Struct) */
|
||||
} google_protobuf_Struct;
|
||||
|
||||
typedef struct _google_protobuf_Value {
|
||||
pb_size_t which_kind;
|
||||
union {
|
||||
google_protobuf_NullValue null_value;
|
||||
double number_value;
|
||||
pb_bytes_array_t *string_value;
|
||||
bool bool_value;
|
||||
google_protobuf_Struct struct_value;
|
||||
google_protobuf_ListValue list_value;
|
||||
};
|
||||
|
||||
std::string ToString(int indent = 0) const;
|
||||
/* @@protoc_insertion_point(struct:google_protobuf_Value) */
|
||||
} google_protobuf_Value;
|
||||
|
||||
typedef struct _google_protobuf_Struct_FieldsEntry {
|
||||
pb_bytes_array_t *key;
|
||||
google_protobuf_Value value;
|
||||
|
||||
std::string ToString(int indent = 0) const;
|
||||
/* @@protoc_insertion_point(struct:google_protobuf_Struct_FieldsEntry) */
|
||||
} google_protobuf_Struct_FieldsEntry;
|
||||
|
||||
/* Default values for struct fields */
|
||||
|
||||
/* Initializer values for message structs */
|
||||
#define google_protobuf_Struct_init_default {0, NULL}
|
||||
#define google_protobuf_Struct_FieldsEntry_init_default {NULL, google_protobuf_Value_init_default}
|
||||
#define google_protobuf_Value_init_default {0, {_google_protobuf_NullValue_MIN}}
|
||||
#define google_protobuf_ListValue_init_default {0, NULL}
|
||||
#define google_protobuf_Struct_init_zero {0, NULL}
|
||||
#define google_protobuf_Struct_FieldsEntry_init_zero {NULL, google_protobuf_Value_init_zero}
|
||||
#define google_protobuf_Value_init_zero {0, {_google_protobuf_NullValue_MIN}}
|
||||
#define google_protobuf_ListValue_init_zero {0, NULL}
|
||||
|
||||
/* Field tags (for use in manual encoding/decoding) */
|
||||
#define google_protobuf_ListValue_values_tag 1
|
||||
#define google_protobuf_Struct_fields_tag 1
|
||||
#define google_protobuf_Value_null_value_tag 1
|
||||
#define google_protobuf_Value_number_value_tag 2
|
||||
#define google_protobuf_Value_string_value_tag 3
|
||||
#define google_protobuf_Value_bool_value_tag 4
|
||||
#define google_protobuf_Value_struct_value_tag 5
|
||||
#define google_protobuf_Value_list_value_tag 6
|
||||
#define google_protobuf_Struct_FieldsEntry_key_tag 1
|
||||
#define google_protobuf_Struct_FieldsEntry_value_tag 2
|
||||
|
||||
/* Struct field encoding specification for nanopb */
|
||||
extern const pb_field_t google_protobuf_Struct_fields[2];
|
||||
extern const pb_field_t google_protobuf_Struct_FieldsEntry_fields[3];
|
||||
extern const pb_field_t google_protobuf_Value_fields[7];
|
||||
extern const pb_field_t google_protobuf_ListValue_fields[2];
|
||||
|
||||
/* Maximum encoded size of messages (where known) */
|
||||
/* google_protobuf_Struct_size depends on runtime parameters */
|
||||
/* google_protobuf_Struct_FieldsEntry_size depends on runtime parameters */
|
||||
/* google_protobuf_Value_size depends on runtime parameters */
|
||||
/* google_protobuf_ListValue_size depends on runtime parameters */
|
||||
|
||||
/* Message IDs (where set with "msgid" option) */
|
||||
#ifdef PB_MSGID
|
||||
|
||||
#define STRUCT_MESSAGES \
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
const char* EnumToString(google_protobuf_NullValue value);
|
||||
} // namespace firestore
|
||||
} // namespace firebase
|
||||
|
||||
/* @@protoc_insertion_point(eof) */
|
||||
|
||||
#endif
|
||||
68
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/protobuf/timestamp.nanopb.cc
generated
Normal file
68
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/protobuf/timestamp.nanopb.cc
generated
Normal file
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* 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 "timestamp.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_protobuf_Timestamp_fields[3] = {
|
||||
PB_FIELD( 1, INT64 , SINGULAR, STATIC , FIRST, google_protobuf_Timestamp, seconds, seconds, 0),
|
||||
PB_FIELD( 2, INT32 , SINGULAR, STATIC , OTHER, google_protobuf_Timestamp, nanos, seconds, 0),
|
||||
PB_LAST_FIELD
|
||||
};
|
||||
|
||||
|
||||
std::string google_protobuf_Timestamp::ToString(int indent) const {
|
||||
std::string tostring_header = PrintHeader(indent, "Timestamp", this);
|
||||
std::string tostring_result;
|
||||
|
||||
tostring_result += PrintPrimitiveField("seconds: ",
|
||||
seconds, indent + 1, false);
|
||||
tostring_result += PrintPrimitiveField("nanos: ",
|
||||
nanos, 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) */
|
||||
73
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/protobuf/timestamp.nanopb.h
generated
Normal file
73
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/protobuf/timestamp.nanopb.h
generated
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* 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_PROTOBUF_TIMESTAMP_NANOPB_H_INCLUDED
|
||||
#define PB_GOOGLE_PROTOBUF_TIMESTAMP_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_protobuf_Timestamp {
|
||||
int64_t seconds;
|
||||
int32_t nanos;
|
||||
|
||||
std::string ToString(int indent = 0) const;
|
||||
/* @@protoc_insertion_point(struct:google_protobuf_Timestamp) */
|
||||
} google_protobuf_Timestamp;
|
||||
|
||||
/* Default values for struct fields */
|
||||
|
||||
/* Initializer values for message structs */
|
||||
#define google_protobuf_Timestamp_init_default {0, 0}
|
||||
#define google_protobuf_Timestamp_init_zero {0, 0}
|
||||
|
||||
/* Field tags (for use in manual encoding/decoding) */
|
||||
#define google_protobuf_Timestamp_seconds_tag 1
|
||||
#define google_protobuf_Timestamp_nanos_tag 2
|
||||
|
||||
/* Struct field encoding specification for nanopb */
|
||||
extern const pb_field_t google_protobuf_Timestamp_fields[3];
|
||||
|
||||
/* Maximum encoded size of messages (where known) */
|
||||
#define google_protobuf_Timestamp_size 22
|
||||
|
||||
/* Message IDs (where set with "msgid" option) */
|
||||
#ifdef PB_MSGID
|
||||
|
||||
#define TIMESTAMP_MESSAGES \
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
} // namespace firestore
|
||||
} // namespace firebase
|
||||
|
||||
/* @@protoc_insertion_point(eof) */
|
||||
|
||||
#endif
|
||||
239
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/protobuf/wrappers.nanopb.cc
generated
Normal file
239
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/protobuf/wrappers.nanopb.cc
generated
Normal file
@@ -0,0 +1,239 @@
|
||||
/*
|
||||
* 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 "wrappers.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_protobuf_DoubleValue_fields[2] = {
|
||||
PB_FIELD( 1, DOUBLE , SINGULAR, STATIC , FIRST, google_protobuf_DoubleValue, value, value, 0),
|
||||
PB_LAST_FIELD
|
||||
};
|
||||
|
||||
const pb_field_t google_protobuf_FloatValue_fields[2] = {
|
||||
PB_FIELD( 1, FLOAT , SINGULAR, STATIC , FIRST, google_protobuf_FloatValue, value, value, 0),
|
||||
PB_LAST_FIELD
|
||||
};
|
||||
|
||||
const pb_field_t google_protobuf_Int64Value_fields[2] = {
|
||||
PB_FIELD( 1, INT64 , SINGULAR, STATIC , FIRST, google_protobuf_Int64Value, value, value, 0),
|
||||
PB_LAST_FIELD
|
||||
};
|
||||
|
||||
const pb_field_t google_protobuf_UInt64Value_fields[2] = {
|
||||
PB_FIELD( 1, UINT64 , SINGULAR, STATIC , FIRST, google_protobuf_UInt64Value, value, value, 0),
|
||||
PB_LAST_FIELD
|
||||
};
|
||||
|
||||
const pb_field_t google_protobuf_Int32Value_fields[2] = {
|
||||
PB_FIELD( 1, INT32 , SINGULAR, STATIC , FIRST, google_protobuf_Int32Value, value, value, 0),
|
||||
PB_LAST_FIELD
|
||||
};
|
||||
|
||||
const pb_field_t google_protobuf_UInt32Value_fields[2] = {
|
||||
PB_FIELD( 1, UINT32 , SINGULAR, STATIC , FIRST, google_protobuf_UInt32Value, value, value, 0),
|
||||
PB_LAST_FIELD
|
||||
};
|
||||
|
||||
const pb_field_t google_protobuf_BoolValue_fields[2] = {
|
||||
PB_FIELD( 1, BOOL , SINGULAR, STATIC , FIRST, google_protobuf_BoolValue, value, value, 0),
|
||||
PB_LAST_FIELD
|
||||
};
|
||||
|
||||
const pb_field_t google_protobuf_StringValue_fields[2] = {
|
||||
PB_FIELD( 1, BYTES , SINGULAR, POINTER , FIRST, google_protobuf_StringValue, value, value, 0),
|
||||
PB_LAST_FIELD
|
||||
};
|
||||
|
||||
const pb_field_t google_protobuf_BytesValue_fields[2] = {
|
||||
PB_FIELD( 1, BYTES , SINGULAR, POINTER , FIRST, google_protobuf_BytesValue, value, value, 0),
|
||||
PB_LAST_FIELD
|
||||
};
|
||||
|
||||
|
||||
/* On some platforms (such as AVR), double is really float.
|
||||
* These are not directly supported by nanopb, but see example_avr_double.
|
||||
* To get rid of this error, remove any double fields from your .proto.
|
||||
*/
|
||||
PB_STATIC_ASSERT(sizeof(double) == 8, DOUBLE_MUST_BE_8_BYTES)
|
||||
|
||||
std::string google_protobuf_DoubleValue::ToString(int indent) const {
|
||||
std::string tostring_header = PrintHeader(indent, "DoubleValue", this);
|
||||
std::string tostring_result;
|
||||
|
||||
tostring_result += PrintPrimitiveField("value: ",
|
||||
value, 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_protobuf_FloatValue::ToString(int indent) const {
|
||||
std::string tostring_header = PrintHeader(indent, "FloatValue", this);
|
||||
std::string tostring_result;
|
||||
|
||||
tostring_result += PrintPrimitiveField("value: ",
|
||||
value, 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_protobuf_Int64Value::ToString(int indent) const {
|
||||
std::string tostring_header = PrintHeader(indent, "Int64Value", this);
|
||||
std::string tostring_result;
|
||||
|
||||
tostring_result += PrintPrimitiveField("value: ",
|
||||
value, 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_protobuf_UInt64Value::ToString(int indent) const {
|
||||
std::string tostring_header = PrintHeader(indent, "UInt64Value", this);
|
||||
std::string tostring_result;
|
||||
|
||||
tostring_result += PrintPrimitiveField("value: ",
|
||||
value, 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_protobuf_Int32Value::ToString(int indent) const {
|
||||
std::string tostring_header = PrintHeader(indent, "Int32Value", this);
|
||||
std::string tostring_result;
|
||||
|
||||
tostring_result += PrintPrimitiveField("value: ",
|
||||
value, 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_protobuf_UInt32Value::ToString(int indent) const {
|
||||
std::string tostring_header = PrintHeader(indent, "UInt32Value", this);
|
||||
std::string tostring_result;
|
||||
|
||||
tostring_result += PrintPrimitiveField("value: ",
|
||||
value, 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_protobuf_BoolValue::ToString(int indent) const {
|
||||
std::string tostring_header = PrintHeader(indent, "BoolValue", this);
|
||||
std::string tostring_result;
|
||||
|
||||
tostring_result += PrintPrimitiveField("value: ",
|
||||
value, 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_protobuf_StringValue::ToString(int indent) const {
|
||||
std::string tostring_header = PrintHeader(indent, "StringValue", this);
|
||||
std::string tostring_result;
|
||||
|
||||
tostring_result += PrintPrimitiveField("value: ",
|
||||
value, 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_protobuf_BytesValue::ToString(int indent) const {
|
||||
std::string tostring_header = PrintHeader(indent, "BytesValue", this);
|
||||
std::string tostring_result;
|
||||
|
||||
tostring_result += PrintPrimitiveField("value: ",
|
||||
value, 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) */
|
||||
167
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/protobuf/wrappers.nanopb.h
generated
Normal file
167
Pods/FirebaseFirestoreInternal/Firestore/Protos/nanopb/google/protobuf/wrappers.nanopb.h
generated
Normal file
@@ -0,0 +1,167 @@
|
||||
/*
|
||||
* 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_PROTOBUF_WRAPPERS_NANOPB_H_INCLUDED
|
||||
#define PB_GOOGLE_PROTOBUF_WRAPPERS_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_protobuf_BytesValue {
|
||||
pb_bytes_array_t *value;
|
||||
|
||||
std::string ToString(int indent = 0) const;
|
||||
/* @@protoc_insertion_point(struct:google_protobuf_BytesValue) */
|
||||
} google_protobuf_BytesValue;
|
||||
|
||||
typedef struct _google_protobuf_StringValue {
|
||||
pb_bytes_array_t *value;
|
||||
|
||||
std::string ToString(int indent = 0) const;
|
||||
/* @@protoc_insertion_point(struct:google_protobuf_StringValue) */
|
||||
} google_protobuf_StringValue;
|
||||
|
||||
typedef struct _google_protobuf_BoolValue {
|
||||
bool value;
|
||||
|
||||
std::string ToString(int indent = 0) const;
|
||||
/* @@protoc_insertion_point(struct:google_protobuf_BoolValue) */
|
||||
} google_protobuf_BoolValue;
|
||||
|
||||
typedef struct _google_protobuf_DoubleValue {
|
||||
double value;
|
||||
|
||||
std::string ToString(int indent = 0) const;
|
||||
/* @@protoc_insertion_point(struct:google_protobuf_DoubleValue) */
|
||||
} google_protobuf_DoubleValue;
|
||||
|
||||
typedef struct _google_protobuf_FloatValue {
|
||||
float value;
|
||||
|
||||
std::string ToString(int indent = 0) const;
|
||||
/* @@protoc_insertion_point(struct:google_protobuf_FloatValue) */
|
||||
} google_protobuf_FloatValue;
|
||||
|
||||
typedef struct _google_protobuf_Int32Value {
|
||||
int32_t value;
|
||||
|
||||
std::string ToString(int indent = 0) const;
|
||||
/* @@protoc_insertion_point(struct:google_protobuf_Int32Value) */
|
||||
} google_protobuf_Int32Value;
|
||||
|
||||
typedef struct _google_protobuf_Int64Value {
|
||||
int64_t value;
|
||||
|
||||
std::string ToString(int indent = 0) const;
|
||||
/* @@protoc_insertion_point(struct:google_protobuf_Int64Value) */
|
||||
} google_protobuf_Int64Value;
|
||||
|
||||
typedef struct _google_protobuf_UInt32Value {
|
||||
uint32_t value;
|
||||
|
||||
std::string ToString(int indent = 0) const;
|
||||
/* @@protoc_insertion_point(struct:google_protobuf_UInt32Value) */
|
||||
} google_protobuf_UInt32Value;
|
||||
|
||||
typedef struct _google_protobuf_UInt64Value {
|
||||
uint64_t value;
|
||||
|
||||
std::string ToString(int indent = 0) const;
|
||||
/* @@protoc_insertion_point(struct:google_protobuf_UInt64Value) */
|
||||
} google_protobuf_UInt64Value;
|
||||
|
||||
/* Default values for struct fields */
|
||||
|
||||
/* Initializer values for message structs */
|
||||
#define google_protobuf_DoubleValue_init_default {0}
|
||||
#define google_protobuf_FloatValue_init_default {0}
|
||||
#define google_protobuf_Int64Value_init_default {0}
|
||||
#define google_protobuf_UInt64Value_init_default {0}
|
||||
#define google_protobuf_Int32Value_init_default {0}
|
||||
#define google_protobuf_UInt32Value_init_default {0}
|
||||
#define google_protobuf_BoolValue_init_default {0}
|
||||
#define google_protobuf_StringValue_init_default {NULL}
|
||||
#define google_protobuf_BytesValue_init_default {NULL}
|
||||
#define google_protobuf_DoubleValue_init_zero {0}
|
||||
#define google_protobuf_FloatValue_init_zero {0}
|
||||
#define google_protobuf_Int64Value_init_zero {0}
|
||||
#define google_protobuf_UInt64Value_init_zero {0}
|
||||
#define google_protobuf_Int32Value_init_zero {0}
|
||||
#define google_protobuf_UInt32Value_init_zero {0}
|
||||
#define google_protobuf_BoolValue_init_zero {0}
|
||||
#define google_protobuf_StringValue_init_zero {NULL}
|
||||
#define google_protobuf_BytesValue_init_zero {NULL}
|
||||
|
||||
/* Field tags (for use in manual encoding/decoding) */
|
||||
#define google_protobuf_BytesValue_value_tag 1
|
||||
#define google_protobuf_StringValue_value_tag 1
|
||||
#define google_protobuf_BoolValue_value_tag 1
|
||||
#define google_protobuf_DoubleValue_value_tag 1
|
||||
#define google_protobuf_FloatValue_value_tag 1
|
||||
#define google_protobuf_Int32Value_value_tag 1
|
||||
#define google_protobuf_Int64Value_value_tag 1
|
||||
#define google_protobuf_UInt32Value_value_tag 1
|
||||
#define google_protobuf_UInt64Value_value_tag 1
|
||||
|
||||
/* Struct field encoding specification for nanopb */
|
||||
extern const pb_field_t google_protobuf_DoubleValue_fields[2];
|
||||
extern const pb_field_t google_protobuf_FloatValue_fields[2];
|
||||
extern const pb_field_t google_protobuf_Int64Value_fields[2];
|
||||
extern const pb_field_t google_protobuf_UInt64Value_fields[2];
|
||||
extern const pb_field_t google_protobuf_Int32Value_fields[2];
|
||||
extern const pb_field_t google_protobuf_UInt32Value_fields[2];
|
||||
extern const pb_field_t google_protobuf_BoolValue_fields[2];
|
||||
extern const pb_field_t google_protobuf_StringValue_fields[2];
|
||||
extern const pb_field_t google_protobuf_BytesValue_fields[2];
|
||||
|
||||
/* Maximum encoded size of messages (where known) */
|
||||
#define google_protobuf_DoubleValue_size 9
|
||||
#define google_protobuf_FloatValue_size 5
|
||||
#define google_protobuf_Int64Value_size 11
|
||||
#define google_protobuf_UInt64Value_size 11
|
||||
#define google_protobuf_Int32Value_size 11
|
||||
#define google_protobuf_UInt32Value_size 6
|
||||
#define google_protobuf_BoolValue_size 2
|
||||
/* google_protobuf_StringValue_size depends on runtime parameters */
|
||||
/* google_protobuf_BytesValue_size depends on runtime parameters */
|
||||
|
||||
/* Message IDs (where set with "msgid" option) */
|
||||
#ifdef PB_MSGID
|
||||
|
||||
#define WRAPPERS_MESSAGES \
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
} // namespace firestore
|
||||
} // namespace firebase
|
||||
|
||||
/* @@protoc_insertion_point(eof) */
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user