test.pb.go 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: encoding/textpb/testprotos/pb3/test.proto
  3. package pb3
  4. import (
  5. bytes "bytes"
  6. gzip "compress/gzip"
  7. proto "github.com/golang/protobuf/proto"
  8. protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect"
  9. protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl"
  10. reflect "reflect"
  11. )
  12. // This is a compile-time assertion to ensure that this generated file
  13. // is compatible with the proto package it is being compiled against.
  14. // A compilation error at this line likely means your copy of the
  15. // proto package needs to be updated.
  16. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  17. type Enum int32
  18. const (
  19. Enum_ZERO Enum = 0
  20. Enum_ONE Enum = 1
  21. Enum_TWO Enum = 2
  22. Enum_TEN Enum = 10
  23. )
  24. func (e Enum) Type() protoreflect.EnumType {
  25. return xxx_Test_protoFile_enumTypes[0]
  26. }
  27. func (e Enum) Number() protoreflect.EnumNumber {
  28. return protoreflect.EnumNumber(e)
  29. }
  30. var Enum_name = map[int32]string{
  31. 0: "ZERO",
  32. 1: "ONE",
  33. 2: "TWO",
  34. 10: "TEN",
  35. }
  36. var Enum_value = map[string]int32{
  37. "ZERO": 0,
  38. "ONE": 1,
  39. "TWO": 2,
  40. "TEN": 10,
  41. }
  42. func (x Enum) String() string {
  43. return proto.EnumName(Enum_name, int32(x))
  44. }
  45. func (Enum) EnumDescriptor() ([]byte, []int) {
  46. return fileDescriptor_0854715c5b41c422_gzipped, []int{0}
  47. }
  48. type Enums_NestedEnum int32
  49. const (
  50. Enums_CERO Enums_NestedEnum = 0
  51. Enums_UNO Enums_NestedEnum = 1
  52. Enums_DOS Enums_NestedEnum = 2
  53. Enums_DIEZ Enums_NestedEnum = 10
  54. )
  55. func (e Enums_NestedEnum) Type() protoreflect.EnumType {
  56. return xxx_Test_protoFile_enumTypes[1]
  57. }
  58. func (e Enums_NestedEnum) Number() protoreflect.EnumNumber {
  59. return protoreflect.EnumNumber(e)
  60. }
  61. var Enums_NestedEnum_name = map[int32]string{
  62. 0: "CERO",
  63. 1: "UNO",
  64. 2: "DOS",
  65. 10: "DIEZ",
  66. }
  67. var Enums_NestedEnum_value = map[string]int32{
  68. "CERO": 0,
  69. "UNO": 1,
  70. "DOS": 2,
  71. "DIEZ": 10,
  72. }
  73. func (x Enums_NestedEnum) String() string {
  74. return proto.EnumName(Enums_NestedEnum_name, int32(x))
  75. }
  76. func (Enums_NestedEnum) EnumDescriptor() ([]byte, []int) {
  77. return fileDescriptor_0854715c5b41c422_gzipped, []int{1, 0}
  78. }
  79. // Scalars contains scalar field types.
  80. type Scalars struct {
  81. SBool bool `protobuf:"varint,1,opt,name=s_bool,json=sBool,proto3" json:"s_bool,omitempty"`
  82. SInt32 int32 `protobuf:"varint,2,opt,name=s_int32,json=sInt32,proto3" json:"s_int32,omitempty"`
  83. SInt64 int64 `protobuf:"varint,3,opt,name=s_int64,json=sInt64,proto3" json:"s_int64,omitempty"`
  84. SUint32 uint32 `protobuf:"varint,4,opt,name=s_uint32,json=sUint32,proto3" json:"s_uint32,omitempty"`
  85. SUint64 uint64 `protobuf:"varint,5,opt,name=s_uint64,json=sUint64,proto3" json:"s_uint64,omitempty"`
  86. SSint32 int32 `protobuf:"zigzag32,6,opt,name=s_sint32,json=sSint32,proto3" json:"s_sint32,omitempty"`
  87. SSint64 int64 `protobuf:"zigzag64,7,opt,name=s_sint64,json=sSint64,proto3" json:"s_sint64,omitempty"`
  88. SFixed32 uint32 `protobuf:"fixed32,8,opt,name=s_fixed32,json=sFixed32,proto3" json:"s_fixed32,omitempty"`
  89. SFixed64 uint64 `protobuf:"fixed64,9,opt,name=s_fixed64,json=sFixed64,proto3" json:"s_fixed64,omitempty"`
  90. SSfixed32 int32 `protobuf:"fixed32,10,opt,name=s_sfixed32,json=sSfixed32,proto3" json:"s_sfixed32,omitempty"`
  91. SSfixed64 int64 `protobuf:"fixed64,11,opt,name=s_sfixed64,json=sSfixed64,proto3" json:"s_sfixed64,omitempty"`
  92. SFloat float32 `protobuf:"fixed32,20,opt,name=s_float,json=sFloat,proto3" json:"s_float,omitempty"`
  93. SDouble float64 `protobuf:"fixed64,21,opt,name=s_double,json=sDouble,proto3" json:"s_double,omitempty"`
  94. SBytes []byte `protobuf:"bytes,14,opt,name=s_bytes,json=sBytes,proto3" json:"s_bytes,omitempty"`
  95. SString string `protobuf:"bytes,13,opt,name=s_string,json=sString,proto3" json:"s_string,omitempty"`
  96. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  97. XXX_unrecognized []byte `json:"-"`
  98. XXX_sizecache int32 `json:"-"`
  99. }
  100. func (m *Scalars) ProtoReflect() protoreflect.Message {
  101. return xxx_Test_protoFile_messageTypes[0].MessageOf(m)
  102. }
  103. func (m *Scalars) Reset() { *m = Scalars{} }
  104. func (m *Scalars) String() string { return proto.CompactTextString(m) }
  105. func (*Scalars) ProtoMessage() {}
  106. func (*Scalars) Descriptor() ([]byte, []int) {
  107. return fileDescriptor_0854715c5b41c422_gzipped, []int{0}
  108. }
  109. func (m *Scalars) XXX_Unmarshal(b []byte) error {
  110. return xxx_messageInfo_Scalars.Unmarshal(m, b)
  111. }
  112. func (m *Scalars) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  113. return xxx_messageInfo_Scalars.Marshal(b, m, deterministic)
  114. }
  115. func (m *Scalars) XXX_Merge(src proto.Message) {
  116. xxx_messageInfo_Scalars.Merge(m, src)
  117. }
  118. func (m *Scalars) XXX_Size() int {
  119. return xxx_messageInfo_Scalars.Size(m)
  120. }
  121. func (m *Scalars) XXX_DiscardUnknown() {
  122. xxx_messageInfo_Scalars.DiscardUnknown(m)
  123. }
  124. var xxx_messageInfo_Scalars proto.InternalMessageInfo
  125. func (m *Scalars) GetSBool() bool {
  126. if m != nil {
  127. return m.SBool
  128. }
  129. return false
  130. }
  131. func (m *Scalars) GetSInt32() int32 {
  132. if m != nil {
  133. return m.SInt32
  134. }
  135. return 0
  136. }
  137. func (m *Scalars) GetSInt64() int64 {
  138. if m != nil {
  139. return m.SInt64
  140. }
  141. return 0
  142. }
  143. func (m *Scalars) GetSUint32() uint32 {
  144. if m != nil {
  145. return m.SUint32
  146. }
  147. return 0
  148. }
  149. func (m *Scalars) GetSUint64() uint64 {
  150. if m != nil {
  151. return m.SUint64
  152. }
  153. return 0
  154. }
  155. func (m *Scalars) GetSSint32() int32 {
  156. if m != nil {
  157. return m.SSint32
  158. }
  159. return 0
  160. }
  161. func (m *Scalars) GetSSint64() int64 {
  162. if m != nil {
  163. return m.SSint64
  164. }
  165. return 0
  166. }
  167. func (m *Scalars) GetSFixed32() uint32 {
  168. if m != nil {
  169. return m.SFixed32
  170. }
  171. return 0
  172. }
  173. func (m *Scalars) GetSFixed64() uint64 {
  174. if m != nil {
  175. return m.SFixed64
  176. }
  177. return 0
  178. }
  179. func (m *Scalars) GetSSfixed32() int32 {
  180. if m != nil {
  181. return m.SSfixed32
  182. }
  183. return 0
  184. }
  185. func (m *Scalars) GetSSfixed64() int64 {
  186. if m != nil {
  187. return m.SSfixed64
  188. }
  189. return 0
  190. }
  191. func (m *Scalars) GetSFloat() float32 {
  192. if m != nil {
  193. return m.SFloat
  194. }
  195. return 0
  196. }
  197. func (m *Scalars) GetSDouble() float64 {
  198. if m != nil {
  199. return m.SDouble
  200. }
  201. return 0
  202. }
  203. func (m *Scalars) GetSBytes() []byte {
  204. if m != nil {
  205. return m.SBytes
  206. }
  207. return nil
  208. }
  209. func (m *Scalars) GetSString() string {
  210. if m != nil {
  211. return m.SString
  212. }
  213. return ""
  214. }
  215. // Message contains enum fields.
  216. type Enums struct {
  217. SEnum Enum `protobuf:"varint,1,opt,name=s_enum,json=sEnum,proto3,enum=pb3.Enum" json:"s_enum,omitempty"`
  218. SNestedEnum Enums_NestedEnum `protobuf:"varint,3,opt,name=s_nested_enum,json=sNestedEnum,proto3,enum=pb3.Enums_NestedEnum" json:"s_nested_enum,omitempty"`
  219. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  220. XXX_unrecognized []byte `json:"-"`
  221. XXX_sizecache int32 `json:"-"`
  222. }
  223. func (m *Enums) ProtoReflect() protoreflect.Message {
  224. return xxx_Test_protoFile_messageTypes[1].MessageOf(m)
  225. }
  226. func (m *Enums) Reset() { *m = Enums{} }
  227. func (m *Enums) String() string { return proto.CompactTextString(m) }
  228. func (*Enums) ProtoMessage() {}
  229. func (*Enums) Descriptor() ([]byte, []int) {
  230. return fileDescriptor_0854715c5b41c422_gzipped, []int{1}
  231. }
  232. func (m *Enums) XXX_Unmarshal(b []byte) error {
  233. return xxx_messageInfo_Enums.Unmarshal(m, b)
  234. }
  235. func (m *Enums) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  236. return xxx_messageInfo_Enums.Marshal(b, m, deterministic)
  237. }
  238. func (m *Enums) XXX_Merge(src proto.Message) {
  239. xxx_messageInfo_Enums.Merge(m, src)
  240. }
  241. func (m *Enums) XXX_Size() int {
  242. return xxx_messageInfo_Enums.Size(m)
  243. }
  244. func (m *Enums) XXX_DiscardUnknown() {
  245. xxx_messageInfo_Enums.DiscardUnknown(m)
  246. }
  247. var xxx_messageInfo_Enums proto.InternalMessageInfo
  248. func (m *Enums) GetSEnum() Enum {
  249. if m != nil {
  250. return m.SEnum
  251. }
  252. return Enum_ZERO
  253. }
  254. func (m *Enums) GetSNestedEnum() Enums_NestedEnum {
  255. if m != nil {
  256. return m.SNestedEnum
  257. }
  258. return Enums_CERO
  259. }
  260. // Message contains nested message field.
  261. type Nests struct {
  262. SNested *Nested `protobuf:"bytes,1,opt,name=s_nested,json=sNested,proto3" json:"s_nested,omitempty"`
  263. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  264. XXX_unrecognized []byte `json:"-"`
  265. XXX_sizecache int32 `json:"-"`
  266. }
  267. func (m *Nests) ProtoReflect() protoreflect.Message {
  268. return xxx_Test_protoFile_messageTypes[2].MessageOf(m)
  269. }
  270. func (m *Nests) Reset() { *m = Nests{} }
  271. func (m *Nests) String() string { return proto.CompactTextString(m) }
  272. func (*Nests) ProtoMessage() {}
  273. func (*Nests) Descriptor() ([]byte, []int) {
  274. return fileDescriptor_0854715c5b41c422_gzipped, []int{2}
  275. }
  276. func (m *Nests) XXX_Unmarshal(b []byte) error {
  277. return xxx_messageInfo_Nests.Unmarshal(m, b)
  278. }
  279. func (m *Nests) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  280. return xxx_messageInfo_Nests.Marshal(b, m, deterministic)
  281. }
  282. func (m *Nests) XXX_Merge(src proto.Message) {
  283. xxx_messageInfo_Nests.Merge(m, src)
  284. }
  285. func (m *Nests) XXX_Size() int {
  286. return xxx_messageInfo_Nests.Size(m)
  287. }
  288. func (m *Nests) XXX_DiscardUnknown() {
  289. xxx_messageInfo_Nests.DiscardUnknown(m)
  290. }
  291. var xxx_messageInfo_Nests proto.InternalMessageInfo
  292. func (m *Nests) GetSNested() *Nested {
  293. if m != nil {
  294. return m.SNested
  295. }
  296. return nil
  297. }
  298. // Message type used as submessage.
  299. type Nested struct {
  300. SString string `protobuf:"bytes,1,opt,name=s_string,json=sString,proto3" json:"s_string,omitempty"`
  301. SNested *Nested `protobuf:"bytes,2,opt,name=s_nested,json=sNested,proto3" json:"s_nested,omitempty"`
  302. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  303. XXX_unrecognized []byte `json:"-"`
  304. XXX_sizecache int32 `json:"-"`
  305. }
  306. func (m *Nested) ProtoReflect() protoreflect.Message {
  307. return xxx_Test_protoFile_messageTypes[3].MessageOf(m)
  308. }
  309. func (m *Nested) Reset() { *m = Nested{} }
  310. func (m *Nested) String() string { return proto.CompactTextString(m) }
  311. func (*Nested) ProtoMessage() {}
  312. func (*Nested) Descriptor() ([]byte, []int) {
  313. return fileDescriptor_0854715c5b41c422_gzipped, []int{3}
  314. }
  315. func (m *Nested) XXX_Unmarshal(b []byte) error {
  316. return xxx_messageInfo_Nested.Unmarshal(m, b)
  317. }
  318. func (m *Nested) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  319. return xxx_messageInfo_Nested.Marshal(b, m, deterministic)
  320. }
  321. func (m *Nested) XXX_Merge(src proto.Message) {
  322. xxx_messageInfo_Nested.Merge(m, src)
  323. }
  324. func (m *Nested) XXX_Size() int {
  325. return xxx_messageInfo_Nested.Size(m)
  326. }
  327. func (m *Nested) XXX_DiscardUnknown() {
  328. xxx_messageInfo_Nested.DiscardUnknown(m)
  329. }
  330. var xxx_messageInfo_Nested proto.InternalMessageInfo
  331. func (m *Nested) GetSString() string {
  332. if m != nil {
  333. return m.SString
  334. }
  335. return ""
  336. }
  337. func (m *Nested) GetSNested() *Nested {
  338. if m != nil {
  339. return m.SNested
  340. }
  341. return nil
  342. }
  343. func init() {
  344. proto.RegisterFile("encoding/textpb/testprotos/pb3/test.proto", fileDescriptor_0854715c5b41c422_gzipped)
  345. proto.RegisterEnum("pb3.Enum", Enum_name, Enum_value)
  346. proto.RegisterEnum("pb3.Enums_NestedEnum", Enums_NestedEnum_name, Enums_NestedEnum_value)
  347. proto.RegisterType((*Scalars)(nil), "pb3.Scalars")
  348. proto.RegisterType((*Enums)(nil), "pb3.Enums")
  349. proto.RegisterType((*Nests)(nil), "pb3.Nests")
  350. proto.RegisterType((*Nested)(nil), "pb3.Nested")
  351. }
  352. var fileDescriptor_0854715c5b41c422 = []byte{
  353. // 863 bytes of the wire-encoded FileDescriptorProto
  354. 0x0a, 0x29, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x65, 0x78, 0x74, 0x70,
  355. 0x62, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x70, 0x62, 0x33,
  356. 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x70, 0x62, 0x33,
  357. 0x22, 0x9e, 0x03, 0x0a, 0x07, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x12, 0x15, 0x0a, 0x06,
  358. 0x73, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x73, 0x42,
  359. 0x6f, 0x6f, 0x6c, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02,
  360. 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x17, 0x0a, 0x07,
  361. 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73,
  362. 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33,
  363. 0x32, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32,
  364. 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x01,
  365. 0x28, 0x04, 0x52, 0x07, 0x73, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x19, 0x0a, 0x08, 0x73,
  366. 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x06, 0x20, 0x01, 0x28, 0x11, 0x52, 0x07, 0x73,
  367. 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73, 0x69, 0x6e, 0x74,
  368. 0x36, 0x34, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x07, 0x73, 0x53, 0x69, 0x6e, 0x74, 0x36,
  369. 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x08,
  370. 0x20, 0x01, 0x28, 0x07, 0x52, 0x08, 0x73, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x1b,
  371. 0x0a, 0x09, 0x73, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x09, 0x20, 0x01, 0x28,
  372. 0x06, 0x52, 0x08, 0x73, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x73,
  373. 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0f, 0x52,
  374. 0x09, 0x73, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x5f,
  375. 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x10, 0x52, 0x09,
  376. 0x73, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f, 0x66,
  377. 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x02, 0x52, 0x06, 0x73, 0x46, 0x6c, 0x6f,
  378. 0x61, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x15,
  379. 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x73, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x17, 0x0a,
  380. 0x07, 0x73, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06,
  381. 0x73, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73, 0x74, 0x72, 0x69,
  382. 0x6e, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e,
  383. 0x67, 0x22, 0x98, 0x01, 0x0a, 0x05, 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x12, 0x20, 0x0a, 0x06, 0x73,
  384. 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62,
  385. 0x33, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x05, 0x73, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x39, 0x0a,
  386. 0x0d, 0x73, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x03,
  387. 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x73,
  388. 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0b, 0x73, 0x4e, 0x65,
  389. 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x22, 0x32, 0x0a, 0x0a, 0x4e, 0x65, 0x73, 0x74,
  390. 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x45, 0x52, 0x4f, 0x10, 0x00,
  391. 0x12, 0x07, 0x0a, 0x03, 0x55, 0x4e, 0x4f, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x4f, 0x53,
  392. 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x49, 0x45, 0x5a, 0x10, 0x0a, 0x22, 0x2f, 0x0a, 0x05,
  393. 0x4e, 0x65, 0x73, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x08, 0x73, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65,
  394. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4e, 0x65,
  395. 0x73, 0x74, 0x65, 0x64, 0x52, 0x07, 0x73, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x4b, 0x0a,
  396. 0x06, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73, 0x74, 0x72,
  397. 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x53, 0x74, 0x72, 0x69,
  398. 0x6e, 0x67, 0x12, 0x26, 0x0a, 0x08, 0x73, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02,
  399. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65,
  400. 0x64, 0x52, 0x07, 0x73, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x2a, 0x2b, 0x0a, 0x04, 0x45, 0x6e,
  401. 0x75, 0x6d, 0x12, 0x08, 0x0a, 0x04, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03,
  402. 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x57, 0x4f, 0x10, 0x02, 0x12, 0x07,
  403. 0x0a, 0x03, 0x54, 0x45, 0x4e, 0x10, 0x0a, 0x42, 0x3e, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75,
  404. 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f,
  405. 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x32, 0x2f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e,
  406. 0x67, 0x2f, 0x74, 0x65, 0x78, 0x74, 0x70, 0x62, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f,
  407. 0x74, 0x6f, 0x73, 0x2f, 0x70, 0x62, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  408. }
  409. var fileDescriptor_0854715c5b41c422_gzipped = func() []byte {
  410. bb := new(bytes.Buffer)
  411. zw, _ := gzip.NewWriterLevel(bb, gzip.NoCompression)
  412. zw.Write(fileDescriptor_0854715c5b41c422)
  413. zw.Close()
  414. return bb.Bytes()
  415. }()
  416. const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
  417. var Test_protoFile protoreflect.FileDescriptor
  418. var xxx_Test_protoFile_enumTypes [2]protoreflect.EnumType
  419. var xxx_Test_protoFile_messageTypes [4]protoimpl.MessageType
  420. var xxx_Test_protoFile_goTypes = []interface{}{
  421. (Enum)(0), // 0: pb3.Enum
  422. (Enums_NestedEnum)(0), // 1: pb3.Enums.NestedEnum
  423. (*Scalars)(nil), // 2: pb3.Scalars
  424. (*Enums)(nil), // 3: pb3.Enums
  425. (*Nests)(nil), // 4: pb3.Nests
  426. (*Nested)(nil), // 5: pb3.Nested
  427. }
  428. var xxx_Test_protoFile_depIdxs = []int32{
  429. 0, // pb3.Enums.s_enum:type_name -> pb3.Enum
  430. 1, // pb3.Enums.s_nested_enum:type_name -> pb3.Enums.NestedEnum
  431. 5, // pb3.Nests.s_nested:type_name -> pb3.Nested
  432. 5, // pb3.Nested.s_nested:type_name -> pb3.Nested
  433. }
  434. func init() {
  435. var messageTypes [4]protoreflect.MessageType
  436. Test_protoFile = protoimpl.FileBuilder{
  437. RawDescriptor: fileDescriptor_0854715c5b41c422,
  438. GoTypes: xxx_Test_protoFile_goTypes,
  439. DependencyIndexes: xxx_Test_protoFile_depIdxs,
  440. EnumOutputTypes: xxx_Test_protoFile_enumTypes[:],
  441. MessageOutputTypes: messageTypes[:],
  442. }.Init()
  443. messageGoTypes := xxx_Test_protoFile_goTypes[2:][:4]
  444. for i, mt := range messageTypes[:] {
  445. xxx_Test_protoFile_messageTypes[i].GoType = reflect.TypeOf(messageGoTypes[i])
  446. xxx_Test_protoFile_messageTypes[i].PBType = mt
  447. }
  448. xxx_Test_protoFile_goTypes = nil
  449. xxx_Test_protoFile_depIdxs = nil
  450. }