browserstack-node-sdk 1.36.5 → 1.36.6
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-accessibility_grpc_pb.d.ts +1 -0
- package/generated/sdk-messages-accessibility_grpc_pb.js +1 -0
- package/generated/sdk-messages-accessibility_pb.d.ts +279 -0
- package/generated/sdk-messages-accessibility_pb.js +2186 -0
- package/generated/sdk-messages-ai_grpc_pb.d.ts +1 -0
- package/generated/sdk-messages-ai_grpc_pb.js +1 -0
- package/generated/sdk-messages-ai_pb.d.ts +217 -0
- package/generated/sdk-messages-ai_pb.js +1650 -0
- package/generated/sdk-messages-observability_grpc_pb.d.ts +1 -0
- package/generated/sdk-messages-observability_grpc_pb.js +1 -0
- package/generated/sdk-messages-observability_pb.d.ts +178 -0
- package/generated/sdk-messages-observability_pb.js +1377 -0
- package/generated/sdk-messages-percy_grpc_pb.d.ts +1 -0
- package/generated/sdk-messages-percy_grpc_pb.js +1 -0
- package/generated/sdk-messages-percy_pb.d.ts +37 -0
- package/generated/sdk-messages-percy_pb.js +266 -0
- package/generated/sdk-messages-testhub_grpc_pb.d.ts +1 -0
- package/generated/sdk-messages-testhub_grpc_pb.js +1 -0
- package/generated/sdk-messages-testhub_pb.d.ts +39 -0
- package/generated/sdk-messages-testhub_pb.js +290 -0
- package/generated/sdk-messages_grpc_pb.d.ts +1 -0
- package/generated/sdk-messages_grpc_pb.js +1 -0
- package/generated/sdk-messages_pb.d.ts +1105 -0
- package/generated/sdk-messages_pb.js +8580 -0
- package/generated/sdk_grpc_pb.d.ts +113 -0
- package/generated/sdk_grpc_pb.js +609 -0
- package/generated/sdk_pb.d.ts +9 -0
- package/generated/sdk_pb.js +31 -0
- package/package.json +7 -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/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_before.setup.js +1 -1
- package/src/bin/launcher/launcher.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/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/v2/TestInfo.js +1 -0
- package/src/bin/v2/browserstackCLI.js +1 -0
- package/src/bin/v2/cliUtils.js +1 -0
- package/src/bin/v2/customTagManager.js +1 -0
- package/src/bin/v2/eventDispatcher.js +1 -0
- package/src/bin/v2/framework/automationFramework.js +1 -0
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -0
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -0
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -0
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -0
- package/src/bin/v2/framework/testFramework.js +1 -0
- package/src/bin/v2/grpcClient.js +1 -0
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -0
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -0
- package/src/bin/v2/instances/trackedContext.js +1 -0
- package/src/bin/v2/instances/trackedInstance.js +1 -0
- package/src/bin/v2/modules/accessibilityModule.js +1 -0
- package/src/bin/v2/modules/baseModule.js +1 -0
- package/src/bin/v2/modules/observabilityModule.js +1 -0
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -0
- package/src/bin/v2/modules/testhubModule.js +1 -0
- package/src/bin/v2/state/automationFrameworkState.js +1 -0
- package/src/bin/v2/state/hookState.js +1 -0
- package/src/bin/v2/state/testFrameworkState.js +1 -0
- package/src/bin/v2/uploadAttachmentsManager.js +1 -0
- 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/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 -0
- 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/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/fail-fast/fileHelper.js +1 -0
- package/src/helpers/test-orchestration/fail-fast/jest.js +1 -0
- package/src/helpers/test-orchestration/fail-fast/requestUtils.js +1 -0
- 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
|
@@ -0,0 +1,2186 @@
|
|
|
1
|
+
// source: sdk-messages-accessibility.proto
|
|
2
|
+
/**
|
|
3
|
+
* @fileoverview
|
|
4
|
+
* @enhanceable
|
|
5
|
+
* @suppress {missingRequire} reports error on implicit type usages.
|
|
6
|
+
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
7
|
+
* field starts with 'MSG_' and isn't a translatable message.
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
+
/* eslint-disable */
|
|
12
|
+
// @ts-nocheck
|
|
13
|
+
|
|
14
|
+
var jspb = require('google-protobuf');
|
|
15
|
+
var goog = jspb;
|
|
16
|
+
var global = (function() {
|
|
17
|
+
if (this) { return this; }
|
|
18
|
+
if (typeof window !== 'undefined') { return window; }
|
|
19
|
+
if (typeof global !== 'undefined') { return global; }
|
|
20
|
+
if (typeof self !== 'undefined') { return self; }
|
|
21
|
+
return Function('return this')();
|
|
22
|
+
}.call(null));
|
|
23
|
+
|
|
24
|
+
var sdk$messages$observability_pb = require('./sdk-messages-observability_pb.js');
|
|
25
|
+
goog.object.extend(proto, sdk$messages$observability_pb);
|
|
26
|
+
var sdk$messages$testhub_pb = require('./sdk-messages-testhub_pb.js');
|
|
27
|
+
goog.object.extend(proto, sdk$messages$testhub_pb);
|
|
28
|
+
goog.exportSymbol('proto.browserstack.sdk.v1.Accessibility', null, global);
|
|
29
|
+
goog.exportSymbol('proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions', null, global);
|
|
30
|
+
goog.exportSymbol('proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability', null, global);
|
|
31
|
+
goog.exportSymbol('proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand', null, global);
|
|
32
|
+
goog.exportSymbol('proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap', null, global);
|
|
33
|
+
goog.exportSymbol('proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript', null, global);
|
|
34
|
+
goog.exportSymbol('proto.browserstack.sdk.v1.AccessibilityConfigRequest', null, global);
|
|
35
|
+
goog.exportSymbol('proto.browserstack.sdk.v1.AccessibilityConfigResponse', null, global);
|
|
36
|
+
/**
|
|
37
|
+
* Generated by JsPbCodeGenerator.
|
|
38
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
39
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
40
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
41
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
42
|
+
* valid.
|
|
43
|
+
* @extends {jspb.Message}
|
|
44
|
+
* @constructor
|
|
45
|
+
*/
|
|
46
|
+
proto.browserstack.sdk.v1.Accessibility = function(opt_data) {
|
|
47
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.browserstack.sdk.v1.Accessibility.repeatedFields_, null);
|
|
48
|
+
};
|
|
49
|
+
goog.inherits(proto.browserstack.sdk.v1.Accessibility, jspb.Message);
|
|
50
|
+
if (goog.DEBUG && !COMPILED) {
|
|
51
|
+
/**
|
|
52
|
+
* @public
|
|
53
|
+
* @override
|
|
54
|
+
*/
|
|
55
|
+
proto.browserstack.sdk.v1.Accessibility.displayName = 'proto.browserstack.sdk.v1.Accessibility';
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Generated by JsPbCodeGenerator.
|
|
59
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
60
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
61
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
62
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
63
|
+
* valid.
|
|
64
|
+
* @extends {jspb.Message}
|
|
65
|
+
* @constructor
|
|
66
|
+
*/
|
|
67
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions = function(opt_data) {
|
|
68
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.repeatedFields_, null);
|
|
69
|
+
};
|
|
70
|
+
goog.inherits(proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions, jspb.Message);
|
|
71
|
+
if (goog.DEBUG && !COMPILED) {
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
* @override
|
|
75
|
+
*/
|
|
76
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.displayName = 'proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions';
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Generated by JsPbCodeGenerator.
|
|
80
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
81
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
82
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
83
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
84
|
+
* valid.
|
|
85
|
+
* @extends {jspb.Message}
|
|
86
|
+
* @constructor
|
|
87
|
+
*/
|
|
88
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap = function(opt_data) {
|
|
89
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap.repeatedFields_, null);
|
|
90
|
+
};
|
|
91
|
+
goog.inherits(proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap, jspb.Message);
|
|
92
|
+
if (goog.DEBUG && !COMPILED) {
|
|
93
|
+
/**
|
|
94
|
+
* @public
|
|
95
|
+
* @override
|
|
96
|
+
*/
|
|
97
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap.displayName = 'proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap';
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Generated by JsPbCodeGenerator.
|
|
101
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
102
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
103
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
104
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
105
|
+
* valid.
|
|
106
|
+
* @extends {jspb.Message}
|
|
107
|
+
* @constructor
|
|
108
|
+
*/
|
|
109
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand = function(opt_data) {
|
|
110
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
111
|
+
};
|
|
112
|
+
goog.inherits(proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand, jspb.Message);
|
|
113
|
+
if (goog.DEBUG && !COMPILED) {
|
|
114
|
+
/**
|
|
115
|
+
* @public
|
|
116
|
+
* @override
|
|
117
|
+
*/
|
|
118
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand.displayName = 'proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand';
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Generated by JsPbCodeGenerator.
|
|
122
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
123
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
124
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
125
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
126
|
+
* valid.
|
|
127
|
+
* @extends {jspb.Message}
|
|
128
|
+
* @constructor
|
|
129
|
+
*/
|
|
130
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript = function(opt_data) {
|
|
131
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
132
|
+
};
|
|
133
|
+
goog.inherits(proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript, jspb.Message);
|
|
134
|
+
if (goog.DEBUG && !COMPILED) {
|
|
135
|
+
/**
|
|
136
|
+
* @public
|
|
137
|
+
* @override
|
|
138
|
+
*/
|
|
139
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript.displayName = 'proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript';
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Generated by JsPbCodeGenerator.
|
|
143
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
144
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
145
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
146
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
147
|
+
* valid.
|
|
148
|
+
* @extends {jspb.Message}
|
|
149
|
+
* @constructor
|
|
150
|
+
*/
|
|
151
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability = function(opt_data) {
|
|
152
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
153
|
+
};
|
|
154
|
+
goog.inherits(proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability, jspb.Message);
|
|
155
|
+
if (goog.DEBUG && !COMPILED) {
|
|
156
|
+
/**
|
|
157
|
+
* @public
|
|
158
|
+
* @override
|
|
159
|
+
*/
|
|
160
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability.displayName = 'proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability';
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Generated by JsPbCodeGenerator.
|
|
164
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
165
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
166
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
167
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
168
|
+
* valid.
|
|
169
|
+
* @extends {jspb.Message}
|
|
170
|
+
* @constructor
|
|
171
|
+
*/
|
|
172
|
+
proto.browserstack.sdk.v1.AccessibilityConfigRequest = function(opt_data) {
|
|
173
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
174
|
+
};
|
|
175
|
+
goog.inherits(proto.browserstack.sdk.v1.AccessibilityConfigRequest, jspb.Message);
|
|
176
|
+
if (goog.DEBUG && !COMPILED) {
|
|
177
|
+
/**
|
|
178
|
+
* @public
|
|
179
|
+
* @override
|
|
180
|
+
*/
|
|
181
|
+
proto.browserstack.sdk.v1.AccessibilityConfigRequest.displayName = 'proto.browserstack.sdk.v1.AccessibilityConfigRequest';
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* Generated by JsPbCodeGenerator.
|
|
185
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
186
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
187
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
188
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
189
|
+
* valid.
|
|
190
|
+
* @extends {jspb.Message}
|
|
191
|
+
* @constructor
|
|
192
|
+
*/
|
|
193
|
+
proto.browserstack.sdk.v1.AccessibilityConfigResponse = function(opt_data) {
|
|
194
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
195
|
+
};
|
|
196
|
+
goog.inherits(proto.browserstack.sdk.v1.AccessibilityConfigResponse, jspb.Message);
|
|
197
|
+
if (goog.DEBUG && !COMPILED) {
|
|
198
|
+
/**
|
|
199
|
+
* @public
|
|
200
|
+
* @override
|
|
201
|
+
*/
|
|
202
|
+
proto.browserstack.sdk.v1.AccessibilityConfigResponse.displayName = 'proto.browserstack.sdk.v1.AccessibilityConfigResponse';
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* List of repeated fields within this message type.
|
|
207
|
+
* @private {!Array<number>}
|
|
208
|
+
* @const
|
|
209
|
+
*/
|
|
210
|
+
proto.browserstack.sdk.v1.Accessibility.repeatedFields_ = [5];
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
215
|
+
/**
|
|
216
|
+
* Creates an object representation of this proto.
|
|
217
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
218
|
+
* Optional fields that are not set will be set to undefined.
|
|
219
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
220
|
+
* For the list of reserved names please see:
|
|
221
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
222
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
223
|
+
* JSPB instance for transitional soy proto support:
|
|
224
|
+
* http://goto/soy-param-migration
|
|
225
|
+
* @return {!Object}
|
|
226
|
+
*/
|
|
227
|
+
proto.browserstack.sdk.v1.Accessibility.prototype.toObject = function(opt_includeInstance) {
|
|
228
|
+
return proto.browserstack.sdk.v1.Accessibility.toObject(opt_includeInstance, this);
|
|
229
|
+
};
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* Static version of the {@see toObject} method.
|
|
234
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
235
|
+
* the JSPB instance for transitional soy proto support:
|
|
236
|
+
* http://goto/soy-param-migration
|
|
237
|
+
* @param {!proto.browserstack.sdk.v1.Accessibility} msg The msg instance to transform.
|
|
238
|
+
* @return {!Object}
|
|
239
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
240
|
+
*/
|
|
241
|
+
proto.browserstack.sdk.v1.Accessibility.toObject = function(includeInstance, msg) {
|
|
242
|
+
var f, obj = {
|
|
243
|
+
success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
244
|
+
options: (f = msg.getOptions()) && proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.toObject(includeInstance, f),
|
|
245
|
+
errorTraceId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
246
|
+
code: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
247
|
+
errorsList: jspb.Message.toObjectList(msg.getErrorsList(),
|
|
248
|
+
sdk$messages$observability_pb.KeyMessage.toObject, includeInstance)
|
|
249
|
+
};
|
|
250
|
+
|
|
251
|
+
if (includeInstance) {
|
|
252
|
+
obj.$jspbMessageInstance = msg;
|
|
253
|
+
}
|
|
254
|
+
return obj;
|
|
255
|
+
};
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Deserializes binary data (in protobuf wire format).
|
|
261
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
262
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility}
|
|
263
|
+
*/
|
|
264
|
+
proto.browserstack.sdk.v1.Accessibility.deserializeBinary = function(bytes) {
|
|
265
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
266
|
+
var msg = new proto.browserstack.sdk.v1.Accessibility;
|
|
267
|
+
return proto.browserstack.sdk.v1.Accessibility.deserializeBinaryFromReader(msg, reader);
|
|
268
|
+
};
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
273
|
+
* given reader into the given message object.
|
|
274
|
+
* @param {!proto.browserstack.sdk.v1.Accessibility} msg The message object to deserialize into.
|
|
275
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
276
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility}
|
|
277
|
+
*/
|
|
278
|
+
proto.browserstack.sdk.v1.Accessibility.deserializeBinaryFromReader = function(msg, reader) {
|
|
279
|
+
while (reader.nextField()) {
|
|
280
|
+
if (reader.isEndGroup()) {
|
|
281
|
+
break;
|
|
282
|
+
}
|
|
283
|
+
var field = reader.getFieldNumber();
|
|
284
|
+
switch (field) {
|
|
285
|
+
case 1:
|
|
286
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
287
|
+
msg.setSuccess(value);
|
|
288
|
+
break;
|
|
289
|
+
case 2:
|
|
290
|
+
var value = new proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions;
|
|
291
|
+
reader.readMessage(value,proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.deserializeBinaryFromReader);
|
|
292
|
+
msg.setOptions(value);
|
|
293
|
+
break;
|
|
294
|
+
case 3:
|
|
295
|
+
var value = /** @type {string} */ (reader.readString());
|
|
296
|
+
msg.setErrorTraceId(value);
|
|
297
|
+
break;
|
|
298
|
+
case 4:
|
|
299
|
+
var value = /** @type {string} */ (reader.readString());
|
|
300
|
+
msg.setCode(value);
|
|
301
|
+
break;
|
|
302
|
+
case 5:
|
|
303
|
+
var value = new sdk$messages$observability_pb.KeyMessage;
|
|
304
|
+
reader.readMessage(value,sdk$messages$observability_pb.KeyMessage.deserializeBinaryFromReader);
|
|
305
|
+
msg.addErrors(value);
|
|
306
|
+
break;
|
|
307
|
+
default:
|
|
308
|
+
reader.skipField();
|
|
309
|
+
break;
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
return msg;
|
|
313
|
+
};
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
318
|
+
* @return {!Uint8Array}
|
|
319
|
+
*/
|
|
320
|
+
proto.browserstack.sdk.v1.Accessibility.prototype.serializeBinary = function() {
|
|
321
|
+
var writer = new jspb.BinaryWriter();
|
|
322
|
+
proto.browserstack.sdk.v1.Accessibility.serializeBinaryToWriter(this, writer);
|
|
323
|
+
return writer.getResultBuffer();
|
|
324
|
+
};
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
329
|
+
* format), writing to the given BinaryWriter.
|
|
330
|
+
* @param {!proto.browserstack.sdk.v1.Accessibility} message
|
|
331
|
+
* @param {!jspb.BinaryWriter} writer
|
|
332
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
333
|
+
*/
|
|
334
|
+
proto.browserstack.sdk.v1.Accessibility.serializeBinaryToWriter = function(message, writer) {
|
|
335
|
+
var f = undefined;
|
|
336
|
+
f = message.getSuccess();
|
|
337
|
+
if (f) {
|
|
338
|
+
writer.writeBool(
|
|
339
|
+
1,
|
|
340
|
+
f
|
|
341
|
+
);
|
|
342
|
+
}
|
|
343
|
+
f = message.getOptions();
|
|
344
|
+
if (f != null) {
|
|
345
|
+
writer.writeMessage(
|
|
346
|
+
2,
|
|
347
|
+
f,
|
|
348
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.serializeBinaryToWriter
|
|
349
|
+
);
|
|
350
|
+
}
|
|
351
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
352
|
+
if (f != null) {
|
|
353
|
+
writer.writeString(
|
|
354
|
+
3,
|
|
355
|
+
f
|
|
356
|
+
);
|
|
357
|
+
}
|
|
358
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
359
|
+
if (f != null) {
|
|
360
|
+
writer.writeString(
|
|
361
|
+
4,
|
|
362
|
+
f
|
|
363
|
+
);
|
|
364
|
+
}
|
|
365
|
+
f = message.getErrorsList();
|
|
366
|
+
if (f.length > 0) {
|
|
367
|
+
writer.writeRepeatedMessage(
|
|
368
|
+
5,
|
|
369
|
+
f,
|
|
370
|
+
sdk$messages$observability_pb.KeyMessage.serializeBinaryToWriter
|
|
371
|
+
);
|
|
372
|
+
}
|
|
373
|
+
};
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* List of repeated fields within this message type.
|
|
379
|
+
* @private {!Array<number>}
|
|
380
|
+
* @const
|
|
381
|
+
*/
|
|
382
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.repeatedFields_ = [2,3];
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
387
|
+
/**
|
|
388
|
+
* Creates an object representation of this proto.
|
|
389
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
390
|
+
* Optional fields that are not set will be set to undefined.
|
|
391
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
392
|
+
* For the list of reserved names please see:
|
|
393
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
394
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
395
|
+
* JSPB instance for transitional soy proto support:
|
|
396
|
+
* http://goto/soy-param-migration
|
|
397
|
+
* @return {!Object}
|
|
398
|
+
*/
|
|
399
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.prototype.toObject = function(opt_includeInstance) {
|
|
400
|
+
return proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.toObject(opt_includeInstance, this);
|
|
401
|
+
};
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* Static version of the {@see toObject} method.
|
|
406
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
407
|
+
* the JSPB instance for transitional soy proto support:
|
|
408
|
+
* http://goto/soy-param-migration
|
|
409
|
+
* @param {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions} msg The msg instance to transform.
|
|
410
|
+
* @return {!Object}
|
|
411
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
412
|
+
*/
|
|
413
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.toObject = function(includeInstance, msg) {
|
|
414
|
+
var f, obj = {
|
|
415
|
+
status: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
416
|
+
capabilitiesList: jspb.Message.toObjectList(msg.getCapabilitiesList(),
|
|
417
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability.toObject, includeInstance),
|
|
418
|
+
scriptsList: jspb.Message.toObjectList(msg.getScriptsList(),
|
|
419
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript.toObject, includeInstance),
|
|
420
|
+
commandsToWrap: (f = msg.getCommandsToWrap()) && proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap.toObject(includeInstance, f)
|
|
421
|
+
};
|
|
422
|
+
|
|
423
|
+
if (includeInstance) {
|
|
424
|
+
obj.$jspbMessageInstance = msg;
|
|
425
|
+
}
|
|
426
|
+
return obj;
|
|
427
|
+
};
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* Deserializes binary data (in protobuf wire format).
|
|
433
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
434
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions}
|
|
435
|
+
*/
|
|
436
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.deserializeBinary = function(bytes) {
|
|
437
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
438
|
+
var msg = new proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions;
|
|
439
|
+
return proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.deserializeBinaryFromReader(msg, reader);
|
|
440
|
+
};
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
445
|
+
* given reader into the given message object.
|
|
446
|
+
* @param {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions} msg The message object to deserialize into.
|
|
447
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
448
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions}
|
|
449
|
+
*/
|
|
450
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.deserializeBinaryFromReader = function(msg, reader) {
|
|
451
|
+
while (reader.nextField()) {
|
|
452
|
+
if (reader.isEndGroup()) {
|
|
453
|
+
break;
|
|
454
|
+
}
|
|
455
|
+
var field = reader.getFieldNumber();
|
|
456
|
+
switch (field) {
|
|
457
|
+
case 1:
|
|
458
|
+
var value = /** @type {string} */ (reader.readString());
|
|
459
|
+
msg.setStatus(value);
|
|
460
|
+
break;
|
|
461
|
+
case 2:
|
|
462
|
+
var value = new proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability;
|
|
463
|
+
reader.readMessage(value,proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability.deserializeBinaryFromReader);
|
|
464
|
+
msg.addCapabilities(value);
|
|
465
|
+
break;
|
|
466
|
+
case 3:
|
|
467
|
+
var value = new proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript;
|
|
468
|
+
reader.readMessage(value,proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript.deserializeBinaryFromReader);
|
|
469
|
+
msg.addScripts(value);
|
|
470
|
+
break;
|
|
471
|
+
case 4:
|
|
472
|
+
var value = new proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap;
|
|
473
|
+
reader.readMessage(value,proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap.deserializeBinaryFromReader);
|
|
474
|
+
msg.setCommandsToWrap(value);
|
|
475
|
+
break;
|
|
476
|
+
default:
|
|
477
|
+
reader.skipField();
|
|
478
|
+
break;
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
return msg;
|
|
482
|
+
};
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
487
|
+
* @return {!Uint8Array}
|
|
488
|
+
*/
|
|
489
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.prototype.serializeBinary = function() {
|
|
490
|
+
var writer = new jspb.BinaryWriter();
|
|
491
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.serializeBinaryToWriter(this, writer);
|
|
492
|
+
return writer.getResultBuffer();
|
|
493
|
+
};
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
498
|
+
* format), writing to the given BinaryWriter.
|
|
499
|
+
* @param {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions} message
|
|
500
|
+
* @param {!jspb.BinaryWriter} writer
|
|
501
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
502
|
+
*/
|
|
503
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.serializeBinaryToWriter = function(message, writer) {
|
|
504
|
+
var f = undefined;
|
|
505
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
506
|
+
if (f != null) {
|
|
507
|
+
writer.writeString(
|
|
508
|
+
1,
|
|
509
|
+
f
|
|
510
|
+
);
|
|
511
|
+
}
|
|
512
|
+
f = message.getCapabilitiesList();
|
|
513
|
+
if (f.length > 0) {
|
|
514
|
+
writer.writeRepeatedMessage(
|
|
515
|
+
2,
|
|
516
|
+
f,
|
|
517
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability.serializeBinaryToWriter
|
|
518
|
+
);
|
|
519
|
+
}
|
|
520
|
+
f = message.getScriptsList();
|
|
521
|
+
if (f.length > 0) {
|
|
522
|
+
writer.writeRepeatedMessage(
|
|
523
|
+
3,
|
|
524
|
+
f,
|
|
525
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript.serializeBinaryToWriter
|
|
526
|
+
);
|
|
527
|
+
}
|
|
528
|
+
f = message.getCommandsToWrap();
|
|
529
|
+
if (f != null) {
|
|
530
|
+
writer.writeMessage(
|
|
531
|
+
4,
|
|
532
|
+
f,
|
|
533
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap.serializeBinaryToWriter
|
|
534
|
+
);
|
|
535
|
+
}
|
|
536
|
+
};
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* List of repeated fields within this message type.
|
|
542
|
+
* @private {!Array<number>}
|
|
543
|
+
* @const
|
|
544
|
+
*/
|
|
545
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap.repeatedFields_ = [1,2];
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
550
|
+
/**
|
|
551
|
+
* Creates an object representation of this proto.
|
|
552
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
553
|
+
* Optional fields that are not set will be set to undefined.
|
|
554
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
555
|
+
* For the list of reserved names please see:
|
|
556
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
557
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
558
|
+
* JSPB instance for transitional soy proto support:
|
|
559
|
+
* http://goto/soy-param-migration
|
|
560
|
+
* @return {!Object}
|
|
561
|
+
*/
|
|
562
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap.prototype.toObject = function(opt_includeInstance) {
|
|
563
|
+
return proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap.toObject(opt_includeInstance, this);
|
|
564
|
+
};
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* Static version of the {@see toObject} method.
|
|
569
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
570
|
+
* the JSPB instance for transitional soy proto support:
|
|
571
|
+
* http://goto/soy-param-migration
|
|
572
|
+
* @param {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap} msg The msg instance to transform.
|
|
573
|
+
* @return {!Object}
|
|
574
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
575
|
+
*/
|
|
576
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap.toObject = function(includeInstance, msg) {
|
|
577
|
+
var f, obj = {
|
|
578
|
+
scriptsToRunList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
579
|
+
commandsList: jspb.Message.toObjectList(msg.getCommandsList(),
|
|
580
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand.toObject, includeInstance)
|
|
581
|
+
};
|
|
582
|
+
|
|
583
|
+
if (includeInstance) {
|
|
584
|
+
obj.$jspbMessageInstance = msg;
|
|
585
|
+
}
|
|
586
|
+
return obj;
|
|
587
|
+
};
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* Deserializes binary data (in protobuf wire format).
|
|
593
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
594
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap}
|
|
595
|
+
*/
|
|
596
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap.deserializeBinary = function(bytes) {
|
|
597
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
598
|
+
var msg = new proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap;
|
|
599
|
+
return proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap.deserializeBinaryFromReader(msg, reader);
|
|
600
|
+
};
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
605
|
+
* given reader into the given message object.
|
|
606
|
+
* @param {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap} msg The message object to deserialize into.
|
|
607
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
608
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap}
|
|
609
|
+
*/
|
|
610
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap.deserializeBinaryFromReader = function(msg, reader) {
|
|
611
|
+
while (reader.nextField()) {
|
|
612
|
+
if (reader.isEndGroup()) {
|
|
613
|
+
break;
|
|
614
|
+
}
|
|
615
|
+
var field = reader.getFieldNumber();
|
|
616
|
+
switch (field) {
|
|
617
|
+
case 1:
|
|
618
|
+
var value = /** @type {string} */ (reader.readString());
|
|
619
|
+
msg.addScriptsToRun(value);
|
|
620
|
+
break;
|
|
621
|
+
case 2:
|
|
622
|
+
var value = new proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand;
|
|
623
|
+
reader.readMessage(value,proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand.deserializeBinaryFromReader);
|
|
624
|
+
msg.addCommands(value);
|
|
625
|
+
break;
|
|
626
|
+
default:
|
|
627
|
+
reader.skipField();
|
|
628
|
+
break;
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
return msg;
|
|
632
|
+
};
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
637
|
+
* @return {!Uint8Array}
|
|
638
|
+
*/
|
|
639
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap.prototype.serializeBinary = function() {
|
|
640
|
+
var writer = new jspb.BinaryWriter();
|
|
641
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap.serializeBinaryToWriter(this, writer);
|
|
642
|
+
return writer.getResultBuffer();
|
|
643
|
+
};
|
|
644
|
+
|
|
645
|
+
|
|
646
|
+
/**
|
|
647
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
648
|
+
* format), writing to the given BinaryWriter.
|
|
649
|
+
* @param {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap} message
|
|
650
|
+
* @param {!jspb.BinaryWriter} writer
|
|
651
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
652
|
+
*/
|
|
653
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap.serializeBinaryToWriter = function(message, writer) {
|
|
654
|
+
var f = undefined;
|
|
655
|
+
f = message.getScriptsToRunList();
|
|
656
|
+
if (f.length > 0) {
|
|
657
|
+
writer.writeRepeatedString(
|
|
658
|
+
1,
|
|
659
|
+
f
|
|
660
|
+
);
|
|
661
|
+
}
|
|
662
|
+
f = message.getCommandsList();
|
|
663
|
+
if (f.length > 0) {
|
|
664
|
+
writer.writeRepeatedMessage(
|
|
665
|
+
2,
|
|
666
|
+
f,
|
|
667
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand.serializeBinaryToWriter
|
|
668
|
+
);
|
|
669
|
+
}
|
|
670
|
+
};
|
|
671
|
+
|
|
672
|
+
|
|
673
|
+
/**
|
|
674
|
+
* repeated string scripts_to_run = 1;
|
|
675
|
+
* @return {!Array<string>}
|
|
676
|
+
*/
|
|
677
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap.prototype.getScriptsToRunList = function() {
|
|
678
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
679
|
+
};
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
/**
|
|
683
|
+
* @param {!Array<string>} value
|
|
684
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap} returns this
|
|
685
|
+
*/
|
|
686
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap.prototype.setScriptsToRunList = function(value) {
|
|
687
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
688
|
+
};
|
|
689
|
+
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* @param {string} value
|
|
693
|
+
* @param {number=} opt_index
|
|
694
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap} returns this
|
|
695
|
+
*/
|
|
696
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap.prototype.addScriptsToRun = function(value, opt_index) {
|
|
697
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
698
|
+
};
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
/**
|
|
702
|
+
* Clears the list making it empty but non-null.
|
|
703
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap} returns this
|
|
704
|
+
*/
|
|
705
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap.prototype.clearScriptsToRunList = function() {
|
|
706
|
+
return this.setScriptsToRunList([]);
|
|
707
|
+
};
|
|
708
|
+
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* repeated AccessibilityCommand commands = 2;
|
|
712
|
+
* @return {!Array<!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand>}
|
|
713
|
+
*/
|
|
714
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap.prototype.getCommandsList = function() {
|
|
715
|
+
return /** @type{!Array<!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand>} */ (
|
|
716
|
+
jspb.Message.getRepeatedWrapperField(this, proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand, 2));
|
|
717
|
+
};
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* @param {!Array<!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand>} value
|
|
722
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap} returns this
|
|
723
|
+
*/
|
|
724
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap.prototype.setCommandsList = function(value) {
|
|
725
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
726
|
+
};
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
/**
|
|
730
|
+
* @param {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand=} opt_value
|
|
731
|
+
* @param {number=} opt_index
|
|
732
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand}
|
|
733
|
+
*/
|
|
734
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap.prototype.addCommands = function(opt_value, opt_index) {
|
|
735
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand, opt_index);
|
|
736
|
+
};
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
/**
|
|
740
|
+
* Clears the list making it empty but non-null.
|
|
741
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap} returns this
|
|
742
|
+
*/
|
|
743
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap.prototype.clearCommandsList = function() {
|
|
744
|
+
return this.setCommandsList([]);
|
|
745
|
+
};
|
|
746
|
+
|
|
747
|
+
|
|
748
|
+
|
|
749
|
+
|
|
750
|
+
|
|
751
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
752
|
+
/**
|
|
753
|
+
* Creates an object representation of this proto.
|
|
754
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
755
|
+
* Optional fields that are not set will be set to undefined.
|
|
756
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
757
|
+
* For the list of reserved names please see:
|
|
758
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
759
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
760
|
+
* JSPB instance for transitional soy proto support:
|
|
761
|
+
* http://goto/soy-param-migration
|
|
762
|
+
* @return {!Object}
|
|
763
|
+
*/
|
|
764
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand.prototype.toObject = function(opt_includeInstance) {
|
|
765
|
+
return proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand.toObject(opt_includeInstance, this);
|
|
766
|
+
};
|
|
767
|
+
|
|
768
|
+
|
|
769
|
+
/**
|
|
770
|
+
* Static version of the {@see toObject} method.
|
|
771
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
772
|
+
* the JSPB instance for transitional soy proto support:
|
|
773
|
+
* http://goto/soy-param-migration
|
|
774
|
+
* @param {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand} msg The msg instance to transform.
|
|
775
|
+
* @return {!Object}
|
|
776
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
777
|
+
*/
|
|
778
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand.toObject = function(includeInstance, msg) {
|
|
779
|
+
var f, obj = {
|
|
780
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
781
|
+
library: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
782
|
+
module: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
783
|
+
pb_class: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
784
|
+
method: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
785
|
+
};
|
|
786
|
+
|
|
787
|
+
if (includeInstance) {
|
|
788
|
+
obj.$jspbMessageInstance = msg;
|
|
789
|
+
}
|
|
790
|
+
return obj;
|
|
791
|
+
};
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
|
|
795
|
+
/**
|
|
796
|
+
* Deserializes binary data (in protobuf wire format).
|
|
797
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
798
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand}
|
|
799
|
+
*/
|
|
800
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand.deserializeBinary = function(bytes) {
|
|
801
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
802
|
+
var msg = new proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand;
|
|
803
|
+
return proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand.deserializeBinaryFromReader(msg, reader);
|
|
804
|
+
};
|
|
805
|
+
|
|
806
|
+
|
|
807
|
+
/**
|
|
808
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
809
|
+
* given reader into the given message object.
|
|
810
|
+
* @param {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand} msg The message object to deserialize into.
|
|
811
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
812
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand}
|
|
813
|
+
*/
|
|
814
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand.deserializeBinaryFromReader = function(msg, reader) {
|
|
815
|
+
while (reader.nextField()) {
|
|
816
|
+
if (reader.isEndGroup()) {
|
|
817
|
+
break;
|
|
818
|
+
}
|
|
819
|
+
var field = reader.getFieldNumber();
|
|
820
|
+
switch (field) {
|
|
821
|
+
case 1:
|
|
822
|
+
var value = /** @type {string} */ (reader.readString());
|
|
823
|
+
msg.setName(value);
|
|
824
|
+
break;
|
|
825
|
+
case 2:
|
|
826
|
+
var value = /** @type {string} */ (reader.readString());
|
|
827
|
+
msg.setLibrary(value);
|
|
828
|
+
break;
|
|
829
|
+
case 3:
|
|
830
|
+
var value = /** @type {string} */ (reader.readString());
|
|
831
|
+
msg.setModule(value);
|
|
832
|
+
break;
|
|
833
|
+
case 4:
|
|
834
|
+
var value = /** @type {string} */ (reader.readString());
|
|
835
|
+
msg.setClass(value);
|
|
836
|
+
break;
|
|
837
|
+
case 5:
|
|
838
|
+
var value = /** @type {string} */ (reader.readString());
|
|
839
|
+
msg.setMethod(value);
|
|
840
|
+
break;
|
|
841
|
+
default:
|
|
842
|
+
reader.skipField();
|
|
843
|
+
break;
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
return msg;
|
|
847
|
+
};
|
|
848
|
+
|
|
849
|
+
|
|
850
|
+
/**
|
|
851
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
852
|
+
* @return {!Uint8Array}
|
|
853
|
+
*/
|
|
854
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand.prototype.serializeBinary = function() {
|
|
855
|
+
var writer = new jspb.BinaryWriter();
|
|
856
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand.serializeBinaryToWriter(this, writer);
|
|
857
|
+
return writer.getResultBuffer();
|
|
858
|
+
};
|
|
859
|
+
|
|
860
|
+
|
|
861
|
+
/**
|
|
862
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
863
|
+
* format), writing to the given BinaryWriter.
|
|
864
|
+
* @param {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand} message
|
|
865
|
+
* @param {!jspb.BinaryWriter} writer
|
|
866
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
867
|
+
*/
|
|
868
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand.serializeBinaryToWriter = function(message, writer) {
|
|
869
|
+
var f = undefined;
|
|
870
|
+
f = message.getName();
|
|
871
|
+
if (f.length > 0) {
|
|
872
|
+
writer.writeString(
|
|
873
|
+
1,
|
|
874
|
+
f
|
|
875
|
+
);
|
|
876
|
+
}
|
|
877
|
+
f = message.getLibrary();
|
|
878
|
+
if (f.length > 0) {
|
|
879
|
+
writer.writeString(
|
|
880
|
+
2,
|
|
881
|
+
f
|
|
882
|
+
);
|
|
883
|
+
}
|
|
884
|
+
f = message.getModule();
|
|
885
|
+
if (f.length > 0) {
|
|
886
|
+
writer.writeString(
|
|
887
|
+
3,
|
|
888
|
+
f
|
|
889
|
+
);
|
|
890
|
+
}
|
|
891
|
+
f = message.getClass();
|
|
892
|
+
if (f.length > 0) {
|
|
893
|
+
writer.writeString(
|
|
894
|
+
4,
|
|
895
|
+
f
|
|
896
|
+
);
|
|
897
|
+
}
|
|
898
|
+
f = message.getMethod();
|
|
899
|
+
if (f.length > 0) {
|
|
900
|
+
writer.writeString(
|
|
901
|
+
5,
|
|
902
|
+
f
|
|
903
|
+
);
|
|
904
|
+
}
|
|
905
|
+
};
|
|
906
|
+
|
|
907
|
+
|
|
908
|
+
/**
|
|
909
|
+
* optional string name = 1;
|
|
910
|
+
* @return {string}
|
|
911
|
+
*/
|
|
912
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand.prototype.getName = function() {
|
|
913
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
914
|
+
};
|
|
915
|
+
|
|
916
|
+
|
|
917
|
+
/**
|
|
918
|
+
* @param {string} value
|
|
919
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand} returns this
|
|
920
|
+
*/
|
|
921
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand.prototype.setName = function(value) {
|
|
922
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
923
|
+
};
|
|
924
|
+
|
|
925
|
+
|
|
926
|
+
/**
|
|
927
|
+
* optional string library = 2;
|
|
928
|
+
* @return {string}
|
|
929
|
+
*/
|
|
930
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand.prototype.getLibrary = function() {
|
|
931
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
932
|
+
};
|
|
933
|
+
|
|
934
|
+
|
|
935
|
+
/**
|
|
936
|
+
* @param {string} value
|
|
937
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand} returns this
|
|
938
|
+
*/
|
|
939
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand.prototype.setLibrary = function(value) {
|
|
940
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
941
|
+
};
|
|
942
|
+
|
|
943
|
+
|
|
944
|
+
/**
|
|
945
|
+
* optional string module = 3;
|
|
946
|
+
* @return {string}
|
|
947
|
+
*/
|
|
948
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand.prototype.getModule = function() {
|
|
949
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
950
|
+
};
|
|
951
|
+
|
|
952
|
+
|
|
953
|
+
/**
|
|
954
|
+
* @param {string} value
|
|
955
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand} returns this
|
|
956
|
+
*/
|
|
957
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand.prototype.setModule = function(value) {
|
|
958
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
959
|
+
};
|
|
960
|
+
|
|
961
|
+
|
|
962
|
+
/**
|
|
963
|
+
* optional string class = 4;
|
|
964
|
+
* @return {string}
|
|
965
|
+
*/
|
|
966
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand.prototype.getClass = function() {
|
|
967
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
968
|
+
};
|
|
969
|
+
|
|
970
|
+
|
|
971
|
+
/**
|
|
972
|
+
* @param {string} value
|
|
973
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand} returns this
|
|
974
|
+
*/
|
|
975
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand.prototype.setClass = function(value) {
|
|
976
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
977
|
+
};
|
|
978
|
+
|
|
979
|
+
|
|
980
|
+
/**
|
|
981
|
+
* optional string method = 5;
|
|
982
|
+
* @return {string}
|
|
983
|
+
*/
|
|
984
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand.prototype.getMethod = function() {
|
|
985
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
986
|
+
};
|
|
987
|
+
|
|
988
|
+
|
|
989
|
+
/**
|
|
990
|
+
* @param {string} value
|
|
991
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand} returns this
|
|
992
|
+
*/
|
|
993
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommand.prototype.setMethod = function(value) {
|
|
994
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
995
|
+
};
|
|
996
|
+
|
|
997
|
+
|
|
998
|
+
|
|
999
|
+
|
|
1000
|
+
|
|
1001
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1002
|
+
/**
|
|
1003
|
+
* Creates an object representation of this proto.
|
|
1004
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1005
|
+
* Optional fields that are not set will be set to undefined.
|
|
1006
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1007
|
+
* For the list of reserved names please see:
|
|
1008
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1009
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1010
|
+
* JSPB instance for transitional soy proto support:
|
|
1011
|
+
* http://goto/soy-param-migration
|
|
1012
|
+
* @return {!Object}
|
|
1013
|
+
*/
|
|
1014
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript.prototype.toObject = function(opt_includeInstance) {
|
|
1015
|
+
return proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript.toObject(opt_includeInstance, this);
|
|
1016
|
+
};
|
|
1017
|
+
|
|
1018
|
+
|
|
1019
|
+
/**
|
|
1020
|
+
* Static version of the {@see toObject} method.
|
|
1021
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1022
|
+
* the JSPB instance for transitional soy proto support:
|
|
1023
|
+
* http://goto/soy-param-migration
|
|
1024
|
+
* @param {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript} msg The msg instance to transform.
|
|
1025
|
+
* @return {!Object}
|
|
1026
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1027
|
+
*/
|
|
1028
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript.toObject = function(includeInstance, msg) {
|
|
1029
|
+
var f, obj = {
|
|
1030
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1031
|
+
command: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
1032
|
+
};
|
|
1033
|
+
|
|
1034
|
+
if (includeInstance) {
|
|
1035
|
+
obj.$jspbMessageInstance = msg;
|
|
1036
|
+
}
|
|
1037
|
+
return obj;
|
|
1038
|
+
};
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
|
|
1042
|
+
/**
|
|
1043
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1044
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1045
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript}
|
|
1046
|
+
*/
|
|
1047
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript.deserializeBinary = function(bytes) {
|
|
1048
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1049
|
+
var msg = new proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript;
|
|
1050
|
+
return proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript.deserializeBinaryFromReader(msg, reader);
|
|
1051
|
+
};
|
|
1052
|
+
|
|
1053
|
+
|
|
1054
|
+
/**
|
|
1055
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1056
|
+
* given reader into the given message object.
|
|
1057
|
+
* @param {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript} msg The message object to deserialize into.
|
|
1058
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1059
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript}
|
|
1060
|
+
*/
|
|
1061
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript.deserializeBinaryFromReader = function(msg, reader) {
|
|
1062
|
+
while (reader.nextField()) {
|
|
1063
|
+
if (reader.isEndGroup()) {
|
|
1064
|
+
break;
|
|
1065
|
+
}
|
|
1066
|
+
var field = reader.getFieldNumber();
|
|
1067
|
+
switch (field) {
|
|
1068
|
+
case 1:
|
|
1069
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1070
|
+
msg.setName(value);
|
|
1071
|
+
break;
|
|
1072
|
+
case 2:
|
|
1073
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1074
|
+
msg.setCommand(value);
|
|
1075
|
+
break;
|
|
1076
|
+
default:
|
|
1077
|
+
reader.skipField();
|
|
1078
|
+
break;
|
|
1079
|
+
}
|
|
1080
|
+
}
|
|
1081
|
+
return msg;
|
|
1082
|
+
};
|
|
1083
|
+
|
|
1084
|
+
|
|
1085
|
+
/**
|
|
1086
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1087
|
+
* @return {!Uint8Array}
|
|
1088
|
+
*/
|
|
1089
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript.prototype.serializeBinary = function() {
|
|
1090
|
+
var writer = new jspb.BinaryWriter();
|
|
1091
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript.serializeBinaryToWriter(this, writer);
|
|
1092
|
+
return writer.getResultBuffer();
|
|
1093
|
+
};
|
|
1094
|
+
|
|
1095
|
+
|
|
1096
|
+
/**
|
|
1097
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1098
|
+
* format), writing to the given BinaryWriter.
|
|
1099
|
+
* @param {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript} message
|
|
1100
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1101
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1102
|
+
*/
|
|
1103
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript.serializeBinaryToWriter = function(message, writer) {
|
|
1104
|
+
var f = undefined;
|
|
1105
|
+
f = message.getName();
|
|
1106
|
+
if (f.length > 0) {
|
|
1107
|
+
writer.writeString(
|
|
1108
|
+
1,
|
|
1109
|
+
f
|
|
1110
|
+
);
|
|
1111
|
+
}
|
|
1112
|
+
f = message.getCommand();
|
|
1113
|
+
if (f.length > 0) {
|
|
1114
|
+
writer.writeString(
|
|
1115
|
+
2,
|
|
1116
|
+
f
|
|
1117
|
+
);
|
|
1118
|
+
}
|
|
1119
|
+
};
|
|
1120
|
+
|
|
1121
|
+
|
|
1122
|
+
/**
|
|
1123
|
+
* optional string name = 1;
|
|
1124
|
+
* @return {string}
|
|
1125
|
+
*/
|
|
1126
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript.prototype.getName = function() {
|
|
1127
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1128
|
+
};
|
|
1129
|
+
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* @param {string} value
|
|
1133
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript} returns this
|
|
1134
|
+
*/
|
|
1135
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript.prototype.setName = function(value) {
|
|
1136
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1137
|
+
};
|
|
1138
|
+
|
|
1139
|
+
|
|
1140
|
+
/**
|
|
1141
|
+
* optional string command = 2;
|
|
1142
|
+
* @return {string}
|
|
1143
|
+
*/
|
|
1144
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript.prototype.getCommand = function() {
|
|
1145
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1146
|
+
};
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
/**
|
|
1150
|
+
* @param {string} value
|
|
1151
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript} returns this
|
|
1152
|
+
*/
|
|
1153
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript.prototype.setCommand = function(value) {
|
|
1154
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1155
|
+
};
|
|
1156
|
+
|
|
1157
|
+
|
|
1158
|
+
|
|
1159
|
+
|
|
1160
|
+
|
|
1161
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1162
|
+
/**
|
|
1163
|
+
* Creates an object representation of this proto.
|
|
1164
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1165
|
+
* Optional fields that are not set will be set to undefined.
|
|
1166
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1167
|
+
* For the list of reserved names please see:
|
|
1168
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1169
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1170
|
+
* JSPB instance for transitional soy proto support:
|
|
1171
|
+
* http://goto/soy-param-migration
|
|
1172
|
+
* @return {!Object}
|
|
1173
|
+
*/
|
|
1174
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability.prototype.toObject = function(opt_includeInstance) {
|
|
1175
|
+
return proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability.toObject(opt_includeInstance, this);
|
|
1176
|
+
};
|
|
1177
|
+
|
|
1178
|
+
|
|
1179
|
+
/**
|
|
1180
|
+
* Static version of the {@see toObject} method.
|
|
1181
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1182
|
+
* the JSPB instance for transitional soy proto support:
|
|
1183
|
+
* http://goto/soy-param-migration
|
|
1184
|
+
* @param {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability} msg The msg instance to transform.
|
|
1185
|
+
* @return {!Object}
|
|
1186
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1187
|
+
*/
|
|
1188
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability.toObject = function(includeInstance, msg) {
|
|
1189
|
+
var f, obj = {
|
|
1190
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1191
|
+
value: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
1192
|
+
};
|
|
1193
|
+
|
|
1194
|
+
if (includeInstance) {
|
|
1195
|
+
obj.$jspbMessageInstance = msg;
|
|
1196
|
+
}
|
|
1197
|
+
return obj;
|
|
1198
|
+
};
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
|
|
1202
|
+
/**
|
|
1203
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1204
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1205
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability}
|
|
1206
|
+
*/
|
|
1207
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability.deserializeBinary = function(bytes) {
|
|
1208
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1209
|
+
var msg = new proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability;
|
|
1210
|
+
return proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability.deserializeBinaryFromReader(msg, reader);
|
|
1211
|
+
};
|
|
1212
|
+
|
|
1213
|
+
|
|
1214
|
+
/**
|
|
1215
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1216
|
+
* given reader into the given message object.
|
|
1217
|
+
* @param {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability} msg The message object to deserialize into.
|
|
1218
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1219
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability}
|
|
1220
|
+
*/
|
|
1221
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability.deserializeBinaryFromReader = function(msg, reader) {
|
|
1222
|
+
while (reader.nextField()) {
|
|
1223
|
+
if (reader.isEndGroup()) {
|
|
1224
|
+
break;
|
|
1225
|
+
}
|
|
1226
|
+
var field = reader.getFieldNumber();
|
|
1227
|
+
switch (field) {
|
|
1228
|
+
case 1:
|
|
1229
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1230
|
+
msg.setName(value);
|
|
1231
|
+
break;
|
|
1232
|
+
case 2:
|
|
1233
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1234
|
+
msg.setValue(value);
|
|
1235
|
+
break;
|
|
1236
|
+
default:
|
|
1237
|
+
reader.skipField();
|
|
1238
|
+
break;
|
|
1239
|
+
}
|
|
1240
|
+
}
|
|
1241
|
+
return msg;
|
|
1242
|
+
};
|
|
1243
|
+
|
|
1244
|
+
|
|
1245
|
+
/**
|
|
1246
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1247
|
+
* @return {!Uint8Array}
|
|
1248
|
+
*/
|
|
1249
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability.prototype.serializeBinary = function() {
|
|
1250
|
+
var writer = new jspb.BinaryWriter();
|
|
1251
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability.serializeBinaryToWriter(this, writer);
|
|
1252
|
+
return writer.getResultBuffer();
|
|
1253
|
+
};
|
|
1254
|
+
|
|
1255
|
+
|
|
1256
|
+
/**
|
|
1257
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1258
|
+
* format), writing to the given BinaryWriter.
|
|
1259
|
+
* @param {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability} message
|
|
1260
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1261
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1262
|
+
*/
|
|
1263
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability.serializeBinaryToWriter = function(message, writer) {
|
|
1264
|
+
var f = undefined;
|
|
1265
|
+
f = message.getName();
|
|
1266
|
+
if (f.length > 0) {
|
|
1267
|
+
writer.writeString(
|
|
1268
|
+
1,
|
|
1269
|
+
f
|
|
1270
|
+
);
|
|
1271
|
+
}
|
|
1272
|
+
f = message.getValue();
|
|
1273
|
+
if (f.length > 0) {
|
|
1274
|
+
writer.writeString(
|
|
1275
|
+
2,
|
|
1276
|
+
f
|
|
1277
|
+
);
|
|
1278
|
+
}
|
|
1279
|
+
};
|
|
1280
|
+
|
|
1281
|
+
|
|
1282
|
+
/**
|
|
1283
|
+
* optional string name = 1;
|
|
1284
|
+
* @return {string}
|
|
1285
|
+
*/
|
|
1286
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability.prototype.getName = function() {
|
|
1287
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1288
|
+
};
|
|
1289
|
+
|
|
1290
|
+
|
|
1291
|
+
/**
|
|
1292
|
+
* @param {string} value
|
|
1293
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability} returns this
|
|
1294
|
+
*/
|
|
1295
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability.prototype.setName = function(value) {
|
|
1296
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1297
|
+
};
|
|
1298
|
+
|
|
1299
|
+
|
|
1300
|
+
/**
|
|
1301
|
+
* optional string value = 2;
|
|
1302
|
+
* @return {string}
|
|
1303
|
+
*/
|
|
1304
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability.prototype.getValue = function() {
|
|
1305
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1306
|
+
};
|
|
1307
|
+
|
|
1308
|
+
|
|
1309
|
+
/**
|
|
1310
|
+
* @param {string} value
|
|
1311
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability} returns this
|
|
1312
|
+
*/
|
|
1313
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability.prototype.setValue = function(value) {
|
|
1314
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1315
|
+
};
|
|
1316
|
+
|
|
1317
|
+
|
|
1318
|
+
/**
|
|
1319
|
+
* optional string status = 1;
|
|
1320
|
+
* @return {string}
|
|
1321
|
+
*/
|
|
1322
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.prototype.getStatus = function() {
|
|
1323
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1324
|
+
};
|
|
1325
|
+
|
|
1326
|
+
|
|
1327
|
+
/**
|
|
1328
|
+
* @param {string} value
|
|
1329
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions} returns this
|
|
1330
|
+
*/
|
|
1331
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.prototype.setStatus = function(value) {
|
|
1332
|
+
return jspb.Message.setField(this, 1, value);
|
|
1333
|
+
};
|
|
1334
|
+
|
|
1335
|
+
|
|
1336
|
+
/**
|
|
1337
|
+
* Clears the field making it undefined.
|
|
1338
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions} returns this
|
|
1339
|
+
*/
|
|
1340
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.prototype.clearStatus = function() {
|
|
1341
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
1342
|
+
};
|
|
1343
|
+
|
|
1344
|
+
|
|
1345
|
+
/**
|
|
1346
|
+
* Returns whether this field is set.
|
|
1347
|
+
* @return {boolean}
|
|
1348
|
+
*/
|
|
1349
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.prototype.hasStatus = function() {
|
|
1350
|
+
return jspb.Message.getField(this, 1) != null;
|
|
1351
|
+
};
|
|
1352
|
+
|
|
1353
|
+
|
|
1354
|
+
/**
|
|
1355
|
+
* repeated AccessibilityCapability capabilities = 2;
|
|
1356
|
+
* @return {!Array<!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability>}
|
|
1357
|
+
*/
|
|
1358
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.prototype.getCapabilitiesList = function() {
|
|
1359
|
+
return /** @type{!Array<!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability>} */ (
|
|
1360
|
+
jspb.Message.getRepeatedWrapperField(this, proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability, 2));
|
|
1361
|
+
};
|
|
1362
|
+
|
|
1363
|
+
|
|
1364
|
+
/**
|
|
1365
|
+
* @param {!Array<!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability>} value
|
|
1366
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions} returns this
|
|
1367
|
+
*/
|
|
1368
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.prototype.setCapabilitiesList = function(value) {
|
|
1369
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
1370
|
+
};
|
|
1371
|
+
|
|
1372
|
+
|
|
1373
|
+
/**
|
|
1374
|
+
* @param {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability=} opt_value
|
|
1375
|
+
* @param {number=} opt_index
|
|
1376
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability}
|
|
1377
|
+
*/
|
|
1378
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.prototype.addCapabilities = function(opt_value, opt_index) {
|
|
1379
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCapability, opt_index);
|
|
1380
|
+
};
|
|
1381
|
+
|
|
1382
|
+
|
|
1383
|
+
/**
|
|
1384
|
+
* Clears the list making it empty but non-null.
|
|
1385
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions} returns this
|
|
1386
|
+
*/
|
|
1387
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.prototype.clearCapabilitiesList = function() {
|
|
1388
|
+
return this.setCapabilitiesList([]);
|
|
1389
|
+
};
|
|
1390
|
+
|
|
1391
|
+
|
|
1392
|
+
/**
|
|
1393
|
+
* repeated AccessibilityScript scripts = 3;
|
|
1394
|
+
* @return {!Array<!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript>}
|
|
1395
|
+
*/
|
|
1396
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.prototype.getScriptsList = function() {
|
|
1397
|
+
return /** @type{!Array<!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript>} */ (
|
|
1398
|
+
jspb.Message.getRepeatedWrapperField(this, proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript, 3));
|
|
1399
|
+
};
|
|
1400
|
+
|
|
1401
|
+
|
|
1402
|
+
/**
|
|
1403
|
+
* @param {!Array<!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript>} value
|
|
1404
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions} returns this
|
|
1405
|
+
*/
|
|
1406
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.prototype.setScriptsList = function(value) {
|
|
1407
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
1408
|
+
};
|
|
1409
|
+
|
|
1410
|
+
|
|
1411
|
+
/**
|
|
1412
|
+
* @param {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript=} opt_value
|
|
1413
|
+
* @param {number=} opt_index
|
|
1414
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript}
|
|
1415
|
+
*/
|
|
1416
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.prototype.addScripts = function(opt_value, opt_index) {
|
|
1417
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript, opt_index);
|
|
1418
|
+
};
|
|
1419
|
+
|
|
1420
|
+
|
|
1421
|
+
/**
|
|
1422
|
+
* Clears the list making it empty but non-null.
|
|
1423
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions} returns this
|
|
1424
|
+
*/
|
|
1425
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.prototype.clearScriptsList = function() {
|
|
1426
|
+
return this.setScriptsList([]);
|
|
1427
|
+
};
|
|
1428
|
+
|
|
1429
|
+
|
|
1430
|
+
/**
|
|
1431
|
+
* optional AccessibilityCommandsToWrap commands_to_wrap = 4;
|
|
1432
|
+
* @return {?proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap}
|
|
1433
|
+
*/
|
|
1434
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.prototype.getCommandsToWrap = function() {
|
|
1435
|
+
return /** @type{?proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap} */ (
|
|
1436
|
+
jspb.Message.getWrapperField(this, proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap, 4));
|
|
1437
|
+
};
|
|
1438
|
+
|
|
1439
|
+
|
|
1440
|
+
/**
|
|
1441
|
+
* @param {?proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityCommandsToWrap|undefined} value
|
|
1442
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions} returns this
|
|
1443
|
+
*/
|
|
1444
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.prototype.setCommandsToWrap = function(value) {
|
|
1445
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
1446
|
+
};
|
|
1447
|
+
|
|
1448
|
+
|
|
1449
|
+
/**
|
|
1450
|
+
* Clears the message field making it undefined.
|
|
1451
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions} returns this
|
|
1452
|
+
*/
|
|
1453
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.prototype.clearCommandsToWrap = function() {
|
|
1454
|
+
return this.setCommandsToWrap(undefined);
|
|
1455
|
+
};
|
|
1456
|
+
|
|
1457
|
+
|
|
1458
|
+
/**
|
|
1459
|
+
* Returns whether this field is set.
|
|
1460
|
+
* @return {boolean}
|
|
1461
|
+
*/
|
|
1462
|
+
proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.prototype.hasCommandsToWrap = function() {
|
|
1463
|
+
return jspb.Message.getField(this, 4) != null;
|
|
1464
|
+
};
|
|
1465
|
+
|
|
1466
|
+
|
|
1467
|
+
/**
|
|
1468
|
+
* optional bool success = 1;
|
|
1469
|
+
* @return {boolean}
|
|
1470
|
+
*/
|
|
1471
|
+
proto.browserstack.sdk.v1.Accessibility.prototype.getSuccess = function() {
|
|
1472
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
1473
|
+
};
|
|
1474
|
+
|
|
1475
|
+
|
|
1476
|
+
/**
|
|
1477
|
+
* @param {boolean} value
|
|
1478
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility} returns this
|
|
1479
|
+
*/
|
|
1480
|
+
proto.browserstack.sdk.v1.Accessibility.prototype.setSuccess = function(value) {
|
|
1481
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
1482
|
+
};
|
|
1483
|
+
|
|
1484
|
+
|
|
1485
|
+
/**
|
|
1486
|
+
* optional AccessibilityOptions options = 2;
|
|
1487
|
+
* @return {?proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions}
|
|
1488
|
+
*/
|
|
1489
|
+
proto.browserstack.sdk.v1.Accessibility.prototype.getOptions = function() {
|
|
1490
|
+
return /** @type{?proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions} */ (
|
|
1491
|
+
jspb.Message.getWrapperField(this, proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions, 2));
|
|
1492
|
+
};
|
|
1493
|
+
|
|
1494
|
+
|
|
1495
|
+
/**
|
|
1496
|
+
* @param {?proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions|undefined} value
|
|
1497
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility} returns this
|
|
1498
|
+
*/
|
|
1499
|
+
proto.browserstack.sdk.v1.Accessibility.prototype.setOptions = function(value) {
|
|
1500
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
1501
|
+
};
|
|
1502
|
+
|
|
1503
|
+
|
|
1504
|
+
/**
|
|
1505
|
+
* Clears the message field making it undefined.
|
|
1506
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility} returns this
|
|
1507
|
+
*/
|
|
1508
|
+
proto.browserstack.sdk.v1.Accessibility.prototype.clearOptions = function() {
|
|
1509
|
+
return this.setOptions(undefined);
|
|
1510
|
+
};
|
|
1511
|
+
|
|
1512
|
+
|
|
1513
|
+
/**
|
|
1514
|
+
* Returns whether this field is set.
|
|
1515
|
+
* @return {boolean}
|
|
1516
|
+
*/
|
|
1517
|
+
proto.browserstack.sdk.v1.Accessibility.prototype.hasOptions = function() {
|
|
1518
|
+
return jspb.Message.getField(this, 2) != null;
|
|
1519
|
+
};
|
|
1520
|
+
|
|
1521
|
+
|
|
1522
|
+
/**
|
|
1523
|
+
* optional string error_trace_id = 3;
|
|
1524
|
+
* @return {string}
|
|
1525
|
+
*/
|
|
1526
|
+
proto.browserstack.sdk.v1.Accessibility.prototype.getErrorTraceId = function() {
|
|
1527
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1528
|
+
};
|
|
1529
|
+
|
|
1530
|
+
|
|
1531
|
+
/**
|
|
1532
|
+
* @param {string} value
|
|
1533
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility} returns this
|
|
1534
|
+
*/
|
|
1535
|
+
proto.browserstack.sdk.v1.Accessibility.prototype.setErrorTraceId = function(value) {
|
|
1536
|
+
return jspb.Message.setField(this, 3, value);
|
|
1537
|
+
};
|
|
1538
|
+
|
|
1539
|
+
|
|
1540
|
+
/**
|
|
1541
|
+
* Clears the field making it undefined.
|
|
1542
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility} returns this
|
|
1543
|
+
*/
|
|
1544
|
+
proto.browserstack.sdk.v1.Accessibility.prototype.clearErrorTraceId = function() {
|
|
1545
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
1546
|
+
};
|
|
1547
|
+
|
|
1548
|
+
|
|
1549
|
+
/**
|
|
1550
|
+
* Returns whether this field is set.
|
|
1551
|
+
* @return {boolean}
|
|
1552
|
+
*/
|
|
1553
|
+
proto.browserstack.sdk.v1.Accessibility.prototype.hasErrorTraceId = function() {
|
|
1554
|
+
return jspb.Message.getField(this, 3) != null;
|
|
1555
|
+
};
|
|
1556
|
+
|
|
1557
|
+
|
|
1558
|
+
/**
|
|
1559
|
+
* optional string code = 4;
|
|
1560
|
+
* @return {string}
|
|
1561
|
+
*/
|
|
1562
|
+
proto.browserstack.sdk.v1.Accessibility.prototype.getCode = function() {
|
|
1563
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
1564
|
+
};
|
|
1565
|
+
|
|
1566
|
+
|
|
1567
|
+
/**
|
|
1568
|
+
* @param {string} value
|
|
1569
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility} returns this
|
|
1570
|
+
*/
|
|
1571
|
+
proto.browserstack.sdk.v1.Accessibility.prototype.setCode = function(value) {
|
|
1572
|
+
return jspb.Message.setField(this, 4, value);
|
|
1573
|
+
};
|
|
1574
|
+
|
|
1575
|
+
|
|
1576
|
+
/**
|
|
1577
|
+
* Clears the field making it undefined.
|
|
1578
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility} returns this
|
|
1579
|
+
*/
|
|
1580
|
+
proto.browserstack.sdk.v1.Accessibility.prototype.clearCode = function() {
|
|
1581
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
1582
|
+
};
|
|
1583
|
+
|
|
1584
|
+
|
|
1585
|
+
/**
|
|
1586
|
+
* Returns whether this field is set.
|
|
1587
|
+
* @return {boolean}
|
|
1588
|
+
*/
|
|
1589
|
+
proto.browserstack.sdk.v1.Accessibility.prototype.hasCode = function() {
|
|
1590
|
+
return jspb.Message.getField(this, 4) != null;
|
|
1591
|
+
};
|
|
1592
|
+
|
|
1593
|
+
|
|
1594
|
+
/**
|
|
1595
|
+
* repeated KeyMessage errors = 5;
|
|
1596
|
+
* @return {!Array<!proto.browserstack.sdk.v1.KeyMessage>}
|
|
1597
|
+
*/
|
|
1598
|
+
proto.browserstack.sdk.v1.Accessibility.prototype.getErrorsList = function() {
|
|
1599
|
+
return /** @type{!Array<!proto.browserstack.sdk.v1.KeyMessage>} */ (
|
|
1600
|
+
jspb.Message.getRepeatedWrapperField(this, sdk$messages$observability_pb.KeyMessage, 5));
|
|
1601
|
+
};
|
|
1602
|
+
|
|
1603
|
+
|
|
1604
|
+
/**
|
|
1605
|
+
* @param {!Array<!proto.browserstack.sdk.v1.KeyMessage>} value
|
|
1606
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility} returns this
|
|
1607
|
+
*/
|
|
1608
|
+
proto.browserstack.sdk.v1.Accessibility.prototype.setErrorsList = function(value) {
|
|
1609
|
+
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
|
1610
|
+
};
|
|
1611
|
+
|
|
1612
|
+
|
|
1613
|
+
/**
|
|
1614
|
+
* @param {!proto.browserstack.sdk.v1.KeyMessage=} opt_value
|
|
1615
|
+
* @param {number=} opt_index
|
|
1616
|
+
* @return {!proto.browserstack.sdk.v1.KeyMessage}
|
|
1617
|
+
*/
|
|
1618
|
+
proto.browserstack.sdk.v1.Accessibility.prototype.addErrors = function(opt_value, opt_index) {
|
|
1619
|
+
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.browserstack.sdk.v1.KeyMessage, opt_index);
|
|
1620
|
+
};
|
|
1621
|
+
|
|
1622
|
+
|
|
1623
|
+
/**
|
|
1624
|
+
* Clears the list making it empty but non-null.
|
|
1625
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility} returns this
|
|
1626
|
+
*/
|
|
1627
|
+
proto.browserstack.sdk.v1.Accessibility.prototype.clearErrorsList = function() {
|
|
1628
|
+
return this.setErrorsList([]);
|
|
1629
|
+
};
|
|
1630
|
+
|
|
1631
|
+
|
|
1632
|
+
|
|
1633
|
+
|
|
1634
|
+
|
|
1635
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1636
|
+
/**
|
|
1637
|
+
* Creates an object representation of this proto.
|
|
1638
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1639
|
+
* Optional fields that are not set will be set to undefined.
|
|
1640
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1641
|
+
* For the list of reserved names please see:
|
|
1642
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1643
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1644
|
+
* JSPB instance for transitional soy proto support:
|
|
1645
|
+
* http://goto/soy-param-migration
|
|
1646
|
+
* @return {!Object}
|
|
1647
|
+
*/
|
|
1648
|
+
proto.browserstack.sdk.v1.AccessibilityConfigRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1649
|
+
return proto.browserstack.sdk.v1.AccessibilityConfigRequest.toObject(opt_includeInstance, this);
|
|
1650
|
+
};
|
|
1651
|
+
|
|
1652
|
+
|
|
1653
|
+
/**
|
|
1654
|
+
* Static version of the {@see toObject} method.
|
|
1655
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1656
|
+
* the JSPB instance for transitional soy proto support:
|
|
1657
|
+
* http://goto/soy-param-migration
|
|
1658
|
+
* @param {!proto.browserstack.sdk.v1.AccessibilityConfigRequest} msg The msg instance to transform.
|
|
1659
|
+
* @return {!Object}
|
|
1660
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1661
|
+
*/
|
|
1662
|
+
proto.browserstack.sdk.v1.AccessibilityConfigRequest.toObject = function(includeInstance, msg) {
|
|
1663
|
+
var f, obj = {
|
|
1664
|
+
binSessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1665
|
+
platformIndex: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1666
|
+
frameworkName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1667
|
+
frameworkVersion: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1668
|
+
hubUrl: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1669
|
+
capabilities: msg.getCapabilities_asB64()
|
|
1670
|
+
};
|
|
1671
|
+
|
|
1672
|
+
if (includeInstance) {
|
|
1673
|
+
obj.$jspbMessageInstance = msg;
|
|
1674
|
+
}
|
|
1675
|
+
return obj;
|
|
1676
|
+
};
|
|
1677
|
+
}
|
|
1678
|
+
|
|
1679
|
+
|
|
1680
|
+
/**
|
|
1681
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1682
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1683
|
+
* @return {!proto.browserstack.sdk.v1.AccessibilityConfigRequest}
|
|
1684
|
+
*/
|
|
1685
|
+
proto.browserstack.sdk.v1.AccessibilityConfigRequest.deserializeBinary = function(bytes) {
|
|
1686
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1687
|
+
var msg = new proto.browserstack.sdk.v1.AccessibilityConfigRequest;
|
|
1688
|
+
return proto.browserstack.sdk.v1.AccessibilityConfigRequest.deserializeBinaryFromReader(msg, reader);
|
|
1689
|
+
};
|
|
1690
|
+
|
|
1691
|
+
|
|
1692
|
+
/**
|
|
1693
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1694
|
+
* given reader into the given message object.
|
|
1695
|
+
* @param {!proto.browserstack.sdk.v1.AccessibilityConfigRequest} msg The message object to deserialize into.
|
|
1696
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1697
|
+
* @return {!proto.browserstack.sdk.v1.AccessibilityConfigRequest}
|
|
1698
|
+
*/
|
|
1699
|
+
proto.browserstack.sdk.v1.AccessibilityConfigRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1700
|
+
while (reader.nextField()) {
|
|
1701
|
+
if (reader.isEndGroup()) {
|
|
1702
|
+
break;
|
|
1703
|
+
}
|
|
1704
|
+
var field = reader.getFieldNumber();
|
|
1705
|
+
switch (field) {
|
|
1706
|
+
case 1:
|
|
1707
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1708
|
+
msg.setBinSessionId(value);
|
|
1709
|
+
break;
|
|
1710
|
+
case 2:
|
|
1711
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
1712
|
+
msg.setPlatformIndex(value);
|
|
1713
|
+
break;
|
|
1714
|
+
case 3:
|
|
1715
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1716
|
+
msg.setFrameworkName(value);
|
|
1717
|
+
break;
|
|
1718
|
+
case 4:
|
|
1719
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1720
|
+
msg.setFrameworkVersion(value);
|
|
1721
|
+
break;
|
|
1722
|
+
case 5:
|
|
1723
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1724
|
+
msg.setHubUrl(value);
|
|
1725
|
+
break;
|
|
1726
|
+
case 6:
|
|
1727
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
1728
|
+
msg.setCapabilities(value);
|
|
1729
|
+
break;
|
|
1730
|
+
default:
|
|
1731
|
+
reader.skipField();
|
|
1732
|
+
break;
|
|
1733
|
+
}
|
|
1734
|
+
}
|
|
1735
|
+
return msg;
|
|
1736
|
+
};
|
|
1737
|
+
|
|
1738
|
+
|
|
1739
|
+
/**
|
|
1740
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1741
|
+
* @return {!Uint8Array}
|
|
1742
|
+
*/
|
|
1743
|
+
proto.browserstack.sdk.v1.AccessibilityConfigRequest.prototype.serializeBinary = function() {
|
|
1744
|
+
var writer = new jspb.BinaryWriter();
|
|
1745
|
+
proto.browserstack.sdk.v1.AccessibilityConfigRequest.serializeBinaryToWriter(this, writer);
|
|
1746
|
+
return writer.getResultBuffer();
|
|
1747
|
+
};
|
|
1748
|
+
|
|
1749
|
+
|
|
1750
|
+
/**
|
|
1751
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1752
|
+
* format), writing to the given BinaryWriter.
|
|
1753
|
+
* @param {!proto.browserstack.sdk.v1.AccessibilityConfigRequest} message
|
|
1754
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1755
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1756
|
+
*/
|
|
1757
|
+
proto.browserstack.sdk.v1.AccessibilityConfigRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1758
|
+
var f = undefined;
|
|
1759
|
+
f = message.getBinSessionId();
|
|
1760
|
+
if (f.length > 0) {
|
|
1761
|
+
writer.writeString(
|
|
1762
|
+
1,
|
|
1763
|
+
f
|
|
1764
|
+
);
|
|
1765
|
+
}
|
|
1766
|
+
f = message.getPlatformIndex();
|
|
1767
|
+
if (f !== 0) {
|
|
1768
|
+
writer.writeUint32(
|
|
1769
|
+
2,
|
|
1770
|
+
f
|
|
1771
|
+
);
|
|
1772
|
+
}
|
|
1773
|
+
f = message.getFrameworkName();
|
|
1774
|
+
if (f.length > 0) {
|
|
1775
|
+
writer.writeString(
|
|
1776
|
+
3,
|
|
1777
|
+
f
|
|
1778
|
+
);
|
|
1779
|
+
}
|
|
1780
|
+
f = message.getFrameworkVersion();
|
|
1781
|
+
if (f.length > 0) {
|
|
1782
|
+
writer.writeString(
|
|
1783
|
+
4,
|
|
1784
|
+
f
|
|
1785
|
+
);
|
|
1786
|
+
}
|
|
1787
|
+
f = message.getHubUrl();
|
|
1788
|
+
if (f.length > 0) {
|
|
1789
|
+
writer.writeString(
|
|
1790
|
+
5,
|
|
1791
|
+
f
|
|
1792
|
+
);
|
|
1793
|
+
}
|
|
1794
|
+
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 6));
|
|
1795
|
+
if (f != null) {
|
|
1796
|
+
writer.writeBytes(
|
|
1797
|
+
6,
|
|
1798
|
+
f
|
|
1799
|
+
);
|
|
1800
|
+
}
|
|
1801
|
+
};
|
|
1802
|
+
|
|
1803
|
+
|
|
1804
|
+
/**
|
|
1805
|
+
* optional string bin_session_id = 1;
|
|
1806
|
+
* @return {string}
|
|
1807
|
+
*/
|
|
1808
|
+
proto.browserstack.sdk.v1.AccessibilityConfigRequest.prototype.getBinSessionId = function() {
|
|
1809
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1810
|
+
};
|
|
1811
|
+
|
|
1812
|
+
|
|
1813
|
+
/**
|
|
1814
|
+
* @param {string} value
|
|
1815
|
+
* @return {!proto.browserstack.sdk.v1.AccessibilityConfigRequest} returns this
|
|
1816
|
+
*/
|
|
1817
|
+
proto.browserstack.sdk.v1.AccessibilityConfigRequest.prototype.setBinSessionId = function(value) {
|
|
1818
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1819
|
+
};
|
|
1820
|
+
|
|
1821
|
+
|
|
1822
|
+
/**
|
|
1823
|
+
* optional uint32 platform_index = 2;
|
|
1824
|
+
* @return {number}
|
|
1825
|
+
*/
|
|
1826
|
+
proto.browserstack.sdk.v1.AccessibilityConfigRequest.prototype.getPlatformIndex = function() {
|
|
1827
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
1828
|
+
};
|
|
1829
|
+
|
|
1830
|
+
|
|
1831
|
+
/**
|
|
1832
|
+
* @param {number} value
|
|
1833
|
+
* @return {!proto.browserstack.sdk.v1.AccessibilityConfigRequest} returns this
|
|
1834
|
+
*/
|
|
1835
|
+
proto.browserstack.sdk.v1.AccessibilityConfigRequest.prototype.setPlatformIndex = function(value) {
|
|
1836
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
1837
|
+
};
|
|
1838
|
+
|
|
1839
|
+
|
|
1840
|
+
/**
|
|
1841
|
+
* optional string framework_name = 3;
|
|
1842
|
+
* @return {string}
|
|
1843
|
+
*/
|
|
1844
|
+
proto.browserstack.sdk.v1.AccessibilityConfigRequest.prototype.getFrameworkName = function() {
|
|
1845
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1846
|
+
};
|
|
1847
|
+
|
|
1848
|
+
|
|
1849
|
+
/**
|
|
1850
|
+
* @param {string} value
|
|
1851
|
+
* @return {!proto.browserstack.sdk.v1.AccessibilityConfigRequest} returns this
|
|
1852
|
+
*/
|
|
1853
|
+
proto.browserstack.sdk.v1.AccessibilityConfigRequest.prototype.setFrameworkName = function(value) {
|
|
1854
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
1855
|
+
};
|
|
1856
|
+
|
|
1857
|
+
|
|
1858
|
+
/**
|
|
1859
|
+
* optional string framework_version = 4;
|
|
1860
|
+
* @return {string}
|
|
1861
|
+
*/
|
|
1862
|
+
proto.browserstack.sdk.v1.AccessibilityConfigRequest.prototype.getFrameworkVersion = function() {
|
|
1863
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
1864
|
+
};
|
|
1865
|
+
|
|
1866
|
+
|
|
1867
|
+
/**
|
|
1868
|
+
* @param {string} value
|
|
1869
|
+
* @return {!proto.browserstack.sdk.v1.AccessibilityConfigRequest} returns this
|
|
1870
|
+
*/
|
|
1871
|
+
proto.browserstack.sdk.v1.AccessibilityConfigRequest.prototype.setFrameworkVersion = function(value) {
|
|
1872
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
1873
|
+
};
|
|
1874
|
+
|
|
1875
|
+
|
|
1876
|
+
/**
|
|
1877
|
+
* optional string hub_url = 5;
|
|
1878
|
+
* @return {string}
|
|
1879
|
+
*/
|
|
1880
|
+
proto.browserstack.sdk.v1.AccessibilityConfigRequest.prototype.getHubUrl = function() {
|
|
1881
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
1882
|
+
};
|
|
1883
|
+
|
|
1884
|
+
|
|
1885
|
+
/**
|
|
1886
|
+
* @param {string} value
|
|
1887
|
+
* @return {!proto.browserstack.sdk.v1.AccessibilityConfigRequest} returns this
|
|
1888
|
+
*/
|
|
1889
|
+
proto.browserstack.sdk.v1.AccessibilityConfigRequest.prototype.setHubUrl = function(value) {
|
|
1890
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
1891
|
+
};
|
|
1892
|
+
|
|
1893
|
+
|
|
1894
|
+
/**
|
|
1895
|
+
* optional bytes capabilities = 6;
|
|
1896
|
+
* @return {!(string|Uint8Array)}
|
|
1897
|
+
*/
|
|
1898
|
+
proto.browserstack.sdk.v1.AccessibilityConfigRequest.prototype.getCapabilities = function() {
|
|
1899
|
+
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
1900
|
+
};
|
|
1901
|
+
|
|
1902
|
+
|
|
1903
|
+
/**
|
|
1904
|
+
* optional bytes capabilities = 6;
|
|
1905
|
+
* This is a type-conversion wrapper around `getCapabilities()`
|
|
1906
|
+
* @return {string}
|
|
1907
|
+
*/
|
|
1908
|
+
proto.browserstack.sdk.v1.AccessibilityConfigRequest.prototype.getCapabilities_asB64 = function() {
|
|
1909
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
1910
|
+
this.getCapabilities()));
|
|
1911
|
+
};
|
|
1912
|
+
|
|
1913
|
+
|
|
1914
|
+
/**
|
|
1915
|
+
* optional bytes capabilities = 6;
|
|
1916
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
1917
|
+
* @see http://caniuse.com/Uint8Array
|
|
1918
|
+
* This is a type-conversion wrapper around `getCapabilities()`
|
|
1919
|
+
* @return {!Uint8Array}
|
|
1920
|
+
*/
|
|
1921
|
+
proto.browserstack.sdk.v1.AccessibilityConfigRequest.prototype.getCapabilities_asU8 = function() {
|
|
1922
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
1923
|
+
this.getCapabilities()));
|
|
1924
|
+
};
|
|
1925
|
+
|
|
1926
|
+
|
|
1927
|
+
/**
|
|
1928
|
+
* @param {!(string|Uint8Array)} value
|
|
1929
|
+
* @return {!proto.browserstack.sdk.v1.AccessibilityConfigRequest} returns this
|
|
1930
|
+
*/
|
|
1931
|
+
proto.browserstack.sdk.v1.AccessibilityConfigRequest.prototype.setCapabilities = function(value) {
|
|
1932
|
+
return jspb.Message.setField(this, 6, value);
|
|
1933
|
+
};
|
|
1934
|
+
|
|
1935
|
+
|
|
1936
|
+
/**
|
|
1937
|
+
* Clears the field making it undefined.
|
|
1938
|
+
* @return {!proto.browserstack.sdk.v1.AccessibilityConfigRequest} returns this
|
|
1939
|
+
*/
|
|
1940
|
+
proto.browserstack.sdk.v1.AccessibilityConfigRequest.prototype.clearCapabilities = function() {
|
|
1941
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
1942
|
+
};
|
|
1943
|
+
|
|
1944
|
+
|
|
1945
|
+
/**
|
|
1946
|
+
* Returns whether this field is set.
|
|
1947
|
+
* @return {boolean}
|
|
1948
|
+
*/
|
|
1949
|
+
proto.browserstack.sdk.v1.AccessibilityConfigRequest.prototype.hasCapabilities = function() {
|
|
1950
|
+
return jspb.Message.getField(this, 6) != null;
|
|
1951
|
+
};
|
|
1952
|
+
|
|
1953
|
+
|
|
1954
|
+
|
|
1955
|
+
|
|
1956
|
+
|
|
1957
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1958
|
+
/**
|
|
1959
|
+
* Creates an object representation of this proto.
|
|
1960
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1961
|
+
* Optional fields that are not set will be set to undefined.
|
|
1962
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1963
|
+
* For the list of reserved names please see:
|
|
1964
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1965
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1966
|
+
* JSPB instance for transitional soy proto support:
|
|
1967
|
+
* http://goto/soy-param-migration
|
|
1968
|
+
* @return {!Object}
|
|
1969
|
+
*/
|
|
1970
|
+
proto.browserstack.sdk.v1.AccessibilityConfigResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1971
|
+
return proto.browserstack.sdk.v1.AccessibilityConfigResponse.toObject(opt_includeInstance, this);
|
|
1972
|
+
};
|
|
1973
|
+
|
|
1974
|
+
|
|
1975
|
+
/**
|
|
1976
|
+
* Static version of the {@see toObject} method.
|
|
1977
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1978
|
+
* the JSPB instance for transitional soy proto support:
|
|
1979
|
+
* http://goto/soy-param-migration
|
|
1980
|
+
* @param {!proto.browserstack.sdk.v1.AccessibilityConfigResponse} msg The msg instance to transform.
|
|
1981
|
+
* @return {!Object}
|
|
1982
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1983
|
+
*/
|
|
1984
|
+
proto.browserstack.sdk.v1.AccessibilityConfigResponse.toObject = function(includeInstance, msg) {
|
|
1985
|
+
var f, obj = {
|
|
1986
|
+
success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
1987
|
+
testhub: (f = msg.getTesthub()) && sdk$messages$testhub_pb.TestHub.toObject(includeInstance, f),
|
|
1988
|
+
accessibility: (f = msg.getAccessibility()) && proto.browserstack.sdk.v1.Accessibility.toObject(includeInstance, f)
|
|
1989
|
+
};
|
|
1990
|
+
|
|
1991
|
+
if (includeInstance) {
|
|
1992
|
+
obj.$jspbMessageInstance = msg;
|
|
1993
|
+
}
|
|
1994
|
+
return obj;
|
|
1995
|
+
};
|
|
1996
|
+
}
|
|
1997
|
+
|
|
1998
|
+
|
|
1999
|
+
/**
|
|
2000
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2001
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2002
|
+
* @return {!proto.browserstack.sdk.v1.AccessibilityConfigResponse}
|
|
2003
|
+
*/
|
|
2004
|
+
proto.browserstack.sdk.v1.AccessibilityConfigResponse.deserializeBinary = function(bytes) {
|
|
2005
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2006
|
+
var msg = new proto.browserstack.sdk.v1.AccessibilityConfigResponse;
|
|
2007
|
+
return proto.browserstack.sdk.v1.AccessibilityConfigResponse.deserializeBinaryFromReader(msg, reader);
|
|
2008
|
+
};
|
|
2009
|
+
|
|
2010
|
+
|
|
2011
|
+
/**
|
|
2012
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2013
|
+
* given reader into the given message object.
|
|
2014
|
+
* @param {!proto.browserstack.sdk.v1.AccessibilityConfigResponse} msg The message object to deserialize into.
|
|
2015
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2016
|
+
* @return {!proto.browserstack.sdk.v1.AccessibilityConfigResponse}
|
|
2017
|
+
*/
|
|
2018
|
+
proto.browserstack.sdk.v1.AccessibilityConfigResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2019
|
+
while (reader.nextField()) {
|
|
2020
|
+
if (reader.isEndGroup()) {
|
|
2021
|
+
break;
|
|
2022
|
+
}
|
|
2023
|
+
var field = reader.getFieldNumber();
|
|
2024
|
+
switch (field) {
|
|
2025
|
+
case 1:
|
|
2026
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2027
|
+
msg.setSuccess(value);
|
|
2028
|
+
break;
|
|
2029
|
+
case 2:
|
|
2030
|
+
var value = new sdk$messages$testhub_pb.TestHub;
|
|
2031
|
+
reader.readMessage(value,sdk$messages$testhub_pb.TestHub.deserializeBinaryFromReader);
|
|
2032
|
+
msg.setTesthub(value);
|
|
2033
|
+
break;
|
|
2034
|
+
case 3:
|
|
2035
|
+
var value = new proto.browserstack.sdk.v1.Accessibility;
|
|
2036
|
+
reader.readMessage(value,proto.browserstack.sdk.v1.Accessibility.deserializeBinaryFromReader);
|
|
2037
|
+
msg.setAccessibility(value);
|
|
2038
|
+
break;
|
|
2039
|
+
default:
|
|
2040
|
+
reader.skipField();
|
|
2041
|
+
break;
|
|
2042
|
+
}
|
|
2043
|
+
}
|
|
2044
|
+
return msg;
|
|
2045
|
+
};
|
|
2046
|
+
|
|
2047
|
+
|
|
2048
|
+
/**
|
|
2049
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2050
|
+
* @return {!Uint8Array}
|
|
2051
|
+
*/
|
|
2052
|
+
proto.browserstack.sdk.v1.AccessibilityConfigResponse.prototype.serializeBinary = function() {
|
|
2053
|
+
var writer = new jspb.BinaryWriter();
|
|
2054
|
+
proto.browserstack.sdk.v1.AccessibilityConfigResponse.serializeBinaryToWriter(this, writer);
|
|
2055
|
+
return writer.getResultBuffer();
|
|
2056
|
+
};
|
|
2057
|
+
|
|
2058
|
+
|
|
2059
|
+
/**
|
|
2060
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2061
|
+
* format), writing to the given BinaryWriter.
|
|
2062
|
+
* @param {!proto.browserstack.sdk.v1.AccessibilityConfigResponse} message
|
|
2063
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2064
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2065
|
+
*/
|
|
2066
|
+
proto.browserstack.sdk.v1.AccessibilityConfigResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2067
|
+
var f = undefined;
|
|
2068
|
+
f = message.getSuccess();
|
|
2069
|
+
if (f) {
|
|
2070
|
+
writer.writeBool(
|
|
2071
|
+
1,
|
|
2072
|
+
f
|
|
2073
|
+
);
|
|
2074
|
+
}
|
|
2075
|
+
f = message.getTesthub();
|
|
2076
|
+
if (f != null) {
|
|
2077
|
+
writer.writeMessage(
|
|
2078
|
+
2,
|
|
2079
|
+
f,
|
|
2080
|
+
sdk$messages$testhub_pb.TestHub.serializeBinaryToWriter
|
|
2081
|
+
);
|
|
2082
|
+
}
|
|
2083
|
+
f = message.getAccessibility();
|
|
2084
|
+
if (f != null) {
|
|
2085
|
+
writer.writeMessage(
|
|
2086
|
+
3,
|
|
2087
|
+
f,
|
|
2088
|
+
proto.browserstack.sdk.v1.Accessibility.serializeBinaryToWriter
|
|
2089
|
+
);
|
|
2090
|
+
}
|
|
2091
|
+
};
|
|
2092
|
+
|
|
2093
|
+
|
|
2094
|
+
/**
|
|
2095
|
+
* optional bool success = 1;
|
|
2096
|
+
* @return {boolean}
|
|
2097
|
+
*/
|
|
2098
|
+
proto.browserstack.sdk.v1.AccessibilityConfigResponse.prototype.getSuccess = function() {
|
|
2099
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
2100
|
+
};
|
|
2101
|
+
|
|
2102
|
+
|
|
2103
|
+
/**
|
|
2104
|
+
* @param {boolean} value
|
|
2105
|
+
* @return {!proto.browserstack.sdk.v1.AccessibilityConfigResponse} returns this
|
|
2106
|
+
*/
|
|
2107
|
+
proto.browserstack.sdk.v1.AccessibilityConfigResponse.prototype.setSuccess = function(value) {
|
|
2108
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
2109
|
+
};
|
|
2110
|
+
|
|
2111
|
+
|
|
2112
|
+
/**
|
|
2113
|
+
* optional TestHub testhub = 2;
|
|
2114
|
+
* @return {?proto.browserstack.sdk.v1.TestHub}
|
|
2115
|
+
*/
|
|
2116
|
+
proto.browserstack.sdk.v1.AccessibilityConfigResponse.prototype.getTesthub = function() {
|
|
2117
|
+
return /** @type{?proto.browserstack.sdk.v1.TestHub} */ (
|
|
2118
|
+
jspb.Message.getWrapperField(this, sdk$messages$testhub_pb.TestHub, 2));
|
|
2119
|
+
};
|
|
2120
|
+
|
|
2121
|
+
|
|
2122
|
+
/**
|
|
2123
|
+
* @param {?proto.browserstack.sdk.v1.TestHub|undefined} value
|
|
2124
|
+
* @return {!proto.browserstack.sdk.v1.AccessibilityConfigResponse} returns this
|
|
2125
|
+
*/
|
|
2126
|
+
proto.browserstack.sdk.v1.AccessibilityConfigResponse.prototype.setTesthub = function(value) {
|
|
2127
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
2128
|
+
};
|
|
2129
|
+
|
|
2130
|
+
|
|
2131
|
+
/**
|
|
2132
|
+
* Clears the message field making it undefined.
|
|
2133
|
+
* @return {!proto.browserstack.sdk.v1.AccessibilityConfigResponse} returns this
|
|
2134
|
+
*/
|
|
2135
|
+
proto.browserstack.sdk.v1.AccessibilityConfigResponse.prototype.clearTesthub = function() {
|
|
2136
|
+
return this.setTesthub(undefined);
|
|
2137
|
+
};
|
|
2138
|
+
|
|
2139
|
+
|
|
2140
|
+
/**
|
|
2141
|
+
* Returns whether this field is set.
|
|
2142
|
+
* @return {boolean}
|
|
2143
|
+
*/
|
|
2144
|
+
proto.browserstack.sdk.v1.AccessibilityConfigResponse.prototype.hasTesthub = function() {
|
|
2145
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2146
|
+
};
|
|
2147
|
+
|
|
2148
|
+
|
|
2149
|
+
/**
|
|
2150
|
+
* optional Accessibility accessibility = 3;
|
|
2151
|
+
* @return {?proto.browserstack.sdk.v1.Accessibility}
|
|
2152
|
+
*/
|
|
2153
|
+
proto.browserstack.sdk.v1.AccessibilityConfigResponse.prototype.getAccessibility = function() {
|
|
2154
|
+
return /** @type{?proto.browserstack.sdk.v1.Accessibility} */ (
|
|
2155
|
+
jspb.Message.getWrapperField(this, proto.browserstack.sdk.v1.Accessibility, 3));
|
|
2156
|
+
};
|
|
2157
|
+
|
|
2158
|
+
|
|
2159
|
+
/**
|
|
2160
|
+
* @param {?proto.browserstack.sdk.v1.Accessibility|undefined} value
|
|
2161
|
+
* @return {!proto.browserstack.sdk.v1.AccessibilityConfigResponse} returns this
|
|
2162
|
+
*/
|
|
2163
|
+
proto.browserstack.sdk.v1.AccessibilityConfigResponse.prototype.setAccessibility = function(value) {
|
|
2164
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
2165
|
+
};
|
|
2166
|
+
|
|
2167
|
+
|
|
2168
|
+
/**
|
|
2169
|
+
* Clears the message field making it undefined.
|
|
2170
|
+
* @return {!proto.browserstack.sdk.v1.AccessibilityConfigResponse} returns this
|
|
2171
|
+
*/
|
|
2172
|
+
proto.browserstack.sdk.v1.AccessibilityConfigResponse.prototype.clearAccessibility = function() {
|
|
2173
|
+
return this.setAccessibility(undefined);
|
|
2174
|
+
};
|
|
2175
|
+
|
|
2176
|
+
|
|
2177
|
+
/**
|
|
2178
|
+
* Returns whether this field is set.
|
|
2179
|
+
* @return {boolean}
|
|
2180
|
+
*/
|
|
2181
|
+
proto.browserstack.sdk.v1.AccessibilityConfigResponse.prototype.hasAccessibility = function() {
|
|
2182
|
+
return jspb.Message.getField(this, 3) != null;
|
|
2183
|
+
};
|
|
2184
|
+
|
|
2185
|
+
|
|
2186
|
+
goog.object.extend(exports, proto.browserstack.sdk.v1);
|