@contract-case/case-connector 0.7.4 → 0.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (245) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/bin/case-connector.d.ts +5 -0
  3. package/dist/bin/case-connector.d.ts.map +1 -1
  4. package/dist/bin/case-connector.js +7 -2
  5. package/dist/bin/case-connector.js.map +1 -1
  6. package/dist/package.json +99 -0
  7. package/dist/src/connectors/case-boundary/definer.d.ts +1 -1
  8. package/dist/src/connectors/case-boundary/definer.d.ts.map +1 -1
  9. package/dist/src/connectors/case-boundary/definer.js +2 -2
  10. package/dist/src/connectors/case-boundary/definer.js.map +1 -1
  11. package/dist/src/connectors/case-boundary/internals/BoundaryContractDefiner.d.ts +32 -0
  12. package/dist/src/connectors/case-boundary/internals/BoundaryContractDefiner.d.ts.map +1 -0
  13. package/dist/src/connectors/case-boundary/internals/BoundaryContractDefiner.js +128 -0
  14. package/dist/src/connectors/case-boundary/internals/BoundaryContractDefiner.js.map +1 -0
  15. package/dist/src/connectors/case-boundary/internals/BoundaryContractVerifier.d.ts +50 -0
  16. package/dist/src/connectors/case-boundary/internals/BoundaryContractVerifier.d.ts.map +1 -0
  17. package/dist/src/connectors/case-boundary/internals/BoundaryContractVerifier.js +136 -0
  18. package/dist/src/connectors/case-boundary/internals/BoundaryContractVerifier.js.map +1 -0
  19. package/dist/src/connectors/case-boundary/internals/boundary/BoundaryCrashMessage.d.ts +10 -0
  20. package/dist/src/connectors/case-boundary/internals/boundary/BoundaryCrashMessage.d.ts.map +1 -0
  21. package/dist/src/connectors/case-boundary/internals/boundary/BoundaryCrashMessage.js +41 -0
  22. package/dist/src/connectors/case-boundary/internals/boundary/BoundaryCrashMessage.js.map +1 -0
  23. package/dist/src/connectors/case-boundary/internals/boundary/ConfigLogLevelConstants.d.ts +32 -0
  24. package/dist/src/connectors/case-boundary/internals/boundary/ConfigLogLevelConstants.d.ts.map +1 -0
  25. package/dist/src/connectors/case-boundary/internals/boundary/ConfigLogLevelConstants.js +36 -0
  26. package/dist/src/connectors/case-boundary/internals/boundary/ConfigLogLevelConstants.js.map +1 -0
  27. package/dist/src/connectors/case-boundary/internals/boundary/ConfigPublishConstants.d.ts +20 -0
  28. package/dist/src/connectors/case-boundary/internals/boundary/ConfigPublishConstants.d.ts.map +1 -0
  29. package/dist/src/connectors/case-boundary/internals/boundary/ConfigPublishConstants.js +24 -0
  30. package/dist/src/connectors/case-boundary/internals/boundary/ConfigPublishConstants.js.map +1 -0
  31. package/dist/src/connectors/case-boundary/internals/boundary/ILogPrinter.d.ts +145 -0
  32. package/dist/src/connectors/case-boundary/internals/boundary/ILogPrinter.d.ts.map +1 -0
  33. package/dist/src/connectors/case-boundary/internals/boundary/ILogPrinter.js +3 -0
  34. package/dist/src/connectors/case-boundary/internals/boundary/ILogPrinter.js.map +1 -0
  35. package/dist/src/connectors/case-boundary/internals/boundary/IRunTestCallback.d.ts +41 -0
  36. package/dist/src/connectors/case-boundary/internals/boundary/IRunTestCallback.d.ts.map +1 -0
  37. package/dist/src/connectors/case-boundary/internals/boundary/IRunTestCallback.js +3 -0
  38. package/dist/src/connectors/case-boundary/internals/boundary/IRunTestCallback.js.map +1 -0
  39. package/dist/src/connectors/case-boundary/internals/boundary/ITriggerFunction.d.ts +19 -0
  40. package/dist/src/connectors/case-boundary/internals/boundary/ITriggerFunction.d.ts.map +1 -0
  41. package/dist/src/connectors/case-boundary/internals/boundary/ITriggerFunction.js +3 -0
  42. package/dist/src/connectors/case-boundary/internals/boundary/ITriggerFunction.js.map +1 -0
  43. package/dist/src/connectors/case-boundary/internals/boundary/Result/BoundaryFailure.d.ts +15 -0
  44. package/dist/src/connectors/case-boundary/internals/boundary/Result/BoundaryFailure.d.ts.map +1 -0
  45. package/dist/src/connectors/case-boundary/internals/boundary/Result/BoundaryFailure.js +25 -0
  46. package/dist/src/connectors/case-boundary/internals/boundary/Result/BoundaryFailure.js.map +1 -0
  47. package/dist/src/connectors/case-boundary/internals/boundary/Result/BoundaryFailureKindConstants.d.ts +32 -0
  48. package/dist/src/connectors/case-boundary/internals/boundary/Result/BoundaryFailureKindConstants.d.ts.map +1 -0
  49. package/dist/src/connectors/case-boundary/internals/boundary/Result/BoundaryFailureKindConstants.js +37 -0
  50. package/dist/src/connectors/case-boundary/internals/boundary/Result/BoundaryFailureKindConstants.js.map +1 -0
  51. package/dist/src/connectors/case-boundary/internals/boundary/Result/BoundaryResult.d.ts +15 -0
  52. package/dist/src/connectors/case-boundary/internals/boundary/Result/BoundaryResult.d.ts.map +1 -0
  53. package/dist/src/connectors/case-boundary/internals/boundary/Result/BoundaryResult.js +20 -0
  54. package/dist/src/connectors/case-boundary/internals/boundary/Result/BoundaryResult.js.map +1 -0
  55. package/dist/src/connectors/case-boundary/internals/boundary/Result/BoundaryResultTypeConstants.d.ts +35 -0
  56. package/dist/src/connectors/case-boundary/internals/boundary/Result/BoundaryResultTypeConstants.d.ts.map +1 -0
  57. package/dist/src/connectors/case-boundary/internals/boundary/Result/BoundaryResultTypeConstants.js +39 -0
  58. package/dist/src/connectors/case-boundary/internals/boundary/Result/BoundaryResultTypeConstants.js.map +1 -0
  59. package/dist/src/connectors/case-boundary/internals/boundary/Result/BoundarySuccess.d.ts +12 -0
  60. package/dist/src/connectors/case-boundary/internals/boundary/Result/BoundarySuccess.d.ts.map +1 -0
  61. package/dist/src/connectors/case-boundary/internals/boundary/Result/BoundarySuccess.js +19 -0
  62. package/dist/src/connectors/case-boundary/internals/boundary/Result/BoundarySuccess.js.map +1 -0
  63. package/dist/src/connectors/case-boundary/internals/boundary/Result/BoundarySuccessWithAny.d.ts +15 -0
  64. package/dist/src/connectors/case-boundary/internals/boundary/Result/BoundarySuccessWithAny.d.ts.map +1 -0
  65. package/dist/src/connectors/case-boundary/internals/boundary/Result/BoundarySuccessWithAny.js +23 -0
  66. package/dist/src/connectors/case-boundary/internals/boundary/Result/BoundarySuccessWithAny.js.map +1 -0
  67. package/dist/src/connectors/case-boundary/internals/boundary/Result/BoundarySuccessWithMap.d.ts +13 -0
  68. package/dist/src/connectors/case-boundary/internals/boundary/Result/BoundarySuccessWithMap.d.ts.map +1 -0
  69. package/dist/src/connectors/case-boundary/internals/boundary/Result/BoundarySuccessWithMap.js +21 -0
  70. package/dist/src/connectors/case-boundary/internals/boundary/Result/BoundarySuccessWithMap.js.map +1 -0
  71. package/dist/src/connectors/case-boundary/internals/boundary/Result/index.d.ts +8 -0
  72. package/dist/src/connectors/case-boundary/internals/boundary/Result/index.d.ts.map +1 -0
  73. package/dist/src/connectors/case-boundary/internals/boundary/Result/index.js +24 -0
  74. package/dist/src/connectors/case-boundary/internals/boundary/Result/index.js.map +1 -0
  75. package/dist/src/connectors/case-boundary/internals/boundary/StateHandler.d.ts +28 -0
  76. package/dist/src/connectors/case-boundary/internals/boundary/StateHandler.d.ts.map +1 -0
  77. package/dist/src/connectors/case-boundary/internals/boundary/StateHandler.js +36 -0
  78. package/dist/src/connectors/case-boundary/internals/boundary/StateHandler.js.map +1 -0
  79. package/dist/src/connectors/case-boundary/internals/boundary/config.types.d.ts +143 -0
  80. package/dist/src/connectors/case-boundary/internals/boundary/config.types.d.ts.map +1 -0
  81. package/dist/src/connectors/case-boundary/internals/boundary/config.types.js +3 -0
  82. package/dist/src/connectors/case-boundary/internals/boundary/config.types.js.map +1 -0
  83. package/dist/src/connectors/case-boundary/internals/boundary/index.d.ts +10 -0
  84. package/dist/src/connectors/case-boundary/internals/boundary/index.d.ts.map +1 -0
  85. package/dist/src/connectors/case-boundary/internals/boundary/index.js +26 -0
  86. package/dist/src/connectors/case-boundary/internals/boundary/index.js.map +1 -0
  87. package/dist/src/connectors/case-boundary/internals/index.d.ts +12 -0
  88. package/dist/src/connectors/case-boundary/internals/index.d.ts.map +1 -0
  89. package/dist/src/connectors/case-boundary/internals/index.js +28 -0
  90. package/dist/src/connectors/case-boundary/internals/index.js.map +1 -0
  91. package/dist/src/connectors/case-boundary/internals/mappers/LogPrinter.d.ts +4 -0
  92. package/dist/src/connectors/case-boundary/internals/mappers/LogPrinter.d.ts.map +1 -0
  93. package/dist/src/connectors/case-boundary/internals/mappers/LogPrinter.js +23 -0
  94. package/dist/src/connectors/case-boundary/internals/mappers/LogPrinter.js.map +1 -0
  95. package/dist/src/connectors/case-boundary/internals/mappers/Result/failureToJsError.d.ts +4 -0
  96. package/dist/src/connectors/case-boundary/internals/mappers/Result/failureToJsError.d.ts.map +1 -0
  97. package/dist/src/connectors/case-boundary/internals/mappers/Result/failureToJsError.js +42 -0
  98. package/dist/src/connectors/case-boundary/internals/mappers/Result/failureToJsError.js.map +1 -0
  99. package/dist/src/connectors/case-boundary/internals/mappers/Result/handleResult.d.ts +4 -0
  100. package/dist/src/connectors/case-boundary/internals/mappers/Result/handleResult.d.ts.map +1 -0
  101. package/dist/src/connectors/case-boundary/internals/mappers/Result/handleResult.js +17 -0
  102. package/dist/src/connectors/case-boundary/internals/mappers/Result/handleResult.js.map +1 -0
  103. package/dist/src/connectors/case-boundary/internals/mappers/Result/index.d.ts +4 -0
  104. package/dist/src/connectors/case-boundary/internals/mappers/Result/index.d.ts.map +1 -0
  105. package/dist/src/connectors/case-boundary/internals/mappers/Result/index.js +20 -0
  106. package/dist/src/connectors/case-boundary/internals/mappers/Result/index.js.map +1 -0
  107. package/dist/src/connectors/case-boundary/internals/mappers/Result/jsErrorToFailure.d.ts +3 -0
  108. package/dist/src/connectors/case-boundary/internals/mappers/Result/jsErrorToFailure.d.ts.map +1 -0
  109. package/dist/src/connectors/case-boundary/internals/mappers/Result/jsErrorToFailure.js +14 -0
  110. package/dist/src/connectors/case-boundary/internals/mappers/Result/jsErrorToFailure.js.map +1 -0
  111. package/dist/src/connectors/case-boundary/internals/mappers/Result/types.d.ts +2 -0
  112. package/dist/src/connectors/case-boundary/internals/mappers/Result/types.d.ts.map +1 -0
  113. package/dist/src/connectors/case-boundary/internals/mappers/Result/types.js +3 -0
  114. package/dist/src/connectors/case-boundary/internals/mappers/Result/types.js.map +1 -0
  115. package/dist/src/connectors/case-boundary/internals/mappers/config.d.ts +10 -0
  116. package/dist/src/connectors/case-boundary/internals/mappers/config.d.ts.map +1 -0
  117. package/dist/src/connectors/case-boundary/internals/mappers/config.js +59 -0
  118. package/dist/src/connectors/case-boundary/internals/mappers/config.js.map +1 -0
  119. package/dist/src/connectors/case-boundary/internals/mappers/index.d.ts +5 -0
  120. package/dist/src/connectors/case-boundary/internals/mappers/index.d.ts.map +1 -0
  121. package/dist/src/connectors/case-boundary/internals/mappers/index.js +21 -0
  122. package/dist/src/connectors/case-boundary/internals/mappers/index.js.map +1 -0
  123. package/dist/src/connectors/case-boundary/internals/mappers/stateHandlers.d.ts +9 -0
  124. package/dist/src/connectors/case-boundary/internals/mappers/stateHandlers.d.ts.map +1 -0
  125. package/dist/src/connectors/case-boundary/internals/mappers/stateHandlers.js +46 -0
  126. package/dist/src/connectors/case-boundary/internals/mappers/stateHandlers.js.map +1 -0
  127. package/dist/src/connectors/case-boundary/internals/mappers/triggers.d.ts +4 -0
  128. package/dist/src/connectors/case-boundary/internals/mappers/triggers.d.ts.map +1 -0
  129. package/dist/src/connectors/case-boundary/internals/mappers/triggers.js +25 -0
  130. package/dist/src/connectors/case-boundary/internals/mappers/triggers.js.map +1 -0
  131. package/dist/src/connectors/case-boundary/internals/types.d.ts +2 -0
  132. package/dist/src/connectors/case-boundary/internals/types.d.ts.map +1 -0
  133. package/dist/src/connectors/case-boundary/internals/types.js +19 -0
  134. package/dist/src/connectors/case-boundary/internals/types.js.map +1 -0
  135. package/dist/src/connectors/case-boundary/internals/types.jsii-boundary.d.ts +24 -0
  136. package/dist/src/connectors/case-boundary/internals/types.jsii-boundary.d.ts.map +1 -0
  137. package/dist/src/connectors/case-boundary/internals/types.jsii-boundary.js +4 -0
  138. package/dist/src/connectors/case-boundary/internals/types.jsii-boundary.js.map +1 -0
  139. package/dist/src/connectors/case-boundary/internals/types.ts-boundary.d.ts +26 -0
  140. package/dist/src/connectors/case-boundary/internals/types.ts-boundary.d.ts.map +1 -0
  141. package/dist/src/connectors/case-boundary/internals/types.ts-boundary.js +3 -0
  142. package/dist/src/connectors/case-boundary/internals/types.ts-boundary.js.map +1 -0
  143. package/dist/src/connectors/case-boundary/verifier.d.ts +1 -1
  144. package/dist/src/connectors/case-boundary/verifier.d.ts.map +1 -1
  145. package/dist/src/connectors/case-boundary/verifier.js +2 -2
  146. package/dist/src/connectors/case-boundary/verifier.js.map +1 -1
  147. package/dist/src/connectors/grpc/contract-case-stream.d.ts +5 -0
  148. package/dist/src/connectors/grpc/contract-case-stream.d.ts.map +1 -0
  149. package/dist/src/connectors/grpc/contract-case-stream.js +39 -0
  150. package/dist/src/connectors/grpc/contract-case-stream.js.map +1 -0
  151. package/dist/src/connectors/grpc/contractDefinition.d.ts +4 -0
  152. package/dist/src/connectors/grpc/contractDefinition.d.ts.map +1 -0
  153. package/dist/src/connectors/grpc/contractDefinition.js +111 -0
  154. package/dist/src/connectors/grpc/contractDefinition.js.map +1 -0
  155. package/dist/src/connectors/grpc/contractVerification.d.ts +4 -0
  156. package/dist/src/connectors/grpc/contractVerification.d.ts.map +1 -0
  157. package/dist/src/connectors/grpc/contractVerification.js +121 -0
  158. package/dist/src/connectors/grpc/contractVerification.js.map +1 -0
  159. package/dist/src/connectors/grpc/printers.d.ts +5 -0
  160. package/dist/src/connectors/grpc/printers.d.ts.map +1 -0
  161. package/dist/src/connectors/grpc/printers.js +24 -0
  162. package/dist/src/connectors/grpc/printers.js.map +1 -0
  163. package/dist/src/connectors/grpc/promiseHandler/promiseHandler.d.ts +2 -2
  164. package/dist/src/connectors/grpc/promiseHandler/promiseHandler.d.ts.map +1 -1
  165. package/dist/src/connectors/grpc/promiseHandler/promiseHandler.js +12 -3
  166. package/dist/src/connectors/grpc/promiseHandler/promiseHandler.js.map +1 -1
  167. package/dist/src/connectors/grpc/proto/contract_case_stream_grpc_pb.d.ts +23 -5
  168. package/dist/src/connectors/grpc/proto/contract_case_stream_grpc_pb.d.ts.map +1 -1
  169. package/dist/src/connectors/grpc/proto/contract_case_stream_grpc_pb.js +28 -8
  170. package/dist/src/connectors/grpc/proto/contract_case_stream_grpc_pb.js.map +1 -1
  171. package/dist/src/connectors/grpc/proto/contract_case_stream_pb.js +1365 -201
  172. package/dist/src/connectors/grpc/proto/contract_case_stream_pb.js.map +1 -1
  173. package/dist/src/connectors/grpc/requestMappers/config/config.d.ts +2 -2
  174. package/dist/src/connectors/grpc/requestMappers/config/config.d.ts.map +1 -1
  175. package/dist/src/connectors/grpc/requestMappers/config/config.js +12 -3
  176. package/dist/src/connectors/grpc/requestMappers/config/config.js.map +1 -1
  177. package/dist/src/connectors/grpc/requestMappers/config/stateHandlers.d.ts +2 -2
  178. package/dist/src/connectors/grpc/requestMappers/config/stateHandlers.d.ts.map +1 -1
  179. package/dist/src/connectors/grpc/requestMappers/config/stateHandlers.js +1 -1
  180. package/dist/src/connectors/grpc/requestMappers/config/stateHandlers.js.map +1 -1
  181. package/dist/src/connectors/grpc/requestMappers/result.d.ts +1 -1
  182. package/dist/src/connectors/grpc/requestMappers/result.d.ts.map +1 -1
  183. package/dist/src/connectors/grpc/requestMappers/result.js +5 -5
  184. package/dist/src/connectors/grpc/requestMappers/result.js.map +1 -1
  185. package/dist/src/connectors/grpc/responseMappers/logMessages.d.ts +6 -6
  186. package/dist/src/connectors/grpc/responseMappers/logMessages.d.ts.map +1 -1
  187. package/dist/src/connectors/grpc/responseMappers/logMessages.js +4 -4
  188. package/dist/src/connectors/grpc/responseMappers/logMessages.js.map +1 -1
  189. package/dist/src/connectors/grpc/responseMappers/result.d.ts +3 -3
  190. package/dist/src/connectors/grpc/responseMappers/result.d.ts.map +1 -1
  191. package/dist/src/connectors/grpc/responseMappers/result.js +3 -2
  192. package/dist/src/connectors/grpc/responseMappers/result.js.map +1 -1
  193. package/dist/src/connectors/grpc/sendContractResponse.d.ts +5 -0
  194. package/dist/src/connectors/grpc/sendContractResponse.d.ts.map +1 -0
  195. package/dist/src/connectors/grpc/sendContractResponse.js +16 -0
  196. package/dist/src/connectors/grpc/sendContractResponse.js.map +1 -0
  197. package/dist/src/domain/config.d.ts +1 -1
  198. package/dist/src/domain/config.d.ts.map +1 -1
  199. package/dist/src/domain/config.js +6 -0
  200. package/dist/src/domain/config.js.map +1 -1
  201. package/dist/src/domain/define.d.ts +1 -1
  202. package/dist/src/domain/define.d.ts.map +1 -1
  203. package/dist/src/domain/define.js.map +1 -1
  204. package/dist/src/domain/errors/errors.d.ts +1 -1
  205. package/dist/src/domain/errors/errors.d.ts.map +1 -1
  206. package/dist/src/domain/errors/errors.js +3 -3
  207. package/dist/src/domain/errors/errors.js.map +1 -1
  208. package/dist/src/domain/maintainerLog.d.ts.map +1 -1
  209. package/dist/src/domain/maintainerLog.js +7 -2
  210. package/dist/src/domain/maintainerLog.js.map +1 -1
  211. package/dist/src/domain/types.d.ts +1 -1
  212. package/dist/src/domain/types.d.ts.map +1 -1
  213. package/dist/src/domain/verify.d.ts +1 -1
  214. package/dist/src/domain/verify.d.ts.map +1 -1
  215. package/dist/src/entities/types.d.ts +2 -0
  216. package/dist/src/entities/types.d.ts.map +1 -0
  217. package/dist/src/entities/types.js +15 -0
  218. package/dist/src/entities/types.js.map +1 -0
  219. package/dist/src/index.d.ts +1 -0
  220. package/dist/src/index.d.ts.map +1 -1
  221. package/dist/src/index.js +16 -0
  222. package/dist/src/index.js.map +1 -1
  223. package/dist/src/versionString.d.ts.map +1 -1
  224. package/dist/src/versionString.js +6 -30
  225. package/dist/src/versionString.js.map +1 -1
  226. package/dist/tsconfig.build.tsbuildinfo +1 -1
  227. package/package/case-connector.js +3 -0
  228. package/package/case-connector.js.LICENSE.txt +313 -0
  229. package/package/case-connector.js.map +1 -0
  230. package/package.json +16 -10
  231. package/proto/contract_case_stream.proto +59 -4
  232. package/src/connectors/grpc/proto/contract_case_stream_grpc_pb.d.ts +57 -9
  233. package/src/connectors/grpc/proto/contract_case_stream_grpc_pb.js +30 -8
  234. package/src/connectors/grpc/proto/contract_case_stream_pb.d.ts +275 -18
  235. package/src/connectors/grpc/proto/contract_case_stream_pb.js +1645 -209
  236. package/tsconfig.build.json +1 -1
  237. package/webpack.config.js +46 -0
  238. package/dist/src/connectors/grpc/contract-case-stream-temp.d.ts +0 -6
  239. package/dist/src/connectors/grpc/contract-case-stream-temp.d.ts.map +0 -1
  240. package/dist/src/connectors/grpc/contract-case-stream-temp.js +0 -152
  241. package/dist/src/connectors/grpc/contract-case-stream-temp.js.map +0 -1
  242. package/dist/src/connectors/grpc/executeCall.d.ts +0 -5
  243. package/dist/src/connectors/grpc/executeCall.d.ts.map +0 -1
  244. package/dist/src/connectors/grpc/executeCall.js +0 -14
  245. package/dist/src/connectors/grpc/executeCall.js.map +0 -1
