protobuf-platform 1.0.8 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28,8 +28,8 @@ message SettingsResponse {
28
28
  message ConfigRequest {
29
29
  string environment = 1;
30
30
  string customer = 2;
31
- string serviceKey = 3;
32
- string serviceData = 4;
31
+ string service_key = 3;
32
+ string service_data = 4;
33
33
  }
34
34
  message ConfigStatusResponse {
35
35
  string status = 1;
@@ -899,8 +899,8 @@ proto.config.ConfigRequest.toObject = function(includeInstance, msg) {
899
899
  var f, obj = {
900
900
  environment: jspb.Message.getFieldWithDefault(msg, 1, ""),
901
901
  customer: jspb.Message.getFieldWithDefault(msg, 2, ""),
902
- servicekey: jspb.Message.getFieldWithDefault(msg, 3, ""),
903
- servicedata: jspb.Message.getFieldWithDefault(msg, 4, "")
902
+ serviceKey: jspb.Message.getFieldWithDefault(msg, 3, ""),
903
+ serviceData: jspb.Message.getFieldWithDefault(msg, 4, "")
904
904
  };
905
905
 
906
906
  if (includeInstance) {
@@ -947,11 +947,11 @@ proto.config.ConfigRequest.deserializeBinaryFromReader = function(msg, reader) {
947
947
  break;
948
948
  case 3:
949
949
  var value = /** @type {string} */ (reader.readString());
950
- msg.setServicekey(value);
950
+ msg.setServiceKey(value);
951
951
  break;
952
952
  case 4:
953
953
  var value = /** @type {string} */ (reader.readString());
954
- msg.setServicedata(value);
954
+ msg.setServiceData(value);
955
955
  break;
956
956
  default:
957
957
  reader.skipField();
@@ -996,14 +996,14 @@ proto.config.ConfigRequest.serializeBinaryToWriter = function(message, writer) {
996
996
  f
997
997
  );
998
998
  }
999
- f = message.getServicekey();
999
+ f = message.getServiceKey();
1000
1000
  if (f.length > 0) {
1001
1001
  writer.writeString(
1002
1002
  3,
1003
1003
  f
1004
1004
  );
1005
1005
  }
1006
- f = message.getServicedata();
1006
+ f = message.getServiceData();
1007
1007
  if (f.length > 0) {
1008
1008
  writer.writeString(
1009
1009
  4,
@@ -1050,10 +1050,10 @@ proto.config.ConfigRequest.prototype.setCustomer = function(value) {
1050
1050
 
1051
1051
 
1052
1052
  /**
1053
- * optional string serviceKey = 3;
1053
+ * optional string service_key = 3;
1054
1054
  * @return {string}
1055
1055
  */
1056
- proto.config.ConfigRequest.prototype.getServicekey = function() {
1056
+ proto.config.ConfigRequest.prototype.getServiceKey = function() {
1057
1057
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1058
1058
  };
1059
1059
 
@@ -1062,16 +1062,16 @@ proto.config.ConfigRequest.prototype.getServicekey = function() {
1062
1062
  * @param {string} value
1063
1063
  * @return {!proto.config.ConfigRequest} returns this
1064
1064
  */
1065
- proto.config.ConfigRequest.prototype.setServicekey = function(value) {
1065
+ proto.config.ConfigRequest.prototype.setServiceKey = function(value) {
1066
1066
  return jspb.Message.setProto3StringField(this, 3, value);
1067
1067
  };
1068
1068
 
1069
1069
 
1070
1070
  /**
1071
- * optional string serviceData = 4;
1071
+ * optional string service_data = 4;
1072
1072
  * @return {string}
1073
1073
  */
1074
- proto.config.ConfigRequest.prototype.getServicedata = function() {
1074
+ proto.config.ConfigRequest.prototype.getServiceData = function() {
1075
1075
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1076
1076
  };
1077
1077
 
@@ -1080,7 +1080,7 @@ proto.config.ConfigRequest.prototype.getServicedata = function() {
1080
1080
  * @param {string} value
1081
1081
  * @return {!proto.config.ConfigRequest} returns this
1082
1082
  */
1083
- proto.config.ConfigRequest.prototype.setServicedata = function(value) {
1083
+ proto.config.ConfigRequest.prototype.setServiceData = function(value) {
1084
1084
  return jspb.Message.setProto3StringField(this, 4, value);
1085
1085
  };
1086
1086
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {