| // Copyright 2024 The Go Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style |
| // license that can be found in the LICENSE file. |
| |
| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: internal/testprotos/lazy/lazy_extension_test.proto |
| |
| package lazy |
| |
| import ( |
| messagesetpb "google.golang.org/protobuf/internal/testprotos/messageset/messagesetpb" |
| protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| reflect "reflect" |
| sync "sync" |
| unsafe "unsafe" |
| ) |
| |
| type FlyingFoxSpecies int32 |
| |
| const ( |
| FlyingFoxSpecies_FLYING_FOX_UNDEFINED FlyingFoxSpecies = 0 |
| FlyingFoxSpecies_GREY_HEADED FlyingFoxSpecies = 1 |
| FlyingFoxSpecies_BLACK FlyingFoxSpecies = 2 |
| FlyingFoxSpecies_SPECTACLED FlyingFoxSpecies = 3 |
| FlyingFoxSpecies_LARGE_EARED FlyingFoxSpecies = 4 |
| FlyingFoxSpecies_DUSKY FlyingFoxSpecies = 5 |
| FlyingFoxSpecies_TORRESIAN FlyingFoxSpecies = 6 |
| FlyingFoxSpecies_BARE_BACKED FlyingFoxSpecies = 7 |
| ) |
| |
| // Enum value maps for FlyingFoxSpecies. |
| var ( |
| FlyingFoxSpecies_name = map[int32]string{ |
| 0: "FLYING_FOX_UNDEFINED", |
| 1: "GREY_HEADED", |
| 2: "BLACK", |
| 3: "SPECTACLED", |
| 4: "LARGE_EARED", |
| 5: "DUSKY", |
| 6: "TORRESIAN", |
| 7: "BARE_BACKED", |
| } |
| FlyingFoxSpecies_value = map[string]int32{ |
| "FLYING_FOX_UNDEFINED": 0, |
| "GREY_HEADED": 1, |
| "BLACK": 2, |
| "SPECTACLED": 3, |
| "LARGE_EARED": 4, |
| "DUSKY": 5, |
| "TORRESIAN": 6, |
| "BARE_BACKED": 7, |
| } |
| ) |
| |
| func (x FlyingFoxSpecies) Enum() *FlyingFoxSpecies { |
| p := new(FlyingFoxSpecies) |
| *p = x |
| return p |
| } |
| |
| func (x FlyingFoxSpecies) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (FlyingFoxSpecies) Descriptor() protoreflect.EnumDescriptor { |
| return file_internal_testprotos_lazy_lazy_extension_test_proto_enumTypes[0].Descriptor() |
| } |
| |
| func (FlyingFoxSpecies) Type() protoreflect.EnumType { |
| return &file_internal_testprotos_lazy_lazy_extension_test_proto_enumTypes[0] |
| } |
| |
| func (x FlyingFoxSpecies) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *FlyingFoxSpecies) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = FlyingFoxSpecies(num) |
| return nil |
| } |
| |
| // Deprecated: Use FlyingFoxSpecies.Descriptor instead. |
| func (FlyingFoxSpecies) EnumDescriptor() ([]byte, []int) { |
| return file_internal_testprotos_lazy_lazy_extension_test_proto_rawDescGZIP(), []int{0} |
| } |
| |
| type PipistrelleSpecies int32 |
| |
| const ( |
| PipistrelleSpecies_PIPISTRELLE_UNDEFINED PipistrelleSpecies = 0 |
| PipistrelleSpecies_FOREST PipistrelleSpecies = 1 |
| PipistrelleSpecies_INDIAN PipistrelleSpecies = 2 |
| PipistrelleSpecies_EGYPTIAN PipistrelleSpecies = 3 |
| PipistrelleSpecies_RUSTY PipistrelleSpecies = 4 |
| PipistrelleSpecies_LEAST PipistrelleSpecies = 5 |
| ) |
| |
| // Enum value maps for PipistrelleSpecies. |
| var ( |
| PipistrelleSpecies_name = map[int32]string{ |
| 0: "PIPISTRELLE_UNDEFINED", |
| 1: "FOREST", |
| 2: "INDIAN", |
| 3: "EGYPTIAN", |
| 4: "RUSTY", |
| 5: "LEAST", |
| } |
| PipistrelleSpecies_value = map[string]int32{ |
| "PIPISTRELLE_UNDEFINED": 0, |
| "FOREST": 1, |
| "INDIAN": 2, |
| "EGYPTIAN": 3, |
| "RUSTY": 4, |
| "LEAST": 5, |
| } |
| ) |
| |
| func (x PipistrelleSpecies) Enum() *PipistrelleSpecies { |
| p := new(PipistrelleSpecies) |
| *p = x |
| return p |
| } |
| |
| func (x PipistrelleSpecies) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (PipistrelleSpecies) Descriptor() protoreflect.EnumDescriptor { |
| return file_internal_testprotos_lazy_lazy_extension_test_proto_enumTypes[1].Descriptor() |
| } |
| |
| func (PipistrelleSpecies) Type() protoreflect.EnumType { |
| return &file_internal_testprotos_lazy_lazy_extension_test_proto_enumTypes[1] |
| } |
| |
| func (x PipistrelleSpecies) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Do not use. |
| func (x *PipistrelleSpecies) UnmarshalJSON(b []byte) error { |
| num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| if err != nil { |
| return err |
| } |
| *x = PipistrelleSpecies(num) |
| return nil |
| } |
| |
| // Deprecated: Use PipistrelleSpecies.Descriptor instead. |
| func (PipistrelleSpecies) EnumDescriptor() ([]byte, []int) { |
| return file_internal_testprotos_lazy_lazy_extension_test_proto_rawDescGZIP(), []int{1} |
| } |
| |
| // This message contains a message set. |
| type Holder struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Data *messagesetpb.MessageSet `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Holder) Reset() { |
| *x = Holder{} |
| mi := &file_internal_testprotos_lazy_lazy_extension_test_proto_msgTypes[0] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Holder) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Holder) ProtoMessage() {} |
| |
| func (x *Holder) ProtoReflect() protoreflect.Message { |
| mi := &file_internal_testprotos_lazy_lazy_extension_test_proto_msgTypes[0] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Holder.ProtoReflect.Descriptor instead. |
| func (*Holder) Descriptor() ([]byte, []int) { |
| return file_internal_testprotos_lazy_lazy_extension_test_proto_rawDescGZIP(), []int{0} |
| } |
| |
| func (x *Holder) GetData() *messagesetpb.MessageSet { |
| if x != nil { |
| return x.Data |
| } |
| return nil |
| } |
| |
| // This message may be inserted into a message set. |
| type Rabbit struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Rabbit) Reset() { |
| *x = Rabbit{} |
| mi := &file_internal_testprotos_lazy_lazy_extension_test_proto_msgTypes[1] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Rabbit) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Rabbit) ProtoMessage() {} |
| |
| func (x *Rabbit) ProtoReflect() protoreflect.Message { |
| mi := &file_internal_testprotos_lazy_lazy_extension_test_proto_msgTypes[1] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Rabbit.ProtoReflect.Descriptor instead. |
| func (*Rabbit) Descriptor() ([]byte, []int) { |
| return file_internal_testprotos_lazy_lazy_extension_test_proto_rawDescGZIP(), []int{1} |
| } |
| |
| func (x *Rabbit) GetName() string { |
| if x != nil && x.Name != nil { |
| return *x.Name |
| } |
| return "" |
| } |
| |
| type FlyingFox struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Species *FlyingFoxSpecies `protobuf:"varint,1,opt,name=species,enum=lazy_extension_test.FlyingFoxSpecies" json:"species,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *FlyingFox) Reset() { |
| *x = FlyingFox{} |
| mi := &file_internal_testprotos_lazy_lazy_extension_test_proto_msgTypes[2] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *FlyingFox) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*FlyingFox) ProtoMessage() {} |
| |
| func (x *FlyingFox) ProtoReflect() protoreflect.Message { |
| mi := &file_internal_testprotos_lazy_lazy_extension_test_proto_msgTypes[2] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use FlyingFox.ProtoReflect.Descriptor instead. |
| func (*FlyingFox) Descriptor() ([]byte, []int) { |
| return file_internal_testprotos_lazy_lazy_extension_test_proto_rawDescGZIP(), []int{2} |
| } |
| |
| func (x *FlyingFox) GetSpecies() FlyingFoxSpecies { |
| if x != nil && x.Species != nil { |
| return *x.Species |
| } |
| return FlyingFoxSpecies_FLYING_FOX_UNDEFINED |
| } |
| |
| type Tree struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Eucalyptus *bool `protobuf:"varint,1,opt,name=eucalyptus" json:"eucalyptus,omitempty"` |
| extensionFields protoimpl.ExtensionFields |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Tree) Reset() { |
| *x = Tree{} |
| mi := &file_internal_testprotos_lazy_lazy_extension_test_proto_msgTypes[3] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Tree) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Tree) ProtoMessage() {} |
| |
| func (x *Tree) ProtoReflect() protoreflect.Message { |
| mi := &file_internal_testprotos_lazy_lazy_extension_test_proto_msgTypes[3] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Tree.ProtoReflect.Descriptor instead. |
| func (*Tree) Descriptor() ([]byte, []int) { |
| return file_internal_testprotos_lazy_lazy_extension_test_proto_rawDescGZIP(), []int{3} |
| } |
| |
| func (x *Tree) GetEucalyptus() bool { |
| if x != nil && x.Eucalyptus != nil { |
| return *x.Eucalyptus |
| } |
| return false |
| } |
| |
| type Pipistrelle struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Species *PipistrelleSpecies `protobuf:"varint,1,opt,name=species,enum=lazy_extension_test.PipistrelleSpecies" json:"species,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Pipistrelle) Reset() { |
| *x = Pipistrelle{} |
| mi := &file_internal_testprotos_lazy_lazy_extension_test_proto_msgTypes[4] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Pipistrelle) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Pipistrelle) ProtoMessage() {} |
| |
| func (x *Pipistrelle) ProtoReflect() protoreflect.Message { |
| mi := &file_internal_testprotos_lazy_lazy_extension_test_proto_msgTypes[4] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Pipistrelle.ProtoReflect.Descriptor instead. |
| func (*Pipistrelle) Descriptor() ([]byte, []int) { |
| return file_internal_testprotos_lazy_lazy_extension_test_proto_rawDescGZIP(), []int{4} |
| } |
| |
| func (x *Pipistrelle) GetSpecies() PipistrelleSpecies { |
| if x != nil && x.Species != nil { |
| return *x.Species |
| } |
| return PipistrelleSpecies_PIPISTRELLE_UNDEFINED |
| } |
| |
| type Pipistrelles struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Species *PipistrelleSpecies `protobuf:"varint,1,opt,name=species,enum=lazy_extension_test.PipistrelleSpecies" json:"species,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Pipistrelles) Reset() { |
| *x = Pipistrelles{} |
| mi := &file_internal_testprotos_lazy_lazy_extension_test_proto_msgTypes[5] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Pipistrelles) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Pipistrelles) ProtoMessage() {} |
| |
| func (x *Pipistrelles) ProtoReflect() protoreflect.Message { |
| mi := &file_internal_testprotos_lazy_lazy_extension_test_proto_msgTypes[5] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Pipistrelles.ProtoReflect.Descriptor instead. |
| func (*Pipistrelles) Descriptor() ([]byte, []int) { |
| return file_internal_testprotos_lazy_lazy_extension_test_proto_rawDescGZIP(), []int{5} |
| } |
| |
| func (x *Pipistrelles) GetSpecies() PipistrelleSpecies { |
| if x != nil && x.Species != nil { |
| return *x.Species |
| } |
| return PipistrelleSpecies_PIPISTRELLE_UNDEFINED |
| } |
| |
| // And the ugly version that is not encouraged |
| type BatNest struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *BatNest) Reset() { |
| *x = BatNest{} |
| mi := &file_internal_testprotos_lazy_lazy_extension_test_proto_msgTypes[6] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *BatNest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*BatNest) ProtoMessage() {} |
| |
| func (x *BatNest) ProtoReflect() protoreflect.Message { |
| mi := &file_internal_testprotos_lazy_lazy_extension_test_proto_msgTypes[6] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use BatNest.ProtoReflect.Descriptor instead. |
| func (*BatNest) Descriptor() ([]byte, []int) { |
| return file_internal_testprotos_lazy_lazy_extension_test_proto_rawDescGZIP(), []int{6} |
| } |
| |
| var file_internal_testprotos_lazy_lazy_extension_test_proto_extTypes = []protoimpl.ExtensionInfo{ |
| { |
| ExtendedType: (*Tree)(nil), |
| ExtensionType: (*FlyingFox)(nil), |
| Field: 345570595, |
| Name: "lazy_extension_test.bat", |
| Tag: "bytes,345570595,opt,name=bat", |
| Filename: "internal/testprotos/lazy/lazy_extension_test.proto", |
| }, |
| { |
| ExtendedType: (*Tree)(nil), |
| ExtensionType: (*FlyingFox)(nil), |
| Field: 345570596, |
| Name: "lazy_extension_test.bat_pup", |
| Tag: "bytes,345570596,opt,name=bat_pup", |
| Filename: "internal/testprotos/lazy/lazy_extension_test.proto", |
| }, |
| { |
| ExtendedType: (*Tree)(nil), |
| ExtensionType: ([]*FlyingFox)(nil), |
| Field: 345570597, |
| Name: "lazy_extension_test.bat_posse", |
| Tag: "bytes,345570597,rep,name=bat_posse", |
| Filename: "internal/testprotos/lazy/lazy_extension_test.proto", |
| }, |
| { |
| ExtendedType: (*Tree)(nil), |
| ExtensionType: ([]byte)(nil), |
| Field: 345570598, |
| Name: "lazy_extension_test.binary_bat", |
| Tag: "bytes,345570598,opt,name=binary_bat", |
| Filename: "internal/testprotos/lazy/lazy_extension_test.proto", |
| }, |
| { |
| ExtendedType: (*Tree)(nil), |
| ExtensionType: (*uint32)(nil), |
| Field: 345570599, |
| Name: "lazy_extension_test.integer_bat", |
| Tag: "varint,345570599,opt,name=integer_bat", |
| Filename: "internal/testprotos/lazy/lazy_extension_test.proto", |
| }, |
| { |
| ExtendedType: (*Tree)(nil), |
| ExtensionType: (*Pipistrelle)(nil), |
| Field: 345570600, |
| Name: "lazy_extension_test.pipistrelle", |
| Tag: "group,345570600,opt,name=Pipistrelle", |
| Filename: "internal/testprotos/lazy/lazy_extension_test.proto", |
| }, |
| { |
| ExtendedType: (*Tree)(nil), |
| ExtensionType: ([]*Pipistrelles)(nil), |
| Field: 345570601, |
| Name: "lazy_extension_test.pipistrelles", |
| Tag: "group,345570601,rep,name=Pipistrelles", |
| Filename: "internal/testprotos/lazy/lazy_extension_test.proto", |
| }, |
| { |
| ExtendedType: (*messagesetpb.MessageSet)(nil), |
| ExtensionType: (*Rabbit)(nil), |
| Field: 345570595, |
| Name: "lazy_extension_test.Rabbit.message_set_extension", |
| Tag: "bytes,345570595,opt,name=message_set_extension", |
| Filename: "internal/testprotos/lazy/lazy_extension_test.proto", |
| }, |
| { |
| ExtendedType: (*Tree)(nil), |
| ExtensionType: (*FlyingFox)(nil), |
| Field: 345570602, |
| Name: "lazy_extension_test.BatNest.bat", |
| Tag: "bytes,345570602,opt,name=bat", |
| Filename: "internal/testprotos/lazy/lazy_extension_test.proto", |
| }, |
| } |
| |
| // Extension fields to Tree. |
| var ( |
| // optional lazy_extension_test.FlyingFox bat = 345570595; |
| E_Bat = &file_internal_testprotos_lazy_lazy_extension_test_proto_extTypes[0] |
| // optional lazy_extension_test.FlyingFox bat_pup = 345570596; |
| E_BatPup = &file_internal_testprotos_lazy_lazy_extension_test_proto_extTypes[1] |
| // repeated lazy_extension_test.FlyingFox bat_posse = 345570597; |
| E_BatPosse = &file_internal_testprotos_lazy_lazy_extension_test_proto_extTypes[2] |
| // optional bytes binary_bat = 345570598; |
| E_BinaryBat = &file_internal_testprotos_lazy_lazy_extension_test_proto_extTypes[3] |
| // optional uint32 integer_bat = 345570599; |
| E_IntegerBat = &file_internal_testprotos_lazy_lazy_extension_test_proto_extTypes[4] |
| // optional lazy_extension_test.Pipistrelle pipistrelle = 345570600; |
| E_Pipistrelle = &file_internal_testprotos_lazy_lazy_extension_test_proto_extTypes[5] |
| // repeated lazy_extension_test.Pipistrelles pipistrelles = 345570601; |
| E_Pipistrelles = &file_internal_testprotos_lazy_lazy_extension_test_proto_extTypes[6] |
| // optional lazy_extension_test.FlyingFox bat = 345570602; |
| E_BatNest_Bat = &file_internal_testprotos_lazy_lazy_extension_test_proto_extTypes[8] |
| ) |
| |
| // Extension fields to messagesetpb.MessageSet. |
| var ( |
| // optional lazy_extension_test.Rabbit message_set_extension = 345570595; |
| E_Rabbit_MessageSetExtension = &file_internal_testprotos_lazy_lazy_extension_test_proto_extTypes[7] |
| ) |
| |
| var File_internal_testprotos_lazy_lazy_extension_test_proto protoreflect.FileDescriptor |
| |
| const file_internal_testprotos_lazy_lazy_extension_test_proto_rawDesc = "" + |
| "\n" + |
| "2internal/testprotos/lazy/lazy_extension_test.proto\x12\x13lazy_extension_test\x1a=internal/testprotos/messageset/messagesetpb/message_set.proto\"B\n" + |
| "\x06Holder\x128\n" + |
| "\x04data\x18\x01 \x01(\v2$.goproto.proto.messageset.MessageSetR\x04data\"\x97\x01\n" + |
| "\x06Rabbit\x12\x12\n" + |
| "\x04name\x18\x01 \x01(\tR\x04name2y\n" + |
| "\x15message_set_extension\x12$.goproto.proto.messageset.MessageSet\x18\xa3\xfa\xe3\xa4\x01 \x01(\v2\x1b.lazy_extension_test.RabbitR\x13messageSetExtension\"L\n" + |
| "\tFlyingFox\x12?\n" + |
| "\aspecies\x18\x01 \x01(\x0e2%.lazy_extension_test.FlyingFoxSpeciesR\aspecies\"1\n" + |
| "\x04Tree\x12\x1e\n" + |
| "\n" + |
| "eucalyptus\x18\x01 \x01(\bR\n" + |
| "eucalyptus*\t\b\x90N\x10\x80\x80\x80\x80\x02\"P\n" + |
| "\vPipistrelle\x12A\n" + |
| "\aspecies\x18\x01 \x01(\x0e2'.lazy_extension_test.PipistrelleSpeciesR\aspecies\"Q\n" + |
| "\fPipistrelles\x12A\n" + |
| "\aspecies\x18\x01 \x01(\x0e2'.lazy_extension_test.PipistrelleSpeciesR\aspecies\"Z\n" + |
| "\aBatNest2O\n" + |
| "\x03bat\x12\x19.lazy_extension_test.Tree\x18\xaa\xfa\xe3\xa4\x01 \x01(\v2\x1e.lazy_extension_test.FlyingFoxR\x03bat*\x94\x01\n" + |
| "\x10FlyingFoxSpecies\x12\x18\n" + |
| "\x14FLYING_FOX_UNDEFINED\x10\x00\x12\x0f\n" + |
| "\vGREY_HEADED\x10\x01\x12\t\n" + |
| "\x05BLACK\x10\x02\x12\x0e\n" + |
| "\n" + |
| "SPECTACLED\x10\x03\x12\x0f\n" + |
| "\vLARGE_EARED\x10\x04\x12\t\n" + |
| "\x05DUSKY\x10\x05\x12\r\n" + |
| "\tTORRESIAN\x10\x06\x12\x0f\n" + |
| "\vBARE_BACKED\x10\a*k\n" + |
| "\x12PipistrelleSpecies\x12\x19\n" + |
| "\x15PIPISTRELLE_UNDEFINED\x10\x00\x12\n" + |
| "\n" + |
| "\x06FOREST\x10\x01\x12\n" + |
| "\n" + |
| "\x06INDIAN\x10\x02\x12\f\n" + |
| "\bEGYPTIAN\x10\x03\x12\t\n" + |
| "\x05RUSTY\x10\x04\x12\t\n" + |
| "\x05LEAST\x10\x05:O\n" + |
| "\x03bat\x12\x19.lazy_extension_test.Tree\x18\xa3\xfa\xe3\xa4\x01 \x01(\v2\x1e.lazy_extension_test.FlyingFoxR\x03bat:V\n" + |
| "\abat_pup\x12\x19.lazy_extension_test.Tree\x18\xa4\xfa\xe3\xa4\x01 \x01(\v2\x1e.lazy_extension_test.FlyingFoxR\x06batPup:Z\n" + |
| "\tbat_posse\x12\x19.lazy_extension_test.Tree\x18\xa5\xfa\xe3\xa4\x01 \x03(\v2\x1e.lazy_extension_test.FlyingFoxR\bbatPosse:<\n" + |
| "\n" + |
| "binary_bat\x12\x19.lazy_extension_test.Tree\x18\xa6\xfa\xe3\xa4\x01 \x01(\fR\tbinaryBat:>\n" + |
| "\vinteger_bat\x12\x19.lazy_extension_test.Tree\x18\xa7\xfa\xe3\xa4\x01 \x01(\rR\n" + |
| "integerBat:a\n" + |
| "\vpipistrelle\x12\x19.lazy_extension_test.Tree\x18\xa8\xfa\xe3\xa4\x01 \x01(\n" + |
| "2 .lazy_extension_test.PipistrelleR\vpipistrelle:d\n" + |
| "\fpipistrelles\x12\x19.lazy_extension_test.Tree\x18\xa9\xfa\xe3\xa4\x01 \x03(\n" + |
| "2!.lazy_extension_test.PipistrellesR\fpipistrellesB5Z3google.golang.org/protobuf/internal/testprotos/lazy" |
| |
| var ( |
| file_internal_testprotos_lazy_lazy_extension_test_proto_rawDescOnce sync.Once |
| file_internal_testprotos_lazy_lazy_extension_test_proto_rawDescData []byte |
| ) |
| |
| func file_internal_testprotos_lazy_lazy_extension_test_proto_rawDescGZIP() []byte { |
| file_internal_testprotos_lazy_lazy_extension_test_proto_rawDescOnce.Do(func() { |
| file_internal_testprotos_lazy_lazy_extension_test_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_internal_testprotos_lazy_lazy_extension_test_proto_rawDesc), len(file_internal_testprotos_lazy_lazy_extension_test_proto_rawDesc))) |
| }) |
| return file_internal_testprotos_lazy_lazy_extension_test_proto_rawDescData |
| } |
| |
| var file_internal_testprotos_lazy_lazy_extension_test_proto_enumTypes = make([]protoimpl.EnumInfo, 2) |
| var file_internal_testprotos_lazy_lazy_extension_test_proto_msgTypes = make([]protoimpl.MessageInfo, 7) |
| var file_internal_testprotos_lazy_lazy_extension_test_proto_goTypes = []any{ |
| (FlyingFoxSpecies)(0), // 0: lazy_extension_test.FlyingFoxSpecies |
| (PipistrelleSpecies)(0), // 1: lazy_extension_test.PipistrelleSpecies |
| (*Holder)(nil), // 2: lazy_extension_test.Holder |
| (*Rabbit)(nil), // 3: lazy_extension_test.Rabbit |
| (*FlyingFox)(nil), // 4: lazy_extension_test.FlyingFox |
| (*Tree)(nil), // 5: lazy_extension_test.Tree |
| (*Pipistrelle)(nil), // 6: lazy_extension_test.Pipistrelle |
| (*Pipistrelles)(nil), // 7: lazy_extension_test.Pipistrelles |
| (*BatNest)(nil), // 8: lazy_extension_test.BatNest |
| (*messagesetpb.MessageSet)(nil), // 9: goproto.proto.messageset.MessageSet |
| } |
| var file_internal_testprotos_lazy_lazy_extension_test_proto_depIdxs = []int32{ |
| 9, // 0: lazy_extension_test.Holder.data:type_name -> goproto.proto.messageset.MessageSet |
| 0, // 1: lazy_extension_test.FlyingFox.species:type_name -> lazy_extension_test.FlyingFoxSpecies |
| 1, // 2: lazy_extension_test.Pipistrelle.species:type_name -> lazy_extension_test.PipistrelleSpecies |
| 1, // 3: lazy_extension_test.Pipistrelles.species:type_name -> lazy_extension_test.PipistrelleSpecies |
| 5, // 4: lazy_extension_test.bat:extendee -> lazy_extension_test.Tree |
| 5, // 5: lazy_extension_test.bat_pup:extendee -> lazy_extension_test.Tree |
| 5, // 6: lazy_extension_test.bat_posse:extendee -> lazy_extension_test.Tree |
| 5, // 7: lazy_extension_test.binary_bat:extendee -> lazy_extension_test.Tree |
| 5, // 8: lazy_extension_test.integer_bat:extendee -> lazy_extension_test.Tree |
| 5, // 9: lazy_extension_test.pipistrelle:extendee -> lazy_extension_test.Tree |
| 5, // 10: lazy_extension_test.pipistrelles:extendee -> lazy_extension_test.Tree |
| 9, // 11: lazy_extension_test.Rabbit.message_set_extension:extendee -> goproto.proto.messageset.MessageSet |
| 5, // 12: lazy_extension_test.BatNest.bat:extendee -> lazy_extension_test.Tree |
| 4, // 13: lazy_extension_test.bat:type_name -> lazy_extension_test.FlyingFox |
| 4, // 14: lazy_extension_test.bat_pup:type_name -> lazy_extension_test.FlyingFox |
| 4, // 15: lazy_extension_test.bat_posse:type_name -> lazy_extension_test.FlyingFox |
| 6, // 16: lazy_extension_test.pipistrelle:type_name -> lazy_extension_test.Pipistrelle |
| 7, // 17: lazy_extension_test.pipistrelles:type_name -> lazy_extension_test.Pipistrelles |
| 3, // 18: lazy_extension_test.Rabbit.message_set_extension:type_name -> lazy_extension_test.Rabbit |
| 4, // 19: lazy_extension_test.BatNest.bat:type_name -> lazy_extension_test.FlyingFox |
| 20, // [20:20] is the sub-list for method output_type |
| 20, // [20:20] is the sub-list for method input_type |
| 13, // [13:20] is the sub-list for extension type_name |
| 4, // [4:13] is the sub-list for extension extendee |
| 0, // [0:4] is the sub-list for field type_name |
| } |
| |
| func init() { file_internal_testprotos_lazy_lazy_extension_test_proto_init() } |
| func file_internal_testprotos_lazy_lazy_extension_test_proto_init() { |
| if File_internal_testprotos_lazy_lazy_extension_test_proto != nil { |
| return |
| } |
| type x struct{} |
| out := protoimpl.TypeBuilder{ |
| File: protoimpl.DescBuilder{ |
| GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| RawDescriptor: unsafe.Slice(unsafe.StringData(file_internal_testprotos_lazy_lazy_extension_test_proto_rawDesc), len(file_internal_testprotos_lazy_lazy_extension_test_proto_rawDesc)), |
| NumEnums: 2, |
| NumMessages: 7, |
| NumExtensions: 9, |
| NumServices: 0, |
| }, |
| GoTypes: file_internal_testprotos_lazy_lazy_extension_test_proto_goTypes, |
| DependencyIndexes: file_internal_testprotos_lazy_lazy_extension_test_proto_depIdxs, |
| EnumInfos: file_internal_testprotos_lazy_lazy_extension_test_proto_enumTypes, |
| MessageInfos: file_internal_testprotos_lazy_lazy_extension_test_proto_msgTypes, |
| ExtensionInfos: file_internal_testprotos_lazy_lazy_extension_test_proto_extTypes, |
| }.Build() |
| File_internal_testprotos_lazy_lazy_extension_test_proto = out.File |
| file_internal_testprotos_lazy_lazy_extension_test_proto_goTypes = nil |
| file_internal_testprotos_lazy_lazy_extension_test_proto_depIdxs = nil |
| } |