Home | History | Annotate | Download | only in handshaker
      1 /* Automatically generated nanopb constant definitions */
      2 /* Generated by nanopb-0.3.7-dev */
      3 
      4 #include "src/core/tsi/alts/handshaker/altscontext.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_AltsContext_fields[7] = {
     13     PB_FIELD(  1, STRING  , OPTIONAL, CALLBACK, FIRST, grpc_gcp_AltsContext, application_protocol, application_protocol, 0),
     14     PB_FIELD(  2, STRING  , OPTIONAL, CALLBACK, OTHER, grpc_gcp_AltsContext, record_protocol, application_protocol, 0),
     15     PB_FIELD(  3, UENUM   , OPTIONAL, STATIC  , OTHER, grpc_gcp_AltsContext, security_level, record_protocol, 0),
     16     PB_FIELD(  4, STRING  , OPTIONAL, CALLBACK, OTHER, grpc_gcp_AltsContext, peer_service_account, security_level, 0),
     17     PB_FIELD(  5, STRING  , OPTIONAL, CALLBACK, OTHER, grpc_gcp_AltsContext, local_service_account, peer_service_account, 0),
     18     PB_FIELD(  6, MESSAGE , OPTIONAL, STATIC  , OTHER, grpc_gcp_AltsContext, peer_rpc_versions, local_service_account, &grpc_gcp_RpcProtocolVersions_fields),
     19     PB_LAST_FIELD
     20 };
     21 
     22 
     23 /* Check that field information fits in pb_field_t */
     24 #if !defined(PB_FIELD_32BIT)
     25 /* If you get an error here, it means that you need to define PB_FIELD_32BIT
     26  * compile-time option. You can do that in pb.h or on compiler command line.
     27  *
     28  * The reason you need to do this is that some of your messages contain tag
     29  * numbers or field sizes that are larger than what can fit in 8 or 16 bit
     30  * field descriptors.
     31  */
     32 PB_STATIC_ASSERT((pb_membersize(grpc_gcp_AltsContext, peer_rpc_versions) < 65536), YOU_MUST_DEFINE_PB_FIELD_32BIT_FOR_MESSAGES_grpc_gcp_AltsContext)
     33 #endif
     34 
     35 #if !defined(PB_FIELD_16BIT) && !defined(PB_FIELD_32BIT)
     36 /* If you get an error here, it means that you need to define PB_FIELD_16BIT
     37  * compile-time option. You can do that in pb.h or on compiler command line.
     38  *
     39  * The reason you need to do this is that some of your messages contain tag
     40  * numbers or field sizes that are larger than what can fit in the default
     41  * 8 bit descriptors.
     42  */
     43 PB_STATIC_ASSERT((pb_membersize(grpc_gcp_AltsContext, peer_rpc_versions) < 256), YOU_MUST_DEFINE_PB_FIELD_16BIT_FOR_MESSAGES_grpc_gcp_AltsContext)
     44 #endif
     45 
     46 
     47 /* @@protoc_insertion_point(eof) */
     48