@@ -25,16 +25,19 @@ var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_
25
25
  goog.object.extend(proto, google_protobuf_struct_pb);
26
26
  var google_protobuf_wrappers_pb = require('google-protobuf/google/protobuf/wrappers_pb.js');
27
27
  goog.object.extend(proto, google_protobuf_wrappers_pb);
28
+ goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions', null, global);
28
29
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.BeginDefinitionRequest', null, global);
30
+ goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest', null, global);
29
31
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.BoundaryResult', null, global);
30
32
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.BoundaryResult.ValueCase', null, global);
31
33
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.ContractCaseConfig', null, global);
32
34
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.ContractCaseConfig.UsernamePassword', null, global);
35
+ goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.ContractResponse', null, global);
36
+ goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.ContractResponse.KindCase', null, global);
33
37
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.DefinitionRequest', null, global);
34
38
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.DefinitionRequest.KindCase', null, global);
35
- goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.DefinitionResponse', null, global);
36
- goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.DefinitionResponse.KindCase', null, global);
37
39
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.EndDefinitionRequest', null, global);
40
+ goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.InvokeTest', null, global);
38
41
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.LogRequest', null, global);
39
42
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.PrintMatchErrorRequest', null, global);
40
43
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.PrintMessageErrorRequest', null, global);
@@ -47,11 +50,15 @@ goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.ResultSuccessHasM
47
50
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.RunExampleRequest', null, global);
48
51
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.RunRejectingExampleRequest', null, global);
49
52
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.RunStateHandlerRequest', null, global);
53
+ goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.RunVerification', null, global);
54
+ goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.StartTestEvent', null, global);
50
55
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.StateHandlerHandle', null, global);
51
56
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.StateHandlerHandle.Stage', null, global);
52
57
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.StripMatchersRequest', null, global);
53
58
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.TriggerFunctionHandle', null, global);
54
59
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.TriggerFunctionRequest', null, global);
60
+ goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.VerificationRequest', null, global);
61
+ goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.VerificationRequest.KindCase', null, global);
55
62
  /**
56
63
  * Generated by JsPbCodeGenerator.
57
64
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -524,16 +531,142 @@ if (goog.DEBUG && !COMPILED) {
524
531
  * @extends {jspb.Message}
525
532
  * @constructor
526
533
  */
527
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse = function(opt_data) {
528
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.io.contract_testing.contractcase.grpc.DefinitionResponse.oneofGroups_);
534
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest = function(opt_data) {
535
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.repeatedFields_, null);
529
536
  };
530
- goog.inherits(proto.io.contract_testing.contractcase.grpc.DefinitionResponse, jspb.Message);
537
+ goog.inherits(proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest, jspb.Message);
531
538
  if (goog.DEBUG && !COMPILED) {
532
539
  /**
533
540
  * @public
534
541
  * @override
535
542
  */
536
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.displayName = 'proto.io.contract_testing.contractcase.grpc.DefinitionResponse';
543
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.displayName = 'proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest';
544
+ }
545
+ /**
546
+ * Generated by JsPbCodeGenerator.
547
+ * @param {Array=} opt_data Optional initial data array, typically from a
548
+ * server response, or constructed directly in Javascript. The array is used
549
+ * in place and becomes part of the constructed object. It is not cloned.
550
+ * If no data is provided, the constructed object will be empty, but still
551
+ * valid.
552
+ * @extends {jspb.Message}
553
+ * @constructor
554
+ */
555
+ proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions = function(opt_data) {
556
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
557
+ };
558
+ goog.inherits(proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions, jspb.Message);
559
+ if (goog.DEBUG && !COMPILED) {
560
+ /**
561
+ * @public
562
+ * @override
563
+ */
564
+ proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions.displayName = 'proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions';
565
+ }
566
+ /**
567
+ * Generated by JsPbCodeGenerator.
568
+ * @param {Array=} opt_data Optional initial data array, typically from a
569
+ * server response, or constructed directly in Javascript. The array is used
570
+ * in place and becomes part of the constructed object. It is not cloned.
571
+ * If no data is provided, the constructed object will be empty, but still
572
+ * valid.
573
+ * @extends {jspb.Message}
574
+ * @constructor
575
+ */
576
+ proto.io.contract_testing.contractcase.grpc.RunVerification = function(opt_data) {
577
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
578
+ };
579
+ goog.inherits(proto.io.contract_testing.contractcase.grpc.RunVerification, jspb.Message);
580
+ if (goog.DEBUG && !COMPILED) {
581
+ /**
582
+ * @public
583
+ * @override
584
+ */
585
+ proto.io.contract_testing.contractcase.grpc.RunVerification.displayName = 'proto.io.contract_testing.contractcase.grpc.RunVerification';
586
+ }
587
+ /**
588
+ * Generated by JsPbCodeGenerator.
589
+ * @param {Array=} opt_data Optional initial data array, typically from a
590
+ * server response, or constructed directly in Javascript. The array is used
591
+ * in place and becomes part of the constructed object. It is not cloned.
592
+ * If no data is provided, the constructed object will be empty, but still
593
+ * valid.
594
+ * @extends {jspb.Message}
595
+ * @constructor
596
+ */
597
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent = function(opt_data) {
598
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
599
+ };
600
+ goog.inherits(proto.io.contract_testing.contractcase.grpc.StartTestEvent, jspb.Message);
601
+ if (goog.DEBUG && !COMPILED) {
602
+ /**
603
+ * @public
604
+ * @override
605
+ */
606
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.displayName = 'proto.io.contract_testing.contractcase.grpc.StartTestEvent';
607
+ }
608
+ /**
609
+ * Generated by JsPbCodeGenerator.
610
+ * @param {Array=} opt_data Optional initial data array, typically from a
611
+ * server response, or constructed directly in Javascript. The array is used
612
+ * in place and becomes part of the constructed object. It is not cloned.
613
+ * If no data is provided, the constructed object will be empty, but still
614
+ * valid.
615
+ * @extends {jspb.Message}
616
+ * @constructor
617
+ */
618
+ proto.io.contract_testing.contractcase.grpc.InvokeTest = function(opt_data) {
619
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
620
+ };
621
+ goog.inherits(proto.io.contract_testing.contractcase.grpc.InvokeTest, jspb.Message);
622
+ if (goog.DEBUG && !COMPILED) {
623
+ /**
624
+ * @public
625
+ * @override
626
+ */
627
+ proto.io.contract_testing.contractcase.grpc.InvokeTest.displayName = 'proto.io.contract_testing.contractcase.grpc.InvokeTest';
628
+ }
629
+ /**
630
+ * Generated by JsPbCodeGenerator.
631
+ * @param {Array=} opt_data Optional initial data array, typically from a
632
+ * server response, or constructed directly in Javascript. The array is used
633
+ * in place and becomes part of the constructed object. It is not cloned.
634
+ * If no data is provided, the constructed object will be empty, but still
635
+ * valid.
636
+ * @extends {jspb.Message}
637
+ * @constructor
638
+ */
639
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest = function(opt_data) {
640
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.io.contract_testing.contractcase.grpc.VerificationRequest.oneofGroups_);
641
+ };
642
+ goog.inherits(proto.io.contract_testing.contractcase.grpc.VerificationRequest, jspb.Message);
643
+ if (goog.DEBUG && !COMPILED) {
644
+ /**
645
+ * @public
646
+ * @override
647
+ */
648
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.displayName = 'proto.io.contract_testing.contractcase.grpc.VerificationRequest';
649
+ }
650
+ /**
651
+ * Generated by JsPbCodeGenerator.
652
+ * @param {Array=} opt_data Optional initial data array, typically from a
653
+ * server response, or constructed directly in Javascript. The array is used
654
+ * in place and becomes part of the constructed object. It is not cloned.
655
+ * If no data is provided, the constructed object will be empty, but still
656
+ * valid.
657
+ * @extends {jspb.Message}
658
+ * @constructor
659
+ */
660
+ proto.io.contract_testing.contractcase.grpc.ContractResponse = function(opt_data) {
661
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.io.contract_testing.contractcase.grpc.ContractResponse.oneofGroups_);
662
+ };
663
+ goog.inherits(proto.io.contract_testing.contractcase.grpc.ContractResponse, jspb.Message);
664
+ if (goog.DEBUG && !COMPILED) {
665
+ /**
666
+ * @public
667
+ * @override
668
+ */
669
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.displayName = 'proto.io.contract_testing.contractcase.grpc.ContractResponse';
537
670
  }
