1
2
3
4
5
6
7 package envoy_admin_v3
8
9 import (
10 _ "github.com/cncf/udpa/go/udpa/annotations"
11 v3 "github.com/datawire/ambassador/v2/pkg/api/envoy/config/tap/v3"
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
20 const (
21
22 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
23
24 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
25 )
26
27
28
29 const _ = proto.ProtoPackageIsVersion4
30
31
32 type TapRequest struct {
33 state protoimpl.MessageState
34 sizeCache protoimpl.SizeCache
35 unknownFields protoimpl.UnknownFields
36
37
38
39 ConfigId string `protobuf:"bytes,1,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"`
40
41 TapConfig *v3.TapConfig `protobuf:"bytes,2,opt,name=tap_config,json=tapConfig,proto3" json:"tap_config,omitempty"`
42 }
43
44 func (x *TapRequest) Reset() {
45 *x = TapRequest{}
46 if protoimpl.UnsafeEnabled {
47 mi := &file_envoy_admin_v3_tap_proto_msgTypes[0]
48 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
49 ms.StoreMessageInfo(mi)
50 }
51 }
52
53 func (x *TapRequest) String() string {
54 return protoimpl.X.MessageStringOf(x)
55 }
56
57 func (*TapRequest) ProtoMessage() {}
58
59 func (x *TapRequest) ProtoReflect() protoreflect.Message {
60 mi := &file_envoy_admin_v3_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
72 func (*TapRequest) Descriptor() ([]byte, []int) {
73 return file_envoy_admin_v3_tap_proto_rawDescGZIP(), []int{0}
74 }
75
76 func (x *TapRequest) GetConfigId() string {
77 if x != nil {
78 return x.ConfigId
79 }
80 return ""
81 }
82
83 func (x *TapRequest) GetTapConfig() *v3.TapConfig {
84 if x != nil {
85 return x.TapConfig
86 }
87 return nil
88 }
89
90 var File_envoy_admin_v3_tap_proto protoreflect.FileDescriptor
91
92 var file_envoy_admin_v3_tap_proto_rawDesc = []byte{
93 0x0a, 0x18, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x33,
94 0x2f, 0x74, 0x61, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x65, 0x6e, 0x76, 0x6f,
95 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x1a, 0x20, 0x65, 0x6e, 0x76, 0x6f,
96 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x74, 0x61, 0x70, 0x2f, 0x76, 0x33, 0x2f,
97 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 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, 0xa2, 0x01, 0x0a, 0x0a, 0x54, 0x61, 0x70, 0x52,
104 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
105 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02,
106 0x10, 0x01, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x12, 0x47, 0x0a, 0x0a,
107 0x74, 0x61, 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
108 0x32, 0x1e, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
109 0x74, 0x61, 0x70, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x61, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
110 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x09, 0x74, 0x61, 0x70, 0x43,
111 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3a, 0x25, 0x9a, 0xc5, 0x88, 0x1e, 0x20, 0x0a, 0x1e, 0x65, 0x6e,
112 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68,
113 0x61, 0x2e, 0x54, 0x61, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x32, 0x0a, 0x1c,
114 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e,
115 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x42, 0x08, 0x54, 0x61,
116 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02,
117 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
118 }
119
120 var (
121 file_envoy_admin_v3_tap_proto_rawDescOnce sync.Once
122 file_envoy_admin_v3_tap_proto_rawDescData = file_envoy_admin_v3_tap_proto_rawDesc
123 )
124
125 func file_envoy_admin_v3_tap_proto_rawDescGZIP() []byte {
126 file_envoy_admin_v3_tap_proto_rawDescOnce.Do(func() {
127 file_envoy_admin_v3_tap_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_admin_v3_tap_proto_rawDescData)
128 })
129 return file_envoy_admin_v3_tap_proto_rawDescData
130 }
131
132 var file_envoy_admin_v3_tap_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
133 var file_envoy_admin_v3_tap_proto_goTypes = []interface{}{
134 (*TapRequest)(nil),
135 (*v3.TapConfig)(nil),
136 }
137 var file_envoy_admin_v3_tap_proto_depIdxs = []int32{
138 1,
139 1,
140 1,
141 1,
142 1,
143 0,
144 }
145
146 func init() { file_envoy_admin_v3_tap_proto_init() }
147 func file_envoy_admin_v3_tap_proto_init() {
148 if File_envoy_admin_v3_tap_proto != nil {
149 return
150 }
151 if !protoimpl.UnsafeEnabled {
152 file_envoy_admin_v3_tap_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
153 switch v := v.(*TapRequest); i {
154 case 0:
155 return &v.state
156 case 1:
157 return &v.sizeCache
158 case 2:
159 return &v.unknownFields
160 default:
161 return nil
162 }
163 }
164 }
165 type x struct{}
166 out := protoimpl.TypeBuilder{
167 File: protoimpl.DescBuilder{
168 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
169 RawDescriptor: file_envoy_admin_v3_tap_proto_rawDesc,
170 NumEnums: 0,
171 NumMessages: 1,
172 NumExtensions: 0,
173 NumServices: 0,
174 },
175 GoTypes: file_envoy_admin_v3_tap_proto_goTypes,
176 DependencyIndexes: file_envoy_admin_v3_tap_proto_depIdxs,
177 MessageInfos: file_envoy_admin_v3_tap_proto_msgTypes,
178 }.Build()
179 File_envoy_admin_v3_tap_proto = out.File
180 file_envoy_admin_v3_tap_proto_rawDesc = nil
181 file_envoy_admin_v3_tap_proto_goTypes = nil
182 file_envoy_admin_v3_tap_proto_depIdxs = nil
183 }
184
View as plain text