more_test_objects.pb.go 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: more_test_objects.proto
  3. package jsonpb
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. // Reference imports to suppress errors if they are not otherwise used.
  8. var _ = proto.Marshal
  9. var _ = fmt.Errorf
  10. var _ = math.Inf
  11. // This is a compile-time assertion to ensure that this generated file
  12. // is compatible with the proto package it is being compiled against.
  13. // A compilation error at this line likely means your copy of the
  14. // proto package needs to be updated.
  15. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  16. type Numeral int32
  17. const (
  18. Numeral_UNKNOWN Numeral = 0
  19. Numeral_ARABIC Numeral = 1
  20. Numeral_ROMAN Numeral = 2
  21. )
  22. var Numeral_name = map[int32]string{
  23. 0: "UNKNOWN",
  24. 1: "ARABIC",
  25. 2: "ROMAN",
  26. }
  27. var Numeral_value = map[string]int32{
  28. "UNKNOWN": 0,
  29. "ARABIC": 1,
  30. "ROMAN": 2,
  31. }
  32. func (x Numeral) String() string {
  33. return proto.EnumName(Numeral_name, int32(x))
  34. }
  35. func (Numeral) EnumDescriptor() ([]byte, []int) {
  36. return fileDescriptor_more_test_objects_bef0d79b901f4c4a, []int{0}
  37. }
  38. type Simple3 struct {
  39. Dub float64 `protobuf:"fixed64,1,opt,name=dub" json:"dub,omitempty"`
  40. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  41. XXX_unrecognized []byte `json:"-"`
  42. XXX_sizecache int32 `json:"-"`
  43. }
  44. func (m *Simple3) Reset() { *m = Simple3{} }
  45. func (m *Simple3) String() string { return proto.CompactTextString(m) }
  46. func (*Simple3) ProtoMessage() {}
  47. func (*Simple3) Descriptor() ([]byte, []int) {
  48. return fileDescriptor_more_test_objects_bef0d79b901f4c4a, []int{0}
  49. }
  50. func (m *Simple3) XXX_Unmarshal(b []byte) error {
  51. return xxx_messageInfo_Simple3.Unmarshal(m, b)
  52. }
  53. func (m *Simple3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  54. return xxx_messageInfo_Simple3.Marshal(b, m, deterministic)
  55. }
  56. func (dst *Simple3) XXX_Merge(src proto.Message) {
  57. xxx_messageInfo_Simple3.Merge(dst, src)
  58. }
  59. func (m *Simple3) XXX_Size() int {
  60. return xxx_messageInfo_Simple3.Size(m)
  61. }
  62. func (m *Simple3) XXX_DiscardUnknown() {
  63. xxx_messageInfo_Simple3.DiscardUnknown(m)
  64. }
  65. var xxx_messageInfo_Simple3 proto.InternalMessageInfo
  66. func (m *Simple3) GetDub() float64 {
  67. if m != nil {
  68. return m.Dub
  69. }
  70. return 0
  71. }
  72. type SimpleSlice3 struct {
  73. Slices []string `protobuf:"bytes,1,rep,name=slices" json:"slices,omitempty"`
  74. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  75. XXX_unrecognized []byte `json:"-"`
  76. XXX_sizecache int32 `json:"-"`
  77. }
  78. func (m *SimpleSlice3) Reset() { *m = SimpleSlice3{} }
  79. func (m *SimpleSlice3) String() string { return proto.CompactTextString(m) }
  80. func (*SimpleSlice3) ProtoMessage() {}
  81. func (*SimpleSlice3) Descriptor() ([]byte, []int) {
  82. return fileDescriptor_more_test_objects_bef0d79b901f4c4a, []int{1}
  83. }
  84. func (m *SimpleSlice3) XXX_Unmarshal(b []byte) error {
  85. return xxx_messageInfo_SimpleSlice3.Unmarshal(m, b)
  86. }
  87. func (m *SimpleSlice3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  88. return xxx_messageInfo_SimpleSlice3.Marshal(b, m, deterministic)
  89. }
  90. func (dst *SimpleSlice3) XXX_Merge(src proto.Message) {
  91. xxx_messageInfo_SimpleSlice3.Merge(dst, src)
  92. }
  93. func (m *SimpleSlice3) XXX_Size() int {
  94. return xxx_messageInfo_SimpleSlice3.Size(m)
  95. }
  96. func (m *SimpleSlice3) XXX_DiscardUnknown() {
  97. xxx_messageInfo_SimpleSlice3.DiscardUnknown(m)
  98. }
  99. var xxx_messageInfo_SimpleSlice3 proto.InternalMessageInfo
  100. func (m *SimpleSlice3) GetSlices() []string {
  101. if m != nil {
  102. return m.Slices
  103. }
  104. return nil
  105. }
  106. type SimpleMap3 struct {
  107. Stringy map[string]string `protobuf:"bytes,1,rep,name=stringy" json:"stringy,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
  108. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  109. XXX_unrecognized []byte `json:"-"`
  110. XXX_sizecache int32 `json:"-"`
  111. }
  112. func (m *SimpleMap3) Reset() { *m = SimpleMap3{} }
  113. func (m *SimpleMap3) String() string { return proto.CompactTextString(m) }
  114. func (*SimpleMap3) ProtoMessage() {}
  115. func (*SimpleMap3) Descriptor() ([]byte, []int) {
  116. return fileDescriptor_more_test_objects_bef0d79b901f4c4a, []int{2}
  117. }
  118. func (m *SimpleMap3) XXX_Unmarshal(b []byte) error {
  119. return xxx_messageInfo_SimpleMap3.Unmarshal(m, b)
  120. }
  121. func (m *SimpleMap3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  122. return xxx_messageInfo_SimpleMap3.Marshal(b, m, deterministic)
  123. }
  124. func (dst *SimpleMap3) XXX_Merge(src proto.Message) {
  125. xxx_messageInfo_SimpleMap3.Merge(dst, src)
  126. }
  127. func (m *SimpleMap3) XXX_Size() int {
  128. return xxx_messageInfo_SimpleMap3.Size(m)
  129. }
  130. func (m *SimpleMap3) XXX_DiscardUnknown() {
  131. xxx_messageInfo_SimpleMap3.DiscardUnknown(m)
  132. }
  133. var xxx_messageInfo_SimpleMap3 proto.InternalMessageInfo
  134. func (m *SimpleMap3) GetStringy() map[string]string {
  135. if m != nil {
  136. return m.Stringy
  137. }
  138. return nil
  139. }
  140. type SimpleNull3 struct {
  141. Simple *Simple3 `protobuf:"bytes,1,opt,name=simple" json:"simple,omitempty"`
  142. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  143. XXX_unrecognized []byte `json:"-"`
  144. XXX_sizecache int32 `json:"-"`
  145. }
  146. func (m *SimpleNull3) Reset() { *m = SimpleNull3{} }
  147. func (m *SimpleNull3) String() string { return proto.CompactTextString(m) }
  148. func (*SimpleNull3) ProtoMessage() {}
  149. func (*SimpleNull3) Descriptor() ([]byte, []int) {
  150. return fileDescriptor_more_test_objects_bef0d79b901f4c4a, []int{3}
  151. }
  152. func (m *SimpleNull3) XXX_Unmarshal(b []byte) error {
  153. return xxx_messageInfo_SimpleNull3.Unmarshal(m, b)
  154. }
  155. func (m *SimpleNull3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  156. return xxx_messageInfo_SimpleNull3.Marshal(b, m, deterministic)
  157. }
  158. func (dst *SimpleNull3) XXX_Merge(src proto.Message) {
  159. xxx_messageInfo_SimpleNull3.Merge(dst, src)
  160. }
  161. func (m *SimpleNull3) XXX_Size() int {
  162. return xxx_messageInfo_SimpleNull3.Size(m)
  163. }
  164. func (m *SimpleNull3) XXX_DiscardUnknown() {
  165. xxx_messageInfo_SimpleNull3.DiscardUnknown(m)
  166. }
  167. var xxx_messageInfo_SimpleNull3 proto.InternalMessageInfo
  168. func (m *SimpleNull3) GetSimple() *Simple3 {
  169. if m != nil {
  170. return m.Simple
  171. }
  172. return nil
  173. }
  174. type Mappy struct {
  175. Nummy map[int64]int32 `protobuf:"bytes,1,rep,name=nummy" json:"nummy,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
  176. Strry map[string]string `protobuf:"bytes,2,rep,name=strry" json:"strry,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
  177. Objjy map[int32]*Simple3 `protobuf:"bytes,3,rep,name=objjy" json:"objjy,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
  178. Buggy map[int64]string `protobuf:"bytes,4,rep,name=buggy" json:"buggy,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
  179. Booly map[bool]bool `protobuf:"bytes,5,rep,name=booly" json:"booly,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
  180. Enumy map[string]Numeral `protobuf:"bytes,6,rep,name=enumy" json:"enumy,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=jsonpb.Numeral"`
  181. S32Booly map[int32]bool `protobuf:"bytes,7,rep,name=s32booly" json:"s32booly,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
  182. S64Booly map[int64]bool `protobuf:"bytes,8,rep,name=s64booly" json:"s64booly,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
  183. U32Booly map[uint32]bool `protobuf:"bytes,9,rep,name=u32booly" json:"u32booly,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
  184. U64Booly map[uint64]bool `protobuf:"bytes,10,rep,name=u64booly" json:"u64booly,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
  185. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  186. XXX_unrecognized []byte `json:"-"`
  187. XXX_sizecache int32 `json:"-"`
  188. }
  189. func (m *Mappy) Reset() { *m = Mappy{} }
  190. func (m *Mappy) String() string { return proto.CompactTextString(m) }
  191. func (*Mappy) ProtoMessage() {}
  192. func (*Mappy) Descriptor() ([]byte, []int) {
  193. return fileDescriptor_more_test_objects_bef0d79b901f4c4a, []int{4}
  194. }
  195. func (m *Mappy) XXX_Unmarshal(b []byte) error {
  196. return xxx_messageInfo_Mappy.Unmarshal(m, b)
  197. }
  198. func (m *Mappy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  199. return xxx_messageInfo_Mappy.Marshal(b, m, deterministic)
  200. }
  201. func (dst *Mappy) XXX_Merge(src proto.Message) {
  202. xxx_messageInfo_Mappy.Merge(dst, src)
  203. }
  204. func (m *Mappy) XXX_Size() int {
  205. return xxx_messageInfo_Mappy.Size(m)
  206. }
  207. func (m *Mappy) XXX_DiscardUnknown() {
  208. xxx_messageInfo_Mappy.DiscardUnknown(m)
  209. }
  210. var xxx_messageInfo_Mappy proto.InternalMessageInfo
  211. func (m *Mappy) GetNummy() map[int64]int32 {
  212. if m != nil {
  213. return m.Nummy
  214. }
  215. return nil
  216. }
  217. func (m *Mappy) GetStrry() map[string]string {
  218. if m != nil {
  219. return m.Strry
  220. }
  221. return nil
  222. }
  223. func (m *Mappy) GetObjjy() map[int32]*Simple3 {
  224. if m != nil {
  225. return m.Objjy
  226. }
  227. return nil
  228. }
  229. func (m *Mappy) GetBuggy() map[int64]string {
  230. if m != nil {
  231. return m.Buggy
  232. }
  233. return nil
  234. }
  235. func (m *Mappy) GetBooly() map[bool]bool {
  236. if m != nil {
  237. return m.Booly
  238. }
  239. return nil
  240. }
  241. func (m *Mappy) GetEnumy() map[string]Numeral {
  242. if m != nil {
  243. return m.Enumy
  244. }
  245. return nil
  246. }
  247. func (m *Mappy) GetS32Booly() map[int32]bool {
  248. if m != nil {
  249. return m.S32Booly
  250. }
  251. return nil
  252. }
  253. func (m *Mappy) GetS64Booly() map[int64]bool {
  254. if m != nil {
  255. return m.S64Booly
  256. }
  257. return nil
  258. }
  259. func (m *Mappy) GetU32Booly() map[uint32]bool {
  260. if m != nil {
  261. return m.U32Booly
  262. }
  263. return nil
  264. }
  265. func (m *Mappy) GetU64Booly() map[uint64]bool {
  266. if m != nil {
  267. return m.U64Booly
  268. }
  269. return nil
  270. }
  271. func init() {
  272. proto.RegisterType((*Simple3)(nil), "jsonpb.Simple3")
  273. proto.RegisterType((*SimpleSlice3)(nil), "jsonpb.SimpleSlice3")
  274. proto.RegisterType((*SimpleMap3)(nil), "jsonpb.SimpleMap3")
  275. proto.RegisterMapType((map[string]string)(nil), "jsonpb.SimpleMap3.StringyEntry")
  276. proto.RegisterType((*SimpleNull3)(nil), "jsonpb.SimpleNull3")
  277. proto.RegisterType((*Mappy)(nil), "jsonpb.Mappy")
  278. proto.RegisterMapType((map[bool]bool)(nil), "jsonpb.Mappy.BoolyEntry")
  279. proto.RegisterMapType((map[int64]string)(nil), "jsonpb.Mappy.BuggyEntry")
  280. proto.RegisterMapType((map[string]Numeral)(nil), "jsonpb.Mappy.EnumyEntry")
  281. proto.RegisterMapType((map[int64]int32)(nil), "jsonpb.Mappy.NummyEntry")
  282. proto.RegisterMapType((map[int32]*Simple3)(nil), "jsonpb.Mappy.ObjjyEntry")
  283. proto.RegisterMapType((map[int32]bool)(nil), "jsonpb.Mappy.S32boolyEntry")
  284. proto.RegisterMapType((map[int64]bool)(nil), "jsonpb.Mappy.S64boolyEntry")
  285. proto.RegisterMapType((map[string]string)(nil), "jsonpb.Mappy.StrryEntry")
  286. proto.RegisterMapType((map[uint32]bool)(nil), "jsonpb.Mappy.U32boolyEntry")
  287. proto.RegisterMapType((map[uint64]bool)(nil), "jsonpb.Mappy.U64boolyEntry")
  288. proto.RegisterEnum("jsonpb.Numeral", Numeral_name, Numeral_value)
  289. }
  290. func init() {
  291. proto.RegisterFile("more_test_objects.proto", fileDescriptor_more_test_objects_bef0d79b901f4c4a)
  292. }
  293. var fileDescriptor_more_test_objects_bef0d79b901f4c4a = []byte{
  294. // 526 bytes of a gzipped FileDescriptorProto
  295. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xdd, 0x6b, 0xdb, 0x3c,
  296. 0x14, 0x87, 0x5f, 0x27, 0xf5, 0xd7, 0x49, 0xfb, 0x2e, 0x88, 0xb1, 0x99, 0xf4, 0x62, 0xc5, 0xb0,
  297. 0xad, 0x0c, 0xe6, 0x8b, 0x78, 0x74, 0x5d, 0x77, 0x95, 0x8e, 0x5e, 0x94, 0x11, 0x07, 0x1c, 0xc2,
  298. 0x2e, 0x4b, 0xdc, 0x99, 0x90, 0xcc, 0x5f, 0xd8, 0xd6, 0xc0, 0xd7, 0xfb, 0xbb, 0x07, 0xe3, 0x48,
  299. 0x72, 0x2d, 0x07, 0x85, 0x6c, 0x77, 0x52, 0x7e, 0xcf, 0xe3, 0x73, 0x24, 0x1d, 0x02, 0x2f, 0xd3,
  300. 0xbc, 0x8c, 0x1f, 0xea, 0xb8, 0xaa, 0x1f, 0xf2, 0x68, 0x17, 0x3f, 0xd6, 0x95, 0x57, 0x94, 0x79,
  301. 0x9d, 0x13, 0x63, 0x57, 0xe5, 0x59, 0x11, 0xb9, 0xe7, 0x60, 0x2e, 0xb7, 0x69, 0x91, 0xc4, 0x3e,
  302. 0x19, 0xc3, 0xf0, 0x3b, 0x8d, 0x1c, 0xed, 0x42, 0xbb, 0xd4, 0x42, 0x5c, 0xba, 0x6f, 0xe0, 0x94,
  303. 0x87, 0xcb, 0x64, 0xfb, 0x18, 0xfb, 0xe4, 0x05, 0x18, 0x15, 0xae, 0x2a, 0x47, 0xbb, 0x18, 0x5e,
  304. 0xda, 0xa1, 0xd8, 0xb9, 0xbf, 0x34, 0x00, 0x0e, 0xce, 0xd7, 0x85, 0x4f, 0x3e, 0x81, 0x59, 0xd5,
  305. 0xe5, 0x36, 0xdb, 0x34, 0x8c, 0x1b, 0x4d, 0x5f, 0x79, 0xbc, 0x9a, 0xd7, 0x41, 0xde, 0x92, 0x13,
  306. 0x77, 0x59, 0x5d, 0x36, 0x61, 0xc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56, 0xb4, 0x55, 0xe2, 0xaa, 0x5f, 0x91, 0x4a, 0x15, 0x69, 0x5b, 0x11,
  318. 0x94, 0x62, 0xbf, 0x62, 0x0b, 0x4f, 0xae, 0x01, 0xba, 0x87, 0x96, 0xe7, 0x6f, 0xa8, 0x98, 0x3f,
  319. 0x5d, 0x9a, 0x3f, 0x34, 0xbb, 0x27, 0xff, 0x97, 0xc9, 0x9d, 0xdc, 0x03, 0x74, 0x8f, 0x2f, 0x9b,
  320. 0x3a, 0x37, 0x5f, 0xcb, 0xa6, 0x62, 0x92, 0xfb, 0x4d, 0x74, 0x73, 0x71, 0xac, 0x7d, 0x7b, 0xdf,
  321. 0x7c, 0xba, 0x10, 0xd9, 0xb4, 0x14, 0xa6, 0xb5, 0xd7, 0x7e, 0x37, 0x2b, 0x8a, 0x83, 0xf7, 0xda,
  322. 0xff, 0xbf, 0x6b, 0x3f, 0xa0, 0x69, 0x5c, 0xae, 0x13, 0xf9, 0x53, 0x9f, 0xe1, 0xac, 0x37, 0x43,
  323. 0x8a, 0xcb, 0x38, 0xdc, 0x07, 0xca, 0xf2, 0xab, 0x1e, 0x3b, 0xfe, 0xbe, 0xbc, 0x3a, 0x54, 0xf9,
  324. 0xec, 0x6f, 0xe4, 0x43, 0x95, 0x4f, 0x8e, 0xc8, 0xef, 0xde, 0x83, 0x29, 0x6e, 0x82, 0x8c, 0xc0,
  325. 0x5c, 0x05, 0x5f, 0x83, 0xc5, 0xb7, 0x60, 0xfc, 0x1f, 0x01, 0x30, 0x66, 0xe1, 0xec, 0xf6, 0xfe,
  326. 0xcb, 0x58, 0x23, 0x36, 0xe8, 0xe1, 0x62, 0x3e, 0x0b, 0xc6, 0x83, 0xc8, 0x60, 0x7f, 0xe0, 0xfe,
  327. 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xdc, 0x84, 0x34, 0xaf, 0xdb, 0x05, 0x00, 0x00,
  328. }