clarifai-web-grpc 10.6.0 → 10.6.2

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.
package/VERSION CHANGED
@@ -1 +1 @@
1
- 10.6.0
1
+ 10.6.2
@@ -53963,7 +53963,10 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
53963
53963
  userId: jspb.Message.getFieldWithDefault(msg, 5, ""),
53964
53964
  createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
53965
53965
  modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
53966
- visibility: (f = msg.getVisibility()) && proto.clarifai.api.Visibility.toObject(includeInstance, f)
53966
+ visibility: (f = msg.getVisibility()) && proto.clarifai.api.Visibility.toObject(includeInstance, f),
53967
+ clusterType: jspb.Message.getFieldWithDefault(msg, 9, ""),
53968
+ managedBy: jspb.Message.getFieldWithDefault(msg, 10, ""),
53969
+ key: (f = msg.getKey()) && proto.clarifai.api.Key.toObject(includeInstance, f)
53967
53970
  };
53968
53971
  if (includeInstance) {
53969
53972
  obj.$jspbMessageInstance = msg;
@@ -54031,6 +54034,19 @@ proto.clarifai.api.ComputeCluster.deserializeBinaryFromReader = function (msg, r
54031
54034
  reader.readMessage(value, proto.clarifai.api.Visibility.deserializeBinaryFromReader);
54032
54035
  msg.setVisibility(value);
54033
54036
  break;
54037
+ case 9:
54038
+ var value = /** @type {string} */ (reader.readString());
54039
+ msg.setClusterType(value);
54040
+ break;
54041
+ case 10:
54042
+ var value = /** @type {string} */ (reader.readString());
54043
+ msg.setManagedBy(value);
54044
+ break;
54045
+ case 11:
54046
+ var value = new proto.clarifai.api.Key;
54047
+ reader.readMessage(value, proto.clarifai.api.Key.deserializeBinaryFromReader);
54048
+ msg.setKey(value);
54049
+ break;
54034
54050
  default:
54035
54051
  reader.skipField();
54036
54052
  break;
@@ -54088,6 +54104,18 @@ proto.clarifai.api.ComputeCluster.serializeBinaryToWriter = function (message, w
54088
54104
  if (f != null) {
54089
54105
  writer.writeMessage(8, f, proto.clarifai.api.Visibility.serializeBinaryToWriter);
54090
54106
  }
54107
+ f = message.getClusterType();
54108
+ if (f.length > 0) {
54109
+ writer.writeString(9, f);
54110
+ }
54111
+ f = message.getManagedBy();
54112
+ if (f.length > 0) {
54113
+ writer.writeString(10, f);
54114
+ }
54115
+ f = message.getKey();
54116
+ if (f != null) {
54117
+ writer.writeMessage(11, f, proto.clarifai.api.Key.serializeBinaryToWriter);
54118
+ }
54091
54119
  };
54092
54120
  /**
54093
54121
  * optional string id = 1;
@@ -54257,6 +54285,62 @@ proto.clarifai.api.ComputeCluster.prototype.clearVisibility = function () {
54257
54285
  proto.clarifai.api.ComputeCluster.prototype.hasVisibility = function () {
54258
54286
  return jspb.Message.getField(this, 8) != null;
54259
54287
  };
54288
+ /**
54289
+ * optional string cluster_type = 9;
54290
+ * @return {string}
54291
+ */
54292
+ proto.clarifai.api.ComputeCluster.prototype.getClusterType = function () {
54293
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
54294
+ };
54295
+ /**
54296
+ * @param {string} value
54297
+ * @return {!proto.clarifai.api.ComputeCluster} returns this
54298
+ */
54299
+ proto.clarifai.api.ComputeCluster.prototype.setClusterType = function (value) {
54300
+ return jspb.Message.setProto3StringField(this, 9, value);
54301
+ };
54302
+ /**
54303
+ * optional string managed_by = 10;
54304
+ * @return {string}
54305
+ */
54306
+ proto.clarifai.api.ComputeCluster.prototype.getManagedBy = function () {
54307
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
54308
+ };
54309
+ /**
54310
+ * @param {string} value
54311
+ * @return {!proto.clarifai.api.ComputeCluster} returns this
54312
+ */
54313
+ proto.clarifai.api.ComputeCluster.prototype.setManagedBy = function (value) {
54314
+ return jspb.Message.setProto3StringField(this, 10, value);
54315
+ };
54316
+ /**
54317
+ * optional Key key = 11;
54318
+ * @return {?proto.clarifai.api.Key}
54319
+ */
54320
+ proto.clarifai.api.ComputeCluster.prototype.getKey = function () {
54321
+ return /** @type{?proto.clarifai.api.Key} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.Key, 11));
54322
+ };
54323
+ /**
54324
+ * @param {?proto.clarifai.api.Key|undefined} value
54325
+ * @return {!proto.clarifai.api.ComputeCluster} returns this
54326
+ */
54327
+ proto.clarifai.api.ComputeCluster.prototype.setKey = function (value) {
54328
+ return jspb.Message.setWrapperField(this, 11, value);
54329
+ };
54330
+ /**
54331
+ * Clears the message field making it undefined.
54332
+ * @return {!proto.clarifai.api.ComputeCluster} returns this
54333
+ */
54334
+ proto.clarifai.api.ComputeCluster.prototype.clearKey = function () {
54335
+ return this.setKey(undefined);
54336
+ };
54337
+ /**
54338
+ * Returns whether this field is set.
54339
+ * @return {boolean}
54340
+ */
54341
+ proto.clarifai.api.ComputeCluster.prototype.hasKey = function () {
54342
+ return jspb.Message.getField(this, 11) != null;
54343
+ };
54260
54344
  /**
54261
54345
  * List of repeated fields within this message type.
54262
54346
  * @private {!Array<number>}
@@ -53963,7 +53963,10 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
53963
53963
  userId: jspb.Message.getFieldWithDefault(msg, 5, ""),
53964
53964
  createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
53965
53965
  modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
53966
- visibility: (f = msg.getVisibility()) && proto.clarifai.api.Visibility.toObject(includeInstance, f)
53966
+ visibility: (f = msg.getVisibility()) && proto.clarifai.api.Visibility.toObject(includeInstance, f),
53967
+ clusterType: jspb.Message.getFieldWithDefault(msg, 9, ""),
53968
+ managedBy: jspb.Message.getFieldWithDefault(msg, 10, ""),
53969
+ key: (f = msg.getKey()) && proto.clarifai.api.Key.toObject(includeInstance, f)
53967
53970
  };
53968
53971
  if (includeInstance) {
53969
53972
  obj.$jspbMessageInstance = msg;
@@ -54031,6 +54034,19 @@ proto.clarifai.api.ComputeCluster.deserializeBinaryFromReader = function (msg, r
54031
54034
  reader.readMessage(value, proto.clarifai.api.Visibility.deserializeBinaryFromReader);
54032
54035
  msg.setVisibility(value);
54033
54036
  break;
54037
+ case 9:
54038
+ var value = /** @type {string} */ (reader.readString());
54039
+ msg.setClusterType(value);
54040
+ break;
54041
+ case 10:
54042
+ var value = /** @type {string} */ (reader.readString());
54043
+ msg.setManagedBy(value);
54044
+ break;
54045
+ case 11:
54046
+ var value = new proto.clarifai.api.Key;
54047
+ reader.readMessage(value, proto.clarifai.api.Key.deserializeBinaryFromReader);
54048
+ msg.setKey(value);
54049
+ break;
54034
54050
  default:
54035
54051
  reader.skipField();
54036
54052
  break;
@@ -54088,6 +54104,18 @@ proto.clarifai.api.ComputeCluster.serializeBinaryToWriter = function (message, w
54088
54104
  if (f != null) {
54089
54105
  writer.writeMessage(8, f, proto.clarifai.api.Visibility.serializeBinaryToWriter);
54090
54106
  }
54107
+ f = message.getClusterType();
54108
+ if (f.length > 0) {
54109
+ writer.writeString(9, f);
54110
+ }
54111
+ f = message.getManagedBy();
54112
+ if (f.length > 0) {
54113
+ writer.writeString(10, f);
54114
+ }
54115
+ f = message.getKey();
54116
+ if (f != null) {
54117
+ writer.writeMessage(11, f, proto.clarifai.api.Key.serializeBinaryToWriter);
54118
+ }
54091
54119
  };
54092
54120
  /**
54093
54121
  * optional string id = 1;
@@ -54257,6 +54285,62 @@ proto.clarifai.api.ComputeCluster.prototype.clearVisibility = function () {
54257
54285
  proto.clarifai.api.ComputeCluster.prototype.hasVisibility = function () {
54258
54286
  return jspb.Message.getField(this, 8) != null;
54259
54287
  };
54288
+ /**
54289
+ * optional string cluster_type = 9;
54290
+ * @return {string}
54291
+ */
54292
+ proto.clarifai.api.ComputeCluster.prototype.getClusterType = function () {
54293
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
54294
+ };
54295
+ /**
54296
+ * @param {string} value
54297
+ * @return {!proto.clarifai.api.ComputeCluster} returns this
54298
+ */
54299
+ proto.clarifai.api.ComputeCluster.prototype.setClusterType = function (value) {
54300
+ return jspb.Message.setProto3StringField(this, 9, value);
54301
+ };
54302
+ /**
54303
+ * optional string managed_by = 10;
54304
+ * @return {string}
54305
+ */
54306
+ proto.clarifai.api.ComputeCluster.prototype.getManagedBy = function () {
54307
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
54308
+ };
54309
+ /**
54310
+ * @param {string} value
54311
+ * @return {!proto.clarifai.api.ComputeCluster} returns this
54312
+ */
54313
+ proto.clarifai.api.ComputeCluster.prototype.setManagedBy = function (value) {
54314
+ return jspb.Message.setProto3StringField(this, 10, value);
54315
+ };
54316
+ /**
54317
+ * optional Key key = 11;
54318
+ * @return {?proto.clarifai.api.Key}
54319
+ */
54320
+ proto.clarifai.api.ComputeCluster.prototype.getKey = function () {
54321
+ return /** @type{?proto.clarifai.api.Key} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.Key, 11));
54322
+ };
54323
+ /**
54324
+ * @param {?proto.clarifai.api.Key|undefined} value
54325
+ * @return {!proto.clarifai.api.ComputeCluster} returns this
54326
+ */
54327
+ proto.clarifai.api.ComputeCluster.prototype.setKey = function (value) {
54328
+ return jspb.Message.setWrapperField(this, 11, value);
54329
+ };
54330
+ /**
54331
+ * Clears the message field making it undefined.
54332
+ * @return {!proto.clarifai.api.ComputeCluster} returns this
54333
+ */
54334
+ proto.clarifai.api.ComputeCluster.prototype.clearKey = function () {
54335
+ return this.setKey(undefined);
54336
+ };
54337
+ /**
54338
+ * Returns whether this field is set.
54339
+ * @return {boolean}
54340
+ */
54341
+ proto.clarifai.api.ComputeCluster.prototype.hasKey = function () {
54342
+ return jspb.Message.getField(this, 11) != null;
54343
+ };
54260
54344
  /**
54261
54345
  * List of repeated fields within this message type.
54262
54346
  * @private {!Array<number>}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarifai-web-grpc",
3
- "version": "10.6.0",
3
+ "version": "10.6.2",
4
4
  "description": "The official Clarifai gRPC-web client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -8206,6 +8206,17 @@ export class ComputeCluster extends jspb.Message {
8206
8206
  hasVisibility(): boolean;
8207
8207
  clearVisibility(): ComputeCluster;
8208
8208
 
8209
+ getClusterType(): string;
8210
+ setClusterType(value: string): ComputeCluster;
8211
+
8212
+ getManagedBy(): string;
8213
+ setManagedBy(value: string): ComputeCluster;
8214
+
8215
+ getKey(): Key | undefined;
8216
+ setKey(value?: Key): ComputeCluster;
8217
+ hasKey(): boolean;
8218
+ clearKey(): ComputeCluster;
8219
+
8209
8220
  serializeBinary(): Uint8Array;
8210
8221
  toObject(includeInstance?: boolean): ComputeCluster.AsObject;
8211
8222
  static toObject(includeInstance: boolean, msg: ComputeCluster): ComputeCluster.AsObject;
@@ -8224,6 +8235,9 @@ export namespace ComputeCluster {
8224
8235
  createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
8225
8236
  modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
8226
8237
  visibility?: Visibility.AsObject,
8238
+ clusterType: string,
8239
+ managedBy: string,
8240
+ key?: Key.AsObject,
8227
8241
  }
8228
8242
  }
8229
8243
 
@@ -67491,7 +67491,10 @@ proto.clarifai.api.ComputeCluster.toObject = function(includeInstance, msg) {
67491
67491
  userId: jspb.Message.getFieldWithDefault(msg, 5, ""),
67492
67492
  createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
67493
67493
  modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
67494
- visibility: (f = msg.getVisibility()) && proto.clarifai.api.Visibility.toObject(includeInstance, f)
67494
+ visibility: (f = msg.getVisibility()) && proto.clarifai.api.Visibility.toObject(includeInstance, f),
67495
+ clusterType: jspb.Message.getFieldWithDefault(msg, 9, ""),
67496
+ managedBy: jspb.Message.getFieldWithDefault(msg, 10, ""),
67497
+ key: (f = msg.getKey()) && proto.clarifai.api.Key.toObject(includeInstance, f)
67495
67498
  };
67496
67499
 
67497
67500
  if (includeInstance) {
@@ -67564,6 +67567,19 @@ proto.clarifai.api.ComputeCluster.deserializeBinaryFromReader = function(msg, re
67564
67567
  reader.readMessage(value,proto.clarifai.api.Visibility.deserializeBinaryFromReader);
67565
67568
  msg.setVisibility(value);
67566
67569
  break;
67570
+ case 9:
67571
+ var value = /** @type {string} */ (reader.readString());
67572
+ msg.setClusterType(value);
67573
+ break;
67574
+ case 10:
67575
+ var value = /** @type {string} */ (reader.readString());
67576
+ msg.setManagedBy(value);
67577
+ break;
67578
+ case 11:
67579
+ var value = new proto.clarifai.api.Key;
67580
+ reader.readMessage(value,proto.clarifai.api.Key.deserializeBinaryFromReader);
67581
+ msg.setKey(value);
67582
+ break;
67567
67583
  default:
67568
67584
  reader.skipField();
67569
67585
  break;
@@ -67653,6 +67669,28 @@ proto.clarifai.api.ComputeCluster.serializeBinaryToWriter = function(message, wr
67653
67669
  proto.clarifai.api.Visibility.serializeBinaryToWriter
67654
67670
  );
67655
67671
  }
67672
+ f = message.getClusterType();
67673
+ if (f.length > 0) {
67674
+ writer.writeString(
67675
+ 9,
67676
+ f
67677
+ );
67678
+ }
67679
+ f = message.getManagedBy();
67680
+ if (f.length > 0) {
67681
+ writer.writeString(
67682
+ 10,
67683
+ f
67684
+ );
67685
+ }
67686
+ f = message.getKey();
67687
+ if (f != null) {
67688
+ writer.writeMessage(
67689
+ 11,
67690
+ f,
67691
+ proto.clarifai.api.Key.serializeBinaryToWriter
67692
+ );
67693
+ }
67656
67694
  };
67657
67695
 
67658
67696
 
@@ -67876,6 +67914,79 @@ proto.clarifai.api.ComputeCluster.prototype.hasVisibility = function() {
67876
67914
  };
67877
67915
 
67878
67916
 
67917
+ /**
67918
+ * optional string cluster_type = 9;
67919
+ * @return {string}
67920
+ */
67921
+ proto.clarifai.api.ComputeCluster.prototype.getClusterType = function() {
67922
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
67923
+ };
67924
+
67925
+
67926
+ /**
67927
+ * @param {string} value
67928
+ * @return {!proto.clarifai.api.ComputeCluster} returns this
67929
+ */
67930
+ proto.clarifai.api.ComputeCluster.prototype.setClusterType = function(value) {
67931
+ return jspb.Message.setProto3StringField(this, 9, value);
67932
+ };
67933
+
67934
+
67935
+ /**
67936
+ * optional string managed_by = 10;
67937
+ * @return {string}
67938
+ */
67939
+ proto.clarifai.api.ComputeCluster.prototype.getManagedBy = function() {
67940
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
67941
+ };
67942
+
67943
+
67944
+ /**
67945
+ * @param {string} value
67946
+ * @return {!proto.clarifai.api.ComputeCluster} returns this
67947
+ */
67948
+ proto.clarifai.api.ComputeCluster.prototype.setManagedBy = function(value) {
67949
+ return jspb.Message.setProto3StringField(this, 10, value);
67950
+ };
67951
+
67952
+
67953
+ /**
67954
+ * optional Key key = 11;
67955
+ * @return {?proto.clarifai.api.Key}
67956
+ */
67957
+ proto.clarifai.api.ComputeCluster.prototype.getKey = function() {
67958
+ return /** @type{?proto.clarifai.api.Key} */ (
67959
+ jspb.Message.getWrapperField(this, proto.clarifai.api.Key, 11));
67960
+ };
67961
+
67962
+
67963
+ /**
67964
+ * @param {?proto.clarifai.api.Key|undefined} value
67965
+ * @return {!proto.clarifai.api.ComputeCluster} returns this
67966
+ */
67967
+ proto.clarifai.api.ComputeCluster.prototype.setKey = function(value) {
67968
+ return jspb.Message.setWrapperField(this, 11, value);
67969
+ };
67970
+
67971
+
67972
+ /**
67973
+ * Clears the message field making it undefined.
67974
+ * @return {!proto.clarifai.api.ComputeCluster} returns this
67975
+ */
67976
+ proto.clarifai.api.ComputeCluster.prototype.clearKey = function() {
67977
+ return this.setKey(undefined);
67978
+ };
67979
+
67980
+
67981
+ /**
67982
+ * Returns whether this field is set.
67983
+ * @return {boolean}
67984
+ */
67985
+ proto.clarifai.api.ComputeCluster.prototype.hasKey = function() {
67986
+ return jspb.Message.getField(this, 11) != null;
67987
+ };
67988
+
67989
+
67879
67990
 
67880
67991
  /**
67881
67992
  * List of repeated fields within this message type.