• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Automatically generated nanopb constant definitions */
2 /* Generated by nanopb-0.3.7-dev */
3 
4 #include "src/core/tsi/alts/handshaker/transport_security_common.pb.h"
5 /* @@protoc_insertion_point(includes) */
6 #if PB_PROTO_HEADER_VERSION != 30
7 #error Regenerate this file with the current version of nanopb generator.
8 #endif
9 
10 
11 
12 const pb_field_t grpc_gcp_RpcProtocolVersions_fields[3] = {
13     PB_FIELD(  1, MESSAGE , OPTIONAL, STATIC  , FIRST, grpc_gcp_RpcProtocolVersions, max_rpc_version, max_rpc_version, &grpc_gcp_RpcProtocolVersions_Version_fields),
14     PB_FIELD(  2, MESSAGE , OPTIONAL, STATIC  , OTHER, grpc_gcp_RpcProtocolVersions, min_rpc_version, max_rpc_version, &grpc_gcp_RpcProtocolVersions_Version_fields),
15     PB_LAST_FIELD
16 };
17 
18 const pb_field_t grpc_gcp_RpcProtocolVersions_Version_fields[3] = {
19     PB_FIELD(  1, UINT32  , OPTIONAL, STATIC  , FIRST, grpc_gcp_RpcProtocolVersions_Version, major, major, 0),
20     PB_FIELD(  2, UINT32  , OPTIONAL, STATIC  , OTHER, grpc_gcp_RpcProtocolVersions_Version, minor, major, 0),
21     PB_LAST_FIELD
22 };
23 
24 
25 /* Check that field information fits in pb_field_t */
26 #if !defined(PB_FIELD_32BIT)
27 /* If you get an error here, it means that you need to define PB_FIELD_32BIT
28  * compile-time option. You can do that in pb.h or on compiler command line.
29  *
30  * The reason you need to do this is that some of your messages contain tag
31  * numbers or field sizes that are larger than what can fit in 8 or 16 bit
32  * field descriptors.
33  */
34 PB_STATIC_ASSERT((pb_membersize(grpc_gcp_RpcProtocolVersions, max_rpc_version) < 65536 && pb_membersize(grpc_gcp_RpcProtocolVersions, min_rpc_version) < 65536), YOU_MUST_DEFINE_PB_FIELD_32BIT_FOR_MESSAGES_grpc_gcp_RpcProtocolVersions_grpc_gcp_RpcProtocolVersions_Version)
35 #endif
36 
37 #if !defined(PB_FIELD_16BIT) && !defined(PB_FIELD_32BIT)
38 /* If you get an error here, it means that you need to define PB_FIELD_16BIT
39  * compile-time option. You can do that in pb.h or on compiler command line.
40  *
41  * The reason you need to do this is that some of your messages contain tag
42  * numbers or field sizes that are larger than what can fit in the default
43  * 8 bit descriptors.
44  */
45 PB_STATIC_ASSERT((pb_membersize(grpc_gcp_RpcProtocolVersions, max_rpc_version) < 256 && pb_membersize(grpc_gcp_RpcProtocolVersions, min_rpc_version) < 256), YOU_MUST_DEFINE_PB_FIELD_16BIT_FOR_MESSAGES_grpc_gcp_RpcProtocolVersions_grpc_gcp_RpcProtocolVersions_Version)
46 #endif
47 
48 
49 /* @@protoc_insertion_point(eof) */
50