protobuf-platform 1.2.699 → 1.2.700

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.
@@ -373,6 +373,7 @@ message MirrorCountriesResponse {
373
373
  enum CloudflareCacheInvalidationAction {
374
374
  CLOUDFLARE_CACHE_INVALIDATION_ACTION_UNSPECIFIED = 0;
375
375
  CLOUDFLARE_CACHE_INVALIDATION_ACTION_BUMP_VERSION = 1;
376
+ CLOUDFLARE_CACHE_INVALIDATION_ACTION_PUBLISH_VERSION = 2;
376
377
  }
377
378
  message CloudflareCacheInvalidationDimension {
378
379
  string key = 1;
@@ -386,6 +387,8 @@ message InvalidateCloudflareCacheRequest {
386
387
  string environment = 1;
387
388
  CloudflareCacheInvalidationAction action = 2;
388
389
  repeated CloudflareCacheInvalidationTarget targets = 3;
390
+ optional int64 published_version = 4;
391
+ optional string customer = 5;
389
392
  }
390
393
  message CloudflareCacheInvalidationTargetResult {
391
394
  string namespace = 1;
@@ -15377,7 +15377,9 @@ proto.config.InvalidateCloudflareCacheRequest.toObject = function(includeInstanc
15377
15377
  environment: jspb.Message.getFieldWithDefault(msg, 1, ""),
15378
15378
  action: jspb.Message.getFieldWithDefault(msg, 2, 0),
15379
15379
  targetsList: jspb.Message.toObjectList(msg.getTargetsList(),
15380
- proto.config.CloudflareCacheInvalidationTarget.toObject, includeInstance)
15380
+ proto.config.CloudflareCacheInvalidationTarget.toObject, includeInstance),
15381
+ publishedVersion: jspb.Message.getFieldWithDefault(msg, 4, 0),
15382
+ customer: jspb.Message.getFieldWithDefault(msg, 5, "")
15381
15383
  };
15382
15384
 
15383
15385
  if (includeInstance) {
@@ -15427,6 +15429,14 @@ proto.config.InvalidateCloudflareCacheRequest.deserializeBinaryFromReader = func
15427
15429
  reader.readMessage(value,proto.config.CloudflareCacheInvalidationTarget.deserializeBinaryFromReader);
15428
15430
  msg.addTargets(value);
15429
15431
  break;
15432
+ case 4:
15433
+ var value = /** @type {number} */ (reader.readInt64());
15434
+ msg.setPublishedVersion(value);
15435
+ break;
15436
+ case 5:
15437
+ var value = /** @type {string} */ (reader.readString());
15438
+ msg.setCustomer(value);
15439
+ break;
15430
15440
  default:
15431
15441
  reader.skipField();
15432
15442
  break;
@@ -15478,6 +15488,20 @@ proto.config.InvalidateCloudflareCacheRequest.serializeBinaryToWriter = function
15478
15488
  proto.config.CloudflareCacheInvalidationTarget.serializeBinaryToWriter
15479
15489
  );
15480
15490
  }
15491
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
15492
+ if (f != null) {
15493
+ writer.writeInt64(
15494
+ 4,
15495
+ f
15496
+ );
15497
+ }
15498
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
15499
+ if (f != null) {
15500
+ writer.writeString(
15501
+ 5,
15502
+ f
15503
+ );
15504
+ }
15481
15505
  };
15482
15506
 
15483
15507
 
@@ -15555,6 +15579,78 @@ proto.config.InvalidateCloudflareCacheRequest.prototype.clearTargetsList = funct
15555
15579
  };
15556
15580
 
15557
15581
 
15582
+ /**
15583
+ * optional int64 published_version = 4;
15584
+ * @return {number}
15585
+ */
15586
+ proto.config.InvalidateCloudflareCacheRequest.prototype.getPublishedVersion = function() {
15587
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
15588
+ };
15589
+
15590
+
15591
+ /**
15592
+ * @param {number} value
15593
+ * @return {!proto.config.InvalidateCloudflareCacheRequest} returns this
15594
+ */
15595
+ proto.config.InvalidateCloudflareCacheRequest.prototype.setPublishedVersion = function(value) {
15596
+ return jspb.Message.setField(this, 4, value);
15597
+ };
15598
+
15599
+
15600
+ /**
15601
+ * Clears the field making it undefined.
15602
+ * @return {!proto.config.InvalidateCloudflareCacheRequest} returns this
15603
+ */
15604
+ proto.config.InvalidateCloudflareCacheRequest.prototype.clearPublishedVersion = function() {
15605
+ return jspb.Message.setField(this, 4, undefined);
15606
+ };
15607
+
15608
+
15609
+ /**
15610
+ * Returns whether this field is set.
15611
+ * @return {boolean}
15612
+ */
15613
+ proto.config.InvalidateCloudflareCacheRequest.prototype.hasPublishedVersion = function() {
15614
+ return jspb.Message.getField(this, 4) != null;
15615
+ };
15616
+
15617
+
15618
+ /**
15619
+ * optional string customer = 5;
15620
+ * @return {string}
15621
+ */
15622
+ proto.config.InvalidateCloudflareCacheRequest.prototype.getCustomer = function() {
15623
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
15624
+ };
15625
+
15626
+
15627
+ /**
15628
+ * @param {string} value
15629
+ * @return {!proto.config.InvalidateCloudflareCacheRequest} returns this
15630
+ */
15631
+ proto.config.InvalidateCloudflareCacheRequest.prototype.setCustomer = function(value) {
15632
+ return jspb.Message.setField(this, 5, value);
15633
+ };
15634
+
15635
+
15636
+ /**
15637
+ * Clears the field making it undefined.
15638
+ * @return {!proto.config.InvalidateCloudflareCacheRequest} returns this
15639
+ */
15640
+ proto.config.InvalidateCloudflareCacheRequest.prototype.clearCustomer = function() {
15641
+ return jspb.Message.setField(this, 5, undefined);
15642
+ };
15643
+
15644
+
15645
+ /**
15646
+ * Returns whether this field is set.
15647
+ * @return {boolean}
15648
+ */
15649
+ proto.config.InvalidateCloudflareCacheRequest.prototype.hasCustomer = function() {
15650
+ return jspb.Message.getField(this, 5) != null;
15651
+ };
15652
+
15653
+
15558
15654
 
15559
15655
  /**
15560
15656
  * List of repeated fields within this message type.
@@ -16066,7 +16162,8 @@ proto.config.InvalidateCloudflareCacheResponse.prototype.clearResultsList = func
16066
16162
  */
16067
16163
  proto.config.CloudflareCacheInvalidationAction = {
16068
16164
  CLOUDFLARE_CACHE_INVALIDATION_ACTION_UNSPECIFIED: 0,
16069
- CLOUDFLARE_CACHE_INVALIDATION_ACTION_BUMP_VERSION: 1
16165
+ CLOUDFLARE_CACHE_INVALIDATION_ACTION_BUMP_VERSION: 1,
16166
+ CLOUDFLARE_CACHE_INVALIDATION_ACTION_PUBLISH_VERSION: 2
16070
16167
  };
16071
16168
 
16072
16169
  goog.object.extend(exports, proto.config);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.699",
3
+ "version": "1.2.700",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {