• 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_ALTSCONTEXT_PB_H_INCLUDED
5 #define PB_GRPC_GCP_ALTSCONTEXT_PB_H_INCLUDED
6 #include "pb.h"
7 #include "src/core/tsi/alts/handshaker/transport_security_common.pb.h"
8 /* @@protoc_insertion_point(includes) */
9 #if PB_PROTO_HEADER_VERSION != 30
10 #error Regenerate this file with the current version of nanopb generator.
11 #endif
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 /* Struct definitions */
18 typedef struct _grpc_gcp_AltsContext {
19     pb_callback_t application_protocol;
20     pb_callback_t record_protocol;
21     bool has_security_level;
22     grpc_gcp_SecurityLevel security_level;
23     pb_callback_t peer_service_account;
24     pb_callback_t local_service_account;
25     bool has_peer_rpc_versions;
26     grpc_gcp_RpcProtocolVersions peer_rpc_versions;
27 /* @@protoc_insertion_point(struct:grpc_gcp_AltsContext) */
28 } grpc_gcp_AltsContext;
29 
30 /* Default values for struct fields */
31 
32 /* Initializer values for message structs */
33 #define grpc_gcp_AltsContext_init_default        {{{NULL}, NULL}, {{NULL}, NULL}, false, (grpc_gcp_SecurityLevel)0, {{NULL}, NULL}, {{NULL}, NULL}, false, grpc_gcp_RpcProtocolVersions_init_default}
34 #define grpc_gcp_AltsContext_init_zero           {{{NULL}, NULL}, {{NULL}, NULL}, false, (grpc_gcp_SecurityLevel)0, {{NULL}, NULL}, {{NULL}, NULL}, false, grpc_gcp_RpcProtocolVersions_init_zero}
35 
36 /* Field tags (for use in manual encoding/decoding) */
37 #define grpc_gcp_AltsContext_application_protocol_tag 1
38 #define grpc_gcp_AltsContext_record_protocol_tag 2
39 #define grpc_gcp_AltsContext_security_level_tag  3
40 #define grpc_gcp_AltsContext_peer_service_account_tag 4
41 #define grpc_gcp_AltsContext_local_service_account_tag 5
42 #define grpc_gcp_AltsContext_peer_rpc_versions_tag 6
43 
44 /* Struct field encoding specification for nanopb */
45 extern const pb_field_t grpc_gcp_AltsContext_fields[7];
46 
47 /* Maximum encoded size of messages (where known) */
48 /* grpc_gcp_AltsContext_size depends on runtime parameters */
49 
50 /* Message IDs (where set with "msgid" option) */
51 #ifdef PB_MSGID
52 
53 #define ALTSCONTEXT_MESSAGES \
54 
55 
56 #endif
57 
58 #ifdef __cplusplus
59 } /* extern "C" */
60 #endif
61 /* @@protoc_insertion_point(eof) */
62 
63 #endif
64