1// Code generated by protoc-gen-go. DO NOT EDIT.
2// versions:
3// 	protoc-gen-go v1.25.0
4// 	protoc        v3.14.0
5// source: envoy/admin/v4alpha/tap.proto
6
7package envoy_admin_v4alpha
8
9import (
10	_ "github.com/cncf/xds/go/udpa/annotations"
11	v4alpha "github.com/envoyproxy/go-control-plane/envoy/config/tap/v4alpha"
12	_ "github.com/envoyproxy/protoc-gen-validate/validate"
13	proto "github.com/golang/protobuf/proto"
14	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
15	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
16	reflect "reflect"
17	sync "sync"
18)
19
20const (
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// This is a compile-time assertion that a sufficiently up-to-date version
28// of the legacy proto package is being used.
29const _ = proto.ProtoPackageIsVersion4
30
31// The /tap admin request body that is used to configure an active tap session.
32type TapRequest struct {
33	state         protoimpl.MessageState
34	sizeCache     protoimpl.SizeCache
35	unknownFields protoimpl.UnknownFields
36
37	// The opaque configuration ID used to match the configuration to a loaded extension.
38	// A tap extension configures a similar opaque ID that is used to match.
39	ConfigId string `protobuf:"bytes,1,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"`
40	// The tap configuration to load.
41	TapConfig *v4alpha.TapConfig `protobuf:"bytes,2,opt,name=tap_config,json=tapConfig,proto3" json:"tap_config,omitempty"`
42}
43
44func (x *TapRequest) Reset() {
45	*x = TapRequest{}
46	if protoimpl.UnsafeEnabled {
47		mi := &file_envoy_admin_v4alpha_tap_proto_msgTypes[0]
48		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
49		ms.StoreMessageInfo(mi)
50	}
51}
52
53func (x *TapRequest) String() string {
54	return protoimpl.X.MessageStringOf(x)
55}
56
57func (*TapRequest) ProtoMessage() {}
58
59func (x *TapRequest) ProtoReflect() protoreflect.Message {
60	mi := &file_envoy_admin_v4alpha_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 TapRequest.ProtoReflect.Descriptor instead.
72func (*TapRequest) Descriptor() ([]byte, []int) {
73	return file_envoy_admin_v4alpha_tap_proto_rawDescGZIP(), []int{0}
74}
75
76func (x *TapRequest) GetConfigId() string {
77	if x != nil {
78		return x.ConfigId
79	}
80	return ""
81}
82
83func (x *TapRequest) GetTapConfig() *v4alpha.TapConfig {
84	if x != nil {
85		return x.TapConfig
86	}
87	return nil
88}
89
90var File_envoy_admin_v4alpha_tap_proto protoreflect.FileDescriptor
91
92var file_envoy_admin_v4alpha_tap_proto_rawDesc = []byte{
93	0x0a, 0x1d, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x34,
94	0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x74, 0x61, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
95	0x13, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x34, 0x61,
96	0x6c, 0x70, 0x68, 0x61, 0x1a, 0x25, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66,
97	0x69, 0x67, 0x2f, 0x74, 0x61, 0x70, 0x2f, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x63,
98	0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70,
99	0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74,
100	0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61,
101	0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72,
102	0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76,
103	0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
104	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa2, 0x01, 0x0a, 0x0a, 0x54, 0x61, 0x70, 0x52, 0x65,
105	0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f,
106	0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10,
107	0x01, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x12, 0x4c, 0x0a, 0x0a, 0x74,
108	0x61, 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
109	0x23, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74,
110	0x61, 0x70, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x61, 0x70, 0x43, 0x6f,
111	0x6e, 0x66, 0x69, 0x67, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x09,
112	0x74, 0x61, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3a, 0x20, 0x9a, 0xc5, 0x88, 0x1e, 0x1b,
113	0x0a, 0x19, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33,
114	0x2e, 0x54, 0x61, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x37, 0x0a, 0x21, 0x69,
115	0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76,
116	0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61,
117	0x42, 0x08, 0x54, 0x61, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1,
118	0x06, 0x02, 0x10, 0x03, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
119}
120
121var (
122	file_envoy_admin_v4alpha_tap_proto_rawDescOnce sync.Once
123	file_envoy_admin_v4alpha_tap_proto_rawDescData = file_envoy_admin_v4alpha_tap_proto_rawDesc
124)
125
126func file_envoy_admin_v4alpha_tap_proto_rawDescGZIP() []byte {
127	file_envoy_admin_v4alpha_tap_proto_rawDescOnce.Do(func() {
128		file_envoy_admin_v4alpha_tap_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_admin_v4alpha_tap_proto_rawDescData)
129	})
130	return file_envoy_admin_v4alpha_tap_proto_rawDescData
131}
132
133var file_envoy_admin_v4alpha_tap_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
134var file_envoy_admin_v4alpha_tap_proto_goTypes = []interface{}{
135	(*TapRequest)(nil),        // 0: envoy.admin.v4alpha.TapRequest
136	(*v4alpha.TapConfig)(nil), // 1: envoy.config.tap.v4alpha.TapConfig
137}
138var file_envoy_admin_v4alpha_tap_proto_depIdxs = []int32{
139	1, // 0: envoy.admin.v4alpha.TapRequest.tap_config:type_name -> envoy.config.tap.v4alpha.TapConfig
140	1, // [1:1] is the sub-list for method output_type
141	1, // [1:1] is the sub-list for method input_type
142	1, // [1:1] is the sub-list for extension type_name
143	1, // [1:1] is the sub-list for extension extendee
144	0, // [0:1] is the sub-list for field type_name
145}
146
147func init() { file_envoy_admin_v4alpha_tap_proto_init() }
148func file_envoy_admin_v4alpha_tap_proto_init() {
149	if File_envoy_admin_v4alpha_tap_proto != nil {
150		return
151	}
152	if !protoimpl.UnsafeEnabled {
153		file_envoy_admin_v4alpha_tap_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
154			switch v := v.(*TapRequest); 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_admin_v4alpha_tap_proto_rawDesc,
171			NumEnums:      0,
172			NumMessages:   1,
173			NumExtensions: 0,
174			NumServices:   0,
175		},
176		GoTypes:           file_envoy_admin_v4alpha_tap_proto_goTypes,
177		DependencyIndexes: file_envoy_admin_v4alpha_tap_proto_depIdxs,
178		MessageInfos:      file_envoy_admin_v4alpha_tap_proto_msgTypes,
179	}.Build()
180	File_envoy_admin_v4alpha_tap_proto = out.File
181	file_envoy_admin_v4alpha_tap_proto_rawDesc = nil
182	file_envoy_admin_v4alpha_tap_proto_goTypes = nil
183	file_envoy_admin_v4alpha_tap_proto_depIdxs = nil
184}
185