1
2
3
4
5
6
7 package envoy_config_trace_v3
8
9 import (
10 _ "github.com/cncf/udpa/go/udpa/annotations"
11 _ "github.com/envoyproxy/protoc-gen-validate/validate"
12 proto "github.com/golang/protobuf/proto"
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
21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
22
23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
24 )
25
26
27
28 const _ = proto.ProtoPackageIsVersion4
29
30
31
32 type DatadogConfig struct {
33 state protoimpl.MessageState
34 sizeCache protoimpl.SizeCache
35 unknownFields protoimpl.UnknownFields
36
37
38 CollectorCluster string `protobuf:"bytes,1,opt,name=collector_cluster,json=collectorCluster,proto3" json:"collector_cluster,omitempty"`
39
40 ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
41 }
42
43 func (x *DatadogConfig) Reset() {
44 *x = DatadogConfig{}
45 if protoimpl.UnsafeEnabled {
46 mi := &file_envoy_config_trace_v3_datadog_proto_msgTypes[0]
47 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
48 ms.StoreMessageInfo(mi)
49 }
50 }
51
52 func (x *DatadogConfig) String() string {
53 return protoimpl.X.MessageStringOf(x)
54 }
55
56 func (*DatadogConfig) ProtoMessage() {}
57
58 func (x *DatadogConfig) ProtoReflect() protoreflect.Message {
59 mi := &file_envoy_config_trace_v3_datadog_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
71 func (*DatadogConfig) Descriptor() ([]byte, []int) {
72 return file_envoy_config_trace_v3_datadog_proto_rawDescGZIP(), []int{0}
73 }
74
75 func (x *DatadogConfig) GetCollectorCluster() string {
76 if x != nil {
77 return x.CollectorCluster
78 }
79 return ""
80 }
81
82 func (x *DatadogConfig) GetServiceName() string {
83 if x != nil {
84 return x.ServiceName
85 }
86 return ""
87 }
88
89 var File_envoy_config_trace_v3_datadog_proto protoreflect.FileDescriptor
90
91 var file_envoy_config_trace_v3_datadog_proto_rawDesc = []byte{
92 0x0a, 0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x74,
93 0x72, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e,
94 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e,
95 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x33, 0x1a, 0x1e, 0x75, 0x64,
96 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d,
97 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64,
98 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73,
99 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70,
100 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65,
101 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17,
102 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74,
103 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9d, 0x01, 0x0a, 0x0d, 0x44, 0x61, 0x74, 0x61,
104 0x64, 0x6f, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x34, 0x0a, 0x11, 0x63, 0x6f, 0x6c,
105 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01,
106 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x10, 0x63,
107 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12,
108 0x2a, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
109 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x0b,
110 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x3a, 0x2a, 0x9a, 0xc5, 0x88,
111 0x1e, 0x25, 0x0a, 0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
112 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x64, 0x6f,
113 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x6d, 0x0a, 0x23, 0x69, 0x6f, 0x2e, 0x65, 0x6e,
114 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63,
115 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x33, 0x42, 0x0c,
116 0x44, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xf2, 0x98,
117 0xfe, 0x8f, 0x05, 0x2a, 0x12, 0x28, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65,
118 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x72, 0x73, 0x2e, 0x64,
119 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0xba, 0x80,
120 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
121 }
122
123 var (
124 file_envoy_config_trace_v3_datadog_proto_rawDescOnce sync.Once
125 file_envoy_config_trace_v3_datadog_proto_rawDescData = file_envoy_config_trace_v3_datadog_proto_rawDesc
126 )
127
128 func file_envoy_config_trace_v3_datadog_proto_rawDescGZIP() []byte {
129 file_envoy_config_trace_v3_datadog_proto_rawDescOnce.Do(func() {
130 file_envoy_config_trace_v3_datadog_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_trace_v3_datadog_proto_rawDescData)
131 })
132 return file_envoy_config_trace_v3_datadog_proto_rawDescData
133 }
134
135 var file_envoy_config_trace_v3_datadog_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
136 var file_envoy_config_trace_v3_datadog_proto_goTypes = []interface{}{
137 (*DatadogConfig)(nil),
138 }
139 var file_envoy_config_trace_v3_datadog_proto_depIdxs = []int32{
140 0,
141 0,
142 0,
143 0,
144 0,
145 }
146
147 func init() { file_envoy_config_trace_v3_datadog_proto_init() }
148 func file_envoy_config_trace_v3_datadog_proto_init() {
149 if File_envoy_config_trace_v3_datadog_proto != nil {
150 return
151 }
152 if !protoimpl.UnsafeEnabled {
153 file_envoy_config_trace_v3_datadog_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
154 switch v := v.(*DatadogConfig); i {
155 case 0:
156 return &v.state
157 case 1:
158 return &v.sizeCache
159 case 2:
160 return &v.unknownFields
161 default:
162 return nil
163 }
164 }
165 }
166 type x struct{}
167 out := protoimpl.TypeBuilder{
168 File: protoimpl.DescBuilder{
169 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
170 RawDescriptor: file_envoy_config_trace_v3_datadog_proto_rawDesc,
171 NumEnums: 0,
172 NumMessages: 1,
173 NumExtensions: 0,
174 NumServices: 0,
175 },
176 GoTypes: file_envoy_config_trace_v3_datadog_proto_goTypes,
177 DependencyIndexes: file_envoy_config_trace_v3_datadog_proto_depIdxs,
178 MessageInfos: file_envoy_config_trace_v3_datadog_proto_msgTypes,
179 }.Build()
180 File_envoy_config_trace_v3_datadog_proto = out.File
181 file_envoy_config_trace_v3_datadog_proto_rawDesc = nil
182 file_envoy_config_trace_v3_datadog_proto_goTypes = nil
183 file_envoy_config_trace_v3_datadog_proto_depIdxs = nil
184 }
185
View as plain text