From ce61f4e0e654e7a16dad023e1b8df32449d5a00f Mon Sep 17 00:00:00 2001 From: rsgowman Date: Mon, 4 Jun 2018 13:02:31 -0400 Subject: Rename nanopb generated headers from foo.pb.h to foo.nanopb.h (#1371) This avoids a collision with the libprotobuf generated files. Also removes the "well-known" cpp protos, relying on libprotobuf to supply these instead. --- .../nanopb/firestore/local/maybe_document.nanopb.h | 88 ++++ .../nanopb/firestore/local/maybe_document.pb.c | 4 +- .../nanopb/firestore/local/maybe_document.pb.h | 88 ---- .../nanopb/firestore/local/mutation.nanopb.h | 87 ++++ .../Protos/nanopb/firestore/local/mutation.pb.c | 4 +- .../Protos/nanopb/firestore/local/mutation.pb.h | 87 ---- .../Protos/nanopb/firestore/local/target.nanopb.h | 100 ++++ .../Protos/nanopb/firestore/local/target.pb.c | 4 +- .../Protos/nanopb/firestore/local/target.pb.h | 100 ---- .../Protos/nanopb/google/api/annotations.nanopb.h | 44 ++ .../Protos/nanopb/google/api/annotations.pb.c | 4 +- .../Protos/nanopb/google/api/annotations.pb.h | 44 -- Firestore/Protos/nanopb/google/api/http.nanopb.h | 107 +++++ Firestore/Protos/nanopb/google/api/http.pb.c | 4 +- Firestore/Protos/nanopb/google/api/http.pb.h | 107 ----- .../google/firestore/v1beta1/common.nanopb.h | 124 +++++ .../nanopb/google/firestore/v1beta1/common.pb.c | 4 +- .../nanopb/google/firestore/v1beta1/common.pb.h | 124 ----- .../google/firestore/v1beta1/document.nanopb.h | 155 +++++++ .../nanopb/google/firestore/v1beta1/document.pb.c | 4 +- .../nanopb/google/firestore/v1beta1/document.pb.h | 155 ------- .../google/firestore/v1beta1/firestore.nanopb.h | 508 +++++++++++++++++++++ .../nanopb/google/firestore/v1beta1/firestore.pb.c | 4 +- .../nanopb/google/firestore/v1beta1/firestore.pb.h | 508 --------------------- .../nanopb/google/firestore/v1beta1/query.nanopb.h | 241 ++++++++++ .../nanopb/google/firestore/v1beta1/query.pb.c | 4 +- .../nanopb/google/firestore/v1beta1/query.pb.h | 241 ---------- .../nanopb/google/firestore/v1beta1/write.nanopb.h | 189 ++++++++ .../nanopb/google/firestore/v1beta1/write.pb.c | 4 +- .../nanopb/google/firestore/v1beta1/write.pb.h | 189 -------- .../Protos/nanopb/google/protobuf/any.nanopb.h | 69 +++ Firestore/Protos/nanopb/google/protobuf/any.pb.c | 4 +- Firestore/Protos/nanopb/google/protobuf/any.pb.h | 69 --- .../Protos/nanopb/google/protobuf/empty.nanopb.h | 66 +++ Firestore/Protos/nanopb/google/protobuf/empty.pb.c | 4 +- Firestore/Protos/nanopb/google/protobuf/empty.pb.h | 66 --- .../Protos/nanopb/google/protobuf/struct.nanopb.h | 117 +++++ .../Protos/nanopb/google/protobuf/struct.pb.c | 4 +- .../Protos/nanopb/google/protobuf/struct.pb.h | 117 ----- .../nanopb/google/protobuf/timestamp.nanopb.h | 69 +++ .../Protos/nanopb/google/protobuf/timestamp.pb.c | 4 +- .../Protos/nanopb/google/protobuf/timestamp.pb.h | 69 --- .../nanopb/google/protobuf/wrappers.nanopb.h | 147 ++++++ .../Protos/nanopb/google/protobuf/wrappers.pb.c | 4 +- .../Protos/nanopb/google/protobuf/wrappers.pb.h | 147 ------ Firestore/Protos/nanopb/google/rpc/status.nanopb.h | 73 +++ Firestore/Protos/nanopb/google/rpc/status.pb.c | 4 +- Firestore/Protos/nanopb/google/rpc/status.pb.h | 73 --- .../Protos/nanopb/google/type/latlng.nanopb.h | 69 +++ Firestore/Protos/nanopb/google/type/latlng.pb.c | 4 +- Firestore/Protos/nanopb/google/type/latlng.pb.h | 69 --- 51 files changed, 2287 insertions(+), 2287 deletions(-) create mode 100644 Firestore/Protos/nanopb/firestore/local/maybe_document.nanopb.h delete mode 100644 Firestore/Protos/nanopb/firestore/local/maybe_document.pb.h create mode 100644 Firestore/Protos/nanopb/firestore/local/mutation.nanopb.h delete mode 100644 Firestore/Protos/nanopb/firestore/local/mutation.pb.h create mode 100644 Firestore/Protos/nanopb/firestore/local/target.nanopb.h delete mode 100644 Firestore/Protos/nanopb/firestore/local/target.pb.h create mode 100644 Firestore/Protos/nanopb/google/api/annotations.nanopb.h delete mode 100644 Firestore/Protos/nanopb/google/api/annotations.pb.h create mode 100644 Firestore/Protos/nanopb/google/api/http.nanopb.h delete mode 100644 Firestore/Protos/nanopb/google/api/http.pb.h create mode 100644 Firestore/Protos/nanopb/google/firestore/v1beta1/common.nanopb.h delete mode 100644 Firestore/Protos/nanopb/google/firestore/v1beta1/common.pb.h create mode 100644 Firestore/Protos/nanopb/google/firestore/v1beta1/document.nanopb.h delete mode 100644 Firestore/Protos/nanopb/google/firestore/v1beta1/document.pb.h create mode 100644 Firestore/Protos/nanopb/google/firestore/v1beta1/firestore.nanopb.h delete mode 100644 Firestore/Protos/nanopb/google/firestore/v1beta1/firestore.pb.h create mode 100644 Firestore/Protos/nanopb/google/firestore/v1beta1/query.nanopb.h delete mode 100644 Firestore/Protos/nanopb/google/firestore/v1beta1/query.pb.h create mode 100644 Firestore/Protos/nanopb/google/firestore/v1beta1/write.nanopb.h delete mode 100644 Firestore/Protos/nanopb/google/firestore/v1beta1/write.pb.h create mode 100644 Firestore/Protos/nanopb/google/protobuf/any.nanopb.h delete mode 100644 Firestore/Protos/nanopb/google/protobuf/any.pb.h create mode 100644 Firestore/Protos/nanopb/google/protobuf/empty.nanopb.h delete mode 100644 Firestore/Protos/nanopb/google/protobuf/empty.pb.h create mode 100644 Firestore/Protos/nanopb/google/protobuf/struct.nanopb.h delete mode 100644 Firestore/Protos/nanopb/google/protobuf/struct.pb.h create mode 100644 Firestore/Protos/nanopb/google/protobuf/timestamp.nanopb.h delete mode 100644 Firestore/Protos/nanopb/google/protobuf/timestamp.pb.h create mode 100644 Firestore/Protos/nanopb/google/protobuf/wrappers.nanopb.h delete mode 100644 Firestore/Protos/nanopb/google/protobuf/wrappers.pb.h create mode 100644 Firestore/Protos/nanopb/google/rpc/status.nanopb.h delete mode 100644 Firestore/Protos/nanopb/google/rpc/status.pb.h create mode 100644 Firestore/Protos/nanopb/google/type/latlng.nanopb.h delete mode 100644 Firestore/Protos/nanopb/google/type/latlng.pb.h (limited to 'Firestore/Protos/nanopb') diff --git a/Firestore/Protos/nanopb/firestore/local/maybe_document.nanopb.h b/Firestore/Protos/nanopb/firestore/local/maybe_document.nanopb.h new file mode 100644 index 0000000..0b9aa68 --- /dev/null +++ b/Firestore/Protos/nanopb/firestore/local/maybe_document.nanopb.h @@ -0,0 +1,88 @@ +/* + * 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. + */ + +/* Automatically generated nanopb header */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ + +#ifndef PB_FIRESTORE_CLIENT_MAYBE_DOCUMENT_PB_H_INCLUDED +#define PB_FIRESTORE_CLIENT_MAYBE_DOCUMENT_PB_H_INCLUDED +#include + +#include "google/firestore/v1beta1/document.nanopb.h" + +#include "google/protobuf/timestamp.nanopb.h" + +/* @@protoc_insertion_point(includes) */ +#if PB_PROTO_HEADER_VERSION != 30 +#error Regenerate this file with the current version of nanopb generator. +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/* Struct definitions */ +typedef struct _firestore_client_NoDocument { + pb_callback_t name; + google_protobuf_Timestamp read_time; +/* @@protoc_insertion_point(struct:firestore_client_NoDocument) */ +} firestore_client_NoDocument; + +typedef struct _firestore_client_MaybeDocument { + pb_size_t which_document_type; + union { + firestore_client_NoDocument no_document; + google_firestore_v1beta1_Document document; + } document_type; +/* @@protoc_insertion_point(struct:firestore_client_MaybeDocument) */ +} firestore_client_MaybeDocument; + +/* Default values for struct fields */ + +/* Initializer values for message structs */ +#define firestore_client_NoDocument_init_default {{{NULL}, NULL}, google_protobuf_Timestamp_init_default} +#define firestore_client_MaybeDocument_init_default {0, {firestore_client_NoDocument_init_default}} +#define firestore_client_NoDocument_init_zero {{{NULL}, NULL}, google_protobuf_Timestamp_init_zero} +#define firestore_client_MaybeDocument_init_zero {0, {firestore_client_NoDocument_init_zero}} + +/* Field tags (for use in manual encoding/decoding) */ +#define firestore_client_NoDocument_name_tag 1 +#define firestore_client_NoDocument_read_time_tag 2 +#define firestore_client_MaybeDocument_no_document_tag 1 +#define firestore_client_MaybeDocument_document_tag 2 + +/* Struct field encoding specification for nanopb */ +extern const pb_field_t firestore_client_NoDocument_fields[3]; +extern const pb_field_t firestore_client_MaybeDocument_fields[3]; + +/* Maximum encoded size of messages (where known) */ +/* firestore_client_NoDocument_size depends on runtime parameters */ +/* firestore_client_MaybeDocument_size depends on runtime parameters */ + +/* Message IDs (where set with "msgid" option) */ +#ifdef PB_MSGID + +#define MAYBE_DOCUMENT_MESSAGES \ + + +#endif + +#ifdef __cplusplus +} /* extern "C" */ +#endif +/* @@protoc_insertion_point(eof) */ + +#endif diff --git a/Firestore/Protos/nanopb/firestore/local/maybe_document.pb.c b/Firestore/Protos/nanopb/firestore/local/maybe_document.pb.c index 7cd4035..e528816 100644 --- a/Firestore/Protos/nanopb/firestore/local/maybe_document.pb.c +++ b/Firestore/Protos/nanopb/firestore/local/maybe_document.pb.c @@ -15,9 +15,9 @@ */ /* Automatically generated nanopb constant definitions */ -/* Generated by nanopb-0.3.8 at Fri Feb 2 17:48:02 2018. */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ -#include "maybe_document.pb.h" +#include "maybe_document.nanopb.h" /* @@protoc_insertion_point(includes) */ #if PB_PROTO_HEADER_VERSION != 30 diff --git a/Firestore/Protos/nanopb/firestore/local/maybe_document.pb.h b/Firestore/Protos/nanopb/firestore/local/maybe_document.pb.h deleted file mode 100644 index b159cd1..0000000 --- a/Firestore/Protos/nanopb/firestore/local/maybe_document.pb.h +++ /dev/null @@ -1,88 +0,0 @@ -/* - * 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. - */ - -/* Automatically generated nanopb header */ -/* Generated by nanopb-0.3.8 at Fri Feb 2 17:48:02 2018. */ - -#ifndef PB_FIRESTORE_CLIENT_MAYBE_DOCUMENT_PB_H_INCLUDED -#define PB_FIRESTORE_CLIENT_MAYBE_DOCUMENT_PB_H_INCLUDED -#include - -#include "google/firestore/v1beta1/document.pb.h" - -#include "google/protobuf/timestamp.pb.h" - -/* @@protoc_insertion_point(includes) */ -#if PB_PROTO_HEADER_VERSION != 30 -#error Regenerate this file with the current version of nanopb generator. -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -/* Struct definitions */ -typedef struct _firestore_client_NoDocument { - pb_callback_t name; - google_protobuf_Timestamp read_time; -/* @@protoc_insertion_point(struct:firestore_client_NoDocument) */ -} firestore_client_NoDocument; - -typedef struct _firestore_client_MaybeDocument { - pb_size_t which_document_type; - union { - firestore_client_NoDocument no_document; - google_firestore_v1beta1_Document document; - } document_type; -/* @@protoc_insertion_point(struct:firestore_client_MaybeDocument) */ -} firestore_client_MaybeDocument; - -/* Default values for struct fields */ - -/* Initializer values for message structs */ -#define firestore_client_NoDocument_init_default {{{NULL}, NULL}, google_protobuf_Timestamp_init_default} -#define firestore_client_MaybeDocument_init_default {0, {firestore_client_NoDocument_init_default}} -#define firestore_client_NoDocument_init_zero {{{NULL}, NULL}, google_protobuf_Timestamp_init_zero} -#define firestore_client_MaybeDocument_init_zero {0, {firestore_client_NoDocument_init_zero}} - -/* Field tags (for use in manual encoding/decoding) */ -#define firestore_client_NoDocument_name_tag 1 -#define firestore_client_NoDocument_read_time_tag 2 -#define firestore_client_MaybeDocument_no_document_tag 1 -#define firestore_client_MaybeDocument_document_tag 2 - -/* Struct field encoding specification for nanopb */ -extern const pb_field_t firestore_client_NoDocument_fields[3]; -extern const pb_field_t firestore_client_MaybeDocument_fields[3]; - -/* Maximum encoded size of messages (where known) */ -/* firestore_client_NoDocument_size depends on runtime parameters */ -/* firestore_client_MaybeDocument_size depends on runtime parameters */ - -/* Message IDs (where set with "msgid" option) */ -#ifdef PB_MSGID - -#define MAYBE_DOCUMENT_MESSAGES \ - - -#endif - -#ifdef __cplusplus -} /* extern "C" */ -#endif -/* @@protoc_insertion_point(eof) */ - -#endif diff --git a/Firestore/Protos/nanopb/firestore/local/mutation.nanopb.h b/Firestore/Protos/nanopb/firestore/local/mutation.nanopb.h new file mode 100644 index 0000000..c3b2b96 --- /dev/null +++ b/Firestore/Protos/nanopb/firestore/local/mutation.nanopb.h @@ -0,0 +1,87 @@ +/* + * 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. + */ + +/* Automatically generated nanopb header */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ + +#ifndef PB_FIRESTORE_CLIENT_MUTATION_PB_H_INCLUDED +#define PB_FIRESTORE_CLIENT_MUTATION_PB_H_INCLUDED +#include + +#include "google/firestore/v1beta1/write.nanopb.h" + +#include "google/protobuf/timestamp.nanopb.h" + +/* @@protoc_insertion_point(includes) */ +#if PB_PROTO_HEADER_VERSION != 30 +#error Regenerate this file with the current version of nanopb generator. +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/* Struct definitions */ +typedef struct _firestore_client_MutationQueue { + int32_t last_acknowledged_batch_id; + pb_callback_t last_stream_token; +/* @@protoc_insertion_point(struct:firestore_client_MutationQueue) */ +} firestore_client_MutationQueue; + +typedef struct _firestore_client_WriteBatch { + int32_t batch_id; + pb_callback_t writes; + google_protobuf_Timestamp local_write_time; +/* @@protoc_insertion_point(struct:firestore_client_WriteBatch) */ +} firestore_client_WriteBatch; + +/* Default values for struct fields */ + +/* Initializer values for message structs */ +#define firestore_client_MutationQueue_init_default {0, {{NULL}, NULL}} +#define firestore_client_WriteBatch_init_default {0, {{NULL}, NULL}, google_protobuf_Timestamp_init_default} +#define firestore_client_MutationQueue_init_zero {0, {{NULL}, NULL}} +#define firestore_client_WriteBatch_init_zero {0, {{NULL}, NULL}, google_protobuf_Timestamp_init_zero} + +/* Field tags (for use in manual encoding/decoding) */ +#define firestore_client_MutationQueue_last_acknowledged_batch_id_tag 1 +#define firestore_client_MutationQueue_last_stream_token_tag 2 +#define firestore_client_WriteBatch_batch_id_tag 1 +#define firestore_client_WriteBatch_writes_tag 2 +#define firestore_client_WriteBatch_local_write_time_tag 3 + +/* Struct field encoding specification for nanopb */ +extern const pb_field_t firestore_client_MutationQueue_fields[3]; +extern const pb_field_t firestore_client_WriteBatch_fields[4]; + +/* Maximum encoded size of messages (where known) */ +/* firestore_client_MutationQueue_size depends on runtime parameters */ +/* firestore_client_WriteBatch_size depends on runtime parameters */ + +/* Message IDs (where set with "msgid" option) */ +#ifdef PB_MSGID + +#define MUTATION_MESSAGES \ + + +#endif + +#ifdef __cplusplus +} /* extern "C" */ +#endif +/* @@protoc_insertion_point(eof) */ + +#endif diff --git a/Firestore/Protos/nanopb/firestore/local/mutation.pb.c b/Firestore/Protos/nanopb/firestore/local/mutation.pb.c index 7dedb14..12725ce 100644 --- a/Firestore/Protos/nanopb/firestore/local/mutation.pb.c +++ b/Firestore/Protos/nanopb/firestore/local/mutation.pb.c @@ -15,9 +15,9 @@ */ /* Automatically generated nanopb constant definitions */ -/* Generated by nanopb-0.3.8 at Fri Feb 2 17:48:02 2018. */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ -#include "mutation.pb.h" +#include "mutation.nanopb.h" /* @@protoc_insertion_point(includes) */ #if PB_PROTO_HEADER_VERSION != 30 diff --git a/Firestore/Protos/nanopb/firestore/local/mutation.pb.h b/Firestore/Protos/nanopb/firestore/local/mutation.pb.h deleted file mode 100644 index 537d0cd..0000000 --- a/Firestore/Protos/nanopb/firestore/local/mutation.pb.h +++ /dev/null @@ -1,87 +0,0 @@ -/* - * 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. - */ - -/* Automatically generated nanopb header */ -/* Generated by nanopb-0.3.8 at Fri Feb 2 17:48:02 2018. */ - -#ifndef PB_FIRESTORE_CLIENT_MUTATION_PB_H_INCLUDED -#define PB_FIRESTORE_CLIENT_MUTATION_PB_H_INCLUDED -#include - -#include "google/firestore/v1beta1/write.pb.h" - -#include "google/protobuf/timestamp.pb.h" - -/* @@protoc_insertion_point(includes) */ -#if PB_PROTO_HEADER_VERSION != 30 -#error Regenerate this file with the current version of nanopb generator. -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -/* Struct definitions */ -typedef struct _firestore_client_MutationQueue { - int32_t last_acknowledged_batch_id; - pb_callback_t last_stream_token; -/* @@protoc_insertion_point(struct:firestore_client_MutationQueue) */ -} firestore_client_MutationQueue; - -typedef struct _firestore_client_WriteBatch { - int32_t batch_id; - pb_callback_t writes; - google_protobuf_Timestamp local_write_time; -/* @@protoc_insertion_point(struct:firestore_client_WriteBatch) */ -} firestore_client_WriteBatch; - -/* Default values for struct fields */ - -/* Initializer values for message structs */ -#define firestore_client_MutationQueue_init_default {0, {{NULL}, NULL}} -#define firestore_client_WriteBatch_init_default {0, {{NULL}, NULL}, google_protobuf_Timestamp_init_default} -#define firestore_client_MutationQueue_init_zero {0, {{NULL}, NULL}} -#define firestore_client_WriteBatch_init_zero {0, {{NULL}, NULL}, google_protobuf_Timestamp_init_zero} - -/* Field tags (for use in manual encoding/decoding) */ -#define firestore_client_MutationQueue_last_acknowledged_batch_id_tag 1 -#define firestore_client_MutationQueue_last_stream_token_tag 2 -#define firestore_client_WriteBatch_batch_id_tag 1 -#define firestore_client_WriteBatch_writes_tag 2 -#define firestore_client_WriteBatch_local_write_time_tag 3 - -/* Struct field encoding specification for nanopb */ -extern const pb_field_t firestore_client_MutationQueue_fields[3]; -extern const pb_field_t firestore_client_WriteBatch_fields[4]; - -/* Maximum encoded size of messages (where known) */ -/* firestore_client_MutationQueue_size depends on runtime parameters */ -/* firestore_client_WriteBatch_size depends on runtime parameters */ - -/* Message IDs (where set with "msgid" option) */ -#ifdef PB_MSGID - -#define MUTATION_MESSAGES \ - - -#endif - -#ifdef __cplusplus -} /* extern "C" */ -#endif -/* @@protoc_insertion_point(eof) */ - -#endif diff --git a/Firestore/Protos/nanopb/firestore/local/target.nanopb.h b/Firestore/Protos/nanopb/firestore/local/target.nanopb.h new file mode 100644 index 0000000..af6cf9c --- /dev/null +++ b/Firestore/Protos/nanopb/firestore/local/target.nanopb.h @@ -0,0 +1,100 @@ +/* + * 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. + */ + +/* Automatically generated nanopb header */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ + +#ifndef PB_FIRESTORE_CLIENT_TARGET_PB_H_INCLUDED +#define PB_FIRESTORE_CLIENT_TARGET_PB_H_INCLUDED +#include + +#include "google/firestore/v1beta1/firestore.nanopb.h" + +#include "google/protobuf/timestamp.nanopb.h" + +/* @@protoc_insertion_point(includes) */ +#if PB_PROTO_HEADER_VERSION != 30 +#error Regenerate this file with the current version of nanopb generator. +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/* Struct definitions */ +typedef struct _firestore_client_Target { + int32_t target_id; + google_protobuf_Timestamp snapshot_version; + pb_callback_t resume_token; + int64_t last_listen_sequence_number; + pb_size_t which_target_type; + union { + google_firestore_v1beta1_Target_QueryTarget query; + google_firestore_v1beta1_Target_DocumentsTarget documents; + } target_type; +/* @@protoc_insertion_point(struct:firestore_client_Target) */ +} firestore_client_Target; + +typedef struct _firestore_client_TargetGlobal { + int32_t highest_target_id; + int64_t highest_listen_sequence_number; + google_protobuf_Timestamp last_remote_snapshot_version; + int32_t target_count; +/* @@protoc_insertion_point(struct:firestore_client_TargetGlobal) */ +} firestore_client_TargetGlobal; + +/* Default values for struct fields */ + +/* Initializer values for message structs */ +#define firestore_client_Target_init_default {0, google_protobuf_Timestamp_init_default, {{NULL}, NULL}, 0, 0, {google_firestore_v1beta1_Target_QueryTarget_init_default}} +#define firestore_client_TargetGlobal_init_default {0, 0, google_protobuf_Timestamp_init_default, 0} +#define firestore_client_Target_init_zero {0, google_protobuf_Timestamp_init_zero, {{NULL}, NULL}, 0, 0, {google_firestore_v1beta1_Target_QueryTarget_init_zero}} +#define firestore_client_TargetGlobal_init_zero {0, 0, google_protobuf_Timestamp_init_zero, 0} + +/* Field tags (for use in manual encoding/decoding) */ +#define firestore_client_Target_query_tag 5 +#define firestore_client_Target_documents_tag 6 +#define firestore_client_Target_target_id_tag 1 +#define firestore_client_Target_snapshot_version_tag 2 +#define firestore_client_Target_resume_token_tag 3 +#define firestore_client_Target_last_listen_sequence_number_tag 4 +#define firestore_client_TargetGlobal_highest_target_id_tag 1 +#define firestore_client_TargetGlobal_highest_listen_sequence_number_tag 2 +#define firestore_client_TargetGlobal_last_remote_snapshot_version_tag 3 +#define firestore_client_TargetGlobal_target_count_tag 4 + +/* Struct field encoding specification for nanopb */ +extern const pb_field_t firestore_client_Target_fields[7]; +extern const pb_field_t firestore_client_TargetGlobal_fields[5]; + +/* Maximum encoded size of messages (where known) */ +/* firestore_client_Target_size depends on runtime parameters */ +#define firestore_client_TargetGlobal_size 57 + +/* Message IDs (where set with "msgid" option) */ +#ifdef PB_MSGID + +#define TARGET_MESSAGES \ + + +#endif + +#ifdef __cplusplus +} /* extern "C" */ +#endif +/* @@protoc_insertion_point(eof) */ + +#endif diff --git a/Firestore/Protos/nanopb/firestore/local/target.pb.c b/Firestore/Protos/nanopb/firestore/local/target.pb.c index d00d4a6..7a68c4a 100644 --- a/Firestore/Protos/nanopb/firestore/local/target.pb.c +++ b/Firestore/Protos/nanopb/firestore/local/target.pb.c @@ -15,9 +15,9 @@ */ /* Automatically generated nanopb constant definitions */ -/* Generated by nanopb-0.3.8 at Mon Apr 9 15:08:47 2018. */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ -#include "target.pb.h" +#include "target.nanopb.h" /* @@protoc_insertion_point(includes) */ #if PB_PROTO_HEADER_VERSION != 30 diff --git a/Firestore/Protos/nanopb/firestore/local/target.pb.h b/Firestore/Protos/nanopb/firestore/local/target.pb.h deleted file mode 100644 index 37b64a2..0000000 --- a/Firestore/Protos/nanopb/firestore/local/target.pb.h +++ /dev/null @@ -1,100 +0,0 @@ -/* - * 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. - */ - -/* Automatically generated nanopb header */ -/* Generated by nanopb-0.3.8 at Mon Apr 9 15:08:47 2018. */ - -#ifndef PB_FIRESTORE_CLIENT_TARGET_PB_H_INCLUDED -#define PB_FIRESTORE_CLIENT_TARGET_PB_H_INCLUDED -#include - -#include "google/firestore/v1beta1/firestore.pb.h" - -#include "google/protobuf/timestamp.pb.h" - -/* @@protoc_insertion_point(includes) */ -#if PB_PROTO_HEADER_VERSION != 30 -#error Regenerate this file with the current version of nanopb generator. -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -/* Struct definitions */ -typedef struct _firestore_client_Target { - int32_t target_id; - google_protobuf_Timestamp snapshot_version; - pb_callback_t resume_token; - int64_t last_listen_sequence_number; - pb_size_t which_target_type; - union { - google_firestore_v1beta1_Target_QueryTarget query; - google_firestore_v1beta1_Target_DocumentsTarget documents; - } target_type; -/* @@protoc_insertion_point(struct:firestore_client_Target) */ -} firestore_client_Target; - -typedef struct _firestore_client_TargetGlobal { - int32_t highest_target_id; - int64_t highest_listen_sequence_number; - google_protobuf_Timestamp last_remote_snapshot_version; - int32_t target_count; -/* @@protoc_insertion_point(struct:firestore_client_TargetGlobal) */ -} firestore_client_TargetGlobal; - -/* Default values for struct fields */ - -/* Initializer values for message structs */ -#define firestore_client_Target_init_default {0, google_protobuf_Timestamp_init_default, {{NULL}, NULL}, 0, 0, {google_firestore_v1beta1_Target_QueryTarget_init_default}} -#define firestore_client_TargetGlobal_init_default {0, 0, google_protobuf_Timestamp_init_default, 0} -#define firestore_client_Target_init_zero {0, google_protobuf_Timestamp_init_zero, {{NULL}, NULL}, 0, 0, {google_firestore_v1beta1_Target_QueryTarget_init_zero}} -#define firestore_client_TargetGlobal_init_zero {0, 0, google_protobuf_Timestamp_init_zero, 0} - -/* Field tags (for use in manual encoding/decoding) */ -#define firestore_client_Target_query_tag 5 -#define firestore_client_Target_documents_tag 6 -#define firestore_client_Target_target_id_tag 1 -#define firestore_client_Target_snapshot_version_tag 2 -#define firestore_client_Target_resume_token_tag 3 -#define firestore_client_Target_last_listen_sequence_number_tag 4 -#define firestore_client_TargetGlobal_highest_target_id_tag 1 -#define firestore_client_TargetGlobal_highest_listen_sequence_number_tag 2 -#define firestore_client_TargetGlobal_last_remote_snapshot_version_tag 3 -#define firestore_client_TargetGlobal_target_count_tag 4 - -/* Struct field encoding specification for nanopb */ -extern const pb_field_t firestore_client_Target_fields[7]; -extern const pb_field_t firestore_client_TargetGlobal_fields[5]; - -/* Maximum encoded size of messages (where known) */ -/* firestore_client_Target_size depends on runtime parameters */ -#define firestore_client_TargetGlobal_size 57 - -/* Message IDs (where set with "msgid" option) */ -#ifdef PB_MSGID - -#define TARGET_MESSAGES \ - - -#endif - -#ifdef __cplusplus -} /* extern "C" */ -#endif -/* @@protoc_insertion_point(eof) */ - -#endif diff --git a/Firestore/Protos/nanopb/google/api/annotations.nanopb.h b/Firestore/Protos/nanopb/google/api/annotations.nanopb.h new file mode 100644 index 0000000..9a7854d --- /dev/null +++ b/Firestore/Protos/nanopb/google/api/annotations.nanopb.h @@ -0,0 +1,44 @@ +/* + * 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. + */ + +/* Automatically generated nanopb header */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ + +#ifndef PB_GOOGLE_API_ANNOTATIONS_PB_H_INCLUDED +#define PB_GOOGLE_API_ANNOTATIONS_PB_H_INCLUDED +#include + +#include "google/api/http.nanopb.h" + +/* @@protoc_insertion_point(includes) */ +#if PB_PROTO_HEADER_VERSION != 30 +#error Regenerate this file with the current version of nanopb generator. +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/* Extensions */ +/* Extension field google_api_http was skipped because only "optional" + type of extension fields is currently supported. */ + +#ifdef __cplusplus +} /* extern "C" */ +#endif +/* @@protoc_insertion_point(eof) */ + +#endif diff --git a/Firestore/Protos/nanopb/google/api/annotations.pb.c b/Firestore/Protos/nanopb/google/api/annotations.pb.c index 6da5206..ff6f44b 100644 --- a/Firestore/Protos/nanopb/google/api/annotations.pb.c +++ b/Firestore/Protos/nanopb/google/api/annotations.pb.c @@ -15,9 +15,9 @@ */ /* Automatically generated nanopb constant definitions */ -/* Generated by nanopb-0.3.8 at Fri Feb 2 17:48:02 2018. */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ -#include "annotations.pb.h" +#include "annotations.nanopb.h" /* @@protoc_insertion_point(includes) */ #if PB_PROTO_HEADER_VERSION != 30 diff --git a/Firestore/Protos/nanopb/google/api/annotations.pb.h b/Firestore/Protos/nanopb/google/api/annotations.pb.h deleted file mode 100644 index 33c9ba8..0000000 --- a/Firestore/Protos/nanopb/google/api/annotations.pb.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * 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. - */ - -/* Automatically generated nanopb header */ -/* Generated by nanopb-0.3.8 at Fri Feb 2 17:48:02 2018. */ - -#ifndef PB_GOOGLE_API_ANNOTATIONS_PB_H_INCLUDED -#define PB_GOOGLE_API_ANNOTATIONS_PB_H_INCLUDED -#include - -#include "google/api/http.pb.h" - -/* @@protoc_insertion_point(includes) */ -#if PB_PROTO_HEADER_VERSION != 30 -#error Regenerate this file with the current version of nanopb generator. -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -/* Extensions */ -/* Extension field google_api_http was skipped because only "optional" - type of extension fields is currently supported. */ - -#ifdef __cplusplus -} /* extern "C" */ -#endif -/* @@protoc_insertion_point(eof) */ - -#endif diff --git a/Firestore/Protos/nanopb/google/api/http.nanopb.h b/Firestore/Protos/nanopb/google/api/http.nanopb.h new file mode 100644 index 0000000..4ff3efe --- /dev/null +++ b/Firestore/Protos/nanopb/google/api/http.nanopb.h @@ -0,0 +1,107 @@ +/* + * 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. + */ + +/* Automatically generated nanopb header */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ + +#ifndef PB_GOOGLE_API_HTTP_PB_H_INCLUDED +#define PB_GOOGLE_API_HTTP_PB_H_INCLUDED +#include + +/* @@protoc_insertion_point(includes) */ +#if PB_PROTO_HEADER_VERSION != 30 +#error Regenerate this file with the current version of nanopb generator. +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/* Struct definitions */ +typedef struct _google_api_CustomHttpPattern { + pb_callback_t kind; + pb_callback_t path; +/* @@protoc_insertion_point(struct:google_api_CustomHttpPattern) */ +} google_api_CustomHttpPattern; + +typedef struct _google_api_Http { + pb_callback_t rules; + bool fully_decode_reserved_expansion; +/* @@protoc_insertion_point(struct:google_api_Http) */ +} google_api_Http; + +typedef struct _google_api_HttpRule { + pb_callback_t selector; + pb_callback_t get; + pb_callback_t put; + pb_callback_t post; + pb_callback_t delete_; + pb_callback_t patch; + pb_callback_t body; + google_api_CustomHttpPattern custom; + pb_callback_t additional_bindings; +/* @@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 {{{NULL}, NULL}, 0} +#define google_api_HttpRule_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, google_api_CustomHttpPattern_init_default, {{NULL}, NULL}} +#define google_api_CustomHttpPattern_init_default {{{NULL}, NULL}, {{NULL}, NULL}} +#define google_api_Http_init_zero {{{NULL}, NULL}, 0} +#define google_api_HttpRule_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, google_api_CustomHttpPattern_init_zero, {{NULL}, NULL}} +#define google_api_CustomHttpPattern_init_zero {{{NULL}, NULL}, {{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_selector_tag 1 +#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_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 + +#ifdef __cplusplus +} /* extern "C" */ +#endif +/* @@protoc_insertion_point(eof) */ + +#endif diff --git a/Firestore/Protos/nanopb/google/api/http.pb.c b/Firestore/Protos/nanopb/google/api/http.pb.c index 7a2cd21..c0d1114 100644 --- a/Firestore/Protos/nanopb/google/api/http.pb.c +++ b/Firestore/Protos/nanopb/google/api/http.pb.c @@ -15,9 +15,9 @@ */ /* Automatically generated nanopb constant definitions */ -/* Generated by nanopb-0.3.8 at Thu Apr 12 07:27:15 2018. */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ -#include "http.pb.h" +#include "http.nanopb.h" /* @@protoc_insertion_point(includes) */ #if PB_PROTO_HEADER_VERSION != 30 diff --git a/Firestore/Protos/nanopb/google/api/http.pb.h b/Firestore/Protos/nanopb/google/api/http.pb.h deleted file mode 100644 index a7bbc46..0000000 --- a/Firestore/Protos/nanopb/google/api/http.pb.h +++ /dev/null @@ -1,107 +0,0 @@ -/* - * 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. - */ - -/* Automatically generated nanopb header */ -/* Generated by nanopb-0.3.8 at Thu Apr 12 07:27:15 2018. */ - -#ifndef PB_GOOGLE_API_HTTP_PB_H_INCLUDED -#define PB_GOOGLE_API_HTTP_PB_H_INCLUDED -#include - -/* @@protoc_insertion_point(includes) */ -#if PB_PROTO_HEADER_VERSION != 30 -#error Regenerate this file with the current version of nanopb generator. -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -/* Struct definitions */ -typedef struct _google_api_CustomHttpPattern { - pb_callback_t kind; - pb_callback_t path; -/* @@protoc_insertion_point(struct:google_api_CustomHttpPattern) */ -} google_api_CustomHttpPattern; - -typedef struct _google_api_Http { - pb_callback_t rules; - bool fully_decode_reserved_expansion; -/* @@protoc_insertion_point(struct:google_api_Http) */ -} google_api_Http; - -typedef struct _google_api_HttpRule { - pb_callback_t selector; - pb_callback_t get; - pb_callback_t put; - pb_callback_t post; - pb_callback_t delete_; - pb_callback_t patch; - pb_callback_t body; - google_api_CustomHttpPattern custom; - pb_callback_t additional_bindings; -/* @@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 {{{NULL}, NULL}, 0} -#define google_api_HttpRule_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, google_api_CustomHttpPattern_init_default, {{NULL}, NULL}} -#define google_api_CustomHttpPattern_init_default {{{NULL}, NULL}, {{NULL}, NULL}} -#define google_api_Http_init_zero {{{NULL}, NULL}, 0} -#define google_api_HttpRule_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, google_api_CustomHttpPattern_init_zero, {{NULL}, NULL}} -#define google_api_CustomHttpPattern_init_zero {{{NULL}, NULL}, {{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_selector_tag 1 -#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_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 - -#ifdef __cplusplus -} /* extern "C" */ -#endif -/* @@protoc_insertion_point(eof) */ - -#endif diff --git a/Firestore/Protos/nanopb/google/firestore/v1beta1/common.nanopb.h b/Firestore/Protos/nanopb/google/firestore/v1beta1/common.nanopb.h new file mode 100644 index 0000000..d0095bc --- /dev/null +++ b/Firestore/Protos/nanopb/google/firestore/v1beta1/common.nanopb.h @@ -0,0 +1,124 @@ +/* + * 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. + */ + +/* Automatically generated nanopb header */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ + +#ifndef PB_GOOGLE_FIRESTORE_V1BETA1_COMMON_PB_H_INCLUDED +#define PB_GOOGLE_FIRESTORE_V1BETA1_COMMON_PB_H_INCLUDED +#include + +#include "google/api/annotations.nanopb.h" + +#include "google/protobuf/timestamp.nanopb.h" + +/* @@protoc_insertion_point(includes) */ +#if PB_PROTO_HEADER_VERSION != 30 +#error Regenerate this file with the current version of nanopb generator. +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/* Struct definitions */ +typedef struct _google_firestore_v1beta1_DocumentMask { + pb_callback_t field_paths; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_DocumentMask) */ +} google_firestore_v1beta1_DocumentMask; + +typedef struct _google_firestore_v1beta1_TransactionOptions_ReadWrite { + pb_callback_t retry_transaction; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_TransactionOptions_ReadWrite) */ +} google_firestore_v1beta1_TransactionOptions_ReadWrite; + +typedef struct _google_firestore_v1beta1_Precondition { + pb_size_t which_condition_type; + union { + bool exists; + google_protobuf_Timestamp update_time; + } condition_type; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_Precondition) */ +} google_firestore_v1beta1_Precondition; + +typedef struct _google_firestore_v1beta1_TransactionOptions_ReadOnly { + pb_size_t which_consistency_selector; + union { + google_protobuf_Timestamp read_time; + } consistency_selector; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_TransactionOptions_ReadOnly) */ +} google_firestore_v1beta1_TransactionOptions_ReadOnly; + +typedef struct _google_firestore_v1beta1_TransactionOptions { + pb_size_t which_mode; + union { + google_firestore_v1beta1_TransactionOptions_ReadOnly read_only; + google_firestore_v1beta1_TransactionOptions_ReadWrite read_write; + } mode; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_TransactionOptions) */ +} google_firestore_v1beta1_TransactionOptions; + +/* Default values for struct fields */ + +/* Initializer values for message structs */ +#define google_firestore_v1beta1_DocumentMask_init_default {{{NULL}, NULL}} +#define google_firestore_v1beta1_Precondition_init_default {0, {0}} +#define google_firestore_v1beta1_TransactionOptions_init_default {0, {google_firestore_v1beta1_TransactionOptions_ReadOnly_init_default}} +#define google_firestore_v1beta1_TransactionOptions_ReadWrite_init_default {{{NULL}, NULL}} +#define google_firestore_v1beta1_TransactionOptions_ReadOnly_init_default {0, {google_protobuf_Timestamp_init_default}} +#define google_firestore_v1beta1_DocumentMask_init_zero {{{NULL}, NULL}} +#define google_firestore_v1beta1_Precondition_init_zero {0, {0}} +#define google_firestore_v1beta1_TransactionOptions_init_zero {0, {google_firestore_v1beta1_TransactionOptions_ReadOnly_init_zero}} +#define google_firestore_v1beta1_TransactionOptions_ReadWrite_init_zero {{{NULL}, NULL}} +#define google_firestore_v1beta1_TransactionOptions_ReadOnly_init_zero {0, {google_protobuf_Timestamp_init_zero}} + +/* Field tags (for use in manual encoding/decoding) */ +#define google_firestore_v1beta1_DocumentMask_field_paths_tag 1 +#define google_firestore_v1beta1_TransactionOptions_ReadWrite_retry_transaction_tag 1 +#define google_firestore_v1beta1_Precondition_exists_tag 1 +#define google_firestore_v1beta1_Precondition_update_time_tag 2 +#define google_firestore_v1beta1_TransactionOptions_ReadOnly_read_time_tag 2 +#define google_firestore_v1beta1_TransactionOptions_read_only_tag 2 +#define google_firestore_v1beta1_TransactionOptions_read_write_tag 3 + +/* Struct field encoding specification for nanopb */ +extern const pb_field_t google_firestore_v1beta1_DocumentMask_fields[2]; +extern const pb_field_t google_firestore_v1beta1_Precondition_fields[3]; +extern const pb_field_t google_firestore_v1beta1_TransactionOptions_fields[3]; +extern const pb_field_t google_firestore_v1beta1_TransactionOptions_ReadWrite_fields[2]; +extern const pb_field_t google_firestore_v1beta1_TransactionOptions_ReadOnly_fields[2]; + +/* Maximum encoded size of messages (where known) */ +/* google_firestore_v1beta1_DocumentMask_size depends on runtime parameters */ +#define google_firestore_v1beta1_Precondition_size 24 +/* google_firestore_v1beta1_TransactionOptions_size depends on runtime parameters */ +/* google_firestore_v1beta1_TransactionOptions_ReadWrite_size depends on runtime parameters */ +#define google_firestore_v1beta1_TransactionOptions_ReadOnly_size 24 + +/* Message IDs (where set with "msgid" option) */ +#ifdef PB_MSGID + +#define COMMON_MESSAGES \ + + +#endif + +#ifdef __cplusplus +} /* extern "C" */ +#endif +/* @@protoc_insertion_point(eof) */ + +#endif diff --git a/Firestore/Protos/nanopb/google/firestore/v1beta1/common.pb.c b/Firestore/Protos/nanopb/google/firestore/v1beta1/common.pb.c index de2cf65..e740870 100644 --- a/Firestore/Protos/nanopb/google/firestore/v1beta1/common.pb.c +++ b/Firestore/Protos/nanopb/google/firestore/v1beta1/common.pb.c @@ -15,9 +15,9 @@ */ /* Automatically generated nanopb constant definitions */ -/* Generated by nanopb-0.3.8 at Fri Feb 2 17:48:02 2018. */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ -#include "common.pb.h" +#include "common.nanopb.h" /* @@protoc_insertion_point(includes) */ #if PB_PROTO_HEADER_VERSION != 30 diff --git a/Firestore/Protos/nanopb/google/firestore/v1beta1/common.pb.h b/Firestore/Protos/nanopb/google/firestore/v1beta1/common.pb.h deleted file mode 100644 index 277d9b8..0000000 --- a/Firestore/Protos/nanopb/google/firestore/v1beta1/common.pb.h +++ /dev/null @@ -1,124 +0,0 @@ -/* - * 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. - */ - -/* Automatically generated nanopb header */ -/* Generated by nanopb-0.3.8 at Fri Feb 2 17:48:02 2018. */ - -#ifndef PB_GOOGLE_FIRESTORE_V1BETA1_COMMON_PB_H_INCLUDED -#define PB_GOOGLE_FIRESTORE_V1BETA1_COMMON_PB_H_INCLUDED -#include - -#include "google/api/annotations.pb.h" - -#include "google/protobuf/timestamp.pb.h" - -/* @@protoc_insertion_point(includes) */ -#if PB_PROTO_HEADER_VERSION != 30 -#error Regenerate this file with the current version of nanopb generator. -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -/* Struct definitions */ -typedef struct _google_firestore_v1beta1_DocumentMask { - pb_callback_t field_paths; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_DocumentMask) */ -} google_firestore_v1beta1_DocumentMask; - -typedef struct _google_firestore_v1beta1_TransactionOptions_ReadWrite { - pb_callback_t retry_transaction; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_TransactionOptions_ReadWrite) */ -} google_firestore_v1beta1_TransactionOptions_ReadWrite; - -typedef struct _google_firestore_v1beta1_Precondition { - pb_size_t which_condition_type; - union { - bool exists; - google_protobuf_Timestamp update_time; - } condition_type; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_Precondition) */ -} google_firestore_v1beta1_Precondition; - -typedef struct _google_firestore_v1beta1_TransactionOptions_ReadOnly { - pb_size_t which_consistency_selector; - union { - google_protobuf_Timestamp read_time; - } consistency_selector; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_TransactionOptions_ReadOnly) */ -} google_firestore_v1beta1_TransactionOptions_ReadOnly; - -typedef struct _google_firestore_v1beta1_TransactionOptions { - pb_size_t which_mode; - union { - google_firestore_v1beta1_TransactionOptions_ReadOnly read_only; - google_firestore_v1beta1_TransactionOptions_ReadWrite read_write; - } mode; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_TransactionOptions) */ -} google_firestore_v1beta1_TransactionOptions; - -/* Default values for struct fields */ - -/* Initializer values for message structs */ -#define google_firestore_v1beta1_DocumentMask_init_default {{{NULL}, NULL}} -#define google_firestore_v1beta1_Precondition_init_default {0, {0}} -#define google_firestore_v1beta1_TransactionOptions_init_default {0, {google_firestore_v1beta1_TransactionOptions_ReadOnly_init_default}} -#define google_firestore_v1beta1_TransactionOptions_ReadWrite_init_default {{{NULL}, NULL}} -#define google_firestore_v1beta1_TransactionOptions_ReadOnly_init_default {0, {google_protobuf_Timestamp_init_default}} -#define google_firestore_v1beta1_DocumentMask_init_zero {{{NULL}, NULL}} -#define google_firestore_v1beta1_Precondition_init_zero {0, {0}} -#define google_firestore_v1beta1_TransactionOptions_init_zero {0, {google_firestore_v1beta1_TransactionOptions_ReadOnly_init_zero}} -#define google_firestore_v1beta1_TransactionOptions_ReadWrite_init_zero {{{NULL}, NULL}} -#define google_firestore_v1beta1_TransactionOptions_ReadOnly_init_zero {0, {google_protobuf_Timestamp_init_zero}} - -/* Field tags (for use in manual encoding/decoding) */ -#define google_firestore_v1beta1_DocumentMask_field_paths_tag 1 -#define google_firestore_v1beta1_TransactionOptions_ReadWrite_retry_transaction_tag 1 -#define google_firestore_v1beta1_Precondition_exists_tag 1 -#define google_firestore_v1beta1_Precondition_update_time_tag 2 -#define google_firestore_v1beta1_TransactionOptions_ReadOnly_read_time_tag 2 -#define google_firestore_v1beta1_TransactionOptions_read_only_tag 2 -#define google_firestore_v1beta1_TransactionOptions_read_write_tag 3 - -/* Struct field encoding specification for nanopb */ -extern const pb_field_t google_firestore_v1beta1_DocumentMask_fields[2]; -extern const pb_field_t google_firestore_v1beta1_Precondition_fields[3]; -extern const pb_field_t google_firestore_v1beta1_TransactionOptions_fields[3]; -extern const pb_field_t google_firestore_v1beta1_TransactionOptions_ReadWrite_fields[2]; -extern const pb_field_t google_firestore_v1beta1_TransactionOptions_ReadOnly_fields[2]; - -/* Maximum encoded size of messages (where known) */ -/* google_firestore_v1beta1_DocumentMask_size depends on runtime parameters */ -#define google_firestore_v1beta1_Precondition_size 24 -/* google_firestore_v1beta1_TransactionOptions_size depends on runtime parameters */ -/* google_firestore_v1beta1_TransactionOptions_ReadWrite_size depends on runtime parameters */ -#define google_firestore_v1beta1_TransactionOptions_ReadOnly_size 24 - -/* Message IDs (where set with "msgid" option) */ -#ifdef PB_MSGID - -#define COMMON_MESSAGES \ - - -#endif - -#ifdef __cplusplus -} /* extern "C" */ -#endif -/* @@protoc_insertion_point(eof) */ - -#endif diff --git a/Firestore/Protos/nanopb/google/firestore/v1beta1/document.nanopb.h b/Firestore/Protos/nanopb/google/firestore/v1beta1/document.nanopb.h new file mode 100644 index 0000000..f8fdd55 --- /dev/null +++ b/Firestore/Protos/nanopb/google/firestore/v1beta1/document.nanopb.h @@ -0,0 +1,155 @@ +/* + * 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. + */ + +/* Automatically generated nanopb header */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ + +#ifndef PB_GOOGLE_FIRESTORE_V1BETA1_DOCUMENT_PB_H_INCLUDED +#define PB_GOOGLE_FIRESTORE_V1BETA1_DOCUMENT_PB_H_INCLUDED +#include + +#include "google/api/annotations.nanopb.h" + +#include "google/protobuf/struct.nanopb.h" + +#include "google/protobuf/timestamp.nanopb.h" + +#include "google/type/latlng.nanopb.h" + +/* @@protoc_insertion_point(includes) */ +#if PB_PROTO_HEADER_VERSION != 30 +#error Regenerate this file with the current version of nanopb generator. +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/* Struct definitions */ +typedef struct _google_firestore_v1beta1_ArrayValue { + pb_callback_t values; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_ArrayValue) */ +} google_firestore_v1beta1_ArrayValue; + +typedef struct _google_firestore_v1beta1_MapValue { + pb_callback_t fields; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_MapValue) */ +} google_firestore_v1beta1_MapValue; + +typedef struct _google_firestore_v1beta1_Document { + pb_callback_t name; + pb_callback_t fields; + google_protobuf_Timestamp create_time; + google_protobuf_Timestamp update_time; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_Document) */ +} google_firestore_v1beta1_Document; + +typedef struct _google_firestore_v1beta1_Value { + bool boolean_value; + int64_t integer_value; + double double_value; + pb_callback_t reference_value; + google_firestore_v1beta1_MapValue map_value; + google_type_LatLng geo_point_value; + google_firestore_v1beta1_ArrayValue array_value; + google_protobuf_Timestamp timestamp_value; + google_protobuf_NullValue null_value; + pb_callback_t string_value; + pb_callback_t bytes_value; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_Value) */ +} google_firestore_v1beta1_Value; + +typedef struct _google_firestore_v1beta1_Document_FieldsEntry { + pb_callback_t key; + google_firestore_v1beta1_Value value; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_Document_FieldsEntry) */ +} google_firestore_v1beta1_Document_FieldsEntry; + +typedef struct _google_firestore_v1beta1_MapValue_FieldsEntry { + pb_callback_t key; + google_firestore_v1beta1_Value value; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_MapValue_FieldsEntry) */ +} google_firestore_v1beta1_MapValue_FieldsEntry; + +/* Default values for struct fields */ + +/* Initializer values for message structs */ +#define google_firestore_v1beta1_Document_init_default {{{NULL}, NULL}, {{NULL}, NULL}, google_protobuf_Timestamp_init_default, google_protobuf_Timestamp_init_default} +#define google_firestore_v1beta1_Document_FieldsEntry_init_default {{{NULL}, NULL}, google_firestore_v1beta1_Value_init_default} +#define google_firestore_v1beta1_Value_init_default {0, 0, 0, {{NULL}, NULL}, google_firestore_v1beta1_MapValue_init_default, google_type_LatLng_init_default, google_firestore_v1beta1_ArrayValue_init_default, google_protobuf_Timestamp_init_default, (google_protobuf_NullValue)0, {{NULL}, NULL}, {{NULL}, NULL}} +#define google_firestore_v1beta1_ArrayValue_init_default {{{NULL}, NULL}} +#define google_firestore_v1beta1_MapValue_init_default {{{NULL}, NULL}} +#define google_firestore_v1beta1_MapValue_FieldsEntry_init_default {{{NULL}, NULL}, google_firestore_v1beta1_Value_init_default} +#define google_firestore_v1beta1_Document_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, google_protobuf_Timestamp_init_zero, google_protobuf_Timestamp_init_zero} +#define google_firestore_v1beta1_Document_FieldsEntry_init_zero {{{NULL}, NULL}, google_firestore_v1beta1_Value_init_zero} +#define google_firestore_v1beta1_Value_init_zero {0, 0, 0, {{NULL}, NULL}, google_firestore_v1beta1_MapValue_init_zero, google_type_LatLng_init_zero, google_firestore_v1beta1_ArrayValue_init_zero, google_protobuf_Timestamp_init_zero, (google_protobuf_NullValue)0, {{NULL}, NULL}, {{NULL}, NULL}} +#define google_firestore_v1beta1_ArrayValue_init_zero {{{NULL}, NULL}} +#define google_firestore_v1beta1_MapValue_init_zero {{{NULL}, NULL}} +#define google_firestore_v1beta1_MapValue_FieldsEntry_init_zero {{{NULL}, NULL}, google_firestore_v1beta1_Value_init_zero} + +/* Field tags (for use in manual encoding/decoding) */ +#define google_firestore_v1beta1_ArrayValue_values_tag 1 +#define google_firestore_v1beta1_MapValue_fields_tag 1 +#define google_firestore_v1beta1_Document_name_tag 1 +#define google_firestore_v1beta1_Document_fields_tag 2 +#define google_firestore_v1beta1_Document_create_time_tag 3 +#define google_firestore_v1beta1_Document_update_time_tag 4 +#define google_firestore_v1beta1_Value_null_value_tag 11 +#define google_firestore_v1beta1_Value_boolean_value_tag 1 +#define google_firestore_v1beta1_Value_integer_value_tag 2 +#define google_firestore_v1beta1_Value_double_value_tag 3 +#define google_firestore_v1beta1_Value_timestamp_value_tag 10 +#define google_firestore_v1beta1_Value_string_value_tag 17 +#define google_firestore_v1beta1_Value_bytes_value_tag 18 +#define google_firestore_v1beta1_Value_reference_value_tag 5 +#define google_firestore_v1beta1_Value_geo_point_value_tag 8 +#define google_firestore_v1beta1_Value_array_value_tag 9 +#define google_firestore_v1beta1_Value_map_value_tag 6 +#define google_firestore_v1beta1_Document_FieldsEntry_key_tag 1 +#define google_firestore_v1beta1_Document_FieldsEntry_value_tag 2 +#define google_firestore_v1beta1_MapValue_FieldsEntry_key_tag 1 +#define google_firestore_v1beta1_MapValue_FieldsEntry_value_tag 2 + +/* Struct field encoding specification for nanopb */ +extern const pb_field_t google_firestore_v1beta1_Document_fields[5]; +extern const pb_field_t google_firestore_v1beta1_Document_FieldsEntry_fields[3]; +extern const pb_field_t google_firestore_v1beta1_Value_fields[12]; +extern const pb_field_t google_firestore_v1beta1_ArrayValue_fields[2]; +extern const pb_field_t google_firestore_v1beta1_MapValue_fields[2]; +extern const pb_field_t google_firestore_v1beta1_MapValue_FieldsEntry_fields[3]; + +/* Maximum encoded size of messages (where known) */ +/* google_firestore_v1beta1_Document_size depends on runtime parameters */ +/* google_firestore_v1beta1_Document_FieldsEntry_size depends on runtime parameters */ +/* google_firestore_v1beta1_Value_size depends on runtime parameters */ +/* google_firestore_v1beta1_ArrayValue_size depends on runtime parameters */ +/* google_firestore_v1beta1_MapValue_size depends on runtime parameters */ +/* google_firestore_v1beta1_MapValue_FieldsEntry_size depends on runtime parameters */ + +/* Message IDs (where set with "msgid" option) */ +#ifdef PB_MSGID + +#define DOCUMENT_MESSAGES \ + + +#endif + +#ifdef __cplusplus +} /* extern "C" */ +#endif +/* @@protoc_insertion_point(eof) */ + +#endif diff --git a/Firestore/Protos/nanopb/google/firestore/v1beta1/document.pb.c b/Firestore/Protos/nanopb/google/firestore/v1beta1/document.pb.c index 862c884..23d62aa 100644 --- a/Firestore/Protos/nanopb/google/firestore/v1beta1/document.pb.c +++ b/Firestore/Protos/nanopb/google/firestore/v1beta1/document.pb.c @@ -15,9 +15,9 @@ */ /* Automatically generated nanopb constant definitions */ -/* Generated by nanopb-0.3.8 at Fri Feb 2 17:48:02 2018. */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ -#include "document.pb.h" +#include "document.nanopb.h" /* @@protoc_insertion_point(includes) */ #if PB_PROTO_HEADER_VERSION != 30 diff --git a/Firestore/Protos/nanopb/google/firestore/v1beta1/document.pb.h b/Firestore/Protos/nanopb/google/firestore/v1beta1/document.pb.h deleted file mode 100644 index 180c1af..0000000 --- a/Firestore/Protos/nanopb/google/firestore/v1beta1/document.pb.h +++ /dev/null @@ -1,155 +0,0 @@ -/* - * 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. - */ - -/* Automatically generated nanopb header */ -/* Generated by nanopb-0.3.8 at Fri Feb 2 17:48:02 2018. */ - -#ifndef PB_GOOGLE_FIRESTORE_V1BETA1_DOCUMENT_PB_H_INCLUDED -#define PB_GOOGLE_FIRESTORE_V1BETA1_DOCUMENT_PB_H_INCLUDED -#include - -#include "google/api/annotations.pb.h" - -#include "google/protobuf/struct.pb.h" - -#include "google/protobuf/timestamp.pb.h" - -#include "google/type/latlng.pb.h" - -/* @@protoc_insertion_point(includes) */ -#if PB_PROTO_HEADER_VERSION != 30 -#error Regenerate this file with the current version of nanopb generator. -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -/* Struct definitions */ -typedef struct _google_firestore_v1beta1_ArrayValue { - pb_callback_t values; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_ArrayValue) */ -} google_firestore_v1beta1_ArrayValue; - -typedef struct _google_firestore_v1beta1_MapValue { - pb_callback_t fields; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_MapValue) */ -} google_firestore_v1beta1_MapValue; - -typedef struct _google_firestore_v1beta1_Document { - pb_callback_t name; - pb_callback_t fields; - google_protobuf_Timestamp create_time; - google_protobuf_Timestamp update_time; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_Document) */ -} google_firestore_v1beta1_Document; - -typedef struct _google_firestore_v1beta1_Value { - bool boolean_value; - int64_t integer_value; - double double_value; - pb_callback_t reference_value; - google_firestore_v1beta1_MapValue map_value; - google_type_LatLng geo_point_value; - google_firestore_v1beta1_ArrayValue array_value; - google_protobuf_Timestamp timestamp_value; - google_protobuf_NullValue null_value; - pb_callback_t string_value; - pb_callback_t bytes_value; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_Value) */ -} google_firestore_v1beta1_Value; - -typedef struct _google_firestore_v1beta1_Document_FieldsEntry { - pb_callback_t key; - google_firestore_v1beta1_Value value; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_Document_FieldsEntry) */ -} google_firestore_v1beta1_Document_FieldsEntry; - -typedef struct _google_firestore_v1beta1_MapValue_FieldsEntry { - pb_callback_t key; - google_firestore_v1beta1_Value value; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_MapValue_FieldsEntry) */ -} google_firestore_v1beta1_MapValue_FieldsEntry; - -/* Default values for struct fields */ - -/* Initializer values for message structs */ -#define google_firestore_v1beta1_Document_init_default {{{NULL}, NULL}, {{NULL}, NULL}, google_protobuf_Timestamp_init_default, google_protobuf_Timestamp_init_default} -#define google_firestore_v1beta1_Document_FieldsEntry_init_default {{{NULL}, NULL}, google_firestore_v1beta1_Value_init_default} -#define google_firestore_v1beta1_Value_init_default {0, 0, 0, {{NULL}, NULL}, google_firestore_v1beta1_MapValue_init_default, google_type_LatLng_init_default, google_firestore_v1beta1_ArrayValue_init_default, google_protobuf_Timestamp_init_default, (google_protobuf_NullValue)0, {{NULL}, NULL}, {{NULL}, NULL}} -#define google_firestore_v1beta1_ArrayValue_init_default {{{NULL}, NULL}} -#define google_firestore_v1beta1_MapValue_init_default {{{NULL}, NULL}} -#define google_firestore_v1beta1_MapValue_FieldsEntry_init_default {{{NULL}, NULL}, google_firestore_v1beta1_Value_init_default} -#define google_firestore_v1beta1_Document_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, google_protobuf_Timestamp_init_zero, google_protobuf_Timestamp_init_zero} -#define google_firestore_v1beta1_Document_FieldsEntry_init_zero {{{NULL}, NULL}, google_firestore_v1beta1_Value_init_zero} -#define google_firestore_v1beta1_Value_init_zero {0, 0, 0, {{NULL}, NULL}, google_firestore_v1beta1_MapValue_init_zero, google_type_LatLng_init_zero, google_firestore_v1beta1_ArrayValue_init_zero, google_protobuf_Timestamp_init_zero, (google_protobuf_NullValue)0, {{NULL}, NULL}, {{NULL}, NULL}} -#define google_firestore_v1beta1_ArrayValue_init_zero {{{NULL}, NULL}} -#define google_firestore_v1beta1_MapValue_init_zero {{{NULL}, NULL}} -#define google_firestore_v1beta1_MapValue_FieldsEntry_init_zero {{{NULL}, NULL}, google_firestore_v1beta1_Value_init_zero} - -/* Field tags (for use in manual encoding/decoding) */ -#define google_firestore_v1beta1_ArrayValue_values_tag 1 -#define google_firestore_v1beta1_MapValue_fields_tag 1 -#define google_firestore_v1beta1_Document_name_tag 1 -#define google_firestore_v1beta1_Document_fields_tag 2 -#define google_firestore_v1beta1_Document_create_time_tag 3 -#define google_firestore_v1beta1_Document_update_time_tag 4 -#define google_firestore_v1beta1_Value_null_value_tag 11 -#define google_firestore_v1beta1_Value_boolean_value_tag 1 -#define google_firestore_v1beta1_Value_integer_value_tag 2 -#define google_firestore_v1beta1_Value_double_value_tag 3 -#define google_firestore_v1beta1_Value_timestamp_value_tag 10 -#define google_firestore_v1beta1_Value_string_value_tag 17 -#define google_firestore_v1beta1_Value_bytes_value_tag 18 -#define google_firestore_v1beta1_Value_reference_value_tag 5 -#define google_firestore_v1beta1_Value_geo_point_value_tag 8 -#define google_firestore_v1beta1_Value_array_value_tag 9 -#define google_firestore_v1beta1_Value_map_value_tag 6 -#define google_firestore_v1beta1_Document_FieldsEntry_key_tag 1 -#define google_firestore_v1beta1_Document_FieldsEntry_value_tag 2 -#define google_firestore_v1beta1_MapValue_FieldsEntry_key_tag 1 -#define google_firestore_v1beta1_MapValue_FieldsEntry_value_tag 2 - -/* Struct field encoding specification for nanopb */ -extern const pb_field_t google_firestore_v1beta1_Document_fields[5]; -extern const pb_field_t google_firestore_v1beta1_Document_FieldsEntry_fields[3]; -extern const pb_field_t google_firestore_v1beta1_Value_fields[12]; -extern const pb_field_t google_firestore_v1beta1_ArrayValue_fields[2]; -extern const pb_field_t google_firestore_v1beta1_MapValue_fields[2]; -extern const pb_field_t google_firestore_v1beta1_MapValue_FieldsEntry_fields[3]; - -/* Maximum encoded size of messages (where known) */ -/* google_firestore_v1beta1_Document_size depends on runtime parameters */ -/* google_firestore_v1beta1_Document_FieldsEntry_size depends on runtime parameters */ -/* google_firestore_v1beta1_Value_size depends on runtime parameters */ -/* google_firestore_v1beta1_ArrayValue_size depends on runtime parameters */ -/* google_firestore_v1beta1_MapValue_size depends on runtime parameters */ -/* google_firestore_v1beta1_MapValue_FieldsEntry_size depends on runtime parameters */ - -/* Message IDs (where set with "msgid" option) */ -#ifdef PB_MSGID - -#define DOCUMENT_MESSAGES \ - - -#endif - -#ifdef __cplusplus -} /* extern "C" */ -#endif -/* @@protoc_insertion_point(eof) */ - -#endif diff --git a/Firestore/Protos/nanopb/google/firestore/v1beta1/firestore.nanopb.h b/Firestore/Protos/nanopb/google/firestore/v1beta1/firestore.nanopb.h new file mode 100644 index 0000000..c8b2132 --- /dev/null +++ b/Firestore/Protos/nanopb/google/firestore/v1beta1/firestore.nanopb.h @@ -0,0 +1,508 @@ +/* + * 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. + */ + +/* Automatically generated nanopb header */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ + +#ifndef PB_GOOGLE_FIRESTORE_V1BETA1_FIRESTORE_PB_H_INCLUDED +#define PB_GOOGLE_FIRESTORE_V1BETA1_FIRESTORE_PB_H_INCLUDED +#include + +#include "google/api/annotations.nanopb.h" + +#include "google/firestore/v1beta1/common.nanopb.h" + +#include "google/firestore/v1beta1/document.nanopb.h" + +#include "google/firestore/v1beta1/query.nanopb.h" + +#include "google/firestore/v1beta1/write.nanopb.h" + +#include "google/protobuf/empty.nanopb.h" + +#include "google/protobuf/timestamp.nanopb.h" + +#include "google/rpc/status.nanopb.h" + +/* @@protoc_insertion_point(includes) */ +#if PB_PROTO_HEADER_VERSION != 30 +#error Regenerate this file with the current version of nanopb generator. +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/* Enum definitions */ +typedef enum _google_firestore_v1beta1_TargetChange_TargetChangeType { + google_firestore_v1beta1_TargetChange_TargetChangeType_NO_CHANGE = 0, + google_firestore_v1beta1_TargetChange_TargetChangeType_ADD = 1, + google_firestore_v1beta1_TargetChange_TargetChangeType_REMOVE = 2, + google_firestore_v1beta1_TargetChange_TargetChangeType_CURRENT = 3, + google_firestore_v1beta1_TargetChange_TargetChangeType_RESET = 4 +} google_firestore_v1beta1_TargetChange_TargetChangeType; +#define _google_firestore_v1beta1_TargetChange_TargetChangeType_MIN google_firestore_v1beta1_TargetChange_TargetChangeType_NO_CHANGE +#define _google_firestore_v1beta1_TargetChange_TargetChangeType_MAX google_firestore_v1beta1_TargetChange_TargetChangeType_RESET +#define _google_firestore_v1beta1_TargetChange_TargetChangeType_ARRAYSIZE ((google_firestore_v1beta1_TargetChange_TargetChangeType)(google_firestore_v1beta1_TargetChange_TargetChangeType_RESET+1)) + +/* Struct definitions */ +typedef struct _google_firestore_v1beta1_BeginTransactionResponse { + pb_callback_t transaction; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_BeginTransactionResponse) */ +} google_firestore_v1beta1_BeginTransactionResponse; + +typedef struct _google_firestore_v1beta1_CommitRequest { + pb_callback_t database; + pb_callback_t writes; + pb_callback_t transaction; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_CommitRequest) */ +} google_firestore_v1beta1_CommitRequest; + +typedef struct _google_firestore_v1beta1_ListCollectionIdsResponse { + pb_callback_t collection_ids; + pb_callback_t next_page_token; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_ListCollectionIdsResponse) */ +} google_firestore_v1beta1_ListCollectionIdsResponse; + +typedef struct _google_firestore_v1beta1_ListDocumentsResponse { + pb_callback_t documents; + pb_callback_t next_page_token; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_ListDocumentsResponse) */ +} google_firestore_v1beta1_ListDocumentsResponse; + +typedef struct _google_firestore_v1beta1_ListenRequest_LabelsEntry { + pb_callback_t key; + pb_callback_t value; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_ListenRequest_LabelsEntry) */ +} google_firestore_v1beta1_ListenRequest_LabelsEntry; + +typedef struct _google_firestore_v1beta1_RollbackRequest { + pb_callback_t database; + pb_callback_t transaction; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_RollbackRequest) */ +} google_firestore_v1beta1_RollbackRequest; + +typedef struct _google_firestore_v1beta1_Target_DocumentsTarget { + pb_callback_t documents; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_Target_DocumentsTarget) */ +} google_firestore_v1beta1_Target_DocumentsTarget; + +typedef struct _google_firestore_v1beta1_WriteRequest { + pb_callback_t database; + pb_callback_t stream_id; + pb_callback_t writes; + pb_callback_t stream_token; + pb_callback_t labels; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_WriteRequest) */ +} google_firestore_v1beta1_WriteRequest; + +typedef struct _google_firestore_v1beta1_WriteRequest_LabelsEntry { + pb_callback_t key; + pb_callback_t value; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_WriteRequest_LabelsEntry) */ +} google_firestore_v1beta1_WriteRequest_LabelsEntry; + +typedef struct _google_firestore_v1beta1_BatchGetDocumentsRequest { + pb_callback_t database; + pb_callback_t documents; + google_firestore_v1beta1_DocumentMask mask; + pb_callback_t transaction; + google_firestore_v1beta1_TransactionOptions new_transaction; + google_protobuf_Timestamp read_time; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_BatchGetDocumentsRequest) */ +} google_firestore_v1beta1_BatchGetDocumentsRequest; + +typedef struct _google_firestore_v1beta1_BatchGetDocumentsResponse { + google_firestore_v1beta1_Document found; + pb_callback_t missing; + pb_callback_t transaction; + google_protobuf_Timestamp read_time; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_BatchGetDocumentsResponse) */ +} google_firestore_v1beta1_BatchGetDocumentsResponse; + +typedef struct _google_firestore_v1beta1_BeginTransactionRequest { + pb_callback_t database; + google_firestore_v1beta1_TransactionOptions options; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_BeginTransactionRequest) */ +} google_firestore_v1beta1_BeginTransactionRequest; + +typedef struct _google_firestore_v1beta1_CommitResponse { + pb_callback_t write_results; + google_protobuf_Timestamp commit_time; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_CommitResponse) */ +} google_firestore_v1beta1_CommitResponse; + +typedef struct _google_firestore_v1beta1_CreateDocumentRequest { + pb_callback_t parent; + pb_callback_t collection_id; + pb_callback_t document_id; + google_firestore_v1beta1_Document document; + google_firestore_v1beta1_DocumentMask mask; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_CreateDocumentRequest) */ +} google_firestore_v1beta1_CreateDocumentRequest; + +typedef struct _google_firestore_v1beta1_DeleteDocumentRequest { + pb_callback_t name; + google_firestore_v1beta1_Precondition current_document; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_DeleteDocumentRequest) */ +} google_firestore_v1beta1_DeleteDocumentRequest; + +typedef struct _google_firestore_v1beta1_GetDocumentRequest { + pb_callback_t name; + google_firestore_v1beta1_DocumentMask mask; + pb_callback_t transaction; + google_protobuf_Timestamp read_time; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_GetDocumentRequest) */ +} google_firestore_v1beta1_GetDocumentRequest; + +typedef struct _google_firestore_v1beta1_ListCollectionIdsRequest { + pb_callback_t parent; + int32_t page_size; + pb_callback_t page_token; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_ListCollectionIdsRequest) */ +} google_firestore_v1beta1_ListCollectionIdsRequest; + +typedef struct _google_firestore_v1beta1_ListDocumentsRequest { + pb_callback_t parent; + pb_callback_t collection_id; + int32_t page_size; + pb_callback_t page_token; + pb_callback_t order_by; + google_firestore_v1beta1_DocumentMask mask; + pb_callback_t transaction; + google_protobuf_Timestamp read_time; + bool show_missing; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_ListDocumentsRequest) */ +} google_firestore_v1beta1_ListDocumentsRequest; + +typedef struct _google_firestore_v1beta1_RunQueryRequest { + pb_callback_t parent; + pb_size_t which_query_type; + union { + google_firestore_v1beta1_StructuredQuery structured_query; + } query_type; + pb_callback_t transaction; + google_firestore_v1beta1_TransactionOptions new_transaction; + google_protobuf_Timestamp read_time; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_RunQueryRequest) */ +} google_firestore_v1beta1_RunQueryRequest; + +typedef struct _google_firestore_v1beta1_RunQueryResponse { + google_firestore_v1beta1_Document document; + pb_callback_t transaction; + google_protobuf_Timestamp read_time; + int32_t skipped_results; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_RunQueryResponse) */ +} google_firestore_v1beta1_RunQueryResponse; + +typedef struct _google_firestore_v1beta1_TargetChange { + google_firestore_v1beta1_TargetChange_TargetChangeType target_change_type; + pb_callback_t target_ids; + google_rpc_Status cause; + pb_callback_t resume_token; + google_protobuf_Timestamp read_time; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_TargetChange) */ +} google_firestore_v1beta1_TargetChange; + +typedef struct _google_firestore_v1beta1_Target_QueryTarget { + pb_callback_t parent; + pb_size_t which_query_type; + union { + google_firestore_v1beta1_StructuredQuery structured_query; + } query_type; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_Target_QueryTarget) */ +} google_firestore_v1beta1_Target_QueryTarget; + +typedef struct _google_firestore_v1beta1_UpdateDocumentRequest { + google_firestore_v1beta1_Document document; + google_firestore_v1beta1_DocumentMask update_mask; + google_firestore_v1beta1_DocumentMask mask; + google_firestore_v1beta1_Precondition current_document; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_UpdateDocumentRequest) */ +} google_firestore_v1beta1_UpdateDocumentRequest; + +typedef struct _google_firestore_v1beta1_WriteResponse { + pb_callback_t stream_id; + pb_callback_t stream_token; + pb_callback_t write_results; + google_protobuf_Timestamp commit_time; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_WriteResponse) */ +} google_firestore_v1beta1_WriteResponse; + +typedef struct _google_firestore_v1beta1_ListenResponse { + pb_size_t which_response_type; + union { + google_firestore_v1beta1_TargetChange target_change; + google_firestore_v1beta1_DocumentChange document_change; + google_firestore_v1beta1_DocumentDelete document_delete; + google_firestore_v1beta1_ExistenceFilter filter; + google_firestore_v1beta1_DocumentRemove document_remove; + } response_type; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_ListenResponse) */ +} google_firestore_v1beta1_ListenResponse; + +typedef struct _google_firestore_v1beta1_Target { + pb_size_t which_target_type; + union { + google_firestore_v1beta1_Target_QueryTarget query; + google_firestore_v1beta1_Target_DocumentsTarget documents; + } target_type; + pb_callback_t resume_token; + int32_t target_id; + bool once; + google_protobuf_Timestamp read_time; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_Target) */ +} google_firestore_v1beta1_Target; + +typedef struct _google_firestore_v1beta1_ListenRequest { + pb_callback_t database; + pb_size_t which_target_change; + union { + google_firestore_v1beta1_Target add_target; + int32_t remove_target; + } target_change; + pb_callback_t labels; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_ListenRequest) */ +} google_firestore_v1beta1_ListenRequest; + +/* Default values for struct fields */ + +/* Initializer values for message structs */ +#define google_firestore_v1beta1_GetDocumentRequest_init_default {{{NULL}, NULL}, google_firestore_v1beta1_DocumentMask_init_default, {{NULL}, NULL}, google_protobuf_Timestamp_init_default} +#define google_firestore_v1beta1_ListDocumentsRequest_init_default {{{NULL}, NULL}, {{NULL}, NULL}, 0, {{NULL}, NULL}, {{NULL}, NULL}, google_firestore_v1beta1_DocumentMask_init_default, {{NULL}, NULL}, google_protobuf_Timestamp_init_default, 0} +#define google_firestore_v1beta1_ListDocumentsResponse_init_default {{{NULL}, NULL}, {{NULL}, NULL}} +#define google_firestore_v1beta1_CreateDocumentRequest_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, google_firestore_v1beta1_Document_init_default, google_firestore_v1beta1_DocumentMask_init_default} +#define google_firestore_v1beta1_UpdateDocumentRequest_init_default {google_firestore_v1beta1_Document_init_default, google_firestore_v1beta1_DocumentMask_init_default, google_firestore_v1beta1_DocumentMask_init_default, google_firestore_v1beta1_Precondition_init_default} +#define google_firestore_v1beta1_DeleteDocumentRequest_init_default {{{NULL}, NULL}, google_firestore_v1beta1_Precondition_init_default} +#define google_firestore_v1beta1_BatchGetDocumentsRequest_init_default {{{NULL}, NULL}, {{NULL}, NULL}, google_firestore_v1beta1_DocumentMask_init_default, {{NULL}, NULL}, google_firestore_v1beta1_TransactionOptions_init_default, google_protobuf_Timestamp_init_default} +#define google_firestore_v1beta1_BatchGetDocumentsResponse_init_default {google_firestore_v1beta1_Document_init_default, {{NULL}, NULL}, {{NULL}, NULL}, google_protobuf_Timestamp_init_default} +#define google_firestore_v1beta1_BeginTransactionRequest_init_default {{{NULL}, NULL}, google_firestore_v1beta1_TransactionOptions_init_default} +#define google_firestore_v1beta1_BeginTransactionResponse_init_default {{{NULL}, NULL}} +#define google_firestore_v1beta1_CommitRequest_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} +#define google_firestore_v1beta1_CommitResponse_init_default {{{NULL}, NULL}, google_protobuf_Timestamp_init_default} +#define google_firestore_v1beta1_RollbackRequest_init_default {{{NULL}, NULL}, {{NULL}, NULL}} +#define google_firestore_v1beta1_RunQueryRequest_init_default {{{NULL}, NULL}, 0, {google_firestore_v1beta1_StructuredQuery_init_default}, {{NULL}, NULL}, google_firestore_v1beta1_TransactionOptions_init_default, google_protobuf_Timestamp_init_default} +#define google_firestore_v1beta1_RunQueryResponse_init_default {google_firestore_v1beta1_Document_init_default, {{NULL}, NULL}, google_protobuf_Timestamp_init_default, 0} +#define google_firestore_v1beta1_WriteRequest_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} +#define google_firestore_v1beta1_WriteRequest_LabelsEntry_init_default {{{NULL}, NULL}, {{NULL}, NULL}} +#define google_firestore_v1beta1_WriteResponse_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, google_protobuf_Timestamp_init_default} +#define google_firestore_v1beta1_ListenRequest_init_default {{{NULL}, NULL}, 0, {google_firestore_v1beta1_Target_init_default}, {{NULL}, NULL}} +#define google_firestore_v1beta1_ListenRequest_LabelsEntry_init_default {{{NULL}, NULL}, {{NULL}, NULL}} +#define google_firestore_v1beta1_ListenResponse_init_default {0, {google_firestore_v1beta1_TargetChange_init_default}} +#define google_firestore_v1beta1_Target_init_default {0, {google_firestore_v1beta1_Target_QueryTarget_init_default}, {{NULL}, NULL}, 0, 0, google_protobuf_Timestamp_init_default} +#define google_firestore_v1beta1_Target_DocumentsTarget_init_default {{{NULL}, NULL}} +#define google_firestore_v1beta1_Target_QueryTarget_init_default {{{NULL}, NULL}, 0, {google_firestore_v1beta1_StructuredQuery_init_default}} +#define google_firestore_v1beta1_TargetChange_init_default {(google_firestore_v1beta1_TargetChange_TargetChangeType)0, {{NULL}, NULL}, google_rpc_Status_init_default, {{NULL}, NULL}, google_protobuf_Timestamp_init_default} +#define google_firestore_v1beta1_ListCollectionIdsRequest_init_default {{{NULL}, NULL}, 0, {{NULL}, NULL}} +#define google_firestore_v1beta1_ListCollectionIdsResponse_init_default {{{NULL}, NULL}, {{NULL}, NULL}} +#define google_firestore_v1beta1_GetDocumentRequest_init_zero {{{NULL}, NULL}, google_firestore_v1beta1_DocumentMask_init_zero, {{NULL}, NULL}, google_protobuf_Timestamp_init_zero} +#define google_firestore_v1beta1_ListDocumentsRequest_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, 0, {{NULL}, NULL}, {{NULL}, NULL}, google_firestore_v1beta1_DocumentMask_init_zero, {{NULL}, NULL}, google_protobuf_Timestamp_init_zero, 0} +#define google_firestore_v1beta1_ListDocumentsResponse_init_zero {{{NULL}, NULL}, {{NULL}, NULL}} +#define google_firestore_v1beta1_CreateDocumentRequest_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, google_firestore_v1beta1_Document_init_zero, google_firestore_v1beta1_DocumentMask_init_zero} +#define google_firestore_v1beta1_UpdateDocumentRequest_init_zero {google_firestore_v1beta1_Document_init_zero, google_firestore_v1beta1_DocumentMask_init_zero, google_firestore_v1beta1_DocumentMask_init_zero, google_firestore_v1beta1_Precondition_init_zero} +#define google_firestore_v1beta1_DeleteDocumentRequest_init_zero {{{NULL}, NULL}, google_firestore_v1beta1_Precondition_init_zero} +#define google_firestore_v1beta1_BatchGetDocumentsRequest_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, google_firestore_v1beta1_DocumentMask_init_zero, {{NULL}, NULL}, google_firestore_v1beta1_TransactionOptions_init_zero, google_protobuf_Timestamp_init_zero} +#define google_firestore_v1beta1_BatchGetDocumentsResponse_init_zero {google_firestore_v1beta1_Document_init_zero, {{NULL}, NULL}, {{NULL}, NULL}, google_protobuf_Timestamp_init_zero} +#define google_firestore_v1beta1_BeginTransactionRequest_init_zero {{{NULL}, NULL}, google_firestore_v1beta1_TransactionOptions_init_zero} +#define google_firestore_v1beta1_BeginTransactionResponse_init_zero {{{NULL}, NULL}} +#define google_firestore_v1beta1_CommitRequest_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} +#define google_firestore_v1beta1_CommitResponse_init_zero {{{NULL}, NULL}, google_protobuf_Timestamp_init_zero} +#define google_firestore_v1beta1_RollbackRequest_init_zero {{{NULL}, NULL}, {{NULL}, NULL}} +#define google_firestore_v1beta1_RunQueryRequest_init_zero {{{NULL}, NULL}, 0, {google_firestore_v1beta1_StructuredQuery_init_zero}, {{NULL}, NULL}, google_firestore_v1beta1_TransactionOptions_init_zero, google_protobuf_Timestamp_init_zero} +#define google_firestore_v1beta1_RunQueryResponse_init_zero {google_firestore_v1beta1_Document_init_zero, {{NULL}, NULL}, google_protobuf_Timestamp_init_zero, 0} +#define google_firestore_v1beta1_WriteRequest_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} +#define google_firestore_v1beta1_WriteRequest_LabelsEntry_init_zero {{{NULL}, NULL}, {{NULL}, NULL}} +#define google_firestore_v1beta1_WriteResponse_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, google_protobuf_Timestamp_init_zero} +#define google_firestore_v1beta1_ListenRequest_init_zero {{{NULL}, NULL}, 0, {google_firestore_v1beta1_Target_init_zero}, {{NULL}, NULL}} +#define google_firestore_v1beta1_ListenRequest_LabelsEntry_init_zero {{{NULL}, NULL}, {{NULL}, NULL}} +#define google_firestore_v1beta1_ListenResponse_init_zero {0, {google_firestore_v1beta1_TargetChange_init_zero}} +#define google_firestore_v1beta1_Target_init_zero {0, {google_firestore_v1beta1_Target_QueryTarget_init_zero}, {{NULL}, NULL}, 0, 0, google_protobuf_Timestamp_init_zero} +#define google_firestore_v1beta1_Target_DocumentsTarget_init_zero {{{NULL}, NULL}} +#define google_firestore_v1beta1_Target_QueryTarget_init_zero {{{NULL}, NULL}, 0, {google_firestore_v1beta1_StructuredQuery_init_zero}} +#define google_firestore_v1beta1_TargetChange_init_zero {(google_firestore_v1beta1_TargetChange_TargetChangeType)0, {{NULL}, NULL}, google_rpc_Status_init_zero, {{NULL}, NULL}, google_protobuf_Timestamp_init_zero} +#define google_firestore_v1beta1_ListCollectionIdsRequest_init_zero {{{NULL}, NULL}, 0, {{NULL}, NULL}} +#define google_firestore_v1beta1_ListCollectionIdsResponse_init_zero {{{NULL}, NULL}, {{NULL}, NULL}} + +/* Field tags (for use in manual encoding/decoding) */ +#define google_firestore_v1beta1_BeginTransactionResponse_transaction_tag 1 +#define google_firestore_v1beta1_CommitRequest_database_tag 1 +#define google_firestore_v1beta1_CommitRequest_writes_tag 2 +#define google_firestore_v1beta1_CommitRequest_transaction_tag 3 +#define google_firestore_v1beta1_ListCollectionIdsResponse_collection_ids_tag 1 +#define google_firestore_v1beta1_ListCollectionIdsResponse_next_page_token_tag 2 +#define google_firestore_v1beta1_ListDocumentsResponse_documents_tag 1 +#define google_firestore_v1beta1_ListDocumentsResponse_next_page_token_tag 2 +#define google_firestore_v1beta1_ListenRequest_LabelsEntry_key_tag 1 +#define google_firestore_v1beta1_ListenRequest_LabelsEntry_value_tag 2 +#define google_firestore_v1beta1_RollbackRequest_database_tag 1 +#define google_firestore_v1beta1_RollbackRequest_transaction_tag 2 +#define google_firestore_v1beta1_Target_DocumentsTarget_documents_tag 2 +#define google_firestore_v1beta1_WriteRequest_database_tag 1 +#define google_firestore_v1beta1_WriteRequest_stream_id_tag 2 +#define google_firestore_v1beta1_WriteRequest_writes_tag 3 +#define google_firestore_v1beta1_WriteRequest_stream_token_tag 4 +#define google_firestore_v1beta1_WriteRequest_labels_tag 5 +#define google_firestore_v1beta1_WriteRequest_LabelsEntry_key_tag 1 +#define google_firestore_v1beta1_WriteRequest_LabelsEntry_value_tag 2 +#define google_firestore_v1beta1_BatchGetDocumentsRequest_database_tag 1 +#define google_firestore_v1beta1_BatchGetDocumentsRequest_documents_tag 2 +#define google_firestore_v1beta1_BatchGetDocumentsRequest_mask_tag 3 +#define google_firestore_v1beta1_BatchGetDocumentsRequest_transaction_tag 4 +#define google_firestore_v1beta1_BatchGetDocumentsRequest_new_transaction_tag 5 +#define google_firestore_v1beta1_BatchGetDocumentsRequest_read_time_tag 7 +#define google_firestore_v1beta1_BatchGetDocumentsResponse_found_tag 1 +#define google_firestore_v1beta1_BatchGetDocumentsResponse_missing_tag 2 +#define google_firestore_v1beta1_BatchGetDocumentsResponse_transaction_tag 3 +#define google_firestore_v1beta1_BatchGetDocumentsResponse_read_time_tag 4 +#define google_firestore_v1beta1_BeginTransactionRequest_database_tag 1 +#define google_firestore_v1beta1_BeginTransactionRequest_options_tag 2 +#define google_firestore_v1beta1_CommitResponse_write_results_tag 1 +#define google_firestore_v1beta1_CommitResponse_commit_time_tag 2 +#define google_firestore_v1beta1_CreateDocumentRequest_parent_tag 1 +#define google_firestore_v1beta1_CreateDocumentRequest_collection_id_tag 2 +#define google_firestore_v1beta1_CreateDocumentRequest_document_id_tag 3 +#define google_firestore_v1beta1_CreateDocumentRequest_document_tag 4 +#define google_firestore_v1beta1_CreateDocumentRequest_mask_tag 5 +#define google_firestore_v1beta1_DeleteDocumentRequest_name_tag 1 +#define google_firestore_v1beta1_DeleteDocumentRequest_current_document_tag 2 +#define google_firestore_v1beta1_GetDocumentRequest_name_tag 1 +#define google_firestore_v1beta1_GetDocumentRequest_mask_tag 2 +#define google_firestore_v1beta1_GetDocumentRequest_transaction_tag 3 +#define google_firestore_v1beta1_GetDocumentRequest_read_time_tag 5 +#define google_firestore_v1beta1_ListCollectionIdsRequest_parent_tag 1 +#define google_firestore_v1beta1_ListCollectionIdsRequest_page_size_tag 2 +#define google_firestore_v1beta1_ListCollectionIdsRequest_page_token_tag 3 +#define google_firestore_v1beta1_ListDocumentsRequest_parent_tag 1 +#define google_firestore_v1beta1_ListDocumentsRequest_collection_id_tag 2 +#define google_firestore_v1beta1_ListDocumentsRequest_page_size_tag 3 +#define google_firestore_v1beta1_ListDocumentsRequest_page_token_tag 4 +#define google_firestore_v1beta1_ListDocumentsRequest_order_by_tag 6 +#define google_firestore_v1beta1_ListDocumentsRequest_mask_tag 7 +#define google_firestore_v1beta1_ListDocumentsRequest_transaction_tag 8 +#define google_firestore_v1beta1_ListDocumentsRequest_read_time_tag 10 +#define google_firestore_v1beta1_ListDocumentsRequest_show_missing_tag 12 +#define google_firestore_v1beta1_RunQueryRequest_structured_query_tag 2 +#define google_firestore_v1beta1_RunQueryRequest_parent_tag 1 +#define google_firestore_v1beta1_RunQueryRequest_transaction_tag 5 +#define google_firestore_v1beta1_RunQueryRequest_new_transaction_tag 6 +#define google_firestore_v1beta1_RunQueryRequest_read_time_tag 7 +#define google_firestore_v1beta1_RunQueryResponse_transaction_tag 2 +#define google_firestore_v1beta1_RunQueryResponse_document_tag 1 +#define google_firestore_v1beta1_RunQueryResponse_read_time_tag 3 +#define google_firestore_v1beta1_RunQueryResponse_skipped_results_tag 4 +#define google_firestore_v1beta1_TargetChange_target_change_type_tag 1 +#define google_firestore_v1beta1_TargetChange_target_ids_tag 2 +#define google_firestore_v1beta1_TargetChange_cause_tag 3 +#define google_firestore_v1beta1_TargetChange_resume_token_tag 4 +#define google_firestore_v1beta1_TargetChange_read_time_tag 6 +#define google_firestore_v1beta1_Target_QueryTarget_structured_query_tag 2 +#define google_firestore_v1beta1_Target_QueryTarget_parent_tag 1 +#define google_firestore_v1beta1_UpdateDocumentRequest_document_tag 1 +#define google_firestore_v1beta1_UpdateDocumentRequest_update_mask_tag 2 +#define google_firestore_v1beta1_UpdateDocumentRequest_mask_tag 3 +#define google_firestore_v1beta1_UpdateDocumentRequest_current_document_tag 4 +#define google_firestore_v1beta1_WriteResponse_stream_id_tag 1 +#define google_firestore_v1beta1_WriteResponse_stream_token_tag 2 +#define google_firestore_v1beta1_WriteResponse_write_results_tag 3 +#define google_firestore_v1beta1_WriteResponse_commit_time_tag 4 +#define google_firestore_v1beta1_ListenResponse_target_change_tag 2 +#define google_firestore_v1beta1_ListenResponse_document_change_tag 3 +#define google_firestore_v1beta1_ListenResponse_document_delete_tag 4 +#define google_firestore_v1beta1_ListenResponse_filter_tag 5 +#define google_firestore_v1beta1_ListenResponse_document_remove_tag 6 +#define google_firestore_v1beta1_Target_query_tag 2 +#define google_firestore_v1beta1_Target_documents_tag 3 +#define google_firestore_v1beta1_Target_resume_token_tag 4 +#define google_firestore_v1beta1_Target_read_time_tag 11 +#define google_firestore_v1beta1_Target_target_id_tag 5 +#define google_firestore_v1beta1_Target_once_tag 6 +#define google_firestore_v1beta1_ListenRequest_add_target_tag 2 +#define google_firestore_v1beta1_ListenRequest_remove_target_tag 3 +#define google_firestore_v1beta1_ListenRequest_database_tag 1 +#define google_firestore_v1beta1_ListenRequest_labels_tag 4 + +/* Struct field encoding specification for nanopb */ +extern const pb_field_t google_firestore_v1beta1_GetDocumentRequest_fields[5]; +extern const pb_field_t google_firestore_v1beta1_ListDocumentsRequest_fields[10]; +extern const pb_field_t google_firestore_v1beta1_ListDocumentsResponse_fields[3]; +extern const pb_field_t google_firestore_v1beta1_CreateDocumentRequest_fields[6]; +extern const pb_field_t google_firestore_v1beta1_UpdateDocumentRequest_fields[5]; +extern const pb_field_t google_firestore_v1beta1_DeleteDocumentRequest_fields[3]; +extern const pb_field_t google_firestore_v1beta1_BatchGetDocumentsRequest_fields[7]; +extern const pb_field_t google_firestore_v1beta1_BatchGetDocumentsResponse_fields[5]; +extern const pb_field_t google_firestore_v1beta1_BeginTransactionRequest_fields[3]; +extern const pb_field_t google_firestore_v1beta1_BeginTransactionResponse_fields[2]; +extern const pb_field_t google_firestore_v1beta1_CommitRequest_fields[4]; +extern const pb_field_t google_firestore_v1beta1_CommitResponse_fields[3]; +extern const pb_field_t google_firestore_v1beta1_RollbackRequest_fields[3]; +extern const pb_field_t google_firestore_v1beta1_RunQueryRequest_fields[6]; +extern const pb_field_t google_firestore_v1beta1_RunQueryResponse_fields[5]; +extern const pb_field_t google_firestore_v1beta1_WriteRequest_fields[6]; +extern const pb_field_t google_firestore_v1beta1_WriteRequest_LabelsEntry_fields[3]; +extern const pb_field_t google_firestore_v1beta1_WriteResponse_fields[5]; +extern const pb_field_t google_firestore_v1beta1_ListenRequest_fields[5]; +extern const pb_field_t google_firestore_v1beta1_ListenRequest_LabelsEntry_fields[3]; +extern const pb_field_t google_firestore_v1beta1_ListenResponse_fields[6]; +extern const pb_field_t google_firestore_v1beta1_Target_fields[7]; +extern const pb_field_t google_firestore_v1beta1_Target_DocumentsTarget_fields[2]; +extern const pb_field_t google_firestore_v1beta1_Target_QueryTarget_fields[3]; +extern const pb_field_t google_firestore_v1beta1_TargetChange_fields[6]; +extern const pb_field_t google_firestore_v1beta1_ListCollectionIdsRequest_fields[4]; +extern const pb_field_t google_firestore_v1beta1_ListCollectionIdsResponse_fields[3]; + +/* Maximum encoded size of messages (where known) */ +/* google_firestore_v1beta1_GetDocumentRequest_size depends on runtime parameters */ +/* google_firestore_v1beta1_ListDocumentsRequest_size depends on runtime parameters */ +/* google_firestore_v1beta1_ListDocumentsResponse_size depends on runtime parameters */ +/* google_firestore_v1beta1_CreateDocumentRequest_size depends on runtime parameters */ +#define google_firestore_v1beta1_UpdateDocumentRequest_size (44 + google_firestore_v1beta1_Document_size + google_firestore_v1beta1_DocumentMask_size + google_firestore_v1beta1_DocumentMask_size) +/* google_firestore_v1beta1_DeleteDocumentRequest_size depends on runtime parameters */ +/* google_firestore_v1beta1_BatchGetDocumentsRequest_size depends on runtime parameters */ +/* google_firestore_v1beta1_BatchGetDocumentsResponse_size depends on runtime parameters */ +/* google_firestore_v1beta1_BeginTransactionRequest_size depends on runtime parameters */ +/* google_firestore_v1beta1_BeginTransactionResponse_size depends on runtime parameters */ +/* google_firestore_v1beta1_CommitRequest_size depends on runtime parameters */ +/* google_firestore_v1beta1_CommitResponse_size depends on runtime parameters */ +/* google_firestore_v1beta1_RollbackRequest_size depends on runtime parameters */ +/* google_firestore_v1beta1_RunQueryRequest_size depends on runtime parameters */ +/* google_firestore_v1beta1_RunQueryResponse_size depends on runtime parameters */ +/* google_firestore_v1beta1_WriteRequest_size depends on runtime parameters */ +/* google_firestore_v1beta1_WriteRequest_LabelsEntry_size depends on runtime parameters */ +/* google_firestore_v1beta1_WriteResponse_size depends on runtime parameters */ +/* google_firestore_v1beta1_ListenRequest_size depends on runtime parameters */ +/* google_firestore_v1beta1_ListenRequest_LabelsEntry_size depends on runtime parameters */ +/* google_firestore_v1beta1_ListenResponse_size depends on runtime parameters */ +/* google_firestore_v1beta1_Target_size depends on runtime parameters */ +/* google_firestore_v1beta1_Target_DocumentsTarget_size depends on runtime parameters */ +/* google_firestore_v1beta1_Target_QueryTarget_size depends on runtime parameters */ +/* google_firestore_v1beta1_TargetChange_size depends on runtime parameters */ +/* google_firestore_v1beta1_ListCollectionIdsRequest_size depends on runtime parameters */ +/* google_firestore_v1beta1_ListCollectionIdsResponse_size depends on runtime parameters */ + +/* Message IDs (where set with "msgid" option) */ +#ifdef PB_MSGID + +#define FIRESTORE_MESSAGES \ + + +#endif + +#ifdef __cplusplus +} /* extern "C" */ +#endif +/* @@protoc_insertion_point(eof) */ + +#endif diff --git a/Firestore/Protos/nanopb/google/firestore/v1beta1/firestore.pb.c b/Firestore/Protos/nanopb/google/firestore/v1beta1/firestore.pb.c index bc8eca9..56b114a 100644 --- a/Firestore/Protos/nanopb/google/firestore/v1beta1/firestore.pb.c +++ b/Firestore/Protos/nanopb/google/firestore/v1beta1/firestore.pb.c @@ -15,9 +15,9 @@ */ /* Automatically generated nanopb constant definitions */ -/* Generated by nanopb-0.3.8 at Fri Feb 2 17:48:02 2018. */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ -#include "firestore.pb.h" +#include "firestore.nanopb.h" /* @@protoc_insertion_point(includes) */ #if PB_PROTO_HEADER_VERSION != 30 diff --git a/Firestore/Protos/nanopb/google/firestore/v1beta1/firestore.pb.h b/Firestore/Protos/nanopb/google/firestore/v1beta1/firestore.pb.h deleted file mode 100644 index 5bfbcf8..0000000 --- a/Firestore/Protos/nanopb/google/firestore/v1beta1/firestore.pb.h +++ /dev/null @@ -1,508 +0,0 @@ -/* - * 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. - */ - -/* Automatically generated nanopb header */ -/* Generated by nanopb-0.3.8 at Fri Feb 2 17:48:02 2018. */ - -#ifndef PB_GOOGLE_FIRESTORE_V1BETA1_FIRESTORE_PB_H_INCLUDED -#define PB_GOOGLE_FIRESTORE_V1BETA1_FIRESTORE_PB_H_INCLUDED -#include - -#include "google/api/annotations.pb.h" - -#include "google/firestore/v1beta1/common.pb.h" - -#include "google/firestore/v1beta1/document.pb.h" - -#include "google/firestore/v1beta1/query.pb.h" - -#include "google/firestore/v1beta1/write.pb.h" - -#include "google/protobuf/empty.pb.h" - -#include "google/protobuf/timestamp.pb.h" - -#include "google/rpc/status.pb.h" - -/* @@protoc_insertion_point(includes) */ -#if PB_PROTO_HEADER_VERSION != 30 -#error Regenerate this file with the current version of nanopb generator. -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -/* Enum definitions */ -typedef enum _google_firestore_v1beta1_TargetChange_TargetChangeType { - google_firestore_v1beta1_TargetChange_TargetChangeType_NO_CHANGE = 0, - google_firestore_v1beta1_TargetChange_TargetChangeType_ADD = 1, - google_firestore_v1beta1_TargetChange_TargetChangeType_REMOVE = 2, - google_firestore_v1beta1_TargetChange_TargetChangeType_CURRENT = 3, - google_firestore_v1beta1_TargetChange_TargetChangeType_RESET = 4 -} google_firestore_v1beta1_TargetChange_TargetChangeType; -#define _google_firestore_v1beta1_TargetChange_TargetChangeType_MIN google_firestore_v1beta1_TargetChange_TargetChangeType_NO_CHANGE -#define _google_firestore_v1beta1_TargetChange_TargetChangeType_MAX google_firestore_v1beta1_TargetChange_TargetChangeType_RESET -#define _google_firestore_v1beta1_TargetChange_TargetChangeType_ARRAYSIZE ((google_firestore_v1beta1_TargetChange_TargetChangeType)(google_firestore_v1beta1_TargetChange_TargetChangeType_RESET+1)) - -/* Struct definitions */ -typedef struct _google_firestore_v1beta1_BeginTransactionResponse { - pb_callback_t transaction; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_BeginTransactionResponse) */ -} google_firestore_v1beta1_BeginTransactionResponse; - -typedef struct _google_firestore_v1beta1_CommitRequest { - pb_callback_t database; - pb_callback_t writes; - pb_callback_t transaction; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_CommitRequest) */ -} google_firestore_v1beta1_CommitRequest; - -typedef struct _google_firestore_v1beta1_ListCollectionIdsResponse { - pb_callback_t collection_ids; - pb_callback_t next_page_token; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_ListCollectionIdsResponse) */ -} google_firestore_v1beta1_ListCollectionIdsResponse; - -typedef struct _google_firestore_v1beta1_ListDocumentsResponse { - pb_callback_t documents; - pb_callback_t next_page_token; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_ListDocumentsResponse) */ -} google_firestore_v1beta1_ListDocumentsResponse; - -typedef struct _google_firestore_v1beta1_ListenRequest_LabelsEntry { - pb_callback_t key; - pb_callback_t value; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_ListenRequest_LabelsEntry) */ -} google_firestore_v1beta1_ListenRequest_LabelsEntry; - -typedef struct _google_firestore_v1beta1_RollbackRequest { - pb_callback_t database; - pb_callback_t transaction; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_RollbackRequest) */ -} google_firestore_v1beta1_RollbackRequest; - -typedef struct _google_firestore_v1beta1_Target_DocumentsTarget { - pb_callback_t documents; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_Target_DocumentsTarget) */ -} google_firestore_v1beta1_Target_DocumentsTarget; - -typedef struct _google_firestore_v1beta1_WriteRequest { - pb_callback_t database; - pb_callback_t stream_id; - pb_callback_t writes; - pb_callback_t stream_token; - pb_callback_t labels; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_WriteRequest) */ -} google_firestore_v1beta1_WriteRequest; - -typedef struct _google_firestore_v1beta1_WriteRequest_LabelsEntry { - pb_callback_t key; - pb_callback_t value; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_WriteRequest_LabelsEntry) */ -} google_firestore_v1beta1_WriteRequest_LabelsEntry; - -typedef struct _google_firestore_v1beta1_BatchGetDocumentsRequest { - pb_callback_t database; - pb_callback_t documents; - google_firestore_v1beta1_DocumentMask mask; - pb_callback_t transaction; - google_firestore_v1beta1_TransactionOptions new_transaction; - google_protobuf_Timestamp read_time; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_BatchGetDocumentsRequest) */ -} google_firestore_v1beta1_BatchGetDocumentsRequest; - -typedef struct _google_firestore_v1beta1_BatchGetDocumentsResponse { - google_firestore_v1beta1_Document found; - pb_callback_t missing; - pb_callback_t transaction; - google_protobuf_Timestamp read_time; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_BatchGetDocumentsResponse) */ -} google_firestore_v1beta1_BatchGetDocumentsResponse; - -typedef struct _google_firestore_v1beta1_BeginTransactionRequest { - pb_callback_t database; - google_firestore_v1beta1_TransactionOptions options; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_BeginTransactionRequest) */ -} google_firestore_v1beta1_BeginTransactionRequest; - -typedef struct _google_firestore_v1beta1_CommitResponse { - pb_callback_t write_results; - google_protobuf_Timestamp commit_time; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_CommitResponse) */ -} google_firestore_v1beta1_CommitResponse; - -typedef struct _google_firestore_v1beta1_CreateDocumentRequest { - pb_callback_t parent; - pb_callback_t collection_id; - pb_callback_t document_id; - google_firestore_v1beta1_Document document; - google_firestore_v1beta1_DocumentMask mask; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_CreateDocumentRequest) */ -} google_firestore_v1beta1_CreateDocumentRequest; - -typedef struct _google_firestore_v1beta1_DeleteDocumentRequest { - pb_callback_t name; - google_firestore_v1beta1_Precondition current_document; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_DeleteDocumentRequest) */ -} google_firestore_v1beta1_DeleteDocumentRequest; - -typedef struct _google_firestore_v1beta1_GetDocumentRequest { - pb_callback_t name; - google_firestore_v1beta1_DocumentMask mask; - pb_callback_t transaction; - google_protobuf_Timestamp read_time; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_GetDocumentRequest) */ -} google_firestore_v1beta1_GetDocumentRequest; - -typedef struct _google_firestore_v1beta1_ListCollectionIdsRequest { - pb_callback_t parent; - int32_t page_size; - pb_callback_t page_token; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_ListCollectionIdsRequest) */ -} google_firestore_v1beta1_ListCollectionIdsRequest; - -typedef struct _google_firestore_v1beta1_ListDocumentsRequest { - pb_callback_t parent; - pb_callback_t collection_id; - int32_t page_size; - pb_callback_t page_token; - pb_callback_t order_by; - google_firestore_v1beta1_DocumentMask mask; - pb_callback_t transaction; - google_protobuf_Timestamp read_time; - bool show_missing; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_ListDocumentsRequest) */ -} google_firestore_v1beta1_ListDocumentsRequest; - -typedef struct _google_firestore_v1beta1_RunQueryRequest { - pb_callback_t parent; - pb_size_t which_query_type; - union { - google_firestore_v1beta1_StructuredQuery structured_query; - } query_type; - pb_callback_t transaction; - google_firestore_v1beta1_TransactionOptions new_transaction; - google_protobuf_Timestamp read_time; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_RunQueryRequest) */ -} google_firestore_v1beta1_RunQueryRequest; - -typedef struct _google_firestore_v1beta1_RunQueryResponse { - google_firestore_v1beta1_Document document; - pb_callback_t transaction; - google_protobuf_Timestamp read_time; - int32_t skipped_results; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_RunQueryResponse) */ -} google_firestore_v1beta1_RunQueryResponse; - -typedef struct _google_firestore_v1beta1_TargetChange { - google_firestore_v1beta1_TargetChange_TargetChangeType target_change_type; - pb_callback_t target_ids; - google_rpc_Status cause; - pb_callback_t resume_token; - google_protobuf_Timestamp read_time; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_TargetChange) */ -} google_firestore_v1beta1_TargetChange; - -typedef struct _google_firestore_v1beta1_Target_QueryTarget { - pb_callback_t parent; - pb_size_t which_query_type; - union { - google_firestore_v1beta1_StructuredQuery structured_query; - } query_type; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_Target_QueryTarget) */ -} google_firestore_v1beta1_Target_QueryTarget; - -typedef struct _google_firestore_v1beta1_UpdateDocumentRequest { - google_firestore_v1beta1_Document document; - google_firestore_v1beta1_DocumentMask update_mask; - google_firestore_v1beta1_DocumentMask mask; - google_firestore_v1beta1_Precondition current_document; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_UpdateDocumentRequest) */ -} google_firestore_v1beta1_UpdateDocumentRequest; - -typedef struct _google_firestore_v1beta1_WriteResponse { - pb_callback_t stream_id; - pb_callback_t stream_token; - pb_callback_t write_results; - google_protobuf_Timestamp commit_time; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_WriteResponse) */ -} google_firestore_v1beta1_WriteResponse; - -typedef struct _google_firestore_v1beta1_ListenResponse { - pb_size_t which_response_type; - union { - google_firestore_v1beta1_TargetChange target_change; - google_firestore_v1beta1_DocumentChange document_change; - google_firestore_v1beta1_DocumentDelete document_delete; - google_firestore_v1beta1_ExistenceFilter filter; - google_firestore_v1beta1_DocumentRemove document_remove; - } response_type; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_ListenResponse) */ -} google_firestore_v1beta1_ListenResponse; - -typedef struct _google_firestore_v1beta1_Target { - pb_size_t which_target_type; - union { - google_firestore_v1beta1_Target_QueryTarget query; - google_firestore_v1beta1_Target_DocumentsTarget documents; - } target_type; - pb_callback_t resume_token; - int32_t target_id; - bool once; - google_protobuf_Timestamp read_time; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_Target) */ -} google_firestore_v1beta1_Target; - -typedef struct _google_firestore_v1beta1_ListenRequest { - pb_callback_t database; - pb_size_t which_target_change; - union { - google_firestore_v1beta1_Target add_target; - int32_t remove_target; - } target_change; - pb_callback_t labels; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_ListenRequest) */ -} google_firestore_v1beta1_ListenRequest; - -/* Default values for struct fields */ - -/* Initializer values for message structs */ -#define google_firestore_v1beta1_GetDocumentRequest_init_default {{{NULL}, NULL}, google_firestore_v1beta1_DocumentMask_init_default, {{NULL}, NULL}, google_protobuf_Timestamp_init_default} -#define google_firestore_v1beta1_ListDocumentsRequest_init_default {{{NULL}, NULL}, {{NULL}, NULL}, 0, {{NULL}, NULL}, {{NULL}, NULL}, google_firestore_v1beta1_DocumentMask_init_default, {{NULL}, NULL}, google_protobuf_Timestamp_init_default, 0} -#define google_firestore_v1beta1_ListDocumentsResponse_init_default {{{NULL}, NULL}, {{NULL}, NULL}} -#define google_firestore_v1beta1_CreateDocumentRequest_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, google_firestore_v1beta1_Document_init_default, google_firestore_v1beta1_DocumentMask_init_default} -#define google_firestore_v1beta1_UpdateDocumentRequest_init_default {google_firestore_v1beta1_Document_init_default, google_firestore_v1beta1_DocumentMask_init_default, google_firestore_v1beta1_DocumentMask_init_default, google_firestore_v1beta1_Precondition_init_default} -#define google_firestore_v1beta1_DeleteDocumentRequest_init_default {{{NULL}, NULL}, google_firestore_v1beta1_Precondition_init_default} -#define google_firestore_v1beta1_BatchGetDocumentsRequest_init_default {{{NULL}, NULL}, {{NULL}, NULL}, google_firestore_v1beta1_DocumentMask_init_default, {{NULL}, NULL}, google_firestore_v1beta1_TransactionOptions_init_default, google_protobuf_Timestamp_init_default} -#define google_firestore_v1beta1_BatchGetDocumentsResponse_init_default {google_firestore_v1beta1_Document_init_default, {{NULL}, NULL}, {{NULL}, NULL}, google_protobuf_Timestamp_init_default} -#define google_firestore_v1beta1_BeginTransactionRequest_init_default {{{NULL}, NULL}, google_firestore_v1beta1_TransactionOptions_init_default} -#define google_firestore_v1beta1_BeginTransactionResponse_init_default {{{NULL}, NULL}} -#define google_firestore_v1beta1_CommitRequest_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} -#define google_firestore_v1beta1_CommitResponse_init_default {{{NULL}, NULL}, google_protobuf_Timestamp_init_default} -#define google_firestore_v1beta1_RollbackRequest_init_default {{{NULL}, NULL}, {{NULL}, NULL}} -#define google_firestore_v1beta1_RunQueryRequest_init_default {{{NULL}, NULL}, 0, {google_firestore_v1beta1_StructuredQuery_init_default}, {{NULL}, NULL}, google_firestore_v1beta1_TransactionOptions_init_default, google_protobuf_Timestamp_init_default} -#define google_firestore_v1beta1_RunQueryResponse_init_default {google_firestore_v1beta1_Document_init_default, {{NULL}, NULL}, google_protobuf_Timestamp_init_default, 0} -#define google_firestore_v1beta1_WriteRequest_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} -#define google_firestore_v1beta1_WriteRequest_LabelsEntry_init_default {{{NULL}, NULL}, {{NULL}, NULL}} -#define google_firestore_v1beta1_WriteResponse_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, google_protobuf_Timestamp_init_default} -#define google_firestore_v1beta1_ListenRequest_init_default {{{NULL}, NULL}, 0, {google_firestore_v1beta1_Target_init_default}, {{NULL}, NULL}} -#define google_firestore_v1beta1_ListenRequest_LabelsEntry_init_default {{{NULL}, NULL}, {{NULL}, NULL}} -#define google_firestore_v1beta1_ListenResponse_init_default {0, {google_firestore_v1beta1_TargetChange_init_default}} -#define google_firestore_v1beta1_Target_init_default {0, {google_firestore_v1beta1_Target_QueryTarget_init_default}, {{NULL}, NULL}, 0, 0, google_protobuf_Timestamp_init_default} -#define google_firestore_v1beta1_Target_DocumentsTarget_init_default {{{NULL}, NULL}} -#define google_firestore_v1beta1_Target_QueryTarget_init_default {{{NULL}, NULL}, 0, {google_firestore_v1beta1_StructuredQuery_init_default}} -#define google_firestore_v1beta1_TargetChange_init_default {(google_firestore_v1beta1_TargetChange_TargetChangeType)0, {{NULL}, NULL}, google_rpc_Status_init_default, {{NULL}, NULL}, google_protobuf_Timestamp_init_default} -#define google_firestore_v1beta1_ListCollectionIdsRequest_init_default {{{NULL}, NULL}, 0, {{NULL}, NULL}} -#define google_firestore_v1beta1_ListCollectionIdsResponse_init_default {{{NULL}, NULL}, {{NULL}, NULL}} -#define google_firestore_v1beta1_GetDocumentRequest_init_zero {{{NULL}, NULL}, google_firestore_v1beta1_DocumentMask_init_zero, {{NULL}, NULL}, google_protobuf_Timestamp_init_zero} -#define google_firestore_v1beta1_ListDocumentsRequest_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, 0, {{NULL}, NULL}, {{NULL}, NULL}, google_firestore_v1beta1_DocumentMask_init_zero, {{NULL}, NULL}, google_protobuf_Timestamp_init_zero, 0} -#define google_firestore_v1beta1_ListDocumentsResponse_init_zero {{{NULL}, NULL}, {{NULL}, NULL}} -#define google_firestore_v1beta1_CreateDocumentRequest_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, google_firestore_v1beta1_Document_init_zero, google_firestore_v1beta1_DocumentMask_init_zero} -#define google_firestore_v1beta1_UpdateDocumentRequest_init_zero {google_firestore_v1beta1_Document_init_zero, google_firestore_v1beta1_DocumentMask_init_zero, google_firestore_v1beta1_DocumentMask_init_zero, google_firestore_v1beta1_Precondition_init_zero} -#define google_firestore_v1beta1_DeleteDocumentRequest_init_zero {{{NULL}, NULL}, google_firestore_v1beta1_Precondition_init_zero} -#define google_firestore_v1beta1_BatchGetDocumentsRequest_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, google_firestore_v1beta1_DocumentMask_init_zero, {{NULL}, NULL}, google_firestore_v1beta1_TransactionOptions_init_zero, google_protobuf_Timestamp_init_zero} -#define google_firestore_v1beta1_BatchGetDocumentsResponse_init_zero {google_firestore_v1beta1_Document_init_zero, {{NULL}, NULL}, {{NULL}, NULL}, google_protobuf_Timestamp_init_zero} -#define google_firestore_v1beta1_BeginTransactionRequest_init_zero {{{NULL}, NULL}, google_firestore_v1beta1_TransactionOptions_init_zero} -#define google_firestore_v1beta1_BeginTransactionResponse_init_zero {{{NULL}, NULL}} -#define google_firestore_v1beta1_CommitRequest_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} -#define google_firestore_v1beta1_CommitResponse_init_zero {{{NULL}, NULL}, google_protobuf_Timestamp_init_zero} -#define google_firestore_v1beta1_RollbackRequest_init_zero {{{NULL}, NULL}, {{NULL}, NULL}} -#define google_firestore_v1beta1_RunQueryRequest_init_zero {{{NULL}, NULL}, 0, {google_firestore_v1beta1_StructuredQuery_init_zero}, {{NULL}, NULL}, google_firestore_v1beta1_TransactionOptions_init_zero, google_protobuf_Timestamp_init_zero} -#define google_firestore_v1beta1_RunQueryResponse_init_zero {google_firestore_v1beta1_Document_init_zero, {{NULL}, NULL}, google_protobuf_Timestamp_init_zero, 0} -#define google_firestore_v1beta1_WriteRequest_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} -#define google_firestore_v1beta1_WriteRequest_LabelsEntry_init_zero {{{NULL}, NULL}, {{NULL}, NULL}} -#define google_firestore_v1beta1_WriteResponse_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, google_protobuf_Timestamp_init_zero} -#define google_firestore_v1beta1_ListenRequest_init_zero {{{NULL}, NULL}, 0, {google_firestore_v1beta1_Target_init_zero}, {{NULL}, NULL}} -#define google_firestore_v1beta1_ListenRequest_LabelsEntry_init_zero {{{NULL}, NULL}, {{NULL}, NULL}} -#define google_firestore_v1beta1_ListenResponse_init_zero {0, {google_firestore_v1beta1_TargetChange_init_zero}} -#define google_firestore_v1beta1_Target_init_zero {0, {google_firestore_v1beta1_Target_QueryTarget_init_zero}, {{NULL}, NULL}, 0, 0, google_protobuf_Timestamp_init_zero} -#define google_firestore_v1beta1_Target_DocumentsTarget_init_zero {{{NULL}, NULL}} -#define google_firestore_v1beta1_Target_QueryTarget_init_zero {{{NULL}, NULL}, 0, {google_firestore_v1beta1_StructuredQuery_init_zero}} -#define google_firestore_v1beta1_TargetChange_init_zero {(google_firestore_v1beta1_TargetChange_TargetChangeType)0, {{NULL}, NULL}, google_rpc_Status_init_zero, {{NULL}, NULL}, google_protobuf_Timestamp_init_zero} -#define google_firestore_v1beta1_ListCollectionIdsRequest_init_zero {{{NULL}, NULL}, 0, {{NULL}, NULL}} -#define google_firestore_v1beta1_ListCollectionIdsResponse_init_zero {{{NULL}, NULL}, {{NULL}, NULL}} - -/* Field tags (for use in manual encoding/decoding) */ -#define google_firestore_v1beta1_BeginTransactionResponse_transaction_tag 1 -#define google_firestore_v1beta1_CommitRequest_database_tag 1 -#define google_firestore_v1beta1_CommitRequest_writes_tag 2 -#define google_firestore_v1beta1_CommitRequest_transaction_tag 3 -#define google_firestore_v1beta1_ListCollectionIdsResponse_collection_ids_tag 1 -#define google_firestore_v1beta1_ListCollectionIdsResponse_next_page_token_tag 2 -#define google_firestore_v1beta1_ListDocumentsResponse_documents_tag 1 -#define google_firestore_v1beta1_ListDocumentsResponse_next_page_token_tag 2 -#define google_firestore_v1beta1_ListenRequest_LabelsEntry_key_tag 1 -#define google_firestore_v1beta1_ListenRequest_LabelsEntry_value_tag 2 -#define google_firestore_v1beta1_RollbackRequest_database_tag 1 -#define google_firestore_v1beta1_RollbackRequest_transaction_tag 2 -#define google_firestore_v1beta1_Target_DocumentsTarget_documents_tag 2 -#define google_firestore_v1beta1_WriteRequest_database_tag 1 -#define google_firestore_v1beta1_WriteRequest_stream_id_tag 2 -#define google_firestore_v1beta1_WriteRequest_writes_tag 3 -#define google_firestore_v1beta1_WriteRequest_stream_token_tag 4 -#define google_firestore_v1beta1_WriteRequest_labels_tag 5 -#define google_firestore_v1beta1_WriteRequest_LabelsEntry_key_tag 1 -#define google_firestore_v1beta1_WriteRequest_LabelsEntry_value_tag 2 -#define google_firestore_v1beta1_BatchGetDocumentsRequest_database_tag 1 -#define google_firestore_v1beta1_BatchGetDocumentsRequest_documents_tag 2 -#define google_firestore_v1beta1_BatchGetDocumentsRequest_mask_tag 3 -#define google_firestore_v1beta1_BatchGetDocumentsRequest_transaction_tag 4 -#define google_firestore_v1beta1_BatchGetDocumentsRequest_new_transaction_tag 5 -#define google_firestore_v1beta1_BatchGetDocumentsRequest_read_time_tag 7 -#define google_firestore_v1beta1_BatchGetDocumentsResponse_found_tag 1 -#define google_firestore_v1beta1_BatchGetDocumentsResponse_missing_tag 2 -#define google_firestore_v1beta1_BatchGetDocumentsResponse_transaction_tag 3 -#define google_firestore_v1beta1_BatchGetDocumentsResponse_read_time_tag 4 -#define google_firestore_v1beta1_BeginTransactionRequest_database_tag 1 -#define google_firestore_v1beta1_BeginTransactionRequest_options_tag 2 -#define google_firestore_v1beta1_CommitResponse_write_results_tag 1 -#define google_firestore_v1beta1_CommitResponse_commit_time_tag 2 -#define google_firestore_v1beta1_CreateDocumentRequest_parent_tag 1 -#define google_firestore_v1beta1_CreateDocumentRequest_collection_id_tag 2 -#define google_firestore_v1beta1_CreateDocumentRequest_document_id_tag 3 -#define google_firestore_v1beta1_CreateDocumentRequest_document_tag 4 -#define google_firestore_v1beta1_CreateDocumentRequest_mask_tag 5 -#define google_firestore_v1beta1_DeleteDocumentRequest_name_tag 1 -#define google_firestore_v1beta1_DeleteDocumentRequest_current_document_tag 2 -#define google_firestore_v1beta1_GetDocumentRequest_name_tag 1 -#define google_firestore_v1beta1_GetDocumentRequest_mask_tag 2 -#define google_firestore_v1beta1_GetDocumentRequest_transaction_tag 3 -#define google_firestore_v1beta1_GetDocumentRequest_read_time_tag 5 -#define google_firestore_v1beta1_ListCollectionIdsRequest_parent_tag 1 -#define google_firestore_v1beta1_ListCollectionIdsRequest_page_size_tag 2 -#define google_firestore_v1beta1_ListCollectionIdsRequest_page_token_tag 3 -#define google_firestore_v1beta1_ListDocumentsRequest_parent_tag 1 -#define google_firestore_v1beta1_ListDocumentsRequest_collection_id_tag 2 -#define google_firestore_v1beta1_ListDocumentsRequest_page_size_tag 3 -#define google_firestore_v1beta1_ListDocumentsRequest_page_token_tag 4 -#define google_firestore_v1beta1_ListDocumentsRequest_order_by_tag 6 -#define google_firestore_v1beta1_ListDocumentsRequest_mask_tag 7 -#define google_firestore_v1beta1_ListDocumentsRequest_transaction_tag 8 -#define google_firestore_v1beta1_ListDocumentsRequest_read_time_tag 10 -#define google_firestore_v1beta1_ListDocumentsRequest_show_missing_tag 12 -#define google_firestore_v1beta1_RunQueryRequest_structured_query_tag 2 -#define google_firestore_v1beta1_RunQueryRequest_parent_tag 1 -#define google_firestore_v1beta1_RunQueryRequest_transaction_tag 5 -#define google_firestore_v1beta1_RunQueryRequest_new_transaction_tag 6 -#define google_firestore_v1beta1_RunQueryRequest_read_time_tag 7 -#define google_firestore_v1beta1_RunQueryResponse_transaction_tag 2 -#define google_firestore_v1beta1_RunQueryResponse_document_tag 1 -#define google_firestore_v1beta1_RunQueryResponse_read_time_tag 3 -#define google_firestore_v1beta1_RunQueryResponse_skipped_results_tag 4 -#define google_firestore_v1beta1_TargetChange_target_change_type_tag 1 -#define google_firestore_v1beta1_TargetChange_target_ids_tag 2 -#define google_firestore_v1beta1_TargetChange_cause_tag 3 -#define google_firestore_v1beta1_TargetChange_resume_token_tag 4 -#define google_firestore_v1beta1_TargetChange_read_time_tag 6 -#define google_firestore_v1beta1_Target_QueryTarget_structured_query_tag 2 -#define google_firestore_v1beta1_Target_QueryTarget_parent_tag 1 -#define google_firestore_v1beta1_UpdateDocumentRequest_document_tag 1 -#define google_firestore_v1beta1_UpdateDocumentRequest_update_mask_tag 2 -#define google_firestore_v1beta1_UpdateDocumentRequest_mask_tag 3 -#define google_firestore_v1beta1_UpdateDocumentRequest_current_document_tag 4 -#define google_firestore_v1beta1_WriteResponse_stream_id_tag 1 -#define google_firestore_v1beta1_WriteResponse_stream_token_tag 2 -#define google_firestore_v1beta1_WriteResponse_write_results_tag 3 -#define google_firestore_v1beta1_WriteResponse_commit_time_tag 4 -#define google_firestore_v1beta1_ListenResponse_target_change_tag 2 -#define google_firestore_v1beta1_ListenResponse_document_change_tag 3 -#define google_firestore_v1beta1_ListenResponse_document_delete_tag 4 -#define google_firestore_v1beta1_ListenResponse_filter_tag 5 -#define google_firestore_v1beta1_ListenResponse_document_remove_tag 6 -#define google_firestore_v1beta1_Target_query_tag 2 -#define google_firestore_v1beta1_Target_documents_tag 3 -#define google_firestore_v1beta1_Target_resume_token_tag 4 -#define google_firestore_v1beta1_Target_read_time_tag 11 -#define google_firestore_v1beta1_Target_target_id_tag 5 -#define google_firestore_v1beta1_Target_once_tag 6 -#define google_firestore_v1beta1_ListenRequest_add_target_tag 2 -#define google_firestore_v1beta1_ListenRequest_remove_target_tag 3 -#define google_firestore_v1beta1_ListenRequest_database_tag 1 -#define google_firestore_v1beta1_ListenRequest_labels_tag 4 - -/* Struct field encoding specification for nanopb */ -extern const pb_field_t google_firestore_v1beta1_GetDocumentRequest_fields[5]; -extern const pb_field_t google_firestore_v1beta1_ListDocumentsRequest_fields[10]; -extern const pb_field_t google_firestore_v1beta1_ListDocumentsResponse_fields[3]; -extern const pb_field_t google_firestore_v1beta1_CreateDocumentRequest_fields[6]; -extern const pb_field_t google_firestore_v1beta1_UpdateDocumentRequest_fields[5]; -extern const pb_field_t google_firestore_v1beta1_DeleteDocumentRequest_fields[3]; -extern const pb_field_t google_firestore_v1beta1_BatchGetDocumentsRequest_fields[7]; -extern const pb_field_t google_firestore_v1beta1_BatchGetDocumentsResponse_fields[5]; -extern const pb_field_t google_firestore_v1beta1_BeginTransactionRequest_fields[3]; -extern const pb_field_t google_firestore_v1beta1_BeginTransactionResponse_fields[2]; -extern const pb_field_t google_firestore_v1beta1_CommitRequest_fields[4]; -extern const pb_field_t google_firestore_v1beta1_CommitResponse_fields[3]; -extern const pb_field_t google_firestore_v1beta1_RollbackRequest_fields[3]; -extern const pb_field_t google_firestore_v1beta1_RunQueryRequest_fields[6]; -extern const pb_field_t google_firestore_v1beta1_RunQueryResponse_fields[5]; -extern const pb_field_t google_firestore_v1beta1_WriteRequest_fields[6]; -extern const pb_field_t google_firestore_v1beta1_WriteRequest_LabelsEntry_fields[3]; -extern const pb_field_t google_firestore_v1beta1_WriteResponse_fields[5]; -extern const pb_field_t google_firestore_v1beta1_ListenRequest_fields[5]; -extern const pb_field_t google_firestore_v1beta1_ListenRequest_LabelsEntry_fields[3]; -extern const pb_field_t google_firestore_v1beta1_ListenResponse_fields[6]; -extern const pb_field_t google_firestore_v1beta1_Target_fields[7]; -extern const pb_field_t google_firestore_v1beta1_Target_DocumentsTarget_fields[2]; -extern const pb_field_t google_firestore_v1beta1_Target_QueryTarget_fields[3]; -extern const pb_field_t google_firestore_v1beta1_TargetChange_fields[6]; -extern const pb_field_t google_firestore_v1beta1_ListCollectionIdsRequest_fields[4]; -extern const pb_field_t google_firestore_v1beta1_ListCollectionIdsResponse_fields[3]; - -/* Maximum encoded size of messages (where known) */ -/* google_firestore_v1beta1_GetDocumentRequest_size depends on runtime parameters */ -/* google_firestore_v1beta1_ListDocumentsRequest_size depends on runtime parameters */ -/* google_firestore_v1beta1_ListDocumentsResponse_size depends on runtime parameters */ -/* google_firestore_v1beta1_CreateDocumentRequest_size depends on runtime parameters */ -#define google_firestore_v1beta1_UpdateDocumentRequest_size (44 + google_firestore_v1beta1_Document_size + google_firestore_v1beta1_DocumentMask_size + google_firestore_v1beta1_DocumentMask_size) -/* google_firestore_v1beta1_DeleteDocumentRequest_size depends on runtime parameters */ -/* google_firestore_v1beta1_BatchGetDocumentsRequest_size depends on runtime parameters */ -/* google_firestore_v1beta1_BatchGetDocumentsResponse_size depends on runtime parameters */ -/* google_firestore_v1beta1_BeginTransactionRequest_size depends on runtime parameters */ -/* google_firestore_v1beta1_BeginTransactionResponse_size depends on runtime parameters */ -/* google_firestore_v1beta1_CommitRequest_size depends on runtime parameters */ -/* google_firestore_v1beta1_CommitResponse_size depends on runtime parameters */ -/* google_firestore_v1beta1_RollbackRequest_size depends on runtime parameters */ -/* google_firestore_v1beta1_RunQueryRequest_size depends on runtime parameters */ -/* google_firestore_v1beta1_RunQueryResponse_size depends on runtime parameters */ -/* google_firestore_v1beta1_WriteRequest_size depends on runtime parameters */ -/* google_firestore_v1beta1_WriteRequest_LabelsEntry_size depends on runtime parameters */ -/* google_firestore_v1beta1_WriteResponse_size depends on runtime parameters */ -/* google_firestore_v1beta1_ListenRequest_size depends on runtime parameters */ -/* google_firestore_v1beta1_ListenRequest_LabelsEntry_size depends on runtime parameters */ -/* google_firestore_v1beta1_ListenResponse_size depends on runtime parameters */ -/* google_firestore_v1beta1_Target_size depends on runtime parameters */ -/* google_firestore_v1beta1_Target_DocumentsTarget_size depends on runtime parameters */ -/* google_firestore_v1beta1_Target_QueryTarget_size depends on runtime parameters */ -/* google_firestore_v1beta1_TargetChange_size depends on runtime parameters */ -/* google_firestore_v1beta1_ListCollectionIdsRequest_size depends on runtime parameters */ -/* google_firestore_v1beta1_ListCollectionIdsResponse_size depends on runtime parameters */ - -/* Message IDs (where set with "msgid" option) */ -#ifdef PB_MSGID - -#define FIRESTORE_MESSAGES \ - - -#endif - -#ifdef __cplusplus -} /* extern "C" */ -#endif -/* @@protoc_insertion_point(eof) */ - -#endif diff --git a/Firestore/Protos/nanopb/google/firestore/v1beta1/query.nanopb.h b/Firestore/Protos/nanopb/google/firestore/v1beta1/query.nanopb.h new file mode 100644 index 0000000..68ac2a5 --- /dev/null +++ b/Firestore/Protos/nanopb/google/firestore/v1beta1/query.nanopb.h @@ -0,0 +1,241 @@ +/* + * 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. + */ + +/* Automatically generated nanopb header */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ + +#ifndef PB_GOOGLE_FIRESTORE_V1BETA1_QUERY_PB_H_INCLUDED +#define PB_GOOGLE_FIRESTORE_V1BETA1_QUERY_PB_H_INCLUDED +#include + +#include "google/api/annotations.nanopb.h" + +#include "google/firestore/v1beta1/document.nanopb.h" + +#include "google/protobuf/wrappers.nanopb.h" + +/* @@protoc_insertion_point(includes) */ +#if PB_PROTO_HEADER_VERSION != 30 +#error Regenerate this file with the current version of nanopb generator. +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/* Enum definitions */ +typedef enum _google_firestore_v1beta1_StructuredQuery_Direction { + google_firestore_v1beta1_StructuredQuery_Direction_DIRECTION_UNSPECIFIED = 0, + google_firestore_v1beta1_StructuredQuery_Direction_ASCENDING = 1, + google_firestore_v1beta1_StructuredQuery_Direction_DESCENDING = 2 +} google_firestore_v1beta1_StructuredQuery_Direction; +#define _google_firestore_v1beta1_StructuredQuery_Direction_MIN google_firestore_v1beta1_StructuredQuery_Direction_DIRECTION_UNSPECIFIED +#define _google_firestore_v1beta1_StructuredQuery_Direction_MAX google_firestore_v1beta1_StructuredQuery_Direction_DESCENDING +#define _google_firestore_v1beta1_StructuredQuery_Direction_ARRAYSIZE ((google_firestore_v1beta1_StructuredQuery_Direction)(google_firestore_v1beta1_StructuredQuery_Direction_DESCENDING+1)) + +typedef enum _google_firestore_v1beta1_StructuredQuery_CompositeFilter_Operator { + google_firestore_v1beta1_StructuredQuery_CompositeFilter_Operator_OPERATOR_UNSPECIFIED = 0, + google_firestore_v1beta1_StructuredQuery_CompositeFilter_Operator_AND = 1 +} google_firestore_v1beta1_StructuredQuery_CompositeFilter_Operator; +#define _google_firestore_v1beta1_StructuredQuery_CompositeFilter_Operator_MIN google_firestore_v1beta1_StructuredQuery_CompositeFilter_Operator_OPERATOR_UNSPECIFIED +#define _google_firestore_v1beta1_StructuredQuery_CompositeFilter_Operator_MAX google_firestore_v1beta1_StructuredQuery_CompositeFilter_Operator_AND +#define _google_firestore_v1beta1_StructuredQuery_CompositeFilter_Operator_ARRAYSIZE ((google_firestore_v1beta1_StructuredQuery_CompositeFilter_Operator)(google_firestore_v1beta1_StructuredQuery_CompositeFilter_Operator_AND+1)) + +typedef enum _google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator { + google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator_OPERATOR_UNSPECIFIED = 0, + google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator_LESS_THAN = 1, + google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator_LESS_THAN_OR_EQUAL = 2, + google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator_GREATER_THAN = 3, + google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator_GREATER_THAN_OR_EQUAL = 4, + google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator_EQUAL = 5, + google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator_ARRAY_CONTAINS = 7 +} google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator; +#define _google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator_MIN google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator_OPERATOR_UNSPECIFIED +#define _google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator_MAX google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator_ARRAY_CONTAINS +#define _google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator_ARRAYSIZE ((google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator)(google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator_ARRAY_CONTAINS+1)) + +typedef enum _google_firestore_v1beta1_StructuredQuery_UnaryFilter_Operator { + google_firestore_v1beta1_StructuredQuery_UnaryFilter_Operator_OPERATOR_UNSPECIFIED = 0, + google_firestore_v1beta1_StructuredQuery_UnaryFilter_Operator_IS_NAN = 2, + google_firestore_v1beta1_StructuredQuery_UnaryFilter_Operator_IS_NULL = 3 +} google_firestore_v1beta1_StructuredQuery_UnaryFilter_Operator; +#define _google_firestore_v1beta1_StructuredQuery_UnaryFilter_Operator_MIN google_firestore_v1beta1_StructuredQuery_UnaryFilter_Operator_OPERATOR_UNSPECIFIED +#define _google_firestore_v1beta1_StructuredQuery_UnaryFilter_Operator_MAX google_firestore_v1beta1_StructuredQuery_UnaryFilter_Operator_IS_NULL +#define _google_firestore_v1beta1_StructuredQuery_UnaryFilter_Operator_ARRAYSIZE ((google_firestore_v1beta1_StructuredQuery_UnaryFilter_Operator)(google_firestore_v1beta1_StructuredQuery_UnaryFilter_Operator_IS_NULL+1)) + +/* Struct definitions */ +typedef struct _google_firestore_v1beta1_StructuredQuery_FieldReference { + pb_callback_t field_path; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_StructuredQuery_FieldReference) */ +} google_firestore_v1beta1_StructuredQuery_FieldReference; + +typedef struct _google_firestore_v1beta1_StructuredQuery_Projection { + pb_callback_t fields; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_StructuredQuery_Projection) */ +} google_firestore_v1beta1_StructuredQuery_Projection; + +typedef struct _google_firestore_v1beta1_Cursor { + pb_callback_t values; + bool before; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_Cursor) */ +} google_firestore_v1beta1_Cursor; + +typedef struct _google_firestore_v1beta1_StructuredQuery_CollectionSelector { + pb_callback_t collection_id; + bool all_descendants; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_StructuredQuery_CollectionSelector) */ +} google_firestore_v1beta1_StructuredQuery_CollectionSelector; + +typedef struct _google_firestore_v1beta1_StructuredQuery_CompositeFilter { + google_firestore_v1beta1_StructuredQuery_CompositeFilter_Operator op; + pb_callback_t filters; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_StructuredQuery_CompositeFilter) */ +} google_firestore_v1beta1_StructuredQuery_CompositeFilter; + +typedef struct _google_firestore_v1beta1_StructuredQuery_FieldFilter { + google_firestore_v1beta1_StructuredQuery_FieldReference field; + google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator op; + google_firestore_v1beta1_Value value; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_StructuredQuery_FieldFilter) */ +} google_firestore_v1beta1_StructuredQuery_FieldFilter; + +typedef struct _google_firestore_v1beta1_StructuredQuery_Order { + google_firestore_v1beta1_StructuredQuery_FieldReference field; + google_firestore_v1beta1_StructuredQuery_Direction direction; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_StructuredQuery_Order) */ +} google_firestore_v1beta1_StructuredQuery_Order; + +typedef struct _google_firestore_v1beta1_StructuredQuery_UnaryFilter { + google_firestore_v1beta1_StructuredQuery_UnaryFilter_Operator op; + pb_size_t which_operand_type; + union { + google_firestore_v1beta1_StructuredQuery_FieldReference field; + } operand_type; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_StructuredQuery_UnaryFilter) */ +} google_firestore_v1beta1_StructuredQuery_UnaryFilter; + +typedef struct _google_firestore_v1beta1_StructuredQuery_Filter { + pb_size_t which_filter_type; + union { + google_firestore_v1beta1_StructuredQuery_CompositeFilter composite_filter; + google_firestore_v1beta1_StructuredQuery_FieldFilter field_filter; + google_firestore_v1beta1_StructuredQuery_UnaryFilter unary_filter; + } filter_type; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_StructuredQuery_Filter) */ +} google_firestore_v1beta1_StructuredQuery_Filter; + +typedef struct _google_firestore_v1beta1_StructuredQuery { + google_firestore_v1beta1_StructuredQuery_Projection select; + pb_callback_t from; + google_firestore_v1beta1_StructuredQuery_Filter where; + pb_callback_t order_by; + google_protobuf_Int32Value limit; + int32_t offset; + google_firestore_v1beta1_Cursor start_at; + google_firestore_v1beta1_Cursor end_at; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_StructuredQuery) */ +} google_firestore_v1beta1_StructuredQuery; + +/* Default values for struct fields */ + +/* Initializer values for message structs */ +#define google_firestore_v1beta1_StructuredQuery_init_default {google_firestore_v1beta1_StructuredQuery_Projection_init_default, {{NULL}, NULL}, google_firestore_v1beta1_StructuredQuery_Filter_init_default, {{NULL}, NULL}, google_protobuf_Int32Value_init_default, 0, google_firestore_v1beta1_Cursor_init_default, google_firestore_v1beta1_Cursor_init_default} +#define google_firestore_v1beta1_StructuredQuery_CollectionSelector_init_default {{{NULL}, NULL}, 0} +#define google_firestore_v1beta1_StructuredQuery_Filter_init_default {0, {google_firestore_v1beta1_StructuredQuery_CompositeFilter_init_default}} +#define google_firestore_v1beta1_StructuredQuery_CompositeFilter_init_default {(google_firestore_v1beta1_StructuredQuery_CompositeFilter_Operator)0, {{NULL}, NULL}} +#define google_firestore_v1beta1_StructuredQuery_FieldFilter_init_default {google_firestore_v1beta1_StructuredQuery_FieldReference_init_default, (google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator)0, google_firestore_v1beta1_Value_init_default} +#define google_firestore_v1beta1_StructuredQuery_UnaryFilter_init_default {(google_firestore_v1beta1_StructuredQuery_UnaryFilter_Operator)0, 0, {google_firestore_v1beta1_StructuredQuery_FieldReference_init_default}} +#define google_firestore_v1beta1_StructuredQuery_Order_init_default {google_firestore_v1beta1_StructuredQuery_FieldReference_init_default, (google_firestore_v1beta1_StructuredQuery_Direction)0} +#define google_firestore_v1beta1_StructuredQuery_FieldReference_init_default {{{NULL}, NULL}} +#define google_firestore_v1beta1_StructuredQuery_Projection_init_default {{{NULL}, NULL}} +#define google_firestore_v1beta1_Cursor_init_default {{{NULL}, NULL}, 0} +#define google_firestore_v1beta1_StructuredQuery_init_zero {google_firestore_v1beta1_StructuredQuery_Projection_init_zero, {{NULL}, NULL}, google_firestore_v1beta1_StructuredQuery_Filter_init_zero, {{NULL}, NULL}, google_protobuf_Int32Value_init_zero, 0, google_firestore_v1beta1_Cursor_init_zero, google_firestore_v1beta1_Cursor_init_zero} +#define google_firestore_v1beta1_StructuredQuery_CollectionSelector_init_zero {{{NULL}, NULL}, 0} +#define google_firestore_v1beta1_StructuredQuery_Filter_init_zero {0, {google_firestore_v1beta1_StructuredQuery_CompositeFilter_init_zero}} +#define google_firestore_v1beta1_StructuredQuery_CompositeFilter_init_zero {(google_firestore_v1beta1_StructuredQuery_CompositeFilter_Operator)0, {{NULL}, NULL}} +#define google_firestore_v1beta1_StructuredQuery_FieldFilter_init_zero {google_firestore_v1beta1_StructuredQuery_FieldReference_init_zero, (google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator)0, google_firestore_v1beta1_Value_init_zero} +#define google_firestore_v1beta1_StructuredQuery_UnaryFilter_init_zero {(google_firestore_v1beta1_StructuredQuery_UnaryFilter_Operator)0, 0, {google_firestore_v1beta1_StructuredQuery_FieldReference_init_zero}} +#define google_firestore_v1beta1_StructuredQuery_Order_init_zero {google_firestore_v1beta1_StructuredQuery_FieldReference_init_zero, (google_firestore_v1beta1_StructuredQuery_Direction)0} +#define google_firestore_v1beta1_StructuredQuery_FieldReference_init_zero {{{NULL}, NULL}} +#define google_firestore_v1beta1_StructuredQuery_Projection_init_zero {{{NULL}, NULL}} +#define google_firestore_v1beta1_Cursor_init_zero {{{NULL}, NULL}, 0} + +/* Field tags (for use in manual encoding/decoding) */ +#define google_firestore_v1beta1_StructuredQuery_FieldReference_field_path_tag 2 +#define google_firestore_v1beta1_StructuredQuery_Projection_fields_tag 2 +#define google_firestore_v1beta1_Cursor_values_tag 1 +#define google_firestore_v1beta1_Cursor_before_tag 2 +#define google_firestore_v1beta1_StructuredQuery_CollectionSelector_collection_id_tag 2 +#define google_firestore_v1beta1_StructuredQuery_CollectionSelector_all_descendants_tag 3 +#define google_firestore_v1beta1_StructuredQuery_CompositeFilter_op_tag 1 +#define google_firestore_v1beta1_StructuredQuery_CompositeFilter_filters_tag 2 +#define google_firestore_v1beta1_StructuredQuery_FieldFilter_field_tag 1 +#define google_firestore_v1beta1_StructuredQuery_FieldFilter_op_tag 2 +#define google_firestore_v1beta1_StructuredQuery_FieldFilter_value_tag 3 +#define google_firestore_v1beta1_StructuredQuery_Order_field_tag 1 +#define google_firestore_v1beta1_StructuredQuery_Order_direction_tag 2 +#define google_firestore_v1beta1_StructuredQuery_UnaryFilter_field_tag 2 +#define google_firestore_v1beta1_StructuredQuery_UnaryFilter_op_tag 1 +#define google_firestore_v1beta1_StructuredQuery_Filter_composite_filter_tag 1 +#define google_firestore_v1beta1_StructuredQuery_Filter_field_filter_tag 2 +#define google_firestore_v1beta1_StructuredQuery_Filter_unary_filter_tag 3 +#define google_firestore_v1beta1_StructuredQuery_select_tag 1 +#define google_firestore_v1beta1_StructuredQuery_from_tag 2 +#define google_firestore_v1beta1_StructuredQuery_where_tag 3 +#define google_firestore_v1beta1_StructuredQuery_order_by_tag 4 +#define google_firestore_v1beta1_StructuredQuery_start_at_tag 7 +#define google_firestore_v1beta1_StructuredQuery_end_at_tag 8 +#define google_firestore_v1beta1_StructuredQuery_offset_tag 6 +#define google_firestore_v1beta1_StructuredQuery_limit_tag 5 + +/* Struct field encoding specification for nanopb */ +extern const pb_field_t google_firestore_v1beta1_StructuredQuery_fields[9]; +extern const pb_field_t google_firestore_v1beta1_StructuredQuery_CollectionSelector_fields[3]; +extern const pb_field_t google_firestore_v1beta1_StructuredQuery_Filter_fields[4]; +extern const pb_field_t google_firestore_v1beta1_StructuredQuery_CompositeFilter_fields[3]; +extern const pb_field_t google_firestore_v1beta1_StructuredQuery_FieldFilter_fields[4]; +extern const pb_field_t google_firestore_v1beta1_StructuredQuery_UnaryFilter_fields[3]; +extern const pb_field_t google_firestore_v1beta1_StructuredQuery_Order_fields[3]; +extern const pb_field_t google_firestore_v1beta1_StructuredQuery_FieldReference_fields[2]; +extern const pb_field_t google_firestore_v1beta1_StructuredQuery_Projection_fields[2]; +extern const pb_field_t google_firestore_v1beta1_Cursor_fields[3]; + +/* Maximum encoded size of messages (where known) */ +/* google_firestore_v1beta1_StructuredQuery_size depends on runtime parameters */ +/* google_firestore_v1beta1_StructuredQuery_CollectionSelector_size depends on runtime parameters */ +/* google_firestore_v1beta1_StructuredQuery_Filter_size depends on runtime parameters */ +/* google_firestore_v1beta1_StructuredQuery_CompositeFilter_size depends on runtime parameters */ +#define google_firestore_v1beta1_StructuredQuery_FieldFilter_size (14 + google_firestore_v1beta1_StructuredQuery_FieldReference_size + google_firestore_v1beta1_Value_size) +/* google_firestore_v1beta1_StructuredQuery_UnaryFilter_size depends on runtime parameters */ +#define google_firestore_v1beta1_StructuredQuery_Order_size (8 + google_firestore_v1beta1_StructuredQuery_FieldReference_size) +/* google_firestore_v1beta1_StructuredQuery_FieldReference_size depends on runtime parameters */ +/* google_firestore_v1beta1_StructuredQuery_Projection_size depends on runtime parameters */ +/* google_firestore_v1beta1_Cursor_size depends on runtime parameters */ + +/* Message IDs (where set with "msgid" option) */ +#ifdef PB_MSGID + +#define QUERY_MESSAGES \ + + +#endif + +#ifdef __cplusplus +} /* extern "C" */ +#endif +/* @@protoc_insertion_point(eof) */ + +#endif diff --git a/Firestore/Protos/nanopb/google/firestore/v1beta1/query.pb.c b/Firestore/Protos/nanopb/google/firestore/v1beta1/query.pb.c index 4e68490..a392327 100644 --- a/Firestore/Protos/nanopb/google/firestore/v1beta1/query.pb.c +++ b/Firestore/Protos/nanopb/google/firestore/v1beta1/query.pb.c @@ -15,9 +15,9 @@ */ /* Automatically generated nanopb constant definitions */ -/* Generated by nanopb-0.3.8 at Fri Feb 2 17:48:02 2018. */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ -#include "query.pb.h" +#include "query.nanopb.h" /* @@protoc_insertion_point(includes) */ #if PB_PROTO_HEADER_VERSION != 30 diff --git a/Firestore/Protos/nanopb/google/firestore/v1beta1/query.pb.h b/Firestore/Protos/nanopb/google/firestore/v1beta1/query.pb.h deleted file mode 100644 index 75b8168..0000000 --- a/Firestore/Protos/nanopb/google/firestore/v1beta1/query.pb.h +++ /dev/null @@ -1,241 +0,0 @@ -/* - * 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. - */ - -/* Automatically generated nanopb header */ -/* Generated by nanopb-0.3.8 at Thu Apr 12 07:27:15 2018. */ - -#ifndef PB_GOOGLE_FIRESTORE_V1BETA1_QUERY_PB_H_INCLUDED -#define PB_GOOGLE_FIRESTORE_V1BETA1_QUERY_PB_H_INCLUDED -#include - -#include "google/api/annotations.pb.h" - -#include "google/firestore/v1beta1/document.pb.h" - -#include "google/protobuf/wrappers.pb.h" - -/* @@protoc_insertion_point(includes) */ -#if PB_PROTO_HEADER_VERSION != 30 -#error Regenerate this file with the current version of nanopb generator. -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -/* Enum definitions */ -typedef enum _google_firestore_v1beta1_StructuredQuery_Direction { - google_firestore_v1beta1_StructuredQuery_Direction_DIRECTION_UNSPECIFIED = 0, - google_firestore_v1beta1_StructuredQuery_Direction_ASCENDING = 1, - google_firestore_v1beta1_StructuredQuery_Direction_DESCENDING = 2 -} google_firestore_v1beta1_StructuredQuery_Direction; -#define _google_firestore_v1beta1_StructuredQuery_Direction_MIN google_firestore_v1beta1_StructuredQuery_Direction_DIRECTION_UNSPECIFIED -#define _google_firestore_v1beta1_StructuredQuery_Direction_MAX google_firestore_v1beta1_StructuredQuery_Direction_DESCENDING -#define _google_firestore_v1beta1_StructuredQuery_Direction_ARRAYSIZE ((google_firestore_v1beta1_StructuredQuery_Direction)(google_firestore_v1beta1_StructuredQuery_Direction_DESCENDING+1)) - -typedef enum _google_firestore_v1beta1_StructuredQuery_CompositeFilter_Operator { - google_firestore_v1beta1_StructuredQuery_CompositeFilter_Operator_OPERATOR_UNSPECIFIED = 0, - google_firestore_v1beta1_StructuredQuery_CompositeFilter_Operator_AND = 1 -} google_firestore_v1beta1_StructuredQuery_CompositeFilter_Operator; -#define _google_firestore_v1beta1_StructuredQuery_CompositeFilter_Operator_MIN google_firestore_v1beta1_StructuredQuery_CompositeFilter_Operator_OPERATOR_UNSPECIFIED -#define _google_firestore_v1beta1_StructuredQuery_CompositeFilter_Operator_MAX google_firestore_v1beta1_StructuredQuery_CompositeFilter_Operator_AND -#define _google_firestore_v1beta1_StructuredQuery_CompositeFilter_Operator_ARRAYSIZE ((google_firestore_v1beta1_StructuredQuery_CompositeFilter_Operator)(google_firestore_v1beta1_StructuredQuery_CompositeFilter_Operator_AND+1)) - -typedef enum _google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator { - google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator_OPERATOR_UNSPECIFIED = 0, - google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator_LESS_THAN = 1, - google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator_LESS_THAN_OR_EQUAL = 2, - google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator_GREATER_THAN = 3, - google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator_GREATER_THAN_OR_EQUAL = 4, - google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator_EQUAL = 5, - google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator_ARRAY_CONTAINS = 7 -} google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator; -#define _google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator_MIN google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator_OPERATOR_UNSPECIFIED -#define _google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator_MAX google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator_ARRAY_CONTAINS -#define _google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator_ARRAYSIZE ((google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator)(google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator_ARRAY_CONTAINS+1)) - -typedef enum _google_firestore_v1beta1_StructuredQuery_UnaryFilter_Operator { - google_firestore_v1beta1_StructuredQuery_UnaryFilter_Operator_OPERATOR_UNSPECIFIED = 0, - google_firestore_v1beta1_StructuredQuery_UnaryFilter_Operator_IS_NAN = 2, - google_firestore_v1beta1_StructuredQuery_UnaryFilter_Operator_IS_NULL = 3 -} google_firestore_v1beta1_StructuredQuery_UnaryFilter_Operator; -#define _google_firestore_v1beta1_StructuredQuery_UnaryFilter_Operator_MIN google_firestore_v1beta1_StructuredQuery_UnaryFilter_Operator_OPERATOR_UNSPECIFIED -#define _google_firestore_v1beta1_StructuredQuery_UnaryFilter_Operator_MAX google_firestore_v1beta1_StructuredQuery_UnaryFilter_Operator_IS_NULL -#define _google_firestore_v1beta1_StructuredQuery_UnaryFilter_Operator_ARRAYSIZE ((google_firestore_v1beta1_StructuredQuery_UnaryFilter_Operator)(google_firestore_v1beta1_StructuredQuery_UnaryFilter_Operator_IS_NULL+1)) - -/* Struct definitions */ -typedef struct _google_firestore_v1beta1_StructuredQuery_FieldReference { - pb_callback_t field_path; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_StructuredQuery_FieldReference) */ -} google_firestore_v1beta1_StructuredQuery_FieldReference; - -typedef struct _google_firestore_v1beta1_StructuredQuery_Projection { - pb_callback_t fields; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_StructuredQuery_Projection) */ -} google_firestore_v1beta1_StructuredQuery_Projection; - -typedef struct _google_firestore_v1beta1_Cursor { - pb_callback_t values; - bool before; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_Cursor) */ -} google_firestore_v1beta1_Cursor; - -typedef struct _google_firestore_v1beta1_StructuredQuery_CollectionSelector { - pb_callback_t collection_id; - bool all_descendants; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_StructuredQuery_CollectionSelector) */ -} google_firestore_v1beta1_StructuredQuery_CollectionSelector; - -typedef struct _google_firestore_v1beta1_StructuredQuery_CompositeFilter { - google_firestore_v1beta1_StructuredQuery_CompositeFilter_Operator op; - pb_callback_t filters; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_StructuredQuery_CompositeFilter) */ -} google_firestore_v1beta1_StructuredQuery_CompositeFilter; - -typedef struct _google_firestore_v1beta1_StructuredQuery_FieldFilter { - google_firestore_v1beta1_StructuredQuery_FieldReference field; - google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator op; - google_firestore_v1beta1_Value value; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_StructuredQuery_FieldFilter) */ -} google_firestore_v1beta1_StructuredQuery_FieldFilter; - -typedef struct _google_firestore_v1beta1_StructuredQuery_Order { - google_firestore_v1beta1_StructuredQuery_FieldReference field; - google_firestore_v1beta1_StructuredQuery_Direction direction; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_StructuredQuery_Order) */ -} google_firestore_v1beta1_StructuredQuery_Order; - -typedef struct _google_firestore_v1beta1_StructuredQuery_UnaryFilter { - google_firestore_v1beta1_StructuredQuery_UnaryFilter_Operator op; - pb_size_t which_operand_type; - union { - google_firestore_v1beta1_StructuredQuery_FieldReference field; - } operand_type; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_StructuredQuery_UnaryFilter) */ -} google_firestore_v1beta1_StructuredQuery_UnaryFilter; - -typedef struct _google_firestore_v1beta1_StructuredQuery_Filter { - pb_size_t which_filter_type; - union { - google_firestore_v1beta1_StructuredQuery_CompositeFilter composite_filter; - google_firestore_v1beta1_StructuredQuery_FieldFilter field_filter; - google_firestore_v1beta1_StructuredQuery_UnaryFilter unary_filter; - } filter_type; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_StructuredQuery_Filter) */ -} google_firestore_v1beta1_StructuredQuery_Filter; - -typedef struct _google_firestore_v1beta1_StructuredQuery { - google_firestore_v1beta1_StructuredQuery_Projection select; - pb_callback_t from; - google_firestore_v1beta1_StructuredQuery_Filter where; - pb_callback_t order_by; - google_protobuf_Int32Value limit; - int32_t offset; - google_firestore_v1beta1_Cursor start_at; - google_firestore_v1beta1_Cursor end_at; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_StructuredQuery) */ -} google_firestore_v1beta1_StructuredQuery; - -/* Default values for struct fields */ - -/* Initializer values for message structs */ -#define google_firestore_v1beta1_StructuredQuery_init_default {google_firestore_v1beta1_StructuredQuery_Projection_init_default, {{NULL}, NULL}, google_firestore_v1beta1_StructuredQuery_Filter_init_default, {{NULL}, NULL}, google_protobuf_Int32Value_init_default, 0, google_firestore_v1beta1_Cursor_init_default, google_firestore_v1beta1_Cursor_init_default} -#define google_firestore_v1beta1_StructuredQuery_CollectionSelector_init_default {{{NULL}, NULL}, 0} -#define google_firestore_v1beta1_StructuredQuery_Filter_init_default {0, {google_firestore_v1beta1_StructuredQuery_CompositeFilter_init_default}} -#define google_firestore_v1beta1_StructuredQuery_CompositeFilter_init_default {(google_firestore_v1beta1_StructuredQuery_CompositeFilter_Operator)0, {{NULL}, NULL}} -#define google_firestore_v1beta1_StructuredQuery_FieldFilter_init_default {google_firestore_v1beta1_StructuredQuery_FieldReference_init_default, (google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator)0, google_firestore_v1beta1_Value_init_default} -#define google_firestore_v1beta1_StructuredQuery_UnaryFilter_init_default {(google_firestore_v1beta1_StructuredQuery_UnaryFilter_Operator)0, 0, {google_firestore_v1beta1_StructuredQuery_FieldReference_init_default}} -#define google_firestore_v1beta1_StructuredQuery_Order_init_default {google_firestore_v1beta1_StructuredQuery_FieldReference_init_default, (google_firestore_v1beta1_StructuredQuery_Direction)0} -#define google_firestore_v1beta1_StructuredQuery_FieldReference_init_default {{{NULL}, NULL}} -#define google_firestore_v1beta1_StructuredQuery_Projection_init_default {{{NULL}, NULL}} -#define google_firestore_v1beta1_Cursor_init_default {{{NULL}, NULL}, 0} -#define google_firestore_v1beta1_StructuredQuery_init_zero {google_firestore_v1beta1_StructuredQuery_Projection_init_zero, {{NULL}, NULL}, google_firestore_v1beta1_StructuredQuery_Filter_init_zero, {{NULL}, NULL}, google_protobuf_Int32Value_init_zero, 0, google_firestore_v1beta1_Cursor_init_zero, google_firestore_v1beta1_Cursor_init_zero} -#define google_firestore_v1beta1_StructuredQuery_CollectionSelector_init_zero {{{NULL}, NULL}, 0} -#define google_firestore_v1beta1_StructuredQuery_Filter_init_zero {0, {google_firestore_v1beta1_StructuredQuery_CompositeFilter_init_zero}} -#define google_firestore_v1beta1_StructuredQuery_CompositeFilter_init_zero {(google_firestore_v1beta1_StructuredQuery_CompositeFilter_Operator)0, {{NULL}, NULL}} -#define google_firestore_v1beta1_StructuredQuery_FieldFilter_init_zero {google_firestore_v1beta1_StructuredQuery_FieldReference_init_zero, (google_firestore_v1beta1_StructuredQuery_FieldFilter_Operator)0, google_firestore_v1beta1_Value_init_zero} -#define google_firestore_v1beta1_StructuredQuery_UnaryFilter_init_zero {(google_firestore_v1beta1_StructuredQuery_UnaryFilter_Operator)0, 0, {google_firestore_v1beta1_StructuredQuery_FieldReference_init_zero}} -#define google_firestore_v1beta1_StructuredQuery_Order_init_zero {google_firestore_v1beta1_StructuredQuery_FieldReference_init_zero, (google_firestore_v1beta1_StructuredQuery_Direction)0} -#define google_firestore_v1beta1_StructuredQuery_FieldReference_init_zero {{{NULL}, NULL}} -#define google_firestore_v1beta1_StructuredQuery_Projection_init_zero {{{NULL}, NULL}} -#define google_firestore_v1beta1_Cursor_init_zero {{{NULL}, NULL}, 0} - -/* Field tags (for use in manual encoding/decoding) */ -#define google_firestore_v1beta1_StructuredQuery_FieldReference_field_path_tag 2 -#define google_firestore_v1beta1_StructuredQuery_Projection_fields_tag 2 -#define google_firestore_v1beta1_Cursor_values_tag 1 -#define google_firestore_v1beta1_Cursor_before_tag 2 -#define google_firestore_v1beta1_StructuredQuery_CollectionSelector_collection_id_tag 2 -#define google_firestore_v1beta1_StructuredQuery_CollectionSelector_all_descendants_tag 3 -#define google_firestore_v1beta1_StructuredQuery_CompositeFilter_op_tag 1 -#define google_firestore_v1beta1_StructuredQuery_CompositeFilter_filters_tag 2 -#define google_firestore_v1beta1_StructuredQuery_FieldFilter_field_tag 1 -#define google_firestore_v1beta1_StructuredQuery_FieldFilter_op_tag 2 -#define google_firestore_v1beta1_StructuredQuery_FieldFilter_value_tag 3 -#define google_firestore_v1beta1_StructuredQuery_Order_field_tag 1 -#define google_firestore_v1beta1_StructuredQuery_Order_direction_tag 2 -#define google_firestore_v1beta1_StructuredQuery_UnaryFilter_field_tag 2 -#define google_firestore_v1beta1_StructuredQuery_UnaryFilter_op_tag 1 -#define google_firestore_v1beta1_StructuredQuery_Filter_composite_filter_tag 1 -#define google_firestore_v1beta1_StructuredQuery_Filter_field_filter_tag 2 -#define google_firestore_v1beta1_StructuredQuery_Filter_unary_filter_tag 3 -#define google_firestore_v1beta1_StructuredQuery_select_tag 1 -#define google_firestore_v1beta1_StructuredQuery_from_tag 2 -#define google_firestore_v1beta1_StructuredQuery_where_tag 3 -#define google_firestore_v1beta1_StructuredQuery_order_by_tag 4 -#define google_firestore_v1beta1_StructuredQuery_start_at_tag 7 -#define google_firestore_v1beta1_StructuredQuery_end_at_tag 8 -#define google_firestore_v1beta1_StructuredQuery_offset_tag 6 -#define google_firestore_v1beta1_StructuredQuery_limit_tag 5 - -/* Struct field encoding specification for nanopb */ -extern const pb_field_t google_firestore_v1beta1_StructuredQuery_fields[9]; -extern const pb_field_t google_firestore_v1beta1_StructuredQuery_CollectionSelector_fields[3]; -extern const pb_field_t google_firestore_v1beta1_StructuredQuery_Filter_fields[4]; -extern const pb_field_t google_firestore_v1beta1_StructuredQuery_CompositeFilter_fields[3]; -extern const pb_field_t google_firestore_v1beta1_StructuredQuery_FieldFilter_fields[4]; -extern const pb_field_t google_firestore_v1beta1_StructuredQuery_UnaryFilter_fields[3]; -extern const pb_field_t google_firestore_v1beta1_StructuredQuery_Order_fields[3]; -extern const pb_field_t google_firestore_v1beta1_StructuredQuery_FieldReference_fields[2]; -extern const pb_field_t google_firestore_v1beta1_StructuredQuery_Projection_fields[2]; -extern const pb_field_t google_firestore_v1beta1_Cursor_fields[3]; - -/* Maximum encoded size of messages (where known) */ -/* google_firestore_v1beta1_StructuredQuery_size depends on runtime parameters */ -/* google_firestore_v1beta1_StructuredQuery_CollectionSelector_size depends on runtime parameters */ -/* google_firestore_v1beta1_StructuredQuery_Filter_size depends on runtime parameters */ -/* google_firestore_v1beta1_StructuredQuery_CompositeFilter_size depends on runtime parameters */ -#define google_firestore_v1beta1_StructuredQuery_FieldFilter_size (14 + google_firestore_v1beta1_StructuredQuery_FieldReference_size + google_firestore_v1beta1_Value_size) -/* google_firestore_v1beta1_StructuredQuery_UnaryFilter_size depends on runtime parameters */ -#define google_firestore_v1beta1_StructuredQuery_Order_size (8 + google_firestore_v1beta1_StructuredQuery_FieldReference_size) -/* google_firestore_v1beta1_StructuredQuery_FieldReference_size depends on runtime parameters */ -/* google_firestore_v1beta1_StructuredQuery_Projection_size depends on runtime parameters */ -/* google_firestore_v1beta1_Cursor_size depends on runtime parameters */ - -/* Message IDs (where set with "msgid" option) */ -#ifdef PB_MSGID - -#define QUERY_MESSAGES \ - - -#endif - -#ifdef __cplusplus -} /* extern "C" */ -#endif -/* @@protoc_insertion_point(eof) */ - -#endif diff --git a/Firestore/Protos/nanopb/google/firestore/v1beta1/write.nanopb.h b/Firestore/Protos/nanopb/google/firestore/v1beta1/write.nanopb.h new file mode 100644 index 0000000..4c4e6ba --- /dev/null +++ b/Firestore/Protos/nanopb/google/firestore/v1beta1/write.nanopb.h @@ -0,0 +1,189 @@ +/* + * 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. + */ + +/* Automatically generated nanopb header */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ + +#ifndef PB_GOOGLE_FIRESTORE_V1BETA1_WRITE_PB_H_INCLUDED +#define PB_GOOGLE_FIRESTORE_V1BETA1_WRITE_PB_H_INCLUDED +#include + +#include "google/api/annotations.nanopb.h" + +#include "google/firestore/v1beta1/common.nanopb.h" + +#include "google/firestore/v1beta1/document.nanopb.h" + +#include "google/protobuf/timestamp.nanopb.h" + +/* @@protoc_insertion_point(includes) */ +#if PB_PROTO_HEADER_VERSION != 30 +#error Regenerate this file with the current version of nanopb generator. +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/* Enum definitions */ +typedef enum _google_firestore_v1beta1_DocumentTransform_FieldTransform_ServerValue { + google_firestore_v1beta1_DocumentTransform_FieldTransform_ServerValue_SERVER_VALUE_UNSPECIFIED = 0, + google_firestore_v1beta1_DocumentTransform_FieldTransform_ServerValue_REQUEST_TIME = 1 +} google_firestore_v1beta1_DocumentTransform_FieldTransform_ServerValue; +#define _google_firestore_v1beta1_DocumentTransform_FieldTransform_ServerValue_MIN google_firestore_v1beta1_DocumentTransform_FieldTransform_ServerValue_SERVER_VALUE_UNSPECIFIED +#define _google_firestore_v1beta1_DocumentTransform_FieldTransform_ServerValue_MAX google_firestore_v1beta1_DocumentTransform_FieldTransform_ServerValue_REQUEST_TIME +#define _google_firestore_v1beta1_DocumentTransform_FieldTransform_ServerValue_ARRAYSIZE ((google_firestore_v1beta1_DocumentTransform_FieldTransform_ServerValue)(google_firestore_v1beta1_DocumentTransform_FieldTransform_ServerValue_REQUEST_TIME+1)) + +/* Struct definitions */ +typedef struct _google_firestore_v1beta1_DocumentTransform { + pb_callback_t document; + pb_callback_t field_transforms; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_DocumentTransform) */ +} google_firestore_v1beta1_DocumentTransform; + +typedef struct _google_firestore_v1beta1_DocumentChange { + google_firestore_v1beta1_Document document; + pb_callback_t target_ids; + pb_callback_t removed_target_ids; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_DocumentChange) */ +} google_firestore_v1beta1_DocumentChange; + +typedef struct _google_firestore_v1beta1_DocumentDelete { + pb_callback_t document; + google_protobuf_Timestamp read_time; + pb_callback_t removed_target_ids; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_DocumentDelete) */ +} google_firestore_v1beta1_DocumentDelete; + +typedef struct _google_firestore_v1beta1_DocumentRemove { + pb_callback_t document; + pb_callback_t removed_target_ids; + google_protobuf_Timestamp read_time; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_DocumentRemove) */ +} google_firestore_v1beta1_DocumentRemove; + +typedef struct _google_firestore_v1beta1_DocumentTransform_FieldTransform { + pb_callback_t field_path; + pb_size_t which_transform_type; + union { + google_firestore_v1beta1_DocumentTransform_FieldTransform_ServerValue set_to_server_value; + google_firestore_v1beta1_ArrayValue append_missing_elements; + google_firestore_v1beta1_ArrayValue remove_all_from_array; + } transform_type; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_DocumentTransform_FieldTransform) */ +} google_firestore_v1beta1_DocumentTransform_FieldTransform; + +typedef struct _google_firestore_v1beta1_ExistenceFilter { + int32_t target_id; + int32_t count; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_ExistenceFilter) */ +} google_firestore_v1beta1_ExistenceFilter; + +typedef struct _google_firestore_v1beta1_Write { + google_firestore_v1beta1_Document update; + pb_callback_t delete_; + google_firestore_v1beta1_DocumentMask update_mask; + google_firestore_v1beta1_Precondition current_document; + google_firestore_v1beta1_DocumentTransform transform; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_Write) */ +} google_firestore_v1beta1_Write; + +typedef struct _google_firestore_v1beta1_WriteResult { + google_protobuf_Timestamp update_time; + pb_callback_t transform_results; +/* @@protoc_insertion_point(struct:google_firestore_v1beta1_WriteResult) */ +} google_firestore_v1beta1_WriteResult; + +/* Default values for struct fields */ + +/* Initializer values for message structs */ +#define google_firestore_v1beta1_Write_init_default {google_firestore_v1beta1_Document_init_default, {{NULL}, NULL}, google_firestore_v1beta1_DocumentMask_init_default, google_firestore_v1beta1_Precondition_init_default, google_firestore_v1beta1_DocumentTransform_init_default} +#define google_firestore_v1beta1_DocumentTransform_init_default {{{NULL}, NULL}, {{NULL}, NULL}} +#define google_firestore_v1beta1_DocumentTransform_FieldTransform_init_default {{{NULL}, NULL}, 0, {(google_firestore_v1beta1_DocumentTransform_FieldTransform_ServerValue)0}} +#define google_firestore_v1beta1_WriteResult_init_default {google_protobuf_Timestamp_init_default, {{NULL}, NULL}} +#define google_firestore_v1beta1_DocumentChange_init_default {google_firestore_v1beta1_Document_init_default, {{NULL}, NULL}, {{NULL}, NULL}} +#define google_firestore_v1beta1_DocumentDelete_init_default {{{NULL}, NULL}, google_protobuf_Timestamp_init_default, {{NULL}, NULL}} +#define google_firestore_v1beta1_DocumentRemove_init_default {{{NULL}, NULL}, {{NULL}, NULL}, google_protobuf_Timestamp_init_default} +#define google_firestore_v1beta1_ExistenceFilter_init_default {0, 0} +#define google_firestore_v1beta1_Write_init_zero {google_firestore_v1beta1_Document_init_zero, {{NULL}, NULL}, google_firestore_v1beta1_DocumentMask_init_zero, google_firestore_v1beta1_Precondition_init_zero, google_firestore_v1beta1_DocumentTransform_init_zero} +#define google_firestore_v1beta1_DocumentTransform_init_zero {{{NULL}, NULL}, {{NULL}, NULL}} +#define google_firestore_v1beta1_DocumentTransform_FieldTransform_init_zero {{{NULL}, NULL}, 0, {(google_firestore_v1beta1_DocumentTransform_FieldTransform_ServerValue)0}} +#define google_firestore_v1beta1_WriteResult_init_zero {google_protobuf_Timestamp_init_zero, {{NULL}, NULL}} +#define google_firestore_v1beta1_DocumentChange_init_zero {google_firestore_v1beta1_Document_init_zero, {{NULL}, NULL}, {{NULL}, NULL}} +#define google_firestore_v1beta1_DocumentDelete_init_zero {{{NULL}, NULL}, google_protobuf_Timestamp_init_zero, {{NULL}, NULL}} +#define google_firestore_v1beta1_DocumentRemove_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, google_protobuf_Timestamp_init_zero} +#define google_firestore_v1beta1_ExistenceFilter_init_zero {0, 0} + +/* Field tags (for use in manual encoding/decoding) */ +#define google_firestore_v1beta1_DocumentTransform_document_tag 1 +#define google_firestore_v1beta1_DocumentTransform_field_transforms_tag 2 +#define google_firestore_v1beta1_DocumentChange_document_tag 1 +#define google_firestore_v1beta1_DocumentChange_target_ids_tag 5 +#define google_firestore_v1beta1_DocumentChange_removed_target_ids_tag 6 +#define google_firestore_v1beta1_DocumentDelete_document_tag 1 +#define google_firestore_v1beta1_DocumentDelete_removed_target_ids_tag 6 +#define google_firestore_v1beta1_DocumentDelete_read_time_tag 4 +#define google_firestore_v1beta1_DocumentRemove_document_tag 1 +#define google_firestore_v1beta1_DocumentRemove_removed_target_ids_tag 2 +#define google_firestore_v1beta1_DocumentRemove_read_time_tag 4 +#define google_firestore_v1beta1_DocumentTransform_FieldTransform_set_to_server_value_tag 2 +#define google_firestore_v1beta1_DocumentTransform_FieldTransform_append_missing_elements_tag 6 +#define google_firestore_v1beta1_DocumentTransform_FieldTransform_remove_all_from_array_tag 7 +#define google_firestore_v1beta1_DocumentTransform_FieldTransform_field_path_tag 1 +#define google_firestore_v1beta1_ExistenceFilter_target_id_tag 1 +#define google_firestore_v1beta1_ExistenceFilter_count_tag 2 +#define google_firestore_v1beta1_Write_update_tag 1 +#define google_firestore_v1beta1_Write_delete_tag 2 +#define google_firestore_v1beta1_Write_transform_tag 6 +#define google_firestore_v1beta1_Write_update_mask_tag 3 +#define google_firestore_v1beta1_Write_current_document_tag 4 +#define google_firestore_v1beta1_WriteResult_update_time_tag 1 +#define google_firestore_v1beta1_WriteResult_transform_results_tag 2 + +/* Struct field encoding specification for nanopb */ +extern const pb_field_t google_firestore_v1beta1_Write_fields[6]; +extern const pb_field_t google_firestore_v1beta1_DocumentTransform_fields[3]; +extern const pb_field_t google_firestore_v1beta1_DocumentTransform_FieldTransform_fields[5]; +extern const pb_field_t google_firestore_v1beta1_WriteResult_fields[3]; +extern const pb_field_t google_firestore_v1beta1_DocumentChange_fields[4]; +extern const pb_field_t google_firestore_v1beta1_DocumentDelete_fields[4]; +extern const pb_field_t google_firestore_v1beta1_DocumentRemove_fields[4]; +extern const pb_field_t google_firestore_v1beta1_ExistenceFilter_fields[3]; + +/* Maximum encoded size of messages (where known) */ +/* google_firestore_v1beta1_Write_size depends on runtime parameters */ +/* google_firestore_v1beta1_DocumentTransform_size depends on runtime parameters */ +/* google_firestore_v1beta1_DocumentTransform_FieldTransform_size depends on runtime parameters */ +/* google_firestore_v1beta1_WriteResult_size depends on runtime parameters */ +/* google_firestore_v1beta1_DocumentChange_size depends on runtime parameters */ +/* google_firestore_v1beta1_DocumentDelete_size depends on runtime parameters */ +/* google_firestore_v1beta1_DocumentRemove_size depends on runtime parameters */ +#define google_firestore_v1beta1_ExistenceFilter_size 22 + +/* Message IDs (where set with "msgid" option) */ +#ifdef PB_MSGID + +#define WRITE_MESSAGES \ + + +#endif + +#ifdef __cplusplus +} /* extern "C" */ +#endif +/* @@protoc_insertion_point(eof) */ + +#endif diff --git a/Firestore/Protos/nanopb/google/firestore/v1beta1/write.pb.c b/Firestore/Protos/nanopb/google/firestore/v1beta1/write.pb.c index 26542e0..2527138 100644 --- a/Firestore/Protos/nanopb/google/firestore/v1beta1/write.pb.c +++ b/Firestore/Protos/nanopb/google/firestore/v1beta1/write.pb.c @@ -15,9 +15,9 @@ */ /* Automatically generated nanopb constant definitions */ -/* Generated by nanopb-0.3.8 at Thu Apr 12 07:27:15 2018. */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ -#include "write.pb.h" +#include "write.nanopb.h" /* @@protoc_insertion_point(includes) */ #if PB_PROTO_HEADER_VERSION != 30 diff --git a/Firestore/Protos/nanopb/google/firestore/v1beta1/write.pb.h b/Firestore/Protos/nanopb/google/firestore/v1beta1/write.pb.h deleted file mode 100644 index 5a272b2..0000000 --- a/Firestore/Protos/nanopb/google/firestore/v1beta1/write.pb.h +++ /dev/null @@ -1,189 +0,0 @@ -/* - * 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. - */ - -/* Automatically generated nanopb header */ -/* Generated by nanopb-0.3.8 at Thu Apr 12 07:27:15 2018. */ - -#ifndef PB_GOOGLE_FIRESTORE_V1BETA1_WRITE_PB_H_INCLUDED -#define PB_GOOGLE_FIRESTORE_V1BETA1_WRITE_PB_H_INCLUDED -#include - -#include "google/api/annotations.pb.h" - -#include "google/firestore/v1beta1/common.pb.h" - -#include "google/firestore/v1beta1/document.pb.h" - -#include "google/protobuf/timestamp.pb.h" - -/* @@protoc_insertion_point(includes) */ -#if PB_PROTO_HEADER_VERSION != 30 -#error Regenerate this file with the current version of nanopb generator. -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -/* Enum definitions */ -typedef enum _google_firestore_v1beta1_DocumentTransform_FieldTransform_ServerValue { - google_firestore_v1beta1_DocumentTransform_FieldTransform_ServerValue_SERVER_VALUE_UNSPECIFIED = 0, - google_firestore_v1beta1_DocumentTransform_FieldTransform_ServerValue_REQUEST_TIME = 1 -} google_firestore_v1beta1_DocumentTransform_FieldTransform_ServerValue; -#define _google_firestore_v1beta1_DocumentTransform_FieldTransform_ServerValue_MIN google_firestore_v1beta1_DocumentTransform_FieldTransform_ServerValue_SERVER_VALUE_UNSPECIFIED -#define _google_firestore_v1beta1_DocumentTransform_FieldTransform_ServerValue_MAX google_firestore_v1beta1_DocumentTransform_FieldTransform_ServerValue_REQUEST_TIME -#define _google_firestore_v1beta1_DocumentTransform_FieldTransform_ServerValue_ARRAYSIZE ((google_firestore_v1beta1_DocumentTransform_FieldTransform_ServerValue)(google_firestore_v1beta1_DocumentTransform_FieldTransform_ServerValue_REQUEST_TIME+1)) - -/* Struct definitions */ -typedef struct _google_firestore_v1beta1_DocumentTransform { - pb_callback_t document; - pb_callback_t field_transforms; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_DocumentTransform) */ -} google_firestore_v1beta1_DocumentTransform; - -typedef struct _google_firestore_v1beta1_DocumentChange { - google_firestore_v1beta1_Document document; - pb_callback_t target_ids; - pb_callback_t removed_target_ids; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_DocumentChange) */ -} google_firestore_v1beta1_DocumentChange; - -typedef struct _google_firestore_v1beta1_DocumentDelete { - pb_callback_t document; - google_protobuf_Timestamp read_time; - pb_callback_t removed_target_ids; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_DocumentDelete) */ -} google_firestore_v1beta1_DocumentDelete; - -typedef struct _google_firestore_v1beta1_DocumentRemove { - pb_callback_t document; - pb_callback_t removed_target_ids; - google_protobuf_Timestamp read_time; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_DocumentRemove) */ -} google_firestore_v1beta1_DocumentRemove; - -typedef struct _google_firestore_v1beta1_DocumentTransform_FieldTransform { - pb_callback_t field_path; - pb_size_t which_transform_type; - union { - google_firestore_v1beta1_DocumentTransform_FieldTransform_ServerValue set_to_server_value; - google_firestore_v1beta1_ArrayValue append_missing_elements; - google_firestore_v1beta1_ArrayValue remove_all_from_array; - } transform_type; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_DocumentTransform_FieldTransform) */ -} google_firestore_v1beta1_DocumentTransform_FieldTransform; - -typedef struct _google_firestore_v1beta1_ExistenceFilter { - int32_t target_id; - int32_t count; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_ExistenceFilter) */ -} google_firestore_v1beta1_ExistenceFilter; - -typedef struct _google_firestore_v1beta1_Write { - google_firestore_v1beta1_Document update; - pb_callback_t delete_; - google_firestore_v1beta1_DocumentMask update_mask; - google_firestore_v1beta1_Precondition current_document; - google_firestore_v1beta1_DocumentTransform transform; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_Write) */ -} google_firestore_v1beta1_Write; - -typedef struct _google_firestore_v1beta1_WriteResult { - google_protobuf_Timestamp update_time; - pb_callback_t transform_results; -/* @@protoc_insertion_point(struct:google_firestore_v1beta1_WriteResult) */ -} google_firestore_v1beta1_WriteResult; - -/* Default values for struct fields */ - -/* Initializer values for message structs */ -#define google_firestore_v1beta1_Write_init_default {google_firestore_v1beta1_Document_init_default, {{NULL}, NULL}, google_firestore_v1beta1_DocumentMask_init_default, google_firestore_v1beta1_Precondition_init_default, google_firestore_v1beta1_DocumentTransform_init_default} -#define google_firestore_v1beta1_DocumentTransform_init_default {{{NULL}, NULL}, {{NULL}, NULL}} -#define google_firestore_v1beta1_DocumentTransform_FieldTransform_init_default {{{NULL}, NULL}, 0, {(google_firestore_v1beta1_DocumentTransform_FieldTransform_ServerValue)0}} -#define google_firestore_v1beta1_WriteResult_init_default {google_protobuf_Timestamp_init_default, {{NULL}, NULL}} -#define google_firestore_v1beta1_DocumentChange_init_default {google_firestore_v1beta1_Document_init_default, {{NULL}, NULL}, {{NULL}, NULL}} -#define google_firestore_v1beta1_DocumentDelete_init_default {{{NULL}, NULL}, google_protobuf_Timestamp_init_default, {{NULL}, NULL}} -#define google_firestore_v1beta1_DocumentRemove_init_default {{{NULL}, NULL}, {{NULL}, NULL}, google_protobuf_Timestamp_init_default} -#define google_firestore_v1beta1_ExistenceFilter_init_default {0, 0} -#define google_firestore_v1beta1_Write_init_zero {google_firestore_v1beta1_Document_init_zero, {{NULL}, NULL}, google_firestore_v1beta1_DocumentMask_init_zero, google_firestore_v1beta1_Precondition_init_zero, google_firestore_v1beta1_DocumentTransform_init_zero} -#define google_firestore_v1beta1_DocumentTransform_init_zero {{{NULL}, NULL}, {{NULL}, NULL}} -#define google_firestore_v1beta1_DocumentTransform_FieldTransform_init_zero {{{NULL}, NULL}, 0, {(google_firestore_v1beta1_DocumentTransform_FieldTransform_ServerValue)0}} -#define google_firestore_v1beta1_WriteResult_init_zero {google_protobuf_Timestamp_init_zero, {{NULL}, NULL}} -#define google_firestore_v1beta1_DocumentChange_init_zero {google_firestore_v1beta1_Document_init_zero, {{NULL}, NULL}, {{NULL}, NULL}} -#define google_firestore_v1beta1_DocumentDelete_init_zero {{{NULL}, NULL}, google_protobuf_Timestamp_init_zero, {{NULL}, NULL}} -#define google_firestore_v1beta1_DocumentRemove_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, google_protobuf_Timestamp_init_zero} -#define google_firestore_v1beta1_ExistenceFilter_init_zero {0, 0} - -/* Field tags (for use in manual encoding/decoding) */ -#define google_firestore_v1beta1_DocumentTransform_document_tag 1 -#define google_firestore_v1beta1_DocumentTransform_field_transforms_tag 2 -#define google_firestore_v1beta1_DocumentChange_document_tag 1 -#define google_firestore_v1beta1_DocumentChange_target_ids_tag 5 -#define google_firestore_v1beta1_DocumentChange_removed_target_ids_tag 6 -#define google_firestore_v1beta1_DocumentDelete_document_tag 1 -#define google_firestore_v1beta1_DocumentDelete_removed_target_ids_tag 6 -#define google_firestore_v1beta1_DocumentDelete_read_time_tag 4 -#define google_firestore_v1beta1_DocumentRemove_document_tag 1 -#define google_firestore_v1beta1_DocumentRemove_removed_target_ids_tag 2 -#define google_firestore_v1beta1_DocumentRemove_read_time_tag 4 -#define google_firestore_v1beta1_DocumentTransform_FieldTransform_set_to_server_value_tag 2 -#define google_firestore_v1beta1_DocumentTransform_FieldTransform_append_missing_elements_tag 6 -#define google_firestore_v1beta1_DocumentTransform_FieldTransform_remove_all_from_array_tag 7 -#define google_firestore_v1beta1_DocumentTransform_FieldTransform_field_path_tag 1 -#define google_firestore_v1beta1_ExistenceFilter_target_id_tag 1 -#define google_firestore_v1beta1_ExistenceFilter_count_tag 2 -#define google_firestore_v1beta1_Write_update_tag 1 -#define google_firestore_v1beta1_Write_delete_tag 2 -#define google_firestore_v1beta1_Write_transform_tag 6 -#define google_firestore_v1beta1_Write_update_mask_tag 3 -#define google_firestore_v1beta1_Write_current_document_tag 4 -#define google_firestore_v1beta1_WriteResult_update_time_tag 1 -#define google_firestore_v1beta1_WriteResult_transform_results_tag 2 - -/* Struct field encoding specification for nanopb */ -extern const pb_field_t google_firestore_v1beta1_Write_fields[6]; -extern const pb_field_t google_firestore_v1beta1_DocumentTransform_fields[3]; -extern const pb_field_t google_firestore_v1beta1_DocumentTransform_FieldTransform_fields[5]; -extern const pb_field_t google_firestore_v1beta1_WriteResult_fields[3]; -extern const pb_field_t google_firestore_v1beta1_DocumentChange_fields[4]; -extern const pb_field_t google_firestore_v1beta1_DocumentDelete_fields[4]; -extern const pb_field_t google_firestore_v1beta1_DocumentRemove_fields[4]; -extern const pb_field_t google_firestore_v1beta1_ExistenceFilter_fields[3]; - -/* Maximum encoded size of messages (where known) */ -/* google_firestore_v1beta1_Write_size depends on runtime parameters */ -/* google_firestore_v1beta1_DocumentTransform_size depends on runtime parameters */ -/* google_firestore_v1beta1_DocumentTransform_FieldTransform_size depends on runtime parameters */ -/* google_firestore_v1beta1_WriteResult_size depends on runtime parameters */ -/* google_firestore_v1beta1_DocumentChange_size depends on runtime parameters */ -/* google_firestore_v1beta1_DocumentDelete_size depends on runtime parameters */ -/* google_firestore_v1beta1_DocumentRemove_size depends on runtime parameters */ -#define google_firestore_v1beta1_ExistenceFilter_size 22 - -/* Message IDs (where set with "msgid" option) */ -#ifdef PB_MSGID - -#define WRITE_MESSAGES \ - - -#endif - -#ifdef __cplusplus -} /* extern "C" */ -#endif -/* @@protoc_insertion_point(eof) */ - -#endif diff --git a/Firestore/Protos/nanopb/google/protobuf/any.nanopb.h b/Firestore/Protos/nanopb/google/protobuf/any.nanopb.h new file mode 100644 index 0000000..91a7001 --- /dev/null +++ b/Firestore/Protos/nanopb/google/protobuf/any.nanopb.h @@ -0,0 +1,69 @@ +/* + * 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. + */ + +/* Automatically generated nanopb header */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ + +#ifndef PB_GOOGLE_PROTOBUF_ANY_PB_H_INCLUDED +#define PB_GOOGLE_PROTOBUF_ANY_PB_H_INCLUDED +#include + +/* @@protoc_insertion_point(includes) */ +#if PB_PROTO_HEADER_VERSION != 30 +#error Regenerate this file with the current version of nanopb generator. +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/* Struct definitions */ +typedef struct _google_protobuf_Any { + pb_callback_t type_url; + pb_callback_t value; +/* @@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}, {{NULL}, NULL}} +#define google_protobuf_Any_init_zero {{{NULL}, NULL}, {{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 + +#ifdef __cplusplus +} /* extern "C" */ +#endif +/* @@protoc_insertion_point(eof) */ + +#endif diff --git a/Firestore/Protos/nanopb/google/protobuf/any.pb.c b/Firestore/Protos/nanopb/google/protobuf/any.pb.c index b28d0ba..34a415c 100644 --- a/Firestore/Protos/nanopb/google/protobuf/any.pb.c +++ b/Firestore/Protos/nanopb/google/protobuf/any.pb.c @@ -15,9 +15,9 @@ */ /* Automatically generated nanopb constant definitions */ -/* Generated by nanopb-0.3.8 at Mon Feb 12 11:03:06 2018. */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ -#include "any.pb.h" +#include "any.nanopb.h" /* @@protoc_insertion_point(includes) */ #if PB_PROTO_HEADER_VERSION != 30 diff --git a/Firestore/Protos/nanopb/google/protobuf/any.pb.h b/Firestore/Protos/nanopb/google/protobuf/any.pb.h deleted file mode 100644 index 10a722e..0000000 --- a/Firestore/Protos/nanopb/google/protobuf/any.pb.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * 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. - */ - -/* Automatically generated nanopb header */ -/* Generated by nanopb-0.3.8 at Mon Feb 12 11:03:06 2018. */ - -#ifndef PB_GOOGLE_PROTOBUF_ANY_PB_H_INCLUDED -#define PB_GOOGLE_PROTOBUF_ANY_PB_H_INCLUDED -#include - -/* @@protoc_insertion_point(includes) */ -#if PB_PROTO_HEADER_VERSION != 30 -#error Regenerate this file with the current version of nanopb generator. -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -/* Struct definitions */ -typedef struct _google_protobuf_Any { - pb_callback_t type_url; - pb_callback_t value; -/* @@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}, {{NULL}, NULL}} -#define google_protobuf_Any_init_zero {{{NULL}, NULL}, {{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 - -#ifdef __cplusplus -} /* extern "C" */ -#endif -/* @@protoc_insertion_point(eof) */ - -#endif diff --git a/Firestore/Protos/nanopb/google/protobuf/empty.nanopb.h b/Firestore/Protos/nanopb/google/protobuf/empty.nanopb.h new file mode 100644 index 0000000..3fb0eba --- /dev/null +++ b/Firestore/Protos/nanopb/google/protobuf/empty.nanopb.h @@ -0,0 +1,66 @@ +/* + * 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. + */ + +/* Automatically generated nanopb header */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ + +#ifndef PB_GOOGLE_PROTOBUF_EMPTY_PB_H_INCLUDED +#define PB_GOOGLE_PROTOBUF_EMPTY_PB_H_INCLUDED +#include + +/* @@protoc_insertion_point(includes) */ +#if PB_PROTO_HEADER_VERSION != 30 +#error Regenerate this file with the current version of nanopb generator. +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/* Struct definitions */ +typedef struct _google_protobuf_Empty { + char dummy_field; +/* @@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 + +#ifdef __cplusplus +} /* extern "C" */ +#endif +/* @@protoc_insertion_point(eof) */ + +#endif diff --git a/Firestore/Protos/nanopb/google/protobuf/empty.pb.c b/Firestore/Protos/nanopb/google/protobuf/empty.pb.c index 050af9c..2326702 100644 --- a/Firestore/Protos/nanopb/google/protobuf/empty.pb.c +++ b/Firestore/Protos/nanopb/google/protobuf/empty.pb.c @@ -15,9 +15,9 @@ */ /* Automatically generated nanopb constant definitions */ -/* Generated by nanopb-0.3.8 at Mon Feb 12 11:03:06 2018. */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ -#include "empty.pb.h" +#include "empty.nanopb.h" /* @@protoc_insertion_point(includes) */ #if PB_PROTO_HEADER_VERSION != 30 diff --git a/Firestore/Protos/nanopb/google/protobuf/empty.pb.h b/Firestore/Protos/nanopb/google/protobuf/empty.pb.h deleted file mode 100644 index 466e1fd..0000000 --- a/Firestore/Protos/nanopb/google/protobuf/empty.pb.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * 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. - */ - -/* Automatically generated nanopb header */ -/* Generated by nanopb-0.3.8 at Mon Feb 12 11:03:06 2018. */ - -#ifndef PB_GOOGLE_PROTOBUF_EMPTY_PB_H_INCLUDED -#define PB_GOOGLE_PROTOBUF_EMPTY_PB_H_INCLUDED -#include - -/* @@protoc_insertion_point(includes) */ -#if PB_PROTO_HEADER_VERSION != 30 -#error Regenerate this file with the current version of nanopb generator. -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -/* Struct definitions */ -typedef struct _google_protobuf_Empty { - char dummy_field; -/* @@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 - -#ifdef __cplusplus -} /* extern "C" */ -#endif -/* @@protoc_insertion_point(eof) */ - -#endif diff --git a/Firestore/Protos/nanopb/google/protobuf/struct.nanopb.h b/Firestore/Protos/nanopb/google/protobuf/struct.nanopb.h new file mode 100644 index 0000000..fcccd9e --- /dev/null +++ b/Firestore/Protos/nanopb/google/protobuf/struct.nanopb.h @@ -0,0 +1,117 @@ +/* + * 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. + */ + +/* Automatically generated nanopb header */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ + +#ifndef PB_GOOGLE_PROTOBUF_STRUCT_PB_H_INCLUDED +#define PB_GOOGLE_PROTOBUF_STRUCT_PB_H_INCLUDED +#include + +/* @@protoc_insertion_point(includes) */ +#if PB_PROTO_HEADER_VERSION != 30 +#error Regenerate this file with the current version of nanopb generator. +#endif + +#ifdef __cplusplus +extern "C" { +#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_callback_t values; +/* @@protoc_insertion_point(struct:google_protobuf_ListValue) */ +} google_protobuf_ListValue; + +typedef struct _google_protobuf_Struct { + pb_callback_t fields; +/* @@protoc_insertion_point(struct:google_protobuf_Struct) */ +} google_protobuf_Struct; + +typedef struct _google_protobuf_Value { + google_protobuf_NullValue null_value; + double number_value; + pb_callback_t string_value; + bool bool_value; + google_protobuf_Struct struct_value; + google_protobuf_ListValue list_value; +/* @@protoc_insertion_point(struct:google_protobuf_Value) */ +} google_protobuf_Value; + +typedef struct _google_protobuf_Struct_FieldsEntry { + pb_callback_t key; + google_protobuf_Value value; +/* @@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 {{{NULL}, NULL}} +#define google_protobuf_Struct_FieldsEntry_init_default {{{NULL}, NULL}, google_protobuf_Value_init_default} +#define google_protobuf_Value_init_default {(google_protobuf_NullValue)0, 0, {{NULL}, NULL}, 0, google_protobuf_Struct_init_default, google_protobuf_ListValue_init_default} +#define google_protobuf_ListValue_init_default {{{NULL}, NULL}} +#define google_protobuf_Struct_init_zero {{{NULL}, NULL}} +#define google_protobuf_Struct_FieldsEntry_init_zero {{{NULL}, NULL}, google_protobuf_Value_init_zero} +#define google_protobuf_Value_init_zero {(google_protobuf_NullValue)0, 0, {{NULL}, NULL}, 0, google_protobuf_Struct_init_zero, google_protobuf_ListValue_init_zero} +#define google_protobuf_ListValue_init_zero {{{NULL}, 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 + +#ifdef __cplusplus +} /* extern "C" */ +#endif +/* @@protoc_insertion_point(eof) */ + +#endif diff --git a/Firestore/Protos/nanopb/google/protobuf/struct.pb.c b/Firestore/Protos/nanopb/google/protobuf/struct.pb.c index 2826aab..dc6eca4 100644 --- a/Firestore/Protos/nanopb/google/protobuf/struct.pb.c +++ b/Firestore/Protos/nanopb/google/protobuf/struct.pb.c @@ -15,9 +15,9 @@ */ /* Automatically generated nanopb constant definitions */ -/* Generated by nanopb-0.3.8 at Fri Feb 2 17:48:02 2018. */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ -#include "struct.pb.h" +#include "struct.nanopb.h" /* @@protoc_insertion_point(includes) */ #if PB_PROTO_HEADER_VERSION != 30 diff --git a/Firestore/Protos/nanopb/google/protobuf/struct.pb.h b/Firestore/Protos/nanopb/google/protobuf/struct.pb.h deleted file mode 100644 index b325b60..0000000 --- a/Firestore/Protos/nanopb/google/protobuf/struct.pb.h +++ /dev/null @@ -1,117 +0,0 @@ -/* - * 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. - */ - -/* Automatically generated nanopb header */ -/* Generated by nanopb-0.3.8 at Fri Feb 2 17:48:02 2018. */ - -#ifndef PB_GOOGLE_PROTOBUF_STRUCT_PB_H_INCLUDED -#define PB_GOOGLE_PROTOBUF_STRUCT_PB_H_INCLUDED -#include - -/* @@protoc_insertion_point(includes) */ -#if PB_PROTO_HEADER_VERSION != 30 -#error Regenerate this file with the current version of nanopb generator. -#endif - -#ifdef __cplusplus -extern "C" { -#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_callback_t values; -/* @@protoc_insertion_point(struct:google_protobuf_ListValue) */ -} google_protobuf_ListValue; - -typedef struct _google_protobuf_Struct { - pb_callback_t fields; -/* @@protoc_insertion_point(struct:google_protobuf_Struct) */ -} google_protobuf_Struct; - -typedef struct _google_protobuf_Value { - google_protobuf_NullValue null_value; - double number_value; - pb_callback_t string_value; - bool bool_value; - google_protobuf_Struct struct_value; - google_protobuf_ListValue list_value; -/* @@protoc_insertion_point(struct:google_protobuf_Value) */ -} google_protobuf_Value; - -typedef struct _google_protobuf_Struct_FieldsEntry { - pb_callback_t key; - google_protobuf_Value value; -/* @@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 {{{NULL}, NULL}} -#define google_protobuf_Struct_FieldsEntry_init_default {{{NULL}, NULL}, google_protobuf_Value_init_default} -#define google_protobuf_Value_init_default {(google_protobuf_NullValue)0, 0, {{NULL}, NULL}, 0, google_protobuf_Struct_init_default, google_protobuf_ListValue_init_default} -#define google_protobuf_ListValue_init_default {{{NULL}, NULL}} -#define google_protobuf_Struct_init_zero {{{NULL}, NULL}} -#define google_protobuf_Struct_FieldsEntry_init_zero {{{NULL}, NULL}, google_protobuf_Value_init_zero} -#define google_protobuf_Value_init_zero {(google_protobuf_NullValue)0, 0, {{NULL}, NULL}, 0, google_protobuf_Struct_init_zero, google_protobuf_ListValue_init_zero} -#define google_protobuf_ListValue_init_zero {{{NULL}, 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 - -#ifdef __cplusplus -} /* extern "C" */ -#endif -/* @@protoc_insertion_point(eof) */ - -#endif diff --git a/Firestore/Protos/nanopb/google/protobuf/timestamp.nanopb.h b/Firestore/Protos/nanopb/google/protobuf/timestamp.nanopb.h new file mode 100644 index 0000000..30fe497 --- /dev/null +++ b/Firestore/Protos/nanopb/google/protobuf/timestamp.nanopb.h @@ -0,0 +1,69 @@ +/* + * 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. + */ + +/* Automatically generated nanopb header */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ + +#ifndef PB_GOOGLE_PROTOBUF_TIMESTAMP_PB_H_INCLUDED +#define PB_GOOGLE_PROTOBUF_TIMESTAMP_PB_H_INCLUDED +#include + +/* @@protoc_insertion_point(includes) */ +#if PB_PROTO_HEADER_VERSION != 30 +#error Regenerate this file with the current version of nanopb generator. +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/* Struct definitions */ +typedef struct _google_protobuf_Timestamp { + int64_t seconds; + int32_t nanos; +/* @@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 + +#ifdef __cplusplus +} /* extern "C" */ +#endif +/* @@protoc_insertion_point(eof) */ + +#endif diff --git a/Firestore/Protos/nanopb/google/protobuf/timestamp.pb.c b/Firestore/Protos/nanopb/google/protobuf/timestamp.pb.c index 4f03c19..4d91990 100644 --- a/Firestore/Protos/nanopb/google/protobuf/timestamp.pb.c +++ b/Firestore/Protos/nanopb/google/protobuf/timestamp.pb.c @@ -15,9 +15,9 @@ */ /* Automatically generated nanopb constant definitions */ -/* Generated by nanopb-0.3.8 at Fri Feb 2 17:48:02 2018. */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ -#include "timestamp.pb.h" +#include "timestamp.nanopb.h" /* @@protoc_insertion_point(includes) */ #if PB_PROTO_HEADER_VERSION != 30 diff --git a/Firestore/Protos/nanopb/google/protobuf/timestamp.pb.h b/Firestore/Protos/nanopb/google/protobuf/timestamp.pb.h deleted file mode 100644 index d7be977..0000000 --- a/Firestore/Protos/nanopb/google/protobuf/timestamp.pb.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * 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. - */ - -/* Automatically generated nanopb header */ -/* Generated by nanopb-0.3.8 at Fri Feb 2 17:48:02 2018. */ - -#ifndef PB_GOOGLE_PROTOBUF_TIMESTAMP_PB_H_INCLUDED -#define PB_GOOGLE_PROTOBUF_TIMESTAMP_PB_H_INCLUDED -#include - -/* @@protoc_insertion_point(includes) */ -#if PB_PROTO_HEADER_VERSION != 30 -#error Regenerate this file with the current version of nanopb generator. -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -/* Struct definitions */ -typedef struct _google_protobuf_Timestamp { - int64_t seconds; - int32_t nanos; -/* @@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 - -#ifdef __cplusplus -} /* extern "C" */ -#endif -/* @@protoc_insertion_point(eof) */ - -#endif diff --git a/Firestore/Protos/nanopb/google/protobuf/wrappers.nanopb.h b/Firestore/Protos/nanopb/google/protobuf/wrappers.nanopb.h new file mode 100644 index 0000000..7e36429 --- /dev/null +++ b/Firestore/Protos/nanopb/google/protobuf/wrappers.nanopb.h @@ -0,0 +1,147 @@ +/* + * 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. + */ + +/* Automatically generated nanopb header */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ + +#ifndef PB_GOOGLE_PROTOBUF_WRAPPERS_PB_H_INCLUDED +#define PB_GOOGLE_PROTOBUF_WRAPPERS_PB_H_INCLUDED +#include + +/* @@protoc_insertion_point(includes) */ +#if PB_PROTO_HEADER_VERSION != 30 +#error Regenerate this file with the current version of nanopb generator. +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/* Struct definitions */ +typedef struct _google_protobuf_BytesValue { + pb_callback_t value; +/* @@protoc_insertion_point(struct:google_protobuf_BytesValue) */ +} google_protobuf_BytesValue; + +typedef struct _google_protobuf_StringValue { + pb_callback_t value; +/* @@protoc_insertion_point(struct:google_protobuf_StringValue) */ +} google_protobuf_StringValue; + +typedef struct _google_protobuf_BoolValue { + bool value; +/* @@protoc_insertion_point(struct:google_protobuf_BoolValue) */ +} google_protobuf_BoolValue; + +typedef struct _google_protobuf_DoubleValue { + double value; +/* @@protoc_insertion_point(struct:google_protobuf_DoubleValue) */ +} google_protobuf_DoubleValue; + +typedef struct _google_protobuf_FloatValue { + float value; +/* @@protoc_insertion_point(struct:google_protobuf_FloatValue) */ +} google_protobuf_FloatValue; + +typedef struct _google_protobuf_Int32Value { + int32_t value; +/* @@protoc_insertion_point(struct:google_protobuf_Int32Value) */ +} google_protobuf_Int32Value; + +typedef struct _google_protobuf_Int64Value { + int64_t value; +/* @@protoc_insertion_point(struct:google_protobuf_Int64Value) */ +} google_protobuf_Int64Value; + +typedef struct _google_protobuf_UInt32Value { + uint32_t value; +/* @@protoc_insertion_point(struct:google_protobuf_UInt32Value) */ +} google_protobuf_UInt32Value; + +typedef struct _google_protobuf_UInt64Value { + uint64_t value; +/* @@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}, NULL}} +#define google_protobuf_BytesValue_init_default {{{NULL}, 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}, NULL}} +#define google_protobuf_BytesValue_init_zero {{{NULL}, 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 + +#ifdef __cplusplus +} /* extern "C" */ +#endif +/* @@protoc_insertion_point(eof) */ + +#endif diff --git a/Firestore/Protos/nanopb/google/protobuf/wrappers.pb.c b/Firestore/Protos/nanopb/google/protobuf/wrappers.pb.c index 41ab3c6..f2c7bd9 100644 --- a/Firestore/Protos/nanopb/google/protobuf/wrappers.pb.c +++ b/Firestore/Protos/nanopb/google/protobuf/wrappers.pb.c @@ -15,9 +15,9 @@ */ /* Automatically generated nanopb constant definitions */ -/* Generated by nanopb-0.3.8 at Mon Feb 12 11:03:06 2018. */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ -#include "wrappers.pb.h" +#include "wrappers.nanopb.h" /* @@protoc_insertion_point(includes) */ #if PB_PROTO_HEADER_VERSION != 30 diff --git a/Firestore/Protos/nanopb/google/protobuf/wrappers.pb.h b/Firestore/Protos/nanopb/google/protobuf/wrappers.pb.h deleted file mode 100644 index 0e98785..0000000 --- a/Firestore/Protos/nanopb/google/protobuf/wrappers.pb.h +++ /dev/null @@ -1,147 +0,0 @@ -/* - * 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. - */ - -/* Automatically generated nanopb header */ -/* Generated by nanopb-0.3.8 at Mon Feb 12 11:03:06 2018. */ - -#ifndef PB_GOOGLE_PROTOBUF_WRAPPERS_PB_H_INCLUDED -#define PB_GOOGLE_PROTOBUF_WRAPPERS_PB_H_INCLUDED -#include - -/* @@protoc_insertion_point(includes) */ -#if PB_PROTO_HEADER_VERSION != 30 -#error Regenerate this file with the current version of nanopb generator. -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -/* Struct definitions */ -typedef struct _google_protobuf_BytesValue { - pb_callback_t value; -/* @@protoc_insertion_point(struct:google_protobuf_BytesValue) */ -} google_protobuf_BytesValue; - -typedef struct _google_protobuf_StringValue { - pb_callback_t value; -/* @@protoc_insertion_point(struct:google_protobuf_StringValue) */ -} google_protobuf_StringValue; - -typedef struct _google_protobuf_BoolValue { - bool value; -/* @@protoc_insertion_point(struct:google_protobuf_BoolValue) */ -} google_protobuf_BoolValue; - -typedef struct _google_protobuf_DoubleValue { - double value; -/* @@protoc_insertion_point(struct:google_protobuf_DoubleValue) */ -} google_protobuf_DoubleValue; - -typedef struct _google_protobuf_FloatValue { - float value; -/* @@protoc_insertion_point(struct:google_protobuf_FloatValue) */ -} google_protobuf_FloatValue; - -typedef struct _google_protobuf_Int32Value { - int32_t value; -/* @@protoc_insertion_point(struct:google_protobuf_Int32Value) */ -} google_protobuf_Int32Value; - -typedef struct _google_protobuf_Int64Value { - int64_t value; -/* @@protoc_insertion_point(struct:google_protobuf_Int64Value) */ -} google_protobuf_Int64Value; - -typedef struct _google_protobuf_UInt32Value { - uint32_t value; -/* @@protoc_insertion_point(struct:google_protobuf_UInt32Value) */ -} google_protobuf_UInt32Value; - -typedef struct _google_protobuf_UInt64Value { - uint64_t value; -/* @@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}, NULL}} -#define google_protobuf_BytesValue_init_default {{{NULL}, 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}, NULL}} -#define google_protobuf_BytesValue_init_zero {{{NULL}, 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 - -#ifdef __cplusplus -} /* extern "C" */ -#endif -/* @@protoc_insertion_point(eof) */ - -#endif diff --git a/Firestore/Protos/nanopb/google/rpc/status.nanopb.h b/Firestore/Protos/nanopb/google/rpc/status.nanopb.h new file mode 100644 index 0000000..d26c31a --- /dev/null +++ b/Firestore/Protos/nanopb/google/rpc/status.nanopb.h @@ -0,0 +1,73 @@ +/* + * 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. + */ + +/* Automatically generated nanopb header */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ + +#ifndef PB_GOOGLE_RPC_STATUS_PB_H_INCLUDED +#define PB_GOOGLE_RPC_STATUS_PB_H_INCLUDED +#include + +#include "google/protobuf/any.nanopb.h" + +/* @@protoc_insertion_point(includes) */ +#if PB_PROTO_HEADER_VERSION != 30 +#error Regenerate this file with the current version of nanopb generator. +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/* Struct definitions */ +typedef struct _google_rpc_Status { + int32_t code; + pb_callback_t message; + pb_callback_t details; +/* @@protoc_insertion_point(struct:google_rpc_Status) */ +} google_rpc_Status; + +/* Default values for struct fields */ + +/* Initializer values for message structs */ +#define google_rpc_Status_init_default {0, {{NULL}, NULL}, {{NULL}, NULL}} +#define google_rpc_Status_init_zero {0, {{NULL}, NULL}, {{NULL}, NULL}} + +/* Field tags (for use in manual encoding/decoding) */ +#define google_rpc_Status_code_tag 1 +#define google_rpc_Status_message_tag 2 +#define google_rpc_Status_details_tag 3 + +/* Struct field encoding specification for nanopb */ +extern const pb_field_t google_rpc_Status_fields[4]; + +/* Maximum encoded size of messages (where known) */ +/* google_rpc_Status_size depends on runtime parameters */ + +/* Message IDs (where set with "msgid" option) */ +#ifdef PB_MSGID + +#define STATUS_MESSAGES \ + + +#endif + +#ifdef __cplusplus +} /* extern "C" */ +#endif +/* @@protoc_insertion_point(eof) */ + +#endif diff --git a/Firestore/Protos/nanopb/google/rpc/status.pb.c b/Firestore/Protos/nanopb/google/rpc/status.pb.c index dbdccce..7a96204 100644 --- a/Firestore/Protos/nanopb/google/rpc/status.pb.c +++ b/Firestore/Protos/nanopb/google/rpc/status.pb.c @@ -15,9 +15,9 @@ */ /* Automatically generated nanopb constant definitions */ -/* Generated by nanopb-0.3.8 at Fri Feb 2 17:48:02 2018. */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ -#include "status.pb.h" +#include "status.nanopb.h" /* @@protoc_insertion_point(includes) */ #if PB_PROTO_HEADER_VERSION != 30 diff --git a/Firestore/Protos/nanopb/google/rpc/status.pb.h b/Firestore/Protos/nanopb/google/rpc/status.pb.h deleted file mode 100644 index afcbab9..0000000 --- a/Firestore/Protos/nanopb/google/rpc/status.pb.h +++ /dev/null @@ -1,73 +0,0 @@ -/* - * 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. - */ - -/* Automatically generated nanopb header */ -/* Generated by nanopb-0.3.8 at Fri Feb 2 17:48:02 2018. */ - -#ifndef PB_GOOGLE_RPC_STATUS_PB_H_INCLUDED -#define PB_GOOGLE_RPC_STATUS_PB_H_INCLUDED -#include - -#include "google/protobuf/any.pb.h" - -/* @@protoc_insertion_point(includes) */ -#if PB_PROTO_HEADER_VERSION != 30 -#error Regenerate this file with the current version of nanopb generator. -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -/* Struct definitions */ -typedef struct _google_rpc_Status { - int32_t code; - pb_callback_t message; - pb_callback_t details; -/* @@protoc_insertion_point(struct:google_rpc_Status) */ -} google_rpc_Status; - -/* Default values for struct fields */ - -/* Initializer values for message structs */ -#define google_rpc_Status_init_default {0, {{NULL}, NULL}, {{NULL}, NULL}} -#define google_rpc_Status_init_zero {0, {{NULL}, NULL}, {{NULL}, NULL}} - -/* Field tags (for use in manual encoding/decoding) */ -#define google_rpc_Status_code_tag 1 -#define google_rpc_Status_message_tag 2 -#define google_rpc_Status_details_tag 3 - -/* Struct field encoding specification for nanopb */ -extern const pb_field_t google_rpc_Status_fields[4]; - -/* Maximum encoded size of messages (where known) */ -/* google_rpc_Status_size depends on runtime parameters */ - -/* Message IDs (where set with "msgid" option) */ -#ifdef PB_MSGID - -#define STATUS_MESSAGES \ - - -#endif - -#ifdef __cplusplus -} /* extern "C" */ -#endif -/* @@protoc_insertion_point(eof) */ - -#endif diff --git a/Firestore/Protos/nanopb/google/type/latlng.nanopb.h b/Firestore/Protos/nanopb/google/type/latlng.nanopb.h new file mode 100644 index 0000000..a3b8365 --- /dev/null +++ b/Firestore/Protos/nanopb/google/type/latlng.nanopb.h @@ -0,0 +1,69 @@ +/* + * 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. + */ + +/* Automatically generated nanopb header */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ + +#ifndef PB_GOOGLE_TYPE_LATLNG_PB_H_INCLUDED +#define PB_GOOGLE_TYPE_LATLNG_PB_H_INCLUDED +#include + +/* @@protoc_insertion_point(includes) */ +#if PB_PROTO_HEADER_VERSION != 30 +#error Regenerate this file with the current version of nanopb generator. +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/* Struct definitions */ +typedef struct _google_type_LatLng { + double latitude; + double longitude; +/* @@protoc_insertion_point(struct:google_type_LatLng) */ +} google_type_LatLng; + +/* Default values for struct fields */ + +/* Initializer values for message structs */ +#define google_type_LatLng_init_default {0, 0} +#define google_type_LatLng_init_zero {0, 0} + +/* Field tags (for use in manual encoding/decoding) */ +#define google_type_LatLng_latitude_tag 1 +#define google_type_LatLng_longitude_tag 2 + +/* Struct field encoding specification for nanopb */ +extern const pb_field_t google_type_LatLng_fields[3]; + +/* Maximum encoded size of messages (where known) */ +#define google_type_LatLng_size 18 + +/* Message IDs (where set with "msgid" option) */ +#ifdef PB_MSGID + +#define LATLNG_MESSAGES \ + + +#endif + +#ifdef __cplusplus +} /* extern "C" */ +#endif +/* @@protoc_insertion_point(eof) */ + +#endif diff --git a/Firestore/Protos/nanopb/google/type/latlng.pb.c b/Firestore/Protos/nanopb/google/type/latlng.pb.c index b5f6424..a2a2de3 100644 --- a/Firestore/Protos/nanopb/google/type/latlng.pb.c +++ b/Firestore/Protos/nanopb/google/type/latlng.pb.c @@ -15,9 +15,9 @@ */ /* Automatically generated nanopb constant definitions */ -/* Generated by nanopb-0.3.8 at Fri Feb 2 17:48:02 2018. */ +/* Generated by nanopb-0.3.8 at Fri Jun 1 18:36:44 2018. */ -#include "latlng.pb.h" +#include "latlng.nanopb.h" /* @@protoc_insertion_point(includes) */ #if PB_PROTO_HEADER_VERSION != 30 diff --git a/Firestore/Protos/nanopb/google/type/latlng.pb.h b/Firestore/Protos/nanopb/google/type/latlng.pb.h deleted file mode 100644 index fa5703b..0000000 --- a/Firestore/Protos/nanopb/google/type/latlng.pb.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * 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. - */ - -/* Automatically generated nanopb header */ -/* Generated by nanopb-0.3.8 at Fri Feb 2 17:48:02 2018. */ - -#ifndef PB_GOOGLE_TYPE_LATLNG_PB_H_INCLUDED -#define PB_GOOGLE_TYPE_LATLNG_PB_H_INCLUDED -#include - -/* @@protoc_insertion_point(includes) */ -#if PB_PROTO_HEADER_VERSION != 30 -#error Regenerate this file with the current version of nanopb generator. -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -/* Struct definitions */ -typedef struct _google_type_LatLng { - double latitude; - double longitude; -/* @@protoc_insertion_point(struct:google_type_LatLng) */ -} google_type_LatLng; - -/* Default values for struct fields */ - -/* Initializer values for message structs */ -#define google_type_LatLng_init_default {0, 0} -#define google_type_LatLng_init_zero {0, 0} - -/* Field tags (for use in manual encoding/decoding) */ -#define google_type_LatLng_latitude_tag 1 -#define google_type_LatLng_longitude_tag 2 - -/* Struct field encoding specification for nanopb */ -extern const pb_field_t google_type_LatLng_fields[3]; - -/* Maximum encoded size of messages (where known) */ -#define google_type_LatLng_size 18 - -/* Message IDs (where set with "msgid" option) */ -#ifdef PB_MSGID - -#define LATLNG_MESSAGES \ - - -#endif - -#ifdef __cplusplus -} /* extern "C" */ -#endif -/* @@protoc_insertion_point(eof) */ - -#endif -- cgit v1.2.3