wrappers.nanopb.h 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. /*
  2. * Copyright 2023 Google LLC
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. /* Automatically generated nanopb header */
  17. /* Generated by nanopb-0.3.9.8 */
  18. #ifndef PB_GOOGLE_PROTOBUF_WRAPPERS_NANOPB_H_INCLUDED
  19. #define PB_GOOGLE_PROTOBUF_WRAPPERS_NANOPB_H_INCLUDED
  20. #include <pb.h>
  21. #include <string>
  22. namespace firebase {
  23. namespace firestore {
  24. /* @@protoc_insertion_point(includes) */
  25. #if PB_PROTO_HEADER_VERSION != 30
  26. #error Regenerate this file with the current version of nanopb generator.
  27. #endif
  28. /* Struct definitions */
  29. typedef struct _google_protobuf_BytesValue {
  30. pb_bytes_array_t *value;
  31. std::string ToString(int indent = 0) const;
  32. /* @@protoc_insertion_point(struct:google_protobuf_BytesValue) */
  33. } google_protobuf_BytesValue;
  34. typedef struct _google_protobuf_StringValue {
  35. pb_bytes_array_t *value;
  36. std::string ToString(int indent = 0) const;
  37. /* @@protoc_insertion_point(struct:google_protobuf_StringValue) */
  38. } google_protobuf_StringValue;
  39. typedef struct _google_protobuf_BoolValue {
  40. bool value;
  41. std::string ToString(int indent = 0) const;
  42. /* @@protoc_insertion_point(struct:google_protobuf_BoolValue) */
  43. } google_protobuf_BoolValue;
  44. typedef struct _google_protobuf_DoubleValue {
  45. double value;
  46. std::string ToString(int indent = 0) const;
  47. /* @@protoc_insertion_point(struct:google_protobuf_DoubleValue) */
  48. } google_protobuf_DoubleValue;
  49. typedef struct _google_protobuf_FloatValue {
  50. float value;
  51. std::string ToString(int indent = 0) const;
  52. /* @@protoc_insertion_point(struct:google_protobuf_FloatValue) */
  53. } google_protobuf_FloatValue;
  54. typedef struct _google_protobuf_Int32Value {
  55. int32_t value;
  56. std::string ToString(int indent = 0) const;
  57. /* @@protoc_insertion_point(struct:google_protobuf_Int32Value) */
  58. } google_protobuf_Int32Value;
  59. typedef struct _google_protobuf_Int64Value {
  60. int64_t value;
  61. std::string ToString(int indent = 0) const;
  62. /* @@protoc_insertion_point(struct:google_protobuf_Int64Value) */
  63. } google_protobuf_Int64Value;
  64. typedef struct _google_protobuf_UInt32Value {
  65. uint32_t value;
  66. std::string ToString(int indent = 0) const;
  67. /* @@protoc_insertion_point(struct:google_protobuf_UInt32Value) */
  68. } google_protobuf_UInt32Value;
  69. typedef struct _google_protobuf_UInt64Value {
  70. uint64_t value;
  71. std::string ToString(int indent = 0) const;
  72. /* @@protoc_insertion_point(struct:google_protobuf_UInt64Value) */
  73. } google_protobuf_UInt64Value;
  74. /* Default values for struct fields */
  75. /* Initializer values for message structs */
  76. #define google_protobuf_DoubleValue_init_default {0}
  77. #define google_protobuf_FloatValue_init_default {0}
  78. #define google_protobuf_Int64Value_init_default {0}
  79. #define google_protobuf_UInt64Value_init_default {0}
  80. #define google_protobuf_Int32Value_init_default {0}
  81. #define google_protobuf_UInt32Value_init_default {0}
  82. #define google_protobuf_BoolValue_init_default {0}
  83. #define google_protobuf_StringValue_init_default {NULL}
  84. #define google_protobuf_BytesValue_init_default {NULL}
  85. #define google_protobuf_DoubleValue_init_zero {0}
  86. #define google_protobuf_FloatValue_init_zero {0}
  87. #define google_protobuf_Int64Value_init_zero {0}
  88. #define google_protobuf_UInt64Value_init_zero {0}
  89. #define google_protobuf_Int32Value_init_zero {0}
  90. #define google_protobuf_UInt32Value_init_zero {0}
  91. #define google_protobuf_BoolValue_init_zero {0}
  92. #define google_protobuf_StringValue_init_zero {NULL}
  93. #define google_protobuf_BytesValue_init_zero {NULL}
  94. /* Field tags (for use in manual encoding/decoding) */
  95. #define google_protobuf_BytesValue_value_tag 1
  96. #define google_protobuf_StringValue_value_tag 1
  97. #define google_protobuf_BoolValue_value_tag 1
  98. #define google_protobuf_DoubleValue_value_tag 1
  99. #define google_protobuf_FloatValue_value_tag 1
  100. #define google_protobuf_Int32Value_value_tag 1
  101. #define google_protobuf_Int64Value_value_tag 1
  102. #define google_protobuf_UInt32Value_value_tag 1
  103. #define google_protobuf_UInt64Value_value_tag 1
  104. /* Struct field encoding specification for nanopb */
  105. extern const pb_field_t google_protobuf_DoubleValue_fields[2];
  106. extern const pb_field_t google_protobuf_FloatValue_fields[2];
  107. extern const pb_field_t google_protobuf_Int64Value_fields[2];
  108. extern const pb_field_t google_protobuf_UInt64Value_fields[2];
  109. extern const pb_field_t google_protobuf_Int32Value_fields[2];
  110. extern const pb_field_t google_protobuf_UInt32Value_fields[2];
  111. extern const pb_field_t google_protobuf_BoolValue_fields[2];
  112. extern const pb_field_t google_protobuf_StringValue_fields[2];
  113. extern const pb_field_t google_protobuf_BytesValue_fields[2];
  114. /* Maximum encoded size of messages (where known) */
  115. #define google_protobuf_DoubleValue_size 9
  116. #define google_protobuf_FloatValue_size 5
  117. #define google_protobuf_Int64Value_size 11
  118. #define google_protobuf_UInt64Value_size 11
  119. #define google_protobuf_Int32Value_size 11
  120. #define google_protobuf_UInt32Value_size 6
  121. #define google_protobuf_BoolValue_size 2
  122. /* google_protobuf_StringValue_size depends on runtime parameters */
  123. /* google_protobuf_BytesValue_size depends on runtime parameters */
  124. /* Message IDs (where set with "msgid" option) */
  125. #ifdef PB_MSGID
  126. #define WRAPPERS_MESSAGES \
  127. #endif
  128. } // namespace firestore
  129. } // namespace firebase
  130. /* @@protoc_insertion_point(eof) */
  131. #endif