Debian Codegraph @

envoy/config/trace/v3/lightstep.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/v3/lightstep.proto
6
7 package tracev3
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 _ "github.com/envoyproxy/go-control-plane/envoy/annotations"
12 v3 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
13 _ "github.com/envoyproxy/protoc-gen-validate/validate"
14 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
15 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
16 reflect "reflect"
17 sync "sync"
18 )
19
20 const (
21 // Verify that this generated code is sufficiently up-to-date.
22 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
23 // Verify that runtime/protoimpl is sufficiently up-to-date.
24 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
25 )
26
27 // Available propagation modes
28 type LightstepConfig_PropagationMode int32
29
30 const (
31 // Propagate trace context in the single header x-ot-span-context.
32 LightstepConfig_ENVOY LightstepConfig_PropagationMode = 0
33 // Propagate trace context using LightStep's native format.
34 LightstepConfig_LIGHTSTEP LightstepConfig_PropagationMode = 1
35 // Propagate trace context using the b3 format.
36 LightstepConfig_B3 LightstepConfig_PropagationMode = 2
37 // Propagation trace context using the w3 trace-context standard.
38 LightstepConfig_TRACE_CONTEXT LightstepConfig_PropagationMode = 3
39 )
40
41 // Enum value maps for LightstepConfig_PropagationMode.
42 var (
43 LightstepConfig_PropagationMode_name = map[int32]string{
44 0: "ENVOY",
45 1: "LIGHTSTEP",
46 2: "B3",
47 3: "TRACE_CONTEXT",
48 }
49 LightstepConfig_PropagationMode_value = map[string]int32{
50 "ENVOY": 0,
51 "LIGHTSTEP": 1,
52 "B3": 2,
53 "TRACE_CONTEXT": 3,
54 }
55 )
56
57 func (x LightstepConfig_PropagationMode) Enum() *LightstepConfig_PropagationMode {
58 p := new(LightstepConfig_PropagationMode)
59 *p = x
60 return p
61 }
62
63 func (x LightstepConfig_PropagationMode) String() string {
64 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
65 }
66
67 func (LightstepConfig_PropagationMode) Descriptor() protoreflect.EnumDescriptor {
68 return file_envoy_config_trace_v3_lightstep_proto_enumTypes[0].Descriptor()
69 }
70
71 func (LightstepConfig_PropagationMode) Type() protoreflect.EnumType {
72 return &file_envoy_config_trace_v3_lightstep_proto_enumTypes[0]
73 }
74
75 func (x LightstepConfig_PropagationMode) Number() protoreflect.EnumNumber {
76 return protoreflect.EnumNumber(x)
77 }
78
79 // Deprecated: Use LightstepConfig_PropagationMode.Descriptor instead.
80 func (LightstepConfig_PropagationMode) EnumDescriptor() ([]byte, []int) {
81 return file_envoy_config_trace_v3_lightstep_proto_rawDescGZIP(), []int{0, 0}
82 }
83
84 // Configuration for the LightStep tracer.
85 // [#extension: envoy.tracers.lightstep]
86 // [#not-implemented-hide:]
87 type LightstepConfig struct {
88 state protoimpl.MessageState
89 sizeCache protoimpl.SizeCache
90 unknownFields protoimpl.UnknownFields
91
92 // The cluster manager cluster that hosts the LightStep collectors.
93 CollectorCluster string `protobuf:"bytes,1,opt,name=collector_cluster,json=collectorCluster,proto3" json:"collector_cluster,omitempty"`
94 // File containing the access token to the `LightStep
95 // <https://lightstep.com/>`_ API.
96 //
97 // Deprecated: Marked as deprecated in envoy/config/trace/v3/lightstep.proto.
98 AccessTokenFile string `protobuf:"bytes,2,opt,name=access_token_file,json=accessTokenFile,proto3" json:"access_token_file,omitempty"`
99 // Access token to the `LightStep <https://lightstep.com/>`_ API.
100 AccessToken *v3.DataSource `protobuf:"bytes,4,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
101 // Propagation modes to use by LightStep's tracer.
102 PropagationModes []LightstepConfig_PropagationMode `protobuf:"varint,3,rep,packed,name=propagation_modes,json=propagationModes,proto3,enum=envoy.config.trace.v3.LightstepConfig_PropagationMode" json:"propagation_modes,omitempty"`
103 }
104
105 func (x *LightstepConfig) Reset() {
106 *x = LightstepConfig{}
107 if protoimpl.UnsafeEnabled {
108 mi := &file_envoy_config_trace_v3_lightstep_proto_msgTypes[0]
109 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
110 ms.StoreMessageInfo(mi)
111 }
112 }
113
114 func (x *LightstepConfig) String() string {
115 return protoimpl.X.MessageStringOf(x)
116 }
117
118 func (*LightstepConfig) ProtoMessage() {}
119
120 func (x *LightstepConfig) ProtoReflect() protoreflect.Message {
121 mi := &file_envoy_config_trace_v3_lightstep_proto_msgTypes[0]
122 if protoimpl.UnsafeEnabled && x != nil {
123 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
124 if ms.LoadMessageInfo() == nil {
125 ms.StoreMessageInfo(mi)
126 }
127 return ms
128 }
129 return mi.MessageOf(x)
130 }
131
132 // Deprecated: Use LightstepConfig.ProtoReflect.Descriptor instead.
133 func (*LightstepConfig) Descriptor() ([]byte, []int) {
134 return file_envoy_config_trace_v3_lightstep_proto_rawDescGZIP(), []int{0}
135 }
136
137 func (x *LightstepConfig) GetCollectorCluster() string {
138 if x != nil {
139 return x.CollectorCluster
140 }
141 return ""
142 }
143
144 // Deprecated: Marked as deprecated in envoy/config/trace/v3/lightstep.proto.
145 func (x *LightstepConfig) GetAccessTokenFile() string {
146 if x != nil {
147 return x.AccessTokenFile
148 }
149 return ""
150 }
151
152 func (x *LightstepConfig) GetAccessToken() *v3.DataSource {
153 if x != nil {
154 return x.AccessToken
155 }
156 return nil
157 }
158
159 func (x *LightstepConfig) GetPropagationModes() []LightstepConfig_PropagationMode {
160 if x != nil {
161 return x.PropagationModes
162 }
163 return nil
164 }
165
166 var File_envoy_config_trace_v3_lightstep_proto protoreflect.FileDescriptor
167
168 var file_envoy_config_trace_v3_lightstep_proto_rawDesc = []byte{
169 0x0a, 0x25, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x74,
170 0x72, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x73, 0x74, 0x65,
171 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63,
172 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x33, 0x1a, 0x1f,
173 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72,
174 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
175 0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
176 0x6e, 0x73, 0x2f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70,
177 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74,
178 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70,
179 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74,
180 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72,
181 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
182 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67,
183 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
184 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
185 0xaf, 0x03, 0x0a, 0x0f, 0x4c, 0x69, 0x67, 0x68, 0x74, 0x73, 0x74, 0x65, 0x70, 0x43, 0x6f, 0x6e,
186 0x66, 0x69, 0x67, 0x12, 0x34, 0x0a, 0x11, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72,
187 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07,
188 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x10, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74,
189 0x6f, 0x72, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x37, 0x0a, 0x11, 0x61, 0x63, 0x63,
190 0x65, 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x02,
191 0x20, 0x01, 0x28, 0x09, 0x42, 0x0b, 0x92, 0xc7, 0x86, 0xd8, 0x04, 0x03, 0x33, 0x2e, 0x30, 0x18,
192 0x01, 0x52, 0x0f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x46, 0x69,
193 0x6c, 0x65, 0x12, 0x43, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x6b,
194 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
195 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e,
196 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65,
197 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x72, 0x0a, 0x11, 0x70, 0x72, 0x6f, 0x70, 0x61,
198 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03,
199 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69,
200 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x69, 0x67, 0x68, 0x74,
201 0x73, 0x74, 0x65, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x61,
202 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x42, 0x0d, 0xfa, 0x42, 0x0a, 0x92,
203 0x01, 0x07, 0x22, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x10, 0x70, 0x72, 0x6f, 0x70, 0x61,
204 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x46, 0x0a, 0x0f, 0x50,
205 0x72, 0x6f, 0x70, 0x61, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x09,
206 0x0a, 0x05, 0x45, 0x4e, 0x56, 0x4f, 0x59, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x4c, 0x49, 0x47,
207 0x48, 0x54, 0x53, 0x54, 0x45, 0x50, 0x10, 0x01, 0x12, 0x06, 0x0a, 0x02, 0x42, 0x33, 0x10, 0x02,
208 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x52, 0x41, 0x43, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x58,
209 0x54, 0x10, 0x03, 0x3a, 0x2c, 0x9a, 0xc5, 0x88, 0x1e, 0x27, 0x0a, 0x25, 0x65, 0x6e, 0x76, 0x6f,
210 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76,
211 0x32, 0x2e, 0x4c, 0x69, 0x67, 0x68, 0x74, 0x73, 0x74, 0x65, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69,
212 0x67, 0x42, 0xb7, 0x01, 0xf2, 0x98, 0xfe, 0x8f, 0x05, 0x2c, 0x12, 0x2a, 0x65, 0x6e, 0x76, 0x6f,
213 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x74, 0x72, 0x61,
214 0x63, 0x65, 0x72, 0x73, 0x2e, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x73, 0x74, 0x65, 0x70, 0x2e, 0x76,
215 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a, 0x23,
216 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e,
217 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65,
218 0x2e, 0x76, 0x33, 0x42, 0x0e, 0x4c, 0x69, 0x67, 0x68, 0x74, 0x73, 0x74, 0x65, 0x70, 0x50, 0x72,
219 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
220 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d,
221 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e,
222 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x74, 0x72, 0x61, 0x63, 0x65,
223 0x2f, 0x76, 0x33, 0x3b, 0x74, 0x72, 0x61, 0x63, 0x65, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f,
224 0x74, 0x6f, 0x33,
225 }
226
227 var (
228 file_envoy_config_trace_v3_lightstep_proto_rawDescOnce sync.Once
229 file_envoy_config_trace_v3_lightstep_proto_rawDescData = file_envoy_config_trace_v3_lightstep_proto_rawDesc
230 )
231
232 func file_envoy_config_trace_v3_lightstep_proto_rawDescGZIP() []byte {
233 file_envoy_config_trace_v3_lightstep_proto_rawDescOnce.Do(func() {
234 file_envoy_config_trace_v3_lightstep_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_trace_v3_lightstep_proto_rawDescData)
235 })
236 return file_envoy_config_trace_v3_lightstep_proto_rawDescData
237 }
238
239 var file_envoy_config_trace_v3_lightstep_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
240 var file_envoy_config_trace_v3_lightstep_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
241 var file_envoy_config_trace_v3_lightstep_proto_goTypes = []interface{}{
242 (LightstepConfig_PropagationMode)(0), // 0: envoy.config.trace.v3.LightstepConfig.PropagationMode
243 (*LightstepConfig)(nil), // 1: envoy.config.trace.v3.LightstepConfig
244 (*v3.DataSource)(nil), // 2: envoy.config.core.v3.DataSource
245 }
246 var file_envoy_config_trace_v3_lightstep_proto_depIdxs = []int32{
247 2, // 0: envoy.config.trace.v3.LightstepConfig.access_token:type_name -> envoy.config.core.v3.DataSource
248 0, // 1: envoy.config.trace.v3.LightstepConfig.propagation_modes:type_name -> envoy.config.trace.v3.LightstepConfig.PropagationMode
249 2, // [2:2] is the sub-list for method output_type
250 2, // [2:2] is the sub-list for method input_type
251 2, // [2:2] is the sub-list for extension type_name
252 2, // [2:2] is the sub-list for extension extendee
253 0, // [0:2] is the sub-list for field type_name
254 }
255
256 func init() { file_envoy_config_trace_v3_lightstep_proto_init() }
257 func file_envoy_config_trace_v3_lightstep_proto_init() {
258 if File_envoy_config_trace_v3_lightstep_proto != nil {
259 return
260 }
261 if !protoimpl.UnsafeEnabled {
262 file_envoy_config_trace_v3_lightstep_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
263 switch v := v.(*LightstepConfig); i {
264 case 0:
265 return &v.state
266 case 1:
267 return &v.sizeCache
268 case 2:
269 return &v.unknownFields
270 default:
271 return nil
272 }
273 }
274 }
275 type x struct{}
276 out := protoimpl.TypeBuilder{
277 File: protoimpl.DescBuilder{
278 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
279 RawDescriptor: file_envoy_config_trace_v3_lightstep_proto_rawDesc,
280 NumEnums: 1,
281 NumMessages: 1,
282 NumExtensions: 0,
283 NumServices: 0,
284 },
285 GoTypes: file_envoy_config_trace_v3_lightstep_proto_goTypes,
286 DependencyIndexes: file_envoy_config_trace_v3_lightstep_proto_depIdxs,
287 EnumInfos: file_envoy_config_trace_v3_lightstep_proto_enumTypes,
288 MessageInfos: file_envoy_config_trace_v3_lightstep_proto_msgTypes,
289 }.Build()
290 File_envoy_config_trace_v3_lightstep_proto = out.File
291 file_envoy_config_trace_v3_lightstep_proto_rawDesc = nil
292 file_envoy_config_trace_v3_lightstep_proto_goTypes = nil
293 file_envoy_config_trace_v3_lightstep_proto_depIdxs = nil
294 }