browserstack-node-sdk 1.46.3 → 1.46.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/generated/sdk-messages_pb.d.ts +116 -0
- package/generated/sdk-messages_pb.js +902 -0
- package/generated/sdk_grpc_pb.d.ts +10 -0
- package/generated/sdk_grpc_pb.js +66 -0
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -0
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -46,11 +46,15 @@ goog.exportSymbol('proto.browserstack.sdk.v1.FetchDriverExecuteParamsEventReques
|
|
|
46
46
|
goog.exportSymbol('proto.browserstack.sdk.v1.FetchDriverExecuteParamsEventResponse', null, global);
|
|
47
47
|
goog.exportSymbol('proto.browserstack.sdk.v1.FindNearestHubRequest', null, global);
|
|
48
48
|
goog.exportSymbol('proto.browserstack.sdk.v1.FindNearestHubResponse', null, global);
|
|
49
|
+
goog.exportSymbol('proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest', null, global);
|
|
50
|
+
goog.exportSymbol('proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse', null, global);
|
|
49
51
|
goog.exportSymbol('proto.browserstack.sdk.v1.LogCreatedEventRequest', null, global);
|
|
50
52
|
goog.exportSymbol('proto.browserstack.sdk.v1.LogCreatedEventRequest.LogEntry', null, global);
|
|
51
53
|
goog.exportSymbol('proto.browserstack.sdk.v1.LogCreatedEventResponse', null, global);
|
|
52
54
|
goog.exportSymbol('proto.browserstack.sdk.v1.PlaywrightConfigRequest', null, global);
|
|
53
55
|
goog.exportSymbol('proto.browserstack.sdk.v1.PlaywrightConfigResponse', null, global);
|
|
56
|
+
goog.exportSymbol('proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest', null, global);
|
|
57
|
+
goog.exportSymbol('proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorResponse', null, global);
|
|
54
58
|
goog.exportSymbol('proto.browserstack.sdk.v1.StartBinSessionRequest', null, global);
|
|
55
59
|
goog.exportSymbol('proto.browserstack.sdk.v1.StartBinSessionResponse', null, global);
|
|
56
60
|
goog.exportSymbol('proto.browserstack.sdk.v1.StopBinSessionRequest', null, global);
|
|
@@ -711,6 +715,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
711
715
|
*/
|
|
712
716
|
proto.browserstack.sdk.v1.FetchDriverExecuteParamsEventResponse.displayName = 'proto.browserstack.sdk.v1.FetchDriverExecuteParamsEventResponse';
|
|
713
717
|
}
|
|
718
|
+
/**
|
|
719
|
+
* Generated by JsPbCodeGenerator.
|
|
720
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
721
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
722
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
723
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
724
|
+
* valid.
|
|
725
|
+
* @extends {jspb.Message}
|
|
726
|
+
* @constructor
|
|
727
|
+
*/
|
|
728
|
+
proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest = function(opt_data) {
|
|
729
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
730
|
+
};
|
|
731
|
+
goog.inherits(proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest, jspb.Message);
|
|
732
|
+
if (goog.DEBUG && !COMPILED) {
|
|
733
|
+
/**
|
|
734
|
+
* @public
|
|
735
|
+
* @override
|
|
736
|
+
*/
|
|
737
|
+
proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest.displayName = 'proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest';
|
|
738
|
+
}
|
|
739
|
+
/**
|
|
740
|
+
* Generated by JsPbCodeGenerator.
|
|
741
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
742
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
743
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
744
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
745
|
+
* valid.
|
|
746
|
+
* @extends {jspb.Message}
|
|
747
|
+
* @constructor
|
|
748
|
+
*/
|
|
749
|
+
proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorResponse = function(opt_data) {
|
|
750
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
751
|
+
};
|
|
752
|
+
goog.inherits(proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorResponse, jspb.Message);
|
|
753
|
+
if (goog.DEBUG && !COMPILED) {
|
|
754
|
+
/**
|
|
755
|
+
* @public
|
|
756
|
+
* @override
|
|
757
|
+
*/
|
|
758
|
+
proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorResponse.displayName = 'proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorResponse';
|
|
759
|
+
}
|
|
760
|
+
/**
|
|
761
|
+
* Generated by JsPbCodeGenerator.
|
|
762
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
763
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
764
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
765
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
766
|
+
* valid.
|
|
767
|
+
* @extends {jspb.Message}
|
|
768
|
+
* @constructor
|
|
769
|
+
*/
|
|
770
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest = function(opt_data) {
|
|
771
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
772
|
+
};
|
|
773
|
+
goog.inherits(proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest, jspb.Message);
|
|
774
|
+
if (goog.DEBUG && !COMPILED) {
|
|
775
|
+
/**
|
|
776
|
+
* @public
|
|
777
|
+
* @override
|
|
778
|
+
*/
|
|
779
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest.displayName = 'proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest';
|
|
780
|
+
}
|
|
781
|
+
/**
|
|
782
|
+
* Generated by JsPbCodeGenerator.
|
|
783
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
784
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
785
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
786
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
787
|
+
* valid.
|
|
788
|
+
* @extends {jspb.Message}
|
|
789
|
+
* @constructor
|
|
790
|
+
*/
|
|
791
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse = function(opt_data) {
|
|
792
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
793
|
+
};
|
|
794
|
+
goog.inherits(proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse, jspb.Message);
|
|
795
|
+
if (goog.DEBUG && !COMPILED) {
|
|
796
|
+
/**
|
|
797
|
+
* @public
|
|
798
|
+
* @override
|
|
799
|
+
*/
|
|
800
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse.displayName = 'proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse';
|
|
801
|
+
}
|
|
714
802
|
|
|
715
803
|
|
|
716
804
|
|
|
@@ -9127,4 +9215,818 @@ proto.browserstack.sdk.v1.FetchDriverExecuteParamsEventResponse.prototype.hasErr
|
|
|
9127
9215
|
};
|
|
9128
9216
|
|
|
9129
9217
|
|
|
9218
|
+
|
|
9219
|
+
|
|
9220
|
+
|
|
9221
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
9222
|
+
/**
|
|
9223
|
+
* Creates an object representation of this proto.
|
|
9224
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
9225
|
+
* Optional fields that are not set will be set to undefined.
|
|
9226
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
9227
|
+
* For the list of reserved names please see:
|
|
9228
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
9229
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
9230
|
+
* JSPB instance for transitional soy proto support:
|
|
9231
|
+
* http://goto/soy-param-migration
|
|
9232
|
+
* @return {!Object}
|
|
9233
|
+
*/
|
|
9234
|
+
proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest.prototype.toObject = function(opt_includeInstance) {
|
|
9235
|
+
return proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest.toObject(opt_includeInstance, this);
|
|
9236
|
+
};
|
|
9237
|
+
|
|
9238
|
+
|
|
9239
|
+
/**
|
|
9240
|
+
* Static version of the {@see toObject} method.
|
|
9241
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9242
|
+
* the JSPB instance for transitional soy proto support:
|
|
9243
|
+
* http://goto/soy-param-migration
|
|
9244
|
+
* @param {!proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest} msg The msg instance to transform.
|
|
9245
|
+
* @return {!Object}
|
|
9246
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9247
|
+
*/
|
|
9248
|
+
proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest.toObject = function(includeInstance, msg) {
|
|
9249
|
+
var f, obj = {
|
|
9250
|
+
binSessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
9251
|
+
errorKey: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
9252
|
+
};
|
|
9253
|
+
|
|
9254
|
+
if (includeInstance) {
|
|
9255
|
+
obj.$jspbMessageInstance = msg;
|
|
9256
|
+
}
|
|
9257
|
+
return obj;
|
|
9258
|
+
};
|
|
9259
|
+
}
|
|
9260
|
+
|
|
9261
|
+
|
|
9262
|
+
/**
|
|
9263
|
+
* Deserializes binary data (in protobuf wire format).
|
|
9264
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9265
|
+
* @return {!proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest}
|
|
9266
|
+
*/
|
|
9267
|
+
proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest.deserializeBinary = function(bytes) {
|
|
9268
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
9269
|
+
var msg = new proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest;
|
|
9270
|
+
return proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest.deserializeBinaryFromReader(msg, reader);
|
|
9271
|
+
};
|
|
9272
|
+
|
|
9273
|
+
|
|
9274
|
+
/**
|
|
9275
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
9276
|
+
* given reader into the given message object.
|
|
9277
|
+
* @param {!proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest} msg The message object to deserialize into.
|
|
9278
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9279
|
+
* @return {!proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest}
|
|
9280
|
+
*/
|
|
9281
|
+
proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
9282
|
+
while (reader.nextField()) {
|
|
9283
|
+
if (reader.isEndGroup()) {
|
|
9284
|
+
break;
|
|
9285
|
+
}
|
|
9286
|
+
var field = reader.getFieldNumber();
|
|
9287
|
+
switch (field) {
|
|
9288
|
+
case 1:
|
|
9289
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9290
|
+
msg.setBinSessionId(value);
|
|
9291
|
+
break;
|
|
9292
|
+
case 2:
|
|
9293
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9294
|
+
msg.setErrorKey(value);
|
|
9295
|
+
break;
|
|
9296
|
+
default:
|
|
9297
|
+
reader.skipField();
|
|
9298
|
+
break;
|
|
9299
|
+
}
|
|
9300
|
+
}
|
|
9301
|
+
return msg;
|
|
9302
|
+
};
|
|
9303
|
+
|
|
9304
|
+
|
|
9305
|
+
/**
|
|
9306
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
9307
|
+
* @return {!Uint8Array}
|
|
9308
|
+
*/
|
|
9309
|
+
proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest.prototype.serializeBinary = function() {
|
|
9310
|
+
var writer = new jspb.BinaryWriter();
|
|
9311
|
+
proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest.serializeBinaryToWriter(this, writer);
|
|
9312
|
+
return writer.getResultBuffer();
|
|
9313
|
+
};
|
|
9314
|
+
|
|
9315
|
+
|
|
9316
|
+
/**
|
|
9317
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
9318
|
+
* format), writing to the given BinaryWriter.
|
|
9319
|
+
* @param {!proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest} message
|
|
9320
|
+
* @param {!jspb.BinaryWriter} writer
|
|
9321
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9322
|
+
*/
|
|
9323
|
+
proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest.serializeBinaryToWriter = function(message, writer) {
|
|
9324
|
+
var f = undefined;
|
|
9325
|
+
f = message.getBinSessionId();
|
|
9326
|
+
if (f.length > 0) {
|
|
9327
|
+
writer.writeString(
|
|
9328
|
+
1,
|
|
9329
|
+
f
|
|
9330
|
+
);
|
|
9331
|
+
}
|
|
9332
|
+
f = message.getErrorKey();
|
|
9333
|
+
if (f.length > 0) {
|
|
9334
|
+
writer.writeString(
|
|
9335
|
+
2,
|
|
9336
|
+
f
|
|
9337
|
+
);
|
|
9338
|
+
}
|
|
9339
|
+
};
|
|
9340
|
+
|
|
9341
|
+
|
|
9342
|
+
/**
|
|
9343
|
+
* optional string bin_session_id = 1;
|
|
9344
|
+
* @return {string}
|
|
9345
|
+
*/
|
|
9346
|
+
proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest.prototype.getBinSessionId = function() {
|
|
9347
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
9348
|
+
};
|
|
9349
|
+
|
|
9350
|
+
|
|
9351
|
+
/**
|
|
9352
|
+
* @param {string} value
|
|
9353
|
+
* @return {!proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest} returns this
|
|
9354
|
+
*/
|
|
9355
|
+
proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest.prototype.setBinSessionId = function(value) {
|
|
9356
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
9357
|
+
};
|
|
9358
|
+
|
|
9359
|
+
|
|
9360
|
+
/**
|
|
9361
|
+
* optional string error_key = 2;
|
|
9362
|
+
* @return {string}
|
|
9363
|
+
*/
|
|
9364
|
+
proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest.prototype.getErrorKey = function() {
|
|
9365
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
9366
|
+
};
|
|
9367
|
+
|
|
9368
|
+
|
|
9369
|
+
/**
|
|
9370
|
+
* @param {string} value
|
|
9371
|
+
* @return {!proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest} returns this
|
|
9372
|
+
*/
|
|
9373
|
+
proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorRequest.prototype.setErrorKey = function(value) {
|
|
9374
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
9375
|
+
};
|
|
9376
|
+
|
|
9377
|
+
|
|
9378
|
+
|
|
9379
|
+
|
|
9380
|
+
|
|
9381
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
9382
|
+
/**
|
|
9383
|
+
* Creates an object representation of this proto.
|
|
9384
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
9385
|
+
* Optional fields that are not set will be set to undefined.
|
|
9386
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
9387
|
+
* For the list of reserved names please see:
|
|
9388
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
9389
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
9390
|
+
* JSPB instance for transitional soy proto support:
|
|
9391
|
+
* http://goto/soy-param-migration
|
|
9392
|
+
* @return {!Object}
|
|
9393
|
+
*/
|
|
9394
|
+
proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorResponse.prototype.toObject = function(opt_includeInstance) {
|
|
9395
|
+
return proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorResponse.toObject(opt_includeInstance, this);
|
|
9396
|
+
};
|
|
9397
|
+
|
|
9398
|
+
|
|
9399
|
+
/**
|
|
9400
|
+
* Static version of the {@see toObject} method.
|
|
9401
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9402
|
+
* the JSPB instance for transitional soy proto support:
|
|
9403
|
+
* http://goto/soy-param-migration
|
|
9404
|
+
* @param {!proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorResponse} msg The msg instance to transform.
|
|
9405
|
+
* @return {!Object}
|
|
9406
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9407
|
+
*/
|
|
9408
|
+
proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorResponse.toObject = function(includeInstance, msg) {
|
|
9409
|
+
var f, obj = {
|
|
9410
|
+
success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
9411
|
+
errorCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
9412
|
+
errorMessage: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
9413
|
+
};
|
|
9414
|
+
|
|
9415
|
+
if (includeInstance) {
|
|
9416
|
+
obj.$jspbMessageInstance = msg;
|
|
9417
|
+
}
|
|
9418
|
+
return obj;
|
|
9419
|
+
};
|
|
9420
|
+
}
|
|
9421
|
+
|
|
9422
|
+
|
|
9423
|
+
/**
|
|
9424
|
+
* Deserializes binary data (in protobuf wire format).
|
|
9425
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9426
|
+
* @return {!proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorResponse}
|
|
9427
|
+
*/
|
|
9428
|
+
proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorResponse.deserializeBinary = function(bytes) {
|
|
9429
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
9430
|
+
var msg = new proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorResponse;
|
|
9431
|
+
return proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorResponse.deserializeBinaryFromReader(msg, reader);
|
|
9432
|
+
};
|
|
9433
|
+
|
|
9434
|
+
|
|
9435
|
+
/**
|
|
9436
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
9437
|
+
* given reader into the given message object.
|
|
9438
|
+
* @param {!proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorResponse} msg The message object to deserialize into.
|
|
9439
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9440
|
+
* @return {!proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorResponse}
|
|
9441
|
+
*/
|
|
9442
|
+
proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
9443
|
+
while (reader.nextField()) {
|
|
9444
|
+
if (reader.isEndGroup()) {
|
|
9445
|
+
break;
|
|
9446
|
+
}
|
|
9447
|
+
var field = reader.getFieldNumber();
|
|
9448
|
+
switch (field) {
|
|
9449
|
+
case 1:
|
|
9450
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
9451
|
+
msg.setSuccess(value);
|
|
9452
|
+
break;
|
|
9453
|
+
case 2:
|
|
9454
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9455
|
+
msg.setErrorCode(value);
|
|
9456
|
+
break;
|
|
9457
|
+
case 3:
|
|
9458
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9459
|
+
msg.setErrorMessage(value);
|
|
9460
|
+
break;
|
|
9461
|
+
default:
|
|
9462
|
+
reader.skipField();
|
|
9463
|
+
break;
|
|
9464
|
+
}
|
|
9465
|
+
}
|
|
9466
|
+
return msg;
|
|
9467
|
+
};
|
|
9468
|
+
|
|
9469
|
+
|
|
9470
|
+
/**
|
|
9471
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
9472
|
+
* @return {!Uint8Array}
|
|
9473
|
+
*/
|
|
9474
|
+
proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorResponse.prototype.serializeBinary = function() {
|
|
9475
|
+
var writer = new jspb.BinaryWriter();
|
|
9476
|
+
proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorResponse.serializeBinaryToWriter(this, writer);
|
|
9477
|
+
return writer.getResultBuffer();
|
|
9478
|
+
};
|
|
9479
|
+
|
|
9480
|
+
|
|
9481
|
+
/**
|
|
9482
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
9483
|
+
* format), writing to the given BinaryWriter.
|
|
9484
|
+
* @param {!proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorResponse} message
|
|
9485
|
+
* @param {!jspb.BinaryWriter} writer
|
|
9486
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9487
|
+
*/
|
|
9488
|
+
proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorResponse.serializeBinaryToWriter = function(message, writer) {
|
|
9489
|
+
var f = undefined;
|
|
9490
|
+
f = message.getSuccess();
|
|
9491
|
+
if (f) {
|
|
9492
|
+
writer.writeBool(
|
|
9493
|
+
1,
|
|
9494
|
+
f
|
|
9495
|
+
);
|
|
9496
|
+
}
|
|
9497
|
+
f = message.getErrorCode();
|
|
9498
|
+
if (f.length > 0) {
|
|
9499
|
+
writer.writeString(
|
|
9500
|
+
2,
|
|
9501
|
+
f
|
|
9502
|
+
);
|
|
9503
|
+
}
|
|
9504
|
+
f = message.getErrorMessage();
|
|
9505
|
+
if (f.length > 0) {
|
|
9506
|
+
writer.writeString(
|
|
9507
|
+
3,
|
|
9508
|
+
f
|
|
9509
|
+
);
|
|
9510
|
+
}
|
|
9511
|
+
};
|
|
9512
|
+
|
|
9513
|
+
|
|
9514
|
+
/**
|
|
9515
|
+
* optional bool success = 1;
|
|
9516
|
+
* @return {boolean}
|
|
9517
|
+
*/
|
|
9518
|
+
proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorResponse.prototype.getSuccess = function() {
|
|
9519
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
9520
|
+
};
|
|
9521
|
+
|
|
9522
|
+
|
|
9523
|
+
/**
|
|
9524
|
+
* @param {boolean} value
|
|
9525
|
+
* @return {!proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorResponse} returns this
|
|
9526
|
+
*/
|
|
9527
|
+
proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorResponse.prototype.setSuccess = function(value) {
|
|
9528
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
9529
|
+
};
|
|
9530
|
+
|
|
9531
|
+
|
|
9532
|
+
/**
|
|
9533
|
+
* optional string error_code = 2;
|
|
9534
|
+
* @return {string}
|
|
9535
|
+
*/
|
|
9536
|
+
proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorResponse.prototype.getErrorCode = function() {
|
|
9537
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
9538
|
+
};
|
|
9539
|
+
|
|
9540
|
+
|
|
9541
|
+
/**
|
|
9542
|
+
* @param {string} value
|
|
9543
|
+
* @return {!proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorResponse} returns this
|
|
9544
|
+
*/
|
|
9545
|
+
proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorResponse.prototype.setErrorCode = function(value) {
|
|
9546
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
9547
|
+
};
|
|
9548
|
+
|
|
9549
|
+
|
|
9550
|
+
/**
|
|
9551
|
+
* optional string error_message = 3;
|
|
9552
|
+
* @return {string}
|
|
9553
|
+
*/
|
|
9554
|
+
proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorResponse.prototype.getErrorMessage = function() {
|
|
9555
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
9556
|
+
};
|
|
9557
|
+
|
|
9558
|
+
|
|
9559
|
+
/**
|
|
9560
|
+
* @param {string} value
|
|
9561
|
+
* @return {!proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorResponse} returns this
|
|
9562
|
+
*/
|
|
9563
|
+
proto.browserstack.sdk.v1.ReportClientTroubleshootingErrorResponse.prototype.setErrorMessage = function(value) {
|
|
9564
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
9565
|
+
};
|
|
9566
|
+
|
|
9567
|
+
|
|
9568
|
+
|
|
9569
|
+
|
|
9570
|
+
|
|
9571
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
9572
|
+
/**
|
|
9573
|
+
* Creates an object representation of this proto.
|
|
9574
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
9575
|
+
* Optional fields that are not set will be set to undefined.
|
|
9576
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
9577
|
+
* For the list of reserved names please see:
|
|
9578
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
9579
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
9580
|
+
* JSPB instance for transitional soy proto support:
|
|
9581
|
+
* http://goto/soy-param-migration
|
|
9582
|
+
* @return {!Object}
|
|
9583
|
+
*/
|
|
9584
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
9585
|
+
return proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest.toObject(opt_includeInstance, this);
|
|
9586
|
+
};
|
|
9587
|
+
|
|
9588
|
+
|
|
9589
|
+
/**
|
|
9590
|
+
* Static version of the {@see toObject} method.
|
|
9591
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9592
|
+
* the JSPB instance for transitional soy proto support:
|
|
9593
|
+
* http://goto/soy-param-migration
|
|
9594
|
+
* @param {!proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest} msg The msg instance to transform.
|
|
9595
|
+
* @return {!Object}
|
|
9596
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9597
|
+
*/
|
|
9598
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest.toObject = function(includeInstance, msg) {
|
|
9599
|
+
var f, obj = {
|
|
9600
|
+
binSessionId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
9601
|
+
};
|
|
9602
|
+
|
|
9603
|
+
if (includeInstance) {
|
|
9604
|
+
obj.$jspbMessageInstance = msg;
|
|
9605
|
+
}
|
|
9606
|
+
return obj;
|
|
9607
|
+
};
|
|
9608
|
+
}
|
|
9609
|
+
|
|
9610
|
+
|
|
9611
|
+
/**
|
|
9612
|
+
* Deserializes binary data (in protobuf wire format).
|
|
9613
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9614
|
+
* @return {!proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest}
|
|
9615
|
+
*/
|
|
9616
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest.deserializeBinary = function(bytes) {
|
|
9617
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
9618
|
+
var msg = new proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest;
|
|
9619
|
+
return proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest.deserializeBinaryFromReader(msg, reader);
|
|
9620
|
+
};
|
|
9621
|
+
|
|
9622
|
+
|
|
9623
|
+
/**
|
|
9624
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
9625
|
+
* given reader into the given message object.
|
|
9626
|
+
* @param {!proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest} msg The message object to deserialize into.
|
|
9627
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9628
|
+
* @return {!proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest}
|
|
9629
|
+
*/
|
|
9630
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
9631
|
+
while (reader.nextField()) {
|
|
9632
|
+
if (reader.isEndGroup()) {
|
|
9633
|
+
break;
|
|
9634
|
+
}
|
|
9635
|
+
var field = reader.getFieldNumber();
|
|
9636
|
+
switch (field) {
|
|
9637
|
+
case 1:
|
|
9638
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9639
|
+
msg.setBinSessionId(value);
|
|
9640
|
+
break;
|
|
9641
|
+
default:
|
|
9642
|
+
reader.skipField();
|
|
9643
|
+
break;
|
|
9644
|
+
}
|
|
9645
|
+
}
|
|
9646
|
+
return msg;
|
|
9647
|
+
};
|
|
9648
|
+
|
|
9649
|
+
|
|
9650
|
+
/**
|
|
9651
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
9652
|
+
* @return {!Uint8Array}
|
|
9653
|
+
*/
|
|
9654
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest.prototype.serializeBinary = function() {
|
|
9655
|
+
var writer = new jspb.BinaryWriter();
|
|
9656
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest.serializeBinaryToWriter(this, writer);
|
|
9657
|
+
return writer.getResultBuffer();
|
|
9658
|
+
};
|
|
9659
|
+
|
|
9660
|
+
|
|
9661
|
+
/**
|
|
9662
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
9663
|
+
* format), writing to the given BinaryWriter.
|
|
9664
|
+
* @param {!proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest} message
|
|
9665
|
+
* @param {!jspb.BinaryWriter} writer
|
|
9666
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9667
|
+
*/
|
|
9668
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
9669
|
+
var f = undefined;
|
|
9670
|
+
f = message.getBinSessionId();
|
|
9671
|
+
if (f.length > 0) {
|
|
9672
|
+
writer.writeString(
|
|
9673
|
+
1,
|
|
9674
|
+
f
|
|
9675
|
+
);
|
|
9676
|
+
}
|
|
9677
|
+
};
|
|
9678
|
+
|
|
9679
|
+
|
|
9680
|
+
/**
|
|
9681
|
+
* optional string bin_session_id = 1;
|
|
9682
|
+
* @return {string}
|
|
9683
|
+
*/
|
|
9684
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest.prototype.getBinSessionId = function() {
|
|
9685
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
9686
|
+
};
|
|
9687
|
+
|
|
9688
|
+
|
|
9689
|
+
/**
|
|
9690
|
+
* @param {string} value
|
|
9691
|
+
* @return {!proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest} returns this
|
|
9692
|
+
*/
|
|
9693
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsRequest.prototype.setBinSessionId = function(value) {
|
|
9694
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
9695
|
+
};
|
|
9696
|
+
|
|
9697
|
+
|
|
9698
|
+
|
|
9699
|
+
|
|
9700
|
+
|
|
9701
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
9702
|
+
/**
|
|
9703
|
+
* Creates an object representation of this proto.
|
|
9704
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
9705
|
+
* Optional fields that are not set will be set to undefined.
|
|
9706
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
9707
|
+
* For the list of reserved names please see:
|
|
9708
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
9709
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
9710
|
+
* JSPB instance for transitional soy proto support:
|
|
9711
|
+
* http://goto/soy-param-migration
|
|
9712
|
+
* @return {!Object}
|
|
9713
|
+
*/
|
|
9714
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
9715
|
+
return proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse.toObject(opt_includeInstance, this);
|
|
9716
|
+
};
|
|
9717
|
+
|
|
9718
|
+
|
|
9719
|
+
/**
|
|
9720
|
+
* Static version of the {@see toObject} method.
|
|
9721
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9722
|
+
* the JSPB instance for transitional soy proto support:
|
|
9723
|
+
* http://goto/soy-param-migration
|
|
9724
|
+
* @param {!proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse} msg The msg instance to transform.
|
|
9725
|
+
* @return {!Object}
|
|
9726
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9727
|
+
*/
|
|
9728
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse.toObject = function(includeInstance, msg) {
|
|
9729
|
+
var f, obj = {
|
|
9730
|
+
success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
9731
|
+
errorCodes: msg.getErrorCodes_asB64(),
|
|
9732
|
+
finalErrorMessage: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
9733
|
+
documentationLink: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
9734
|
+
errorCodesOccurredInCli: msg.getErrorCodesOccurredInCli_asB64()
|
|
9735
|
+
};
|
|
9736
|
+
|
|
9737
|
+
if (includeInstance) {
|
|
9738
|
+
obj.$jspbMessageInstance = msg;
|
|
9739
|
+
}
|
|
9740
|
+
return obj;
|
|
9741
|
+
};
|
|
9742
|
+
}
|
|
9743
|
+
|
|
9744
|
+
|
|
9745
|
+
/**
|
|
9746
|
+
* Deserializes binary data (in protobuf wire format).
|
|
9747
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9748
|
+
* @return {!proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse}
|
|
9749
|
+
*/
|
|
9750
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse.deserializeBinary = function(bytes) {
|
|
9751
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
9752
|
+
var msg = new proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse;
|
|
9753
|
+
return proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse.deserializeBinaryFromReader(msg, reader);
|
|
9754
|
+
};
|
|
9755
|
+
|
|
9756
|
+
|
|
9757
|
+
/**
|
|
9758
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
9759
|
+
* given reader into the given message object.
|
|
9760
|
+
* @param {!proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse} msg The message object to deserialize into.
|
|
9761
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9762
|
+
* @return {!proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse}
|
|
9763
|
+
*/
|
|
9764
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
9765
|
+
while (reader.nextField()) {
|
|
9766
|
+
if (reader.isEndGroup()) {
|
|
9767
|
+
break;
|
|
9768
|
+
}
|
|
9769
|
+
var field = reader.getFieldNumber();
|
|
9770
|
+
switch (field) {
|
|
9771
|
+
case 1:
|
|
9772
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
9773
|
+
msg.setSuccess(value);
|
|
9774
|
+
break;
|
|
9775
|
+
case 2:
|
|
9776
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
9777
|
+
msg.setErrorCodes(value);
|
|
9778
|
+
break;
|
|
9779
|
+
case 3:
|
|
9780
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9781
|
+
msg.setFinalErrorMessage(value);
|
|
9782
|
+
break;
|
|
9783
|
+
case 4:
|
|
9784
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9785
|
+
msg.setDocumentationLink(value);
|
|
9786
|
+
break;
|
|
9787
|
+
case 5:
|
|
9788
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
9789
|
+
msg.setErrorCodesOccurredInCli(value);
|
|
9790
|
+
break;
|
|
9791
|
+
default:
|
|
9792
|
+
reader.skipField();
|
|
9793
|
+
break;
|
|
9794
|
+
}
|
|
9795
|
+
}
|
|
9796
|
+
return msg;
|
|
9797
|
+
};
|
|
9798
|
+
|
|
9799
|
+
|
|
9800
|
+
/**
|
|
9801
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
9802
|
+
* @return {!Uint8Array}
|
|
9803
|
+
*/
|
|
9804
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse.prototype.serializeBinary = function() {
|
|
9805
|
+
var writer = new jspb.BinaryWriter();
|
|
9806
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse.serializeBinaryToWriter(this, writer);
|
|
9807
|
+
return writer.getResultBuffer();
|
|
9808
|
+
};
|
|
9809
|
+
|
|
9810
|
+
|
|
9811
|
+
/**
|
|
9812
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
9813
|
+
* format), writing to the given BinaryWriter.
|
|
9814
|
+
* @param {!proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse} message
|
|
9815
|
+
* @param {!jspb.BinaryWriter} writer
|
|
9816
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9817
|
+
*/
|
|
9818
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
9819
|
+
var f = undefined;
|
|
9820
|
+
f = message.getSuccess();
|
|
9821
|
+
if (f) {
|
|
9822
|
+
writer.writeBool(
|
|
9823
|
+
1,
|
|
9824
|
+
f
|
|
9825
|
+
);
|
|
9826
|
+
}
|
|
9827
|
+
f = message.getErrorCodes_asU8();
|
|
9828
|
+
if (f.length > 0) {
|
|
9829
|
+
writer.writeBytes(
|
|
9830
|
+
2,
|
|
9831
|
+
f
|
|
9832
|
+
);
|
|
9833
|
+
}
|
|
9834
|
+
f = message.getFinalErrorMessage();
|
|
9835
|
+
if (f.length > 0) {
|
|
9836
|
+
writer.writeString(
|
|
9837
|
+
3,
|
|
9838
|
+
f
|
|
9839
|
+
);
|
|
9840
|
+
}
|
|
9841
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
9842
|
+
if (f != null) {
|
|
9843
|
+
writer.writeString(
|
|
9844
|
+
4,
|
|
9845
|
+
f
|
|
9846
|
+
);
|
|
9847
|
+
}
|
|
9848
|
+
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 5));
|
|
9849
|
+
if (f != null) {
|
|
9850
|
+
writer.writeBytes(
|
|
9851
|
+
5,
|
|
9852
|
+
f
|
|
9853
|
+
);
|
|
9854
|
+
}
|
|
9855
|
+
};
|
|
9856
|
+
|
|
9857
|
+
|
|
9858
|
+
/**
|
|
9859
|
+
* optional bool success = 1;
|
|
9860
|
+
* @return {boolean}
|
|
9861
|
+
*/
|
|
9862
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse.prototype.getSuccess = function() {
|
|
9863
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
9864
|
+
};
|
|
9865
|
+
|
|
9866
|
+
|
|
9867
|
+
/**
|
|
9868
|
+
* @param {boolean} value
|
|
9869
|
+
* @return {!proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse} returns this
|
|
9870
|
+
*/
|
|
9871
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse.prototype.setSuccess = function(value) {
|
|
9872
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
9873
|
+
};
|
|
9874
|
+
|
|
9875
|
+
|
|
9876
|
+
/**
|
|
9877
|
+
* optional bytes error_codes = 2;
|
|
9878
|
+
* @return {!(string|Uint8Array)}
|
|
9879
|
+
*/
|
|
9880
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse.prototype.getErrorCodes = function() {
|
|
9881
|
+
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
9882
|
+
};
|
|
9883
|
+
|
|
9884
|
+
|
|
9885
|
+
/**
|
|
9886
|
+
* optional bytes error_codes = 2;
|
|
9887
|
+
* This is a type-conversion wrapper around `getErrorCodes()`
|
|
9888
|
+
* @return {string}
|
|
9889
|
+
*/
|
|
9890
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse.prototype.getErrorCodes_asB64 = function() {
|
|
9891
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
9892
|
+
this.getErrorCodes()));
|
|
9893
|
+
};
|
|
9894
|
+
|
|
9895
|
+
|
|
9896
|
+
/**
|
|
9897
|
+
* optional bytes error_codes = 2;
|
|
9898
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
9899
|
+
* @see http://caniuse.com/Uint8Array
|
|
9900
|
+
* This is a type-conversion wrapper around `getErrorCodes()`
|
|
9901
|
+
* @return {!Uint8Array}
|
|
9902
|
+
*/
|
|
9903
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse.prototype.getErrorCodes_asU8 = function() {
|
|
9904
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
9905
|
+
this.getErrorCodes()));
|
|
9906
|
+
};
|
|
9907
|
+
|
|
9908
|
+
|
|
9909
|
+
/**
|
|
9910
|
+
* @param {!(string|Uint8Array)} value
|
|
9911
|
+
* @return {!proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse} returns this
|
|
9912
|
+
*/
|
|
9913
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse.prototype.setErrorCodes = function(value) {
|
|
9914
|
+
return jspb.Message.setProto3BytesField(this, 2, value);
|
|
9915
|
+
};
|
|
9916
|
+
|
|
9917
|
+
|
|
9918
|
+
/**
|
|
9919
|
+
* optional string final_error_message = 3;
|
|
9920
|
+
* @return {string}
|
|
9921
|
+
*/
|
|
9922
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse.prototype.getFinalErrorMessage = function() {
|
|
9923
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
9924
|
+
};
|
|
9925
|
+
|
|
9926
|
+
|
|
9927
|
+
/**
|
|
9928
|
+
* @param {string} value
|
|
9929
|
+
* @return {!proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse} returns this
|
|
9930
|
+
*/
|
|
9931
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse.prototype.setFinalErrorMessage = function(value) {
|
|
9932
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
9933
|
+
};
|
|
9934
|
+
|
|
9935
|
+
|
|
9936
|
+
/**
|
|
9937
|
+
* optional string documentation_link = 4;
|
|
9938
|
+
* @return {string}
|
|
9939
|
+
*/
|
|
9940
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse.prototype.getDocumentationLink = function() {
|
|
9941
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
9942
|
+
};
|
|
9943
|
+
|
|
9944
|
+
|
|
9945
|
+
/**
|
|
9946
|
+
* @param {string} value
|
|
9947
|
+
* @return {!proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse} returns this
|
|
9948
|
+
*/
|
|
9949
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse.prototype.setDocumentationLink = function(value) {
|
|
9950
|
+
return jspb.Message.setField(this, 4, value);
|
|
9951
|
+
};
|
|
9952
|
+
|
|
9953
|
+
|
|
9954
|
+
/**
|
|
9955
|
+
* Clears the field making it undefined.
|
|
9956
|
+
* @return {!proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse} returns this
|
|
9957
|
+
*/
|
|
9958
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse.prototype.clearDocumentationLink = function() {
|
|
9959
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
9960
|
+
};
|
|
9961
|
+
|
|
9962
|
+
|
|
9963
|
+
/**
|
|
9964
|
+
* Returns whether this field is set.
|
|
9965
|
+
* @return {boolean}
|
|
9966
|
+
*/
|
|
9967
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse.prototype.hasDocumentationLink = function() {
|
|
9968
|
+
return jspb.Message.getField(this, 4) != null;
|
|
9969
|
+
};
|
|
9970
|
+
|
|
9971
|
+
|
|
9972
|
+
/**
|
|
9973
|
+
* optional bytes error_codes_occurred_in_cli = 5;
|
|
9974
|
+
* @return {!(string|Uint8Array)}
|
|
9975
|
+
*/
|
|
9976
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse.prototype.getErrorCodesOccurredInCli = function() {
|
|
9977
|
+
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
9978
|
+
};
|
|
9979
|
+
|
|
9980
|
+
|
|
9981
|
+
/**
|
|
9982
|
+
* optional bytes error_codes_occurred_in_cli = 5;
|
|
9983
|
+
* This is a type-conversion wrapper around `getErrorCodesOccurredInCli()`
|
|
9984
|
+
* @return {string}
|
|
9985
|
+
*/
|
|
9986
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse.prototype.getErrorCodesOccurredInCli_asB64 = function() {
|
|
9987
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
9988
|
+
this.getErrorCodesOccurredInCli()));
|
|
9989
|
+
};
|
|
9990
|
+
|
|
9991
|
+
|
|
9992
|
+
/**
|
|
9993
|
+
* optional bytes error_codes_occurred_in_cli = 5;
|
|
9994
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
9995
|
+
* @see http://caniuse.com/Uint8Array
|
|
9996
|
+
* This is a type-conversion wrapper around `getErrorCodesOccurredInCli()`
|
|
9997
|
+
* @return {!Uint8Array}
|
|
9998
|
+
*/
|
|
9999
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse.prototype.getErrorCodesOccurredInCli_asU8 = function() {
|
|
10000
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
10001
|
+
this.getErrorCodesOccurredInCli()));
|
|
10002
|
+
};
|
|
10003
|
+
|
|
10004
|
+
|
|
10005
|
+
/**
|
|
10006
|
+
* @param {!(string|Uint8Array)} value
|
|
10007
|
+
* @return {!proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse} returns this
|
|
10008
|
+
*/
|
|
10009
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse.prototype.setErrorCodesOccurredInCli = function(value) {
|
|
10010
|
+
return jspb.Message.setField(this, 5, value);
|
|
10011
|
+
};
|
|
10012
|
+
|
|
10013
|
+
|
|
10014
|
+
/**
|
|
10015
|
+
* Clears the field making it undefined.
|
|
10016
|
+
* @return {!proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse} returns this
|
|
10017
|
+
*/
|
|
10018
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse.prototype.clearErrorCodesOccurredInCli = function() {
|
|
10019
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
10020
|
+
};
|
|
10021
|
+
|
|
10022
|
+
|
|
10023
|
+
/**
|
|
10024
|
+
* Returns whether this field is set.
|
|
10025
|
+
* @return {boolean}
|
|
10026
|
+
*/
|
|
10027
|
+
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse.prototype.hasErrorCodesOccurredInCli = function() {
|
|
10028
|
+
return jspb.Message.getField(this, 5) != null;
|
|
10029
|
+
};
|
|
10030
|
+
|
|
10031
|
+
|
|
9130
10032
|
goog.object.extend(exports, proto.browserstack.sdk.v1);
|