• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Automatically generated nanopb header */
2 /* Generated by nanopb-0.3.7-dev */
3 
4 #ifndef PB_GRPC_GCP_TRANSPORT_SECURITY_COMMON_PB_H_INCLUDED
5 #define PB_GRPC_GCP_TRANSPORT_SECURITY_COMMON_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 /* Enum definitions */
17 typedef enum _grpc_gcp_SecurityLevel {
18     grpc_gcp_SecurityLevel_SECURITY_NONE = 0,
19     grpc_gcp_SecurityLevel_INTEGRITY_ONLY = 1,
20     grpc_gcp_SecurityLevel_INTEGRITY_AND_PRIVACY = 2
21 } grpc_gcp_SecurityLevel;
22 #define _grpc_gcp_SecurityLevel_MIN grpc_gcp_SecurityLevel_SECURITY_NONE
23 #define _grpc_gcp_SecurityLevel_MAX grpc_gcp_SecurityLevel_INTEGRITY_AND_PRIVACY
24 #define _grpc_gcp_SecurityLevel_ARRAYSIZE ((grpc_gcp_SecurityLevel)(grpc_gcp_SecurityLevel_INTEGRITY_AND_PRIVACY+1))
25 
26 /* Struct definitions */
27 typedef struct _grpc_gcp_RpcProtocolVersions_Version {
28     bool has_major;
29     uint32_t major;
30     bool has_minor;
31     uint32_t minor;
32 /* @@protoc_insertion_point(struct:grpc_gcp_RpcProtocolVersions_Version) */
33 } grpc_gcp_RpcProtocolVersions_Version;
34 
35 typedef struct _grpc_gcp_RpcProtocolVersions {
36     bool has_max_rpc_version;
37     grpc_gcp_RpcProtocolVersions_Version max_rpc_version;
38     bool has_min_rpc_version;
39     grpc_gcp_RpcProtocolVersions_Version min_rpc_version;
40 /* @@protoc_insertion_point(struct:grpc_gcp_RpcProtocolVersions) */
41 } grpc_gcp_RpcProtocolVersions;
42 
43 /* Default values for struct fields */
44 
45 /* Initializer values for message structs */
46 #define grpc_gcp_RpcProtocolVersions_init_default {false, grpc_gcp_RpcProtocolVersions_Version_init_default, false, grpc_gcp_RpcProtocolVersions_Version_init_default}
47 #define grpc_gcp_RpcProtocolVersions_Version_init_default {false, 0, false, 0}
48 #define grpc_gcp_RpcProtocolVersions_init_zero   {false, grpc_gcp_RpcProtocolVersions_Version_init_zero, false, grpc_gcp_RpcProtocolVersions_Version_init_zero}
49 #define grpc_gcp_RpcProtocolVersions_Version_init_zero {false, 0, false, 0}
50 
51 /* Field tags (for use in manual encoding/decoding) */
52 #define grpc_gcp_RpcProtocolVersions_Version_major_tag 1
53 #define grpc_gcp_RpcProtocolVersions_Version_minor_tag 2
54 #define grpc_gcp_RpcProtocolVersions_max_rpc_version_tag 1
55 #define grpc_gcp_RpcProtocolVersions_min_rpc_version_tag 2
56 
57 /* Struct field encoding specification for nanopb */
58 extern const pb_field_t grpc_gcp_RpcProtocolVersions_fields[3];
59 extern const pb_field_t grpc_gcp_RpcProtocolVersions_Version_fields[3];
60 
61 /* Maximum encoded size of messages (where known) */
62 #define grpc_gcp_RpcProtocolVersions_size        28
63 #define grpc_gcp_RpcProtocolVersions_Version_size 12
64 
65 /* Message IDs (where set with "msgid" option) */
66 #ifdef PB_MSGID
67 
68 #define TRANSPORT_SECURITY_COMMON_MESSAGES \
69 
70 
71 #endif
72 
73 #ifdef __cplusplus
74 } /* extern "C" */
75 #endif
76 /* @@protoc_insertion_point(eof) */
77 
78 #endif
79