Debian Codegraph @

envoy/service/tap/v2alpha/tap.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/service/tap/v2alpha/tap.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 v2alpha "github.com/envoyproxy/go-control-plane/envoy/data/tap/v2alpha"
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 // [#not-implemented-hide:] Stream message for the Tap API. Envoy will open a stream to the server
28 // and stream taps without ever expecting a response.
29 type StreamTapsRequest struct {
30 state protoimpl.MessageState
31 sizeCache protoimpl.SizeCache
32 unknownFields protoimpl.UnknownFields
33
34 // Identifier data effectively is a structured metadata. As a performance optimization this will
35 // only be sent in the first message on the stream.
36 Identifier *StreamTapsRequest_Identifier `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
37 // The trace id. this can be used to merge together a streaming trace. Note that the trace_id
38 // is not guaranteed to be spatially or temporally unique.
39 TraceId uint64 `protobuf:"varint,2,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
40 // The trace data.
41 Trace *v2alpha.TraceWrapper `protobuf:"bytes,3,opt,name=trace,proto3" json:"trace,omitempty"`
42 }
43
44 func (x *StreamTapsRequest) Reset() {
45 *x = StreamTapsRequest{}
46 if protoimpl.UnsafeEnabled {
47 mi := &file_envoy_service_tap_v2alpha_tap_proto_msgTypes[0]
48 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
49 ms.StoreMessageInfo(mi)
50 }
51 }
52
53 func (x *StreamTapsRequest) String() string {
54 return protoimpl.X.MessageStringOf(x)
55 }
56
57 func (*StreamTapsRequest) ProtoMessage() {}
58
59 func (x *StreamTapsRequest) ProtoReflect() protoreflect.Message {
60 mi := &file_envoy_service_tap_v2alpha_tap_proto_msgTypes[0]
61 if protoimpl.UnsafeEnabled && x != nil {
62 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
63 if ms.LoadMessageInfo() == nil {
64 ms.StoreMessageInfo(mi)
65 }
66 return ms
67 }
68 return mi.MessageOf(x)
69 }
70
71 // Deprecated: Use StreamTapsRequest.ProtoReflect.Descriptor instead.
72 func (*StreamTapsRequest) Descriptor() ([]byte, []int) {
73 return file_envoy_service_tap_v2alpha_tap_proto_rawDescGZIP(), []int{0}
74 }
75
76 func (x *StreamTapsRequest) GetIdentifier() *StreamTapsRequest_Identifier {
77 if x != nil {
78 return x.Identifier
79 }
80 return nil
81 }
82
83 func (x *StreamTapsRequest) GetTraceId() uint64 {
84 if x != nil {
85 return x.TraceId
86 }
87 return 0
88 }
89
90 func (x *StreamTapsRequest) GetTrace() *v2alpha.TraceWrapper {
91 if x != nil {
92 return x.Trace
93 }
94 return nil
95 }
96
97 // [#not-implemented-hide:]
98 type StreamTapsResponse struct {
99 state protoimpl.MessageState
100 sizeCache protoimpl.SizeCache
101 unknownFields protoimpl.UnknownFields
102 }
103
104 func (x *StreamTapsResponse) Reset() {
105 *x = StreamTapsResponse{}
106 if protoimpl.UnsafeEnabled {
107 mi := &file_envoy_service_tap_v2alpha_tap_proto_msgTypes[1]
108 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
109 ms.StoreMessageInfo(mi)
110 }
111 }
112
113 func (x *StreamTapsResponse) String() string {
114 return protoimpl.X.MessageStringOf(x)
115 }
116
117 func (*StreamTapsResponse) ProtoMessage() {}
118
119 func (x *StreamTapsResponse) ProtoReflect() protoreflect.Message {
120 mi := &file_envoy_service_tap_v2alpha_tap_proto_msgTypes[1]
121 if protoimpl.UnsafeEnabled && x != nil {
122 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
123 if ms.LoadMessageInfo() == nil {
124 ms.StoreMessageInfo(mi)
125 }
126 return ms
127 }
128 return mi.MessageOf(x)
129 }
130
131 // Deprecated: Use StreamTapsResponse.ProtoReflect.Descriptor instead.
132 func (*StreamTapsResponse) Descriptor() ([]byte, []int) {
133 return file_envoy_service_tap_v2alpha_tap_proto_rawDescGZIP(), []int{1}
134 }
135
136 type StreamTapsRequest_Identifier struct {
137 state protoimpl.MessageState
138 sizeCache protoimpl.SizeCache
139 unknownFields protoimpl.UnknownFields
140
141 // The node sending taps over the stream.
142 Node *core.Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
143 // The opaque identifier that was set in the :ref:`output config
144 // <envoy_api_field_service.tap.v2alpha.StreamingGrpcSink.tap_id>`.
145 TapId string `protobuf:"bytes,2,opt,name=tap_id,json=tapId,proto3" json:"tap_id,omitempty"`
146 }
147
148 func (x *StreamTapsRequest_Identifier) Reset() {
149 *x = StreamTapsRequest_Identifier{}
150 if protoimpl.UnsafeEnabled {
151 mi := &file_envoy_service_tap_v2alpha_tap_proto_msgTypes[2]
152 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
153 ms.StoreMessageInfo(mi)
154 }
155 }
156
157 func (x *StreamTapsRequest_Identifier) String() string {
158 return protoimpl.X.MessageStringOf(x)
159 }
160
161 func (*StreamTapsRequest_Identifier) ProtoMessage() {}
162
163 func (x *StreamTapsRequest_Identifier) ProtoReflect() protoreflect.Message {
164 mi := &file_envoy_service_tap_v2alpha_tap_proto_msgTypes[2]
165 if protoimpl.UnsafeEnabled && x != nil {
166 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
167 if ms.LoadMessageInfo() == nil {
168 ms.StoreMessageInfo(mi)
169 }
170 return ms
171 }
172 return mi.MessageOf(x)
173 }
174
175 // Deprecated: Use StreamTapsRequest_Identifier.ProtoReflect.Descriptor instead.
176 func (*StreamTapsRequest_Identifier) Descriptor() ([]byte, []int) {
177 return file_envoy_service_tap_v2alpha_tap_proto_rawDescGZIP(), []int{0, 0}
178 }
179
180 func (x *StreamTapsRequest_Identifier) GetNode() *core.Node {
181 if x != nil {
182 return x.Node
183 }
184 return nil
185 }
186
187 func (x *StreamTapsRequest_Identifier) GetTapId() string {
188 if x != nil {
189 return x.TapId
190 }
191 return ""
192 }
193
194 var File_envoy_service_tap_v2alpha_tap_proto protoreflect.FileDescriptor
195
196 var file_envoy_service_tap_v2alpha_tap_proto_rawDesc = []byte{
197 0x0a, 0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f,
198 0x74, 0x61, 0x70, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x74, 0x61, 0x70, 0x2e,
199 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72,
200 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61,
201 0x1a, 0x1c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63,
202 0x6f, 0x72, 0x65, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24,
203 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x74, 0x61, 0x70, 0x2f, 0x76,
204 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x2e, 0x70,
205 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74,
206 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72,
207 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61,
208 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9f, 0x02, 0x0a,
209 0x11, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x61, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
210 0x73, 0x74, 0x12, 0x57, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72,
211 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73,
212 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70,
213 0x68, 0x61, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x61, 0x70, 0x73, 0x52, 0x65, 0x71,
214 0x75, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52,
215 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x74,
216 0x72, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74,
217 0x72, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x3a, 0x0a, 0x05, 0x74, 0x72, 0x61, 0x63, 0x65, 0x18,
218 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64, 0x61,
219 0x74, 0x61, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54,
220 0x72, 0x61, 0x63, 0x65, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x52, 0x05, 0x74, 0x72, 0x61,
221 0x63, 0x65, 0x1a, 0x5a, 0x0a, 0x0a, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72,
222 0x12, 0x35, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17,
223 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f,
224 0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10,
225 0x01, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x74, 0x61, 0x70, 0x5f, 0x69,
226 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x70, 0x49, 0x64, 0x22, 0x14,
227 0x0a, 0x12, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x61, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70,
228 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x7f, 0x0a, 0x0e, 0x54, 0x61, 0x70, 0x53, 0x69, 0x6e, 0x6b, 0x53,
229 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6d, 0x0a, 0x0a, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d,
230 0x54, 0x61, 0x70, 0x73, 0x12, 0x2c, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72,
231 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61,
232 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x61, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
233 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69,
234 0x63, 0x65, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53,
235 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x61, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
236 0x65, 0x22, 0x00, 0x28, 0x01, 0x42, 0x7f, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x0a,
237 0x27, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65,
238 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74, 0x61, 0x70,
239 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x08, 0x54, 0x61, 0x70, 0x50, 0x72, 0x6f,
240 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x40, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
241 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63,
242 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76,
243 0x6f, 0x79, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x74, 0x61, 0x70, 0x2f, 0x76,
244 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
245 }
246
247 var (
248 file_envoy_service_tap_v2alpha_tap_proto_rawDescOnce sync.Once
249 file_envoy_service_tap_v2alpha_tap_proto_rawDescData = file_envoy_service_tap_v2alpha_tap_proto_rawDesc
250 )
251
252 func file_envoy_service_tap_v2alpha_tap_proto_rawDescGZIP() []byte {
253 file_envoy_service_tap_v2alpha_tap_proto_rawDescOnce.Do(func() {
254 file_envoy_service_tap_v2alpha_tap_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_service_tap_v2alpha_tap_proto_rawDescData)
255 })
256 return file_envoy_service_tap_v2alpha_tap_proto_rawDescData
257 }
258
259 var file_envoy_service_tap_v2alpha_tap_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
260 var file_envoy_service_tap_v2alpha_tap_proto_goTypes = []interface{}{
261 (*StreamTapsRequest)(nil), // 0: envoy.service.tap.v2alpha.StreamTapsRequest
262 (*StreamTapsResponse)(nil), // 1: envoy.service.tap.v2alpha.StreamTapsResponse
263 (*StreamTapsRequest_Identifier)(nil), // 2: envoy.service.tap.v2alpha.StreamTapsRequest.Identifier
264 (*v2alpha.TraceWrapper)(nil), // 3: envoy.data.tap.v2alpha.TraceWrapper
265 (*core.Node)(nil), // 4: envoy.api.v2.core.Node
266 }
267 var file_envoy_service_tap_v2alpha_tap_proto_depIdxs = []int32{
268 2, // 0: envoy.service.tap.v2alpha.StreamTapsRequest.identifier:type_name -> envoy.service.tap.v2alpha.StreamTapsRequest.Identifier
269 3, // 1: envoy.service.tap.v2alpha.StreamTapsRequest.trace:type_name -> envoy.data.tap.v2alpha.TraceWrapper
270 4, // 2: envoy.service.tap.v2alpha.StreamTapsRequest.Identifier.node:type_name -> envoy.api.v2.core.Node
271 0, // 3: envoy.service.tap.v2alpha.TapSinkService.StreamTaps:input_type -> envoy.service.tap.v2alpha.StreamTapsRequest
272 1, // 4: envoy.service.tap.v2alpha.TapSinkService.StreamTaps:output_type -> envoy.service.tap.v2alpha.StreamTapsResponse
273 4, // [4:5] is the sub-list for method output_type
274 3, // [3:4] is the sub-list for method input_type
275 3, // [3:3] is the sub-list for extension type_name
276 3, // [3:3] is the sub-list for extension extendee
277 0, // [0:3] is the sub-list for field type_name
278 }
279
280 func init() { file_envoy_service_tap_v2alpha_tap_proto_init() }
281 func file_envoy_service_tap_v2alpha_tap_proto_init() {
282 if File_envoy_service_tap_v2alpha_tap_proto != nil {
283 return
284 }
285 if !protoimpl.UnsafeEnabled {
286 file_envoy_service_tap_v2alpha_tap_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
287 switch v := v.(*StreamTapsRequest); i {
288 case 0:
289 return &v.state
290 case 1:
291 return &v.sizeCache
292 case 2:
293 return &v.unknownFields
294 default:
295 return nil
296 }
297 }
298 file_envoy_service_tap_v2alpha_tap_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
299 switch v := v.(*StreamTapsResponse); i {
300 case 0:
301 return &v.state
302 case 1:
303 return &v.sizeCache
304 case 2:
305 return &v.unknownFields
306 default:
307 return nil
308 }
309 }
310 file_envoy_service_tap_v2alpha_tap_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
311 switch v := v.(*StreamTapsRequest_Identifier); i {
312 case 0:
313 return &v.state
314 case 1:
315 return &v.sizeCache
316 case 2:
317 return &v.unknownFields
318 default:
319 return nil
320 }
321 }
322 }
323 type x struct{}
324 out := protoimpl.TypeBuilder{
325 File: protoimpl.DescBuilder{
326 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
327 RawDescriptor: file_envoy_service_tap_v2alpha_tap_proto_rawDesc,
328 NumEnums: 0,
329 NumMessages: 3,
330 NumExtensions: 0,
331 NumServices: 1,
332 },
333 GoTypes: file_envoy_service_tap_v2alpha_tap_proto_goTypes,
334 DependencyIndexes: file_envoy_service_tap_v2alpha_tap_proto_depIdxs,
335 MessageInfos: file_envoy_service_tap_v2alpha_tap_proto_msgTypes,
336 }.Build()
337 File_envoy_service_tap_v2alpha_tap_proto = out.File
338 file_envoy_service_tap_v2alpha_tap_proto_rawDesc = nil
339 file_envoy_service_tap_v2alpha_tap_proto_goTypes = nil
340 file_envoy_service_tap_v2alpha_tap_proto_depIdxs = nil
341 }