UNPKG

@adempiere/grpc-dictionary-client

Version:

ADempiere Dictionary Client write in Javascript for gRPC service

1,598 lines (1,424 loc) 247 kB
// source: proto/dictionary.proto /** * @fileoverview * @enhanceable * @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! var jspb = require('google-protobuf'); var goog = jspb; var global = Function('return this')(); goog.exportSymbol('proto.dictionary.ApplicationRequest', null, global); goog.exportSymbol('proto.dictionary.Browser', null, global); goog.exportSymbol('proto.dictionary.ContextInfo', null, global); goog.exportSymbol('proto.dictionary.EntityRequest', null, global); goog.exportSymbol('proto.dictionary.Field', null, global); goog.exportSymbol('proto.dictionary.FieldCondition', null, global); goog.exportSymbol('proto.dictionary.FieldDefinition', null, global); goog.exportSymbol('proto.dictionary.FieldGroup', null, global); goog.exportSymbol('proto.dictionary.FieldRequest', null, global); goog.exportSymbol('proto.dictionary.Form', null, global); goog.exportSymbol('proto.dictionary.MessageText', null, global); goog.exportSymbol('proto.dictionary.Process', null, global); goog.exportSymbol('proto.dictionary.Reference', null, global); goog.exportSymbol('proto.dictionary.ReferenceRequest', null, global); goog.exportSymbol('proto.dictionary.ReportExportType', null, global); goog.exportSymbol('proto.dictionary.Tab', null, global); goog.exportSymbol('proto.dictionary.ValidationRule', null, global); goog.exportSymbol('proto.dictionary.ValidationRuleRequest', null, global); goog.exportSymbol('proto.dictionary.Window', null, global); goog.exportSymbol('proto.dictionary.ZoomWindow', 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.dictionary.ApplicationRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.dictionary.ApplicationRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.dictionary.ApplicationRequest.displayName = 'proto.dictionary.ApplicationRequest'; } /** * 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.dictionary.EntityRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.dictionary.EntityRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.dictionary.EntityRequest.displayName = 'proto.dictionary.EntityRequest'; } /** * 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.dictionary.FieldRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.dictionary.FieldRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.dictionary.FieldRequest.displayName = 'proto.dictionary.FieldRequest'; } /** * 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.dictionary.ReferenceRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.dictionary.ReferenceRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.dictionary.ReferenceRequest.displayName = 'proto.dictionary.ReferenceRequest'; } /** * 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.dictionary.ValidationRuleRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.dictionary.ValidationRuleRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.dictionary.ValidationRuleRequest.displayName = 'proto.dictionary.ValidationRuleRequest'; } /** * 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.dictionary.ValidationRule = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.dictionary.ValidationRule, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.dictionary.ValidationRule.displayName = 'proto.dictionary.ValidationRule'; } /** * 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.dictionary.Window = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.dictionary.Window.repeatedFields_, null); }; goog.inherits(proto.dictionary.Window, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.dictionary.Window.displayName = 'proto.dictionary.Window'; } /** * 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.dictionary.Tab = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.dictionary.Tab.repeatedFields_, null); }; goog.inherits(proto.dictionary.Tab, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.dictionary.Tab.displayName = 'proto.dictionary.Tab'; } /** * 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.dictionary.Field = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.dictionary.Field, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.dictionary.Field.displayName = 'proto.dictionary.Field'; } /** * 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.dictionary.ContextInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.dictionary.ContextInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.dictionary.ContextInfo.displayName = 'proto.dictionary.ContextInfo'; } /** * 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.dictionary.MessageText = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.dictionary.MessageText, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.dictionary.MessageText.displayName = 'proto.dictionary.MessageText'; } /** * 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.dictionary.FieldGroup = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.dictionary.FieldGroup, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.dictionary.FieldGroup.displayName = 'proto.dictionary.FieldGroup'; } /** * 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.dictionary.FieldDefinition = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.dictionary.FieldDefinition.repeatedFields_, null); }; goog.inherits(proto.dictionary.FieldDefinition, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.dictionary.FieldDefinition.displayName = 'proto.dictionary.FieldDefinition'; } /** * 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.dictionary.FieldCondition = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.dictionary.FieldCondition, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.dictionary.FieldCondition.displayName = 'proto.dictionary.FieldCondition'; } /** * 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.dictionary.Process = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.dictionary.Process.repeatedFields_, null); }; goog.inherits(proto.dictionary.Process, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.dictionary.Process.displayName = 'proto.dictionary.Process'; } /** * 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.dictionary.Form = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.dictionary.Form, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.dictionary.Form.displayName = 'proto.dictionary.Form'; } /** * 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.dictionary.Browser = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.dictionary.Browser.repeatedFields_, null); }; goog.inherits(proto.dictionary.Browser, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.dictionary.Browser.displayName = 'proto.dictionary.Browser'; } /** * 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.dictionary.ZoomWindow = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.dictionary.ZoomWindow, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.dictionary.ZoomWindow.displayName = 'proto.dictionary.ZoomWindow'; } /** * 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.dictionary.Reference = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.dictionary.Reference.repeatedFields_, null); }; goog.inherits(proto.dictionary.Reference, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.dictionary.Reference.displayName = 'proto.dictionary.Reference'; } /** * 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.dictionary.ReportExportType = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.dictionary.ReportExportType, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.dictionary.ReportExportType.displayName = 'proto.dictionary.ReportExportType'; } 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.dictionary.ApplicationRequest.prototype.toObject = function(opt_includeInstance) { return proto.dictionary.ApplicationRequest.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.dictionary.ApplicationRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.dictionary.ApplicationRequest.toObject = function(includeInstance, msg) { var f, obj = { sessionuuid: jspb.Message.getFieldWithDefault(msg, 1, ""), language: 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.dictionary.ApplicationRequest} */ proto.dictionary.ApplicationRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.dictionary.ApplicationRequest; return proto.dictionary.ApplicationRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.dictionary.ApplicationRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.dictionary.ApplicationRequest} */ proto.dictionary.ApplicationRequest.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.setSessionuuid(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setLanguage(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.dictionary.ApplicationRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.dictionary.ApplicationRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.dictionary.ApplicationRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.dictionary.ApplicationRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getSessionuuid(); if (f.length > 0) { writer.writeString( 1, f ); } f = message.getLanguage(); if (f.length > 0) { writer.writeString( 2, f ); } }; /** * optional string sessionUuid = 1; * @return {string} */ proto.dictionary.ApplicationRequest.prototype.getSessionuuid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.dictionary.ApplicationRequest} returns this */ proto.dictionary.ApplicationRequest.prototype.setSessionuuid = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** * optional string language = 2; * @return {string} */ proto.dictionary.ApplicationRequest.prototype.getLanguage = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.dictionary.ApplicationRequest} returns this */ proto.dictionary.ApplicationRequest.prototype.setLanguage = 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.dictionary.EntityRequest.prototype.toObject = function(opt_includeInstance) { return proto.dictionary.EntityRequest.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.dictionary.EntityRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.dictionary.EntityRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, 0), uuid: jspb.Message.getFieldWithDefault(msg, 2, ""), applicationrequest: (f = msg.getApplicationrequest()) && proto.dictionary.ApplicationRequest.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.dictionary.EntityRequest} */ proto.dictionary.EntityRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.dictionary.EntityRequest; return proto.dictionary.EntityRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.dictionary.EntityRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.dictionary.EntityRequest} */ proto.dictionary.EntityRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setId(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setUuid(value); break; case 3: var value = new proto.dictionary.ApplicationRequest; reader.readMessage(value,proto.dictionary.ApplicationRequest.deserializeBinaryFromReader); msg.setApplicationrequest(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.dictionary.EntityRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.dictionary.EntityRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.dictionary.EntityRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.dictionary.EntityRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f !== 0) { writer.writeInt32( 1, f ); } f = message.getUuid(); if (f.length > 0) { writer.writeString( 2, f ); } f = message.getApplicationrequest(); if (f != null) { writer.writeMessage( 3, f, proto.dictionary.ApplicationRequest.serializeBinaryToWriter ); } }; /** * optional int32 id = 1; * @return {number} */ proto.dictionary.EntityRequest.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.dictionary.EntityRequest} returns this */ proto.dictionary.EntityRequest.prototype.setId = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; /** * optional string uuid = 2; * @return {string} */ proto.dictionary.EntityRequest.prototype.getUuid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.dictionary.EntityRequest} returns this */ proto.dictionary.EntityRequest.prototype.setUuid = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * optional ApplicationRequest applicationRequest = 3; * @return {?proto.dictionary.ApplicationRequest} */ proto.dictionary.EntityRequest.prototype.getApplicationrequest = function() { return /** @type{?proto.dictionary.ApplicationRequest} */ ( jspb.Message.getWrapperField(this, proto.dictionary.ApplicationRequest, 3)); }; /** * @param {?proto.dictionary.ApplicationRequest|undefined} value * @return {!proto.dictionary.EntityRequest} returns this */ proto.dictionary.EntityRequest.prototype.setApplicationrequest = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. * @return {!proto.dictionary.EntityRequest} returns this */ proto.dictionary.EntityRequest.prototype.clearApplicationrequest = function() { return this.setApplicationrequest(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.dictionary.EntityRequest.prototype.hasApplicationrequest = function() { return jspb.Message.getField(this, 3) != 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.dictionary.FieldRequest.prototype.toObject = function(opt_includeInstance) { return proto.dictionary.FieldRequest.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.dictionary.FieldRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.dictionary.FieldRequest.toObject = function(includeInstance, msg) { var f, obj = { applicationrequest: (f = msg.getApplicationrequest()) && proto.dictionary.ApplicationRequest.toObject(includeInstance, f), fielduuid: jspb.Message.getFieldWithDefault(msg, 2, ""), columnuuid: jspb.Message.getFieldWithDefault(msg, 3, ""), elementuuid: jspb.Message.getFieldWithDefault(msg, 4, ""), tablename: jspb.Message.getFieldWithDefault(msg, 5, ""), columnname: jspb.Message.getFieldWithDefault(msg, 6, ""), elementcolumnname: jspb.Message.getFieldWithDefault(msg, 7, "") }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.dictionary.FieldRequest} */ proto.dictionary.FieldRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.dictionary.FieldRequest; return proto.dictionary.FieldRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.dictionary.FieldRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.dictionary.FieldRequest} */ proto.dictionary.FieldRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.dictionary.ApplicationRequest; reader.readMessage(value,proto.dictionary.ApplicationRequest.deserializeBinaryFromReader); msg.setApplicationrequest(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setFielduuid(value); break; case 3: var value = /** @type {string} */ (reader.readString()); msg.setColumnuuid(value); break; case 4: var value = /** @type {string} */ (reader.readString()); msg.setElementuuid(value); break; case 5: var value = /** @type {string} */ (reader.readString()); msg.setTablename(value); break; case 6: var value = /** @type {string} */ (reader.readString()); msg.setColumnname(value); break; case 7: var value = /** @type {string} */ (reader.readString()); msg.setElementcolumnname(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.dictionary.FieldRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.dictionary.FieldRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.dictionary.FieldRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.dictionary.FieldRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getApplicationrequest(); if (f != null) { writer.writeMessage( 1, f, proto.dictionary.ApplicationRequest.serializeBinaryToWriter ); } f = message.getFielduuid(); if (f.length > 0) { writer.writeString( 2, f ); } f = message.getColumnuuid(); if (f.length > 0) { writer.writeString( 3, f ); } f = message.getElementuuid(); if (f.length > 0) { writer.writeString( 4, f ); } f = message.getTablename(); if (f.length > 0) { writer.writeString( 5, f ); } f = message.getColumnname(); if (f.length > 0) { writer.writeString( 6, f ); } f = message.getElementcolumnname(); if (f.length > 0) { writer.writeString( 7, f ); } }; /** * optional ApplicationRequest applicationRequest = 1; * @return {?proto.dictionary.ApplicationRequest} */ proto.dictionary.FieldRequest.prototype.getApplicationrequest = function() { return /** @type{?proto.dictionary.ApplicationRequest} */ ( jspb.Message.getWrapperField(this, proto.dictionary.ApplicationRequest, 1)); }; /** * @param {?proto.dictionary.ApplicationRequest|undefined} value * @return {!proto.dictionary.FieldRequest} returns this */ proto.dictionary.FieldRequest.prototype.setApplicationrequest = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.dictionary.FieldRequest} returns this */ proto.dictionary.FieldRequest.prototype.clearApplicationrequest = function() { return this.setApplicationrequest(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.dictionary.FieldRequest.prototype.hasApplicationrequest = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional string fieldUuid = 2; * @return {string} */ proto.dictionary.FieldRequest.prototype.getFielduuid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.dictionary.FieldRequest} returns this */ proto.dictionary.FieldRequest.prototype.setFielduuid = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * optional string columnUuid = 3; * @return {string} */ proto.dictionary.FieldRequest.prototype.getColumnuuid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value * @return {!proto.dictionary.FieldRequest} returns this */ proto.dictionary.FieldRequest.prototype.setColumnuuid = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; /** * optional string elementUuid = 4; * @return {string} */ proto.dictionary.FieldRequest.prototype.getElementuuid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value * @return {!proto.dictionary.FieldRequest} returns this */ proto.dictionary.FieldRequest.prototype.setElementuuid = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; /** * optional string tableName = 5; * @return {string} */ proto.dictionary.FieldRequest.prototype.getTablename = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** * @param {string} value * @return {!proto.dictionary.FieldRequest} returns this */ proto.dictionary.FieldRequest.prototype.setTablename = function(value) { return jspb.Message.setProto3StringField(this, 5, value); }; /** * optional string columnName = 6; * @return {string} */ proto.dictionary.FieldRequest.prototype.getColumnname = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); }; /** * @param {string} value * @return {!proto.dictionary.FieldRequest} returns this */ proto.dictionary.FieldRequest.prototype.setColumnname = function(value) { return jspb.Message.setProto3StringField(this, 6, value); }; /** * optional string elementColumnName = 7; * @return {string} */ proto.dictionary.FieldRequest.prototype.getElementcolumnname = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); }; /** * @param {string} value * @return {!proto.dictionary.FieldRequest} returns this */ proto.dictionary.FieldRequest.prototype.setElementcolumnname = function(value) { return jspb.Message.setProto3StringField(this, 7, 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.dictionary.ReferenceRequest.prototype.toObject = function(opt_includeInstance) { return proto.dictionary.ReferenceRequest.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.dictionary.ReferenceRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.dictionary.ReferenceRequest.toObject = function(includeInstance, msg) { var f, obj = { applicationrequest: (f = msg.getApplicationrequest()) && proto.dictionary.ApplicationRequest.toObject(includeInstance, f), referenceuuid: jspb.Message.getFieldWithDefault(msg, 2, ""), columnname: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.dictionary.ReferenceRequest} */ proto.dictionary.ReferenceRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.dictionary.ReferenceRequest; return proto.dictionary.ReferenceRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.dictionary.ReferenceRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.dictionary.ReferenceRequest} */ proto.dictionary.ReferenceRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.dictionary.ApplicationRequest; reader.readMessage(value,proto.dictionary.ApplicationRequest.deserializeBinaryFromReader); msg.setApplicationrequest(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setReferenceuuid(value); break; case 3: var value = /** @type {string} */ (reader.readString()); msg.setColumnname(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.dictionary.ReferenceRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.dictionary.ReferenceRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.dictionary.ReferenceRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.dictionary.ReferenceRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getApplicationrequest(); if (f != null) { writer.writeMessage( 1, f, proto.dictionary.ApplicationRequest.serializeBinaryToWriter ); } f = message.getReferenceuuid(); if (f.length > 0) { writer.writeString( 2, f ); } f = message.getColumnname(); if (f.length > 0) { writer.writeString( 3, f ); } }; /** * optional ApplicationRequest applicationRequest = 1; * @return {?proto.dictionary.ApplicationRequest} */ proto.dictionary.ReferenceRequest.prototype.getApplicationrequest = function() { return /** @type{?proto.dictionary.ApplicationRequest} */ ( jspb.Message.getWrapperField(this, proto.dictionary.ApplicationRequest, 1)); }; /** * @param {?proto.dictionary.ApplicationRequest|undefined} value * @return {!proto.dictionary.ReferenceRequest} returns this */ proto.dictionary.ReferenceRequest.prototype.setApplicationrequest = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.dictionary.ReferenceRequest} returns this */ proto.dictionary.ReferenceRequest.prototype.clearApplicationrequest = function() { return this.setApplicationrequest(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.dictionary.ReferenceRequest.prototype.hasApplicationrequest = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional string referenceUuid = 2; * @return {string} */ proto.dictionary.ReferenceRequest.prototype.getReferenceuuid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.dictionary.ReferenceRequest} returns this */ proto.dictionary.ReferenceRequest.prototype.setReferenceuuid = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * optional string columnName = 3; * @return {string} */ proto.dictionary.ReferenceRequest.prototype.getColumnname = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value * @return {!proto.dictionary.ReferenceRequest} returns this */ proto.dictionary.ReferenceRequest.prototype.setColumnname = function(value) { return jspb.Message.setProto3StringField(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.dictionary.ValidationRuleRequest.prototype.toObject = function(opt_includeInstance) { return proto.dictionary.ValidationRuleRequest.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.dictionary.ValidationRuleRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.dictionary.ValidationRuleRequest.toObject = function(includeInstance, msg) { var f, obj = { applicationrequest: (f = msg.getApplicationrequest()) && proto.dictionary.ApplicationRequest.toObject(includeInstance, f), validationruleuuid: 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.dictionary.ValidationRuleRequest} */ proto.dictionary.ValidationRuleRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.dictionary.ValidationRuleRequest; return proto.dictionary.ValidationRuleRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.dictionary.ValidationRuleRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.dictionary.ValidationRuleRequest} */ proto.dictionary.ValidationRuleRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.dictionary.ApplicationRequest; reader.readMessage(value,proto.dictionary.ApplicationRequest.deserializeBinaryFromReader); msg.setApplicationrequest(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setValidationruleuuid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.dictionary.ValidationRuleRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.dictionary.ValidationRuleRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.dictionary.ValidationRuleRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.dictionary.ValidationRuleRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getApplicationrequest(); if (f != null) { writer.writeMessage( 1, f, proto.dictionary.ApplicationRequest.serializeBinaryToWriter ); } f = message.getValidationruleuuid(); if (f.length > 0) { writer.writeString( 2, f ); } }; /** * optional ApplicationRequest applicationRequest = 1; * @return {?proto.dictionary.ApplicationRequest} */ proto.dictionary.ValidationRuleRequest.prototype.getApplicationrequest = function() { return /** @type{?proto.dictionary.ApplicationRequest} */ ( jspb.Message.getWrapperField(this, proto.dictionary.ApplicationRequest, 1)); }; /** * @param {?proto.dictionary.ApplicationRequest|undefined} value * @return {!proto.dictionary.ValidationRuleRequest} returns this */ proto.dictionary.ValidationRuleRequest.prototype.setApplicationrequest = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.dictionary.ValidationRuleRequest} returns this */ proto.dictionary.ValidationRuleRequest.prototype.clearApplicationrequest = function() { return this.setApplicationrequest(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.dictionary.ValidationRuleRequest.prototype.hasApplicationrequest = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional string validationRuleUuid = 2; * @return {string} */ proto.dictionary.ValidationRuleRequest.prototype.getValidationruleuuid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.dictionary.ValidationRuleRequest} returns this */ proto.dictionary.ValidationRuleRequest.prototype.setValidationruleuuid = 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.dictionary.ValidationRule.prototype.toObject = function(opt_includeInstance) { return proto.dictionary.ValidationRule.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.dictionary.ValidationRule} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.dictionary.ValidationRule.toObject = function(includeInstance, msg) { var f, obj = { validationruleuuid: jspb.Message.getFieldWithDefault(msg, 1, ""), validationcode: jspb.Message.getFieldWithDefault(msg, 2, ""), name: jspb.Message.getFieldWithDefault(msg, 3, ""), description: jspb.Message.getFieldWithDefault(msg, 4, ""), type: jspb.Message.getFieldWithDefault(msg, 5, "") }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize