Debian Codegraph @

envoy/config/trace/v2alpha/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/v2alpha/xray.proto
6
7 package v2alpha
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 core "github.com/envoyproxy/go-control-plane/envoy/api/v2/core"
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 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 type XRayConfig struct {
27 state protoimpl.MessageState
28 sizeCache protoimpl.SizeCache
29 unknownFields protoimpl.UnknownFields
30
31 // The UDP endpoint of the X-Ray Daemon where the spans will be sent.
32 // If this value is not set, the default value of 127.0.0.1:2000 will be used.
33 DaemonEndpoint *core.SocketAddress `protobuf:"bytes,1,opt,name=daemon_endpoint,json=daemonEndpoint,proto3" json:"daemon_endpoint,omitempty"`
34 // The name of the X-Ray segment.
35 SegmentName string `protobuf:"bytes,2,opt,name=segment_name,json=segmentName,proto3" json:"segment_name,omitempty"`
36 // The location of a local custom sampling rules JSON file.
37 // For an example of the sampling rules see:
38 // `X-Ray SDK documentation
39 // <https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-configuration.html#xray-sdk-go-configuration-sampling>`_
40 SamplingRuleManifest *core.DataSource `protobuf:"bytes,3,opt,name=sampling_rule_manifest,json=samplingRuleManifest,proto3" json:"sampling_rule_manifest,omitempty"`
41 }
42
43 func (x *XRayConfig) Reset() {
44 *x = XRayConfig{}
45 if protoimpl.UnsafeEnabled {
46 mi := &file_envoy_config_trace_v2alpha_xray_proto_msgTypes[0]
47 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
48 ms.StoreMessageInfo(mi)
49 }
50 }
51
52 func (x *XRayConfig) String() string {
53 return protoimpl.X.MessageStringOf(x)
54 }
55
56 func (*XRayConfig) ProtoMessage() {}
57
58 func (x *XRayConfig) ProtoReflect() protoreflect.Message {
59 mi := &file_envoy_config_trace_v2alpha_xray_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 XRayConfig.ProtoReflect.Descriptor instead.
71 func (*XRayConfig) Descriptor() ([]byte, []int) {
72 return file_envoy_config_trace_v2alpha_xray_proto_rawDescGZIP(), []int{0}
73 }
74
75 func (x *XRayConfig) GetDaemonEndpoint() *core.SocketAddress {
76 if x != nil {
77 return x.DaemonEndpoint
78 }
79 return nil
80 }
81
82 func (x *XRayConfig) GetSegmentName() string {
83 if x != nil {
84 return x.SegmentName
85 }
86 return ""
87 }
88
89 func (x *XRayConfig) GetSamplingRuleManifest() *core.DataSource {
90 if x != nil {
91 return x.SamplingRuleManifest
92 }
93 return nil
94 }
95
96 var File_envoy_config_trace_v2alpha_xray_proto protoreflect.FileDescriptor
97
98 var file_envoy_config_trace_v2alpha_xray_proto_rawDesc = []byte{
99 0x0a, 0x25, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x74,
100 0x72, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x78, 0x72, 0x61,
101 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63,
102 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x32, 0x61, 0x6c,
103 0x70, 0x68, 0x61, 0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76,
104 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70,
105 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f,
106 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f,
107 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
108 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
109 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69,
110 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd8, 0x01, 0x0a, 0x0a, 0x58,
111 0x52, 0x61, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x49, 0x0a, 0x0f, 0x64, 0x61, 0x65,
112 0x6d, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
113 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
114 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x41, 0x64, 0x64,
115 0x72, 0x65, 0x73, 0x73, 0x52, 0x0e, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x70,
116 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x0c, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f,
117 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72,
118 0x02, 0x10, 0x01, 0x52, 0x0b, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65,
119 0x12, 0x53, 0x0a, 0x16, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6c,
120 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
121 0x32, 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e,
122 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52,
123 0x14, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x4d, 0x61, 0x6e,
124 0x69, 0x66, 0x65, 0x73, 0x74, 0x42, 0x82, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01,
125 0x0a, 0x28, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e,
126 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61,
127 0x63, 0x65, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x09, 0x58, 0x72, 0x61, 0x79,
128 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x41, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
129 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67,
130 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f,
131 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x74, 0x72, 0x61,
132 0x63, 0x65, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
133 0x6f, 0x33,
134 }
135
136 var (
137 file_envoy_config_trace_v2alpha_xray_proto_rawDescOnce sync.Once
138 file_envoy_config_trace_v2alpha_xray_proto_rawDescData = file_envoy_config_trace_v2alpha_xray_proto_rawDesc
139 )
140
141 func file_envoy_config_trace_v2alpha_xray_proto_rawDescGZIP() []byte {
142 file_envoy_config_trace_v2alpha_xray_proto_rawDescOnce.Do(func() {
143 file_envoy_config_trace_v2alpha_xray_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_trace_v2alpha_xray_proto_rawDescData)
144 })
145 return file_envoy_config_trace_v2alpha_xray_proto_rawDescData
146 }
147
148 var file_envoy_config_trace_v2alpha_xray_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
149 var file_envoy_config_trace_v2alpha_xray_proto_goTypes = []interface{}{
150 (*XRayConfig)(nil), // 0: envoy.config.trace.v2alpha.XRayConfig
151 (*core.SocketAddress)(nil), // 1: envoy.api.v2.core.SocketAddress
152 (*core.DataSource)(nil), // 2: envoy.api.v2.core.DataSource
153 }
154 var file_envoy_config_trace_v2alpha_xray_proto_depIdxs = []int32{
155 1, // 0: envoy.config.trace.v2alpha.XRayConfig.daemon_endpoint:type_name -> envoy.api.v2.core.SocketAddress
156 2, // 1: envoy.config.trace.v2alpha.XRayConfig.sampling_rule_manifest:type_name -> envoy.api.v2.core.DataSource
157 2, // [2:2] is the sub-list for method output_type
158 2, // [2:2] is the sub-list for method input_type
159 2, // [2:2] is the sub-list for extension type_name
160 2, // [2:2] is the sub-list for extension extendee
161 0, // [0:2] is the sub-list for field type_name
162 }
163
164 func init() { file_envoy_config_trace_v2alpha_xray_proto_init() }
165 func file_envoy_config_trace_v2alpha_xray_proto_init() {
166 if File_envoy_config_trace_v2alpha_xray_proto != nil {
167 return
168 }
169 if !protoimpl.UnsafeEnabled {
170 file_envoy_config_trace_v2alpha_xray_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
171 switch v := v.(*XRayConfig); i {
172 case 0:
173 return &v.state
174 case 1:
175 return &v.sizeCache
176 case 2:
177 return &v.unknownFields
178 default:
179 return nil
180 }
181 }
182 }
183 type x struct{}
184 out := protoimpl.TypeBuilder{
185 File: protoimpl.DescBuilder{
186 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
187 RawDescriptor: file_envoy_config_trace_v2alpha_xray_proto_rawDesc,
188 NumEnums: 0,
189 NumMessages: 1,
190 NumExtensions: 0,
191 NumServices: 0,
192 },
193 GoTypes: file_envoy_config_trace_v2alpha_xray_proto_goTypes,
194 DependencyIndexes: file_envoy_config_trace_v2alpha_xray_proto_depIdxs,
195 MessageInfos: file_envoy_config_trace_v2alpha_xray_proto_msgTypes,
196 }.Build()
197 File_envoy_config_trace_v2alpha_xray_proto = out.File
198 file_envoy_config_trace_v2alpha_xray_proto_rawDesc = nil
199 file_envoy_config_trace_v2alpha_xray_proto_goTypes = nil
200 file_envoy_config_trace_v2alpha_xray_proto_depIdxs = nil
201 }