Debian Codegraph @

envoy/extensions/transport_sockets/tap/v3/tap.pb.go

raw symbols SCIP
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/extensions/transport_sockets/tap/v3/tap.proto
6
7 package tapv3
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 v31 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
12 v3 "github.com/envoyproxy/go-control-plane/envoy/extensions/common/tap/v3"
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 // Configuration for tap transport socket. This wraps another transport socket, providing the
28 // ability to interpose and record in plain text any traffic that is surfaced to Envoy.
29 type Tap struct {
30 state protoimpl.MessageState
31 sizeCache protoimpl.SizeCache
32 unknownFields protoimpl.UnknownFields
33
34 // Common configuration for the tap transport socket.
35 CommonConfig *v3.CommonExtensionConfig `protobuf:"bytes,1,opt,name=common_config,json=commonConfig,proto3" json:"common_config,omitempty"`
36 // The underlying transport socket being wrapped.
37 TransportSocket *v31.TransportSocket `protobuf:"bytes,2,opt,name=transport_socket,json=transportSocket,proto3" json:"transport_socket,omitempty"`
38 }
39
40 func (x *Tap) Reset() {
41 *x = Tap{}
42 if protoimpl.UnsafeEnabled {
43 mi := &file_envoy_extensions_transport_sockets_tap_v3_tap_proto_msgTypes[0]
44 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
45 ms.StoreMessageInfo(mi)
46 }
47 }
48
49 func (x *Tap) String() string {
50 return protoimpl.X.MessageStringOf(x)
51 }
52
53 func (*Tap) ProtoMessage() {}
54
55 func (x *Tap) ProtoReflect() protoreflect.Message {
56 mi := &file_envoy_extensions_transport_sockets_tap_v3_tap_proto_msgTypes[0]
57 if protoimpl.UnsafeEnabled && x != nil {
58 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
59 if ms.LoadMessageInfo() == nil {
60 ms.StoreMessageInfo(mi)
61 }
62 return ms
63 }
64 return mi.MessageOf(x)
65 }
66
67 // Deprecated: Use Tap.ProtoReflect.Descriptor instead.
68 func (*Tap) Descriptor() ([]byte, []int) {
69 return file_envoy_extensions_transport_sockets_tap_v3_tap_proto_rawDescGZIP(), []int{0}
70 }
71
72 func (x *Tap) GetCommonConfig() *v3.CommonExtensionConfig {
73 if x != nil {
74 return x.CommonConfig
75 }
76 return nil
77 }
78
79 func (x *Tap) GetTransportSocket() *v31.TransportSocket {
80 if x != nil {
81 return x.TransportSocket
82 }
83 return nil
84 }
85
86 var File_envoy_extensions_transport_sockets_tap_v3_tap_proto protoreflect.FileDescriptor
87
88 var file_envoy_extensions_transport_sockets_tap_v3_tap_proto_rawDesc = []byte{
89 0x0a, 0x33, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
90 0x6e, 0x73, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63,
91 0x6b, 0x65, 0x74, 0x73, 0x2f, 0x74, 0x61, 0x70, 0x2f, 0x76, 0x33, 0x2f, 0x74, 0x61, 0x70, 0x2e,
92 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x29, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74,
93 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72,
94 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x33,
95 0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63,
96 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
97 0x6f, 0x1a, 0x2b, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
98 0x6f, 0x6e, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x61, 0x70, 0x2f, 0x76,
99 0x33, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d,
100 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
101 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75,
102 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
103 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
104 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64,
105 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfd, 0x01, 0x0a, 0x03, 0x54, 0x61,
106 0x70, 0x12, 0x64, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66,
107 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
108 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
109 0x6f, 0x6e, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
110 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42,
111 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
112 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x5a, 0x0a, 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73,
113 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
114 0x0b, 0x32, 0x25, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
115 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f,
116 0x72, 0x74, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02,
117 0x10, 0x01, 0x52, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x6f, 0x63,
118 0x6b, 0x65, 0x74, 0x3a, 0x34, 0x9a, 0xc5, 0x88, 0x1e, 0x2f, 0x0a, 0x2d, 0x65, 0x6e, 0x76, 0x6f,
119 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f,
120 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32,
121 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x61, 0x70, 0x42, 0xa5, 0x01, 0xba, 0x80, 0xc8, 0xd1,
122 0x06, 0x02, 0x10, 0x02, 0x0a, 0x37, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72,
123 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73,
124 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73,
125 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x33, 0x42, 0x08, 0x54,
126 0x61, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x56, 0x67, 0x69, 0x74, 0x68, 0x75,
127 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79,
128 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e,
129 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
130 0x6e, 0x73, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63,
131 0x6b, 0x65, 0x74, 0x73, 0x2f, 0x74, 0x61, 0x70, 0x2f, 0x76, 0x33, 0x3b, 0x74, 0x61, 0x70, 0x76,
132 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
133 }
134
135 var (
136 file_envoy_extensions_transport_sockets_tap_v3_tap_proto_rawDescOnce sync.Once
137 file_envoy_extensions_transport_sockets_tap_v3_tap_proto_rawDescData = file_envoy_extensions_transport_sockets_tap_v3_tap_proto_rawDesc
138 )
139
140 func file_envoy_extensions_transport_sockets_tap_v3_tap_proto_rawDescGZIP() []byte {
141 file_envoy_extensions_transport_sockets_tap_v3_tap_proto_rawDescOnce.Do(func() {
142 file_envoy_extensions_transport_sockets_tap_v3_tap_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_transport_sockets_tap_v3_tap_proto_rawDescData)
143 })
144 return file_envoy_extensions_transport_sockets_tap_v3_tap_proto_rawDescData
145 }
146
147 var file_envoy_extensions_transport_sockets_tap_v3_tap_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
148 var file_envoy_extensions_transport_sockets_tap_v3_tap_proto_goTypes = []interface{}{
149 (*Tap)(nil), // 0: envoy.extensions.transport_sockets.tap.v3.Tap
150 (*v3.CommonExtensionConfig)(nil), // 1: envoy.extensions.common.tap.v3.CommonExtensionConfig
151 (*v31.TransportSocket)(nil), // 2: envoy.config.core.v3.TransportSocket
152 }
153 var file_envoy_extensions_transport_sockets_tap_v3_tap_proto_depIdxs = []int32{
154 1, // 0: envoy.extensions.transport_sockets.tap.v3.Tap.common_config:type_name -> envoy.extensions.common.tap.v3.CommonExtensionConfig
155 2, // 1: envoy.extensions.transport_sockets.tap.v3.Tap.transport_socket:type_name -> envoy.config.core.v3.TransportSocket
156 2, // [2:2] is the sub-list for method output_type
157 2, // [2:2] is the sub-list for method input_type
158 2, // [2:2] is the sub-list for extension type_name
159 2, // [2:2] is the sub-list for extension extendee
160 0, // [0:2] is the sub-list for field type_name
161 }
162
163 func init() { file_envoy_extensions_transport_sockets_tap_v3_tap_proto_init() }
164 func file_envoy_extensions_transport_sockets_tap_v3_tap_proto_init() {
165 if File_envoy_extensions_transport_sockets_tap_v3_tap_proto != nil {
166 return
167 }
168 if !protoimpl.UnsafeEnabled {
169 file_envoy_extensions_transport_sockets_tap_v3_tap_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
170 switch v := v.(*Tap); i {
171 case 0:
172 return &v.state
173 case 1:
174 return &v.sizeCache
175 case 2:
176 return &v.unknownFields
177 default:
178 return nil
179 }
180 }
181 }
182 type x struct{}
183 out := protoimpl.TypeBuilder{
184 File: protoimpl.DescBuilder{
185 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
186 RawDescriptor: file_envoy_extensions_transport_sockets_tap_v3_tap_proto_rawDesc,
187 NumEnums: 0,
188 NumMessages: 1,
189 NumExtensions: 0,
190 NumServices: 0,
191 },
192 GoTypes: file_envoy_extensions_transport_sockets_tap_v3_tap_proto_goTypes,
193 DependencyIndexes: file_envoy_extensions_transport_sockets_tap_v3_tap_proto_depIdxs,
194 MessageInfos: file_envoy_extensions_transport_sockets_tap_v3_tap_proto_msgTypes,
195 }.Build()
196 File_envoy_extensions_transport_sockets_tap_v3_tap_proto = out.File
197 file_envoy_extensions_transport_sockets_tap_v3_tap_proto_rawDesc = nil
198 file_envoy_extensions_transport_sockets_tap_v3_tap_proto_goTypes = nil
199 file_envoy_extensions_transport_sockets_tap_v3_tap_proto_depIdxs = nil
200 }