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