protobuf-platform 1.2.542 → 1.2.543

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.
@@ -70,6 +70,7 @@ message MirrorCountriesRequest {
70
70
  optional string environment = 1;
71
71
  optional string type = 2;
72
72
  repeated string countries = 3;
73
+ optional string domain = 4;
73
74
  }
74
75
  message CountriesRequest {
75
76
  optional string name = 1;
@@ -2225,7 +2225,8 @@ proto.config.MirrorCountriesRequest.toObject = function(includeInstance, msg) {
2225
2225
  var f, obj = {
2226
2226
  environment: jspb.Message.getFieldWithDefault(msg, 1, ""),
2227
2227
  type: jspb.Message.getFieldWithDefault(msg, 2, ""),
2228
- countriesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
2228
+ countriesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
2229
+ domain: jspb.Message.getFieldWithDefault(msg, 4, "")
2229
2230
  };
2230
2231
 
2231
2232
  if (includeInstance) {
@@ -2274,6 +2275,10 @@ proto.config.MirrorCountriesRequest.deserializeBinaryFromReader = function(msg,
2274
2275
  var value = /** @type {string} */ (reader.readString());
2275
2276
  msg.addCountries(value);
2276
2277
  break;
2278
+ case 4:
2279
+ var value = /** @type {string} */ (reader.readString());
2280
+ msg.setDomain(value);
2281
+ break;
2277
2282
  default:
2278
2283
  reader.skipField();
2279
2284
  break;
@@ -2324,6 +2329,13 @@ proto.config.MirrorCountriesRequest.serializeBinaryToWriter = function(message,
2324
2329
  f
2325
2330
  );
2326
2331
  }
2332
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
2333
+ if (f != null) {
2334
+ writer.writeString(
2335
+ 4,
2336
+ f
2337
+ );
2338
+ }
2327
2339
  };
2328
2340
 
2329
2341
 
@@ -2436,6 +2448,42 @@ proto.config.MirrorCountriesRequest.prototype.clearCountriesList = function() {
2436
2448
  };
2437
2449
 
2438
2450
 
2451
+ /**
2452
+ * optional string domain = 4;
2453
+ * @return {string}
2454
+ */
2455
+ proto.config.MirrorCountriesRequest.prototype.getDomain = function() {
2456
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2457
+ };
2458
+
2459
+
2460
+ /**
2461
+ * @param {string} value
2462
+ * @return {!proto.config.MirrorCountriesRequest} returns this
2463
+ */
2464
+ proto.config.MirrorCountriesRequest.prototype.setDomain = function(value) {
2465
+ return jspb.Message.setField(this, 4, value);
2466
+ };
2467
+
2468
+
2469
+ /**
2470
+ * Clears the field making it undefined.
2471
+ * @return {!proto.config.MirrorCountriesRequest} returns this
2472
+ */
2473
+ proto.config.MirrorCountriesRequest.prototype.clearDomain = function() {
2474
+ return jspb.Message.setField(this, 4, undefined);
2475
+ };
2476
+
2477
+
2478
+ /**
2479
+ * Returns whether this field is set.
2480
+ * @return {boolean}
2481
+ */
2482
+ proto.config.MirrorCountriesRequest.prototype.hasDomain = function() {
2483
+ return jspb.Message.getField(this, 4) != null;
2484
+ };
2485
+
2486
+
2439
2487
 
2440
2488
 
2441
2489
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.542",
3
+ "version": "1.2.543",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {