1
2
3
4 package examplepb
5
6 import (
7 fmt "fmt"
8 proto "github.com/golang/protobuf/proto"
9 empty "github.com/golang/protobuf/ptypes/empty"
10 timestamp "github.com/golang/protobuf/ptypes/timestamp"
11 math "math"
12 )
13
14
15 var _ = proto.Marshal
16 var _ = fmt.Errorf
17 var _ = math.Inf
18
19
20
21
22
23 const _ = proto.ProtoPackageIsVersion3
24
25
26 type NumericEnum int32
27
28 const (
29
30 NumericEnum_ZERO NumericEnum = 0
31
32 NumericEnum_ONE NumericEnum = 1
33 )
34
35 var NumericEnum_name = map[int32]string{
36 0: "ZERO",
37 1: "ONE",
38 }
39
40 var NumericEnum_value = map[string]int32{
41 "ZERO": 0,
42 "ONE": 1,
43 }
44
45 func (x NumericEnum) String() string {
46 return proto.EnumName(NumericEnum_name, int32(x))
47 }
48
49 func (NumericEnum) EnumDescriptor() ([]byte, []int) {
50 return fileDescriptor_411aaf1bcbdb81d6, []int{0}
51 }
52
53
54 type ABitOfEverything_Nested_DeepEnum int32
55
56 const (
57
58 ABitOfEverything_Nested_FALSE ABitOfEverything_Nested_DeepEnum = 0
59
60 ABitOfEverything_Nested_TRUE ABitOfEverything_Nested_DeepEnum = 1
61 )
62
63 var ABitOfEverything_Nested_DeepEnum_name = map[int32]string{
64 0: "FALSE",
65 1: "TRUE",
66 }
67
68 var ABitOfEverything_Nested_DeepEnum_value = map[string]int32{
69 "FALSE": 0,
70 "TRUE": 1,
71 }
72
73 func (x ABitOfEverything_Nested_DeepEnum) String() string {
74 return proto.EnumName(ABitOfEverything_Nested_DeepEnum_name, int32(x))
75 }
76
77 func (ABitOfEverything_Nested_DeepEnum) EnumDescriptor() ([]byte, []int) {
78 return fileDescriptor_411aaf1bcbdb81d6, []int{1, 0, 0}
79 }
80
81 type RepeatedResponseBodyOut_Response_ResponseType int32
82
83 const (
84
85 RepeatedResponseBodyOut_Response_UNKNOWN RepeatedResponseBodyOut_Response_ResponseType = 0
86
87 RepeatedResponseBodyOut_Response_A RepeatedResponseBodyOut_Response_ResponseType = 1
88
89 RepeatedResponseBodyOut_Response_B RepeatedResponseBodyOut_Response_ResponseType = 2
90 )
91
92 var RepeatedResponseBodyOut_Response_ResponseType_name = map[int32]string{
93 0: "UNKNOWN",
94 1: "A",
95 2: "B",
96 }
97
98 var RepeatedResponseBodyOut_Response_ResponseType_value = map[string]int32{
99 "UNKNOWN": 0,
100 "A": 1,
101 "B": 2,
102 }
103
104 func (x RepeatedResponseBodyOut_Response_ResponseType) String() string {
105 return proto.EnumName(RepeatedResponseBodyOut_Response_ResponseType_name, int32(x))
106 }
107
108 func (RepeatedResponseBodyOut_Response_ResponseType) EnumDescriptor() ([]byte, []int) {
109 return fileDescriptor_411aaf1bcbdb81d6, []int{3, 0, 0}
110 }
111
112
113 type SimpleMessage struct {
114 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
115 XXX_NoUnkeyedLiteral struct{} `json:"-"`
116 XXX_unrecognized []byte `json:"-"`
117 XXX_sizecache int32 `json:"-"`
118 }
119
120 func (m *SimpleMessage) Reset() { *m = SimpleMessage{} }
121 func (m *SimpleMessage) String() string { return proto.CompactTextString(m) }
122 func (*SimpleMessage) ProtoMessage() {}
123 func (*SimpleMessage) Descriptor() ([]byte, []int) {
124 return fileDescriptor_411aaf1bcbdb81d6, []int{0}
125 }
126
127 func (m *SimpleMessage) XXX_Unmarshal(b []byte) error {
128 return xxx_messageInfo_SimpleMessage.Unmarshal(m, b)
129 }
130 func (m *SimpleMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
131 return xxx_messageInfo_SimpleMessage.Marshal(b, m, deterministic)
132 }
133 func (m *SimpleMessage) XXX_Merge(src proto.Message) {
134 xxx_messageInfo_SimpleMessage.Merge(m, src)
135 }
136 func (m *SimpleMessage) XXX_Size() int {
137 return xxx_messageInfo_SimpleMessage.Size(m)
138 }
139 func (m *SimpleMessage) XXX_DiscardUnknown() {
140 xxx_messageInfo_SimpleMessage.DiscardUnknown(m)
141 }
142
143 var xxx_messageInfo_SimpleMessage proto.InternalMessageInfo
144
145 func (m *SimpleMessage) GetId() string {
146 if m != nil {
147 return m.Id
148 }
149 return ""
150 }
151
152 type ABitOfEverything struct {
153 SingleNested *ABitOfEverything_Nested `protobuf:"bytes,25,opt,name=single_nested,json=singleNested,proto3" json:"single_nested,omitempty"`
154 Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
155 Nested []*ABitOfEverything_Nested `protobuf:"bytes,2,rep,name=nested,proto3" json:"nested,omitempty"`
156 FloatValue float32 `protobuf:"fixed32,3,opt,name=float_value,json=floatValue,proto3" json:"float_value,omitempty"`
157 DoubleValue float64 `protobuf:"fixed64,4,opt,name=double_value,json=doubleValue,proto3" json:"double_value,omitempty"`
158 Int64Value int64 `protobuf:"varint,5,opt,name=int64_value,json=int64Value,proto3" json:"int64_value,omitempty"`
159 Uint64Value uint64 `protobuf:"varint,6,opt,name=uint64_value,json=uint64Value,proto3" json:"uint64_value,omitempty"`
160 Int32Value int32 `protobuf:"varint,7,opt,name=int32_value,json=int32Value,proto3" json:"int32_value,omitempty"`
161 Fixed64Value uint64 `protobuf:"fixed64,8,opt,name=fixed64_value,json=fixed64Value,proto3" json:"fixed64_value,omitempty"`
162 Fixed32Value uint32 `protobuf:"fixed32,9,opt,name=fixed32_value,json=fixed32Value,proto3" json:"fixed32_value,omitempty"`
163 BoolValue bool `protobuf:"varint,10,opt,name=bool_value,json=boolValue,proto3" json:"bool_value,omitempty"`
164 StringValue string `protobuf:"bytes,11,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"`
165 BytesValue []byte `protobuf:"bytes,29,opt,name=bytes_value,json=bytesValue,proto3" json:"bytes_value,omitempty"`
166 Uint32Value uint32 `protobuf:"varint,13,opt,name=uint32_value,json=uint32Value,proto3" json:"uint32_value,omitempty"`
167 EnumValue NumericEnum `protobuf:"varint,14,opt,name=enum_value,json=enumValue,proto3,enum=grpc.gateway.runtime.internal.examplepb.NumericEnum" json:"enum_value,omitempty"`
168 Sfixed32Value int32 `protobuf:"fixed32,15,opt,name=sfixed32_value,json=sfixed32Value,proto3" json:"sfixed32_value,omitempty"`
169 Sfixed64Value int64 `protobuf:"fixed64,16,opt,name=sfixed64_value,json=sfixed64Value,proto3" json:"sfixed64_value,omitempty"`
170 Sint32Value int32 `protobuf:"zigzag32,17,opt,name=sint32_value,json=sint32Value,proto3" json:"sint32_value,omitempty"`
171 Sint64Value int64 `protobuf:"zigzag64,18,opt,name=sint64_value,json=sint64Value,proto3" json:"sint64_value,omitempty"`
172 RepeatedStringValue []string `protobuf:"bytes,19,rep,name=repeated_string_value,json=repeatedStringValue,proto3" json:"repeated_string_value,omitempty"`
173
174
175
176 OneofValue isABitOfEverything_OneofValue `protobuf_oneof:"oneof_value"`
177 MapValue map[string]NumericEnum `protobuf:"bytes,22,rep,name=map_value,json=mapValue,proto3" json:"map_value,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=grpc.gateway.runtime.internal.examplepb.NumericEnum"`
178 MappedStringValue map[string]string `protobuf:"bytes,23,rep,name=mapped_string_value,json=mappedStringValue,proto3" json:"mapped_string_value,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
179 MappedNestedValue map[string]*ABitOfEverything_Nested `protobuf:"bytes,24,rep,name=mapped_nested_value,json=mappedNestedValue,proto3" json:"mapped_nested_value,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
180 NonConventionalNameValue string `protobuf:"bytes,26,opt,name=nonConventionalNameValue,proto3" json:"nonConventionalNameValue,omitempty"`
181 TimestampValue *timestamp.Timestamp `protobuf:"bytes,27,opt,name=timestamp_value,json=timestampValue,proto3" json:"timestamp_value,omitempty"`
182
183 RepeatedEnumValue []NumericEnum `protobuf:"varint,28,rep,packed,name=repeated_enum_value,json=repeatedEnumValue,proto3,enum=grpc.gateway.runtime.internal.examplepb.NumericEnum" json:"repeated_enum_value,omitempty"`
184
185 RepeatedEnumAnnotation []NumericEnum `protobuf:"varint,32,rep,packed,name=repeated_enum_annotation,json=repeatedEnumAnnotation,proto3,enum=grpc.gateway.runtime.internal.examplepb.NumericEnum" json:"repeated_enum_annotation,omitempty"`
186
187 EnumValueAnnotation NumericEnum `protobuf:"varint,33,opt,name=enum_value_annotation,json=enumValueAnnotation,proto3,enum=grpc.gateway.runtime.internal.examplepb.NumericEnum" json:"enum_value_annotation,omitempty"`
188
189 RepeatedStringAnnotation []string `protobuf:"bytes,34,rep,name=repeated_string_annotation,json=repeatedStringAnnotation,proto3" json:"repeated_string_annotation,omitempty"`
190
191 RepeatedNestedAnnotation []*ABitOfEverything_Nested `protobuf:"bytes,35,rep,name=repeated_nested_annotation,json=repeatedNestedAnnotation,proto3" json:"repeated_nested_annotation,omitempty"`
192
193 NestedAnnotation *ABitOfEverything_Nested `protobuf:"bytes,36,opt,name=nested_annotation,json=nestedAnnotation,proto3" json:"nested_annotation,omitempty"`
194 Int64OverrideType int64 `protobuf:"varint,37,opt,name=int64_override_type,json=int64OverrideType,proto3" json:"int64_override_type,omitempty"`
195 XXX_NoUnkeyedLiteral struct{} `json:"-"`
196 XXX_unrecognized []byte `json:"-"`
197 XXX_sizecache int32 `json:"-"`
198 }
199
200 func (m *ABitOfEverything) Reset() { *m = ABitOfEverything{} }
201 func (m *ABitOfEverything) String() string { return proto.CompactTextString(m) }
202 func (*ABitOfEverything) ProtoMessage() {}
203 func (*ABitOfEverything) Descriptor() ([]byte, []int) {
204 return fileDescriptor_411aaf1bcbdb81d6, []int{1}
205 }
206
207 func (m *ABitOfEverything) XXX_Unmarshal(b []byte) error {
208 return xxx_messageInfo_ABitOfEverything.Unmarshal(m, b)
209 }
210 func (m *ABitOfEverything) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
211 return xxx_messageInfo_ABitOfEverything.Marshal(b, m, deterministic)
212 }
213 func (m *ABitOfEverything) XXX_Merge(src proto.Message) {
214 xxx_messageInfo_ABitOfEverything.Merge(m, src)
215 }
216 func (m *ABitOfEverything) XXX_Size() int {
217 return xxx_messageInfo_ABitOfEverything.Size(m)
218 }
219 func (m *ABitOfEverything) XXX_DiscardUnknown() {
220 xxx_messageInfo_ABitOfEverything.DiscardUnknown(m)
221 }
222
223 var xxx_messageInfo_ABitOfEverything proto.InternalMessageInfo
224
225 func (m *ABitOfEverything) GetSingleNested() *ABitOfEverything_Nested {
226 if m != nil {
227 return m.SingleNested
228 }
229 return nil
230 }
231
232 func (m *ABitOfEverything) GetUuid() string {
233 if m != nil {
234 return m.Uuid
235 }
236 return ""
237 }
238
239 func (m *ABitOfEverything) GetNested() []*ABitOfEverything_Nested {
240 if m != nil {
241 return m.Nested
242 }
243 return nil
244 }
245
246 func (m *ABitOfEverything) GetFloatValue() float32 {
247 if m != nil {
248 return m.FloatValue
249 }
250 return 0
251 }
252
253 func (m *ABitOfEverything) GetDoubleValue() float64 {
254 if m != nil {
255 return m.DoubleValue
256 }
257 return 0
258 }
259
260 func (m *ABitOfEverything) GetInt64Value() int64 {
261 if m != nil {
262 return m.Int64Value
263 }
264 return 0
265 }
266
267 func (m *ABitOfEverything) GetUint64Value() uint64 {
268 if m != nil {
269 return m.Uint64Value
270 }
271 return 0
272 }
273
274 func (m *ABitOfEverything) GetInt32Value() int32 {
275 if m != nil {
276 return m.Int32Value
277 }
278 return 0
279 }
280
281 func (m *ABitOfEverything) GetFixed64Value() uint64 {
282 if m != nil {
283 return m.Fixed64Value
284 }
285 return 0
286 }
287
288 func (m *ABitOfEverything) GetFixed32Value() uint32 {
289 if m != nil {
290 return m.Fixed32Value
291 }
292 return 0
293 }
294
295 func (m *ABitOfEverything) GetBoolValue() bool {
296 if m != nil {
297 return m.BoolValue
298 }
299 return false
300 }
301
302 func (m *ABitOfEverything) GetStringValue() string {
303 if m != nil {
304 return m.StringValue
305 }
306 return ""
307 }
308
309 func (m *ABitOfEverything) GetBytesValue() []byte {
310 if m != nil {
311 return m.BytesValue
312 }
313 return nil
314 }
315
316 func (m *ABitOfEverything) GetUint32Value() uint32 {
317 if m != nil {
318 return m.Uint32Value
319 }
320 return 0
321 }
322
323 func (m *ABitOfEverything) GetEnumValue() NumericEnum {
324 if m != nil {
325 return m.EnumValue
326 }
327 return NumericEnum_ZERO
328 }
329
330 func (m *ABitOfEverything) GetSfixed32Value() int32 {
331 if m != nil {
332 return m.Sfixed32Value
333 }
334 return 0
335 }
336
337 func (m *ABitOfEverything) GetSfixed64Value() int64 {
338 if m != nil {
339 return m.Sfixed64Value
340 }
341 return 0
342 }
343
344 func (m *ABitOfEverything) GetSint32Value() int32 {
345 if m != nil {
346 return m.Sint32Value
347 }
348 return 0
349 }
350
351 func (m *ABitOfEverything) GetSint64Value() int64 {
352 if m != nil {
353 return m.Sint64Value
354 }
355 return 0
356 }
357
358 func (m *ABitOfEverything) GetRepeatedStringValue() []string {
359 if m != nil {
360 return m.RepeatedStringValue
361 }
362 return nil
363 }
364
365 type isABitOfEverything_OneofValue interface {
366 isABitOfEverything_OneofValue()
367 }
368
369 type ABitOfEverything_OneofEmpty struct {
370 OneofEmpty *empty.Empty `protobuf:"bytes,20,opt,name=oneof_empty,json=oneofEmpty,proto3,oneof"`
371 }
372
373 type ABitOfEverything_OneofString struct {
374 OneofString string `protobuf:"bytes,21,opt,name=oneof_string,json=oneofString,proto3,oneof"`
375 }
376
377 func (*ABitOfEverything_OneofEmpty) isABitOfEverything_OneofValue() {}
378
379 func (*ABitOfEverything_OneofString) isABitOfEverything_OneofValue() {}
380
381 func (m *ABitOfEverything) GetOneofValue() isABitOfEverything_OneofValue {
382 if m != nil {
383 return m.OneofValue
384 }
385 return nil
386 }
387
388 func (m *ABitOfEverything) GetOneofEmpty() *empty.Empty {
389 if x, ok := m.GetOneofValue().(*ABitOfEverything_OneofEmpty); ok {
390 return x.OneofEmpty
391 }
392 return nil
393 }
394
395 func (m *ABitOfEverything) GetOneofString() string {
396 if x, ok := m.GetOneofValue().(*ABitOfEverything_OneofString); ok {
397 return x.OneofString
398 }
399 return ""
400 }
401
402 func (m *ABitOfEverything) GetMapValue() map[string]NumericEnum {
403 if m != nil {
404 return m.MapValue
405 }
406 return nil
407 }
408
409 func (m *ABitOfEverything) GetMappedStringValue() map[string]string {
410 if m != nil {
411 return m.MappedStringValue
412 }
413 return nil
414 }
415
416 func (m *ABitOfEverything) GetMappedNestedValue() map[string]*ABitOfEverything_Nested {
417 if m != nil {
418 return m.MappedNestedValue
419 }
420 return nil
421 }
422
423 func (m *ABitOfEverything) GetNonConventionalNameValue() string {
424 if m != nil {
425 return m.NonConventionalNameValue
426 }
427 return ""
428 }
429
430 func (m *ABitOfEverything) GetTimestampValue() *timestamp.Timestamp {
431 if m != nil {
432 return m.TimestampValue
433 }
434 return nil
435 }
436
437 func (m *ABitOfEverything) GetRepeatedEnumValue() []NumericEnum {
438 if m != nil {
439 return m.RepeatedEnumValue
440 }
441 return nil
442 }
443
444 func (m *ABitOfEverything) GetRepeatedEnumAnnotation() []NumericEnum {
445 if m != nil {
446 return m.RepeatedEnumAnnotation
447 }
448 return nil
449 }
450
451 func (m *ABitOfEverything) GetEnumValueAnnotation() NumericEnum {
452 if m != nil {
453 return m.EnumValueAnnotation
454 }
455 return NumericEnum_ZERO
456 }
457
458 func (m *ABitOfEverything) GetRepeatedStringAnnotation() []string {
459 if m != nil {
460 return m.RepeatedStringAnnotation
461 }
462 return nil
463 }
464
465 func (m *ABitOfEverything) GetRepeatedNestedAnnotation() []*ABitOfEverything_Nested {
466 if m != nil {
467 return m.RepeatedNestedAnnotation
468 }
469 return nil
470 }
471
472 func (m *ABitOfEverything) GetNestedAnnotation() *ABitOfEverything_Nested {
473 if m != nil {
474 return m.NestedAnnotation
475 }
476 return nil
477 }
478
479 func (m *ABitOfEverything) GetInt64OverrideType() int64 {
480 if m != nil {
481 return m.Int64OverrideType
482 }
483 return 0
484 }
485
486
487 func (*ABitOfEverything) XXX_OneofWrappers() []interface{} {
488 return []interface{}{
489 (*ABitOfEverything_OneofEmpty)(nil),
490 (*ABitOfEverything_OneofString)(nil),
491 }
492 }
493
494
495 type ABitOfEverything_Nested struct {
496
497 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
498 Amount uint32 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
499
500 Ok ABitOfEverything_Nested_DeepEnum `protobuf:"varint,3,opt,name=ok,proto3,enum=grpc.gateway.runtime.internal.examplepb.ABitOfEverything_Nested_DeepEnum" json:"ok,omitempty"`
501 XXX_NoUnkeyedLiteral struct{} `json:"-"`
502 XXX_unrecognized []byte `json:"-"`
503 XXX_sizecache int32 `json:"-"`
504 }
505
506 func (m *ABitOfEverything_Nested) Reset() { *m = ABitOfEverything_Nested{} }
507 func (m *ABitOfEverything_Nested) String() string { return proto.CompactTextString(m) }
508 func (*ABitOfEverything_Nested) ProtoMessage() {}
509 func (*ABitOfEverything_Nested) Descriptor() ([]byte, []int) {
510 return fileDescriptor_411aaf1bcbdb81d6, []int{1, 0}
511 }
512
513 func (m *ABitOfEverything_Nested) XXX_Unmarshal(b []byte) error {
514 return xxx_messageInfo_ABitOfEverything_Nested.Unmarshal(m, b)
515 }
516 func (m *ABitOfEverything_Nested) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
517 return xxx_messageInfo_ABitOfEverything_Nested.Marshal(b, m, deterministic)
518 }
519 func (m *ABitOfEverything_Nested) XXX_Merge(src proto.Message) {
520 xxx_messageInfo_ABitOfEverything_Nested.Merge(m, src)
521 }
522 func (m *ABitOfEverything_Nested) XXX_Size() int {
523 return xxx_messageInfo_ABitOfEverything_Nested.Size(m)
524 }
525 func (m *ABitOfEverything_Nested) XXX_DiscardUnknown() {
526 xxx_messageInfo_ABitOfEverything_Nested.DiscardUnknown(m)
527 }
528
529 var xxx_messageInfo_ABitOfEverything_Nested proto.InternalMessageInfo
530
531 func (m *ABitOfEverything_Nested) GetName() string {
532 if m != nil {
533 return m.Name
534 }
535 return ""
536 }
537
538 func (m *ABitOfEverything_Nested) GetAmount() uint32 {
539 if m != nil {
540 return m.Amount
541 }
542 return 0
543 }
544
545 func (m *ABitOfEverything_Nested) GetOk() ABitOfEverything_Nested_DeepEnum {
546 if m != nil {
547 return m.Ok
548 }
549 return ABitOfEverything_Nested_FALSE
550 }
551
552 type ResponseBodyOut struct {
553 Response *ResponseBodyOut_Response `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"`
554 XXX_NoUnkeyedLiteral struct{} `json:"-"`
555 XXX_unrecognized []byte `json:"-"`
556 XXX_sizecache int32 `json:"-"`
557 }
558
559 func (m *ResponseBodyOut) Reset() { *m = ResponseBodyOut{} }
560 func (m *ResponseBodyOut) String() string { return proto.CompactTextString(m) }
561 func (*ResponseBodyOut) ProtoMessage() {}
562 func (*ResponseBodyOut) Descriptor() ([]byte, []int) {
563 return fileDescriptor_411aaf1bcbdb81d6, []int{2}
564 }
565
566 func (m *ResponseBodyOut) XXX_Unmarshal(b []byte) error {
567 return xxx_messageInfo_ResponseBodyOut.Unmarshal(m, b)
568 }
569 func (m *ResponseBodyOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
570 return xxx_messageInfo_ResponseBodyOut.Marshal(b, m, deterministic)
571 }
572 func (m *ResponseBodyOut) XXX_Merge(src proto.Message) {
573 xxx_messageInfo_ResponseBodyOut.Merge(m, src)
574 }
575 func (m *ResponseBodyOut) XXX_Size() int {
576 return xxx_messageInfo_ResponseBodyOut.Size(m)
577 }
578 func (m *ResponseBodyOut) XXX_DiscardUnknown() {
579 xxx_messageInfo_ResponseBodyOut.DiscardUnknown(m)
580 }
581
582 var xxx_messageInfo_ResponseBodyOut proto.InternalMessageInfo
583
584 func (m *ResponseBodyOut) GetResponse() *ResponseBodyOut_Response {
585 if m != nil {
586 return m.Response
587 }
588 return nil
589 }
590
591 type ResponseBodyOut_Response struct {
592 Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
593 XXX_NoUnkeyedLiteral struct{} `json:"-"`
594 XXX_unrecognized []byte `json:"-"`
595 XXX_sizecache int32 `json:"-"`
596 }
597
598 func (m *ResponseBodyOut_Response) Reset() { *m = ResponseBodyOut_Response{} }
599 func (m *ResponseBodyOut_Response) String() string { return proto.CompactTextString(m) }
600 func (*ResponseBodyOut_Response) ProtoMessage() {}
601 func (*ResponseBodyOut_Response) Descriptor() ([]byte, []int) {
602 return fileDescriptor_411aaf1bcbdb81d6, []int{2, 0}
603 }
604
605 func (m *ResponseBodyOut_Response) XXX_Unmarshal(b []byte) error {
606 return xxx_messageInfo_ResponseBodyOut_Response.Unmarshal(m, b)
607 }
608 func (m *ResponseBodyOut_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
609 return xxx_messageInfo_ResponseBodyOut_Response.Marshal(b, m, deterministic)
610 }
611 func (m *ResponseBodyOut_Response) XXX_Merge(src proto.Message) {
612 xxx_messageInfo_ResponseBodyOut_Response.Merge(m, src)
613 }
614 func (m *ResponseBodyOut_Response) XXX_Size() int {
615 return xxx_messageInfo_ResponseBodyOut_Response.Size(m)
616 }
617 func (m *ResponseBodyOut_Response) XXX_DiscardUnknown() {
618 xxx_messageInfo_ResponseBodyOut_Response.DiscardUnknown(m)
619 }
620
621 var xxx_messageInfo_ResponseBodyOut_Response proto.InternalMessageInfo
622
623 func (m *ResponseBodyOut_Response) GetData() string {
624 if m != nil {
625 return m.Data
626 }
627 return ""
628 }
629
630 type RepeatedResponseBodyOut struct {
631 Response []*RepeatedResponseBodyOut_Response `protobuf:"bytes,2,rep,name=response,proto3" json:"response,omitempty"`
632 XXX_NoUnkeyedLiteral struct{} `json:"-"`
633 XXX_unrecognized []byte `json:"-"`
634 XXX_sizecache int32 `json:"-"`
635 }
636
637 func (m *RepeatedResponseBodyOut) Reset() { *m = RepeatedResponseBodyOut{} }
638 func (m *RepeatedResponseBodyOut) String() string { return proto.CompactTextString(m) }
639 func (*RepeatedResponseBodyOut) ProtoMessage() {}
640 func (*RepeatedResponseBodyOut) Descriptor() ([]byte, []int) {
641 return fileDescriptor_411aaf1bcbdb81d6, []int{3}
642 }
643
644 func (m *RepeatedResponseBodyOut) XXX_Unmarshal(b []byte) error {
645 return xxx_messageInfo_RepeatedResponseBodyOut.Unmarshal(m, b)
646 }
647 func (m *RepeatedResponseBodyOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
648 return xxx_messageInfo_RepeatedResponseBodyOut.Marshal(b, m, deterministic)
649 }
650 func (m *RepeatedResponseBodyOut) XXX_Merge(src proto.Message) {
651 xxx_messageInfo_RepeatedResponseBodyOut.Merge(m, src)
652 }
653 func (m *RepeatedResponseBodyOut) XXX_Size() int {
654 return xxx_messageInfo_RepeatedResponseBodyOut.Size(m)
655 }
656 func (m *RepeatedResponseBodyOut) XXX_DiscardUnknown() {
657 xxx_messageInfo_RepeatedResponseBodyOut.DiscardUnknown(m)
658 }
659
660 var xxx_messageInfo_RepeatedResponseBodyOut proto.InternalMessageInfo
661
662 func (m *RepeatedResponseBodyOut) GetResponse() []*RepeatedResponseBodyOut_Response {
663 if m != nil {
664 return m.Response
665 }
666 return nil
667 }
668
669 type RepeatedResponseBodyOut_Response struct {
670 Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
671 Type RepeatedResponseBodyOut_Response_ResponseType `protobuf:"varint,3,opt,name=type,proto3,enum=grpc.gateway.runtime.internal.examplepb.RepeatedResponseBodyOut_Response_ResponseType" json:"type,omitempty"`
672 XXX_NoUnkeyedLiteral struct{} `json:"-"`
673 XXX_unrecognized []byte `json:"-"`
674 XXX_sizecache int32 `json:"-"`
675 }
676
677 func (m *RepeatedResponseBodyOut_Response) Reset() { *m = RepeatedResponseBodyOut_Response{} }
678 func (m *RepeatedResponseBodyOut_Response) String() string { return proto.CompactTextString(m) }
679 func (*RepeatedResponseBodyOut_Response) ProtoMessage() {}
680 func (*RepeatedResponseBodyOut_Response) Descriptor() ([]byte, []int) {
681 return fileDescriptor_411aaf1bcbdb81d6, []int{3, 0}
682 }
683
684 func (m *RepeatedResponseBodyOut_Response) XXX_Unmarshal(b []byte) error {
685 return xxx_messageInfo_RepeatedResponseBodyOut_Response.Unmarshal(m, b)
686 }
687 func (m *RepeatedResponseBodyOut_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
688 return xxx_messageInfo_RepeatedResponseBodyOut_Response.Marshal(b, m, deterministic)
689 }
690 func (m *RepeatedResponseBodyOut_Response) XXX_Merge(src proto.Message) {
691 xxx_messageInfo_RepeatedResponseBodyOut_Response.Merge(m, src)
692 }
693 func (m *RepeatedResponseBodyOut_Response) XXX_Size() int {
694 return xxx_messageInfo_RepeatedResponseBodyOut_Response.Size(m)
695 }
696 func (m *RepeatedResponseBodyOut_Response) XXX_DiscardUnknown() {
697 xxx_messageInfo_RepeatedResponseBodyOut_Response.DiscardUnknown(m)
698 }
699
700 var xxx_messageInfo_RepeatedResponseBodyOut_Response proto.InternalMessageInfo
701
702 func (m *RepeatedResponseBodyOut_Response) GetData() string {
703 if m != nil {
704 return m.Data
705 }
706 return ""
707 }
708
709 func (m *RepeatedResponseBodyOut_Response) GetType() RepeatedResponseBodyOut_Response_ResponseType {
710 if m != nil {
711 return m.Type
712 }
713 return RepeatedResponseBodyOut_Response_UNKNOWN
714 }
715
716 func init() {
717 proto.RegisterEnum("grpc.gateway.runtime.internal.examplepb.NumericEnum", NumericEnum_name, NumericEnum_value)
718 proto.RegisterEnum("grpc.gateway.runtime.internal.examplepb.ABitOfEverything_Nested_DeepEnum", ABitOfEverything_Nested_DeepEnum_name, ABitOfEverything_Nested_DeepEnum_value)
719 proto.RegisterEnum("grpc.gateway.runtime.internal.examplepb.RepeatedResponseBodyOut_Response_ResponseType", RepeatedResponseBodyOut_Response_ResponseType_name, RepeatedResponseBodyOut_Response_ResponseType_value)
720 proto.RegisterType((*SimpleMessage)(nil), "grpc.gateway.runtime.internal.examplepb.SimpleMessage")
721 proto.RegisterType((*ABitOfEverything)(nil), "grpc.gateway.runtime.internal.examplepb.ABitOfEverything")
722 proto.RegisterMapType((map[string]NumericEnum)(nil), "grpc.gateway.runtime.internal.examplepb.ABitOfEverything.MapValueEntry")
723 proto.RegisterMapType((map[string]*ABitOfEverything_Nested)(nil), "grpc.gateway.runtime.internal.examplepb.ABitOfEverything.MappedNestedValueEntry")
724 proto.RegisterMapType((map[string]string)(nil), "grpc.gateway.runtime.internal.examplepb.ABitOfEverything.MappedStringValueEntry")
725 proto.RegisterType((*ABitOfEverything_Nested)(nil), "grpc.gateway.runtime.internal.examplepb.ABitOfEverything.Nested")
726 proto.RegisterType((*ResponseBodyOut)(nil), "grpc.gateway.runtime.internal.examplepb.ResponseBodyOut")
727 proto.RegisterType((*ResponseBodyOut_Response)(nil), "grpc.gateway.runtime.internal.examplepb.ResponseBodyOut.Response")
728 proto.RegisterType((*RepeatedResponseBodyOut)(nil), "grpc.gateway.runtime.internal.examplepb.RepeatedResponseBodyOut")
729 proto.RegisterType((*RepeatedResponseBodyOut_Response)(nil), "grpc.gateway.runtime.internal.examplepb.RepeatedResponseBodyOut.Response")
730 }
731
732 func init() {
733 proto.RegisterFile("runtime/internal/examplepb/example.proto", fileDescriptor_411aaf1bcbdb81d6)
734 }
735
736 var fileDescriptor_411aaf1bcbdb81d6 = []byte{
737
738 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x5d, 0x73, 0x1b, 0x35,
739 0x1b, 0x8d, 0xec, 0xc4, 0xb1, 0x9f, 0xb5, 0x9d, 0xb5, 0xf2, 0xd1, 0x7d, 0xdd, 0xb7, 0x64, 0xeb,
740 0xd0, 0x61, 0xe1, 0x62, 0x33, 0xe3, 0x74, 0x18, 0xe8, 0x70, 0x41, 0xd2, 0x1a, 0x5a, 0xa0, 0x36,
741 0xa3, 0xa4, 0x01, 0x3a, 0xc3, 0x78, 0xd6, 0xb5, 0xe2, 0x2e, 0xf1, 0x6a, 0x97, 0xfd, 0x08, 0xf5,
742 0x0d, 0xc3, 0x15, 0xd7, 0xfc, 0x14, 0x6e, 0x98, 0xe1, 0x3f, 0xf1, 0x27, 0x98, 0x95, 0xb4, 0x8a,
743 0xec, 0x04, 0x26, 0x34, 0xbe, 0x5a, 0xe9, 0xd1, 0xd1, 0x39, 0x47, 0x5a, 0x1d, 0x09, 0x9c, 0x38,
744 0x63, 0xa9, 0x1f, 0xd0, 0x7d, 0x9f, 0xa5, 0x34, 0x66, 0xde, 0x74, 0x9f, 0xbe, 0xf1, 0x82, 0x68,
745 0x4a, 0xa3, 0x51, 0xd1, 0x72, 0xa3, 0x38, 0x4c, 0x43, 0xfc, 0xde, 0x24, 0x8e, 0x5e, 0xb9, 0x13,
746 0x2f, 0xa5, 0x3f, 0x79, 0x33, 0x57, 0x4e, 0x73, 0x8b, 0x69, 0xae, 0x9a, 0xd6, 0xde, 0x9d, 0x84,
747 0xe1, 0x64, 0x4a, 0xf7, 0xf9, 0xb4, 0x51, 0x76, 0xb6, 0x9f, 0x03, 0x93, 0xd4, 0x0b, 0x22, 0xc1,
748 0xd4, 0xbe, 0xbb, 0x08, 0xa0, 0x41, 0x94, 0xce, 0xc4, 0x60, 0x67, 0x17, 0x1a, 0xc7, 0x7e, 0xce,
749 0xf4, 0x9c, 0x26, 0x89, 0x37, 0xa1, 0xb8, 0x09, 0x25, 0x7f, 0x6c, 0x21, 0x1b, 0x39, 0x35, 0x52,
750 0xf2, 0xc7, 0x9d, 0xbf, 0xb6, 0xc0, 0x3c, 0x3c, 0xf2, 0xd3, 0xc1, 0x59, 0xef, 0x82, 0xc6, 0xb3,
751 0xf4, 0xb5, 0xcf, 0x26, 0x98, 0x42, 0x23, 0xf1, 0xd9, 0x64, 0x4a, 0x87, 0x8c, 0x26, 0x29, 0x1d,
752 0x5b, 0xff, 0xb3, 0x91, 0x63, 0x74, 0x3f, 0x75, 0x6f, 0x68, 0xda, 0x5d, 0x64, 0x74, 0xfb, 0x9c,
753 0x87, 0xd4, 0x05, 0xad, 0xe8, 0x61, 0x0c, 0xab, 0x59, 0xa6, 0xdc, 0xf0, 0x36, 0xfe, 0x16, 0x2a,
754 0x52, 0xb3, 0x64, 0x97, 0x97, 0xa2, 0x29, 0xf9, 0xf0, 0x2e, 0x18, 0x67, 0xd3, 0xd0, 0x4b, 0x87,
755 0x17, 0xde, 0x34, 0xa3, 0x56, 0xd9, 0x46, 0x4e, 0x89, 0x00, 0x2f, 0x9d, 0xe6, 0x15, 0x7c, 0x1f,
756 0xea, 0xe3, 0x30, 0x1b, 0x4d, 0xa9, 0x44, 0xac, 0xda, 0xc8, 0x41, 0xc4, 0x10, 0x35, 0x01, 0xd9,
757 0x05, 0xc3, 0x67, 0xe9, 0x87, 0x0f, 0x25, 0x62, 0xcd, 0x46, 0x4e, 0x99, 0x00, 0x2f, 0x29, 0x8e,
758 0x4c, 0x47, 0x54, 0x6c, 0xe4, 0xac, 0x12, 0x23, 0xd3, 0x20, 0x82, 0xe3, 0xa0, 0x2b, 0x11, 0xeb,
759 0x36, 0x72, 0xd6, 0x38, 0xc7, 0x41, 0x57, 0x00, 0xf6, 0xa0, 0x71, 0xe6, 0xbf, 0xa1, 0x63, 0x45,
760 0x52, 0xb5, 0x91, 0x53, 0x21, 0x75, 0x59, 0x9c, 0x07, 0x29, 0x9e, 0x9a, 0x8d, 0x9c, 0x75, 0x09,
761 0x2a, 0x98, 0xee, 0x01, 0x8c, 0xc2, 0x70, 0x2a, 0x11, 0x60, 0x23, 0xa7, 0x4a, 0x6a, 0x79, 0x45,
762 0x99, 0x4d, 0xd2, 0xd8, 0x67, 0x13, 0x09, 0x30, 0xf8, 0x7f, 0x30, 0x44, 0x4d, 0x99, 0x1d, 0xcd,
763 0x52, 0x9a, 0x48, 0xc4, 0x3d, 0x1b, 0x39, 0x75, 0x02, 0xbc, 0x34, 0xb7, 0x60, 0x65, 0xa3, 0x61,
764 0x23, 0xa7, 0x21, 0x16, 0x5c, 0xb8, 0x38, 0x06, 0xa0, 0x2c, 0x0b, 0x24, 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07, 0x0b, 0x5c, 0xaa, 0x4f, 0x14, 0x65, 0xfb, 0x1d, 0xa8, 0x16,
799 0xd5, 0xfc, 0xdc, 0x8d, 0xbd, 0xd4, 0x2b, 0xce, 0x5d, 0xde, 0xee, 0xfc, 0x59, 0x82, 0x3b, 0x44,
800 0x46, 0x6a, 0xd1, 0x1a, 0x9d, 0xb3, 0x96, 0xe7, 0xf7, 0xd9, 0x7f, 0xb0, 0x76, 0x2d, 0xe7, 0x75,
801 0x16, 0xff, 0x40, 0xff, 0xee, 0x11, 0xff, 0x00, 0xab, 0x3c, 0x5b, 0x22, 0x05, 0xa7, 0x4b, 0xf3,
802 0xa0, 0x1a, 0x79, 0x40, 0x09, 0xd7, 0xe8, 0xbc, 0x0f, 0x75, 0xbd, 0x8a, 0x0d, 0x58, 0x7f, 0xd1,
803 0xff, 0xb2, 0x3f, 0xf8, 0xa6, 0x6f, 0xae, 0xe0, 0x35, 0x40, 0x87, 0x26, 0xca, 0x3f, 0x47, 0x66,
804 0xe9, 0x03, 0x1b, 0x0c, 0xed, 0x14, 0xe7, 0xb9, 0x79, 0xd9, 0x23, 0x03, 0x73, 0x05, 0xaf, 0x43,
805 0x79, 0xd0, 0xef, 0x99, 0xe8, 0xc8, 0x78, 0x59, 0x53, 0x6e, 0x46, 0x15, 0xfe, 0x82, 0x1d, 0xfc,
806 0x1d, 0x00, 0x00, 0xff, 0xff, 0xbb, 0xc2, 0xf3, 0x9b, 0x25, 0x0d, 0x00, 0x00,
807 }
808
View as plain text