text: // source: common_model.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!
  /* eslint-disable */
  // @ts-nocheck
  
  var jspb = require('google-protobuf');
  var goog = jspb;
  var global = Function('return this')();
  
  var google_protobuf_wrappers_pb = require('google-protobuf/google/protobuf/wrappers_pb.js');
  goog.object.extend(proto, google_protobuf_wrappers_pb);
  var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
  goog.object.extend(proto, google_protobuf_timestamp_pb);
  goog.exportSymbol('proto.com.elarian.hera.proto.AppConnectionProps', null, global);
  goog.exportSymbol('proto.com.elarian.hera.proto.Cash', null, global);
  goog.exportSymbol('proto.com.elarian.hera.proto.ChannelNumberProvider', null, global);
  goog.exportSymbol('proto.com.elarian.hera.proto.CustomerEventDirection', null, global);
  goog.exportSymbol('proto.com.elarian.hera.proto.CustomerIndex', null, global);
  goog.exportSymbol('proto.com.elarian.hera.proto.CustomerNumber', null, global);
  goog.exportSymbol('proto.com.elarian.hera.proto.CustomerNumberProvider', null, global);
  goog.exportSymbol('proto.com.elarian.hera.proto.CustomerRequestOrigin', null, global);
  goog.exportSymbol('proto.com.elarian.hera.proto.DataMapValue', null, global);
  goog.exportSymbol('proto.com.elarian.hera.proto.DataMapValue.ValueCase', null, global);
  goog.exportSymbol('proto.com.elarian.hera.proto.IndexMapping', null, global);
  goog.exportSymbol('proto.com.elarian.hera.proto.MediaType', 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.com.elarian.hera.proto.DataMapValue = function(opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, proto.com.elarian.hera.proto.DataMapValue.oneofGroups_);
  };
  goog.inherits(proto.com.elarian.hera.proto.DataMapValue, jspb.Message);
  if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.com.elarian.hera.proto.DataMapValue.displayName = 'proto.com.elarian.hera.proto.DataMapValue';
  }
  /**
   * 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.com.elarian.hera.proto.Cash = function(opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
  goog.inherits(proto.com.elarian.hera.proto.Cash, jspb.Message);
  if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.com.elarian.hera.proto.Cash.displayName = 'proto.com.elarian.hera.proto.Cash';
  }
  /**
   * 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.com.elarian.hera.proto.IndexMapping = function(opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
  goog.inherits(proto.com.elarian.hera.proto.IndexMapping, jspb.Message);
  if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.com.elarian.hera.proto.IndexMapping.displayName = 'proto.com.elarian.hera.proto.IndexMapping';
  }
  /**
   * 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.com.elarian.hera.proto.CustomerIndex = function(opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
  goog.inherits(proto.com.elarian.hera.proto.CustomerIndex, jspb.Message);
  if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.com.elarian.hera.proto.CustomerIndex.displayName = 'proto.com.elarian.hera.proto.CustomerIndex';
  }
  /**
   * 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.com.elarian.hera.proto.AppConnectionProps = function(opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
  goog.inherits(proto.com.elarian.hera.proto.AppConnectionProps, jspb.Message);
  if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.com.elarian.hera.proto.AppConnectionProps.displayName = 'proto.com.elarian.hera.proto.AppConnectionProps';
  }
  /**
   * 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.com.elarian.hera.proto.CustomerNumber = function(opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
  goog.inherits(proto.com.elarian.hera.proto.CustomerNumber, jspb.Message);
  if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.com.elarian.hera.proto.CustomerNumber.displayName = 'proto.com.elarian.hera.proto.CustomerNumber';
  }
  
  /**
   * Oneof group definitions for this message. Each group defines the field
   * numbers belonging to that group. When of these fields' value is set, all
   * other fields in the group are cleared. During deserialization, if multiple
   * fields are encountered for a group, only the last value seen will be kept.
   * @private {!Array<!Array<number>>}
   * @const
   */
  proto.com.elarian.hera.proto.DataMapValue.oneofGroups_ = [[2,3]];
  
  /**
   * @enum {number}
   */
  proto.com.elarian.hera.proto.DataMapValue.ValueCase = {
    VALUE_NOT_SET: 0,
    STRING_VAL: 2,
    BYTES_VAL: 3
  };
  
  /**
   * @return {proto.com.elarian.hera.proto.DataMapValue.ValueCase}
   */
  proto.com.elarian.hera.proto.DataMapValue.prototype.getValueCase = function() {
    return /** @type {proto.com.elarian.hera.proto.DataMapValue.ValueCase} */(jspb.Message.computeOneofCase(this, proto.com.elarian.hera.proto.DataMapValue.oneofGroups_[0]));
  };
  
  
  
  if (jspb.Message.GENERATE_TO_OBJECT) {
  /**
   * Creates an object representation of this proto.
   * Field names that are reserved in JavaScript and will be renamed to pb_name.
   * Optional fields that are not set will be set to undefined.
   * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
   * For the list of reserved names please see:
   *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
   * @param {boolean=} opt_includeInstance Deprecated. whether to include the
   *     JSPB instance for transitional soy proto support:
   *     http://goto/soy-param-migration
   * @return {!Object}
   */
  proto.com.elarian.hera.proto.DataMapValue.prototype.toObject = function(opt_includeInstance) {
    return proto.com.elarian.hera.proto.DataMapValue.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.com.elarian.hera.proto.DataMapValue} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.com.elarian.hera.proto.DataMapValue.toObject = function(includeInstance, msg) {
    var f, obj = {
      stringVal: jspb.Message.getFieldWithDefault(msg, 2, ""),
      bytesVal: msg.getBytesVal_asB64()
    };
  
    if (includeInstance) {
      obj.$jspbMessageInstance = msg;
    }
    return obj;
  };
  }
  
  
  /**
   * Deserializes binary data (in protobuf wire format).
   * @param {jspb.ByteSource} bytes The bytes to deserialize.
   * @return {!proto.com.elarian.hera.proto.DataMapValue}
   */
  proto.com.elarian.hera.proto.DataMapValue.deserializeBinary = function(bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.com.elarian.hera.proto.DataMapValue;
    return proto.com.elarian.hera.proto.DataMapValue.deserializeBinaryFromReader(msg, reader);
  };
  
  
  /**
   * Deserializes binary data (in protobuf wire format) from the
   * given reader into the given message object.
   * @param {!proto.com.elarian.hera.proto.DataMapValue} msg The message object to deserialize into.
   * @param {!jspb.BinaryReader} reader The BinaryReader to use.
   * @return {!proto.com.elarian.hera.proto.DataMapValue}
   */
  proto.com.elarian.hera.proto.DataMapValue.deserializeBinaryFromReader = function(msg, reader) {
    while (reader.nextField()) {
      if (reader.isEndGroup()) {
        break;
      }
      var field = reader.getFieldNumber();
      switch (field) {
      case 2:
        var value = /** @type {string} */ (reader.readString());
        msg.setStringVal(value);
        break;
      case 3:
        var value = /** @type {!Uint8Array} */ (reader.readBytes());
        msg.setBytesVal(value);
        break;
      default:
        reader.skipField();
        break;
      }
    }
    return msg;
  };
  
  
  /**
   * Serializes the message to binary data (in protobuf wire format).
   * @return {!Uint8Array}
   */
  proto.com.elarian.hera.proto.DataMapValue.prototype.serializeBinary = function() {
    var writer = new jspb.BinaryWriter();
    proto.com.elarian.hera.proto.DataMapValue.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
  };
  
  
  /**
   * Serializes the given message to binary data (in protobuf wire
   * format), writing to the given BinaryWriter.
   * @param {!proto.com.elarian.hera.proto.DataMapValue} message
   * @param {!jspb.BinaryWriter} writer
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.com.elarian.hera.proto.DataMapValue.serializeBinaryToWriter = function(message, writer) {
    var f = undefined;
    f = /** @type {string} */ (jspb.Message.getField(message, 2));
    if (f != null) {
      writer.writeString(
        2,
        f
      );
    }
    f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 3));
    if (f != null) {
      writer.writeBytes(
        3,
        f
      );
    }
  };
  
  
  /**
   * optional string string_val = 2;
   * @return {string}
   */
  proto.com.elarian.hera.proto.DataMapValue.prototype.getStringVal = function() {
    return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
  };
  
  
  /**
   * @param {string} value
   * @return {!proto.com.elarian.hera.proto.DataMapValue} returns this
   */
  proto.com.elarian.hera.proto.DataMapValue.prototype.setStringVal = function(value) {
    return jspb.Message.setOneofField(this, 2, proto.com.elarian.hera.proto.DataMapValue.oneofGroups_[0], value);
  };
  
  
  /**
   * Clears the field making it undefined.
   * @return {!proto.com.elarian.hera.proto.DataMapValue} returns this
   */
  proto.com.elarian.hera.proto.DataMapValue.prototype.clearStringVal = function() {
    return jspb.Message.setOneofField(this, 2, proto.com.elarian.hera.proto.DataMapValue.oneofGroups_[0], undefined);
  };
  
  
  /**
   * Returns whether this field is set.
   * @return {boolean}
   */
  proto.com.elarian.hera.proto.DataMapValue.prototype.hasStringVal = function() {
    return jspb.Message.getField(this, 2) != null;
  };
  
  
  /**
   * optional bytes bytes_val = 3;
   * @return {!(string|Uint8Array)}
   */
  proto.com.elarian.hera.proto.DataMapValue.prototype.getBytesVal = function() {
    return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
  };
  
  
  /**
   * optional bytes bytes_val = 3;
   * This is a type-conversion wrapper around `getBytesVal()`
   * @return {string}
   */
  proto.com.elarian.hera.proto.DataMapValue.prototype.getBytesVal_asB64 = function() {
    return /** @type {string} */ (jspb.Message.bytesAsB64(
        this.getBytesVal()));
  };
  
  
  /**
   * optional bytes bytes_val = 3;
   * Note that Uint8Array is not supported on all browsers.
   * @see http://caniuse.com/Uint8Array
   * This is a type-conversion wrapper around `getBytesVal()`
   * @return {!Uint8Array}
   */
  proto.com.elarian.hera.proto.DataMapValue.prototype.getBytesVal_asU8 = function() {
    return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
        this.getBytesVal()));
  };
  
  
  /**
   * @param {!(string|Uint8Array)} value
   * @return {!proto.com.elarian.hera.proto.DataMapValue} returns this
   */
  proto.com.elarian.hera.proto.DataMapValue.prototype.setBytesVal = function(value) {
    return jspb.Message.setOneofField(this, 3, proto.com.elarian.hera.proto.DataMapValue.oneofGroups_[0], value);
  };
  
  
  /**
   * Clears the field making it undefined.
   * @return {!proto.com.elarian.hera.proto.DataMapValue} returns this
   */
  proto.com.elarian.hera.proto.DataMapValue.prototype.clearBytesVal = function() {
    return jspb.Message.setOneofField(this, 3, proto.com.elarian.hera.proto.DataMapValue.oneofGroups_[0], undefined);
  };
  
  
  /**
   * Returns whether this field is set.
   * @return {boolean}
   */
  proto.com.elarian.hera.proto.DataMapValue.prototype.hasBytesVal = 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.com.elarian.hera.proto.Cash.prototype.toObject = function(opt_includeInstance) {
    return proto.com.elarian.hera.proto.Cash.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.com.elarian.hera.proto.Cash} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.com.elarian.hera.proto.Cash.toObject = function(includeInstance, msg) {
    var f, obj = {
      currencyCode: jspb.Message.getFieldWithDefault(msg, 1, ""),
      amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0)
    };
  
    if (includeInstance) {
      obj.$jspbMessageInstance = msg;
    }
    return obj;
  };
  }
  
  
  /**
   * Deserializes binary data (in protobuf wire format).
   * @param {jspb.ByteSource} bytes The bytes to deserialize.
   * @return {!proto.com.elarian.hera.proto.Cash}
   */
  proto.com.elarian.hera.proto.Cash.deserializeBinary = function(bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.com.elarian.hera.proto.Cash;
    return proto.com.elarian.hera.proto.Cash.deserializeBinaryFromReader(msg, reader);
  };
  
  
  /**
   * Deserializes binary data (in protobuf wire format) from the
   * given reader into the given message object.
   * @param {!proto.com.elarian.hera.proto.Cash} msg The message object to deserialize into.
   * @param {!jspb.BinaryReader} reader The BinaryReader to use.
   * @return {!proto.com.elarian.hera.proto.Cash}
   */
  proto.com.elarian.hera.proto.Cash.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.setCurrencyCode(value);
        break;
      case 2:
        var value = /** @type {number} */ (reader.readDouble());
        msg.setAmount(value);
        break;
      default:
        reader.skipField();
        break;
      }
    }
    return msg;
  };
  
  
  /**
   * Serializes the message to binary data (in protobuf wire format).
   * @return {!Uint8Array}
   */
  proto.com.elarian.hera.proto.Cash.prototype.serializeBinary = function() {
    var writer = new jspb.BinaryWriter();
    proto.com.elarian.hera.proto.Cash.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
  };
  
  
  /**
   * Serializes the given message to binary data (in protobuf wire
   * format), writing to the given BinaryWriter.
   * @param {!proto.com.elarian.hera.proto.Cash} message
   * @param {!jspb.BinaryWriter} writer
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.com.elarian.hera.proto.Cash.serializeBinaryToWriter = function(message, writer) {
    var f = undefined;
    f = message.getCurrencyCode();
    if (f.length > 0) {
      writer.writeString(
        1,
        f
      );
    }
    f = message.getAmount();
    if (f !== 0.0) {
      writer.writeDouble(
        2,
        f
      );
    }
  };
  
  
  /**
   * optional string currency_code = 1;
   * @return {string}
   */
  proto.com.elarian.hera.proto.Cash.prototype.getCurrencyCode = function() {
    return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
  };
  
  
  /**
   * @param {string} value
   * @return {!proto.com.elarian.hera.proto.Cash} returns this
   */
  proto.com.elarian.hera.proto.Cash.prototype.setCurrencyCode = function(value) {
    return jspb.Message.setProto3StringField(this, 1, value);
  };
  
  
  /**
   * optional double amount = 2;
   * @return {number}
   */
  proto.com.elarian.hera.proto.Cash.prototype.getAmount = function() {
    return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
  };
  
  
  /**
   * @param {number} value
   * @return {!proto.com.elarian.hera.proto.Cash} returns this
   */
  proto.com.elarian.hera.proto.Cash.prototype.setAmount = function(value) {
    return jspb.Message.setProto3FloatField(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.com.elarian.hera.proto.IndexMapping.prototype.toObject = function(opt_includeInstance) {
    return proto.com.elarian.hera.proto.IndexMapping.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.com.elarian.hera.proto.IndexMapping} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.com.elarian.hera.proto.IndexMapping.toObject = function(includeInstance, msg) {
    var f, obj = {
      key: jspb.Message.getFieldWithDefault(msg, 1, ""),
      value: (f = msg.getValue()) && google_protobuf_wrappers_pb.StringValue.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.com.elarian.hera.proto.IndexMapping}
   */
  proto.com.elarian.hera.proto.IndexMapping.deserializeBinary = function(bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.com.elarian.hera.proto.IndexMapping;
    return proto.com.elarian.hera.proto.IndexMapping.deserializeBinaryFromReader(msg, reader);
  };
  
  
  /**
   * Deserializes binary data (in protobuf wire format) from the
   * given reader into the given message object.
   * @param {!proto.com.elarian.hera.proto.IndexMapping} msg The message object to deserialize into.
   * @param {!jspb.BinaryReader} reader The BinaryReader to use.
   * @return {!proto.com.elarian.hera.proto.IndexMapping}
   */
  proto.com.elarian.hera.proto.IndexMapping.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.setKey(value);
        break;
      case 2:
        var value = new google_protobuf_wrappers_pb.StringValue;
        reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
        msg.setValue(value);
        break;
      default:
        reader.skipField();
        break;
      }
    }
    return msg;
  };
  
  
  /**
   * Serializes the message to binary data (in protobuf wire format).
   * @return {!Uint8Array}
   */
  proto.com.elarian.hera.proto.IndexMapping.prototype.serializeBinary = function() {
    var writer = new jspb.BinaryWriter();
    proto.com.elarian.hera.proto.IndexMapping.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
  };
  
  
  /**
   * Serializes the given message to binary data (in protobuf wire
   * format), writing to the given BinaryWriter.
   * @param {!proto.com.elarian.hera.proto.IndexMapping} message
   * @param {!jspb.BinaryWriter} writer
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.com.elarian.hera.proto.IndexMapping.serializeBinaryToWriter = function(message, writer) {
    var f = undefined;
    f = message.getKey();
    if (f.length > 0) {
      writer.writeString(
        1,
        f
      );
    }
    f = message.getValue();
    if (f != null) {
      writer.writeMessage(
        2,
        f,
        google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
      );
    }
  };
  
  
  /**
   * optional string key = 1;
   * @return {string}
   */
  proto.com.elarian.hera.proto.IndexMapping.prototype.getKey = function() {
    return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
  };
  
  
  /**
   * @param {string} value
   * @return {!proto.com.elarian.hera.proto.IndexMapping} returns this
   */
  proto.com.elarian.hera.proto.IndexMapping.prototype.setKey = function(value) {
    return jspb.Message.setProto3StringField(this, 1, value);
  };
  
  
  /**
   * optional google.protobuf.StringValue value = 2;
   * @return {?proto.google.protobuf.StringValue}
   */
  proto.com.elarian.hera.proto.IndexMapping.prototype.getValue = function() {
    return /** @type{?proto.google.protobuf.StringValue} */ (
      jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
  };
  
  
  /**
   * @param {?proto.google.protobuf.StringValue|undefined} value
   * @return {!proto.com.elarian.hera.proto.IndexMapping} returns this
  */
  proto.com.elarian.hera.proto.IndexMapping.prototype.setValue = function(value) {
    return jspb.Message.setWrapperField(this, 2, value);
  };
  
  
  /**
   * Clears the message field making it undefined.
   * @return {!proto.com.elarian.hera.proto.IndexMapping} returns this
   */
  proto.com.elarian.hera.proto.IndexMapping.prototype.clearValue = function() {
    return this.setValue(undefined);
  };
  
  
  /**
   * Returns whether this field is set.
   * @return {boolean}
   */
  proto.com.elarian.hera.proto.IndexMapping.prototype.hasValue = 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.com.elarian.hera.proto.CustomerIndex.prototype.toObject = function(opt_includeInstance) {
    return proto.com.elarian.hera.proto.CustomerIndex.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.com.elarian.hera.proto.CustomerIndex} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.com.elarian.hera.proto.CustomerIndex.toObject = function(includeInstance, msg) {
    var f, obj = {
      mapping: (f = msg.getMapping()) && proto.com.elarian.hera.proto.IndexMapping.toObject(includeInstance, f),
      expiresAt: (f = msg.getExpiresAt()) && google_protobuf_timestamp_pb.Timestamp.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.com.elarian.hera.proto.CustomerIndex}
   */
  proto.com.elarian.hera.proto.CustomerIndex.deserializeBinary = function(bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.com.elarian.hera.proto.CustomerIndex;
    return proto.com.elarian.hera.proto.CustomerIndex.deserializeBinaryFromReader(msg, reader);
  };
  
  
  /**
   * Deserializes binary data (in protobuf wire format) from the
   * given reader into the given message object.
   * @param {!proto.com.elarian.hera.proto.CustomerIndex} msg The message object to deserialize into.
   * @param {!jspb.BinaryReader} reader The BinaryReader to use.
   * @return {!proto.com.elarian.hera.proto.CustomerIndex}
   */
  proto.com.elarian.hera.proto.CustomerIndex.deserializeBinaryFromReader = function(msg, reader) {
    while (reader.nextField()) {
      if (reader.isEndGroup()) {
        break;
      }
      var field = reader.getFieldNumber();
      switch (field) {
      case 1:
        var value = new proto.com.elarian.hera.proto.IndexMapping;
        reader.readMessage(value,proto.com.elarian.hera.proto.IndexMapping.deserializeBinaryFromReader);
        msg.setMapping(value);
        break;
      case 2:
        var value = new google_protobuf_timestamp_pb.Timestamp;
        reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
        msg.setExpiresAt(value);
        break;
      default:
        reader.skipField();
        break;
      }
    }
    return msg;
  };
  
  
  /**
   * Serializes the message to binary data (in protobuf wire format).
   * @return {!Uint8Array}
   */
  proto.com.elarian.hera.proto.CustomerIndex.prototype.serializeBinary = function() {
    var writer = new jspb.BinaryWriter();
    proto.com.elarian.hera.proto.CustomerIndex.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
  };
  
  
  /**
   * Serializes the given message to binary data (in protobuf wire
   * format), writing to the given BinaryWriter.
   * @param {!proto.com.elarian.hera.proto.CustomerIndex} message
   * @param {!jspb.BinaryWriter} writer
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.com.elarian.hera.proto.CustomerIndex.serializeBinaryToWriter = function(message, writer) {
    var f = undefined;
    f = message.getMapping();
    if (f != null) {
      writer.writeMessage(
        1,
        f,
        proto.com.elarian.hera.proto.IndexMapping.serializeBinaryToWriter
      );
    }
    f = message.getExpiresAt();
    if (f != null) {
      writer.writeMessage(
        2,
        f,
        google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
      );
    }
  };
  
  
  /**
   * optional IndexMapping mapping = 1;
   * @return {?proto.com.elarian.hera.proto.IndexMapping}
   */
  proto.com.elarian.hera.proto.CustomerIndex.prototype.getMapping = function() {
    return /** @type{?proto.com.elarian.hera.proto.IndexMapping} */ (
      jspb.Message.getWrapperField(this, proto.com.elarian.hera.proto.IndexMapping, 1));
  };
  
  
  /**
   * @param {?proto.com.elarian.hera.proto.IndexMapping|undefined} value
   * @return {!proto.com.elarian.hera.proto.CustomerIndex} returns this
  */
  proto.com.elarian.hera.proto.CustomerIndex.prototype.setMapping = function(value) {
    return jspb.Message.setWrapperField(this, 1, value);
  };
  
  
  /**
   * Clears the message field making it undefined.
   * @return {!proto.com.elarian.hera.proto.CustomerIndex} returns this
   */
  proto.com.elarian.hera.proto.CustomerIndex.prototype.clearMapping = function() {
    return this.setMapping(undefined);
  };
  
  
  /**
   * Returns whether this field is set.
   * @return {boolean}
   */
  proto.com.elarian.hera.proto.CustomerIndex.prototype.hasMapping = function() {
    return jspb.Message.getField(this, 1) != null;
  };
  
  
  /**
   * optional google.protobuf.Timestamp expires_at = 2;
   * @return {?proto.google.protobuf.Timestamp}
   */
  proto.com.elarian.hera.proto.CustomerIndex.prototype.getExpiresAt = function() {
    return /** @type{?proto.google.protobuf.Timestamp} */ (
      jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2));
  };
  
  
  /**
   * @param {?proto.google.protobuf.Timestamp|undefined} value
   * @return {!proto.com.elarian.hera.proto.CustomerIndex} returns this
  */
  proto.com.elarian.hera.proto.CustomerIndex.prototype.setExpiresAt = function(value) {
    return jspb.Message.setWrapperField(this, 2, value);
  };
  
  
  /**
   * Clears the message field making it undefined.
   * @return {!proto.com.elarian.hera.proto.CustomerIndex} returns this
   */
  proto.com.elarian.hera.proto.CustomerIndex.prototype.clearExpiresAt = function() {
    return this.setExpiresAt(undefined);
  };
  
  
  /**
   * Returns whether this field is set.
   * @return {boolean}
   */
  proto.com.elarian.hera.proto.CustomerIndex.prototype.hasExpiresAt = 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.com.elarian.hera.proto.AppConnectionProps.prototype.toObject = function(opt_includeInstance) {
    return proto.com.elarian.hera.proto.AppConnectionProps.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.com.elarian.hera.proto.AppConnectionProps} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.com.elarian.hera.proto.AppConnectionProps.toObject = function(includeInstance, msg) {
    var f, obj = {
      connectionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
      connectionTime: (f = msg.getConnectionTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
      ipAddress: (f = msg.getIpAddress()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
      simplexMode: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
    };
  
    if (includeInstance) {
      obj.$jspbMessageInstance = msg;
    }
    return obj;
  };
  }
  
  
  /**
   * Deserializes binary data (in protobuf wire format).
   * @param {jspb.ByteSource} bytes The bytes to deserialize.
   * @return {!proto.com.elarian.hera.proto.AppConnectionProps}
   */
  proto.com.elarian.hera.proto.AppConnectionProps.deserializeBinary = function(bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.com.elarian.hera.proto.AppConnectionProps;
    return proto.com.elarian.hera.proto.AppConnectionProps.deserializeBinaryFromReader(msg, reader);
  };
  
  
  /**
   * Deserializes binary data (in protobuf wire format) from the
   * given reader into the given message object.
   * @param {!proto.com.elarian.hera.proto.AppConnectionProps} msg The message object to deserialize into.
   * @param {!jspb.BinaryReader} reader The BinaryReader to use.
   * @return {!proto.com.elarian.hera.proto.AppConnectionProps}
   */
  proto.com.elarian.hera.proto.AppConnectionProps.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.setConnectionId(value);
        break;
      case 2:
        var value = new google_protobuf_timestamp_pb.Timestamp;
        reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
        msg.setConnectionTime(value);
        break;
      case 3:
        var value = new google_protobuf_wrappers_pb.StringValue;
        reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
        msg.setIpAddress(value);
        break;
      case 4:
        var value = /** @type {boolean} */ (reader.readBool());
        msg.setSimplexMode(value);
        break;
      default:
        reader.skipField();
        break;
      }
    }
    return msg;
  };
  
  
  /**
   * Serializes the message to binary data (in protobuf wire format).
   * @return {!Uint8Array}
   */
  proto.com.elarian.hera.proto.AppConnectionProps.prototype.serializeBinary = function() {
    var writer = new jspb.BinaryWriter();
    proto.com.elarian.hera.proto.AppConnectionProps.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
  };
  
  
  /**
   * Serializes the given message to binary data (in protobuf wire
   * format), writing to the given BinaryWriter.
   * @param {!proto.com.elarian.hera.proto.AppConnectionProps} message
   * @param {!jspb.BinaryWriter} writer
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.com.elarian.hera.proto.AppConnectionProps.serializeBinaryToWriter = function(message, writer) {
    var f = undefined;
    f = message.getConnectionId();
    if (f.length > 0) {
      writer.writeString(
        1,
        f
      );
    }
    f = message.getConnectionTime();
    if (f != null) {
      writer.writeMessage(
        2,
        f,
        google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
      );
    }
    f = message.getIpAddress();
    if (f != null) {
      writer.writeMessage(
        3,
        f,
        google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
      );
    }
    f = message.getSimplexMode();
    if (f) {
      writer.writeBool(
        4,
        f
      );
    }
  };
  
  
  /**
   * optional string connection_id = 1;
   * @return {string}
   */
  proto.com.elarian.hera.proto.AppConnectionProps.prototype.getConnectionId = function() {
    return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
  };
  
  
  /**
   * @param {string} value
   * @return {!proto.com.elarian.hera.proto.AppConnectionProps} returns this
   */
  proto.com.elarian.hera.proto.AppConnectionProps.prototype.setConnectionId = function(value) {
    return jspb.Message.setProto3StringField(this, 1, value);
  };
  
  
  /**
   * optional google.protobuf.Timestamp connection_time = 2;
   * @return {?proto.google.protobuf.Timestamp}
   */
  proto.com.elarian.hera.proto.AppConnectionProps.prototype.getConnectionTime = function() {
    return /** @type{?proto.google.protobuf.Timestamp} */ (
      jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2));
  };
  
  
  /**
   * @param {?proto.google.protobuf.Timestamp|undefined} value
   * @return {!proto.com.elarian.hera.proto.AppConnectionProps} returns this
  */
  proto.com.elarian.hera.proto.AppConnectionProps.prototype.setConnectionTime = function(value) {
    return jspb.Message.setWrapperField(this, 2, value);
  };
  
  
  /**
   * Clears the message field making it undefined.
   * @return {!proto.com.elarian.hera.proto.AppConnectionProps} returns this
   */
  proto.com.elarian.hera.proto.AppConnectionProps.prototype.clearConnectionTime = function() {
    return this.setConnectionTime(undefined);
  };
  
  
  /**
   * Returns whether this field is set.
   * @return {boolean}
   */
  proto.com.elarian.hera.proto.AppConnectionProps.prototype.hasConnectionTime = function() {
    return jspb.Message.getField(this, 2) != null;
  };
  
  
  /**
   * optional google.protobuf.StringValue ip_address = 3;
   * @return {?proto.google.protobuf.StringValue}
   */
  proto.com.elarian.hera.proto.AppConnectionProps.prototype.getIpAddress = function() {
    return /** @type{?proto.google.protobuf.StringValue} */ (
      jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
  };
  
  
  /**
   * @param {?proto.google.protobuf.StringValue|undefined} value
   * @return {!proto.com.elarian.hera.proto.AppConnectionProps} returns this
  */
  proto.com.elarian.hera.proto.AppConnectionProps.prototype.setIpAddress = function(value) {
    return jspb.Message.setWrapperField(this, 3, value);
  };
  
  
  /**
   * Clears the message field making it undefined.
   * @return {!proto.com.elarian.hera.proto.AppConnectionProps} returns this
   */
  proto.com.elarian.hera.proto.AppConnectionProps.prototype.clearIpAddress = function() {
    return this.setIpAddress(undefined);
  };
  
  
  /**
   * Returns whether this field is set.
   * @return {boolean}
   */
  proto.com.elarian.hera.proto.AppConnectionProps.prototype.hasIpAddress = function() {
    return jspb.Message.getField(this, 3) != null;
  };
  
  
  /**
   * optional bool simplex_mode = 4;
   * @return {boolean}
   */
  proto.com.elarian.hera.proto.AppConnectionProps.prototype.getSimplexMode = function() {
    return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
  };
  
  
  /**
   * @param {boolean} value
   * @return {!proto.com.elarian.hera.proto.AppConnectionProps} returns this
   */
  proto.com.elarian.hera.proto.AppConnectionProps.prototype.setSimplexMode = function(value) {
    return jspb.Message.setProto3BooleanField(this, 4, 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.com.elarian.hera.proto.CustomerNumber.prototype.toObject = function(opt_includeInstance) {
    return proto.com.elarian.hera.proto.CustomerNumber.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.com.elarian.hera.proto.CustomerNumber} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.com.elarian.hera.proto.CustomerNumber.toObject = function(includeInstance, msg) {
    var f, obj = {
      provider: jspb.Message.getFieldWithDefault(msg, 1, 0),
      number: jspb.Message.getFieldWithDefault(msg, 2, ""),
      partition: (f = msg.getPartition()) && google_protobuf_wrappers_pb.StringValue.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.com.elarian.hera.proto.CustomerNumber}
   */
  proto.com.elarian.hera.proto.CustomerNumber.deserializeBinary = function(bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.com.elarian.hera.proto.CustomerNumber;
    return proto.com.elarian.hera.proto.CustomerNumber.deserializeBinaryFromReader(msg, reader);
  };
  
  
  /**
   * Deserializes binary data (in protobuf wire format) from the
   * given reader into the given message object.
   * @param {!proto.com.elarian.hera.proto.CustomerNumber} msg The message object to deserialize into.
   * @param {!jspb.BinaryReader} reader The BinaryReader to use.
   * @return {!proto.com.elarian.hera.proto.CustomerNumber}
   */
  proto.com.elarian.hera.proto.CustomerNumber.deserializeBinaryFromReader = function(msg, reader) {
    while (reader.nextField()) {
      if (reader.isEndGroup()) {
        break;
      }
      var field = reader.getFieldNumber();
      switch (field) {
      case 1:
        var value = /** @type {!proto.com.elarian.hera.proto.CustomerNumberProvider} */ (reader.readEnum());
        msg.setProvider(value);
        break;
      case 2:
        var value = /** @type {string} */ (reader.readString());
        msg.setNumber(value);
        break;
      case 3:
        var value = new google_protobuf_wrappers_pb.StringValue;
        reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
        msg.setPartition(value);
        break;
      default:
        reader.skipField();
        break;
      }
    }
    return msg;
  };
  
  
  /**
   * Serializes the message to binary data (in protobuf wire format).
   * @return {!Uint8Array}
   */
  proto.com.elarian.hera.proto.CustomerNumber.prototype.serializeBinary = function() {
    var writer = new jspb.BinaryWriter();
    proto.com.elarian.hera.proto.CustomerNumber.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
  };
  
  
  /**
   * Serializes the given message to binary data (in protobuf wire
   * format), writing to the given BinaryWriter.
   * @param {!proto.com.elarian.hera.proto.CustomerNumber} message
   * @param {!jspb.BinaryWriter} writer
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.com.elarian.hera.proto.CustomerNumber.serializeBinaryToWriter = function(message, writer) {
    var f = undefined;
    f = message.getProvider();
    if (f !== 0.0) {
      writer.writeEnum(
        1,
        f
      );
    }
    f = message.getNumber();
    if (f.length > 0) {
      writer.writeString(
        2,
        f
      );
    }
    f = message.getPartition();
    if (f != null) {
      writer.writeMessage(
        3,
        f,
        google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
      );
    }
  };
  
  
  /**
   * optional CustomerNumberProvider provider = 1;
   * @return {!proto.com.elarian.hera.proto.CustomerNumberProvider}
   */
  proto.com.elarian.hera.proto.CustomerNumber.prototype.getProvider = function() {
    return /** @type {!proto.com.elarian.hera.proto.CustomerNumberProvider} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
  };
  
  
  /**
   * @param {!proto.com.elarian.hera.proto.CustomerNumberProvider} value
   * @return {!proto.com.elarian.hera.proto.CustomerNumber} returns this
   */
  proto.com.elarian.hera.proto.CustomerNumber.prototype.setProvider = function(value) {
    return jspb.Message.setProto3EnumField(this, 1, value);
  };
  
  
  /**
   * optional string number = 2;
   * @return {string}
   */
  proto.com.elarian.hera.proto.CustomerNumber.prototype.getNumber = function() {
    return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
  };
  
  
  /**
   * @param {string} value
   * @return {!proto.com.elarian.hera.proto.CustomerNumber} returns this
   */
  proto.com.elarian.hera.proto.CustomerNumber.prototype.setNumber = function(value) {
    return jspb.Message.setProto3StringField(this, 2, value);
  };
  
  
  /**
   * optional google.protobuf.StringValue partition = 3;
   * @return {?proto.google.protobuf.StringValue}
   */
  proto.com.elarian.hera.proto.CustomerNumber.prototype.getPartition = function() {
    return /** @type{?proto.google.protobuf.StringValue} */ (
      jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
  };
  
  
  /**
   * @param {?proto.google.protobuf.StringValue|undefined} value
   * @return {!proto.com.elarian.hera.proto.CustomerNumber} returns this
  */
  proto.com.elarian.hera.proto.CustomerNumber.prototype.setPartition = function(value) {
    return jspb.Message.setWrapperField(this, 3, value);
  };
  
  
  /**
   * Clears the message field making it undefined.
   * @return {!proto.com.elarian.hera.proto.CustomerNumber} returns this
   */
  proto.com.elarian.hera.proto.CustomerNumber.prototype.clearPartition = function() {
    return this.setPartition(undefined);
  };
  
  
  /**
   * Returns whether this field is set.
   * @return {boolean}
   */
  proto.com.elarian.hera.proto.CustomerNumber.prototype.hasPartition = function() {
    return jspb.Message.getField(this, 3) != null;
  };
  
  
  /**
   * @enum {number}
   */
  proto.com.elarian.hera.proto.CustomerNumberProvider = {
    CUSTOMER_NUMBER_PROVIDER_UNSPECIFIED: 0,
    CUSTOMER_NUMBER_PROVIDER_FACEBOOK: 1,
    CUSTOMER_NUMBER_PROVIDER_CELLULAR: 2,
    CUSTOMER_NUMBER_PROVIDER_TELEGRAM: 3,
    CUSTOMER_NUMBER_PROVIDER_APP: 4,
    CUSTOMER_NUMBER_PROVIDER_EMAIL: 5
  };
  
  /**
   * @enum {number}
   */
  proto.com.elarian.hera.proto.ChannelNumberProvider = {
    CHANNEL_NUMBER_PROVIDER_UNSPECIFIED: 0,
    CHANNEL_NUMBER_PROVIDER_AT: 1,
    CHANNEL_NUMBER_PROVIDER_TWILIO: 2,
    CHANNEL_NUMBER_PROVIDER_MAILGUN: 3,
    CHANNEL_NUMBER_PROVIDER_FACEBOOK: 4,
    CHANNEL_NUMBER_PROVIDER_TELEGRAM: 5
  };
  
  /**
   * @enum {number}
   */
  proto.com.elarian.hera.proto.MediaType = {
    MEDIA_TYPE_UNSPECIFIED: 0,
    MEDIA_TYPE_IMAGE: 1,
    MEDIA_TYPE_AUDIO: 2,
    MEDIA_TYPE_VIDEO: 3,
    MEDIA_TYPE_DOCUMENT: 4,
    MEDIA_TYPE_VOICE: 5,
    MEDIA_TYPE_STICKER: 6,
    MEDIA_TYPE_CONTACT: 7
  };
  
  /**
   * @enum {number}
   */
  proto.com.elarian.hera.proto.CustomerEventDirection = {
    CUSTOMER_EVENT_DIRECTION_UNSPECIFIED: 0,
    CUSTOMER_EVENT_DIRECTION_INBOUND: 1,
    CUSTOMER_EVENT_DIRECTION_OUTBOUND: 2
  };
  
  /**
   * @enum {number}
   */
  proto.com.elarian.hera.proto.CustomerRequestOrigin = {
    CUSTOMER_REQUEST_ORIGIN_UNSPECIFIED: 0,
    CUSTOMER_REQUEST_ORIGIN_API_REQUEST: 1,
    CUSTOMER_REQUEST_ORIGIN_CUSTOMER_TAG: 2
  };
  
  goog.object.extend(exports, proto.com.elarian.hera.proto);
  