any.nanopb.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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_ANY_NANOPB_H_INCLUDED
  19. #define PB_GOOGLE_PROTOBUF_ANY_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_Any {
  30. pb_bytes_array_t *type_url;
  31. pb_bytes_array_t *value;
  32. std::string ToString(int indent = 0) const;
  33. /* @@protoc_insertion_point(struct:google_protobuf_Any) */
  34. } google_protobuf_Any;
  35. /* Default values for struct fields */
  36. /* Initializer values for message structs */
  37. #define google_protobuf_Any_init_default {NULL, NULL}
  38. #define google_protobuf_Any_init_zero {NULL, NULL}
  39. /* Field tags (for use in manual encoding/decoding) */
  40. #define google_protobuf_Any_type_url_tag 1
  41. #define google_protobuf_Any_value_tag 2
  42. /* Struct field encoding specification for nanopb */
  43. extern const pb_field_t google_protobuf_Any_fields[3];
  44. /* Maximum encoded size of messages (where known) */
  45. /* google_protobuf_Any_size depends on runtime parameters */
  46. /* Message IDs (where set with "msgid" option) */
  47. #ifdef PB_MSGID
  48. #define ANY_MESSAGES \
  49. #endif
  50. } // namespace firestore
  51. } // namespace firebase
  52. /* @@protoc_insertion_point(eof) */
  53. #endif