Debian Codegraph @

envoy/config/transport_socket/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/config/transport_socket/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/config/common/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 // 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 *v2alpha.CommonExtensionConfig `protobuf:"bytes,1,opt,name=common_config,json=commonConfig,proto3" json:"common_config,omitempty"`
36 // The underlying transport socket being wrapped.
37 TransportSocket *core.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_config_transport_socket_tap_v2alpha_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_config_transport_socket_tap_v2alpha_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_config_transport_socket_tap_v2alpha_tap_proto_rawDescGZIP(), []int{0}
70 }
71
72 func (x *Tap) GetCommonConfig() *v2alpha.CommonExtensionConfig {
73 if x != nil {
74 return x.CommonConfig
75 }
76 return nil
77 }
78
79 func (x *Tap) GetTransportSocket() *core.TransportSocket {
80 if x != nil {
81 return x.TransportSocket
82 }
83 return nil
84 }
85
86 var File_envoy_config_transport_socket_tap_v2alpha_tap_proto protoreflect.FileDescriptor
87
88 var file_envoy_config_transport_socket_tap_v2alpha_tap_proto_rawDesc = []byte{
89 0x0a, 0x33, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x74,
90 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2f,
91 0x74, 0x61, 0x70, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x74, 0x61, 0x70, 0x2e,
92 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x29, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e,
93 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f,
94 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61,
95 0x1a, 0x1c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63,
96 0x6f, 0x72, 0x65, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c,
97 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x6d,
98 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x61, 0x70, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f,
99 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x75, 0x64,
100 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d,
101 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64,
102 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73,
103 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c,
104 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70,
105 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc5, 0x01, 0x0a, 0x03, 0x54, 0x61, 0x70, 0x12, 0x65, 0x0a, 0x0d,
106 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20,
107 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66,
108 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32,
109 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65,
110 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x08, 0xfa, 0x42, 0x05,
111 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x43, 0x6f, 0x6e,
112 0x66, 0x69, 0x67, 0x12, 0x57, 0x0a, 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74,
113 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e,
114 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72,
115 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x6f, 0x63, 0x6b, 0x65,
116 0x74, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0f, 0x74, 0x72, 0x61,
117 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x42, 0xd2, 0x01, 0xf2,
118 0x98, 0xfe, 0x8f, 0x05, 0x2b, 0x12, 0x29, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74,
119 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72,
120 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x33,
121 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x04, 0x08, 0x01, 0x10, 0x01, 0x0a, 0x37, 0x69, 0x6f, 0x2e, 0x65,
122 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
123 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74,
124 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c,
125 0x70, 0x68, 0x61, 0x42, 0x08, 0x54, 0x61, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
126 0x50, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f,
127 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f,
128 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f,
129 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73,
130 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2f, 0x74, 0x61, 0x70, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68,
131 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
132 }
133
134 var (
135 file_envoy_config_transport_socket_tap_v2alpha_tap_proto_rawDescOnce sync.Once
136 file_envoy_config_transport_socket_tap_v2alpha_tap_proto_rawDescData = file_envoy_config_transport_socket_tap_v2alpha_tap_proto_rawDesc
137 )
138
139 func file_envoy_config_transport_socket_tap_v2alpha_tap_proto_rawDescGZIP() []byte {
140 file_envoy_config_transport_socket_tap_v2alpha_tap_proto_rawDescOnce.Do(func() {
141 file_envoy_config_transport_socket_tap_v2alpha_tap_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_transport_socket_tap_v2alpha_tap_proto_rawDescData)
142 })
143 return file_envoy_config_transport_socket_tap_v2alpha_tap_proto_rawDescData
144 }
145
146 var file_envoy_config_transport_socket_tap_v2alpha_tap_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
147 var file_envoy_config_transport_socket_tap_v2alpha_tap_proto_goTypes = []interface{}{
148 (*Tap)(nil), // 0: envoy.config.transport_socket.tap.v2alpha.Tap
149 (*v2alpha.CommonExtensionConfig)(nil), // 1: envoy.config.common.tap.v2alpha.CommonExtensionConfig
150 (*core.TransportSocket)(nil), // 2: envoy.api.v2.core.TransportSocket
151 }
152 var file_envoy_config_transport_socket_tap_v2alpha_tap_proto_depIdxs = []int32{
153 1, // 0: envoy.config.transport_socket.tap.v2alpha.Tap.common_config:type_name -> envoy.config.common.tap.v2alpha.CommonExtensionConfig
154 2, // 1: envoy.config.transport_socket.tap.v2alpha.Tap.transport_socket:type_name -> envoy.api.v2.core.TransportSocket
155 2, // [2:2] is the sub-list for method output_type
156 2, // [2:2] is the sub-list for method input_type
157 2, // [2:2] is the sub-list for extension type_name
158 2, // [2:2] is the sub-list for extension extendee
159 0, // [0:2] is the sub-list for field type_name
160 }
161
162 func init() { file_envoy_config_transport_socket_tap_v2alpha_tap_proto_init() }
163 func file_envoy_config_transport_socket_tap_v2alpha_tap_proto_init() {
164 if File_envoy_config_transport_socket_tap_v2alpha_tap_proto != nil {
165 return
166 }
167 if !protoimpl.UnsafeEnabled {
168 file_envoy_config_transport_socket_tap_v2alpha_tap_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
169 switch v := v.(*Tap); i {
170 case 0:
171 return &v.state
172 case 1:
173 return &v.sizeCache
174 case 2:
175 return &v.unknownFields
176 default:
177 return nil
178 }
179 }
180 }
181 type x struct{}
182 out := protoimpl.TypeBuilder{
183 File: protoimpl.DescBuilder{
184 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
185 RawDescriptor: file_envoy_config_transport_socket_tap_v2alpha_tap_proto_rawDesc,
186 NumEnums: 0,
187 NumMessages: 1,
188 NumExtensions: 0,
189 NumServices: 0,
190 },
191 GoTypes: file_envoy_config_transport_socket_tap_v2alpha_tap_proto_goTypes,
192 DependencyIndexes: file_envoy_config_transport_socket_tap_v2alpha_tap_proto_depIdxs,
193 MessageInfos: file_envoy_config_transport_socket_tap_v2alpha_tap_proto_msgTypes,
194 }.Build()
195 File_envoy_config_transport_socket_tap_v2alpha_tap_proto = out.File
196 file_envoy_config_transport_socket_tap_v2alpha_tap_proto_rawDesc = nil
197 file_envoy_config_transport_socket_tap_v2alpha_tap_proto_goTypes = nil
198 file_envoy_config_transport_socket_tap_v2alpha_tap_proto_depIdxs = nil
199 }