xray-grpc
Version:
GRPC client for xray.
1,429 lines (1,255 loc) • 78 kB
JavaScript
// source: proxyman.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() {
if (this) { return this; }
if (typeof window !== 'undefined') { return window; }
if (typeof global !== 'undefined') { return global; }
if (typeof self !== 'undefined') { return self; }
return Function('return this')();
}.call(null));
var common_protocol_user_pb = require('./common/protocol/user_pb.js');
goog.object.extend(proto, common_protocol_user_pb);
var common_serial_typed_message_pb = require('./common/serial/typed_message_pb.js');
goog.object.extend(proto, common_serial_typed_message_pb);
var core_config_pb = require('./core/config_pb.js');
goog.object.extend(proto, core_config_pb);
goog.exportSymbol('proto.xray.app.proxyman.command.AddInboundRequest', null, global);
goog.exportSymbol('proto.xray.app.proxyman.command.AddInboundResponse', null, global);
goog.exportSymbol('proto.xray.app.proxyman.command.AddOutboundRequest', null, global);
goog.exportSymbol('proto.xray.app.proxyman.command.AddOutboundResponse', null, global);
goog.exportSymbol('proto.xray.app.proxyman.command.AddUserOperation', null, global);
goog.exportSymbol('proto.xray.app.proxyman.command.AlterInboundRequest', null, global);
goog.exportSymbol('proto.xray.app.proxyman.command.AlterInboundResponse', null, global);
goog.exportSymbol('proto.xray.app.proxyman.command.AlterOutboundRequest', null, global);
goog.exportSymbol('proto.xray.app.proxyman.command.AlterOutboundResponse', null, global);
goog.exportSymbol('proto.xray.app.proxyman.command.Config', null, global);
goog.exportSymbol('proto.xray.app.proxyman.command.RemoveInboundRequest', null, global);
goog.exportSymbol('proto.xray.app.proxyman.command.RemoveInboundResponse', null, global);
goog.exportSymbol('proto.xray.app.proxyman.command.RemoveOutboundRequest', null, global);
goog.exportSymbol('proto.xray.app.proxyman.command.RemoveOutboundResponse', null, global);
goog.exportSymbol('proto.xray.app.proxyman.command.RemoveUserOperation', 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.xray.app.proxyman.command.AddUserOperation = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.xray.app.proxyman.command.AddUserOperation, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.xray.app.proxyman.command.AddUserOperation.displayName = 'proto.xray.app.proxyman.command.AddUserOperation';
}
/**
* 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.xray.app.proxyman.command.RemoveUserOperation = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.xray.app.proxyman.command.RemoveUserOperation, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.xray.app.proxyman.command.RemoveUserOperation.displayName = 'proto.xray.app.proxyman.command.RemoveUserOperation';
}
/**
* 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.xray.app.proxyman.command.AddInboundRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.xray.app.proxyman.command.AddInboundRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.xray.app.proxyman.command.AddInboundRequest.displayName = 'proto.xray.app.proxyman.command.AddInboundRequest';
}
/**
* 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.xray.app.proxyman.command.AddInboundResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.xray.app.proxyman.command.AddInboundResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.xray.app.proxyman.command.AddInboundResponse.displayName = 'proto.xray.app.proxyman.command.AddInboundResponse';
}
/**
* 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.xray.app.proxyman.command.RemoveInboundRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.xray.app.proxyman.command.RemoveInboundRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.xray.app.proxyman.command.RemoveInboundRequest.displayName = 'proto.xray.app.proxyman.command.RemoveInboundRequest';
}
/**
* 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.xray.app.proxyman.command.RemoveInboundResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.xray.app.proxyman.command.RemoveInboundResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.xray.app.proxyman.command.RemoveInboundResponse.displayName = 'proto.xray.app.proxyman.command.RemoveInboundResponse';
}
/**
* 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.xray.app.proxyman.command.AlterInboundRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.xray.app.proxyman.command.AlterInboundRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.xray.app.proxyman.command.AlterInboundRequest.displayName = 'proto.xray.app.proxyman.command.AlterInboundRequest';
}
/**
* 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.xray.app.proxyman.command.AlterInboundResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.xray.app.proxyman.command.AlterInboundResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.xray.app.proxyman.command.AlterInboundResponse.displayName = 'proto.xray.app.proxyman.command.AlterInboundResponse';
}
/**
* 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.xray.app.proxyman.command.AddOutboundRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.xray.app.proxyman.command.AddOutboundRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.xray.app.proxyman.command.AddOutboundRequest.displayName = 'proto.xray.app.proxyman.command.AddOutboundRequest';
}
/**
* 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.xray.app.proxyman.command.AddOutboundResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.xray.app.proxyman.command.AddOutboundResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.xray.app.proxyman.command.AddOutboundResponse.displayName = 'proto.xray.app.proxyman.command.AddOutboundResponse';
}
/**
* 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.xray.app.proxyman.command.RemoveOutboundRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.xray.app.proxyman.command.RemoveOutboundRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.xray.app.proxyman.command.RemoveOutboundRequest.displayName = 'proto.xray.app.proxyman.command.RemoveOutboundRequest';
}
/**
* 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.xray.app.proxyman.command.RemoveOutboundResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.xray.app.proxyman.command.RemoveOutboundResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.xray.app.proxyman.command.RemoveOutboundResponse.displayName = 'proto.xray.app.proxyman.command.RemoveOutboundResponse';
}
/**
* 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.xray.app.proxyman.command.AlterOutboundRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.xray.app.proxyman.command.AlterOutboundRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.xray.app.proxyman.command.AlterOutboundRequest.displayName = 'proto.xray.app.proxyman.command.AlterOutboundRequest';
}
/**
* 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.xray.app.proxyman.command.AlterOutboundResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.xray.app.proxyman.command.AlterOutboundResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.xray.app.proxyman.command.AlterOutboundResponse.displayName = 'proto.xray.app.proxyman.command.AlterOutboundResponse';
}
/**
* 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.xray.app.proxyman.command.Config = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.xray.app.proxyman.command.Config, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.xray.app.proxyman.command.Config.displayName = 'proto.xray.app.proxyman.command.Config';
}
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.xray.app.proxyman.command.AddUserOperation.prototype.toObject = function(opt_includeInstance) {
return proto.xray.app.proxyman.command.AddUserOperation.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.xray.app.proxyman.command.AddUserOperation} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.xray.app.proxyman.command.AddUserOperation.toObject = function(includeInstance, msg) {
var f, obj = {
user: (f = msg.getUser()) && common_protocol_user_pb.User.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.xray.app.proxyman.command.AddUserOperation}
*/
proto.xray.app.proxyman.command.AddUserOperation.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.xray.app.proxyman.command.AddUserOperation;
return proto.xray.app.proxyman.command.AddUserOperation.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.xray.app.proxyman.command.AddUserOperation} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.xray.app.proxyman.command.AddUserOperation}
*/
proto.xray.app.proxyman.command.AddUserOperation.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new common_protocol_user_pb.User;
reader.readMessage(value,common_protocol_user_pb.User.deserializeBinaryFromReader);
msg.setUser(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.xray.app.proxyman.command.AddUserOperation.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.xray.app.proxyman.command.AddUserOperation.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.xray.app.proxyman.command.AddUserOperation} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.xray.app.proxyman.command.AddUserOperation.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getUser();
if (f != null) {
writer.writeMessage(
1,
f,
common_protocol_user_pb.User.serializeBinaryToWriter
);
}
};
/**
* optional xray.common.protocol.User user = 1;
* @return {?proto.xray.common.protocol.User}
*/
proto.xray.app.proxyman.command.AddUserOperation.prototype.getUser = function() {
return /** @type{?proto.xray.common.protocol.User} */ (
jspb.Message.getWrapperField(this, common_protocol_user_pb.User, 1));
};
/**
* @param {?proto.xray.common.protocol.User|undefined} value
* @return {!proto.xray.app.proxyman.command.AddUserOperation} returns this
*/
proto.xray.app.proxyman.command.AddUserOperation.prototype.setUser = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.xray.app.proxyman.command.AddUserOperation} returns this
*/
proto.xray.app.proxyman.command.AddUserOperation.prototype.clearUser = function() {
return this.setUser(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.xray.app.proxyman.command.AddUserOperation.prototype.hasUser = 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.xray.app.proxyman.command.RemoveUserOperation.prototype.toObject = function(opt_includeInstance) {
return proto.xray.app.proxyman.command.RemoveUserOperation.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.xray.app.proxyman.command.RemoveUserOperation} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.xray.app.proxyman.command.RemoveUserOperation.toObject = function(includeInstance, msg) {
var f, obj = {
email: jspb.Message.getFieldWithDefault(msg, 1, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.xray.app.proxyman.command.RemoveUserOperation}
*/
proto.xray.app.proxyman.command.RemoveUserOperation.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.xray.app.proxyman.command.RemoveUserOperation;
return proto.xray.app.proxyman.command.RemoveUserOperation.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.xray.app.proxyman.command.RemoveUserOperation} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.xray.app.proxyman.command.RemoveUserOperation}
*/
proto.xray.app.proxyman.command.RemoveUserOperation.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setEmail(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.xray.app.proxyman.command.RemoveUserOperation.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.xray.app.proxyman.command.RemoveUserOperation.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.xray.app.proxyman.command.RemoveUserOperation} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.xray.app.proxyman.command.RemoveUserOperation.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getEmail();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
};
/**
* optional string email = 1;
* @return {string}
*/
proto.xray.app.proxyman.command.RemoveUserOperation.prototype.getEmail = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.xray.app.proxyman.command.RemoveUserOperation} returns this
*/
proto.xray.app.proxyman.command.RemoveUserOperation.prototype.setEmail = function(value) {
return jspb.Message.setProto3StringField(this, 1, 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.xray.app.proxyman.command.AddInboundRequest.prototype.toObject = function(opt_includeInstance) {
return proto.xray.app.proxyman.command.AddInboundRequest.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.xray.app.proxyman.command.AddInboundRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.xray.app.proxyman.command.AddInboundRequest.toObject = function(includeInstance, msg) {
var f, obj = {
inbound: (f = msg.getInbound()) && core_config_pb.InboundHandlerConfig.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.xray.app.proxyman.command.AddInboundRequest}
*/
proto.xray.app.proxyman.command.AddInboundRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.xray.app.proxyman.command.AddInboundRequest;
return proto.xray.app.proxyman.command.AddInboundRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.xray.app.proxyman.command.AddInboundRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.xray.app.proxyman.command.AddInboundRequest}
*/
proto.xray.app.proxyman.command.AddInboundRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new core_config_pb.InboundHandlerConfig;
reader.readMessage(value,core_config_pb.InboundHandlerConfig.deserializeBinaryFromReader);
msg.setInbound(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.xray.app.proxyman.command.AddInboundRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.xray.app.proxyman.command.AddInboundRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.xray.app.proxyman.command.AddInboundRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.xray.app.proxyman.command.AddInboundRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getInbound();
if (f != null) {
writer.writeMessage(
1,
f,
core_config_pb.InboundHandlerConfig.serializeBinaryToWriter
);
}
};
/**
* optional xray.core.InboundHandlerConfig inbound = 1;
* @return {?proto.xray.core.InboundHandlerConfig}
*/
proto.xray.app.proxyman.command.AddInboundRequest.prototype.getInbound = function() {
return /** @type{?proto.xray.core.InboundHandlerConfig} */ (
jspb.Message.getWrapperField(this, core_config_pb.InboundHandlerConfig, 1));
};
/**
* @param {?proto.xray.core.InboundHandlerConfig|undefined} value
* @return {!proto.xray.app.proxyman.command.AddInboundRequest} returns this
*/
proto.xray.app.proxyman.command.AddInboundRequest.prototype.setInbound = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.xray.app.proxyman.command.AddInboundRequest} returns this
*/
proto.xray.app.proxyman.command.AddInboundRequest.prototype.clearInbound = function() {
return this.setInbound(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.xray.app.proxyman.command.AddInboundRequest.prototype.hasInbound = 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.xray.app.proxyman.command.AddInboundResponse.prototype.toObject = function(opt_includeInstance) {
return proto.xray.app.proxyman.command.AddInboundResponse.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.xray.app.proxyman.command.AddInboundResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.xray.app.proxyman.command.AddInboundResponse.toObject = function(includeInstance, msg) {
var f, obj = {
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.xray.app.proxyman.command.AddInboundResponse}
*/
proto.xray.app.proxyman.command.AddInboundResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.xray.app.proxyman.command.AddInboundResponse;
return proto.xray.app.proxyman.command.AddInboundResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.xray.app.proxyman.command.AddInboundResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.xray.app.proxyman.command.AddInboundResponse}
*/
proto.xray.app.proxyman.command.AddInboundResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.xray.app.proxyman.command.AddInboundResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.xray.app.proxyman.command.AddInboundResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.xray.app.proxyman.command.AddInboundResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.xray.app.proxyman.command.AddInboundResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
};
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.xray.app.proxyman.command.RemoveInboundRequest.prototype.toObject = function(opt_includeInstance) {
return proto.xray.app.proxyman.command.RemoveInboundRequest.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.xray.app.proxyman.command.RemoveInboundRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.xray.app.proxyman.command.RemoveInboundRequest.toObject = function(includeInstance, msg) {
var f, obj = {
tag: jspb.Message.getFieldWithDefault(msg, 1, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.xray.app.proxyman.command.RemoveInboundRequest}
*/
proto.xray.app.proxyman.command.RemoveInboundRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.xray.app.proxyman.command.RemoveInboundRequest;
return proto.xray.app.proxyman.command.RemoveInboundRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.xray.app.proxyman.command.RemoveInboundRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.xray.app.proxyman.command.RemoveInboundRequest}
*/
proto.xray.app.proxyman.command.RemoveInboundRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setTag(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.xray.app.proxyman.command.RemoveInboundRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.xray.app.proxyman.command.RemoveInboundRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.xray.app.proxyman.command.RemoveInboundRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.xray.app.proxyman.command.RemoveInboundRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getTag();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
};
/**
* optional string tag = 1;
* @return {string}
*/
proto.xray.app.proxyman.command.RemoveInboundRequest.prototype.getTag = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.xray.app.proxyman.command.RemoveInboundRequest} returns this
*/
proto.xray.app.proxyman.command.RemoveInboundRequest.prototype.setTag = function(value) {
return jspb.Message.setProto3StringField(this, 1, 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.xray.app.proxyman.command.RemoveInboundResponse.prototype.toObject = function(opt_includeInstance) {
return proto.xray.app.proxyman.command.RemoveInboundResponse.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.xray.app.proxyman.command.RemoveInboundResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.xray.app.proxyman.command.RemoveInboundResponse.toObject = function(includeInstance, msg) {
var f, obj = {
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.xray.app.proxyman.command.RemoveInboundResponse}
*/
proto.xray.app.proxyman.command.RemoveInboundResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.xray.app.proxyman.command.RemoveInboundResponse;
return proto.xray.app.proxyman.command.RemoveInboundResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.xray.app.proxyman.command.RemoveInboundResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.xray.app.proxyman.command.RemoveInboundResponse}
*/
proto.xray.app.proxyman.command.RemoveInboundResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.xray.app.proxyman.command.RemoveInboundResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.xray.app.proxyman.command.RemoveInboundResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.xray.app.proxyman.command.RemoveInboundResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.xray.app.proxyman.command.RemoveInboundResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
};
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.xray.app.proxyman.command.AlterInboundRequest.prototype.toObject = function(opt_includeInstance) {
return proto.xray.app.proxyman.command.AlterInboundRequest.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.xray.app.proxyman.command.AlterInboundRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.xray.app.proxyman.command.AlterInboundRequest.toObject = function(includeInstance, msg) {
var f, obj = {
tag: jspb.Message.getFieldWithDefault(msg, 1, ""),
operation: (f = msg.getOperation()) && common_serial_typed_message_pb.TypedMessage.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.xray.app.proxyman.command.AlterInboundRequest}
*/
proto.xray.app.proxyman.command.AlterInboundRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.xray.app.proxyman.command.AlterInboundRequest;
return proto.xray.app.proxyman.command.AlterInboundRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.xray.app.proxyman.command.AlterInboundRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.xray.app.proxyman.command.AlterInboundRequest}
*/
proto.xray.app.proxyman.command.AlterInboundRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setTag(value);
break;
case 2:
var value = new common_serial_typed_message_pb.TypedMessage;
reader.readMessage(value,common_serial_typed_message_pb.TypedMessage.deserializeBinaryFromReader);
msg.setOperation(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.xray.app.proxyman.command.AlterInboundRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.xray.app.proxyman.command.AlterInboundRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.xray.app.proxyman.command.AlterInboundRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.xray.app.proxyman.command.AlterInboundRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getTag();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getOperation();
if (f != null) {
writer.writeMessage(
2,
f,
common_serial_typed_message_pb.TypedMessage.serializeBinaryToWriter
);
}
};
/**
* optional string tag = 1;
* @return {string}
*/
proto.xray.app.proxyman.command.AlterInboundRequest.prototype.getTag = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.xray.app.proxyman.command.AlterInboundRequest} returns this
*/
proto.xray.app.proxyman.command.AlterInboundRequest.prototype.setTag = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional xray.common.serial.TypedMessage operation = 2;
* @return {?proto.xray.common.serial.TypedMessage}
*/
proto.xray.app.proxyman.command.AlterInboundRequest.prototype.getOperation = function() {
return /** @type{?proto.xray.common.serial.TypedMessage} */ (
jspb.Message.getWrapperField(this, common_serial_typed_message_pb.TypedMessage, 2));
};
/**
* @param {?proto.xray.common.serial.TypedMessage|undefined} value
* @return {!proto.xray.app.proxyman.command.AlterInboundRequest} returns this
*/
proto.xray.app.proxyman.command.AlterInboundRequest.prototype.setOperation = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.xray.app.proxyman.command.AlterInboundRequest} returns this
*/
proto.xray.app.proxyman.command.AlterInboundRequest.prototype.clearOperation = function() {
return this.setOperation(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.xray.app.proxyman.command.AlterInboundRequest.prototype.hasOperation = 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.xray.app.proxyman.command.AlterInboundResponse.prototype.toObject = function(opt_includeInstance) {
return proto.xray.app.proxyman.command.AlterInboundResponse.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.xray.app.proxyman.command.AlterInboundResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.xray.app.proxyman.command.AlterInboundResponse.toObject = function(includeInstance, msg) {
var f, obj = {
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.xray.app.proxyman.command.AlterInboundResponse}
*/
proto.xray.app.proxyman.command.AlterInboundResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.xray.app.proxyman.command.AlterInboundResponse;
return proto.xray.app.proxyman.command.AlterInboundResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.xray.app.proxyman.command.AlterInboundResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.xray.app.proxyman.command.AlterInboundResponse}
*/
proto.xray.app.proxyman.command.AlterInboundResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.xray.app.proxyman.command.AlterInboundResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.xray.app.proxyman.command.AlterInboundResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.xray.app.proxyman.command.AlterInboundResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.xray.app.proxyman.command.AlterInboundResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
};
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.xray.app.proxyman.command.AddOutboundRequest.prototype.toObject = function(opt_includeInstance) {
return proto.xray.app.proxyman.command.AddOutboundRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {b