UNPKG

spot-sdk-js

Version:

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

1,515 lines (1,316 loc) 71.3 kB
// source: bosdyn/api/spot_cam/network.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 google_protobuf_wrappers_pb = require('google-protobuf/google/protobuf/wrappers_pb.js'); goog.object.extend(proto, google_protobuf_wrappers_pb); goog.exportSymbol('proto.bosdyn.api.spot_cam.GetICEConfigurationRequest', null, global); goog.exportSymbol('proto.bosdyn.api.spot_cam.GetICEConfigurationResponse', null, global); goog.exportSymbol('proto.bosdyn.api.spot_cam.GetNetworkSettingsRequest', null, global); goog.exportSymbol('proto.bosdyn.api.spot_cam.GetNetworkSettingsResponse', null, global); goog.exportSymbol('proto.bosdyn.api.spot_cam.GetSSLCertRequest', null, global); goog.exportSymbol('proto.bosdyn.api.spot_cam.GetSSLCertResponse', null, global); goog.exportSymbol('proto.bosdyn.api.spot_cam.ICEServer', null, global); goog.exportSymbol('proto.bosdyn.api.spot_cam.ICEServer.servertype', null, global); goog.exportSymbol('proto.bosdyn.api.spot_cam.NetworkTuple', null, global); goog.exportSymbol('proto.bosdyn.api.spot_cam.SetICEConfigurationRequest', null, global); goog.exportSymbol('proto.bosdyn.api.spot_cam.SetICEConfigurationResponse', 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.spot_cam.NetworkTuple = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bosdyn.api.spot_cam.NetworkTuple, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.spot_cam.NetworkTuple.displayName = 'proto.bosdyn.api.spot_cam.NetworkTuple'; } /** * 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.spot_cam.GetNetworkSettingsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bosdyn.api.spot_cam.GetNetworkSettingsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.spot_cam.GetNetworkSettingsRequest.displayName = 'proto.bosdyn.api.spot_cam.GetNetworkSettingsRequest'; } /** * 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.spot_cam.GetNetworkSettingsResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bosdyn.api.spot_cam.GetNetworkSettingsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.spot_cam.GetNetworkSettingsResponse.displayName = 'proto.bosdyn.api.spot_cam.GetNetworkSettingsResponse'; } /** * 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.spot_cam.GetSSLCertRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bosdyn.api.spot_cam.GetSSLCertRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.spot_cam.GetSSLCertRequest.displayName = 'proto.bosdyn.api.spot_cam.GetSSLCertRequest'; } /** * 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.spot_cam.GetSSLCertResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bosdyn.api.spot_cam.GetSSLCertResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.spot_cam.GetSSLCertResponse.displayName = 'proto.bosdyn.api.spot_cam.GetSSLCertResponse'; } /** * 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.spot_cam.ICEServer = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bosdyn.api.spot_cam.ICEServer, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.spot_cam.ICEServer.displayName = 'proto.bosdyn.api.spot_cam.ICEServer'; } /** * 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.spot_cam.GetICEConfigurationRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bosdyn.api.spot_cam.GetICEConfigurationRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.spot_cam.GetICEConfigurationRequest.displayName = 'proto.bosdyn.api.spot_cam.GetICEConfigurationRequest'; } /** * 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.spot_cam.GetICEConfigurationResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.bosdyn.api.spot_cam.GetICEConfigurationResponse.repeatedFields_, null); }; goog.inherits(proto.bosdyn.api.spot_cam.GetICEConfigurationResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.spot_cam.GetICEConfigurationResponse.displayName = 'proto.bosdyn.api.spot_cam.GetICEConfigurationResponse'; } /** * 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.spot_cam.SetICEConfigurationRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.bosdyn.api.spot_cam.SetICEConfigurationRequest.repeatedFields_, null); }; goog.inherits(proto.bosdyn.api.spot_cam.SetICEConfigurationRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.spot_cam.SetICEConfigurationRequest.displayName = 'proto.bosdyn.api.spot_cam.SetICEConfigurationRequest'; } /** * 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.spot_cam.SetICEConfigurationResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bosdyn.api.spot_cam.SetICEConfigurationResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bosdyn.api.spot_cam.SetICEConfigurationResponse.displayName = 'proto.bosdyn.api.spot_cam.SetICEConfigurationResponse'; } 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.spot_cam.NetworkTuple.prototype.toObject = function(opt_includeInstance) { return proto.bosdyn.api.spot_cam.NetworkTuple.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.spot_cam.NetworkTuple} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bosdyn.api.spot_cam.NetworkTuple.toObject = function(includeInstance, msg) { var f, obj = { address: (f = msg.getAddress()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f), netmask: (f = msg.getNetmask()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f), gateway: (f = msg.getGateway()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f), mtu: (f = msg.getMtu()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f) }; 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.spot_cam.NetworkTuple} */ proto.bosdyn.api.spot_cam.NetworkTuple.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.bosdyn.api.spot_cam.NetworkTuple; return proto.bosdyn.api.spot_cam.NetworkTuple.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.bosdyn.api.spot_cam.NetworkTuple} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bosdyn.api.spot_cam.NetworkTuple} */ proto.bosdyn.api.spot_cam.NetworkTuple.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 2: var value = new google_protobuf_wrappers_pb.UInt32Value; reader.readMessage(value,google_protobuf_wrappers_pb.UInt32Value.deserializeBinaryFromReader); msg.setAddress(value); break; case 3: var value = new google_protobuf_wrappers_pb.UInt32Value; reader.readMessage(value,google_protobuf_wrappers_pb.UInt32Value.deserializeBinaryFromReader); msg.setNetmask(value); break; case 4: var value = new google_protobuf_wrappers_pb.UInt32Value; reader.readMessage(value,google_protobuf_wrappers_pb.UInt32Value.deserializeBinaryFromReader); msg.setGateway(value); break; case 5: var value = new google_protobuf_wrappers_pb.UInt32Value; reader.readMessage(value,google_protobuf_wrappers_pb.UInt32Value.deserializeBinaryFromReader); msg.setMtu(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.bosdyn.api.spot_cam.NetworkTuple.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.bosdyn.api.spot_cam.NetworkTuple.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.spot_cam.NetworkTuple} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bosdyn.api.spot_cam.NetworkTuple.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getAddress(); if (f != null) { writer.writeMessage( 2, f, google_protobuf_wrappers_pb.UInt32Value.serializeBinaryToWriter ); } f = message.getNetmask(); if (f != null) { writer.writeMessage( 3, f, google_protobuf_wrappers_pb.UInt32Value.serializeBinaryToWriter ); } f = message.getGateway(); if (f != null) { writer.writeMessage( 4, f, google_protobuf_wrappers_pb.UInt32Value.serializeBinaryToWriter ); } f = message.getMtu(); if (f != null) { writer.writeMessage( 5, f, google_protobuf_wrappers_pb.UInt32Value.serializeBinaryToWriter ); } }; /** * optional google.protobuf.UInt32Value address = 2; * @return {?proto.google.protobuf.UInt32Value} */ proto.bosdyn.api.spot_cam.NetworkTuple.prototype.getAddress = function() { return /** @type{?proto.google.protobuf.UInt32Value} */ ( jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt32Value, 2)); }; /** * @param {?proto.google.protobuf.UInt32Value|undefined} value * @return {!proto.bosdyn.api.spot_cam.NetworkTuple} returns this */ proto.bosdyn.api.spot_cam.NetworkTuple.prototype.setAddress = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.bosdyn.api.spot_cam.NetworkTuple} returns this */ proto.bosdyn.api.spot_cam.NetworkTuple.prototype.clearAddress = function() { return this.setAddress(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bosdyn.api.spot_cam.NetworkTuple.prototype.hasAddress = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional google.protobuf.UInt32Value netmask = 3; * @return {?proto.google.protobuf.UInt32Value} */ proto.bosdyn.api.spot_cam.NetworkTuple.prototype.getNetmask = function() { return /** @type{?proto.google.protobuf.UInt32Value} */ ( jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt32Value, 3)); }; /** * @param {?proto.google.protobuf.UInt32Value|undefined} value * @return {!proto.bosdyn.api.spot_cam.NetworkTuple} returns this */ proto.bosdyn.api.spot_cam.NetworkTuple.prototype.setNetmask = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. * @return {!proto.bosdyn.api.spot_cam.NetworkTuple} returns this */ proto.bosdyn.api.spot_cam.NetworkTuple.prototype.clearNetmask = function() { return this.setNetmask(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bosdyn.api.spot_cam.NetworkTuple.prototype.hasNetmask = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional google.protobuf.UInt32Value gateway = 4; * @return {?proto.google.protobuf.UInt32Value} */ proto.bosdyn.api.spot_cam.NetworkTuple.prototype.getGateway = function() { return /** @type{?proto.google.protobuf.UInt32Value} */ ( jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt32Value, 4)); }; /** * @param {?proto.google.protobuf.UInt32Value|undefined} value * @return {!proto.bosdyn.api.spot_cam.NetworkTuple} returns this */ proto.bosdyn.api.spot_cam.NetworkTuple.prototype.setGateway = function(value) { return jspb.Message.setWrapperField(this, 4, value); }; /** * Clears the message field making it undefined. * @return {!proto.bosdyn.api.spot_cam.NetworkTuple} returns this */ proto.bosdyn.api.spot_cam.NetworkTuple.prototype.clearGateway = function() { return this.setGateway(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bosdyn.api.spot_cam.NetworkTuple.prototype.hasGateway = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional google.protobuf.UInt32Value mtu = 5; * @return {?proto.google.protobuf.UInt32Value} */ proto.bosdyn.api.spot_cam.NetworkTuple.prototype.getMtu = function() { return /** @type{?proto.google.protobuf.UInt32Value} */ ( jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt32Value, 5)); }; /** * @param {?proto.google.protobuf.UInt32Value|undefined} value * @return {!proto.bosdyn.api.spot_cam.NetworkTuple} returns this */ proto.bosdyn.api.spot_cam.NetworkTuple.prototype.setMtu = function(value) { return jspb.Message.setWrapperField(this, 5, value); }; /** * Clears the message field making it undefined. * @return {!proto.bosdyn.api.spot_cam.NetworkTuple} returns this */ proto.bosdyn.api.spot_cam.NetworkTuple.prototype.clearMtu = function() { return this.setMtu(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bosdyn.api.spot_cam.NetworkTuple.prototype.hasMtu = function() { return jspb.Message.getField(this, 5) != null; }; 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.spot_cam.GetNetworkSettingsRequest.prototype.toObject = function(opt_includeInstance) { return proto.bosdyn.api.spot_cam.GetNetworkSettingsRequest.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.spot_cam.GetNetworkSettingsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bosdyn.api.spot_cam.GetNetworkSettingsRequest.toObject = function(includeInstance, msg) { var f, obj = { header: (f = msg.getHeader()) && bosdyn_api_header_pb.RequestHeader.toObject(includeInstance, f) }; 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.spot_cam.GetNetworkSettingsRequest} */ proto.bosdyn.api.spot_cam.GetNetworkSettingsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.bosdyn.api.spot_cam.GetNetworkSettingsRequest; return proto.bosdyn.api.spot_cam.GetNetworkSettingsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.bosdyn.api.spot_cam.GetNetworkSettingsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bosdyn.api.spot_cam.GetNetworkSettingsRequest} */ proto.bosdyn.api.spot_cam.GetNetworkSettingsRequest.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; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.bosdyn.api.spot_cam.GetNetworkSettingsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.bosdyn.api.spot_cam.GetNetworkSettingsRequest.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.spot_cam.GetNetworkSettingsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bosdyn.api.spot_cam.GetNetworkSettingsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getHeader(); if (f != null) { writer.writeMessage( 1, f, bosdyn_api_header_pb.RequestHeader.serializeBinaryToWriter ); } }; /** * optional bosdyn.api.RequestHeader header = 1; * @return {?proto.bosdyn.api.RequestHeader} */ proto.bosdyn.api.spot_cam.GetNetworkSettingsRequest.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.spot_cam.GetNetworkSettingsRequest} returns this */ proto.bosdyn.api.spot_cam.GetNetworkSettingsRequest.prototype.setHeader = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.bosdyn.api.spot_cam.GetNetworkSettingsRequest} returns this */ proto.bosdyn.api.spot_cam.GetNetworkSettingsRequest.prototype.clearHeader = function() { return this.setHeader(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bosdyn.api.spot_cam.GetNetworkSettingsRequest.prototype.hasHeader = function() { return jspb.Message.getField(this, 1) != null; }; 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.spot_cam.GetNetworkSettingsResponse.prototype.toObject = function(opt_includeInstance) { return proto.bosdyn.api.spot_cam.GetNetworkSettingsResponse.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.spot_cam.GetNetworkSettingsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bosdyn.api.spot_cam.GetNetworkSettingsResponse.toObject = function(includeInstance, msg) { var f, obj = { header: (f = msg.getHeader()) && bosdyn_api_header_pb.ResponseHeader.toObject(includeInstance, f), settings: (f = msg.getSettings()) && proto.bosdyn.api.spot_cam.NetworkTuple.toObject(includeInstance, f) }; 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.spot_cam.GetNetworkSettingsResponse} */ proto.bosdyn.api.spot_cam.GetNetworkSettingsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.bosdyn.api.spot_cam.GetNetworkSettingsResponse; return proto.bosdyn.api.spot_cam.GetNetworkSettingsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.bosdyn.api.spot_cam.GetNetworkSettingsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bosdyn.api.spot_cam.GetNetworkSettingsResponse} */ proto.bosdyn.api.spot_cam.GetNetworkSettingsResponse.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.ResponseHeader; reader.readMessage(value,bosdyn_api_header_pb.ResponseHeader.deserializeBinaryFromReader); msg.setHeader(value); break; case 2: var value = new proto.bosdyn.api.spot_cam.NetworkTuple; reader.readMessage(value,proto.bosdyn.api.spot_cam.NetworkTuple.deserializeBinaryFromReader); msg.setSettings(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.bosdyn.api.spot_cam.GetNetworkSettingsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.bosdyn.api.spot_cam.GetNetworkSettingsResponse.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.spot_cam.GetNetworkSettingsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bosdyn.api.spot_cam.GetNetworkSettingsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getHeader(); if (f != null) { writer.writeMessage( 1, f, bosdyn_api_header_pb.ResponseHeader.serializeBinaryToWriter ); } f = message.getSettings(); if (f != null) { writer.writeMessage( 2, f, proto.bosdyn.api.spot_cam.NetworkTuple.serializeBinaryToWriter ); } }; /** * optional bosdyn.api.ResponseHeader header = 1; * @return {?proto.bosdyn.api.ResponseHeader} */ proto.bosdyn.api.spot_cam.GetNetworkSettingsResponse.prototype.getHeader = function() { return /** @type{?proto.bosdyn.api.ResponseHeader} */ ( jspb.Message.getWrapperField(this, bosdyn_api_header_pb.ResponseHeader, 1)); }; /** * @param {?proto.bosdyn.api.ResponseHeader|undefined} value * @return {!proto.bosdyn.api.spot_cam.GetNetworkSettingsResponse} returns this */ proto.bosdyn.api.spot_cam.GetNetworkSettingsResponse.prototype.setHeader = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.bosdyn.api.spot_cam.GetNetworkSettingsResponse} returns this */ proto.bosdyn.api.spot_cam.GetNetworkSettingsResponse.prototype.clearHeader = function() { return this.setHeader(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bosdyn.api.spot_cam.GetNetworkSettingsResponse.prototype.hasHeader = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional NetworkTuple settings = 2; * @return {?proto.bosdyn.api.spot_cam.NetworkTuple} */ proto.bosdyn.api.spot_cam.GetNetworkSettingsResponse.prototype.getSettings = function() { return /** @type{?proto.bosdyn.api.spot_cam.NetworkTuple} */ ( jspb.Message.getWrapperField(this, proto.bosdyn.api.spot_cam.NetworkTuple, 2)); }; /** * @param {?proto.bosdyn.api.spot_cam.NetworkTuple|undefined} value * @return {!proto.bosdyn.api.spot_cam.GetNetworkSettingsResponse} returns this */ proto.bosdyn.api.spot_cam.GetNetworkSettingsResponse.prototype.setSettings = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.bosdyn.api.spot_cam.GetNetworkSettingsResponse} returns this */ proto.bosdyn.api.spot_cam.GetNetworkSettingsResponse.prototype.clearSettings = function() { return this.setSettings(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bosdyn.api.spot_cam.GetNetworkSettingsResponse.prototype.hasSettings = function() { return jspb.Message.getField(this, 2) != null; }; 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.spot_cam.GetSSLCertRequest.prototype.toObject = function(opt_includeInstance) { return proto.bosdyn.api.spot_cam.GetSSLCertRequest.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.spot_cam.GetSSLCertRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bosdyn.api.spot_cam.GetSSLCertRequest.toObject = function(includeInstance, msg) { var f, obj = { header: (f = msg.getHeader()) && bosdyn_api_header_pb.RequestHeader.toObject(includeInstance, f) }; 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.spot_cam.GetSSLCertRequest} */ proto.bosdyn.api.spot_cam.GetSSLCertRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.bosdyn.api.spot_cam.GetSSLCertRequest; return proto.bosdyn.api.spot_cam.GetSSLCertRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.bosdyn.api.spot_cam.GetSSLCertRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bosdyn.api.spot_cam.GetSSLCertRequest} */ proto.bosdyn.api.spot_cam.GetSSLCertRequest.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; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.bosdyn.api.spot_cam.GetSSLCertRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.bosdyn.api.spot_cam.GetSSLCertRequest.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.spot_cam.GetSSLCertRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bosdyn.api.spot_cam.GetSSLCertRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getHeader(); if (f != null) { writer.writeMessage( 1, f, bosdyn_api_header_pb.RequestHeader.serializeBinaryToWriter ); } }; /** * optional bosdyn.api.RequestHeader header = 1; * @return {?proto.bosdyn.api.RequestHeader} */ proto.bosdyn.api.spot_cam.GetSSLCertRequest.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.spot_cam.GetSSLCertRequest} returns this */ proto.bosdyn.api.spot_cam.GetSSLCertRequest.prototype.setHeader = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.bosdyn.api.spot_cam.GetSSLCertRequest} returns this */ proto.bosdyn.api.spot_cam.GetSSLCertRequest.prototype.clearHeader = function() { return this.setHeader(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bosdyn.api.spot_cam.GetSSLCertRequest.prototype.hasHeader = function() { return jspb.Message.getField(this, 1) != null; }; 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.spot_cam.GetSSLCertResponse.prototype.toObject = function(opt_includeInstance) { return proto.bosdyn.api.spot_cam.GetSSLCertResponse.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.spot_cam.GetSSLCertResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bosdyn.api.spot_cam.GetSSLCertResponse.toObject = function(includeInstance, msg) { var f, obj = { header: (f = msg.getHeader()) && bosdyn_api_header_pb.ResponseHeader.toObject(includeInstance, f), certificate: jspb.Message.getFieldWithDefault(msg, 2, "") }; 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.spot_cam.GetSSLCertResponse} */ proto.bosdyn.api.spot_cam.GetSSLCertResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.bosdyn.api.spot_cam.GetSSLCertResponse; return proto.bosdyn.api.spot_cam.GetSSLCertResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.bosdyn.api.spot_cam.GetSSLCertResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bosdyn.api.spot_cam.GetSSLCertResponse} */ proto.bosdyn.api.spot_cam.GetSSLCertResponse.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.ResponseHeader; reader.readMessage(value,bosdyn_api_header_pb.ResponseHeader.deserializeBinaryFromReader); msg.setHeader(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setCertificate(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.bosdyn.api.spot_cam.GetSSLCertResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.bosdyn.api.spot_cam.GetSSLCertResponse.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.spot_cam.GetSSLCertResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bosdyn.api.spot_cam.GetSSLCertResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getHeader(); if (f != null) { writer.writeMessage( 1, f, bosdyn_api_header_pb.ResponseHeader.serializeBinaryToWriter ); } f = message.getCertificate(); if (f.length > 0) { writer.writeString( 2, f ); } }; /** * optional bosdyn.api.ResponseHeader header = 1; * @return {?proto.bosdyn.api.ResponseHeader} */ proto.bosdyn.api.spot_cam.GetSSLCertResponse.prototype.getHeader = function() { return /** @type{?proto.bosdyn.api.ResponseHeader} */ ( jspb.Message.getWrapperField(this, bosdyn_api_header_pb.ResponseHeader, 1)); }; /** * @param {?proto.bosdyn.api.ResponseHeader|undefined} value * @return {!proto.bosdyn.api.spot_cam.GetSSLCertResponse} returns this */ proto.bosdyn.api.spot_cam.GetSSLCertResponse.prototype.setHeader = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.bosdyn.api.spot_cam.GetSSLCertResponse} returns this */ proto.bosdyn.api.spot_cam.GetSSLCertResponse.prototype.clearHeader = function() { return this.setHeader(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bosdyn.api.spot_cam.GetSSLCertResponse.prototype.hasHeader = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional string certificate = 2; * @return {string} */ proto.bosdyn.api.spot_cam.GetSSLCertResponse.prototype.getCertificate = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.bosdyn.api.spot_cam.GetSSLCertResponse} returns this */ proto.bosdyn.api.spot_cam.GetSSLCertResponse.prototype.setCertificate = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; 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.spot_cam.ICEServer.prototype.toObject = function(opt_includeInstance) { return proto.bosdyn.api.spot_cam.ICEServer.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.spot_cam.ICEServer} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bosdyn.api.spot_cam.ICEServer.toObject = function(includeInstance, msg) { var f, obj = { type: jspb.Message.getFieldWithDefault(msg, 1, 0), address: jspb.Message.getFieldWithDefault(msg, 2, ""), port: jspb.Message.getFieldWithDefault(msg, 3, 0) }; 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.spot_cam.ICEServer} */ proto.bosdyn.api.spot_cam.ICEServer.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.bosdyn.api.spot_cam.ICEServer; return proto.bosdyn.api.spot_cam.ICEServer.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.bosdyn.api.spot_cam.ICEServer} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bosdyn.api.spot_cam.ICEServer} */ proto.bosdyn.api.spot_cam.ICEServer.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!proto.bosdyn.api.spot_cam.ICEServer.servertype} */ (reader.readEnum()); msg.setType(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setAddress(value); break; case 3: var value = /** @type {number} */ (reader.readUint32()); msg.setPort(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.bosdyn.api.spot_cam.ICEServer.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.bosdyn.api.spot_cam.ICEServer.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.spot_cam.ICEServer} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bosdyn.api.spot_cam.ICEServer.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getType(); if (f !== 0.0) { writer.writeEnum( 1, f ); } f = message.getAddress(); if (f.length > 0) { writer.writeString( 2, f ); } f = message.getPort(); if (f !== 0) { writer.writeUint32( 3, f ); } }; /** * @enum {number} */ proto.bosdyn.api.spot_cam.ICEServer.servertype = { UNKNOWN: 0, STUN: 1, TURN: 2 }; /** * optional servertype type = 1; * @return {!proto.bosdyn.api.spot_cam.ICEServer.servertype} */ proto.bosdyn.api.spot_cam.ICEServer.prototype.getType = function() { return /** @type {!proto.bosdyn.api.spot_cam.ICEServer.servertype} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {!proto.bosdyn.api.spot_cam.ICEServer.servertype} value * @return {!proto.bosdyn.api.spot_cam.ICEServer} returns this */ proto.bosdyn.api.spot_cam.ICEServer.prototype.setType = function(value) { return jspb.Message.setProto3EnumField(this, 1, value); }; /** * optional string address = 2; * @return {string} */ proto.bosdyn.api.spot_cam.ICEServer.prototype.getAddress = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.bosdyn.api.spot_cam.ICEServer} returns this */ proto.bosdyn.api.spot_cam.ICEServer.prototype.setAddress = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * optional uint32 port = 3; * @return {number} */ proto.bosdyn.api.spot_cam.ICEServer.prototype.getPort = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.bosdyn.api.spot_cam.ICEServer} returns this */ proto.bosdyn.api.spot_cam.ICEServer.prototype.setPort = function(value) { return jspb.Message.setProto3IntField(this, 3, value); }; 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.spot_cam.GetICEConfigurationRequest.prototype.toObject = function(opt_includeInstance) { return proto.bosdyn.api.spot_cam.GetICEConfigurationRequest.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.spot_cam.GetICEConfigurationRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bosdyn.api.spot_cam.GetICEConfigurationRequest.toObject = function(includeInstance, msg) { var f, obj = { header: (f = msg.getHeader()) && bosdyn_api_header_pb.RequestHeader.toObject(includeInstance, f) }; 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.spot_cam.GetICEConfigurationRequest} */ proto.bosdyn.api.spot_cam.GetICEConfigurationRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.bosdyn.api.spot_cam.GetICEConfigurationRequest; return proto.bosdyn.api.spot_cam.GetICEConfigurationRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.bosdyn.api.spot_cam.GetICEConfigurationRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bosdyn.api.spot_cam.GetICEConfigurationRequest} */ proto.bosdyn.api.spot_cam.GetICEConfigurationRequest.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; default: reader.skipField(); break; } } return msg; }; /** * Serializes the mes