Debian Codegraph @

envoy/config/trace/v2/dynamic_ot.pb.go

raw
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.30.0
4 // protoc v5.29.1
5 // source: envoy/config/trace/v2/dynamic_ot.proto
6
7 package tracev2
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 _ "github.com/envoyproxy/protoc-gen-validate/validate"
12 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
13 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
14 structpb "google.golang.org/protobuf/types/known/structpb"
15 reflect "reflect"
16 sync "sync"
17 )
18
19 const (
20 // Verify that this generated code is sufficiently up-to-date.
21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
22 // Verify that runtime/protoimpl is sufficiently up-to-date.
23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
24 )
25
26 // DynamicOtConfig is used to dynamically load a tracer from a shared library
27 // that implements the `OpenTracing dynamic loading API
28 // <https://github.com/opentracing/opentracing-cpp>`_.
29 // [#extension: envoy.tracers.dynamic_ot]
30 type DynamicOtConfig struct {
31 state protoimpl.MessageState
32 sizeCache protoimpl.SizeCache
33 unknownFields protoimpl.UnknownFields
34
35 // Dynamic library implementing the `OpenTracing API
36 // <https://github.com/opentracing/opentracing-cpp>`_.
37 Library string `protobuf:"bytes,1,opt,name=library,proto3" json:"library,omitempty"`
38 // The configuration to use when creating a tracer from the given dynamic
39 // library.
40 Config *structpb.Struct `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
41 }
42
43 func (x *DynamicOtConfig) Reset() {
44 *x = DynamicOtConfig{}
45 if protoimpl.UnsafeEnabled {
46 mi := &file_envoy_config_trace_v2_dynamic_ot_proto_msgTypes[0]
47 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
48 ms.StoreMessageInfo(mi)
49 }
50 }
51
52 func (x *DynamicOtConfig) String() string {
53 return protoimpl.X.MessageStringOf(x)
54 }
55
56 func (*DynamicOtConfig) ProtoMessage() {}
57
58 func (x *DynamicOtConfig) ProtoReflect() protoreflect.Message {
59 mi := &file_envoy_config_trace_v2_dynamic_ot_proto_msgTypes[0]
60 if protoimpl.UnsafeEnabled && x != nil {
61 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
62 if ms.LoadMessageInfo() == nil {
63 ms.StoreMessageInfo(mi)
64 }
65 return ms
66 }
67 return mi.MessageOf(x)
68 }
69
70 // Deprecated: Use DynamicOtConfig.ProtoReflect.Descriptor instead.
71 func (*DynamicOtConfig) Descriptor() ([]byte, []int) {
72 return file_envoy_config_trace_v2_dynamic_ot_proto_rawDescGZIP(), []int{0}
73 }
74
75 func (x *DynamicOtConfig) GetLibrary() string {
76 if x != nil {
77 return x.Library
78 }
79 return ""
80 }
81
82 func (x *DynamicOtConfig) GetConfig() *structpb.Struct {
83 if x != nil {
84 return x.Config
85 }
86 return nil
87 }
88
89 var File_envoy_config_trace_v2_dynamic_ot_proto protoreflect.FileDescriptor
90
91 var file_envoy_config_trace_v2_dynamic_ot_proto_rawDesc = []byte{
92 0x0a, 0x26, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x74,
93 0x72, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x32, 0x2f, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f,
94 0x6f, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
95 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x32, 0x1a,
96 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
97 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75,
98 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
99 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61,
100 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e,
101 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x65, 0x0a, 0x0f, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63,
102 0x4f, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x21, 0x0a, 0x07, 0x6c, 0x69, 0x62, 0x72,
103 0x61, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02,
104 0x20, 0x01, 0x52, 0x07, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x12, 0x2f, 0x0a, 0x06, 0x63,
105 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f,
106 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74,
107 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x85, 0x01, 0xba,
108 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x0a, 0x23, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
109 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e,
110 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x32, 0x42, 0x0e, 0x44, 0x79,
111 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x4f, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x44,
112 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79,
113 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c,
114 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e,
115 0x66, 0x69, 0x67, 0x2f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x32, 0x3b, 0x74, 0x72, 0x61,
116 0x63, 0x65, 0x76, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
117 }
118
119 var (
120 file_envoy_config_trace_v2_dynamic_ot_proto_rawDescOnce sync.Once
121 file_envoy_config_trace_v2_dynamic_ot_proto_rawDescData = file_envoy_config_trace_v2_dynamic_ot_proto_rawDesc
122 )
123
124 func file_envoy_config_trace_v2_dynamic_ot_proto_rawDescGZIP() []byte {
125 file_envoy_config_trace_v2_dynamic_ot_proto_rawDescOnce.Do(func() {
126 file_envoy_config_trace_v2_dynamic_ot_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_trace_v2_dynamic_ot_proto_rawDescData)
127 })
128 return file_envoy_config_trace_v2_dynamic_ot_proto_rawDescData
129 }
130
131 var file_envoy_config_trace_v2_dynamic_ot_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
132 var file_envoy_config_trace_v2_dynamic_ot_proto_goTypes = []interface{}{
133 (*DynamicOtConfig)(nil), // 0: envoy.config.trace.v2.DynamicOtConfig
134 (*structpb.Struct)(nil), // 1: google.protobuf.Struct
135 }
136 var file_envoy_config_trace_v2_dynamic_ot_proto_depIdxs = []int32{
137 1, // 0: envoy.config.trace.v2.DynamicOtConfig.config:type_name -> google.protobuf.Struct
138 1, // [1:1] is the sub-list for method output_type
139 1, // [1:1] is the sub-list for method input_type
140 1, // [1:1] is the sub-list for extension type_name
141 1, // [1:1] is the sub-list for extension extendee
142 0, // [0:1] is the sub-list for field type_name
143 }
144
145 func init() { file_envoy_config_trace_v2_dynamic_ot_proto_init() }
146 func file_envoy_config_trace_v2_dynamic_ot_proto_init() {
147 if File_envoy_config_trace_v2_dynamic_ot_proto != nil {
148 return
149 }
150 if !protoimpl.UnsafeEnabled {
151 file_envoy_config_trace_v2_dynamic_ot_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
152 switch v := v.(*DynamicOtConfig); i {
153 case 0:
154 return &v.state
155 case 1:
156 return &v.sizeCache
157 case 2:
158 return &v.unknownFields
159 default:
160 return nil
161 }
162 }
163 }
164 type x struct{}
165 out := protoimpl.TypeBuilder{
166 File: protoimpl.DescBuilder{
167 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
168 RawDescriptor: file_envoy_config_trace_v2_dynamic_ot_proto_rawDesc,
169 NumEnums: 0,
170 NumMessages: 1,
171 NumExtensions: 0,
172 NumServices: 0,
173 },
174 GoTypes: file_envoy_config_trace_v2_dynamic_ot_proto_goTypes,
175 DependencyIndexes: file_envoy_config_trace_v2_dynamic_ot_proto_depIdxs,
176 MessageInfos: file_envoy_config_trace_v2_dynamic_ot_proto_msgTypes,
177 }.Build()
178 File_envoy_config_trace_v2_dynamic_ot_proto = out.File
179 file_envoy_config_trace_v2_dynamic_ot_proto_rawDesc = nil
180 file_envoy_config_trace_v2_dynamic_ot_proto_goTypes = nil
181 file_envoy_config_trace_v2_dynamic_ot_proto_depIdxs = nil
182 }