browserstack-node-sdk 1.57.1 → 1.58.0

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 (220) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/generated/sdk-messages_pb.d.ts +376 -36
  41. package/generated/sdk-messages_pb.js +2955 -279
  42. package/generated/sdk_grpc_pb.d.ts +5 -0
  43. package/generated/sdk_grpc_pb.js +51 -0
  44. package/package.json +1 -1
  45. package/src/ai-sdk-node/bundle.js +1 -1
  46. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  47. package/src/bin/codeceptjs/command.js +1 -1
  48. package/src/bin/codeceptjs/helper.js +1 -1
  49. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  50. package/src/bin/cucumber-js/command.js +1 -1
  51. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  52. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  53. package/src/bin/cucumber-js/test-observability.js +1 -1
  54. package/src/bin/cucumber-js/test.setup.js +1 -1
  55. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  56. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  57. package/src/bin/integrations/command.js +1 -1
  58. package/src/bin/integrations/constants.js +1 -1
  59. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -0
  60. package/src/bin/jasmine/command.js +2 -0
  61. package/src/bin/jasmine/test.setup.js +1 -0
  62. package/src/bin/jasmine/testRunMap.js +1 -0
  63. package/src/bin/jest/command.js +1 -1
  64. package/src/bin/jest/customImplements/customCircus.js +1 -1
  65. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  66. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  67. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  68. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  69. package/src/bin/jest/jest.setup.js +1 -1
  70. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  71. package/src/bin/jest/test-observability/helper.js +1 -1
  72. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  73. package/src/bin/jest/test-observability/test-details.js +1 -1
  74. package/src/bin/jest/test.setup.js +1 -1
  75. package/src/bin/jest/test_before.setup.js +1 -1
  76. package/src/bin/launcher/launcher.js +1 -1
  77. package/src/bin/load/index.js +1 -1
  78. package/src/bin/load/loadUtils.js +1 -1
  79. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  80. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  81. package/src/bin/mocha/command.js +1 -1
  82. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  83. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  84. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  85. package/src/bin/mocha/test.setup.js +1 -1
  86. package/src/bin/newman/command.js +1 -1
  87. package/src/bin/newman/helper.js +1 -1
  88. package/src/bin/newman/reporter/index.js +1 -1
  89. package/src/bin/newman/scriptRunner.js +1 -1
  90. package/src/bin/nightwatch/command.js +1 -1
  91. package/src/bin/playwright/accessibility-helper.js +1 -1
  92. package/src/bin/playwright/command.js +1 -1
  93. package/src/bin/playwright/globalSetup.js +1 -1
  94. package/src/bin/playwright/mock-process.js +1 -1
  95. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  96. package/src/bin/playwright/patches.js +1 -1
  97. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  98. package/src/bin/playwright/reporter/reporter.js +1 -1
  99. package/src/bin/playwright/reporter/test-details.js +1 -1
  100. package/src/bin/playwright/sessionDetails.js +1 -1
  101. package/src/bin/puppeteer/patches.js +1 -1
  102. package/src/bin/puppeteer/sessionDetails.js +1 -1
  103. package/src/bin/puppeteer/test.setup.js +1 -1
  104. package/src/bin/runner.js +1 -1
  105. package/src/bin/setup.js +1 -1
  106. package/src/bin/test-runner/index.js +1 -1
  107. package/src/bin/test-runner/runTest.js +1 -1
  108. package/src/bin/test-runner/testWorker.js +1 -1
  109. package/src/bin/testcafe/a11y-runner.js +1 -0
  110. package/src/bin/testcafe/command.js +2 -0
  111. package/src/bin/testcafe/reporter/index.js +1 -0
  112. package/src/bin/testcafe/reporter/tcUtils.js +1 -0
  113. package/src/bin/testcafe/session-registry.js +1 -0
  114. package/src/bin/testcafe/stdout-interceptor.js +1 -0
  115. package/src/bin/testcafe/testcafe-action-patcher.js +1 -0
  116. package/src/bin/testcafe/w3c-driver.js +1 -0
  117. package/src/bin/utils/apiUtilityMethods.js +1 -1
  118. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  119. package/src/bin/utils/constants.js +1 -1
  120. package/src/bin/utils/log4jsAppender.js +1 -1
  121. package/src/bin/utils/logPatcher.js +1 -1
  122. package/src/bin/utils/logReportingAPI.js +1 -1
  123. package/src/bin/utils/playwright-patcher.js +1 -1
  124. package/src/bin/utils/puppeteer-patcher.js +1 -1
  125. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  126. package/src/bin/utils/sharedUtils.js +1 -1
  127. package/src/bin/v2/TestInfo.js +1 -1
  128. package/src/bin/v2/browserstackCLI.js +1 -1
  129. package/src/bin/v2/cliUtils.js +1 -1
  130. package/src/bin/v2/customTagManager.js +1 -1
  131. package/src/bin/v2/eventDispatcher.js +1 -1
  132. package/src/bin/v2/framework/automationFramework.js +1 -1
  133. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  134. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  135. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  136. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  137. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  138. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  139. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  140. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  141. package/src/bin/v2/framework/testFramework.js +1 -1
  142. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -0
  143. package/src/bin/v2/framework/testcafeTestFramework.js +1 -0
  144. package/src/bin/v2/grpcClient.js +1 -1
  145. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  146. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  147. package/src/bin/v2/instances/trackedContext.js +1 -1
  148. package/src/bin/v2/instances/trackedInstance.js +1 -1
  149. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  150. package/src/bin/v2/modules/baseModule.js +1 -1
  151. package/src/bin/v2/modules/loadTestModule.js +1 -1
  152. package/src/bin/v2/modules/observabilityModule.js +1 -1
  153. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  154. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  155. package/src/bin/v2/modules/testcafeDriverModule.js +1 -0
  156. package/src/bin/v2/modules/testhubModule.js +1 -1
  157. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  158. package/src/bin/v2/state/hookState.js +1 -1
  159. package/src/bin/v2/state/testFrameworkState.js +1 -1
  160. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  161. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  162. package/src/bin/v2/utils/jest-utils.js +1 -1
  163. package/src/bin/vanilla-js/command.js +1 -1
  164. package/src/browserStackSdk.js +1 -1
  165. package/src/helpers/BrowserStackSetup.js +1 -1
  166. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  167. package/src/helpers/accessibility-automation/constants.js +1 -1
  168. package/src/helpers/accessibility-automation/helper.js +1 -1
  169. package/src/helpers/accessibility-automation/scripts.js +1 -1
  170. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  171. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  172. package/src/helpers/ats/constants.js +1 -1
  173. package/src/helpers/ats/helper.js +1 -1
  174. package/src/helpers/caCertHelper.js +1 -1
  175. package/src/helpers/capsMapping.js +1 -1
  176. package/src/helpers/central-scanner/constants.js +1 -1
  177. package/src/helpers/central-scanner/helpers.js +1 -1
  178. package/src/helpers/classLogger.js +1 -1
  179. package/src/helpers/driverInitErrorReporter.js +1 -1
  180. package/src/helpers/globals.js +1 -1
  181. package/src/helpers/helper.js +1 -1
  182. package/src/helpers/logger.js +1 -1
  183. package/src/helpers/metadata.js +1 -1
  184. package/src/helpers/patchHelper.js +1 -1
  185. package/src/helpers/patchHelpers.js +1 -1
  186. package/src/helpers/percy/Percy.js +1 -1
  187. package/src/helpers/percy/PercyBinary.js +1 -1
  188. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  189. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  190. package/src/helpers/percy/PercySDK.js +1 -1
  191. package/src/helpers/percy/index.js +1 -1
  192. package/src/helpers/percy/utils.js +1 -1
  193. package/src/helpers/performance/constants.js +1 -1
  194. package/src/helpers/performance/performance-tester.js +1 -1
  195. package/src/helpers/playwright-helper.js +1 -1
  196. package/src/helpers/processHelper.js +1 -1
  197. package/src/helpers/puppeteer-helper.js +1 -1
  198. package/src/helpers/request-spy.js +1 -1
  199. package/src/helpers/setKeepAlive.js +1 -1
  200. package/src/helpers/stackFrameUtils.js +1 -1
  201. package/src/helpers/test-observability/constants.js +1 -1
  202. package/src/helpers/test-observability/error-handler.js +1 -1
  203. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  204. package/src/helpers/test-observability/sessionHandler.js +1 -1
  205. package/src/helpers/test-observability/utils.js +1 -1
  206. package/src/helpers/test-orchestration/constants.js +1 -1
  207. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  208. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  209. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  210. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  211. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  212. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  213. package/src/helpers/testhub/constants.js +1 -1
  214. package/src/helpers/testhub/testhubHandler.js +1 -1
  215. package/src/helpers/testhub/utils.js +1 -1
  216. package/src/helpers/timeoutPromise.js +1 -1
  217. package/src/helpers/utilities.js +1 -1
  218. package/src/helpers/w3cMapping.js +1 -1
  219. package/src/hubAllocationMethods.js +1 -1
  220. package/src/index.js +1 -1
@@ -29,6 +29,7 @@ var sdk$messages$accessibility_pb = require('./sdk-messages-accessibility_pb.js'
29
29
  goog.object.extend(proto, sdk$messages$accessibility_pb);
30
30
  var sdk$messages$percy_pb = require('./sdk-messages-percy_pb.js');
31
31
  goog.object.extend(proto, sdk$messages$percy_pb);
32
+ goog.exportSymbol('proto.browserstack.sdk.v1.AbortBuildOnFailure', null, global);
32
33
  goog.exportSymbol('proto.browserstack.sdk.v1.AutomationFrameworkInitRequest', null, global);
33
34
  goog.exportSymbol('proto.browserstack.sdk.v1.AutomationFrameworkInitResponse', null, global);
34
35
  goog.exportSymbol('proto.browserstack.sdk.v1.AutomationFrameworkStartRequest', null, global);
@@ -56,12 +57,17 @@ goog.exportSymbol('proto.browserstack.sdk.v1.PlaywrightConfigRequest', null, glo
56
57
  goog.exportSymbol('proto.browserstack.sdk.v1.PlaywrightConfigResponse', null, global);
57
58
  goog.exportSymbol('proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest', null, global);
58
59
  goog.exportSymbol('proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorResponse', null, global);
60
+ goog.exportSymbol('proto.browserstack.sdk.v1.RetryTestsOnFailure', null, global);
61
+ goog.exportSymbol('proto.browserstack.sdk.v1.RunSmartSelection', null, global);
59
62
  goog.exportSymbol('proto.browserstack.sdk.v1.StartBinSessionRequest', null, global);
60
63
  goog.exportSymbol('proto.browserstack.sdk.v1.StartBinSessionResponse', null, global);
61
64
  goog.exportSymbol('proto.browserstack.sdk.v1.StopBinSessionRequest', null, global);
62
65
  goog.exportSymbol('proto.browserstack.sdk.v1.StopBinSessionResponse', null, global);
66
+ goog.exportSymbol('proto.browserstack.sdk.v1.TestCafeConfigRequest', null, global);
67
+ goog.exportSymbol('proto.browserstack.sdk.v1.TestCafeConfigResponse', null, global);
63
68
  goog.exportSymbol('proto.browserstack.sdk.v1.TestFrameworkEventRequest', null, global);
64
69
  goog.exportSymbol('proto.browserstack.sdk.v1.TestFrameworkEventResponse', null, global);
70
+ goog.exportSymbol('proto.browserstack.sdk.v1.TestOrchestration', null, global);
65
71
  goog.exportSymbol('proto.browserstack.sdk.v1.TestOrchestrationRequest', null, global);
66
72
  goog.exportSymbol('proto.browserstack.sdk.v1.TestOrchestrationResponse', null, global);
67
73
  goog.exportSymbol('proto.browserstack.sdk.v1.TestSessionEventRequest', null, global);
@@ -120,7 +126,7 @@ if (goog.DEBUG && !COMPILED) {
120
126
  * @constructor
121
127
  */
122
128
  proto.browserstack.sdk.v1.AutomationFrameworkInitRequest = function(opt_data) {
123
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
129
+ jspb.Message.initialize(this, opt_data, 0, 500, null, null);
124
130
  };
125
131
  goog.inherits(proto.browserstack.sdk.v1.AutomationFrameworkInitRequest, jspb.Message);
126
132
  if (goog.DEBUG && !COMPILED) {
@@ -162,7 +168,7 @@ if (goog.DEBUG && !COMPILED) {
162
168
  * @constructor
163
169
  */
164
170
  proto.browserstack.sdk.v1.AutomationFrameworkStartRequest = function(opt_data) {
165
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
171
+ jspb.Message.initialize(this, opt_data, 0, 500, null, null);
166
172
  };
167
173
  goog.inherits(proto.browserstack.sdk.v1.AutomationFrameworkStartRequest, jspb.Message);
168
174
  if (goog.DEBUG && !COMPILED) {
@@ -204,7 +210,7 @@ if (goog.DEBUG && !COMPILED) {
204
210
  * @constructor
205
211
  */
206
212
  proto.browserstack.sdk.v1.AutomationFrameworkStopRequest = function(opt_data) {
207
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
213
+ jspb.Message.initialize(this, opt_data, 0, 500, null, null);
208
214
  };
209
215
  goog.inherits(proto.browserstack.sdk.v1.AutomationFrameworkStopRequest, jspb.Message);
210
216
  if (goog.DEBUG && !COMPILED) {
@@ -246,7 +252,7 @@ if (goog.DEBUG && !COMPILED) {
246
252
  * @constructor
247
253
  */
248
254
  proto.browserstack.sdk.v1.FindNearestHubRequest = function(opt_data) {
249
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
255
+ jspb.Message.initialize(this, opt_data, 0, 500, null, null);
250
256
  };
251
257
  goog.inherits(proto.browserstack.sdk.v1.FindNearestHubRequest, jspb.Message);
252
258
  if (goog.DEBUG && !COMPILED) {
@@ -288,7 +294,7 @@ if (goog.DEBUG && !COMPILED) {
288
294
  * @constructor
289
295
  */
290
296
  proto.browserstack.sdk.v1.StartBinSessionRequest = function(opt_data) {
291
- jspb.Message.initialize(this, opt_data, 0, -1, proto.browserstack.sdk.v1.StartBinSessionRequest.repeatedFields_, null);
297
+ jspb.Message.initialize(this, opt_data, 0, 500, proto.browserstack.sdk.v1.StartBinSessionRequest.repeatedFields_, null);
292
298
  };
293
299
  goog.inherits(proto.browserstack.sdk.v1.StartBinSessionRequest, jspb.Message);
294
300
  if (goog.DEBUG && !COMPILED) {
@@ -340,6 +346,132 @@ if (goog.DEBUG && !COMPILED) {
340
346
  */
341
347
  proto.browserstack.sdk.v1.ConnectBinSessionResponse.displayName = 'proto.browserstack.sdk.v1.ConnectBinSessionResponse';
342
348
  }
349
+ /**
350
+ * Generated by JsPbCodeGenerator.
351
+ * @param {Array=} opt_data Optional initial data array, typically from a
352
+ * server response, or constructed directly in Javascript. The array is used
353
+ * in place and becomes part of the constructed object. It is not cloned.
354
+ * If no data is provided, the constructed object will be empty, but still
355
+ * valid.
356
+ * @extends {jspb.Message}
357
+ * @constructor
358
+ */
359
+ proto.browserstack.sdk.v1.TestOrchestration = function(opt_data) {
360
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
361
+ };
362
+ goog.inherits(proto.browserstack.sdk.v1.TestOrchestration, jspb.Message);
363
+ if (goog.DEBUG && !COMPILED) {
364
+ /**
365
+ * @public
366
+ * @override
367
+ */
368
+ proto.browserstack.sdk.v1.TestOrchestration.displayName = 'proto.browserstack.sdk.v1.TestOrchestration';
369
+ }
370
+ /**
371
+ * Generated by JsPbCodeGenerator.
372
+ * @param {Array=} opt_data Optional initial data array, typically from a
373
+ * server response, or constructed directly in Javascript. The array is used
374
+ * in place and becomes part of the constructed object. It is not cloned.
375
+ * If no data is provided, the constructed object will be empty, but still
376
+ * valid.
377
+ * @extends {jspb.Message}
378
+ * @constructor
379
+ */
380
+ proto.browserstack.sdk.v1.RunSmartSelection = function(opt_data) {
381
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
382
+ };
383
+ goog.inherits(proto.browserstack.sdk.v1.RunSmartSelection, jspb.Message);
384
+ if (goog.DEBUG && !COMPILED) {
385
+ /**
386
+ * @public
387
+ * @override
388
+ */
389
+ proto.browserstack.sdk.v1.RunSmartSelection.displayName = 'proto.browserstack.sdk.v1.RunSmartSelection';
390
+ }
391
+ /**
392
+ * Generated by JsPbCodeGenerator.
393
+ * @param {Array=} opt_data Optional initial data array, typically from a
394
+ * server response, or constructed directly in Javascript. The array is used
395
+ * in place and becomes part of the constructed object. It is not cloned.
396
+ * If no data is provided, the constructed object will be empty, but still
397
+ * valid.
398
+ * @extends {jspb.Message}
399
+ * @constructor
400
+ */
401
+ proto.browserstack.sdk.v1.RetryTestsOnFailure = function(opt_data) {
402
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
403
+ };
404
+ goog.inherits(proto.browserstack.sdk.v1.RetryTestsOnFailure, jspb.Message);
405
+ if (goog.DEBUG && !COMPILED) {
406
+ /**
407
+ * @public
408
+ * @override
409
+ */
410
+ proto.browserstack.sdk.v1.RetryTestsOnFailure.displayName = 'proto.browserstack.sdk.v1.RetryTestsOnFailure';
411
+ }
412
+ /**
413
+ * Generated by JsPbCodeGenerator.
414
+ * @param {Array=} opt_data Optional initial data array, typically from a
415
+ * server response, or constructed directly in Javascript. The array is used
416
+ * in place and becomes part of the constructed object. It is not cloned.
417
+ * If no data is provided, the constructed object will be empty, but still
418
+ * valid.
419
+ * @extends {jspb.Message}
420
+ * @constructor
421
+ */
422
+ proto.browserstack.sdk.v1.AbortBuildOnFailure = function(opt_data) {
423
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
424
+ };
425
+ goog.inherits(proto.browserstack.sdk.v1.AbortBuildOnFailure, jspb.Message);
426
+ if (goog.DEBUG && !COMPILED) {
427
+ /**
428
+ * @public
429
+ * @override
430
+ */
431
+ proto.browserstack.sdk.v1.AbortBuildOnFailure.displayName = 'proto.browserstack.sdk.v1.AbortBuildOnFailure';
432
+ }
433
+ /**
434
+ * Generated by JsPbCodeGenerator.
435
+ * @param {Array=} opt_data Optional initial data array, typically from a
436
+ * server response, or constructed directly in Javascript. The array is used
437
+ * in place and becomes part of the constructed object. It is not cloned.
438
+ * If no data is provided, the constructed object will be empty, but still
439
+ * valid.
440
+ * @extends {jspb.Message}
441
+ * @constructor
442
+ */
443
+ proto.browserstack.sdk.v1.TestOrchestrationRequest = function(opt_data) {
444
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.browserstack.sdk.v1.TestOrchestrationRequest.repeatedFields_, null);
445
+ };
446
+ goog.inherits(proto.browserstack.sdk.v1.TestOrchestrationRequest, jspb.Message);
447
+ if (goog.DEBUG && !COMPILED) {
448
+ /**
449
+ * @public
450
+ * @override
451
+ */
452
+ proto.browserstack.sdk.v1.TestOrchestrationRequest.displayName = 'proto.browserstack.sdk.v1.TestOrchestrationRequest';
453
+ }
454
+ /**
455
+ * Generated by JsPbCodeGenerator.
456
+ * @param {Array=} opt_data Optional initial data array, typically from a
457
+ * server response, or constructed directly in Javascript. The array is used
458
+ * in place and becomes part of the constructed object. It is not cloned.
459
+ * If no data is provided, the constructed object will be empty, but still
460
+ * valid.
461
+ * @extends {jspb.Message}
462
+ * @constructor
463
+ */
464
+ proto.browserstack.sdk.v1.TestOrchestrationResponse = function(opt_data) {
465
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.browserstack.sdk.v1.TestOrchestrationResponse.repeatedFields_, null);
466
+ };
467
+ goog.inherits(proto.browserstack.sdk.v1.TestOrchestrationResponse, jspb.Message);
468
+ if (goog.DEBUG && !COMPILED) {
469
+ /**
470
+ * @public
471
+ * @override
472
+ */
473
+ proto.browserstack.sdk.v1.TestOrchestrationResponse.displayName = 'proto.browserstack.sdk.v1.TestOrchestrationResponse';
474
+ }
343
475
  /**
344
476
  * Generated by JsPbCodeGenerator.
345
477
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -414,7 +546,7 @@ if (goog.DEBUG && !COMPILED) {
414
546
  * @constructor
415
547
  */
416
548
  proto.browserstack.sdk.v1.PlaywrightConfigRequest = function(opt_data) {
417
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
549
+ jspb.Message.initialize(this, opt_data, 0, 500, null, null);
418
550
  };
419
551
  goog.inherits(proto.browserstack.sdk.v1.PlaywrightConfigRequest, jspb.Message);
420
552
  if (goog.DEBUG && !COMPILED) {
@@ -456,7 +588,7 @@ if (goog.DEBUG && !COMPILED) {
456
588
  * @constructor
457
589
  */
458
590
  proto.browserstack.sdk.v1.ConnectBinSessionRequest = function(opt_data) {
459
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
591
+ jspb.Message.initialize(this, opt_data, 0, 500, null, null);
460
592
  };
461
593
  goog.inherits(proto.browserstack.sdk.v1.ConnectBinSessionRequest, jspb.Message);
462
594
  if (goog.DEBUG && !COMPILED) {
@@ -477,7 +609,7 @@ if (goog.DEBUG && !COMPILED) {
477
609
  * @constructor
478
610
  */
479
611
  proto.browserstack.sdk.v1.TestFrameworkEventRequest = function(opt_data) {
480
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
612
+ jspb.Message.initialize(this, opt_data, 0, 500, null, null);
481
613
  };
482
614
  goog.inherits(proto.browserstack.sdk.v1.TestFrameworkEventRequest, jspb.Message);
483
615
  if (goog.DEBUG && !COMPILED) {
@@ -540,7 +672,7 @@ if (goog.DEBUG && !COMPILED) {
540
672
  * @constructor
541
673
  */
542
674
  proto.browserstack.sdk.v1.EnqueueTestEventRequest = function(opt_data) {
543
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
675
+ jspb.Message.initialize(this, opt_data, 0, 500, null, null);
544
676
  };
545
677
  goog.inherits(proto.browserstack.sdk.v1.EnqueueTestEventRequest, jspb.Message);
546
678
  if (goog.DEBUG && !COMPILED) {
@@ -582,7 +714,7 @@ if (goog.DEBUG && !COMPILED) {
582
714
  * @constructor
583
715
  */
584
716
  proto.browserstack.sdk.v1.LogCreatedEventRequest = function(opt_data) {
585
- jspb.Message.initialize(this, opt_data, 0, -1, proto.browserstack.sdk.v1.LogCreatedEventRequest.repeatedFields_, null);
717
+ jspb.Message.initialize(this, opt_data, 0, 500, proto.browserstack.sdk.v1.LogCreatedEventRequest.repeatedFields_, null);
586
718
  };
587
719
  goog.inherits(proto.browserstack.sdk.v1.LogCreatedEventRequest, jspb.Message);
588
720
  if (goog.DEBUG && !COMPILED) {
@@ -645,7 +777,7 @@ if (goog.DEBUG && !COMPILED) {
645
777
  * @constructor
646
778
  */
647
779
  proto.browserstack.sdk.v1.TestSessionEventRequest = function(opt_data) {
648
- jspb.Message.initialize(this, opt_data, 0, -1, proto.browserstack.sdk.v1.TestSessionEventRequest.repeatedFields_, null);
780
+ jspb.Message.initialize(this, opt_data, 0, 500, proto.browserstack.sdk.v1.TestSessionEventRequest.repeatedFields_, null);
649
781
  };
650
782
  goog.inherits(proto.browserstack.sdk.v1.TestSessionEventRequest, jspb.Message);
651
783
  if (goog.DEBUG && !COMPILED) {
@@ -708,7 +840,7 @@ if (goog.DEBUG && !COMPILED) {
708
840
  * @constructor
709
841
  */
710
842
  proto.browserstack.sdk.v1.FetchDriverExecuteParamsEventRequest = function(opt_data) {
711
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
843
+ jspb.Message.initialize(this, opt_data, 0, 500, null, null);
712
844
  };
713
845
  goog.inherits(proto.browserstack.sdk.v1.FetchDriverExecuteParamsEventRequest, jspb.Message);
714
846
  if (goog.DEBUG && !COMPILED) {
@@ -750,7 +882,7 @@ if (goog.DEBUG && !COMPILED) {
750
882
  * @constructor
751
883
  */
752
884
  proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest = function(opt_data) {
753
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
885
+ jspb.Message.initialize(this, opt_data, 0, 500, null, null);
754
886
  };
755
887
  goog.inherits(proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest, jspb.Message);
756
888
  if (goog.DEBUG && !COMPILED) {
@@ -792,7 +924,7 @@ if (goog.DEBUG && !COMPILED) {
792
924
  * @constructor
793
925
  */
794
926
  proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest = function(opt_data) {
795
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
927
+ jspb.Message.initialize(this, opt_data, 0, 500, null, null);
796
928
  };
797
929
  goog.inherits(proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest, jspb.Message);
798
930
  if (goog.DEBUG && !COMPILED) {
@@ -833,16 +965,16 @@ if (goog.DEBUG && !COMPILED) {
833
965
  * @extends {jspb.Message}
834
966
  * @constructor
835
967
  */
836
- proto.browserstack.sdk.v1.TestOrchestrationRequest = function(opt_data) {
837
- jspb.Message.initialize(this, opt_data, 0, -1, proto.browserstack.sdk.v1.TestOrchestrationRequest.repeatedFields_, null);
968
+ proto.browserstack.sdk.v1.TestCafeConfigRequest = function(opt_data) {
969
+ jspb.Message.initialize(this, opt_data, 0, 500, null, null);
838
970
  };
839
- goog.inherits(proto.browserstack.sdk.v1.TestOrchestrationRequest, jspb.Message);
971
+ goog.inherits(proto.browserstack.sdk.v1.TestCafeConfigRequest, jspb.Message);
840
972
  if (goog.DEBUG && !COMPILED) {
841
973
  /**
842
974
  * @public
843
975
  * @override
844
976
  */
845
- proto.browserstack.sdk.v1.TestOrchestrationRequest.displayName = 'proto.browserstack.sdk.v1.TestOrchestrationRequest';
977
+ proto.browserstack.sdk.v1.TestCafeConfigRequest.displayName = 'proto.browserstack.sdk.v1.TestCafeConfigRequest';
846
978
  }
847
979
  /**
848
980
  * Generated by JsPbCodeGenerator.
@@ -854,16 +986,16 @@ if (goog.DEBUG && !COMPILED) {
854
986
  * @extends {jspb.Message}
855
987
  * @constructor
856
988
  */
857
- proto.browserstack.sdk.v1.TestOrchestrationResponse = function(opt_data) {
858
- jspb.Message.initialize(this, opt_data, 0, -1, proto.browserstack.sdk.v1.TestOrchestrationResponse.repeatedFields_, null);
989
+ proto.browserstack.sdk.v1.TestCafeConfigResponse = function(opt_data) {
990
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
859
991
  };
860
- goog.inherits(proto.browserstack.sdk.v1.TestOrchestrationResponse, jspb.Message);
992
+ goog.inherits(proto.browserstack.sdk.v1.TestCafeConfigResponse, jspb.Message);
861
993
  if (goog.DEBUG && !COMPILED) {
862
994
  /**
863
995
  * @public
864
996
  * @override
865
997
  */
866
- proto.browserstack.sdk.v1.TestOrchestrationResponse.displayName = 'proto.browserstack.sdk.v1.TestOrchestrationResponse';
998
+ proto.browserstack.sdk.v1.TestCafeConfigResponse.displayName = 'proto.browserstack.sdk.v1.TestCafeConfigResponse';
867
999
  }
868
1000
 
869
1001
 
@@ -1239,7 +1371,9 @@ proto.browserstack.sdk.v1.DriverInitResponse.toObject = function(includeInstance
1239
1371
  var f, obj = {
1240
1372
  success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
1241
1373
  binSessionId: jspb.Message.getFieldWithDefault(msg, 2, ""),
1242
- capabilities: msg.getCapabilities_asB64()
1374
+ capabilities: msg.getCapabilities_asB64(),
1375
+ hubUrl: jspb.Message.getFieldWithDefault(msg, 4, ""),
1376
+ isPrimaryDriver: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
1243
1377
  };
1244
1378
 
1245
1379
  if (includeInstance) {
@@ -1288,6 +1422,14 @@ proto.browserstack.sdk.v1.DriverInitResponse.deserializeBinaryFromReader = funct
1288
1422
  var value = /** @type {!Uint8Array} */ (reader.readBytes());
1289
1423
  msg.setCapabilities(value);
1290
1424
  break;
1425
+ case 4:
1426
+ var value = /** @type {string} */ (reader.readString());
1427
+ msg.setHubUrl(value);
1428
+ break;
1429
+ case 5:
1430
+ var value = /** @type {boolean} */ (reader.readBool());
1431
+ msg.setIsPrimaryDriver(value);
1432
+ break;
1291
1433
  default:
1292
1434
  reader.skipField();
1293
1435
  break;
@@ -1338,6 +1480,20 @@ proto.browserstack.sdk.v1.DriverInitResponse.serializeBinaryToWriter = function(
1338
1480
  f
1339
1481
  );
1340
1482
  }
1483
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
1484
+ if (f != null) {
1485
+ writer.writeString(
1486
+ 4,
1487
+ f
1488
+ );
1489
+ }
1490
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 5));
1491
+ if (f != null) {
1492
+ writer.writeBool(
1493
+ 5,
1494
+ f
1495
+ );
1496
+ }
1341
1497
  };
1342
1498
 
1343
1499
 
@@ -1419,6 +1575,78 @@ proto.browserstack.sdk.v1.DriverInitResponse.prototype.setCapabilities = functio
1419
1575
  };
1420
1576
 
1421
1577
 
1578
+ /**
1579
+ * optional string hub_url = 4;
1580
+ * @return {string}
1581
+ */
1582
+ proto.browserstack.sdk.v1.DriverInitResponse.prototype.getHubUrl = function() {
1583
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1584
+ };
1585
+
1586
+
1587
+ /**
1588
+ * @param {string} value
1589
+ * @return {!proto.browserstack.sdk.v1.DriverInitResponse} returns this
1590
+ */
1591
+ proto.browserstack.sdk.v1.DriverInitResponse.prototype.setHubUrl = function(value) {
1592
+ return jspb.Message.setField(this, 4, value);
1593
+ };
1594
+
1595
+
1596
+ /**
1597
+ * Clears the field making it undefined.
1598
+ * @return {!proto.browserstack.sdk.v1.DriverInitResponse} returns this
1599
+ */
1600
+ proto.browserstack.sdk.v1.DriverInitResponse.prototype.clearHubUrl = function() {
1601
+ return jspb.Message.setField(this, 4, undefined);
1602
+ };
1603
+
1604
+
1605
+ /**
1606
+ * Returns whether this field is set.
1607
+ * @return {boolean}
1608
+ */
1609
+ proto.browserstack.sdk.v1.DriverInitResponse.prototype.hasHubUrl = function() {
1610
+ return jspb.Message.getField(this, 4) != null;
1611
+ };
1612
+
1613
+
1614
+ /**
1615
+ * optional bool is_primary_driver = 5;
1616
+ * @return {boolean}
1617
+ */
1618
+ proto.browserstack.sdk.v1.DriverInitResponse.prototype.getIsPrimaryDriver = function() {
1619
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
1620
+ };
1621
+
1622
+
1623
+ /**
1624
+ * @param {boolean} value
1625
+ * @return {!proto.browserstack.sdk.v1.DriverInitResponse} returns this
1626
+ */
1627
+ proto.browserstack.sdk.v1.DriverInitResponse.prototype.setIsPrimaryDriver = function(value) {
1628
+ return jspb.Message.setField(this, 5, value);
1629
+ };
1630
+
1631
+
1632
+ /**
1633
+ * Clears the field making it undefined.
1634
+ * @return {!proto.browserstack.sdk.v1.DriverInitResponse} returns this
1635
+ */
1636
+ proto.browserstack.sdk.v1.DriverInitResponse.prototype.clearIsPrimaryDriver = function() {
1637
+ return jspb.Message.setField(this, 5, undefined);
1638
+ };
1639
+
1640
+
1641
+ /**
1642
+ * Returns whether this field is set.
1643
+ * @return {boolean}
1644
+ */
1645
+ proto.browserstack.sdk.v1.DriverInitResponse.prototype.hasIsPrimaryDriver = function() {
1646
+ return jspb.Message.getField(this, 5) != null;
1647
+ };
1648
+
1649
+
1422
1650
 
1423
1651
 
1424
1652
 
@@ -1456,7 +1684,8 @@ proto.browserstack.sdk.v1.AutomationFrameworkInitRequest.toObject = function(inc
1456
1684
  frameworkName: jspb.Message.getFieldWithDefault(msg, 3, ""),
1457
1685
  frameworkVersion: jspb.Message.getFieldWithDefault(msg, 4, ""),
1458
1686
  ref: jspb.Message.getFieldWithDefault(msg, 5, ""),
1459
- hubUrl: jspb.Message.getFieldWithDefault(msg, 6, "")
1687
+ hubUrl: jspb.Message.getFieldWithDefault(msg, 6, ""),
1688
+ clientWorkerId: jspb.Message.getFieldWithDefault(msg, 500, "")
1460
1689
  };
1461
1690
 
1462
1691
  if (includeInstance) {
@@ -1517,6 +1746,10 @@ proto.browserstack.sdk.v1.AutomationFrameworkInitRequest.deserializeBinaryFromRe
1517
1746
  var value = /** @type {string} */ (reader.readString());
1518
1747
  msg.setHubUrl(value);
1519
1748
  break;
1749
+ case 500:
1750
+ var value = /** @type {string} */ (reader.readString());
1751
+ msg.setClientWorkerId(value);
1752
+ break;
1520
1753
  default:
1521
1754
  reader.skipField();
1522
1755
  break;
@@ -1588,6 +1821,13 @@ proto.browserstack.sdk.v1.AutomationFrameworkInitRequest.serializeBinaryToWriter
1588
1821
  f
1589
1822
  );
1590
1823
  }
1824
+ f = /** @type {string} */ (jspb.Message.getField(message, 500));
1825
+ if (f != null) {
1826
+ writer.writeString(
1827
+ 500,
1828
+ f
1829
+ );
1830
+ }
1591
1831
  };
1592
1832
 
1593
1833
 
@@ -1699,6 +1939,42 @@ proto.browserstack.sdk.v1.AutomationFrameworkInitRequest.prototype.setHubUrl = f
1699
1939
  };
1700
1940
 
1701
1941
 
1942
+ /**
1943
+ * optional string client_worker_id = 500;
1944
+ * @return {string}
1945
+ */
1946
+ proto.browserstack.sdk.v1.AutomationFrameworkInitRequest.prototype.getClientWorkerId = function() {
1947
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 500, ""));
1948
+ };
1949
+
1950
+
1951
+ /**
1952
+ * @param {string} value
1953
+ * @return {!proto.browserstack.sdk.v1.AutomationFrameworkInitRequest} returns this
1954
+ */
1955
+ proto.browserstack.sdk.v1.AutomationFrameworkInitRequest.prototype.setClientWorkerId = function(value) {
1956
+ return jspb.Message.setField(this, 500, value);
1957
+ };
1958
+
1959
+
1960
+ /**
1961
+ * Clears the field making it undefined.
1962
+ * @return {!proto.browserstack.sdk.v1.AutomationFrameworkInitRequest} returns this
1963
+ */
1964
+ proto.browserstack.sdk.v1.AutomationFrameworkInitRequest.prototype.clearClientWorkerId = function() {
1965
+ return jspb.Message.setField(this, 500, undefined);
1966
+ };
1967
+
1968
+
1969
+ /**
1970
+ * Returns whether this field is set.
1971
+ * @return {boolean}
1972
+ */
1973
+ proto.browserstack.sdk.v1.AutomationFrameworkInitRequest.prototype.hasClientWorkerId = function() {
1974
+ return jspb.Message.getField(this, 500) != null;
1975
+ };
1976
+
1977
+
1702
1978
 
1703
1979
 
1704
1980
 
@@ -1915,7 +2191,8 @@ proto.browserstack.sdk.v1.AutomationFrameworkStartRequest.toObject = function(in
1915
2191
  frameworkVersion: jspb.Message.getFieldWithDefault(msg, 4, ""),
1916
2192
  ref: jspb.Message.getFieldWithDefault(msg, 5, ""),
1917
2193
  frameworkSessionId: jspb.Message.getFieldWithDefault(msg, 6, ""),
1918
- hubUrl: jspb.Message.getFieldWithDefault(msg, 7, "")
2194
+ hubUrl: jspb.Message.getFieldWithDefault(msg, 7, ""),
2195
+ clientWorkerId: jspb.Message.getFieldWithDefault(msg, 500, "")
1919
2196
  };
1920
2197
 
1921
2198
  if (includeInstance) {
@@ -1980,6 +2257,10 @@ proto.browserstack.sdk.v1.AutomationFrameworkStartRequest.deserializeBinaryFromR
1980
2257
  var value = /** @type {string} */ (reader.readString());
1981
2258
  msg.setHubUrl(value);
1982
2259
  break;
2260
+ case 500:
2261
+ var value = /** @type {string} */ (reader.readString());
2262
+ msg.setClientWorkerId(value);
2263
+ break;
1983
2264
  default:
1984
2265
  reader.skipField();
1985
2266
  break;
@@ -2058,9 +2339,16 @@ proto.browserstack.sdk.v1.AutomationFrameworkStartRequest.serializeBinaryToWrite
2058
2339
  f
2059
2340
  );
2060
2341
  }
2061
- };
2062
-
2063
-
2342
+ f = /** @type {string} */ (jspb.Message.getField(message, 500));
2343
+ if (f != null) {
2344
+ writer.writeString(
2345
+ 500,
2346
+ f
2347
+ );
2348
+ }
2349
+ };
2350
+
2351
+
2064
2352
  /**
2065
2353
  * optional string bin_session_id = 1;
2066
2354
  * @return {string}
@@ -2187,6 +2475,42 @@ proto.browserstack.sdk.v1.AutomationFrameworkStartRequest.prototype.setHubUrl =
2187
2475
  };
2188
2476
 
2189
2477
 
2478
+ /**
2479
+ * optional string client_worker_id = 500;
2480
+ * @return {string}
2481
+ */
2482
+ proto.browserstack.sdk.v1.AutomationFrameworkStartRequest.prototype.getClientWorkerId = function() {
2483
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 500, ""));
2484
+ };
2485
+
2486
+
2487
+ /**
2488
+ * @param {string} value
2489
+ * @return {!proto.browserstack.sdk.v1.AutomationFrameworkStartRequest} returns this
2490
+ */
2491
+ proto.browserstack.sdk.v1.AutomationFrameworkStartRequest.prototype.setClientWorkerId = function(value) {
2492
+ return jspb.Message.setField(this, 500, value);
2493
+ };
2494
+
2495
+
2496
+ /**
2497
+ * Clears the field making it undefined.
2498
+ * @return {!proto.browserstack.sdk.v1.AutomationFrameworkStartRequest} returns this
2499
+ */
2500
+ proto.browserstack.sdk.v1.AutomationFrameworkStartRequest.prototype.clearClientWorkerId = function() {
2501
+ return jspb.Message.setField(this, 500, undefined);
2502
+ };
2503
+
2504
+
2505
+ /**
2506
+ * Returns whether this field is set.
2507
+ * @return {boolean}
2508
+ */
2509
+ proto.browserstack.sdk.v1.AutomationFrameworkStartRequest.prototype.hasClientWorkerId = function() {
2510
+ return jspb.Message.getField(this, 500) != null;
2511
+ };
2512
+
2513
+
2190
2514
 
2191
2515
 
2192
2516
 
@@ -2355,7 +2679,8 @@ proto.browserstack.sdk.v1.AutomationFrameworkStopRequest.toObject = function(inc
2355
2679
  frameworkVersion: jspb.Message.getFieldWithDefault(msg, 4, ""),
2356
2680
  ref: jspb.Message.getFieldWithDefault(msg, 5, ""),
2357
2681
  frameworkSessionId: jspb.Message.getFieldWithDefault(msg, 6, ""),
2358
- hubUrl: jspb.Message.getFieldWithDefault(msg, 7, "")
2682
+ hubUrl: jspb.Message.getFieldWithDefault(msg, 7, ""),
2683
+ clientWorkerId: jspb.Message.getFieldWithDefault(msg, 500, "")
2359
2684
  };
2360
2685
 
2361
2686
  if (includeInstance) {
@@ -2420,6 +2745,10 @@ proto.browserstack.sdk.v1.AutomationFrameworkStopRequest.deserializeBinaryFromRe
2420
2745
  var value = /** @type {string} */ (reader.readString());
2421
2746
  msg.setHubUrl(value);
2422
2747
  break;
2748
+ case 500:
2749
+ var value = /** @type {string} */ (reader.readString());
2750
+ msg.setClientWorkerId(value);
2751
+ break;
2423
2752
  default:
2424
2753
  reader.skipField();
2425
2754
  break;
@@ -2498,6 +2827,13 @@ proto.browserstack.sdk.v1.AutomationFrameworkStopRequest.serializeBinaryToWriter
2498
2827
  f
2499
2828
  );
2500
2829
  }
2830
+ f = /** @type {string} */ (jspb.Message.getField(message, 500));
2831
+ if (f != null) {
2832
+ writer.writeString(
2833
+ 500,
2834
+ f
2835
+ );
2836
+ }
2501
2837
  };
2502
2838
 
2503
2839
 
@@ -2627,6 +2963,42 @@ proto.browserstack.sdk.v1.AutomationFrameworkStopRequest.prototype.setHubUrl = f
2627
2963
  };
2628
2964
 
2629
2965
 
2966
+ /**
2967
+ * optional string client_worker_id = 500;
2968
+ * @return {string}
2969
+ */
2970
+ proto.browserstack.sdk.v1.AutomationFrameworkStopRequest.prototype.getClientWorkerId = function() {
2971
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 500, ""));
2972
+ };
2973
+
2974
+
2975
+ /**
2976
+ * @param {string} value
2977
+ * @return {!proto.browserstack.sdk.v1.AutomationFrameworkStopRequest} returns this
2978
+ */
2979
+ proto.browserstack.sdk.v1.AutomationFrameworkStopRequest.prototype.setClientWorkerId = function(value) {
2980
+ return jspb.Message.setField(this, 500, value);
2981
+ };
2982
+
2983
+
2984
+ /**
2985
+ * Clears the field making it undefined.
2986
+ * @return {!proto.browserstack.sdk.v1.AutomationFrameworkStopRequest} returns this
2987
+ */
2988
+ proto.browserstack.sdk.v1.AutomationFrameworkStopRequest.prototype.clearClientWorkerId = function() {
2989
+ return jspb.Message.setField(this, 500, undefined);
2990
+ };
2991
+
2992
+
2993
+ /**
2994
+ * Returns whether this field is set.
2995
+ * @return {boolean}
2996
+ */
2997
+ proto.browserstack.sdk.v1.AutomationFrameworkStopRequest.prototype.hasClientWorkerId = function() {
2998
+ return jspb.Message.getField(this, 500) != null;
2999
+ };
3000
+
3001
+
2630
3002
 
2631
3003
 
2632
3004
 
@@ -2789,7 +3161,8 @@ proto.browserstack.sdk.v1.FindNearestHubRequest.prototype.toObject = function(op
2789
3161
  */
2790
3162
  proto.browserstack.sdk.v1.FindNearestHubRequest.toObject = function(includeInstance, msg) {
2791
3163
  var f, obj = {
2792
- binSessionId: jspb.Message.getFieldWithDefault(msg, 1, "")
3164
+ binSessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
3165
+ clientWorkerId: jspb.Message.getFieldWithDefault(msg, 500, "")
2793
3166
  };
2794
3167
 
2795
3168
  if (includeInstance) {
@@ -2830,6 +3203,10 @@ proto.browserstack.sdk.v1.FindNearestHubRequest.deserializeBinaryFromReader = fu
2830
3203
  var value = /** @type {string} */ (reader.readString());
2831
3204
  msg.setBinSessionId(value);
2832
3205
  break;
3206
+ case 500:
3207
+ var value = /** @type {string} */ (reader.readString());
3208
+ msg.setClientWorkerId(value);
3209
+ break;
2833
3210
  default:
2834
3211
  reader.skipField();
2835
3212
  break;
@@ -2866,6 +3243,13 @@ proto.browserstack.sdk.v1.FindNearestHubRequest.serializeBinaryToWriter = functi
2866
3243
  f
2867
3244
  );
2868
3245
  }
3246
+ f = /** @type {string} */ (jspb.Message.getField(message, 500));
3247
+ if (f != null) {
3248
+ writer.writeString(
3249
+ 500,
3250
+ f
3251
+ );
3252
+ }
2869
3253
  };
2870
3254
 
2871
3255
 
@@ -2887,6 +3271,42 @@ proto.browserstack.sdk.v1.FindNearestHubRequest.prototype.setBinSessionId = func
2887
3271
  };
2888
3272
 
2889
3273
 
3274
+ /**
3275
+ * optional string client_worker_id = 500;
3276
+ * @return {string}
3277
+ */
3278
+ proto.browserstack.sdk.v1.FindNearestHubRequest.prototype.getClientWorkerId = function() {
3279
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 500, ""));
3280
+ };
3281
+
3282
+
3283
+ /**
3284
+ * @param {string} value
3285
+ * @return {!proto.browserstack.sdk.v1.FindNearestHubRequest} returns this
3286
+ */
3287
+ proto.browserstack.sdk.v1.FindNearestHubRequest.prototype.setClientWorkerId = function(value) {
3288
+ return jspb.Message.setField(this, 500, value);
3289
+ };
3290
+
3291
+
3292
+ /**
3293
+ * Clears the field making it undefined.
3294
+ * @return {!proto.browserstack.sdk.v1.FindNearestHubRequest} returns this
3295
+ */
3296
+ proto.browserstack.sdk.v1.FindNearestHubRequest.prototype.clearClientWorkerId = function() {
3297
+ return jspb.Message.setField(this, 500, undefined);
3298
+ };
3299
+
3300
+
3301
+ /**
3302
+ * Returns whether this field is set.
3303
+ * @return {boolean}
3304
+ */
3305
+ proto.browserstack.sdk.v1.FindNearestHubRequest.prototype.hasClientWorkerId = function() {
3306
+ return jspb.Message.getField(this, 500) != null;
3307
+ };
3308
+
3309
+
2890
3310
 
2891
3311
 
2892
3312
 
@@ -3097,7 +3517,10 @@ proto.browserstack.sdk.v1.StartBinSessionRequest.toObject = function(includeInst
3097
3517
  frameworkVersionsMap: (f = msg.getFrameworkVersionsMap()) ? f.toObject(includeInstance, undefined) : [],
3098
3518
  language: jspb.Message.getFieldWithDefault(msg, 10, ""),
3099
3519
  languageVersion: jspb.Message.getFieldWithDefault(msg, 11, ""),
3100
- testFramework: jspb.Message.getFieldWithDefault(msg, 12, "")
3520
+ testFramework: jspb.Message.getFieldWithDefault(msg, 12, ""),
3521
+ wdioConfig: jspb.Message.getFieldWithDefault(msg, 13, ""),
3522
+ clientWorkerId: jspb.Message.getFieldWithDefault(msg, 500, ""),
3523
+ platformIndex: jspb.Message.getFieldWithDefault(msg, 501, "")
3101
3524
  };
3102
3525
 
3103
3526
  if (includeInstance) {
@@ -3186,6 +3609,18 @@ proto.browserstack.sdk.v1.StartBinSessionRequest.deserializeBinaryFromReader = f
3186
3609
  var value = /** @type {string} */ (reader.readString());
3187
3610
  msg.setTestFramework(value);
3188
3611
  break;
3612
+ case 13:
3613
+ var value = /** @type {string} */ (reader.readString());
3614
+ msg.setWdioConfig(value);
3615
+ break;
3616
+ case 500:
3617
+ var value = /** @type {string} */ (reader.readString());
3618
+ msg.setClientWorkerId(value);
3619
+ break;
3620
+ case 501:
3621
+ var value = /** @type {string} */ (reader.readString());
3622
+ msg.setPlatformIndex(value);
3623
+ break;
3189
3624
  default:
3190
3625
  reader.skipField();
3191
3626
  break;
@@ -3293,6 +3728,27 @@ proto.browserstack.sdk.v1.StartBinSessionRequest.serializeBinaryToWriter = funct
3293
3728
  f
3294
3729
  );
3295
3730
  }
3731
+ f = /** @type {string} */ (jspb.Message.getField(message, 13));
3732
+ if (f != null) {
3733
+ writer.writeString(
3734
+ 13,
3735
+ f
3736
+ );
3737
+ }
3738
+ f = /** @type {string} */ (jspb.Message.getField(message, 500));
3739
+ if (f != null) {
3740
+ writer.writeString(
3741
+ 500,
3742
+ f
3743
+ );
3744
+ }
3745
+ f = /** @type {string} */ (jspb.Message.getField(message, 501));
3746
+ if (f != null) {
3747
+ writer.writeString(
3748
+ 501,
3749
+ f
3750
+ );
3751
+ }
3296
3752
  };
3297
3753
 
3298
3754
 
@@ -3576,6 +4032,114 @@ proto.browserstack.sdk.v1.StartBinSessionRequest.prototype.setTestFramework = fu
3576
4032
  };
3577
4033
 
3578
4034
 
4035
+ /**
4036
+ * optional string wdio_config = 13;
4037
+ * @return {string}
4038
+ */
4039
+ proto.browserstack.sdk.v1.StartBinSessionRequest.prototype.getWdioConfig = function() {
4040
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
4041
+ };
4042
+
4043
+
4044
+ /**
4045
+ * @param {string} value
4046
+ * @return {!proto.browserstack.sdk.v1.StartBinSessionRequest} returns this
4047
+ */
4048
+ proto.browserstack.sdk.v1.StartBinSessionRequest.prototype.setWdioConfig = function(value) {
4049
+ return jspb.Message.setField(this, 13, value);
4050
+ };
4051
+
4052
+
4053
+ /**
4054
+ * Clears the field making it undefined.
4055
+ * @return {!proto.browserstack.sdk.v1.StartBinSessionRequest} returns this
4056
+ */
4057
+ proto.browserstack.sdk.v1.StartBinSessionRequest.prototype.clearWdioConfig = function() {
4058
+ return jspb.Message.setField(this, 13, undefined);
4059
+ };
4060
+
4061
+
4062
+ /**
4063
+ * Returns whether this field is set.
4064
+ * @return {boolean}
4065
+ */
4066
+ proto.browserstack.sdk.v1.StartBinSessionRequest.prototype.hasWdioConfig = function() {
4067
+ return jspb.Message.getField(this, 13) != null;
4068
+ };
4069
+
4070
+
4071
+ /**
4072
+ * optional string client_worker_id = 500;
4073
+ * @return {string}
4074
+ */
4075
+ proto.browserstack.sdk.v1.StartBinSessionRequest.prototype.getClientWorkerId = function() {
4076
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 500, ""));
4077
+ };
4078
+
4079
+
4080
+ /**
4081
+ * @param {string} value
4082
+ * @return {!proto.browserstack.sdk.v1.StartBinSessionRequest} returns this
4083
+ */
4084
+ proto.browserstack.sdk.v1.StartBinSessionRequest.prototype.setClientWorkerId = function(value) {
4085
+ return jspb.Message.setField(this, 500, value);
4086
+ };
4087
+
4088
+
4089
+ /**
4090
+ * Clears the field making it undefined.
4091
+ * @return {!proto.browserstack.sdk.v1.StartBinSessionRequest} returns this
4092
+ */
4093
+ proto.browserstack.sdk.v1.StartBinSessionRequest.prototype.clearClientWorkerId = function() {
4094
+ return jspb.Message.setField(this, 500, undefined);
4095
+ };
4096
+
4097
+
4098
+ /**
4099
+ * Returns whether this field is set.
4100
+ * @return {boolean}
4101
+ */
4102
+ proto.browserstack.sdk.v1.StartBinSessionRequest.prototype.hasClientWorkerId = function() {
4103
+ return jspb.Message.getField(this, 500) != null;
4104
+ };
4105
+
4106
+
4107
+ /**
4108
+ * optional string platform_index = 501;
4109
+ * @return {string}
4110
+ */
4111
+ proto.browserstack.sdk.v1.StartBinSessionRequest.prototype.getPlatformIndex = function() {
4112
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 501, ""));
4113
+ };
4114
+
4115
+
4116
+ /**
4117
+ * @param {string} value
4118
+ * @return {!proto.browserstack.sdk.v1.StartBinSessionRequest} returns this
4119
+ */
4120
+ proto.browserstack.sdk.v1.StartBinSessionRequest.prototype.setPlatformIndex = function(value) {
4121
+ return jspb.Message.setField(this, 501, value);
4122
+ };
4123
+
4124
+
4125
+ /**
4126
+ * Clears the field making it undefined.
4127
+ * @return {!proto.browserstack.sdk.v1.StartBinSessionRequest} returns this
4128
+ */
4129
+ proto.browserstack.sdk.v1.StartBinSessionRequest.prototype.clearPlatformIndex = function() {
4130
+ return jspb.Message.setField(this, 501, undefined);
4131
+ };
4132
+
4133
+
4134
+ /**
4135
+ * Returns whether this field is set.
4136
+ * @return {boolean}
4137
+ */
4138
+ proto.browserstack.sdk.v1.StartBinSessionRequest.prototype.hasPlatformIndex = function() {
4139
+ return jspb.Message.getField(this, 501) != null;
4140
+ };
4141
+
4142
+
3579
4143
 
3580
4144
 
3581
4145
 
@@ -3614,7 +4178,9 @@ proto.browserstack.sdk.v1.StartBinSessionResponse.toObject = function(includeIns
3614
4178
  observability: (f = msg.getObservability()) && sdk$messages$observability_pb.Observability.toObject(includeInstance, f),
3615
4179
  accessibility: (f = msg.getAccessibility()) && sdk$messages$accessibility_pb.Accessibility.toObject(includeInstance, f),
3616
4180
  percy: (f = msg.getPercy()) && sdk$messages$percy_pb.Percy.toObject(includeInstance, f),
3617
- cliArgs: jspb.Message.getFieldWithDefault(msg, 7, "")
4181
+ cliArgs: jspb.Message.getFieldWithDefault(msg, 7, ""),
4182
+ sessionFramework: jspb.Message.getFieldWithDefault(msg, 8, ""),
4183
+ maxSupportedPlaywrightVersion: jspb.Message.getFieldWithDefault(msg, 9, "")
3618
4184
  };
3619
4185
 
3620
4186
  if (includeInstance) {
@@ -3683,6 +4249,14 @@ proto.browserstack.sdk.v1.StartBinSessionResponse.deserializeBinaryFromReader =
3683
4249
  var value = /** @type {string} */ (reader.readString());
3684
4250
  msg.setCliArgs(value);
3685
4251
  break;
4252
+ case 8:
4253
+ var value = /** @type {string} */ (reader.readString());
4254
+ msg.setSessionFramework(value);
4255
+ break;
4256
+ case 9:
4257
+ var value = /** @type {string} */ (reader.readString());
4258
+ msg.setMaxSupportedPlaywrightVersion(value);
4259
+ break;
3686
4260
  default:
3687
4261
  reader.skipField();
3688
4262
  break;
@@ -3765,6 +4339,20 @@ proto.browserstack.sdk.v1.StartBinSessionResponse.serializeBinaryToWriter = func
3765
4339
  f
3766
4340
  );
3767
4341
  }
4342
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
4343
+ if (f != null) {
4344
+ writer.writeString(
4345
+ 8,
4346
+ f
4347
+ );
4348
+ }
4349
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
4350
+ if (f != null) {
4351
+ writer.writeString(
4352
+ 9,
4353
+ f
4354
+ );
4355
+ }
3768
4356
  };
3769
4357
 
3770
4358
 
@@ -3988,31 +4576,103 @@ proto.browserstack.sdk.v1.StartBinSessionResponse.prototype.hasCliArgs = functio
3988
4576
  };
3989
4577
 
3990
4578
 
3991
-
3992
-
3993
-
3994
- if (jspb.Message.GENERATE_TO_OBJECT) {
3995
4579
  /**
3996
- * Creates an object representation of this proto.
3997
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3998
- * Optional fields that are not set will be set to undefined.
3999
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4000
- * For the list of reserved names please see:
4001
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4002
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4003
- * JSPB instance for transitional soy proto support:
4004
- * http://goto/soy-param-migration
4005
- * @return {!Object}
4580
+ * optional string session_framework = 8;
4581
+ * @return {string}
4006
4582
  */
4007
- proto.browserstack.sdk.v1.ConnectBinSessionResponse.prototype.toObject = function(opt_includeInstance) {
4008
- return proto.browserstack.sdk.v1.ConnectBinSessionResponse.toObject(opt_includeInstance, this);
4583
+ proto.browserstack.sdk.v1.StartBinSessionResponse.prototype.getSessionFramework = function() {
4584
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
4009
4585
  };
4010
4586
 
4011
4587
 
4012
4588
  /**
4013
- * Static version of the {@see toObject} method.
4014
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4015
- * the JSPB instance for transitional soy proto support:
4589
+ * @param {string} value
4590
+ * @return {!proto.browserstack.sdk.v1.StartBinSessionResponse} returns this
4591
+ */
4592
+ proto.browserstack.sdk.v1.StartBinSessionResponse.prototype.setSessionFramework = function(value) {
4593
+ return jspb.Message.setField(this, 8, value);
4594
+ };
4595
+
4596
+
4597
+ /**
4598
+ * Clears the field making it undefined.
4599
+ * @return {!proto.browserstack.sdk.v1.StartBinSessionResponse} returns this
4600
+ */
4601
+ proto.browserstack.sdk.v1.StartBinSessionResponse.prototype.clearSessionFramework = function() {
4602
+ return jspb.Message.setField(this, 8, undefined);
4603
+ };
4604
+
4605
+
4606
+ /**
4607
+ * Returns whether this field is set.
4608
+ * @return {boolean}
4609
+ */
4610
+ proto.browserstack.sdk.v1.StartBinSessionResponse.prototype.hasSessionFramework = function() {
4611
+ return jspb.Message.getField(this, 8) != null;
4612
+ };
4613
+
4614
+
4615
+ /**
4616
+ * optional string max_supported_playwright_version = 9;
4617
+ * @return {string}
4618
+ */
4619
+ proto.browserstack.sdk.v1.StartBinSessionResponse.prototype.getMaxSupportedPlaywrightVersion = function() {
4620
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
4621
+ };
4622
+
4623
+
4624
+ /**
4625
+ * @param {string} value
4626
+ * @return {!proto.browserstack.sdk.v1.StartBinSessionResponse} returns this
4627
+ */
4628
+ proto.browserstack.sdk.v1.StartBinSessionResponse.prototype.setMaxSupportedPlaywrightVersion = function(value) {
4629
+ return jspb.Message.setField(this, 9, value);
4630
+ };
4631
+
4632
+
4633
+ /**
4634
+ * Clears the field making it undefined.
4635
+ * @return {!proto.browserstack.sdk.v1.StartBinSessionResponse} returns this
4636
+ */
4637
+ proto.browserstack.sdk.v1.StartBinSessionResponse.prototype.clearMaxSupportedPlaywrightVersion = function() {
4638
+ return jspb.Message.setField(this, 9, undefined);
4639
+ };
4640
+
4641
+
4642
+ /**
4643
+ * Returns whether this field is set.
4644
+ * @return {boolean}
4645
+ */
4646
+ proto.browserstack.sdk.v1.StartBinSessionResponse.prototype.hasMaxSupportedPlaywrightVersion = function() {
4647
+ return jspb.Message.getField(this, 9) != null;
4648
+ };
4649
+
4650
+
4651
+
4652
+
4653
+
4654
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4655
+ /**
4656
+ * Creates an object representation of this proto.
4657
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4658
+ * Optional fields that are not set will be set to undefined.
4659
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4660
+ * For the list of reserved names please see:
4661
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4662
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4663
+ * JSPB instance for transitional soy proto support:
4664
+ * http://goto/soy-param-migration
4665
+ * @return {!Object}
4666
+ */
4667
+ proto.browserstack.sdk.v1.ConnectBinSessionResponse.prototype.toObject = function(opt_includeInstance) {
4668
+ return proto.browserstack.sdk.v1.ConnectBinSessionResponse.toObject(opt_includeInstance, this);
4669
+ };
4670
+
4671
+
4672
+ /**
4673
+ * Static version of the {@see toObject} method.
4674
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4675
+ * the JSPB instance for transitional soy proto support:
4016
4676
  * http://goto/soy-param-migration
4017
4677
  * @param {!proto.browserstack.sdk.v1.ConnectBinSessionResponse} msg The msg instance to transform.
4018
4678
  * @return {!Object}
@@ -4025,7 +4685,9 @@ proto.browserstack.sdk.v1.ConnectBinSessionResponse.toObject = function(includeI
4025
4685
  testhub: (f = msg.getTesthub()) && sdk$messages$testhub_pb.TestHub.toObject(includeInstance, f),
4026
4686
  observability: (f = msg.getObservability()) && sdk$messages$observability_pb.Observability.toObject(includeInstance, f),
4027
4687
  accessibility: (f = msg.getAccessibility()) && sdk$messages$accessibility_pb.Accessibility.toObject(includeInstance, f),
4028
- percy: (f = msg.getPercy()) && sdk$messages$percy_pb.Percy.toObject(includeInstance, f)
4688
+ percy: (f = msg.getPercy()) && sdk$messages$percy_pb.Percy.toObject(includeInstance, f),
4689
+ sessionFramework: jspb.Message.getFieldWithDefault(msg, 7, ""),
4690
+ testOrchestration: (f = msg.getTestOrchestration()) && proto.browserstack.sdk.v1.TestOrchestration.toObject(includeInstance, f)
4029
4691
  };
4030
4692
 
4031
4693
  if (includeInstance) {
@@ -4090,6 +4752,15 @@ proto.browserstack.sdk.v1.ConnectBinSessionResponse.deserializeBinaryFromReader
4090
4752
  reader.readMessage(value,sdk$messages$percy_pb.Percy.deserializeBinaryFromReader);
4091
4753
  msg.setPercy(value);
4092
4754
  break;
4755
+ case 7:
4756
+ var value = /** @type {string} */ (reader.readString());
4757
+ msg.setSessionFramework(value);
4758
+ break;
4759
+ case 8:
4760
+ var value = new proto.browserstack.sdk.v1.TestOrchestration;
4761
+ reader.readMessage(value,proto.browserstack.sdk.v1.TestOrchestration.deserializeBinaryFromReader);
4762
+ msg.setTestOrchestration(value);
4763
+ break;
4093
4764
  default:
4094
4765
  reader.skipField();
4095
4766
  break;
@@ -4165,6 +4836,21 @@ proto.browserstack.sdk.v1.ConnectBinSessionResponse.serializeBinaryToWriter = fu
4165
4836
  sdk$messages$percy_pb.Percy.serializeBinaryToWriter
4166
4837
  );
4167
4838
  }
4839
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
4840
+ if (f != null) {
4841
+ writer.writeString(
4842
+ 7,
4843
+ f
4844
+ );
4845
+ }
4846
+ f = message.getTestOrchestration();
4847
+ if (f != null) {
4848
+ writer.writeMessage(
4849
+ 8,
4850
+ f,
4851
+ proto.browserstack.sdk.v1.TestOrchestration.serializeBinaryToWriter
4852
+ );
4853
+ }
4168
4854
  };
4169
4855
 
4170
4856
 
@@ -4310,45 +4996,1463 @@ proto.browserstack.sdk.v1.ConnectBinSessionResponse.prototype.clearAccessibility
4310
4996
  * Returns whether this field is set.
4311
4997
  * @return {boolean}
4312
4998
  */
4313
- proto.browserstack.sdk.v1.ConnectBinSessionResponse.prototype.hasAccessibility = function() {
4314
- return jspb.Message.getField(this, 5) != null;
4999
+ proto.browserstack.sdk.v1.ConnectBinSessionResponse.prototype.hasAccessibility = function() {
5000
+ return jspb.Message.getField(this, 5) != null;
5001
+ };
5002
+
5003
+
5004
+ /**
5005
+ * optional Percy percy = 6;
5006
+ * @return {?proto.browserstack.sdk.v1.Percy}
5007
+ */
5008
+ proto.browserstack.sdk.v1.ConnectBinSessionResponse.prototype.getPercy = function() {
5009
+ return /** @type{?proto.browserstack.sdk.v1.Percy} */ (
5010
+ jspb.Message.getWrapperField(this, sdk$messages$percy_pb.Percy, 6));
5011
+ };
5012
+
5013
+
5014
+ /**
5015
+ * @param {?proto.browserstack.sdk.v1.Percy|undefined} value
5016
+ * @return {!proto.browserstack.sdk.v1.ConnectBinSessionResponse} returns this
5017
+ */
5018
+ proto.browserstack.sdk.v1.ConnectBinSessionResponse.prototype.setPercy = function(value) {
5019
+ return jspb.Message.setWrapperField(this, 6, value);
5020
+ };
5021
+
5022
+
5023
+ /**
5024
+ * Clears the message field making it undefined.
5025
+ * @return {!proto.browserstack.sdk.v1.ConnectBinSessionResponse} returns this
5026
+ */
5027
+ proto.browserstack.sdk.v1.ConnectBinSessionResponse.prototype.clearPercy = function() {
5028
+ return this.setPercy(undefined);
5029
+ };
5030
+
5031
+
5032
+ /**
5033
+ * Returns whether this field is set.
5034
+ * @return {boolean}
5035
+ */
5036
+ proto.browserstack.sdk.v1.ConnectBinSessionResponse.prototype.hasPercy = function() {
5037
+ return jspb.Message.getField(this, 6) != null;
5038
+ };
5039
+
5040
+
5041
+ /**
5042
+ * optional string session_framework = 7;
5043
+ * @return {string}
5044
+ */
5045
+ proto.browserstack.sdk.v1.ConnectBinSessionResponse.prototype.getSessionFramework = function() {
5046
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
5047
+ };
5048
+
5049
+
5050
+ /**
5051
+ * @param {string} value
5052
+ * @return {!proto.browserstack.sdk.v1.ConnectBinSessionResponse} returns this
5053
+ */
5054
+ proto.browserstack.sdk.v1.ConnectBinSessionResponse.prototype.setSessionFramework = function(value) {
5055
+ return jspb.Message.setField(this, 7, value);
5056
+ };
5057
+
5058
+
5059
+ /**
5060
+ * Clears the field making it undefined.
5061
+ * @return {!proto.browserstack.sdk.v1.ConnectBinSessionResponse} returns this
5062
+ */
5063
+ proto.browserstack.sdk.v1.ConnectBinSessionResponse.prototype.clearSessionFramework = function() {
5064
+ return jspb.Message.setField(this, 7, undefined);
5065
+ };
5066
+
5067
+
5068
+ /**
5069
+ * Returns whether this field is set.
5070
+ * @return {boolean}
5071
+ */
5072
+ proto.browserstack.sdk.v1.ConnectBinSessionResponse.prototype.hasSessionFramework = function() {
5073
+ return jspb.Message.getField(this, 7) != null;
5074
+ };
5075
+
5076
+
5077
+ /**
5078
+ * optional TestOrchestration test_orchestration = 8;
5079
+ * @return {?proto.browserstack.sdk.v1.TestOrchestration}
5080
+ */
5081
+ proto.browserstack.sdk.v1.ConnectBinSessionResponse.prototype.getTestOrchestration = function() {
5082
+ return /** @type{?proto.browserstack.sdk.v1.TestOrchestration} */ (
5083
+ jspb.Message.getWrapperField(this, proto.browserstack.sdk.v1.TestOrchestration, 8));
5084
+ };
5085
+
5086
+
5087
+ /**
5088
+ * @param {?proto.browserstack.sdk.v1.TestOrchestration|undefined} value
5089
+ * @return {!proto.browserstack.sdk.v1.ConnectBinSessionResponse} returns this
5090
+ */
5091
+ proto.browserstack.sdk.v1.ConnectBinSessionResponse.prototype.setTestOrchestration = function(value) {
5092
+ return jspb.Message.setWrapperField(this, 8, value);
5093
+ };
5094
+
5095
+
5096
+ /**
5097
+ * Clears the message field making it undefined.
5098
+ * @return {!proto.browserstack.sdk.v1.ConnectBinSessionResponse} returns this
5099
+ */
5100
+ proto.browserstack.sdk.v1.ConnectBinSessionResponse.prototype.clearTestOrchestration = function() {
5101
+ return this.setTestOrchestration(undefined);
5102
+ };
5103
+
5104
+
5105
+ /**
5106
+ * Returns whether this field is set.
5107
+ * @return {boolean}
5108
+ */
5109
+ proto.browserstack.sdk.v1.ConnectBinSessionResponse.prototype.hasTestOrchestration = function() {
5110
+ return jspb.Message.getField(this, 8) != null;
5111
+ };
5112
+
5113
+
5114
+
5115
+
5116
+
5117
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5118
+ /**
5119
+ * Creates an object representation of this proto.
5120
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5121
+ * Optional fields that are not set will be set to undefined.
5122
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5123
+ * For the list of reserved names please see:
5124
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5125
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5126
+ * JSPB instance for transitional soy proto support:
5127
+ * http://goto/soy-param-migration
5128
+ * @return {!Object}
5129
+ */
5130
+ proto.browserstack.sdk.v1.TestOrchestration.prototype.toObject = function(opt_includeInstance) {
5131
+ return proto.browserstack.sdk.v1.TestOrchestration.toObject(opt_includeInstance, this);
5132
+ };
5133
+
5134
+
5135
+ /**
5136
+ * Static version of the {@see toObject} method.
5137
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5138
+ * the JSPB instance for transitional soy proto support:
5139
+ * http://goto/soy-param-migration
5140
+ * @param {!proto.browserstack.sdk.v1.TestOrchestration} msg The msg instance to transform.
5141
+ * @return {!Object}
5142
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5143
+ */
5144
+ proto.browserstack.sdk.v1.TestOrchestration.toObject = function(includeInstance, msg) {
5145
+ var f, obj = {
5146
+ runPreviouslyFailedFirst: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
5147
+ retryTestsOnFailure: (f = msg.getRetryTestsOnFailure()) && proto.browserstack.sdk.v1.RetryTestsOnFailure.toObject(includeInstance, f),
5148
+ abortBuildOnFailure: (f = msg.getAbortBuildOnFailure()) && proto.browserstack.sdk.v1.AbortBuildOnFailure.toObject(includeInstance, f),
5149
+ rerunPreviouslyFailed: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
5150
+ skipFailingAndFlaky: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
5151
+ runSmartSelection: (f = msg.getRunSmartSelection()) && proto.browserstack.sdk.v1.RunSmartSelection.toObject(includeInstance, f)
5152
+ };
5153
+
5154
+ if (includeInstance) {
5155
+ obj.$jspbMessageInstance = msg;
5156
+ }
5157
+ return obj;
5158
+ };
5159
+ }
5160
+
5161
+
5162
+ /**
5163
+ * Deserializes binary data (in protobuf wire format).
5164
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5165
+ * @return {!proto.browserstack.sdk.v1.TestOrchestration}
5166
+ */
5167
+ proto.browserstack.sdk.v1.TestOrchestration.deserializeBinary = function(bytes) {
5168
+ var reader = new jspb.BinaryReader(bytes);
5169
+ var msg = new proto.browserstack.sdk.v1.TestOrchestration;
5170
+ return proto.browserstack.sdk.v1.TestOrchestration.deserializeBinaryFromReader(msg, reader);
5171
+ };
5172
+
5173
+
5174
+ /**
5175
+ * Deserializes binary data (in protobuf wire format) from the
5176
+ * given reader into the given message object.
5177
+ * @param {!proto.browserstack.sdk.v1.TestOrchestration} msg The message object to deserialize into.
5178
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5179
+ * @return {!proto.browserstack.sdk.v1.TestOrchestration}
5180
+ */
5181
+ proto.browserstack.sdk.v1.TestOrchestration.deserializeBinaryFromReader = function(msg, reader) {
5182
+ while (reader.nextField()) {
5183
+ if (reader.isEndGroup()) {
5184
+ break;
5185
+ }
5186
+ var field = reader.getFieldNumber();
5187
+ switch (field) {
5188
+ case 1:
5189
+ var value = /** @type {boolean} */ (reader.readBool());
5190
+ msg.setRunPreviouslyFailedFirst(value);
5191
+ break;
5192
+ case 2:
5193
+ var value = new proto.browserstack.sdk.v1.RetryTestsOnFailure;
5194
+ reader.readMessage(value,proto.browserstack.sdk.v1.RetryTestsOnFailure.deserializeBinaryFromReader);
5195
+ msg.setRetryTestsOnFailure(value);
5196
+ break;
5197
+ case 3:
5198
+ var value = new proto.browserstack.sdk.v1.AbortBuildOnFailure;
5199
+ reader.readMessage(value,proto.browserstack.sdk.v1.AbortBuildOnFailure.deserializeBinaryFromReader);
5200
+ msg.setAbortBuildOnFailure(value);
5201
+ break;
5202
+ case 4:
5203
+ var value = /** @type {boolean} */ (reader.readBool());
5204
+ msg.setRerunPreviouslyFailed(value);
5205
+ break;
5206
+ case 5:
5207
+ var value = /** @type {boolean} */ (reader.readBool());
5208
+ msg.setSkipFailingAndFlaky(value);
5209
+ break;
5210
+ case 6:
5211
+ var value = new proto.browserstack.sdk.v1.RunSmartSelection;
5212
+ reader.readMessage(value,proto.browserstack.sdk.v1.RunSmartSelection.deserializeBinaryFromReader);
5213
+ msg.setRunSmartSelection(value);
5214
+ break;
5215
+ default:
5216
+ reader.skipField();
5217
+ break;
5218
+ }
5219
+ }
5220
+ return msg;
5221
+ };
5222
+
5223
+
5224
+ /**
5225
+ * Serializes the message to binary data (in protobuf wire format).
5226
+ * @return {!Uint8Array}
5227
+ */
5228
+ proto.browserstack.sdk.v1.TestOrchestration.prototype.serializeBinary = function() {
5229
+ var writer = new jspb.BinaryWriter();
5230
+ proto.browserstack.sdk.v1.TestOrchestration.serializeBinaryToWriter(this, writer);
5231
+ return writer.getResultBuffer();
5232
+ };
5233
+
5234
+
5235
+ /**
5236
+ * Serializes the given message to binary data (in protobuf wire
5237
+ * format), writing to the given BinaryWriter.
5238
+ * @param {!proto.browserstack.sdk.v1.TestOrchestration} message
5239
+ * @param {!jspb.BinaryWriter} writer
5240
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5241
+ */
5242
+ proto.browserstack.sdk.v1.TestOrchestration.serializeBinaryToWriter = function(message, writer) {
5243
+ var f = undefined;
5244
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 1));
5245
+ if (f != null) {
5246
+ writer.writeBool(
5247
+ 1,
5248
+ f
5249
+ );
5250
+ }
5251
+ f = message.getRetryTestsOnFailure();
5252
+ if (f != null) {
5253
+ writer.writeMessage(
5254
+ 2,
5255
+ f,
5256
+ proto.browserstack.sdk.v1.RetryTestsOnFailure.serializeBinaryToWriter
5257
+ );
5258
+ }
5259
+ f = message.getAbortBuildOnFailure();
5260
+ if (f != null) {
5261
+ writer.writeMessage(
5262
+ 3,
5263
+ f,
5264
+ proto.browserstack.sdk.v1.AbortBuildOnFailure.serializeBinaryToWriter
5265
+ );
5266
+ }
5267
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 4));
5268
+ if (f != null) {
5269
+ writer.writeBool(
5270
+ 4,
5271
+ f
5272
+ );
5273
+ }
5274
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 5));
5275
+ if (f != null) {
5276
+ writer.writeBool(
5277
+ 5,
5278
+ f
5279
+ );
5280
+ }
5281
+ f = message.getRunSmartSelection();
5282
+ if (f != null) {
5283
+ writer.writeMessage(
5284
+ 6,
5285
+ f,
5286
+ proto.browserstack.sdk.v1.RunSmartSelection.serializeBinaryToWriter
5287
+ );
5288
+ }
5289
+ };
5290
+
5291
+
5292
+ /**
5293
+ * optional bool run_previously_failed_first = 1;
5294
+ * @return {boolean}
5295
+ */
5296
+ proto.browserstack.sdk.v1.TestOrchestration.prototype.getRunPreviouslyFailedFirst = function() {
5297
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
5298
+ };
5299
+
5300
+
5301
+ /**
5302
+ * @param {boolean} value
5303
+ * @return {!proto.browserstack.sdk.v1.TestOrchestration} returns this
5304
+ */
5305
+ proto.browserstack.sdk.v1.TestOrchestration.prototype.setRunPreviouslyFailedFirst = function(value) {
5306
+ return jspb.Message.setField(this, 1, value);
5307
+ };
5308
+
5309
+
5310
+ /**
5311
+ * Clears the field making it undefined.
5312
+ * @return {!proto.browserstack.sdk.v1.TestOrchestration} returns this
5313
+ */
5314
+ proto.browserstack.sdk.v1.TestOrchestration.prototype.clearRunPreviouslyFailedFirst = function() {
5315
+ return jspb.Message.setField(this, 1, undefined);
5316
+ };
5317
+
5318
+
5319
+ /**
5320
+ * Returns whether this field is set.
5321
+ * @return {boolean}
5322
+ */
5323
+ proto.browserstack.sdk.v1.TestOrchestration.prototype.hasRunPreviouslyFailedFirst = function() {
5324
+ return jspb.Message.getField(this, 1) != null;
5325
+ };
5326
+
5327
+
5328
+ /**
5329
+ * optional RetryTestsOnFailure retry_tests_on_failure = 2;
5330
+ * @return {?proto.browserstack.sdk.v1.RetryTestsOnFailure}
5331
+ */
5332
+ proto.browserstack.sdk.v1.TestOrchestration.prototype.getRetryTestsOnFailure = function() {
5333
+ return /** @type{?proto.browserstack.sdk.v1.RetryTestsOnFailure} */ (
5334
+ jspb.Message.getWrapperField(this, proto.browserstack.sdk.v1.RetryTestsOnFailure, 2));
5335
+ };
5336
+
5337
+
5338
+ /**
5339
+ * @param {?proto.browserstack.sdk.v1.RetryTestsOnFailure|undefined} value
5340
+ * @return {!proto.browserstack.sdk.v1.TestOrchestration} returns this
5341
+ */
5342
+ proto.browserstack.sdk.v1.TestOrchestration.prototype.setRetryTestsOnFailure = function(value) {
5343
+ return jspb.Message.setWrapperField(this, 2, value);
5344
+ };
5345
+
5346
+
5347
+ /**
5348
+ * Clears the message field making it undefined.
5349
+ * @return {!proto.browserstack.sdk.v1.TestOrchestration} returns this
5350
+ */
5351
+ proto.browserstack.sdk.v1.TestOrchestration.prototype.clearRetryTestsOnFailure = function() {
5352
+ return this.setRetryTestsOnFailure(undefined);
5353
+ };
5354
+
5355
+
5356
+ /**
5357
+ * Returns whether this field is set.
5358
+ * @return {boolean}
5359
+ */
5360
+ proto.browserstack.sdk.v1.TestOrchestration.prototype.hasRetryTestsOnFailure = function() {
5361
+ return jspb.Message.getField(this, 2) != null;
5362
+ };
5363
+
5364
+
5365
+ /**
5366
+ * optional AbortBuildOnFailure abort_build_on_failure = 3;
5367
+ * @return {?proto.browserstack.sdk.v1.AbortBuildOnFailure}
5368
+ */
5369
+ proto.browserstack.sdk.v1.TestOrchestration.prototype.getAbortBuildOnFailure = function() {
5370
+ return /** @type{?proto.browserstack.sdk.v1.AbortBuildOnFailure} */ (
5371
+ jspb.Message.getWrapperField(this, proto.browserstack.sdk.v1.AbortBuildOnFailure, 3));
5372
+ };
5373
+
5374
+
5375
+ /**
5376
+ * @param {?proto.browserstack.sdk.v1.AbortBuildOnFailure|undefined} value
5377
+ * @return {!proto.browserstack.sdk.v1.TestOrchestration} returns this
5378
+ */
5379
+ proto.browserstack.sdk.v1.TestOrchestration.prototype.setAbortBuildOnFailure = function(value) {
5380
+ return jspb.Message.setWrapperField(this, 3, value);
5381
+ };
5382
+
5383
+
5384
+ /**
5385
+ * Clears the message field making it undefined.
5386
+ * @return {!proto.browserstack.sdk.v1.TestOrchestration} returns this
5387
+ */
5388
+ proto.browserstack.sdk.v1.TestOrchestration.prototype.clearAbortBuildOnFailure = function() {
5389
+ return this.setAbortBuildOnFailure(undefined);
5390
+ };
5391
+
5392
+
5393
+ /**
5394
+ * Returns whether this field is set.
5395
+ * @return {boolean}
5396
+ */
5397
+ proto.browserstack.sdk.v1.TestOrchestration.prototype.hasAbortBuildOnFailure = function() {
5398
+ return jspb.Message.getField(this, 3) != null;
5399
+ };
5400
+
5401
+
5402
+ /**
5403
+ * optional bool rerun_previously_failed = 4;
5404
+ * @return {boolean}
5405
+ */
5406
+ proto.browserstack.sdk.v1.TestOrchestration.prototype.getRerunPreviouslyFailed = function() {
5407
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
5408
+ };
5409
+
5410
+
5411
+ /**
5412
+ * @param {boolean} value
5413
+ * @return {!proto.browserstack.sdk.v1.TestOrchestration} returns this
5414
+ */
5415
+ proto.browserstack.sdk.v1.TestOrchestration.prototype.setRerunPreviouslyFailed = function(value) {
5416
+ return jspb.Message.setField(this, 4, value);
5417
+ };
5418
+
5419
+
5420
+ /**
5421
+ * Clears the field making it undefined.
5422
+ * @return {!proto.browserstack.sdk.v1.TestOrchestration} returns this
5423
+ */
5424
+ proto.browserstack.sdk.v1.TestOrchestration.prototype.clearRerunPreviouslyFailed = function() {
5425
+ return jspb.Message.setField(this, 4, undefined);
5426
+ };
5427
+
5428
+
5429
+ /**
5430
+ * Returns whether this field is set.
5431
+ * @return {boolean}
5432
+ */
5433
+ proto.browserstack.sdk.v1.TestOrchestration.prototype.hasRerunPreviouslyFailed = function() {
5434
+ return jspb.Message.getField(this, 4) != null;
5435
+ };
5436
+
5437
+
5438
+ /**
5439
+ * optional bool skip_failing_and_flaky = 5;
5440
+ * @return {boolean}
5441
+ */
5442
+ proto.browserstack.sdk.v1.TestOrchestration.prototype.getSkipFailingAndFlaky = function() {
5443
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
5444
+ };
5445
+
5446
+
5447
+ /**
5448
+ * @param {boolean} value
5449
+ * @return {!proto.browserstack.sdk.v1.TestOrchestration} returns this
5450
+ */
5451
+ proto.browserstack.sdk.v1.TestOrchestration.prototype.setSkipFailingAndFlaky = function(value) {
5452
+ return jspb.Message.setField(this, 5, value);
5453
+ };
5454
+
5455
+
5456
+ /**
5457
+ * Clears the field making it undefined.
5458
+ * @return {!proto.browserstack.sdk.v1.TestOrchestration} returns this
5459
+ */
5460
+ proto.browserstack.sdk.v1.TestOrchestration.prototype.clearSkipFailingAndFlaky = function() {
5461
+ return jspb.Message.setField(this, 5, undefined);
5462
+ };
5463
+
5464
+
5465
+ /**
5466
+ * Returns whether this field is set.
5467
+ * @return {boolean}
5468
+ */
5469
+ proto.browserstack.sdk.v1.TestOrchestration.prototype.hasSkipFailingAndFlaky = function() {
5470
+ return jspb.Message.getField(this, 5) != null;
5471
+ };
5472
+
5473
+
5474
+ /**
5475
+ * optional RunSmartSelection run_smart_selection = 6;
5476
+ * @return {?proto.browserstack.sdk.v1.RunSmartSelection}
5477
+ */
5478
+ proto.browserstack.sdk.v1.TestOrchestration.prototype.getRunSmartSelection = function() {
5479
+ return /** @type{?proto.browserstack.sdk.v1.RunSmartSelection} */ (
5480
+ jspb.Message.getWrapperField(this, proto.browserstack.sdk.v1.RunSmartSelection, 6));
5481
+ };
5482
+
5483
+
5484
+ /**
5485
+ * @param {?proto.browserstack.sdk.v1.RunSmartSelection|undefined} value
5486
+ * @return {!proto.browserstack.sdk.v1.TestOrchestration} returns this
5487
+ */
5488
+ proto.browserstack.sdk.v1.TestOrchestration.prototype.setRunSmartSelection = function(value) {
5489
+ return jspb.Message.setWrapperField(this, 6, value);
5490
+ };
5491
+
5492
+
5493
+ /**
5494
+ * Clears the message field making it undefined.
5495
+ * @return {!proto.browserstack.sdk.v1.TestOrchestration} returns this
5496
+ */
5497
+ proto.browserstack.sdk.v1.TestOrchestration.prototype.clearRunSmartSelection = function() {
5498
+ return this.setRunSmartSelection(undefined);
5499
+ };
5500
+
5501
+
5502
+ /**
5503
+ * Returns whether this field is set.
5504
+ * @return {boolean}
5505
+ */
5506
+ proto.browserstack.sdk.v1.TestOrchestration.prototype.hasRunSmartSelection = function() {
5507
+ return jspb.Message.getField(this, 6) != null;
5508
+ };
5509
+
5510
+
5511
+
5512
+
5513
+
5514
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5515
+ /**
5516
+ * Creates an object representation of this proto.
5517
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5518
+ * Optional fields that are not set will be set to undefined.
5519
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5520
+ * For the list of reserved names please see:
5521
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5522
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5523
+ * JSPB instance for transitional soy proto support:
5524
+ * http://goto/soy-param-migration
5525
+ * @return {!Object}
5526
+ */
5527
+ proto.browserstack.sdk.v1.RunSmartSelection.prototype.toObject = function(opt_includeInstance) {
5528
+ return proto.browserstack.sdk.v1.RunSmartSelection.toObject(opt_includeInstance, this);
5529
+ };
5530
+
5531
+
5532
+ /**
5533
+ * Static version of the {@see toObject} method.
5534
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5535
+ * the JSPB instance for transitional soy proto support:
5536
+ * http://goto/soy-param-migration
5537
+ * @param {!proto.browserstack.sdk.v1.RunSmartSelection} msg The msg instance to transform.
5538
+ * @return {!Object}
5539
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5540
+ */
5541
+ proto.browserstack.sdk.v1.RunSmartSelection.toObject = function(includeInstance, msg) {
5542
+ var f, obj = {
5543
+ enabled: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
5544
+ mode: jspb.Message.getFieldWithDefault(msg, 2, "")
5545
+ };
5546
+
5547
+ if (includeInstance) {
5548
+ obj.$jspbMessageInstance = msg;
5549
+ }
5550
+ return obj;
5551
+ };
5552
+ }
5553
+
5554
+
5555
+ /**
5556
+ * Deserializes binary data (in protobuf wire format).
5557
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5558
+ * @return {!proto.browserstack.sdk.v1.RunSmartSelection}
5559
+ */
5560
+ proto.browserstack.sdk.v1.RunSmartSelection.deserializeBinary = function(bytes) {
5561
+ var reader = new jspb.BinaryReader(bytes);
5562
+ var msg = new proto.browserstack.sdk.v1.RunSmartSelection;
5563
+ return proto.browserstack.sdk.v1.RunSmartSelection.deserializeBinaryFromReader(msg, reader);
5564
+ };
5565
+
5566
+
5567
+ /**
5568
+ * Deserializes binary data (in protobuf wire format) from the
5569
+ * given reader into the given message object.
5570
+ * @param {!proto.browserstack.sdk.v1.RunSmartSelection} msg The message object to deserialize into.
5571
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5572
+ * @return {!proto.browserstack.sdk.v1.RunSmartSelection}
5573
+ */
5574
+ proto.browserstack.sdk.v1.RunSmartSelection.deserializeBinaryFromReader = function(msg, reader) {
5575
+ while (reader.nextField()) {
5576
+ if (reader.isEndGroup()) {
5577
+ break;
5578
+ }
5579
+ var field = reader.getFieldNumber();
5580
+ switch (field) {
5581
+ case 1:
5582
+ var value = /** @type {boolean} */ (reader.readBool());
5583
+ msg.setEnabled(value);
5584
+ break;
5585
+ case 2:
5586
+ var value = /** @type {string} */ (reader.readString());
5587
+ msg.setMode(value);
5588
+ break;
5589
+ default:
5590
+ reader.skipField();
5591
+ break;
5592
+ }
5593
+ }
5594
+ return msg;
5595
+ };
5596
+
5597
+
5598
+ /**
5599
+ * Serializes the message to binary data (in protobuf wire format).
5600
+ * @return {!Uint8Array}
5601
+ */
5602
+ proto.browserstack.sdk.v1.RunSmartSelection.prototype.serializeBinary = function() {
5603
+ var writer = new jspb.BinaryWriter();
5604
+ proto.browserstack.sdk.v1.RunSmartSelection.serializeBinaryToWriter(this, writer);
5605
+ return writer.getResultBuffer();
5606
+ };
5607
+
5608
+
5609
+ /**
5610
+ * Serializes the given message to binary data (in protobuf wire
5611
+ * format), writing to the given BinaryWriter.
5612
+ * @param {!proto.browserstack.sdk.v1.RunSmartSelection} message
5613
+ * @param {!jspb.BinaryWriter} writer
5614
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5615
+ */
5616
+ proto.browserstack.sdk.v1.RunSmartSelection.serializeBinaryToWriter = function(message, writer) {
5617
+ var f = undefined;
5618
+ f = message.getEnabled();
5619
+ if (f) {
5620
+ writer.writeBool(
5621
+ 1,
5622
+ f
5623
+ );
5624
+ }
5625
+ f = message.getMode();
5626
+ if (f.length > 0) {
5627
+ writer.writeString(
5628
+ 2,
5629
+ f
5630
+ );
5631
+ }
5632
+ };
5633
+
5634
+
5635
+ /**
5636
+ * optional bool enabled = 1;
5637
+ * @return {boolean}
5638
+ */
5639
+ proto.browserstack.sdk.v1.RunSmartSelection.prototype.getEnabled = function() {
5640
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
5641
+ };
5642
+
5643
+
5644
+ /**
5645
+ * @param {boolean} value
5646
+ * @return {!proto.browserstack.sdk.v1.RunSmartSelection} returns this
5647
+ */
5648
+ proto.browserstack.sdk.v1.RunSmartSelection.prototype.setEnabled = function(value) {
5649
+ return jspb.Message.setProto3BooleanField(this, 1, value);
5650
+ };
5651
+
5652
+
5653
+ /**
5654
+ * optional string mode = 2;
5655
+ * @return {string}
5656
+ */
5657
+ proto.browserstack.sdk.v1.RunSmartSelection.prototype.getMode = function() {
5658
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
5659
+ };
5660
+
5661
+
5662
+ /**
5663
+ * @param {string} value
5664
+ * @return {!proto.browserstack.sdk.v1.RunSmartSelection} returns this
5665
+ */
5666
+ proto.browserstack.sdk.v1.RunSmartSelection.prototype.setMode = function(value) {
5667
+ return jspb.Message.setProto3StringField(this, 2, value);
5668
+ };
5669
+
5670
+
5671
+
5672
+
5673
+
5674
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5675
+ /**
5676
+ * Creates an object representation of this proto.
5677
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5678
+ * Optional fields that are not set will be set to undefined.
5679
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5680
+ * For the list of reserved names please see:
5681
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5682
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5683
+ * JSPB instance for transitional soy proto support:
5684
+ * http://goto/soy-param-migration
5685
+ * @return {!Object}
5686
+ */
5687
+ proto.browserstack.sdk.v1.RetryTestsOnFailure.prototype.toObject = function(opt_includeInstance) {
5688
+ return proto.browserstack.sdk.v1.RetryTestsOnFailure.toObject(opt_includeInstance, this);
5689
+ };
5690
+
5691
+
5692
+ /**
5693
+ * Static version of the {@see toObject} method.
5694
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5695
+ * the JSPB instance for transitional soy proto support:
5696
+ * http://goto/soy-param-migration
5697
+ * @param {!proto.browserstack.sdk.v1.RetryTestsOnFailure} msg The msg instance to transform.
5698
+ * @return {!Object}
5699
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5700
+ */
5701
+ proto.browserstack.sdk.v1.RetryTestsOnFailure.toObject = function(includeInstance, msg) {
5702
+ var f, obj = {
5703
+ enabled: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
5704
+ maxRetries: jspb.Message.getFieldWithDefault(msg, 2, 0)
5705
+ };
5706
+
5707
+ if (includeInstance) {
5708
+ obj.$jspbMessageInstance = msg;
5709
+ }
5710
+ return obj;
5711
+ };
5712
+ }
5713
+
5714
+
5715
+ /**
5716
+ * Deserializes binary data (in protobuf wire format).
5717
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5718
+ * @return {!proto.browserstack.sdk.v1.RetryTestsOnFailure}
5719
+ */
5720
+ proto.browserstack.sdk.v1.RetryTestsOnFailure.deserializeBinary = function(bytes) {
5721
+ var reader = new jspb.BinaryReader(bytes);
5722
+ var msg = new proto.browserstack.sdk.v1.RetryTestsOnFailure;
5723
+ return proto.browserstack.sdk.v1.RetryTestsOnFailure.deserializeBinaryFromReader(msg, reader);
5724
+ };
5725
+
5726
+
5727
+ /**
5728
+ * Deserializes binary data (in protobuf wire format) from the
5729
+ * given reader into the given message object.
5730
+ * @param {!proto.browserstack.sdk.v1.RetryTestsOnFailure} msg The message object to deserialize into.
5731
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5732
+ * @return {!proto.browserstack.sdk.v1.RetryTestsOnFailure}
5733
+ */
5734
+ proto.browserstack.sdk.v1.RetryTestsOnFailure.deserializeBinaryFromReader = function(msg, reader) {
5735
+ while (reader.nextField()) {
5736
+ if (reader.isEndGroup()) {
5737
+ break;
5738
+ }
5739
+ var field = reader.getFieldNumber();
5740
+ switch (field) {
5741
+ case 1:
5742
+ var value = /** @type {boolean} */ (reader.readBool());
5743
+ msg.setEnabled(value);
5744
+ break;
5745
+ case 2:
5746
+ var value = /** @type {number} */ (reader.readUint32());
5747
+ msg.setMaxRetries(value);
5748
+ break;
5749
+ default:
5750
+ reader.skipField();
5751
+ break;
5752
+ }
5753
+ }
5754
+ return msg;
5755
+ };
5756
+
5757
+
5758
+ /**
5759
+ * Serializes the message to binary data (in protobuf wire format).
5760
+ * @return {!Uint8Array}
5761
+ */
5762
+ proto.browserstack.sdk.v1.RetryTestsOnFailure.prototype.serializeBinary = function() {
5763
+ var writer = new jspb.BinaryWriter();
5764
+ proto.browserstack.sdk.v1.RetryTestsOnFailure.serializeBinaryToWriter(this, writer);
5765
+ return writer.getResultBuffer();
5766
+ };
5767
+
5768
+
5769
+ /**
5770
+ * Serializes the given message to binary data (in protobuf wire
5771
+ * format), writing to the given BinaryWriter.
5772
+ * @param {!proto.browserstack.sdk.v1.RetryTestsOnFailure} message
5773
+ * @param {!jspb.BinaryWriter} writer
5774
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5775
+ */
5776
+ proto.browserstack.sdk.v1.RetryTestsOnFailure.serializeBinaryToWriter = function(message, writer) {
5777
+ var f = undefined;
5778
+ f = message.getEnabled();
5779
+ if (f) {
5780
+ writer.writeBool(
5781
+ 1,
5782
+ f
5783
+ );
5784
+ }
5785
+ f = message.getMaxRetries();
5786
+ if (f !== 0) {
5787
+ writer.writeUint32(
5788
+ 2,
5789
+ f
5790
+ );
5791
+ }
5792
+ };
5793
+
5794
+
5795
+ /**
5796
+ * optional bool enabled = 1;
5797
+ * @return {boolean}
5798
+ */
5799
+ proto.browserstack.sdk.v1.RetryTestsOnFailure.prototype.getEnabled = function() {
5800
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
5801
+ };
5802
+
5803
+
5804
+ /**
5805
+ * @param {boolean} value
5806
+ * @return {!proto.browserstack.sdk.v1.RetryTestsOnFailure} returns this
5807
+ */
5808
+ proto.browserstack.sdk.v1.RetryTestsOnFailure.prototype.setEnabled = function(value) {
5809
+ return jspb.Message.setProto3BooleanField(this, 1, value);
5810
+ };
5811
+
5812
+
5813
+ /**
5814
+ * optional uint32 max_retries = 2;
5815
+ * @return {number}
5816
+ */
5817
+ proto.browserstack.sdk.v1.RetryTestsOnFailure.prototype.getMaxRetries = function() {
5818
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
5819
+ };
5820
+
5821
+
5822
+ /**
5823
+ * @param {number} value
5824
+ * @return {!proto.browserstack.sdk.v1.RetryTestsOnFailure} returns this
5825
+ */
5826
+ proto.browserstack.sdk.v1.RetryTestsOnFailure.prototype.setMaxRetries = function(value) {
5827
+ return jspb.Message.setProto3IntField(this, 2, value);
5828
+ };
5829
+
5830
+
5831
+
5832
+
5833
+
5834
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5835
+ /**
5836
+ * Creates an object representation of this proto.
5837
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5838
+ * Optional fields that are not set will be set to undefined.
5839
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5840
+ * For the list of reserved names please see:
5841
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5842
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5843
+ * JSPB instance for transitional soy proto support:
5844
+ * http://goto/soy-param-migration
5845
+ * @return {!Object}
5846
+ */
5847
+ proto.browserstack.sdk.v1.AbortBuildOnFailure.prototype.toObject = function(opt_includeInstance) {
5848
+ return proto.browserstack.sdk.v1.AbortBuildOnFailure.toObject(opt_includeInstance, this);
5849
+ };
5850
+
5851
+
5852
+ /**
5853
+ * Static version of the {@see toObject} method.
5854
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5855
+ * the JSPB instance for transitional soy proto support:
5856
+ * http://goto/soy-param-migration
5857
+ * @param {!proto.browserstack.sdk.v1.AbortBuildOnFailure} msg The msg instance to transform.
5858
+ * @return {!Object}
5859
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5860
+ */
5861
+ proto.browserstack.sdk.v1.AbortBuildOnFailure.toObject = function(includeInstance, msg) {
5862
+ var f, obj = {
5863
+ enabled: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
5864
+ maxFailures: jspb.Message.getFieldWithDefault(msg, 2, 0)
5865
+ };
5866
+
5867
+ if (includeInstance) {
5868
+ obj.$jspbMessageInstance = msg;
5869
+ }
5870
+ return obj;
5871
+ };
5872
+ }
5873
+
5874
+
5875
+ /**
5876
+ * Deserializes binary data (in protobuf wire format).
5877
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5878
+ * @return {!proto.browserstack.sdk.v1.AbortBuildOnFailure}
5879
+ */
5880
+ proto.browserstack.sdk.v1.AbortBuildOnFailure.deserializeBinary = function(bytes) {
5881
+ var reader = new jspb.BinaryReader(bytes);
5882
+ var msg = new proto.browserstack.sdk.v1.AbortBuildOnFailure;
5883
+ return proto.browserstack.sdk.v1.AbortBuildOnFailure.deserializeBinaryFromReader(msg, reader);
5884
+ };
5885
+
5886
+
5887
+ /**
5888
+ * Deserializes binary data (in protobuf wire format) from the
5889
+ * given reader into the given message object.
5890
+ * @param {!proto.browserstack.sdk.v1.AbortBuildOnFailure} msg The message object to deserialize into.
5891
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5892
+ * @return {!proto.browserstack.sdk.v1.AbortBuildOnFailure}
5893
+ */
5894
+ proto.browserstack.sdk.v1.AbortBuildOnFailure.deserializeBinaryFromReader = function(msg, reader) {
5895
+ while (reader.nextField()) {
5896
+ if (reader.isEndGroup()) {
5897
+ break;
5898
+ }
5899
+ var field = reader.getFieldNumber();
5900
+ switch (field) {
5901
+ case 1:
5902
+ var value = /** @type {boolean} */ (reader.readBool());
5903
+ msg.setEnabled(value);
5904
+ break;
5905
+ case 2:
5906
+ var value = /** @type {number} */ (reader.readUint32());
5907
+ msg.setMaxFailures(value);
5908
+ break;
5909
+ default:
5910
+ reader.skipField();
5911
+ break;
5912
+ }
5913
+ }
5914
+ return msg;
5915
+ };
5916
+
5917
+
5918
+ /**
5919
+ * Serializes the message to binary data (in protobuf wire format).
5920
+ * @return {!Uint8Array}
5921
+ */
5922
+ proto.browserstack.sdk.v1.AbortBuildOnFailure.prototype.serializeBinary = function() {
5923
+ var writer = new jspb.BinaryWriter();
5924
+ proto.browserstack.sdk.v1.AbortBuildOnFailure.serializeBinaryToWriter(this, writer);
5925
+ return writer.getResultBuffer();
5926
+ };
5927
+
5928
+
5929
+ /**
5930
+ * Serializes the given message to binary data (in protobuf wire
5931
+ * format), writing to the given BinaryWriter.
5932
+ * @param {!proto.browserstack.sdk.v1.AbortBuildOnFailure} message
5933
+ * @param {!jspb.BinaryWriter} writer
5934
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5935
+ */
5936
+ proto.browserstack.sdk.v1.AbortBuildOnFailure.serializeBinaryToWriter = function(message, writer) {
5937
+ var f = undefined;
5938
+ f = message.getEnabled();
5939
+ if (f) {
5940
+ writer.writeBool(
5941
+ 1,
5942
+ f
5943
+ );
5944
+ }
5945
+ f = message.getMaxFailures();
5946
+ if (f !== 0) {
5947
+ writer.writeUint32(
5948
+ 2,
5949
+ f
5950
+ );
5951
+ }
5952
+ };
5953
+
5954
+
5955
+ /**
5956
+ * optional bool enabled = 1;
5957
+ * @return {boolean}
5958
+ */
5959
+ proto.browserstack.sdk.v1.AbortBuildOnFailure.prototype.getEnabled = function() {
5960
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
5961
+ };
5962
+
5963
+
5964
+ /**
5965
+ * @param {boolean} value
5966
+ * @return {!proto.browserstack.sdk.v1.AbortBuildOnFailure} returns this
5967
+ */
5968
+ proto.browserstack.sdk.v1.AbortBuildOnFailure.prototype.setEnabled = function(value) {
5969
+ return jspb.Message.setProto3BooleanField(this, 1, value);
5970
+ };
5971
+
5972
+
5973
+ /**
5974
+ * optional uint32 max_failures = 2;
5975
+ * @return {number}
5976
+ */
5977
+ proto.browserstack.sdk.v1.AbortBuildOnFailure.prototype.getMaxFailures = function() {
5978
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
5979
+ };
5980
+
5981
+
5982
+ /**
5983
+ * @param {number} value
5984
+ * @return {!proto.browserstack.sdk.v1.AbortBuildOnFailure} returns this
5985
+ */
5986
+ proto.browserstack.sdk.v1.AbortBuildOnFailure.prototype.setMaxFailures = function(value) {
5987
+ return jspb.Message.setProto3IntField(this, 2, value);
5988
+ };
5989
+
5990
+
5991
+
5992
+ /**
5993
+ * List of repeated fields within this message type.
5994
+ * @private {!Array<number>}
5995
+ * @const
5996
+ */
5997
+ proto.browserstack.sdk.v1.TestOrchestrationRequest.repeatedFields_ = [2];
5998
+
5999
+
6000
+
6001
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6002
+ /**
6003
+ * Creates an object representation of this proto.
6004
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6005
+ * Optional fields that are not set will be set to undefined.
6006
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6007
+ * For the list of reserved names please see:
6008
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6009
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6010
+ * JSPB instance for transitional soy proto support:
6011
+ * http://goto/soy-param-migration
6012
+ * @return {!Object}
6013
+ */
6014
+ proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.toObject = function(opt_includeInstance) {
6015
+ return proto.browserstack.sdk.v1.TestOrchestrationRequest.toObject(opt_includeInstance, this);
6016
+ };
6017
+
6018
+
6019
+ /**
6020
+ * Static version of the {@see toObject} method.
6021
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6022
+ * the JSPB instance for transitional soy proto support:
6023
+ * http://goto/soy-param-migration
6024
+ * @param {!proto.browserstack.sdk.v1.TestOrchestrationRequest} msg The msg instance to transform.
6025
+ * @return {!Object}
6026
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6027
+ */
6028
+ proto.browserstack.sdk.v1.TestOrchestrationRequest.toObject = function(includeInstance, msg) {
6029
+ var f, obj = {
6030
+ binSessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
6031
+ testFilesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
6032
+ orchestrationStrategy: jspb.Message.getFieldWithDefault(msg, 3, ""),
6033
+ orchestrationMetadata: jspb.Message.getFieldWithDefault(msg, 4, "")
6034
+ };
6035
+
6036
+ if (includeInstance) {
6037
+ obj.$jspbMessageInstance = msg;
6038
+ }
6039
+ return obj;
6040
+ };
6041
+ }
6042
+
6043
+
6044
+ /**
6045
+ * Deserializes binary data (in protobuf wire format).
6046
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6047
+ * @return {!proto.browserstack.sdk.v1.TestOrchestrationRequest}
6048
+ */
6049
+ proto.browserstack.sdk.v1.TestOrchestrationRequest.deserializeBinary = function(bytes) {
6050
+ var reader = new jspb.BinaryReader(bytes);
6051
+ var msg = new proto.browserstack.sdk.v1.TestOrchestrationRequest;
6052
+ return proto.browserstack.sdk.v1.TestOrchestrationRequest.deserializeBinaryFromReader(msg, reader);
6053
+ };
6054
+
6055
+
6056
+ /**
6057
+ * Deserializes binary data (in protobuf wire format) from the
6058
+ * given reader into the given message object.
6059
+ * @param {!proto.browserstack.sdk.v1.TestOrchestrationRequest} msg The message object to deserialize into.
6060
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6061
+ * @return {!proto.browserstack.sdk.v1.TestOrchestrationRequest}
6062
+ */
6063
+ proto.browserstack.sdk.v1.TestOrchestrationRequest.deserializeBinaryFromReader = function(msg, reader) {
6064
+ while (reader.nextField()) {
6065
+ if (reader.isEndGroup()) {
6066
+ break;
6067
+ }
6068
+ var field = reader.getFieldNumber();
6069
+ switch (field) {
6070
+ case 1:
6071
+ var value = /** @type {string} */ (reader.readString());
6072
+ msg.setBinSessionId(value);
6073
+ break;
6074
+ case 2:
6075
+ var value = /** @type {string} */ (reader.readString());
6076
+ msg.addTestFiles(value);
6077
+ break;
6078
+ case 3:
6079
+ var value = /** @type {string} */ (reader.readString());
6080
+ msg.setOrchestrationStrategy(value);
6081
+ break;
6082
+ case 4:
6083
+ var value = /** @type {string} */ (reader.readString());
6084
+ msg.setOrchestrationMetadata(value);
6085
+ break;
6086
+ default:
6087
+ reader.skipField();
6088
+ break;
6089
+ }
6090
+ }
6091
+ return msg;
6092
+ };
6093
+
6094
+
6095
+ /**
6096
+ * Serializes the message to binary data (in protobuf wire format).
6097
+ * @return {!Uint8Array}
6098
+ */
6099
+ proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.serializeBinary = function() {
6100
+ var writer = new jspb.BinaryWriter();
6101
+ proto.browserstack.sdk.v1.TestOrchestrationRequest.serializeBinaryToWriter(this, writer);
6102
+ return writer.getResultBuffer();
6103
+ };
6104
+
6105
+
6106
+ /**
6107
+ * Serializes the given message to binary data (in protobuf wire
6108
+ * format), writing to the given BinaryWriter.
6109
+ * @param {!proto.browserstack.sdk.v1.TestOrchestrationRequest} message
6110
+ * @param {!jspb.BinaryWriter} writer
6111
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6112
+ */
6113
+ proto.browserstack.sdk.v1.TestOrchestrationRequest.serializeBinaryToWriter = function(message, writer) {
6114
+ var f = undefined;
6115
+ f = message.getBinSessionId();
6116
+ if (f.length > 0) {
6117
+ writer.writeString(
6118
+ 1,
6119
+ f
6120
+ );
6121
+ }
6122
+ f = message.getTestFilesList();
6123
+ if (f.length > 0) {
6124
+ writer.writeRepeatedString(
6125
+ 2,
6126
+ f
6127
+ );
6128
+ }
6129
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
6130
+ if (f != null) {
6131
+ writer.writeString(
6132
+ 3,
6133
+ f
6134
+ );
6135
+ }
6136
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
6137
+ if (f != null) {
6138
+ writer.writeString(
6139
+ 4,
6140
+ f
6141
+ );
6142
+ }
6143
+ };
6144
+
6145
+
6146
+ /**
6147
+ * optional string bin_session_id = 1;
6148
+ * @return {string}
6149
+ */
6150
+ proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.getBinSessionId = function() {
6151
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
6152
+ };
6153
+
6154
+
6155
+ /**
6156
+ * @param {string} value
6157
+ * @return {!proto.browserstack.sdk.v1.TestOrchestrationRequest} returns this
6158
+ */
6159
+ proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.setBinSessionId = function(value) {
6160
+ return jspb.Message.setProto3StringField(this, 1, value);
6161
+ };
6162
+
6163
+
6164
+ /**
6165
+ * repeated string test_files = 2;
6166
+ * @return {!Array<string>}
6167
+ */
6168
+ proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.getTestFilesList = function() {
6169
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
6170
+ };
6171
+
6172
+
6173
+ /**
6174
+ * @param {!Array<string>} value
6175
+ * @return {!proto.browserstack.sdk.v1.TestOrchestrationRequest} returns this
6176
+ */
6177
+ proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.setTestFilesList = function(value) {
6178
+ return jspb.Message.setField(this, 2, value || []);
6179
+ };
6180
+
6181
+
6182
+ /**
6183
+ * @param {string} value
6184
+ * @param {number=} opt_index
6185
+ * @return {!proto.browserstack.sdk.v1.TestOrchestrationRequest} returns this
6186
+ */
6187
+ proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.addTestFiles = function(value, opt_index) {
6188
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
6189
+ };
6190
+
6191
+
6192
+ /**
6193
+ * Clears the list making it empty but non-null.
6194
+ * @return {!proto.browserstack.sdk.v1.TestOrchestrationRequest} returns this
6195
+ */
6196
+ proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.clearTestFilesList = function() {
6197
+ return this.setTestFilesList([]);
6198
+ };
6199
+
6200
+
6201
+ /**
6202
+ * optional string orchestration_strategy = 3;
6203
+ * @return {string}
6204
+ */
6205
+ proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.getOrchestrationStrategy = function() {
6206
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
6207
+ };
6208
+
6209
+
6210
+ /**
6211
+ * @param {string} value
6212
+ * @return {!proto.browserstack.sdk.v1.TestOrchestrationRequest} returns this
6213
+ */
6214
+ proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.setOrchestrationStrategy = function(value) {
6215
+ return jspb.Message.setField(this, 3, value);
6216
+ };
6217
+
6218
+
6219
+ /**
6220
+ * Clears the field making it undefined.
6221
+ * @return {!proto.browserstack.sdk.v1.TestOrchestrationRequest} returns this
6222
+ */
6223
+ proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.clearOrchestrationStrategy = function() {
6224
+ return jspb.Message.setField(this, 3, undefined);
6225
+ };
6226
+
6227
+
6228
+ /**
6229
+ * Returns whether this field is set.
6230
+ * @return {boolean}
6231
+ */
6232
+ proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.hasOrchestrationStrategy = function() {
6233
+ return jspb.Message.getField(this, 3) != null;
6234
+ };
6235
+
6236
+
6237
+ /**
6238
+ * optional string orchestration_metadata = 4;
6239
+ * @return {string}
6240
+ */
6241
+ proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.getOrchestrationMetadata = function() {
6242
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
6243
+ };
6244
+
6245
+
6246
+ /**
6247
+ * @param {string} value
6248
+ * @return {!proto.browserstack.sdk.v1.TestOrchestrationRequest} returns this
6249
+ */
6250
+ proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.setOrchestrationMetadata = function(value) {
6251
+ return jspb.Message.setField(this, 4, value);
6252
+ };
6253
+
6254
+
6255
+ /**
6256
+ * Clears the field making it undefined.
6257
+ * @return {!proto.browserstack.sdk.v1.TestOrchestrationRequest} returns this
6258
+ */
6259
+ proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.clearOrchestrationMetadata = function() {
6260
+ return jspb.Message.setField(this, 4, undefined);
6261
+ };
6262
+
6263
+
6264
+ /**
6265
+ * Returns whether this field is set.
6266
+ * @return {boolean}
6267
+ */
6268
+ proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.hasOrchestrationMetadata = function() {
6269
+ return jspb.Message.getField(this, 4) != null;
6270
+ };
6271
+
6272
+
6273
+
6274
+ /**
6275
+ * List of repeated fields within this message type.
6276
+ * @private {!Array<number>}
6277
+ * @const
6278
+ */
6279
+ proto.browserstack.sdk.v1.TestOrchestrationResponse.repeatedFields_ = [2];
6280
+
6281
+
6282
+
6283
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6284
+ /**
6285
+ * Creates an object representation of this proto.
6286
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6287
+ * Optional fields that are not set will be set to undefined.
6288
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6289
+ * For the list of reserved names please see:
6290
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6291
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6292
+ * JSPB instance for transitional soy proto support:
6293
+ * http://goto/soy-param-migration
6294
+ * @return {!Object}
6295
+ */
6296
+ proto.browserstack.sdk.v1.TestOrchestrationResponse.prototype.toObject = function(opt_includeInstance) {
6297
+ return proto.browserstack.sdk.v1.TestOrchestrationResponse.toObject(opt_includeInstance, this);
6298
+ };
6299
+
6300
+
6301
+ /**
6302
+ * Static version of the {@see toObject} method.
6303
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6304
+ * the JSPB instance for transitional soy proto support:
6305
+ * http://goto/soy-param-migration
6306
+ * @param {!proto.browserstack.sdk.v1.TestOrchestrationResponse} msg The msg instance to transform.
6307
+ * @return {!Object}
6308
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6309
+ */
6310
+ proto.browserstack.sdk.v1.TestOrchestrationResponse.toObject = function(includeInstance, msg) {
6311
+ var f, obj = {
6312
+ success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
6313
+ orderedTestFilesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
6314
+ };
6315
+
6316
+ if (includeInstance) {
6317
+ obj.$jspbMessageInstance = msg;
6318
+ }
6319
+ return obj;
6320
+ };
6321
+ }
6322
+
6323
+
6324
+ /**
6325
+ * Deserializes binary data (in protobuf wire format).
6326
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6327
+ * @return {!proto.browserstack.sdk.v1.TestOrchestrationResponse}
6328
+ */
6329
+ proto.browserstack.sdk.v1.TestOrchestrationResponse.deserializeBinary = function(bytes) {
6330
+ var reader = new jspb.BinaryReader(bytes);
6331
+ var msg = new proto.browserstack.sdk.v1.TestOrchestrationResponse;
6332
+ return proto.browserstack.sdk.v1.TestOrchestrationResponse.deserializeBinaryFromReader(msg, reader);
6333
+ };
6334
+
6335
+
6336
+ /**
6337
+ * Deserializes binary data (in protobuf wire format) from the
6338
+ * given reader into the given message object.
6339
+ * @param {!proto.browserstack.sdk.v1.TestOrchestrationResponse} msg The message object to deserialize into.
6340
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6341
+ * @return {!proto.browserstack.sdk.v1.TestOrchestrationResponse}
6342
+ */
6343
+ proto.browserstack.sdk.v1.TestOrchestrationResponse.deserializeBinaryFromReader = function(msg, reader) {
6344
+ while (reader.nextField()) {
6345
+ if (reader.isEndGroup()) {
6346
+ break;
6347
+ }
6348
+ var field = reader.getFieldNumber();
6349
+ switch (field) {
6350
+ case 1:
6351
+ var value = /** @type {boolean} */ (reader.readBool());
6352
+ msg.setSuccess(value);
6353
+ break;
6354
+ case 2:
6355
+ var value = /** @type {string} */ (reader.readString());
6356
+ msg.addOrderedTestFiles(value);
6357
+ break;
6358
+ default:
6359
+ reader.skipField();
6360
+ break;
6361
+ }
6362
+ }
6363
+ return msg;
6364
+ };
6365
+
6366
+
6367
+ /**
6368
+ * Serializes the message to binary data (in protobuf wire format).
6369
+ * @return {!Uint8Array}
6370
+ */
6371
+ proto.browserstack.sdk.v1.TestOrchestrationResponse.prototype.serializeBinary = function() {
6372
+ var writer = new jspb.BinaryWriter();
6373
+ proto.browserstack.sdk.v1.TestOrchestrationResponse.serializeBinaryToWriter(this, writer);
6374
+ return writer.getResultBuffer();
6375
+ };
6376
+
6377
+
6378
+ /**
6379
+ * Serializes the given message to binary data (in protobuf wire
6380
+ * format), writing to the given BinaryWriter.
6381
+ * @param {!proto.browserstack.sdk.v1.TestOrchestrationResponse} message
6382
+ * @param {!jspb.BinaryWriter} writer
6383
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6384
+ */
6385
+ proto.browserstack.sdk.v1.TestOrchestrationResponse.serializeBinaryToWriter = function(message, writer) {
6386
+ var f = undefined;
6387
+ f = message.getSuccess();
6388
+ if (f) {
6389
+ writer.writeBool(
6390
+ 1,
6391
+ f
6392
+ );
6393
+ }
6394
+ f = message.getOrderedTestFilesList();
6395
+ if (f.length > 0) {
6396
+ writer.writeRepeatedString(
6397
+ 2,
6398
+ f
6399
+ );
6400
+ }
6401
+ };
6402
+
6403
+
6404
+ /**
6405
+ * optional bool success = 1;
6406
+ * @return {boolean}
6407
+ */
6408
+ proto.browserstack.sdk.v1.TestOrchestrationResponse.prototype.getSuccess = function() {
6409
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
6410
+ };
6411
+
6412
+
6413
+ /**
6414
+ * @param {boolean} value
6415
+ * @return {!proto.browserstack.sdk.v1.TestOrchestrationResponse} returns this
6416
+ */
6417
+ proto.browserstack.sdk.v1.TestOrchestrationResponse.prototype.setSuccess = function(value) {
6418
+ return jspb.Message.setProto3BooleanField(this, 1, value);
4315
6419
  };
4316
6420
 
4317
6421
 
4318
6422
  /**
4319
- * optional Percy percy = 6;
4320
- * @return {?proto.browserstack.sdk.v1.Percy}
6423
+ * repeated string ordered_test_files = 2;
6424
+ * @return {!Array<string>}
4321
6425
  */
4322
- proto.browserstack.sdk.v1.ConnectBinSessionResponse.prototype.getPercy = function() {
4323
- return /** @type{?proto.browserstack.sdk.v1.Percy} */ (
4324
- jspb.Message.getWrapperField(this, sdk$messages$percy_pb.Percy, 6));
6426
+ proto.browserstack.sdk.v1.TestOrchestrationResponse.prototype.getOrderedTestFilesList = function() {
6427
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
4325
6428
  };
4326
6429
 
4327
6430
 
4328
6431
  /**
4329
- * @param {?proto.browserstack.sdk.v1.Percy|undefined} value
4330
- * @return {!proto.browserstack.sdk.v1.ConnectBinSessionResponse} returns this
4331
- */
4332
- proto.browserstack.sdk.v1.ConnectBinSessionResponse.prototype.setPercy = function(value) {
4333
- return jspb.Message.setWrapperField(this, 6, value);
6432
+ * @param {!Array<string>} value
6433
+ * @return {!proto.browserstack.sdk.v1.TestOrchestrationResponse} returns this
6434
+ */
6435
+ proto.browserstack.sdk.v1.TestOrchestrationResponse.prototype.setOrderedTestFilesList = function(value) {
6436
+ return jspb.Message.setField(this, 2, value || []);
4334
6437
  };
4335
6438
 
4336
6439
 
4337
6440
  /**
4338
- * Clears the message field making it undefined.
4339
- * @return {!proto.browserstack.sdk.v1.ConnectBinSessionResponse} returns this
6441
+ * @param {string} value
6442
+ * @param {number=} opt_index
6443
+ * @return {!proto.browserstack.sdk.v1.TestOrchestrationResponse} returns this
4340
6444
  */
4341
- proto.browserstack.sdk.v1.ConnectBinSessionResponse.prototype.clearPercy = function() {
4342
- return this.setPercy(undefined);
6445
+ proto.browserstack.sdk.v1.TestOrchestrationResponse.prototype.addOrderedTestFiles = function(value, opt_index) {
6446
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
4343
6447
  };
4344
6448
 
4345
6449
 
4346
6450
  /**
4347
- * Returns whether this field is set.
4348
- * @return {boolean}
6451
+ * Clears the list making it empty but non-null.
6452
+ * @return {!proto.browserstack.sdk.v1.TestOrchestrationResponse} returns this
4349
6453
  */
4350
- proto.browserstack.sdk.v1.ConnectBinSessionResponse.prototype.hasPercy = function() {
4351
- return jspb.Message.getField(this, 6) != null;
6454
+ proto.browserstack.sdk.v1.TestOrchestrationResponse.prototype.clearOrderedTestFilesList = function() {
6455
+ return this.setOrderedTestFilesList([]);
4352
6456
  };
4353
6457
 
4354
6458
 
@@ -5280,7 +7384,8 @@ proto.browserstack.sdk.v1.PlaywrightConfigRequest.toObject = function(includeIns
5280
7384
  var f, obj = {
5281
7385
  binSessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
5282
7386
  config: jspb.Message.getFieldWithDefault(msg, 2, ""),
5283
- ref: jspb.Message.getFieldWithDefault(msg, 3, "")
7387
+ ref: jspb.Message.getFieldWithDefault(msg, 3, ""),
7388
+ clientWorkerId: jspb.Message.getFieldWithDefault(msg, 500, "")
5284
7389
  };
5285
7390
 
5286
7391
  if (includeInstance) {
@@ -5329,6 +7434,10 @@ proto.browserstack.sdk.v1.PlaywrightConfigRequest.deserializeBinaryFromReader =
5329
7434
  var value = /** @type {string} */ (reader.readString());
5330
7435
  msg.setRef(value);
5331
7436
  break;
7437
+ case 500:
7438
+ var value = /** @type {string} */ (reader.readString());
7439
+ msg.setClientWorkerId(value);
7440
+ break;
5332
7441
  default:
5333
7442
  reader.skipField();
5334
7443
  break;
@@ -5379,6 +7488,13 @@ proto.browserstack.sdk.v1.PlaywrightConfigRequest.serializeBinaryToWriter = func
5379
7488
  f
5380
7489
  );
5381
7490
  }
7491
+ f = /** @type {string} */ (jspb.Message.getField(message, 500));
7492
+ if (f != null) {
7493
+ writer.writeString(
7494
+ 500,
7495
+ f
7496
+ );
7497
+ }
5382
7498
  };
5383
7499
 
5384
7500
 
@@ -5436,6 +7552,42 @@ proto.browserstack.sdk.v1.PlaywrightConfigRequest.prototype.setRef = function(va
5436
7552
  };
5437
7553
 
5438
7554
 
7555
+ /**
7556
+ * optional string client_worker_id = 500;
7557
+ * @return {string}
7558
+ */
7559
+ proto.browserstack.sdk.v1.PlaywrightConfigRequest.prototype.getClientWorkerId = function() {
7560
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 500, ""));
7561
+ };
7562
+
7563
+
7564
+ /**
7565
+ * @param {string} value
7566
+ * @return {!proto.browserstack.sdk.v1.PlaywrightConfigRequest} returns this
7567
+ */
7568
+ proto.browserstack.sdk.v1.PlaywrightConfigRequest.prototype.setClientWorkerId = function(value) {
7569
+ return jspb.Message.setField(this, 500, value);
7570
+ };
7571
+
7572
+
7573
+ /**
7574
+ * Clears the field making it undefined.
7575
+ * @return {!proto.browserstack.sdk.v1.PlaywrightConfigRequest} returns this
7576
+ */
7577
+ proto.browserstack.sdk.v1.PlaywrightConfigRequest.prototype.clearClientWorkerId = function() {
7578
+ return jspb.Message.setField(this, 500, undefined);
7579
+ };
7580
+
7581
+
7582
+ /**
7583
+ * Returns whether this field is set.
7584
+ * @return {boolean}
7585
+ */
7586
+ proto.browserstack.sdk.v1.PlaywrightConfigRequest.prototype.hasClientWorkerId = function() {
7587
+ return jspb.Message.getField(this, 500) != null;
7588
+ };
7589
+
7590
+
5439
7591
 
5440
7592
 
5441
7593
 
@@ -5677,7 +7829,8 @@ proto.browserstack.sdk.v1.ConnectBinSessionRequest.prototype.toObject = function
5677
7829
  proto.browserstack.sdk.v1.ConnectBinSessionRequest.toObject = function(includeInstance, msg) {
5678
7830
  var f, obj = {
5679
7831
  binSessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
5680
- platformIndex: jspb.Message.getFieldWithDefault(msg, 2, 0)
7832
+ platformIndex: jspb.Message.getFieldWithDefault(msg, 2, 0),
7833
+ clientWorkerId: jspb.Message.getFieldWithDefault(msg, 500, "")
5681
7834
  };
5682
7835
 
5683
7836
  if (includeInstance) {
@@ -5722,6 +7875,10 @@ proto.browserstack.sdk.v1.ConnectBinSessionRequest.deserializeBinaryFromReader =
5722
7875
  var value = /** @type {number} */ (reader.readUint32());
5723
7876
  msg.setPlatformIndex(value);
5724
7877
  break;
7878
+ case 500:
7879
+ var value = /** @type {string} */ (reader.readString());
7880
+ msg.setClientWorkerId(value);
7881
+ break;
5725
7882
  default:
5726
7883
  reader.skipField();
5727
7884
  break;
@@ -5765,6 +7922,13 @@ proto.browserstack.sdk.v1.ConnectBinSessionRequest.serializeBinaryToWriter = fun
5765
7922
  f
5766
7923
  );
5767
7924
  }
7925
+ f = /** @type {string} */ (jspb.Message.getField(message, 500));
7926
+ if (f != null) {
7927
+ writer.writeString(
7928
+ 500,
7929
+ f
7930
+ );
7931
+ }
5768
7932
  };
5769
7933
 
5770
7934
 
@@ -5822,6 +7986,42 @@ proto.browserstack.sdk.v1.ConnectBinSessionRequest.prototype.hasPlatformIndex =
5822
7986
  };
5823
7987
 
5824
7988
 
7989
+ /**
7990
+ * optional string client_worker_id = 500;
7991
+ * @return {string}
7992
+ */
7993
+ proto.browserstack.sdk.v1.ConnectBinSessionRequest.prototype.getClientWorkerId = function() {
7994
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 500, ""));
7995
+ };
7996
+
7997
+
7998
+ /**
7999
+ * @param {string} value
8000
+ * @return {!proto.browserstack.sdk.v1.ConnectBinSessionRequest} returns this
8001
+ */
8002
+ proto.browserstack.sdk.v1.ConnectBinSessionRequest.prototype.setClientWorkerId = function(value) {
8003
+ return jspb.Message.setField(this, 500, value);
8004
+ };
8005
+
8006
+
8007
+ /**
8008
+ * Clears the field making it undefined.
8009
+ * @return {!proto.browserstack.sdk.v1.ConnectBinSessionRequest} returns this
8010
+ */
8011
+ proto.browserstack.sdk.v1.ConnectBinSessionRequest.prototype.clearClientWorkerId = function() {
8012
+ return jspb.Message.setField(this, 500, undefined);
8013
+ };
8014
+
8015
+
8016
+ /**
8017
+ * Returns whether this field is set.
8018
+ * @return {boolean}
8019
+ */
8020
+ proto.browserstack.sdk.v1.ConnectBinSessionRequest.prototype.hasClientWorkerId = function() {
8021
+ return jspb.Message.getField(this, 500) != null;
8022
+ };
8023
+
8024
+
5825
8025
 
5826
8026
 
5827
8027
 
@@ -5856,6 +8056,7 @@ proto.browserstack.sdk.v1.TestFrameworkEventRequest.toObject = function(includeI
5856
8056
  var f, obj = {
5857
8057
  binSessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
5858
8058
  platformIndex: jspb.Message.getFieldWithDefault(msg, 2, 0),
8059
+ clientWorkerId: jspb.Message.getFieldWithDefault(msg, 500, ""),
5859
8060
  testFrameworkName: jspb.Message.getFieldWithDefault(msg, 3, ""),
5860
8061
  testFrameworkVersion: jspb.Message.getFieldWithDefault(msg, 4, ""),
5861
8062
  uuid: jspb.Message.getFieldWithDefault(msg, 5, ""),
@@ -5910,6 +8111,10 @@ proto.browserstack.sdk.v1.TestFrameworkEventRequest.deserializeBinaryFromReader
5910
8111
  var value = /** @type {number} */ (reader.readUint32());
5911
8112
  msg.setPlatformIndex(value);
5912
8113
  break;
8114
+ case 500:
8115
+ var value = /** @type {string} */ (reader.readString());
8116
+ msg.setClientWorkerId(value);
8117
+ break;
5913
8118
  case 3:
5914
8119
  var value = /** @type {string} */ (reader.readString());
5915
8120
  msg.setTestFrameworkName(value);
@@ -5994,6 +8199,13 @@ proto.browserstack.sdk.v1.TestFrameworkEventRequest.serializeBinaryToWriter = fu
5994
8199
  f
5995
8200
  );
5996
8201
  }
8202
+ f = /** @type {string} */ (jspb.Message.getField(message, 500));
8203
+ if (f != null) {
8204
+ writer.writeString(
8205
+ 500,
8206
+ f
8207
+ );
8208
+ }
5997
8209
  f = message.getTestFrameworkName();
5998
8210
  if (f.length > 0) {
5999
8211
  writer.writeString(
@@ -6104,6 +8316,42 @@ proto.browserstack.sdk.v1.TestFrameworkEventRequest.prototype.setPlatformIndex =
6104
8316
  };
6105
8317
 
6106
8318
 
8319
+ /**
8320
+ * optional string client_worker_id = 500;
8321
+ * @return {string}
8322
+ */
8323
+ proto.browserstack.sdk.v1.TestFrameworkEventRequest.prototype.getClientWorkerId = function() {
8324
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 500, ""));
8325
+ };
8326
+
8327
+
8328
+ /**
8329
+ * @param {string} value
8330
+ * @return {!proto.browserstack.sdk.v1.TestFrameworkEventRequest} returns this
8331
+ */
8332
+ proto.browserstack.sdk.v1.TestFrameworkEventRequest.prototype.setClientWorkerId = function(value) {
8333
+ return jspb.Message.setField(this, 500, value);
8334
+ };
8335
+
8336
+
8337
+ /**
8338
+ * Clears the field making it undefined.
8339
+ * @return {!proto.browserstack.sdk.v1.TestFrameworkEventRequest} returns this
8340
+ */
8341
+ proto.browserstack.sdk.v1.TestFrameworkEventRequest.prototype.clearClientWorkerId = function() {
8342
+ return jspb.Message.setField(this, 500, undefined);
8343
+ };
8344
+
8345
+
8346
+ /**
8347
+ * Returns whether this field is set.
8348
+ * @return {boolean}
8349
+ */
8350
+ proto.browserstack.sdk.v1.TestFrameworkEventRequest.prototype.hasClientWorkerId = function() {
8351
+ return jspb.Message.getField(this, 500) != null;
8352
+ };
8353
+
8354
+
6107
8355
  /**
6108
8356
  * optional string test_framework_name = 3;
6109
8357
  * @return {string}
@@ -6801,7 +9049,9 @@ proto.browserstack.sdk.v1.EnqueueTestEventRequest.toObject = function(includeIns
6801
9049
  var f, obj = {
6802
9050
  binSessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
6803
9051
  eventUrl: jspb.Message.getFieldWithDefault(msg, 2, ""),
6804
- eventDataJson: msg.getEventDataJson_asB64()
9052
+ eventDataJson: msg.getEventDataJson_asB64(),
9053
+ clientWorkerId: jspb.Message.getFieldWithDefault(msg, 500, ""),
9054
+ platformIndex: jspb.Message.getFieldWithDefault(msg, 501, "")
6805
9055
  };
6806
9056
 
6807
9057
  if (includeInstance) {
@@ -6850,6 +9100,14 @@ proto.browserstack.sdk.v1.EnqueueTestEventRequest.deserializeBinaryFromReader =
6850
9100
  var value = /** @type {!Uint8Array} */ (reader.readBytes());
6851
9101
  msg.setEventDataJson(value);
6852
9102
  break;
9103
+ case 500:
9104
+ var value = /** @type {string} */ (reader.readString());
9105
+ msg.setClientWorkerId(value);
9106
+ break;
9107
+ case 501:
9108
+ var value = /** @type {string} */ (reader.readString());
9109
+ msg.setPlatformIndex(value);
9110
+ break;
6853
9111
  default:
6854
9112
  reader.skipField();
6855
9113
  break;
@@ -6900,6 +9158,20 @@ proto.browserstack.sdk.v1.EnqueueTestEventRequest.serializeBinaryToWriter = func
6900
9158
  f
6901
9159
  );
6902
9160
  }
9161
+ f = /** @type {string} */ (jspb.Message.getField(message, 500));
9162
+ if (f != null) {
9163
+ writer.writeString(
9164
+ 500,
9165
+ f
9166
+ );
9167
+ }
9168
+ f = /** @type {string} */ (jspb.Message.getField(message, 501));
9169
+ if (f != null) {
9170
+ writer.writeString(
9171
+ 501,
9172
+ f
9173
+ );
9174
+ }
6903
9175
  };
6904
9176
 
6905
9177
 
@@ -6981,6 +9253,78 @@ proto.browserstack.sdk.v1.EnqueueTestEventRequest.prototype.setEventDataJson = f
6981
9253
  };
6982
9254
 
6983
9255
 
9256
+ /**
9257
+ * optional string client_worker_id = 500;
9258
+ * @return {string}
9259
+ */
9260
+ proto.browserstack.sdk.v1.EnqueueTestEventRequest.prototype.getClientWorkerId = function() {
9261
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 500, ""));
9262
+ };
9263
+
9264
+
9265
+ /**
9266
+ * @param {string} value
9267
+ * @return {!proto.browserstack.sdk.v1.EnqueueTestEventRequest} returns this
9268
+ */
9269
+ proto.browserstack.sdk.v1.EnqueueTestEventRequest.prototype.setClientWorkerId = function(value) {
9270
+ return jspb.Message.setField(this, 500, value);
9271
+ };
9272
+
9273
+
9274
+ /**
9275
+ * Clears the field making it undefined.
9276
+ * @return {!proto.browserstack.sdk.v1.EnqueueTestEventRequest} returns this
9277
+ */
9278
+ proto.browserstack.sdk.v1.EnqueueTestEventRequest.prototype.clearClientWorkerId = function() {
9279
+ return jspb.Message.setField(this, 500, undefined);
9280
+ };
9281
+
9282
+
9283
+ /**
9284
+ * Returns whether this field is set.
9285
+ * @return {boolean}
9286
+ */
9287
+ proto.browserstack.sdk.v1.EnqueueTestEventRequest.prototype.hasClientWorkerId = function() {
9288
+ return jspb.Message.getField(this, 500) != null;
9289
+ };
9290
+
9291
+
9292
+ /**
9293
+ * optional string platform_index = 501;
9294
+ * @return {string}
9295
+ */
9296
+ proto.browserstack.sdk.v1.EnqueueTestEventRequest.prototype.getPlatformIndex = function() {
9297
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 501, ""));
9298
+ };
9299
+
9300
+
9301
+ /**
9302
+ * @param {string} value
9303
+ * @return {!proto.browserstack.sdk.v1.EnqueueTestEventRequest} returns this
9304
+ */
9305
+ proto.browserstack.sdk.v1.EnqueueTestEventRequest.prototype.setPlatformIndex = function(value) {
9306
+ return jspb.Message.setField(this, 501, value);
9307
+ };
9308
+
9309
+
9310
+ /**
9311
+ * Clears the field making it undefined.
9312
+ * @return {!proto.browserstack.sdk.v1.EnqueueTestEventRequest} returns this
9313
+ */
9314
+ proto.browserstack.sdk.v1.EnqueueTestEventRequest.prototype.clearPlatformIndex = function() {
9315
+ return jspb.Message.setField(this, 501, undefined);
9316
+ };
9317
+
9318
+
9319
+ /**
9320
+ * Returns whether this field is set.
9321
+ * @return {boolean}
9322
+ */
9323
+ proto.browserstack.sdk.v1.EnqueueTestEventRequest.prototype.hasPlatformIndex = function() {
9324
+ return jspb.Message.getField(this, 501) != null;
9325
+ };
9326
+
9327
+
6984
9328
 
6985
9329
 
6986
9330
 
@@ -7202,7 +9546,8 @@ proto.browserstack.sdk.v1.LogCreatedEventRequest.toObject = function(includeInst
7202
9546
  platformIndex: jspb.Message.getFieldWithDefault(msg, 2, 0),
7203
9547
  logsList: jspb.Message.toObjectList(msg.getLogsList(),
7204
9548
  proto.browserstack.sdk.v1.LogCreatedEventRequest.LogEntry.toObject, includeInstance),
7205
- executionContext: (f = msg.getExecutionContext()) && proto.browserstack.sdk.v1.ExecutionContext.toObject(includeInstance, f)
9549
+ executionContext: (f = msg.getExecutionContext()) && proto.browserstack.sdk.v1.ExecutionContext.toObject(includeInstance, f),
9550
+ clientWorkerId: jspb.Message.getFieldWithDefault(msg, 500, "")
7206
9551
  };
7207
9552
 
7208
9553
  if (includeInstance) {
@@ -7257,6 +9602,10 @@ proto.browserstack.sdk.v1.LogCreatedEventRequest.deserializeBinaryFromReader = f
7257
9602
  reader.readMessage(value,proto.browserstack.sdk.v1.ExecutionContext.deserializeBinaryFromReader);
7258
9603
  msg.setExecutionContext(value);
7259
9604
  break;
9605
+ case 500:
9606
+ var value = /** @type {string} */ (reader.readString());
9607
+ msg.setClientWorkerId(value);
9608
+ break;
7260
9609
  default:
7261
9610
  reader.skipField();
7262
9611
  break;
@@ -7316,6 +9665,13 @@ proto.browserstack.sdk.v1.LogCreatedEventRequest.serializeBinaryToWriter = funct
7316
9665
  proto.browserstack.sdk.v1.ExecutionContext.serializeBinaryToWriter
7317
9666
  );
7318
9667
  }
9668
+ f = /** @type {string} */ (jspb.Message.getField(message, 500));
9669
+ if (f != null) {
9670
+ writer.writeString(
9671
+ 500,
9672
+ f
9673
+ );
9674
+ }
7319
9675
  };
7320
9676
 
7321
9677
 
@@ -8074,20 +10430,56 @@ proto.browserstack.sdk.v1.LogCreatedEventRequest.prototype.getExecutionContext =
8074
10430
 
8075
10431
 
8076
10432
  /**
8077
- * @param {?proto.browserstack.sdk.v1.ExecutionContext|undefined} value
10433
+ * @param {?proto.browserstack.sdk.v1.ExecutionContext|undefined} value
10434
+ * @return {!proto.browserstack.sdk.v1.LogCreatedEventRequest} returns this
10435
+ */
10436
+ proto.browserstack.sdk.v1.LogCreatedEventRequest.prototype.setExecutionContext = function(value) {
10437
+ return jspb.Message.setWrapperField(this, 4, value);
10438
+ };
10439
+
10440
+
10441
+ /**
10442
+ * Clears the message field making it undefined.
10443
+ * @return {!proto.browserstack.sdk.v1.LogCreatedEventRequest} returns this
10444
+ */
10445
+ proto.browserstack.sdk.v1.LogCreatedEventRequest.prototype.clearExecutionContext = function() {
10446
+ return this.setExecutionContext(undefined);
10447
+ };
10448
+
10449
+
10450
+ /**
10451
+ * Returns whether this field is set.
10452
+ * @return {boolean}
10453
+ */
10454
+ proto.browserstack.sdk.v1.LogCreatedEventRequest.prototype.hasExecutionContext = function() {
10455
+ return jspb.Message.getField(this, 4) != null;
10456
+ };
10457
+
10458
+
10459
+ /**
10460
+ * optional string client_worker_id = 500;
10461
+ * @return {string}
10462
+ */
10463
+ proto.browserstack.sdk.v1.LogCreatedEventRequest.prototype.getClientWorkerId = function() {
10464
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 500, ""));
10465
+ };
10466
+
10467
+
10468
+ /**
10469
+ * @param {string} value
8078
10470
  * @return {!proto.browserstack.sdk.v1.LogCreatedEventRequest} returns this
8079
- */
8080
- proto.browserstack.sdk.v1.LogCreatedEventRequest.prototype.setExecutionContext = function(value) {
8081
- return jspb.Message.setWrapperField(this, 4, value);
10471
+ */
10472
+ proto.browserstack.sdk.v1.LogCreatedEventRequest.prototype.setClientWorkerId = function(value) {
10473
+ return jspb.Message.setField(this, 500, value);
8082
10474
  };
8083
10475
 
8084
10476
 
8085
10477
  /**
8086
- * Clears the message field making it undefined.
10478
+ * Clears the field making it undefined.
8087
10479
  * @return {!proto.browserstack.sdk.v1.LogCreatedEventRequest} returns this
8088
10480
  */
8089
- proto.browserstack.sdk.v1.LogCreatedEventRequest.prototype.clearExecutionContext = function() {
8090
- return this.setExecutionContext(undefined);
10481
+ proto.browserstack.sdk.v1.LogCreatedEventRequest.prototype.clearClientWorkerId = function() {
10482
+ return jspb.Message.setField(this, 500, undefined);
8091
10483
  };
8092
10484
 
8093
10485
 
@@ -8095,8 +10487,8 @@ proto.browserstack.sdk.v1.LogCreatedEventRequest.prototype.clearExecutionContext
8095
10487
  * Returns whether this field is set.
8096
10488
  * @return {boolean}
8097
10489
  */
8098
- proto.browserstack.sdk.v1.LogCreatedEventRequest.prototype.hasExecutionContext = function() {
8099
- return jspb.Message.getField(this, 4) != null;
10490
+ proto.browserstack.sdk.v1.LogCreatedEventRequest.prototype.hasClientWorkerId = function() {
10491
+ return jspb.Message.getField(this, 500) != null;
8100
10492
  };
8101
10493
 
8102
10494
 
@@ -8328,7 +10720,8 @@ proto.browserstack.sdk.v1.TestSessionEventRequest.toObject = function(includeIns
8328
10720
  proto.browserstack.sdk.v1.TestSessionEventRequest.AutomationSession.toObject, includeInstance),
8329
10721
  executionContext: (f = msg.getExecutionContext()) && proto.browserstack.sdk.v1.ExecutionContext.toObject(includeInstance, f),
8330
10722
  capabilities: msg.getCapabilities_asB64(),
8331
- testIdentifier: jspb.Message.getFieldWithDefault(msg, 11, "")
10723
+ testIdentifier: jspb.Message.getFieldWithDefault(msg, 11, ""),
10724
+ clientWorkerId: jspb.Message.getFieldWithDefault(msg, 500, "")
8332
10725
  };
8333
10726
 
8334
10727
  if (includeInstance) {
@@ -8411,6 +10804,10 @@ proto.browserstack.sdk.v1.TestSessionEventRequest.deserializeBinaryFromReader =
8411
10804
  var value = /** @type {string} */ (reader.readString());
8412
10805
  msg.setTestIdentifier(value);
8413
10806
  break;
10807
+ case 500:
10808
+ var value = /** @type {string} */ (reader.readString());
10809
+ msg.setClientWorkerId(value);
10810
+ break;
8414
10811
  default:
8415
10812
  reader.skipField();
8416
10813
  break;
@@ -8519,6 +10916,13 @@ proto.browserstack.sdk.v1.TestSessionEventRequest.serializeBinaryToWriter = func
8519
10916
  f
8520
10917
  );
8521
10918
  }
10919
+ f = /** @type {string} */ (jspb.Message.getField(message, 500));
10920
+ if (f != null) {
10921
+ writer.writeString(
10922
+ 500,
10923
+ f
10924
+ );
10925
+ }
8522
10926
  };
8523
10927
 
8524
10928
 
@@ -9183,6 +11587,42 @@ proto.browserstack.sdk.v1.TestSessionEventRequest.prototype.hasTestIdentifier =
9183
11587
  };
9184
11588
 
9185
11589
 
11590
+ /**
11591
+ * optional string client_worker_id = 500;
11592
+ * @return {string}
11593
+ */
11594
+ proto.browserstack.sdk.v1.TestSessionEventRequest.prototype.getClientWorkerId = function() {
11595
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 500, ""));
11596
+ };
11597
+
11598
+
11599
+ /**
11600
+ * @param {string} value
11601
+ * @return {!proto.browserstack.sdk.v1.TestSessionEventRequest} returns this
11602
+ */
11603
+ proto.browserstack.sdk.v1.TestSessionEventRequest.prototype.setClientWorkerId = function(value) {
11604
+ return jspb.Message.setField(this, 500, value);
11605
+ };
11606
+
11607
+
11608
+ /**
11609
+ * Clears the field making it undefined.
11610
+ * @return {!proto.browserstack.sdk.v1.TestSessionEventRequest} returns this
11611
+ */
11612
+ proto.browserstack.sdk.v1.TestSessionEventRequest.prototype.clearClientWorkerId = function() {
11613
+ return jspb.Message.setField(this, 500, undefined);
11614
+ };
11615
+
11616
+
11617
+ /**
11618
+ * Returns whether this field is set.
11619
+ * @return {boolean}
11620
+ */
11621
+ proto.browserstack.sdk.v1.TestSessionEventRequest.prototype.hasClientWorkerId = function() {
11622
+ return jspb.Message.getField(this, 500) != null;
11623
+ };
11624
+
11625
+
9186
11626
 
9187
11627
 
9188
11628
 
@@ -9396,6 +11836,8 @@ proto.browserstack.sdk.v1.FetchDriverExecuteParamsEventRequest.toObject = functi
9396
11836
  binSessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
9397
11837
  product: jspb.Message.getFieldWithDefault(msg, 2, ""),
9398
11838
  scriptName: jspb.Message.getFieldWithDefault(msg, 3, ""),
11839
+ clientWorkerId: jspb.Message.getFieldWithDefault(msg, 500, ""),
11840
+ platformIndex: jspb.Message.getFieldWithDefault(msg, 501, ""),
9399
11841
  testIdentifier: jspb.Message.getFieldWithDefault(msg, 4, "")
9400
11842
  };
9401
11843
 
@@ -9445,6 +11887,14 @@ proto.browserstack.sdk.v1.FetchDriverExecuteParamsEventRequest.deserializeBinary
9445
11887
  var value = /** @type {string} */ (reader.readString());
9446
11888
  msg.setScriptName(value);
9447
11889
  break;
11890
+ case 500:
11891
+ var value = /** @type {string} */ (reader.readString());
11892
+ msg.setClientWorkerId(value);
11893
+ break;
11894
+ case 501:
11895
+ var value = /** @type {string} */ (reader.readString());
11896
+ msg.setPlatformIndex(value);
11897
+ break;
9448
11898
  case 4:
9449
11899
  var value = /** @type {string} */ (reader.readString());
9450
11900
  msg.setTestIdentifier(value);
@@ -9499,6 +11949,20 @@ proto.browserstack.sdk.v1.FetchDriverExecuteParamsEventRequest.serializeBinaryTo
9499
11949
  f
9500
11950
  );
9501
11951
  }
11952
+ f = /** @type {string} */ (jspb.Message.getField(message, 500));
11953
+ if (f != null) {
11954
+ writer.writeString(
11955
+ 500,
11956
+ f
11957
+ );
11958
+ }
11959
+ f = /** @type {string} */ (jspb.Message.getField(message, 501));
11960
+ if (f != null) {
11961
+ writer.writeString(
11962
+ 501,
11963
+ f
11964
+ );
11965
+ }
9502
11966
  f = /** @type {string} */ (jspb.Message.getField(message, 4));
9503
11967
  if (f != null) {
9504
11968
  writer.writeString(
@@ -9581,6 +12045,78 @@ proto.browserstack.sdk.v1.FetchDriverExecuteParamsEventRequest.prototype.hasScri
9581
12045
  };
9582
12046
 
9583
12047
 
12048
+ /**
12049
+ * optional string client_worker_id = 500;
12050
+ * @return {string}
12051
+ */
12052
+ proto.browserstack.sdk.v1.FetchDriverExecuteParamsEventRequest.prototype.getClientWorkerId = function() {
12053
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 500, ""));
12054
+ };
12055
+
12056
+
12057
+ /**
12058
+ * @param {string} value
12059
+ * @return {!proto.browserstack.sdk.v1.FetchDriverExecuteParamsEventRequest} returns this
12060
+ */
12061
+ proto.browserstack.sdk.v1.FetchDriverExecuteParamsEventRequest.prototype.setClientWorkerId = function(value) {
12062
+ return jspb.Message.setField(this, 500, value);
12063
+ };
12064
+
12065
+
12066
+ /**
12067
+ * Clears the field making it undefined.
12068
+ * @return {!proto.browserstack.sdk.v1.FetchDriverExecuteParamsEventRequest} returns this
12069
+ */
12070
+ proto.browserstack.sdk.v1.FetchDriverExecuteParamsEventRequest.prototype.clearClientWorkerId = function() {
12071
+ return jspb.Message.setField(this, 500, undefined);
12072
+ };
12073
+
12074
+
12075
+ /**
12076
+ * Returns whether this field is set.
12077
+ * @return {boolean}
12078
+ */
12079
+ proto.browserstack.sdk.v1.FetchDriverExecuteParamsEventRequest.prototype.hasClientWorkerId = function() {
12080
+ return jspb.Message.getField(this, 500) != null;
12081
+ };
12082
+
12083
+
12084
+ /**
12085
+ * optional string platform_index = 501;
12086
+ * @return {string}
12087
+ */
12088
+ proto.browserstack.sdk.v1.FetchDriverExecuteParamsEventRequest.prototype.getPlatformIndex = function() {
12089
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 501, ""));
12090
+ };
12091
+
12092
+
12093
+ /**
12094
+ * @param {string} value
12095
+ * @return {!proto.browserstack.sdk.v1.FetchDriverExecuteParamsEventRequest} returns this
12096
+ */
12097
+ proto.browserstack.sdk.v1.FetchDriverExecuteParamsEventRequest.prototype.setPlatformIndex = function(value) {
12098
+ return jspb.Message.setField(this, 501, value);
12099
+ };
12100
+
12101
+
12102
+ /**
12103
+ * Clears the field making it undefined.
12104
+ * @return {!proto.browserstack.sdk.v1.FetchDriverExecuteParamsEventRequest} returns this
12105
+ */
12106
+ proto.browserstack.sdk.v1.FetchDriverExecuteParamsEventRequest.prototype.clearPlatformIndex = function() {
12107
+ return jspb.Message.setField(this, 501, undefined);
12108
+ };
12109
+
12110
+
12111
+ /**
12112
+ * Returns whether this field is set.
12113
+ * @return {boolean}
12114
+ */
12115
+ proto.browserstack.sdk.v1.FetchDriverExecuteParamsEventRequest.prototype.hasPlatformIndex = function() {
12116
+ return jspb.Message.getField(this, 501) != null;
12117
+ };
12118
+
12119
+
9584
12120
  /**
9585
12121
  * optional string test_identifier = 4;
9586
12122
  * @return {string}
@@ -9948,7 +12484,9 @@ proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest.prototype.toOb
9948
12484
  proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest.toObject = function(includeInstance, msg) {
9949
12485
  var f, obj = {
9950
12486
  binSessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
9951
- errorKey: jspb.Message.getFieldWithDefault(msg, 2, "")
12487
+ errorKey: jspb.Message.getFieldWithDefault(msg, 2, ""),
12488
+ clientWorkerId: jspb.Message.getFieldWithDefault(msg, 500, ""),
12489
+ platformIndex: jspb.Message.getFieldWithDefault(msg, 501, "")
9952
12490
  };
9953
12491
 
9954
12492
  if (includeInstance) {
@@ -9993,6 +12531,14 @@ proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest.deserializeBin
9993
12531
  var value = /** @type {string} */ (reader.readString());
9994
12532
  msg.setErrorKey(value);
9995
12533
  break;
12534
+ case 500:
12535
+ var value = /** @type {string} */ (reader.readString());
12536
+ msg.setClientWorkerId(value);
12537
+ break;
12538
+ case 501:
12539
+ var value = /** @type {string} */ (reader.readString());
12540
+ msg.setPlatformIndex(value);
12541
+ break;
9996
12542
  default:
9997
12543
  reader.skipField();
9998
12544
  break;
@@ -10036,6 +12582,20 @@ proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest.serializeBinar
10036
12582
  f
10037
12583
  );
10038
12584
  }
12585
+ f = /** @type {string} */ (jspb.Message.getField(message, 500));
12586
+ if (f != null) {
12587
+ writer.writeString(
12588
+ 500,
12589
+ f
12590
+ );
12591
+ }
12592
+ f = /** @type {string} */ (jspb.Message.getField(message, 501));
12593
+ if (f != null) {
12594
+ writer.writeString(
12595
+ 501,
12596
+ f
12597
+ );
12598
+ }
10039
12599
  };
10040
12600
 
10041
12601
 
@@ -10075,6 +12635,78 @@ proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest.prototype.setE
10075
12635
  };
10076
12636
 
10077
12637
 
12638
+ /**
12639
+ * optional string client_worker_id = 500;
12640
+ * @return {string}
12641
+ */
12642
+ proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest.prototype.getClientWorkerId = function() {
12643
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 500, ""));
12644
+ };
12645
+
12646
+
12647
+ /**
12648
+ * @param {string} value
12649
+ * @return {!proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest} returns this
12650
+ */
12651
+ proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest.prototype.setClientWorkerId = function(value) {
12652
+ return jspb.Message.setField(this, 500, value);
12653
+ };
12654
+
12655
+
12656
+ /**
12657
+ * Clears the field making it undefined.
12658
+ * @return {!proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest} returns this
12659
+ */
12660
+ proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest.prototype.clearClientWorkerId = function() {
12661
+ return jspb.Message.setField(this, 500, undefined);
12662
+ };
12663
+
12664
+
12665
+ /**
12666
+ * Returns whether this field is set.
12667
+ * @return {boolean}
12668
+ */
12669
+ proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest.prototype.hasClientWorkerId = function() {
12670
+ return jspb.Message.getField(this, 500) != null;
12671
+ };
12672
+
12673
+
12674
+ /**
12675
+ * optional string platform_index = 501;
12676
+ * @return {string}
12677
+ */
12678
+ proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest.prototype.getPlatformIndex = function() {
12679
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 501, ""));
12680
+ };
12681
+
12682
+
12683
+ /**
12684
+ * @param {string} value
12685
+ * @return {!proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest} returns this
12686
+ */
12687
+ proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest.prototype.setPlatformIndex = function(value) {
12688
+ return jspb.Message.setField(this, 501, value);
12689
+ };
12690
+
12691
+
12692
+ /**
12693
+ * Clears the field making it undefined.
12694
+ * @return {!proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest} returns this
12695
+ */
12696
+ proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest.prototype.clearPlatformIndex = function() {
12697
+ return jspb.Message.setField(this, 501, undefined);
12698
+ };
12699
+
12700
+
12701
+ /**
12702
+ * Returns whether this field is set.
12703
+ * @return {boolean}
12704
+ */
12705
+ proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest.prototype.hasPlatformIndex = function() {
12706
+ return jspb.Message.getField(this, 501) != null;
12707
+ };
12708
+
12709
+
10078
12710
 
10079
12711
 
10080
12712
 
@@ -10297,7 +12929,9 @@ proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest.protot
10297
12929
  */
10298
12930
  proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest.toObject = function(includeInstance, msg) {
10299
12931
  var f, obj = {
10300
- binSessionId: jspb.Message.getFieldWithDefault(msg, 1, "")
12932
+ binSessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
12933
+ clientWorkerId: jspb.Message.getFieldWithDefault(msg, 500, ""),
12934
+ platformIndex: jspb.Message.getFieldWithDefault(msg, 501, "")
10301
12935
  };
10302
12936
 
10303
12937
  if (includeInstance) {
@@ -10338,6 +12972,14 @@ proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest.deseri
10338
12972
  var value = /** @type {string} */ (reader.readString());
10339
12973
  msg.setBinSessionId(value);
10340
12974
  break;
12975
+ case 500:
12976
+ var value = /** @type {string} */ (reader.readString());
12977
+ msg.setClientWorkerId(value);
12978
+ break;
12979
+ case 501:
12980
+ var value = /** @type {string} */ (reader.readString());
12981
+ msg.setPlatformIndex(value);
12982
+ break;
10341
12983
  default:
10342
12984
  reader.skipField();
10343
12985
  break;
@@ -10374,24 +13016,110 @@ proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest.serial
10374
13016
  f
10375
13017
  );
10376
13018
  }
13019
+ f = /** @type {string} */ (jspb.Message.getField(message, 500));
13020
+ if (f != null) {
13021
+ writer.writeString(
13022
+ 500,
13023
+ f
13024
+ );
13025
+ }
13026
+ f = /** @type {string} */ (jspb.Message.getField(message, 501));
13027
+ if (f != null) {
13028
+ writer.writeString(
13029
+ 501,
13030
+ f
13031
+ );
13032
+ }
13033
+ };
13034
+
13035
+
13036
+ /**
13037
+ * optional string bin_session_id = 1;
13038
+ * @return {string}
13039
+ */
13040
+ proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest.prototype.getBinSessionId = function() {
13041
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
13042
+ };
13043
+
13044
+
13045
+ /**
13046
+ * @param {string} value
13047
+ * @return {!proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest} returns this
13048
+ */
13049
+ proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest.prototype.setBinSessionId = function(value) {
13050
+ return jspb.Message.setProto3StringField(this, 1, value);
13051
+ };
13052
+
13053
+
13054
+ /**
13055
+ * optional string client_worker_id = 500;
13056
+ * @return {string}
13057
+ */
13058
+ proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest.prototype.getClientWorkerId = function() {
13059
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 500, ""));
13060
+ };
13061
+
13062
+
13063
+ /**
13064
+ * @param {string} value
13065
+ * @return {!proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest} returns this
13066
+ */
13067
+ proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest.prototype.setClientWorkerId = function(value) {
13068
+ return jspb.Message.setField(this, 500, value);
13069
+ };
13070
+
13071
+
13072
+ /**
13073
+ * Clears the field making it undefined.
13074
+ * @return {!proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest} returns this
13075
+ */
13076
+ proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest.prototype.clearClientWorkerId = function() {
13077
+ return jspb.Message.setField(this, 500, undefined);
13078
+ };
13079
+
13080
+
13081
+ /**
13082
+ * Returns whether this field is set.
13083
+ * @return {boolean}
13084
+ */
13085
+ proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest.prototype.hasClientWorkerId = function() {
13086
+ return jspb.Message.getField(this, 500) != null;
13087
+ };
13088
+
13089
+
13090
+ /**
13091
+ * optional string platform_index = 501;
13092
+ * @return {string}
13093
+ */
13094
+ proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest.prototype.getPlatformIndex = function() {
13095
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 501, ""));
13096
+ };
13097
+
13098
+
13099
+ /**
13100
+ * @param {string} value
13101
+ * @return {!proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest} returns this
13102
+ */
13103
+ proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest.prototype.setPlatformIndex = function(value) {
13104
+ return jspb.Message.setField(this, 501, value);
10377
13105
  };
10378
13106
 
10379
13107
 
10380
13108
  /**
10381
- * optional string bin_session_id = 1;
10382
- * @return {string}
13109
+ * Clears the field making it undefined.
13110
+ * @return {!proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest} returns this
10383
13111
  */
