Debian Codegraph @

go/xds/type/matcher/v3/range.pb.go

raw symbols SCIP
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.36.10
4 // protoc v5.29.3
5 // source: xds/type/matcher/v3/range.proto
6
7 package v3
8
9 import (
10 v3 "github.com/cncf/xds/go/xds/type/v3"
11 _ "github.com/envoyproxy/protoc-gen-validate/validate"
12 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
13 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
14 reflect "reflect"
15 sync "sync"
16 unsafe "unsafe"
17 )
18
19 const (
20 // Verify that this generated code is sufficiently up-to-date.
21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
22 // Verify that runtime/protoimpl is sufficiently up-to-date.
23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
24 )
25
26 type Int64RangeMatcher struct {
27 state protoimpl.MessageState `protogen:"open.v1"`
28 RangeMatchers []*Int64RangeMatcher_RangeMatcher `protobuf:"bytes,1,rep,name=range_matchers,json=rangeMatchers,proto3" json:"range_matchers,omitempty"`
29 unknownFields protoimpl.UnknownFields
30 sizeCache protoimpl.SizeCache
31 }
32
33 func (x *Int64RangeMatcher) Reset() {
34 *x = Int64RangeMatcher{}
35 mi := &file_xds_type_matcher_v3_range_proto_msgTypes[0]
36 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
37 ms.StoreMessageInfo(mi)
38 }
39
40 func (x *Int64RangeMatcher) String() string {
41 return protoimpl.X.MessageStringOf(x)
42 }
43
44 func (*Int64RangeMatcher) ProtoMessage() {}
45
46 func (x *Int64RangeMatcher) ProtoReflect() protoreflect.Message {
47 mi := &file_xds_type_matcher_v3_range_proto_msgTypes[0]
48 if x != nil {
49 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
50 if ms.LoadMessageInfo() == nil {
51 ms.StoreMessageInfo(mi)
52 }
53 return ms
54 }
55 return mi.MessageOf(x)
56 }
57
58 // Deprecated: Use Int64RangeMatcher.ProtoReflect.Descriptor instead.
59 func (*Int64RangeMatcher) Descriptor() ([]byte, []int) {
60 return file_xds_type_matcher_v3_range_proto_rawDescGZIP(), []int{0}
61 }
62
63 func (x *Int64RangeMatcher) GetRangeMatchers() []*Int64RangeMatcher_RangeMatcher {
64 if x != nil {
65 return x.RangeMatchers
66 }
67 return nil
68 }
69
70 type Int32RangeMatcher struct {
71 state protoimpl.MessageState `protogen:"open.v1"`
72 RangeMatchers []*Int32RangeMatcher_RangeMatcher `protobuf:"bytes,1,rep,name=range_matchers,json=rangeMatchers,proto3" json:"range_matchers,omitempty"`
73 unknownFields protoimpl.UnknownFields
74 sizeCache protoimpl.SizeCache
75 }
76
77 func (x *Int32RangeMatcher) Reset() {
78 *x = Int32RangeMatcher{}
79 mi := &file_xds_type_matcher_v3_range_proto_msgTypes[1]
80 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
81 ms.StoreMessageInfo(mi)
82 }
83
84 func (x *Int32RangeMatcher) String() string {
85 return protoimpl.X.MessageStringOf(x)
86 }
87
88 func (*Int32RangeMatcher) ProtoMessage() {}
89
90 func (x *Int32RangeMatcher) ProtoReflect() protoreflect.Message {
91 mi := &file_xds_type_matcher_v3_range_proto_msgTypes[1]
92 if x != nil {
93 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
94 if ms.LoadMessageInfo() == nil {
95 ms.StoreMessageInfo(mi)
96 }
97 return ms
98 }
99 return mi.MessageOf(x)
100 }
101
102 // Deprecated: Use Int32RangeMatcher.ProtoReflect.Descriptor instead.
103 func (*Int32RangeMatcher) Descriptor() ([]byte, []int) {
104 return file_xds_type_matcher_v3_range_proto_rawDescGZIP(), []int{1}
105 }
106
107 func (x *Int32RangeMatcher) GetRangeMatchers() []*Int32RangeMatcher_RangeMatcher {
108 if x != nil {
109 return x.RangeMatchers
110 }
111 return nil
112 }
113
114 type DoubleRangeMatcher struct {
115 state protoimpl.MessageState `protogen:"open.v1"`
116 RangeMatchers []*DoubleRangeMatcher_RangeMatcher `protobuf:"bytes,1,rep,name=range_matchers,json=rangeMatchers,proto3" json:"range_matchers,omitempty"`
117 unknownFields protoimpl.UnknownFields
118 sizeCache protoimpl.SizeCache
119 }
120
121 func (x *DoubleRangeMatcher) Reset() {
122 *x = DoubleRangeMatcher{}
123 mi := &file_xds_type_matcher_v3_range_proto_msgTypes[2]
124 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
125 ms.StoreMessageInfo(mi)
126 }
127
128 func (x *DoubleRangeMatcher) String() string {
129 return protoimpl.X.MessageStringOf(x)
130 }
131
132 func (*DoubleRangeMatcher) ProtoMessage() {}
133
134 func (x *DoubleRangeMatcher) ProtoReflect() protoreflect.Message {
135 mi := &file_xds_type_matcher_v3_range_proto_msgTypes[2]
136 if x != nil {
137 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
138 if ms.LoadMessageInfo() == nil {
139 ms.StoreMessageInfo(mi)
140 }
141 return ms
142 }
143 return mi.MessageOf(x)
144 }
145
146 // Deprecated: Use DoubleRangeMatcher.ProtoReflect.Descriptor instead.
147 func (*DoubleRangeMatcher) Descriptor() ([]byte, []int) {
148 return file_xds_type_matcher_v3_range_proto_rawDescGZIP(), []int{2}
149 }
150
151 func (x *DoubleRangeMatcher) GetRangeMatchers() []*DoubleRangeMatcher_RangeMatcher {
152 if x != nil {
153 return x.RangeMatchers
154 }
155 return nil
156 }
157
158 type Int64RangeMatcher_RangeMatcher struct {
159 state protoimpl.MessageState `protogen:"open.v1"`
160 Ranges []*v3.Int64Range `protobuf:"bytes,1,rep,name=ranges,proto3" json:"ranges,omitempty"`
161 OnMatch *Matcher_OnMatch `protobuf:"bytes,2,opt,name=on_match,json=onMatch,proto3" json:"on_match,omitempty"`
162 unknownFields protoimpl.UnknownFields
163 sizeCache protoimpl.SizeCache
164 }
165
166 func (x *Int64RangeMatcher_RangeMatcher) Reset() {
167 *x = Int64RangeMatcher_RangeMatcher{}
168 mi := &file_xds_type_matcher_v3_range_proto_msgTypes[3]
169 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
170 ms.StoreMessageInfo(mi)
171 }
172
173 func (x *Int64RangeMatcher_RangeMatcher) String() string {
174 return protoimpl.X.MessageStringOf(x)
175 }
176
177 func (*Int64RangeMatcher_RangeMatcher) ProtoMessage() {}
178
179 func (x *Int64RangeMatcher_RangeMatcher) ProtoReflect() protoreflect.Message {
180 mi := &file_xds_type_matcher_v3_range_proto_msgTypes[3]
181 if x != nil {
182 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
183 if ms.LoadMessageInfo() == nil {
184 ms.StoreMessageInfo(mi)
185 }
186 return ms
187 }
188 return mi.MessageOf(x)
189 }
190
191 // Deprecated: Use Int64RangeMatcher_RangeMatcher.ProtoReflect.Descriptor instead.
192 func (*Int64RangeMatcher_RangeMatcher) Descriptor() ([]byte, []int) {
193 return file_xds_type_matcher_v3_range_proto_rawDescGZIP(), []int{0, 0}
194 }
195
196 func (x *Int64RangeMatcher_RangeMatcher) GetRanges() []*v3.Int64Range {
197 if x != nil {
198 return x.Ranges
199 }
200 return nil
201 }
202
203 func (x *Int64RangeMatcher_RangeMatcher) GetOnMatch() *Matcher_OnMatch {
204 if x != nil {
205 return x.OnMatch
206 }
207 return nil
208 }
209
210 type Int32RangeMatcher_RangeMatcher struct {
211 state protoimpl.MessageState `protogen:"open.v1"`
212 Ranges []*v3.Int32Range `protobuf:"bytes,1,rep,name=ranges,proto3" json:"ranges,omitempty"`
213 OnMatch *Matcher_OnMatch `protobuf:"bytes,2,opt,name=on_match,json=onMatch,proto3" json:"on_match,omitempty"`
214 unknownFields protoimpl.UnknownFields
215 sizeCache protoimpl.SizeCache
216 }
217
218 func (x *Int32RangeMatcher_RangeMatcher) Reset() {
219 *x = Int32RangeMatcher_RangeMatcher{}
220 mi := &file_xds_type_matcher_v3_range_proto_msgTypes[4]
221 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
222 ms.StoreMessageInfo(mi)
223 }
224
225 func (x *Int32RangeMatcher_RangeMatcher) String() string {
226 return protoimpl.X.MessageStringOf(x)
227 }
228
229 func (*Int32RangeMatcher_RangeMatcher) ProtoMessage() {}
230
231 func (x *Int32RangeMatcher_RangeMatcher) ProtoReflect() protoreflect.Message {
232 mi := &file_xds_type_matcher_v3_range_proto_msgTypes[4]
233 if x != nil {
234 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
235 if ms.LoadMessageInfo() == nil {
236 ms.StoreMessageInfo(mi)
237 }
238 return ms
239 }
240 return mi.MessageOf(x)
241 }
242
243 // Deprecated: Use Int32RangeMatcher_RangeMatcher.ProtoReflect.Descriptor instead.
244 func (*Int32RangeMatcher_RangeMatcher) Descriptor() ([]byte, []int) {
245 return file_xds_type_matcher_v3_range_proto_rawDescGZIP(), []int{1, 0}
246 }
247
248 func (x *Int32RangeMatcher_RangeMatcher) GetRanges() []*v3.Int32Range {
249 if x != nil {
250 return x.Ranges
251 }
252 return nil
253 }
254
255 func (x *Int32RangeMatcher_RangeMatcher) GetOnMatch() *Matcher_OnMatch {
256 if x != nil {
257 return x.OnMatch
258 }
259 return nil
260 }
261
262 type DoubleRangeMatcher_RangeMatcher struct {
263 state protoimpl.MessageState `protogen:"open.v1"`
264 Ranges []*v3.DoubleRange `protobuf:"bytes,1,rep,name=ranges,proto3" json:"ranges,omitempty"`
265 OnMatch *Matcher_OnMatch `protobuf:"bytes,2,opt,name=on_match,json=onMatch,proto3" json:"on_match,omitempty"`
266 unknownFields protoimpl.UnknownFields
267 sizeCache protoimpl.SizeCache
268 }
269
270 func (x *DoubleRangeMatcher_RangeMatcher) Reset() {
271 *x = DoubleRangeMatcher_RangeMatcher{}
272 mi := &file_xds_type_matcher_v3_range_proto_msgTypes[5]
273 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
274 ms.StoreMessageInfo(mi)
275 }
276
277 func (x *DoubleRangeMatcher_RangeMatcher) String() string {
278 return protoimpl.X.MessageStringOf(x)
279 }
280
281 func (*DoubleRangeMatcher_RangeMatcher) ProtoMessage() {}
282
283 func (x *DoubleRangeMatcher_RangeMatcher) ProtoReflect() protoreflect.Message {
284 mi := &file_xds_type_matcher_v3_range_proto_msgTypes[5]
285 if x != nil {
286 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
287 if ms.LoadMessageInfo() == nil {
288 ms.StoreMessageInfo(mi)
289 }
290 return ms
291 }
292 return mi.MessageOf(x)
293 }
294
295 // Deprecated: Use DoubleRangeMatcher_RangeMatcher.ProtoReflect.Descriptor instead.
296 func (*DoubleRangeMatcher_RangeMatcher) Descriptor() ([]byte, []int) {
297 return file_xds_type_matcher_v3_range_proto_rawDescGZIP(), []int{2, 0}
298 }
299
300 func (x *DoubleRangeMatcher_RangeMatcher) GetRanges() []*v3.DoubleRange {
301 if x != nil {
302 return x.Ranges
303 }
304 return nil
305 }
306
307 func (x *DoubleRangeMatcher_RangeMatcher) GetOnMatch() *Matcher_OnMatch {
308 if x != nil {
309 return x.OnMatch
310 }
311 return nil
312 }
313
314 var File_xds_type_matcher_v3_range_proto protoreflect.FileDescriptor
315
316 const file_xds_type_matcher_v3_range_proto_rawDesc = "" +
317 "\n" +
318 "\x1fxds/type/matcher/v3/range.proto\x12\x13xds.type.matcher.v3\x1a\x17xds/type/v3/range.proto\x1a!xds/type/matcher/v3/matcher.proto\x1a\x17validate/validate.proto\"\xfc\x01\n" +
319 "\x11Int64RangeMatcher\x12Z\n" +
320 "\x0erange_matchers\x18\x01 \x03(\v23.xds.type.matcher.v3.Int64RangeMatcher.RangeMatcherR\rrangeMatchers\x1a\x8a\x01\n" +
321 "\fRangeMatcher\x129\n" +
322 "\x06ranges\x18\x01 \x03(\v2\x17.xds.type.v3.Int64RangeB\b\xfaB\x05\x92\x01\x02\b\x01R\x06ranges\x12?\n" +
323 "\bon_match\x18\x02 \x01(\v2$.xds.type.matcher.v3.Matcher.OnMatchR\aonMatch\"\xfc\x01\n" +
324 "\x11Int32RangeMatcher\x12Z\n" +
325 "\x0erange_matchers\x18\x01 \x03(\v23.xds.type.matcher.v3.Int32RangeMatcher.RangeMatcherR\rrangeMatchers\x1a\x8a\x01\n" +
326 "\fRangeMatcher\x129\n" +
327 "\x06ranges\x18\x01 \x03(\v2\x17.xds.type.v3.Int32RangeB\b\xfaB\x05\x92\x01\x02\b\x01R\x06ranges\x12?\n" +
328 "\bon_match\x18\x02 \x01(\v2$.xds.type.matcher.v3.Matcher.OnMatchR\aonMatch\"\xff\x01\n" +
329 "\x12DoubleRangeMatcher\x12[\n" +
330 "\x0erange_matchers\x18\x01 \x03(\v24.xds.type.matcher.v3.DoubleRangeMatcher.RangeMatcherR\rrangeMatchers\x1a\x8b\x01\n" +
331 "\fRangeMatcher\x12:\n" +
332 "\x06ranges\x18\x01 \x03(\v2\x18.xds.type.v3.DoubleRangeB\b\xfaB\x05\x92\x01\x02\b\x01R\x06ranges\x12?\n" +
333 "\bon_match\x18\x02 \x01(\v2$.xds.type.matcher.v3.Matcher.OnMatchR\aonMatchBZ\n" +
334 "\x1ecom.github.xds.type.matcher.v3B\n" +
335 "RangeProtoP\x01Z*github.com/cncf/xds/go/xds/type/matcher/v3b\x06proto3"
336
337 var (
338 file_xds_type_matcher_v3_range_proto_rawDescOnce sync.Once
339 file_xds_type_matcher_v3_range_proto_rawDescData []byte
340 )
341
342 func file_xds_type_matcher_v3_range_proto_rawDescGZIP() []byte {
343 file_xds_type_matcher_v3_range_proto_rawDescOnce.Do(func() {
344 file_xds_type_matcher_v3_range_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_xds_type_matcher_v3_range_proto_rawDesc), len(file_xds_type_matcher_v3_range_proto_rawDesc)))
345 })
346 return file_xds_type_matcher_v3_range_proto_rawDescData
347 }
348
349 var file_xds_type_matcher_v3_range_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
350 var file_xds_type_matcher_v3_range_proto_goTypes = []any{
351 (*Int64RangeMatcher)(nil), // 0: xds.type.matcher.v3.Int64RangeMatcher
352 (*Int32RangeMatcher)(nil), // 1: xds.type.matcher.v3.Int32RangeMatcher
353 (*DoubleRangeMatcher)(nil), // 2: xds.type.matcher.v3.DoubleRangeMatcher
354 (*Int64RangeMatcher_RangeMatcher)(nil), // 3: xds.type.matcher.v3.Int64RangeMatcher.RangeMatcher
355 (*Int32RangeMatcher_RangeMatcher)(nil), // 4: xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher
356 (*DoubleRangeMatcher_RangeMatcher)(nil), // 5: xds.type.matcher.v3.DoubleRangeMatcher.RangeMatcher
357 (*v3.Int64Range)(nil), // 6: xds.type.v3.Int64Range
358 (*Matcher_OnMatch)(nil), // 7: xds.type.matcher.v3.Matcher.OnMatch
359 (*v3.Int32Range)(nil), // 8: xds.type.v3.Int32Range
360 (*v3.DoubleRange)(nil), // 9: xds.type.v3.DoubleRange
361 }
362 var file_xds_type_matcher_v3_range_proto_depIdxs = []int32{
363 3, // 0: xds.type.matcher.v3.Int64RangeMatcher.range_matchers:type_name -> xds.type.matcher.v3.Int64RangeMatcher.RangeMatcher
364 4, // 1: xds.type.matcher.v3.Int32RangeMatcher.range_matchers:type_name -> xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher
365 5, // 2: xds.type.matcher.v3.DoubleRangeMatcher.range_matchers:type_name -> xds.type.matcher.v3.DoubleRangeMatcher.RangeMatcher
366 6, // 3: xds.type.matcher.v3.Int64RangeMatcher.RangeMatcher.ranges:type_name -> xds.type.v3.Int64Range
367 7, // 4: xds.type.matcher.v3.Int64RangeMatcher.RangeMatcher.on_match:type_name -> xds.type.matcher.v3.Matcher.OnMatch
368 8, // 5: xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher.ranges:type_name -> xds.type.v3.Int32Range
369 7, // 6: xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher.on_match:type_name -> xds.type.matcher.v3.Matcher.OnMatch
370 9, // 7: xds.type.matcher.v3.DoubleRangeMatcher.RangeMatcher.ranges:type_name -> xds.type.v3.DoubleRange
371 7, // 8: xds.type.matcher.v3.DoubleRangeMatcher.RangeMatcher.on_match:type_name -> xds.type.matcher.v3.Matcher.OnMatch
372 9, // [9:9] is the sub-list for method output_type
373 9, // [9:9] is the sub-list for method input_type
374 9, // [9:9] is the sub-list for extension type_name
375 9, // [9:9] is the sub-list for extension extendee
376 0, // [0:9] is the sub-list for field type_name
377 }
378
379 func init() { file_xds_type_matcher_v3_range_proto_init() }
380 func file_xds_type_matcher_v3_range_proto_init() {
381 if File_xds_type_matcher_v3_range_proto != nil {
382 return
383 }
384 file_xds_type_matcher_v3_matcher_proto_init()
385 type x struct{}
386 out := protoimpl.TypeBuilder{
387 File: protoimpl.DescBuilder{
388 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
389 RawDescriptor: unsafe.Slice(unsafe.StringData(file_xds_type_matcher_v3_range_proto_rawDesc), len(file_xds_type_matcher_v3_range_proto_rawDesc)),
390 NumEnums: 0,
391 NumMessages: 6,
392 NumExtensions: 0,
393 NumServices: 0,
394 },
395 GoTypes: file_xds_type_matcher_v3_range_proto_goTypes,
396 DependencyIndexes: file_xds_type_matcher_v3_range_proto_depIdxs,
397 MessageInfos: file_xds_type_matcher_v3_range_proto_msgTypes,
398 }.Build()
399 File_xds_type_matcher_v3_range_proto = out.File
400 file_xds_type_matcher_v3_range_proto_goTypes = nil
401 file_xds_type_matcher_v3_range_proto_depIdxs = nil
402 }