UNPKG

spot-sdk-js

Version:

Develop applications and payloads for Spot using the unofficial Boston Dynamics Spot Node.js SDK.

1,425 lines (1,295 loc) 194 kB
// source: bosdyn/api/data_buffer.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 bosdyn_api_header_pb = require('../../bosdyn/api/header_pb.js'); goog.object.extend(proto, bosdyn_api_header_pb); var bosdyn_api_parameter_pb = require('../../bosdyn/api/parameter_pb.js'); goog.object.extend(proto, bosdyn_api_parameter_pb); var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js'); goog.object.extend(proto, google_protobuf_timestamp_pb); goog.exportSymbol('proto.bosdyn.api.DataBlob', null, global); goog.exportSymbol('proto.bosdyn.api.Event', null, global); goog.exportSymbol('proto.bosdyn.api.Event.Level', null, global); goog.exportSymbol('proto.bosdyn.api.Event.LogPreserveHint', null, global); goog.exportSymbol('proto.bosdyn.api.OperatorComment', null, global); goog.exportSymbol('proto.bosdyn.api.RecordDataBlobsRequest', null, global); goog.exportSymbol('proto.bosdyn.api.RecordDataBlobsResponse', null, global); goog.exportSymbol('proto.bosdyn.api.RecordDataBlobsResponse.Error', null, global); goog.exportSymbol('proto.bosdyn.api.RecordDataBlobsResponse.Error.Type', null, global); goog.exportSymbol('proto.bosdyn.api.RecordEventsRequest', null, global); goog.exportSymbol('proto.bosdyn.api.RecordEventsResponse', null, global); goog.exportSymbol('proto.bosdyn.api.RecordEventsResponse.Error', null, global); goog.exportSymbol('proto.bosdyn.api.RecordEventsResponse.Error.Type', null, global); goog.exportSymbol('proto.bosdyn.api.RecordOperatorCommentsRequest', null, global); goog.exportSymbol('proto.bosdyn.api.RecordOperatorCommentsResponse', null, global); goog.exportSymbol('proto.bosdyn.api.RecordOperatorCommentsResponse.Error', null, global); goog.exportSymbol('proto.bosdyn.api.RecordOperatorCommentsResponse.Error.Type', null, global); goog.exportSymbol('proto.bosdyn.api.RecordSignalTicksRequest', null, global); goog.exportSymbol('proto.bosdyn.api.RecordSignalTicksResponse', null, global); goog.exportSymbol('proto.bosdyn.api.RecordSignalTicksResponse.Error', null, global); goog.exportSymbol('proto.bosdyn.api.RecordSignalTicksResponse.Error.Type', null, global); goog.exportSymbol('proto.bosdyn.api.RecordTextMessagesRequest', null, global); goog.exportSymbol('proto.bosdyn.api.RecordTextMessagesResponse', null, global); goog.exportSymbol('proto.bosdyn.api.RecordTextMessagesResponse.Error', null, global); goog.exportSymbol('proto.bosdyn.api.RecordTextMessagesResponse.Error.Type', null, global); goog.exportSymbol('proto.bosdyn.api.RegisterSignalSchemaRequest', null, global); goog.exportSymbol('proto.bosdyn.api.RegisterSignalSchemaResponse', null, global); goog.exportSymbol('proto.bosdyn.api.SignalSchema', null, global); goog.exportSymbol('proto.bosdyn.api.SignalSchema.Variable', null, global); goog.exportSymbol('proto.bosdyn.api.SignalSchema.Variable.Type', null, global); goog.exportSymbol('proto.bosdyn.api.SignalSchemaId', null, global); goog.exportSymbol('proto.bosdyn.api.SignalTick', null, global); goog.exportSymbol('proto.bosdyn.api.SignalTick.Encoding', null, global); goog.exportSymbol('proto.bosdyn.api.TextMessage', null, global); goog.exportSymbol('proto.bosdyn.api.TextMessage.Level', 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.RecordTextMessagesRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.bosdyn.api.RecordTextMessagesRequest.repeatedFields_, null); }; goog.inherits(proto.bosdyn.api.RecordTextMessagesRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.RecordTextMessagesRequest.displayName = 'proto.bosdyn.api.RecordTextMessagesRequest'; } /** * 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.RecordOperatorCommentsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.bosdyn.api.RecordOperatorCommentsRequest.repeatedFields_, null); }; goog.inherits(proto.bosdyn.api.RecordOperatorCommentsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.RecordOperatorCommentsRequest.displayName = 'proto.bosdyn.api.RecordOperatorCommentsRequest'; } /** * 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.RecordDataBlobsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.bosdyn.api.RecordDataBlobsRequest.repeatedFields_, null); }; goog.inherits(proto.bosdyn.api.RecordDataBlobsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.RecordDataBlobsRequest.displayName = 'proto.bosdyn.api.RecordDataBlobsRequest'; } /** * 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.RecordSignalTicksRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.bosdyn.api.RecordSignalTicksRequest.repeatedFields_, null); }; goog.inherits(proto.bosdyn.api.RecordSignalTicksRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.RecordSignalTicksRequest.displayName = 'proto.bosdyn.api.RecordSignalTicksRequest'; } /** * 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.RecordEventsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.bosdyn.api.RecordEventsRequest.repeatedFields_, null); }; goog.inherits(proto.bosdyn.api.RecordEventsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.RecordEventsRequest.displayName = 'proto.bosdyn.api.RecordEventsRequest'; } /** * 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.TextMessage = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bosdyn.api.TextMessage, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.TextMessage.displayName = 'proto.bosdyn.api.TextMessage'; } /** * 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.OperatorComment = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bosdyn.api.OperatorComment, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.OperatorComment.displayName = 'proto.bosdyn.api.OperatorComment'; } /** * 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.DataBlob = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bosdyn.api.DataBlob, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.DataBlob.displayName = 'proto.bosdyn.api.DataBlob'; } /** * 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.SignalSchema = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.bosdyn.api.SignalSchema.repeatedFields_, null); }; goog.inherits(proto.bosdyn.api.SignalSchema, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.SignalSchema.displayName = 'proto.bosdyn.api.SignalSchema'; } /** * 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.SignalSchema.Variable = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bosdyn.api.SignalSchema.Variable, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.SignalSchema.Variable.displayName = 'proto.bosdyn.api.SignalSchema.Variable'; } /** * 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.SignalSchemaId = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bosdyn.api.SignalSchemaId, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.SignalSchemaId.displayName = 'proto.bosdyn.api.SignalSchemaId'; } /** * 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.SignalTick = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bosdyn.api.SignalTick, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.SignalTick.displayName = 'proto.bosdyn.api.SignalTick'; } /** * 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.Event = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.bosdyn.api.Event.repeatedFields_, null); }; goog.inherits(proto.bosdyn.api.Event, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.Event.displayName = 'proto.bosdyn.api.Event'; } /** * 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.RecordTextMessagesResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.bosdyn.api.RecordTextMessagesResponse.repeatedFields_, null); }; goog.inherits(proto.bosdyn.api.RecordTextMessagesResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.RecordTextMessagesResponse.displayName = 'proto.bosdyn.api.RecordTextMessagesResponse'; } /** * 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.RecordTextMessagesResponse.Error = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bosdyn.api.RecordTextMessagesResponse.Error, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.RecordTextMessagesResponse.Error.displayName = 'proto.bosdyn.api.RecordTextMessagesResponse.Error'; } /** * 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.RecordOperatorCommentsResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.bosdyn.api.RecordOperatorCommentsResponse.repeatedFields_, null); }; goog.inherits(proto.bosdyn.api.RecordOperatorCommentsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.RecordOperatorCommentsResponse.displayName = 'proto.bosdyn.api.RecordOperatorCommentsResponse'; } /** * 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.RecordOperatorCommentsResponse.Error = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bosdyn.api.RecordOperatorCommentsResponse.Error, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.RecordOperatorCommentsResponse.Error.displayName = 'proto.bosdyn.api.RecordOperatorCommentsResponse.Error'; } /** * 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.RecordDataBlobsResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.bosdyn.api.RecordDataBlobsResponse.repeatedFields_, null); }; goog.inherits(proto.bosdyn.api.RecordDataBlobsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.RecordDataBlobsResponse.displayName = 'proto.bosdyn.api.RecordDataBlobsResponse'; } /** * 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.RecordDataBlobsResponse.Error = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bosdyn.api.RecordDataBlobsResponse.Error, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.RecordDataBlobsResponse.Error.displayName = 'proto.bosdyn.api.RecordDataBlobsResponse.Error'; } /** * 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.RecordSignalTicksResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.bosdyn.api.RecordSignalTicksResponse.repeatedFields_, null); }; goog.inherits(proto.bosdyn.api.RecordSignalTicksResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.RecordSignalTicksResponse.displayName = 'proto.bosdyn.api.RecordSignalTicksResponse'; } /** * 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.RecordSignalTicksResponse.Error = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bosdyn.api.RecordSignalTicksResponse.Error, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.RecordSignalTicksResponse.Error.displayName = 'proto.bosdyn.api.RecordSignalTicksResponse.Error'; } /** * 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.RecordEventsResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.bosdyn.api.RecordEventsResponse.repeatedFields_, null); }; goog.inherits(proto.bosdyn.api.RecordEventsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.RecordEventsResponse.displayName = 'proto.bosdyn.api.RecordEventsResponse'; } /** * 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.RecordEventsResponse.Error = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bosdyn.api.RecordEventsResponse.Error, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.RecordEventsResponse.Error.displayName = 'proto.bosdyn.api.RecordEventsResponse.Error'; } /** * 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.RegisterSignalSchemaRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bosdyn.api.RegisterSignalSchemaRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.RegisterSignalSchemaRequest.displayName = 'proto.bosdyn.api.RegisterSignalSchemaRequest'; } /** * 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.RegisterSignalSchemaResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bosdyn.api.RegisterSignalSchemaResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.RegisterSignalSchemaResponse.displayName = 'proto.bosdyn.api.RegisterSignalSchemaResponse'; } /** * List of repeated fields within this message type. * @private {!Array<number>} * @const */ proto.bosdyn.api.RecordTextMessagesRequest.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>, 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.RecordTextMessagesRequest.prototype.toObject = function(opt_includeInstance) { return proto.bosdyn.api.RecordTextMessagesRequest.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.RecordTextMessagesRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bosdyn.api.RecordTextMessagesRequest.toObject = function(includeInstance, msg) { var f, obj = { header: (f = msg.getHeader()) && bosdyn_api_header_pb.RequestHeader.toObject(includeInstance, f), textMessagesList: jspb.Message.toObjectList(msg.getTextMessagesList(), proto.bosdyn.api.TextMessage.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.RecordTextMessagesRequest} */ proto.bosdyn.api.RecordTextMessagesRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.bosdyn.api.RecordTextMessagesRequest; return proto.bosdyn.api.RecordTextMessagesRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.bosdyn.api.RecordTextMessagesRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bosdyn.api.RecordTextMessagesRequest} */ proto.bosdyn.api.RecordTextMessagesRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new bosdyn_api_header_pb.RequestHeader; reader.readMessage(value,bosdyn_api_header_pb.RequestHeader.deserializeBinaryFromReader); msg.setHeader(value); break; case 2: var value = new proto.bosdyn.api.TextMessage; reader.readMessage(value,proto.bosdyn.api.TextMessage.deserializeBinaryFromReader); msg.addTextMessages(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.bosdyn.api.RecordTextMessagesRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.bosdyn.api.RecordTextMessagesRequest.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.RecordTextMessagesRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bosdyn.api.RecordTextMessagesRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getHeader(); if (f != null) { writer.writeMessage( 1, f, bosdyn_api_header_pb.RequestHeader.serializeBinaryToWriter ); } f = message.getTextMessagesList(); if (f.length > 0) { writer.writeRepeatedMessage( 2, f, proto.bosdyn.api.TextMessage.serializeBinaryToWriter ); } }; /** * optional RequestHeader header = 1; * @return {?proto.bosdyn.api.RequestHeader} */ proto.bosdyn.api.RecordTextMessagesRequest.prototype.getHeader = function() { return /** @type{?proto.bosdyn.api.RequestHeader} */ ( jspb.Message.getWrapperField(this, bosdyn_api_header_pb.RequestHeader, 1)); }; /** * @param {?proto.bosdyn.api.RequestHeader|undefined} value * @return {!proto.bosdyn.api.RecordTextMessagesRequest} returns this */ proto.bosdyn.api.RecordTextMessagesRequest.prototype.setHeader = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.bosdyn.api.RecordTextMessagesRequest} returns this */ proto.bosdyn.api.RecordTextMessagesRequest.prototype.clearHeader = function() { return this.setHeader(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bosdyn.api.RecordTextMessagesRequest.prototype.hasHeader = function() { return jspb.Message.getField(this, 1) != null; }; /** * repeated TextMessage text_messages = 2; * @return {!Array<!proto.bosdyn.api.TextMessage>} */ proto.bosdyn.api.RecordTextMessagesRequest.prototype.getTextMessagesList = function() { return /** @type{!Array<!proto.bosdyn.api.TextMessage>} */ ( jspb.Message.getRepeatedWrapperField(this, proto.bosdyn.api.TextMessage, 2)); }; /** * @param {!Array<!proto.bosdyn.api.TextMessage>} value * @return {!proto.bosdyn.api.RecordTextMessagesRequest} returns this */ proto.bosdyn.api.RecordTextMessagesRequest.prototype.setTextMessagesList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** * @param {!proto.bosdyn.api.TextMessage=} opt_value * @param {number=} opt_index * @return {!proto.bosdyn.api.TextMessage} */ proto.bosdyn.api.RecordTextMessagesRequest.prototype.addTextMessages = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.bosdyn.api.TextMessage, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.bosdyn.api.RecordTextMessagesRequest} returns this */ proto.bosdyn.api.RecordTextMessagesRequest.prototype.clearTextMessagesList = function() { return this.setTextMessagesList([]); }; /** * List of repeated fields within this message type. * @private {!Array<number>} * @const */ proto.bosdyn.api.RecordOperatorCommentsRequest.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>, 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.RecordOperatorCommentsRequest.prototype.toObject = function(opt_includeInstance) { return proto.bosdyn.api.RecordOperatorCommentsRequest.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.RecordOperatorCommentsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bosdyn.api.RecordOperatorCommentsRequest.toObject = function(includeInstance, msg) { var f, obj = { header: (f = msg.getHeader()) && bosdyn_api_header_pb.RequestHeader.toObject(includeInstance, f), operatorCommentsList: jspb.Message.toObjectList(msg.getOperatorCommentsList(), proto.bosdyn.api.OperatorComment.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.RecordOperatorCommentsRequest} */ proto.bosdyn.api.RecordOperatorCommentsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.bosdyn.api.RecordOperatorCommentsRequest; return proto.bosdyn.api.RecordOperatorCommentsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.bosdyn.api.RecordOperatorCommentsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bosdyn.api.RecordOperatorCommentsRequest} */ proto.bosdyn.api.RecordOperatorCommentsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new bosdyn_api_header_pb.RequestHeader; reader.readMessage(value,bosdyn_api_header_pb.RequestHeader.deserializeBinaryFromReader); msg.setHeader(value); break; case 2: var value = new proto.bosdyn.api.OperatorComment; reader.readMessage(value,proto.bosdyn.api.OperatorComment.deserializeBinaryFromReader); msg.addOperatorComments(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.bosdyn.api.RecordOperatorCommentsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.bosdyn.api.RecordOperatorCommentsRequest.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.RecordOperatorCommentsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bosdyn.api.RecordOperatorCommentsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getHeader(); if (f != null) { writer.writeMessage( 1, f, bosdyn_api_header_pb.RequestHeader.serializeBinaryToWriter ); } f = message.getOperatorCommentsList(); if (f.length > 0) { writer.writeRepeatedMessage( 2, f, proto.bosdyn.api.OperatorComment.serializeBinaryToWriter ); } }; /** * optional RequestHeader header = 1; * @return {?proto.bosdyn.api.RequestHeader} */ proto.bosdyn.api.RecordOperatorCommentsRequest.prototype.getHeader = function() { return /** @type{?proto.bosdyn.api.RequestHeader} */ ( jspb.Message.getWrapperField(this, bosdyn_api_header_pb.RequestHeader, 1)); }; /** * @param {?proto.bosdyn.api.RequestHeader|undefined} value * @return {!proto.bosdyn.api.RecordOperatorCommentsRequest} returns this */ proto.bosdyn.api.RecordOperatorCommentsRequest.prototype.setHeader = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.bosdyn.api.RecordOperatorCommentsRequest} returns this */ proto.bosdyn.api.RecordOperatorCommentsRequest.prototype.clearHeader = function() { return this.setHeader(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bosdyn.api.RecordOperatorCommentsRequest.prototype.hasHeader = function() { return jspb.Message.getField(this, 1) != null; }; /** * repeated OperatorComment operator_comments = 2; * @return {!Array<!proto.bosdyn.api.OperatorComment>} */ proto.bosdyn.api.RecordOperatorCommentsRequest.prototype.getOperatorCommentsList = function() { return /** @type{!Array<!proto.bosdyn.api.OperatorComment>} */ ( jspb.Message.getRepeatedWrapperField(this, proto.bosdyn.api.OperatorComment, 2)); }; /** * @param {!Array<!proto.bosdyn.api.OperatorComment>} value * @return {!proto.bosdyn.api.RecordOperatorCommentsRequest} returns this */ proto.bosdyn.api.RecordOperatorCommentsRequest.prototype.setOperatorCommentsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** * @param {!proto.bosdyn.api.OperatorComment=} opt_value * @param {number=} opt_index * @return {!proto.bosdyn.api.OperatorComment} */ proto.bosdyn.api.RecordOperatorCommentsRequest.prototype.addOperatorComments = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.bosdyn.api.OperatorComment, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.bosdyn.api.RecordOperatorCommentsRequest} returns this */ proto.bosdyn.api.RecordOperatorCommentsRequest.prototype.clearOperatorCommentsList = function() { return this.setOperatorCommentsList([]); }; /** * List of repeated fields within this message type. * @private {!Array<number>} * @const */ proto.bosdyn.api.RecordDataBlobsRequest.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>, 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.RecordDataBlobsRequest.prototype.toObject = function(opt_includeInstance) { return proto.bosdyn.api.RecordDataBlobsRequest.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.RecordDataBlobsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bosdyn.api.RecordDataBlobsRequest.toObject = function(includeInstance, msg) { var f, obj = { header: (f = msg.getHeader()) && bosdyn_api_header_pb.RequestHeader.toObject(includeInstance, f), blobDataList: jspb.Message.toObjectList(msg.getBlobDataList(), proto.bosdyn.api.DataBlob.toObject, includeInstance), sync: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; 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.RecordDataBlobsRequest} */ proto.bosdyn.api.RecordDataBlobsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.bosdyn.api.RecordDataBlobsRequest; return proto.bosdyn.api.RecordDataBlobsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.bosdyn.api.RecordDataBlobsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bosdyn.api.RecordDataBlobsRequest} */ proto.bosdyn.api.RecordDataBlobsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new bosdyn_api_header_pb.RequestHeader; reader.readMessage(value,bosdyn_api_header_pb.RequestHeader.deserializeBinaryFromReader); msg.setHeader(value); break; case 2: var value = new proto.bosdyn.api.DataBlob; reader.readMessage(value,proto.bosdyn.api.DataBlob.deserializeBinaryFromReader); msg.addBlobData(value); break; case 3: var value = /** @type {boolean} */ (reader.readBool()); msg.setSync(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.bosdyn.api.RecordDataBlobsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.bosdyn.api.RecordDataBlobsRequest.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.RecordDataBlobsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bosdyn.api.RecordDataBlobsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getHeader(); if (f != null) { writer.writeMessage( 1, f, bosdyn_api_header_pb.RequestHeader.serializeBinaryToWriter ); } f = message.getBlobDataList(); if (f.length > 0) { writer.writeRepeatedMessage( 2, f, proto.bosdyn.api.DataBlob.serializeBinaryToWriter ); } f = message.getSync(); if (f) { writer.writeBool( 3, f ); } }; /** * optional RequestHeader header = 1; * @return {?proto.bosdyn.api.RequestHeader} */ proto.bosdyn.api.RecordDataBlobsRequest.prototype.getHeader = function() { return /** @type{?proto.bosdyn.api.RequestHeader} */ ( jspb.Message.getWrapperField(this, bosdyn_api_header_pb.RequestHeader, 1)); }; /** * @param {?proto.bosdyn.api.RequestHeader|undefined} value * @return {!proto.bosdyn.api.RecordDataBlobsRequest} returns this */ proto.bosdyn.api.RecordDataBlobsRequest.prototype.setHeader = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.bosdyn.api.RecordDataBlobsRequest} returns this */ proto.bosdyn.api.RecordDataBlobsRequest.prototype.clearHeader = function() { return this.setHeader(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bosdyn.api.RecordDataBlobsRequest.prototype.hasHeader = function() { return jspb.Message.getField(this, 1) != null; }; /** * repeated DataBlob blob_data = 2; * @return {!Array<!proto.bosdyn.api.DataBlob>} */ proto.bosdyn.api.RecordDataBlobsRequest.prototype.getBlobDataList = function() { return /** @type{!Array<!proto.bosdyn.api.DataBlob>} */ ( jspb.Message.getRepeatedWrapperField(this, proto.bosdyn.api.DataBlob, 2)); }; /** * @param {!Array<!proto.bosdyn.api.DataBlob>} value * @return {!proto.bosdyn.api.RecordDataBlobsRequest} returns this */ proto.bosdyn.api.RecordDataBlobsRequest.prototype.setBlobDataList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** * @param {!proto.bosdyn.api.DataBlob=} opt_value * @param {number=} opt_index * @return {!proto.bosdyn.api.DataBlob} */ proto.bosdyn.api.RecordDataBlobsRequest.prototype.addBlobData = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.bosdyn.api.DataBlob, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.bosdyn.api.RecordDataBlobsRequest} returns this */ proto.bosdyn.api.RecordDataBlobsRequest.prototype.clearBlobDataList = function() { return this.setBlobDataList([]); }; /** * optional bool sync = 3; * @return {boolean} */ proto.bosdyn.api.RecordDataBlobsRequest.prototype.getSync = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value * @return {!proto.bosdyn.api.RecordDataBlobsRequest} returns this */ proto.bosdyn.api.RecordDataBlobsRequest.prototype.setSync = function(value) { return jspb.Message.setProto3BooleanField(this, 3, value); }; /** * List of repeated fields within this message type. * @private {!Array<number>} * @const */ proto.bosdyn.api.RecordSignalTicksRequest.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>, 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.RecordSignalTicksRequest.prototype.toObject = function(opt_includeInstance) { return proto.bosdyn.api.RecordSignalTicksRequest.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.RecordSignalTicksRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bosdyn.api.RecordSignalTicksRequest.toObject = function(includeInstance, msg) { var f, obj = { header: (f = msg.getHeader()) && bosdyn_api_header_pb.RequestHeader.toObject(includeInstance, f), tickDataList: jspb.Message.toObjectList(msg.getTickDataList(), proto.bosdyn.api.SignalTick.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.RecordSignalTicksRequest} */ proto.bosdyn.api.RecordSignalTicksRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.bosdyn.api.RecordSignalTicksRequest; return proto.bosdyn.api.RecordSignalTicksRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.bosdyn.api.RecordSignalTicksRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bosdyn.api.RecordSignalTicksRequest} */ proto.bosdyn.api.RecordSignalTicksRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new bosdyn_api_header_pb.RequestHeader; reader.readMessage(value,bosdyn_api_header_pb.RequestHeader.deserializeBinaryFromReader); msg.setHeader(value); break; case 2: var value = new proto.bosdyn.api.SignalTick; reader.readMessage(value,proto.bosdyn.api.SignalTick.deserializeBinaryFromReader); msg.addTickData(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.bosdyn.api.RecordSignalTicksRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.bosdyn.api.RecordSignalTicksRequest.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.RecordSignalTicksRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bosdyn.api.RecordSignalTicksRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getHeader(); if (f != null) { writer.writeMessage( 1, f, bosdyn_api_header_pb.RequestHeader.serializeBinaryToWriter ); } f = message.getTickDataList(); if (f.length > 0) { writer.writeRepeatedMessage( 2, f, proto.bosdyn.api.SignalTick.serializeBinaryToWriter ); } }; /** * optional RequestHeader header = 1; * @return {?proto.bosdyn.api.RequestHeader} */ proto.bosdyn.api.RecordSignalTicksRequest.prototype.getHeader = function() { return /** @type{?proto.bosdyn.api.RequestHeader} */ ( jspb.Message.getWrapperField(this, bosdyn_api_header_pb.RequestHeader, 1)); }; /** * @param {?proto.bosdyn.api.RequestHeader|undefined} value * @return {!proto.bosdyn.api.RecordSignalTicksRequest} returns this */ proto.bosdyn.api.RecordSignalTicksRequest.prototype.setHeader = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.bosdyn.api.RecordSignalTicksRequest} returns this */ proto.bosdyn.api.RecordSignalTicksRequest.prototype.clearHeader = function() { return this.setHeader(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bosdyn.api.RecordSignalTicksRequest.prototype.hasHeader = function() { return jspb.Message.getField(this, 1) != null; }; /** * repeated SignalTick tick_data = 2; * @return {!Array<!proto.bosdyn.api.SignalTick>} */ proto.bosdyn.api.RecordSignalTicksRequest.prototype.getTickDataList = function() { return /*