blob: 00e6ed43394f3ffb7e108190d6758eea3903d80c [file] [log] [blame]
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001// Copyright 2019 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// This file contains a message which references a message that implements the
6// proto.Message interface but does not have the structure of a normal generated
7// message.
8
Damien Neil5b6d0472019-06-14 11:54:07 -07009// Code generated by protoc-gen-go. DO NOT EDIT.
10// source: irregular/test.proto
11
12package irregular
13
14import (
15 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
Damien Neil5b6d0472019-06-14 11:54:07 -070016 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
Joe Tsaiaf570872019-07-14 23:04:40 -070017 reflect "reflect"
Damien Neil5b6d0472019-06-14 11:54:07 -070018 sync "sync"
19)
20
Damien Neil5b6d0472019-06-14 11:54:07 -070021type Message struct {
Joe Tsai8d5e6d62019-08-06 01:15:48 -070022 state protoimpl.MessageState
23 sizeCache protoimpl.SizeCache
24 unknownFields protoimpl.UnknownFields
25
Damien Neil5b6d0472019-06-14 11:54:07 -070026 OptionalMessage *IrregularMessage `protobuf:"bytes,1,opt,name=optional_message,json=optionalMessage" json:"optional_message,omitempty"`
27 RepeatedMessage []*IrregularMessage `protobuf:"bytes,2,rep,name=repeated_message,json=repeatedMessage" json:"repeated_message,omitempty"`
28 RequiredMessage *IrregularMessage `protobuf:"bytes,3,req,name=required_message,json=requiredMessage" json:"required_message,omitempty"`
29 MapMessage map[string]*IrregularMessage `protobuf:"bytes,4,rep,name=map_message,json=mapMessage" json:"map_message,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
Joe Tsai8d5e6d62019-08-06 01:15:48 -070030 // Types that are assignable to Union:
Damien Neil5b6d0472019-06-14 11:54:07 -070031 // *Message_OneofMessage
Damien Neil47d58932019-09-30 15:34:27 -070032 // *Message_OneofAberrantMessage
33 Union isMessage_Union `protobuf_oneof:"union"`
34 OptionalAberrantMessage *AberrantMessage `protobuf:"bytes,7,opt,name=optional_aberrant_message,json=optionalAberrantMessage" json:"optional_aberrant_message,omitempty"`
35 RepeatedAberrantMessage []*AberrantMessage `protobuf:"bytes,8,rep,name=repeated_aberrant_message,json=repeatedAberrantMessage" json:"repeated_aberrant_message,omitempty"`
36 RequiredAberrantMessage *AberrantMessage `protobuf:"bytes,9,req,name=required_aberrant_message,json=requiredAberrantMessage" json:"required_aberrant_message,omitempty"`
37 MapAberrantMessage map[string]*AberrantMessage `protobuf:"bytes,10,rep,name=map_aberrant_message,json=mapAberrantMessage" json:"map_aberrant_message,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
Damien Neil5b6d0472019-06-14 11:54:07 -070038}
39
40func (x *Message) Reset() {
41 *x = Message{}
42}
43
44func (x *Message) String() string {
45 return protoimpl.X.MessageStringOf(x)
46}
47
48func (*Message) ProtoMessage() {}
49
50func (x *Message) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -070051 mi := &file_irregular_test_proto_msgTypes[0]
52 if protoimpl.UnsafeEnabled && x != nil {
53 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
54 if ms.LoadMessageInfo() == nil {
55 ms.StoreMessageInfo(mi)
56 }
57 return ms
58 }
59 return mi.MessageOf(x)
Damien Neil5b6d0472019-06-14 11:54:07 -070060}
61
Joe Tsai43761bd2019-07-17 18:06:47 -070062// Deprecated: Use Message.ProtoReflect.Descriptor instead.
Damien Neil5b6d0472019-06-14 11:54:07 -070063func (*Message) Descriptor() ([]byte, []int) {
64 return file_irregular_test_proto_rawDescGZIP(), []int{0}
65}
66
67func (x *Message) GetOptionalMessage() *IrregularMessage {
68 if x != nil {
69 return x.OptionalMessage
70 }
71 return nil
72}
73
74func (x *Message) GetRepeatedMessage() []*IrregularMessage {
75 if x != nil {
76 return x.RepeatedMessage
77 }
78 return nil
79}
80
81func (x *Message) GetRequiredMessage() *IrregularMessage {
82 if x != nil {
83 return x.RequiredMessage
84 }
85 return nil
86}
87
88func (x *Message) GetMapMessage() map[string]*IrregularMessage {
89 if x != nil {
90 return x.MapMessage
91 }
92 return nil
93}
94
95func (m *Message) GetUnion() isMessage_Union {
96 if m != nil {
97 return m.Union
98 }
99 return nil
100}
101
102func (x *Message) GetOneofMessage() *IrregularMessage {
103 if x, ok := x.GetUnion().(*Message_OneofMessage); ok {
104 return x.OneofMessage
105 }
106 return nil
107}
108
Damien Neil47d58932019-09-30 15:34:27 -0700109func (x *Message) GetOneofAberrantMessage() *AberrantMessage {
110 if x, ok := x.GetUnion().(*Message_OneofAberrantMessage); ok {
111 return x.OneofAberrantMessage
112 }
113 return nil
114}
115
116func (x *Message) GetOptionalAberrantMessage() *AberrantMessage {
117 if x != nil {
118 return x.OptionalAberrantMessage
119 }
120 return nil
121}
122
123func (x *Message) GetRepeatedAberrantMessage() []*AberrantMessage {
124 if x != nil {
125 return x.RepeatedAberrantMessage
126 }
127 return nil
128}
129
130func (x *Message) GetRequiredAberrantMessage() *AberrantMessage {
131 if x != nil {
132 return x.RequiredAberrantMessage
133 }
134 return nil
135}
136
137func (x *Message) GetMapAberrantMessage() map[string]*AberrantMessage {
138 if x != nil {
139 return x.MapAberrantMessage
140 }
141 return nil
142}
143
Damien Neil5b6d0472019-06-14 11:54:07 -0700144type isMessage_Union interface {
145 isMessage_Union()
146}
147
148type Message_OneofMessage struct {
149 OneofMessage *IrregularMessage `protobuf:"bytes,5,opt,name=oneof_message,json=oneofMessage,oneof"`
150}
151
Damien Neil47d58932019-09-30 15:34:27 -0700152type Message_OneofAberrantMessage struct {
153 OneofAberrantMessage *AberrantMessage `protobuf:"bytes,6,opt,name=oneof_aberrant_message,json=oneofAberrantMessage,oneof"`
154}
155
Damien Neil5b6d0472019-06-14 11:54:07 -0700156func (*Message_OneofMessage) isMessage_Union() {}
157
Damien Neil47d58932019-09-30 15:34:27 -0700158func (*Message_OneofAberrantMessage) isMessage_Union() {}
159
Damien Neil5b6d0472019-06-14 11:54:07 -0700160var File_irregular_test_proto protoreflect.FileDescriptor
161
162var file_irregular_test_proto_rawDesc = []byte{
163 0x0a, 0x14, 0x69, 0x72, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x2f, 0x74, 0x65, 0x73, 0x74,
164 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
165 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x69, 0x72, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x1a,
166 0x19, 0x69, 0x72, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x2f, 0x69, 0x72, 0x72, 0x65, 0x67,
Damien Neil47d58932019-09-30 15:34:27 -0700167 0x75, 0x6c, 0x61, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x94, 0x09, 0x0a, 0x07, 0x4d,
Damien Neil5b6d0472019-06-14 11:54:07 -0700168 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x54, 0x0a, 0x10, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
169 0x61, 0x6c, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
170 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
171 0x2e, 0x69, 0x72, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x2e, 0x49, 0x72, 0x72, 0x65, 0x67,
172 0x75, 0x6c, 0x61, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0f, 0x6f, 0x70, 0x74,
173 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x54, 0x0a, 0x10,
174 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
175 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
176 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x69, 0x72, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72,
177 0x2e, 0x49, 0x72, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
178 0x65, 0x52, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61,
179 0x67, 0x65, 0x12, 0x54, 0x0a, 0x10, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x6d,
180 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67,
181 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x69, 0x72, 0x72,
182 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x2e, 0x49, 0x72, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72,
183 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65,
184 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x51, 0x0a, 0x0b, 0x6d, 0x61, 0x70, 0x5f,
185 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e,
186 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x69, 0x72,
187 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e,
188 0x4d, 0x61, 0x70, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
189 0x0a, 0x6d, 0x61, 0x70, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x50, 0x0a, 0x0d, 0x6f,
190 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01,
191 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
192 0x74, 0x6f, 0x2e, 0x69, 0x72, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x2e, 0x49, 0x72, 0x72,
193 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52,
Damien Neil47d58932019-09-30 15:34:27 -0700194 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x60, 0x0a,
195 0x16, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x61, 0x62, 0x65, 0x72, 0x72, 0x61, 0x6e, 0x74, 0x5f,
196 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e,
197 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x69, 0x72,
198 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x2e, 0x41, 0x62, 0x65, 0x72, 0x72, 0x61, 0x6e, 0x74,
199 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x14, 0x6f, 0x6e, 0x65, 0x6f, 0x66,
200 0x41, 0x62, 0x65, 0x72, 0x72, 0x61, 0x6e, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12,
201 0x64, 0x0a, 0x19, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x61, 0x62, 0x65, 0x72,
202 0x72, 0x61, 0x6e, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01,
203 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
204 0x74, 0x6f, 0x2e, 0x69, 0x72, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x2e, 0x41, 0x62, 0x65,
205 0x72, 0x72, 0x61, 0x6e, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x17, 0x6f, 0x70,
206 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x62, 0x65, 0x72, 0x72, 0x61, 0x6e, 0x74, 0x4d, 0x65,
207 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x64, 0x0a, 0x19, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65,
208 0x64, 0x5f, 0x61, 0x62, 0x65, 0x72, 0x72, 0x61, 0x6e, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61,
209 0x67, 0x65, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f,
210 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x69, 0x72, 0x72, 0x65, 0x67, 0x75, 0x6c,
211 0x61, 0x72, 0x2e, 0x41, 0x62, 0x65, 0x72, 0x72, 0x61, 0x6e, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61,
212 0x67, 0x65, 0x52, 0x17, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x62, 0x65, 0x72,
213 0x72, 0x61, 0x6e, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x64, 0x0a, 0x19, 0x72,
214 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x61, 0x62, 0x65, 0x72, 0x72, 0x61, 0x6e, 0x74,
215 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x09, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x28,
216 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x69,
217 0x72, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x2e, 0x41, 0x62, 0x65, 0x72, 0x72, 0x61, 0x6e,
218 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x17, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72,
219 0x65, 0x64, 0x41, 0x62, 0x65, 0x72, 0x72, 0x61, 0x6e, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
220 0x65, 0x12, 0x6a, 0x0a, 0x14, 0x6d, 0x61, 0x70, 0x5f, 0x61, 0x62, 0x65, 0x72, 0x72, 0x61, 0x6e,
221 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32,
222 0x38, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
223 0x69, 0x72, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
224 0x65, 0x2e, 0x4d, 0x61, 0x70, 0x41, 0x62, 0x65, 0x72, 0x72, 0x61, 0x6e, 0x74, 0x4d, 0x65, 0x73,
225 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, 0x6d, 0x61, 0x70, 0x41, 0x62,
226 0x65, 0x72, 0x72, 0x61, 0x6e, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x68, 0x0a,
Damien Neil5b6d0472019-06-14 11:54:07 -0700227 0x0f, 0x4d, 0x61, 0x70, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79,
228 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
229 0x65, 0x79, 0x12, 0x3f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
230 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74,
231 0x6f, 0x2e, 0x69, 0x72, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x2e, 0x49, 0x72, 0x72, 0x65,
232 0x67, 0x75, 0x6c, 0x61, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x05, 0x76, 0x61,
Damien Neil47d58932019-09-30 15:34:27 -0700233 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x6f, 0x0a, 0x17, 0x4d, 0x61, 0x70, 0x41, 0x62,
234 0x65, 0x72, 0x72, 0x61, 0x6e, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74,
235 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
236 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3e, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
237 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72,
238 0x6f, 0x74, 0x6f, 0x2e, 0x69, 0x72, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x2e, 0x41, 0x62,
239 0x65, 0x72, 0x72, 0x61, 0x6e, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x05, 0x76,
240 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x6f,
241 0x6e, 0x42, 0x3a, 0x5a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61,
242 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
243 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f,
244 0x74, 0x6f, 0x73, 0x2f, 0x69, 0x72, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72,
Damien Neil5b6d0472019-06-14 11:54:07 -0700245}
246
247var (
248 file_irregular_test_proto_rawDescOnce sync.Once
249 file_irregular_test_proto_rawDescData = file_irregular_test_proto_rawDesc
250)
251
252func file_irregular_test_proto_rawDescGZIP() []byte {
253 file_irregular_test_proto_rawDescOnce.Do(func() {
254 file_irregular_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_irregular_test_proto_rawDescData)
255 })
256 return file_irregular_test_proto_rawDescData
257}
258
Damien Neil47d58932019-09-30 15:34:27 -0700259var file_irregular_test_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
Damien Neil5b6d0472019-06-14 11:54:07 -0700260var file_irregular_test_proto_goTypes = []interface{}{
261 (*Message)(nil), // 0: goproto.proto.irregular.Message
262 nil, // 1: goproto.proto.irregular.Message.MapMessageEntry
Damien Neil47d58932019-09-30 15:34:27 -0700263 nil, // 2: goproto.proto.irregular.Message.MapAberrantMessageEntry
264 (*IrregularMessage)(nil), // 3: goproto.proto.irregular.IrregularMessage
265 (*AberrantMessage)(nil), // 4: goproto.proto.irregular.AberrantMessage
Damien Neil5b6d0472019-06-14 11:54:07 -0700266}
267var file_irregular_test_proto_depIdxs = []int32{
Damien Neil47d58932019-09-30 15:34:27 -0700268 3, // 0: goproto.proto.irregular.Message.optional_message:type_name -> goproto.proto.irregular.IrregularMessage
269 3, // 1: goproto.proto.irregular.Message.repeated_message:type_name -> goproto.proto.irregular.IrregularMessage
270 3, // 2: goproto.proto.irregular.Message.required_message:type_name -> goproto.proto.irregular.IrregularMessage
271 1, // 3: goproto.proto.irregular.Message.map_message:type_name -> goproto.proto.irregular.Message.MapMessageEntry
272 3, // 4: goproto.proto.irregular.Message.oneof_message:type_name -> goproto.proto.irregular.IrregularMessage
273 4, // 5: goproto.proto.irregular.Message.oneof_aberrant_message:type_name -> goproto.proto.irregular.AberrantMessage
274 4, // 6: goproto.proto.irregular.Message.optional_aberrant_message:type_name -> goproto.proto.irregular.AberrantMessage
275 4, // 7: goproto.proto.irregular.Message.repeated_aberrant_message:type_name -> goproto.proto.irregular.AberrantMessage
276 4, // 8: goproto.proto.irregular.Message.required_aberrant_message:type_name -> goproto.proto.irregular.AberrantMessage
277 2, // 9: goproto.proto.irregular.Message.map_aberrant_message:type_name -> goproto.proto.irregular.Message.MapAberrantMessageEntry
278 3, // 10: goproto.proto.irregular.Message.MapMessageEntry.value:type_name -> goproto.proto.irregular.IrregularMessage
279 4, // 11: goproto.proto.irregular.Message.MapAberrantMessageEntry.value:type_name -> goproto.proto.irregular.AberrantMessage
280 12, // [12:12] is the sub-list for method output_type
281 12, // [12:12] is the sub-list for method input_type
282 12, // [12:12] is the sub-list for extension type_name
283 12, // [12:12] is the sub-list for extension extendee
284 0, // [0:12] is the sub-list for field type_name
Damien Neil5b6d0472019-06-14 11:54:07 -0700285}
286
287func init() { file_irregular_test_proto_init() }
288func file_irregular_test_proto_init() {
289 if File_irregular_test_proto != nil {
290 return
291 }
292 file_irregular_irregular_proto_init()
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700293 if !protoimpl.UnsafeEnabled {
294 file_irregular_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
295 switch v := v.(*Message); i {
Joe Tsai82760ce2019-06-20 03:09:57 -0700296 case 0:
297 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -0700298 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -0700299 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -0700300 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700301 return &v.unknownFields
302 default:
303 return nil
304 }
305 }
306 }
Joe Tsai09912272019-07-08 10:38:11 -0700307 file_irregular_test_proto_msgTypes[0].OneofWrappers = []interface{}{
308 (*Message_OneofMessage)(nil),
Damien Neil47d58932019-09-30 15:34:27 -0700309 (*Message_OneofAberrantMessage)(nil),
Joe Tsai09912272019-07-08 10:38:11 -0700310 }
Joe Tsaiaf570872019-07-14 23:04:40 -0700311 type x struct{}
Joe Tsaid8881392019-06-06 13:01:53 -0700312 out := protoimpl.TypeBuilder{
313 File: protoimpl.DescBuilder{
Joe Tsaiaf570872019-07-14 23:04:40 -0700314 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
Joe Tsaid8881392019-06-06 13:01:53 -0700315 RawDescriptor: file_irregular_test_proto_rawDesc,
316 NumEnums: 0,
Damien Neil47d58932019-09-30 15:34:27 -0700317 NumMessages: 3,
Joe Tsaid8881392019-06-06 13:01:53 -0700318 NumExtensions: 0,
319 NumServices: 0,
320 },
321 GoTypes: file_irregular_test_proto_goTypes,
322 DependencyIndexes: file_irregular_test_proto_depIdxs,
323 MessageInfos: file_irregular_test_proto_msgTypes,
324 }.Build()
325 File_irregular_test_proto = out.File
Damien Neil5b6d0472019-06-14 11:54:07 -0700326 file_irregular_test_proto_rawDesc = nil
327 file_irregular_test_proto_goTypes = nil
328 file_irregular_test_proto_depIdxs = nil
329}