@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
@@ -32,16 +32,19 @@ var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_
32
32
  goog.object.extend(proto, google_protobuf_struct_pb);
33
33
  var google_protobuf_wrappers_pb = require('google-protobuf/google/protobuf/wrappers_pb.js');
34
34
  goog.object.extend(proto, google_protobuf_wrappers_pb);
35
+ goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions', null, global);
35
36
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.BeginDefinitionRequest', null, global);
37
+ goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest', null, global);
36
38
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.BoundaryResult', null, global);
37
39
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.BoundaryResult.ValueCase', null, global);
38
40
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.ContractCaseConfig', null, global);
39
41
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.ContractCaseConfig.UsernamePassword', null, global);
42
+ goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.ContractResponse', null, global);
43
+ goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.ContractResponse.KindCase', null, global);
40
44
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.DefinitionRequest', null, global);
41
45
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.DefinitionRequest.KindCase', null, global);
42
- goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.DefinitionResponse', null, global);
43
- goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.DefinitionResponse.KindCase', null, global);
44
46
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.EndDefinitionRequest', null, global);
47
+ goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.InvokeTest', null, global);
45
48
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.LogRequest', null, global);
46
49
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.PrintMatchErrorRequest', null, global);
47
50
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.PrintMessageErrorRequest', null, global);
@@ -54,11 +57,15 @@ goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.ResultSuccessHasM
54
57
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.RunExampleRequest', null, global);
55
58
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.RunRejectingExampleRequest', null, global);
56
59
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.RunStateHandlerRequest', null, global);
60
+ goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.RunVerification', null, global);
61
+ goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.StartTestEvent', null, global);
57
62
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.StateHandlerHandle', null, global);
58
63
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.StateHandlerHandle.Stage', null, global);
59
64
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.StripMatchersRequest', null, global);
60
65
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.TriggerFunctionHandle', null, global);
61
66
  goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.TriggerFunctionRequest', null, global);
67
+ goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.VerificationRequest', null, global);
68
+ goog.exportSymbol('proto.io.contract_testing.contractcase.grpc.VerificationRequest.KindCase', null, global);
62
69
  /**
63
70
  * Generated by JsPbCodeGenerator.
64
71
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -531,16 +538,142 @@ if (goog.DEBUG && !COMPILED) {
531
538
  * @extends {jspb.Message}
532
539
  * @constructor
533
540
  */
534
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse = function (opt_data) {
535
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.io.contract_testing.contractcase.grpc.DefinitionResponse.oneofGroups_);
541
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest = function (opt_data) {
542
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.repeatedFields_, null);
536
543
  };
537
- goog.inherits(proto.io.contract_testing.contractcase.grpc.DefinitionResponse, jspb.Message);
544
+ goog.inherits(proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest, jspb.Message);
538
545
  if (goog.DEBUG && !COMPILED) {
539
546
  /**
540
547
  * @public
541
548
  * @override
542
549
  */
543
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.displayName = 'proto.io.contract_testing.contractcase.grpc.DefinitionResponse';
550
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.displayName = 'proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest';
551
+ }
552
+ /**
553
+ * Generated by JsPbCodeGenerator.
554
+ * @param {Array=} opt_data Optional initial data array, typically from a
555
+ * server response, or constructed directly in Javascript. The array is used
556
+ * in place and becomes part of the constructed object. It is not cloned.
557
+ * If no data is provided, the constructed object will be empty, but still
558
+ * valid.
559
+ * @extends {jspb.Message}
560
+ * @constructor
561
+ */
562
+ proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions = function (opt_data) {
563
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
564
+ };
565
+ goog.inherits(proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions, jspb.Message);
566
+ if (goog.DEBUG && !COMPILED) {
567
+ /**
568
+ * @public
569
+ * @override
570
+ */
571
+ proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions.displayName = 'proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions';
572
+ }
573
+ /**
574
+ * Generated by JsPbCodeGenerator.
575
+ * @param {Array=} opt_data Optional initial data array, typically from a
576
+ * server response, or constructed directly in Javascript. The array is used
577
+ * in place and becomes part of the constructed object. It is not cloned.
578
+ * If no data is provided, the constructed object will be empty, but still
579
+ * valid.
580
+ * @extends {jspb.Message}
581
+ * @constructor
582
+ */
583
+ proto.io.contract_testing.contractcase.grpc.RunVerification = function (opt_data) {
584
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
585
+ };
586
+ goog.inherits(proto.io.contract_testing.contractcase.grpc.RunVerification, jspb.Message);
587
+ if (goog.DEBUG && !COMPILED) {
588
+ /**
589
+ * @public
590
+ * @override
591
+ */
592
+ proto.io.contract_testing.contractcase.grpc.RunVerification.displayName = 'proto.io.contract_testing.contractcase.grpc.RunVerification';
593
+ }
594
+ /**
595
+ * Generated by JsPbCodeGenerator.
596
+ * @param {Array=} opt_data Optional initial data array, typically from a
597
+ * server response, or constructed directly in Javascript. The array is used
598
+ * in place and becomes part of the constructed object. It is not cloned.
599
+ * If no data is provided, the constructed object will be empty, but still
600
+ * valid.
601
+ * @extends {jspb.Message}
602
+ * @constructor
603
+ */
604
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent = function (opt_data) {
605
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
606
+ };
607
+ goog.inherits(proto.io.contract_testing.contractcase.grpc.StartTestEvent, jspb.Message);
608
+ if (goog.DEBUG && !COMPILED) {
609
+ /**
610
+ * @public
611
+ * @override
612
+ */
613
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.displayName = 'proto.io.contract_testing.contractcase.grpc.StartTestEvent';
614
+ }
615
+ /**
616
+ * Generated by JsPbCodeGenerator.
617
+ * @param {Array=} opt_data Optional initial data array, typically from a
618
+ * server response, or constructed directly in Javascript. The array is used
619
+ * in place and becomes part of the constructed object. It is not cloned.
620
+ * If no data is provided, the constructed object will be empty, but still
621
+ * valid.
622
+ * @extends {jspb.Message}
623
+ * @constructor
624
+ */
625
+ proto.io.contract_testing.contractcase.grpc.InvokeTest = function (opt_data) {
626
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
627
+ };
628
+ goog.inherits(proto.io.contract_testing.contractcase.grpc.InvokeTest, jspb.Message);
629
+ if (goog.DEBUG && !COMPILED) {
630
+ /**
631
+ * @public
632
+ * @override
633
+ */
634
+ proto.io.contract_testing.contractcase.grpc.InvokeTest.displayName = 'proto.io.contract_testing.contractcase.grpc.InvokeTest';
635
+ }
636
+ /**
637
+ * Generated by JsPbCodeGenerator.
638
+ * @param {Array=} opt_data Optional initial data array, typically from a
639
+ * server response, or constructed directly in Javascript. The array is used
640
+ * in place and becomes part of the constructed object. It is not cloned.
641
+ * If no data is provided, the constructed object will be empty, but still
642
+ * valid.
643
+ * @extends {jspb.Message}
644
+ * @constructor
645
+ */
646
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest = function (opt_data) {
647
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.io.contract_testing.contractcase.grpc.VerificationRequest.oneofGroups_);
648
+ };
649
+ goog.inherits(proto.io.contract_testing.contractcase.grpc.VerificationRequest, jspb.Message);
650
+ if (goog.DEBUG && !COMPILED) {
651
+ /**
652
+ * @public
653
+ * @override
654
+ */
655
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.displayName = 'proto.io.contract_testing.contractcase.grpc.VerificationRequest';
656
+ }
657
+ /**
658
+ * Generated by JsPbCodeGenerator.
659
+ * @param {Array=} opt_data Optional initial data array, typically from a
660
+ * server response, or constructed directly in Javascript. The array is used
661
+ * in place and becomes part of the constructed object. It is not cloned.
662
+ * If no data is provided, the constructed object will be empty, but still
663
+ * valid.
664
+ * @extends {jspb.Message}
665
+ * @constructor
666
+ */
667
+ proto.io.contract_testing.contractcase.grpc.ContractResponse = function (opt_data) {
668
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.io.contract_testing.contractcase.grpc.ContractResponse.oneofGroups_);
669
+ };
670
+ goog.inherits(proto.io.contract_testing.contractcase.grpc.ContractResponse, jspb.Message);
671
+ if (goog.DEBUG && !COMPILED) {
672
+ /**
673
+ * @public
674
+ * @override
675
+ */
676
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.displayName = 'proto.io.contract_testing.contractcase.grpc.ContractResponse';
544
677
  }
545
678
  /**
546
679
  * List of repeated fields within this message type.
@@ -5097,33 +5230,11 @@ proto.io.contract_testing.contractcase.grpc.DefinitionRequest.prototype.hasResul
5097
5230
  return jspb.Message.getField(this, 7) != null;
5098
5231
  };
5099
5232
  /**
5100
- * Oneof group definitions for this message. Each group defines the field
5101
- * numbers belonging to that group. When of these fields' value is set, all
5102
- * other fields in the group are cleared. During deserialization, if multiple
5103
- * fields are encountered for a group, only the last value seen will be kept.
5104
- * @private {!Array<!Array<number>>}
5233
+ * List of repeated fields within this message type.
5234
+ * @private {!Array<number>}
5105
5235
  * @const
5106
5236
  */
5107
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.oneofGroups_ = [[2, 3, 4, 5, 6, 7, 8]];
5108
- /**
5109
- * @enum {number}
5110
- */
5111
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.KindCase = {
5112
- KIND_NOT_SET: 0,
5113
- RUN_STATE_HANDLER: 2,
5114
- LOG_REQUEST: 3,
5115
- PRINT_MATCH_ERROR_REQUEST: 4,
5116
- PRINT_MESSAGE_ERROR_REQUEST: 5,
5117
- PRINT_TEST_TITLE_REQUEST: 6,
5118
- TRIGGER_FUNCTION_REQUEST: 7,
5119
- RESULT_RESPONSE: 8
5120
- };
5121
- /**
5122
- * @return {proto.io.contract_testing.contractcase.grpc.DefinitionResponse.KindCase}
5123
- */
5124
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.getKindCase = function () {
5125
- return /** @type {proto.io.contract_testing.contractcase.grpc.DefinitionResponse.KindCase} */ (jspb.Message.computeOneofCase(this, proto.io.contract_testing.contractcase.grpc.DefinitionResponse.oneofGroups_[0]));
5126
- };
5237
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.repeatedFields_ = [4];
5127
5238
  if (jspb.Message.GENERATE_TO_OBJECT) {
5128
5239
  /**
5129
5240
  * Creates an object representation of this proto.
@@ -5137,28 +5248,22 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
5137
5248
  * http://goto/soy-param-migration
5138
5249
  * @return {!Object}
5139
5250
  */
5140
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.toObject = function (opt_includeInstance) {
5141
- return proto.io.contract_testing.contractcase.grpc.DefinitionResponse.toObject(opt_includeInstance, this);
5251
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.prototype.toObject = function (opt_includeInstance) {
5252
+ return proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.toObject(opt_includeInstance, this);
5142
5253
  };
5143
5254
  /**
5144
5255
  * Static version of the {@see toObject} method.
5145
5256
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5146
5257
  * the JSPB instance for transitional soy proto support:
5147
5258
  * http://goto/soy-param-migration
5148
- * @param {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} msg The msg instance to transform.
5259
+ * @param {!proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest} msg The msg instance to transform.
5149
5260
  * @return {!Object}
5150
5261
  * @suppress {unusedLocalVariables} f is only used for nested messages
5151
5262
  */
5152
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.toObject = function (includeInstance, msg) {
5263
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.toObject = function (includeInstance, msg) {
5153
5264
  var f, obj = {
5154
- id: (f = msg.getId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
5155
- runStateHandler: (f = msg.getRunStateHandler()) && proto.io.contract_testing.contractcase.grpc.RunStateHandlerRequest.toObject(includeInstance, f),
5156
- logRequest: (f = msg.getLogRequest()) && proto.io.contract_testing.contractcase.grpc.LogRequest.toObject(includeInstance, f),
5157
- printMatchErrorRequest: (f = msg.getPrintMatchErrorRequest()) && proto.io.contract_testing.contractcase.grpc.PrintMatchErrorRequest.toObject(includeInstance, f),
5158
- printMessageErrorRequest: (f = msg.getPrintMessageErrorRequest()) && proto.io.contract_testing.contractcase.grpc.PrintMessageErrorRequest.toObject(includeInstance, f),
5159
- printTestTitleRequest: (f = msg.getPrintTestTitleRequest()) && proto.io.contract_testing.contractcase.grpc.PrintTestTitleRequest.toObject(includeInstance, f),
5160
- triggerFunctionRequest: (f = msg.getTriggerFunctionRequest()) && proto.io.contract_testing.contractcase.grpc.TriggerFunctionRequest.toObject(includeInstance, f),
5161
- resultResponse: (f = msg.getResultResponse()) && proto.io.contract_testing.contractcase.grpc.ResultResponse.toObject(includeInstance, f)
5265
+ config: (f = msg.getConfig()) && proto.io.contract_testing.contractcase.grpc.ContractCaseConfig.toObject(includeInstance, f),
5266
+ callerVersionsList: jspb.Message.toObjectList(msg.getCallerVersionsList(), google_protobuf_wrappers_pb.StringValue.toObject, includeInstance)
5162
5267
  };
5163
5268
  if (includeInstance) {
5164
5269
  obj.$jspbMessageInstance = msg;
@@ -5169,21 +5274,21 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
5169
5274
  /**
5170
5275
  * Deserializes binary data (in protobuf wire format).
5171
5276
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
5172
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse}
5277
+ * @return {!proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest}
5173
5278
  */
5174
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.deserializeBinary = function (bytes) {
5279
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.deserializeBinary = function (bytes) {
5175
5280
  var reader = new jspb.BinaryReader(bytes);
5176
- var msg = new proto.io.contract_testing.contractcase.grpc.DefinitionResponse;
5177
- return proto.io.contract_testing.contractcase.grpc.DefinitionResponse.deserializeBinaryFromReader(msg, reader);
5281
+ var msg = new proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest;
5282
+ return proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.deserializeBinaryFromReader(msg, reader);
5178
5283
  };
5179
5284
  /**
5180
5285
  * Deserializes binary data (in protobuf wire format) from the
5181
5286
  * given reader into the given message object.
5182
- * @param {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} msg The message object to deserialize into.
5287
+ * @param {!proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest} msg The message object to deserialize into.
5183
5288
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5184
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse}
5289
+ * @return {!proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest}
5185
5290
  */
5186
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.deserializeBinaryFromReader = function (msg, reader) {
5291
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.deserializeBinaryFromReader = function (msg, reader) {
5187
5292
  while (reader.nextField()) {
5188
5293
  if (reader.isEndGroup()) {
5189
5294
  break;
@@ -5191,44 +5296,14 @@ proto.io.contract_testing.contractcase.grpc.DefinitionResponse.deserializeBinary
5191
5296
  var field = reader.getFieldNumber();
5192
5297
  switch (field) {
5193
5298
  case 1:
5194
- var value = new google_protobuf_wrappers_pb.StringValue;
5195
- reader.readMessage(value, google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
5196
- msg.setId(value);
5197
- break;
5198
- case 2:
5199
- var value = new proto.io.contract_testing.contractcase.grpc.RunStateHandlerRequest;
5200
- reader.readMessage(value, proto.io.contract_testing.contractcase.grpc.RunStateHandlerRequest.deserializeBinaryFromReader);
5201
- msg.setRunStateHandler(value);
5202
- break;
5203
- case 3:
5204
- var value = new proto.io.contract_testing.contractcase.grpc.LogRequest;
5205
- reader.readMessage(value, proto.io.contract_testing.contractcase.grpc.LogRequest.deserializeBinaryFromReader);
5206
- msg.setLogRequest(value);
5299
+ var value = new proto.io.contract_testing.contractcase.grpc.ContractCaseConfig;
5300
+ reader.readMessage(value, proto.io.contract_testing.contractcase.grpc.ContractCaseConfig.deserializeBinaryFromReader);
5301
+ msg.setConfig(value);
5207
5302
  break;
5208
5303
  case 4:
5209
- var value = new proto.io.contract_testing.contractcase.grpc.PrintMatchErrorRequest;
5210
- reader.readMessage(value, proto.io.contract_testing.contractcase.grpc.PrintMatchErrorRequest.deserializeBinaryFromReader);
5211
- msg.setPrintMatchErrorRequest(value);
5212
- break;
5213
- case 5:
5214
- var value = new proto.io.contract_testing.contractcase.grpc.PrintMessageErrorRequest;
5215
- reader.readMessage(value, proto.io.contract_testing.contractcase.grpc.PrintMessageErrorRequest.deserializeBinaryFromReader);
5216
- msg.setPrintMessageErrorRequest(value);
5217
- break;
5218
- case 6:
5219
- var value = new proto.io.contract_testing.contractcase.grpc.PrintTestTitleRequest;
5220
- reader.readMessage(value, proto.io.contract_testing.contractcase.grpc.PrintTestTitleRequest.deserializeBinaryFromReader);
5221
- msg.setPrintTestTitleRequest(value);
5222
- break;
5223
- case 7:
5224
- var value = new proto.io.contract_testing.contractcase.grpc.TriggerFunctionRequest;
5225
- reader.readMessage(value, proto.io.contract_testing.contractcase.grpc.TriggerFunctionRequest.deserializeBinaryFromReader);
5226
- msg.setTriggerFunctionRequest(value);
5227
- break;
5228
- case 8:
5229
- var value = new proto.io.contract_testing.contractcase.grpc.ResultResponse;
5230
- reader.readMessage(value, proto.io.contract_testing.contractcase.grpc.ResultResponse.deserializeBinaryFromReader);
5231
- msg.setResultResponse(value);
5304
+ var value = new google_protobuf_wrappers_pb.StringValue;
5305
+ reader.readMessage(value, google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
5306
+ msg.addCallerVersions(value);
5232
5307
  break;
5233
5308
  default:
5234
5309
  reader.skipField();
@@ -5241,276 +5316,1365 @@ proto.io.contract_testing.contractcase.grpc.DefinitionResponse.deserializeBinary
5241
5316
  * Serializes the message to binary data (in protobuf wire format).
5242
5317
  * @return {!Uint8Array}
5243
5318
  */
5244
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.serializeBinary = function () {
5319
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.prototype.serializeBinary = function () {
5245
5320
  var writer = new jspb.BinaryWriter();
5246
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.serializeBinaryToWriter(this, writer);
5321
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.serializeBinaryToWriter(this, writer);
5247
5322
  return writer.getResultBuffer();
5248
5323
  };
5249
5324
  /**
5250
5325
  * Serializes the given message to binary data (in protobuf wire
5251
5326
  * format), writing to the given BinaryWriter.
5252
- * @param {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} message
5327
+ * @param {!proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest} message
5253
5328
  * @param {!jspb.BinaryWriter} writer
5254
5329
  * @suppress {unusedLocalVariables} f is only used for nested messages
5255
5330
  */
5256
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.serializeBinaryToWriter = function (message, writer) {
5331
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.serializeBinaryToWriter = function (message, writer) {
5257
5332
  var f = undefined;
5258
- f = message.getId();
5259
- if (f != null) {
5260
- writer.writeMessage(1, f, google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter);
5261
- }
5262
- f = message.getRunStateHandler();
5263
- if (f != null) {
5264
- writer.writeMessage(2, f, proto.io.contract_testing.contractcase.grpc.RunStateHandlerRequest.serializeBinaryToWriter);
5265
- }
5266
- f = message.getLogRequest();
5267
- if (f != null) {
5268
- writer.writeMessage(3, f, proto.io.contract_testing.contractcase.grpc.LogRequest.serializeBinaryToWriter);
5269
- }
5270
- f = message.getPrintMatchErrorRequest();
5271
- if (f != null) {
5272
- writer.writeMessage(4, f, proto.io.contract_testing.contractcase.grpc.PrintMatchErrorRequest.serializeBinaryToWriter);
5273
- }
5274
- f = message.getPrintMessageErrorRequest();
5275
- if (f != null) {
5276
- writer.writeMessage(5, f, proto.io.contract_testing.contractcase.grpc.PrintMessageErrorRequest.serializeBinaryToWriter);
5277
- }
5278
- f = message.getPrintTestTitleRequest();
5279
- if (f != null) {
5280
- writer.writeMessage(6, f, proto.io.contract_testing.contractcase.grpc.PrintTestTitleRequest.serializeBinaryToWriter);
5281
- }
5282
- f = message.getTriggerFunctionRequest();
5333
+ f = message.getConfig();
5283
5334
  if (f != null) {
5284
- writer.writeMessage(7, f, proto.io.contract_testing.contractcase.grpc.TriggerFunctionRequest.serializeBinaryToWriter);
5335
+ writer.writeMessage(1, f, proto.io.contract_testing.contractcase.grpc.ContractCaseConfig.serializeBinaryToWriter);
5285
5336
  }
5286
- f = message.getResultResponse();
5287
- if (f != null) {
5288
- writer.writeMessage(8, f, proto.io.contract_testing.contractcase.grpc.ResultResponse.serializeBinaryToWriter);
5337
+ f = message.getCallerVersionsList();
5338
+ if (f.length > 0) {
5339
+ writer.writeRepeatedMessage(4, f, google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter);
5289
5340
  }
5290
5341
  };
5291
5342
  /**
5292
- * optional google.protobuf.StringValue id = 1;
5293
- * @return {?proto.google.protobuf.StringValue}
5343
+ * optional ContractCaseConfig config = 1;
5344
+ * @return {?proto.io.contract_testing.contractcase.grpc.ContractCaseConfig}
5294
5345
  */
5295
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.getId = function () {
5296
- return /** @type{?proto.google.protobuf.StringValue} */ (jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
5346
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.prototype.getConfig = function () {
5347
+ return /** @type{?proto.io.contract_testing.contractcase.grpc.ContractCaseConfig} */ (jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.ContractCaseConfig, 1));
5297
5348
  };
5298
5349
  /**
5299
- * @param {?proto.google.protobuf.StringValue|undefined} value
5300
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
5350
+ * @param {?proto.io.contract_testing.contractcase.grpc.ContractCaseConfig|undefined} value
5351
+ * @return {!proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest} returns this
5301
5352
  */
5302
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.setId = function (value) {
5353
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.prototype.setConfig = function (value) {
5303
5354
  return jspb.Message.setWrapperField(this, 1, value);
5304
5355
  };
5305
5356
  /**
5306
5357
  * Clears the message field making it undefined.
5307
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
5358
+ * @return {!proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest} returns this
5308
5359
  */
5309
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.clearId = function () {
5310
- return this.setId(undefined);
5360
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.prototype.clearConfig = function () {
5361
+ return this.setConfig(undefined);
5311
5362
  };
5312
5363
  /**
5313
5364
  * Returns whether this field is set.
5314
5365
  * @return {boolean}
5315
5366
  */
5316
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.hasId = function () {
5367
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.prototype.hasConfig = function () {
5317
5368
  return jspb.Message.getField(this, 1) != null;
5318
5369
  };
5319
5370
  /**
5320
- * optional RunStateHandlerRequest run_state_handler = 2;
5321
- * @return {?proto.io.contract_testing.contractcase.grpc.RunStateHandlerRequest}
5371
+ * repeated google.protobuf.StringValue caller_versions = 4;
5372
+ * @return {!Array<!proto.google.protobuf.StringValue>}
5322
5373
  */
5323
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.getRunStateHandler = function () {
5324
- return /** @type{?proto.io.contract_testing.contractcase.grpc.RunStateHandlerRequest} */ (jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.RunStateHandlerRequest, 2));
5374
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.prototype.getCallerVersionsList = function () {
5375
+ return /** @type{!Array<!proto.google.protobuf.StringValue>} */ (jspb.Message.getRepeatedWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
5325
5376
  };
5326
5377
  /**
5327
- * @param {?proto.io.contract_testing.contractcase.grpc.RunStateHandlerRequest|undefined} value
5328
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
5378
+ * @param {!Array<!proto.google.protobuf.StringValue>} value
5379
+ * @return {!proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest} returns this
5329
5380
  */
5330
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.setRunStateHandler = function (value) {
5331
- return jspb.Message.setOneofWrapperField(this, 2, proto.io.contract_testing.contractcase.grpc.DefinitionResponse.oneofGroups_[0], value);
5332
- };
5333
- /**
5334
- * Clears the message field making it undefined.
5335
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
5336
- */
5337
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.clearRunStateHandler = function () {
5338
- return this.setRunStateHandler(undefined);
5381
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.prototype.setCallerVersionsList = function (value) {
5382
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
5339
5383
  };
5340
5384
  /**
5341
- * Returns whether this field is set.
5342
- * @return {boolean}
5385
+ * @param {!proto.google.protobuf.StringValue=} opt_value
5386
+ * @param {number=} opt_index
5387
+ * @return {!proto.google.protobuf.StringValue}
5343
5388
  */
5344
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.hasRunStateHandler = function () {
5345
- return jspb.Message.getField(this, 2) != null;
5389
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.prototype.addCallerVersions = function (opt_value, opt_index) {
5390
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.google.protobuf.StringValue, opt_index);
5346
5391
  };
5347
5392
  /**
5348
- * optional LogRequest log_request = 3;
5349
- * @return {?proto.io.contract_testing.contractcase.grpc.LogRequest}
5393
+ * Clears the list making it empty but non-null.
5394
+ * @return {!proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest} returns this
5350
5395
  */
5351
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.getLogRequest = function () {
5352
- return /** @type{?proto.io.contract_testing.contractcase.grpc.LogRequest} */ (jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.LogRequest, 3));
5353
- };
5354
- /**
5355
- * @param {?proto.io.contract_testing.contractcase.grpc.LogRequest|undefined} value
5356
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
5357
- */
5358
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.setLogRequest = function (value) {
5359
- return jspb.Message.setOneofWrapperField(this, 3, proto.io.contract_testing.contractcase.grpc.DefinitionResponse.oneofGroups_[0], value);
5396
+ proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.prototype.clearCallerVersionsList = function () {
5397
+ return this.setCallerVersionsList([]);
5360
5398
  };
5361
- /**
5362
- * Clears the message field making it undefined.
5363
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
5364
- */
5365
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.clearLogRequest = function () {
5399
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5400
+ /**
5401
+ * Creates an object representation of this proto.
5402
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5403
+ * Optional fields that are not set will be set to undefined.
5404
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5405
+ * For the list of reserved names please see:
5406
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5407
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5408
+ * JSPB instance for transitional soy proto support:
5409
+ * http://goto/soy-param-migration
5410
+ * @return {!Object}
5411
+ */
5412
+ proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions.prototype.toObject = function (opt_includeInstance) {
5413
+ return proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions.toObject(opt_includeInstance, this);
5414
+ };
5415
+ /**
5416
+ * Static version of the {@see toObject} method.
5417
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5418
+ * the JSPB instance for transitional soy proto support:
5419
+ * http://goto/soy-param-migration
5420
+ * @param {!proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions} msg The msg instance to transform.
5421
+ * @return {!Object}
5422
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5423
+ */
5424
+ proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions.toObject = function (includeInstance, msg) {
5425
+ var f, obj = {};
5426
+ if (includeInstance) {
5427
+ obj.$jspbMessageInstance = msg;
5428
+ }
5429
+ return obj;
5430
+ };
5431
+ }
5432
+ /**
5433
+ * Deserializes binary data (in protobuf wire format).
5434
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5435
+ * @return {!proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions}
5436
+ */
5437
+ proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions.deserializeBinary = function (bytes) {
5438
+ var reader = new jspb.BinaryReader(bytes);
5439
+ var msg = new proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions;
5440
+ return proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions.deserializeBinaryFromReader(msg, reader);
5441
+ };
5442
+ /**
5443
+ * Deserializes binary data (in protobuf wire format) from the
5444
+ * given reader into the given message object.
5445
+ * @param {!proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions} msg The message object to deserialize into.
5446
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5447
+ * @return {!proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions}
5448
+ */
5449
+ proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions.deserializeBinaryFromReader = function (msg, reader) {
5450
+ while (reader.nextField()) {
5451
+ if (reader.isEndGroup()) {
5452
+ break;
5453
+ }
5454
+ var field = reader.getFieldNumber();
5455
+ switch (field) {
5456
+ default:
5457
+ reader.skipField();
5458
+ break;
5459
+ }
5460
+ }
5461
+ return msg;
5462
+ };
5463
+ /**
5464
+ * Serializes the message to binary data (in protobuf wire format).
5465
+ * @return {!Uint8Array}
5466
+ */
5467
+ proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions.prototype.serializeBinary = function () {
5468
+ var writer = new jspb.BinaryWriter();
5469
+ proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions.serializeBinaryToWriter(this, writer);
5470
+ return writer.getResultBuffer();
5471
+ };
5472
+ /**
5473
+ * Serializes the given message to binary data (in protobuf wire
5474
+ * format), writing to the given BinaryWriter.
5475
+ * @param {!proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions} message
5476
+ * @param {!jspb.BinaryWriter} writer
5477
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5478
+ */
5479
+ proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions.serializeBinaryToWriter = function (message, writer) {
5480
+ var f = undefined;
5481
+ };
5482
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5483
+ /**
5484
+ * Creates an object representation of this proto.
5485
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5486
+ * Optional fields that are not set will be set to undefined.
5487
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5488
+ * For the list of reserved names please see:
5489
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5490
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5491
+ * JSPB instance for transitional soy proto support:
5492
+ * http://goto/soy-param-migration
5493
+ * @return {!Object}
5494
+ */
5495
+ proto.io.contract_testing.contractcase.grpc.RunVerification.prototype.toObject = function (opt_includeInstance) {
5496
+ return proto.io.contract_testing.contractcase.grpc.RunVerification.toObject(opt_includeInstance, this);
5497
+ };
5498
+ /**
5499
+ * Static version of the {@see toObject} method.
5500
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5501
+ * the JSPB instance for transitional soy proto support:
5502
+ * http://goto/soy-param-migration
5503
+ * @param {!proto.io.contract_testing.contractcase.grpc.RunVerification} msg The msg instance to transform.
5504
+ * @return {!Object}
5505
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5506
+ */
5507
+ proto.io.contract_testing.contractcase.grpc.RunVerification.toObject = function (includeInstance, msg) {
5508
+ var f, obj = {
5509
+ config: (f = msg.getConfig()) && proto.io.contract_testing.contractcase.grpc.ContractCaseConfig.toObject(includeInstance, f)
5510
+ };
5511
+ if (includeInstance) {
5512
+ obj.$jspbMessageInstance = msg;
5513
+ }
5514
+ return obj;
5515
+ };
5516
+ }
5517
+ /**
5518
+ * Deserializes binary data (in protobuf wire format).
5519
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5520
+ * @return {!proto.io.contract_testing.contractcase.grpc.RunVerification}
5521
+ */
5522
+ proto.io.contract_testing.contractcase.grpc.RunVerification.deserializeBinary = function (bytes) {
5523
+ var reader = new jspb.BinaryReader(bytes);
5524
+ var msg = new proto.io.contract_testing.contractcase.grpc.RunVerification;
5525
+ return proto.io.contract_testing.contractcase.grpc.RunVerification.deserializeBinaryFromReader(msg, reader);
5526
+ };
5527
+ /**
5528
+ * Deserializes binary data (in protobuf wire format) from the
5529
+ * given reader into the given message object.
5530
+ * @param {!proto.io.contract_testing.contractcase.grpc.RunVerification} msg The message object to deserialize into.
5531
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5532
+ * @return {!proto.io.contract_testing.contractcase.grpc.RunVerification}
5533
+ */
5534
+ proto.io.contract_testing.contractcase.grpc.RunVerification.deserializeBinaryFromReader = function (msg, reader) {
5535
+ while (reader.nextField()) {
5536
+ if (reader.isEndGroup()) {
5537
+ break;
5538
+ }
5539
+ var field = reader.getFieldNumber();
5540
+ switch (field) {
5541
+ case 1:
5542
+ var value = new proto.io.contract_testing.contractcase.grpc.ContractCaseConfig;
5543
+ reader.readMessage(value, proto.io.contract_testing.contractcase.grpc.ContractCaseConfig.deserializeBinaryFromReader);
5544
+ msg.setConfig(value);
5545
+ break;
5546
+ default:
5547
+ reader.skipField();
5548
+ break;
5549
+ }
5550
+ }
5551
+ return msg;
5552
+ };
5553
+ /**
5554
+ * Serializes the message to binary data (in protobuf wire format).
5555
+ * @return {!Uint8Array}
5556
+ */
5557
+ proto.io.contract_testing.contractcase.grpc.RunVerification.prototype.serializeBinary = function () {
5558
+ var writer = new jspb.BinaryWriter();
5559
+ proto.io.contract_testing.contractcase.grpc.RunVerification.serializeBinaryToWriter(this, writer);
5560
+ return writer.getResultBuffer();
5561
+ };
5562
+ /**
5563
+ * Serializes the given message to binary data (in protobuf wire
5564
+ * format), writing to the given BinaryWriter.
5565
+ * @param {!proto.io.contract_testing.contractcase.grpc.RunVerification} message
5566
+ * @param {!jspb.BinaryWriter} writer
5567
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5568
+ */
5569
+ proto.io.contract_testing.contractcase.grpc.RunVerification.serializeBinaryToWriter = function (message, writer) {
5570
+ var f = undefined;
5571
+ f = message.getConfig();
5572
+ if (f != null) {
5573
+ writer.writeMessage(1, f, proto.io.contract_testing.contractcase.grpc.ContractCaseConfig.serializeBinaryToWriter);
5574
+ }
5575
+ };
5576
+ /**
5577
+ * optional ContractCaseConfig config = 1;
5578
+ * @return {?proto.io.contract_testing.contractcase.grpc.ContractCaseConfig}
5579
+ */
5580
+ proto.io.contract_testing.contractcase.grpc.RunVerification.prototype.getConfig = function () {
5581
+ return /** @type{?proto.io.contract_testing.contractcase.grpc.ContractCaseConfig} */ (jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.ContractCaseConfig, 1));
5582
+ };
5583
+ /**
5584
+ * @param {?proto.io.contract_testing.contractcase.grpc.ContractCaseConfig|undefined} value
5585
+ * @return {!proto.io.contract_testing.contractcase.grpc.RunVerification} returns this
5586
+ */
5587
+ proto.io.contract_testing.contractcase.grpc.RunVerification.prototype.setConfig = function (value) {
5588
+ return jspb.Message.setWrapperField(this, 1, value);
5589
+ };
5590
+ /**
5591
+ * Clears the message field making it undefined.
5592
+ * @return {!proto.io.contract_testing.contractcase.grpc.RunVerification} returns this
5593
+ */
5594
+ proto.io.contract_testing.contractcase.grpc.RunVerification.prototype.clearConfig = function () {
5595
+ return this.setConfig(undefined);
5596
+ };
5597
+ /**
5598
+ * Returns whether this field is set.
5599
+ * @return {boolean}
5600
+ */
5601
+ proto.io.contract_testing.contractcase.grpc.RunVerification.prototype.hasConfig = function () {
5602
+ return jspb.Message.getField(this, 1) != null;
5603
+ };
5604
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5605
+ /**
5606
+ * Creates an object representation of this proto.
5607
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5608
+ * Optional fields that are not set will be set to undefined.
5609
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5610
+ * For the list of reserved names please see:
5611
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5612
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5613
+ * JSPB instance for transitional soy proto support:
5614
+ * http://goto/soy-param-migration
5615
+ * @return {!Object}
5616
+ */
5617
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.prototype.toObject = function (opt_includeInstance) {
5618
+ return proto.io.contract_testing.contractcase.grpc.StartTestEvent.toObject(opt_includeInstance, this);
5619
+ };
5620
+ /**
5621
+ * Static version of the {@see toObject} method.
5622
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5623
+ * the JSPB instance for transitional soy proto support:
5624
+ * http://goto/soy-param-migration
5625
+ * @param {!proto.io.contract_testing.contractcase.grpc.StartTestEvent} msg The msg instance to transform.
5626
+ * @return {!Object}
5627
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5628
+ */
5629
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.toObject = function (includeInstance, msg) {
5630
+ var f, obj = {
5631
+ testName: (f = msg.getTestName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
5632
+ invokerId: (f = msg.getInvokerId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
5633
+ };
5634
+ if (includeInstance) {
5635
+ obj.$jspbMessageInstance = msg;
5636
+ }
5637
+ return obj;
5638
+ };
5639
+ }
5640
+ /**
5641
+ * Deserializes binary data (in protobuf wire format).
5642
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5643
+ * @return {!proto.io.contract_testing.contractcase.grpc.StartTestEvent}
5644
+ */
5645
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.deserializeBinary = function (bytes) {
5646
+ var reader = new jspb.BinaryReader(bytes);
5647
+ var msg = new proto.io.contract_testing.contractcase.grpc.StartTestEvent;
5648
+ return proto.io.contract_testing.contractcase.grpc.StartTestEvent.deserializeBinaryFromReader(msg, reader);
5649
+ };
5650
+ /**
5651
+ * Deserializes binary data (in protobuf wire format) from the
5652
+ * given reader into the given message object.
5653
+ * @param {!proto.io.contract_testing.contractcase.grpc.StartTestEvent} msg The message object to deserialize into.
5654
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5655
+ * @return {!proto.io.contract_testing.contractcase.grpc.StartTestEvent}
5656
+ */
5657
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.deserializeBinaryFromReader = function (msg, reader) {
5658
+ while (reader.nextField()) {
5659
+ if (reader.isEndGroup()) {
5660
+ break;
5661
+ }
5662
+ var field = reader.getFieldNumber();
5663
+ switch (field) {
5664
+ case 1:
5665
+ var value = new google_protobuf_wrappers_pb.StringValue;
5666
+ reader.readMessage(value, google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
5667
+ msg.setTestName(value);
5668
+ break;
5669
+ case 2:
5670
+ var value = new google_protobuf_wrappers_pb.StringValue;
5671
+ reader.readMessage(value, google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
5672
+ msg.setInvokerId(value);
5673
+ break;
5674
+ default:
5675
+ reader.skipField();
5676
+ break;
5677
+ }
5678
+ }
5679
+ return msg;
5680
+ };
5681
+ /**
5682
+ * Serializes the message to binary data (in protobuf wire format).
5683
+ * @return {!Uint8Array}
5684
+ */
5685
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.prototype.serializeBinary = function () {
5686
+ var writer = new jspb.BinaryWriter();
5687
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.serializeBinaryToWriter(this, writer);
5688
+ return writer.getResultBuffer();
5689
+ };
5690
+ /**
5691
+ * Serializes the given message to binary data (in protobuf wire
5692
+ * format), writing to the given BinaryWriter.
5693
+ * @param {!proto.io.contract_testing.contractcase.grpc.StartTestEvent} message
5694
+ * @param {!jspb.BinaryWriter} writer
5695
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5696
+ */
5697
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.serializeBinaryToWriter = function (message, writer) {
5698
+ var f = undefined;
5699
+ f = message.getTestName();
5700
+ if (f != null) {
5701
+ writer.writeMessage(1, f, google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter);
5702
+ }
5703
+ f = message.getInvokerId();
5704
+ if (f != null) {
5705
+ writer.writeMessage(2, f, google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter);
5706
+ }
5707
+ };
5708
+ /**
5709
+ * optional google.protobuf.StringValue test_name = 1;
5710
+ * @return {?proto.google.protobuf.StringValue}
5711
+ */
5712
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.prototype.getTestName = function () {
5713
+ return /** @type{?proto.google.protobuf.StringValue} */ (jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
5714
+ };
5715
+ /**
5716
+ * @param {?proto.google.protobuf.StringValue|undefined} value
5717
+ * @return {!proto.io.contract_testing.contractcase.grpc.StartTestEvent} returns this
5718
+ */
5719
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.prototype.setTestName = function (value) {
5720
+ return jspb.Message.setWrapperField(this, 1, value);
5721
+ };
5722
+ /**
5723
+ * Clears the message field making it undefined.
5724
+ * @return {!proto.io.contract_testing.contractcase.grpc.StartTestEvent} returns this
5725
+ */
5726
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.prototype.clearTestName = function () {
5727
+ return this.setTestName(undefined);
5728
+ };
5729
+ /**
5730
+ * Returns whether this field is set.
5731
+ * @return {boolean}
5732
+ */
5733
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.prototype.hasTestName = function () {
5734
+ return jspb.Message.getField(this, 1) != null;
5735
+ };
5736
+ /**
5737
+ * optional google.protobuf.StringValue invoker_id = 2;
5738
+ * @return {?proto.google.protobuf.StringValue}
5739
+ */
5740
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.prototype.getInvokerId = function () {
5741
+ return /** @type{?proto.google.protobuf.StringValue} */ (jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
5742
+ };
5743
+ /**
5744
+ * @param {?proto.google.protobuf.StringValue|undefined} value
5745
+ * @return {!proto.io.contract_testing.contractcase.grpc.StartTestEvent} returns this
5746
+ */
5747
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.prototype.setInvokerId = function (value) {
5748
+ return jspb.Message.setWrapperField(this, 2, value);
5749
+ };
5750
+ /**
5751
+ * Clears the message field making it undefined.
5752
+ * @return {!proto.io.contract_testing.contractcase.grpc.StartTestEvent} returns this
5753
+ */
5754
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.prototype.clearInvokerId = function () {
5755
+ return this.setInvokerId(undefined);
5756
+ };
5757
+ /**
5758
+ * Returns whether this field is set.
5759
+ * @return {boolean}
5760
+ */
5761
+ proto.io.contract_testing.contractcase.grpc.StartTestEvent.prototype.hasInvokerId = function () {
5762
+ return jspb.Message.getField(this, 2) != null;
5763
+ };
5764
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5765
+ /**
5766
+ * Creates an object representation of this proto.
5767
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5768
+ * Optional fields that are not set will be set to undefined.
5769
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5770
+ * For the list of reserved names please see:
5771
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5772
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5773
+ * JSPB instance for transitional soy proto support:
5774
+ * http://goto/soy-param-migration
5775
+ * @return {!Object}
5776
+ */
5777
+ proto.io.contract_testing.contractcase.grpc.InvokeTest.prototype.toObject = function (opt_includeInstance) {
5778
+ return proto.io.contract_testing.contractcase.grpc.InvokeTest.toObject(opt_includeInstance, this);
5779
+ };
5780
+ /**
5781
+ * Static version of the {@see toObject} method.
5782
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5783
+ * the JSPB instance for transitional soy proto support:
5784
+ * http://goto/soy-param-migration
5785
+ * @param {!proto.io.contract_testing.contractcase.grpc.InvokeTest} msg The msg instance to transform.
5786
+ * @return {!Object}
5787
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5788
+ */
5789
+ proto.io.contract_testing.contractcase.grpc.InvokeTest.toObject = function (includeInstance, msg) {
5790
+ var f, obj = {
5791
+ invokerId: (f = msg.getInvokerId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
5792
+ };
5793
+ if (includeInstance) {
5794
+ obj.$jspbMessageInstance = msg;
5795
+ }
5796
+ return obj;
5797
+ };
5798
+ }
5799
+ /**
5800
+ * Deserializes binary data (in protobuf wire format).
5801
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5802
+ * @return {!proto.io.contract_testing.contractcase.grpc.InvokeTest}
5803
+ */
5804
+ proto.io.contract_testing.contractcase.grpc.InvokeTest.deserializeBinary = function (bytes) {
5805
+ var reader = new jspb.BinaryReader(bytes);
5806
+ var msg = new proto.io.contract_testing.contractcase.grpc.InvokeTest;
5807
+ return proto.io.contract_testing.contractcase.grpc.InvokeTest.deserializeBinaryFromReader(msg, reader);
5808
+ };
5809
+ /**
5810
+ * Deserializes binary data (in protobuf wire format) from the
5811
+ * given reader into the given message object.
5812
+ * @param {!proto.io.contract_testing.contractcase.grpc.InvokeTest} msg The message object to deserialize into.
5813
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5814
+ * @return {!proto.io.contract_testing.contractcase.grpc.InvokeTest}
5815
+ */
5816
+ proto.io.contract_testing.contractcase.grpc.InvokeTest.deserializeBinaryFromReader = function (msg, reader) {
5817
+ while (reader.nextField()) {
5818
+ if (reader.isEndGroup()) {
5819
+ break;
5820
+ }
5821
+ var field = reader.getFieldNumber();
5822
+ switch (field) {
5823
+ case 1:
5824
+ var value = new google_protobuf_wrappers_pb.StringValue;
5825
+ reader.readMessage(value, google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
5826
+ msg.setInvokerId(value);
5827
+ break;
5828
+ default:
5829
+ reader.skipField();
5830
+ break;
5831
+ }
5832
+ }
5833
+ return msg;
5834
+ };
5835
+ /**
5836
+ * Serializes the message to binary data (in protobuf wire format).
5837
+ * @return {!Uint8Array}
5838
+ */
5839
+ proto.io.contract_testing.contractcase.grpc.InvokeTest.prototype.serializeBinary = function () {
5840
+ var writer = new jspb.BinaryWriter();
5841
+ proto.io.contract_testing.contractcase.grpc.InvokeTest.serializeBinaryToWriter(this, writer);
5842
+ return writer.getResultBuffer();
5843
+ };
5844
+ /**
5845
+ * Serializes the given message to binary data (in protobuf wire
5846
+ * format), writing to the given BinaryWriter.
5847
+ * @param {!proto.io.contract_testing.contractcase.grpc.InvokeTest} message
5848
+ * @param {!jspb.BinaryWriter} writer
5849
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5850
+ */
5851
+ proto.io.contract_testing.contractcase.grpc.InvokeTest.serializeBinaryToWriter = function (message, writer) {
5852
+ var f = undefined;
5853
+ f = message.getInvokerId();
5854
+ if (f != null) {
5855
+ writer.writeMessage(1, f, google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter);
5856
+ }
5857
+ };
5858
+ /**
5859
+ * optional google.protobuf.StringValue invoker_id = 1;
5860
+ * @return {?proto.google.protobuf.StringValue}
5861
+ */
5862
+ proto.io.contract_testing.contractcase.grpc.InvokeTest.prototype.getInvokerId = function () {
5863
+ return /** @type{?proto.google.protobuf.StringValue} */ (jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
5864
+ };
5865
+ /**
5866
+ * @param {?proto.google.protobuf.StringValue|undefined} value
5867
+ * @return {!proto.io.contract_testing.contractcase.grpc.InvokeTest} returns this
5868
+ */
5869
+ proto.io.contract_testing.contractcase.grpc.InvokeTest.prototype.setInvokerId = function (value) {
5870
+ return jspb.Message.setWrapperField(this, 1, value);
5871
+ };
5872
+ /**
5873
+ * Clears the message field making it undefined.
5874
+ * @return {!proto.io.contract_testing.contractcase.grpc.InvokeTest} returns this
5875
+ */
5876
+ proto.io.contract_testing.contractcase.grpc.InvokeTest.prototype.clearInvokerId = function () {
5877
+ return this.setInvokerId(undefined);
5878
+ };
5879
+ /**
5880
+ * Returns whether this field is set.
5881
+ * @return {boolean}
5882
+ */
5883
+ proto.io.contract_testing.contractcase.grpc.InvokeTest.prototype.hasInvokerId = function () {
5884
+ return jspb.Message.getField(this, 1) != null;
5885
+ };
5886
+ /**
5887
+ * Oneof group definitions for this message. Each group defines the field
5888
+ * numbers belonging to that group. When of these fields' value is set, all
5889
+ * other fields in the group are cleared. During deserialization, if multiple
5890
+ * fields are encountered for a group, only the last value seen will be kept.
5891
+ * @private {!Array<!Array<number>>}
5892
+ * @const
5893
+ */
5894
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.oneofGroups_ = [[2, 3, 4, 5, 9]];
5895
+ /**
5896
+ * @enum {number}
5897
+ */
5898
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.KindCase = {
5899
+ KIND_NOT_SET: 0,
5900
+ BEGIN_VERIFICATION: 2,
5901
+ AVAILABLE_CONTRACT_DEFINITIONS: 3,
5902
+ RUN_VERIFICATION: 4,
5903
+ RESULT_RESPONSE: 5,
5904
+ INVOKE_TEST: 9
5905
+ };
5906
+ /**
5907
+ * @return {proto.io.contract_testing.contractcase.grpc.VerificationRequest.KindCase}
5908
+ */
5909
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.getKindCase = function () {
5910
+ return /** @type {proto.io.contract_testing.contractcase.grpc.VerificationRequest.KindCase} */ (jspb.Message.computeOneofCase(this, proto.io.contract_testing.contractcase.grpc.VerificationRequest.oneofGroups_[0]));
5911
+ };
5912
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5913
+ /**
5914
+ * Creates an object representation of this proto.
5915
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5916
+ * Optional fields that are not set will be set to undefined.
5917
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5918
+ * For the list of reserved names please see:
5919
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5920
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5921
+ * JSPB instance for transitional soy proto support:
5922
+ * http://goto/soy-param-migration
5923
+ * @return {!Object}
5924
+ */
5925
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.toObject = function (opt_includeInstance) {
5926
+ return proto.io.contract_testing.contractcase.grpc.VerificationRequest.toObject(opt_includeInstance, this);
5927
+ };
5928
+ /**
5929
+ * Static version of the {@see toObject} method.
5930
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5931
+ * the JSPB instance for transitional soy proto support:
5932
+ * http://goto/soy-param-migration
5933
+ * @param {!proto.io.contract_testing.contractcase.grpc.VerificationRequest} msg The msg instance to transform.
5934
+ * @return {!Object}
5935
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5936
+ */
5937
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.toObject = function (includeInstance, msg) {
5938
+ var f, obj = {
5939
+ id: (f = msg.getId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
5940
+ beginVerification: (f = msg.getBeginVerification()) && proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.toObject(includeInstance, f),
5941
+ availableContractDefinitions: (f = msg.getAvailableContractDefinitions()) && proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions.toObject(includeInstance, f),
5942
+ runVerification: (f = msg.getRunVerification()) && proto.io.contract_testing.contractcase.grpc.RunVerification.toObject(includeInstance, f),
5943
+ resultResponse: (f = msg.getResultResponse()) && proto.io.contract_testing.contractcase.grpc.ResultResponse.toObject(includeInstance, f),
5944
+ invokeTest: (f = msg.getInvokeTest()) && proto.io.contract_testing.contractcase.grpc.InvokeTest.toObject(includeInstance, f)
5945
+ };
5946
+ if (includeInstance) {
5947
+ obj.$jspbMessageInstance = msg;
5948
+ }
5949
+ return obj;
5950
+ };
5951
+ }
5952
+ /**
5953
+ * Deserializes binary data (in protobuf wire format).
5954
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5955
+ * @return {!proto.io.contract_testing.contractcase.grpc.VerificationRequest}
5956
+ */
5957
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.deserializeBinary = function (bytes) {
5958
+ var reader = new jspb.BinaryReader(bytes);
5959
+ var msg = new proto.io.contract_testing.contractcase.grpc.VerificationRequest;
5960
+ return proto.io.contract_testing.contractcase.grpc.VerificationRequest.deserializeBinaryFromReader(msg, reader);
5961
+ };
5962
+ /**
5963
+ * Deserializes binary data (in protobuf wire format) from the
5964
+ * given reader into the given message object.
5965
+ * @param {!proto.io.contract_testing.contractcase.grpc.VerificationRequest} msg The message object to deserialize into.
5966
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5967
+ * @return {!proto.io.contract_testing.contractcase.grpc.VerificationRequest}
5968
+ */
5969
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.deserializeBinaryFromReader = function (msg, reader) {
5970
+ while (reader.nextField()) {
5971
+ if (reader.isEndGroup()) {
5972
+ break;
5973
+ }
5974
+ var field = reader.getFieldNumber();
5975
+ switch (field) {
5976
+ case 1:
5977
+ var value = new google_protobuf_wrappers_pb.StringValue;
5978
+ reader.readMessage(value, google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
5979
+ msg.setId(value);
5980
+ break;
5981
+ case 2:
5982
+ var value = new proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest;
5983
+ reader.readMessage(value, proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.deserializeBinaryFromReader);
5984
+ msg.setBeginVerification(value);
5985
+ break;
5986
+ case 3:
5987
+ var value = new proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions;
5988
+ reader.readMessage(value, proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions.deserializeBinaryFromReader);
5989
+ msg.setAvailableContractDefinitions(value);
5990
+ break;
5991
+ case 4:
5992
+ var value = new proto.io.contract_testing.contractcase.grpc.RunVerification;
5993
+ reader.readMessage(value, proto.io.contract_testing.contractcase.grpc.RunVerification.deserializeBinaryFromReader);
5994
+ msg.setRunVerification(value);
5995
+ break;
5996
+ case 5:
5997
+ var value = new proto.io.contract_testing.contractcase.grpc.ResultResponse;
5998
+ reader.readMessage(value, proto.io.contract_testing.contractcase.grpc.ResultResponse.deserializeBinaryFromReader);
5999
+ msg.setResultResponse(value);
6000
+ break;
6001
+ case 9:
6002
+ var value = new proto.io.contract_testing.contractcase.grpc.InvokeTest;
6003
+ reader.readMessage(value, proto.io.contract_testing.contractcase.grpc.InvokeTest.deserializeBinaryFromReader);
6004
+ msg.setInvokeTest(value);
6005
+ break;
6006
+ default:
6007
+ reader.skipField();
6008
+ break;
6009
+ }
6010
+ }
6011
+ return msg;
6012
+ };
6013
+ /**
6014
+ * Serializes the message to binary data (in protobuf wire format).
6015
+ * @return {!Uint8Array}
6016
+ */
6017
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.serializeBinary = function () {
6018
+ var writer = new jspb.BinaryWriter();
6019
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.serializeBinaryToWriter(this, writer);
6020
+ return writer.getResultBuffer();
6021
+ };
6022
+ /**
6023
+ * Serializes the given message to binary data (in protobuf wire
6024
+ * format), writing to the given BinaryWriter.
6025
+ * @param {!proto.io.contract_testing.contractcase.grpc.VerificationRequest} message
6026
+ * @param {!jspb.BinaryWriter} writer
6027
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6028
+ */
6029
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.serializeBinaryToWriter = function (message, writer) {
6030
+ var f = undefined;
6031
+ f = message.getId();
6032
+ if (f != null) {
6033
+ writer.writeMessage(1, f, google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter);
6034
+ }
6035
+ f = message.getBeginVerification();
6036
+ if (f != null) {
6037
+ writer.writeMessage(2, f, proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest.serializeBinaryToWriter);
6038
+ }
6039
+ f = message.getAvailableContractDefinitions();
6040
+ if (f != null) {
6041
+ writer.writeMessage(3, f, proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions.serializeBinaryToWriter);
6042
+ }
6043
+ f = message.getRunVerification();
6044
+ if (f != null) {
6045
+ writer.writeMessage(4, f, proto.io.contract_testing.contractcase.grpc.RunVerification.serializeBinaryToWriter);
6046
+ }
6047
+ f = message.getResultResponse();
6048
+ if (f != null) {
6049
+ writer.writeMessage(5, f, proto.io.contract_testing.contractcase.grpc.ResultResponse.serializeBinaryToWriter);
6050
+ }
6051
+ f = message.getInvokeTest();
6052
+ if (f != null) {
6053
+ writer.writeMessage(9, f, proto.io.contract_testing.contractcase.grpc.InvokeTest.serializeBinaryToWriter);
6054
+ }
6055
+ };
6056
+ /**
6057
+ * optional google.protobuf.StringValue id = 1;
6058
+ * @return {?proto.google.protobuf.StringValue}
6059
+ */
6060
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.getId = function () {
6061
+ return /** @type{?proto.google.protobuf.StringValue} */ (jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
6062
+ };
6063
+ /**
6064
+ * @param {?proto.google.protobuf.StringValue|undefined} value
6065
+ * @return {!proto.io.contract_testing.contractcase.grpc.VerificationRequest} returns this
6066
+ */
6067
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.setId = function (value) {
6068
+ return jspb.Message.setWrapperField(this, 1, value);
6069
+ };
6070
+ /**
6071
+ * Clears the message field making it undefined.
6072
+ * @return {!proto.io.contract_testing.contractcase.grpc.VerificationRequest} returns this
6073
+ */
6074
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.clearId = function () {
6075
+ return this.setId(undefined);
6076
+ };
6077
+ /**
6078
+ * Returns whether this field is set.
6079
+ * @return {boolean}
6080
+ */
6081
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.hasId = function () {
6082
+ return jspb.Message.getField(this, 1) != null;
6083
+ };
6084
+ /**
6085
+ * optional BeginVerificationRequest begin_verification = 2;
6086
+ * @return {?proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest}
6087
+ */
6088
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.getBeginVerification = function () {
6089
+ return /** @type{?proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest} */ (jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest, 2));
6090
+ };
6091
+ /**
6092
+ * @param {?proto.io.contract_testing.contractcase.grpc.BeginVerificationRequest|undefined} value
6093
+ * @return {!proto.io.contract_testing.contractcase.grpc.VerificationRequest} returns this
6094
+ */
6095
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.setBeginVerification = function (value) {
6096
+ return jspb.Message.setOneofWrapperField(this, 2, proto.io.contract_testing.contractcase.grpc.VerificationRequest.oneofGroups_[0], value);
6097
+ };
6098
+ /**
6099
+ * Clears the message field making it undefined.
6100
+ * @return {!proto.io.contract_testing.contractcase.grpc.VerificationRequest} returns this
6101
+ */
6102
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.clearBeginVerification = function () {
6103
+ return this.setBeginVerification(undefined);
6104
+ };
6105
+ /**
6106
+ * Returns whether this field is set.
6107
+ * @return {boolean}
6108
+ */
6109
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.hasBeginVerification = function () {
6110
+ return jspb.Message.getField(this, 2) != null;
6111
+ };
6112
+ /**
6113
+ * optional AvailableContractDefinitions available_contract_definitions = 3;
6114
+ * @return {?proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions}
6115
+ */
6116
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.getAvailableContractDefinitions = function () {
6117
+ return /** @type{?proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions} */ (jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions, 3));
6118
+ };
6119
+ /**
6120
+ * @param {?proto.io.contract_testing.contractcase.grpc.AvailableContractDefinitions|undefined} value
6121
+ * @return {!proto.io.contract_testing.contractcase.grpc.VerificationRequest} returns this
6122
+ */
6123
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.setAvailableContractDefinitions = function (value) {
6124
+ return jspb.Message.setOneofWrapperField(this, 3, proto.io.contract_testing.contractcase.grpc.VerificationRequest.oneofGroups_[0], value);
6125
+ };
6126
+ /**
6127
+ * Clears the message field making it undefined.
6128
+ * @return {!proto.io.contract_testing.contractcase.grpc.VerificationRequest} returns this
6129
+ */
6130
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.clearAvailableContractDefinitions = function () {
6131
+ return this.setAvailableContractDefinitions(undefined);
6132
+ };
6133
+ /**
6134
+ * Returns whether this field is set.
6135
+ * @return {boolean}
6136
+ */
6137
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.hasAvailableContractDefinitions = function () {
6138
+ return jspb.Message.getField(this, 3) != null;
6139
+ };
6140
+ /**
6141
+ * optional RunVerification run_verification = 4;
6142
+ * @return {?proto.io.contract_testing.contractcase.grpc.RunVerification}
6143
+ */
6144
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.getRunVerification = function () {
6145
+ return /** @type{?proto.io.contract_testing.contractcase.grpc.RunVerification} */ (jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.RunVerification, 4));
6146
+ };
6147
+ /**
6148
+ * @param {?proto.io.contract_testing.contractcase.grpc.RunVerification|undefined} value
6149
+ * @return {!proto.io.contract_testing.contractcase.grpc.VerificationRequest} returns this
6150
+ */
6151
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.setRunVerification = function (value) {
6152
+ return jspb.Message.setOneofWrapperField(this, 4, proto.io.contract_testing.contractcase.grpc.VerificationRequest.oneofGroups_[0], value);
6153
+ };
6154
+ /**
6155
+ * Clears the message field making it undefined.
6156
+ * @return {!proto.io.contract_testing.contractcase.grpc.VerificationRequest} returns this
6157
+ */
6158
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.clearRunVerification = function () {
6159
+ return this.setRunVerification(undefined);
6160
+ };
6161
+ /**
6162
+ * Returns whether this field is set.
6163
+ * @return {boolean}
6164
+ */
6165
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.hasRunVerification = function () {
6166
+ return jspb.Message.getField(this, 4) != null;
6167
+ };
6168
+ /**
6169
+ * optional ResultResponse result_response = 5;
6170
+ * @return {?proto.io.contract_testing.contractcase.grpc.ResultResponse}
6171
+ */
6172
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.getResultResponse = function () {
6173
+ return /** @type{?proto.io.contract_testing.contractcase.grpc.ResultResponse} */ (jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.ResultResponse, 5));
6174
+ };
6175
+ /**
6176
+ * @param {?proto.io.contract_testing.contractcase.grpc.ResultResponse|undefined} value
6177
+ * @return {!proto.io.contract_testing.contractcase.grpc.VerificationRequest} returns this
6178
+ */
6179
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.setResultResponse = function (value) {
6180
+ return jspb.Message.setOneofWrapperField(this, 5, proto.io.contract_testing.contractcase.grpc.VerificationRequest.oneofGroups_[0], value);
6181
+ };
6182
+ /**
6183
+ * Clears the message field making it undefined.
6184
+ * @return {!proto.io.contract_testing.contractcase.grpc.VerificationRequest} returns this
6185
+ */
6186
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.clearResultResponse = function () {
6187
+ return this.setResultResponse(undefined);
6188
+ };
6189
+ /**
6190
+ * Returns whether this field is set.
6191
+ * @return {boolean}
6192
+ */
6193
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.hasResultResponse = function () {
6194
+ return jspb.Message.getField(this, 5) != null;
6195
+ };
6196
+ /**
6197
+ * optional InvokeTest invoke_test = 9;
6198
+ * @return {?proto.io.contract_testing.contractcase.grpc.InvokeTest}
6199
+ */
6200
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.getInvokeTest = function () {
6201
+ return /** @type{?proto.io.contract_testing.contractcase.grpc.InvokeTest} */ (jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.InvokeTest, 9));
6202
+ };
6203
+ /**
6204
+ * @param {?proto.io.contract_testing.contractcase.grpc.InvokeTest|undefined} value
6205
+ * @return {!proto.io.contract_testing.contractcase.grpc.VerificationRequest} returns this
6206
+ */
6207
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.setInvokeTest = function (value) {
6208
+ return jspb.Message.setOneofWrapperField(this, 9, proto.io.contract_testing.contractcase.grpc.VerificationRequest.oneofGroups_[0], value);
6209
+ };
6210
+ /**
6211
+ * Clears the message field making it undefined.
6212
+ * @return {!proto.io.contract_testing.contractcase.grpc.VerificationRequest} returns this
6213
+ */
6214
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.clearInvokeTest = function () {
6215
+ return this.setInvokeTest(undefined);
6216
+ };
6217
+ /**
6218
+ * Returns whether this field is set.
6219
+ * @return {boolean}
6220
+ */
6221
+ proto.io.contract_testing.contractcase.grpc.VerificationRequest.prototype.hasInvokeTest = function () {
6222
+ return jspb.Message.getField(this, 9) != null;
6223
+ };
6224
+ /**
6225
+ * Oneof group definitions for this message. Each group defines the field
6226
+ * numbers belonging to that group. When of these fields' value is set, all
6227
+ * other fields in the group are cleared. During deserialization, if multiple
6228
+ * fields are encountered for a group, only the last value seen will be kept.
6229
+ * @private {!Array<!Array<number>>}
6230
+ * @const
6231
+ */
6232
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.oneofGroups_ = [[2, 3, 4, 5, 6, 7, 8, 9]];
6233
+ /**
6234
+ * @enum {number}
6235
+ */
6236
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.KindCase = {
6237
+ KIND_NOT_SET: 0,
6238
+ RUN_STATE_HANDLER: 2,
6239
+ LOG_REQUEST: 3,
6240
+ PRINT_MATCH_ERROR_REQUEST: 4,
6241
+ PRINT_MESSAGE_ERROR_REQUEST: 5,
6242
+ PRINT_TEST_TITLE_REQUEST: 6,
6243
+ TRIGGER_FUNCTION_REQUEST: 7,
6244
+ RESULT_RESPONSE: 8,
6245
+ START_TEST_EVENT: 9
6246
+ };
6247
+ /**
6248
+ * @return {proto.io.contract_testing.contractcase.grpc.ContractResponse.KindCase}
6249
+ */
6250
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.getKindCase = function () {
6251
+ return /** @type {proto.io.contract_testing.contractcase.grpc.ContractResponse.KindCase} */ (jspb.Message.computeOneofCase(this, proto.io.contract_testing.contractcase.grpc.ContractResponse.oneofGroups_[0]));
6252
+ };
6253
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6254
+ /**
6255
+ * Creates an object representation of this proto.
6256
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6257
+ * Optional fields that are not set will be set to undefined.
6258
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6259
+ * For the list of reserved names please see:
6260
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6261
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6262
+ * JSPB instance for transitional soy proto support:
6263
+ * http://goto/soy-param-migration
6264
+ * @return {!Object}
6265
+ */
6266
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.toObject = function (opt_includeInstance) {
6267
+ return proto.io.contract_testing.contractcase.grpc.ContractResponse.toObject(opt_includeInstance, this);
6268
+ };
6269
+ /**
6270
+ * Static version of the {@see toObject} method.
6271
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6272
+ * the JSPB instance for transitional soy proto support:
6273
+ * http://goto/soy-param-migration
6274
+ * @param {!proto.io.contract_testing.contractcase.grpc.ContractResponse} msg The msg instance to transform.
6275
+ * @return {!Object}
6276
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6277
+ */
6278
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.toObject = function (includeInstance, msg) {
6279
+ var f, obj = {
6280
+ id: (f = msg.getId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
6281
+ runStateHandler: (f = msg.getRunStateHandler()) && proto.io.contract_testing.contractcase.grpc.RunStateHandlerRequest.toObject(includeInstance, f),
6282
+ logRequest: (f = msg.getLogRequest()) && proto.io.contract_testing.contractcase.grpc.LogRequest.toObject(includeInstance, f),
6283
+ printMatchErrorRequest: (f = msg.getPrintMatchErrorRequest()) && proto.io.contract_testing.contractcase.grpc.PrintMatchErrorRequest.toObject(includeInstance, f),
6284
+ printMessageErrorRequest: (f = msg.getPrintMessageErrorRequest()) && proto.io.contract_testing.contractcase.grpc.PrintMessageErrorRequest.toObject(includeInstance, f),
6285
+ printTestTitleRequest: (f = msg.getPrintTestTitleRequest()) && proto.io.contract_testing.contractcase.grpc.PrintTestTitleRequest.toObject(includeInstance, f),
6286
+ triggerFunctionRequest: (f = msg.getTriggerFunctionRequest()) && proto.io.contract_testing.contractcase.grpc.TriggerFunctionRequest.toObject(includeInstance, f),
6287
+ resultResponse: (f = msg.getResultResponse()) && proto.io.contract_testing.contractcase.grpc.ResultResponse.toObject(includeInstance, f),
6288
+ startTestEvent: (f = msg.getStartTestEvent()) && proto.io.contract_testing.contractcase.grpc.StartTestEvent.toObject(includeInstance, f)
6289
+ };
6290
+ if (includeInstance) {
6291
+ obj.$jspbMessageInstance = msg;
6292
+ }
6293
+ return obj;
6294
+ };
6295
+ }
6296
+ /**
6297
+ * Deserializes binary data (in protobuf wire format).
6298
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6299
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse}
6300
+ */
6301
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.deserializeBinary = function (bytes) {
6302
+ var reader = new jspb.BinaryReader(bytes);
6303
+ var msg = new proto.io.contract_testing.contractcase.grpc.ContractResponse;
6304
+ return proto.io.contract_testing.contractcase.grpc.ContractResponse.deserializeBinaryFromReader(msg, reader);
6305
+ };
6306
+ /**
6307
+ * Deserializes binary data (in protobuf wire format) from the
6308
+ * given reader into the given message object.
6309
+ * @param {!proto.io.contract_testing.contractcase.grpc.ContractResponse} msg The message object to deserialize into.
6310
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6311
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse}
6312
+ */
6313
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.deserializeBinaryFromReader = function (msg, reader) {
6314
+ while (reader.nextField()) {
6315
+ if (reader.isEndGroup()) {
6316
+ break;
6317
+ }
6318
+ var field = reader.getFieldNumber();
6319
+ switch (field) {
6320
+ case 1:
6321
+ var value = new google_protobuf_wrappers_pb.StringValue;
6322
+ reader.readMessage(value, google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
6323
+ msg.setId(value);
6324
+ break;
6325
+ case 2:
6326
+ var value = new proto.io.contract_testing.contractcase.grpc.RunStateHandlerRequest;
6327
+ reader.readMessage(value, proto.io.contract_testing.contractcase.grpc.RunStateHandlerRequest.deserializeBinaryFromReader);
6328
+ msg.setRunStateHandler(value);
6329
+ break;
6330
+ case 3:
6331
+ var value = new proto.io.contract_testing.contractcase.grpc.LogRequest;
6332
+ reader.readMessage(value, proto.io.contract_testing.contractcase.grpc.LogRequest.deserializeBinaryFromReader);
6333
+ msg.setLogRequest(value);
6334
+ break;
6335
+ case 4:
6336
+ var value = new proto.io.contract_testing.contractcase.grpc.PrintMatchErrorRequest;
6337
+ reader.readMessage(value, proto.io.contract_testing.contractcase.grpc.PrintMatchErrorRequest.deserializeBinaryFromReader);
6338
+ msg.setPrintMatchErrorRequest(value);
6339
+ break;
6340
+ case 5:
6341
+ var value = new proto.io.contract_testing.contractcase.grpc.PrintMessageErrorRequest;
6342
+ reader.readMessage(value, proto.io.contract_testing.contractcase.grpc.PrintMessageErrorRequest.deserializeBinaryFromReader);
6343
+ msg.setPrintMessageErrorRequest(value);
6344
+ break;
6345
+ case 6:
6346
+ var value = new proto.io.contract_testing.contractcase.grpc.PrintTestTitleRequest;
6347
+ reader.readMessage(value, proto.io.contract_testing.contractcase.grpc.PrintTestTitleRequest.deserializeBinaryFromReader);
6348
+ msg.setPrintTestTitleRequest(value);
6349
+ break;
6350
+ case 7:
6351
+ var value = new proto.io.contract_testing.contractcase.grpc.TriggerFunctionRequest;
6352
+ reader.readMessage(value, proto.io.contract_testing.contractcase.grpc.TriggerFunctionRequest.deserializeBinaryFromReader);
6353
+ msg.setTriggerFunctionRequest(value);
6354
+ break;
6355
+ case 8:
6356
+ var value = new proto.io.contract_testing.contractcase.grpc.ResultResponse;
6357
+ reader.readMessage(value, proto.io.contract_testing.contractcase.grpc.ResultResponse.deserializeBinaryFromReader);
6358
+ msg.setResultResponse(value);
6359
+ break;
6360
+ case 9:
6361
+ var value = new proto.io.contract_testing.contractcase.grpc.StartTestEvent;
6362
+ reader.readMessage(value, proto.io.contract_testing.contractcase.grpc.StartTestEvent.deserializeBinaryFromReader);
6363
+ msg.setStartTestEvent(value);
6364
+ break;
6365
+ default:
6366
+ reader.skipField();
6367
+ break;
6368
+ }
6369
+ }
6370
+ return msg;
6371
+ };
6372
+ /**
6373
+ * Serializes the message to binary data (in protobuf wire format).
6374
+ * @return {!Uint8Array}
6375
+ */
6376
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.serializeBinary = function () {
6377
+ var writer = new jspb.BinaryWriter();
6378
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.serializeBinaryToWriter(this, writer);
6379
+ return writer.getResultBuffer();
6380
+ };
6381
+ /**
6382
+ * Serializes the given message to binary data (in protobuf wire
6383
+ * format), writing to the given BinaryWriter.
6384
+ * @param {!proto.io.contract_testing.contractcase.grpc.ContractResponse} message
6385
+ * @param {!jspb.BinaryWriter} writer
6386
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6387
+ */
6388
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.serializeBinaryToWriter = function (message, writer) {
6389
+ var f = undefined;
6390
+ f = message.getId();
6391
+ if (f != null) {
6392
+ writer.writeMessage(1, f, google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter);
6393
+ }
6394
+ f = message.getRunStateHandler();
6395
+ if (f != null) {
6396
+ writer.writeMessage(2, f, proto.io.contract_testing.contractcase.grpc.RunStateHandlerRequest.serializeBinaryToWriter);
6397
+ }
6398
+ f = message.getLogRequest();
6399
+ if (f != null) {
6400
+ writer.writeMessage(3, f, proto.io.contract_testing.contractcase.grpc.LogRequest.serializeBinaryToWriter);
6401
+ }
6402
+ f = message.getPrintMatchErrorRequest();
6403
+ if (f != null) {
6404
+ writer.writeMessage(4, f, proto.io.contract_testing.contractcase.grpc.PrintMatchErrorRequest.serializeBinaryToWriter);
6405
+ }
6406
+ f = message.getPrintMessageErrorRequest();
6407
+ if (f != null) {
6408
+ writer.writeMessage(5, f, proto.io.contract_testing.contractcase.grpc.PrintMessageErrorRequest.serializeBinaryToWriter);
6409
+ }
6410
+ f = message.getPrintTestTitleRequest();
6411
+ if (f != null) {
6412
+ writer.writeMessage(6, f, proto.io.contract_testing.contractcase.grpc.PrintTestTitleRequest.serializeBinaryToWriter);
6413
+ }
6414
+ f = message.getTriggerFunctionRequest();
6415
+ if (f != null) {
6416
+ writer.writeMessage(7, f, proto.io.contract_testing.contractcase.grpc.TriggerFunctionRequest.serializeBinaryToWriter);
6417
+ }
6418
+ f = message.getResultResponse();
6419
+ if (f != null) {
6420
+ writer.writeMessage(8, f, proto.io.contract_testing.contractcase.grpc.ResultResponse.serializeBinaryToWriter);
6421
+ }
6422
+ f = message.getStartTestEvent();
6423
+ if (f != null) {
6424
+ writer.writeMessage(9, f, proto.io.contract_testing.contractcase.grpc.StartTestEvent.serializeBinaryToWriter);
6425
+ }
6426
+ };
6427
+ /**
6428
+ * optional google.protobuf.StringValue id = 1;
6429
+ * @return {?proto.google.protobuf.StringValue}
6430
+ */
6431
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.getId = function () {
6432
+ return /** @type{?proto.google.protobuf.StringValue} */ (jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
6433
+ };
6434
+ /**
6435
+ * @param {?proto.google.protobuf.StringValue|undefined} value
6436
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
6437
+ */
6438
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.setId = function (value) {
6439
+ return jspb.Message.setWrapperField(this, 1, value);
6440
+ };
6441
+ /**
6442
+ * Clears the message field making it undefined.
6443
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
6444
+ */
6445
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.clearId = function () {
6446
+ return this.setId(undefined);
6447
+ };
6448
+ /**
6449
+ * Returns whether this field is set.
6450
+ * @return {boolean}
6451
+ */
6452
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.hasId = function () {
6453
+ return jspb.Message.getField(this, 1) != null;
6454
+ };
6455
+ /**
6456
+ * optional RunStateHandlerRequest run_state_handler = 2;
6457
+ * @return {?proto.io.contract_testing.contractcase.grpc.RunStateHandlerRequest}
6458
+ */
6459
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.getRunStateHandler = function () {
6460
+ return /** @type{?proto.io.contract_testing.contractcase.grpc.RunStateHandlerRequest} */ (jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.RunStateHandlerRequest, 2));
6461
+ };
6462
+ /**
6463
+ * @param {?proto.io.contract_testing.contractcase.grpc.RunStateHandlerRequest|undefined} value
6464
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
6465
+ */
6466
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.setRunStateHandler = function (value) {
6467
+ return jspb.Message.setOneofWrapperField(this, 2, proto.io.contract_testing.contractcase.grpc.ContractResponse.oneofGroups_[0], value);
6468
+ };
6469
+ /**
6470
+ * Clears the message field making it undefined.
6471
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
6472
+ */
6473
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.clearRunStateHandler = function () {
6474
+ return this.setRunStateHandler(undefined);
6475
+ };
6476
+ /**
6477
+ * Returns whether this field is set.
6478
+ * @return {boolean}
6479
+ */
6480
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.hasRunStateHandler = function () {
6481
+ return jspb.Message.getField(this, 2) != null;
6482
+ };
6483
+ /**
6484
+ * optional LogRequest log_request = 3;
6485
+ * @return {?proto.io.contract_testing.contractcase.grpc.LogRequest}
6486
+ */
6487
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.getLogRequest = function () {
6488
+ return /** @type{?proto.io.contract_testing.contractcase.grpc.LogRequest} */ (jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.LogRequest, 3));
6489
+ };
6490
+ /**
6491
+ * @param {?proto.io.contract_testing.contractcase.grpc.LogRequest|undefined} value
6492
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
6493
+ */
6494
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.setLogRequest = function (value) {
6495
+ return jspb.Message.setOneofWrapperField(this, 3, proto.io.contract_testing.contractcase.grpc.ContractResponse.oneofGroups_[0], value);
6496
+ };
6497
+ /**
6498
+ * Clears the message field making it undefined.
6499
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
6500
+ */
6501
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.clearLogRequest = function () {
5366
6502
  return this.setLogRequest(undefined);
5367
6503
  };
5368
6504
  /**
5369
6505
  * Returns whether this field is set.
5370
6506
  * @return {boolean}
5371
6507
  */
5372
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.hasLogRequest = function () {
6508
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.hasLogRequest = function () {
5373
6509
  return jspb.Message.getField(this, 3) != null;
5374
6510
  };
5375
6511
  /**
5376
6512
  * optional PrintMatchErrorRequest print_match_error_request = 4;
5377
6513
  * @return {?proto.io.contract_testing.contractcase.grpc.PrintMatchErrorRequest}
5378
6514
  */
5379
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.getPrintMatchErrorRequest = function () {
6515
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.getPrintMatchErrorRequest = function () {
5380
6516
  return /** @type{?proto.io.contract_testing.contractcase.grpc.PrintMatchErrorRequest} */ (jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.PrintMatchErrorRequest, 4));
5381
6517
  };
5382
6518
  /**
5383
6519
  * @param {?proto.io.contract_testing.contractcase.grpc.PrintMatchErrorRequest|undefined} value
5384
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
6520
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
5385
6521
  */
5386
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.setPrintMatchErrorRequest = function (value) {
5387
- return jspb.Message.setOneofWrapperField(this, 4, proto.io.contract_testing.contractcase.grpc.DefinitionResponse.oneofGroups_[0], value);
6522
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.setPrintMatchErrorRequest = function (value) {
6523
+ return jspb.Message.setOneofWrapperField(this, 4, proto.io.contract_testing.contractcase.grpc.ContractResponse.oneofGroups_[0], value);
5388
6524
  };
5389
6525
  /**
5390
6526
  * Clears the message field making it undefined.
5391
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
6527
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
5392
6528
  */
5393
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.clearPrintMatchErrorRequest = function () {
6529
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.clearPrintMatchErrorRequest = function () {
5394
6530
  return this.setPrintMatchErrorRequest(undefined);
5395
6531
  };
5396
6532
  /**
5397
6533
  * Returns whether this field is set.
5398
6534
  * @return {boolean}
5399
6535
  */
5400
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.hasPrintMatchErrorRequest = function () {
6536
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.hasPrintMatchErrorRequest = function () {
5401
6537
  return jspb.Message.getField(this, 4) != null;
5402
6538
  };
5403
6539
  /**
5404
6540
  * optional PrintMessageErrorRequest print_message_error_request = 5;
5405
6541
  * @return {?proto.io.contract_testing.contractcase.grpc.PrintMessageErrorRequest}
5406
6542
  */
5407
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.getPrintMessageErrorRequest = function () {
6543
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.getPrintMessageErrorRequest = function () {
5408
6544
  return /** @type{?proto.io.contract_testing.contractcase.grpc.PrintMessageErrorRequest} */ (jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.PrintMessageErrorRequest, 5));
5409
6545
  };
5410
6546
  /**
5411
6547
  * @param {?proto.io.contract_testing.contractcase.grpc.PrintMessageErrorRequest|undefined} value
5412
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
6548
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
5413
6549
  */
5414
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.setPrintMessageErrorRequest = function (value) {
5415
- return jspb.Message.setOneofWrapperField(this, 5, proto.io.contract_testing.contractcase.grpc.DefinitionResponse.oneofGroups_[0], value);
6550
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.setPrintMessageErrorRequest = function (value) {
6551
+ return jspb.Message.setOneofWrapperField(this, 5, proto.io.contract_testing.contractcase.grpc.ContractResponse.oneofGroups_[0], value);
5416
6552
  };
5417
6553
  /**
5418
6554
  * Clears the message field making it undefined.
5419
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
6555
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
5420
6556
  */
5421
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.clearPrintMessageErrorRequest = function () {
6557
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.clearPrintMessageErrorRequest = function () {
5422
6558
  return this.setPrintMessageErrorRequest(undefined);
5423
6559
  };
5424
6560
  /**
5425
6561
  * Returns whether this field is set.
5426
6562
  * @return {boolean}
5427
6563
  */
5428
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.hasPrintMessageErrorRequest = function () {
6564
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.hasPrintMessageErrorRequest = function () {
5429
6565
  return jspb.Message.getField(this, 5) != null;
5430
6566
  };
5431
6567
  /**
5432
6568
  * optional PrintTestTitleRequest print_test_title_request = 6;
5433
6569
  * @return {?proto.io.contract_testing.contractcase.grpc.PrintTestTitleRequest}
5434
6570
  */
5435
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.getPrintTestTitleRequest = function () {
6571
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.getPrintTestTitleRequest = function () {
5436
6572
  return /** @type{?proto.io.contract_testing.contractcase.grpc.PrintTestTitleRequest} */ (jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.PrintTestTitleRequest, 6));
5437
6573
  };
5438
6574
  /**
5439
6575
  * @param {?proto.io.contract_testing.contractcase.grpc.PrintTestTitleRequest|undefined} value
5440
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
6576
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
5441
6577
  */
5442
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.setPrintTestTitleRequest = function (value) {
5443
- return jspb.Message.setOneofWrapperField(this, 6, proto.io.contract_testing.contractcase.grpc.DefinitionResponse.oneofGroups_[0], value);
6578
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.setPrintTestTitleRequest = function (value) {
6579
+ return jspb.Message.setOneofWrapperField(this, 6, proto.io.contract_testing.contractcase.grpc.ContractResponse.oneofGroups_[0], value);
5444
6580
  };
5445
6581
  /**
5446
6582
  * Clears the message field making it undefined.
5447
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
6583
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
5448
6584
  */
5449
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.clearPrintTestTitleRequest = function () {
6585
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.clearPrintTestTitleRequest = function () {
5450
6586
  return this.setPrintTestTitleRequest(undefined);
5451
6587
  };
5452
6588
  /**
5453
6589
  * Returns whether this field is set.
5454
6590
  * @return {boolean}
5455
6591
  */
5456
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.hasPrintTestTitleRequest = function () {
6592
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.hasPrintTestTitleRequest = function () {
5457
6593
  return jspb.Message.getField(this, 6) != null;
5458
6594
  };
5459
6595
  /**
5460
6596
  * optional TriggerFunctionRequest trigger_function_request = 7;
5461
6597
  * @return {?proto.io.contract_testing.contractcase.grpc.TriggerFunctionRequest}
5462
6598
  */
5463
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.getTriggerFunctionRequest = function () {
6599
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.getTriggerFunctionRequest = function () {
5464
6600
  return /** @type{?proto.io.contract_testing.contractcase.grpc.TriggerFunctionRequest} */ (jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.TriggerFunctionRequest, 7));
5465
6601
  };
5466
6602
  /**
5467
6603
  * @param {?proto.io.contract_testing.contractcase.grpc.TriggerFunctionRequest|undefined} value
5468
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
6604
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
5469
6605
  */
5470
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.setTriggerFunctionRequest = function (value) {
5471
- return jspb.Message.setOneofWrapperField(this, 7, proto.io.contract_testing.contractcase.grpc.DefinitionResponse.oneofGroups_[0], value);
6606
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.setTriggerFunctionRequest = function (value) {
6607
+ return jspb.Message.setOneofWrapperField(this, 7, proto.io.contract_testing.contractcase.grpc.ContractResponse.oneofGroups_[0], value);
5472
6608
  };
5473
6609
  /**
5474
6610
  * Clears the message field making it undefined.
5475
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
6611
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
5476
6612
  */
5477
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.clearTriggerFunctionRequest = function () {
6613
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.clearTriggerFunctionRequest = function () {
5478
6614
  return this.setTriggerFunctionRequest(undefined);
5479
6615
  };
5480
6616
  /**
5481
6617
  * Returns whether this field is set.
5482
6618
  * @return {boolean}
5483
6619
  */
5484
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.hasTriggerFunctionRequest = function () {
6620
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.hasTriggerFunctionRequest = function () {
5485
6621
  return jspb.Message.getField(this, 7) != null;
5486
6622
  };
5487
6623
  /**
5488
6624
  * optional ResultResponse result_response = 8;
5489
6625
  * @return {?proto.io.contract_testing.contractcase.grpc.ResultResponse}
5490
6626
  */
5491
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.getResultResponse = function () {
6627
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.getResultResponse = function () {
5492
6628
  return /** @type{?proto.io.contract_testing.contractcase.grpc.ResultResponse} */ (jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.ResultResponse, 8));
5493
6629
  };
5494
6630
  /**
5495
6631
  * @param {?proto.io.contract_testing.contractcase.grpc.ResultResponse|undefined} value
5496
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
6632
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
5497
6633
  */
5498
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.setResultResponse = function (value) {
5499
- return jspb.Message.setOneofWrapperField(this, 8, proto.io.contract_testing.contractcase.grpc.DefinitionResponse.oneofGroups_[0], value);
6634
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.setResultResponse = function (value) {
6635
+ return jspb.Message.setOneofWrapperField(this, 8, proto.io.contract_testing.contractcase.grpc.ContractResponse.oneofGroups_[0], value);
5500
6636
  };
5501
6637
  /**
5502
6638
  * Clears the message field making it undefined.
5503
- * @return {!proto.io.contract_testing.contractcase.grpc.DefinitionResponse} returns this
6639
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
5504
6640
  */
5505
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.clearResultResponse = function () {
6641
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.clearResultResponse = function () {
5506
6642
  return this.setResultResponse(undefined);
5507
6643
  };
5508
6644
  /**
5509
6645
  * Returns whether this field is set.
5510
6646
  * @return {boolean}
5511
6647
  */
5512
- proto.io.contract_testing.contractcase.grpc.DefinitionResponse.prototype.hasResultResponse = function () {
6648
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.hasResultResponse = function () {
5513
6649
  return jspb.Message.getField(this, 8) != null;
5514
6650
  };
6651
+ /**
6652
+ * optional StartTestEvent start_test_event = 9;
6653
+ * @return {?proto.io.contract_testing.contractcase.grpc.StartTestEvent}
6654
+ */
6655
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.getStartTestEvent = function () {
6656
+ return /** @type{?proto.io.contract_testing.contractcase.grpc.StartTestEvent} */ (jspb.Message.getWrapperField(this, proto.io.contract_testing.contractcase.grpc.StartTestEvent, 9));
6657
+ };
6658
+ /**
6659
+ * @param {?proto.io.contract_testing.contractcase.grpc.StartTestEvent|undefined} value
6660
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
6661
+ */
6662
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.setStartTestEvent = function (value) {
6663
+ return jspb.Message.setOneofWrapperField(this, 9, proto.io.contract_testing.contractcase.grpc.ContractResponse.oneofGroups_[0], value);
6664
+ };
6665
+ /**
6666
+ * Clears the message field making it undefined.
6667
+ * @return {!proto.io.contract_testing.contractcase.grpc.ContractResponse} returns this
6668
+ */
6669
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.clearStartTestEvent = function () {
6670
+ return this.setStartTestEvent(undefined);
6671
+ };
6672
+ /**
6673
+ * Returns whether this field is set.
6674
+ * @return {boolean}
6675
+ */
6676
+ proto.io.contract_testing.contractcase.grpc.ContractResponse.prototype.hasStartTestEvent = function () {
6677
+ return jspb.Message.getField(this, 9) != null;
6678
+ };
5515
6679
  goog.object.extend(exports, proto.io.contract_testing.contractcase.grpc);
5516
6680
  //# sourceMappingURL=contract_case_stream_pb.js.map