protobuf-platform 1.2.602 → 1.2.604

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.
@@ -357,6 +357,7 @@ message ModifyMirrorRequest {
357
357
  optional int32 is_active = 5;
358
358
  optional string environment = 6;
359
359
  optional string customer = 7;
360
+ repeated string destination_countries = 8;
360
361
  }
361
362
  message ActivatedMirrorsResponse {
362
363
  repeated string domains = 1;
@@ -1119,7 +1119,7 @@ if (goog.DEBUG && !COMPILED) {
1119
1119
  * @constructor
1120
1120
  */
1121
1121
  proto.config.ModifyMirrorRequest = function(opt_data) {
1122
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1122
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.config.ModifyMirrorRequest.repeatedFields_, null);
1123
1123
  };
1124
1124
  goog.inherits(proto.config.ModifyMirrorRequest, jspb.Message);
1125
1125
  if (goog.DEBUG && !COMPILED) {
@@ -13986,6 +13986,13 @@ proto.config.MirrorStatusResponse.prototype.setStatus = function(value) {
13986
13986
 
13987
13987
 
13988
13988
 
13989
+ /**
13990
+ * List of repeated fields within this message type.
13991
+ * @private {!Array<number>}
13992
+ * @const
13993
+ */
13994
+ proto.config.ModifyMirrorRequest.repeatedFields_ = [8];
13995
+
13989
13996
 
13990
13997
 
13991
13998
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -14023,7 +14030,8 @@ proto.config.ModifyMirrorRequest.toObject = function(includeInstance, msg) {
14023
14030
  status: jspb.Message.getFieldWithDefault(msg, 4, ""),
14024
14031
  isActive: jspb.Message.getFieldWithDefault(msg, 5, 0),
14025
14032
  environment: jspb.Message.getFieldWithDefault(msg, 6, ""),
14026
- customer: jspb.Message.getFieldWithDefault(msg, 7, "")
14033
+ customer: jspb.Message.getFieldWithDefault(msg, 7, ""),
14034
+ destinationCountriesList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f
14027
14035
  };
14028
14036
 
14029
14037
  if (includeInstance) {
@@ -14088,6 +14096,10 @@ proto.config.ModifyMirrorRequest.deserializeBinaryFromReader = function(msg, rea
14088
14096
  var value = /** @type {string} */ (reader.readString());
14089
14097
  msg.setCustomer(value);
14090
14098
  break;
14099
+ case 8:
14100
+ var value = /** @type {string} */ (reader.readString());
14101
+ msg.addDestinationCountries(value);
14102
+ break;
14091
14103
  default:
14092
14104
  reader.skipField();
14093
14105
  break;
@@ -14166,6 +14178,13 @@ proto.config.ModifyMirrorRequest.serializeBinaryToWriter = function(message, wri
14166
14178
  f
14167
14179
  );
14168
14180
  }
14181
+ f = message.getDestinationCountriesList();
14182
+ if (f.length > 0) {
14183
+ writer.writeRepeatedString(
14184
+ 8,
14185
+ f
14186
+ );
14187
+ }
14169
14188
  };
14170
14189
 
14171
14190
 
@@ -14421,6 +14440,43 @@ proto.config.ModifyMirrorRequest.prototype.hasCustomer = function() {
14421
14440
  };
14422
14441
 
14423
14442
 
14443
+ /**
14444
+ * repeated string destination_countries = 8;
14445
+ * @return {!Array<string>}
14446
+ */
14447
+ proto.config.ModifyMirrorRequest.prototype.getDestinationCountriesList = function() {
14448
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 8));
14449
+ };
14450
+
14451
+
14452
+ /**
14453
+ * @param {!Array<string>} value
14454
+ * @return {!proto.config.ModifyMirrorRequest} returns this
14455
+ */
14456
+ proto.config.ModifyMirrorRequest.prototype.setDestinationCountriesList = function(value) {
14457
+ return jspb.Message.setField(this, 8, value || []);
14458
+ };
14459
+
14460
+
14461
+ /**
14462
+ * @param {string} value
14463
+ * @param {number=} opt_index
14464
+ * @return {!proto.config.ModifyMirrorRequest} returns this
14465
+ */
14466
+ proto.config.ModifyMirrorRequest.prototype.addDestinationCountries = function(value, opt_index) {
14467
+ return jspb.Message.addToRepeatedField(this, 8, value, opt_index);
14468
+ };
14469
+
14470
+
14471
+ /**
14472
+ * Clears the list making it empty but non-null.
14473
+ * @return {!proto.config.ModifyMirrorRequest} returns this
14474
+ */
14475
+ proto.config.ModifyMirrorRequest.prototype.clearDestinationCountriesList = function() {
14476
+ return this.setDestinationCountriesList([]);
14477
+ };
14478
+
14479
+
14424
14480
 
14425
14481
  /**
14426
14482
  * List of repeated fields within this message type.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.602",
3
+ "version": "1.2.604",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {