Debian Codegraph @

go/svc/feature/v1/service.pb.go

raw symbols SCIP
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.36.5
4 // protoc (unknown)
5 // source: svc/feature/v1/service.proto
6
7 package featurev1
8
9 import (
10 v1 "github.com/humanlogio/api/go/types/v1"
11 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
12 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
13 reflect "reflect"
14 sync "sync"
15 unsafe "unsafe"
16 )
17
18 const (
19 // Verify that this generated code is sufficiently up-to-date.
20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
21 // Verify that runtime/protoimpl is sufficiently up-to-date.
22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
23 )
24
25 type AllowedUsageResponse_LocalhostUsage int32
26
27 const (
28 AllowedUsageResponse_NO_USAGE AllowedUsageResponse_LocalhostUsage = 0
29 AllowedUsageResponse_PERSONAL_USE AllowedUsageResponse_LocalhostUsage = 1
30 AllowedUsageResponse_COMMERCIAL_USE AllowedUsageResponse_LocalhostUsage = 2
31 )
32
33 // Enum value maps for AllowedUsageResponse_LocalhostUsage.
34 var (
35 AllowedUsageResponse_LocalhostUsage_name = map[int32]string{
36 0: "NO_USAGE",
37 1: "PERSONAL_USE",
38 2: "COMMERCIAL_USE",
39 }
40 AllowedUsageResponse_LocalhostUsage_value = map[string]int32{
41 "NO_USAGE": 0,
42 "PERSONAL_USE": 1,
43 "COMMERCIAL_USE": 2,
44 }
45 )
46
47 func (x AllowedUsageResponse_LocalhostUsage) Enum() *AllowedUsageResponse_LocalhostUsage {
48 p := new(AllowedUsageResponse_LocalhostUsage)
49 *p = x
50 return p
51 }
52
53 func (x AllowedUsageResponse_LocalhostUsage) String() string {
54 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
55 }
56
57 func (AllowedUsageResponse_LocalhostUsage) Descriptor() protoreflect.EnumDescriptor {
58 return file_svc_feature_v1_service_proto_enumTypes[0].Descriptor()
59 }
60
61 func (AllowedUsageResponse_LocalhostUsage) Type() protoreflect.EnumType {
62 return &file_svc_feature_v1_service_proto_enumTypes[0]
63 }
64
65 func (x AllowedUsageResponse_LocalhostUsage) Number() protoreflect.EnumNumber {
66 return protoreflect.EnumNumber(x)
67 }
68
69 // Deprecated: Use AllowedUsageResponse_LocalhostUsage.Descriptor instead.
70 func (AllowedUsageResponse_LocalhostUsage) EnumDescriptor() ([]byte, []int) {
71 return file_svc_feature_v1_service_proto_rawDescGZIP(), []int{5, 0}
72 }
73
74 type HasFeatureRequest struct {
75 state protoimpl.MessageState `protogen:"open.v1"`
76 Feature string `protobuf:"bytes,1,opt,name=feature,proto3" json:"feature,omitempty"`
77 unknownFields protoimpl.UnknownFields
78 sizeCache protoimpl.SizeCache
79 }
80
81 func (x *HasFeatureRequest) Reset() {
82 *x = HasFeatureRequest{}
83 mi := &file_svc_feature_v1_service_proto_msgTypes[0]
84 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
85 ms.StoreMessageInfo(mi)
86 }
87
88 func (x *HasFeatureRequest) String() string {
89 return protoimpl.X.MessageStringOf(x)
90 }
91
92 func (*HasFeatureRequest) ProtoMessage() {}
93
94 func (x *HasFeatureRequest) ProtoReflect() protoreflect.Message {
95 mi := &file_svc_feature_v1_service_proto_msgTypes[0]
96 if x != nil {
97 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
98 if ms.LoadMessageInfo() == nil {
99 ms.StoreMessageInfo(mi)
100 }
101 return ms
102 }
103 return mi.MessageOf(x)
104 }
105
106 // Deprecated: Use HasFeatureRequest.ProtoReflect.Descriptor instead.
107 func (*HasFeatureRequest) Descriptor() ([]byte, []int) {
108 return file_svc_feature_v1_service_proto_rawDescGZIP(), []int{0}
109 }
110
111 func (x *HasFeatureRequest) GetFeature() string {
112 if x != nil {
113 return x.Feature
114 }
115 return ""
116 }
117
118 type HasFeatureResponse struct {
119 state protoimpl.MessageState `protogen:"open.v1"`
120 Available bool `protobuf:"varint,1,opt,name=available,proto3" json:"available,omitempty"`
121 unknownFields protoimpl.UnknownFields
122 sizeCache protoimpl.SizeCache
123 }
124
125 func (x *HasFeatureResponse) Reset() {
126 *x = HasFeatureResponse{}
127 mi := &file_svc_feature_v1_service_proto_msgTypes[1]
128 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
129 ms.StoreMessageInfo(mi)
130 }
131
132 func (x *HasFeatureResponse) String() string {
133 return protoimpl.X.MessageStringOf(x)
134 }
135
136 func (*HasFeatureResponse) ProtoMessage() {}
137
138 func (x *HasFeatureResponse) ProtoReflect() protoreflect.Message {
139 mi := &file_svc_feature_v1_service_proto_msgTypes[1]
140 if x != nil {
141 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
142 if ms.LoadMessageInfo() == nil {
143 ms.StoreMessageInfo(mi)
144 }
145 return ms
146 }
147 return mi.MessageOf(x)
148 }
149
150 // Deprecated: Use HasFeatureResponse.ProtoReflect.Descriptor instead.
151 func (*HasFeatureResponse) Descriptor() ([]byte, []int) {
152 return file_svc_feature_v1_service_proto_rawDescGZIP(), []int{1}
153 }
154
155 func (x *HasFeatureResponse) GetAvailable() bool {
156 if x != nil {
157 return x.Available
158 }
159 return false
160 }
161
162 type ListFeatureRequest struct {
163 state protoimpl.MessageState `protogen:"open.v1"`
164 unknownFields protoimpl.UnknownFields
165 sizeCache protoimpl.SizeCache
166 }
167
168 func (x *ListFeatureRequest) Reset() {
169 *x = ListFeatureRequest{}
170 mi := &file_svc_feature_v1_service_proto_msgTypes[2]
171 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
172 ms.StoreMessageInfo(mi)
173 }
174
175 func (x *ListFeatureRequest) String() string {
176 return protoimpl.X.MessageStringOf(x)
177 }
178
179 func (*ListFeatureRequest) ProtoMessage() {}
180
181 func (x *ListFeatureRequest) ProtoReflect() protoreflect.Message {
182 mi := &file_svc_feature_v1_service_proto_msgTypes[2]
183 if x != nil {
184 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
185 if ms.LoadMessageInfo() == nil {
186 ms.StoreMessageInfo(mi)
187 }
188 return ms
189 }
190 return mi.MessageOf(x)
191 }
192
193 // Deprecated: Use ListFeatureRequest.ProtoReflect.Descriptor instead.
194 func (*ListFeatureRequest) Descriptor() ([]byte, []int) {
195 return file_svc_feature_v1_service_proto_rawDescGZIP(), []int{2}
196 }
197
198 type ListFeatureResponse struct {
199 state protoimpl.MessageState `protogen:"open.v1"`
200 Features []*v1.Feature `protobuf:"bytes,1,rep,name=features,proto3" json:"features,omitempty"`
201 unknownFields protoimpl.UnknownFields
202 sizeCache protoimpl.SizeCache
203 }
204
205 func (x *ListFeatureResponse) Reset() {
206 *x = ListFeatureResponse{}
207 mi := &file_svc_feature_v1_service_proto_msgTypes[3]
208 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
209 ms.StoreMessageInfo(mi)
210 }
211
212 func (x *ListFeatureResponse) String() string {
213 return protoimpl.X.MessageStringOf(x)
214 }
215
216 func (*ListFeatureResponse) ProtoMessage() {}
217
218 func (x *ListFeatureResponse) ProtoReflect() protoreflect.Message {
219 mi := &file_svc_feature_v1_service_proto_msgTypes[3]
220 if x != nil {
221 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
222 if ms.LoadMessageInfo() == nil {
223 ms.StoreMessageInfo(mi)
224 }
225 return ms
226 }
227 return mi.MessageOf(x)
228 }
229
230 // Deprecated: Use ListFeatureResponse.ProtoReflect.Descriptor instead.
231 func (*ListFeatureResponse) Descriptor() ([]byte, []int) {
232 return file_svc_feature_v1_service_proto_rawDescGZIP(), []int{3}
233 }
234
235 func (x *ListFeatureResponse) GetFeatures() []*v1.Feature {
236 if x != nil {
237 return x.Features
238 }
239 return nil
240 }
241
242 type AllowedUsageRequest struct {
243 state protoimpl.MessageState `protogen:"open.v1"`
244 unknownFields protoimpl.UnknownFields
245 sizeCache protoimpl.SizeCache
246 }
247
248 func (x *AllowedUsageRequest) Reset() {
249 *x = AllowedUsageRequest{}
250 mi := &file_svc_feature_v1_service_proto_msgTypes[4]
251 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
252 ms.StoreMessageInfo(mi)
253 }
254
255 func (x *AllowedUsageRequest) String() string {
256 return protoimpl.X.MessageStringOf(x)
257 }
258
259 func (*AllowedUsageRequest) ProtoMessage() {}
260
261 func (x *AllowedUsageRequest) ProtoReflect() protoreflect.Message {
262 mi := &file_svc_feature_v1_service_proto_msgTypes[4]
263 if x != nil {
264 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
265 if ms.LoadMessageInfo() == nil {
266 ms.StoreMessageInfo(mi)
267 }
268 return ms
269 }
270 return mi.MessageOf(x)
271 }
272
273 // Deprecated: Use AllowedUsageRequest.ProtoReflect.Descriptor instead.
274 func (*AllowedUsageRequest) Descriptor() ([]byte, []int) {
275 return file_svc_feature_v1_service_proto_rawDescGZIP(), []int{4}
276 }
277
278 type AllowedUsageResponse struct {
279 state protoimpl.MessageState `protogen:"open.v1"`
280 LocalhostUsage AllowedUsageResponse_LocalhostUsage `protobuf:"varint,1,opt,name=localhost_usage,json=localhostUsage,proto3,enum=svc.feature.v1.AllowedUsageResponse_LocalhostUsage" json:"localhost_usage,omitempty"`
281 unknownFields protoimpl.UnknownFields
282 sizeCache protoimpl.SizeCache
283 }
284
285 func (x *AllowedUsageResponse) Reset() {
286 *x = AllowedUsageResponse{}
287 mi := &file_svc_feature_v1_service_proto_msgTypes[5]
288 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
289 ms.StoreMessageInfo(mi)
290 }
291
292 func (x *AllowedUsageResponse) String() string {
293 return protoimpl.X.MessageStringOf(x)
294 }
295
296 func (*AllowedUsageResponse) ProtoMessage() {}
297
298 func (x *AllowedUsageResponse) ProtoReflect() protoreflect.Message {
299 mi := &file_svc_feature_v1_service_proto_msgTypes[5]
300 if x != nil {
301 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
302 if ms.LoadMessageInfo() == nil {
303 ms.StoreMessageInfo(mi)
304 }
305 return ms
306 }
307 return mi.MessageOf(x)
308 }
309
310 // Deprecated: Use AllowedUsageResponse.ProtoReflect.Descriptor instead.
311 func (*AllowedUsageResponse) Descriptor() ([]byte, []int) {
312 return file_svc_feature_v1_service_proto_rawDescGZIP(), []int{5}
313 }
314
315 func (x *AllowedUsageResponse) GetLocalhostUsage() AllowedUsageResponse_LocalhostUsage {
316 if x != nil {
317 return x.LocalhostUsage
318 }
319 return AllowedUsageResponse_NO_USAGE
320 }
321
322 var File_svc_feature_v1_service_proto protoreflect.FileDescriptor
323
324 var file_svc_feature_v1_service_proto_rawDesc = string([]byte{
325 0x0a, 0x1c, 0x73, 0x76, 0x63, 0x2f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x2f, 0x76, 0x31,
326 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e,
327 0x73, 0x76, 0x63, 0x2e, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x16,
328 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65,
329 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2d, 0x0a, 0x11, 0x48, 0x61, 0x73, 0x46, 0x65, 0x61,
330 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x66,
331 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x65,
332 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x32, 0x0a, 0x12, 0x48, 0x61, 0x73, 0x46, 0x65, 0x61, 0x74,
333 0x75, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61,
334 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09,
335 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x4c, 0x69, 0x73,
336 0x74, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22,
337 0x44, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x65,
338 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72,
339 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73,
340 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x08, 0x66, 0x65, 0x61,
341 0x74, 0x75, 0x72, 0x65, 0x73, 0x22, 0x15, 0x0a, 0x13, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64,
342 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xba, 0x01, 0x0a,
343 0x14, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73,
344 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x68, 0x6f,
345 0x73, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33,
346 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e,
347 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70,
348 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x68, 0x6f, 0x73, 0x74, 0x55, 0x73,
349 0x61, 0x67, 0x65, 0x52, 0x0e, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x68, 0x6f, 0x73, 0x74, 0x55, 0x73,
350 0x61, 0x67, 0x65, 0x22, 0x44, 0x0a, 0x0e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x68, 0x6f, 0x73, 0x74,
351 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x4e, 0x4f, 0x5f, 0x55, 0x53, 0x41, 0x47,
352 0x45, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x45, 0x52, 0x53, 0x4f, 0x4e, 0x41, 0x4c, 0x5f,
353 0x55, 0x53, 0x45, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x4f, 0x4d, 0x4d, 0x45, 0x52, 0x43,
354 0x49, 0x41, 0x4c, 0x5f, 0x55, 0x53, 0x45, 0x10, 0x02, 0x32, 0x98, 0x02, 0x0a, 0x0e, 0x46, 0x65,
355 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x53, 0x0a, 0x0a,
356 0x48, 0x61, 0x73, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x21, 0x2e, 0x73, 0x76, 0x63,
357 0x2e, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x61, 0x73, 0x46,
358 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e,
359 0x73, 0x76, 0x63, 0x2e, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x48,
360 0x61, 0x73, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
361 0x65, 0x12, 0x56, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65,
362 0x12, 0x22, 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x76,
363 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71,
364 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x66, 0x65, 0x61, 0x74, 0x75,
365 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72,
366 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0c, 0x41, 0x6c, 0x6c,
367 0x6f, 0x77, 0x65, 0x64, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x23, 0x2e, 0x73, 0x76, 0x63, 0x2e,
368 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x77,
369 0x65, 0x64, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24,
370 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e,
371 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70,
372 0x6f, 0x6e, 0x73, 0x65, 0x42, 0xb3, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x76, 0x63,
373 0x2e, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x53, 0x65, 0x72,
374 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x67, 0x69, 0x74,
375 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x6c, 0x6f, 0x67,
376 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x76, 0x63, 0x2f, 0x66, 0x65,
377 0x61, 0x74, 0x75, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65,
378 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x46, 0x58, 0xaa, 0x02, 0x0e, 0x53, 0x76, 0x63, 0x2e, 0x46,
379 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0e, 0x53, 0x76, 0x63, 0x5c,
380 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1a, 0x53, 0x76, 0x63,
381 0x5c, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d,
382 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x46,
383 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
384 0x6f, 0x33,
385 })
386
387 var (
388 file_svc_feature_v1_service_proto_rawDescOnce sync.Once
389 file_svc_feature_v1_service_proto_rawDescData []byte
390 )
391
392 func file_svc_feature_v1_service_proto_rawDescGZIP() []byte {
393 file_svc_feature_v1_service_proto_rawDescOnce.Do(func() {
394 file_svc_feature_v1_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_svc_feature_v1_service_proto_rawDesc), len(file_svc_feature_v1_service_proto_rawDesc)))
395 })
396 return file_svc_feature_v1_service_proto_rawDescData
397 }
398
399 var file_svc_feature_v1_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
400 var file_svc_feature_v1_service_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
401 var file_svc_feature_v1_service_proto_goTypes = []any{
402 (AllowedUsageResponse_LocalhostUsage)(0), // 0: svc.feature.v1.AllowedUsageResponse.LocalhostUsage
403 (*HasFeatureRequest)(nil), // 1: svc.feature.v1.HasFeatureRequest
404 (*HasFeatureResponse)(nil), // 2: svc.feature.v1.HasFeatureResponse
405 (*ListFeatureRequest)(nil), // 3: svc.feature.v1.ListFeatureRequest
406 (*ListFeatureResponse)(nil), // 4: svc.feature.v1.ListFeatureResponse
407 (*AllowedUsageRequest)(nil), // 5: svc.feature.v1.AllowedUsageRequest
408 (*AllowedUsageResponse)(nil), // 6: svc.feature.v1.AllowedUsageResponse
409 (*v1.Feature)(nil), // 7: types.v1.Feature
410 }
411 var file_svc_feature_v1_service_proto_depIdxs = []int32{
412 7, // 0: svc.feature.v1.ListFeatureResponse.features:type_name -> types.v1.Feature
413 0, // 1: svc.feature.v1.AllowedUsageResponse.localhost_usage:type_name -> svc.feature.v1.AllowedUsageResponse.LocalhostUsage
414 1, // 2: svc.feature.v1.FeatureService.HasFeature:input_type -> svc.feature.v1.HasFeatureRequest
415 3, // 3: svc.feature.v1.FeatureService.ListFeature:input_type -> svc.feature.v1.ListFeatureRequest
416 5, // 4: svc.feature.v1.FeatureService.AllowedUsage:input_type -> svc.feature.v1.AllowedUsageRequest
417 2, // 5: svc.feature.v1.FeatureService.HasFeature:output_type -> svc.feature.v1.HasFeatureResponse
418 4, // 6: svc.feature.v1.FeatureService.ListFeature:output_type -> svc.feature.v1.ListFeatureResponse
419 6, // 7: svc.feature.v1.FeatureService.AllowedUsage:output_type -> svc.feature.v1.AllowedUsageResponse
420 5, // [5:8] is the sub-list for method output_type
421 2, // [2:5] is the sub-list for method input_type
422 2, // [2:2] is the sub-list for extension type_name
423 2, // [2:2] is the sub-list for extension extendee
424 0, // [0:2] is the sub-list for field type_name
425 }
426
427 func init() { file_svc_feature_v1_service_proto_init() }
428 func file_svc_feature_v1_service_proto_init() {
429 if File_svc_feature_v1_service_proto != nil {
430 return
431 }
432 type x struct{}
433 out := protoimpl.TypeBuilder{
434 File: protoimpl.DescBuilder{
435 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
436 RawDescriptor: unsafe.Slice(unsafe.StringData(file_svc_feature_v1_service_proto_rawDesc), len(file_svc_feature_v1_service_proto_rawDesc)),
437 NumEnums: 1,
438 NumMessages: 6,
439 NumExtensions: 0,
440 NumServices: 1,
441 },
442 GoTypes: file_svc_feature_v1_service_proto_goTypes,
443 DependencyIndexes: file_svc_feature_v1_service_proto_depIdxs,
444 EnumInfos: file_svc_feature_v1_service_proto_enumTypes,
445 MessageInfos: file_svc_feature_v1_service_proto_msgTypes,
446 }.Build()
447 File_svc_feature_v1_service_proto = out.File
448 file_svc_feature_v1_service_proto_goTypes = nil
449 file_svc_feature_v1_service_proto_depIdxs = nil
450 }