clarifai-web-grpc 11.10.2 → 11.10.4
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 +1 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +45 -160
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +42 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +212 -0
- package/dist/esm/proto/clarifai/api/resources_pb.js +45 -160
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +42 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +212 -0
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +8 -31
- package/proto/clarifai/api/resources_pb.js +59 -185
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +12 -0
- package/proto/clarifai/api/service_grpc_web_pb.js +61 -0
- package/proto/clarifai/api/service_pb.d.ts +30 -0
- package/proto/clarifai/api/service_pb.js +263 -0
|
@@ -145,7 +145,6 @@ goog.exportSymbol('proto.clarifai.api.EvalTestSetEntry', null, global);
|
|
|
145
145
|
goog.exportSymbol('proto.clarifai.api.EvaluationMetricValue', null, global);
|
|
146
146
|
goog.exportSymbol('proto.clarifai.api.EvaluationType', null, global);
|
|
147
147
|
goog.exportSymbol('proto.clarifai.api.EventType', null, global);
|
|
148
|
-
goog.exportSymbol('proto.clarifai.api.ExpirationAction', null, global);
|
|
149
148
|
goog.exportSymbol('proto.clarifai.api.ExtendedMetrics', null, global);
|
|
150
149
|
goog.exportSymbol('proto.clarifai.api.FieldsValue', null, global);
|
|
151
150
|
goog.exportSymbol('proto.clarifai.api.Filter', null, global);
|
|
@@ -189,7 +188,6 @@ goog.exportSymbol('proto.clarifai.api.LabelCount', null, global);
|
|
|
189
188
|
goog.exportSymbol('proto.clarifai.api.LabelDistribution', null, global);
|
|
190
189
|
goog.exportSymbol('proto.clarifai.api.LabelOrder', null, global);
|
|
191
190
|
goog.exportSymbol('proto.clarifai.api.LayerShape', null, global);
|
|
192
|
-
goog.exportSymbol('proto.clarifai.api.LicenseScope', null, global);
|
|
193
191
|
goog.exportSymbol('proto.clarifai.api.LicenseType', null, global);
|
|
194
192
|
goog.exportSymbol('proto.clarifai.api.LogEntry', null, global);
|
|
195
193
|
goog.exportSymbol('proto.clarifai.api.LossCurveEntry', null, global);
|
|
@@ -302,7 +300,6 @@ goog.exportSymbol('proto.clarifai.api.StatValueAggType', null, global);
|
|
|
302
300
|
goog.exportSymbol('proto.clarifai.api.StatValueAggregate', null, global);
|
|
303
301
|
goog.exportSymbol('proto.clarifai.api.StatValueAggregateQuery', null, global);
|
|
304
302
|
goog.exportSymbol('proto.clarifai.api.StatValueAggregateResult', null, global);
|
|
305
|
-
goog.exportSymbol('proto.clarifai.api.StepSecretConfig', null, global);
|
|
306
303
|
goog.exportSymbol('proto.clarifai.api.Task', null, global);
|
|
307
304
|
goog.exportSymbol('proto.clarifai.api.Task.TaskPriority', null, global);
|
|
308
305
|
goog.exportSymbol('proto.clarifai.api.Task.TaskType', null, global);
|
|
@@ -5643,27 +5640,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
5643
5640
|
*/
|
|
5644
5641
|
proto.clarifai.api.PipelineVersionConfig.displayName = 'proto.clarifai.api.PipelineVersionConfig';
|
|
5645
5642
|
}
|
|
5646
|
-
/**
|
|
5647
|
-
* Generated by JsPbCodeGenerator.
|
|
5648
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5649
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
5650
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
5651
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
5652
|
-
* valid.
|
|
5653
|
-
* @extends {jspb.Message}
|
|
5654
|
-
* @constructor
|
|
5655
|
-
*/
|
|
5656
|
-
proto.clarifai.api.StepSecretConfig = function(opt_data) {
|
|
5657
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5658
|
-
};
|
|
5659
|
-
goog.inherits(proto.clarifai.api.StepSecretConfig, jspb.Message);
|
|
5660
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5661
|
-
/**
|
|
5662
|
-
* @public
|
|
5663
|
-
* @override
|
|
5664
|
-
*/
|
|
5665
|
-
proto.clarifai.api.StepSecretConfig.displayName = 'proto.clarifai.api.StepSecretConfig';
|
|
5666
|
-
}
|
|
5667
5643
|
/**
|
|
5668
5644
|
* Generated by JsPbCodeGenerator.
|
|
5669
5645
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -14789,7 +14765,8 @@ proto.clarifai.api.Data.toObject = function(includeInstance, msg) {
|
|
|
14789
14765
|
floatValue: jspb.Message.getFloatingPointFieldWithDefault(msg, 22, 0.0),
|
|
14790
14766
|
bytesValue: msg.getBytesValue_asB64(),
|
|
14791
14767
|
boolValue: jspb.Message.getBooleanFieldWithDefault(msg, 24, false),
|
|
14792
|
-
stringValue: jspb.Message.getFieldWithDefault(msg, 25, "")
|
|
14768
|
+
stringValue: jspb.Message.getFieldWithDefault(msg, 25, ""),
|
|
14769
|
+
structValue: (f = msg.getStructValue()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
|
|
14793
14770
|
};
|
|
14794
14771
|
|
|
14795
14772
|
if (includeInstance) {
|
|
@@ -14936,6 +14913,11 @@ proto.clarifai.api.Data.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
14936
14913
|
var value = /** @type {string} */ (reader.readString());
|
|
14937
14914
|
msg.setStringValue(value);
|
|
14938
14915
|
break;
|
|
14916
|
+
case 26:
|
|
14917
|
+
var value = new google_protobuf_struct_pb.Struct;
|
|
14918
|
+
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
|
|
14919
|
+
msg.setStructValue(value);
|
|
14920
|
+
break;
|
|
14939
14921
|
default:
|
|
14940
14922
|
reader.skipField();
|
|
14941
14923
|
break;
|
|
@@ -15144,6 +15126,14 @@ proto.clarifai.api.Data.serializeBinaryToWriter = function(message, writer) {
|
|
|
15144
15126
|
f
|
|
15145
15127
|
);
|
|
15146
15128
|
}
|
|
15129
|
+
f = message.getStructValue();
|
|
15130
|
+
if (f != null) {
|
|
15131
|
+
writer.writeMessage(
|
|
15132
|
+
26,
|
|
15133
|
+
f,
|
|
15134
|
+
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
|
|
15135
|
+
);
|
|
15136
|
+
}
|
|
15147
15137
|
};
|
|
15148
15138
|
|
|
15149
15139
|
|
|
@@ -15938,6 +15928,43 @@ proto.clarifai.api.Data.prototype.setStringValue = function(value) {
|
|
|
15938
15928
|
};
|
|
15939
15929
|
|
|
15940
15930
|
|
|
15931
|
+
/**
|
|
15932
|
+
* optional google.protobuf.Struct struct_value = 26;
|
|
15933
|
+
* @return {?proto.google.protobuf.Struct}
|
|
15934
|
+
*/
|
|
15935
|
+
proto.clarifai.api.Data.prototype.getStructValue = function() {
|
|
15936
|
+
return /** @type{?proto.google.protobuf.Struct} */ (
|
|
15937
|
+
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 26));
|
|
15938
|
+
};
|
|
15939
|
+
|
|
15940
|
+
|
|
15941
|
+
/**
|
|
15942
|
+
* @param {?proto.google.protobuf.Struct|undefined} value
|
|
15943
|
+
* @return {!proto.clarifai.api.Data} returns this
|
|
15944
|
+
*/
|
|
15945
|
+
proto.clarifai.api.Data.prototype.setStructValue = function(value) {
|
|
15946
|
+
return jspb.Message.setWrapperField(this, 26, value);
|
|
15947
|
+
};
|
|
15948
|
+
|
|
15949
|
+
|
|
15950
|
+
/**
|
|
15951
|
+
* Clears the message field making it undefined.
|
|
15952
|
+
* @return {!proto.clarifai.api.Data} returns this
|
|
15953
|
+
*/
|
|
15954
|
+
proto.clarifai.api.Data.prototype.clearStructValue = function() {
|
|
15955
|
+
return this.setStructValue(undefined);
|
|
15956
|
+
};
|
|
15957
|
+
|
|
15958
|
+
|
|
15959
|
+
/**
|
|
15960
|
+
* Returns whether this field is set.
|
|
15961
|
+
* @return {boolean}
|
|
15962
|
+
*/
|
|
15963
|
+
proto.clarifai.api.Data.prototype.hasStructValue = function() {
|
|
15964
|
+
return jspb.Message.getField(this, 26) != null;
|
|
15965
|
+
};
|
|
15966
|
+
|
|
15967
|
+
|
|
15941
15968
|
|
|
15942
15969
|
|
|
15943
15970
|
|
|
@@ -85428,7 +85455,7 @@ proto.clarifai.api.PipelineVersionConfig.prototype.toObject = function(opt_inclu
|
|
|
85428
85455
|
*/
|
|
85429
85456
|
proto.clarifai.api.PipelineVersionConfig.toObject = function(includeInstance, msg) {
|
|
85430
85457
|
var f, obj = {
|
|
85431
|
-
stepVersionSecretsMap: (f = msg.getStepVersionSecretsMap()) ? f.toObject(includeInstance, proto.
|
|
85458
|
+
stepVersionSecretsMap: (f = msg.getStepVersionSecretsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Struct.toObject) : []
|
|
85432
85459
|
};
|
|
85433
85460
|
|
|
85434
85461
|
if (includeInstance) {
|
|
@@ -85468,7 +85495,7 @@ proto.clarifai.api.PipelineVersionConfig.deserializeBinaryFromReader = function(
|
|
|
85468
85495
|
case 1:
|
|
85469
85496
|
var value = msg.getStepVersionSecretsMap();
|
|
85470
85497
|
reader.readMessage(value, function(message, reader) {
|
|
85471
|
-
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.
|
|
85498
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Struct.deserializeBinaryFromReader, "", new proto.google.protobuf.Struct());
|
|
85472
85499
|
});
|
|
85473
85500
|
break;
|
|
85474
85501
|
default:
|
|
@@ -85502,21 +85529,21 @@ proto.clarifai.api.PipelineVersionConfig.serializeBinaryToWriter = function(mess
|
|
|
85502
85529
|
var f = undefined;
|
|
85503
85530
|
f = message.getStepVersionSecretsMap(true);
|
|
85504
85531
|
if (f && f.getLength() > 0) {
|
|
85505
|
-
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.
|
|
85532
|
+
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Struct.serializeBinaryToWriter);
|
|
85506
85533
|
}
|
|
85507
85534
|
};
|
|
85508
85535
|
|
|
85509
85536
|
|
|
85510
85537
|
/**
|
|
85511
|
-
* map<string,
|
|
85538
|
+
* map<string, google.protobuf.Struct> step_version_secrets = 1;
|
|
85512
85539
|
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
85513
85540
|
* empty, instead returning `undefined`
|
|
85514
|
-
* @return {!jspb.Map<string,!proto.
|
|
85541
|
+
* @return {!jspb.Map<string,!proto.google.protobuf.Struct>}
|
|
85515
85542
|
*/
|
|
85516
85543
|
proto.clarifai.api.PipelineVersionConfig.prototype.getStepVersionSecretsMap = function(opt_noLazyCreate) {
|
|
85517
|
-
return /** @type {!jspb.Map<string,!proto.
|
|
85544
|
+
return /** @type {!jspb.Map<string,!proto.google.protobuf.Struct>} */ (
|
|
85518
85545
|
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
|
|
85519
|
-
proto.
|
|
85546
|
+
proto.google.protobuf.Struct));
|
|
85520
85547
|
};
|
|
85521
85548
|
|
|
85522
85549
|
|
|
@@ -85533,140 +85560,6 @@ proto.clarifai.api.PipelineVersionConfig.prototype.clearStepVersionSecretsMap =
|
|
|
85533
85560
|
|
|
85534
85561
|
|
|
85535
85562
|
|
|
85536
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
85537
|
-
/**
|
|
85538
|
-
* Creates an object representation of this proto.
|
|
85539
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
85540
|
-
* Optional fields that are not set will be set to undefined.
|
|
85541
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
85542
|
-
* For the list of reserved names please see:
|
|
85543
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
85544
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
85545
|
-
* JSPB instance for transitional soy proto support:
|
|
85546
|
-
* http://goto/soy-param-migration
|
|
85547
|
-
* @return {!Object}
|
|
85548
|
-
*/
|
|
85549
|
-
proto.clarifai.api.StepSecretConfig.prototype.toObject = function(opt_includeInstance) {
|
|
85550
|
-
return proto.clarifai.api.StepSecretConfig.toObject(opt_includeInstance, this);
|
|
85551
|
-
};
|
|
85552
|
-
|
|
85553
|
-
|
|
85554
|
-
/**
|
|
85555
|
-
* Static version of the {@see toObject} method.
|
|
85556
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
85557
|
-
* the JSPB instance for transitional soy proto support:
|
|
85558
|
-
* http://goto/soy-param-migration
|
|
85559
|
-
* @param {!proto.clarifai.api.StepSecretConfig} msg The msg instance to transform.
|
|
85560
|
-
* @return {!Object}
|
|
85561
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
85562
|
-
*/
|
|
85563
|
-
proto.clarifai.api.StepSecretConfig.toObject = function(includeInstance, msg) {
|
|
85564
|
-
var f, obj = {
|
|
85565
|
-
secretsMap: (f = msg.getSecretsMap()) ? f.toObject(includeInstance, undefined) : []
|
|
85566
|
-
};
|
|
85567
|
-
|
|
85568
|
-
if (includeInstance) {
|
|
85569
|
-
obj.$jspbMessageInstance = msg;
|
|
85570
|
-
}
|
|
85571
|
-
return obj;
|
|
85572
|
-
};
|
|
85573
|
-
}
|
|
85574
|
-
|
|
85575
|
-
|
|
85576
|
-
/**
|
|
85577
|
-
* Deserializes binary data (in protobuf wire format).
|
|
85578
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
85579
|
-
* @return {!proto.clarifai.api.StepSecretConfig}
|
|
85580
|
-
*/
|
|
85581
|
-
proto.clarifai.api.StepSecretConfig.deserializeBinary = function(bytes) {
|
|
85582
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
85583
|
-
var msg = new proto.clarifai.api.StepSecretConfig;
|
|
85584
|
-
return proto.clarifai.api.StepSecretConfig.deserializeBinaryFromReader(msg, reader);
|
|
85585
|
-
};
|
|
85586
|
-
|
|
85587
|
-
|
|
85588
|
-
/**
|
|
85589
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
85590
|
-
* given reader into the given message object.
|
|
85591
|
-
* @param {!proto.clarifai.api.StepSecretConfig} msg The message object to deserialize into.
|
|
85592
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
85593
|
-
* @return {!proto.clarifai.api.StepSecretConfig}
|
|
85594
|
-
*/
|
|
85595
|
-
proto.clarifai.api.StepSecretConfig.deserializeBinaryFromReader = function(msg, reader) {
|
|
85596
|
-
while (reader.nextField()) {
|
|
85597
|
-
if (reader.isEndGroup()) {
|
|
85598
|
-
break;
|
|
85599
|
-
}
|
|
85600
|
-
var field = reader.getFieldNumber();
|
|
85601
|
-
switch (field) {
|
|
85602
|
-
case 1:
|
|
85603
|
-
var value = msg.getSecretsMap();
|
|
85604
|
-
reader.readMessage(value, function(message, reader) {
|
|
85605
|
-
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
85606
|
-
});
|
|
85607
|
-
break;
|
|
85608
|
-
default:
|
|
85609
|
-
reader.skipField();
|
|
85610
|
-
break;
|
|
85611
|
-
}
|
|
85612
|
-
}
|
|
85613
|
-
return msg;
|
|
85614
|
-
};
|
|
85615
|
-
|
|
85616
|
-
|
|
85617
|
-
/**
|
|
85618
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
85619
|
-
* @return {!Uint8Array}
|
|
85620
|
-
*/
|
|
85621
|
-
proto.clarifai.api.StepSecretConfig.prototype.serializeBinary = function() {
|
|
85622
|
-
var writer = new jspb.BinaryWriter();
|
|
85623
|
-
proto.clarifai.api.StepSecretConfig.serializeBinaryToWriter(this, writer);
|
|
85624
|
-
return writer.getResultBuffer();
|
|
85625
|
-
};
|
|
85626
|
-
|
|
85627
|
-
|
|
85628
|
-
/**
|
|
85629
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
85630
|
-
* format), writing to the given BinaryWriter.
|
|
85631
|
-
* @param {!proto.clarifai.api.StepSecretConfig} message
|
|
85632
|
-
* @param {!jspb.BinaryWriter} writer
|
|
85633
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
85634
|
-
*/
|
|
85635
|
-
proto.clarifai.api.StepSecretConfig.serializeBinaryToWriter = function(message, writer) {
|
|
85636
|
-
var f = undefined;
|
|
85637
|
-
f = message.getSecretsMap(true);
|
|
85638
|
-
if (f && f.getLength() > 0) {
|
|
85639
|
-
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
85640
|
-
}
|
|
85641
|
-
};
|
|
85642
|
-
|
|
85643
|
-
|
|
85644
|
-
/**
|
|
85645
|
-
* map<string, string> secrets = 1;
|
|
85646
|
-
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
85647
|
-
* empty, instead returning `undefined`
|
|
85648
|
-
* @return {!jspb.Map<string,string>}
|
|
85649
|
-
*/
|
|
85650
|
-
proto.clarifai.api.StepSecretConfig.prototype.getSecretsMap = function(opt_noLazyCreate) {
|
|
85651
|
-
return /** @type {!jspb.Map<string,string>} */ (
|
|
85652
|
-
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
|
|
85653
|
-
null));
|
|
85654
|
-
};
|
|
85655
|
-
|
|
85656
|
-
|
|
85657
|
-
/**
|
|
85658
|
-
* Clears values from the map. The map will be non-null.
|
|
85659
|
-
* @return {!proto.clarifai.api.StepSecretConfig} returns this
|
|
85660
|
-
*/
|
|
85661
|
-
proto.clarifai.api.StepSecretConfig.prototype.clearSecretsMap = function() {
|
|
85662
|
-
this.getSecretsMap().clear();
|
|
85663
|
-
return this;
|
|
85664
|
-
};
|
|
85665
|
-
|
|
85666
|
-
|
|
85667
|
-
|
|
85668
|
-
|
|
85669
|
-
|
|
85670
85563
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
85671
85564
|
/**
|
|
85672
85565
|
* Creates an object representation of this proto.
|
|
@@ -89835,25 +89728,6 @@ proto.clarifai.api.DatasetVersionExportFormat = {
|
|
|
89835
89728
|
COCO: 2
|
|
89836
89729
|
};
|
|
89837
89730
|
|
|
89838
|
-
/**
|
|
89839
|
-
* @enum {number}
|
|
89840
|
-
*/
|
|
89841
|
-
proto.clarifai.api.ExpirationAction = {
|
|
89842
|
-
EXPIRATION_ACTION_NOT_SET: 0,
|
|
89843
|
-
DELAY: 1,
|
|
89844
|
-
EXPIRY: 2
|
|
89845
|
-
};
|
|
89846
|
-
|
|
89847
|
-
/**
|
|
89848
|
-
* @enum {number}
|
|
89849
|
-
*/
|
|
89850
|
-
proto.clarifai.api.LicenseScope = {
|
|
89851
|
-
LICENSE_SCOPE_NOT_SET: 0,
|
|
89852
|
-
PREDICT: 1,
|
|
89853
|
-
TRAIN: 2,
|
|
89854
|
-
SEARCH: 3
|
|
89855
|
-
};
|
|
89856
|
-
|
|
89857
89731
|
/**
|
|
89858
89732
|
* @enum {number}
|
|
89859
89733
|
*/
|
|
@@ -1624,6 +1624,13 @@ export class V2Client {
|
|
|
1624
1624
|
response: proto_clarifai_api_status_status_pb.BaseResponse) => void
|
|
1625
1625
|
): grpcWeb.ClientReadableStream<proto_clarifai_api_status_status_pb.BaseResponse>;
|
|
1626
1626
|
|
|
1627
|
+
patchComputeClusters(
|
|
1628
|
+
request: proto_clarifai_api_service_pb.PatchComputeClustersRequest,
|
|
1629
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1630
|
+
callback: (err: grpcWeb.RpcError,
|
|
1631
|
+
response: proto_clarifai_api_service_pb.MultiComputeClusterResponse) => void
|
|
1632
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiComputeClusterResponse>;
|
|
1633
|
+
|
|
1627
1634
|
getNodepool(
|
|
1628
1635
|
request: proto_clarifai_api_service_pb.GetNodepoolRequest,
|
|
1629
1636
|
metadata: grpcWeb.Metadata | undefined,
|
|
@@ -3106,6 +3113,11 @@ export class V2PromiseClient {
|
|
|
3106
3113
|
metadata?: grpcWeb.Metadata
|
|
3107
3114
|
): Promise<proto_clarifai_api_status_status_pb.BaseResponse>;
|
|
3108
3115
|
|
|
3116
|
+
patchComputeClusters(
|
|
3117
|
+
request: proto_clarifai_api_service_pb.PatchComputeClustersRequest,
|
|
3118
|
+
metadata?: grpcWeb.Metadata
|
|
3119
|
+
): Promise<proto_clarifai_api_service_pb.MultiComputeClusterResponse>;
|
|
3120
|
+
|
|
3109
3121
|
getNodepool(
|
|
3110
3122
|
request: proto_clarifai_api_service_pb.GetNodepoolRequest,
|
|
3111
3123
|
metadata?: grpcWeb.Metadata
|
|
@@ -14181,6 +14181,67 @@ proto.clarifai.api.V2PromiseClient.prototype.deleteComputeClusters =
|
|
|
14181
14181
|
};
|
|
14182
14182
|
|
|
14183
14183
|
|
|
14184
|
+
/**
|
|
14185
|
+
* @const
|
|
14186
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
14187
|
+
* !proto.clarifai.api.PatchComputeClustersRequest,
|
|
14188
|
+
* !proto.clarifai.api.MultiComputeClusterResponse>}
|
|
14189
|
+
*/
|
|
14190
|
+
const methodDescriptor_V2_PatchComputeClusters = new grpc.web.MethodDescriptor(
|
|
14191
|
+
'/clarifai.api.V2/PatchComputeClusters',
|
|
14192
|
+
grpc.web.MethodType.UNARY,
|
|
14193
|
+
proto.clarifai.api.PatchComputeClustersRequest,
|
|
14194
|
+
proto.clarifai.api.MultiComputeClusterResponse,
|
|
14195
|
+
/**
|
|
14196
|
+
* @param {!proto.clarifai.api.PatchComputeClustersRequest} request
|
|
14197
|
+
* @return {!Uint8Array}
|
|
14198
|
+
*/
|
|
14199
|
+
function(request) {
|
|
14200
|
+
return request.serializeBinary();
|
|
14201
|
+
},
|
|
14202
|
+
proto.clarifai.api.MultiComputeClusterResponse.deserializeBinary
|
|
14203
|
+
);
|
|
14204
|
+
|
|
14205
|
+
|
|
14206
|
+
/**
|
|
14207
|
+
* @param {!proto.clarifai.api.PatchComputeClustersRequest} request The
|
|
14208
|
+
* request proto
|
|
14209
|
+
* @param {?Object<string, string>} metadata User defined
|
|
14210
|
+
* call metadata
|
|
14211
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiComputeClusterResponse)}
|
|
14212
|
+
* callback The callback function(error, response)
|
|
14213
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiComputeClusterResponse>|undefined}
|
|
14214
|
+
* The XHR Node Readable Stream
|
|
14215
|
+
*/
|
|
14216
|
+
proto.clarifai.api.V2Client.prototype.patchComputeClusters =
|
|
14217
|
+
function(request, metadata, callback) {
|
|
14218
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
14219
|
+
'/clarifai.api.V2/PatchComputeClusters',
|
|
14220
|
+
request,
|
|
14221
|
+
metadata || {},
|
|
14222
|
+
methodDescriptor_V2_PatchComputeClusters,
|
|
14223
|
+
callback);
|
|
14224
|
+
};
|
|
14225
|
+
|
|
14226
|
+
|
|
14227
|
+
/**
|
|
14228
|
+
* @param {!proto.clarifai.api.PatchComputeClustersRequest} request The
|
|
14229
|
+
* request proto
|
|
14230
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
14231
|
+
* call metadata
|
|
14232
|
+
* @return {!Promise<!proto.clarifai.api.MultiComputeClusterResponse>}
|
|
14233
|
+
* Promise that resolves to the response
|
|
14234
|
+
*/
|
|
14235
|
+
proto.clarifai.api.V2PromiseClient.prototype.patchComputeClusters =
|
|
14236
|
+
function(request, metadata) {
|
|
14237
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
14238
|
+
'/clarifai.api.V2/PatchComputeClusters',
|
|
14239
|
+
request,
|
|
14240
|
+
metadata || {},
|
|
14241
|
+
methodDescriptor_V2_PatchComputeClusters);
|
|
14242
|
+
};
|
|
14243
|
+
|
|
14244
|
+
|
|
14184
14245
|
/**
|
|
14185
14246
|
* @const
|
|
14186
14247
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -10931,6 +10931,36 @@ export namespace PostComputeClustersRequest {
|
|
|
10931
10931
|
}
|
|
10932
10932
|
}
|
|
10933
10933
|
|
|
10934
|
+
export class PatchComputeClustersRequest extends jspb.Message {
|
|
10935
|
+
getUserAppId(): proto_clarifai_api_resources_pb.UserAppIDSet | undefined;
|
|
10936
|
+
setUserAppId(value?: proto_clarifai_api_resources_pb.UserAppIDSet): PatchComputeClustersRequest;
|
|
10937
|
+
hasUserAppId(): boolean;
|
|
10938
|
+
clearUserAppId(): PatchComputeClustersRequest;
|
|
10939
|
+
|
|
10940
|
+
getComputeClustersList(): Array<proto_clarifai_api_resources_pb.ComputeCluster>;
|
|
10941
|
+
setComputeClustersList(value: Array<proto_clarifai_api_resources_pb.ComputeCluster>): PatchComputeClustersRequest;
|
|
10942
|
+
clearComputeClustersList(): PatchComputeClustersRequest;
|
|
10943
|
+
addComputeClusters(value?: proto_clarifai_api_resources_pb.ComputeCluster, index?: number): proto_clarifai_api_resources_pb.ComputeCluster;
|
|
10944
|
+
|
|
10945
|
+
getAction(): string;
|
|
10946
|
+
setAction(value: string): PatchComputeClustersRequest;
|
|
10947
|
+
|
|
10948
|
+
serializeBinary(): Uint8Array;
|
|
10949
|
+
toObject(includeInstance?: boolean): PatchComputeClustersRequest.AsObject;
|
|
10950
|
+
static toObject(includeInstance: boolean, msg: PatchComputeClustersRequest): PatchComputeClustersRequest.AsObject;
|
|
10951
|
+
static serializeBinaryToWriter(message: PatchComputeClustersRequest, writer: jspb.BinaryWriter): void;
|
|
10952
|
+
static deserializeBinary(bytes: Uint8Array): PatchComputeClustersRequest;
|
|
10953
|
+
static deserializeBinaryFromReader(message: PatchComputeClustersRequest, reader: jspb.BinaryReader): PatchComputeClustersRequest;
|
|
10954
|
+
}
|
|
10955
|
+
|
|
10956
|
+
export namespace PatchComputeClustersRequest {
|
|
10957
|
+
export type AsObject = {
|
|
10958
|
+
userAppId?: proto_clarifai_api_resources_pb.UserAppIDSet.AsObject,
|
|
10959
|
+
computeClustersList: Array<proto_clarifai_api_resources_pb.ComputeCluster.AsObject>,
|
|
10960
|
+
action: string,
|
|
10961
|
+
}
|
|
10962
|
+
}
|
|
10963
|
+
|
|
10934
10964
|
export class DeleteComputeClustersRequest extends jspb.Message {
|
|
10935
10965
|
getUserAppId(): proto_clarifai_api_resources_pb.UserAppIDSet | undefined;
|
|
10936
10966
|
setUserAppId(value?: proto_clarifai_api_resources_pb.UserAppIDSet): DeleteComputeClustersRequest;
|