538
671
 
539
672
  /**
@@ -6354,35 +6487,11 @@ proto.io.contract_testing.contractcase.grpc.DefinitionRequest.prototype.hasResul
6354
6487
 
6355
6488
 
6356
6489
  /**
6357
- * Oneof group definitions for this message. Each group defines the field
6358
- * numbers belonging to that group. When of these fields' value is set, all
6359
- * other fields in the group are cleared. During deserialization, if multiple
6360
- * fields are encountered for a group, only the last value seen will be kept.
6361
- * @private {!Array<!Array<number>>}
6490
+ * List of repeated fields within this message type.
6491
+ * @private {!Array<number>}
6362
6492
  * @const
6363
6493
  */
6364
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.oneofGroups_ = [[2,3,4,5,6,7,8]];
6365
-
6366
- /**
6367
- * @enum {number}
6368
- */
6369
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.KindCase = {
6370
- KIND_NOT_SET: 0,
6371
- RUN_STATE_HANDLER: 2,
6372
- LOG_REQUEST: 3,
6373
- PRINT_MATCH_ERROR_REQUEST: 4,
6374
- PRINT_MESSAGE_ERROR_REQUEST: 5,
6375
- PRINT_TEST_TITLE_REQUEST: 6,
6376
- TRIGGER_FUNCTION_REQUEST: 7,
6377
- RESULT_RESPONSE: 8
6378
- };
6379
-
6380
- /**
6381
- * @return {proto.io.contract_testing.contractcase.grpc.DefinitionResponse.KindCase}
6382
- */
6383
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.getKindCase = function() {
6384
- return /** @type {proto.io.contract_testing.contractcase.grpc.DefinitionResponse.KindCase} */(jspb.Message.computeOneofCase(this, proto.io.contract_testing.contractcase.grpc.DefinitionResponse.oneofGroups_[0]));
6385
- };
6494
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.repeatedFields_ = [4];
6386
6495
 
6387
6496
 
6388
6497
 
@@ -6399,8 +6508,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
6399
6508
  * http://goto/soy-param-migration
6400
6509
  * @return {!Object}
6401
6510
  */
