Joe Tsai | 8d5e6d6 | 2019-08-06 01:15:48 -0700 | [diff] [blame] | 1 | // 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 Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 9 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 10 | // source: irregular/test.proto |
| 11 | |
| 12 | package irregular |
| 13 | |
| 14 | import ( |
| 15 | protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
Damien Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 16 | protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
Joe Tsai | af57087 | 2019-07-14 23:04:40 -0700 | [diff] [blame] | 17 | reflect "reflect" |
Damien Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 18 | sync "sync" |
| 19 | ) |
| 20 | |
Damien Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 21 | type Message struct { |
Joe Tsai | 8d5e6d6 | 2019-08-06 01:15:48 -0700 | [diff] [blame] | 22 | state protoimpl.MessageState |
| 23 | sizeCache protoimpl.SizeCache |
| 24 | unknownFields protoimpl.UnknownFields |
| 25 | |
Damien Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 26 | 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 Tsai | 8d5e6d6 | 2019-08-06 01:15:48 -0700 | [diff] [blame] | 30 | // Types that are assignable to Union: |
Damien Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 31 | // *Message_OneofMessage |
Damien Neil | 47d5893 | 2019-09-30 15:34:27 -0700 | [diff] [blame^] | 32 | // *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 Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 38 | } |
| 39 | |
| 40 | func (x *Message) Reset() { |
| 41 | *x = Message{} |
| 42 | } |
| 43 | |
| 44 | func (x *Message) String() string { |
| 45 | return protoimpl.X.MessageStringOf(x) |
| 46 | } |
| 47 | |
| 48 | func (*Message) ProtoMessage() {} |
| 49 | |
| 50 | func (x *Message) ProtoReflect() protoreflect.Message { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 51 | 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 Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 60 | } |
| 61 | |
Joe Tsai | 43761bd | 2019-07-17 18:06:47 -0700 | [diff] [blame] | 62 | // Deprecated: Use Message.ProtoReflect.Descriptor instead. |
Damien Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 63 | func (*Message) Descriptor() ([]byte, []int) { |
| 64 | return file_irregular_test_proto_rawDescGZIP(), []int{0} |
| 65 | } |
| 66 | |
| 67 | func (x *Message) GetOptionalMessage() *IrregularMessage { |
| 68 | if x != nil { |
| 69 | return x.OptionalMessage |
| 70 | } |
| 71 | return nil |
| 72 | } |
| 73 | |
| 74 | func (x *Message) GetRepeatedMessage() []*IrregularMessage { |
| 75 | if x != nil { |
| 76 | return x.RepeatedMessage |
| 77 | } |
| 78 | return nil |
| 79 | } |
| 80 | |
| 81 | func (x *Message) GetRequiredMessage() *IrregularMessage { |
| 82 | if x != nil { |
| 83 | return x.RequiredMessage |
| 84 | } |
| 85 | return nil |
| 86 | } |
| 87 | |
| 88 | func (x *Message) GetMapMessage() map[string]*IrregularMessage { |
| 89 | if x != nil { |
| 90 | return x.MapMessage |
| 91 | } |
| 92 | return nil |
| 93 | } |
| 94 | |
| 95 | func (m *Message) GetUnion() isMessage_Union { |
| 96 | if m != nil { |
| 97 | return m.Union |
| 98 | } |
| 99 | return nil |
| 100 | } |
| 101 | |
| 102 | func (x *Message) GetOneofMessage() *IrregularMessage { |
| 103 | if x, ok := x.GetUnion().(*Message_OneofMessage); ok { |
| 104 | return x.OneofMessage |
| 105 | } |
| 106 | return nil |
| 107 | } |
| 108 | |
Damien Neil | 47d5893 | 2019-09-30 15:34:27 -0700 | [diff] [blame^] | 109 | func (x *Message) GetOneofAberrantMessage() *AberrantMessage { |
| 110 | if x, ok := x.GetUnion().(*Message_OneofAberrantMessage); ok { |
| 111 | return x.OneofAberrantMessage |
| 112 | } |
| 113 | return nil |
| 114 | } |
| 115 | |
| 116 | func (x *Message) GetOptionalAberrantMessage() *AberrantMessage { |
| 117 | if x != nil { |
| 118 | return x.OptionalAberrantMessage |
| 119 | } |
| 120 | return nil |
| 121 | } |
| 122 | |
| 123 | func (x *Message) GetRepeatedAberrantMessage() []*AberrantMessage { |
| 124 | if x != nil { |
| 125 | return x.RepeatedAberrantMessage |
| 126 | } |
| 127 | return nil |
| 128 | } |
| 129 | |
| 130 | func (x *Message) GetRequiredAberrantMessage() *AberrantMessage { |
| 131 | if x != nil { |
| 132 | return x.RequiredAberrantMessage |
| 133 | } |
| 134 | return nil |
| 135 | } |
| 136 | |
| 137 | func (x *Message) GetMapAberrantMessage() map[string]*AberrantMessage { |
| 138 | if x != nil { |
| 139 | return x.MapAberrantMessage |
| 140 | } |
| 141 | return nil |
| 142 | } |
| 143 | |
Damien Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 144 | type isMessage_Union interface { |
| 145 | isMessage_Union() |
| 146 | } |
| 147 | |
| 148 | type Message_OneofMessage struct { |
| 149 | OneofMessage *IrregularMessage `protobuf:"bytes,5,opt,name=oneof_message,json=oneofMessage,oneof"` |
| 150 | } |
| 151 | |
Damien Neil | 47d5893 | 2019-09-30 15:34:27 -0700 | [diff] [blame^] | 152 | type Message_OneofAberrantMessage struct { |
| 153 | OneofAberrantMessage *AberrantMessage `protobuf:"bytes,6,opt,name=oneof_aberrant_message,json=oneofAberrantMessage,oneof"` |
| 154 | } |
| 155 | |
Damien Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 156 | func (*Message_OneofMessage) isMessage_Union() {} |
| 157 | |
Damien Neil | 47d5893 | 2019-09-30 15:34:27 -0700 | [diff] [blame^] | 158 | func (*Message_OneofAberrantMessage) isMessage_Union() {} |
| 159 | |
Damien Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 160 | var File_irregular_test_proto protoreflect.FileDescriptor |
| 161 | |
| 162 | var 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 Neil | 47d5893 | 2019-09-30 15:34:27 -0700 | [diff] [blame^] | 167 | 0x75, 0x6c, 0x61, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x94, 0x09, 0x0a, 0x07, 0x4d, |
Damien Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 168 | 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 Neil | 47d5893 | 2019-09-30 15:34:27 -0700 | [diff] [blame^] | 194 | 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 Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 227 | 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 Neil | 47d5893 | 2019-09-30 15:34:27 -0700 | [diff] [blame^] | 233 | 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 Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 245 | } |
| 246 | |
| 247 | var ( |
| 248 | file_irregular_test_proto_rawDescOnce sync.Once |
| 249 | file_irregular_test_proto_rawDescData = file_irregular_test_proto_rawDesc |
| 250 | ) |
| 251 | |
| 252 | func 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 Neil | 47d5893 | 2019-09-30 15:34:27 -0700 | [diff] [blame^] | 259 | var file_irregular_test_proto_msgTypes = make([]protoimpl.MessageInfo, 3) |
Damien Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 260 | var file_irregular_test_proto_goTypes = []interface{}{ |
| 261 | (*Message)(nil), // 0: goproto.proto.irregular.Message |
| 262 | nil, // 1: goproto.proto.irregular.Message.MapMessageEntry |
Damien Neil | 47d5893 | 2019-09-30 15:34:27 -0700 | [diff] [blame^] | 263 | nil, // 2: goproto.proto.irregular.Message.MapAberrantMessageEntry |
| 264 | (*IrregularMessage)(nil), // 3: goproto.proto.irregular.IrregularMessage |
| 265 | (*AberrantMessage)(nil), // 4: goproto.proto.irregular.AberrantMessage |
Damien Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 266 | } |
| 267 | var file_irregular_test_proto_depIdxs = []int32{ |
Damien Neil | 47d5893 | 2019-09-30 15:34:27 -0700 | [diff] [blame^] | 268 | 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 Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 285 | } |
| 286 | |
| 287 | func init() { file_irregular_test_proto_init() } |
| 288 | func file_irregular_test_proto_init() { |
| 289 | if File_irregular_test_proto != nil { |
| 290 | return |
| 291 | } |
| 292 | file_irregular_irregular_proto_init() |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 293 | if !protoimpl.UnsafeEnabled { |
| 294 | file_irregular_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 295 | switch v := v.(*Message); i { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 296 | case 0: |
| 297 | return &v.state |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 298 | case 1: |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 299 | return &v.sizeCache |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 300 | case 2: |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 301 | return &v.unknownFields |
| 302 | default: |
| 303 | return nil |
| 304 | } |
| 305 | } |
| 306 | } |
Joe Tsai | 0991227 | 2019-07-08 10:38:11 -0700 | [diff] [blame] | 307 | file_irregular_test_proto_msgTypes[0].OneofWrappers = []interface{}{ |
| 308 | (*Message_OneofMessage)(nil), |
Damien Neil | 47d5893 | 2019-09-30 15:34:27 -0700 | [diff] [blame^] | 309 | (*Message_OneofAberrantMessage)(nil), |
Joe Tsai | 0991227 | 2019-07-08 10:38:11 -0700 | [diff] [blame] | 310 | } |
Joe Tsai | af57087 | 2019-07-14 23:04:40 -0700 | [diff] [blame] | 311 | type x struct{} |
Joe Tsai | d888139 | 2019-06-06 13:01:53 -0700 | [diff] [blame] | 312 | out := protoimpl.TypeBuilder{ |
| 313 | File: protoimpl.DescBuilder{ |
Joe Tsai | af57087 | 2019-07-14 23:04:40 -0700 | [diff] [blame] | 314 | GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
Joe Tsai | d888139 | 2019-06-06 13:01:53 -0700 | [diff] [blame] | 315 | RawDescriptor: file_irregular_test_proto_rawDesc, |
| 316 | NumEnums: 0, |
Damien Neil | 47d5893 | 2019-09-30 15:34:27 -0700 | [diff] [blame^] | 317 | NumMessages: 3, |
Joe Tsai | d888139 | 2019-06-06 13:01:53 -0700 | [diff] [blame] | 318 | 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 Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 326 | file_irregular_test_proto_rawDesc = nil |
| 327 | file_irregular_test_proto_goTypes = nil |
| 328 | file_irregular_test_proto_depIdxs = nil |
| 329 | } |