Damien Neil | 658051b | 2018-09-10 12:26:21 -0700 | [diff] [blame] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // source: proto3/fields.proto |
| 3 | |
| 4 | package proto3 |
| 5 | |
Damien Neil | 1ec3315 | 2018-09-13 13:12:36 -0700 | [diff] [blame] | 6 | import ( |
Damien Neil | 8012b44 | 2019-01-18 09:32:24 -0800 | [diff] [blame^] | 7 | bytes "bytes" |
| 8 | gzip "compress/gzip" |
Damien Neil | 1ec3315 | 2018-09-13 13:12:36 -0700 | [diff] [blame] | 9 | proto "github.com/golang/protobuf/proto" |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 10 | protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect" |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 11 | protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl" |
Damien Neil | 8012b44 | 2019-01-18 09:32:24 -0800 | [diff] [blame^] | 12 | reflect "reflect" |
Damien Neil | 1ec3315 | 2018-09-13 13:12:36 -0700 | [diff] [blame] | 13 | ) |
| 14 | |
Damien Neil | d412792 | 2018-09-12 11:13:49 -0700 | [diff] [blame] | 15 | // This is a compile-time assertion to ensure that this generated file |
| 16 | // is compatible with the proto package it is being compiled against. |
| 17 | // A compilation error at this line likely means your copy of the |
| 18 | // proto package needs to be updated. |
Joe Tsai | d7e97bc | 2018-11-26 12:57:27 -0800 | [diff] [blame] | 19 | const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
Damien Neil | d412792 | 2018-09-12 11:13:49 -0700 | [diff] [blame] | 20 | |
Damien Neil | 658051b | 2018-09-10 12:26:21 -0700 | [diff] [blame] | 21 | type FieldTestMessage_Enum int32 |
| 22 | |
| 23 | const ( |
| 24 | FieldTestMessage_ZERO FieldTestMessage_Enum = 0 |
| 25 | ) |
| 26 | |
Damien Neil | a8593ba | 2019-01-08 16:18:07 -0800 | [diff] [blame] | 27 | func (e FieldTestMessage_Enum) Type() protoreflect.EnumType { |
Damien Neil | 8012b44 | 2019-01-18 09:32:24 -0800 | [diff] [blame^] | 28 | return xxx_Fields_protoFile_enumTypes[0] |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 29 | } |
Damien Neil | a8593ba | 2019-01-08 16:18:07 -0800 | [diff] [blame] | 30 | func (e FieldTestMessage_Enum) Number() protoreflect.EnumNumber { |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 31 | return protoreflect.EnumNumber(e) |
| 32 | } |
| 33 | |
Damien Neil | 658051b | 2018-09-10 12:26:21 -0700 | [diff] [blame] | 34 | var FieldTestMessage_Enum_name = map[int32]string{ |
| 35 | 0: "ZERO", |
| 36 | } |
| 37 | |
| 38 | var FieldTestMessage_Enum_value = map[string]int32{ |
| 39 | "ZERO": 0, |
| 40 | } |
| 41 | |
| 42 | func (x FieldTestMessage_Enum) String() string { |
| 43 | return proto.EnumName(FieldTestMessage_Enum_name, int32(x)) |
| 44 | } |
| 45 | |
| 46 | func (FieldTestMessage_Enum) EnumDescriptor() ([]byte, []int) { |
Damien Neil | 8012b44 | 2019-01-18 09:32:24 -0800 | [diff] [blame^] | 47 | return fileDescriptor_f1e3ea068187307c_gzipped, []int{0, 0} |
Damien Neil | 658051b | 2018-09-10 12:26:21 -0700 | [diff] [blame] | 48 | } |
| 49 | |
| 50 | type FieldTestMessage struct { |
Damien Neil | 0bd5a38 | 2018-09-13 15:07:10 -0700 | [diff] [blame] | 51 | OptionalBool string `protobuf:"bytes,1,opt,name=optional_bool,json=optionalBool,proto3" json:"optional_bool,omitempty"` |
| 52 | OptionalEnum FieldTestMessage_Enum `protobuf:"varint,2,opt,name=optional_enum,json=optionalEnum,proto3,enum=goproto.protoc.proto3.FieldTestMessage_Enum" json:"optional_enum,omitempty"` |
| 53 | OptionalInt32 int32 `protobuf:"varint,3,opt,name=optional_int32,json=optionalInt32,proto3" json:"optional_int32,omitempty"` |
| 54 | OptionalSint32 int32 `protobuf:"zigzag32,4,opt,name=optional_sint32,json=optionalSint32,proto3" json:"optional_sint32,omitempty"` |
| 55 | OptionalUint32 uint32 `protobuf:"varint,5,opt,name=optional_uint32,json=optionalUint32,proto3" json:"optional_uint32,omitempty"` |
| 56 | OptionalInt64 int64 `protobuf:"varint,6,opt,name=optional_int64,json=optionalInt64,proto3" json:"optional_int64,omitempty"` |
| 57 | OptionalSint64 int64 `protobuf:"zigzag64,7,opt,name=optional_sint64,json=optionalSint64,proto3" json:"optional_sint64,omitempty"` |
| 58 | OptionalUint64 uint64 `protobuf:"varint,8,opt,name=optional_uint64,json=optionalUint64,proto3" json:"optional_uint64,omitempty"` |
| 59 | OptionalSfixed32 int32 `protobuf:"fixed32,9,opt,name=optional_sfixed32,json=optionalSfixed32,proto3" json:"optional_sfixed32,omitempty"` |
| 60 | OptionalFixed32 uint32 `protobuf:"fixed32,10,opt,name=optional_fixed32,json=optionalFixed32,proto3" json:"optional_fixed32,omitempty"` |
| 61 | OptionalFloat float32 `protobuf:"fixed32,11,opt,name=optional_float,json=optionalFloat,proto3" json:"optional_float,omitempty"` |
| 62 | OptionalSfixed64 int64 `protobuf:"fixed64,12,opt,name=optional_sfixed64,json=optionalSfixed64,proto3" json:"optional_sfixed64,omitempty"` |
| 63 | OptionalFixed64 uint64 `protobuf:"fixed64,13,opt,name=optional_fixed64,json=optionalFixed64,proto3" json:"optional_fixed64,omitempty"` |
| 64 | OptionalDouble float64 `protobuf:"fixed64,14,opt,name=optional_double,json=optionalDouble,proto3" json:"optional_double,omitempty"` |
| 65 | OptionalString string `protobuf:"bytes,15,opt,name=optional_string,json=optionalString,proto3" json:"optional_string,omitempty"` |
| 66 | OptionalBytes []byte `protobuf:"bytes,16,opt,name=optional_bytes,json=optionalBytes,proto3" json:"optional_bytes,omitempty"` |
| 67 | Optional_Message *FieldTestMessage_Message `protobuf:"bytes,17,opt,name=optional_Message,json=optionalMessage,proto3" json:"optional_Message,omitempty"` |
Damien Neil | d4803f5 | 2018-09-19 11:43:35 -0700 | [diff] [blame] | 68 | RepeatedBool []bool `protobuf:"varint,201,rep,packed,name=repeated_bool,json=repeatedBool,proto3" json:"repeated_bool,omitempty"` |
| 69 | RepeatedEnum []FieldTestMessage_Enum `protobuf:"varint,202,rep,packed,name=repeated_enum,json=repeatedEnum,proto3,enum=goproto.protoc.proto3.FieldTestMessage_Enum" json:"repeated_enum,omitempty"` |
| 70 | RepeatedInt32 []int32 `protobuf:"varint,203,rep,packed,name=repeated_int32,json=repeatedInt32,proto3" json:"repeated_int32,omitempty"` |
| 71 | RepeatedSint32 []int32 `protobuf:"zigzag32,204,rep,packed,name=repeated_sint32,json=repeatedSint32,proto3" json:"repeated_sint32,omitempty"` |
| 72 | RepeatedUint32 []uint32 `protobuf:"varint,205,rep,packed,name=repeated_uint32,json=repeatedUint32,proto3" json:"repeated_uint32,omitempty"` |
| 73 | RepeatedInt64 []int64 `protobuf:"varint,206,rep,packed,name=repeated_int64,json=repeatedInt64,proto3" json:"repeated_int64,omitempty"` |
| 74 | RepeatedSint64 []int64 `protobuf:"zigzag64,207,rep,packed,name=repeated_sint64,json=repeatedSint64,proto3" json:"repeated_sint64,omitempty"` |
| 75 | RepeatedUint64 []uint64 `protobuf:"varint,208,rep,packed,name=repeated_uint64,json=repeatedUint64,proto3" json:"repeated_uint64,omitempty"` |
| 76 | RepeatedSfixed32 []int32 `protobuf:"fixed32,209,rep,packed,name=repeated_sfixed32,json=repeatedSfixed32,proto3" json:"repeated_sfixed32,omitempty"` |
| 77 | RepeatedFixed32 []uint32 `protobuf:"fixed32,210,rep,packed,name=repeated_fixed32,json=repeatedFixed32,proto3" json:"repeated_fixed32,omitempty"` |
| 78 | RepeatedFloat []float32 `protobuf:"fixed32,211,rep,packed,name=repeated_float,json=repeatedFloat,proto3" json:"repeated_float,omitempty"` |
| 79 | RepeatedSfixed64 []int64 `protobuf:"fixed64,212,rep,packed,name=repeated_sfixed64,json=repeatedSfixed64,proto3" json:"repeated_sfixed64,omitempty"` |
| 80 | RepeatedFixed64 []uint64 `protobuf:"fixed64,213,rep,packed,name=repeated_fixed64,json=repeatedFixed64,proto3" json:"repeated_fixed64,omitempty"` |
| 81 | RepeatedDouble []float64 `protobuf:"fixed64,214,rep,packed,name=repeated_double,json=repeatedDouble,proto3" json:"repeated_double,omitempty"` |
| 82 | RepeatedString []string `protobuf:"bytes,215,rep,name=repeated_string,json=repeatedString,proto3" json:"repeated_string,omitempty"` |
| 83 | RepeatedBytes [][]byte `protobuf:"bytes,216,rep,name=repeated_bytes,json=repeatedBytes,proto3" json:"repeated_bytes,omitempty"` |
| 84 | Repeated_Message []*FieldTestMessage_Message `protobuf:"bytes,217,rep,name=repeated_Message,json=repeatedMessage,proto3" json:"repeated_Message,omitempty"` |
Damien Neil | 0bd5a38 | 2018-09-13 15:07:10 -0700 | [diff] [blame] | 85 | MapInt32Int64 map[int32]int64 `protobuf:"bytes,500,rep,name=map_int32_int64,json=mapInt32Int64,proto3" json:"map_int32_int64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` |
| 86 | MapStringMessage map[string]*FieldTestMessage_Message `protobuf:"bytes,501,rep,name=map_string_message,json=mapStringMessage,proto3" json:"map_string_message,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 87 | MapFixed64Enum map[uint64]FieldTestMessage_Enum `protobuf:"bytes,502,rep,name=map_fixed64_enum,json=mapFixed64Enum,proto3" json:"map_fixed64_enum,omitempty" protobuf_key:"fixed64,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=goproto.protoc.proto3.FieldTestMessage_Enum"` |
| 88 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 89 | XXX_unrecognized []byte `json:"-"` |
| 90 | XXX_sizecache int32 `json:"-"` |
Damien Neil | 658051b | 2018-09-10 12:26:21 -0700 | [diff] [blame] | 91 | } |
| 92 | |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 93 | func (m *FieldTestMessage) ProtoReflect() protoreflect.Message { |
Damien Neil | 8012b44 | 2019-01-18 09:32:24 -0800 | [diff] [blame^] | 94 | return xxx_Fields_protoFile_messageTypes[0].MessageOf(m) |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 95 | } |
Damien Neil | a1c6abc | 2018-09-12 13:36:34 -0700 | [diff] [blame] | 96 | func (m *FieldTestMessage) Reset() { *m = FieldTestMessage{} } |
| 97 | func (m *FieldTestMessage) String() string { return proto.CompactTextString(m) } |
| 98 | func (*FieldTestMessage) ProtoMessage() {} |
| 99 | func (*FieldTestMessage) Descriptor() ([]byte, []int) { |
Damien Neil | 8012b44 | 2019-01-18 09:32:24 -0800 | [diff] [blame^] | 100 | return fileDescriptor_f1e3ea068187307c_gzipped, []int{0} |
Damien Neil | a1c6abc | 2018-09-12 13:36:34 -0700 | [diff] [blame] | 101 | } |
Damien Neil | 993c04d | 2018-09-14 15:41:11 -0700 | [diff] [blame] | 102 | |
Damien Neil | a1c6abc | 2018-09-12 13:36:34 -0700 | [diff] [blame] | 103 | func (m *FieldTestMessage) XXX_Unmarshal(b []byte) error { |
| 104 | return xxx_messageInfo_FieldTestMessage.Unmarshal(m, b) |
| 105 | } |
| 106 | func (m *FieldTestMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 107 | return xxx_messageInfo_FieldTestMessage.Marshal(b, m, deterministic) |
| 108 | } |
| 109 | func (m *FieldTestMessage) XXX_Merge(src proto.Message) { |
| 110 | xxx_messageInfo_FieldTestMessage.Merge(m, src) |
| 111 | } |
| 112 | func (m *FieldTestMessage) XXX_Size() int { |
| 113 | return xxx_messageInfo_FieldTestMessage.Size(m) |
| 114 | } |
| 115 | func (m *FieldTestMessage) XXX_DiscardUnknown() { |
| 116 | xxx_messageInfo_FieldTestMessage.DiscardUnknown(m) |
| 117 | } |
| 118 | |
| 119 | var xxx_messageInfo_FieldTestMessage proto.InternalMessageInfo |
| 120 | |
Damien Neil | 77f82fe | 2018-09-13 10:59:17 -0700 | [diff] [blame] | 121 | func (m *FieldTestMessage) GetOptionalBool() string { |
| 122 | if m != nil { |
| 123 | return m.OptionalBool |
| 124 | } |
| 125 | return "" |
| 126 | } |
| 127 | |
| 128 | func (m *FieldTestMessage) GetOptionalEnum() FieldTestMessage_Enum { |
| 129 | if m != nil { |
| 130 | return m.OptionalEnum |
| 131 | } |
| 132 | return FieldTestMessage_ZERO |
| 133 | } |
| 134 | |
| 135 | func (m *FieldTestMessage) GetOptionalInt32() int32 { |
| 136 | if m != nil { |
| 137 | return m.OptionalInt32 |
| 138 | } |
| 139 | return 0 |
| 140 | } |
| 141 | |
| 142 | func (m *FieldTestMessage) GetOptionalSint32() int32 { |
| 143 | if m != nil { |
| 144 | return m.OptionalSint32 |
| 145 | } |
| 146 | return 0 |
| 147 | } |
| 148 | |
| 149 | func (m *FieldTestMessage) GetOptionalUint32() uint32 { |
| 150 | if m != nil { |
| 151 | return m.OptionalUint32 |
| 152 | } |
| 153 | return 0 |
| 154 | } |
| 155 | |
| 156 | func (m *FieldTestMessage) GetOptionalInt64() int64 { |
| 157 | if m != nil { |
| 158 | return m.OptionalInt64 |
| 159 | } |
| 160 | return 0 |
| 161 | } |
| 162 | |
| 163 | func (m *FieldTestMessage) GetOptionalSint64() int64 { |
| 164 | if m != nil { |
| 165 | return m.OptionalSint64 |
| 166 | } |
| 167 | return 0 |
| 168 | } |
| 169 | |
| 170 | func (m *FieldTestMessage) GetOptionalUint64() uint64 { |
| 171 | if m != nil { |
| 172 | return m.OptionalUint64 |
| 173 | } |
| 174 | return 0 |
| 175 | } |
| 176 | |
| 177 | func (m *FieldTestMessage) GetOptionalSfixed32() int32 { |
| 178 | if m != nil { |
| 179 | return m.OptionalSfixed32 |
| 180 | } |
| 181 | return 0 |
| 182 | } |
| 183 | |
| 184 | func (m *FieldTestMessage) GetOptionalFixed32() uint32 { |
| 185 | if m != nil { |
| 186 | return m.OptionalFixed32 |
| 187 | } |
| 188 | return 0 |
| 189 | } |
| 190 | |
| 191 | func (m *FieldTestMessage) GetOptionalFloat() float32 { |
| 192 | if m != nil { |
| 193 | return m.OptionalFloat |
| 194 | } |
| 195 | return 0 |
| 196 | } |
| 197 | |
| 198 | func (m *FieldTestMessage) GetOptionalSfixed64() int64 { |
| 199 | if m != nil { |
| 200 | return m.OptionalSfixed64 |
| 201 | } |
| 202 | return 0 |
| 203 | } |
| 204 | |
| 205 | func (m *FieldTestMessage) GetOptionalFixed64() uint64 { |
| 206 | if m != nil { |
| 207 | return m.OptionalFixed64 |
| 208 | } |
| 209 | return 0 |
| 210 | } |
| 211 | |
| 212 | func (m *FieldTestMessage) GetOptionalDouble() float64 { |
| 213 | if m != nil { |
| 214 | return m.OptionalDouble |
| 215 | } |
| 216 | return 0 |
| 217 | } |
| 218 | |
| 219 | func (m *FieldTestMessage) GetOptionalString() string { |
| 220 | if m != nil { |
| 221 | return m.OptionalString |
| 222 | } |
| 223 | return "" |
| 224 | } |
| 225 | |
| 226 | func (m *FieldTestMessage) GetOptionalBytes() []byte { |
| 227 | if m != nil { |
| 228 | return m.OptionalBytes |
| 229 | } |
| 230 | return nil |
| 231 | } |
| 232 | |
| 233 | func (m *FieldTestMessage) GetOptional_Message() *FieldTestMessage_Message { |
| 234 | if m != nil { |
| 235 | return m.Optional_Message |
| 236 | } |
| 237 | return nil |
| 238 | } |
| 239 | |
Damien Neil | d4803f5 | 2018-09-19 11:43:35 -0700 | [diff] [blame] | 240 | func (m *FieldTestMessage) GetRepeatedBool() []bool { |
| 241 | if m != nil { |
| 242 | return m.RepeatedBool |
| 243 | } |
| 244 | return nil |
| 245 | } |
| 246 | |
| 247 | func (m *FieldTestMessage) GetRepeatedEnum() []FieldTestMessage_Enum { |
| 248 | if m != nil { |
| 249 | return m.RepeatedEnum |
| 250 | } |
| 251 | return nil |
| 252 | } |
| 253 | |
| 254 | func (m *FieldTestMessage) GetRepeatedInt32() []int32 { |
| 255 | if m != nil { |
| 256 | return m.RepeatedInt32 |
| 257 | } |
| 258 | return nil |
| 259 | } |
| 260 | |
| 261 | func (m *FieldTestMessage) GetRepeatedSint32() []int32 { |
| 262 | if m != nil { |
| 263 | return m.RepeatedSint32 |
| 264 | } |
| 265 | return nil |
| 266 | } |
| 267 | |
| 268 | func (m *FieldTestMessage) GetRepeatedUint32() []uint32 { |
| 269 | if m != nil { |
| 270 | return m.RepeatedUint32 |
| 271 | } |
| 272 | return nil |
| 273 | } |
| 274 | |
| 275 | func (m *FieldTestMessage) GetRepeatedInt64() []int64 { |
| 276 | if m != nil { |
| 277 | return m.RepeatedInt64 |
| 278 | } |
| 279 | return nil |
| 280 | } |
| 281 | |
| 282 | func (m *FieldTestMessage) GetRepeatedSint64() []int64 { |
| 283 | if m != nil { |
| 284 | return m.RepeatedSint64 |
| 285 | } |
| 286 | return nil |
| 287 | } |
| 288 | |
| 289 | func (m *FieldTestMessage) GetRepeatedUint64() []uint64 { |
| 290 | if m != nil { |
| 291 | return m.RepeatedUint64 |
| 292 | } |
| 293 | return nil |
| 294 | } |
| 295 | |
| 296 | func (m *FieldTestMessage) GetRepeatedSfixed32() []int32 { |
| 297 | if m != nil { |
| 298 | return m.RepeatedSfixed32 |
| 299 | } |
| 300 | return nil |
| 301 | } |
| 302 | |
| 303 | func (m *FieldTestMessage) GetRepeatedFixed32() []uint32 { |
| 304 | if m != nil { |
| 305 | return m.RepeatedFixed32 |
| 306 | } |
| 307 | return nil |
| 308 | } |
| 309 | |
| 310 | func (m *FieldTestMessage) GetRepeatedFloat() []float32 { |
| 311 | if m != nil { |
| 312 | return m.RepeatedFloat |
| 313 | } |
| 314 | return nil |
| 315 | } |
| 316 | |
| 317 | func (m *FieldTestMessage) GetRepeatedSfixed64() []int64 { |
| 318 | if m != nil { |
| 319 | return m.RepeatedSfixed64 |
| 320 | } |
| 321 | return nil |
| 322 | } |
| 323 | |
| 324 | func (m *FieldTestMessage) GetRepeatedFixed64() []uint64 { |
| 325 | if m != nil { |
| 326 | return m.RepeatedFixed64 |
| 327 | } |
| 328 | return nil |
| 329 | } |
| 330 | |
| 331 | func (m *FieldTestMessage) GetRepeatedDouble() []float64 { |
| 332 | if m != nil { |
| 333 | return m.RepeatedDouble |
| 334 | } |
| 335 | return nil |
| 336 | } |
| 337 | |
| 338 | func (m *FieldTestMessage) GetRepeatedString() []string { |
| 339 | if m != nil { |
| 340 | return m.RepeatedString |
| 341 | } |
| 342 | return nil |
| 343 | } |
| 344 | |
| 345 | func (m *FieldTestMessage) GetRepeatedBytes() [][]byte { |
| 346 | if m != nil { |
| 347 | return m.RepeatedBytes |
| 348 | } |
| 349 | return nil |
| 350 | } |
| 351 | |
| 352 | func (m *FieldTestMessage) GetRepeated_Message() []*FieldTestMessage_Message { |
| 353 | if m != nil { |
| 354 | return m.Repeated_Message |
| 355 | } |
| 356 | return nil |
| 357 | } |
| 358 | |
Damien Neil | 0bd5a38 | 2018-09-13 15:07:10 -0700 | [diff] [blame] | 359 | func (m *FieldTestMessage) GetMapInt32Int64() map[int32]int64 { |
| 360 | if m != nil { |
| 361 | return m.MapInt32Int64 |
| 362 | } |
| 363 | return nil |
| 364 | } |
| 365 | |
| 366 | func (m *FieldTestMessage) GetMapStringMessage() map[string]*FieldTestMessage_Message { |
| 367 | if m != nil { |
| 368 | return m.MapStringMessage |
| 369 | } |
| 370 | return nil |
| 371 | } |
| 372 | |
| 373 | func (m *FieldTestMessage) GetMapFixed64Enum() map[uint64]FieldTestMessage_Enum { |
| 374 | if m != nil { |
| 375 | return m.MapFixed64Enum |
| 376 | } |
| 377 | return nil |
| 378 | } |
| 379 | |
Damien Neil | 658051b | 2018-09-10 12:26:21 -0700 | [diff] [blame] | 380 | type FieldTestMessage_Message struct { |
| 381 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 382 | XXX_unrecognized []byte `json:"-"` |
| 383 | XXX_sizecache int32 `json:"-"` |
| 384 | } |
| 385 | |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 386 | func (m *FieldTestMessage_Message) ProtoReflect() protoreflect.Message { |
Damien Neil | 8012b44 | 2019-01-18 09:32:24 -0800 | [diff] [blame^] | 387 | return xxx_Fields_protoFile_messageTypes[4].MessageOf(m) |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 388 | } |
Damien Neil | a1c6abc | 2018-09-12 13:36:34 -0700 | [diff] [blame] | 389 | func (m *FieldTestMessage_Message) Reset() { *m = FieldTestMessage_Message{} } |
| 390 | func (m *FieldTestMessage_Message) String() string { return proto.CompactTextString(m) } |
| 391 | func (*FieldTestMessage_Message) ProtoMessage() {} |
| 392 | func (*FieldTestMessage_Message) Descriptor() ([]byte, []int) { |
Damien Neil | 8012b44 | 2019-01-18 09:32:24 -0800 | [diff] [blame^] | 393 | return fileDescriptor_f1e3ea068187307c_gzipped, []int{0, 3} |
Damien Neil | a1c6abc | 2018-09-12 13:36:34 -0700 | [diff] [blame] | 394 | } |
Damien Neil | 993c04d | 2018-09-14 15:41:11 -0700 | [diff] [blame] | 395 | |
Damien Neil | a1c6abc | 2018-09-12 13:36:34 -0700 | [diff] [blame] | 396 | func (m *FieldTestMessage_Message) XXX_Unmarshal(b []byte) error { |
| 397 | return xxx_messageInfo_FieldTestMessage_Message.Unmarshal(m, b) |
| 398 | } |
| 399 | func (m *FieldTestMessage_Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 400 | return xxx_messageInfo_FieldTestMessage_Message.Marshal(b, m, deterministic) |
| 401 | } |
| 402 | func (m *FieldTestMessage_Message) XXX_Merge(src proto.Message) { |
| 403 | xxx_messageInfo_FieldTestMessage_Message.Merge(m, src) |
| 404 | } |
| 405 | func (m *FieldTestMessage_Message) XXX_Size() int { |
| 406 | return xxx_messageInfo_FieldTestMessage_Message.Size(m) |
| 407 | } |
| 408 | func (m *FieldTestMessage_Message) XXX_DiscardUnknown() { |
| 409 | xxx_messageInfo_FieldTestMessage_Message.DiscardUnknown(m) |
| 410 | } |
| 411 | |
| 412 | var xxx_messageInfo_FieldTestMessage_Message proto.InternalMessageInfo |
| 413 | |
Damien Neil | 658051b | 2018-09-10 12:26:21 -0700 | [diff] [blame] | 414 | func init() { |
Damien Neil | 8012b44 | 2019-01-18 09:32:24 -0800 | [diff] [blame^] | 415 | proto.RegisterFile("proto3/fields.proto", fileDescriptor_f1e3ea068187307c_gzipped) |
Damien Neil | 154da98 | 2018-09-19 13:21:58 -0700 | [diff] [blame] | 416 | proto.RegisterEnum("goproto.protoc.proto3.FieldTestMessage_Enum", FieldTestMessage_Enum_name, FieldTestMessage_Enum_value) |
Damien Neil | ce36f8d | 2018-09-13 15:19:08 -0700 | [diff] [blame] | 417 | proto.RegisterType((*FieldTestMessage)(nil), "goproto.protoc.proto3.FieldTestMessage") |
| 418 | proto.RegisterMapType((map[uint64]FieldTestMessage_Enum)(nil), "goproto.protoc.proto3.FieldTestMessage.MapFixed64EnumEntry") |
| 419 | proto.RegisterMapType((map[int32]int64)(nil), "goproto.protoc.proto3.FieldTestMessage.MapInt32Int64Entry") |
| 420 | proto.RegisterMapType((map[string]*FieldTestMessage_Message)(nil), "goproto.protoc.proto3.FieldTestMessage.MapStringMessageEntry") |
| 421 | proto.RegisterType((*FieldTestMessage_Message)(nil), "goproto.protoc.proto3.FieldTestMessage.Message") |
Damien Neil | 658051b | 2018-09-10 12:26:21 -0700 | [diff] [blame] | 422 | } |
| 423 | |
Damien Neil | 658051b | 2018-09-10 12:26:21 -0700 | [diff] [blame] | 424 | var fileDescriptor_f1e3ea068187307c = []byte{ |
Damien Neil | 8012b44 | 2019-01-18 09:32:24 -0800 | [diff] [blame^] | 425 | // 2378 bytes of the wire-encoded FileDescriptorProto |
| 426 | 0x0a, 0x13, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x2e, |
| 427 | 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, |
| 428 | 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x22, 0xd0, 0x11, 0x0a, |
| 429 | 0x10, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, |
| 430 | 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x62, 0x6f, |
| 431 | 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, |
| 432 | 0x61, 0x6c, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x51, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, |
| 433 | 0x61, 0x6c, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, |
| 434 | 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2e, 0x70, |
| 435 | 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x65, 0x73, 0x74, 0x4d, |
| 436 | 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0c, 0x6f, 0x70, 0x74, |
| 437 | 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x74, |
| 438 | 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x03, 0x20, 0x01, 0x28, |
| 439 | 0x05, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x33, 0x32, |
| 440 | 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x6e, |
| 441 | 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x01, 0x28, 0x11, 0x52, 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f, |
| 442 | 0x6e, 0x61, 0x6c, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x70, 0x74, |
| 443 | 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x05, 0x20, 0x01, |
| 444 | 0x28, 0x0d, 0x52, 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x55, 0x69, 0x6e, 0x74, |
| 445 | 0x33, 0x32, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x69, |
| 446 | 0x6e, 0x74, 0x36, 0x34, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x69, |
| 447 | 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x70, 0x74, |
| 448 | 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x07, 0x20, 0x01, |
| 449 | 0x28, 0x12, 0x52, 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x69, 0x6e, 0x74, |
| 450 | 0x36, 0x34, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x75, |
| 451 | 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x6f, 0x70, 0x74, |
| 452 | 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x2b, 0x0a, 0x11, 0x6f, |
| 453 | 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, |
| 454 | 0x18, 0x09, 0x20, 0x01, 0x28, 0x0f, 0x52, 0x10, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, |
| 455 | 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x29, 0x0a, 0x10, 0x6f, 0x70, 0x74, 0x69, |
| 456 | 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x0a, 0x20, 0x01, |
| 457 | 0x28, 0x07, 0x52, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x69, 0x78, 0x65, |
| 458 | 0x64, 0x33, 0x32, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, |
| 459 | 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0d, 0x6f, 0x70, 0x74, |
| 460 | 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x6f, 0x70, |
| 461 | 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, |
| 462 | 0x0c, 0x20, 0x01, 0x28, 0x10, 0x52, 0x10, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, |
| 463 | 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x29, 0x0a, 0x10, 0x6f, 0x70, 0x74, 0x69, 0x6f, |
| 464 | 0x6e, 0x61, 0x6c, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x0d, 0x20, 0x01, 0x28, |
| 465 | 0x06, 0x52, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x69, 0x78, 0x65, 0x64, |
| 466 | 0x36, 0x34, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x64, |
| 467 | 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e, 0x6f, 0x70, 0x74, |
| 468 | 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6f, |
| 469 | 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x0f, |
| 470 | 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x74, |
| 471 | 0x72, 0x69, 0x6e, 0x67, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, |
| 472 | 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x6f, 0x70, |
| 473 | 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x5a, 0x0a, 0x10, 0x6f, |
| 474 | 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, |
| 475 | 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, |
| 476 | 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x2e, 0x46, 0x69, |
| 477 | 0x65, 0x6c, 0x64, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, |
| 478 | 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, |
| 479 | 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x65, 0x61, |
| 480 | 0x74, 0x65, 0x64, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0xc9, 0x01, 0x20, 0x03, 0x28, 0x08, 0x52, |
| 481 | 0x0c, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x52, 0x0a, |
| 482 | 0x0d, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0xca, |
| 483 | 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, |
| 484 | 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x2e, 0x46, 0x69, |
| 485 | 0x65, 0x6c, 0x64, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x45, |
| 486 | 0x6e, 0x75, 0x6d, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, |
| 487 | 0x6d, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x6e, |
| 488 | 0x74, 0x33, 0x32, 0x18, 0xcb, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x65, |
| 489 | 0x61, 0x74, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x28, 0x0a, 0x0f, 0x72, 0x65, 0x70, |
| 490 | 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0xcc, 0x01, 0x20, |
| 491 | 0x03, 0x28, 0x11, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x53, 0x69, 0x6e, |
| 492 | 0x74, 0x33, 0x32, 0x12, 0x28, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, |
| 493 | 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0xcd, 0x01, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, 0x72, |
| 494 | 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x26, 0x0a, |
| 495 | 0x0e, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, |
| 496 | 0xce, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, |
| 497 | 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x28, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, |
| 498 | 0x64, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0xcf, 0x01, 0x20, 0x03, 0x28, 0x12, 0x52, |
| 499 | 0x0e, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, |
| 500 | 0x28, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x75, 0x69, 0x6e, 0x74, |
| 501 | 0x36, 0x34, 0x18, 0xd0, 0x01, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x65, 0x61, |
| 502 | 0x74, 0x65, 0x64, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x2c, 0x0a, 0x11, 0x72, 0x65, 0x70, |
| 503 | 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0xd1, |
| 504 | 0x01, 0x20, 0x03, 0x28, 0x0f, 0x52, 0x10, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x53, |
| 505 | 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x2a, 0x0a, 0x10, 0x72, 0x65, 0x70, 0x65, 0x61, |
| 506 | 0x74, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0xd2, 0x01, 0x20, 0x03, |
| 507 | 0x28, 0x07, 0x52, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x78, 0x65, |
| 508 | 0x64, 0x33, 0x32, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, |
| 509 | 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0xd3, 0x01, 0x20, 0x03, 0x28, 0x02, 0x52, 0x0d, 0x72, 0x65, |
| 510 | 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x2c, 0x0a, 0x11, 0x72, |
| 511 | 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, |
| 512 | 0x18, 0xd4, 0x01, 0x20, 0x03, 0x28, 0x10, 0x52, 0x10, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, |
| 513 | 0x64, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x2a, 0x0a, 0x10, 0x72, 0x65, 0x70, |
| 514 | 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0xd5, 0x01, |
| 515 | 0x20, 0x03, 0x28, 0x06, 0x52, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, |
| 516 | 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x28, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, |
| 517 | 0x64, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0xd6, 0x01, 0x20, 0x03, 0x28, 0x01, 0x52, |
| 518 | 0x0e, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, |
| 519 | 0x28, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x74, 0x72, 0x69, |
| 520 | 0x6e, 0x67, 0x18, 0xd7, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x65, 0x61, |
| 521 | 0x74, 0x65, 0x64, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x70, |
| 522 | 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0xd8, 0x01, 0x20, 0x03, |
| 523 | 0x28, 0x0c, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x74, 0x65, |
| 524 | 0x73, 0x12, 0x5b, 0x0a, 0x10, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x4d, 0x65, |
| 525 | 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0xd9, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, |
| 526 | 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2e, 0x70, 0x72, |
| 527 | 0x6f, 0x74, 0x6f, 0x33, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, |
| 528 | 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0f, 0x72, |
| 529 | 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x63, |
| 530 | 0x0a, 0x0f, 0x6d, 0x61, 0x70, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x69, 0x6e, 0x74, 0x36, |
| 531 | 0x34, 0x18, 0xf4, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, |
| 532 | 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 533 | 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, |
| 534 | 0x65, 0x2e, 0x4d, 0x61, 0x70, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x45, |
| 535 | 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x6d, 0x61, 0x70, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x49, 0x6e, |
| 536 | 0x74, 0x36, 0x34, 0x12, 0x6c, 0x0a, 0x12, 0x6d, 0x61, 0x70, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, |
| 537 | 0x67, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0xf5, 0x03, 0x20, 0x03, 0x28, 0x0b, |
| 538 | 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 539 | 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x65, |
| 540 | 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, |
| 541 | 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, |
| 542 | 0x10, 0x6d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, |
| 543 | 0x65, 0x12, 0x66, 0x0a, 0x10, 0x6d, 0x61, 0x70, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, |
| 544 | 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0xf6, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, |
| 545 | 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2e, 0x70, 0x72, |
| 546 | 0x6f, 0x74, 0x6f, 0x33, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, |
| 547 | 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x61, 0x70, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, |
| 548 | 0x45, 0x6e, 0x75, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x6d, 0x61, 0x70, 0x46, 0x69, |
| 549 | 0x78, 0x65, 0x64, 0x36, 0x34, 0x45, 0x6e, 0x75, 0x6d, 0x1a, 0x40, 0x0a, 0x12, 0x4d, 0x61, 0x70, |
| 550 | 0x49, 0x6e, 0x74, 0x33, 0x32, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, |
| 551 | 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, |
| 552 | 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, |
| 553 | 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x74, 0x0a, 0x15, 0x4d, |
| 554 | 0x61, 0x70, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x45, |
| 555 | 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 556 | 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x45, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, |
| 557 | 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, |
| 558 | 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x2e, 0x46, 0x69, |
| 559 | 0x65, 0x6c, 0x64, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, |
| 560 | 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, |
| 561 | 0x01, 0x1a, 0x6f, 0x0a, 0x13, 0x4d, 0x61, 0x70, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x45, |
| 562 | 0x6e, 0x75, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, |
| 563 | 0x01, 0x20, 0x01, 0x28, 0x06, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x42, 0x0a, 0x05, 0x76, 0x61, |
| 564 | 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x70, 0x72, |
| 565 | 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 566 | 0x33, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, |
| 567 | 0x67, 0x65, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, |
| 568 | 0x38, 0x01, 0x1a, 0x09, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x10, 0x0a, |
| 569 | 0x04, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x08, 0x0a, 0x04, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x42, |
| 570 | 0x41, 0x5a, 0x3f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, |
| 571 | 0x6c, 0x61, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x32, |
| 572 | 0x2f, 0x63, 0x6d, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, |
| 573 | 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x70, 0x72, 0x6f, 0x74, |
| 574 | 0x6f, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
Damien Neil | 658051b | 2018-09-10 12:26:21 -0700 | [diff] [blame] | 575 | } |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 576 | |
Damien Neil | 8012b44 | 2019-01-18 09:32:24 -0800 | [diff] [blame^] | 577 | var fileDescriptor_f1e3ea068187307c_gzipped = func() []byte { |
| 578 | bb := new(bytes.Buffer) |
| 579 | zw, _ := gzip.NewWriterLevel(bb, gzip.NoCompression) |
| 580 | zw.Write(fileDescriptor_f1e3ea068187307c) |
| 581 | zw.Close() |
| 582 | return bb.Bytes() |
| 583 | }() |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 584 | |
| 585 | const _ = protoimpl.EnforceVersion(protoimpl.Version - 0) |
| 586 | |
Joe Tsai | 5681bb2 | 2019-01-09 21:31:15 -0800 | [diff] [blame] | 587 | var Fields_protoFile protoreflect.FileDescriptor |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 588 | |
Damien Neil | 8012b44 | 2019-01-18 09:32:24 -0800 | [diff] [blame^] | 589 | var xxx_Fields_protoFile_enumTypes [1]protoreflect.EnumType |
| 590 | var xxx_Fields_protoFile_messageTypes [5]protoimpl.MessageType |
| 591 | var xxx_Fields_protoFile_goTypes = []interface{}{ |
| 592 | (FieldTestMessage_Enum)(0), // 0: goproto.protoc.proto3.FieldTestMessage.Enum |
| 593 | (*FieldTestMessage)(nil), // 1: goproto.protoc.proto3.FieldTestMessage |
| 594 | nil, // 2: goproto.protoc.proto3.FieldTestMessage.MapInt32Int64Entry |
| 595 | nil, // 3: goproto.protoc.proto3.FieldTestMessage.MapStringMessageEntry |
| 596 | nil, // 4: goproto.protoc.proto3.FieldTestMessage.MapFixed64EnumEntry |
| 597 | (*FieldTestMessage_Message)(nil), // 5: goproto.protoc.proto3.FieldTestMessage.Message |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 598 | } |
Damien Neil | 8012b44 | 2019-01-18 09:32:24 -0800 | [diff] [blame^] | 599 | var xxx_Fields_protoFile_depIdxs = []int32{ |
| 600 | 0, // goproto.protoc.proto3.FieldTestMessage.optional_enum:type_name -> goproto.protoc.proto3.FieldTestMessage.Enum |
| 601 | 5, // goproto.protoc.proto3.FieldTestMessage.optional_Message:type_name -> goproto.protoc.proto3.FieldTestMessage.Message |
| 602 | 0, // goproto.protoc.proto3.FieldTestMessage.repeated_enum:type_name -> goproto.protoc.proto3.FieldTestMessage.Enum |
| 603 | 5, // goproto.protoc.proto3.FieldTestMessage.repeated_Message:type_name -> goproto.protoc.proto3.FieldTestMessage.Message |
| 604 | 2, // goproto.protoc.proto3.FieldTestMessage.map_int32_int64:type_name -> goproto.protoc.proto3.FieldTestMessage.MapInt32Int64Entry |
| 605 | 3, // goproto.protoc.proto3.FieldTestMessage.map_string_message:type_name -> goproto.protoc.proto3.FieldTestMessage.MapStringMessageEntry |
| 606 | 4, // goproto.protoc.proto3.FieldTestMessage.map_fixed64_enum:type_name -> goproto.protoc.proto3.FieldTestMessage.MapFixed64EnumEntry |
| 607 | 5, // goproto.protoc.proto3.FieldTestMessage.MapStringMessageEntry.value:type_name -> goproto.protoc.proto3.FieldTestMessage.Message |
| 608 | 0, // goproto.protoc.proto3.FieldTestMessage.MapFixed64EnumEntry.value:type_name -> goproto.protoc.proto3.FieldTestMessage.Enum |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 609 | } |
Damien Neil | 8012b44 | 2019-01-18 09:32:24 -0800 | [diff] [blame^] | 610 | |
| 611 | func init() { |
| 612 | var messageTypes [5]protoreflect.MessageType |
| 613 | Fields_protoFile = protoimpl.FileBuilder{ |
| 614 | RawDescriptor: fileDescriptor_f1e3ea068187307c, |
| 615 | GoTypes: xxx_Fields_protoFile_goTypes, |
| 616 | DependencyIndexes: xxx_Fields_protoFile_depIdxs, |
| 617 | EnumOutputTypes: xxx_Fields_protoFile_enumTypes[:], |
| 618 | MessageOutputTypes: messageTypes[:], |
| 619 | }.Init() |
| 620 | messageGoTypes := xxx_Fields_protoFile_goTypes[1:][:5] |
| 621 | for i, mt := range messageTypes[:] { |
| 622 | xxx_Fields_protoFile_messageTypes[i].GoType = reflect.TypeOf(messageGoTypes[i]) |
| 623 | xxx_Fields_protoFile_messageTypes[i].PBType = mt |
| 624 | } |
| 625 | xxx_Fields_protoFile_goTypes = nil |
| 626 | xxx_Fields_protoFile_depIdxs = nil |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 627 | } |