Damien Neil | ba23aa5 | 2018-12-07 14:38:17 -0800 | [diff] [blame^] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // source: test.proto |
| 3 | |
| 4 | package testpb |
| 5 | |
| 6 | import ( |
| 7 | proto "github.com/golang/protobuf/proto" |
| 8 | protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect" |
| 9 | prototype "github.com/golang/protobuf/v2/reflect/prototype" |
| 10 | protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl" |
| 11 | ) |
| 12 | |
| 13 | // This is a compile-time assertion to ensure that this generated file |
| 14 | // is compatible with the proto package it is being compiled against. |
| 15 | // A compilation error at this line likely means your copy of the |
| 16 | // proto package needs to be updated. |
| 17 | const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| 18 | |
| 19 | type TestAllTypes_NestedEnum int32 |
| 20 | |
| 21 | const ( |
| 22 | TestAllTypes_FOO TestAllTypes_NestedEnum = 0 |
| 23 | TestAllTypes_BAR TestAllTypes_NestedEnum = 1 |
| 24 | TestAllTypes_BAZ TestAllTypes_NestedEnum = 2 |
| 25 | TestAllTypes_NEG TestAllTypes_NestedEnum = -1 |
| 26 | ) |
| 27 | |
| 28 | type xxx_TestAllTypes_NestedEnum TestAllTypes_NestedEnum |
| 29 | |
| 30 | func (e TestAllTypes_NestedEnum) ProtoReflect() protoreflect.Enum { |
| 31 | return (xxx_TestAllTypes_NestedEnum)(e) |
| 32 | } |
| 33 | func (e xxx_TestAllTypes_NestedEnum) Type() protoreflect.EnumType { |
| 34 | return xxx_Test_ProtoFile_EnumTypes[0] |
| 35 | } |
| 36 | func (e xxx_TestAllTypes_NestedEnum) Number() protoreflect.EnumNumber { |
| 37 | return protoreflect.EnumNumber(e) |
| 38 | } |
| 39 | |
| 40 | var TestAllTypes_NestedEnum_name = map[int32]string{ |
| 41 | 0: "FOO", |
| 42 | 1: "BAR", |
| 43 | 2: "BAZ", |
| 44 | -1: "NEG", |
| 45 | } |
| 46 | |
| 47 | var TestAllTypes_NestedEnum_value = map[string]int32{ |
| 48 | "FOO": 0, |
| 49 | "BAR": 1, |
| 50 | "BAZ": 2, |
| 51 | "NEG": -1, |
| 52 | } |
| 53 | |
| 54 | func (x TestAllTypes_NestedEnum) Enum() *TestAllTypes_NestedEnum { |
| 55 | p := new(TestAllTypes_NestedEnum) |
| 56 | *p = x |
| 57 | return p |
| 58 | } |
| 59 | |
| 60 | func (x TestAllTypes_NestedEnum) String() string { |
| 61 | return proto.EnumName(TestAllTypes_NestedEnum_name, int32(x)) |
| 62 | } |
| 63 | |
| 64 | func (x *TestAllTypes_NestedEnum) UnmarshalJSON(data []byte) error { |
| 65 | value, err := proto.UnmarshalJSONEnum(TestAllTypes_NestedEnum_value, data, "TestAllTypes_NestedEnum") |
| 66 | if err != nil { |
| 67 | return err |
| 68 | } |
| 69 | *x = TestAllTypes_NestedEnum(value) |
| 70 | return nil |
| 71 | } |
| 72 | |
| 73 | func (TestAllTypes_NestedEnum) EnumDescriptor() ([]byte, []int) { |
| 74 | return fileDescriptor_c161fcfdc0c3ff1e, []int{0, 0} |
| 75 | } |
| 76 | |
| 77 | type TestAllTypes struct { |
| 78 | OptionalInt32 *int32 `protobuf:"varint,1,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"` |
| 79 | OptionalInt64 *int64 `protobuf:"varint,2,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"` |
| 80 | OptionalUint32 *uint32 `protobuf:"varint,3,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"` |
| 81 | OptionalUint64 *uint64 `protobuf:"varint,4,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"` |
| 82 | OptionalSint32 *int32 `protobuf:"zigzag32,5,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"` |
| 83 | OptionalSint64 *int64 `protobuf:"zigzag64,6,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"` |
| 84 | OptionalFixed32 *uint32 `protobuf:"fixed32,7,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"` |
| 85 | OptionalFixed64 *uint64 `protobuf:"fixed64,8,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"` |
| 86 | OptionalSfixed32 *int32 `protobuf:"fixed32,9,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"` |
| 87 | OptionalSfixed64 *int64 `protobuf:"fixed64,10,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"` |
| 88 | OptionalFloat *float32 `protobuf:"fixed32,11,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"` |
| 89 | OptionalDouble *float64 `protobuf:"fixed64,12,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"` |
| 90 | OptionalBool *bool `protobuf:"varint,13,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"` |
| 91 | OptionalString *string `protobuf:"bytes,14,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"` |
| 92 | OptionalBytes []byte `protobuf:"bytes,15,opt,name=optional_bytes,json=optionalBytes" json:"optional_bytes,omitempty"` |
| 93 | Optionalgroup *TestAllTypes_OptionalGroup `protobuf:"group,16,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"` |
| 94 | OptionalNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,18,opt,name=optional_nested_message,json=optionalNestedMessage" json:"optional_nested_message,omitempty"` |
| 95 | OptionalNestedEnum *TestAllTypes_NestedEnum `protobuf:"varint,21,opt,name=optional_nested_enum,json=optionalNestedEnum,enum=goproto.proto.test.TestAllTypes_NestedEnum" json:"optional_nested_enum,omitempty"` |
| 96 | RepeatedInt32 []int32 `protobuf:"varint,31,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"` |
| 97 | RepeatedInt64 []int64 `protobuf:"varint,32,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"` |
| 98 | RepeatedUint32 []uint32 `protobuf:"varint,33,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"` |
| 99 | RepeatedUint64 []uint64 `protobuf:"varint,34,rep,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"` |
| 100 | RepeatedSint32 []int32 `protobuf:"zigzag32,35,rep,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"` |
| 101 | RepeatedSint64 []int64 `protobuf:"zigzag64,36,rep,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"` |
| 102 | RepeatedFixed32 []uint32 `protobuf:"fixed32,37,rep,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"` |
| 103 | RepeatedFixed64 []uint64 `protobuf:"fixed64,38,rep,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"` |
| 104 | RepeatedSfixed32 []int32 `protobuf:"fixed32,39,rep,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"` |
| 105 | RepeatedSfixed64 []int64 `protobuf:"fixed64,40,rep,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"` |
| 106 | RepeatedFloat []float32 `protobuf:"fixed32,41,rep,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"` |
| 107 | RepeatedDouble []float64 `protobuf:"fixed64,42,rep,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"` |
| 108 | RepeatedBool []bool `protobuf:"varint,43,rep,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"` |
| 109 | RepeatedString []string `protobuf:"bytes,44,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"` |
| 110 | RepeatedBytes [][]byte `protobuf:"bytes,45,rep,name=repeated_bytes,json=repeatedBytes" json:"repeated_bytes,omitempty"` |
| 111 | Repeatedgroup []*TestAllTypes_RepeatedGroup `protobuf:"group,46,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,omitempty"` |
| 112 | RepeatedNestedMessage []*TestAllTypes_NestedMessage `protobuf:"bytes,48,rep,name=repeated_nested_message,json=repeatedNestedMessage" json:"repeated_nested_message,omitempty"` |
| 113 | RepeatedNestedEnum []TestAllTypes_NestedEnum `protobuf:"varint,51,rep,name=repeated_nested_enum,json=repeatedNestedEnum,enum=goproto.proto.test.TestAllTypes_NestedEnum" json:"repeated_nested_enum,omitempty"` |
| 114 | MapInt32Int32 map[int32]int32 `protobuf:"bytes,56,rep,name=map_int32_int32,json=mapInt32Int32" json:"map_int32_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` |
| 115 | MapInt64Int64 map[int64]int64 `protobuf:"bytes,57,rep,name=map_int64_int64,json=mapInt64Int64" json:"map_int64_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` |
| 116 | MapUint32Uint32 map[uint32]uint32 `protobuf:"bytes,58,rep,name=map_uint32_uint32,json=mapUint32Uint32" json:"map_uint32_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` |
| 117 | MapUint64Uint64 map[uint64]uint64 `protobuf:"bytes,59,rep,name=map_uint64_uint64,json=mapUint64Uint64" json:"map_uint64_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` |
| 118 | MapSint32Sint32 map[int32]int32 `protobuf:"bytes,60,rep,name=map_sint32_sint32,json=mapSint32Sint32" json:"map_sint32_sint32,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"` |
| 119 | MapSint64Sint64 map[int64]int64 `protobuf:"bytes,61,rep,name=map_sint64_sint64,json=mapSint64Sint64" json:"map_sint64_sint64,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"` |
| 120 | MapFixed32Fixed32 map[uint32]uint32 `protobuf:"bytes,62,rep,name=map_fixed32_fixed32,json=mapFixed32Fixed32" json:"map_fixed32_fixed32,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"` |
| 121 | MapFixed64Fixed64 map[uint64]uint64 `protobuf:"bytes,63,rep,name=map_fixed64_fixed64,json=mapFixed64Fixed64" json:"map_fixed64_fixed64,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"` |
| 122 | MapSfixed32Sfixed32 map[int32]int32 `protobuf:"bytes,64,rep,name=map_sfixed32_sfixed32,json=mapSfixed32Sfixed32" json:"map_sfixed32_sfixed32,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"` |
| 123 | MapSfixed64Sfixed64 map[int64]int64 `protobuf:"bytes,65,rep,name=map_sfixed64_sfixed64,json=mapSfixed64Sfixed64" json:"map_sfixed64_sfixed64,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"` |
| 124 | MapInt32Float map[int32]float32 `protobuf:"bytes,66,rep,name=map_int32_float,json=mapInt32Float" json:"map_int32_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"` |
| 125 | MapInt32Double map[int32]float64 `protobuf:"bytes,67,rep,name=map_int32_double,json=mapInt32Double" json:"map_int32_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"` |
| 126 | MapBoolBool map[bool]bool `protobuf:"bytes,68,rep,name=map_bool_bool,json=mapBoolBool" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` |
| 127 | MapStringString map[string]string `protobuf:"bytes,69,rep,name=map_string_string,json=mapStringString" json:"map_string_string,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` |
| 128 | MapStringBytes map[string][]byte `protobuf:"bytes,70,rep,name=map_string_bytes,json=mapStringBytes" json:"map_string_bytes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` |
| 129 | MapStringNestedMessage map[string]*TestAllTypes_NestedMessage `protobuf:"bytes,71,rep,name=map_string_nested_message,json=mapStringNestedMessage" json:"map_string_nested_message,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` |
| 130 | MapStringNestedEnum map[string]TestAllTypes_NestedEnum `protobuf:"bytes,73,rep,name=map_string_nested_enum,json=mapStringNestedEnum" json:"map_string_nested_enum,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=goproto.proto.test.TestAllTypes_NestedEnum"` |
| 131 | // Types that are valid to be assigned to OneofField: |
| 132 | // *TestAllTypes_OneofUint32 |
| 133 | // *TestAllTypes_OneofNestedMessage |
| 134 | // *TestAllTypes_OneofString |
| 135 | // *TestAllTypes_OneofBytes |
| 136 | // *TestAllTypes_OneofBool |
| 137 | // *TestAllTypes_OneofUint64 |
| 138 | // *TestAllTypes_OneofFloat |
| 139 | // *TestAllTypes_OneofDouble |
| 140 | // *TestAllTypes_OneofEnum |
| 141 | OneofField isTestAllTypes_OneofField `protobuf_oneof:"oneof_field"` |
| 142 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 143 | XXX_unrecognized []byte `json:"-"` |
| 144 | XXX_sizecache int32 `json:"-"` |
| 145 | } |
| 146 | |
| 147 | type xxx_TestAllTypes struct{ m *TestAllTypes } |
| 148 | |
| 149 | func (m *TestAllTypes) ProtoReflect() protoreflect.Message { |
| 150 | return xxx_TestAllTypes{m} |
| 151 | } |
| 152 | func (m xxx_TestAllTypes) Type() protoreflect.MessageType { |
| 153 | return xxx_Test_ProtoFile_MessageTypes[0].Type |
| 154 | } |
| 155 | func (m xxx_TestAllTypes) KnownFields() protoreflect.KnownFields { |
| 156 | return xxx_Test_ProtoFile_MessageTypes[0].KnownFieldsOf(m.m) |
| 157 | } |
| 158 | func (m xxx_TestAllTypes) UnknownFields() protoreflect.UnknownFields { |
| 159 | return xxx_Test_ProtoFile_MessageTypes[0].UnknownFieldsOf(m.m) |
| 160 | } |
| 161 | func (m xxx_TestAllTypes) Interface() protoreflect.ProtoMessage { |
| 162 | return m.m |
| 163 | } |
| 164 | |
| 165 | func (m *TestAllTypes) Reset() { *m = TestAllTypes{} } |
| 166 | func (m *TestAllTypes) String() string { return proto.CompactTextString(m) } |
| 167 | func (*TestAllTypes) ProtoMessage() {} |
| 168 | func (*TestAllTypes) Descriptor() ([]byte, []int) { |
| 169 | return fileDescriptor_c161fcfdc0c3ff1e, []int{0} |
| 170 | } |
| 171 | |
| 172 | func (m *TestAllTypes) XXX_Unmarshal(b []byte) error { |
| 173 | return xxx_messageInfo_TestAllTypes.Unmarshal(m, b) |
| 174 | } |
| 175 | func (m *TestAllTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 176 | return xxx_messageInfo_TestAllTypes.Marshal(b, m, deterministic) |
| 177 | } |
| 178 | func (m *TestAllTypes) XXX_Merge(src proto.Message) { |
| 179 | xxx_messageInfo_TestAllTypes.Merge(m, src) |
| 180 | } |
| 181 | func (m *TestAllTypes) XXX_Size() int { |
| 182 | return xxx_messageInfo_TestAllTypes.Size(m) |
| 183 | } |
| 184 | func (m *TestAllTypes) XXX_DiscardUnknown() { |
| 185 | xxx_messageInfo_TestAllTypes.DiscardUnknown(m) |
| 186 | } |
| 187 | |
| 188 | var xxx_messageInfo_TestAllTypes proto.InternalMessageInfo |
| 189 | |
| 190 | func (m *TestAllTypes) GetOptionalInt32() int32 { |
| 191 | if m != nil && m.OptionalInt32 != nil { |
| 192 | return *m.OptionalInt32 |
| 193 | } |
| 194 | return 0 |
| 195 | } |
| 196 | |
| 197 | func (m *TestAllTypes) GetOptionalInt64() int64 { |
| 198 | if m != nil && m.OptionalInt64 != nil { |
| 199 | return *m.OptionalInt64 |
| 200 | } |
| 201 | return 0 |
| 202 | } |
| 203 | |
| 204 | func (m *TestAllTypes) GetOptionalUint32() uint32 { |
| 205 | if m != nil && m.OptionalUint32 != nil { |
| 206 | return *m.OptionalUint32 |
| 207 | } |
| 208 | return 0 |
| 209 | } |
| 210 | |
| 211 | func (m *TestAllTypes) GetOptionalUint64() uint64 { |
| 212 | if m != nil && m.OptionalUint64 != nil { |
| 213 | return *m.OptionalUint64 |
| 214 | } |
| 215 | return 0 |
| 216 | } |
| 217 | |
| 218 | func (m *TestAllTypes) GetOptionalSint32() int32 { |
| 219 | if m != nil && m.OptionalSint32 != nil { |
| 220 | return *m.OptionalSint32 |
| 221 | } |
| 222 | return 0 |
| 223 | } |
| 224 | |
| 225 | func (m *TestAllTypes) GetOptionalSint64() int64 { |
| 226 | if m != nil && m.OptionalSint64 != nil { |
| 227 | return *m.OptionalSint64 |
| 228 | } |
| 229 | return 0 |
| 230 | } |
| 231 | |
| 232 | func (m *TestAllTypes) GetOptionalFixed32() uint32 { |
| 233 | if m != nil && m.OptionalFixed32 != nil { |
| 234 | return *m.OptionalFixed32 |
| 235 | } |
| 236 | return 0 |
| 237 | } |
| 238 | |
| 239 | func (m *TestAllTypes) GetOptionalFixed64() uint64 { |
| 240 | if m != nil && m.OptionalFixed64 != nil { |
| 241 | return *m.OptionalFixed64 |
| 242 | } |
| 243 | return 0 |
| 244 | } |
| 245 | |
| 246 | func (m *TestAllTypes) GetOptionalSfixed32() int32 { |
| 247 | if m != nil && m.OptionalSfixed32 != nil { |
| 248 | return *m.OptionalSfixed32 |
| 249 | } |
| 250 | return 0 |
| 251 | } |
| 252 | |
| 253 | func (m *TestAllTypes) GetOptionalSfixed64() int64 { |
| 254 | if m != nil && m.OptionalSfixed64 != nil { |
| 255 | return *m.OptionalSfixed64 |
| 256 | } |
| 257 | return 0 |
| 258 | } |
| 259 | |
| 260 | func (m *TestAllTypes) GetOptionalFloat() float32 { |
| 261 | if m != nil && m.OptionalFloat != nil { |
| 262 | return *m.OptionalFloat |
| 263 | } |
| 264 | return 0 |
| 265 | } |
| 266 | |
| 267 | func (m *TestAllTypes) GetOptionalDouble() float64 { |
| 268 | if m != nil && m.OptionalDouble != nil { |
| 269 | return *m.OptionalDouble |
| 270 | } |
| 271 | return 0 |
| 272 | } |
| 273 | |
| 274 | func (m *TestAllTypes) GetOptionalBool() bool { |
| 275 | if m != nil && m.OptionalBool != nil { |
| 276 | return *m.OptionalBool |
| 277 | } |
| 278 | return false |
| 279 | } |
| 280 | |
| 281 | func (m *TestAllTypes) GetOptionalString() string { |
| 282 | if m != nil && m.OptionalString != nil { |
| 283 | return *m.OptionalString |
| 284 | } |
| 285 | return "" |
| 286 | } |
| 287 | |
| 288 | func (m *TestAllTypes) GetOptionalBytes() []byte { |
| 289 | if m != nil { |
| 290 | return m.OptionalBytes |
| 291 | } |
| 292 | return nil |
| 293 | } |
| 294 | |
| 295 | func (m *TestAllTypes) GetOptionalgroup() *TestAllTypes_OptionalGroup { |
| 296 | if m != nil { |
| 297 | return m.Optionalgroup |
| 298 | } |
| 299 | return nil |
| 300 | } |
| 301 | |
| 302 | func (m *TestAllTypes) GetOptionalNestedMessage() *TestAllTypes_NestedMessage { |
| 303 | if m != nil { |
| 304 | return m.OptionalNestedMessage |
| 305 | } |
| 306 | return nil |
| 307 | } |
| 308 | |
| 309 | func (m *TestAllTypes) GetOptionalNestedEnum() TestAllTypes_NestedEnum { |
| 310 | if m != nil && m.OptionalNestedEnum != nil { |
| 311 | return *m.OptionalNestedEnum |
| 312 | } |
| 313 | return TestAllTypes_FOO |
| 314 | } |
| 315 | |
| 316 | func (m *TestAllTypes) GetRepeatedInt32() []int32 { |
| 317 | if m != nil { |
| 318 | return m.RepeatedInt32 |
| 319 | } |
| 320 | return nil |
| 321 | } |
| 322 | |
| 323 | func (m *TestAllTypes) GetRepeatedInt64() []int64 { |
| 324 | if m != nil { |
| 325 | return m.RepeatedInt64 |
| 326 | } |
| 327 | return nil |
| 328 | } |
| 329 | |
| 330 | func (m *TestAllTypes) GetRepeatedUint32() []uint32 { |
| 331 | if m != nil { |
| 332 | return m.RepeatedUint32 |
| 333 | } |
| 334 | return nil |
| 335 | } |
| 336 | |
| 337 | func (m *TestAllTypes) GetRepeatedUint64() []uint64 { |
| 338 | if m != nil { |
| 339 | return m.RepeatedUint64 |
| 340 | } |
| 341 | return nil |
| 342 | } |
| 343 | |
| 344 | func (m *TestAllTypes) GetRepeatedSint32() []int32 { |
| 345 | if m != nil { |
| 346 | return m.RepeatedSint32 |
| 347 | } |
| 348 | return nil |
| 349 | } |
| 350 | |
| 351 | func (m *TestAllTypes) GetRepeatedSint64() []int64 { |
| 352 | if m != nil { |
| 353 | return m.RepeatedSint64 |
| 354 | } |
| 355 | return nil |
| 356 | } |
| 357 | |
| 358 | func (m *TestAllTypes) GetRepeatedFixed32() []uint32 { |
| 359 | if m != nil { |
| 360 | return m.RepeatedFixed32 |
| 361 | } |
| 362 | return nil |
| 363 | } |
| 364 | |
| 365 | func (m *TestAllTypes) GetRepeatedFixed64() []uint64 { |
| 366 | if m != nil { |
| 367 | return m.RepeatedFixed64 |
| 368 | } |
| 369 | return nil |
| 370 | } |
| 371 | |
| 372 | func (m *TestAllTypes) GetRepeatedSfixed32() []int32 { |
| 373 | if m != nil { |
| 374 | return m.RepeatedSfixed32 |
| 375 | } |
| 376 | return nil |
| 377 | } |
| 378 | |
| 379 | func (m *TestAllTypes) GetRepeatedSfixed64() []int64 { |
| 380 | if m != nil { |
| 381 | return m.RepeatedSfixed64 |
| 382 | } |
| 383 | return nil |
| 384 | } |
| 385 | |
| 386 | func (m *TestAllTypes) GetRepeatedFloat() []float32 { |
| 387 | if m != nil { |
| 388 | return m.RepeatedFloat |
| 389 | } |
| 390 | return nil |
| 391 | } |
| 392 | |
| 393 | func (m *TestAllTypes) GetRepeatedDouble() []float64 { |
| 394 | if m != nil { |
| 395 | return m.RepeatedDouble |
| 396 | } |
| 397 | return nil |
| 398 | } |
| 399 | |
| 400 | func (m *TestAllTypes) GetRepeatedBool() []bool { |
| 401 | if m != nil { |
| 402 | return m.RepeatedBool |
| 403 | } |
| 404 | return nil |
| 405 | } |
| 406 | |
| 407 | func (m *TestAllTypes) GetRepeatedString() []string { |
| 408 | if m != nil { |
| 409 | return m.RepeatedString |
| 410 | } |
| 411 | return nil |
| 412 | } |
| 413 | |
| 414 | func (m *TestAllTypes) GetRepeatedBytes() [][]byte { |
| 415 | if m != nil { |
| 416 | return m.RepeatedBytes |
| 417 | } |
| 418 | return nil |
| 419 | } |
| 420 | |
| 421 | func (m *TestAllTypes) GetRepeatedgroup() []*TestAllTypes_RepeatedGroup { |
| 422 | if m != nil { |
| 423 | return m.Repeatedgroup |
| 424 | } |
| 425 | return nil |
| 426 | } |
| 427 | |
| 428 | func (m *TestAllTypes) GetRepeatedNestedMessage() []*TestAllTypes_NestedMessage { |
| 429 | if m != nil { |
| 430 | return m.RepeatedNestedMessage |
| 431 | } |
| 432 | return nil |
| 433 | } |
| 434 | |
| 435 | func (m *TestAllTypes) GetRepeatedNestedEnum() []TestAllTypes_NestedEnum { |
| 436 | if m != nil { |
| 437 | return m.RepeatedNestedEnum |
| 438 | } |
| 439 | return nil |
| 440 | } |
| 441 | |
| 442 | func (m *TestAllTypes) GetMapInt32Int32() map[int32]int32 { |
| 443 | if m != nil { |
| 444 | return m.MapInt32Int32 |
| 445 | } |
| 446 | return nil |
| 447 | } |
| 448 | |
| 449 | func (m *TestAllTypes) GetMapInt64Int64() map[int64]int64 { |
| 450 | if m != nil { |
| 451 | return m.MapInt64Int64 |
| 452 | } |
| 453 | return nil |
| 454 | } |
| 455 | |
| 456 | func (m *TestAllTypes) GetMapUint32Uint32() map[uint32]uint32 { |
| 457 | if m != nil { |
| 458 | return m.MapUint32Uint32 |
| 459 | } |
| 460 | return nil |
| 461 | } |
| 462 | |
| 463 | func (m *TestAllTypes) GetMapUint64Uint64() map[uint64]uint64 { |
| 464 | if m != nil { |
| 465 | return m.MapUint64Uint64 |
| 466 | } |
| 467 | return nil |
| 468 | } |
| 469 | |
| 470 | func (m *TestAllTypes) GetMapSint32Sint32() map[int32]int32 { |
| 471 | if m != nil { |
| 472 | return m.MapSint32Sint32 |
| 473 | } |
| 474 | return nil |
| 475 | } |
| 476 | |
| 477 | func (m *TestAllTypes) GetMapSint64Sint64() map[int64]int64 { |
| 478 | if m != nil { |
| 479 | return m.MapSint64Sint64 |
| 480 | } |
| 481 | return nil |
| 482 | } |
| 483 | |
| 484 | func (m *TestAllTypes) GetMapFixed32Fixed32() map[uint32]uint32 { |
| 485 | if m != nil { |
| 486 | return m.MapFixed32Fixed32 |
| 487 | } |
| 488 | return nil |
| 489 | } |
| 490 | |
| 491 | func (m *TestAllTypes) GetMapFixed64Fixed64() map[uint64]uint64 { |
| 492 | if m != nil { |
| 493 | return m.MapFixed64Fixed64 |
| 494 | } |
| 495 | return nil |
| 496 | } |
| 497 | |
| 498 | func (m *TestAllTypes) GetMapSfixed32Sfixed32() map[int32]int32 { |
| 499 | if m != nil { |
| 500 | return m.MapSfixed32Sfixed32 |
| 501 | } |
| 502 | return nil |
| 503 | } |
| 504 | |
| 505 | func (m *TestAllTypes) GetMapSfixed64Sfixed64() map[int64]int64 { |
| 506 | if m != nil { |
| 507 | return m.MapSfixed64Sfixed64 |
| 508 | } |
| 509 | return nil |
| 510 | } |
| 511 | |
| 512 | func (m *TestAllTypes) GetMapInt32Float() map[int32]float32 { |
| 513 | if m != nil { |
| 514 | return m.MapInt32Float |
| 515 | } |
| 516 | return nil |
| 517 | } |
| 518 | |
| 519 | func (m *TestAllTypes) GetMapInt32Double() map[int32]float64 { |
| 520 | if m != nil { |
| 521 | return m.MapInt32Double |
| 522 | } |
| 523 | return nil |
| 524 | } |
| 525 | |
| 526 | func (m *TestAllTypes) GetMapBoolBool() map[bool]bool { |
| 527 | if m != nil { |
| 528 | return m.MapBoolBool |
| 529 | } |
| 530 | return nil |
| 531 | } |
| 532 | |
| 533 | func (m *TestAllTypes) GetMapStringString() map[string]string { |
| 534 | if m != nil { |
| 535 | return m.MapStringString |
| 536 | } |
| 537 | return nil |
| 538 | } |
| 539 | |
| 540 | func (m *TestAllTypes) GetMapStringBytes() map[string][]byte { |
| 541 | if m != nil { |
| 542 | return m.MapStringBytes |
| 543 | } |
| 544 | return nil |
| 545 | } |
| 546 | |
| 547 | func (m *TestAllTypes) GetMapStringNestedMessage() map[string]*TestAllTypes_NestedMessage { |
| 548 | if m != nil { |
| 549 | return m.MapStringNestedMessage |
| 550 | } |
| 551 | return nil |
| 552 | } |
| 553 | |
| 554 | func (m *TestAllTypes) GetMapStringNestedEnum() map[string]TestAllTypes_NestedEnum { |
| 555 | if m != nil { |
| 556 | return m.MapStringNestedEnum |
| 557 | } |
| 558 | return nil |
| 559 | } |
| 560 | |
| 561 | type isTestAllTypes_OneofField interface { |
| 562 | isTestAllTypes_OneofField() |
| 563 | } |
| 564 | |
| 565 | type TestAllTypes_OneofUint32 struct { |
| 566 | OneofUint32 uint32 `protobuf:"varint,111,opt,name=oneof_uint32,json=oneofUint32,oneof"` |
| 567 | } |
| 568 | |
| 569 | type TestAllTypes_OneofNestedMessage struct { |
| 570 | OneofNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,112,opt,name=oneof_nested_message,json=oneofNestedMessage,oneof"` |
| 571 | } |
| 572 | |
| 573 | type TestAllTypes_OneofString struct { |
| 574 | OneofString string `protobuf:"bytes,113,opt,name=oneof_string,json=oneofString,oneof"` |
| 575 | } |
| 576 | |
| 577 | type TestAllTypes_OneofBytes struct { |
| 578 | OneofBytes []byte `protobuf:"bytes,114,opt,name=oneof_bytes,json=oneofBytes,oneof"` |
| 579 | } |
| 580 | |
| 581 | type TestAllTypes_OneofBool struct { |
| 582 | OneofBool bool `protobuf:"varint,115,opt,name=oneof_bool,json=oneofBool,oneof"` |
| 583 | } |
| 584 | |
| 585 | type TestAllTypes_OneofUint64 struct { |
| 586 | OneofUint64 uint64 `protobuf:"varint,116,opt,name=oneof_uint64,json=oneofUint64,oneof"` |
| 587 | } |
| 588 | |
| 589 | type TestAllTypes_OneofFloat struct { |
| 590 | OneofFloat float32 `protobuf:"fixed32,117,opt,name=oneof_float,json=oneofFloat,oneof"` |
| 591 | } |
| 592 | |
| 593 | type TestAllTypes_OneofDouble struct { |
| 594 | OneofDouble float64 `protobuf:"fixed64,118,opt,name=oneof_double,json=oneofDouble,oneof"` |
| 595 | } |
| 596 | |
| 597 | type TestAllTypes_OneofEnum struct { |
| 598 | OneofEnum TestAllTypes_NestedEnum `protobuf:"varint,119,opt,name=oneof_enum,json=oneofEnum,enum=goproto.proto.test.TestAllTypes_NestedEnum,oneof"` |
| 599 | } |
| 600 | |
| 601 | func (*TestAllTypes_OneofUint32) isTestAllTypes_OneofField() {} |
| 602 | |
| 603 | func (*TestAllTypes_OneofNestedMessage) isTestAllTypes_OneofField() {} |
| 604 | |
| 605 | func (*TestAllTypes_OneofString) isTestAllTypes_OneofField() {} |
| 606 | |
| 607 | func (*TestAllTypes_OneofBytes) isTestAllTypes_OneofField() {} |
| 608 | |
| 609 | func (*TestAllTypes_OneofBool) isTestAllTypes_OneofField() {} |
| 610 | |
| 611 | func (*TestAllTypes_OneofUint64) isTestAllTypes_OneofField() {} |
| 612 | |
| 613 | func (*TestAllTypes_OneofFloat) isTestAllTypes_OneofField() {} |
| 614 | |
| 615 | func (*TestAllTypes_OneofDouble) isTestAllTypes_OneofField() {} |
| 616 | |
| 617 | func (*TestAllTypes_OneofEnum) isTestAllTypes_OneofField() {} |
| 618 | |
| 619 | func (m *TestAllTypes) GetOneofField() isTestAllTypes_OneofField { |
| 620 | if m != nil { |
| 621 | return m.OneofField |
| 622 | } |
| 623 | return nil |
| 624 | } |
| 625 | |
| 626 | func (m *TestAllTypes) GetOneofUint32() uint32 { |
| 627 | if x, ok := m.GetOneofField().(*TestAllTypes_OneofUint32); ok { |
| 628 | return x.OneofUint32 |
| 629 | } |
| 630 | return 0 |
| 631 | } |
| 632 | |
| 633 | func (m *TestAllTypes) GetOneofNestedMessage() *TestAllTypes_NestedMessage { |
| 634 | if x, ok := m.GetOneofField().(*TestAllTypes_OneofNestedMessage); ok { |
| 635 | return x.OneofNestedMessage |
| 636 | } |
| 637 | return nil |
| 638 | } |
| 639 | |
| 640 | func (m *TestAllTypes) GetOneofString() string { |
| 641 | if x, ok := m.GetOneofField().(*TestAllTypes_OneofString); ok { |
| 642 | return x.OneofString |
| 643 | } |
| 644 | return "" |
| 645 | } |
| 646 | |
| 647 | func (m *TestAllTypes) GetOneofBytes() []byte { |
| 648 | if x, ok := m.GetOneofField().(*TestAllTypes_OneofBytes); ok { |
| 649 | return x.OneofBytes |
| 650 | } |
| 651 | return nil |
| 652 | } |
| 653 | |
| 654 | func (m *TestAllTypes) GetOneofBool() bool { |
| 655 | if x, ok := m.GetOneofField().(*TestAllTypes_OneofBool); ok { |
| 656 | return x.OneofBool |
| 657 | } |
| 658 | return false |
| 659 | } |
| 660 | |
| 661 | func (m *TestAllTypes) GetOneofUint64() uint64 { |
| 662 | if x, ok := m.GetOneofField().(*TestAllTypes_OneofUint64); ok { |
| 663 | return x.OneofUint64 |
| 664 | } |
| 665 | return 0 |
| 666 | } |
| 667 | |
| 668 | func (m *TestAllTypes) GetOneofFloat() float32 { |
| 669 | if x, ok := m.GetOneofField().(*TestAllTypes_OneofFloat); ok { |
| 670 | return x.OneofFloat |
| 671 | } |
| 672 | return 0 |
| 673 | } |
| 674 | |
| 675 | func (m *TestAllTypes) GetOneofDouble() float64 { |
| 676 | if x, ok := m.GetOneofField().(*TestAllTypes_OneofDouble); ok { |
| 677 | return x.OneofDouble |
| 678 | } |
| 679 | return 0 |
| 680 | } |
| 681 | |
| 682 | func (m *TestAllTypes) GetOneofEnum() TestAllTypes_NestedEnum { |
| 683 | if x, ok := m.GetOneofField().(*TestAllTypes_OneofEnum); ok { |
| 684 | return x.OneofEnum |
| 685 | } |
| 686 | return TestAllTypes_FOO |
| 687 | } |
| 688 | |
| 689 | // XXX_OneofWrappers is for the internal use of the proto package. |
| 690 | func (*TestAllTypes) XXX_OneofWrappers() []interface{} { |
| 691 | return []interface{}{ |
| 692 | (*TestAllTypes_OneofUint32)(nil), |
| 693 | (*TestAllTypes_OneofNestedMessage)(nil), |
| 694 | (*TestAllTypes_OneofString)(nil), |
| 695 | (*TestAllTypes_OneofBytes)(nil), |
| 696 | (*TestAllTypes_OneofBool)(nil), |
| 697 | (*TestAllTypes_OneofUint64)(nil), |
| 698 | (*TestAllTypes_OneofFloat)(nil), |
| 699 | (*TestAllTypes_OneofDouble)(nil), |
| 700 | (*TestAllTypes_OneofEnum)(nil), |
| 701 | } |
| 702 | } |
| 703 | |
| 704 | type TestAllExtensions struct { |
| 705 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 706 | proto.XXX_InternalExtensions `json:"-"` |
| 707 | XXX_unrecognized []byte `json:"-"` |
| 708 | XXX_sizecache int32 `json:"-"` |
| 709 | } |
| 710 | |
| 711 | type xxx_TestAllExtensions struct{ m *TestAllExtensions } |
| 712 | |
| 713 | func (m *TestAllExtensions) ProtoReflect() protoreflect.Message { |
| 714 | return xxx_TestAllExtensions{m} |
| 715 | } |
| 716 | func (m xxx_TestAllExtensions) Type() protoreflect.MessageType { |
| 717 | return xxx_Test_ProtoFile_MessageTypes[1].Type |
| 718 | } |
| 719 | func (m xxx_TestAllExtensions) KnownFields() protoreflect.KnownFields { |
| 720 | return xxx_Test_ProtoFile_MessageTypes[1].KnownFieldsOf(m.m) |
| 721 | } |
| 722 | func (m xxx_TestAllExtensions) UnknownFields() protoreflect.UnknownFields { |
| 723 | return xxx_Test_ProtoFile_MessageTypes[1].UnknownFieldsOf(m.m) |
| 724 | } |
| 725 | func (m xxx_TestAllExtensions) Interface() protoreflect.ProtoMessage { |
| 726 | return m.m |
| 727 | } |
| 728 | |
| 729 | func (m *TestAllExtensions) Reset() { *m = TestAllExtensions{} } |
| 730 | func (m *TestAllExtensions) String() string { return proto.CompactTextString(m) } |
| 731 | func (*TestAllExtensions) ProtoMessage() {} |
| 732 | func (*TestAllExtensions) Descriptor() ([]byte, []int) { |
| 733 | return fileDescriptor_c161fcfdc0c3ff1e, []int{1} |
| 734 | } |
| 735 | |
| 736 | var extRange_TestAllExtensions = []proto.ExtensionRange{ |
| 737 | {Start: 1, End: 536870911}, |
| 738 | } |
| 739 | |
| 740 | func (*TestAllExtensions) ExtensionRangeArray() []proto.ExtensionRange { |
| 741 | return extRange_TestAllExtensions |
| 742 | } |
| 743 | |
| 744 | func (m *TestAllExtensions) XXX_Unmarshal(b []byte) error { |
| 745 | return xxx_messageInfo_TestAllExtensions.Unmarshal(m, b) |
| 746 | } |
| 747 | func (m *TestAllExtensions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 748 | return xxx_messageInfo_TestAllExtensions.Marshal(b, m, deterministic) |
| 749 | } |
| 750 | func (m *TestAllExtensions) XXX_Merge(src proto.Message) { |
| 751 | xxx_messageInfo_TestAllExtensions.Merge(m, src) |
| 752 | } |
| 753 | func (m *TestAllExtensions) XXX_Size() int { |
| 754 | return xxx_messageInfo_TestAllExtensions.Size(m) |
| 755 | } |
| 756 | func (m *TestAllExtensions) XXX_DiscardUnknown() { |
| 757 | xxx_messageInfo_TestAllExtensions.DiscardUnknown(m) |
| 758 | } |
| 759 | |
| 760 | var xxx_messageInfo_TestAllExtensions proto.InternalMessageInfo |
| 761 | |
| 762 | type OptionalGroupExtension struct { |
| 763 | A *int32 `protobuf:"varint,17,opt,name=a" json:"a,omitempty"` |
| 764 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 765 | XXX_unrecognized []byte `json:"-"` |
| 766 | XXX_sizecache int32 `json:"-"` |
| 767 | } |
| 768 | |
| 769 | type xxx_OptionalGroupExtension struct{ m *OptionalGroupExtension } |
| 770 | |
| 771 | func (m *OptionalGroupExtension) ProtoReflect() protoreflect.Message { |
| 772 | return xxx_OptionalGroupExtension{m} |
| 773 | } |
| 774 | func (m xxx_OptionalGroupExtension) Type() protoreflect.MessageType { |
| 775 | return xxx_Test_ProtoFile_MessageTypes[2].Type |
| 776 | } |
| 777 | func (m xxx_OptionalGroupExtension) KnownFields() protoreflect.KnownFields { |
| 778 | return xxx_Test_ProtoFile_MessageTypes[2].KnownFieldsOf(m.m) |
| 779 | } |
| 780 | func (m xxx_OptionalGroupExtension) UnknownFields() protoreflect.UnknownFields { |
| 781 | return xxx_Test_ProtoFile_MessageTypes[2].UnknownFieldsOf(m.m) |
| 782 | } |
| 783 | func (m xxx_OptionalGroupExtension) Interface() protoreflect.ProtoMessage { |
| 784 | return m.m |
| 785 | } |
| 786 | |
| 787 | func (m *OptionalGroupExtension) Reset() { *m = OptionalGroupExtension{} } |
| 788 | func (m *OptionalGroupExtension) String() string { return proto.CompactTextString(m) } |
| 789 | func (*OptionalGroupExtension) ProtoMessage() {} |
| 790 | func (*OptionalGroupExtension) Descriptor() ([]byte, []int) { |
| 791 | return fileDescriptor_c161fcfdc0c3ff1e, []int{2} |
| 792 | } |
| 793 | |
| 794 | func (m *OptionalGroupExtension) XXX_Unmarshal(b []byte) error { |
| 795 | return xxx_messageInfo_OptionalGroupExtension.Unmarshal(m, b) |
| 796 | } |
| 797 | func (m *OptionalGroupExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 798 | return xxx_messageInfo_OptionalGroupExtension.Marshal(b, m, deterministic) |
| 799 | } |
| 800 | func (m *OptionalGroupExtension) XXX_Merge(src proto.Message) { |
| 801 | xxx_messageInfo_OptionalGroupExtension.Merge(m, src) |
| 802 | } |
| 803 | func (m *OptionalGroupExtension) XXX_Size() int { |
| 804 | return xxx_messageInfo_OptionalGroupExtension.Size(m) |
| 805 | } |
| 806 | func (m *OptionalGroupExtension) XXX_DiscardUnknown() { |
| 807 | xxx_messageInfo_OptionalGroupExtension.DiscardUnknown(m) |
| 808 | } |
| 809 | |
| 810 | var xxx_messageInfo_OptionalGroupExtension proto.InternalMessageInfo |
| 811 | |
| 812 | func (m *OptionalGroupExtension) GetA() int32 { |
| 813 | if m != nil && m.A != nil { |
| 814 | return *m.A |
| 815 | } |
| 816 | return 0 |
| 817 | } |
| 818 | |
| 819 | type RepeatedGroupExtension struct { |
| 820 | A *int32 `protobuf:"varint,47,opt,name=a" json:"a,omitempty"` |
| 821 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 822 | XXX_unrecognized []byte `json:"-"` |
| 823 | XXX_sizecache int32 `json:"-"` |
| 824 | } |
| 825 | |
| 826 | type xxx_RepeatedGroupExtension struct{ m *RepeatedGroupExtension } |
| 827 | |
| 828 | func (m *RepeatedGroupExtension) ProtoReflect() protoreflect.Message { |
| 829 | return xxx_RepeatedGroupExtension{m} |
| 830 | } |
| 831 | func (m xxx_RepeatedGroupExtension) Type() protoreflect.MessageType { |
| 832 | return xxx_Test_ProtoFile_MessageTypes[3].Type |
| 833 | } |
| 834 | func (m xxx_RepeatedGroupExtension) KnownFields() protoreflect.KnownFields { |
| 835 | return xxx_Test_ProtoFile_MessageTypes[3].KnownFieldsOf(m.m) |
| 836 | } |
| 837 | func (m xxx_RepeatedGroupExtension) UnknownFields() protoreflect.UnknownFields { |
| 838 | return xxx_Test_ProtoFile_MessageTypes[3].UnknownFieldsOf(m.m) |
| 839 | } |
| 840 | func (m xxx_RepeatedGroupExtension) Interface() protoreflect.ProtoMessage { |
| 841 | return m.m |
| 842 | } |
| 843 | |
| 844 | func (m *RepeatedGroupExtension) Reset() { *m = RepeatedGroupExtension{} } |
| 845 | func (m *RepeatedGroupExtension) String() string { return proto.CompactTextString(m) } |
| 846 | func (*RepeatedGroupExtension) ProtoMessage() {} |
| 847 | func (*RepeatedGroupExtension) Descriptor() ([]byte, []int) { |
| 848 | return fileDescriptor_c161fcfdc0c3ff1e, []int{3} |
| 849 | } |
| 850 | |
| 851 | func (m *RepeatedGroupExtension) XXX_Unmarshal(b []byte) error { |
| 852 | return xxx_messageInfo_RepeatedGroupExtension.Unmarshal(m, b) |
| 853 | } |
| 854 | func (m *RepeatedGroupExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 855 | return xxx_messageInfo_RepeatedGroupExtension.Marshal(b, m, deterministic) |
| 856 | } |
| 857 | func (m *RepeatedGroupExtension) XXX_Merge(src proto.Message) { |
| 858 | xxx_messageInfo_RepeatedGroupExtension.Merge(m, src) |
| 859 | } |
| 860 | func (m *RepeatedGroupExtension) XXX_Size() int { |
| 861 | return xxx_messageInfo_RepeatedGroupExtension.Size(m) |
| 862 | } |
| 863 | func (m *RepeatedGroupExtension) XXX_DiscardUnknown() { |
| 864 | xxx_messageInfo_RepeatedGroupExtension.DiscardUnknown(m) |
| 865 | } |
| 866 | |
| 867 | var xxx_messageInfo_RepeatedGroupExtension proto.InternalMessageInfo |
| 868 | |
| 869 | func (m *RepeatedGroupExtension) GetA() int32 { |
| 870 | if m != nil && m.A != nil { |
| 871 | return *m.A |
| 872 | } |
| 873 | return 0 |
| 874 | } |
| 875 | |
| 876 | type TestAllTypes_NestedMessage struct { |
| 877 | A *int32 `protobuf:"varint,1,opt,name=a" json:"a,omitempty"` |
| 878 | Corecursive *TestAllTypes `protobuf:"bytes,2,opt,name=corecursive" json:"corecursive,omitempty"` |
| 879 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 880 | XXX_unrecognized []byte `json:"-"` |
| 881 | XXX_sizecache int32 `json:"-"` |
| 882 | } |
| 883 | |
| 884 | type xxx_TestAllTypes_NestedMessage struct{ m *TestAllTypes_NestedMessage } |
| 885 | |
| 886 | func (m *TestAllTypes_NestedMessage) ProtoReflect() protoreflect.Message { |
| 887 | return xxx_TestAllTypes_NestedMessage{m} |
| 888 | } |
| 889 | func (m xxx_TestAllTypes_NestedMessage) Type() protoreflect.MessageType { |
| 890 | return xxx_Test_ProtoFile_MessageTypes[4].Type |
| 891 | } |
| 892 | func (m xxx_TestAllTypes_NestedMessage) KnownFields() protoreflect.KnownFields { |
| 893 | return xxx_Test_ProtoFile_MessageTypes[4].KnownFieldsOf(m.m) |
| 894 | } |
| 895 | func (m xxx_TestAllTypes_NestedMessage) UnknownFields() protoreflect.UnknownFields { |
| 896 | return xxx_Test_ProtoFile_MessageTypes[4].UnknownFieldsOf(m.m) |
| 897 | } |
| 898 | func (m xxx_TestAllTypes_NestedMessage) Interface() protoreflect.ProtoMessage { |
| 899 | return m.m |
| 900 | } |
| 901 | |
| 902 | func (m *TestAllTypes_NestedMessage) Reset() { *m = TestAllTypes_NestedMessage{} } |
| 903 | func (m *TestAllTypes_NestedMessage) String() string { return proto.CompactTextString(m) } |
| 904 | func (*TestAllTypes_NestedMessage) ProtoMessage() {} |
| 905 | func (*TestAllTypes_NestedMessage) Descriptor() ([]byte, []int) { |
| 906 | return fileDescriptor_c161fcfdc0c3ff1e, []int{0, 0} |
| 907 | } |
| 908 | |
| 909 | func (m *TestAllTypes_NestedMessage) XXX_Unmarshal(b []byte) error { |
| 910 | return xxx_messageInfo_TestAllTypes_NestedMessage.Unmarshal(m, b) |
| 911 | } |
| 912 | func (m *TestAllTypes_NestedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 913 | return xxx_messageInfo_TestAllTypes_NestedMessage.Marshal(b, m, deterministic) |
| 914 | } |
| 915 | func (m *TestAllTypes_NestedMessage) XXX_Merge(src proto.Message) { |
| 916 | xxx_messageInfo_TestAllTypes_NestedMessage.Merge(m, src) |
| 917 | } |
| 918 | func (m *TestAllTypes_NestedMessage) XXX_Size() int { |
| 919 | return xxx_messageInfo_TestAllTypes_NestedMessage.Size(m) |
| 920 | } |
| 921 | func (m *TestAllTypes_NestedMessage) XXX_DiscardUnknown() { |
| 922 | xxx_messageInfo_TestAllTypes_NestedMessage.DiscardUnknown(m) |
| 923 | } |
| 924 | |
| 925 | var xxx_messageInfo_TestAllTypes_NestedMessage proto.InternalMessageInfo |
| 926 | |
| 927 | func (m *TestAllTypes_NestedMessage) GetA() int32 { |
| 928 | if m != nil && m.A != nil { |
| 929 | return *m.A |
| 930 | } |
| 931 | return 0 |
| 932 | } |
| 933 | |
| 934 | func (m *TestAllTypes_NestedMessage) GetCorecursive() *TestAllTypes { |
| 935 | if m != nil { |
| 936 | return m.Corecursive |
| 937 | } |
| 938 | return nil |
| 939 | } |
| 940 | |
| 941 | type TestAllTypes_OptionalGroup struct { |
| 942 | A *int32 `protobuf:"varint,17,opt,name=a" json:"a,omitempty"` |
| 943 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 944 | XXX_unrecognized []byte `json:"-"` |
| 945 | XXX_sizecache int32 `json:"-"` |
| 946 | } |
| 947 | |
| 948 | type xxx_TestAllTypes_OptionalGroup struct{ m *TestAllTypes_OptionalGroup } |
| 949 | |
| 950 | func (m *TestAllTypes_OptionalGroup) ProtoReflect() protoreflect.Message { |
| 951 | return xxx_TestAllTypes_OptionalGroup{m} |
| 952 | } |
| 953 | func (m xxx_TestAllTypes_OptionalGroup) Type() protoreflect.MessageType { |
| 954 | return xxx_Test_ProtoFile_MessageTypes[5].Type |
| 955 | } |
| 956 | func (m xxx_TestAllTypes_OptionalGroup) KnownFields() protoreflect.KnownFields { |
| 957 | return xxx_Test_ProtoFile_MessageTypes[5].KnownFieldsOf(m.m) |
| 958 | } |
| 959 | func (m xxx_TestAllTypes_OptionalGroup) UnknownFields() protoreflect.UnknownFields { |
| 960 | return xxx_Test_ProtoFile_MessageTypes[5].UnknownFieldsOf(m.m) |
| 961 | } |
| 962 | func (m xxx_TestAllTypes_OptionalGroup) Interface() protoreflect.ProtoMessage { |
| 963 | return m.m |
| 964 | } |
| 965 | |
| 966 | func (m *TestAllTypes_OptionalGroup) Reset() { *m = TestAllTypes_OptionalGroup{} } |
| 967 | func (m *TestAllTypes_OptionalGroup) String() string { return proto.CompactTextString(m) } |
| 968 | func (*TestAllTypes_OptionalGroup) ProtoMessage() {} |
| 969 | func (*TestAllTypes_OptionalGroup) Descriptor() ([]byte, []int) { |
| 970 | return fileDescriptor_c161fcfdc0c3ff1e, []int{0, 1} |
| 971 | } |
| 972 | |
| 973 | func (m *TestAllTypes_OptionalGroup) XXX_Unmarshal(b []byte) error { |
| 974 | return xxx_messageInfo_TestAllTypes_OptionalGroup.Unmarshal(m, b) |
| 975 | } |
| 976 | func (m *TestAllTypes_OptionalGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 977 | return xxx_messageInfo_TestAllTypes_OptionalGroup.Marshal(b, m, deterministic) |
| 978 | } |
| 979 | func (m *TestAllTypes_OptionalGroup) XXX_Merge(src proto.Message) { |
| 980 | xxx_messageInfo_TestAllTypes_OptionalGroup.Merge(m, src) |
| 981 | } |
| 982 | func (m *TestAllTypes_OptionalGroup) XXX_Size() int { |
| 983 | return xxx_messageInfo_TestAllTypes_OptionalGroup.Size(m) |
| 984 | } |
| 985 | func (m *TestAllTypes_OptionalGroup) XXX_DiscardUnknown() { |
| 986 | xxx_messageInfo_TestAllTypes_OptionalGroup.DiscardUnknown(m) |
| 987 | } |
| 988 | |
| 989 | var xxx_messageInfo_TestAllTypes_OptionalGroup proto.InternalMessageInfo |
| 990 | |
| 991 | func (m *TestAllTypes_OptionalGroup) GetA() int32 { |
| 992 | if m != nil && m.A != nil { |
| 993 | return *m.A |
| 994 | } |
| 995 | return 0 |
| 996 | } |
| 997 | |
| 998 | type TestAllTypes_RepeatedGroup struct { |
| 999 | A *int32 `protobuf:"varint,47,opt,name=a" json:"a,omitempty"` |
| 1000 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1001 | XXX_unrecognized []byte `json:"-"` |
| 1002 | XXX_sizecache int32 `json:"-"` |
| 1003 | } |
| 1004 | |
| 1005 | type xxx_TestAllTypes_RepeatedGroup struct{ m *TestAllTypes_RepeatedGroup } |
| 1006 | |
| 1007 | func (m *TestAllTypes_RepeatedGroup) ProtoReflect() protoreflect.Message { |
| 1008 | return xxx_TestAllTypes_RepeatedGroup{m} |
| 1009 | } |
| 1010 | func (m xxx_TestAllTypes_RepeatedGroup) Type() protoreflect.MessageType { |
| 1011 | return xxx_Test_ProtoFile_MessageTypes[6].Type |
| 1012 | } |
| 1013 | func (m xxx_TestAllTypes_RepeatedGroup) KnownFields() protoreflect.KnownFields { |
| 1014 | return xxx_Test_ProtoFile_MessageTypes[6].KnownFieldsOf(m.m) |
| 1015 | } |
| 1016 | func (m xxx_TestAllTypes_RepeatedGroup) UnknownFields() protoreflect.UnknownFields { |
| 1017 | return xxx_Test_ProtoFile_MessageTypes[6].UnknownFieldsOf(m.m) |
| 1018 | } |
| 1019 | func (m xxx_TestAllTypes_RepeatedGroup) Interface() protoreflect.ProtoMessage { |
| 1020 | return m.m |
| 1021 | } |
| 1022 | |
| 1023 | func (m *TestAllTypes_RepeatedGroup) Reset() { *m = TestAllTypes_RepeatedGroup{} } |
| 1024 | func (m *TestAllTypes_RepeatedGroup) String() string { return proto.CompactTextString(m) } |
| 1025 | func (*TestAllTypes_RepeatedGroup) ProtoMessage() {} |
| 1026 | func (*TestAllTypes_RepeatedGroup) Descriptor() ([]byte, []int) { |
| 1027 | return fileDescriptor_c161fcfdc0c3ff1e, []int{0, 2} |
| 1028 | } |
| 1029 | |
| 1030 | func (m *TestAllTypes_RepeatedGroup) XXX_Unmarshal(b []byte) error { |
| 1031 | return xxx_messageInfo_TestAllTypes_RepeatedGroup.Unmarshal(m, b) |
| 1032 | } |
| 1033 | func (m *TestAllTypes_RepeatedGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1034 | return xxx_messageInfo_TestAllTypes_RepeatedGroup.Marshal(b, m, deterministic) |
| 1035 | } |
| 1036 | func (m *TestAllTypes_RepeatedGroup) XXX_Merge(src proto.Message) { |
| 1037 | xxx_messageInfo_TestAllTypes_RepeatedGroup.Merge(m, src) |
| 1038 | } |
| 1039 | func (m *TestAllTypes_RepeatedGroup) XXX_Size() int { |
| 1040 | return xxx_messageInfo_TestAllTypes_RepeatedGroup.Size(m) |
| 1041 | } |
| 1042 | func (m *TestAllTypes_RepeatedGroup) XXX_DiscardUnknown() { |
| 1043 | xxx_messageInfo_TestAllTypes_RepeatedGroup.DiscardUnknown(m) |
| 1044 | } |
| 1045 | |
| 1046 | var xxx_messageInfo_TestAllTypes_RepeatedGroup proto.InternalMessageInfo |
| 1047 | |
| 1048 | func (m *TestAllTypes_RepeatedGroup) GetA() int32 { |
| 1049 | if m != nil && m.A != nil { |
| 1050 | return *m.A |
| 1051 | } |
| 1052 | return 0 |
| 1053 | } |
| 1054 | |
| 1055 | var E_OptionalInt32Extension = &proto.ExtensionDesc{ |
| 1056 | ExtendedType: (*TestAllExtensions)(nil), |
| 1057 | ExtensionType: (*int32)(nil), |
| 1058 | Field: 1, |
| 1059 | Name: "goproto.proto.test.optional_int32_extension", |
| 1060 | Tag: "varint,1,opt,name=optional_int32_extension", |
| 1061 | Filename: "test.proto", |
| 1062 | } |
| 1063 | |
| 1064 | var E_OptionalInt64Extension = &proto.ExtensionDesc{ |
| 1065 | ExtendedType: (*TestAllExtensions)(nil), |
| 1066 | ExtensionType: (*int64)(nil), |
| 1067 | Field: 2, |
| 1068 | Name: "goproto.proto.test.optional_int64_extension", |
| 1069 | Tag: "varint,2,opt,name=optional_int64_extension", |
| 1070 | Filename: "test.proto", |
| 1071 | } |
| 1072 | |
| 1073 | var E_OptionalUint32Extension = &proto.ExtensionDesc{ |
| 1074 | ExtendedType: (*TestAllExtensions)(nil), |
| 1075 | ExtensionType: (*uint32)(nil), |
| 1076 | Field: 3, |
| 1077 | Name: "goproto.proto.test.optional_uint32_extension", |
| 1078 | Tag: "varint,3,opt,name=optional_uint32_extension", |
| 1079 | Filename: "test.proto", |
| 1080 | } |
| 1081 | |
| 1082 | var E_OptionalUint64Extension = &proto.ExtensionDesc{ |
| 1083 | ExtendedType: (*TestAllExtensions)(nil), |
| 1084 | ExtensionType: (*uint64)(nil), |
| 1085 | Field: 4, |
| 1086 | Name: "goproto.proto.test.optional_uint64_extension", |
| 1087 | Tag: "varint,4,opt,name=optional_uint64_extension", |
| 1088 | Filename: "test.proto", |
| 1089 | } |
| 1090 | |
| 1091 | var E_OptionalSint32Extension = &proto.ExtensionDesc{ |
| 1092 | ExtendedType: (*TestAllExtensions)(nil), |
| 1093 | ExtensionType: (*int32)(nil), |
| 1094 | Field: 5, |
| 1095 | Name: "goproto.proto.test.optional_sint32_extension", |
| 1096 | Tag: "zigzag32,5,opt,name=optional_sint32_extension", |
| 1097 | Filename: "test.proto", |
| 1098 | } |
| 1099 | |
| 1100 | var E_OptionalSint64Extension = &proto.ExtensionDesc{ |
| 1101 | ExtendedType: (*TestAllExtensions)(nil), |
| 1102 | ExtensionType: (*int64)(nil), |
| 1103 | Field: 6, |
| 1104 | Name: "goproto.proto.test.optional_sint64_extension", |
| 1105 | Tag: "zigzag64,6,opt,name=optional_sint64_extension", |
| 1106 | Filename: "test.proto", |
| 1107 | } |
| 1108 | |
| 1109 | var E_OptionalFixed32Extension = &proto.ExtensionDesc{ |
| 1110 | ExtendedType: (*TestAllExtensions)(nil), |
| 1111 | ExtensionType: (*uint32)(nil), |
| 1112 | Field: 7, |
| 1113 | Name: "goproto.proto.test.optional_fixed32_extension", |
| 1114 | Tag: "fixed32,7,opt,name=optional_fixed32_extension", |
| 1115 | Filename: "test.proto", |
| 1116 | } |
| 1117 | |
| 1118 | var E_OptionalFixed64Extension = &proto.ExtensionDesc{ |
| 1119 | ExtendedType: (*TestAllExtensions)(nil), |
| 1120 | ExtensionType: (*uint64)(nil), |
| 1121 | Field: 8, |
| 1122 | Name: "goproto.proto.test.optional_fixed64_extension", |
| 1123 | Tag: "fixed64,8,opt,name=optional_fixed64_extension", |
| 1124 | Filename: "test.proto", |
| 1125 | } |
| 1126 | |
| 1127 | var E_OptionalSfixed32Extension = &proto.ExtensionDesc{ |
| 1128 | ExtendedType: (*TestAllExtensions)(nil), |
| 1129 | ExtensionType: (*int32)(nil), |
| 1130 | Field: 9, |
| 1131 | Name: "goproto.proto.test.optional_sfixed32_extension", |
| 1132 | Tag: "fixed32,9,opt,name=optional_sfixed32_extension", |
| 1133 | Filename: "test.proto", |
| 1134 | } |
| 1135 | |
| 1136 | var E_OptionalSfixed64Extension = &proto.ExtensionDesc{ |
| 1137 | ExtendedType: (*TestAllExtensions)(nil), |
| 1138 | ExtensionType: (*int64)(nil), |
| 1139 | Field: 10, |
| 1140 | Name: "goproto.proto.test.optional_sfixed64_extension", |
| 1141 | Tag: "fixed64,10,opt,name=optional_sfixed64_extension", |
| 1142 | Filename: "test.proto", |
| 1143 | } |
| 1144 | |
| 1145 | var E_OptionalFloatExtension = &proto.ExtensionDesc{ |
| 1146 | ExtendedType: (*TestAllExtensions)(nil), |
| 1147 | ExtensionType: (*float32)(nil), |
| 1148 | Field: 11, |
| 1149 | Name: "goproto.proto.test.optional_float_extension", |
| 1150 | Tag: "fixed32,11,opt,name=optional_float_extension", |
| 1151 | Filename: "test.proto", |
| 1152 | } |
| 1153 | |
| 1154 | var E_OptionalDoubleExtension = &proto.ExtensionDesc{ |
| 1155 | ExtendedType: (*TestAllExtensions)(nil), |
| 1156 | ExtensionType: (*float64)(nil), |
| 1157 | Field: 12, |
| 1158 | Name: "goproto.proto.test.optional_double_extension", |
| 1159 | Tag: "fixed64,12,opt,name=optional_double_extension", |
| 1160 | Filename: "test.proto", |
| 1161 | } |
| 1162 | |
| 1163 | var E_OptionalBoolExtension = &proto.ExtensionDesc{ |
| 1164 | ExtendedType: (*TestAllExtensions)(nil), |
| 1165 | ExtensionType: (*bool)(nil), |
| 1166 | Field: 13, |
| 1167 | Name: "goproto.proto.test.optional_bool_extension", |
| 1168 | Tag: "varint,13,opt,name=optional_bool_extension", |
| 1169 | Filename: "test.proto", |
| 1170 | } |
| 1171 | |
| 1172 | var E_OptionalStringExtension = &proto.ExtensionDesc{ |
| 1173 | ExtendedType: (*TestAllExtensions)(nil), |
| 1174 | ExtensionType: (*string)(nil), |
| 1175 | Field: 14, |
| 1176 | Name: "goproto.proto.test.optional_string_extension", |
| 1177 | Tag: "bytes,14,opt,name=optional_string_extension", |
| 1178 | Filename: "test.proto", |
| 1179 | } |
| 1180 | |
| 1181 | var E_OptionalBytesExtension = &proto.ExtensionDesc{ |
| 1182 | ExtendedType: (*TestAllExtensions)(nil), |
| 1183 | ExtensionType: ([]byte)(nil), |
| 1184 | Field: 15, |
| 1185 | Name: "goproto.proto.test.optional_bytes_extension", |
| 1186 | Tag: "bytes,15,opt,name=optional_bytes_extension", |
| 1187 | Filename: "test.proto", |
| 1188 | } |
| 1189 | |
| 1190 | var E_OptionalgroupExtension = &proto.ExtensionDesc{ |
| 1191 | ExtendedType: (*TestAllExtensions)(nil), |
| 1192 | ExtensionType: (*OptionalGroupExtension)(nil), |
| 1193 | Field: 16, |
| 1194 | Name: "goproto.proto.test.optionalgroup_extension", |
| 1195 | Tag: "group,16,opt,name=OptionalGroup_extension", |
| 1196 | Filename: "test.proto", |
| 1197 | } |
| 1198 | |
| 1199 | var E_OptionalNestedMessageExtension = &proto.ExtensionDesc{ |
| 1200 | ExtendedType: (*TestAllExtensions)(nil), |
| 1201 | ExtensionType: (*TestAllTypes_NestedMessage)(nil), |
| 1202 | Field: 18, |
| 1203 | Name: "goproto.proto.test.optional_nested_message_extension", |
| 1204 | Tag: "bytes,18,opt,name=optional_nested_message_extension", |
| 1205 | Filename: "test.proto", |
| 1206 | } |
| 1207 | |
| 1208 | var E_OptionalNestedEnumExtension = &proto.ExtensionDesc{ |
| 1209 | ExtendedType: (*TestAllExtensions)(nil), |
| 1210 | ExtensionType: (*TestAllTypes_NestedEnum)(nil), |
| 1211 | Field: 21, |
| 1212 | Name: "goproto.proto.test.optional_nested_enum_extension", |
| 1213 | Tag: "varint,21,opt,name=optional_nested_enum_extension,enum=goproto.proto.test.TestAllTypes_NestedEnum", |
| 1214 | Filename: "test.proto", |
| 1215 | } |
| 1216 | |
| 1217 | var E_RepeatedInt32Extension = &proto.ExtensionDesc{ |
| 1218 | ExtendedType: (*TestAllExtensions)(nil), |
| 1219 | ExtensionType: ([]int32)(nil), |
| 1220 | Field: 31, |
| 1221 | Name: "goproto.proto.test.repeated_int32_extension", |
| 1222 | Tag: "varint,31,rep,name=repeated_int32_extension", |
| 1223 | Filename: "test.proto", |
| 1224 | } |
| 1225 | |
| 1226 | var E_RepeatedInt64Extension = &proto.ExtensionDesc{ |
| 1227 | ExtendedType: (*TestAllExtensions)(nil), |
| 1228 | ExtensionType: ([]int64)(nil), |
| 1229 | Field: 32, |
| 1230 | Name: "goproto.proto.test.repeated_int64_extension", |
| 1231 | Tag: "varint,32,rep,name=repeated_int64_extension", |
| 1232 | Filename: "test.proto", |
| 1233 | } |
| 1234 | |
| 1235 | var E_RepeatedUint32Extension = &proto.ExtensionDesc{ |
| 1236 | ExtendedType: (*TestAllExtensions)(nil), |
| 1237 | ExtensionType: ([]uint32)(nil), |
| 1238 | Field: 33, |
| 1239 | Name: "goproto.proto.test.repeated_uint32_extension", |
| 1240 | Tag: "varint,33,rep,name=repeated_uint32_extension", |
| 1241 | Filename: "test.proto", |
| 1242 | } |
| 1243 | |
| 1244 | var E_RepeatedUint64Extension = &proto.ExtensionDesc{ |
| 1245 | ExtendedType: (*TestAllExtensions)(nil), |
| 1246 | ExtensionType: ([]uint64)(nil), |
| 1247 | Field: 34, |
| 1248 | Name: "goproto.proto.test.repeated_uint64_extension", |
| 1249 | Tag: "varint,34,rep,name=repeated_uint64_extension", |
| 1250 | Filename: "test.proto", |
| 1251 | } |
| 1252 | |
| 1253 | var E_RepeatedSint32Extension = &proto.ExtensionDesc{ |
| 1254 | ExtendedType: (*TestAllExtensions)(nil), |
| 1255 | ExtensionType: ([]int32)(nil), |
| 1256 | Field: 35, |
| 1257 | Name: "goproto.proto.test.repeated_sint32_extension", |
| 1258 | Tag: "zigzag32,35,rep,name=repeated_sint32_extension", |
| 1259 | Filename: "test.proto", |
| 1260 | } |
| 1261 | |
| 1262 | var E_RepeatedSint64Extension = &proto.ExtensionDesc{ |
| 1263 | ExtendedType: (*TestAllExtensions)(nil), |
| 1264 | ExtensionType: ([]int64)(nil), |
| 1265 | Field: 36, |
| 1266 | Name: "goproto.proto.test.repeated_sint64_extension", |
| 1267 | Tag: "zigzag64,36,rep,name=repeated_sint64_extension", |
| 1268 | Filename: "test.proto", |
| 1269 | } |
| 1270 | |
| 1271 | var E_RepeatedFixed32Extension = &proto.ExtensionDesc{ |
| 1272 | ExtendedType: (*TestAllExtensions)(nil), |
| 1273 | ExtensionType: ([]uint32)(nil), |
| 1274 | Field: 37, |
| 1275 | Name: "goproto.proto.test.repeated_fixed32_extension", |
| 1276 | Tag: "fixed32,37,rep,name=repeated_fixed32_extension", |
| 1277 | Filename: "test.proto", |
| 1278 | } |
| 1279 | |
| 1280 | var E_RepeatedFixed64Extension = &proto.ExtensionDesc{ |
| 1281 | ExtendedType: (*TestAllExtensions)(nil), |
| 1282 | ExtensionType: ([]uint64)(nil), |
| 1283 | Field: 38, |
| 1284 | Name: "goproto.proto.test.repeated_fixed64_extension", |
| 1285 | Tag: "fixed64,38,rep,name=repeated_fixed64_extension", |
| 1286 | Filename: "test.proto", |
| 1287 | } |
| 1288 | |
| 1289 | var E_RepeatedSfixed32Extension = &proto.ExtensionDesc{ |
| 1290 | ExtendedType: (*TestAllExtensions)(nil), |
| 1291 | ExtensionType: ([]int32)(nil), |
| 1292 | Field: 39, |
| 1293 | Name: "goproto.proto.test.repeated_sfixed32_extension", |
| 1294 | Tag: "fixed32,39,rep,name=repeated_sfixed32_extension", |
| 1295 | Filename: "test.proto", |
| 1296 | } |
| 1297 | |
| 1298 | var E_RepeatedSfixed64Extension = &proto.ExtensionDesc{ |
| 1299 | ExtendedType: (*TestAllExtensions)(nil), |
| 1300 | ExtensionType: ([]int64)(nil), |
| 1301 | Field: 40, |
| 1302 | Name: "goproto.proto.test.repeated_sfixed64_extension", |
| 1303 | Tag: "fixed64,40,rep,name=repeated_sfixed64_extension", |
| 1304 | Filename: "test.proto", |
| 1305 | } |
| 1306 | |
| 1307 | var E_RepeatedFloatExtension = &proto.ExtensionDesc{ |
| 1308 | ExtendedType: (*TestAllExtensions)(nil), |
| 1309 | ExtensionType: ([]float32)(nil), |
| 1310 | Field: 41, |
| 1311 | Name: "goproto.proto.test.repeated_float_extension", |
| 1312 | Tag: "fixed32,41,rep,name=repeated_float_extension", |
| 1313 | Filename: "test.proto", |
| 1314 | } |
| 1315 | |
| 1316 | var E_RepeatedDoubleExtension = &proto.ExtensionDesc{ |
| 1317 | ExtendedType: (*TestAllExtensions)(nil), |
| 1318 | ExtensionType: ([]float64)(nil), |
| 1319 | Field: 42, |
| 1320 | Name: "goproto.proto.test.repeated_double_extension", |
| 1321 | Tag: "fixed64,42,rep,name=repeated_double_extension", |
| 1322 | Filename: "test.proto", |
| 1323 | } |
| 1324 | |
| 1325 | var E_RepeatedBoolExtension = &proto.ExtensionDesc{ |
| 1326 | ExtendedType: (*TestAllExtensions)(nil), |
| 1327 | ExtensionType: ([]bool)(nil), |
| 1328 | Field: 43, |
| 1329 | Name: "goproto.proto.test.repeated_bool_extension", |
| 1330 | Tag: "varint,43,rep,name=repeated_bool_extension", |
| 1331 | Filename: "test.proto", |
| 1332 | } |
| 1333 | |
| 1334 | var E_RepeatedStringExtension = &proto.ExtensionDesc{ |
| 1335 | ExtendedType: (*TestAllExtensions)(nil), |
| 1336 | ExtensionType: ([]string)(nil), |
| 1337 | Field: 44, |
| 1338 | Name: "goproto.proto.test.repeated_string_extension", |
| 1339 | Tag: "bytes,44,rep,name=repeated_string_extension", |
| 1340 | Filename: "test.proto", |
| 1341 | } |
| 1342 | |
| 1343 | var E_RepeatedBytesExtension = &proto.ExtensionDesc{ |
| 1344 | ExtendedType: (*TestAllExtensions)(nil), |
| 1345 | ExtensionType: ([][]byte)(nil), |
| 1346 | Field: 45, |
| 1347 | Name: "goproto.proto.test.repeated_bytes_extension", |
| 1348 | Tag: "bytes,45,rep,name=repeated_bytes_extension", |
| 1349 | Filename: "test.proto", |
| 1350 | } |
| 1351 | |
| 1352 | var E_RepeatedgroupExtension = &proto.ExtensionDesc{ |
| 1353 | ExtendedType: (*TestAllExtensions)(nil), |
| 1354 | ExtensionType: ([]*RepeatedGroupExtension)(nil), |
| 1355 | Field: 46, |
| 1356 | Name: "goproto.proto.test.repeatedgroup_extension", |
| 1357 | Tag: "group,46,rep,name=RepeatedGroup_extension", |
| 1358 | Filename: "test.proto", |
| 1359 | } |
| 1360 | |
| 1361 | var E_RepeatedNestedMessageExtension = &proto.ExtensionDesc{ |
| 1362 | ExtendedType: (*TestAllExtensions)(nil), |
| 1363 | ExtensionType: ([]*TestAllTypes_NestedMessage)(nil), |
| 1364 | Field: 48, |
| 1365 | Name: "goproto.proto.test.repeated_nested_message_extension", |
| 1366 | Tag: "bytes,48,rep,name=repeated_nested_message_extension", |
| 1367 | Filename: "test.proto", |
| 1368 | } |
| 1369 | |
| 1370 | var E_RepeatedNestedEnumExtension = &proto.ExtensionDesc{ |
| 1371 | ExtendedType: (*TestAllExtensions)(nil), |
| 1372 | ExtensionType: ([]TestAllTypes_NestedEnum)(nil), |
| 1373 | Field: 51, |
| 1374 | Name: "goproto.proto.test.repeated_nested_enum_extension", |
| 1375 | Tag: "varint,51,rep,name=repeated_nested_enum_extension,enum=goproto.proto.test.TestAllTypes_NestedEnum", |
| 1376 | Filename: "test.proto", |
| 1377 | } |
| 1378 | |
| 1379 | func init() { |
| 1380 | proto.RegisterFile("test.proto", fileDescriptor_c161fcfdc0c3ff1e) |
| 1381 | proto.RegisterEnum("goproto.proto.test.TestAllTypes_NestedEnum", TestAllTypes_NestedEnum_name, TestAllTypes_NestedEnum_value) |
| 1382 | proto.RegisterType((*TestAllTypes)(nil), "goproto.proto.test.TestAllTypes") |
| 1383 | proto.RegisterMapType((map[bool]bool)(nil), "goproto.proto.test.TestAllTypes.MapBoolBoolEntry") |
| 1384 | proto.RegisterMapType((map[uint32]uint32)(nil), "goproto.proto.test.TestAllTypes.MapFixed32Fixed32Entry") |
| 1385 | proto.RegisterMapType((map[uint64]uint64)(nil), "goproto.proto.test.TestAllTypes.MapFixed64Fixed64Entry") |
| 1386 | proto.RegisterMapType((map[int32]float64)(nil), "goproto.proto.test.TestAllTypes.MapInt32DoubleEntry") |
| 1387 | proto.RegisterMapType((map[int32]float32)(nil), "goproto.proto.test.TestAllTypes.MapInt32FloatEntry") |
| 1388 | proto.RegisterMapType((map[int32]int32)(nil), "goproto.proto.test.TestAllTypes.MapInt32Int32Entry") |
| 1389 | proto.RegisterMapType((map[int64]int64)(nil), "goproto.proto.test.TestAllTypes.MapInt64Int64Entry") |
| 1390 | proto.RegisterMapType((map[int32]int32)(nil), "goproto.proto.test.TestAllTypes.MapSfixed32Sfixed32Entry") |
| 1391 | proto.RegisterMapType((map[int64]int64)(nil), "goproto.proto.test.TestAllTypes.MapSfixed64Sfixed64Entry") |
| 1392 | proto.RegisterMapType((map[int32]int32)(nil), "goproto.proto.test.TestAllTypes.MapSint32Sint32Entry") |
| 1393 | proto.RegisterMapType((map[int64]int64)(nil), "goproto.proto.test.TestAllTypes.MapSint64Sint64Entry") |
| 1394 | proto.RegisterMapType((map[string][]byte)(nil), "goproto.proto.test.TestAllTypes.MapStringBytesEntry") |
| 1395 | proto.RegisterMapType((map[string]TestAllTypes_NestedEnum)(nil), "goproto.proto.test.TestAllTypes.MapStringNestedEnumEntry") |
| 1396 | proto.RegisterMapType((map[string]*TestAllTypes_NestedMessage)(nil), "goproto.proto.test.TestAllTypes.MapStringNestedMessageEntry") |
| 1397 | proto.RegisterMapType((map[string]string)(nil), "goproto.proto.test.TestAllTypes.MapStringStringEntry") |
| 1398 | proto.RegisterMapType((map[uint32]uint32)(nil), "goproto.proto.test.TestAllTypes.MapUint32Uint32Entry") |
| 1399 | proto.RegisterMapType((map[uint64]uint64)(nil), "goproto.proto.test.TestAllTypes.MapUint64Uint64Entry") |
| 1400 | proto.RegisterType((*TestAllExtensions)(nil), "goproto.proto.test.TestAllExtensions") |
| 1401 | proto.RegisterType((*OptionalGroupExtension)(nil), "goproto.proto.test.OptionalGroup_extension") |
| 1402 | proto.RegisterType((*RepeatedGroupExtension)(nil), "goproto.proto.test.RepeatedGroup_extension") |
| 1403 | proto.RegisterType((*TestAllTypes_NestedMessage)(nil), "goproto.proto.test.TestAllTypes.NestedMessage") |
| 1404 | proto.RegisterType((*TestAllTypes_OptionalGroup)(nil), "goproto.proto.test.TestAllTypes.OptionalGroup") |
| 1405 | proto.RegisterType((*TestAllTypes_RepeatedGroup)(nil), "goproto.proto.test.TestAllTypes.RepeatedGroup") |
| 1406 | proto.RegisterExtension(E_OptionalInt32Extension) |
| 1407 | proto.RegisterExtension(E_OptionalInt64Extension) |
| 1408 | proto.RegisterExtension(E_OptionalUint32Extension) |
| 1409 | proto.RegisterExtension(E_OptionalUint64Extension) |
| 1410 | proto.RegisterExtension(E_OptionalSint32Extension) |
| 1411 | proto.RegisterExtension(E_OptionalSint64Extension) |
| 1412 | proto.RegisterExtension(E_OptionalFixed32Extension) |
| 1413 | proto.RegisterExtension(E_OptionalFixed64Extension) |
| 1414 | proto.RegisterExtension(E_OptionalSfixed32Extension) |
| 1415 | proto.RegisterExtension(E_OptionalSfixed64Extension) |
| 1416 | proto.RegisterExtension(E_OptionalFloatExtension) |
| 1417 | proto.RegisterExtension(E_OptionalDoubleExtension) |
| 1418 | proto.RegisterExtension(E_OptionalBoolExtension) |
| 1419 | proto.RegisterExtension(E_OptionalStringExtension) |
| 1420 | proto.RegisterExtension(E_OptionalBytesExtension) |
| 1421 | proto.RegisterExtension(E_OptionalgroupExtension) |
| 1422 | proto.RegisterExtension(E_OptionalNestedMessageExtension) |
| 1423 | proto.RegisterExtension(E_OptionalNestedEnumExtension) |
| 1424 | proto.RegisterExtension(E_RepeatedInt32Extension) |
| 1425 | proto.RegisterExtension(E_RepeatedInt64Extension) |
| 1426 | proto.RegisterExtension(E_RepeatedUint32Extension) |
| 1427 | proto.RegisterExtension(E_RepeatedUint64Extension) |
| 1428 | proto.RegisterExtension(E_RepeatedSint32Extension) |
| 1429 | proto.RegisterExtension(E_RepeatedSint64Extension) |
| 1430 | proto.RegisterExtension(E_RepeatedFixed32Extension) |
| 1431 | proto.RegisterExtension(E_RepeatedFixed64Extension) |
| 1432 | proto.RegisterExtension(E_RepeatedSfixed32Extension) |
| 1433 | proto.RegisterExtension(E_RepeatedSfixed64Extension) |
| 1434 | proto.RegisterExtension(E_RepeatedFloatExtension) |
| 1435 | proto.RegisterExtension(E_RepeatedDoubleExtension) |
| 1436 | proto.RegisterExtension(E_RepeatedBoolExtension) |
| 1437 | proto.RegisterExtension(E_RepeatedStringExtension) |
| 1438 | proto.RegisterExtension(E_RepeatedBytesExtension) |
| 1439 | proto.RegisterExtension(E_RepeatedgroupExtension) |
| 1440 | proto.RegisterExtension(E_RepeatedNestedMessageExtension) |
| 1441 | proto.RegisterExtension(E_RepeatedNestedEnumExtension) |
| 1442 | } |
| 1443 | |
| 1444 | var fileDescriptor_c161fcfdc0c3ff1e = []byte{ |
| 1445 | // 2008 bytes of a gzipped FileDescriptorProto |
| 1446 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x59, 0x6d, 0x53, 0xdb, 0xca, |
| 1447 | 0x15, 0x46, 0x88, 0xd7, 0x05, 0x83, 0x51, 0xc0, 0x16, 0x61, 0x92, 0x6c, 0x48, 0xd3, 0x28, 0x24, |
| 1448 | 0x35, 0x2d, 0xa8, 0x6a, 0x92, 0xa6, 0x69, 0x70, 0x81, 0x90, 0x99, 0x26, 0x99, 0x11, 0xc9, 0x97, |
| 1449 | 0x74, 0x52, 0xc6, 0x80, 0x70, 0x3d, 0xb5, 0x2d, 0xd7, 0x2f, 0x24, 0x7c, 0xe3, 0x7b, 0x7f, 0xc0, |
| 1450 | 0xfd, 0x7a, 0x7f, 0xd2, 0xfd, 0x47, 0xf7, 0xce, 0xee, 0xd1, 0xae, 0xf6, 0xac, 0xd7, 0x60, 0x29, |
| 1451 | 0x33, 0x31, 0xf6, 0xd1, 0xd1, 0xf3, 0xec, 0xae, 0xf6, 0xd9, 0xa3, 0xdd, 0x87, 0x90, 0x7e, 0xd4, |
| 1452 | 0xeb, 0x57, 0x3a, 0xdd, 0xb8, 0x1f, 0x3b, 0x4e, 0x3d, 0xe6, 0x5f, 0xe0, 0x67, 0x85, 0x5d, 0xd9, |
| 1453 | 0xfc, 0x65, 0x8b, 0x2c, 0x7e, 0x8e, 0x7a, 0xfd, 0xbd, 0x66, 0xf3, 0xf3, 0x55, 0x27, 0xea, 0x39, |
| 1454 | 0x8f, 0xc9, 0x52, 0xdc, 0xe9, 0x37, 0xe2, 0x76, 0xad, 0x79, 0xd2, 0x68, 0xf7, 0x77, 0x77, 0x5c, |
| 1455 | 0x8b, 0x5a, 0xde, 0x74, 0x58, 0x10, 0xd1, 0xf7, 0x2c, 0xa8, 0xa7, 0x05, 0xbe, 0x3b, 0x49, 0x2d, |
| 1456 | 0xcf, 0x46, 0x69, 0x81, 0xef, 0x3c, 0x21, 0xcb, 0x32, 0x6d, 0x00, 0x70, 0x36, 0xb5, 0xbc, 0x42, |
| 1457 | 0x28, 0xef, 0xfe, 0xc2, 0xa3, 0x43, 0x89, 0x81, 0xef, 0x4e, 0x51, 0xcb, 0x9b, 0xc2, 0x89, 0x1a, |
| 1458 | 0x62, 0x0f, 0x10, 0xa7, 0xa9, 0xe5, 0xad, 0xa4, 0x89, 0xc7, 0xc3, 0x88, 0x3d, 0x40, 0x9c, 0xa1, |
| 1459 | 0x96, 0xe7, 0xe0, 0xc4, 0xc0, 0x77, 0x9e, 0x92, 0xa2, 0x4c, 0xbc, 0x68, 0xfc, 0x88, 0xce, 0x77, |
| 1460 | 0x77, 0xdc, 0x59, 0x6a, 0x79, 0xb3, 0xa1, 0x04, 0x38, 0x84, 0xf0, 0x70, 0x6a, 0xe0, 0xbb, 0x73, |
| 1461 | 0xd4, 0xf2, 0x66, 0xb4, 0xd4, 0xc0, 0x77, 0x9e, 0x91, 0x95, 0x94, 0x5e, 0xc0, 0xce, 0x53, 0xcb, |
| 1462 | 0x5b, 0x0e, 0x25, 0xc6, 0x71, 0x12, 0x37, 0x24, 0x07, 0xbe, 0x4b, 0xa8, 0xe5, 0x15, 0xf5, 0xe4, |
| 1463 | 0xc0, 0x47, 0x43, 0x7f, 0xd1, 0x8c, 0x6b, 0x7d, 0x77, 0x81, 0x5a, 0xde, 0x64, 0x3a, 0xf4, 0x87, |
| 1464 | 0x2c, 0x88, 0xfa, 0x7f, 0x1e, 0x0f, 0x4e, 0x9b, 0x91, 0xbb, 0x48, 0x2d, 0xcf, 0x4a, 0xfb, 0xbf, |
| 1465 | 0xcf, 0xa3, 0xce, 0x23, 0x22, 0xef, 0x3c, 0x39, 0x8d, 0xe3, 0xa6, 0x5b, 0xa0, 0x96, 0x37, 0x17, |
| 1466 | 0x2e, 0x8a, 0x60, 0x35, 0x8e, 0x9b, 0x78, 0x34, 0xfb, 0xdd, 0x46, 0xbb, 0xee, 0x2e, 0x51, 0xcb, |
| 1467 | 0x9b, 0x57, 0x46, 0x93, 0x47, 0x51, 0xeb, 0x4e, 0xaf, 0xfa, 0x51, 0xcf, 0x5d, 0xa6, 0x96, 0xb7, |
| 1468 | 0x98, 0xb6, 0xae, 0xca, 0x82, 0xce, 0xe7, 0x94, 0xb4, 0xde, 0x8d, 0x07, 0x1d, 0xb7, 0x48, 0x2d, |
| 1469 | 0x8f, 0xec, 0x54, 0x2a, 0xc3, 0x73, 0xb4, 0xa2, 0xce, 0xcf, 0xca, 0xa7, 0xe4, 0xae, 0x77, 0xec, |
| 1470 | 0xae, 0x10, 0x83, 0x38, 0x17, 0xa4, 0x2c, 0xc9, 0xdb, 0x51, 0xaf, 0x1f, 0x9d, 0x9f, 0xb4, 0xa2, |
| 1471 | 0x5e, 0xaf, 0x56, 0x8f, 0x5c, 0x87, 0x5a, 0xde, 0xc2, 0x18, 0xf8, 0x1f, 0xf9, 0x6d, 0x1f, 0xe0, |
| 1472 | 0xae, 0x70, 0x4d, 0xc0, 0xa1, 0xb0, 0xf3, 0x8d, 0xac, 0xea, 0x3c, 0x51, 0x7b, 0xd0, 0x72, 0xd7, |
| 1473 | 0xa8, 0xe5, 0x2d, 0xed, 0x3c, 0x1b, 0x93, 0xe4, 0xa0, 0x3d, 0x68, 0x85, 0x0e, 0x66, 0x60, 0x31, |
| 1474 | 0x36, 0x86, 0xdd, 0xa8, 0x13, 0xd5, 0x18, 0x2e, 0x4c, 0xf1, 0x07, 0xd4, 0x66, 0x1a, 0x14, 0x51, |
| 1475 | 0xa9, 0x41, 0x35, 0x2d, 0xf0, 0x5d, 0x4a, 0x6d, 0xa6, 0x41, 0x25, 0x0d, 0x14, 0x23, 0xd3, 0x12, |
| 1476 | 0x0d, 0x3e, 0xa4, 0x36, 0xd3, 0xa0, 0x08, 0xa7, 0x1a, 0x44, 0x89, 0x81, 0xef, 0x6e, 0x52, 0x9b, |
| 1477 | 0x69, 0x50, 0x4d, 0xd4, 0x10, 0x13, 0x0d, 0x3e, 0xa2, 0x36, 0xd3, 0xa0, 0x08, 0x1f, 0x0f, 0x23, |
| 1478 | 0x26, 0x1a, 0xfc, 0x1d, 0xb5, 0x99, 0x06, 0xd5, 0x44, 0xd0, 0xa0, 0x4c, 0x14, 0x62, 0x79, 0x4c, |
| 1479 | 0x6d, 0xa6, 0x41, 0x11, 0x57, 0x34, 0x88, 0x53, 0x03, 0xdf, 0xfd, 0x3d, 0xb5, 0x99, 0x06, 0x51, |
| 1480 | 0x2a, 0x68, 0x30, 0xa5, 0x17, 0xb0, 0x4f, 0xa8, 0xcd, 0x34, 0x28, 0x1b, 0xa0, 0x68, 0x50, 0x4b, |
| 1481 | 0x0e, 0x7c, 0xd7, 0xa3, 0x36, 0xd3, 0x20, 0x4e, 0x06, 0x0d, 0xa6, 0x8d, 0xe0, 0x1a, 0x7c, 0x4a, |
| 1482 | 0x6d, 0xa6, 0x41, 0xd9, 0x04, 0xa1, 0x41, 0x99, 0x96, 0x68, 0x70, 0x8b, 0xda, 0x4c, 0x83, 0x22, |
| 1483 | 0x9c, 0x6a, 0x50, 0x26, 0x72, 0x0d, 0x3e, 0xa3, 0x36, 0xd3, 0xa0, 0x08, 0x0a, 0x0d, 0xa6, 0x2d, |
| 1484 | 0x04, 0x0d, 0x3e, 0xa7, 0x36, 0xd3, 0xa0, 0x6c, 0x9f, 0xd4, 0x60, 0x8a, 0xc6, 0x35, 0xf8, 0x07, |
| 1485 | 0x6a, 0x33, 0x0d, 0x4a, 0x38, 0xa1, 0x41, 0x11, 0x00, 0x0d, 0x56, 0xa8, 0x3d, 0x96, 0x06, 0xc3, |
| 1486 | 0xe4, 0xae, 0x44, 0x83, 0x08, 0x84, 0x69, 0x50, 0x92, 0x6b, 0x1a, 0xfc, 0x23, 0xb5, 0xf3, 0x68, |
| 1487 | 0x50, 0xc0, 0x0d, 0x69, 0x50, 0xe7, 0xe1, 0x1a, 0xdc, 0xa5, 0x76, 0x66, 0x0d, 0x62, 0x06, 0xae, |
| 1488 | 0xc1, 0x7f, 0x91, 0xe5, 0x56, 0xad, 0x03, 0xf2, 0x4b, 0x44, 0xf8, 0x82, 0x37, 0x7f, 0xf7, 0x56, |
| 1489 | 0xe4, 0x0f, 0xb5, 0x0e, 0x17, 0x28, 0xff, 0x38, 0x68, 0xf7, 0xbb, 0x57, 0x61, 0xa1, 0xa5, 0xc6, |
| 1490 | 0x14, 0xf0, 0xc0, 0x4f, 0xa4, 0xfb, 0x32, 0x13, 0x78, 0xe0, 0xf3, 0x0f, 0x04, 0x9e, 0xc4, 0x9c, |
| 1491 | 0x1a, 0x59, 0x61, 0xe0, 0x20, 0x75, 0xa1, 0xf8, 0x57, 0x1c, 0xfe, 0xcf, 0xe3, 0xc0, 0xc3, 0x6a, |
| 1492 | 0x00, 0x9f, 0x40, 0xc0, 0x1a, 0xab, 0x46, 0x55, 0x8a, 0xc0, 0x17, 0x6b, 0xc5, 0x5f, 0xb3, 0x51, |
| 1493 | 0x04, 0x3e, 0x7c, 0x62, 0x0a, 0x11, 0x15, 0x14, 0xb0, 0xbc, 0x88, 0x55, 0xe6, 0xf5, 0xf8, 0x14, |
| 1494 | 0xb0, 0x02, 0x1d, 0x6b, 0xbd, 0x50, 0xa3, 0x2a, 0x45, 0xe0, 0x8b, 0xf5, 0xe9, 0x6f, 0xd9, 0x28, |
| 1495 | 0x02, 0xff, 0x58, 0xeb, 0x85, 0x1a, 0x75, 0xea, 0xe4, 0x0e, 0xa3, 0x48, 0xd6, 0x18, 0xb9, 0xb4, |
| 1496 | 0xbd, 0xe1, 0x24, 0x7f, 0x19, 0x87, 0x24, 0x59, 0xf6, 0x92, 0x3f, 0x40, 0xc3, 0x9a, 0x8d, 0xe3, |
| 1497 | 0x88, 0x28, 0xf0, 0xe5, 0xc2, 0xf8, 0xf7, 0x8c, 0x44, 0x81, 0x9f, 0xfc, 0xd1, 0x88, 0x64, 0xdc, |
| 1498 | 0x69, 0x91, 0x35, 0x3e, 0x68, 0xa2, 0x4b, 0x72, 0x5d, 0x7d, 0xcb, 0xa9, 0x5e, 0x8e, 0x35, 0x70, |
| 1499 | 0xc9, 0x3d, 0xe2, 0x2f, 0x90, 0xb1, 0x0e, 0xe8, 0x57, 0x30, 0x1d, 0x7b, 0x4a, 0xa2, 0x67, 0x7b, |
| 1500 | 0x59, 0xe9, 0x02, 0x5f, 0xfc, 0xd5, 0xe9, 0xd2, 0x2b, 0x58, 0xf5, 0xb0, 0xb0, 0x57, 0x33, 0xaa, |
| 1501 | 0x9e, 0xaf, 0xfc, 0x9a, 0xea, 0xa1, 0x1a, 0xfc, 0x9b, 0x14, 0x53, 0xf0, 0xa4, 0x1c, 0xfc, 0x83, |
| 1502 | 0xa3, 0xfb, 0x63, 0xa3, 0x43, 0xbd, 0x00, 0xf8, 0xa5, 0x16, 0x0a, 0x3a, 0x5f, 0x08, 0x23, 0xe4, |
| 1503 | 0xf5, 0x03, 0x8a, 0xc8, 0x3e, 0x07, 0xff, 0xd3, 0x38, 0xe0, 0xac, 0xc0, 0xb0, 0xff, 0x80, 0xbc, |
| 1504 | 0xd0, 0x4a, 0x23, 0x52, 0x26, 0xbc, 0xb6, 0x88, 0xc2, 0x73, 0x90, 0x41, 0x26, 0xfc, 0x0e, 0xf8, |
| 1505 | 0x54, 0x64, 0xa2, 0x44, 0xc5, 0xc8, 0x24, 0x14, 0x50, 0xb2, 0x0e, 0xc7, 0x1f, 0x19, 0x40, 0xe1, |
| 1506 | 0x45, 0x2d, 0x1d, 0x19, 0x25, 0xe8, 0x7c, 0x27, 0xeb, 0x0a, 0xbe, 0x56, 0x95, 0xde, 0x71, 0xa2, |
| 1507 | 0xd7, 0xe3, 0x13, 0xa1, 0x3a, 0x04, 0x84, 0xa5, 0x96, 0xf1, 0xa2, 0xd3, 0x26, 0xa5, 0x61, 0x62, |
| 1508 | 0x5e, 0xa6, 0xde, 0x67, 0x98, 0xbf, 0x0a, 0x30, 0xab, 0x4d, 0xca, 0xfc, 0xd5, 0xae, 0x38, 0x8f, |
| 1509 | 0xc8, 0x62, 0xdc, 0x8e, 0xe2, 0x0b, 0xb1, 0xec, 0xc7, 0x6c, 0xb3, 0x75, 0x34, 0x11, 0x2e, 0xf0, |
| 1510 | 0x68, 0xb2, 0x7a, 0x9f, 0x92, 0x55, 0x48, 0xd2, 0x06, 0xa2, 0x93, 0xe7, 0x15, 0xf9, 0x68, 0x22, |
| 1511 | 0x74, 0x38, 0x1a, 0xee, 0xb8, 0x6c, 0x48, 0x32, 0x5f, 0xfe, 0xc7, 0x36, 0x0b, 0xb2, 0x21, 0xc9, |
| 1512 | 0x63, 0x7f, 0x48, 0xe0, 0x67, 0xf2, 0xc4, 0xbb, 0x6c, 0xa3, 0x70, 0x34, 0x11, 0x12, 0x1e, 0x84, |
| 1513 | 0x27, 0xf7, 0x80, 0x90, 0x24, 0x85, 0x4d, 0xe8, 0x1e, 0xdb, 0x99, 0x1c, 0x4d, 0x84, 0xf3, 0x90, |
| 1514 | 0xc1, 0x66, 0x27, 0xea, 0x71, 0xe0, 0xbb, 0x7d, 0xb6, 0x6b, 0x44, 0x3d, 0x0e, 0xfc, 0x94, 0x08, |
| 1515 | 0x24, 0x3d, 0x60, 0xfb, 0x25, 0x49, 0x04, 0xe2, 0x94, 0x38, 0x89, 0x30, 0x2f, 0xd9, 0x5e, 0x49, |
| 1516 | 0xe2, 0x24, 0x0a, 0xfb, 0xa7, 0x68, 0x0d, 0x7f, 0x84, 0xdf, 0x33, 0xbf, 0xed, 0xcb, 0xa6, 0xb3, |
| 1517 | 0x1f, 0x77, 0x6b, 0xa4, 0x80, 0x07, 0x6d, 0x91, 0x58, 0xb5, 0x64, 0xbb, 0x6d, 0xd5, 0x9c, 0x2a, |
| 1518 | 0x59, 0x38, 0x8b, 0xbb, 0xd1, 0xd9, 0xa0, 0xdb, 0x6b, 0x5c, 0x46, 0x7c, 0x7f, 0xbd, 0xb0, 0x43, |
| 1519 | 0x6f, 0x63, 0x0b, 0xd5, 0x9b, 0xee, 0xde, 0x23, 0x05, 0xb4, 0x61, 0x02, 0x8a, 0x95, 0x84, 0x82, |
| 1520 | 0x5d, 0x46, 0xef, 0x72, 0x70, 0x79, 0x5b, 0x5c, 0x7e, 0x4b, 0x9c, 0xe1, 0x77, 0x19, 0xa7, 0x48, |
| 1521 | 0xec, 0xff, 0x46, 0x57, 0x49, 0x3b, 0xd9, 0x57, 0x67, 0x95, 0x4c, 0x5f, 0xd6, 0x9a, 0x03, 0x68, |
| 1522 | 0xe3, 0x74, 0x08, 0x3f, 0x5e, 0x4d, 0xbe, 0xb0, 0x52, 0x04, 0xf5, 0x85, 0x45, 0x45, 0xb0, 0x0d, |
| 1523 | 0x08, 0xb6, 0x8a, 0x50, 0x25, 0xab, 0xa6, 0x77, 0x12, 0x15, 0xa3, 0x60, 0xc0, 0x28, 0x98, 0x31, |
| 1524 | 0xd0, 0x4b, 0x87, 0x8a, 0x31, 0x65, 0xc0, 0x98, 0x1a, 0xc6, 0x18, 0x7a, 0xab, 0x50, 0x31, 0x56, |
| 1525 | 0x0c, 0x18, 0x2b, 0x66, 0x0c, 0xf4, 0xda, 0xa0, 0x62, 0x38, 0x06, 0x0c, 0x47, 0xc5, 0xd8, 0x27, |
| 1526 | 0x25, 0xf3, 0x5b, 0x81, 0x8a, 0x32, 0x6b, 0x40, 0x99, 0x1d, 0x81, 0x82, 0x4b, 0xbe, 0x8a, 0x32, |
| 1527 | 0x63, 0x40, 0x99, 0x51, 0x51, 0x0e, 0x89, 0x3b, 0xaa, 0x9a, 0xab, 0x38, 0xcb, 0x06, 0x9c, 0xe5, |
| 1528 | 0x51, 0x38, 0x5a, 0x99, 0x56, 0x71, 0x8a, 0x06, 0x9c, 0xa2, 0x71, 0xb6, 0xa9, 0x55, 0xf8, 0xb6, |
| 1529 | 0xf9, 0x3a, 0xa9, 0x22, 0xec, 0x91, 0x3b, 0x86, 0x4a, 0x7b, 0x1b, 0x84, 0xa5, 0x42, 0xbc, 0x21, |
| 1530 | 0x45, 0xbd, 0x9e, 0xaa, 0xf7, 0xcf, 0x19, 0xee, 0x9f, 0x33, 0x4c, 0x12, 0xbd, 0x68, 0xaa, 0x18, |
| 1531 | 0xf3, 0x06, 0x8c, 0xf9, 0xe1, 0x6e, 0xe8, 0x65, 0xf1, 0x36, 0x88, 0x45, 0x15, 0xe2, 0x8a, 0x6c, |
| 1532 | 0xdc, 0x50, 0xf0, 0x0c, 0x50, 0xfb, 0x2a, 0x54, 0xf6, 0x5d, 0x9e, 0x42, 0xdd, 0x83, 0xe9, 0x60, |
| 1533 | 0xaa, 0x7a, 0x06, 0xde, 0x3d, 0x95, 0x37, 0xe3, 0xc6, 0x2f, 0x25, 0xdd, 0x7c, 0x49, 0x88, 0x52, |
| 1534 | 0x47, 0x67, 0x89, 0x7d, 0xf8, 0xe9, 0x53, 0x71, 0x82, 0x7d, 0xa9, 0xee, 0x85, 0x45, 0x0b, 0xbe, |
| 1535 | 0x7c, 0x2d, 0x4e, 0xb2, 0x16, 0x7c, 0x3c, 0x78, 0x57, 0xfc, 0x55, 0xfc, 0xb3, 0xaa, 0x05, 0x59, |
| 1536 | 0x5d, 0x1a, 0x51, 0xf3, 0x7c, 0xf3, 0x1e, 0x59, 0x49, 0xf8, 0x0e, 0x7e, 0xf4, 0xa3, 0x76, 0xaf, |
| 1537 | 0x11, 0xb7, 0x7b, 0x5b, 0x73, 0x73, 0x56, 0xf1, 0xfa, 0xfa, 0xfa, 0x7a, 0x72, 0xf3, 0x09, 0x29, |
| 1538 | 0xa3, 0x25, 0xf9, 0x24, 0x12, 0x59, 0x78, 0x71, 0x66, 0x89, 0x68, 0x71, 0xd6, 0x13, 0xc5, 0x32, |
| 1539 | 0xfd, 0xea, 0x84, 0xb8, 0xf8, 0xc8, 0x56, 0xc9, 0x7c, 0x7c, 0xc3, 0x70, 0xa4, 0xcd, 0x4b, 0x66, |
| 1540 | 0x76, 0x09, 0x9d, 0xf1, 0xca, 0xcb, 0x3a, 0x41, 0xe0, 0x67, 0x27, 0x80, 0x75, 0xbd, 0x84, 0x4e, |
| 1541 | 0x87, 0x53, 0x82, 0x1a, 0x59, 0xd7, 0x8e, 0x89, 0xb3, 0x33, 0xc0, 0xb9, 0x72, 0x19, 0x9f, 0x2b, |
| 1542 | 0x8f, 0xa6, 0xc8, 0xd3, 0x09, 0x38, 0x91, 0x2e, 0xe3, 0x13, 0x69, 0x33, 0x45, 0x2f, 0x67, 0x2f, |
| 1543 | 0xe0, 0x2c, 0xbb, 0x8c, 0xcf, 0xb2, 0x47, 0x53, 0xe4, 0xe9, 0x05, 0x9c, 0x82, 0x97, 0xf1, 0x29, |
| 1544 | 0x78, 0x4a, 0x71, 0x46, 0xee, 0xea, 0xc7, 0xe1, 0xd9, 0x39, 0xe0, 0xfc, 0xdc, 0xd5, 0xce, 0xcf, |
| 1545 | 0x6f, 0x20, 0xc9, 0xd3, 0x11, 0x38, 0x79, 0x77, 0xb5, 0x93, 0xf7, 0x94, 0x24, 0x22, 0x1b, 0x43, |
| 1546 | 0x47, 0xf0, 0xd9, 0x59, 0xe0, 0xcc, 0x7e, 0x5d, 0x3f, 0xb3, 0xbf, 0x89, 0x26, 0x4f, 0x67, 0xe0, |
| 1547 | 0xb4, 0x7f, 0x5d, 0x3f, 0xed, 0x37, 0x8b, 0x90, 0xbf, 0xc6, 0x66, 0xe7, 0x00, 0x9f, 0xa0, 0x84, |
| 1548 | 0x7c, 0x02, 0xf3, 0xdc, 0x82, 0x97, 0xe0, 0xec, 0x0c, 0xe0, 0x30, 0x94, 0xb1, 0xc3, 0x90, 0x52, |
| 1549 | 0x7c, 0x53, 0xce, 0xe7, 0xf9, 0x36, 0x35, 0x33, 0x01, 0x78, 0x13, 0x6b, 0xaa, 0x37, 0x31, 0x42, |
| 1550 | 0x1d, 0xb0, 0xe5, 0xca, 0x4c, 0x00, 0xae, 0x46, 0x19, 0xbb, 0x1a, 0xe6, 0xa7, 0xc0, 0x77, 0x2d, |
| 1551 | 0xd9, 0x19, 0xc0, 0x0f, 0x29, 0x21, 0x3f, 0x24, 0x25, 0xf8, 0xbf, 0x95, 0x8e, 0x51, 0x5d, 0x5b, |
| 1552 | 0xf6, 0xc7, 0x24, 0x00, 0x2b, 0xc5, 0x58, 0x08, 0x47, 0x54, 0x9e, 0xb4, 0x35, 0x9c, 0x32, 0x6d, |
| 1553 | 0xcd, 0xcf, 0x16, 0x79, 0x38, 0xc2, 0x51, 0xc9, 0xde, 0xae, 0x7c, 0x16, 0xcc, 0x7d, 0xa3, 0x05, |
| 1554 | 0x93, 0x36, 0xf1, 0x27, 0x8b, 0xdc, 0x37, 0x99, 0x31, 0xd9, 0xdb, 0x97, 0xc3, 0xbd, 0xd9, 0x18, |
| 1555 | 0x76, 0x6f, 0xd0, 0x5c, 0xc1, 0x36, 0x4e, 0xf6, 0x26, 0x81, 0xef, 0x53, 0x42, 0xbe, 0xcf, 0x48, |
| 1556 | 0x82, 0x3c, 0xcb, 0x0e, 0x38, 0x46, 0x25, 0xe4, 0x18, 0x21, 0x41, 0x69, 0xd6, 0x51, 0x76, 0x06, |
| 1557 | 0xf0, 0x9a, 0xca, 0xd8, 0x6b, 0x1a, 0x4d, 0x91, 0xa7, 0x13, 0xe0, 0x52, 0x95, 0xb1, 0x4b, 0x65, |
| 1558 | 0xa6, 0xc8, 0x5b, 0x97, 0xc1, 0xdf, 0x2a, 0x63, 0x7f, 0x6b, 0x34, 0x45, 0x9e, 0x5e, 0x80, 0x33, |
| 1559 | 0x56, 0xc6, 0xce, 0x18, 0x2a, 0x99, 0xba, 0x45, 0x96, 0x9d, 0x03, 0x3c, 0x35, 0x57, 0xf3, 0xd4, |
| 1560 | 0x6e, 0x20, 0xc9, 0xd3, 0x11, 0x70, 0xe3, 0x5c, 0xcd, 0x8d, 0x43, 0x05, 0x73, 0xc8, 0x96, 0xcb, |
| 1561 | 0xce, 0x02, 0x3e, 0xde, 0xba, 0xee, 0xe3, 0xdd, 0x44, 0x93, 0xa7, 0x33, 0xe0, 0x00, 0xae, 0xeb, |
| 1562 | 0x0e, 0xa0, 0x59, 0x84, 0x39, 0xeb, 0x32, 0x78, 0x87, 0x25, 0xe4, 0x1d, 0x9a, 0xe7, 0x56, 0xde, |
| 1563 | 0xba, 0x0c, 0xae, 0x63, 0x19, 0xbb, 0x8e, 0xa8, 0x2e, 0x23, 0xfb, 0x31, 0x3b, 0x01, 0xf8, 0x95, |
| 1564 | 0x6b, 0xaa, 0x5f, 0x39, 0x42, 0x1d, 0x39, 0xeb, 0x32, 0x38, 0x9d, 0x65, 0xec, 0x74, 0x9a, 0x9f, |
| 1565 | 0x42, 0xce, 0xba, 0x0c, 0x1e, 0x69, 0x09, 0x79, 0xa4, 0xb8, 0x2e, 0x23, 0xa3, 0x33, 0x3b, 0x01, |
| 1566 | 0xd8, 0xab, 0xc6, 0xfa, 0x32, 0x62, 0xa3, 0x97, 0xb6, 0xc6, 0x50, 0x97, 0x47, 0xb8, 0xac, 0xd9, |
| 1567 | 0xdb, 0x95, 0xcf, 0x96, 0xbd, 0x6f, 0xb4, 0x65, 0x71, 0x5d, 0x36, 0x19, 0xb4, 0xd9, 0xdb, 0x97, |
| 1568 | 0xc3, 0xd1, 0xdd, 0x18, 0x76, 0x74, 0x25, 0x60, 0xf5, 0xf9, 0xd7, 0xad, 0x7a, 0xa3, 0xff, 0x9f, |
| 1569 | 0xc1, 0x69, 0xe5, 0x2c, 0x6e, 0x6d, 0xd7, 0xe3, 0x66, 0xad, 0x5d, 0xdf, 0xe6, 0xa0, 0xa7, 0x83, |
| 1570 | 0x8b, 0xed, 0xcb, 0x1d, 0xf8, 0xbe, 0xcd, 0x08, 0x3a, 0xa7, 0xbf, 0x05, 0x00, 0x00, 0xff, 0xff, |
| 1571 | 0x98, 0xed, 0x53, 0x5d, 0x42, 0x25, 0x00, 0x00, |
| 1572 | } |
| 1573 | |
| 1574 | func init() { |
| 1575 | xxx_Test_ProtoFile_FileDesc.Messages = xxx_Test_ProtoFile_MessageDescs[0:4] |
| 1576 | xxx_Test_ProtoFile_MessageDescs[0].Enums = xxx_Test_ProtoFile_EnumDescs[0:1] |
| 1577 | xxx_Test_ProtoFile_MessageDescs[0].Messages = xxx_Test_ProtoFile_MessageDescs[4:24] |
| 1578 | xxx_Test_ProtoFile_MessageDescs[0].Fields[15].MessageType = xxx_Test_ProtoFile_MessageTypes[5].Type |
| 1579 | xxx_Test_ProtoFile_MessageDescs[0].Fields[16].MessageType = xxx_Test_ProtoFile_MessageTypes[4].Type |
| 1580 | xxx_Test_ProtoFile_MessageDescs[0].Fields[17].EnumType = xxx_Test_ProtoFile_EnumTypes[0] |
| 1581 | xxx_Test_ProtoFile_MessageDescs[0].Fields[33].MessageType = xxx_Test_ProtoFile_MessageTypes[6].Type |
| 1582 | xxx_Test_ProtoFile_MessageDescs[0].Fields[34].MessageType = xxx_Test_ProtoFile_MessageTypes[4].Type |
| 1583 | xxx_Test_ProtoFile_MessageDescs[0].Fields[35].EnumType = xxx_Test_ProtoFile_EnumTypes[0] |
| 1584 | xxx_Test_ProtoFile_MessageDescs[0].Fields[36].MessageType = xxx_Test_ProtoFile_MessageDescs[7].Reference() |
| 1585 | xxx_Test_ProtoFile_MessageDescs[0].Fields[37].MessageType = xxx_Test_ProtoFile_MessageDescs[8].Reference() |
| 1586 | xxx_Test_ProtoFile_MessageDescs[0].Fields[38].MessageType = xxx_Test_ProtoFile_MessageDescs[9].Reference() |
| 1587 | xxx_Test_ProtoFile_MessageDescs[0].Fields[39].MessageType = xxx_Test_ProtoFile_MessageDescs[10].Reference() |
| 1588 | xxx_Test_ProtoFile_MessageDescs[0].Fields[40].MessageType = xxx_Test_ProtoFile_MessageDescs[11].Reference() |
| 1589 | xxx_Test_ProtoFile_MessageDescs[0].Fields[41].MessageType = xxx_Test_ProtoFile_MessageDescs[12].Reference() |
| 1590 | xxx_Test_ProtoFile_MessageDescs[0].Fields[42].MessageType = xxx_Test_ProtoFile_MessageDescs[13].Reference() |
| 1591 | xxx_Test_ProtoFile_MessageDescs[0].Fields[43].MessageType = xxx_Test_ProtoFile_MessageDescs[14].Reference() |
| 1592 | xxx_Test_ProtoFile_MessageDescs[0].Fields[44].MessageType = xxx_Test_ProtoFile_MessageDescs[15].Reference() |
| 1593 | xxx_Test_ProtoFile_MessageDescs[0].Fields[45].MessageType = xxx_Test_ProtoFile_MessageDescs[16].Reference() |
| 1594 | xxx_Test_ProtoFile_MessageDescs[0].Fields[46].MessageType = xxx_Test_ProtoFile_MessageDescs[17].Reference() |
| 1595 | xxx_Test_ProtoFile_MessageDescs[0].Fields[47].MessageType = xxx_Test_ProtoFile_MessageDescs[18].Reference() |
| 1596 | xxx_Test_ProtoFile_MessageDescs[0].Fields[48].MessageType = xxx_Test_ProtoFile_MessageDescs[19].Reference() |
| 1597 | xxx_Test_ProtoFile_MessageDescs[0].Fields[49].MessageType = xxx_Test_ProtoFile_MessageDescs[20].Reference() |
| 1598 | xxx_Test_ProtoFile_MessageDescs[0].Fields[50].MessageType = xxx_Test_ProtoFile_MessageDescs[21].Reference() |
| 1599 | xxx_Test_ProtoFile_MessageDescs[0].Fields[51].MessageType = xxx_Test_ProtoFile_MessageDescs[22].Reference() |
| 1600 | xxx_Test_ProtoFile_MessageDescs[0].Fields[52].MessageType = xxx_Test_ProtoFile_MessageDescs[23].Reference() |
| 1601 | xxx_Test_ProtoFile_MessageDescs[0].Fields[54].MessageType = xxx_Test_ProtoFile_MessageTypes[4].Type |
| 1602 | xxx_Test_ProtoFile_MessageDescs[0].Fields[61].EnumType = xxx_Test_ProtoFile_EnumTypes[0] |
| 1603 | xxx_Test_ProtoFile_MessageDescs[4].Fields[1].MessageType = xxx_Test_ProtoFile_MessageTypes[0].Type |
| 1604 | xxx_Test_ProtoFile_MessageDescs[22].Fields[1].MessageType = xxx_Test_ProtoFile_MessageTypes[4].Type |
| 1605 | xxx_Test_ProtoFile_MessageDescs[23].Fields[1].EnumType = xxx_Test_ProtoFile_EnumTypes[0] |
| 1606 | var err error |
| 1607 | Test_ProtoFile, err = prototype.NewFile(&xxx_Test_ProtoFile_FileDesc) |
| 1608 | if err != nil { |
| 1609 | panic(err) |
| 1610 | } |
| 1611 | } |
| 1612 | |
| 1613 | const _ = protoimpl.EnforceVersion(protoimpl.Version - 0) |
| 1614 | |
| 1615 | var Test_ProtoFile protoreflect.FileDescriptor |
| 1616 | |
| 1617 | var xxx_Test_ProtoFile_FileDesc = prototype.File{ |
| 1618 | Syntax: protoreflect.Proto2, |
| 1619 | Path: "test.proto", |
| 1620 | Package: "goproto.proto.test", |
| 1621 | } |
| 1622 | var xxx_Test_ProtoFile_EnumTypes = [1]protoreflect.EnumType{ |
| 1623 | prototype.GoEnum( |
| 1624 | xxx_Test_ProtoFile_EnumDescs[0].Reference(), |
| 1625 | func(_ protoreflect.EnumType, n protoreflect.EnumNumber) protoreflect.ProtoEnum { |
| 1626 | return TestAllTypes_NestedEnum(n) |
| 1627 | }, |
| 1628 | ), |
| 1629 | } |
| 1630 | var xxx_Test_ProtoFile_EnumDescs = [1]prototype.Enum{ |
| 1631 | { |
| 1632 | Name: "NestedEnum", |
| 1633 | Values: []prototype.EnumValue{ |
| 1634 | {Name: "FOO", Number: 0}, |
| 1635 | {Name: "BAR", Number: 1}, |
| 1636 | {Name: "BAZ", Number: 2}, |
| 1637 | {Name: "NEG", Number: -1}, |
| 1638 | }, |
| 1639 | }, |
| 1640 | } |
| 1641 | var xxx_Test_ProtoFile_MessageTypes = [24]protoimpl.MessageType{ |
| 1642 | {Type: prototype.GoMessage( |
| 1643 | xxx_Test_ProtoFile_MessageDescs[0].Reference(), |
| 1644 | func(protoreflect.MessageType) protoreflect.ProtoMessage { |
| 1645 | return new(TestAllTypes) |
| 1646 | }, |
| 1647 | )}, |
| 1648 | {Type: prototype.GoMessage( |
| 1649 | xxx_Test_ProtoFile_MessageDescs[1].Reference(), |
| 1650 | func(protoreflect.MessageType) protoreflect.ProtoMessage { |
| 1651 | return new(TestAllExtensions) |
| 1652 | }, |
| 1653 | )}, |
| 1654 | {Type: prototype.GoMessage( |
| 1655 | xxx_Test_ProtoFile_MessageDescs[2].Reference(), |
| 1656 | func(protoreflect.MessageType) protoreflect.ProtoMessage { |
| 1657 | return new(OptionalGroupExtension) |
| 1658 | }, |
| 1659 | )}, |
| 1660 | {Type: prototype.GoMessage( |
| 1661 | xxx_Test_ProtoFile_MessageDescs[3].Reference(), |
| 1662 | func(protoreflect.MessageType) protoreflect.ProtoMessage { |
| 1663 | return new(RepeatedGroupExtension) |
| 1664 | }, |
| 1665 | )}, |
| 1666 | {Type: prototype.GoMessage( |
| 1667 | xxx_Test_ProtoFile_MessageDescs[4].Reference(), |
| 1668 | func(protoreflect.MessageType) protoreflect.ProtoMessage { |
| 1669 | return new(TestAllTypes_NestedMessage) |
| 1670 | }, |
| 1671 | )}, |
| 1672 | {Type: prototype.GoMessage( |
| 1673 | xxx_Test_ProtoFile_MessageDescs[5].Reference(), |
| 1674 | func(protoreflect.MessageType) protoreflect.ProtoMessage { |
| 1675 | return new(TestAllTypes_OptionalGroup) |
| 1676 | }, |
| 1677 | )}, |
| 1678 | {Type: prototype.GoMessage( |
| 1679 | xxx_Test_ProtoFile_MessageDescs[6].Reference(), |
| 1680 | func(protoreflect.MessageType) protoreflect.ProtoMessage { |
| 1681 | return new(TestAllTypes_RepeatedGroup) |
| 1682 | }, |
| 1683 | )}, |
| 1684 | { /* no message type for TestAllTypes_MapInt32Int32Entry */ }, |
| 1685 | { /* no message type for TestAllTypes_MapInt64Int64Entry */ }, |
| 1686 | { /* no message type for TestAllTypes_MapUint32Uint32Entry */ }, |
| 1687 | { /* no message type for TestAllTypes_MapUint64Uint64Entry */ }, |
| 1688 | { /* no message type for TestAllTypes_MapSint32Sint32Entry */ }, |
| 1689 | { /* no message type for TestAllTypes_MapSint64Sint64Entry */ }, |
| 1690 | { /* no message type for TestAllTypes_MapFixed32Fixed32Entry */ }, |
| 1691 | { /* no message type for TestAllTypes_MapFixed64Fixed64Entry */ }, |
| 1692 | { /* no message type for TestAllTypes_MapSfixed32Sfixed32Entry */ }, |
| 1693 | { /* no message type for TestAllTypes_MapSfixed64Sfixed64Entry */ }, |
| 1694 | { /* no message type for TestAllTypes_MapInt32FloatEntry */ }, |
| 1695 | { /* no message type for TestAllTypes_MapInt32DoubleEntry */ }, |
| 1696 | { /* no message type for TestAllTypes_MapBoolBoolEntry */ }, |
| 1697 | { /* no message type for TestAllTypes_MapStringStringEntry */ }, |
| 1698 | { /* no message type for TestAllTypes_MapStringBytesEntry */ }, |
| 1699 | { /* no message type for TestAllTypes_MapStringNestedMessageEntry */ }, |
| 1700 | { /* no message type for TestAllTypes_MapStringNestedEnumEntry */ }, |
| 1701 | } |
| 1702 | var xxx_Test_ProtoFile_MessageDescs = [24]prototype.Message{ |
| 1703 | { |
| 1704 | Name: "TestAllTypes", |
| 1705 | Fields: []prototype.Field{ |
| 1706 | { |
| 1707 | Name: "optional_int32", |
| 1708 | Number: 1, |
| 1709 | Cardinality: protoreflect.Optional, |
| 1710 | Kind: protoreflect.Int32Kind, |
| 1711 | JSONName: "optionalInt32", |
| 1712 | IsPacked: prototype.False, |
| 1713 | }, |
| 1714 | { |
| 1715 | Name: "optional_int64", |
| 1716 | Number: 2, |
| 1717 | Cardinality: protoreflect.Optional, |
| 1718 | Kind: protoreflect.Int64Kind, |
| 1719 | JSONName: "optionalInt64", |
| 1720 | IsPacked: prototype.False, |
| 1721 | }, |
| 1722 | { |
| 1723 | Name: "optional_uint32", |
| 1724 | Number: 3, |
| 1725 | Cardinality: protoreflect.Optional, |
| 1726 | Kind: protoreflect.Uint32Kind, |
| 1727 | JSONName: "optionalUint32", |
| 1728 | IsPacked: prototype.False, |
| 1729 | }, |
| 1730 | { |
| 1731 | Name: "optional_uint64", |
| 1732 | Number: 4, |
| 1733 | Cardinality: protoreflect.Optional, |
| 1734 | Kind: protoreflect.Uint64Kind, |
| 1735 | JSONName: "optionalUint64", |
| 1736 | IsPacked: prototype.False, |
| 1737 | }, |
| 1738 | { |
| 1739 | Name: "optional_sint32", |
| 1740 | Number: 5, |
| 1741 | Cardinality: protoreflect.Optional, |
| 1742 | Kind: protoreflect.Sint32Kind, |
| 1743 | JSONName: "optionalSint32", |
| 1744 | IsPacked: prototype.False, |
| 1745 | }, |
| 1746 | { |
| 1747 | Name: "optional_sint64", |
| 1748 | Number: 6, |
| 1749 | Cardinality: protoreflect.Optional, |
| 1750 | Kind: protoreflect.Sint64Kind, |
| 1751 | JSONName: "optionalSint64", |
| 1752 | IsPacked: prototype.False, |
| 1753 | }, |
| 1754 | { |
| 1755 | Name: "optional_fixed32", |
| 1756 | Number: 7, |
| 1757 | Cardinality: protoreflect.Optional, |
| 1758 | Kind: protoreflect.Fixed32Kind, |
| 1759 | JSONName: "optionalFixed32", |
| 1760 | IsPacked: prototype.False, |
| 1761 | }, |
| 1762 | { |
| 1763 | Name: "optional_fixed64", |
| 1764 | Number: 8, |
| 1765 | Cardinality: protoreflect.Optional, |
| 1766 | Kind: protoreflect.Fixed64Kind, |
| 1767 | JSONName: "optionalFixed64", |
| 1768 | IsPacked: prototype.False, |
| 1769 | }, |
| 1770 | { |
| 1771 | Name: "optional_sfixed32", |
| 1772 | Number: 9, |
| 1773 | Cardinality: protoreflect.Optional, |
| 1774 | Kind: protoreflect.Sfixed32Kind, |
| 1775 | JSONName: "optionalSfixed32", |
| 1776 | IsPacked: prototype.False, |
| 1777 | }, |
| 1778 | { |
| 1779 | Name: "optional_sfixed64", |
| 1780 | Number: 10, |
| 1781 | Cardinality: protoreflect.Optional, |
| 1782 | Kind: protoreflect.Sfixed64Kind, |
| 1783 | JSONName: "optionalSfixed64", |
| 1784 | IsPacked: prototype.False, |
| 1785 | }, |
| 1786 | { |
| 1787 | Name: "optional_float", |
| 1788 | Number: 11, |
| 1789 | Cardinality: protoreflect.Optional, |
| 1790 | Kind: protoreflect.FloatKind, |
| 1791 | JSONName: "optionalFloat", |
| 1792 | IsPacked: prototype.False, |
| 1793 | }, |
| 1794 | { |
| 1795 | Name: "optional_double", |
| 1796 | Number: 12, |
| 1797 | Cardinality: protoreflect.Optional, |
| 1798 | Kind: protoreflect.DoubleKind, |
| 1799 | JSONName: "optionalDouble", |
| 1800 | IsPacked: prototype.False, |
| 1801 | }, |
| 1802 | { |
| 1803 | Name: "optional_bool", |
| 1804 | Number: 13, |
| 1805 | Cardinality: protoreflect.Optional, |
| 1806 | Kind: protoreflect.BoolKind, |
| 1807 | JSONName: "optionalBool", |
| 1808 | IsPacked: prototype.False, |
| 1809 | }, |
| 1810 | { |
| 1811 | Name: "optional_string", |
| 1812 | Number: 14, |
| 1813 | Cardinality: protoreflect.Optional, |
| 1814 | Kind: protoreflect.StringKind, |
| 1815 | JSONName: "optionalString", |
| 1816 | IsPacked: prototype.False, |
| 1817 | }, |
| 1818 | { |
| 1819 | Name: "optional_bytes", |
| 1820 | Number: 15, |
| 1821 | Cardinality: protoreflect.Optional, |
| 1822 | Kind: protoreflect.BytesKind, |
| 1823 | JSONName: "optionalBytes", |
| 1824 | IsPacked: prototype.False, |
| 1825 | }, |
| 1826 | { |
| 1827 | Name: "optionalgroup", |
| 1828 | Number: 16, |
| 1829 | Cardinality: protoreflect.Optional, |
| 1830 | Kind: protoreflect.GroupKind, |
| 1831 | JSONName: "optionalgroup", |
| 1832 | IsPacked: prototype.False, |
| 1833 | }, |
| 1834 | { |
| 1835 | Name: "optional_nested_message", |
| 1836 | Number: 18, |
| 1837 | Cardinality: protoreflect.Optional, |
| 1838 | Kind: protoreflect.MessageKind, |
| 1839 | JSONName: "optionalNestedMessage", |
| 1840 | IsPacked: prototype.False, |
| 1841 | }, |
| 1842 | { |
| 1843 | Name: "optional_nested_enum", |
| 1844 | Number: 21, |
| 1845 | Cardinality: protoreflect.Optional, |
| 1846 | Kind: protoreflect.EnumKind, |
| 1847 | JSONName: "optionalNestedEnum", |
| 1848 | IsPacked: prototype.False, |
| 1849 | }, |
| 1850 | { |
| 1851 | Name: "repeated_int32", |
| 1852 | Number: 31, |
| 1853 | Cardinality: protoreflect.Repeated, |
| 1854 | Kind: protoreflect.Int32Kind, |
| 1855 | JSONName: "repeatedInt32", |
| 1856 | IsPacked: prototype.False, |
| 1857 | }, |
| 1858 | { |
| 1859 | Name: "repeated_int64", |
| 1860 | Number: 32, |
| 1861 | Cardinality: protoreflect.Repeated, |
| 1862 | Kind: protoreflect.Int64Kind, |
| 1863 | JSONName: "repeatedInt64", |
| 1864 | IsPacked: prototype.False, |
| 1865 | }, |
| 1866 | { |
| 1867 | Name: "repeated_uint32", |
| 1868 | Number: 33, |
| 1869 | Cardinality: protoreflect.Repeated, |
| 1870 | Kind: protoreflect.Uint32Kind, |
| 1871 | JSONName: "repeatedUint32", |
| 1872 | IsPacked: prototype.False, |
| 1873 | }, |
| 1874 | { |
| 1875 | Name: "repeated_uint64", |
| 1876 | Number: 34, |
| 1877 | Cardinality: protoreflect.Repeated, |
| 1878 | Kind: protoreflect.Uint64Kind, |
| 1879 | JSONName: "repeatedUint64", |
| 1880 | IsPacked: prototype.False, |
| 1881 | }, |
| 1882 | { |
| 1883 | Name: "repeated_sint32", |
| 1884 | Number: 35, |
| 1885 | Cardinality: protoreflect.Repeated, |
| 1886 | Kind: protoreflect.Sint32Kind, |
| 1887 | JSONName: "repeatedSint32", |
| 1888 | IsPacked: prototype.False, |
| 1889 | }, |
| 1890 | { |
| 1891 | Name: "repeated_sint64", |
| 1892 | Number: 36, |
| 1893 | Cardinality: protoreflect.Repeated, |
| 1894 | Kind: protoreflect.Sint64Kind, |
| 1895 | JSONName: "repeatedSint64", |
| 1896 | IsPacked: prototype.False, |
| 1897 | }, |
| 1898 | { |
| 1899 | Name: "repeated_fixed32", |
| 1900 | Number: 37, |
| 1901 | Cardinality: protoreflect.Repeated, |
| 1902 | Kind: protoreflect.Fixed32Kind, |
| 1903 | JSONName: "repeatedFixed32", |
| 1904 | IsPacked: prototype.False, |
| 1905 | }, |
| 1906 | { |
| 1907 | Name: "repeated_fixed64", |
| 1908 | Number: 38, |
| 1909 | Cardinality: protoreflect.Repeated, |
| 1910 | Kind: protoreflect.Fixed64Kind, |
| 1911 | JSONName: "repeatedFixed64", |
| 1912 | IsPacked: prototype.False, |
| 1913 | }, |
| 1914 | { |
| 1915 | Name: "repeated_sfixed32", |
| 1916 | Number: 39, |
| 1917 | Cardinality: protoreflect.Repeated, |
| 1918 | Kind: protoreflect.Sfixed32Kind, |
| 1919 | JSONName: "repeatedSfixed32", |
| 1920 | IsPacked: prototype.False, |
| 1921 | }, |
| 1922 | { |
| 1923 | Name: "repeated_sfixed64", |
| 1924 | Number: 40, |
| 1925 | Cardinality: protoreflect.Repeated, |
| 1926 | Kind: protoreflect.Sfixed64Kind, |
| 1927 | JSONName: "repeatedSfixed64", |
| 1928 | IsPacked: prototype.False, |
| 1929 | }, |
| 1930 | { |
| 1931 | Name: "repeated_float", |
| 1932 | Number: 41, |
| 1933 | Cardinality: protoreflect.Repeated, |
| 1934 | Kind: protoreflect.FloatKind, |
| 1935 | JSONName: "repeatedFloat", |
| 1936 | IsPacked: prototype.False, |
| 1937 | }, |
| 1938 | { |
| 1939 | Name: "repeated_double", |
| 1940 | Number: 42, |
| 1941 | Cardinality: protoreflect.Repeated, |
| 1942 | Kind: protoreflect.DoubleKind, |
| 1943 | JSONName: "repeatedDouble", |
| 1944 | IsPacked: prototype.False, |
| 1945 | }, |
| 1946 | { |
| 1947 | Name: "repeated_bool", |
| 1948 | Number: 43, |
| 1949 | Cardinality: protoreflect.Repeated, |
| 1950 | Kind: protoreflect.BoolKind, |
| 1951 | JSONName: "repeatedBool", |
| 1952 | IsPacked: prototype.False, |
| 1953 | }, |
| 1954 | { |
| 1955 | Name: "repeated_string", |
| 1956 | Number: 44, |
| 1957 | Cardinality: protoreflect.Repeated, |
| 1958 | Kind: protoreflect.StringKind, |
| 1959 | JSONName: "repeatedString", |
| 1960 | IsPacked: prototype.False, |
| 1961 | }, |
| 1962 | { |
| 1963 | Name: "repeated_bytes", |
| 1964 | Number: 45, |
| 1965 | Cardinality: protoreflect.Repeated, |
| 1966 | Kind: protoreflect.BytesKind, |
| 1967 | JSONName: "repeatedBytes", |
| 1968 | IsPacked: prototype.False, |
| 1969 | }, |
| 1970 | { |
| 1971 | Name: "repeatedgroup", |
| 1972 | Number: 46, |
| 1973 | Cardinality: protoreflect.Repeated, |
| 1974 | Kind: protoreflect.GroupKind, |
| 1975 | JSONName: "repeatedgroup", |
| 1976 | IsPacked: prototype.False, |
| 1977 | }, |
| 1978 | { |
| 1979 | Name: "repeated_nested_message", |
| 1980 | Number: 48, |
| 1981 | Cardinality: protoreflect.Repeated, |
| 1982 | Kind: protoreflect.MessageKind, |
| 1983 | JSONName: "repeatedNestedMessage", |
| 1984 | IsPacked: prototype.False, |
| 1985 | }, |
| 1986 | { |
| 1987 | Name: "repeated_nested_enum", |
| 1988 | Number: 51, |
| 1989 | Cardinality: protoreflect.Repeated, |
| 1990 | Kind: protoreflect.EnumKind, |
| 1991 | JSONName: "repeatedNestedEnum", |
| 1992 | IsPacked: prototype.False, |
| 1993 | }, |
| 1994 | { |
| 1995 | Name: "map_int32_int32", |
| 1996 | Number: 56, |
| 1997 | Cardinality: protoreflect.Repeated, |
| 1998 | Kind: protoreflect.MessageKind, |
| 1999 | JSONName: "mapInt32Int32", |
| 2000 | IsPacked: prototype.False, |
| 2001 | }, |
| 2002 | { |
| 2003 | Name: "map_int64_int64", |
| 2004 | Number: 57, |
| 2005 | Cardinality: protoreflect.Repeated, |
| 2006 | Kind: protoreflect.MessageKind, |
| 2007 | JSONName: "mapInt64Int64", |
| 2008 | IsPacked: prototype.False, |
| 2009 | }, |
| 2010 | { |
| 2011 | Name: "map_uint32_uint32", |
| 2012 | Number: 58, |
| 2013 | Cardinality: protoreflect.Repeated, |
| 2014 | Kind: protoreflect.MessageKind, |
| 2015 | JSONName: "mapUint32Uint32", |
| 2016 | IsPacked: prototype.False, |
| 2017 | }, |
| 2018 | { |
| 2019 | Name: "map_uint64_uint64", |
| 2020 | Number: 59, |
| 2021 | Cardinality: protoreflect.Repeated, |
| 2022 | Kind: protoreflect.MessageKind, |
| 2023 | JSONName: "mapUint64Uint64", |
| 2024 | IsPacked: prototype.False, |
| 2025 | }, |
| 2026 | { |
| 2027 | Name: "map_sint32_sint32", |
| 2028 | Number: 60, |
| 2029 | Cardinality: protoreflect.Repeated, |
| 2030 | Kind: protoreflect.MessageKind, |
| 2031 | JSONName: "mapSint32Sint32", |
| 2032 | IsPacked: prototype.False, |
| 2033 | }, |
| 2034 | { |
| 2035 | Name: "map_sint64_sint64", |
| 2036 | Number: 61, |
| 2037 | Cardinality: protoreflect.Repeated, |
| 2038 | Kind: protoreflect.MessageKind, |
| 2039 | JSONName: "mapSint64Sint64", |
| 2040 | IsPacked: prototype.False, |
| 2041 | }, |
| 2042 | { |
| 2043 | Name: "map_fixed32_fixed32", |
| 2044 | Number: 62, |
| 2045 | Cardinality: protoreflect.Repeated, |
| 2046 | Kind: protoreflect.MessageKind, |
| 2047 | JSONName: "mapFixed32Fixed32", |
| 2048 | IsPacked: prototype.False, |
| 2049 | }, |
| 2050 | { |
| 2051 | Name: "map_fixed64_fixed64", |
| 2052 | Number: 63, |
| 2053 | Cardinality: protoreflect.Repeated, |
| 2054 | Kind: protoreflect.MessageKind, |
| 2055 | JSONName: "mapFixed64Fixed64", |
| 2056 | IsPacked: prototype.False, |
| 2057 | }, |
| 2058 | { |
| 2059 | Name: "map_sfixed32_sfixed32", |
| 2060 | Number: 64, |
| 2061 | Cardinality: protoreflect.Repeated, |
| 2062 | Kind: protoreflect.MessageKind, |
| 2063 | JSONName: "mapSfixed32Sfixed32", |
| 2064 | IsPacked: prototype.False, |
| 2065 | }, |
| 2066 | { |
| 2067 | Name: "map_sfixed64_sfixed64", |
| 2068 | Number: 65, |
| 2069 | Cardinality: protoreflect.Repeated, |
| 2070 | Kind: protoreflect.MessageKind, |
| 2071 | JSONName: "mapSfixed64Sfixed64", |
| 2072 | IsPacked: prototype.False, |
| 2073 | }, |
| 2074 | { |
| 2075 | Name: "map_int32_float", |
| 2076 | Number: 66, |
| 2077 | Cardinality: protoreflect.Repeated, |
| 2078 | Kind: protoreflect.MessageKind, |
| 2079 | JSONName: "mapInt32Float", |
| 2080 | IsPacked: prototype.False, |
| 2081 | }, |
| 2082 | { |
| 2083 | Name: "map_int32_double", |
| 2084 | Number: 67, |
| 2085 | Cardinality: protoreflect.Repeated, |
| 2086 | Kind: protoreflect.MessageKind, |
| 2087 | JSONName: "mapInt32Double", |
| 2088 | IsPacked: prototype.False, |
| 2089 | }, |
| 2090 | { |
| 2091 | Name: "map_bool_bool", |
| 2092 | Number: 68, |
| 2093 | Cardinality: protoreflect.Repeated, |
| 2094 | Kind: protoreflect.MessageKind, |
| 2095 | JSONName: "mapBoolBool", |
| 2096 | IsPacked: prototype.False, |
| 2097 | }, |
| 2098 | { |
| 2099 | Name: "map_string_string", |
| 2100 | Number: 69, |
| 2101 | Cardinality: protoreflect.Repeated, |
| 2102 | Kind: protoreflect.MessageKind, |
| 2103 | JSONName: "mapStringString", |
| 2104 | IsPacked: prototype.False, |
| 2105 | }, |
| 2106 | { |
| 2107 | Name: "map_string_bytes", |
| 2108 | Number: 70, |
| 2109 | Cardinality: protoreflect.Repeated, |
| 2110 | Kind: protoreflect.MessageKind, |
| 2111 | JSONName: "mapStringBytes", |
| 2112 | IsPacked: prototype.False, |
| 2113 | }, |
| 2114 | { |
| 2115 | Name: "map_string_nested_message", |
| 2116 | Number: 71, |
| 2117 | Cardinality: protoreflect.Repeated, |
| 2118 | Kind: protoreflect.MessageKind, |
| 2119 | JSONName: "mapStringNestedMessage", |
| 2120 | IsPacked: prototype.False, |
| 2121 | }, |
| 2122 | { |
| 2123 | Name: "map_string_nested_enum", |
| 2124 | Number: 73, |
| 2125 | Cardinality: protoreflect.Repeated, |
| 2126 | Kind: protoreflect.MessageKind, |
| 2127 | JSONName: "mapStringNestedEnum", |
| 2128 | IsPacked: prototype.False, |
| 2129 | }, |
| 2130 | { |
| 2131 | Name: "oneof_uint32", |
| 2132 | Number: 111, |
| 2133 | Cardinality: protoreflect.Optional, |
| 2134 | Kind: protoreflect.Uint32Kind, |
| 2135 | JSONName: "oneofUint32", |
| 2136 | OneofName: "oneof_field", |
| 2137 | IsPacked: prototype.False, |
| 2138 | }, |
| 2139 | { |
| 2140 | Name: "oneof_nested_message", |
| 2141 | Number: 112, |
| 2142 | Cardinality: protoreflect.Optional, |
| 2143 | Kind: protoreflect.MessageKind, |
| 2144 | JSONName: "oneofNestedMessage", |
| 2145 | OneofName: "oneof_field", |
| 2146 | IsPacked: prototype.False, |
| 2147 | }, |
| 2148 | { |
| 2149 | Name: "oneof_string", |
| 2150 | Number: 113, |
| 2151 | Cardinality: protoreflect.Optional, |
| 2152 | Kind: protoreflect.StringKind, |
| 2153 | JSONName: "oneofString", |
| 2154 | OneofName: "oneof_field", |
| 2155 | IsPacked: prototype.False, |
| 2156 | }, |
| 2157 | { |
| 2158 | Name: "oneof_bytes", |
| 2159 | Number: 114, |
| 2160 | Cardinality: protoreflect.Optional, |
| 2161 | Kind: protoreflect.BytesKind, |
| 2162 | JSONName: "oneofBytes", |
| 2163 | OneofName: "oneof_field", |
| 2164 | IsPacked: prototype.False, |
| 2165 | }, |
| 2166 | { |
| 2167 | Name: "oneof_bool", |
| 2168 | Number: 115, |
| 2169 | Cardinality: protoreflect.Optional, |
| 2170 | Kind: protoreflect.BoolKind, |
| 2171 | JSONName: "oneofBool", |
| 2172 | OneofName: "oneof_field", |
| 2173 | IsPacked: prototype.False, |
| 2174 | }, |
| 2175 | { |
| 2176 | Name: "oneof_uint64", |
| 2177 | Number: 116, |
| 2178 | Cardinality: protoreflect.Optional, |
| 2179 | Kind: protoreflect.Uint64Kind, |
| 2180 | JSONName: "oneofUint64", |
| 2181 | OneofName: "oneof_field", |
| 2182 | IsPacked: prototype.False, |
| 2183 | }, |
| 2184 | { |
| 2185 | Name: "oneof_float", |
| 2186 | Number: 117, |
| 2187 | Cardinality: protoreflect.Optional, |
| 2188 | Kind: protoreflect.FloatKind, |
| 2189 | JSONName: "oneofFloat", |
| 2190 | OneofName: "oneof_field", |
| 2191 | IsPacked: prototype.False, |
| 2192 | }, |
| 2193 | { |
| 2194 | Name: "oneof_double", |
| 2195 | Number: 118, |
| 2196 | Cardinality: protoreflect.Optional, |
| 2197 | Kind: protoreflect.DoubleKind, |
| 2198 | JSONName: "oneofDouble", |
| 2199 | OneofName: "oneof_field", |
| 2200 | IsPacked: prototype.False, |
| 2201 | }, |
| 2202 | { |
| 2203 | Name: "oneof_enum", |
| 2204 | Number: 119, |
| 2205 | Cardinality: protoreflect.Optional, |
| 2206 | Kind: protoreflect.EnumKind, |
| 2207 | JSONName: "oneofEnum", |
| 2208 | OneofName: "oneof_field", |
| 2209 | IsPacked: prototype.False, |
| 2210 | }, |
| 2211 | }, |
| 2212 | Oneofs: []prototype.Oneof{ |
| 2213 | {Name: "oneof_field"}, |
| 2214 | }, |
| 2215 | }, |
| 2216 | { |
| 2217 | Name: "TestAllExtensions", |
| 2218 | ExtensionRanges: [][2]protoreflect.FieldNumber{{1, 536870912}}, |
| 2219 | }, |
| 2220 | { |
| 2221 | Name: "OptionalGroup_extension", |
| 2222 | Fields: []prototype.Field{ |
| 2223 | { |
| 2224 | Name: "a", |
| 2225 | Number: 17, |
| 2226 | Cardinality: protoreflect.Optional, |
| 2227 | Kind: protoreflect.Int32Kind, |
| 2228 | JSONName: "a", |
| 2229 | IsPacked: prototype.False, |
| 2230 | }, |
| 2231 | }, |
| 2232 | }, |
| 2233 | { |
| 2234 | Name: "RepeatedGroup_extension", |
| 2235 | Fields: []prototype.Field{ |
| 2236 | { |
| 2237 | Name: "a", |
| 2238 | Number: 47, |
| 2239 | Cardinality: protoreflect.Optional, |
| 2240 | Kind: protoreflect.Int32Kind, |
| 2241 | JSONName: "a", |
| 2242 | IsPacked: prototype.False, |
| 2243 | }, |
| 2244 | }, |
| 2245 | }, |
| 2246 | { |
| 2247 | Name: "NestedMessage", |
| 2248 | Fields: []prototype.Field{ |
| 2249 | { |
| 2250 | Name: "a", |
| 2251 | Number: 1, |
| 2252 | Cardinality: protoreflect.Optional, |
| 2253 | Kind: protoreflect.Int32Kind, |
| 2254 | JSONName: "a", |
| 2255 | IsPacked: prototype.False, |
| 2256 | }, |
| 2257 | { |
| 2258 | Name: "corecursive", |
| 2259 | Number: 2, |
| 2260 | Cardinality: protoreflect.Optional, |
| 2261 | Kind: protoreflect.MessageKind, |
| 2262 | JSONName: "corecursive", |
| 2263 | IsPacked: prototype.False, |
| 2264 | }, |
| 2265 | }, |
| 2266 | }, |
| 2267 | { |
| 2268 | Name: "OptionalGroup", |
| 2269 | Fields: []prototype.Field{ |
| 2270 | { |
| 2271 | Name: "a", |
| 2272 | Number: 17, |
| 2273 | Cardinality: protoreflect.Optional, |
| 2274 | Kind: protoreflect.Int32Kind, |
| 2275 | JSONName: "a", |
| 2276 | IsPacked: prototype.False, |
| 2277 | }, |
| 2278 | }, |
| 2279 | }, |
| 2280 | { |
| 2281 | Name: "RepeatedGroup", |
| 2282 | Fields: []prototype.Field{ |
| 2283 | { |
| 2284 | Name: "a", |
| 2285 | Number: 47, |
| 2286 | Cardinality: protoreflect.Optional, |
| 2287 | Kind: protoreflect.Int32Kind, |
| 2288 | JSONName: "a", |
| 2289 | IsPacked: prototype.False, |
| 2290 | }, |
| 2291 | }, |
| 2292 | }, |
| 2293 | { |
| 2294 | Name: "MapInt32Int32Entry", |
| 2295 | Fields: []prototype.Field{ |
| 2296 | { |
| 2297 | Name: "key", |
| 2298 | Number: 1, |
| 2299 | Cardinality: protoreflect.Optional, |
| 2300 | Kind: protoreflect.Int32Kind, |
| 2301 | JSONName: "key", |
| 2302 | IsPacked: prototype.False, |
| 2303 | }, |
| 2304 | { |
| 2305 | Name: "value", |
| 2306 | Number: 2, |
| 2307 | Cardinality: protoreflect.Optional, |
| 2308 | Kind: protoreflect.Int32Kind, |
| 2309 | JSONName: "value", |
| 2310 | IsPacked: prototype.False, |
| 2311 | }, |
| 2312 | }, |
| 2313 | IsMapEntry: true, |
| 2314 | }, |
| 2315 | { |
| 2316 | Name: "MapInt64Int64Entry", |
| 2317 | Fields: []prototype.Field{ |
| 2318 | { |
| 2319 | Name: "key", |
| 2320 | Number: 1, |
| 2321 | Cardinality: protoreflect.Optional, |
| 2322 | Kind: protoreflect.Int64Kind, |
| 2323 | JSONName: "key", |
| 2324 | IsPacked: prototype.False, |
| 2325 | }, |
| 2326 | { |
| 2327 | Name: "value", |
| 2328 | Number: 2, |
| 2329 | Cardinality: protoreflect.Optional, |
| 2330 | Kind: protoreflect.Int64Kind, |
| 2331 | JSONName: "value", |
| 2332 | IsPacked: prototype.False, |
| 2333 | }, |
| 2334 | }, |
| 2335 | IsMapEntry: true, |
| 2336 | }, |
| 2337 | { |
| 2338 | Name: "MapUint32Uint32Entry", |
| 2339 | Fields: []prototype.Field{ |
| 2340 | { |
| 2341 | Name: "key", |
| 2342 | Number: 1, |
| 2343 | Cardinality: protoreflect.Optional, |
| 2344 | Kind: protoreflect.Uint32Kind, |
| 2345 | JSONName: "key", |
| 2346 | IsPacked: prototype.False, |
| 2347 | }, |
| 2348 | { |
| 2349 | Name: "value", |
| 2350 | Number: 2, |
| 2351 | Cardinality: protoreflect.Optional, |
| 2352 | Kind: protoreflect.Uint32Kind, |
| 2353 | JSONName: "value", |
| 2354 | IsPacked: prototype.False, |
| 2355 | }, |
| 2356 | }, |
| 2357 | IsMapEntry: true, |
| 2358 | }, |
| 2359 | { |
| 2360 | Name: "MapUint64Uint64Entry", |
| 2361 | Fields: []prototype.Field{ |
| 2362 | { |
| 2363 | Name: "key", |
| 2364 | Number: 1, |
| 2365 | Cardinality: protoreflect.Optional, |
| 2366 | Kind: protoreflect.Uint64Kind, |
| 2367 | JSONName: "key", |
| 2368 | IsPacked: prototype.False, |
| 2369 | }, |
| 2370 | { |
| 2371 | Name: "value", |
| 2372 | Number: 2, |
| 2373 | Cardinality: protoreflect.Optional, |
| 2374 | Kind: protoreflect.Uint64Kind, |
| 2375 | JSONName: "value", |
| 2376 | IsPacked: prototype.False, |
| 2377 | }, |
| 2378 | }, |
| 2379 | IsMapEntry: true, |
| 2380 | }, |
| 2381 | { |
| 2382 | Name: "MapSint32Sint32Entry", |
| 2383 | Fields: []prototype.Field{ |
| 2384 | { |
| 2385 | Name: "key", |
| 2386 | Number: 1, |
| 2387 | Cardinality: protoreflect.Optional, |
| 2388 | Kind: protoreflect.Sint32Kind, |
| 2389 | JSONName: "key", |
| 2390 | IsPacked: prototype.False, |
| 2391 | }, |
| 2392 | { |
| 2393 | Name: "value", |
| 2394 | Number: 2, |
| 2395 | Cardinality: protoreflect.Optional, |
| 2396 | Kind: protoreflect.Sint32Kind, |
| 2397 | JSONName: "value", |
| 2398 | IsPacked: prototype.False, |
| 2399 | }, |
| 2400 | }, |
| 2401 | IsMapEntry: true, |
| 2402 | }, |
| 2403 | { |
| 2404 | Name: "MapSint64Sint64Entry", |
| 2405 | Fields: []prototype.Field{ |
| 2406 | { |
| 2407 | Name: "key", |
| 2408 | Number: 1, |
| 2409 | Cardinality: protoreflect.Optional, |
| 2410 | Kind: protoreflect.Sint64Kind, |
| 2411 | JSONName: "key", |
| 2412 | IsPacked: prototype.False, |
| 2413 | }, |
| 2414 | { |
| 2415 | Name: "value", |
| 2416 | Number: 2, |
| 2417 | Cardinality: protoreflect.Optional, |
| 2418 | Kind: protoreflect.Sint64Kind, |
| 2419 | JSONName: "value", |
| 2420 | IsPacked: prototype.False, |
| 2421 | }, |
| 2422 | }, |
| 2423 | IsMapEntry: true, |
| 2424 | }, |
| 2425 | { |
| 2426 | Name: "MapFixed32Fixed32Entry", |
| 2427 | Fields: []prototype.Field{ |
| 2428 | { |
| 2429 | Name: "key", |
| 2430 | Number: 1, |
| 2431 | Cardinality: protoreflect.Optional, |
| 2432 | Kind: protoreflect.Fixed32Kind, |
| 2433 | JSONName: "key", |
| 2434 | IsPacked: prototype.False, |
| 2435 | }, |
| 2436 | { |
| 2437 | Name: "value", |
| 2438 | Number: 2, |
| 2439 | Cardinality: protoreflect.Optional, |
| 2440 | Kind: protoreflect.Fixed32Kind, |
| 2441 | JSONName: "value", |
| 2442 | IsPacked: prototype.False, |
| 2443 | }, |
| 2444 | }, |
| 2445 | IsMapEntry: true, |
| 2446 | }, |
| 2447 | { |
| 2448 | Name: "MapFixed64Fixed64Entry", |
| 2449 | Fields: []prototype.Field{ |
| 2450 | { |
| 2451 | Name: "key", |
| 2452 | Number: 1, |
| 2453 | Cardinality: protoreflect.Optional, |
| 2454 | Kind: protoreflect.Fixed64Kind, |
| 2455 | JSONName: "key", |
| 2456 | IsPacked: prototype.False, |
| 2457 | }, |
| 2458 | { |
| 2459 | Name: "value", |
| 2460 | Number: 2, |
| 2461 | Cardinality: protoreflect.Optional, |
| 2462 | Kind: protoreflect.Fixed64Kind, |
| 2463 | JSONName: "value", |
| 2464 | IsPacked: prototype.False, |
| 2465 | }, |
| 2466 | }, |
| 2467 | IsMapEntry: true, |
| 2468 | }, |
| 2469 | { |
| 2470 | Name: "MapSfixed32Sfixed32Entry", |
| 2471 | Fields: []prototype.Field{ |
| 2472 | { |
| 2473 | Name: "key", |
| 2474 | Number: 1, |
| 2475 | Cardinality: protoreflect.Optional, |
| 2476 | Kind: protoreflect.Sfixed32Kind, |
| 2477 | JSONName: "key", |
| 2478 | IsPacked: prototype.False, |
| 2479 | }, |
| 2480 | { |
| 2481 | Name: "value", |
| 2482 | Number: 2, |
| 2483 | Cardinality: protoreflect.Optional, |
| 2484 | Kind: protoreflect.Sfixed32Kind, |
| 2485 | JSONName: "value", |
| 2486 | IsPacked: prototype.False, |
| 2487 | }, |
| 2488 | }, |
| 2489 | IsMapEntry: true, |
| 2490 | }, |
| 2491 | { |
| 2492 | Name: "MapSfixed64Sfixed64Entry", |
| 2493 | Fields: []prototype.Field{ |
| 2494 | { |
| 2495 | Name: "key", |
| 2496 | Number: 1, |
| 2497 | Cardinality: protoreflect.Optional, |
| 2498 | Kind: protoreflect.Sfixed64Kind, |
| 2499 | JSONName: "key", |
| 2500 | IsPacked: prototype.False, |
| 2501 | }, |
| 2502 | { |
| 2503 | Name: "value", |
| 2504 | Number: 2, |
| 2505 | Cardinality: protoreflect.Optional, |
| 2506 | Kind: protoreflect.Sfixed64Kind, |
| 2507 | JSONName: "value", |
| 2508 | IsPacked: prototype.False, |
| 2509 | }, |
| 2510 | }, |
| 2511 | IsMapEntry: true, |
| 2512 | }, |
| 2513 | { |
| 2514 | Name: "MapInt32FloatEntry", |
| 2515 | Fields: []prototype.Field{ |
| 2516 | { |
| 2517 | Name: "key", |
| 2518 | Number: 1, |
| 2519 | Cardinality: protoreflect.Optional, |
| 2520 | Kind: protoreflect.Int32Kind, |
| 2521 | JSONName: "key", |
| 2522 | IsPacked: prototype.False, |
| 2523 | }, |
| 2524 | { |
| 2525 | Name: "value", |
| 2526 | Number: 2, |
| 2527 | Cardinality: protoreflect.Optional, |
| 2528 | Kind: protoreflect.FloatKind, |
| 2529 | JSONName: "value", |
| 2530 | IsPacked: prototype.False, |
| 2531 | }, |
| 2532 | }, |
| 2533 | IsMapEntry: true, |
| 2534 | }, |
| 2535 | { |
| 2536 | Name: "MapInt32DoubleEntry", |
| 2537 | Fields: []prototype.Field{ |
| 2538 | { |
| 2539 | Name: "key", |
| 2540 | Number: 1, |
| 2541 | Cardinality: protoreflect.Optional, |
| 2542 | Kind: protoreflect.Int32Kind, |
| 2543 | JSONName: "key", |
| 2544 | IsPacked: prototype.False, |
| 2545 | }, |
| 2546 | { |
| 2547 | Name: "value", |
| 2548 | Number: 2, |
| 2549 | Cardinality: protoreflect.Optional, |
| 2550 | Kind: protoreflect.DoubleKind, |
| 2551 | JSONName: "value", |
| 2552 | IsPacked: prototype.False, |
| 2553 | }, |
| 2554 | }, |
| 2555 | IsMapEntry: true, |
| 2556 | }, |
| 2557 | { |
| 2558 | Name: "MapBoolBoolEntry", |
| 2559 | Fields: []prototype.Field{ |
| 2560 | { |
| 2561 | Name: "key", |
| 2562 | Number: 1, |
| 2563 | Cardinality: protoreflect.Optional, |
| 2564 | Kind: protoreflect.BoolKind, |
| 2565 | JSONName: "key", |
| 2566 | IsPacked: prototype.False, |
| 2567 | }, |
| 2568 | { |
| 2569 | Name: "value", |
| 2570 | Number: 2, |
| 2571 | Cardinality: protoreflect.Optional, |
| 2572 | Kind: protoreflect.BoolKind, |
| 2573 | JSONName: "value", |
| 2574 | IsPacked: prototype.False, |
| 2575 | }, |
| 2576 | }, |
| 2577 | IsMapEntry: true, |
| 2578 | }, |
| 2579 | { |
| 2580 | Name: "MapStringStringEntry", |
| 2581 | Fields: []prototype.Field{ |
| 2582 | { |
| 2583 | Name: "key", |
| 2584 | Number: 1, |
| 2585 | Cardinality: protoreflect.Optional, |
| 2586 | Kind: protoreflect.StringKind, |
| 2587 | JSONName: "key", |
| 2588 | IsPacked: prototype.False, |
| 2589 | }, |
| 2590 | { |
| 2591 | Name: "value", |
| 2592 | Number: 2, |
| 2593 | Cardinality: protoreflect.Optional, |
| 2594 | Kind: protoreflect.StringKind, |
| 2595 | JSONName: "value", |
| 2596 | IsPacked: prototype.False, |
| 2597 | }, |
| 2598 | }, |
| 2599 | IsMapEntry: true, |
| 2600 | }, |
| 2601 | { |
| 2602 | Name: "MapStringBytesEntry", |
| 2603 | Fields: []prototype.Field{ |
| 2604 | { |
| 2605 | Name: "key", |
| 2606 | Number: 1, |
| 2607 | Cardinality: protoreflect.Optional, |
| 2608 | Kind: protoreflect.StringKind, |
| 2609 | JSONName: "key", |
| 2610 | IsPacked: prototype.False, |
| 2611 | }, |
| 2612 | { |
| 2613 | Name: "value", |
| 2614 | Number: 2, |
| 2615 | Cardinality: protoreflect.Optional, |
| 2616 | Kind: protoreflect.BytesKind, |
| 2617 | JSONName: "value", |
| 2618 | IsPacked: prototype.False, |
| 2619 | }, |
| 2620 | }, |
| 2621 | IsMapEntry: true, |
| 2622 | }, |
| 2623 | { |
| 2624 | Name: "MapStringNestedMessageEntry", |
| 2625 | Fields: []prototype.Field{ |
| 2626 | { |
| 2627 | Name: "key", |
| 2628 | Number: 1, |
| 2629 | Cardinality: protoreflect.Optional, |
| 2630 | Kind: protoreflect.StringKind, |
| 2631 | JSONName: "key", |
| 2632 | IsPacked: prototype.False, |
| 2633 | }, |
| 2634 | { |
| 2635 | Name: "value", |
| 2636 | Number: 2, |
| 2637 | Cardinality: protoreflect.Optional, |
| 2638 | Kind: protoreflect.MessageKind, |
| 2639 | JSONName: "value", |
| 2640 | IsPacked: prototype.False, |
| 2641 | }, |
| 2642 | }, |
| 2643 | IsMapEntry: true, |
| 2644 | }, |
| 2645 | { |
| 2646 | Name: "MapStringNestedEnumEntry", |
| 2647 | Fields: []prototype.Field{ |
| 2648 | { |
| 2649 | Name: "key", |
| 2650 | Number: 1, |
| 2651 | Cardinality: protoreflect.Optional, |
| 2652 | Kind: protoreflect.StringKind, |
| 2653 | JSONName: "key", |
| 2654 | IsPacked: prototype.False, |
| 2655 | }, |
| 2656 | { |
| 2657 | Name: "value", |
| 2658 | Number: 2, |
| 2659 | Cardinality: protoreflect.Optional, |
| 2660 | Kind: protoreflect.EnumKind, |
| 2661 | JSONName: "value", |
| 2662 | IsPacked: prototype.False, |
| 2663 | }, |
| 2664 | }, |
| 2665 | IsMapEntry: true, |
| 2666 | }, |
| 2667 | } |