6402
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.toObject = function(opt_includeInstance) {
6403
- return proto.io.contract_testing.contractcase.grpc.DefinitionResponse.toObject(opt_includeInstance, this);
6511
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.prototype.toObject = function(opt_includeInstance) {
6512
+ return proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.toObject(opt_includeInstance, this);
6404
6513
  };
6405
6514
 
6406
6515
 
@@ -6409,20 +6518,15 @@ proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.toObjec
6409
6518
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6410
6519
  * the JSPB instance for transitional soy proto support:
6411
6520
  * http://goto/soy-param-migration
6412
- * @param {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} msg The msg instance to transform.
6521
+ * @param {!proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest} msg The msg instance to transform.
6413
6522
  * @return {!Object}
6414
6523
  * @suppress {unusedLocalVariables} f is only used for nested messages
6415
6524
  */
6416
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.toObject = function(includeInstance, msg) {
6525
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.toObject = function(includeInstance, msg) {
6417
6526
  var f, obj = {
6418
- id: (f = msg.getId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
6419
- runStateHandler: (f = msg.getRunStateHandler()) && proto.io.contract_testing.contractcase.grpc.RunStateHandlerRequest.toObject(includeInstance, f),
6420
- logRequest: (f = msg.getLogRequest()) && proto.io.contract_testing.contractcase.grpc.LogRequest.toObject(includeInstance, f),
6421
- printMatchErrorRequest: (f = msg.getPrintMatchErrorRequest()) && proto.io.contract_testing.contractcase.grpc.PrintMatchErrorRequest.toObject(includeInstance, f),
6422
- printMessageErrorRequest: (f = msg.getPrintMessageErrorRequest()) && proto.io.contract_testing.contractcase.grpc.PrintMessageErrorRequest.toObject(includeInstance, f),
6423
- printTestTitleRequest: (f = msg.getPrintTestTitleRequest()) && proto.io.contract_testing.contractcase.grpc.PrintTestTitleRequest.toObject(includeInstance, f),
6424
- triggerFunctionRequest: (f = msg.getTriggerFunctionRequest()) && proto.io.contract_testing.contractcase.grpc.TriggerFunctionRequest.toObject(includeInstance, f),
6425
- resultResponse: (f = msg.getResultResponse()) && proto.io.contract_testing.contractcase.grpc.ResultResponse.toObject(includeInstance, f)
6527
+ config: (f = msg.getConfig()) && proto.io.contract_testing.contractcase.grpc.ContractCaseConfig.toObject(includeInstance, f),
6528
+ callerVersionsList: jspb.Message.toObjectList(msg.getCallerVersionsList(),
6529
+ google_protobuf_wrappers_pb.StringValue.toObject, includeInstance)
6426
6530
  };
6427
6531
 
6428
6532
  if (includeInstance) {
@@ -6436,23 +6540,23 @@ proto.io.contract_testing.contractcase.grpc.DefinitionResponse.toObject = functi
6436
6540
  /**
6437
6541
  * Deserializes binary data (in protobuf wire format).
6438
6542
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
6439
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse}
6543
+ * @return {!proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest}
6440
6544
  */
6441
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.deserializeBinary = function(bytes) {
6545
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.deserializeBinary = function(bytes) {
6442
6546
  var reader = new jspb.BinaryReader(bytes);
6443
- var msg = new proto.io.contract_testing.contractcase.grpc.DefinitionResponse;
6444
- return proto.io.contract_testing.contractcase.grpc.DefinitionResponse.deserializeBinaryFromReader(msg, reader);
6547
+ var msg = new proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest;
6548
+ return proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.deserializeBinaryFromReader(msg, reader);
6445
6549
  };
6446
6550
 
6447
6551
 
6448
6552
  /**
6449
6553
  * Deserializes binary data (in protobuf wire format) from the
6450
6554
  * given reader into the given message object.
6451
- * @param {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} msg The message object to deserialize into.
6555
+ * @param {!proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest} msg The message object to deserialize into.
6452
6556
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6453
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse}
6557
+ * @return {!proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest}
6454
6558
  */
6455
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.deserializeBinaryFromReader = function(msg, reader) {
6559
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.deserializeBinaryFromReader = function(msg, reader) {
6456
6560
  while (reader.nextField()) {
6457
6561
  if (reader.isEndGroup()) {
6458
6562
  break;
@@ -6460,44 +6564,14 @@ proto.io.contract_testing.contractcase.grpc.DefinitionResponse.deserializeBinary
6460
6564
  var field = reader.getFieldNumber();
6461
6565
  switch (field) {
6462
6566
  case 1:
6463
- var value = new google_protobuf_wrappers_pb.StringValue;
6464
- reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
6465
- msg.setId(value);
6466
- break;
6467
- case 2:
6468
- var value = new proto.io.contract_testing.contractcase.grpc.RunStateHandlerRequest;
6469
- reader.readMessage(value,proto.io.contract_testing.contractcase.grpc.RunStateHandlerRequest.deserializeBinaryFromReader);
6470
- msg.setRunStateHandler(value);
6471
- break;
6472
- case 3:
6473
- var value = new proto.io.contract_testing.contractcase.grpc.LogRequest;
6474
- reader.readMessage(value,proto.io.contract_testing.contractcase.grpc.LogRequest.deserializeBinaryFromReader);
6475
- msg.setLogRequest(value);
6567
+ var value = new proto.io.contract_testing.contractcase.grpc.ContractCaseConfig;
6568
+ reader.readMessage(value,proto.io.contract_testing.contractcase.grpc.ContractCaseConfig.deserializeBinaryFromReader);
6569
+ msg.setConfig(value);
6476
6570
  break;
6477
6571
  case 4:
6478
- var value = new proto.io.contract_testing.contractcase.grpc.PrintMatchErrorRequest;
6479
- reader.readMessage(value,proto.io.contract_testing.contractcase.grpc.PrintMatchErrorRequest.deserializeBinaryFromReader);
6480
- msg.setPrintMatchErrorRequest(value);
6481
- break;
6482
- case 5:
6483
- var value = new proto.io.contract_testing.contractcase.grpc.PrintMessageErrorRequest;
6484
- reader.readMessage(value,proto.io.contract_testing.contractcase.grpc.PrintMessageErrorRequest.deserializeBinaryFromReader);
6485
- msg.setPrintMessageErrorRequest(value);
6486
- break;
6487
- case 6:
6488
- var value = new proto.io.contract_testing.contractcase.grpc.PrintTestTitleRequest;
6489
- reader.readMessage(value,proto.io.contract_testing.contractcase.grpc.PrintTestTitleRequest.deserializeBinaryFromReader);
6490
- msg.setPrintTestTitleRequest(value);
6491
- break;
6492
- case 7:
6493
- var value = new proto.io.contract_testing.contractcase.grpc.TriggerFunctionRequest;
6494
- reader.readMessage(value,proto.io.contract_testing.contractcase.grpc.TriggerFunctionRequest.deserializeBinaryFromReader);
6495
- msg.setTriggerFunctionRequest(value);
6496
- break;
6497
- case 8:
6498
- var value = new proto.io.contract_testing.contractcase.grpc.ResultResponse;
6499
- reader.readMessage(value,proto.io.contract_testing.contractcase.grpc.ResultResponse.deserializeBinaryFromReader);
6500
- msg.setResultResponse(value);
6572
+ var value = new google_protobuf_wrappers_pb.StringValue;
6573
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
6574
+ msg.addCallerVersions(value);
6501
6575
  break;
6502
6576
  default:
6503
6577
  reader.skipField();
@@ -6512,9 +6586,9 @@ proto.io.contract_testing.contractcase.grpc.DefinitionResponse.deserializeBinary
6512
6586
  * Serializes the message to binary data (in protobuf wire format).
6513
6587
  * @return {!Uint8Array}
6514
6588
  */
6515
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.serializeBinary = function() {
6589
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.prototype.serializeBinary = function() {
6516
6590
  var writer = new jspb.BinaryWriter();
6517
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.serializeBinaryToWriter(this, writer);
6591
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.serializeBinaryToWriter(this, writer);
6518
6592
  return writer.getResultBuffer();
6519
6593
  };
6520
6594
 
@@ -6522,104 +6596,56 @@ proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.seriali
6522
6596
  /**
6523
6597
  * Serializes the given message to binary data (in protobuf wire
6524
6598
  * format), writing to the given BinaryWriter.
6525
- * @param {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} message
6599
+ * @param {!proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest} message
6526
6600
  * @param {!jspb.BinaryWriter} writer
6527
6601
  * @suppress {unusedLocalVariables} f is only used for nested messages
6528
6602
  */
6529
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.serializeBinaryToWriter = function(message, writer) {
6603
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.serializeBinaryToWriter = function(message, writer) {
6530
6604
  var f = undefined;
6531
- f = message.getId();
6605
+ f = message.getConfig();
6532
6606
  if (f != null) {
6533
6607
  writer.writeMessage(
6534
6608
  1,
6535
6609
  f,
6536
- google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
6537
- );
6538
- }
6539
- f = message.getRunStateHandler();
6540
- if (f != null) {
6541
- writer.writeMessage(
6542
- 2,
6543
- f,
6544
- proto.io.contract_testing.contractcase.grpc.RunStateHandlerRequest.serializeBinaryToWriter
6545
- );
6546
- }
6547
- f = message.getLogRequest();
6548
- if (f != null) {
6549
- writer.writeMessage(
6550
- 3,
6551
- f,
6552
- proto.io.contract_testing.contractcase.grpc.LogRequest.serializeBinaryToWriter
6610
+ proto.io.contract_testing.contractcase.grpc.ContractCaseConfig.serializeBinaryToWriter
6553
6611
  );
6554
6612
  }
6555
- f = message.getPrintMatchErrorRequest();
6556
- if (f != null) {
6557
- writer.writeMessage(
6613
+ f = message.getCallerVersionsList();
6614
+ if (f.length > 0) {
6615
+ writer.writeRepeatedMessage(
6558
6616
  4,
6559
6617
  f,
6560
- proto.io.contract_testing.contractcase.grpc.PrintMatchErrorRequest.serializeBinaryToWriter
6561
- );
6562
- }
6563
- f = message.getPrintMessageErrorRequest();
6564
- if (f != null) {
6565
- writer.writeMessage(
6566
- 5,
6567
- f,
6568
- proto.io.contract_testing.contractcase.grpc.PrintMessageErrorRequest.serializeBinaryToWriter
6569
- );
6570
- }
6571
- f = message.getPrintTestTitleRequest();
6572
- if (f != null) {
6573
- writer.writeMessage(
6574
- 6,
6575
- f,
6576
- proto.io.contract_testing.contractcase.grpc.PrintTestTitleRequest.serializeBinaryToWriter
6577
- );
6578
- }
6579
- f = message.getTriggerFunctionRequest();
6580
- if (f != null) {
6581
- writer.writeMessage(
6582
- 7,
6583
- f,
6584
- proto.io.contract_testing.contractcase.grpc.TriggerFunctionRequest.serializeBinaryToWriter
6585
- );
6586
- }
6587
- f = message.getResultResponse();
6588
- if (f != null) {
6589
- writer.writeMessage(
6590
- 8,
6591
- f,
6592
- proto.io.contract_testing.contractcase.grpc.ResultResponse.serializeBinaryToWriter
6618
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
6593
6619
  );
6594
6620
  }
6595
6621
  };
6596
6622
 
6597
6623
 
6598
6624
  /**
6599
- * optional google.protobuf.StringValue id = 1;
6600
- * @return {?proto.google.protobuf.StringValue}
6625
+ * optional ContractCaseConfig config = 1;
6626
+ * @return {?proto.io.contract_testing.contractcase.grpc.ContractCaseConfig}
6601
6627
  */
6602
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.getId = function() {
6603
- return /** @type{?proto.google.protobuf.StringValue} */ (
6604
- jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
6628
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.prototype.getConfig = function() {
6629
+ return /** @type{?proto.io.contract_testing.contractcase.grpc.ContractCaseConfig} */ (
6630
+ jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.ContractCaseConfig, 1));
6605
6631
  };
6606
6632
 
6607
6633
 
6608
6634
  /**
6609
- * @param {?proto.google.protobuf.StringValue|undefined} value
6610
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
6635
+ * @param {?proto.io.contract_testing.contractcase.grpc.ContractCaseConfig|undefined} value
6636
+ * @return {!proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest} returns this
6611
6637
  */
6612
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.setId = function(value) {
6638
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.prototype.setConfig = function(value) {
6613
6639
  return jspb.Message.setWrapperField(this, 1, value);
6614
6640
  };
6615
6641
 
6616
6642
 
6617
6643
  /**
6618
6644
  * Clears the message field making it undefined.
6619
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
6645
+ * @return {!proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest} returns this
6620
6646
  */
6621
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.clearId = function() {
6622
- return this.setId(undefined);
6647
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.prototype.clearConfig = function() {
6648
+ return this.setConfig(undefined);
6623
6649
  };
6624
6650
 
6625
6651
 
@@ -6627,16 +6653,1389 @@ proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.clearId
6627
6653
  * Returns whether this field is set.
6628
6654
  * @return {boolean}
6629
6655
  */
6630
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.hasId = function() {
6656
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.prototype.hasConfig = function() {
6631
6657
  return jspb.Message.getField(this, 1) != null;
6632
6658
  };
6633
6659
 
6634
6660
 
6635
6661
  /**
6636
- * optional RunStateHandlerRequest run_state_handler = 2;
6637
- * @return {?proto.io.contract_testing.contractcase.grpc.RunStateHandlerRequest}
6662
+ * repeated google.protobuf.StringValue caller_versions = 4;
6663
+ * @return {!Array<!proto.google.protobuf.StringValue>}
6664
+ */
6665
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.prototype.getCallerVersionsList = function() {
6666
+ return /** @type{!Array<!proto.google.protobuf.StringValue>} */ (
6667
+ jspb.Message.getRepeatedWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
6668
+ };
6669
+
6670
+
6671
+ /**
6672
+ * @param {!Array<!proto.google.protobuf.StringValue>} value
6673
+ * @return {!proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest} returns this
6674
+ */
6675
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.prototype.setCallerVersionsList = function(value) {
6676
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
6677
+ };
6678
+
6679
+
6680
+ /**
6681
+ * @param {!proto.google.protobuf.StringValue=} opt_value
6682
+ * @param {number=} opt_index
6683
+ * @return {!proto.google.protobuf.StringValue}
6684
+ */
6685
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.prototype.addCallerVersions = function(opt_value, opt_index) {
6686
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.google.protobuf.StringValue, opt_index);
6687
+ };
6688
+
6689
+
6690
+ /**
6691
+ * Clears the list making it empty but non-null.
6692
+ * @return {!proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest} returns this
6693
+ */
6694
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.prototype.clearCallerVersionsList = function() {
6695
+ return this.setCallerVersionsList([]);
6696
+ };
6697
+
6698
+
6699
+
6700
+
6701
+
6702
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6703
+ /**
6704
+ * Creates an object representation of this proto.
6705
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6706
+ * Optional fields that are not set will be set to undefined.
6707
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6708
+ * For the list of reserved names please see:
6709
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6710
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6711
+ * JSPB instance for transitional soy proto support:
6712
+ * http://goto/soy-param-migration
6713
+ * @return {!Object}
6714
+ */
6715
+ proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions.prototype.toObject = function(opt_includeInstance) {
6716
+ return proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions.toObject(opt_includeInstance, this);
6717
+ };
6718
+
6719
+
6720
+ /**
6721
+ * Static version of the {@see toObject} method.
6722
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6723
+ * the JSPB instance for transitional soy proto support:
6724
+ * http://goto/soy-param-migration
6725
+ * @param {!proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions} msg The msg instance to transform.
6726
+ * @return {!Object}
6727
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6728
+ */
6729
+ proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions.toObject = function(includeInstance, msg) {
6730
+ var f, obj = {
6731
+
6732
+ };
6733
+
6734
+ if (includeInstance) {
6735
+ obj.$jspbMessageInstance = msg;
6736
+ }
6737
+ return obj;
6738
+ };
6739
+ }
6740
+
6741
+
6742
+ /**
6743
+ * Deserializes binary data (in protobuf wire format).
6744
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6745
+ * @return {!proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions}
6746
+ */
6747
+ proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions.deserializeBinary = function(bytes) {
6748
+ var reader = new jspb.BinaryReader(bytes);
6749
+ var msg = new proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions;
6750
+ return proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions.deserializeBinaryFromReader(msg, reader);
6751
+ };
6752
+
6753
+
6754
+ /**
6755
+ * Deserializes binary data (in protobuf wire format) from the
6756
+ * given reader into the given message object.
6757
+ * @param {!proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions} msg The message object to deserialize into.
6758
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6759
+ * @return {!proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions}
6760
+ */
6761
+ proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions.deserializeBinaryFromReader = function(msg, reader) {
6762
+ while (reader.nextField()) {
6763
+ if (reader.isEndGroup()) {
6764
+ break;
6765
+ }
6766
+ var field = reader.getFieldNumber();
6767
+ switch (field) {
6768
+ default:
6769
+ reader.skipField();
6770
+ break;
6771
+ }
6772
+ }
6773
+ return msg;
6774
+ };
6775
+
6776
+
6777
+ /**
6778
+ * Serializes the message to binary data (in protobuf wire format).
6779
+ * @return {!Uint8Array}
6780
+ */
6781
+ proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions.prototype.serializeBinary = function() {
6782
+ var writer = new jspb.BinaryWriter();
6783
+ proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions.serializeBinaryToWriter(this, writer);
6784
+ return writer.getResultBuffer();
6785
+ };
6786
+
6787
+
6788
+ /**
6789
+ * Serializes the given message to binary data (in protobuf wire
6790
+ * format), writing to the given BinaryWriter.
6791
+ * @param {!proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions} message
6792
+ * @param {!jspb.BinaryWriter} writer
6793
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6794
+ */
6795
+ proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions.serializeBinaryToWriter = function(message, writer) {
6796
+ var f = undefined;
6797
+ };
6798
+
6799
+
6800
+
6801
+
6802
+
6803
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6804
+ /**
6805
+ * Creates an object representation of this proto.
6806
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6807
+ * Optional fields that are not set will be set to undefined.
6808
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6809
+ * For the list of reserved names please see:
6810
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6811
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6812
+ * JSPB instance for transitional soy proto support:
6813
+ * http://goto/soy-param-migration
6814
+ * @return {!Object}
6815
+ */
6816
+ proto.io.contract_testing.contractcase.grpc.RunVerification.prototype.toObject = function(opt_includeInstance) {
6817
+ return proto.io.contract_testing.contractcase.grpc.RunVerification.toObject(opt_includeInstance, this);
6818
+ };
6819
+
6820
+
6821
+ /**
6822
+ * Static version of the {@see toObject} method.
6823
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6824
+ * the JSPB instance for transitional soy proto support:
6825
+ * http://goto/soy-param-migration
6826
+ * @param {!proto.io.contract_testing.contractcase.grpc.RunVerification} msg The msg instance to transform.
6827
+ * @return {!Object}
6828
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6829
+ */
6830
+ proto.io.contract_testing.contractcase.grpc.RunVerification.toObject = function(includeInstance, msg) {
6831
+ var f, obj = {
6832
+ config: (f = msg.getConfig()) && proto.io.contract_testing.contractcase.grpc.ContractCaseConfig.toObject(includeInstance, f)
6833
+ };
6834
+
6835
+ if (includeInstance) {
6836
+ obj.$jspbMessageInstance = msg;
6837
+ }
6838
+ return obj;
6839
+ };
6840
+ }
6841
+
6842
+
6843
+ /**
6844
+ * Deserializes binary data (in protobuf wire format).
6845
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6846
+ * @return {!proto.io.contract_testing.contractcase.grpc.RunVerification}
6847
+ */
6848
+ proto.io.contract_testing.contractcase.grpc.RunVerification.deserializeBinary = function(bytes) {
6849
+ var reader = new jspb.BinaryReader(bytes);
6850
+ var msg = new proto.io.contract_testing.contractcase.grpc.RunVerification;
6851
+ return proto.io.contract_testing.contractcase.grpc.RunVerification.deserializeBinaryFromReader(msg, reader);
6852
+ };
6853
+
6854
+
6855
+ /**
6856
+ * Deserializes binary data (in protobuf wire format) from the
6857
+ * given reader into the given message object.
6858
+ * @param {!proto.io.contract_testing.contractcase.grpc.RunVerification} msg The message object to deserialize into.
6859
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6860
+ * @return {!proto.io.contract_testing.contractcase.grpc.RunVerification}
6861
+ */
6862
+ proto.io.contract_testing.contractcase.grpc.RunVerification.deserializeBinaryFromReader = function(msg, reader) {
6863
+ while (reader.nextField()) {
6864
+ if (reader.isEndGroup()) {
6865
+ break;
6866
+ }
6867
+ var field = reader.getFieldNumber();
6868
+ switch (field) {
6869
+ case 1:
6870
+ var value = new proto.io.contract_testing.contractcase.grpc.ContractCaseConfig;
6871
+ reader.readMessage(value,proto.io.contract_testing.contractcase.grpc.ContractCaseConfig.deserializeBinaryFromReader);
6872
+ msg.setConfig(value);
6873
+ break;
6874
+ default:
6875
+ reader.skipField();
6876
+ break;
6877
+ }
6878
+ }
6879
+ return msg;
6880
+ };
6881
+
6882
+
6883
+ /**
6884
+ * Serializes the message to binary data (in protobuf wire format).
6885
+ * @return {!Uint8Array}
6886
+ */
6887
+ proto.io.contract_testing.contractcase.grpc.RunVerification.prototype.serializeBinary = function() {
6888
+ var writer = new jspb.BinaryWriter();
6889
+ proto.io.contract_testing.contractcase.grpc.RunVerification.serializeBinaryToWriter(this, writer);
6890
+ return writer.getResultBuffer();
6891
+ };
6892
+
6893
+
6894
+ /**
6895
+ * Serializes the given message to binary data (in protobuf wire
6896
+ * format), writing to the given BinaryWriter.
6897
+ * @param {!proto.io.contract_testing.contractcase.grpc.RunVerification} message
6898
+ * @param {!jspb.BinaryWriter} writer
6899
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6900
+ */
6901
+ proto.io.contract_testing.contractcase.grpc.RunVerification.serializeBinaryToWriter = function(message, writer) {
6902
+ var f = undefined;
6903
+ f = message.getConfig();
6904
+ if (f != null) {
6905
+ writer.writeMessage(
6906
+ 1,
6907
+ f,
6908
+ proto.io.contract_testing.contractcase.grpc.ContractCaseConfig.serializeBinaryToWriter
6909
+ );
6910
+ }
6911
+ };
6912
+
6913
+
6914
+ /**
6915
+ * optional ContractCaseConfig config = 1;
6916
+ * @return {?proto.io.contract_testing.contractcase.grpc.ContractCaseConfig}
6917
+ */
6918
+ proto.io.contract_testing.contractcase.grpc.RunVerification.prototype.getConfig = function() {
6919
+ return /** @type{?proto.io.contract_testing.contractcase.grpc.ContractCaseConfig} */ (
6920
+ jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.ContractCaseConfig, 1));
6921
+ };
6922
+
6923
+
6924
+ /**
6925
+ * @param {?proto.io.contract_testing.contractcase.grpc.ContractCaseConfig|undefined} value
6926
+ * @return {!proto.io.contract_testing.contractcase.grpc.RunVerification} returns this
6927
+ */
6928
+ proto.io.contract_testing.contractcase.grpc.RunVerification.prototype.setConfig = function(value) {
6929
+ return jspb.Message.setWrapperField(this, 1, value);
6930
+ };
6931
+
6932
+
6933
+ /**
6934
+ * Clears the message field making it undefined.
6935
+ * @return {!proto.io.contract_testing.contractcase.grpc.RunVerification} returns this
6936
+ */
6937
+ proto.io.contract_testing.contractcase.grpc.RunVerification.prototype.clearConfig = function() {
6938
+ return this.setConfig(undefined);
6939
+ };
6940
+
6941
+
6942
+ /**
6943
+ * Returns whether this field is set.
6944
+ * @return {boolean}
6945
+ */
6946
+ proto.io.contract_testing.contractcase.grpc.RunVerification.prototype.hasConfig = function() {
6947
+ return jspb.Message.getField(this, 1) != null;
6948
+ };
6949
+
6950
+
6951
+
6952
+
6953
+
6954
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6955
+ /**
6956
+ * Creates an object representation of this proto.
6957
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6958
+ * Optional fields that are not set will be set to undefined.
6959
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6960
+ * For the list of reserved names please see:
6961
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6962
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6963
+ * JSPB instance for transitional soy proto support:
6964
+ * http://goto/soy-param-migration
6965
+ * @return {!Object}
6966
+ */
6967
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.prototype.toObject = function(opt_includeInstance) {
6968
+ return proto.io.contract_testing.contractcase.grpc.StartTestEvent.toObject(opt_includeInstance, this);
6969
+ };
6970
+
6971
+
6972
+ /**
6973
+ * Static version of the {@see toObject} method.
6974
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6975
+ * the JSPB instance for transitional soy proto support:
6976
+ * http://goto/soy-param-migration
6977
+ * @param {!proto.io.contract_testing.contractcase.grpc.StartTestEvent} msg The msg instance to transform.
6978
+ * @return {!Object}
6979
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6980
+ */
6981
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.toObject = function(includeInstance, msg) {
6982
+ var f, obj = {
6983
+ testName: (f = msg.getTestName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
6984
+ invokerId: (f = msg.getInvokerId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
6985
+ };
6986
+
6987
+ if (includeInstance) {
6988
+ obj.$jspbMessageInstance = msg;
6989
+ }
6990
+ return obj;
6991
+ };
6992
+ }
6993
+
6994
+
6995
+ /**
6996
+ * Deserializes binary data (in protobuf wire format).
6997
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6998
+ * @return {!proto.io.contract_testing.contractcase.grpc.StartTestEvent}
6999
+ */
7000
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.deserializeBinary = function(bytes) {
7001
+ var reader = new jspb.BinaryReader(bytes);
7002
+ var msg = new proto.io.contract_testing.contractcase.grpc.StartTestEvent;
7003
+ return proto.io.contract_testing.contractcase.grpc.StartTestEvent.deserializeBinaryFromReader(msg, reader);
7004
+ };
7005
+
7006
+
7007
+ /**
7008
+ * Deserializes binary data (in protobuf wire format) from the
7009
+ * given reader into the given message object.
7010
+ * @param {!proto.io.contract_testing.contractcase.grpc.StartTestEvent} msg The message object to deserialize into.
7011
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
7012
+ * @return {!proto.io.contract_testing.contractcase.grpc.StartTestEvent}
7013
+ */
7014
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.deserializeBinaryFromReader = function(msg, reader) {
7015
+ while (reader.nextField()) {
7016
+ if (reader.isEndGroup()) {
7017
+ break;
7018
+ }
7019
+ var field = reader.getFieldNumber();
7020
+ switch (field) {
7021
+ case 1:
7022
+ var value = new google_protobuf_wrappers_pb.StringValue;
7023
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
7024
+ msg.setTestName(value);
7025
+ break;
7026
+ case 2:
7027
+ var value = new google_protobuf_wrappers_pb.StringValue;
7028
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
7029
+ msg.setInvokerId(value);
7030
+ break;
7031
+ default:
7032
+ reader.skipField();
7033
+ break;
7034
+ }
7035
+ }
7036
+ return msg;
7037
+ };
7038
+
7039
+
7040
+ /**
7041
+ * Serializes the message to binary data (in protobuf wire format).
7042
+ * @return {!Uint8Array}
7043
+ */
7044
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.prototype.serializeBinary = function() {
7045
+ var writer = new jspb.BinaryWriter();
7046
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.serializeBinaryToWriter(this, writer);
7047
+ return writer.getResultBuffer();
7048
+ };
7049
+
7050
+
7051
+ /**
7052
+ * Serializes the given message to binary data (in protobuf wire
7053
+ * format), writing to the given BinaryWriter.
7054
+ * @param {!proto.io.contract_testing.contractcase.grpc.StartTestEvent} message
7055
+ * @param {!jspb.BinaryWriter} writer
7056
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7057
+ */
7058
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.serializeBinaryToWriter = function(message, writer) {
7059
+ var f = undefined;
7060
+ f = message.getTestName();
7061
+ if (f != null) {
7062
+ writer.writeMessage(
7063
+ 1,
7064
+ f,
7065
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
7066
+ );
7067
+ }
7068
+ f = message.getInvokerId();
7069
+ if (f != null) {
7070
+ writer.writeMessage(
7071
+ 2,
7072
+ f,
7073
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
7074
+ );
7075
+ }
7076
+ };
7077
+
7078
+
7079
+ /**
7080
+ * optional google.protobuf.StringValue test_name = 1;
7081
+ * @return {?proto.google.protobuf.StringValue}
7082
+ */
7083
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.prototype.getTestName = function() {
7084
+ return /** @type{?proto.google.protobuf.StringValue} */ (
7085
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
7086
+ };
7087
+
7088
+
7089
+ /**
7090
+ * @param {?proto.google.protobuf.StringValue|undefined} value
7091
+ * @return {!proto.io.contract_testing.contractcase.grpc.StartTestEvent} returns this
7092
+ */
7093
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.prototype.setTestName = function(value) {
7094
+ return jspb.Message.setWrapperField(this, 1, value);
7095
+ };
7096
+
7097
+
7098
+ /**
7099
+ * Clears the message field making it undefined.
7100
+ * @return {!proto.io.contract_testing.contractcase.grpc.StartTestEvent} returns this
7101
+ */
7102
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.prototype.clearTestName = function() {
7103
+ return this.setTestName(undefined);
7104
+ };
7105
+
7106
+
7107
+ /**
7108
+ * Returns whether this field is set.
7109
+ * @return {boolean}
7110
+ */
7111
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.prototype.hasTestName = function() {
7112
+ return jspb.Message.getField(this, 1) != null;
7113
+ };
7114
+
7115
+
7116
+ /**
7117
+ * optional google.protobuf.StringValue invoker_id = 2;
7118
+ * @return {?proto.google.protobuf.StringValue}
7119
+ */
7120
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.prototype.getInvokerId = function() {
7121
+ return /** @type{?proto.google.protobuf.StringValue} */ (
7122
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
7123
+ };
7124
+
7125
+
7126
+ /**
7127
+ * @param {?proto.google.protobuf.StringValue|undefined} value
7128
+ * @return {!proto.io.contract_testing.contractcase.grpc.StartTestEvent} returns this
7129
+ */
7130
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.prototype.setInvokerId = function(value) {
7131
+ return jspb.Message.setWrapperField(this, 2, value);
7132
+ };
7133
+
7134
+
7135
+ /**
7136
+ * Clears the message field making it undefined.
7137
+ * @return {!proto.io.contract_testing.contractcase.grpc.StartTestEvent} returns this
7138
+ */
7139
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.prototype.clearInvokerId = function() {
7140
+ return this.setInvokerId(undefined);
7141
+ };
7142
+
7143
+
7144
+ /**
7145
+ * Returns whether this field is set.
7146
+ * @return {boolean}
7147
+ */
7148
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.prototype.hasInvokerId = function() {
7149
+ return jspb.Message.getField(this, 2) != null;
7150
+ };
7151
+
7152
+
7153
+
7154
+
7155
+
7156
+ if (jspb.Message.GENERATE_TO_OBJECT) {
7157
+ /**
7158
+ * Creates an object representation of this proto.
7159
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
7160
+ * Optional fields that are not set will be set to undefined.
7161
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
7162
+ * For the list of reserved names please see:
7163
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
7164
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
7165
+ * JSPB instance for transitional soy proto support:
7166
+ * http://goto/soy-param-migration
7167
+ * @return {!Object}
7168
+ */
7169
+ proto.io.contract_testing.contractcase.grpc.InvokeTest.prototype.toObject = function(opt_includeInstance) {
7170
+ return proto.io.contract_testing.contractcase.grpc.InvokeTest.toObject(opt_includeInstance, this);
7171
+ };
7172
+
7173
+
7174
+ /**
7175
+ * Static version of the {@see toObject} method.
7176
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
7177
+ * the JSPB instance for transitional soy proto support:
7178
+ * http://goto/soy-param-migration
7179
+ * @param {!proto.io.contract_testing.contractcase.grpc.InvokeTest} msg The msg instance to transform.
7180
+ * @return {!Object}
7181
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7182
+ */
7183
+ proto.io.contract_testing.contractcase.grpc.InvokeTest.toObject = function(includeInstance, msg) {
7184
+ var f, obj = {
7185
+ invokerId: (f = msg.getInvokerId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
7186
+ };
7187
+
7188
+ if (includeInstance) {
7189
+ obj.$jspbMessageInstance = msg;
7190
+ }
7191
+ return obj;
7192
+ };
7193
+ }
7194
+
7195
+
7196
+ /**
7197
+ * Deserializes binary data (in protobuf wire format).
7198
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
7199
+ * @return {!proto.io.contract_testing.contractcase.grpc.InvokeTest}
7200
+ */
7201
+ proto.io.contract_testing.contractcase.grpc.InvokeTest.deserializeBinary = function(bytes) {
7202
+ var reader = new jspb.BinaryReader(bytes);
7203
+ var msg = new proto.io.contract_testing.contractcase.grpc.InvokeTest;
7204
+ return proto.io.contract_testing.contractcase.grpc.InvokeTest.deserializeBinaryFromReader(msg, reader);
7205
+ };
7206
+
7207
+
7208
+ /**
7209
+ * Deserializes binary data (in protobuf wire format) from the
7210
+ * given reader into the given message object.
7211
+ * @param {!proto.io.contract_testing.contractcase.grpc.InvokeTest} msg The message object to deserialize into.
7212
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
7213
+ * @return {!proto.io.contract_testing.contractcase.grpc.InvokeTest}
7214
+ */
7215
+ proto.io.contract_testing.contractcase.grpc.InvokeTest.deserializeBinaryFromReader = function(msg, reader) {
7216
+ while (reader.nextField()) {
7217
+ if (reader.isEndGroup()) {
7218
+ break;
7219
+ }
7220
+ var field = reader.getFieldNumber();
7221
+ switch (field) {
7222
+ case 1:
7223
+ var value = new google_protobuf_wrappers_pb.StringValue;
7224
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
7225
+ msg.setInvokerId(value);
7226
+ break;
7227
+ default:
7228
+ reader.skipField();
7229
+ break;
7230
+ }
7231
+ }
7232
+ return msg;
7233
+ };
7234
+
7235
+
7236
+ /**
7237
+ * Serializes the message to binary data (in protobuf wire format).
7238
+ * @return {!Uint8Array}
7239
+ */
7240
+ proto.io.contract_testing.contractcase.grpc.InvokeTest.prototype.serializeBinary = function() {
7241
+ var writer = new jspb.BinaryWriter();
7242
+ proto.io.contract_testing.contractcase.grpc.InvokeTest.serializeBinaryToWriter(this, writer);
7243
+ return writer.getResultBuffer();
7244
+ };
7245
+
7246
+
7247
+ /**
7248
+ * Serializes the given message to binary data (in protobuf wire
7249
+ * format), writing to the given BinaryWriter.
7250
+ * @param {!proto.io.contract_testing.contractcase.grpc.InvokeTest} message
7251
+ * @param {!jspb.BinaryWriter} writer
7252
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7253
+ */
7254
+ proto.io.contract_testing.contractcase.grpc.InvokeTest.serializeBinaryToWriter = function(message, writer) {
7255
+ var f = undefined;
7256
+ f = message.getInvokerId();
7257
+ if (f != null) {
7258
+ writer.writeMessage(
7259
+ 1,
7260
+ f,
7261
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
7262
+ );
7263
+ }
7264
+ };
7265
+
7266
+
7267
+ /**
7268
+ * optional google.protobuf.StringValue invoker_id = 1;
7269
+ * @return {?proto.google.protobuf.StringValue}
7270
+ */
7271
+ proto.io.contract_testing.contractcase.grpc.InvokeTest.prototype.getInvokerId = function() {
7272
+ return /** @type{?proto.google.protobuf.StringValue} */ (
7273
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
7274
+ };
7275
+
7276
+
7277
+ /**
7278
+ * @param {?proto.google.protobuf.StringValue|undefined} value
7279
+ * @return {!proto.io.contract_testing.contractcase.grpc.InvokeTest} returns this
7280
+ */
7281
+ proto.io.contract_testing.contractcase.grpc.InvokeTest.prototype.setInvokerId = function(value) {
7282
+ return jspb.Message.setWrapperField(this, 1, value);
7283
+ };
7284
+
7285
+
7286
+ /**
7287
+ * Clears the message field making it undefined.
7288
+ * @return {!proto.io.contract_testing.contractcase.grpc.InvokeTest} returns this
7289
+ */
7290
+ proto.io.contract_testing.contractcase.grpc.InvokeTest.prototype.clearInvokerId = function() {
7291
+ return this.setInvokerId(undefined);
7292
+ };
7293
+
7294
+
7295
+ /**
7296
+ * Returns whether this field is set.
7297
+ * @return {boolean}
7298
+ */
7299
+ proto.io.contract_testing.contractcase.grpc.InvokeTest.prototype.hasInvokerId = function() {
7300
+ return jspb.Message.getField(this, 1) != null;
7301
+ };
7302
+
7303
+
7304
+
7305
+ /**
7306
+ * Oneof group definitions for this message. Each group defines the field
7307
+ * numbers belonging to that group. When of these fields' value is set, all
7308
+ * other fields in the group are cleared. During deserialization, if multiple
7309
+ * fields are encountered for a group, only the last value seen will be kept.
7310
+ * @private {!Array<!Array<number>>}
7311
+ * @const
7312
+ */
7313
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.oneofGroups_ = [[2,3,4,5,9]];
7314
+
7315
+ /**
7316
+ * @enum {number}
7317
+ */
7318
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.KindCase = {
7319
+ KIND_NOT_SET: 0,
7320
+ BEGIN_VERIFICATION: 2,
7321
+ AVAILABLE_CONTRACT_DEFINITIONS: 3,
7322
+ RUN_VERIFICATION: 4,
7323
+ RESULT_RESPONSE: 5,
7324
+ INVOKE_TEST: 9
7325
+ };
7326
+
7327
+ /**
7328
+ * @return {proto.io.contract_testing.contractcase.grpc.VerificationRequest.KindCase}
7329
+ */
7330
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.getKindCase = function() {
7331
+ return /** @type {proto.io.contract_testing.contractcase.grpc.VerificationRequest.KindCase} */(jspb.Message.computeOneofCase(this, proto.io.contract_testing.contractcase.grpc.VerificationRequest.oneofGroups_[0]));
7332
+ };
7333
+
7334
+
7335
+
7336
+ if (jspb.Message.GENERATE_TO_OBJECT) {
7337
+ /**
7338
+ * Creates an object representation of this proto.
7339
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
7340
+ * Optional fields that are not set will be set to undefined.
7341
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
7342
+ * For the list of reserved names please see:
7343
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
7344
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
7345
+ * JSPB instance for transitional soy proto support:
7346
+ * http://goto/soy-param-migration
7347
+ * @return {!Object}
7348
+ */
7349
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.toObject = function(opt_includeInstance) {
7350
+ return proto.io.contract_testing.contractcase.grpc.VerificationRequest.toObject(opt_includeInstance, this);
7351
+ };
7352
+
7353
+
7354
+ /**
7355
+ * Static version of the {@see toObject} method.
7356
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
7357
+ * the JSPB instance for transitional soy proto support:
7358
+ * http://goto/soy-param-migration
7359
+ * @param {!proto.io.contract_testing.contractcase.grpc.VerificationRequest} msg The msg instance to transform.
7360
+ * @return {!Object}
7361
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7362
+ */
7363
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.toObject = function(includeInstance, msg) {
7364
+ var f, obj = {
7365
+ id: (f = msg.getId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
7366
+ beginVerification: (f = msg.getBeginVerification()) && proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.toObject(includeInstance, f),
7367
+ availableContractDefinitions: (f = msg.getAvailableContractDefinitions()) && proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions.toObject(includeInstance, f),
7368
+ runVerification: (f = msg.getRunVerification()) && proto.io.contract_testing.contractcase.grpc.RunVerification.toObject(includeInstance, f),
7369
+ resultResponse: (f = msg.getResultResponse()) && proto.io.contract_testing.contractcase.grpc.ResultResponse.toObject(includeInstance, f),
7370
+ invokeTest: (f = msg.getInvokeTest()) && proto.io.contract_testing.contractcase.grpc.InvokeTest.toObject(includeInstance, f)
7371
+ };
7372
+
7373
+ if (includeInstance) {
7374
+ obj.$jspbMessageInstance = msg;
7375
+ }
7376
+ return obj;
7377
+ };
7378
+ }
7379
+
7380
+
7381
+ /**
7382
+ * Deserializes binary data (in protobuf wire format).
7383
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
7384
+ * @return {!proto.io.contract_testing.contractcase.grpc.VerificationRequest}
7385
+ */
7386
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.deserializeBinary = function(bytes) {
7387
+ var reader = new jspb.BinaryReader(bytes);
7388
+ var msg = new proto.io.contract_testing.contractcase.grpc.VerificationRequest;
7389
+ return proto.io.contract_testing.contractcase.grpc.VerificationRequest.deserializeBinaryFromReader(msg, reader);
7390
+ };
7391
+
7392
+
7393
+ /**
7394
+ * Deserializes binary data (in protobuf wire format) from the
7395
+ * given reader into the given message object.
7396
+ * @param {!proto.io.contract_testing.contractcase.grpc.VerificationRequest} msg The message object to deserialize into.
7397
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
7398
+ * @return {!proto.io.contract_testing.contractcase.grpc.VerificationRequest}
7399
+ */
7400
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.deserializeBinaryFromReader = function(msg, reader) {
7401
+ while (reader.nextField()) {
7402
+ if (reader.isEndGroup()) {
7403
+ break;
7404
+ }
7405
+ var field = reader.getFieldNumber();
7406
+ switch (field) {
7407
+ case 1:
7408
+ var value = new google_protobuf_wrappers_pb.StringValue;
7409
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
7410
+ msg.setId(value);
7411
+ break;
7412
+ case 2:
7413
+ var value = new proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest;
7414
+ reader.readMessage(value,proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.deserializeBinaryFromReader);
7415
+ msg.setBeginVerification(value);
7416
+ break;
7417
+ case 3:
7418
+ var value = new proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions;
7419
+ reader.readMessage(value,proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions.deserializeBinaryFromReader);
7420
+ msg.setAvailableContractDefinitions(value);
7421
+ break;
7422
+ case 4:
7423
+ var value = new proto.io.contract_testing.contractcase.grpc.RunVerification;
7424
+ reader.readMessage(value,proto.io.contract_testing.contractcase.grpc.RunVerification.deserializeBinaryFromReader);
7425
+ msg.setRunVerification(value);
7426
+ break;
7427
+ case 5:
7428
+ var value = new proto.io.contract_testing.contractcase.grpc.ResultResponse;
7429
+ reader.readMessage(value,proto.io.contract_testing.contractcase.grpc.ResultResponse.deserializeBinaryFromReader);
7430
+ msg.setResultResponse(value);
7431
+ break;
7432
+ case 9:
7433
+ var value = new proto.io.contract_testing.contractcase.grpc.InvokeTest;
7434
+ reader.readMessage(value,proto.io.contract_testing.contractcase.grpc.InvokeTest.deserializeBinaryFromReader);
7435
+ msg.setInvokeTest(value);
7436
+ break;
7437
+ default:
7438
+ reader.skipField();
7439
+ break;
7440
+ }
7441
+ }
7442
+ return msg;
7443
+ };
7444
+
7445
+
7446
+ /**
7447
+ * Serializes the message to binary data (in protobuf wire format).
7448
+ * @return {!Uint8Array}
7449
+ */
7450
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.serializeBinary = function() {
7451
+ var writer = new jspb.BinaryWriter();
7452
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.serializeBinaryToWriter(this, writer);
7453
+ return writer.getResultBuffer();
7454
+ };
7455
+
7456
+
7457
+ /**
7458
+ * Serializes the given message to binary data (in protobuf wire
7459
+ * format), writing to the given BinaryWriter.
7460
+ * @param {!proto.io.contract_testing.contractcase.grpc.VerificationRequest} message
7461
+ * @param {!jspb.BinaryWriter} writer
7462
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7463
+ */
7464
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.serializeBinaryToWriter = function(message, writer) {
7465
+ var f = undefined;
7466
+ f = message.getId();
7467
+ if (f != null) {
7468
+ writer.writeMessage(
7469
+ 1,
7470
+ f,
7471
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
7472
+ );
7473
+ }
7474
+ f = message.getBeginVerification();
7475
+ if (f != null) {
7476
+ writer.writeMessage(
7477
+ 2,
7478
+ f,
7479
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.serializeBinaryToWriter
7480
+ );
7481
+ }
7482
+ f = message.getAvailableContractDefinitions();
7483
+ if (f != null) {
7484
+ writer.writeMessage(
7485
+ 3,
7486
+ f,
7487
+ proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions.serializeBinaryToWriter
7488
+ );
7489
+ }
7490
+ f = message.getRunVerification();
7491
+ if (f != null) {
7492
+ writer.writeMessage(
7493
+ 4,
7494
+ f,
7495
+ proto.io.contract_testing.contractcase.grpc.RunVerification.serializeBinaryToWriter
7496
+ );
7497
+ }
7498
+ f = message.getResultResponse();
7499
+ if (f != null) {
7500
+ writer.writeMessage(
7501
+ 5,
7502
+ f,
7503
+ proto.io.contract_testing.contractcase.grpc.ResultResponse.serializeBinaryToWriter
7504
+ );
7505
+ }
7506
+ f = message.getInvokeTest();
7507
+ if (f != null) {
7508
+ writer.writeMessage(
7509
+ 9,
7510
+ f,
7511
+ proto.io.contract_testing.contractcase.grpc.InvokeTest.serializeBinaryToWriter
7512
+ );
7513
+ }
7514
+ };
7515
+
7516
+
7517
+ /**
7518
+ * optional google.protobuf.StringValue id = 1;
7519
+ * @return {?proto.google.protobuf.StringValue}
7520
+ */
7521
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.getId = function() {
7522
+ return /** @type{?proto.google.protobuf.StringValue} */ (
7523
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
7524
+ };
7525
+
7526
+
7527
+ /**
7528
+ * @param {?proto.google.protobuf.StringValue|undefined} value
7529
+ * @return {!proto.io.contract_testing.contractcase.grpc.VerificationRequest} returns this
7530
+ */
7531
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.setId = function(value) {
7532
+ return jspb.Message.setWrapperField(this, 1, value);
7533
+ };
7534
+
7535
+
7536
+ /**
7537
+ * Clears the message field making it undefined.
7538
+ * @return {!proto.io.contract_testing.contractcase.grpc.VerificationRequest} returns this
7539
+ */
7540
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.clearId = function() {
7541
+ return this.setId(undefined);
7542
+ };
7543
+
7544
+
7545
+ /**
7546
+ * Returns whether this field is set.
7547
+ * @return {boolean}
7548
+ */
7549
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.hasId = function() {
7550
+ return jspb.Message.getField(this, 1) != null;
7551
+ };
7552
+
7553
+
7554
+ /**
7555
+ * optional BeginVerificationRequest begin_verification = 2;
7556
+ * @return {?proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest}
7557
+ */
7558
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.getBeginVerification = function() {
7559
+ return /** @type{?proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest} */ (
7560
+ jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest, 2));
7561
+ };
7562
+
7563
+
7564
+ /**
7565
+ * @param {?proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest|undefined} value
7566
+ * @return {!proto.io.contract_testing.contractcase.grpc.VerificationRequest} returns this
7567
+ */
7568
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.setBeginVerification = function(value) {
7569
+ return jspb.Message.setOneofWrapperField(this, 2, proto.io.contract_testing.contractcase.grpc.VerificationRequest.oneofGroups_[0], value);
7570
+ };
7571
+
7572
+
7573
+ /**
7574
+ * Clears the message field making it undefined.
7575
+ * @return {!proto.io.contract_testing.contractcase.grpc.VerificationRequest} returns this
7576
+ */
7577
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.clearBeginVerification = function() {
7578
+ return this.setBeginVerification(undefined);
7579
+ };
7580
+
7581
+
7582
+ /**
7583
+ * Returns whether this field is set.
7584
+ * @return {boolean}
7585
+ */
7586
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.hasBeginVerification = function() {
7587
+ return jspb.Message.getField(this, 2) != null;
7588
+ };
7589
+
7590
+
7591
+ /**
7592
+ * optional AvailableContractDefinitions available_contract_definitions = 3;
7593
+ * @return {?proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions}
7594
+ */
7595
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.getAvailableContractDefinitions = function() {
7596
+ return /** @type{?proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions} */ (
7597
+ jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions, 3));
7598
+ };
7599
+
7600
+
7601
+ /**
7602
+ * @param {?proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions|undefined} value
7603
+ * @return {!proto.io.contract_testing.contractcase.grpc.VerificationRequest} returns this
7604
+ */
7605
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.setAvailableContractDefinitions = function(value) {
7606
+ return jspb.Message.setOneofWrapperField(this, 3, proto.io.contract_testing.contractcase.grpc.VerificationRequest.oneofGroups_[0], value);
7607
+ };
7608
+
7609
+
7610
+ /**
7611
+ * Clears the message field making it undefined.
7612
+ * @return {!proto.io.contract_testing.contractcase.grpc.VerificationRequest} returns this
7613
+ */
7614
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.clearAvailableContractDefinitions = function() {
7615
+ return this.setAvailableContractDefinitions(undefined);
7616
+ };
7617
+
7618
+
7619
+ /**
7620
+ * Returns whether this field is set.
7621
+ * @return {boolean}
7622
+ */
7623
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.hasAvailableContractDefinitions = function() {
7624
+ return jspb.Message.getField(this, 3) != null;
7625
+ };
7626
+
7627
+
7628
+ /**
7629
+ * optional RunVerification run_verification = 4;
7630
+ * @return {?proto.io.contract_testing.contractcase.grpc.RunVerification}
7631
+ */
7632
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.getRunVerification = function() {
7633
+ return /** @type{?proto.io.contract_testing.contractcase.grpc.RunVerification} */ (
7634
+ jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.RunVerification, 4));
7635
+ };
7636
+
7637
+
7638
+ /**
7639
+ * @param {?proto.io.contract_testing.contractcase.grpc.RunVerification|undefined} value
7640
+ * @return {!proto.io.contract_testing.contractcase.grpc.VerificationRequest} returns this
7641
+ */
7642
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.setRunVerification = function(value) {
7643
+ return jspb.Message.setOneofWrapperField(this, 4, proto.io.contract_testing.contractcase.grpc.VerificationRequest.oneofGroups_[0], value);
7644
+ };
7645
+
7646
+
7647
+ /**
7648
+ * Clears the message field making it undefined.
7649
+ * @return {!proto.io.contract_testing.contractcase.grpc.VerificationRequest} returns this
7650
+ */
7651
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.clearRunVerification = function() {
7652
+ return this.setRunVerification(undefined);
7653
+ };
7654
+
7655
+
7656
+ /**
7657
+ * Returns whether this field is set.
7658
+ * @return {boolean}
7659
+ */
7660
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.hasRunVerification = function() {
7661
+ return jspb.Message.getField(this, 4) != null;
7662
+ };
7663
+
7664
+
7665
+ /**
7666
+ * optional ResultResponse result_response = 5;
7667
+ * @return {?proto.io.contract_testing.contractcase.grpc.ResultResponse}
7668
+ */
7669
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.getResultResponse = function() {
7670
+ return /** @type{?proto.io.contract_testing.contractcase.grpc.ResultResponse} */ (
7671
+ jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.ResultResponse, 5));
7672
+ };
7673
+
7674
+
7675
+ /**
7676
+ * @param {?proto.io.contract_testing.contractcase.grpc.ResultResponse|undefined} value
7677
+ * @return {!proto.io.contract_testing.contractcase.grpc.VerificationRequest} returns this
7678
+ */
7679
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.setResultResponse = function(value) {
7680
+ return jspb.Message.setOneofWrapperField(this, 5, proto.io.contract_testing.contractcase.grpc.VerificationRequest.oneofGroups_[0], value);
7681
+ };
7682
+
7683
+
7684
+ /**
7685
+ * Clears the message field making it undefined.
7686
+ * @return {!proto.io.contract_testing.contractcase.grpc.VerificationRequest} returns this
7687
+ */
7688
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.clearResultResponse = function() {
7689
+ return this.setResultResponse(undefined);
7690
+ };
7691
+
7692
+
7693
+ /**
7694
+ * Returns whether this field is set.
7695
+ * @return {boolean}
7696
+ */
7697
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.hasResultResponse = function() {
7698
+ return jspb.Message.getField(this, 5) != null;
7699
+ };
7700
+
7701
+
7702
+ /**
7703
+ * optional InvokeTest invoke_test = 9;
7704
+ * @return {?proto.io.contract_testing.contractcase.grpc.InvokeTest}
7705
+ */
7706
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.getInvokeTest = function() {
7707
+ return /** @type{?proto.io.contract_testing.contractcase.grpc.InvokeTest} */ (
7708
+ jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.InvokeTest, 9));
7709
+ };
7710
+
7711
+
7712
+ /**
7713
+ * @param {?proto.io.contract_testing.contractcase.grpc.InvokeTest|undefined} value
7714
+ * @return {!proto.io.contract_testing.contractcase.grpc.VerificationRequest} returns this
7715
+ */
7716
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.setInvokeTest = function(value) {
7717
+ return jspb.Message.setOneofWrapperField(this, 9, proto.io.contract_testing.contractcase.grpc.VerificationRequest.oneofGroups_[0], value);
7718
+ };
7719
+
7720
+
7721
+ /**
7722
+ * Clears the message field making it undefined.
7723
+ * @return {!proto.io.contract_testing.contractcase.grpc.VerificationRequest} returns this
7724
+ */
7725
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.clearInvokeTest = function() {
7726
+ return this.setInvokeTest(undefined);
7727
+ };
7728
+
7729
+
7730
+ /**
7731
+ * Returns whether this field is set.
7732
+ * @return {boolean}
7733
+ */
7734
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.hasInvokeTest = function() {
7735
+ return jspb.Message.getField(this, 9) != null;
7736
+ };
7737
+
7738
+
7739
+
7740
+ /**
7741
+ * Oneof group definitions for this message. Each group defines the field
7742
+ * numbers belonging to that group. When of these fields' value is set, all
7743
+ * other fields in the group are cleared. During deserialization, if multiple
7744
+ * fields are encountered for a group, only the last value seen will be kept.
7745
+ * @private {!Array<!Array<number>>}
7746
+ * @const
7747
+ */
7748
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.oneofGroups_ = [[2,3,4,5,6,7,8,9]];
7749
+
7750
+ /**
7751
+ * @enum {number}
7752
+ */
7753
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.KindCase = {
7754
+ KIND_NOT_SET: 0,
7755
+ RUN_STATE_HANDLER: 2,
7756
+ LOG_REQUEST: 3,
7757
+ PRINT_MATCH_ERROR_REQUEST: 4,
7758
+ PRINT_MESSAGE_ERROR_REQUEST: 5,
7759
+ PRINT_TEST_TITLE_REQUEST: 6,
7760
+ TRIGGER_FUNCTION_REQUEST: 7,
7761
+ RESULT_RESPONSE: 8,
7762
+ START_TEST_EVENT: 9
7763
+ };
7764
+
7765
+ /**
7766
+ * @return {proto.io.contract_testing.contractcase.grpc.ContractResponse.KindCase}
7767
+ */
7768
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.getKindCase = function() {
7769
+ return /** @type {proto.io.contract_testing.contractcase.grpc.ContractResponse.KindCase} */(jspb.Message.computeOneofCase(this, proto.io.contract_testing.contractcase.grpc.ContractResponse.oneofGroups_[0]));
7770
+ };
7771
+
7772
+
7773
+
7774
+ if (jspb.Message.GENERATE_TO_OBJECT) {
7775
+ /**
7776
+ * Creates an object representation of this proto.
7777
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
7778
+ * Optional fields that are not set will be set to undefined.
7779
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
7780
+ * For the list of reserved names please see:
7781
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
7782
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
7783
+ * JSPB instance for transitional soy proto support:
7784
+ * http://goto/soy-param-migration
7785
+ * @return {!Object}
7786
+ */
7787
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.toObject = function(opt_includeInstance) {
7788
+ return proto.io.contract_testing.contractcase.grpc.ContractResponse.toObject(opt_includeInstance, this);
7789
+ };
7790
+
7791
+
7792
+ /**
7793
+ * Static version of the {@see toObject} method.
7794
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
7795
+ * the JSPB instance for transitional soy proto support:
7796
+ * http://goto/soy-param-migration
7797
+ * @param {!proto.io.contract_testing.contractcase.grpc.ContractResponse} msg The msg instance to transform.
7798
+ * @return {!Object}
7799
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7800
+ */
7801
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.toObject = function(includeInstance, msg) {
7802
+ var f, obj = {
7803
+ id: (f = msg.getId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
7804
+ runStateHandler: (f = msg.getRunStateHandler()) && proto.io.contract_testing.contractcase.grpc.RunStateHandlerRequest.toObject(includeInstance, f),
7805
+ logRequest: (f = msg.getLogRequest()) && proto.io.contract_testing.contractcase.grpc.LogRequest.toObject(includeInstance, f),
7806
+ printMatchErrorRequest: (f = msg.getPrintMatchErrorRequest()) && proto.io.contract_testing.contractcase.grpc.PrintMatchErrorRequest.toObject(includeInstance, f),
7807
+ printMessageErrorRequest: (f = msg.getPrintMessageErrorRequest()) && proto.io.contract_testing.contractcase.grpc.PrintMessageErrorRequest.toObject(includeInstance, f),
7808
+ printTestTitleRequest: (f = msg.getPrintTestTitleRequest()) && proto.io.contract_testing.contractcase.grpc.PrintTestTitleRequest.toObject(includeInstance, f),
7809
+ triggerFunctionRequest: (f = msg.getTriggerFunctionRequest()) && proto.io.contract_testing.contractcase.grpc.TriggerFunctionRequest.toObject(includeInstance, f),
7810
+ resultResponse: (f = msg.getResultResponse()) && proto.io.contract_testing.contractcase.grpc.ResultResponse.toObject(includeInstance, f),
7811
+ startTestEvent: (f = msg.getStartTestEvent()) && proto.io.contract_testing.contractcase.grpc.StartTestEvent.toObject(includeInstance, f)
7812
+ };
7813
+
7814
+ if (includeInstance) {
7815
+ obj.$jspbMessageInstance = msg;
7816
+ }
7817
+ return obj;
7818
+ };
7819
+ }
7820
+
7821
+
7822
+ /**
7823
+ * Deserializes binary data (in protobuf wire format).
7824
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
7825
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse}
7826
+ */
7827
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.deserializeBinary = function(bytes) {
7828
+ var reader = new jspb.BinaryReader(bytes);
7829
+ var msg = new proto.io.contract_testing.contractcase.grpc.ContractResponse;
7830
+ return proto.io.contract_testing.contractcase.grpc.ContractResponse.deserializeBinaryFromReader(msg, reader);
7831
+ };
7832
+
7833
+
7834
+ /**
7835
+ * Deserializes binary data (in protobuf wire format) from the
7836
+ * given reader into the given message object.
7837
+ * @param {!proto.io.contract_testing.contractcase.grpc.ContractResponse} msg The message object to deserialize into.
7838
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
7839
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse}
7840
+ */
7841
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.deserializeBinaryFromReader = function(msg, reader) {
7842
+ while (reader.nextField()) {
7843
+ if (reader.isEndGroup()) {
7844
+ break;
7845
+ }
7846
+ var field = reader.getFieldNumber();
7847
+ switch (field) {
7848
+ case 1:
7849
+ var value = new google_protobuf_wrappers_pb.StringValue;
7850
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
7851
+ msg.setId(value);
7852
+ break;
7853
+ case 2:
7854
+ var value = new proto.io.contract_testing.contractcase.grpc.RunStateHandlerRequest;
7855
+ reader.readMessage(value,proto.io.contract_testing.contractcase.grpc.RunStateHandlerRequest.deserializeBinaryFromReader);
7856
+ msg.setRunStateHandler(value);
7857
+ break;
7858
+ case 3:
7859
+ var value = new proto.io.contract_testing.contractcase.grpc.LogRequest;
7860
+ reader.readMessage(value,proto.io.contract_testing.contractcase.grpc.LogRequest.deserializeBinaryFromReader);
7861
+ msg.setLogRequest(value);
7862
+ break;
7863
+ case 4:
7864
+ var value = new proto.io.contract_testing.contractcase.grpc.PrintMatchErrorRequest;
7865
+ reader.readMessage(value,proto.io.contract_testing.contractcase.grpc.PrintMatchErrorRequest.deserializeBinaryFromReader);
7866
+ msg.setPrintMatchErrorRequest(value);
7867
+ break;
7868
+ case 5:
7869
+ var value = new proto.io.contract_testing.contractcase.grpc.PrintMessageErrorRequest;
7870
+ reader.readMessage(value,proto.io.contract_testing.contractcase.grpc.PrintMessageErrorRequest.deserializeBinaryFromReader);
7871
+ msg.setPrintMessageErrorRequest(value);
7872
+ break;
7873
+ case 6:
7874
+ var value = new proto.io.contract_testing.contractcase.grpc.PrintTestTitleRequest;
7875
+ reader.readMessage(value,proto.io.contract_testing.contractcase.grpc.PrintTestTitleRequest.deserializeBinaryFromReader);
7876
+ msg.setPrintTestTitleRequest(value);
7877
+ break;
7878
+ case 7:
7879
+ var value = new proto.io.contract_testing.contractcase.grpc.TriggerFunctionRequest;
7880
+ reader.readMessage(value,proto.io.contract_testing.contractcase.grpc.TriggerFunctionRequest.deserializeBinaryFromReader);
7881
+ msg.setTriggerFunctionRequest(value);
7882
+ break;
7883
+ case 8:
7884
+ var value = new proto.io.contract_testing.contractcase.grpc.ResultResponse;
7885
+ reader.readMessage(value,proto.io.contract_testing.contractcase.grpc.ResultResponse.deserializeBinaryFromReader);
7886
+ msg.setResultResponse(value);
7887
+ break;
7888
+ case 9:
7889
+ var value = new proto.io.contract_testing.contractcase.grpc.StartTestEvent;
7890
+ reader.readMessage(value,proto.io.contract_testing.contractcase.grpc.StartTestEvent.deserializeBinaryFromReader);
7891
+ msg.setStartTestEvent(value);
7892
+ break;
7893
+ default:
7894
+ reader.skipField();
7895
+ break;
7896
+ }
7897
+ }
7898
+ return msg;
7899
+ };
7900
+
7901
+
7902
+ /**
7903
+ * Serializes the message to binary data (in protobuf wire format).
7904
+ * @return {!Uint8Array}
7905
+ */
7906
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.serializeBinary = function() {
7907
+ var writer = new jspb.BinaryWriter();
7908
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.serializeBinaryToWriter(this, writer);
7909
+ return writer.getResultBuffer();
7910
+ };
7911
+
7912
+
7913
+ /**
7914
+ * Serializes the given message to binary data (in protobuf wire
7915
+ * format), writing to the given BinaryWriter.
7916
+ * @param {!proto.io.contract_testing.contractcase.grpc.ContractResponse} message
7917
+ * @param {!jspb.BinaryWriter} writer
7918
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7919
+ */
7920
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.serializeBinaryToWriter = function(message, writer) {
7921
+ var f = undefined;
7922
+ f = message.getId();
7923
+ if (f != null) {
7924
+ writer.writeMessage(
7925
+ 1,
7926
+ f,
7927
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
7928
+ );
7929
+ }
7930
+ f = message.getRunStateHandler();
7931
+ if (f != null) {
7932
+ writer.writeMessage(
7933
+ 2,
7934
+ f,
7935
+ proto.io.contract_testing.contractcase.grpc.RunStateHandlerRequest.serializeBinaryToWriter
7936
+ );
7937
+ }
7938
+ f = message.getLogRequest();
7939
+ if (f != null) {
7940
+ writer.writeMessage(
7941
+ 3,
7942
+ f,
7943
+ proto.io.contract_testing.contractcase.grpc.LogRequest.serializeBinaryToWriter
7944
+ );
7945
+ }
7946
+ f = message.getPrintMatchErrorRequest();
7947
+ if (f != null) {
7948
+ writer.writeMessage(
7949
+ 4,
7950
+ f,
7951
+ proto.io.contract_testing.contractcase.grpc.PrintMatchErrorRequest.serializeBinaryToWriter
7952
+ );
7953
+ }
7954
+ f = message.getPrintMessageErrorRequest();
7955
+ if (f != null) {
7956
+ writer.writeMessage(
7957
+ 5,
7958
+ f,
7959
+ proto.io.contract_testing.contractcase.grpc.PrintMessageErrorRequest.serializeBinaryToWriter
7960
+ );
7961
+ }
7962
+ f = message.getPrintTestTitleRequest();
7963
+ if (f != null) {
7964
+ writer.writeMessage(
7965
+ 6,
7966
+ f,
7967
+ proto.io.contract_testing.contractcase.grpc.PrintTestTitleRequest.serializeBinaryToWriter
7968
+ );
7969
+ }
7970
+ f = message.getTriggerFunctionRequest();
7971
+ if (f != null) {
7972
+ writer.writeMessage(
7973
+ 7,
7974
+ f,
7975
+ proto.io.contract_testing.contractcase.grpc.TriggerFunctionRequest.serializeBinaryToWriter
7976
+ );
7977
+ }
7978
+ f = message.getResultResponse();
7979
+ if (f != null) {
7980
+ writer.writeMessage(
7981
+ 8,
7982
+ f,
7983
+ proto.io.contract_testing.contractcase.grpc.ResultResponse.serializeBinaryToWriter
7984
+ );
7985
+ }
7986
+ f = message.getStartTestEvent();
7987
+ if (f != null) {
7988
+ writer.writeMessage(
7989
+ 9,
7990
+ f,
7991
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.serializeBinaryToWriter
7992
+ );
7993
+ }
7994
+ };
7995
+
7996
+
7997
+ /**
7998
+ * optional google.protobuf.StringValue id = 1;
7999
+ * @return {?proto.google.protobuf.StringValue}
8000
+ */
8001
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.getId = function() {
8002
+ return /** @type{?proto.google.protobuf.StringValue} */ (
8003
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
8004
+ };
8005
+
8006
+
8007
+ /**
8008
+ * @param {?proto.google.protobuf.StringValue|undefined} value
8009
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
8010
+ */
8011
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.setId = function(value) {
8012
+ return jspb.Message.setWrapperField(this, 1, value);
8013
+ };
8014
+
8015
+
8016
+ /**
8017
+ * Clears the message field making it undefined.
8018
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
8019
+ */
8020
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.clearId = function() {
8021
+ return this.setId(undefined);
8022
+ };
8023
+
8024
+
8025
+ /**
8026
+ * Returns whether this field is set.
8027
+ * @return {boolean}
6638
8028
  */
6639
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.getRunStateHandler = function() {
8029
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.hasId = function() {
8030
+ return jspb.Message.getField(this, 1) != null;
8031
+ };
8032
+
8033
+
8034
+ /**
8035
+ * optional RunStateHandlerRequest run_state_handler = 2;
8036
+ * @return {?proto.io.contract_testing.contractcase.grpc.RunStateHandlerRequest}
8037
+ */
8038
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.getRunStateHandler = function() {
6640
8039
  return /** @type{?proto.io.contract_testing.contractcase.grpc.RunStateHandlerRequest} */ (
6641
8040
  jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.RunStateHandlerRequest, 2));
6642
8041
  };
@@ -6644,18 +8043,18 @@ proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.getRunS
6644
8043
 
6645
8044
  /**
6646
8045
  * @param {?proto.io.contract_testing.contractcase.grpc.RunStateHandlerRequest|undefined} value
6647
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
8046
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
6648
8047
  */
6649
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.setRunStateHandler = function(value) {
6650
- return jspb.Message.setOneofWrapperField(this, 2, proto.io.contract_testing.contractcase.grpc.DefinitionResponse.oneofGroups_[0], value);
8048
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.setRunStateHandler = function(value) {
8049
+ return jspb.Message.setOneofWrapperField(this, 2, proto.io.contract_testing.contractcase.grpc.ContractResponse.oneofGroups_[0], value);
6651
8050
  };
6652
8051
 
6653
8052
 
6654
8053
  /**
6655
8054
  * Clears the message field making it undefined.
6656
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
8055
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
6657
8056
  */
6658
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.clearRunStateHandler = function() {
8057
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.clearRunStateHandler = function() {
6659
8058
  return this.setRunStateHandler(undefined);
6660
8059
  };
6661
8060
 
@@ -6664,7 +8063,7 @@ proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.clearRu
6664
8063
  * Returns whether this field is set.
6665
8064
  * @return {boolean}
6666
8065
  */
6667
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.hasRunStateHandler = function() {
8066
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.hasRunStateHandler = function() {
6668
8067
  return jspb.Message.getField(this, 2) != null;
6669
8068
  };
6670
8069
 
@@ -6673,7 +8072,7 @@ proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.hasRunS
6673
8072
  * optional LogRequest log_request = 3;
6674
8073
  * @return {?proto.io.contract_testing.contractcase.grpc.LogRequest}
6675
8074
  */
6676
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.getLogRequest = function() {
8075
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.getLogRequest = function() {
6677
8076
  return /** @type{?proto.io.contract_testing.contractcase.grpc.LogRequest} */ (
6678
8077
  jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.LogRequest, 3));
6679
8078
  };
@@ -6681,18 +8080,18 @@ proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.getLogR
6681
8080
 
6682
8081
  /**
6683
8082
  * @param {?proto.io.contract_testing.contractcase.grpc.LogRequest|undefined} value
6684
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
8083
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
6685
8084
  */
6686
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.setLogRequest = function(value) {
6687
- return jspb.Message.setOneofWrapperField(this, 3, proto.io.contract_testing.contractcase.grpc.DefinitionResponse.oneofGroups_[0], value);
8085
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.setLogRequest = function(value) {
8086
+ return jspb.Message.setOneofWrapperField(this, 3, proto.io.contract_testing.contractcase.grpc.ContractResponse.oneofGroups_[0], value);
6688
8087
  };
6689
8088
 
6690
8089
 
6691
8090
  /**
6692
8091
  * Clears the message field making it undefined.
6693
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
8092
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
6694
8093
  */
6695
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.clearLogRequest = function() {
8094
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.clearLogRequest = function() {
6696
8095
  return this.setLogRequest(undefined);
6697
8096
  };
6698
8097
 
@@ -6701,7 +8100,7 @@ proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.clearLo
6701
8100
  * Returns whether this field is set.
6702
8101
  * @return {boolean}
6703
8102
  */
6704
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.hasLogRequest = function() {
8103
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.hasLogRequest = function() {
6705
8104
  return jspb.Message.getField(this, 3) != null;
6706
8105
  };
6707
8106
 
@@ -6710,7 +8109,7 @@ proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.hasLogR
6710
8109
  * optional PrintMatchErrorRequest print_match_error_request = 4;
6711
8110
  * @return {?proto.io.contract_testing.contractcase.grpc.PrintMatchErrorRequest}
6712
8111
  */
6713
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.getPrintMatchErrorRequest = function() {
8112
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.getPrintMatchErrorRequest = function() {
6714
8113
  return /** @type{?proto.io.contract_testing.contractcase.grpc.PrintMatchErrorRequest} */ (
6715
8114
  jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.PrintMatchErrorRequest, 4));
6716
8115
  };
@@ -6718,18 +8117,18 @@ proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.getPrin
6718
8117
 
6719
8118
  /**
6720
8119
  * @param {?proto.io.contract_testing.contractcase.grpc.PrintMatchErrorRequest|undefined} value
6721
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
8120
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
6722
8121
  */
6723
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.setPrintMatchErrorRequest = function(value) {
6724
- return jspb.Message.setOneofWrapperField(this, 4, proto.io.contract_testing.contractcase.grpc.DefinitionResponse.oneofGroups_[0], value);
8122
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.setPrintMatchErrorRequest = function(value) {
8123
+ return jspb.Message.setOneofWrapperField(this, 4, proto.io.contract_testing.contractcase.grpc.ContractResponse.oneofGroups_[0], value);
6725
8124
  };
6726
8125
 
6727
8126
 
6728
8127
  /**
6729
8128
  * Clears the message field making it undefined.
6730
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
8129
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
6731
8130
  */
6732
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.clearPrintMatchErrorRequest = function() {
8131
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.clearPrintMatchErrorRequest = function() {
6733
8132
  return this.setPrintMatchErrorRequest(undefined);
6734
8133
  };
6735
8134
 
@@ -6738,7 +8137,7 @@ proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.clearPr
6738
8137
  * Returns whether this field is set.
6739
8138
  * @return {boolean}
6740
8139
  */
6741
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.hasPrintMatchErrorRequest = function() {
8140
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.hasPrintMatchErrorRequest = function() {
6742
8141
  return jspb.Message.getField(this, 4) != null;
6743
8142
  };
6744
8143
 
@@ -6747,7 +8146,7 @@ proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.hasPrin
6747
8146
  * optional PrintMessageErrorRequest print_message_error_request = 5;
6748
8147
  * @return {?proto.io.contract_testing.contractcase.grpc.PrintMessageErrorRequest}
6749
8148
  */
6750
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.getPrintMessageErrorRequest = function() {
8149
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.getPrintMessageErrorRequest = function() {
6751
8150
  return /** @type{?proto.io.contract_testing.contractcase.grpc.PrintMessageErrorRequest} */ (
6752
8151
  jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.PrintMessageErrorRequest, 5));
6753
8152
  };
@@ -6755,18 +8154,18 @@ proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.getPrin
6755
8154
 
6756
8155
  /**
6757
8156
  * @param {?proto.io.contract_testing.contractcase.grpc.PrintMessageErrorRequest|undefined} value
6758
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
8157
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
6759
8158
  */
6760
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.setPrintMessageErrorRequest = function(value) {
6761
- return jspb.Message.setOneofWrapperField(this, 5, proto.io.contract_testing.contractcase.grpc.DefinitionResponse.oneofGroups_[0], value);
8159
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.setPrintMessageErrorRequest = function(value) {
8160
+ return jspb.Message.setOneofWrapperField(this, 5, proto.io.contract_testing.contractcase.grpc.ContractResponse.oneofGroups_[0], value);
6762
8161
  };
6763
8162
 
6764
8163
 
6765
8164
  /**
6766
8165
  * Clears the message field making it undefined.
6767
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
8166
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
6768
8167
  */
6769
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.clearPrintMessageErrorRequest = function() {
8168
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.clearPrintMessageErrorRequest = function() {
6770
8169
  return this.setPrintMessageErrorRequest(undefined);
6771
8170
  };
6772
8171
 
@@ -6775,7 +8174,7 @@ proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.clearPr
6775
8174
  * Returns whether this field is set.
6776
8175
  * @return {boolean}
6777
8176
  */
6778
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.hasPrintMessageErrorRequest = function() {
8177
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.hasPrintMessageErrorRequest = function() {
6779
8178
  return jspb.Message.getField(this, 5) != null;
6780
8179
  };
6781
8180
 
@@ -6784,7 +8183,7 @@ proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.hasPrin
6784
8183
  * optional PrintTestTitleRequest print_test_title_request = 6;
6785
8184
  * @return {?proto.io.contract_testing.contractcase.grpc.PrintTestTitleRequest}
6786
8185
  */
6787
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.getPrintTestTitleRequest = function() {
8186
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.getPrintTestTitleRequest = function() {
6788
8187
  return /** @type{?proto.io.contract_testing.contractcase.grpc.PrintTestTitleRequest} */ (
6789
8188
  jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.PrintTestTitleRequest, 6));
6790
8189
  };
@@ -6792,18 +8191,18 @@ proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.getPrin
6792
8191
 
6793
8192
  /**
6794
8193
  * @param {?proto.io.contract_testing.contractcase.grpc.PrintTestTitleRequest|undefined} value
6795
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
8194
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
6796
8195
  */
6797
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.setPrintTestTitleRequest = function(value) {
6798
- return jspb.Message.setOneofWrapperField(this, 6, proto.io.contract_testing.contractcase.grpc.DefinitionResponse.oneofGroups_[0], value);
8196
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.setPrintTestTitleRequest = function(value) {
8197
+ return jspb.Message.setOneofWrapperField(this, 6, proto.io.contract_testing.contractcase.grpc.ContractResponse.oneofGroups_[0], value);
6799
8198
  };
6800
8199
 
6801
8200
 
6802
8201
  /**
6803
8202
  * Clears the message field making it undefined.
6804
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
8203
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
6805
8204
  */
6806
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.clearPrintTestTitleRequest = function() {
8205
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.clearPrintTestTitleRequest = function() {
6807
8206
  return this.setPrintTestTitleRequest(undefined);
6808
8207
  };
6809
8208
 
@@ -6812,7 +8211,7 @@ proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.clearPr
6812
8211
  * Returns whether this field is set.
6813
8212
  * @return {boolean}
6814
8213
  */
6815
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.hasPrintTestTitleRequest = function() {
8214
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.hasPrintTestTitleRequest = function() {
6816
8215
  return jspb.Message.getField(this, 6) != null;
6817
8216
  };
6818
8217
 
@@ -6821,7 +8220,7 @@ proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.hasPrin
6821
8220
  * optional TriggerFunctionRequest trigger_function_request = 7;
6822
8221
  * @return {?proto.io.contract_testing.contractcase.grpc.TriggerFunctionRequest}
6823
8222
  */
6824
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.getTriggerFunctionRequest = function() {
8223
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.getTriggerFunctionRequest = function() {
6825
8224
  return /** @type{?proto.io.contract_testing.contractcase.grpc.TriggerFunctionRequest} */ (
6826
8225
  jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.TriggerFunctionRequest, 7));
6827
8226
  };
@@ -6829,18 +8228,18 @@ proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.getTrig
6829
8228
 
6830
8229
  /**
6831
8230
  * @param {?proto.io.contract_testing.contractcase.grpc.TriggerFunctionRequest|undefined} value
6832
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
8231
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
6833
8232
  */
6834
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.setTriggerFunctionRequest = function(value) {
6835
- return jspb.Message.setOneofWrapperField(this, 7, proto.io.contract_testing.contractcase.grpc.DefinitionResponse.oneofGroups_[0], value);
8233
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.setTriggerFunctionRequest = function(value) {
8234
+ return jspb.Message.setOneofWrapperField(this, 7, proto.io.contract_testing.contractcase.grpc.ContractResponse.oneofGroups_[0], value);
6836
8235
  };
6837
8236
 
6838
8237
 
6839
8238
  /**
6840
8239
  * Clears the message field making it undefined.
6841
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
8240
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
6842
8241
  */
6843
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.clearTriggerFunctionRequest = function() {
8242
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.clearTriggerFunctionRequest = function() {
6844
8243
  return this.setTriggerFunctionRequest(undefined);
6845
8244
  };
6846
8245
 
@@ -6849,7 +8248,7 @@ proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.clearTr
6849
8248
  * Returns whether this field is set.
6850
8249
  * @return {boolean}
6851
8250
  */
6852
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.hasTriggerFunctionRequest = function() {
8251
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.hasTriggerFunctionRequest = function() {
6853
8252
  return jspb.Message.getField(this, 7) != null;
6854
8253
  };
6855
8254
 
@@ -6858,7 +8257,7 @@ proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.hasTrig
6858
8257
  * optional ResultResponse result_response = 8;
6859
8258
  * @return {?proto.io.contract_testing.contractcase.grpc.ResultResponse}
6860
8259
  */
6861
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.getResultResponse = function() {
8260
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.getResultResponse = function() {
6862
8261
  return /** @type{?proto.io.contract_testing.contractcase.grpc.ResultResponse} */ (
6863
8262
  jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.ResultResponse, 8));
6864
8263
  };
@@ -6866,18 +8265,18 @@ proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.getResu
6866
8265
 
6867
8266
  /**
6868
8267
  * @param {?proto.io.contract_testing.contractcase.grpc.ResultResponse|undefined} value
6869
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
8268
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
6870
8269
  */
6871
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.setResultResponse = function(value) {
6872
- return jspb.Message.setOneofWrapperField(this, 8, proto.io.contract_testing.contractcase.grpc.DefinitionResponse.oneofGroups_[0], value);
8270
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.setResultResponse = function(value) {
8271
+ return jspb.Message.setOneofWrapperField(this, 8, proto.io.contract_testing.contractcase.grpc.ContractResponse.oneofGroups_[0], value);
6873
8272
  };
6874
8273
 
6875
8274
 
6876
8275
  /**
6877
8276
  * Clears the message field making it undefined.
6878
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
8277
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
6879
8278
  */
6880
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.clearResultResponse = function() {
8279
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.clearResultResponse = function() {
6881
8280
  return this.setResultResponse(undefined);
6882
8281
  };
6883
8282
 
@@ -6886,9 +8285,46 @@ proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.clearRe
6886
8285
  * Returns whether this field is set.
6887
8286
  * @return {boolean}
6888
8287
  */
6889
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.hasResultResponse = function() {
8288
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.hasResultResponse = function() {
6890
8289
  return jspb.Message.getField(this, 8) != null;
6891
8290
  };
6892
8291
 
6893
8292
 
8293
+ /**
8294
+ * optional StartTestEvent start_test_event = 9;
8295
+ * @return {?proto.io.contract_testing.contractcase.grpc.StartTestEvent}
8296
+ */
8297
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.getStartTestEvent = function() {
8298
+ return /** @type{?proto.io.contract_testing.contractcase.grpc.StartTestEvent} */ (
8299
+ jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.StartTestEvent, 9));
8300
+ };
8301
+
8302
+
8303
+ /**
8304
+ * @param {?proto.io.contract_testing.contractcase.grpc.StartTestEvent|undefined} value
8305
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
8306
+ */
8307
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.setStartTestEvent = function(value) {
8308
+ return jspb.Message.setOneofWrapperField(this, 9, proto.io.contract_testing.contractcase.grpc.ContractResponse.oneofGroups_[0], value);
8309
+ };
8310
+
8311
+
8312
+ /**
8313
+ * Clears the message field making it undefined.
8314
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
8315
+ */
8316
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.clearStartTestEvent = function() {
8317
+ return this.setStartTestEvent(undefined);
8318
+ };
8319
+
8320
+
8321
+ /**
8322
+ * Returns whether this field is set.
8323
+ * @return {boolean}
8324
+ */
8325
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.hasStartTestEvent = function() {
8326
+ return jspb.Message.getField(this, 9) != null;
8327
+ };
8328
+
8329
+
6894
8330
  goog.object.extend(exports, proto.io.contract_testing.contractcase.grpc);