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. |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 10 | // source: internal/testprotos/irregular/test.proto |
Damien Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 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{} |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 42 | if protoimpl.UnsafeEnabled { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 43 | mi := &file_internal_testprotos_irregular_test_proto_msgTypes[0] |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 44 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 45 | ms.StoreMessageInfo(mi) |
| 46 | } |
Damien Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 47 | } |
| 48 | |
| 49 | func (x *Message) String() string { |
| 50 | return protoimpl.X.MessageStringOf(x) |
| 51 | } |
| 52 | |
| 53 | func (*Message) ProtoMessage() {} |
| 54 | |
| 55 | func (x *Message) ProtoReflect() protoreflect.Message { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 56 | mi := &file_internal_testprotos_irregular_test_proto_msgTypes[0] |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 57 | if protoimpl.UnsafeEnabled && x != nil { |
| 58 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 59 | if ms.LoadMessageInfo() == nil { |
| 60 | ms.StoreMessageInfo(mi) |
| 61 | } |
| 62 | return ms |
| 63 | } |
| 64 | return mi.MessageOf(x) |
Damien Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 65 | } |
| 66 | |
Joe Tsai | 43761bd | 2019-07-17 18:06:47 -0700 | [diff] [blame] | 67 | // Deprecated: Use Message.ProtoReflect.Descriptor instead. |
Damien Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 68 | func (*Message) Descriptor() ([]byte, []int) { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 69 | return file_internal_testprotos_irregular_test_proto_rawDescGZIP(), []int{0} |
Damien Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 70 | } |
| 71 | |
| 72 | func (x *Message) GetOptionalMessage() *IrregularMessage { |
| 73 | if x != nil { |
| 74 | return x.OptionalMessage |
| 75 | } |
| 76 | return nil |
| 77 | } |
| 78 | |
| 79 | func (x *Message) GetRepeatedMessage() []*IrregularMessage { |
| 80 | if x != nil { |
| 81 | return x.RepeatedMessage |
| 82 | } |
| 83 | return nil |
| 84 | } |
| 85 | |
| 86 | func (x *Message) GetRequiredMessage() *IrregularMessage { |
| 87 | if x != nil { |
| 88 | return x.RequiredMessage |
| 89 | } |
| 90 | return nil |
| 91 | } |
| 92 | |
| 93 | func (x *Message) GetMapMessage() map[string]*IrregularMessage { |
| 94 | if x != nil { |
| 95 | return x.MapMessage |
| 96 | } |
| 97 | return nil |
| 98 | } |
| 99 | |
| 100 | func (m *Message) GetUnion() isMessage_Union { |
| 101 | if m != nil { |
| 102 | return m.Union |
| 103 | } |
| 104 | return nil |
| 105 | } |
| 106 | |
| 107 | func (x *Message) GetOneofMessage() *IrregularMessage { |
| 108 | if x, ok := x.GetUnion().(*Message_OneofMessage); ok { |
| 109 | return x.OneofMessage |
| 110 | } |
| 111 | return nil |
| 112 | } |
| 113 | |
Damien Neil | 47d5893 | 2019-09-30 15:34:27 -0700 | [diff] [blame] | 114 | func (x *Message) GetOneofAberrantMessage() *AberrantMessage { |
| 115 | if x, ok := x.GetUnion().(*Message_OneofAberrantMessage); ok { |
| 116 | return x.OneofAberrantMessage |
| 117 | } |
| 118 | return nil |
| 119 | } |
| 120 | |
| 121 | func (x *Message) GetOptionalAberrantMessage() *AberrantMessage { |
| 122 | if x != nil { |
| 123 | return x.OptionalAberrantMessage |
| 124 | } |
| 125 | return nil |
| 126 | } |
| 127 | |
| 128 | func (x *Message) GetRepeatedAberrantMessage() []*AberrantMessage { |
| 129 | if x != nil { |
| 130 | return x.RepeatedAberrantMessage |
| 131 | } |
| 132 | return nil |
| 133 | } |
| 134 | |
| 135 | func (x *Message) GetRequiredAberrantMessage() *AberrantMessage { |
| 136 | if x != nil { |
| 137 | return x.RequiredAberrantMessage |
| 138 | } |
| 139 | return nil |
| 140 | } |
| 141 | |
| 142 | func (x *Message) GetMapAberrantMessage() map[string]*AberrantMessage { |
| 143 | if x != nil { |
| 144 | return x.MapAberrantMessage |
| 145 | } |
| 146 | return nil |
| 147 | } |
| 148 | |
Damien Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 149 | type isMessage_Union interface { |
| 150 | isMessage_Union() |
| 151 | } |
| 152 | |
| 153 | type Message_OneofMessage struct { |
| 154 | OneofMessage *IrregularMessage `protobuf:"bytes,5,opt,name=oneof_message,json=oneofMessage,oneof"` |
| 155 | } |
| 156 | |
Damien Neil | 47d5893 | 2019-09-30 15:34:27 -0700 | [diff] [blame] | 157 | type Message_OneofAberrantMessage struct { |
| 158 | OneofAberrantMessage *AberrantMessage `protobuf:"bytes,6,opt,name=oneof_aberrant_message,json=oneofAberrantMessage,oneof"` |
| 159 | } |
| 160 | |
Damien Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 161 | func (*Message_OneofMessage) isMessage_Union() {} |
| 162 | |
Damien Neil | 47d5893 | 2019-09-30 15:34:27 -0700 | [diff] [blame] | 163 | func (*Message_OneofAberrantMessage) isMessage_Union() {} |
| 164 | |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 165 | var File_internal_testprotos_irregular_test_proto protoreflect.FileDescriptor |
Damien Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 166 | |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 167 | var file_internal_testprotos_irregular_test_proto_rawDesc = []byte{ |
| 168 | 0x0a, 0x28, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, |
| 169 | 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x69, 0x72, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x2f, |
| 170 | 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x67, 0x6f, 0x70, 0x72, |
| 171 | 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x69, 0x72, 0x72, 0x65, 0x67, 0x75, |
| 172 | 0x6c, 0x61, 0x72, 0x1a, 0x2d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, |
| 173 | 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x69, 0x72, 0x72, 0x65, 0x67, 0x75, 0x6c, |
| 174 | 0x61, 0x72, 0x2f, 0x69, 0x72, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x2e, 0x70, 0x72, 0x6f, |
| 175 | 0x74, 0x6f, 0x22, 0x94, 0x09, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x54, |
| 176 | 0x0a, 0x10, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, |
| 177 | 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, |
Damien Neil | 47d5893 | 2019-09-30 15:34:27 -0700 | [diff] [blame] | 178 | 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x69, 0x72, 0x72, 0x65, 0x67, 0x75, 0x6c, |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 179 | 0x61, 0x72, 0x2e, 0x49, 0x72, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x4d, 0x65, 0x73, 0x73, |
| 180 | 0x61, 0x67, 0x65, 0x52, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4d, 0x65, 0x73, |
| 181 | 0x73, 0x61, 0x67, 0x65, 0x12, 0x54, 0x0a, 0x10, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, |
| 182 | 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, |
Damien Neil | 47d5893 | 2019-09-30 15:34:27 -0700 | [diff] [blame] | 183 | 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x69, |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 184 | 0x72, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x2e, 0x49, 0x72, 0x72, 0x65, 0x67, 0x75, 0x6c, |
| 185 | 0x61, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, |
| 186 | 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x54, 0x0a, 0x10, 0x72, 0x65, |
| 187 | 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, |
| 188 | 0x20, 0x02, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, |
| 189 | 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x69, 0x72, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x2e, 0x49, |
| 190 | 0x72, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, |
| 191 | 0x0f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, |
| 192 | 0x12, 0x51, 0x0a, 0x0b, 0x6d, 0x61, 0x70, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, |
| 193 | 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, |
| 194 | 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x69, 0x72, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x2e, |
| 195 | 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x61, 0x70, 0x4d, 0x65, 0x73, 0x73, 0x61, |
| 196 | 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x6d, 0x61, 0x70, 0x4d, 0x65, 0x73, 0x73, |
| 197 | 0x61, 0x67, 0x65, 0x12, 0x50, 0x0a, 0x0d, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6d, 0x65, 0x73, |
| 198 | 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x70, |
| 199 | 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x69, 0x72, 0x72, 0x65, 0x67, |
| 200 | 0x75, 0x6c, 0x61, 0x72, 0x2e, 0x49, 0x72, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x4d, 0x65, |
| 201 | 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4d, 0x65, |
| 202 | 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x60, 0x0a, 0x16, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x61, |
| 203 | 0x62, 0x65, 0x72, 0x72, 0x61, 0x6e, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, |
| 204 | 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, |
| 205 | 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x69, 0x72, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x2e, |
| 206 | 0x41, 0x62, 0x65, 0x72, 0x72, 0x61, 0x6e, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, |
| 207 | 0x00, 0x52, 0x14, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x41, 0x62, 0x65, 0x72, 0x72, 0x61, 0x6e, 0x74, |
| 208 | 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x64, 0x0a, 0x19, 0x6f, 0x70, 0x74, 0x69, 0x6f, |
| 209 | 0x6e, 0x61, 0x6c, 0x5f, 0x61, 0x62, 0x65, 0x72, 0x72, 0x61, 0x6e, 0x74, 0x5f, 0x6d, 0x65, 0x73, |
| 210 | 0x73, 0x61, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x70, |
| 211 | 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x69, 0x72, 0x72, 0x65, 0x67, |
| 212 | 0x75, 0x6c, 0x61, 0x72, 0x2e, 0x41, 0x62, 0x65, 0x72, 0x72, 0x61, 0x6e, 0x74, 0x4d, 0x65, 0x73, |
| 213 | 0x73, 0x61, 0x67, 0x65, 0x52, 0x17, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x62, |
| 214 | 0x65, 0x72, 0x72, 0x61, 0x6e, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x64, 0x0a, |
| 215 | 0x19, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x62, 0x65, 0x72, 0x72, 0x61, |
| 216 | 0x6e, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, |
| 217 | 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 218 | 0x2e, 0x69, 0x72, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x2e, 0x41, 0x62, 0x65, 0x72, 0x72, |
| 219 | 0x61, 0x6e, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x17, 0x72, 0x65, 0x70, 0x65, |
| 220 | 0x61, 0x74, 0x65, 0x64, 0x41, 0x62, 0x65, 0x72, 0x72, 0x61, 0x6e, 0x74, 0x4d, 0x65, 0x73, 0x73, |
| 221 | 0x61, 0x67, 0x65, 0x12, 0x64, 0x0a, 0x19, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, |
| 222 | 0x61, 0x62, 0x65, 0x72, 0x72, 0x61, 0x6e, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, |
| 223 | 0x18, 0x09, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 224 | 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x69, 0x72, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, |
| 225 | 0x2e, 0x41, 0x62, 0x65, 0x72, 0x72, 0x61, 0x6e, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, |
| 226 | 0x52, 0x17, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x41, 0x62, 0x65, 0x72, 0x72, 0x61, |
| 227 | 0x6e, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x6a, 0x0a, 0x14, 0x6d, 0x61, 0x70, |
| 228 | 0x5f, 0x61, 0x62, 0x65, 0x72, 0x72, 0x61, 0x6e, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, |
| 229 | 0x65, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, |
| 230 | 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x69, 0x72, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, |
| 231 | 0x72, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x61, 0x70, 0x41, 0x62, 0x65, |
| 232 | 0x72, 0x72, 0x61, 0x6e, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, |
| 233 | 0x79, 0x52, 0x12, 0x6d, 0x61, 0x70, 0x41, 0x62, 0x65, 0x72, 0x72, 0x61, 0x6e, 0x74, 0x4d, 0x65, |
| 234 | 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x68, 0x0a, 0x0f, 0x4d, 0x61, 0x70, 0x4d, 0x65, 0x73, 0x73, |
| 235 | 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, |
| 236 | 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3f, 0x0a, 0x05, 0x76, 0x61, |
| 237 | 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x70, 0x72, |
| 238 | 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x69, 0x72, 0x72, 0x65, 0x67, 0x75, |
| 239 | 0x6c, 0x61, 0x72, 0x2e, 0x49, 0x72, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x4d, 0x65, 0x73, |
| 240 | 0x73, 0x61, 0x67, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, |
| 241 | 0x6f, 0x0a, 0x17, 0x4d, 0x61, 0x70, 0x41, 0x62, 0x65, 0x72, 0x72, 0x61, 0x6e, 0x74, 0x4d, 0x65, |
| 242 | 0x73, 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, |
| 243 | 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3e, 0x0a, 0x05, |
| 244 | 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, |
| 245 | 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x69, 0x72, 0x72, 0x65, |
| 246 | 0x67, 0x75, 0x6c, 0x61, 0x72, 0x2e, 0x41, 0x62, 0x65, 0x72, 0x72, 0x61, 0x6e, 0x74, 0x4d, 0x65, |
| 247 | 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, |
| 248 | 0x42, 0x07, 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x42, 0x3a, 0x5a, 0x38, 0x67, 0x6f, 0x6f, |
| 249 | 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, |
| 250 | 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, |
| 251 | 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x69, 0x72, 0x72, 0x65, |
| 252 | 0x67, 0x75, 0x6c, 0x61, 0x72, |
Damien Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 253 | } |
| 254 | |
| 255 | var ( |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 256 | file_internal_testprotos_irregular_test_proto_rawDescOnce sync.Once |
| 257 | file_internal_testprotos_irregular_test_proto_rawDescData = file_internal_testprotos_irregular_test_proto_rawDesc |
Damien Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 258 | ) |
| 259 | |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 260 | func file_internal_testprotos_irregular_test_proto_rawDescGZIP() []byte { |
| 261 | file_internal_testprotos_irregular_test_proto_rawDescOnce.Do(func() { |
| 262 | file_internal_testprotos_irregular_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_irregular_test_proto_rawDescData) |
Damien Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 263 | }) |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 264 | return file_internal_testprotos_irregular_test_proto_rawDescData |
Damien Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 265 | } |
| 266 | |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 267 | var file_internal_testprotos_irregular_test_proto_msgTypes = make([]protoimpl.MessageInfo, 3) |
| 268 | var file_internal_testprotos_irregular_test_proto_goTypes = []interface{}{ |
Damien Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 269 | (*Message)(nil), // 0: goproto.proto.irregular.Message |
| 270 | nil, // 1: goproto.proto.irregular.Message.MapMessageEntry |
Damien Neil | 47d5893 | 2019-09-30 15:34:27 -0700 | [diff] [blame] | 271 | nil, // 2: goproto.proto.irregular.Message.MapAberrantMessageEntry |
| 272 | (*IrregularMessage)(nil), // 3: goproto.proto.irregular.IrregularMessage |
| 273 | (*AberrantMessage)(nil), // 4: goproto.proto.irregular.AberrantMessage |
Damien Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 274 | } |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 275 | var file_internal_testprotos_irregular_test_proto_depIdxs = []int32{ |
Damien Neil | 47d5893 | 2019-09-30 15:34:27 -0700 | [diff] [blame] | 276 | 3, // 0: goproto.proto.irregular.Message.optional_message:type_name -> goproto.proto.irregular.IrregularMessage |
| 277 | 3, // 1: goproto.proto.irregular.Message.repeated_message:type_name -> goproto.proto.irregular.IrregularMessage |
| 278 | 3, // 2: goproto.proto.irregular.Message.required_message:type_name -> goproto.proto.irregular.IrregularMessage |
| 279 | 1, // 3: goproto.proto.irregular.Message.map_message:type_name -> goproto.proto.irregular.Message.MapMessageEntry |
| 280 | 3, // 4: goproto.proto.irregular.Message.oneof_message:type_name -> goproto.proto.irregular.IrregularMessage |
| 281 | 4, // 5: goproto.proto.irregular.Message.oneof_aberrant_message:type_name -> goproto.proto.irregular.AberrantMessage |
| 282 | 4, // 6: goproto.proto.irregular.Message.optional_aberrant_message:type_name -> goproto.proto.irregular.AberrantMessage |
| 283 | 4, // 7: goproto.proto.irregular.Message.repeated_aberrant_message:type_name -> goproto.proto.irregular.AberrantMessage |
| 284 | 4, // 8: goproto.proto.irregular.Message.required_aberrant_message:type_name -> goproto.proto.irregular.AberrantMessage |
| 285 | 2, // 9: goproto.proto.irregular.Message.map_aberrant_message:type_name -> goproto.proto.irregular.Message.MapAberrantMessageEntry |
| 286 | 3, // 10: goproto.proto.irregular.Message.MapMessageEntry.value:type_name -> goproto.proto.irregular.IrregularMessage |
| 287 | 4, // 11: goproto.proto.irregular.Message.MapAberrantMessageEntry.value:type_name -> goproto.proto.irregular.AberrantMessage |
| 288 | 12, // [12:12] is the sub-list for method output_type |
| 289 | 12, // [12:12] is the sub-list for method input_type |
| 290 | 12, // [12:12] is the sub-list for extension type_name |
| 291 | 12, // [12:12] is the sub-list for extension extendee |
| 292 | 0, // [0:12] is the sub-list for field type_name |
Damien Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 293 | } |
| 294 | |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 295 | func init() { file_internal_testprotos_irregular_test_proto_init() } |
| 296 | func file_internal_testprotos_irregular_test_proto_init() { |
| 297 | if File_internal_testprotos_irregular_test_proto != nil { |
Damien Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 298 | return |
| 299 | } |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 300 | file_internal_testprotos_irregular_irregular_proto_init() |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 301 | if !protoimpl.UnsafeEnabled { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 302 | file_internal_testprotos_irregular_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 303 | switch v := v.(*Message); i { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 304 | case 0: |
| 305 | return &v.state |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 306 | case 1: |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 307 | return &v.sizeCache |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 308 | case 2: |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 309 | return &v.unknownFields |
| 310 | default: |
| 311 | return nil |
| 312 | } |
| 313 | } |
| 314 | } |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 315 | file_internal_testprotos_irregular_test_proto_msgTypes[0].OneofWrappers = []interface{}{ |
Joe Tsai | 0991227 | 2019-07-08 10:38:11 -0700 | [diff] [blame] | 316 | (*Message_OneofMessage)(nil), |
Damien Neil | 47d5893 | 2019-09-30 15:34:27 -0700 | [diff] [blame] | 317 | (*Message_OneofAberrantMessage)(nil), |
Joe Tsai | 0991227 | 2019-07-08 10:38:11 -0700 | [diff] [blame] | 318 | } |
Joe Tsai | af57087 | 2019-07-14 23:04:40 -0700 | [diff] [blame] | 319 | type x struct{} |
Joe Tsai | d888139 | 2019-06-06 13:01:53 -0700 | [diff] [blame] | 320 | out := protoimpl.TypeBuilder{ |
| 321 | File: protoimpl.DescBuilder{ |
Joe Tsai | af57087 | 2019-07-14 23:04:40 -0700 | [diff] [blame] | 322 | GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 323 | RawDescriptor: file_internal_testprotos_irregular_test_proto_rawDesc, |
Joe Tsai | d888139 | 2019-06-06 13:01:53 -0700 | [diff] [blame] | 324 | NumEnums: 0, |
Damien Neil | 47d5893 | 2019-09-30 15:34:27 -0700 | [diff] [blame] | 325 | NumMessages: 3, |
Joe Tsai | d888139 | 2019-06-06 13:01:53 -0700 | [diff] [blame] | 326 | NumExtensions: 0, |
| 327 | NumServices: 0, |
| 328 | }, |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 329 | GoTypes: file_internal_testprotos_irregular_test_proto_goTypes, |
| 330 | DependencyIndexes: file_internal_testprotos_irregular_test_proto_depIdxs, |
| 331 | MessageInfos: file_internal_testprotos_irregular_test_proto_msgTypes, |
Joe Tsai | d888139 | 2019-06-06 13:01:53 -0700 | [diff] [blame] | 332 | }.Build() |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 333 | File_internal_testprotos_irregular_test_proto = out.File |
| 334 | file_internal_testprotos_irregular_test_proto_rawDesc = nil |
| 335 | file_internal_testprotos_irregular_test_proto_goTypes = nil |
| 336 | file_internal_testprotos_irregular_test_proto_depIdxs = nil |
Damien Neil | 5b6d047 | 2019-06-14 11:54:07 -0700 | [diff] [blame] | 337 | } |