protobuf-platform 1.2.289 → 1.2.290

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.
@@ -158,6 +158,7 @@ message R2FileRequest {
158
158
  string type = 4;
159
159
  optional string name = 5;
160
160
  optional string folder = 6;
161
+ optional string object_key = 7;
161
162
  }
162
163
  message R2FileResponse {
163
164
  string key = 1;
@@ -5724,7 +5724,8 @@ proto.config.R2FileRequest.toObject = function(includeInstance, msg) {
5724
5724
  file: msg.getFile_asB64(),
5725
5725
  type: jspb.Message.getFieldWithDefault(msg, 4, ""),
5726
5726
  name: jspb.Message.getFieldWithDefault(msg, 5, ""),
5727
- folder: jspb.Message.getFieldWithDefault(msg, 6, "")
5727
+ folder: jspb.Message.getFieldWithDefault(msg, 6, ""),
5728
+ objectKey: jspb.Message.getFieldWithDefault(msg, 7, "")
5728
5729
  };
5729
5730
 
5730
5731
  if (includeInstance) {
@@ -5785,6 +5786,10 @@ proto.config.R2FileRequest.deserializeBinaryFromReader = function(msg, reader) {
5785
5786
  var value = /** @type {string} */ (reader.readString());
5786
5787
  msg.setFolder(value);
5787
5788
  break;
5789
+ case 7:
5790
+ var value = /** @type {string} */ (reader.readString());
5791
+ msg.setObjectKey(value);
5792
+ break;
5788
5793
  default:
5789
5794
  reader.skipField();
5790
5795
  break;
@@ -5856,6 +5861,13 @@ proto.config.R2FileRequest.serializeBinaryToWriter = function(message, writer) {
5856
5861
  f
5857
5862
  );
5858
5863
  }
5864
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
5865
+ if (f != null) {
5866
+ writer.writeString(
5867
+ 7,
5868
+ f
5869
+ );
5870
+ }
5859
5871
  };
5860
5872
 
5861
5873
 
@@ -6027,6 +6039,42 @@ proto.config.R2FileRequest.prototype.hasFolder = function() {
6027
6039
  };
6028
6040
 
6029
6041
 
6042
+ /**
6043
+ * optional string object_key = 7;
6044
+ * @return {string}
6045
+ */
6046
+ proto.config.R2FileRequest.prototype.getObjectKey = function() {
6047
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
6048
+ };
6049
+
6050
+
6051
+ /**
6052
+ * @param {string} value
6053
+ * @return {!proto.config.R2FileRequest} returns this
6054
+ */
6055
+ proto.config.R2FileRequest.prototype.setObjectKey = function(value) {
6056
+ return jspb.Message.setField(this, 7, value);
6057
+ };
6058
+
6059
+
6060
+ /**
6061
+ * Clears the field making it undefined.
6062
+ * @return {!proto.config.R2FileRequest} returns this
6063
+ */
6064
+ proto.config.R2FileRequest.prototype.clearObjectKey = function() {
6065
+ return jspb.Message.setField(this, 7, undefined);
6066
+ };
6067
+
6068
+
6069
+ /**
6070
+ * Returns whether this field is set.
6071
+ * @return {boolean}
6072
+ */
6073
+ proto.config.R2FileRequest.prototype.hasObjectKey = function() {
6074
+ return jspb.Message.getField(this, 7) != null;
6075
+ };
6076
+
6077
+
6030
6078
 
6031
6079
 
6032
6080
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.289",
3
+ "version": "1.2.290",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {