spot-sdk-js
Version:
Develop applications and payloads for Spot using the unofficial Boston Dynamics Spot Node.js SDK.
1,384 lines (1,302 loc) • 297 kB
JavaScript
// source: bosdyn/api/mission/nodes.proto
/**
* @fileoverview
* @enhanceable
* @suppress {missingRequire} reports error on implicit type usages.
* @suppress {messageConventions} JS Compiler reports an error if a variable or
* field starts with 'MSG_' and isn't a translatable message.
* @public
*/
// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck
var jspb = require('google-protobuf');
var goog = jspb;
var global = Function('return this')();
var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js');
goog.object.extend(proto, google_protobuf_any_pb);
var google_protobuf_duration_pb = require('google-protobuf/google/protobuf/duration_pb.js');
goog.object.extend(proto, google_protobuf_duration_pb);
var google_protobuf_wrappers_pb = require('google-protobuf/google/protobuf/wrappers_pb.js');
goog.object.extend(proto, google_protobuf_wrappers_pb);
var bosdyn_api_docking_docking_pb = require('../../../bosdyn/api/docking/docking_pb.js');
goog.object.extend(proto, bosdyn_api_docking_docking_pb);
var bosdyn_api_geometry_pb = require('../../../bosdyn/api/geometry_pb.js');
goog.object.extend(proto, bosdyn_api_geometry_pb);
var bosdyn_api_spot_cam_camera_pb = require('../../../bosdyn/api/spot_cam/camera_pb.js');
goog.object.extend(proto, bosdyn_api_spot_cam_camera_pb);
var bosdyn_api_spot_cam_logging_pb = require('../../../bosdyn/api/spot_cam/logging_pb.js');
goog.object.extend(proto, bosdyn_api_spot_cam_logging_pb);
var bosdyn_api_spot_cam_ptz_pb = require('../../../bosdyn/api/spot_cam/ptz_pb.js');
goog.object.extend(proto, bosdyn_api_spot_cam_ptz_pb);
var bosdyn_api_robot_command_pb = require('../../../bosdyn/api/robot_command_pb.js');
goog.object.extend(proto, bosdyn_api_robot_command_pb);
var bosdyn_api_power_pb = require('../../../bosdyn/api/power_pb.js');
goog.object.extend(proto, bosdyn_api_power_pb);
var bosdyn_api_data_acquisition_pb = require('../../../bosdyn/api/data_acquisition_pb.js');
goog.object.extend(proto, bosdyn_api_data_acquisition_pb);
var bosdyn_api_data_buffer_pb = require('../../../bosdyn/api/data_buffer_pb.js');
goog.object.extend(proto, bosdyn_api_data_buffer_pb);
var bosdyn_api_graph_nav_graph_nav_pb = require('../../../bosdyn/api/graph_nav/graph_nav_pb.js');
goog.object.extend(proto, bosdyn_api_graph_nav_graph_nav_pb);
var bosdyn_api_graph_nav_nav_pb = require('../../../bosdyn/api/graph_nav/nav_pb.js');
goog.object.extend(proto, bosdyn_api_graph_nav_nav_pb);
var bosdyn_api_mission_util_pb = require('../../../bosdyn/api/mission/util_pb.js');
goog.object.extend(proto, bosdyn_api_mission_util_pb);
goog.exportSymbol('proto.bosdyn.api.mission.BosdynDockState', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.BosdynGraphNavLocalize', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.BosdynGraphNavState', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.BosdynNavigateRoute', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.BosdynNavigateTo', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.BosdynPowerRequest', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.BosdynRecordEvent', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.BosdynRobotCommand', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.BosdynRobotState', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.Condition', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.Condition.Compare', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.Condition.HandleStaleness', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.Condition.Operand', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.Condition.Operand.TypeCase', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.ConstantResult', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.DataAcquisition', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.DataAcquisition.CompletionBehavior', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.DateToBlackboard', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.DefineBlackboard', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.Dock', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.ForDuration', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.FormatBlackboard', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.Node', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.Node.TypeCase', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.Prompt', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.Prompt.Option', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.RemoteGrpc', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.Repeat', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.RestartWhenPaused', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.RetainLease', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.Retry', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.Selector', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.Sequence', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.SetBlackboard', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.SimpleParallel', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.Sleep', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.SpotCamLed', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.SpotCamPtz', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.SpotCamPtz.AdjustParameters', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.SpotCamResetAutofocus', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.SpotCamStoreMedia', null, global);
goog.exportSymbol('proto.bosdyn.api.mission.StoreMetadata', null, global);
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.Node = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.bosdyn.api.mission.Node.repeatedFields_, proto.bosdyn.api.mission.Node.oneofGroups_);
};
goog.inherits(proto.bosdyn.api.mission.Node, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.Node.displayName = 'proto.bosdyn.api.mission.Node';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.Sequence = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.bosdyn.api.mission.Sequence.repeatedFields_, null);
};
goog.inherits(proto.bosdyn.api.mission.Sequence, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.Sequence.displayName = 'proto.bosdyn.api.mission.Sequence';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.Selector = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.bosdyn.api.mission.Selector.repeatedFields_, null);
};
goog.inherits(proto.bosdyn.api.mission.Selector, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.Selector.displayName = 'proto.bosdyn.api.mission.Selector';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.Repeat = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bosdyn.api.mission.Repeat, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.Repeat.displayName = 'proto.bosdyn.api.mission.Repeat';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.Retry = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bosdyn.api.mission.Retry, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.Retry.displayName = 'proto.bosdyn.api.mission.Retry';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.ForDuration = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bosdyn.api.mission.ForDuration, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.ForDuration.displayName = 'proto.bosdyn.api.mission.ForDuration';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.SimpleParallel = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bosdyn.api.mission.SimpleParallel, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.SimpleParallel.displayName = 'proto.bosdyn.api.mission.SimpleParallel';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.Condition = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bosdyn.api.mission.Condition, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.Condition.displayName = 'proto.bosdyn.api.mission.Condition';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.Condition.Operand = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.bosdyn.api.mission.Condition.Operand.oneofGroups_);
};
goog.inherits(proto.bosdyn.api.mission.Condition.Operand, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.Condition.Operand.displayName = 'proto.bosdyn.api.mission.Condition.Operand';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.BosdynRobotState = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bosdyn.api.mission.BosdynRobotState, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.BosdynRobotState.displayName = 'proto.bosdyn.api.mission.BosdynRobotState';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.BosdynDockState = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bosdyn.api.mission.BosdynDockState, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.BosdynDockState.displayName = 'proto.bosdyn.api.mission.BosdynDockState';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.BosdynRobotCommand = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bosdyn.api.mission.BosdynRobotCommand, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.BosdynRobotCommand.displayName = 'proto.bosdyn.api.mission.BosdynRobotCommand';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.BosdynPowerRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bosdyn.api.mission.BosdynPowerRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.BosdynPowerRequest.displayName = 'proto.bosdyn.api.mission.BosdynPowerRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.BosdynNavigateTo = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bosdyn.api.mission.BosdynNavigateTo, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.BosdynNavigateTo.displayName = 'proto.bosdyn.api.mission.BosdynNavigateTo';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.BosdynNavigateRoute = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bosdyn.api.mission.BosdynNavigateRoute, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.BosdynNavigateRoute.displayName = 'proto.bosdyn.api.mission.BosdynNavigateRoute';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.BosdynGraphNavState = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bosdyn.api.mission.BosdynGraphNavState, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.BosdynGraphNavState.displayName = 'proto.bosdyn.api.mission.BosdynGraphNavState';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.BosdynGraphNavLocalize = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bosdyn.api.mission.BosdynGraphNavLocalize, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.BosdynGraphNavLocalize.displayName = 'proto.bosdyn.api.mission.BosdynGraphNavLocalize';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.BosdynRecordEvent = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bosdyn.api.mission.BosdynRecordEvent, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.BosdynRecordEvent.displayName = 'proto.bosdyn.api.mission.BosdynRecordEvent';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.RemoteGrpc = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.bosdyn.api.mission.RemoteGrpc.repeatedFields_, null);
};
goog.inherits(proto.bosdyn.api.mission.RemoteGrpc, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.RemoteGrpc.displayName = 'proto.bosdyn.api.mission.RemoteGrpc';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.Sleep = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bosdyn.api.mission.Sleep, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.Sleep.displayName = 'proto.bosdyn.api.mission.Sleep';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.Prompt = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.bosdyn.api.mission.Prompt.repeatedFields_, null);
};
goog.inherits(proto.bosdyn.api.mission.Prompt, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.Prompt.displayName = 'proto.bosdyn.api.mission.Prompt';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.Prompt.Option = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bosdyn.api.mission.Prompt.Option, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.Prompt.Option.displayName = 'proto.bosdyn.api.mission.Prompt.Option';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.SpotCamPtz = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bosdyn.api.mission.SpotCamPtz, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.SpotCamPtz.displayName = 'proto.bosdyn.api.mission.SpotCamPtz';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.SpotCamPtz.AdjustParameters = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bosdyn.api.mission.SpotCamPtz.AdjustParameters, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.SpotCamPtz.AdjustParameters.displayName = 'proto.bosdyn.api.mission.SpotCamPtz.AdjustParameters';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.SpotCamStoreMedia = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bosdyn.api.mission.SpotCamStoreMedia, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.SpotCamStoreMedia.displayName = 'proto.bosdyn.api.mission.SpotCamStoreMedia';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.SpotCamLed = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bosdyn.api.mission.SpotCamLed, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.SpotCamLed.displayName = 'proto.bosdyn.api.mission.SpotCamLed';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.SpotCamResetAutofocus = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bosdyn.api.mission.SpotCamResetAutofocus, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.SpotCamResetAutofocus.displayName = 'proto.bosdyn.api.mission.SpotCamResetAutofocus';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.Dock = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bosdyn.api.mission.Dock, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.Dock.displayName = 'proto.bosdyn.api.mission.Dock';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.StoreMetadata = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bosdyn.api.mission.StoreMetadata, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.StoreMetadata.displayName = 'proto.bosdyn.api.mission.StoreMetadata';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.DataAcquisition = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bosdyn.api.mission.DataAcquisition, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.DataAcquisition.displayName = 'proto.bosdyn.api.mission.DataAcquisition';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.RetainLease = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bosdyn.api.mission.RetainLease, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.RetainLease.displayName = 'proto.bosdyn.api.mission.RetainLease';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.DefineBlackboard = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.bosdyn.api.mission.DefineBlackboard.repeatedFields_, null);
};
goog.inherits(proto.bosdyn.api.mission.DefineBlackboard, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.DefineBlackboard.displayName = 'proto.bosdyn.api.mission.DefineBlackboard';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.SetBlackboard = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.bosdyn.api.mission.SetBlackboard.repeatedFields_, null);
};
goog.inherits(proto.bosdyn.api.mission.SetBlackboard, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.SetBlackboard.displayName = 'proto.bosdyn.api.mission.SetBlackboard';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.FormatBlackboard = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bosdyn.api.mission.FormatBlackboard, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.FormatBlackboard.displayName = 'proto.bosdyn.api.mission.FormatBlackboard';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.DateToBlackboard = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bosdyn.api.mission.DateToBlackboard, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.DateToBlackboard.displayName = 'proto.bosdyn.api.mission.DateToBlackboard';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.ConstantResult = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bosdyn.api.mission.ConstantResult, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.ConstantResult.displayName = 'proto.bosdyn.api.mission.ConstantResult';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bosdyn.api.mission.RestartWhenPaused = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bosdyn.api.mission.RestartWhenPaused, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bosdyn.api.mission.RestartWhenPaused.displayName = 'proto.bosdyn.api.mission.RestartWhenPaused';
}
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.bosdyn.api.mission.Node.repeatedFields_ = [6,7,8];
/**
* Oneof group definitions for this message. Each group defines the field
* numbers belonging to that group. When of these fields' value is set, all
* other fields in the group are cleared. During deserialization, if multiple
* fields are encountered for a group, only the last value seen will be kept.
* @private {!Array<!Array<number>>}
* @const
*/
proto.bosdyn.api.mission.Node.oneofGroups_ = [[4,5]];
/**
* @enum {number}
*/
proto.bosdyn.api.mission.Node.TypeCase = {
TYPE_NOT_SET: 0,
IMPL: 4,
NODE_REFERENCE: 5
};
/**
* @return {proto.bosdyn.api.mission.Node.TypeCase}
*/
proto.bosdyn.api.mission.Node.prototype.getTypeCase = function() {
return /** @type {proto.bosdyn.api.mission.Node.TypeCase} */(jspb.Message.computeOneofCase(this, proto.bosdyn.api.mission.Node.oneofGroups_[0]));
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bosdyn.api.mission.Node.prototype.toObject = function(opt_includeInstance) {
return proto.bosdyn.api.mission.Node.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bosdyn.api.mission.Node} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bosdyn.api.mission.Node.toObject = function(includeInstance, msg) {
var f, obj = {
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
userData: (f = msg.getUserData()) && bosdyn_api_mission_util_pb.UserData.toObject(includeInstance, f),
referenceId: jspb.Message.getFieldWithDefault(msg, 3, ""),
impl: (f = msg.getImpl()) && google_protobuf_any_pb.Any.toObject(includeInstance, f),
nodeReference: jspb.Message.getFieldWithDefault(msg, 5, ""),
parameterValuesList: jspb.Message.toObjectList(msg.getParameterValuesList(),
bosdyn_api_mission_util_pb.KeyValue.toObject, includeInstance),
overridesList: jspb.Message.toObjectList(msg.getOverridesList(),
bosdyn_api_mission_util_pb.KeyValue.toObject, includeInstance),
parametersList: jspb.Message.toObjectList(msg.getParametersList(),
bosdyn_api_mission_util_pb.VariableDeclaration.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bosdyn.api.mission.Node}
*/
proto.bosdyn.api.mission.Node.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.bosdyn.api.mission.Node;
return proto.bosdyn.api.mission.Node.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.bosdyn.api.mission.Node} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.bosdyn.api.mission.Node}
*/
proto.bosdyn.api.mission.Node.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setName(value);
break;
case 2:
var value = new bosdyn_api_mission_util_pb.UserData;
reader.readMessage(value,bosdyn_api_mission_util_pb.UserData.deserializeBinaryFromReader);
msg.setUserData(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setReferenceId(value);
break;
case 4:
var value = new google_protobuf_any_pb.Any;
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
msg.setImpl(value);
break;
case 5:
var value = /** @type {string} */ (reader.readString());
msg.setNodeReference(value);
break;
case 6:
var value = new bosdyn_api_mission_util_pb.KeyValue;
reader.readMessage(value,bosdyn_api_mission_util_pb.KeyValue.deserializeBinaryFromReader);
msg.addParameterValues(value);
break;
case 7:
var value = new bosdyn_api_mission_util_pb.KeyValue;
reader.readMessage(value,bosdyn_api_mission_util_pb.KeyValue.deserializeBinaryFromReader);
msg.addOverrides(value);
break;
case 8:
var value = new bosdyn_api_mission_util_pb.VariableDeclaration;
reader.readMessage(value,bosdyn_api_mission_util_pb.VariableDeclaration.deserializeBinaryFromReader);
msg.addParameters(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.bosdyn.api.mission.Node.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.bosdyn.api.mission.Node.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.bosdyn.api.mission.Node} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bosdyn.api.mission.Node.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getName();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getUserData();
if (f != null) {
writer.writeMessage(
2,
f,
bosdyn_api_mission_util_pb.UserData.serializeBinaryToWriter
);
}
f = message.getReferenceId();
if (f.length > 0) {
writer.writeString(
3,
f
);
}
f = message.getImpl();
if (f != null) {
writer.writeMessage(
4,
f,
google_protobuf_any_pb.Any.serializeBinaryToWriter
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 5));
if (f != null) {
writer.writeString(
5,
f
);
}
f = message.getParameterValuesList();
if (f.length > 0) {
writer.writeRepeatedMessage(
6,
f,
bosdyn_api_mission_util_pb.KeyValue.serializeBinaryToWriter
);
}
f = message.getOverridesList();
if (f.length > 0) {
writer.writeRepeatedMessage(
7,
f,
bosdyn_api_mission_util_pb.KeyValue.serializeBinaryToWriter
);
}
f = message.getParametersList();
if (f.length > 0) {
writer.writeRepeatedMessage(
8,
f,
bosdyn_api_mission_util_pb.VariableDeclaration.serializeBinaryToWriter
);
}
};
/**
* optional string name = 1;
* @return {string}
*/
proto.bosdyn.api.mission.Node.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.bosdyn.api.mission.Node} returns this
*/
proto.bosdyn.api.mission.Node.prototype.setName = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional UserData user_data = 2;
* @return {?proto.bosdyn.api.mission.UserData}
*/
proto.bosdyn.api.mission.Node.prototype.getUserData = function() {
return /** @type{?proto.bosdyn.api.mission.UserData} */ (
jspb.Message.getWrapperField(this, bosdyn_api_mission_util_pb.UserData, 2));
};
/**
* @param {?proto.bosdyn.api.mission.UserData|undefined} value
* @return {!proto.bosdyn.api.mission.Node} returns this
*/
proto.bosdyn.api.mission.Node.prototype.setUserData = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.bosdyn.api.mission.Node} returns this
*/
proto.bosdyn.api.mission.Node.prototype.clearUserData = function() {
return this.setUserData(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bosdyn.api.mission.Node.prototype.hasUserData = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional string reference_id = 3;
* @return {string}
*/
proto.bosdyn.api.mission.Node.prototype.getReferenceId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.bosdyn.api.mission.Node} returns this
*/
proto.bosdyn.api.mission.Node.prototype.setReferenceId = function(value) {
return jspb.Message.setProto3StringField(this, 3, value);
};
/**
* optional google.protobuf.Any impl = 4;
* @return {?proto.google.protobuf.Any}
*/
proto.bosdyn.api.mission.Node.prototype.getImpl = function() {
return /** @type{?proto.google.protobuf.Any} */ (
jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 4));
};
/**
* @param {?proto.google.protobuf.Any|undefined} value
* @return {!proto.bosdyn.api.mission.Node} returns this
*/
proto.bosdyn.api.mission.Node.prototype.setImpl = function(value) {
return jspb.Message.setOneofWrapperField(this, 4, proto.bosdyn.api.mission.Node.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.bosdyn.api.mission.Node} returns this
*/
proto.bosdyn.api.mission.Node.prototype.clearImpl = function() {
return this.setImpl(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bosdyn.api.mission.Node.prototype.hasImpl = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* optional string node_reference = 5;
* @return {string}
*/
proto.bosdyn.api.mission.Node.prototype.getNodeReference = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};
/**
* @param {string} value
* @return {!proto.bosdyn.api.mission.Node} returns this
*/
proto.bosdyn.api.mission.Node.prototype.setNodeReference = function(value) {
return jspb.Message.setOneofField(this, 5, proto.bosdyn.api.mission.Node.oneofGroups_[0], value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bosdyn.api.mission.Node} returns this
*/
proto.bosdyn.api.mission.Node.prototype.clearNodeReference = function() {
return jspb.Message.setOneofField(this, 5, proto.bosdyn.api.mission.Node.oneofGroups_[0], undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bosdyn.api.mission.Node.prototype.hasNodeReference = function() {
return jspb.Message.getField(this, 5) != null;
};
/**
* repeated KeyValue parameter_values = 6;
* @return {!Array<!proto.bosdyn.api.mission.KeyValue>}
*/
proto.bosdyn.api.mission.Node.prototype.getParameterValuesList = function() {
return /** @type{!Array<!proto.bosdyn.api.mission.KeyValue>} */ (
jspb.Message.getRepeatedWrapperField(this, bosdyn_api_mission_util_pb.KeyValue, 6));
};
/**
* @param {!Array<!proto.bosdyn.api.mission.KeyValue>} value
* @return {!proto.bosdyn.api.mission.Node} returns this
*/
proto.bosdyn.api.mission.Node.prototype.setParameterValuesList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 6, value);
};
/**
* @param {!proto.bosdyn.api.mission.KeyValue=} opt_value
* @param {number=} opt_index
* @return {!proto.bosdyn.api.mission.KeyValue}
*/
proto.bosdyn.api.mission.Node.prototype.addParameterValues = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.bosdyn.api.mission.KeyValue, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.bosdyn.api.mission.Node} returns this
*/
proto.bosdyn.api.mission.Node.prototype.clearParameterValuesList = function() {
return this.setParameterValuesList([]);
};
/**
* repeated KeyValue overrides = 7;
* @return {!Array<!proto.bosdyn.api.mission.KeyValue>}
*/
proto.bosdyn.api.mission.Node.prototype.getOverridesList = function() {
return /** @type{!Array<!proto.bosdyn.api.mission.KeyValue>} */ (
jspb.Message.getRepeatedWrapperField(this, bosdyn_api_mission_util_pb.KeyValue, 7));
};
/**
* @param {!Array<!proto.bosdyn.api.mission.KeyValue>} value
* @return {!proto.bosdyn.api.mission.Node} returns this
*/
proto.bosdyn.api.mission.Node.prototype.setOverridesList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 7, value);
};
/**
* @param {!proto.bosdyn.api.mission.KeyValue=} opt_value
* @param {number=} opt_index
* @return {!proto.bosdyn.api.mission.KeyValue}
*/
proto.bosdyn.api.mission.Node.prototype.addOverrides = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.bosdyn.api.mission.KeyValue, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.bosdyn.api.mission.Node} returns this
*/
proto.bosdyn.api.mission.Node.prototype.clearOverridesList = function() {
return this.setOverridesList([]);
};
/**
* repeated VariableDeclaration parameters = 8;
* @return {!Array<!proto.bosdyn.api.mission.VariableDeclaration>}
*/
proto.bosdyn.api.mission.Node.prototype.getParametersList = function() {
return /** @type{!Array<!proto.bosdyn.api.mission.VariableDeclaration>} */ (
jspb.Message.getRepeatedWrapperField(this, bosdyn_api_mission_util_pb.VariableDeclaration, 8));
};
/**
* @param {!Array<!proto.bosdyn.api.mission.VariableDeclaration>} value
* @return {!proto.bosdyn.api.mission.Node} returns this
*/
proto.bosdyn.api.mission.Node.prototype.setParametersList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 8, value);
};
/**
* @param {!proto.bosdyn.api.mission.VariableDeclaration=} opt_value
* @param {number=} opt_index
* @return {!proto.bosdyn.api.mission.VariableDeclaration}
*/
proto.bosdyn.api.mission.Node.prototype.addParameters = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.bosdyn.api.mission.VariableDeclaration, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.bosdyn.api.mission.Node} returns this
*/
proto.bosdyn.api.mission.Node.prototype.clearParametersList = function() {
return this.setParametersList([]);
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.bosdyn.api.mission.Sequence.repeatedFields_ = [2];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>,