Debian Codegraph @

envoy/config/trace/v2/datadog.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/datadog.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 reflect "reflect"
15 sync "sync"
16 )
17
18 const (
19 // Verify that this generated code is sufficiently up-to-date.
20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
21 // Verify that runtime/protoimpl is sufficiently up-to-date.
22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
23 )
24
25 // Configuration for the Datadog tracer.
26 // [#extension: envoy.tracers.datadog]
27 type DatadogConfig struct {
28 state protoimpl.MessageState
29 sizeCache protoimpl.SizeCache
30 unknownFields protoimpl.UnknownFields
31
32 // The cluster to use for submitting traces to the Datadog agent.
33 CollectorCluster string `protobuf:"bytes,1,opt,name=collector_cluster,json=collectorCluster,proto3" json:"collector_cluster,omitempty"`
34 // The name used for the service when traces are generated by envoy.
35 ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
36 }
37
38 func (x *DatadogConfig) Reset() {
39 *x = DatadogConfig{}
40 if protoimpl.UnsafeEnabled {
41 mi := &file_envoy_config_trace_v2_datadog_proto_msgTypes[0]
42 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
43 ms.StoreMessageInfo(mi)
44 }
45 }
46
47 func (x *DatadogConfig) String() string {
48 return protoimpl.X.MessageStringOf(x)
49 }
50
51 func (*DatadogConfig) ProtoMessage() {}
52
53 func (x *DatadogConfig) ProtoReflect() protoreflect.Message {
54 mi := &file_envoy_config_trace_v2_datadog_proto_msgTypes[0]
55 if protoimpl.UnsafeEnabled && x != nil {
56 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
57 if ms.LoadMessageInfo() == nil {
58 ms.StoreMessageInfo(mi)
59 }
60 return ms
61 }
62 return mi.MessageOf(x)
63 }
64
65 // Deprecated: Use DatadogConfig.ProtoReflect.Descriptor instead.
66 func (*DatadogConfig) Descriptor() ([]byte, []int) {
67 return file_envoy_config_trace_v2_datadog_proto_rawDescGZIP(), []int{0}
68 }
69
70 func (x *DatadogConfig) GetCollectorCluster() string {
71 if x != nil {
72 return x.CollectorCluster
73 }
74 return ""
75 }
76
77 func (x *DatadogConfig) GetServiceName() string {
78 if x != nil {
79 return x.ServiceName
80 }
81 return ""
82 }
83
84 var File_envoy_config_trace_v2_datadog_proto protoreflect.FileDescriptor
85
86 var file_envoy_config_trace_v2_datadog_proto_rawDesc = []byte{
87 0x0a, 0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x74,
88 0x72, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x32, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e,
89 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e,
90 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x32, 0x1a, 0x1d, 0x75, 0x64,
91 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73,
92 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c,
93 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70,
94 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x71, 0x0a, 0x0d, 0x44, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x43,
95 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x34, 0x0a, 0x11, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74,
96 0x6f, 0x72, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
97 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x52, 0x10, 0x63, 0x6f, 0x6c, 0x6c, 0x65,
98 0x63, 0x74, 0x6f, 0x72, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x2a, 0x0a, 0x0c, 0x73,
99 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
100 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76,
101 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x83, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02,
102 0x10, 0x01, 0x0a, 0x23, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78,
103 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74,
104 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x32, 0x42, 0x0c, 0x44, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67,
105 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
106 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67,
107 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f,
108 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x74, 0x72, 0x61,
109 0x63, 0x65, 0x2f, 0x76, 0x32, 0x3b, 0x74, 0x72, 0x61, 0x63, 0x65, 0x76, 0x32, 0x62, 0x06, 0x70,
110 0x72, 0x6f, 0x74, 0x6f, 0x33,
111 }
112
113 var (
114 file_envoy_config_trace_v2_datadog_proto_rawDescOnce sync.Once
115 file_envoy_config_trace_v2_datadog_proto_rawDescData = file_envoy_config_trace_v2_datadog_proto_rawDesc
116 )
117
118 func file_envoy_config_trace_v2_datadog_proto_rawDescGZIP() []byte {
119 file_envoy_config_trace_v2_datadog_proto_rawDescOnce.Do(func() {
120 file_envoy_config_trace_v2_datadog_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_trace_v2_datadog_proto_rawDescData)
121 })
122 return file_envoy_config_trace_v2_datadog_proto_rawDescData
123 }
124
125 var file_envoy_config_trace_v2_datadog_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
126 var file_envoy_config_trace_v2_datadog_proto_goTypes = []interface{}{
127 (*DatadogConfig)(nil), // 0: envoy.config.trace.v2.DatadogConfig
128 }
129 var file_envoy_config_trace_v2_datadog_proto_depIdxs = []int32{
130 0, // [0:0] is the sub-list for method output_type
131 0, // [0:0] is the sub-list for method input_type
132 0, // [0:0] is the sub-list for extension type_name
133 0, // [0:0] is the sub-list for extension extendee
134 0, // [0:0] is the sub-list for field type_name
135 }
136
137 func init() { file_envoy_config_trace_v2_datadog_proto_init() }
138 func file_envoy_config_trace_v2_datadog_proto_init() {
139 if File_envoy_config_trace_v2_datadog_proto != nil {
140 return
141 }
142 if !protoimpl.UnsafeEnabled {
143 file_envoy_config_trace_v2_datadog_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
144 switch v := v.(*DatadogConfig); i {
145 case 0:
146 return &v.state
147 case 1:
148 return &v.sizeCache
149 case 2:
150 return &v.unknownFields
151 default:
152 return nil
153 }
154 }
155 }
156 type x struct{}
157 out := protoimpl.TypeBuilder{
158 File: protoimpl.DescBuilder{
159 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
160 RawDescriptor: file_envoy_config_trace_v2_datadog_proto_rawDesc,
161 NumEnums: 0,
162 NumMessages: 1,
163 NumExtensions: 0,
164 NumServices: 0,
165 },
166 GoTypes: file_envoy_config_trace_v2_datadog_proto_goTypes,
167 DependencyIndexes: file_envoy_config_trace_v2_datadog_proto_depIdxs,
168 MessageInfos: file_envoy_config_trace_v2_datadog_proto_msgTypes,
169 }.Build()
170 File_envoy_config_trace_v2_datadog_proto = out.File
171 file_envoy_config_trace_v2_datadog_proto_rawDesc = nil
172 file_envoy_config_trace_v2_datadog_proto_goTypes = nil
173 file_envoy_config_trace_v2_datadog_proto_depIdxs = nil
174 }