10384
- proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest.prototype.getBinSessionId = function() {
10385
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
13112
+ proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest.prototype.clearPlatformIndex = function() {
13113
+ return jspb.Message.setField(this, 501, undefined);
10386
13114
  };
10387
13115
 
10388
13116
 
10389
13117
  /**
10390
- * @param {string} value
10391
- * @return {!proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest} returns this
13118
+ * Returns whether this field is set.
13119
+ * @return {boolean}
10392
13120
  */
10393
- proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest.prototype.setBinSessionId = function(value) {
10394
- return jspb.Message.setProto3StringField(this, 1, value);
13121
+ proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest.prototype.hasPlatformIndex = function() {
13122
+ return jspb.Message.getField(this, 501) != null;
10395
13123
  };
10396
13124
 
10397
13125
 
@@ -10730,13 +13458,6 @@ proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse.proto
10730
13458
 
10731
13459
 
10732
13460
 
10733
- /**
10734
- * List of repeated fields within this message type.
10735
- * @private {!Array<number>}
10736
- * @const
10737
- */
10738
- proto.browserstack.sdk.v1.TestOrchestrationRequest.repeatedFields_ = [2];
10739
-
10740
13461
 
10741
13462
 
10742
13463
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -10752,8 +13473,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
10752
13473
  * http://goto/soy-param-migration
10753
13474
  * @return {!Object}
10754
13475
  */
10755
- proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.toObject = function(opt_includeInstance) {
10756
- return proto.browserstack.sdk.v1.TestOrchestrationRequest.toObject(opt_includeInstance, this);
13476
+ proto.browserstack.sdk.v1.TestCafeConfigRequest.prototype.toObject = function(opt_includeInstance) {
13477
+ return proto.browserstack.sdk.v1.TestCafeConfigRequest.toObject(opt_includeInstance, this);
10757
13478
  };
10758
13479
 
10759
13480
 
@@ -10762,16 +13483,14 @@ proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.toObject = function
10762
13483
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
10763
13484
  * the JSPB instance for transitional soy proto support:
10764
13485
  * http://goto/soy-param-migration
10765
- * @param {!proto.browserstack.sdk.v1.TestOrchestrationRequest} msg The msg instance to transform.
13486
+ * @param {!proto.browserstack.sdk.v1.TestCafeConfigRequest} msg The msg instance to transform.
10766
13487
  * @return {!Object}
10767
13488
  * @suppress {unusedLocalVariables} f is only used for nested messages
10768
13489
  */
10769
- proto.browserstack.sdk.v1.TestOrchestrationRequest.toObject = function(includeInstance, msg) {
13490
+ proto.browserstack.sdk.v1.TestCafeConfigRequest.toObject = function(includeInstance, msg) {
10770
13491
  var f, obj = {
10771
13492
  binSessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
10772
- testFilesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
10773
- orchestrationStrategy: jspb.Message.getFieldWithDefault(msg, 3, ""),
10774
- orchestrationMetadata: jspb.Message.getFieldWithDefault(msg, 4, "")
13493
+ clientWorkerId: jspb.Message.getFieldWithDefault(msg, 500, "")
10775
13494
  };
10776
13495
 
10777
13496
  if (includeInstance) {
@@ -10785,23 +13504,23 @@ proto.browserstack.sdk.v1.TestOrchestrationRequest.toObject = function(includeIn
10785
13504
  /**
10786
13505
  * Deserializes binary data (in protobuf wire format).
10787
13506
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
10788
- * @return {!proto.browserstack.sdk.v1.TestOrchestrationRequest}
13507
+ * @return {!proto.browserstack.sdk.v1.TestCafeConfigRequest}
10789
13508
  */
10790
- proto.browserstack.sdk.v1.TestOrchestrationRequest.deserializeBinary = function(bytes) {
13509
+ proto.browserstack.sdk.v1.TestCafeConfigRequest.deserializeBinary = function(bytes) {
10791
13510
  var reader = new jspb.BinaryReader(bytes);
10792
- var msg = new proto.browserstack.sdk.v1.TestOrchestrationRequest;
10793
- return proto.browserstack.sdk.v1.TestOrchestrationRequest.deserializeBinaryFromReader(msg, reader);
13511
+ var msg = new proto.browserstack.sdk.v1.TestCafeConfigRequest;
13512
+ return proto.browserstack.sdk.v1.TestCafeConfigRequest.deserializeBinaryFromReader(msg, reader);
10794
13513
  };
10795
13514
 
10796
13515
 
10797
13516
  /**
10798
13517
  * Deserializes binary data (in protobuf wire format) from the
10799
13518
  * given reader into the given message object.
10800
- * @param {!proto.browserstack.sdk.v1.TestOrchestrationRequest} msg The message object to deserialize into.
13519
+ * @param {!proto.browserstack.sdk.v1.TestCafeConfigRequest} msg The message object to deserialize into.
10801
13520
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
10802
- * @return {!proto.browserstack.sdk.v1.TestOrchestrationRequest}
13521
+ * @return {!proto.browserstack.sdk.v1.TestCafeConfigRequest}
10803
13522
  */
10804
- proto.browserstack.sdk.v1.TestOrchestrationRequest.deserializeBinaryFromReader = function(msg, reader) {
13523
+ proto.browserstack.sdk.v1.TestCafeConfigRequest.deserializeBinaryFromReader = function(msg, reader) {
10805
13524
  while (reader.nextField()) {
10806
13525
  if (reader.isEndGroup()) {
10807
13526
  break;
@@ -10812,17 +13531,9 @@ proto.browserstack.sdk.v1.TestOrchestrationRequest.deserializeBinaryFromReader =
10812
13531
  var value = /** @type {string} */ (reader.readString());
10813
13532
  msg.setBinSessionId(value);
10814
13533
  break;
10815
- case 2:
10816
- var value = /** @type {string} */ (reader.readString());
10817
- msg.addTestFiles(value);
10818
- break;
10819
- case 3:
10820
- var value = /** @type {string} */ (reader.readString());
10821
- msg.setOrchestrationStrategy(value);
10822
- break;
10823
- case 4:
13534
+ case 500:
10824
13535
  var value = /** @type {string} */ (reader.readString());
10825
- msg.setOrchestrationMetadata(value);
13536
+ msg.setClientWorkerId(value);
10826
13537
  break;
10827
13538
  default:
10828
13539
  reader.skipField();
@@ -10837,9 +13548,9 @@ proto.browserstack.sdk.v1.TestOrchestrationRequest.deserializeBinaryFromReader =
10837
13548
  * Serializes the message to binary data (in protobuf wire format).
10838
13549
  * @return {!Uint8Array}
10839
13550
  */
10840
- proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.serializeBinary = function() {
13551
+ proto.browserstack.sdk.v1.TestCafeConfigRequest.prototype.serializeBinary = function() {
10841
13552
  var writer = new jspb.BinaryWriter();
10842
- proto.browserstack.sdk.v1.TestOrchestrationRequest.serializeBinaryToWriter(this, writer);
13553
+ proto.browserstack.sdk.v1.TestCafeConfigRequest.serializeBinaryToWriter(this, writer);
10843
13554
  return writer.getResultBuffer();
10844
13555
  };
10845
13556
 
@@ -10847,11 +13558,11 @@ proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.serializeBinary = f
10847
13558
  /**
10848
13559
  * Serializes the given message to binary data (in protobuf wire
10849
13560
  * format), writing to the given BinaryWriter.
10850
- * @param {!proto.browserstack.sdk.v1.TestOrchestrationRequest} message
13561
+ * @param {!proto.browserstack.sdk.v1.TestCafeConfigRequest} message
10851
13562
  * @param {!jspb.BinaryWriter} writer
10852
13563
  * @suppress {unusedLocalVariables} f is only used for nested messages
10853
13564
  */
10854
- proto.browserstack.sdk.v1.TestOrchestrationRequest.serializeBinaryToWriter = function(message, writer) {
13565
+ proto.browserstack.sdk.v1.TestCafeConfigRequest.serializeBinaryToWriter = function(message, writer) {
10855
13566
  var f = undefined;
10856
13567
  f = message.getBinSessionId();
10857
13568
  if (f.length > 0) {
@@ -10860,24 +13571,10 @@ proto.browserstack.sdk.v1.TestOrchestrationRequest.serializeBinaryToWriter = fun
10860
13571
  f
10861
13572
  );
10862
13573
  }
10863
- f = message.getTestFilesList();
10864
- if (f.length > 0) {
10865
- writer.writeRepeatedString(
10866
- 2,
10867
- f
10868
- );
10869
- }
10870
- f = /** @type {string} */ (jspb.Message.getField(message, 3));
10871
- if (f != null) {
10872
- writer.writeString(
10873
- 3,
10874
- f
10875
- );
10876
- }
10877
- f = /** @type {string} */ (jspb.Message.getField(message, 4));
13574
+ f = /** @type {string} */ (jspb.Message.getField(message, 500));
10878
13575
  if (f != null) {
10879
13576
  writer.writeString(
10880
- 4,
13577
+ 500,
10881
13578
  f
10882
13579
  );
10883
13580
  }
@@ -10888,117 +13585,44 @@ proto.browserstack.sdk.v1.TestOrchestrationRequest.serializeBinaryToWriter = fun
10888
13585
  * optional string bin_session_id = 1;
10889
13586
  * @return {string}
10890
13587
  */
10891
- proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.getBinSessionId = function() {
13588
+ proto.browserstack.sdk.v1.TestCafeConfigRequest.prototype.getBinSessionId = function() {
10892
13589
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
10893
13590
  };
10894
13591
 
10895
13592
 
10896
13593
  /**
10897
13594
  * @param {string} value
10898
- * @return {!proto.browserstack.sdk.v1.TestOrchestrationRequest} returns this
13595
+ * @return {!proto.browserstack.sdk.v1.TestCafeConfigRequest} returns this
10899
13596
  */
10900
- proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.setBinSessionId = function(value) {
13597
+ proto.browserstack.sdk.v1.TestCafeConfigRequest.prototype.setBinSessionId = function(value) {
10901
13598
  return jspb.Message.setProto3StringField(this, 1, value);
10902
13599
  };
10903
13600
 
10904
13601
 
10905
13602
  /**
10906
- * repeated string test_files = 2;
10907
- * @return {!Array<string>}
10908
- */
10909
- proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.getTestFilesList = function() {
10910
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
10911
- };
10912
-
10913
-
10914
- /**
10915
- * @param {!Array<string>} value
10916
- * @return {!proto.browserstack.sdk.v1.TestOrchestrationRequest} returns this
10917
- */
10918
- proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.setTestFilesList = function(value) {
10919
- return jspb.Message.setField(this, 2, value || []);
10920
- };
10921
-
10922
-
10923
- /**
10924
- * @param {string} value
10925
- * @param {number=} opt_index
10926
- * @return {!proto.browserstack.sdk.v1.TestOrchestrationRequest} returns this
10927
- */
10928
- proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.addTestFiles = function(value, opt_index) {
10929
- return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
10930
- };
10931
-
10932
-
10933
- /**
10934
- * Clears the list making it empty but non-null.
10935
- * @return {!proto.browserstack.sdk.v1.TestOrchestrationRequest} returns this
10936
- */
10937
- proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.clearTestFilesList = function() {
10938
- return this.setTestFilesList([]);
10939
- };
10940
-
10941
-
10942
- /**
10943
- * optional string orchestration_strategy = 3;
10944
- * @return {string}
10945
- */
10946
- proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.getOrchestrationStrategy = function() {
10947
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
10948
- };
10949
-
10950
-
10951
- /**
10952
- * @param {string} value
10953
- * @return {!proto.browserstack.sdk.v1.TestOrchestrationRequest} returns this
10954
- */
10955
- proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.setOrchestrationStrategy = function(value) {
10956
- return jspb.Message.setField(this, 3, value);
10957
- };
10958
-
10959
-
10960
- /**
10961
- * Clears the field making it undefined.
10962
- * @return {!proto.browserstack.sdk.v1.TestOrchestrationRequest} returns this
10963
- */
10964
- proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.clearOrchestrationStrategy = function() {
10965
- return jspb.Message.setField(this, 3, undefined);
10966
- };
10967
-
10968
-
10969
- /**
10970
- * Returns whether this field is set.
10971
- * @return {boolean}
10972
- */
10973
- proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.hasOrchestrationStrategy = function() {
10974
- return jspb.Message.getField(this, 3) != null;
10975
- };
10976
-
10977
-
10978
- /**
10979
- * optional string orchestration_metadata = 4;
13603
+ * optional string client_worker_id = 500;
10980
13604
  * @return {string}
10981
13605
  */
10982
- proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.getOrchestrationMetadata = function() {
10983
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
13606
+ proto.browserstack.sdk.v1.TestCafeConfigRequest.prototype.getClientWorkerId = function() {
13607
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 500, ""));
10984
13608
  };
10985
13609
 
10986
13610
 
10987
13611
  /**
10988
13612
  * @param {string} value
10989
- * @return {!proto.browserstack.sdk.v1.TestOrchestrationRequest} returns this
13613
+ * @return {!proto.browserstack.sdk.v1.TestCafeConfigRequest} returns this
10990
13614
  */
10991
- proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.setOrchestrationMetadata = function(value) {
10992
- return jspb.Message.setField(this, 4, value);
13615
+ proto.browserstack.sdk.v1.TestCafeConfigRequest.prototype.setClientWorkerId = function(value) {
13616
+ return jspb.Message.setField(this, 500, value);
10993
13617
  };
10994
13618
 
10995
13619
 
10996
13620
  /**
10997
13621
  * Clears the field making it undefined.
10998
- * @return {!proto.browserstack.sdk.v1.TestOrchestrationRequest} returns this
13622
+ * @return {!proto.browserstack.sdk.v1.TestCafeConfigRequest} returns this
10999
13623
  */
11000
- proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.clearOrchestrationMetadata = function() {
11001
- return jspb.Message.setField(this, 4, undefined);
13624
+ proto.browserstack.sdk.v1.TestCafeConfigRequest.prototype.clearClientWorkerId = function() {
13625
+ return jspb.Message.setField(this, 500, undefined);
11002
13626
  };
11003
13627
 
11004
13628
 
@@ -11006,19 +13630,12 @@ proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.clearOrchestrationM
11006
13630
  * Returns whether this field is set.
11007
13631
  * @return {boolean}
11008
13632
  */
11009
- proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.hasOrchestrationMetadata = function() {
11010
- return jspb.Message.getField(this, 4) != null;
13633
+ proto.browserstack.sdk.v1.TestCafeConfigRequest.prototype.hasClientWorkerId = function() {
13634
+ return jspb.Message.getField(this, 500) != null;
11011
13635
  };
11012
13636
 
11013
13637
 
11014
13638
 
11015
- /**
11016
- * List of repeated fields within this message type.
11017
- * @private {!Array<number>}
11018
- * @const
11019
- */
11020
- proto.browserstack.sdk.v1.TestOrchestrationResponse.repeatedFields_ = [2];
11021
-
11022
13639
 
11023
13640
 
11024
13641
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -11034,8 +13651,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
11034
13651
  * http://goto/soy-param-migration
11035
13652
  * @return {!Object}
11036
13653
  */
11037
- proto.browserstack.sdk.v1.TestOrchestrationResponse.prototype.toObject = function(opt_includeInstance) {
11038
- return proto.browserstack.sdk.v1.TestOrchestrationResponse.toObject(opt_includeInstance, this);
13654
+ proto.browserstack.sdk.v1.TestCafeConfigResponse.prototype.toObject = function(opt_includeInstance) {
13655
+ return proto.browserstack.sdk.v1.TestCafeConfigResponse.toObject(opt_includeInstance, this);
11039
13656
  };
11040
13657
 
11041
13658
 
@@ -11044,14 +13661,16 @@ proto.browserstack.sdk.v1.TestOrchestrationResponse.prototype.toObject = functio
11044
13661
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
11045
13662
  * the JSPB instance for transitional soy proto support:
11046
13663
  * http://goto/soy-param-migration
11047
- * @param {!proto.browserstack.sdk.v1.TestOrchestrationResponse} msg The msg instance to transform.
13664
+ * @param {!proto.browserstack.sdk.v1.TestCafeConfigResponse} msg The msg instance to transform.
11048
13665
  * @return {!Object}
11049
13666
  * @suppress {unusedLocalVariables} f is only used for nested messages
11050
13667
  */
11051
- proto.browserstack.sdk.v1.TestOrchestrationResponse.toObject = function(includeInstance, msg) {
13668
+ proto.browserstack.sdk.v1.TestCafeConfigResponse.toObject = function(includeInstance, msg) {
11052
13669
  var f, obj = {
11053
13670
  success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
11054
- orderedTestFilesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
13671
+ browserTargets: jspb.Message.getFieldWithDefault(msg, 2, ""),
13672
+ rerunTestGrep: jspb.Message.getFieldWithDefault(msg, 3, ""),
13673
+ error: jspb.Message.getFieldWithDefault(msg, 4, "")
11055
13674
  };
11056
13675
 
11057
13676
  if (includeInstance) {
@@ -11065,23 +13684,23 @@ proto.browserstack.sdk.v1.TestOrchestrationResponse.toObject = function(includeI
11065
13684
  /**
11066
13685
  * Deserializes binary data (in protobuf wire format).
11067
13686
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
11068
- * @return {!proto.browserstack.sdk.v1.TestOrchestrationResponse}
13687
+ * @return {!proto.browserstack.sdk.v1.TestCafeConfigResponse}
11069
13688
  */
11070
- proto.browserstack.sdk.v1.TestOrchestrationResponse.deserializeBinary = function(bytes) {
13689
+ proto.browserstack.sdk.v1.TestCafeConfigResponse.deserializeBinary = function(bytes) {
11071
13690
  var reader = new jspb.BinaryReader(bytes);
11072
- var msg = new proto.browserstack.sdk.v1.TestOrchestrationResponse;
11073
- return proto.browserstack.sdk.v1.TestOrchestrationResponse.deserializeBinaryFromReader(msg, reader);
13691
+ var msg = new proto.browserstack.sdk.v1.TestCafeConfigResponse;
13692
+ return proto.browserstack.sdk.v1.TestCafeConfigResponse.deserializeBinaryFromReader(msg, reader);
11074
13693
  };
11075
13694
 
11076
13695
 
11077
13696
  /**
11078
13697
  * Deserializes binary data (in protobuf wire format) from the
11079
13698
  * given reader into the given message object.
11080
- * @param {!proto.browserstack.sdk.v1.TestOrchestrationResponse} msg The message object to deserialize into.
13699
+ * @param {!proto.browserstack.sdk.v1.TestCafeConfigResponse} msg The message object to deserialize into.
11081
13700
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
11082
- * @return {!proto.browserstack.sdk.v1.TestOrchestrationResponse}
13701
+ * @return {!proto.browserstack.sdk.v1.TestCafeConfigResponse}
11083
13702
  */
11084
- proto.browserstack.sdk.v1.TestOrchestrationResponse.deserializeBinaryFromReader = function(msg, reader) {
13703
+ proto.browserstack.sdk.v1.TestCafeConfigResponse.deserializeBinaryFromReader = function(msg, reader) {
11085
13704
  while (reader.nextField()) {
11086
13705
  if (reader.isEndGroup()) {
11087
13706
  break;
@@ -11094,7 +13713,15 @@ proto.browserstack.sdk.v1.TestOrchestrationResponse.deserializeBinaryFromReader
11094
13713
  break;
11095
13714
  case 2:
11096
13715
  var value = /** @type {string} */ (reader.readString());
11097
- msg.addOrderedTestFiles(value);
13716
+ msg.setBrowserTargets(value);
13717
+ break;
13718
+ case 3:
13719
+ var value = /** @type {string} */ (reader.readString());
13720
+ msg.setRerunTestGrep(value);
13721
+ break;
13722
+ case 4:
13723
+ var value = /** @type {string} */ (reader.readString());
13724
+ msg.setError(value);
11098
13725
  break;
11099
13726
  default:
11100
13727
  reader.skipField();
@@ -11109,9 +13736,9 @@ proto.browserstack.sdk.v1.TestOrchestrationResponse.deserializeBinaryFromReader
11109
13736
  * Serializes the message to binary data (in protobuf wire format).
11110
13737
  * @return {!Uint8Array}
11111
13738
  */
11112
- proto.browserstack.sdk.v1.TestOrchestrationResponse.prototype.serializeBinary = function() {
13739
+ proto.browserstack.sdk.v1.TestCafeConfigResponse.prototype.serializeBinary = function() {
11113
13740
  var writer = new jspb.BinaryWriter();
11114
- proto.browserstack.sdk.v1.TestOrchestrationResponse.serializeBinaryToWriter(this, writer);
13741
+ proto.browserstack.sdk.v1.TestCafeConfigResponse.serializeBinaryToWriter(this, writer);
11115
13742
  return writer.getResultBuffer();
11116
13743
  };
11117
13744
 
@@ -11119,11 +13746,11 @@ proto.browserstack.sdk.v1.TestOrchestrationResponse.prototype.serializeBinary =
11119
13746
  /**
11120
13747
  * Serializes the given message to binary data (in protobuf wire
11121
13748
  * format), writing to the given BinaryWriter.
11122
- * @param {!proto.browserstack.sdk.v1.TestOrchestrationResponse} message
13749
+ * @param {!proto.browserstack.sdk.v1.TestCafeConfigResponse} message
11123
13750
  * @param {!jspb.BinaryWriter} writer
11124
13751
  * @suppress {unusedLocalVariables} f is only used for nested messages
11125
13752
  */
11126
- proto.browserstack.sdk.v1.TestOrchestrationResponse.serializeBinaryToWriter = function(message, writer) {
13753
+ proto.browserstack.sdk.v1.TestCafeConfigResponse.serializeBinaryToWriter = function(message, writer) {
11127
13754
  var f = undefined;
11128
13755
  f = message.getSuccess();
11129
13756
  if (f) {
@@ -11132,13 +13759,27 @@ proto.browserstack.sdk.v1.TestOrchestrationResponse.serializeBinaryToWriter = fu
11132
13759
  f
11133
13760
  );
11134
13761
  }
11135
- f = message.getOrderedTestFilesList();
13762
+ f = message.getBrowserTargets();
11136
13763
  if (f.length > 0) {
11137
- writer.writeRepeatedString(
13764
+ writer.writeString(
11138
13765
  2,
11139
13766
  f
11140
13767
  );
11141
13768
  }
13769
+ f = message.getRerunTestGrep();
13770
+ if (f.length > 0) {
13771
+ writer.writeString(
13772
+ 3,
13773
+ f
13774
+ );
13775
+ }
13776
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
13777
+ if (f != null) {
13778
+ writer.writeString(
13779
+ 4,
13780
+ f
13781
+ );
13782
+ }
11142
13783
  };
11143
13784
 
11144
13785
 
@@ -11146,54 +13787,89 @@ proto.browserstack.sdk.v1.TestOrchestrationResponse.serializeBinaryToWriter = fu
11146
13787
  * optional bool success = 1;
11147
13788
  * @return {boolean}
11148
13789
  */
11149
- proto.browserstack.sdk.v1.TestOrchestrationResponse.prototype.getSuccess = function() {
13790
+ proto.browserstack.sdk.v1.TestCafeConfigResponse.prototype.getSuccess = function() {
11150
13791
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
11151
13792
  };
11152
13793
 
11153
13794
 
11154
13795
  /**
11155
13796
  * @param {boolean} value
11156
- * @return {!proto.browserstack.sdk.v1.TestOrchestrationResponse} returns this
13797
+ * @return {!proto.browserstack.sdk.v1.TestCafeConfigResponse} returns this
11157
13798
  */
11158
- proto.browserstack.sdk.v1.TestOrchestrationResponse.prototype.setSuccess = function(value) {
13799
+ proto.browserstack.sdk.v1.TestCafeConfigResponse.prototype.setSuccess = function(value) {
11159
13800
  return jspb.Message.setProto3BooleanField(this, 1, value);
11160
13801
  };
11161
13802
 
11162
13803
 
11163
13804
  /**
11164
- * repeated string ordered_test_files = 2;
11165
- * @return {!Array<string>}
13805
+ * optional string browser_targets = 2;
13806
+ * @return {string}
11166
13807
  */
11167
- proto.browserstack.sdk.v1.TestOrchestrationResponse.prototype.getOrderedTestFilesList = function() {
11168
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
13808
+ proto.browserstack.sdk.v1.TestCafeConfigResponse.prototype.getBrowserTargets = function() {
13809
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
11169
13810
  };
11170
13811
 
11171
13812
 
11172
13813
  /**
11173
- * @param {!Array<string>} value
11174
- * @return {!proto.browserstack.sdk.v1.TestOrchestrationResponse} returns this
13814
+ * @param {string} value
13815
+ * @return {!proto.browserstack.sdk.v1.TestCafeConfigResponse} returns this
11175
13816
  */
11176
- proto.browserstack.sdk.v1.TestOrchestrationResponse.prototype.setOrderedTestFilesList = function(value) {
11177
- return jspb.Message.setField(this, 2, value || []);
13817
+ proto.browserstack.sdk.v1.TestCafeConfigResponse.prototype.setBrowserTargets = function(value) {
13818
+ return jspb.Message.setProto3StringField(this, 2, value);
13819
+ };
13820
+
13821
+
13822
+ /**
13823
+ * optional string rerun_test_grep = 3;
13824
+ * @return {string}
13825
+ */
13826
+ proto.browserstack.sdk.v1.TestCafeConfigResponse.prototype.getRerunTestGrep = function() {
13827
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
11178
13828
  };
11179
13829
 
11180
13830
 
11181
13831
  /**
11182
13832
  * @param {string} value
11183
- * @param {number=} opt_index
11184
- * @return {!proto.browserstack.sdk.v1.TestOrchestrationResponse} returns this
13833
+ * @return {!proto.browserstack.sdk.v1.TestCafeConfigResponse} returns this
11185
13834
  */
11186
- proto.browserstack.sdk.v1.TestOrchestrationResponse.prototype.addOrderedTestFiles = function(value, opt_index) {
11187
- return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
13835
+ proto.browserstack.sdk.v1.TestCafeConfigResponse.prototype.setRerunTestGrep = function(value) {
13836
+ return jspb.Message.setProto3StringField(this, 3, value);
11188
13837
  };
11189
13838
 
11190
13839
 
11191
13840
  /**
11192
- * Clears the list making it empty but non-null.
11193
- * @return {!proto.browserstack.sdk.v1.TestOrchestrationResponse} returns this
13841
+ * optional string error = 4;
13842
+ * @return {string}
11194
13843
  */
11195
- proto.browserstack.sdk.v1.TestOrchestrationResponse.prototype.clearOrderedTestFilesList = function() {
11196
- return this.setOrderedTestFilesList([]);
13844
+ proto.browserstack.sdk.v1.TestCafeConfigResponse.prototype.getError = function() {
13845
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
13846
+ };
13847
+
13848
+
13849
+ /**
13850
+ * @param {string} value
13851
+ * @return {!proto.browserstack.sdk.v1.TestCafeConfigResponse} returns this
13852
+ */
13853
+ proto.browserstack.sdk.v1.TestCafeConfigResponse.prototype.setError = function(value) {
13854
+ return jspb.Message.setField(this, 4, value);
13855
+ };
13856
+
13857
+
13858
+ /**
13859
+ * Clears the field making it undefined.
13860
+ * @return {!proto.browserstack.sdk.v1.TestCafeConfigResponse} returns this
13861
+ */
13862
+ proto.browserstack.sdk.v1.TestCafeConfigResponse.prototype.clearError = function() {
13863
+ return jspb.Message.setField(this, 4, undefined);
13864
+ };
13865
+
13866
+
13867
+ /**
13868
+ * Returns whether this field is set.
13869
+ * @return {boolean}
13870
+ */
13871
+ proto.browserstack.sdk.v1.TestCafeConfigResponse.prototype.hasError = function() {
13872
+ return jspb.Message.getField(this, 4) != null;
11197
13873
  };
11198
13874
 
11199
13875