conformance.pb.go 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: conformance/conformance.proto
  3. package conformance
  4. import (
  5. protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect"
  6. protoregistry "github.com/golang/protobuf/v2/reflect/protoregistry"
  7. protoiface "github.com/golang/protobuf/v2/runtime/protoiface"
  8. protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl"
  9. sync "sync"
  10. )
  11. const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
  12. type WireFormat int32
  13. const (
  14. WireFormat_UNSPECIFIED WireFormat = 0
  15. WireFormat_PROTOBUF WireFormat = 1
  16. WireFormat_JSON WireFormat = 2
  17. WireFormat_JSPB WireFormat = 3
  18. WireFormat_TEXT_FORMAT WireFormat = 4
  19. )
  20. // Deprecated: Use WireFormat.Type.Values instead.
  21. var WireFormat_name = map[int32]string{
  22. 0: "UNSPECIFIED",
  23. 1: "PROTOBUF",
  24. 2: "JSON",
  25. 3: "JSPB",
  26. 4: "TEXT_FORMAT",
  27. }
  28. // Deprecated: Use WireFormat.Type.Values instead.
  29. var WireFormat_value = map[string]int32{
  30. "UNSPECIFIED": 0,
  31. "PROTOBUF": 1,
  32. "JSON": 2,
  33. "JSPB": 3,
  34. "TEXT_FORMAT": 4,
  35. }
  36. func (x WireFormat) String() string {
  37. return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x))
  38. }
  39. func (WireFormat) Type() protoreflect.EnumType {
  40. return file_conformance_conformance_proto_enumTypes[0]
  41. }
  42. func (x WireFormat) Number() protoreflect.EnumNumber {
  43. return protoreflect.EnumNumber(x)
  44. }
  45. // Deprecated: Use WireFormat.Type instead.
  46. func (WireFormat) EnumDescriptor() ([]byte, []int) {
  47. return file_conformance_conformance_proto_rawDescGZIP(), []int{0}
  48. }
  49. type TestCategory int32
  50. const (
  51. TestCategory_UNSPECIFIED_TEST TestCategory = 0
  52. TestCategory_BINARY_TEST TestCategory = 1
  53. TestCategory_JSON_TEST TestCategory = 2
  54. // Similar to JSON_TEST. However, during parsing json, testee should ignore
  55. // unknown fields. This feature is optional. Each implementation can descide
  56. // whether to support it. See
  57. // https://developers.google.com/protocol-buffers/docs/proto3#json_options
  58. // for more detail.
  59. TestCategory_JSON_IGNORE_UNKNOWN_PARSING_TEST TestCategory = 3
  60. // Test jspb wire format. Google internal only. Opensource testees just skip it.
  61. TestCategory_JSPB_TEST TestCategory = 4
  62. // Test text format. For cpp, java and python, testees can already deal with
  63. // this type. Testees of other languages can simply skip it.
  64. TestCategory_TEXT_FORMAT_TEST TestCategory = 5
  65. )
  66. // Deprecated: Use TestCategory.Type.Values instead.
  67. var TestCategory_name = map[int32]string{
  68. 0: "UNSPECIFIED_TEST",
  69. 1: "BINARY_TEST",
  70. 2: "JSON_TEST",
  71. 3: "JSON_IGNORE_UNKNOWN_PARSING_TEST",
  72. 4: "JSPB_TEST",
  73. 5: "TEXT_FORMAT_TEST",
  74. }
  75. // Deprecated: Use TestCategory.Type.Values instead.
  76. var TestCategory_value = map[string]int32{
  77. "UNSPECIFIED_TEST": 0,
  78. "BINARY_TEST": 1,
  79. "JSON_TEST": 2,
  80. "JSON_IGNORE_UNKNOWN_PARSING_TEST": 3,
  81. "JSPB_TEST": 4,
  82. "TEXT_FORMAT_TEST": 5,
  83. }
  84. func (x TestCategory) String() string {
  85. return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x))
  86. }
  87. func (TestCategory) Type() protoreflect.EnumType {
  88. return file_conformance_conformance_proto_enumTypes[1]
  89. }
  90. func (x TestCategory) Number() protoreflect.EnumNumber {
  91. return protoreflect.EnumNumber(x)
  92. }
  93. // Deprecated: Use TestCategory.Type instead.
  94. func (TestCategory) EnumDescriptor() ([]byte, []int) {
  95. return file_conformance_conformance_proto_rawDescGZIP(), []int{1}
  96. }
  97. // The conformance runner will request a list of failures as the first request.
  98. // This will be known by message_type == "conformance.FailureSet", a conformance
  99. // test should return a serialized FailureSet in protobuf_payload.
  100. type FailureSet struct {
  101. Failure []string `protobuf:"bytes,1,rep,name=failure,proto3" json:"failure,omitempty"`
  102. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  103. XXX_unrecognized protoimpl.UnknownFields `json:"-"`
  104. XXX_sizecache protoimpl.SizeCache `json:"-"`
  105. }
  106. func (x *FailureSet) Reset() {
  107. *x = FailureSet{}
  108. }
  109. func (x *FailureSet) String() string {
  110. return protoimpl.X.MessageStringOf(x)
  111. }
  112. func (*FailureSet) ProtoMessage() {}
  113. func (x *FailureSet) ProtoReflect() protoreflect.Message {
  114. return file_conformance_conformance_proto_msgTypes[0].MessageOf(x)
  115. }
  116. func (m *FailureSet) XXX_Methods() *protoiface.Methods {
  117. return file_conformance_conformance_proto_msgTypes[0].Methods()
  118. }
  119. // Deprecated: Use FailureSet.ProtoReflect.Type instead.
  120. func (*FailureSet) Descriptor() ([]byte, []int) {
  121. return file_conformance_conformance_proto_rawDescGZIP(), []int{0}
  122. }
  123. func (x *FailureSet) GetFailure() []string {
  124. if x != nil {
  125. return x.Failure
  126. }
  127. return nil
  128. }
  129. // Represents a single test case's input. The testee should:
  130. //
  131. // 1. parse this proto (which should always succeed)
  132. // 2. parse the protobuf or JSON payload in "payload" (which may fail)
  133. // 3. if the parse succeeded, serialize the message in the requested format.
  134. type ConformanceRequest struct {
  135. // The payload (whether protobuf of JSON) is always for a
  136. // protobuf_test_messages.proto3.TestAllTypes proto (as defined in
  137. // src/google/protobuf/proto3_test_messages.proto).
  138. //
  139. // TODO(haberman): if/when we expand the conformance tests to support proto2,
  140. // we will want to include a field that lets the payload/response be a
  141. // protobuf_test_messages.proto2.TestAllTypes message instead.
  142. //
  143. // Types that are valid to be assigned to Payload:
  144. // *ConformanceRequest_ProtobufPayload
  145. // *ConformanceRequest_JsonPayload
  146. // Google internal only. Opensource testees just skip it.
  147. // *ConformanceRequest_JspbPayload
  148. // *ConformanceRequest_TextPayload
  149. Payload isConformanceRequest_Payload `protobuf_oneof:"payload"`
  150. // Which format should the testee serialize its message to?
  151. RequestedOutputFormat WireFormat `protobuf:"varint,3,opt,name=requested_output_format,json=requestedOutputFormat,proto3,enum=conformance.WireFormat" json:"requested_output_format,omitempty"`
  152. // The full name for the test message to use; for the moment, either:
  153. // protobuf_test_messages.proto3.TestAllTypesProto3 or
  154. // protobuf_test_messages.proto2.TestAllTypesProto2.
  155. MessageType string `protobuf:"bytes,4,opt,name=message_type,json=messageType,proto3" json:"message_type,omitempty"`
  156. // Each test is given a specific test category. Some category may need
  157. // spedific support in testee programs. Refer to the defintion of TestCategory
  158. // for more information.
  159. TestCategory TestCategory `protobuf:"varint,5,opt,name=test_category,json=testCategory,proto3,enum=conformance.TestCategory" json:"test_category,omitempty"`
  160. // Specify details for how to encode jspb.
  161. JspbEncodingOptions *JspbEncodingConfig `protobuf:"bytes,6,opt,name=jspb_encoding_options,json=jspbEncodingOptions,proto3" json:"jspb_encoding_options,omitempty"`
  162. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  163. XXX_unrecognized protoimpl.UnknownFields `json:"-"`
  164. XXX_sizecache protoimpl.SizeCache `json:"-"`
  165. }
  166. func (x *ConformanceRequest) Reset() {
  167. *x = ConformanceRequest{}
  168. }
  169. func (x *ConformanceRequest) String() string {
  170. return protoimpl.X.MessageStringOf(x)
  171. }
  172. func (*ConformanceRequest) ProtoMessage() {}
  173. func (x *ConformanceRequest) ProtoReflect() protoreflect.Message {
  174. return file_conformance_conformance_proto_msgTypes[1].MessageOf(x)
  175. }
  176. func (m *ConformanceRequest) XXX_Methods() *protoiface.Methods {
  177. return file_conformance_conformance_proto_msgTypes[1].Methods()
  178. }
  179. // Deprecated: Use ConformanceRequest.ProtoReflect.Type instead.
  180. func (*ConformanceRequest) Descriptor() ([]byte, []int) {
  181. return file_conformance_conformance_proto_rawDescGZIP(), []int{1}
  182. }
  183. func (m *ConformanceRequest) GetPayload() isConformanceRequest_Payload {
  184. if m != nil {
  185. return m.Payload
  186. }
  187. return nil
  188. }
  189. func (x *ConformanceRequest) GetProtobufPayload() []byte {
  190. if x, ok := x.GetPayload().(*ConformanceRequest_ProtobufPayload); ok {
  191. return x.ProtobufPayload
  192. }
  193. return nil
  194. }
  195. func (x *ConformanceRequest) GetJsonPayload() string {
  196. if x, ok := x.GetPayload().(*ConformanceRequest_JsonPayload); ok {
  197. return x.JsonPayload
  198. }
  199. return ""
  200. }
  201. func (x *ConformanceRequest) GetJspbPayload() string {
  202. if x, ok := x.GetPayload().(*ConformanceRequest_JspbPayload); ok {
  203. return x.JspbPayload
  204. }
  205. return ""
  206. }
  207. func (x *ConformanceRequest) GetTextPayload() string {
  208. if x, ok := x.GetPayload().(*ConformanceRequest_TextPayload); ok {
  209. return x.TextPayload
  210. }
  211. return ""
  212. }
  213. func (x *ConformanceRequest) GetRequestedOutputFormat() WireFormat {
  214. if x != nil {
  215. return x.RequestedOutputFormat
  216. }
  217. return WireFormat_UNSPECIFIED
  218. }
  219. func (x *ConformanceRequest) GetMessageType() string {
  220. if x != nil {
  221. return x.MessageType
  222. }
  223. return ""
  224. }
  225. func (x *ConformanceRequest) GetTestCategory() TestCategory {
  226. if x != nil {
  227. return x.TestCategory
  228. }
  229. return TestCategory_UNSPECIFIED_TEST
  230. }
  231. func (x *ConformanceRequest) GetJspbEncodingOptions() *JspbEncodingConfig {
  232. if x != nil {
  233. return x.JspbEncodingOptions
  234. }
  235. return nil
  236. }
  237. // XXX_OneofWrappers is for the internal use of the proto package.
  238. func (*ConformanceRequest) XXX_OneofWrappers() []interface{} {
  239. return []interface{}{
  240. (*ConformanceRequest_ProtobufPayload)(nil),
  241. (*ConformanceRequest_JsonPayload)(nil),
  242. (*ConformanceRequest_JspbPayload)(nil),
  243. (*ConformanceRequest_TextPayload)(nil),
  244. }
  245. }
  246. type isConformanceRequest_Payload interface {
  247. isConformanceRequest_Payload()
  248. }
  249. type ConformanceRequest_ProtobufPayload struct {
  250. ProtobufPayload []byte `protobuf:"bytes,1,opt,name=protobuf_payload,json=protobufPayload,proto3,oneof"`
  251. }
  252. type ConformanceRequest_JsonPayload struct {
  253. JsonPayload string `protobuf:"bytes,2,opt,name=json_payload,json=jsonPayload,proto3,oneof"`
  254. }
  255. type ConformanceRequest_JspbPayload struct {
  256. JspbPayload string `protobuf:"bytes,7,opt,name=jspb_payload,json=jspbPayload,proto3,oneof"`
  257. }
  258. type ConformanceRequest_TextPayload struct {
  259. TextPayload string `protobuf:"bytes,8,opt,name=text_payload,json=textPayload,proto3,oneof"`
  260. }
  261. func (*ConformanceRequest_ProtobufPayload) isConformanceRequest_Payload() {}
  262. func (*ConformanceRequest_JsonPayload) isConformanceRequest_Payload() {}
  263. func (*ConformanceRequest_JspbPayload) isConformanceRequest_Payload() {}
  264. func (*ConformanceRequest_TextPayload) isConformanceRequest_Payload() {}
  265. // Represents a single test case's output.
  266. type ConformanceResponse struct {
  267. // Types that are valid to be assigned to Result:
  268. // This string should be set to indicate parsing failed. The string can
  269. // provide more information about the parse error if it is available.
  270. //
  271. // Setting this string does not necessarily mean the testee failed the
  272. // test. Some of the test cases are intentionally invalid input.
  273. // *ConformanceResponse_ParseError
  274. // If the input was successfully parsed but errors occurred when
  275. // serializing it to the requested output format, set the error message in
  276. // this field.
  277. // *ConformanceResponse_SerializeError
  278. // This should be set if some other error occurred. This will always
  279. // indicate that the test failed. The string can provide more information
  280. // about the failure.
  281. // *ConformanceResponse_RuntimeError
  282. // If the input was successfully parsed and the requested output was
  283. // protobuf, serialize it to protobuf and set it in this field.
  284. // *ConformanceResponse_ProtobufPayload
  285. // If the input was successfully parsed and the requested output was JSON,
  286. // serialize to JSON and set it in this field.
  287. // *ConformanceResponse_JsonPayload
  288. // For when the testee skipped the test, likely because a certain feature
  289. // wasn't supported, like JSON input/output.
  290. // *ConformanceResponse_Skipped
  291. // If the input was successfully parsed and the requested output was JSPB,
  292. // serialize to JSPB and set it in this field. JSPB is google internal only
  293. // format. Opensource testees can just skip it.
  294. // *ConformanceResponse_JspbPayload
  295. // If the input was successfully parsed and the requested output was
  296. // TEXT_FORMAT, serialize to TEXT_FORMAT and set it in this field.
  297. // *ConformanceResponse_TextPayload
  298. Result isConformanceResponse_Result `protobuf_oneof:"result"`
  299. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  300. XXX_unrecognized protoimpl.UnknownFields `json:"-"`
  301. XXX_sizecache protoimpl.SizeCache `json:"-"`
  302. }
  303. func (x *ConformanceResponse) Reset() {
  304. *x = ConformanceResponse{}
  305. }
  306. func (x *ConformanceResponse) String() string {
  307. return protoimpl.X.MessageStringOf(x)
  308. }
  309. func (*ConformanceResponse) ProtoMessage() {}
  310. func (x *ConformanceResponse) ProtoReflect() protoreflect.Message {
  311. return file_conformance_conformance_proto_msgTypes[2].MessageOf(x)
  312. }
  313. func (m *ConformanceResponse) XXX_Methods() *protoiface.Methods {
  314. return file_conformance_conformance_proto_msgTypes[2].Methods()
  315. }
  316. // Deprecated: Use ConformanceResponse.ProtoReflect.Type instead.
  317. func (*ConformanceResponse) Descriptor() ([]byte, []int) {
  318. return file_conformance_conformance_proto_rawDescGZIP(), []int{2}
  319. }
  320. func (m *ConformanceResponse) GetResult() isConformanceResponse_Result {
  321. if m != nil {
  322. return m.Result
  323. }
  324. return nil
  325. }
  326. func (x *ConformanceResponse) GetParseError() string {
  327. if x, ok := x.GetResult().(*ConformanceResponse_ParseError); ok {
  328. return x.ParseError
  329. }
  330. return ""
  331. }
  332. func (x *ConformanceResponse) GetSerializeError() string {
  333. if x, ok := x.GetResult().(*ConformanceResponse_SerializeError); ok {
  334. return x.SerializeError
  335. }
  336. return ""
  337. }
  338. func (x *ConformanceResponse) GetRuntimeError() string {
  339. if x, ok := x.GetResult().(*ConformanceResponse_RuntimeError); ok {
  340. return x.RuntimeError
  341. }
  342. return ""
  343. }
  344. func (x *ConformanceResponse) GetProtobufPayload() []byte {
  345. if x, ok := x.GetResult().(*ConformanceResponse_ProtobufPayload); ok {
  346. return x.ProtobufPayload
  347. }
  348. return nil
  349. }
  350. func (x *ConformanceResponse) GetJsonPayload() string {
  351. if x, ok := x.GetResult().(*ConformanceResponse_JsonPayload); ok {
  352. return x.JsonPayload
  353. }
  354. return ""
  355. }
  356. func (x *ConformanceResponse) GetSkipped() string {
  357. if x, ok := x.GetResult().(*ConformanceResponse_Skipped); ok {
  358. return x.Skipped
  359. }
  360. return ""
  361. }
  362. func (x *ConformanceResponse) GetJspbPayload() string {
  363. if x, ok := x.GetResult().(*ConformanceResponse_JspbPayload); ok {
  364. return x.JspbPayload
  365. }
  366. return ""
  367. }
  368. func (x *ConformanceResponse) GetTextPayload() string {
  369. if x, ok := x.GetResult().(*ConformanceResponse_TextPayload); ok {
  370. return x.TextPayload
  371. }
  372. return ""
  373. }
  374. // XXX_OneofWrappers is for the internal use of the proto package.
  375. func (*ConformanceResponse) XXX_OneofWrappers() []interface{} {
  376. return []interface{}{
  377. (*ConformanceResponse_ParseError)(nil),
  378. (*ConformanceResponse_SerializeError)(nil),
  379. (*ConformanceResponse_RuntimeError)(nil),
  380. (*ConformanceResponse_ProtobufPayload)(nil),
  381. (*ConformanceResponse_JsonPayload)(nil),
  382. (*ConformanceResponse_Skipped)(nil),
  383. (*ConformanceResponse_JspbPayload)(nil),
  384. (*ConformanceResponse_TextPayload)(nil),
  385. }
  386. }
  387. type isConformanceResponse_Result interface {
  388. isConformanceResponse_Result()
  389. }
  390. type ConformanceResponse_ParseError struct {
  391. ParseError string `protobuf:"bytes,1,opt,name=parse_error,json=parseError,proto3,oneof"`
  392. }
  393. type ConformanceResponse_SerializeError struct {
  394. SerializeError string `protobuf:"bytes,6,opt,name=serialize_error,json=serializeError,proto3,oneof"`
  395. }
  396. type ConformanceResponse_RuntimeError struct {
  397. RuntimeError string `protobuf:"bytes,2,opt,name=runtime_error,json=runtimeError,proto3,oneof"`
  398. }
  399. type ConformanceResponse_ProtobufPayload struct {
  400. ProtobufPayload []byte `protobuf:"bytes,3,opt,name=protobuf_payload,json=protobufPayload,proto3,oneof"`
  401. }
  402. type ConformanceResponse_JsonPayload struct {
  403. JsonPayload string `protobuf:"bytes,4,opt,name=json_payload,json=jsonPayload,proto3,oneof"`
  404. }
  405. type ConformanceResponse_Skipped struct {
  406. Skipped string `protobuf:"bytes,5,opt,name=skipped,proto3,oneof"`
  407. }
  408. type ConformanceResponse_JspbPayload struct {
  409. JspbPayload string `protobuf:"bytes,7,opt,name=jspb_payload,json=jspbPayload,proto3,oneof"`
  410. }
  411. type ConformanceResponse_TextPayload struct {
  412. TextPayload string `protobuf:"bytes,8,opt,name=text_payload,json=textPayload,proto3,oneof"`
  413. }
  414. func (*ConformanceResponse_ParseError) isConformanceResponse_Result() {}
  415. func (*ConformanceResponse_SerializeError) isConformanceResponse_Result() {}
  416. func (*ConformanceResponse_RuntimeError) isConformanceResponse_Result() {}
  417. func (*ConformanceResponse_ProtobufPayload) isConformanceResponse_Result() {}
  418. func (*ConformanceResponse_JsonPayload) isConformanceResponse_Result() {}
  419. func (*ConformanceResponse_Skipped) isConformanceResponse_Result() {}
  420. func (*ConformanceResponse_JspbPayload) isConformanceResponse_Result() {}
  421. func (*ConformanceResponse_TextPayload) isConformanceResponse_Result() {}
  422. // Encoding options for jspb format.
  423. type JspbEncodingConfig struct {
  424. // Encode the value field of Any as jspb array if ture, otherwise binary.
  425. UseJspbArrayAnyFormat bool `protobuf:"varint,1,opt,name=use_jspb_array_any_format,json=useJspbArrayAnyFormat,proto3" json:"use_jspb_array_any_format,omitempty"`
  426. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  427. XXX_unrecognized protoimpl.UnknownFields `json:"-"`
  428. XXX_sizecache protoimpl.SizeCache `json:"-"`
  429. }
  430. func (x *JspbEncodingConfig) Reset() {
  431. *x = JspbEncodingConfig{}
  432. }
  433. func (x *JspbEncodingConfig) String() string {
  434. return protoimpl.X.MessageStringOf(x)
  435. }
  436. func (*JspbEncodingConfig) ProtoMessage() {}
  437. func (x *JspbEncodingConfig) ProtoReflect() protoreflect.Message {
  438. return file_conformance_conformance_proto_msgTypes[3].MessageOf(x)
  439. }
  440. func (m *JspbEncodingConfig) XXX_Methods() *protoiface.Methods {
  441. return file_conformance_conformance_proto_msgTypes[3].Methods()
  442. }
  443. // Deprecated: Use JspbEncodingConfig.ProtoReflect.Type instead.
  444. func (*JspbEncodingConfig) Descriptor() ([]byte, []int) {
  445. return file_conformance_conformance_proto_rawDescGZIP(), []int{3}
  446. }
  447. func (x *JspbEncodingConfig) GetUseJspbArrayAnyFormat() bool {
  448. if x != nil {
  449. return x.UseJspbArrayAnyFormat
  450. }
  451. return false
  452. }
  453. var File_conformance_conformance_proto protoreflect.FileDescriptor
  454. var file_conformance_conformance_proto_rawDesc = []byte{
  455. 0x0a, 0x1d, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x6f,
  456. 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
  457. 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x26, 0x0a, 0x0a,
  458. 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x61,
  459. 0x69, 0x6c, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x66, 0x61, 0x69,
  460. 0x6c, 0x75, 0x72, 0x65, 0x22, 0xc4, 0x03, 0x0a, 0x12, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d,
  461. 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x10, 0x70,
  462. 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18,
  463. 0x01, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  464. 0x66, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x23, 0x0a, 0x0c, 0x6a, 0x73, 0x6f, 0x6e,
  465. 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00,
  466. 0x52, 0x0b, 0x6a, 0x73, 0x6f, 0x6e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x23, 0x0a,
  467. 0x0c, 0x6a, 0x73, 0x70, 0x62, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x07, 0x20,
  468. 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x6a, 0x73, 0x70, 0x62, 0x50, 0x61, 0x79, 0x6c, 0x6f,
  469. 0x61, 0x64, 0x12, 0x23, 0x0a, 0x0c, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f,
  470. 0x61, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x74, 0x65, 0x78, 0x74,
  471. 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x4f, 0x0a, 0x17, 0x72, 0x65, 0x71, 0x75, 0x65,
  472. 0x73, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d,
  473. 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f,
  474. 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x57, 0x69, 0x72, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61,
  475. 0x74, 0x52, 0x15, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4f, 0x75, 0x74, 0x70,
  476. 0x75, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73,
  477. 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
  478. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3e, 0x0a, 0x0d, 0x74,
  479. 0x65, 0x73, 0x74, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01,
  480. 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65,
  481. 0x2e, 0x54, 0x65, 0x73, 0x74, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x0c, 0x74,
  482. 0x65, 0x73, 0x74, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x53, 0x0a, 0x15, 0x6a,
  483. 0x73, 0x70, 0x62, 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6f, 0x70, 0x74,
  484. 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x6f, 0x6e,
  485. 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x4a, 0x73, 0x70, 0x62, 0x45, 0x6e, 0x63,
  486. 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x13, 0x6a, 0x73, 0x70,
  487. 0x62, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  488. 0x42, 0x09, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0xcc, 0x02, 0x0a, 0x13,
  489. 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
  490. 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x73, 0x65, 0x5f, 0x65, 0x72, 0x72,
  491. 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x73,
  492. 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x29, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c,
  493. 0x69, 0x7a, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48,
  494. 0x00, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x45, 0x72, 0x72, 0x6f,
  495. 0x72, 0x12, 0x25, 0x0a, 0x0d, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x65, 0x72, 0x72,
  496. 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0c, 0x72, 0x75, 0x6e, 0x74,
  497. 0x69, 0x6d, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2b, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x74,
  498. 0x6f, 0x62, 0x75, 0x66, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01,
  499. 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x50, 0x61,
  500. 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x23, 0x0a, 0x0c, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x70, 0x61,
  501. 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x6a,
  502. 0x73, 0x6f, 0x6e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x1a, 0x0a, 0x07, 0x73, 0x6b,
  503. 0x69, 0x70, 0x70, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x73,
  504. 0x6b, 0x69, 0x70, 0x70, 0x65, 0x64, 0x12, 0x23, 0x0a, 0x0c, 0x6a, 0x73, 0x70, 0x62, 0x5f, 0x70,
  505. 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b,
  506. 0x6a, 0x73, 0x70, 0x62, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x23, 0x0a, 0x0c, 0x74,
  507. 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28,
  508. 0x09, 0x48, 0x00, 0x52, 0x0b, 0x74, 0x65, 0x78, 0x74, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64,
  509. 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x4e, 0x0a, 0x12, 0x4a, 0x73,
  510. 0x70, 0x62, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
  511. 0x12, 0x38, 0x0a, 0x19, 0x75, 0x73, 0x65, 0x5f, 0x6a, 0x73, 0x70, 0x62, 0x5f, 0x61, 0x72, 0x72,
  512. 0x61, 0x79, 0x5f, 0x61, 0x6e, 0x79, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x01, 0x20,
  513. 0x01, 0x28, 0x08, 0x52, 0x15, 0x75, 0x73, 0x65, 0x4a, 0x73, 0x70, 0x62, 0x41, 0x72, 0x72, 0x61,
  514. 0x79, 0x41, 0x6e, 0x79, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x2a, 0x50, 0x0a, 0x0a, 0x57, 0x69,
  515. 0x72, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50,
  516. 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x52, 0x4f,
  517. 0x54, 0x4f, 0x42, 0x55, 0x46, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x53, 0x4f, 0x4e, 0x10,
  518. 0x02, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x53, 0x50, 0x42, 0x10, 0x03, 0x12, 0x0f, 0x0a, 0x0b, 0x54,
  519. 0x45, 0x58, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x10, 0x04, 0x2a, 0x8f, 0x01, 0x0a,
  520. 0x0c, 0x54, 0x65, 0x73, 0x74, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x14, 0x0a,
  521. 0x10, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x5f, 0x54, 0x45, 0x53,
  522. 0x54, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x5f, 0x54, 0x45,
  523. 0x53, 0x54, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x4a, 0x53, 0x4f, 0x4e, 0x5f, 0x54, 0x45, 0x53,
  524. 0x54, 0x10, 0x02, 0x12, 0x24, 0x0a, 0x20, 0x4a, 0x53, 0x4f, 0x4e, 0x5f, 0x49, 0x47, 0x4e, 0x4f,
  525. 0x52, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x50, 0x41, 0x52, 0x53, 0x49,
  526. 0x4e, 0x47, 0x5f, 0x54, 0x45, 0x53, 0x54, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x4a, 0x53, 0x50,
  527. 0x42, 0x5f, 0x54, 0x45, 0x53, 0x54, 0x10, 0x04, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x45, 0x58, 0x54,
  528. 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x54, 0x45, 0x53, 0x54, 0x10, 0x05, 0x42, 0x6c,
  529. 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
  530. 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63,
  531. 0x65, 0x5a, 0x49, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f,
  532. 0x6c, 0x61, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x32,
  533. 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72,
  534. 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65,
  535. 0x3b, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72,
  536. 0x6f, 0x74, 0x6f, 0x33,
  537. }
  538. var (
  539. file_conformance_conformance_proto_rawDescOnce sync.Once
  540. file_conformance_conformance_proto_rawDescData = file_conformance_conformance_proto_rawDesc
  541. )
  542. func file_conformance_conformance_proto_rawDescGZIP() []byte {
  543. file_conformance_conformance_proto_rawDescOnce.Do(func() {
  544. file_conformance_conformance_proto_rawDescData = protoimpl.X.CompressGZIP(file_conformance_conformance_proto_rawDescData)
  545. })
  546. return file_conformance_conformance_proto_rawDescData
  547. }
  548. var file_conformance_conformance_proto_enumTypes = make([]protoreflect.EnumType, 2)
  549. var file_conformance_conformance_proto_msgTypes = make([]protoimpl.MessageType, 4)
  550. var file_conformance_conformance_proto_goTypes = []interface{}{
  551. (WireFormat)(0), // 0: conformance.WireFormat
  552. (TestCategory)(0), // 1: conformance.TestCategory
  553. (*FailureSet)(nil), // 2: conformance.FailureSet
  554. (*ConformanceRequest)(nil), // 3: conformance.ConformanceRequest
  555. (*ConformanceResponse)(nil), // 4: conformance.ConformanceResponse
  556. (*JspbEncodingConfig)(nil), // 5: conformance.JspbEncodingConfig
  557. }
  558. var file_conformance_conformance_proto_depIdxs = []int32{
  559. 0, // conformance.ConformanceRequest.requested_output_format:type_name -> conformance.WireFormat
  560. 1, // conformance.ConformanceRequest.test_category:type_name -> conformance.TestCategory
  561. 5, // conformance.ConformanceRequest.jspb_encoding_options:type_name -> conformance.JspbEncodingConfig
  562. }
  563. func init() { file_conformance_conformance_proto_init() }
  564. func file_conformance_conformance_proto_init() {
  565. if File_conformance_conformance_proto != nil {
  566. return
  567. }
  568. File_conformance_conformance_proto = protoimpl.FileBuilder{
  569. RawDescriptor: file_conformance_conformance_proto_rawDesc,
  570. GoTypes: file_conformance_conformance_proto_goTypes,
  571. DependencyIndexes: file_conformance_conformance_proto_depIdxs,
  572. EnumOutputTypes: file_conformance_conformance_proto_enumTypes,
  573. MessageOutputTypes: file_conformance_conformance_proto_msgTypes,
  574. FilesRegistry: protoregistry.GlobalFiles,
  575. TypesRegistry: protoregistry.GlobalTypes,
  576. }.Init()
  577. file_conformance_conformance_proto_rawDesc = nil
  578. file_conformance_conformance_proto_goTypes = nil
  579. file_conformance_conformance_proto_depIdxs = nil
  580. }