conformance.pb.go 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814
  1. // Protocol Buffers - Google's data interchange format
  2. // Copyright 2008 Google Inc. All rights reserved.
  3. // https://developers.google.com/protocol-buffers/
  4. //
  5. // Redistribution and use in source and binary forms, with or without
  6. // modification, are permitted provided that the following conditions are
  7. // met:
  8. //
  9. // * Redistributions of source code must retain the above copyright
  10. // notice, this list of conditions and the following disclaimer.
  11. // * Redistributions in binary form must reproduce the above
  12. // copyright notice, this list of conditions and the following disclaimer
  13. // in the documentation and/or other materials provided with the
  14. // distribution.
  15. // * Neither the name of Google Inc. nor the names of its
  16. // contributors may be used to endorse or promote products derived from
  17. // this software without specific prior written permission.
  18. //
  19. // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  20. // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  21. // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  22. // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  23. // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  24. // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  25. // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  26. // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  27. // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  28. // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  29. // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  30. // Code generated by protoc-gen-go. DO NOT EDIT.
  31. // source: conformance/conformance.proto
  32. package conformance
  33. import (
  34. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  35. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  36. reflect "reflect"
  37. sync "sync"
  38. )
  39. type WireFormat int32
  40. const (
  41. WireFormat_UNSPECIFIED WireFormat = 0
  42. WireFormat_PROTOBUF WireFormat = 1
  43. WireFormat_JSON WireFormat = 2
  44. WireFormat_JSPB WireFormat = 3 // Google internal only. Opensource testees just skip it.
  45. WireFormat_TEXT_FORMAT WireFormat = 4
  46. )
  47. // Enum value maps for WireFormat.
  48. var (
  49. WireFormat_name = map[int32]string{
  50. 0: "UNSPECIFIED",
  51. 1: "PROTOBUF",
  52. 2: "JSON",
  53. 3: "JSPB",
  54. 4: "TEXT_FORMAT",
  55. }
  56. WireFormat_value = map[string]int32{
  57. "UNSPECIFIED": 0,
  58. "PROTOBUF": 1,
  59. "JSON": 2,
  60. "JSPB": 3,
  61. "TEXT_FORMAT": 4,
  62. }
  63. )
  64. func (x WireFormat) Enum() *WireFormat {
  65. p := new(WireFormat)
  66. *p = x
  67. return p
  68. }
  69. func (x WireFormat) String() string {
  70. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  71. }
  72. func (WireFormat) Descriptor() protoreflect.EnumDescriptor {
  73. return file_conformance_conformance_proto_enumTypes[0].Descriptor()
  74. }
  75. func (WireFormat) Type() protoreflect.EnumType {
  76. return &file_conformance_conformance_proto_enumTypes[0]
  77. }
  78. func (x WireFormat) Number() protoreflect.EnumNumber {
  79. return protoreflect.EnumNumber(x)
  80. }
  81. // Deprecated: Use WireFormat.Descriptor instead.
  82. func (WireFormat) EnumDescriptor() ([]byte, []int) {
  83. return file_conformance_conformance_proto_rawDescGZIP(), []int{0}
  84. }
  85. type TestCategory int32
  86. const (
  87. TestCategory_UNSPECIFIED_TEST TestCategory = 0
  88. TestCategory_BINARY_TEST TestCategory = 1 // Test binary wire format.
  89. TestCategory_JSON_TEST TestCategory = 2 // Test json wire format.
  90. // Similar to JSON_TEST. However, during parsing json, testee should ignore
  91. // unknown fields. This feature is optional. Each implementation can descide
  92. // whether to support it. See
  93. // https://developers.google.com/protocol-buffers/docs/proto3#json_options
  94. // for more detail.
  95. TestCategory_JSON_IGNORE_UNKNOWN_PARSING_TEST TestCategory = 3
  96. // Test jspb wire format. Google internal only. Opensource testees just skip it.
  97. TestCategory_JSPB_TEST TestCategory = 4
  98. // Test text format. For cpp, java and python, testees can already deal with
  99. // this type. Testees of other languages can simply skip it.
  100. TestCategory_TEXT_FORMAT_TEST TestCategory = 5
  101. )
  102. // Enum value maps for TestCategory.
  103. var (
  104. TestCategory_name = map[int32]string{
  105. 0: "UNSPECIFIED_TEST",
  106. 1: "BINARY_TEST",
  107. 2: "JSON_TEST",
  108. 3: "JSON_IGNORE_UNKNOWN_PARSING_TEST",
  109. 4: "JSPB_TEST",
  110. 5: "TEXT_FORMAT_TEST",
  111. }
  112. TestCategory_value = map[string]int32{
  113. "UNSPECIFIED_TEST": 0,
  114. "BINARY_TEST": 1,
  115. "JSON_TEST": 2,
  116. "JSON_IGNORE_UNKNOWN_PARSING_TEST": 3,
  117. "JSPB_TEST": 4,
  118. "TEXT_FORMAT_TEST": 5,
  119. }
  120. )
  121. func (x TestCategory) Enum() *TestCategory {
  122. p := new(TestCategory)
  123. *p = x
  124. return p
  125. }
  126. func (x TestCategory) String() string {
  127. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  128. }
  129. func (TestCategory) Descriptor() protoreflect.EnumDescriptor {
  130. return file_conformance_conformance_proto_enumTypes[1].Descriptor()
  131. }
  132. func (TestCategory) Type() protoreflect.EnumType {
  133. return &file_conformance_conformance_proto_enumTypes[1]
  134. }
  135. func (x TestCategory) Number() protoreflect.EnumNumber {
  136. return protoreflect.EnumNumber(x)
  137. }
  138. // Deprecated: Use TestCategory.Descriptor instead.
  139. func (TestCategory) EnumDescriptor() ([]byte, []int) {
  140. return file_conformance_conformance_proto_rawDescGZIP(), []int{1}
  141. }
  142. // The conformance runner will request a list of failures as the first request.
  143. // This will be known by message_type == "conformance.FailureSet", a conformance
  144. // test should return a serialized FailureSet in protobuf_payload.
  145. type FailureSet struct {
  146. state protoimpl.MessageState
  147. sizeCache protoimpl.SizeCache
  148. unknownFields protoimpl.UnknownFields
  149. Failure []string `protobuf:"bytes,1,rep,name=failure,proto3" json:"failure,omitempty"`
  150. }
  151. func (x *FailureSet) Reset() {
  152. *x = FailureSet{}
  153. }
  154. func (x *FailureSet) String() string {
  155. return protoimpl.X.MessageStringOf(x)
  156. }
  157. func (*FailureSet) ProtoMessage() {}
  158. func (x *FailureSet) ProtoReflect() protoreflect.Message {
  159. mi := &file_conformance_conformance_proto_msgTypes[0]
  160. if protoimpl.UnsafeEnabled && x != nil {
  161. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  162. if ms.LoadMessageInfo() == nil {
  163. ms.StoreMessageInfo(mi)
  164. }
  165. return ms
  166. }
  167. return mi.MessageOf(x)
  168. }
  169. // Deprecated: Use FailureSet.ProtoReflect.Descriptor instead.
  170. func (*FailureSet) Descriptor() ([]byte, []int) {
  171. return file_conformance_conformance_proto_rawDescGZIP(), []int{0}
  172. }
  173. func (x *FailureSet) GetFailure() []string {
  174. if x != nil {
  175. return x.Failure
  176. }
  177. return nil
  178. }
  179. // Represents a single test case's input. The testee should:
  180. //
  181. // 1. parse this proto (which should always succeed)
  182. // 2. parse the protobuf or JSON payload in "payload" (which may fail)
  183. // 3. if the parse succeeded, serialize the message in the requested format.
  184. type ConformanceRequest struct {
  185. state protoimpl.MessageState
  186. sizeCache protoimpl.SizeCache
  187. unknownFields protoimpl.UnknownFields
  188. // The payload (whether protobuf of JSON) is always for a
  189. // protobuf_test_messages.proto3.TestAllTypes proto (as defined in
  190. // src/google/protobuf/proto3_test_messages.proto).
  191. //
  192. // TODO(haberman): if/when we expand the conformance tests to support proto2,
  193. // we will want to include a field that lets the payload/response be a
  194. // protobuf_test_messages.proto2.TestAllTypes message instead.
  195. //
  196. // Types that are assignable to Payload:
  197. // *ConformanceRequest_ProtobufPayload
  198. // *ConformanceRequest_JsonPayload
  199. // *ConformanceRequest_JspbPayload
  200. // *ConformanceRequest_TextPayload
  201. Payload isConformanceRequest_Payload `protobuf_oneof:"payload"`
  202. // Which format should the testee serialize its message to?
  203. RequestedOutputFormat WireFormat `protobuf:"varint,3,opt,name=requested_output_format,json=requestedOutputFormat,proto3,enum=conformance.WireFormat" json:"requested_output_format,omitempty"`
  204. // The full name for the test message to use; for the moment, either:
  205. // protobuf_test_messages.proto3.TestAllTypesProto3 or
  206. // protobuf_test_messages.proto2.TestAllTypesProto2.
  207. MessageType string `protobuf:"bytes,4,opt,name=message_type,json=messageType,proto3" json:"message_type,omitempty"`
  208. // Each test is given a specific test category. Some category may need
  209. // spedific support in testee programs. Refer to the defintion of TestCategory
  210. // for more information.
  211. TestCategory TestCategory `protobuf:"varint,5,opt,name=test_category,json=testCategory,proto3,enum=conformance.TestCategory" json:"test_category,omitempty"`
  212. // Specify details for how to encode jspb.
  213. JspbEncodingOptions *JspbEncodingConfig `protobuf:"bytes,6,opt,name=jspb_encoding_options,json=jspbEncodingOptions,proto3" json:"jspb_encoding_options,omitempty"`
  214. // This can be used in json and text format. If true, testee should print
  215. // unknown fields instead of ignore. This feature is optional.
  216. PrintUnknownFields bool `protobuf:"varint,9,opt,name=print_unknown_fields,json=printUnknownFields,proto3" json:"print_unknown_fields,omitempty"`
  217. }
  218. func (x *ConformanceRequest) Reset() {
  219. *x = ConformanceRequest{}
  220. }
  221. func (x *ConformanceRequest) String() string {
  222. return protoimpl.X.MessageStringOf(x)
  223. }
  224. func (*ConformanceRequest) ProtoMessage() {}
  225. func (x *ConformanceRequest) ProtoReflect() protoreflect.Message {
  226. mi := &file_conformance_conformance_proto_msgTypes[1]
  227. if protoimpl.UnsafeEnabled && x != nil {
  228. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  229. if ms.LoadMessageInfo() == nil {
  230. ms.StoreMessageInfo(mi)
  231. }
  232. return ms
  233. }
  234. return mi.MessageOf(x)
  235. }
  236. // Deprecated: Use ConformanceRequest.ProtoReflect.Descriptor instead.
  237. func (*ConformanceRequest) Descriptor() ([]byte, []int) {
  238. return file_conformance_conformance_proto_rawDescGZIP(), []int{1}
  239. }
  240. func (m *ConformanceRequest) GetPayload() isConformanceRequest_Payload {
  241. if m != nil {
  242. return m.Payload
  243. }
  244. return nil
  245. }
  246. func (x *ConformanceRequest) GetProtobufPayload() []byte {
  247. if x, ok := x.GetPayload().(*ConformanceRequest_ProtobufPayload); ok {
  248. return x.ProtobufPayload
  249. }
  250. return nil
  251. }
  252. func (x *ConformanceRequest) GetJsonPayload() string {
  253. if x, ok := x.GetPayload().(*ConformanceRequest_JsonPayload); ok {
  254. return x.JsonPayload
  255. }
  256. return ""
  257. }
  258. func (x *ConformanceRequest) GetJspbPayload() string {
  259. if x, ok := x.GetPayload().(*ConformanceRequest_JspbPayload); ok {
  260. return x.JspbPayload
  261. }
  262. return ""
  263. }
  264. func (x *ConformanceRequest) GetTextPayload() string {
  265. if x, ok := x.GetPayload().(*ConformanceRequest_TextPayload); ok {
  266. return x.TextPayload
  267. }
  268. return ""
  269. }
  270. func (x *ConformanceRequest) GetRequestedOutputFormat() WireFormat {
  271. if x != nil {
  272. return x.RequestedOutputFormat
  273. }
  274. return WireFormat_UNSPECIFIED
  275. }
  276. func (x *ConformanceRequest) GetMessageType() string {
  277. if x != nil {
  278. return x.MessageType
  279. }
  280. return ""
  281. }
  282. func (x *ConformanceRequest) GetTestCategory() TestCategory {
  283. if x != nil {
  284. return x.TestCategory
  285. }
  286. return TestCategory_UNSPECIFIED_TEST
  287. }
  288. func (x *ConformanceRequest) GetJspbEncodingOptions() *JspbEncodingConfig {
  289. if x != nil {
  290. return x.JspbEncodingOptions
  291. }
  292. return nil
  293. }
  294. func (x *ConformanceRequest) GetPrintUnknownFields() bool {
  295. if x != nil {
  296. return x.PrintUnknownFields
  297. }
  298. return false
  299. }
  300. type isConformanceRequest_Payload interface {
  301. isConformanceRequest_Payload()
  302. }
  303. type ConformanceRequest_ProtobufPayload struct {
  304. ProtobufPayload []byte `protobuf:"bytes,1,opt,name=protobuf_payload,json=protobufPayload,proto3,oneof"`
  305. }
  306. type ConformanceRequest_JsonPayload struct {
  307. JsonPayload string `protobuf:"bytes,2,opt,name=json_payload,json=jsonPayload,proto3,oneof"`
  308. }
  309. type ConformanceRequest_JspbPayload struct {
  310. // Google internal only. Opensource testees just skip it.
  311. JspbPayload string `protobuf:"bytes,7,opt,name=jspb_payload,json=jspbPayload,proto3,oneof"`
  312. }
  313. type ConformanceRequest_TextPayload struct {
  314. TextPayload string `protobuf:"bytes,8,opt,name=text_payload,json=textPayload,proto3,oneof"`
  315. }
  316. func (*ConformanceRequest_ProtobufPayload) isConformanceRequest_Payload() {}
  317. func (*ConformanceRequest_JsonPayload) isConformanceRequest_Payload() {}
  318. func (*ConformanceRequest_JspbPayload) isConformanceRequest_Payload() {}
  319. func (*ConformanceRequest_TextPayload) isConformanceRequest_Payload() {}
  320. // Represents a single test case's output.
  321. type ConformanceResponse struct {
  322. state protoimpl.MessageState
  323. sizeCache protoimpl.SizeCache
  324. unknownFields protoimpl.UnknownFields
  325. // Types that are assignable to Result:
  326. // *ConformanceResponse_ParseError
  327. // *ConformanceResponse_SerializeError
  328. // *ConformanceResponse_RuntimeError
  329. // *ConformanceResponse_ProtobufPayload
  330. // *ConformanceResponse_JsonPayload
  331. // *ConformanceResponse_Skipped
  332. // *ConformanceResponse_JspbPayload
  333. // *ConformanceResponse_TextPayload
  334. Result isConformanceResponse_Result `protobuf_oneof:"result"`
  335. }
  336. func (x *ConformanceResponse) Reset() {
  337. *x = ConformanceResponse{}
  338. }
  339. func (x *ConformanceResponse) String() string {
  340. return protoimpl.X.MessageStringOf(x)
  341. }
  342. func (*ConformanceResponse) ProtoMessage() {}
  343. func (x *ConformanceResponse) ProtoReflect() protoreflect.Message {
  344. mi := &file_conformance_conformance_proto_msgTypes[2]
  345. if protoimpl.UnsafeEnabled && x != nil {
  346. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  347. if ms.LoadMessageInfo() == nil {
  348. ms.StoreMessageInfo(mi)
  349. }
  350. return ms
  351. }
  352. return mi.MessageOf(x)
  353. }
  354. // Deprecated: Use ConformanceResponse.ProtoReflect.Descriptor instead.
  355. func (*ConformanceResponse) Descriptor() ([]byte, []int) {
  356. return file_conformance_conformance_proto_rawDescGZIP(), []int{2}
  357. }
  358. func (m *ConformanceResponse) GetResult() isConformanceResponse_Result {
  359. if m != nil {
  360. return m.Result
  361. }
  362. return nil
  363. }
  364. func (x *ConformanceResponse) GetParseError() string {
  365. if x, ok := x.GetResult().(*ConformanceResponse_ParseError); ok {
  366. return x.ParseError
  367. }
  368. return ""
  369. }
  370. func (x *ConformanceResponse) GetSerializeError() string {
  371. if x, ok := x.GetResult().(*ConformanceResponse_SerializeError); ok {
  372. return x.SerializeError
  373. }
  374. return ""
  375. }
  376. func (x *ConformanceResponse) GetRuntimeError() string {
  377. if x, ok := x.GetResult().(*ConformanceResponse_RuntimeError); ok {
  378. return x.RuntimeError
  379. }
  380. return ""
  381. }
  382. func (x *ConformanceResponse) GetProtobufPayload() []byte {
  383. if x, ok := x.GetResult().(*ConformanceResponse_ProtobufPayload); ok {
  384. return x.ProtobufPayload
  385. }
  386. return nil
  387. }
  388. func (x *ConformanceResponse) GetJsonPayload() string {
  389. if x, ok := x.GetResult().(*ConformanceResponse_JsonPayload); ok {
  390. return x.JsonPayload
  391. }
  392. return ""
  393. }
  394. func (x *ConformanceResponse) GetSkipped() string {
  395. if x, ok := x.GetResult().(*ConformanceResponse_Skipped); ok {
  396. return x.Skipped
  397. }
  398. return ""
  399. }
  400. func (x *ConformanceResponse) GetJspbPayload() string {
  401. if x, ok := x.GetResult().(*ConformanceResponse_JspbPayload); ok {
  402. return x.JspbPayload
  403. }
  404. return ""
  405. }
  406. func (x *ConformanceResponse) GetTextPayload() string {
  407. if x, ok := x.GetResult().(*ConformanceResponse_TextPayload); ok {
  408. return x.TextPayload
  409. }
  410. return ""
  411. }
  412. type isConformanceResponse_Result interface {
  413. isConformanceResponse_Result()
  414. }
  415. type ConformanceResponse_ParseError struct {
  416. // This string should be set to indicate parsing failed. The string can
  417. // provide more information about the parse error if it is available.
  418. //
  419. // Setting this string does not necessarily mean the testee failed the
  420. // test. Some of the test cases are intentionally invalid input.
  421. ParseError string `protobuf:"bytes,1,opt,name=parse_error,json=parseError,proto3,oneof"`
  422. }
  423. type ConformanceResponse_SerializeError struct {
  424. // If the input was successfully parsed but errors occurred when
  425. // serializing it to the requested output format, set the error message in
  426. // this field.
  427. SerializeError string `protobuf:"bytes,6,opt,name=serialize_error,json=serializeError,proto3,oneof"`
  428. }
  429. type ConformanceResponse_RuntimeError struct {
  430. // This should be set if some other error occurred. This will always
  431. // indicate that the test failed. The string can provide more information
  432. // about the failure.
  433. RuntimeError string `protobuf:"bytes,2,opt,name=runtime_error,json=runtimeError,proto3,oneof"`
  434. }
  435. type ConformanceResponse_ProtobufPayload struct {
  436. // If the input was successfully parsed and the requested output was
  437. // protobuf, serialize it to protobuf and set it in this field.
  438. ProtobufPayload []byte `protobuf:"bytes,3,opt,name=protobuf_payload,json=protobufPayload,proto3,oneof"`
  439. }
  440. type ConformanceResponse_JsonPayload struct {
  441. // If the input was successfully parsed and the requested output was JSON,
  442. // serialize to JSON and set it in this field.
  443. JsonPayload string `protobuf:"bytes,4,opt,name=json_payload,json=jsonPayload,proto3,oneof"`
  444. }
  445. type ConformanceResponse_Skipped struct {
  446. // For when the testee skipped the test, likely because a certain feature
  447. // wasn't supported, like JSON input/output.
  448. Skipped string `protobuf:"bytes,5,opt,name=skipped,proto3,oneof"`
  449. }
  450. type ConformanceResponse_JspbPayload struct {
  451. // If the input was successfully parsed and the requested output was JSPB,
  452. // serialize to JSPB and set it in this field. JSPB is google internal only
  453. // format. Opensource testees can just skip it.
  454. JspbPayload string `protobuf:"bytes,7,opt,name=jspb_payload,json=jspbPayload,proto3,oneof"`
  455. }
  456. type ConformanceResponse_TextPayload struct {
  457. // If the input was successfully parsed and the requested output was
  458. // TEXT_FORMAT, serialize to TEXT_FORMAT and set it in this field.
  459. TextPayload string `protobuf:"bytes,8,opt,name=text_payload,json=textPayload,proto3,oneof"`
  460. }
  461. func (*ConformanceResponse_ParseError) isConformanceResponse_Result() {}
  462. func (*ConformanceResponse_SerializeError) isConformanceResponse_Result() {}
  463. func (*ConformanceResponse_RuntimeError) isConformanceResponse_Result() {}
  464. func (*ConformanceResponse_ProtobufPayload) isConformanceResponse_Result() {}
  465. func (*ConformanceResponse_JsonPayload) isConformanceResponse_Result() {}
  466. func (*ConformanceResponse_Skipped) isConformanceResponse_Result() {}
  467. func (*ConformanceResponse_JspbPayload) isConformanceResponse_Result() {}
  468. func (*ConformanceResponse_TextPayload) isConformanceResponse_Result() {}
  469. // Encoding options for jspb format.
  470. type JspbEncodingConfig struct {
  471. state protoimpl.MessageState
  472. sizeCache protoimpl.SizeCache
  473. unknownFields protoimpl.UnknownFields
  474. // Encode the value field of Any as jspb array if ture, otherwise binary.
  475. UseJspbArrayAnyFormat bool `protobuf:"varint,1,opt,name=use_jspb_array_any_format,json=useJspbArrayAnyFormat,proto3" json:"use_jspb_array_any_format,omitempty"`
  476. }
  477. func (x *JspbEncodingConfig) Reset() {
  478. *x = JspbEncodingConfig{}
  479. }
  480. func (x *JspbEncodingConfig) String() string {
  481. return protoimpl.X.MessageStringOf(x)
  482. }
  483. func (*JspbEncodingConfig) ProtoMessage() {}
  484. func (x *JspbEncodingConfig) ProtoReflect() protoreflect.Message {
  485. mi := &file_conformance_conformance_proto_msgTypes[3]
  486. if protoimpl.UnsafeEnabled && x != nil {
  487. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  488. if ms.LoadMessageInfo() == nil {
  489. ms.StoreMessageInfo(mi)
  490. }
  491. return ms
  492. }
  493. return mi.MessageOf(x)
  494. }
  495. // Deprecated: Use JspbEncodingConfig.ProtoReflect.Descriptor instead.
  496. func (*JspbEncodingConfig) Descriptor() ([]byte, []int) {
  497. return file_conformance_conformance_proto_rawDescGZIP(), []int{3}
  498. }
  499. func (x *JspbEncodingConfig) GetUseJspbArrayAnyFormat() bool {
  500. if x != nil {
  501. return x.UseJspbArrayAnyFormat
  502. }
  503. return false
  504. }
  505. var File_conformance_conformance_proto protoreflect.FileDescriptor
  506. var file_conformance_conformance_proto_rawDesc = []byte{
  507. 0x0a, 0x1d, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x6f,
  508. 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
  509. 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x26, 0x0a, 0x0a,
  510. 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x61,
  511. 0x69, 0x6c, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x66, 0x61, 0x69,
  512. 0x6c, 0x75, 0x72, 0x65, 0x22, 0xf6, 0x03, 0x0a, 0x12, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d,
  513. 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x10, 0x70,
  514. 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18,
  515. 0x01, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  516. 0x66, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x23, 0x0a, 0x0c, 0x6a, 0x73, 0x6f, 0x6e,
  517. 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00,
  518. 0x52, 0x0b, 0x6a, 0x73, 0x6f, 0x6e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x23, 0x0a,
  519. 0x0c, 0x6a, 0x73, 0x70, 0x62, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x07, 0x20,
  520. 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x6a, 0x73, 0x70, 0x62, 0x50, 0x61, 0x79, 0x6c, 0x6f,
  521. 0x61, 0x64, 0x12, 0x23, 0x0a, 0x0c, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f,
  522. 0x61, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x74, 0x65, 0x78, 0x74,
  523. 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x4f, 0x0a, 0x17, 0x72, 0x65, 0x71, 0x75, 0x65,
  524. 0x73, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d,
  525. 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f,
  526. 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x57, 0x69, 0x72, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61,
  527. 0x74, 0x52, 0x15, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4f, 0x75, 0x74, 0x70,
  528. 0x75, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73,
  529. 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
  530. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3e, 0x0a, 0x0d, 0x74,
  531. 0x65, 0x73, 0x74, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01,
  532. 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65,
  533. 0x2e, 0x54, 0x65, 0x73, 0x74, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x0c, 0x74,
  534. 0x65, 0x73, 0x74, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x53, 0x0a, 0x15, 0x6a,
  535. 0x73, 0x70, 0x62, 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6f, 0x70, 0x74,
  536. 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x6f, 0x6e,
  537. 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x4a, 0x73, 0x70, 0x62, 0x45, 0x6e, 0x63,
  538. 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x13, 0x6a, 0x73, 0x70,
  539. 0x62, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  540. 0x12, 0x30, 0x0a, 0x14, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x5f, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77,
  541. 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12,
  542. 0x70, 0x72, 0x69, 0x6e, 0x74, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x46, 0x69, 0x65, 0x6c,
  543. 0x64, 0x73, 0x42, 0x09, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0xcc, 0x02,
  544. 0x0a, 0x13, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73,
  545. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x73, 0x65, 0x5f, 0x65,
  546. 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0a, 0x70, 0x61,
  547. 0x72, 0x73, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x29, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x69,
  548. 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28,
  549. 0x09, 0x48, 0x00, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x45, 0x72,
  550. 0x72, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0d, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x65,
  551. 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0c, 0x72, 0x75,
  552. 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2b, 0x0a, 0x10, 0x70, 0x72,
  553. 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03,
  554. 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
  555. 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x23, 0x0a, 0x0c, 0x6a, 0x73, 0x6f, 0x6e, 0x5f,
  556. 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52,
  557. 0x0b, 0x6a, 0x73, 0x6f, 0x6e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x1a, 0x0a, 0x07,
  558. 0x73, 0x6b, 0x69, 0x70, 0x70, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52,
  559. 0x07, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x65, 0x64, 0x12, 0x23, 0x0a, 0x0c, 0x6a, 0x73, 0x70, 0x62,
  560. 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00,
  561. 0x52, 0x0b, 0x6a, 0x73, 0x70, 0x62, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x23, 0x0a,
  562. 0x0c, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x08, 0x20,
  563. 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x74, 0x65, 0x78, 0x74, 0x50, 0x61, 0x79, 0x6c, 0x6f,
  564. 0x61, 0x64, 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x4e, 0x0a, 0x12,
  565. 0x4a, 0x73, 0x70, 0x62, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66,
  566. 0x69, 0x67, 0x12, 0x38, 0x0a, 0x19, 0x75, 0x73, 0x65, 0x5f, 0x6a, 0x73, 0x70, 0x62, 0x5f, 0x61,
  567. 0x72, 0x72, 0x61, 0x79, 0x5f, 0x61, 0x6e, 0x79, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18,
  568. 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x75, 0x73, 0x65, 0x4a, 0x73, 0x70, 0x62, 0x41, 0x72,
  569. 0x72, 0x61, 0x79, 0x41, 0x6e, 0x79, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x2a, 0x50, 0x0a, 0x0a,
  570. 0x57, 0x69, 0x72, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e,
  571. 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x50,
  572. 0x52, 0x4f, 0x54, 0x4f, 0x42, 0x55, 0x46, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x53, 0x4f,
  573. 0x4e, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x53, 0x50, 0x42, 0x10, 0x03, 0x12, 0x0f, 0x0a,
  574. 0x0b, 0x54, 0x45, 0x58, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x10, 0x04, 0x2a, 0x8f,
  575. 0x01, 0x0a, 0x0c, 0x54, 0x65, 0x73, 0x74, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12,
  576. 0x14, 0x0a, 0x10, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x5f, 0x54,
  577. 0x45, 0x53, 0x54, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x5f,
  578. 0x54, 0x45, 0x53, 0x54, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x4a, 0x53, 0x4f, 0x4e, 0x5f, 0x54,
  579. 0x45, 0x53, 0x54, 0x10, 0x02, 0x12, 0x24, 0x0a, 0x20, 0x4a, 0x53, 0x4f, 0x4e, 0x5f, 0x49, 0x47,
  580. 0x4e, 0x4f, 0x52, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x50, 0x41, 0x52,
  581. 0x53, 0x49, 0x4e, 0x47, 0x5f, 0x54, 0x45, 0x53, 0x54, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x4a,
  582. 0x53, 0x50, 0x42, 0x5f, 0x54, 0x45, 0x53, 0x54, 0x10, 0x04, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x45,
  583. 0x58, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x54, 0x45, 0x53, 0x54, 0x10, 0x05,
  584. 0x42, 0x5d, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
  585. 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61,
  586. 0x6e, 0x63, 0x65, 0x5a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61,
  587. 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
  588. 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f,
  589. 0x74, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x62,
  590. 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  591. }
  592. var (
  593. file_conformance_conformance_proto_rawDescOnce sync.Once
  594. file_conformance_conformance_proto_rawDescData = file_conformance_conformance_proto_rawDesc
  595. )
  596. func file_conformance_conformance_proto_rawDescGZIP() []byte {
  597. file_conformance_conformance_proto_rawDescOnce.Do(func() {
  598. file_conformance_conformance_proto_rawDescData = protoimpl.X.CompressGZIP(file_conformance_conformance_proto_rawDescData)
  599. })
  600. return file_conformance_conformance_proto_rawDescData
  601. }
  602. var file_conformance_conformance_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
  603. var file_conformance_conformance_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
  604. var file_conformance_conformance_proto_goTypes = []interface{}{
  605. (WireFormat)(0), // 0: conformance.WireFormat
  606. (TestCategory)(0), // 1: conformance.TestCategory
  607. (*FailureSet)(nil), // 2: conformance.FailureSet
  608. (*ConformanceRequest)(nil), // 3: conformance.ConformanceRequest
  609. (*ConformanceResponse)(nil), // 4: conformance.ConformanceResponse
  610. (*JspbEncodingConfig)(nil), // 5: conformance.JspbEncodingConfig
  611. }
  612. var file_conformance_conformance_proto_depIdxs = []int32{
  613. 0, // 0: conformance.ConformanceRequest.requested_output_format:type_name -> conformance.WireFormat
  614. 1, // 1: conformance.ConformanceRequest.test_category:type_name -> conformance.TestCategory
  615. 5, // 2: conformance.ConformanceRequest.jspb_encoding_options:type_name -> conformance.JspbEncodingConfig
  616. 3, // [3:3] is the sub-list for method output_type
  617. 3, // [3:3] is the sub-list for method input_type
  618. 3, // [3:3] is the sub-list for extension type_name
  619. 3, // [3:3] is the sub-list for extension extendee
  620. 0, // [0:3] is the sub-list for field type_name
  621. }
  622. func init() { file_conformance_conformance_proto_init() }
  623. func file_conformance_conformance_proto_init() {
  624. if File_conformance_conformance_proto != nil {
  625. return
  626. }
  627. if !protoimpl.UnsafeEnabled {
  628. file_conformance_conformance_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  629. switch v := v.(*FailureSet); i {
  630. case 0:
  631. return &v.state
  632. case 1:
  633. return &v.sizeCache
  634. case 2:
  635. return &v.unknownFields
  636. default:
  637. return nil
  638. }
  639. }
  640. file_conformance_conformance_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  641. switch v := v.(*ConformanceRequest); i {
  642. case 0:
  643. return &v.state
  644. case 1:
  645. return &v.sizeCache
  646. case 2:
  647. return &v.unknownFields
  648. default:
  649. return nil
  650. }
  651. }
  652. file_conformance_conformance_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  653. switch v := v.(*ConformanceResponse); i {
  654. case 0:
  655. return &v.state
  656. case 1:
  657. return &v.sizeCache
  658. case 2:
  659. return &v.unknownFields
  660. default:
  661. return nil
  662. }
  663. }
  664. file_conformance_conformance_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  665. switch v := v.(*JspbEncodingConfig); i {
  666. case 0:
  667. return &v.state
  668. case 1:
  669. return &v.sizeCache
  670. case 2:
  671. return &v.unknownFields
  672. default:
  673. return nil
  674. }
  675. }
  676. }
  677. file_conformance_conformance_proto_msgTypes[1].OneofWrappers = []interface{}{
  678. (*ConformanceRequest_ProtobufPayload)(nil),
  679. (*ConformanceRequest_JsonPayload)(nil),
  680. (*ConformanceRequest_JspbPayload)(nil),
  681. (*ConformanceRequest_TextPayload)(nil),
  682. }
  683. file_conformance_conformance_proto_msgTypes[2].OneofWrappers = []interface{}{
  684. (*ConformanceResponse_ParseError)(nil),
  685. (*ConformanceResponse_SerializeError)(nil),
  686. (*ConformanceResponse_RuntimeError)(nil),
  687. (*ConformanceResponse_ProtobufPayload)(nil),
  688. (*ConformanceResponse_JsonPayload)(nil),
  689. (*ConformanceResponse_Skipped)(nil),
  690. (*ConformanceResponse_JspbPayload)(nil),
  691. (*ConformanceResponse_TextPayload)(nil),
  692. }
  693. type x struct{}
  694. out := protoimpl.TypeBuilder{
  695. File: protoimpl.DescBuilder{
  696. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  697. RawDescriptor: file_conformance_conformance_proto_rawDesc,
  698. NumEnums: 2,
  699. NumMessages: 4,
  700. NumExtensions: 0,
  701. NumServices: 0,
  702. },
  703. GoTypes: file_conformance_conformance_proto_goTypes,
  704. DependencyIndexes: file_conformance_conformance_proto_depIdxs,
  705. EnumInfos: file_conformance_conformance_proto_enumTypes,
  706. MessageInfos: file_conformance_conformance_proto_msgTypes,
  707. }.Build()
  708. File_conformance_conformance_proto = out.File
  709. file_conformance_conformance_proto_rawDesc = nil
  710. file_conformance_conformance_proto_goTypes = nil
  711. file_conformance_conformance_proto_depIdxs = nil
  712. }