Debian Codegraph @

envoy/config/trace/v3/xray.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/xray.proto
6
7 package tracev3
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 v3 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
12 _ "github.com/envoyproxy/protoc-gen-validate/validate"
13 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
14 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
15 structpb "google.golang.org/protobuf/types/known/structpb"
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 // [#extension: envoy.tracers.xray]
28 type XRayConfig struct {
29 state protoimpl.MessageState
30 sizeCache protoimpl.SizeCache
31 unknownFields protoimpl.UnknownFields
32
33 // The UDP endpoint of the X-Ray Daemon where the spans will be sent.
34 // If this value is not set, the default value of 127.0.0.1:2000 will be used.
35 DaemonEndpoint *v3.SocketAddress `protobuf:"bytes,1,opt,name=daemon_endpoint,json=daemonEndpoint,proto3" json:"daemon_endpoint,omitempty"`
36 // The name of the X-Ray segment.
37 SegmentName string `protobuf:"bytes,2,opt,name=segment_name,json=segmentName,proto3" json:"segment_name,omitempty"`
38 // The location of a local custom sampling rules JSON file.
39 // For an example of the sampling rules see:
40 // `X-Ray SDK documentation
41 // <https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-configuration.html#xray-sdk-go-configuration-sampling>`_
42 SamplingRuleManifest *v3.DataSource `protobuf:"bytes,3,opt,name=sampling_rule_manifest,json=samplingRuleManifest,proto3" json:"sampling_rule_manifest,omitempty"`
43 // Optional custom fields to be added to each trace segment.
44 // see: `X-Ray Segment Document documentation
45 // <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html>`__
46 SegmentFields *XRayConfig_SegmentFields `protobuf:"bytes,4,opt,name=segment_fields,json=segmentFields,proto3" json:"segment_fields,omitempty"`
47 }
48
49 func (x *XRayConfig) Reset() {
50 *x = XRayConfig{}
51 if protoimpl.UnsafeEnabled {
52 mi := &file_envoy_config_trace_v3_xray_proto_msgTypes[0]
53 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
54 ms.StoreMessageInfo(mi)
55 }
56 }
57
58 func (x *XRayConfig) String() string {
59 return protoimpl.X.MessageStringOf(x)
60 }
61
62 func (*XRayConfig) ProtoMessage() {}
63
64 func (x *XRayConfig) ProtoReflect() protoreflect.Message {
65 mi := &file_envoy_config_trace_v3_xray_proto_msgTypes[0]
66 if protoimpl.UnsafeEnabled && x != nil {
67 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
68 if ms.LoadMessageInfo() == nil {
69 ms.StoreMessageInfo(mi)
70 }
71 return ms
72 }
73 return mi.MessageOf(x)
74 }
75
76 // Deprecated: Use XRayConfig.ProtoReflect.Descriptor instead.
77 func (*XRayConfig) Descriptor() ([]byte, []int) {
78 return file_envoy_config_trace_v3_xray_proto_rawDescGZIP(), []int{0}
79 }
80
81 func (x *XRayConfig) GetDaemonEndpoint() *v3.SocketAddress {
82 if x != nil {
83 return x.DaemonEndpoint
84 }
85 return nil
86 }
87
88 func (x *XRayConfig) GetSegmentName() string {
89 if x != nil {
90 return x.SegmentName
91 }
92 return ""
93 }
94
95 func (x *XRayConfig) GetSamplingRuleManifest() *v3.DataSource {
96 if x != nil {
97 return x.SamplingRuleManifest
98 }
99 return nil
100 }
101
102 func (x *XRayConfig) GetSegmentFields() *XRayConfig_SegmentFields {
103 if x != nil {
104 return x.SegmentFields
105 }
106 return nil
107 }
108
109 type XRayConfig_SegmentFields struct {
110 state protoimpl.MessageState
111 sizeCache protoimpl.SizeCache
112 unknownFields protoimpl.UnknownFields
113
114 // The type of AWS resource, e.g. "AWS::AppMesh::Proxy".
115 Origin string `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"`
116 // AWS resource metadata dictionary.
117 // See: `X-Ray Segment Document documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html#api-segmentdocuments-aws>`__
118 Aws *structpb.Struct `protobuf:"bytes,2,opt,name=aws,proto3" json:"aws,omitempty"`
119 }
120
121 func (x *XRayConfig_SegmentFields) Reset() {
122 *x = XRayConfig_SegmentFields{}
123 if protoimpl.UnsafeEnabled {
124 mi := &file_envoy_config_trace_v3_xray_proto_msgTypes[1]
125 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
126 ms.StoreMessageInfo(mi)
127 }
128 }
129
130 func (x *XRayConfig_SegmentFields) String() string {
131 return protoimpl.X.MessageStringOf(x)
132 }
133
134 func (*XRayConfig_SegmentFields) ProtoMessage() {}
135
136 func (x *XRayConfig_SegmentFields) ProtoReflect() protoreflect.Message {
137 mi := &file_envoy_config_trace_v3_xray_proto_msgTypes[1]
138 if protoimpl.UnsafeEnabled && x != nil {
139 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
140 if ms.LoadMessageInfo() == nil {
141 ms.StoreMessageInfo(mi)
142 }
143 return ms
144 }
145 return mi.MessageOf(x)
146 }
147
148 // Deprecated: Use XRayConfig_SegmentFields.ProtoReflect.Descriptor instead.
149 func (*XRayConfig_SegmentFields) Descriptor() ([]byte, []int) {
150 return file_envoy_config_trace_v3_xray_proto_rawDescGZIP(), []int{0, 0}
151 }
152
153 func (x *XRayConfig_SegmentFields) GetOrigin() string {
154 if x != nil {
155 return x.Origin
156 }
157 return ""
158 }
159
160 func (x *XRayConfig_SegmentFields) GetAws() *structpb.Struct {
161 if x != nil {
162 return x.Aws
163 }
164 return nil
165 }
166
167 var File_envoy_config_trace_v3_xray_proto protoreflect.FileDescriptor
168
169 var file_envoy_config_trace_v3_xray_proto_rawDesc = []byte{
170 0x0a, 0x20, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x74,
171 0x72, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f,
172 0x74, 0x6f, 0x12, 0x15, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
173 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x33, 0x1a, 0x22, 0x65, 0x6e, 0x76, 0x6f, 0x79,
174 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f,
175 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x65,
176 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65,
177 0x2f, 0x76, 0x33, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c,
178 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
179 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x75, 0x64,
180 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d,
181 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64,
182 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73,
183 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70,
184 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65,
185 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17,
186 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74,
187 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb8, 0x03, 0x0a, 0x0a, 0x58, 0x52, 0x61, 0x79,
188 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4c, 0x0a, 0x0f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e,
189 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
190 0x23, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63,
191 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x41, 0x64, 0x64,
192 0x72, 0x65, 0x73, 0x73, 0x52, 0x0e, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x70,
193 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x0c, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f,
194 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72,
195 0x02, 0x10, 0x01, 0x52, 0x0b, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65,
196 0x12, 0x56, 0x0a, 0x16, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6c,
197 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
198 0x32, 0x20, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
199 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72,
200 0x63, 0x65, 0x52, 0x14, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65,
201 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x12, 0x56, 0x0a, 0x0e, 0x73, 0x65, 0x67, 0x6d,
202 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
203 0x32, 0x2f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
204 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x58, 0x52, 0x61, 0x79, 0x43, 0x6f, 0x6e,
205 0x66, 0x69, 0x67, 0x2e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64,
206 0x73, 0x52, 0x0d, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73,
207 0x1a, 0x52, 0x0a, 0x0d, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64,
208 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
209 0x09, 0x52, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x12, 0x29, 0x0a, 0x03, 0x61, 0x77, 0x73,
210 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
211 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52,
212 0x03, 0x61, 0x77, 0x73, 0x3a, 0x2c, 0x9a, 0xc5, 0x88, 0x1e, 0x27, 0x0a, 0x25, 0x65, 0x6e, 0x76,
213 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e,
214 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x58, 0x52, 0x61, 0x79, 0x43, 0x6f, 0x6e, 0x66,
215 0x69, 0x67, 0x42, 0xad, 0x01, 0xf2, 0x98, 0xfe, 0x8f, 0x05, 0x27, 0x12, 0x25, 0x65, 0x6e, 0x76,
216 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x74, 0x72,
217 0x61, 0x63, 0x65, 0x72, 0x73, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70,
218 0x68, 0x61, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a, 0x23, 0x69, 0x6f, 0x2e, 0x65,
219 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
220 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x33, 0x42,
221 0x09, 0x58, 0x72, 0x61, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x44, 0x67, 0x69,
222 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72,
223 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70,
224 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
225 0x67, 0x2f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x33, 0x3b, 0x74, 0x72, 0x61, 0x63, 0x65,
226 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
227 }
228
229 var (
230 file_envoy_config_trace_v3_xray_proto_rawDescOnce sync.Once
231 file_envoy_config_trace_v3_xray_proto_rawDescData = file_envoy_config_trace_v3_xray_proto_rawDesc
232 )
233
234 func file_envoy_config_trace_v3_xray_proto_rawDescGZIP() []byte {
235 file_envoy_config_trace_v3_xray_proto_rawDescOnce.Do(func() {
236 file_envoy_config_trace_v3_xray_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_trace_v3_xray_proto_rawDescData)
237 })
238 return file_envoy_config_trace_v3_xray_proto_rawDescData
239 }
240
241 var file_envoy_config_trace_v3_xray_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
242 var file_envoy_config_trace_v3_xray_proto_goTypes = []interface{}{
243 (*XRayConfig)(nil), // 0: envoy.config.trace.v3.XRayConfig
244 (*XRayConfig_SegmentFields)(nil), // 1: envoy.config.trace.v3.XRayConfig.SegmentFields
245 (*v3.SocketAddress)(nil), // 2: envoy.config.core.v3.SocketAddress
246 (*v3.DataSource)(nil), // 3: envoy.config.core.v3.DataSource
247 (*structpb.Struct)(nil), // 4: google.protobuf.Struct
248 }
249 var file_envoy_config_trace_v3_xray_proto_depIdxs = []int32{
250 2, // 0: envoy.config.trace.v3.XRayConfig.daemon_endpoint:type_name -> envoy.config.core.v3.SocketAddress
251 3, // 1: envoy.config.trace.v3.XRayConfig.sampling_rule_manifest:type_name -> envoy.config.core.v3.DataSource
252 1, // 2: envoy.config.trace.v3.XRayConfig.segment_fields:type_name -> envoy.config.trace.v3.XRayConfig.SegmentFields
253 4, // 3: envoy.config.trace.v3.XRayConfig.SegmentFields.aws:type_name -> google.protobuf.Struct
254 4, // [4:4] is the sub-list for method output_type
255 4, // [4:4] is the sub-list for method input_type
256 4, // [4:4] is the sub-list for extension type_name
257 4, // [4:4] is the sub-list for extension extendee
258 0, // [0:4] is the sub-list for field type_name
259 }
260
261 func init() { file_envoy_config_trace_v3_xray_proto_init() }
262 func file_envoy_config_trace_v3_xray_proto_init() {
263 if File_envoy_config_trace_v3_xray_proto != nil {
264 return
265 }
266 if !protoimpl.UnsafeEnabled {
267 file_envoy_config_trace_v3_xray_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
268 switch v := v.(*XRayConfig); i {
269 case 0:
270 return &v.state
271 case 1:
272 return &v.sizeCache
273 case 2:
274 return &v.unknownFields
275 default:
276 return nil
277 }
278 }
279 file_envoy_config_trace_v3_xray_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
280 switch v := v.(*XRayConfig_SegmentFields); i {
281 case 0:
282 return &v.state
283 case 1:
284 return &v.sizeCache
285 case 2:
286 return &v.unknownFields
287 default:
288 return nil
289 }
290 }
291 }
292 type x struct{}
293 out := protoimpl.TypeBuilder{
294 File: protoimpl.DescBuilder{
295 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
296 RawDescriptor: file_envoy_config_trace_v3_xray_proto_rawDesc,
297 NumEnums: 0,
298 NumMessages: 2,
299 NumExtensions: 0,
300 NumServices: 0,
301 },
302 GoTypes: file_envoy_config_trace_v3_xray_proto_goTypes,
303 DependencyIndexes: file_envoy_config_trace_v3_xray_proto_depIdxs,
304 MessageInfos: file_envoy_config_trace_v3_xray_proto_msgTypes,
305 }.Build()
306 File_envoy_config_trace_v3_xray_proto = out.File
307 file_envoy_config_trace_v3_xray_proto_rawDesc = nil
308 file_envoy_config_trace_v3_xray_proto_goTypes = nil
309 file_envoy_config_trace_v3_xray_proto_depIdxs = nil
310 }