1 /* This file was generated by upb_generator from the input file: 2 * 3 * opencensus/proto/trace/v1/trace_config.proto 4 * 5 * Do not edit -- your changes will be discarded when the file is 6 * regenerated. */ 7 8 #ifndef OPENCENSUS_PROTO_TRACE_V1_TRACE_CONFIG_PROTO_UPBDEFS_H_ 9 #define OPENCENSUS_PROTO_TRACE_V1_TRACE_CONFIG_PROTO_UPBDEFS_H_ 10 11 #include "upb/reflection/def.h" 12 #include "upb/reflection/internal/def_pool.h" 13 14 #include "upb/port/def.inc" // Must be last. 15 #ifdef __cplusplus 16 extern "C" { 17 #endif 18 19 extern _upb_DefPool_Init opencensus_proto_trace_v1_trace_config_proto_upbdefinit; 20 opencensus_proto_trace_v1_TraceConfig_getmsgdef(upb_DefPool * s)21UPB_INLINE const upb_MessageDef *opencensus_proto_trace_v1_TraceConfig_getmsgdef(upb_DefPool *s) { 22 _upb_DefPool_LoadDefInit(s, &opencensus_proto_trace_v1_trace_config_proto_upbdefinit); 23 return upb_DefPool_FindMessageByName(s, "opencensus.proto.trace.v1.TraceConfig"); 24 } 25 opencensus_proto_trace_v1_ProbabilitySampler_getmsgdef(upb_DefPool * s)26UPB_INLINE const upb_MessageDef *opencensus_proto_trace_v1_ProbabilitySampler_getmsgdef(upb_DefPool *s) { 27 _upb_DefPool_LoadDefInit(s, &opencensus_proto_trace_v1_trace_config_proto_upbdefinit); 28 return upb_DefPool_FindMessageByName(s, "opencensus.proto.trace.v1.ProbabilitySampler"); 29 } 30 opencensus_proto_trace_v1_ConstantSampler_getmsgdef(upb_DefPool * s)31UPB_INLINE const upb_MessageDef *opencensus_proto_trace_v1_ConstantSampler_getmsgdef(upb_DefPool *s) { 32 _upb_DefPool_LoadDefInit(s, &opencensus_proto_trace_v1_trace_config_proto_upbdefinit); 33 return upb_DefPool_FindMessageByName(s, "opencensus.proto.trace.v1.ConstantSampler"); 34 } 35 opencensus_proto_trace_v1_RateLimitingSampler_getmsgdef(upb_DefPool * s)36UPB_INLINE const upb_MessageDef *opencensus_proto_trace_v1_RateLimitingSampler_getmsgdef(upb_DefPool *s) { 37 _upb_DefPool_LoadDefInit(s, &opencensus_proto_trace_v1_trace_config_proto_upbdefinit); 38 return upb_DefPool_FindMessageByName(s, "opencensus.proto.trace.v1.RateLimitingSampler"); 39 } 40 41 #ifdef __cplusplus 42 } /* extern "C" */ 43 #endif 44 45 #include "upb/port/undef.inc" 46 47 #endif /* OPENCENSUS_PROTO_TRACE_V1_TRACE_CONFIG_PROTO_UPBDEFS_H_ */ 48