• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Automatically generated nanopb header */
2 /* Generated by nanopb-0.3.7-dev */
3 
4 #ifndef PB_GOOGLE_PROTOBUF_DURATION_PB_H_INCLUDED
5 #define PB_GOOGLE_PROTOBUF_DURATION_PB_H_INCLUDED
6 #include "pb.h"
7 /* @@protoc_insertion_point(includes) */
8 #if PB_PROTO_HEADER_VERSION != 30
9 #error Regenerate this file with the current version of nanopb generator.
10 #endif
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 /* Struct definitions */
17 typedef struct _google_protobuf_Duration {
18     bool has_seconds;
19     int64_t seconds;
20     bool has_nanos;
21     int32_t nanos;
22 /* @@protoc_insertion_point(struct:google_protobuf_Duration) */
23 } google_protobuf_Duration;
24 
25 /* Default values for struct fields */
26 
27 /* Initializer values for message structs */
28 #define google_protobuf_Duration_init_default    {false, 0, false, 0}
29 #define google_protobuf_Duration_init_zero       {false, 0, false, 0}
30 
31 /* Field tags (for use in manual encoding/decoding) */
32 #define google_protobuf_Duration_seconds_tag     1
33 #define google_protobuf_Duration_nanos_tag       2
34 
35 /* Struct field encoding specification for nanopb */
36 extern const pb_field_t google_protobuf_Duration_fields[3];
37 
38 /* Maximum encoded size of messages (where known) */
39 #define google_protobuf_Duration_size            22
40 
41 /* Message IDs (where set with "msgid" option) */
42 #ifdef PB_MSGID
43 
44 #define DURATION_MESSAGES \
45 
46 
47 #endif
48 
49 #ifdef __cplusplus
50 } /* extern "C" */
51 #endif
52 /* @@protoc_insertion_point(eof) */
53 
54 #endif
55