clarifai-web-grpc 11.11.0 → 12.0.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 +1 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +782 -10
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +93 -13
- package/dist/cjs/proto/clarifai/api/service_pb.js +1517 -67
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +1 -4
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +2 -1
- package/dist/esm/proto/clarifai/api/resources_pb.js +782 -10
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +93 -13
- package/dist/esm/proto/clarifai/api/service_pb.js +1517 -67
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +1 -4
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +2 -1
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +119 -0
- package/proto/clarifai/api/resources_pb.js +998 -10
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +28 -6
- package/proto/clarifai/api/service_grpc_web_pb.js +135 -18
- package/proto/clarifai/api/service_pb.d.ts +234 -20
- package/proto/clarifai/api/service_pb.js +1872 -67
- package/proto/clarifai/api/status/status_code_pb.d.ts +1 -4
- package/proto/clarifai/api/status/status_code_pb.js +1 -4
- package/proto/clarifai/auth/scope/scope_pb.d.ts +1 -0
- package/proto/clarifai/auth/scope/scope_pb.js +2 -1
|
@@ -29,6 +29,8 @@ var proto_clarifai_api_utils_matrix_pb = require('../../../proto/clarifai/api/ut
|
|
|
29
29
|
goog.object.extend(proto, proto_clarifai_api_utils_matrix_pb);
|
|
30
30
|
var proto_clarifai_auth_util_extension_pb = require('../../../proto/clarifai/auth/util/extension_pb.js');
|
|
31
31
|
goog.object.extend(proto, proto_clarifai_auth_util_extension_pb);
|
|
32
|
+
var google_protobuf_duration_pb = require('google-protobuf/google/protobuf/duration_pb.js');
|
|
33
|
+
goog.object.extend(proto, google_protobuf_duration_pb);
|
|
32
34
|
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
|
|
33
35
|
goog.object.extend(proto, google_protobuf_struct_pb);
|
|
34
36
|
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
@@ -80,6 +82,7 @@ goog.exportSymbol('proto.clarifai.api.BulkOperation', null, global);
|
|
|
80
82
|
goog.exportSymbol('proto.clarifai.api.BulkOperation.AnnotationSourceCase', null, global);
|
|
81
83
|
goog.exportSymbol('proto.clarifai.api.BulkOperation.InputSourceCase', null, global);
|
|
82
84
|
goog.exportSymbol('proto.clarifai.api.CloudProvider', null, global);
|
|
85
|
+
goog.exportSymbol('proto.clarifai.api.CloudRegion', null, global);
|
|
83
86
|
goog.exportSymbol('proto.clarifai.api.Cluster', null, global);
|
|
84
87
|
goog.exportSymbol('proto.clarifai.api.Collaboration', null, global);
|
|
85
88
|
goog.exportSymbol('proto.clarifai.api.Collaborator', null, global);
|
|
@@ -265,6 +268,7 @@ goog.exportSymbol('proto.clarifai.api.PipelineStepVersion', null, global);
|
|
|
265
268
|
goog.exportSymbol('proto.clarifai.api.PipelineVersion', null, global);
|
|
266
269
|
goog.exportSymbol('proto.clarifai.api.PipelineVersionConfig', null, global);
|
|
267
270
|
goog.exportSymbol('proto.clarifai.api.PipelineVersionRun', null, global);
|
|
271
|
+
goog.exportSymbol('proto.clarifai.api.PipelineVersionRunStatusLog', null, global);
|
|
268
272
|
goog.exportSymbol('proto.clarifai.api.Point', null, global);
|
|
269
273
|
goog.exportSymbol('proto.clarifai.api.Point.Visibility', null, global);
|
|
270
274
|
goog.exportSymbol('proto.clarifai.api.Polygon', null, global);
|
|
@@ -4830,7 +4834,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4830
4834
|
* @constructor
|
|
4831
4835
|
*/
|
|
4832
4836
|
proto.clarifai.api.CloudProvider = function (opt_data) {
|
|
4833
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
4837
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.CloudProvider.repeatedFields_, null);
|
|
4834
4838
|
};
|
|
4835
4839
|
goog.inherits(proto.clarifai.api.CloudProvider, jspb.Message);
|
|
4836
4840
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -4840,6 +4844,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4840
4844
|
*/
|
|
4841
4845
|
proto.clarifai.api.CloudProvider.displayName = 'proto.clarifai.api.CloudProvider';
|
|
4842
4846
|
}
|
|
4847
|
+
/**
|
|
4848
|
+
* Generated by JsPbCodeGenerator.
|
|
4849
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4850
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4851
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4852
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4853
|
+
* valid.
|
|
4854
|
+
* @extends {jspb.Message}
|
|
4855
|
+
* @constructor
|
|
4856
|
+
*/
|
|
4857
|
+
proto.clarifai.api.CloudRegion = function (opt_data) {
|
|
4858
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.CloudRegion.repeatedFields_, null);
|
|
4859
|
+
};
|
|
4860
|
+
goog.inherits(proto.clarifai.api.CloudRegion, jspb.Message);
|
|
4861
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4862
|
+
/**
|
|
4863
|
+
* @public
|
|
4864
|
+
* @override
|
|
4865
|
+
*/
|
|
4866
|
+
proto.clarifai.api.CloudRegion.displayName = 'proto.clarifai.api.CloudRegion';
|
|
4867
|
+
}
|
|
4843
4868
|
/**
|
|
4844
4869
|
* Generated by JsPbCodeGenerator.
|
|
4845
4870
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -5680,6 +5705,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
5680
5705
|
*/
|
|
5681
5706
|
proto.clarifai.api.PipelineVersionRun.displayName = 'proto.clarifai.api.PipelineVersionRun';
|
|
5682
5707
|
}
|
|
5708
|
+
/**
|
|
5709
|
+
* Generated by JsPbCodeGenerator.
|
|
5710
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5711
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5712
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5713
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5714
|
+
* valid.
|
|
5715
|
+
* @extends {jspb.Message}
|
|
5716
|
+
* @constructor
|
|
5717
|
+
*/
|
|
5718
|
+
proto.clarifai.api.PipelineVersionRunStatusLog = function (opt_data) {
|
|
5719
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5720
|
+
};
|
|
5721
|
+
goog.inherits(proto.clarifai.api.PipelineVersionRunStatusLog, jspb.Message);
|
|
5722
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5723
|
+
/**
|
|
5724
|
+
* @public
|
|
5725
|
+
* @override
|
|
5726
|
+
*/
|
|
5727
|
+
proto.clarifai.api.PipelineVersionRunStatusLog.displayName = 'proto.clarifai.api.PipelineVersionRunStatusLog';
|
|
5728
|
+
}
|
|
5683
5729
|
/**
|
|
5684
5730
|
* Generated by JsPbCodeGenerator.
|
|
5685
5731
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -8128,7 +8174,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
8128
8174
|
models: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
8129
8175
|
workflows: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
8130
8176
|
modules: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
8131
|
-
inputs: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
8177
|
+
inputs: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
8178
|
+
pipelines: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
8132
8179
|
};
|
|
8133
8180
|
if (includeInstance) {
|
|
8134
8181
|
obj.$jspbMessageInstance = msg;
|
|
@@ -8180,6 +8227,10 @@ proto.clarifai.api.AppResourceCounts.deserializeBinaryFromReader = function (msg
|
|
|
8180
8227
|
var value = /** @type {number} */ (reader.readInt64());
|
|
8181
8228
|
msg.setInputs(value);
|
|
8182
8229
|
break;
|
|
8230
|
+
case 6:
|
|
8231
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
8232
|
+
msg.setPipelines(value);
|
|
8233
|
+
break;
|
|
8183
8234
|
default:
|
|
8184
8235
|
reader.skipField();
|
|
8185
8236
|
break;
|
|
@@ -8225,6 +8276,10 @@ proto.clarifai.api.AppResourceCounts.serializeBinaryToWriter = function (message
|
|
|
8225
8276
|
if (f !== 0) {
|
|
8226
8277
|
writer.writeInt64(5, f);
|
|
8227
8278
|
}
|
|
8279
|
+
f = message.getPipelines();
|
|
8280
|
+
if (f !== 0) {
|
|
8281
|
+
writer.writeInt64(6, f);
|
|
8282
|
+
}
|
|
8228
8283
|
};
|
|
8229
8284
|
/**
|
|
8230
8285
|
* optional int64 datasets = 1;
|
|
@@ -8296,6 +8351,20 @@ proto.clarifai.api.AppResourceCounts.prototype.getInputs = function () {
|
|
|
8296
8351
|
proto.clarifai.api.AppResourceCounts.prototype.setInputs = function (value) {
|
|
8297
8352
|
return jspb.Message.setProto3IntField(this, 5, value);
|
|
8298
8353
|
};
|
|
8354
|
+
/**
|
|
8355
|
+
* optional int64 pipelines = 6;
|
|
8356
|
+
* @return {number}
|
|
8357
|
+
*/
|
|
8358
|
+
proto.clarifai.api.AppResourceCounts.prototype.getPipelines = function () {
|
|
8359
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
8360
|
+
};
|
|
8361
|
+
/**
|
|
8362
|
+
* @param {number} value
|
|
8363
|
+
* @return {!proto.clarifai.api.AppResourceCounts} returns this
|
|
8364
|
+
*/
|
|
8365
|
+
proto.clarifai.api.AppResourceCounts.prototype.setPipelines = function (value) {
|
|
8366
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
8367
|
+
};
|
|
8299
8368
|
/**
|
|
8300
8369
|
* List of repeated fields within this message type.
|
|
8301
8370
|
* @private {!Array<number>}
|
|
@@ -23640,7 +23709,8 @@ proto.clarifai.api.SpecialHandling.serializeBinaryToWriter = function (message,
|
|
|
23640
23709
|
*/
|
|
23641
23710
|
proto.clarifai.api.SpecialHandling.Reason = {
|
|
23642
23711
|
REASON_NOT_SET: 0,
|
|
23643
|
-
CONTACT_SALES: 1
|
|
23712
|
+
CONTACT_SALES: 1,
|
|
23713
|
+
INTERNAL_ONLY: 2
|
|
23644
23714
|
};
|
|
23645
23715
|
/**
|
|
23646
23716
|
* optional string id = 1;
|
|
@@ -37379,7 +37449,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
37379
37449
|
teamsCount: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
37380
37450
|
country: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
37381
37451
|
state: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
37382
|
-
commitmentValue: (f = msg.getCommitmentValue()) && proto.clarifai.api.CommitmentValue.toObject(includeInstance, f)
|
|
37452
|
+
commitmentValue: (f = msg.getCommitmentValue()) && proto.clarifai.api.CommitmentValue.toObject(includeInstance, f),
|
|
37453
|
+
phoneVerified: jspb.Message.getBooleanFieldWithDefault(msg, 15, false)
|
|
37383
37454
|
};
|
|
37384
37455
|
if (includeInstance) {
|
|
37385
37456
|
obj.$jspbMessageInstance = msg;
|
|
@@ -37470,6 +37541,10 @@ proto.clarifai.api.UserDetail.deserializeBinaryFromReader = function (msg, reade
|
|
|
37470
37541
|
reader.readMessage(value, proto.clarifai.api.CommitmentValue.deserializeBinaryFromReader);
|
|
37471
37542
|
msg.setCommitmentValue(value);
|
|
37472
37543
|
break;
|
|
37544
|
+
case 15:
|
|
37545
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
37546
|
+
msg.setPhoneVerified(value);
|
|
37547
|
+
break;
|
|
37473
37548
|
default:
|
|
37474
37549
|
reader.skipField();
|
|
37475
37550
|
break;
|
|
@@ -37547,6 +37622,10 @@ proto.clarifai.api.UserDetail.serializeBinaryToWriter = function (message, write
|
|
|
37547
37622
|
if (f != null) {
|
|
37548
37623
|
writer.writeMessage(14, f, proto.clarifai.api.CommitmentValue.serializeBinaryToWriter);
|
|
37549
37624
|
}
|
|
37625
|
+
f = message.getPhoneVerified();
|
|
37626
|
+
if (f) {
|
|
37627
|
+
writer.writeBool(15, f);
|
|
37628
|
+
}
|
|
37550
37629
|
};
|
|
37551
37630
|
/**
|
|
37552
37631
|
* optional string primary_email = 1;
|
|
@@ -37829,6 +37908,20 @@ proto.clarifai.api.UserDetail.prototype.clearCommitmentValue = function () {
|
|
|
37829
37908
|
proto.clarifai.api.UserDetail.prototype.hasCommitmentValue = function () {
|
|
37830
37909
|
return jspb.Message.getField(this, 14) != null;
|
|
37831
37910
|
};
|
|
37911
|
+
/**
|
|
37912
|
+
* optional bool phone_verified = 15;
|
|
37913
|
+
* @return {boolean}
|
|
37914
|
+
*/
|
|
37915
|
+
proto.clarifai.api.UserDetail.prototype.getPhoneVerified = function () {
|
|
37916
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 15, false));
|
|
37917
|
+
};
|
|
37918
|
+
/**
|
|
37919
|
+
* @param {boolean} value
|
|
37920
|
+
* @return {!proto.clarifai.api.UserDetail} returns this
|
|
37921
|
+
*/
|
|
37922
|
+
proto.clarifai.api.UserDetail.prototype.setPhoneVerified = function (value) {
|
|
37923
|
+
return jspb.Message.setProto3BooleanField(this, 15, value);
|
|
37924
|
+
};
|
|
37832
37925
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
37833
37926
|
/**
|
|
37834
37927
|
* Creates an object representation of this proto.
|
|
@@ -43193,7 +43286,7 @@ proto.clarifai.api.AiAssistParameters.prototype.clearConceptRelationIdsList = fu
|
|
|
43193
43286
|
* @private {!Array<number>}
|
|
43194
43287
|
* @const
|
|
43195
43288
|
*/
|
|
43196
|
-
proto.clarifai.api.TaskWorker.repeatedFields_ = [2, 4, 7];
|
|
43289
|
+
proto.clarifai.api.TaskWorker.repeatedFields_ = [2, 4, 7, 9];
|
|
43197
43290
|
/**
|
|
43198
43291
|
* Oneof group definitions for this message. Each group defines the field
|
|
43199
43292
|
* numbers belonging to that group. When of these fields' value is set, all
|
|
@@ -43248,7 +43341,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
43248
43341
|
usersList: jspb.Message.toObjectList(msg.getUsersList(), proto.clarifai.api.User.toObject, includeInstance),
|
|
43249
43342
|
partitionedStrategyInfo: (f = msg.getPartitionedStrategyInfo()) && proto.clarifai.api.TaskWorkerPartitionedStrategyInfo.toObject(includeInstance, f),
|
|
43250
43343
|
workersList: jspb.Message.toObjectList(msg.getWorkersList(), proto.clarifai.api.Worker.toObject, includeInstance),
|
|
43251
|
-
type: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
|
43344
|
+
type: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
43345
|
+
runnerSelectorsList: jspb.Message.toObjectList(msg.getRunnerSelectorsList(), proto.clarifai.api.RunnerSelector.toObject, includeInstance)
|
|
43252
43346
|
};
|
|
43253
43347
|
if (includeInstance) {
|
|
43254
43348
|
obj.$jspbMessageInstance = msg;
|
|
@@ -43307,6 +43401,11 @@ proto.clarifai.api.TaskWorker.deserializeBinaryFromReader = function (msg, reade
|
|
|
43307
43401
|
var value = /** @type {!proto.clarifai.api.TaskWorker.WorkerType} */ (reader.readEnum());
|
|
43308
43402
|
msg.setType(value);
|
|
43309
43403
|
break;
|
|
43404
|
+
case 9:
|
|
43405
|
+
var value = new proto.clarifai.api.RunnerSelector;
|
|
43406
|
+
reader.readMessage(value, proto.clarifai.api.RunnerSelector.deserializeBinaryFromReader);
|
|
43407
|
+
msg.addRunnerSelectors(value);
|
|
43408
|
+
break;
|
|
43310
43409
|
default:
|
|
43311
43410
|
reader.skipField();
|
|
43312
43411
|
break;
|
|
@@ -43356,6 +43455,10 @@ proto.clarifai.api.TaskWorker.serializeBinaryToWriter = function (message, write
|
|
|
43356
43455
|
if (f !== 0.0) {
|
|
43357
43456
|
writer.writeEnum(8, f);
|
|
43358
43457
|
}
|
|
43458
|
+
f = message.getRunnerSelectorsList();
|
|
43459
|
+
if (f.length > 0) {
|
|
43460
|
+
writer.writeRepeatedMessage(9, f, proto.clarifai.api.RunnerSelector.serializeBinaryToWriter);
|
|
43461
|
+
}
|
|
43359
43462
|
};
|
|
43360
43463
|
/**
|
|
43361
43464
|
* @enum {number}
|
|
@@ -43517,6 +43620,35 @@ proto.clarifai.api.TaskWorker.prototype.getType = function () {
|
|
|
43517
43620
|
proto.clarifai.api.TaskWorker.prototype.setType = function (value) {
|
|
43518
43621
|
return jspb.Message.setProto3EnumField(this, 8, value);
|
|
43519
43622
|
};
|
|
43623
|
+
/**
|
|
43624
|
+
* repeated RunnerSelector runner_selectors = 9;
|
|
43625
|
+
* @return {!Array<!proto.clarifai.api.RunnerSelector>}
|
|
43626
|
+
*/
|
|
43627
|
+
proto.clarifai.api.TaskWorker.prototype.getRunnerSelectorsList = function () {
|
|
43628
|
+
return /** @type{!Array<!proto.clarifai.api.RunnerSelector>} */ (jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.RunnerSelector, 9));
|
|
43629
|
+
};
|
|
43630
|
+
/**
|
|
43631
|
+
* @param {!Array<!proto.clarifai.api.RunnerSelector>} value
|
|
43632
|
+
* @return {!proto.clarifai.api.TaskWorker} returns this
|
|
43633
|
+
*/
|
|
43634
|
+
proto.clarifai.api.TaskWorker.prototype.setRunnerSelectorsList = function (value) {
|
|
43635
|
+
return jspb.Message.setRepeatedWrapperField(this, 9, value);
|
|
43636
|
+
};
|
|
43637
|
+
/**
|
|
43638
|
+
* @param {!proto.clarifai.api.RunnerSelector=} opt_value
|
|
43639
|
+
* @param {number=} opt_index
|
|
43640
|
+
* @return {!proto.clarifai.api.RunnerSelector}
|
|
43641
|
+
*/
|
|
43642
|
+
proto.clarifai.api.TaskWorker.prototype.addRunnerSelectors = function (opt_value, opt_index) {
|
|
43643
|
+
return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.clarifai.api.RunnerSelector, opt_index);
|
|
43644
|
+
};
|
|
43645
|
+
/**
|
|
43646
|
+
* Clears the list making it empty but non-null.
|
|
43647
|
+
* @return {!proto.clarifai.api.TaskWorker} returns this
|
|
43648
|
+
*/
|
|
43649
|
+
proto.clarifai.api.TaskWorker.prototype.clearRunnerSelectorsList = function () {
|
|
43650
|
+
return this.setRunnerSelectorsList([]);
|
|
43651
|
+
};
|
|
43520
43652
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
43521
43653
|
/**
|
|
43522
43654
|
* Creates an object representation of this proto.
|
|
@@ -43802,7 +43934,8 @@ proto.clarifai.api.TaskInputSource.TaskInputSourceType = {
|
|
|
43802
43934
|
INPUT_SOURCE_TYPE_NOT_SET: 0,
|
|
43803
43935
|
ALL_INPUTS: 1,
|
|
43804
43936
|
SAVED_SEARCH: 2,
|
|
43805
|
-
DATASET: 3
|
|
43937
|
+
DATASET: 3,
|
|
43938
|
+
INPUT: 4
|
|
43806
43939
|
};
|
|
43807
43940
|
/**
|
|
43808
43941
|
* optional TaskInputSourceType type = 1;
|
|
@@ -58099,7 +58232,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
58099
58232
|
allowedCapacityTypes: (f = msg.getAllowedCapacityTypes()) && proto.clarifai.api.NodeCapacityType.toObject(includeInstance, f),
|
|
58100
58233
|
featureFlagGroup: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
58101
58234
|
specialHandlingList: jspb.Message.toObjectList(msg.getSpecialHandlingList(), proto.clarifai.api.SpecialHandling.toObject, includeInstance),
|
|
58102
|
-
architecture: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
58235
|
+
architecture: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
58236
|
+
availableComputeInfo: (f = msg.getAvailableComputeInfo()) && proto.clarifai.api.ComputeInfo.toObject(includeInstance, f)
|
|
58103
58237
|
};
|
|
58104
58238
|
if (includeInstance) {
|
|
58105
58239
|
obj.$jspbMessageInstance = msg;
|
|
@@ -58175,6 +58309,11 @@ proto.clarifai.api.InstanceType.deserializeBinaryFromReader = function (msg, rea
|
|
|
58175
58309
|
var value = /** @type {string} */ (reader.readString());
|
|
58176
58310
|
msg.setArchitecture(value);
|
|
58177
58311
|
break;
|
|
58312
|
+
case 11:
|
|
58313
|
+
var value = new proto.clarifai.api.ComputeInfo;
|
|
58314
|
+
reader.readMessage(value, proto.clarifai.api.ComputeInfo.deserializeBinaryFromReader);
|
|
58315
|
+
msg.setAvailableComputeInfo(value);
|
|
58316
|
+
break;
|
|
58178
58317
|
default:
|
|
58179
58318
|
reader.skipField();
|
|
58180
58319
|
break;
|
|
@@ -58240,6 +58379,10 @@ proto.clarifai.api.InstanceType.serializeBinaryToWriter = function (message, wri
|
|
|
58240
58379
|
if (f.length > 0) {
|
|
58241
58380
|
writer.writeString(10, f);
|
|
58242
58381
|
}
|
|
58382
|
+
f = message.getAvailableComputeInfo();
|
|
58383
|
+
if (f != null) {
|
|
58384
|
+
writer.writeMessage(11, f, proto.clarifai.api.ComputeInfo.serializeBinaryToWriter);
|
|
58385
|
+
}
|
|
58243
58386
|
};
|
|
58244
58387
|
/**
|
|
58245
58388
|
* optional string id = 1;
|
|
@@ -58438,6 +58581,40 @@ proto.clarifai.api.InstanceType.prototype.getArchitecture = function () {
|
|
|
58438
58581
|
proto.clarifai.api.InstanceType.prototype.setArchitecture = function (value) {
|
|
58439
58582
|
return jspb.Message.setProto3StringField(this, 10, value);
|
|
58440
58583
|
};
|
|
58584
|
+
/**
|
|
58585
|
+
* optional ComputeInfo available_compute_info = 11;
|
|
58586
|
+
* @return {?proto.clarifai.api.ComputeInfo}
|
|
58587
|
+
*/
|
|
58588
|
+
proto.clarifai.api.InstanceType.prototype.getAvailableComputeInfo = function () {
|
|
58589
|
+
return /** @type{?proto.clarifai.api.ComputeInfo} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.ComputeInfo, 11));
|
|
58590
|
+
};
|
|
58591
|
+
/**
|
|
58592
|
+
* @param {?proto.clarifai.api.ComputeInfo|undefined} value
|
|
58593
|
+
* @return {!proto.clarifai.api.InstanceType} returns this
|
|
58594
|
+
*/
|
|
58595
|
+
proto.clarifai.api.InstanceType.prototype.setAvailableComputeInfo = function (value) {
|
|
58596
|
+
return jspb.Message.setWrapperField(this, 11, value);
|
|
58597
|
+
};
|
|
58598
|
+
/**
|
|
58599
|
+
* Clears the message field making it undefined.
|
|
58600
|
+
* @return {!proto.clarifai.api.InstanceType} returns this
|
|
58601
|
+
*/
|
|
58602
|
+
proto.clarifai.api.InstanceType.prototype.clearAvailableComputeInfo = function () {
|
|
58603
|
+
return this.setAvailableComputeInfo(undefined);
|
|
58604
|
+
};
|
|
58605
|
+
/**
|
|
58606
|
+
* Returns whether this field is set.
|
|
58607
|
+
* @return {boolean}
|
|
58608
|
+
*/
|
|
58609
|
+
proto.clarifai.api.InstanceType.prototype.hasAvailableComputeInfo = function () {
|
|
58610
|
+
return jspb.Message.getField(this, 11) != null;
|
|
58611
|
+
};
|
|
58612
|
+
/**
|
|
58613
|
+
* List of repeated fields within this message type.
|
|
58614
|
+
* @private {!Array<number>}
|
|
58615
|
+
* @const
|
|
58616
|
+
*/
|
|
58617
|
+
proto.clarifai.api.CloudProvider.repeatedFields_ = [3];
|
|
58441
58618
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
58442
58619
|
/**
|
|
58443
58620
|
* Creates an object representation of this proto.
|
|
@@ -58466,7 +58643,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
58466
58643
|
proto.clarifai.api.CloudProvider.toObject = function (includeInstance, msg) {
|
|
58467
58644
|
var f, obj = {
|
|
58468
58645
|
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
58469
|
-
name: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
58646
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
58647
|
+
specialHandlingList: jspb.Message.toObjectList(msg.getSpecialHandlingList(), proto.clarifai.api.SpecialHandling.toObject, includeInstance)
|
|
58470
58648
|
};
|
|
58471
58649
|
if (includeInstance) {
|
|
58472
58650
|
obj.$jspbMessageInstance = msg;
|
|
@@ -58506,6 +58684,11 @@ proto.clarifai.api.CloudProvider.deserializeBinaryFromReader = function (msg, re
|
|
|
58506
58684
|
var value = /** @type {string} */ (reader.readString());
|
|
58507
58685
|
msg.setName(value);
|
|
58508
58686
|
break;
|
|
58687
|
+
case 3:
|
|
58688
|
+
var value = new proto.clarifai.api.SpecialHandling;
|
|
58689
|
+
reader.readMessage(value, proto.clarifai.api.SpecialHandling.deserializeBinaryFromReader);
|
|
58690
|
+
msg.addSpecialHandling(value);
|
|
58691
|
+
break;
|
|
58509
58692
|
default:
|
|
58510
58693
|
reader.skipField();
|
|
58511
58694
|
break;
|
|
@@ -58539,6 +58722,10 @@ proto.clarifai.api.CloudProvider.serializeBinaryToWriter = function (message, wr
|
|
|
58539
58722
|
if (f.length > 0) {
|
|
58540
58723
|
writer.writeString(2, f);
|
|
58541
58724
|
}
|
|
58725
|
+
f = message.getSpecialHandlingList();
|
|
58726
|
+
if (f.length > 0) {
|
|
58727
|
+
writer.writeRepeatedMessage(3, f, proto.clarifai.api.SpecialHandling.serializeBinaryToWriter);
|
|
58728
|
+
}
|
|
58542
58729
|
};
|
|
58543
58730
|
/**
|
|
58544
58731
|
* optional string id = 1;
|
|
@@ -58568,6 +58755,187 @@ proto.clarifai.api.CloudProvider.prototype.getName = function () {
|
|
|
58568
58755
|
proto.clarifai.api.CloudProvider.prototype.setName = function (value) {
|
|
58569
58756
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
58570
58757
|
};
|
|
58758
|
+
/**
|
|
58759
|
+
* repeated SpecialHandling special_handling = 3;
|
|
58760
|
+
* @return {!Array<!proto.clarifai.api.SpecialHandling>}
|
|
58761
|
+
*/
|
|
58762
|
+
proto.clarifai.api.CloudProvider.prototype.getSpecialHandlingList = function () {
|
|
58763
|
+
return /** @type{!Array<!proto.clarifai.api.SpecialHandling>} */ (jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.SpecialHandling, 3));
|
|
58764
|
+
};
|
|
58765
|
+
/**
|
|
58766
|
+
* @param {!Array<!proto.clarifai.api.SpecialHandling>} value
|
|
58767
|
+
* @return {!proto.clarifai.api.CloudProvider} returns this
|
|
58768
|
+
*/
|
|
58769
|
+
proto.clarifai.api.CloudProvider.prototype.setSpecialHandlingList = function (value) {
|
|
58770
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
58771
|
+
};
|
|
58772
|
+
/**
|
|
58773
|
+
* @param {!proto.clarifai.api.SpecialHandling=} opt_value
|
|
58774
|
+
* @param {number=} opt_index
|
|
58775
|
+
* @return {!proto.clarifai.api.SpecialHandling}
|
|
58776
|
+
*/
|
|
58777
|
+
proto.clarifai.api.CloudProvider.prototype.addSpecialHandling = function (opt_value, opt_index) {
|
|
58778
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.SpecialHandling, opt_index);
|
|
58779
|
+
};
|
|
58780
|
+
/**
|
|
58781
|
+
* Clears the list making it empty but non-null.
|
|
58782
|
+
* @return {!proto.clarifai.api.CloudProvider} returns this
|
|
58783
|
+
*/
|
|
58784
|
+
proto.clarifai.api.CloudProvider.prototype.clearSpecialHandlingList = function () {
|
|
58785
|
+
return this.setSpecialHandlingList([]);
|
|
58786
|
+
};
|
|
58787
|
+
/**
|
|
58788
|
+
* List of repeated fields within this message type.
|
|
58789
|
+
* @private {!Array<number>}
|
|
58790
|
+
* @const
|
|
58791
|
+
*/
|
|
58792
|
+
proto.clarifai.api.CloudRegion.repeatedFields_ = [2];
|
|
58793
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
58794
|
+
/**
|
|
58795
|
+
* Creates an object representation of this proto.
|
|
58796
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
58797
|
+
* Optional fields that are not set will be set to undefined.
|
|
58798
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
58799
|
+
* For the list of reserved names please see:
|
|
58800
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
58801
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
58802
|
+
* JSPB instance for transitional soy proto support:
|
|
58803
|
+
* http://goto/soy-param-migration
|
|
58804
|
+
* @return {!Object}
|
|
58805
|
+
*/
|
|
58806
|
+
proto.clarifai.api.CloudRegion.prototype.toObject = function (opt_includeInstance) {
|
|
58807
|
+
return proto.clarifai.api.CloudRegion.toObject(opt_includeInstance, this);
|
|
58808
|
+
};
|
|
58809
|
+
/**
|
|
58810
|
+
* Static version of the {@see toObject} method.
|
|
58811
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
58812
|
+
* the JSPB instance for transitional soy proto support:
|
|
58813
|
+
* http://goto/soy-param-migration
|
|
58814
|
+
* @param {!proto.clarifai.api.CloudRegion} msg The msg instance to transform.
|
|
58815
|
+
* @return {!Object}
|
|
58816
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
58817
|
+
*/
|
|
58818
|
+
proto.clarifai.api.CloudRegion.toObject = function (includeInstance, msg) {
|
|
58819
|
+
var f, obj = {
|
|
58820
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
58821
|
+
specialHandlingList: jspb.Message.toObjectList(msg.getSpecialHandlingList(), proto.clarifai.api.SpecialHandling.toObject, includeInstance)
|
|
58822
|
+
};
|
|
58823
|
+
if (includeInstance) {
|
|
58824
|
+
obj.$jspbMessageInstance = msg;
|
|
58825
|
+
}
|
|
58826
|
+
return obj;
|
|
58827
|
+
};
|
|
58828
|
+
}
|
|
58829
|
+
/**
|
|
58830
|
+
* Deserializes binary data (in protobuf wire format).
|
|
58831
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
58832
|
+
* @return {!proto.clarifai.api.CloudRegion}
|
|
58833
|
+
*/
|
|
58834
|
+
proto.clarifai.api.CloudRegion.deserializeBinary = function (bytes) {
|
|
58835
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
58836
|
+
var msg = new proto.clarifai.api.CloudRegion;
|
|
58837
|
+
return proto.clarifai.api.CloudRegion.deserializeBinaryFromReader(msg, reader);
|
|
58838
|
+
};
|
|
58839
|
+
/**
|
|
58840
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
58841
|
+
* given reader into the given message object.
|
|
58842
|
+
* @param {!proto.clarifai.api.CloudRegion} msg The message object to deserialize into.
|
|
58843
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
58844
|
+
* @return {!proto.clarifai.api.CloudRegion}
|
|
58845
|
+
*/
|
|
58846
|
+
proto.clarifai.api.CloudRegion.deserializeBinaryFromReader = function (msg, reader) {
|
|
58847
|
+
while (reader.nextField()) {
|
|
58848
|
+
if (reader.isEndGroup()) {
|
|
58849
|
+
break;
|
|
58850
|
+
}
|
|
58851
|
+
var field = reader.getFieldNumber();
|
|
58852
|
+
switch (field) {
|
|
58853
|
+
case 1:
|
|
58854
|
+
var value = /** @type {string} */ (reader.readString());
|
|
58855
|
+
msg.setId(value);
|
|
58856
|
+
break;
|
|
58857
|
+
case 2:
|
|
58858
|
+
var value = new proto.clarifai.api.SpecialHandling;
|
|
58859
|
+
reader.readMessage(value, proto.clarifai.api.SpecialHandling.deserializeBinaryFromReader);
|
|
58860
|
+
msg.addSpecialHandling(value);
|
|
58861
|
+
break;
|
|
58862
|
+
default:
|
|
58863
|
+
reader.skipField();
|
|
58864
|
+
break;
|
|
58865
|
+
}
|
|
58866
|
+
}
|
|
58867
|
+
return msg;
|
|
58868
|
+
};
|
|
58869
|
+
/**
|
|
58870
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
58871
|
+
* @return {!Uint8Array}
|
|
58872
|
+
*/
|
|
58873
|
+
proto.clarifai.api.CloudRegion.prototype.serializeBinary = function () {
|
|
58874
|
+
var writer = new jspb.BinaryWriter();
|
|
58875
|
+
proto.clarifai.api.CloudRegion.serializeBinaryToWriter(this, writer);
|
|
58876
|
+
return writer.getResultBuffer();
|
|
58877
|
+
};
|
|
58878
|
+
/**
|
|
58879
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
58880
|
+
* format), writing to the given BinaryWriter.
|
|
58881
|
+
* @param {!proto.clarifai.api.CloudRegion} message
|
|
58882
|
+
* @param {!jspb.BinaryWriter} writer
|
|
58883
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
58884
|
+
*/
|
|
58885
|
+
proto.clarifai.api.CloudRegion.serializeBinaryToWriter = function (message, writer) {
|
|
58886
|
+
var f = undefined;
|
|
58887
|
+
f = message.getId();
|
|
58888
|
+
if (f.length > 0) {
|
|
58889
|
+
writer.writeString(1, f);
|
|
58890
|
+
}
|
|
58891
|
+
f = message.getSpecialHandlingList();
|
|
58892
|
+
if (f.length > 0) {
|
|
58893
|
+
writer.writeRepeatedMessage(2, f, proto.clarifai.api.SpecialHandling.serializeBinaryToWriter);
|
|
58894
|
+
}
|
|
58895
|
+
};
|
|
58896
|
+
/**
|
|
58897
|
+
* optional string id = 1;
|
|
58898
|
+
* @return {string}
|
|
58899
|
+
*/
|
|
58900
|
+
proto.clarifai.api.CloudRegion.prototype.getId = function () {
|
|
58901
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
58902
|
+
};
|
|
58903
|
+
/**
|
|
58904
|
+
* @param {string} value
|
|
58905
|
+
* @return {!proto.clarifai.api.CloudRegion} returns this
|
|
58906
|
+
*/
|
|
58907
|
+
proto.clarifai.api.CloudRegion.prototype.setId = function (value) {
|
|
58908
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
58909
|
+
};
|
|
58910
|
+
/**
|
|
58911
|
+
* repeated SpecialHandling special_handling = 2;
|
|
58912
|
+
* @return {!Array<!proto.clarifai.api.SpecialHandling>}
|
|
58913
|
+
*/
|
|
58914
|
+
proto.clarifai.api.CloudRegion.prototype.getSpecialHandlingList = function () {
|
|
58915
|
+
return /** @type{!Array<!proto.clarifai.api.SpecialHandling>} */ (jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.SpecialHandling, 2));
|
|
58916
|
+
};
|
|
58917
|
+
/**
|
|
58918
|
+
* @param {!Array<!proto.clarifai.api.SpecialHandling>} value
|
|
58919
|
+
* @return {!proto.clarifai.api.CloudRegion} returns this
|
|
58920
|
+
*/
|
|
58921
|
+
proto.clarifai.api.CloudRegion.prototype.setSpecialHandlingList = function (value) {
|
|
58922
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
58923
|
+
};
|
|
58924
|
+
/**
|
|
58925
|
+
* @param {!proto.clarifai.api.SpecialHandling=} opt_value
|
|
58926
|
+
* @param {number=} opt_index
|
|
58927
|
+
* @return {!proto.clarifai.api.SpecialHandling}
|
|
58928
|
+
*/
|
|
58929
|
+
proto.clarifai.api.CloudRegion.prototype.addSpecialHandling = function (opt_value, opt_index) {
|
|
58930
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.SpecialHandling, opt_index);
|
|
58931
|
+
};
|
|
58932
|
+
/**
|
|
58933
|
+
* Clears the list making it empty but non-null.
|
|
58934
|
+
* @return {!proto.clarifai.api.CloudRegion} returns this
|
|
58935
|
+
*/
|
|
58936
|
+
proto.clarifai.api.CloudRegion.prototype.clearSpecialHandlingList = function () {
|
|
58937
|
+
return this.setSpecialHandlingList([]);
|
|
58938
|
+
};
|
|
58571
58939
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
58572
58940
|
/**
|
|
58573
58941
|
* Creates an object representation of this proto.
|
|
@@ -59571,6 +59939,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
59571
59939
|
metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
59572
59940
|
description: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
59573
59941
|
worker: (f = msg.getWorker()) && proto.clarifai.api.Worker.toObject(includeInstance, f),
|
|
59942
|
+
desiredWorker: (f = msg.getDesiredWorker()) && proto.clarifai.api.Worker.toObject(includeInstance, f),
|
|
59574
59943
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
59575
59944
|
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
59576
59945
|
deployLatestVersion: jspb.Message.getBooleanFieldWithDefault(msg, 14, false),
|
|
@@ -59647,6 +60016,11 @@ proto.clarifai.api.Deployment.deserializeBinaryFromReader = function (msg, reade
|
|
|
59647
60016
|
reader.readMessage(value, proto.clarifai.api.Worker.deserializeBinaryFromReader);
|
|
59648
60017
|
msg.setWorker(value);
|
|
59649
60018
|
break;
|
|
60019
|
+
case 16:
|
|
60020
|
+
var value = new proto.clarifai.api.Worker;
|
|
60021
|
+
reader.readMessage(value, proto.clarifai.api.Worker.deserializeBinaryFromReader);
|
|
60022
|
+
msg.setDesiredWorker(value);
|
|
60023
|
+
break;
|
|
59650
60024
|
case 12:
|
|
59651
60025
|
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
59652
60026
|
reader.readMessage(value, google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
@@ -59727,6 +60101,10 @@ proto.clarifai.api.Deployment.serializeBinaryToWriter = function (message, write
|
|
|
59727
60101
|
if (f != null) {
|
|
59728
60102
|
writer.writeMessage(11, f, proto.clarifai.api.Worker.serializeBinaryToWriter);
|
|
59729
60103
|
}
|
|
60104
|
+
f = message.getDesiredWorker();
|
|
60105
|
+
if (f != null) {
|
|
60106
|
+
writer.writeMessage(16, f, proto.clarifai.api.Worker.serializeBinaryToWriter);
|
|
60107
|
+
}
|
|
59730
60108
|
f = message.getCreatedAt();
|
|
59731
60109
|
if (f != null) {
|
|
59732
60110
|
writer.writeMessage(12, f, google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter);
|
|
@@ -59955,6 +60333,34 @@ proto.clarifai.api.Deployment.prototype.clearWorker = function () {
|
|
|
59955
60333
|
proto.clarifai.api.Deployment.prototype.hasWorker = function () {
|
|
59956
60334
|
return jspb.Message.getField(this, 11) != null;
|
|
59957
60335
|
};
|
|
60336
|
+
/**
|
|
60337
|
+
* optional Worker desired_worker = 16;
|
|
60338
|
+
* @return {?proto.clarifai.api.Worker}
|
|
60339
|
+
*/
|
|
60340
|
+
proto.clarifai.api.Deployment.prototype.getDesiredWorker = function () {
|
|
60341
|
+
return /** @type{?proto.clarifai.api.Worker} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.Worker, 16));
|
|
60342
|
+
};
|
|
60343
|
+
/**
|
|
60344
|
+
* @param {?proto.clarifai.api.Worker|undefined} value
|
|
60345
|
+
* @return {!proto.clarifai.api.Deployment} returns this
|
|
60346
|
+
*/
|
|
60347
|
+
proto.clarifai.api.Deployment.prototype.setDesiredWorker = function (value) {
|
|
60348
|
+
return jspb.Message.setWrapperField(this, 16, value);
|
|
60349
|
+
};
|
|
60350
|
+
/**
|
|
60351
|
+
* Clears the message field making it undefined.
|
|
60352
|
+
* @return {!proto.clarifai.api.Deployment} returns this
|
|
60353
|
+
*/
|
|
60354
|
+
proto.clarifai.api.Deployment.prototype.clearDesiredWorker = function () {
|
|
60355
|
+
return this.setDesiredWorker(undefined);
|
|
60356
|
+
};
|
|
60357
|
+
/**
|
|
60358
|
+
* Returns whether this field is set.
|
|
60359
|
+
* @return {boolean}
|
|
60360
|
+
*/
|
|
60361
|
+
proto.clarifai.api.Deployment.prototype.hasDesiredWorker = function () {
|
|
60362
|
+
return jspb.Message.getField(this, 16) != null;
|
|
60363
|
+
};
|
|
59958
60364
|
/**
|
|
59959
60365
|
* optional google.protobuf.Timestamp created_at = 12;
|
|
59960
60366
|
* @return {?proto.google.protobuf.Timestamp}
|
|
@@ -68591,7 +68997,10 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
68591
68997
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
68592
68998
|
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
68593
68999
|
inputArgsOverride: (f = msg.getInputArgsOverride()) && proto.clarifai.api.OrchestrationArgsOverride.toObject(includeInstance, f),
|
|
68594
|
-
orchestrationSpec: (f = msg.getOrchestrationSpec()) && proto.clarifai.api.OrchestrationSpec.toObject(includeInstance, f)
|
|
69000
|
+
orchestrationSpec: (f = msg.getOrchestrationSpec()) && proto.clarifai.api.OrchestrationSpec.toObject(includeInstance, f),
|
|
69001
|
+
startedAt: (f = msg.getStartedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
69002
|
+
endedAt: (f = msg.getEndedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
69003
|
+
totalRunDuration: (f = msg.getTotalRunDuration()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f)
|
|
68595
69004
|
};
|
|
68596
69005
|
if (includeInstance) {
|
|
68597
69006
|
obj.$jspbMessageInstance = msg;
|
|
@@ -68670,6 +69079,21 @@ proto.clarifai.api.PipelineVersionRun.deserializeBinaryFromReader = function (ms
|
|
|
68670
69079
|
reader.readMessage(value, proto.clarifai.api.OrchestrationSpec.deserializeBinaryFromReader);
|
|
68671
69080
|
msg.setOrchestrationSpec(value);
|
|
68672
69081
|
break;
|
|
69082
|
+
case 11:
|
|
69083
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
69084
|
+
reader.readMessage(value, google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
69085
|
+
msg.setStartedAt(value);
|
|
69086
|
+
break;
|
|
69087
|
+
case 12:
|
|
69088
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
69089
|
+
reader.readMessage(value, google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
69090
|
+
msg.setEndedAt(value);
|
|
69091
|
+
break;
|
|
69092
|
+
case 13:
|
|
69093
|
+
var value = new google_protobuf_duration_pb.Duration;
|
|
69094
|
+
reader.readMessage(value, google_protobuf_duration_pb.Duration.deserializeBinaryFromReader);
|
|
69095
|
+
msg.setTotalRunDuration(value);
|
|
69096
|
+
break;
|
|
68673
69097
|
default:
|
|
68674
69098
|
reader.skipField();
|
|
68675
69099
|
break;
|
|
@@ -68735,6 +69159,18 @@ proto.clarifai.api.PipelineVersionRun.serializeBinaryToWriter = function (messag
|
|
|
68735
69159
|
if (f != null) {
|
|
68736
69160
|
writer.writeMessage(10, f, proto.clarifai.api.OrchestrationSpec.serializeBinaryToWriter);
|
|
68737
69161
|
}
|
|
69162
|
+
f = message.getStartedAt();
|
|
69163
|
+
if (f != null) {
|
|
69164
|
+
writer.writeMessage(11, f, google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter);
|
|
69165
|
+
}
|
|
69166
|
+
f = message.getEndedAt();
|
|
69167
|
+
if (f != null) {
|
|
69168
|
+
writer.writeMessage(12, f, google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter);
|
|
69169
|
+
}
|
|
69170
|
+
f = message.getTotalRunDuration();
|
|
69171
|
+
if (f != null) {
|
|
69172
|
+
writer.writeMessage(13, f, google_protobuf_duration_pb.Duration.serializeBinaryToWriter);
|
|
69173
|
+
}
|
|
68738
69174
|
};
|
|
68739
69175
|
/**
|
|
68740
69176
|
* optional string id = 1;
|
|
@@ -68975,6 +69411,342 @@ proto.clarifai.api.PipelineVersionRun.prototype.clearOrchestrationSpec = functio
|
|
|
68975
69411
|
proto.clarifai.api.PipelineVersionRun.prototype.hasOrchestrationSpec = function () {
|
|
68976
69412
|
return jspb.Message.getField(this, 10) != null;
|
|
68977
69413
|
};
|
|
69414
|
+
/**
|
|
69415
|
+
* optional google.protobuf.Timestamp started_at = 11;
|
|
69416
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
69417
|
+
*/
|
|
69418
|
+
proto.clarifai.api.PipelineVersionRun.prototype.getStartedAt = function () {
|
|
69419
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 11));
|
|
69420
|
+
};
|
|
69421
|
+
/**
|
|
69422
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
69423
|
+
* @return {!proto.clarifai.api.PipelineVersionRun} returns this
|
|
69424
|
+
*/
|
|
69425
|
+
proto.clarifai.api.PipelineVersionRun.prototype.setStartedAt = function (value) {
|
|
69426
|
+
return jspb.Message.setWrapperField(this, 11, value);
|
|
69427
|
+
};
|
|
69428
|
+
/**
|
|
69429
|
+
* Clears the message field making it undefined.
|
|
69430
|
+
* @return {!proto.clarifai.api.PipelineVersionRun} returns this
|
|
69431
|
+
*/
|
|
69432
|
+
proto.clarifai.api.PipelineVersionRun.prototype.clearStartedAt = function () {
|
|
69433
|
+
return this.setStartedAt(undefined);
|
|
69434
|
+
};
|
|
69435
|
+
/**
|
|
69436
|
+
* Returns whether this field is set.
|
|
69437
|
+
* @return {boolean}
|
|
69438
|
+
*/
|
|
69439
|
+
proto.clarifai.api.PipelineVersionRun.prototype.hasStartedAt = function () {
|
|
69440
|
+
return jspb.Message.getField(this, 11) != null;
|
|
69441
|
+
};
|
|
69442
|
+
/**
|
|
69443
|
+
* optional google.protobuf.Timestamp ended_at = 12;
|
|
69444
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
69445
|
+
*/
|
|
69446
|
+
proto.clarifai.api.PipelineVersionRun.prototype.getEndedAt = function () {
|
|
69447
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 12));
|
|
69448
|
+
};
|
|
69449
|
+
/**
|
|
69450
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
69451
|
+
* @return {!proto.clarifai.api.PipelineVersionRun} returns this
|
|
69452
|
+
*/
|
|
69453
|
+
proto.clarifai.api.PipelineVersionRun.prototype.setEndedAt = function (value) {
|
|
69454
|
+
return jspb.Message.setWrapperField(this, 12, value);
|
|
69455
|
+
};
|
|
69456
|
+
/**
|
|
69457
|
+
* Clears the message field making it undefined.
|
|
69458
|
+
* @return {!proto.clarifai.api.PipelineVersionRun} returns this
|
|
69459
|
+
*/
|
|
69460
|
+
proto.clarifai.api.PipelineVersionRun.prototype.clearEndedAt = function () {
|
|
69461
|
+
return this.setEndedAt(undefined);
|
|
69462
|
+
};
|
|
69463
|
+
/**
|
|
69464
|
+
* Returns whether this field is set.
|
|
69465
|
+
* @return {boolean}
|
|
69466
|
+
*/
|
|
69467
|
+
proto.clarifai.api.PipelineVersionRun.prototype.hasEndedAt = function () {
|
|
69468
|
+
return jspb.Message.getField(this, 12) != null;
|
|
69469
|
+
};
|
|
69470
|
+
/**
|
|
69471
|
+
* optional google.protobuf.Duration total_run_duration = 13;
|
|
69472
|
+
* @return {?proto.google.protobuf.Duration}
|
|
69473
|
+
*/
|
|
69474
|
+
proto.clarifai.api.PipelineVersionRun.prototype.getTotalRunDuration = function () {
|
|
69475
|
+
return /** @type{?proto.google.protobuf.Duration} */ (jspb.Message.getWrapperField(this, google_protobuf_duration_pb.Duration, 13));
|
|
69476
|
+
};
|
|
69477
|
+
/**
|
|
69478
|
+
* @param {?proto.google.protobuf.Duration|undefined} value
|
|
69479
|
+
* @return {!proto.clarifai.api.PipelineVersionRun} returns this
|
|
69480
|
+
*/
|
|
69481
|
+
proto.clarifai.api.PipelineVersionRun.prototype.setTotalRunDuration = function (value) {
|
|
69482
|
+
return jspb.Message.setWrapperField(this, 13, value);
|
|
69483
|
+
};
|
|
69484
|
+
/**
|
|
69485
|
+
* Clears the message field making it undefined.
|
|
69486
|
+
* @return {!proto.clarifai.api.PipelineVersionRun} returns this
|
|
69487
|
+
*/
|
|
69488
|
+
proto.clarifai.api.PipelineVersionRun.prototype.clearTotalRunDuration = function () {
|
|
69489
|
+
return this.setTotalRunDuration(undefined);
|
|
69490
|
+
};
|
|
69491
|
+
/**
|
|
69492
|
+
* Returns whether this field is set.
|
|
69493
|
+
* @return {boolean}
|
|
69494
|
+
*/
|
|
69495
|
+
proto.clarifai.api.PipelineVersionRun.prototype.hasTotalRunDuration = function () {
|
|
69496
|
+
return jspb.Message.getField(this, 13) != null;
|
|
69497
|
+
};
|
|
69498
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
69499
|
+
/**
|
|
69500
|
+
* Creates an object representation of this proto.
|
|
69501
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
69502
|
+
* Optional fields that are not set will be set to undefined.
|
|
69503
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
69504
|
+
* For the list of reserved names please see:
|
|
69505
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
69506
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
69507
|
+
* JSPB instance for transitional soy proto support:
|
|
69508
|
+
* http://goto/soy-param-migration
|
|
69509
|
+
* @return {!Object}
|
|
69510
|
+
*/
|
|
69511
|
+
proto.clarifai.api.PipelineVersionRunStatusLog.prototype.toObject = function (opt_includeInstance) {
|
|
69512
|
+
return proto.clarifai.api.PipelineVersionRunStatusLog.toObject(opt_includeInstance, this);
|
|
69513
|
+
};
|
|
69514
|
+
/**
|
|
69515
|
+
* Static version of the {@see toObject} method.
|
|
69516
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
69517
|
+
* the JSPB instance for transitional soy proto support:
|
|
69518
|
+
* http://goto/soy-param-migration
|
|
69519
|
+
* @param {!proto.clarifai.api.PipelineVersionRunStatusLog} msg The msg instance to transform.
|
|
69520
|
+
* @return {!Object}
|
|
69521
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
69522
|
+
*/
|
|
69523
|
+
proto.clarifai.api.PipelineVersionRunStatusLog.toObject = function (includeInstance, msg) {
|
|
69524
|
+
var f, obj = {
|
|
69525
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
69526
|
+
pipelineVersionRunId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
69527
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
69528
|
+
message: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
69529
|
+
triggeredByUserId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
69530
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
69531
|
+
};
|
|
69532
|
+
if (includeInstance) {
|
|
69533
|
+
obj.$jspbMessageInstance = msg;
|
|
69534
|
+
}
|
|
69535
|
+
return obj;
|
|
69536
|
+
};
|
|
69537
|
+
}
|
|
69538
|
+
/**
|
|
69539
|
+
* Deserializes binary data (in protobuf wire format).
|
|
69540
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
69541
|
+
* @return {!proto.clarifai.api.PipelineVersionRunStatusLog}
|
|
69542
|
+
*/
|
|
69543
|
+
proto.clarifai.api.PipelineVersionRunStatusLog.deserializeBinary = function (bytes) {
|
|
69544
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
69545
|
+
var msg = new proto.clarifai.api.PipelineVersionRunStatusLog;
|
|
69546
|
+
return proto.clarifai.api.PipelineVersionRunStatusLog.deserializeBinaryFromReader(msg, reader);
|
|
69547
|
+
};
|
|
69548
|
+
/**
|
|
69549
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
69550
|
+
* given reader into the given message object.
|
|
69551
|
+
* @param {!proto.clarifai.api.PipelineVersionRunStatusLog} msg The message object to deserialize into.
|
|
69552
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
69553
|
+
* @return {!proto.clarifai.api.PipelineVersionRunStatusLog}
|
|
69554
|
+
*/
|
|
69555
|
+
proto.clarifai.api.PipelineVersionRunStatusLog.deserializeBinaryFromReader = function (msg, reader) {
|
|
69556
|
+
while (reader.nextField()) {
|
|
69557
|
+
if (reader.isEndGroup()) {
|
|
69558
|
+
break;
|
|
69559
|
+
}
|
|
69560
|
+
var field = reader.getFieldNumber();
|
|
69561
|
+
switch (field) {
|
|
69562
|
+
case 1:
|
|
69563
|
+
var value = /** @type {string} */ (reader.readString());
|
|
69564
|
+
msg.setId(value);
|
|
69565
|
+
break;
|
|
69566
|
+
case 2:
|
|
69567
|
+
var value = /** @type {string} */ (reader.readString());
|
|
69568
|
+
msg.setPipelineVersionRunId(value);
|
|
69569
|
+
break;
|
|
69570
|
+
case 3:
|
|
69571
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
69572
|
+
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
69573
|
+
msg.setStatus(value);
|
|
69574
|
+
break;
|
|
69575
|
+
case 4:
|
|
69576
|
+
var value = /** @type {string} */ (reader.readString());
|
|
69577
|
+
msg.setMessage(value);
|
|
69578
|
+
break;
|
|
69579
|
+
case 5:
|
|
69580
|
+
var value = /** @type {string} */ (reader.readString());
|
|
69581
|
+
msg.setTriggeredByUserId(value);
|
|
69582
|
+
break;
|
|
69583
|
+
case 6:
|
|
69584
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
69585
|
+
reader.readMessage(value, google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
69586
|
+
msg.setCreatedAt(value);
|
|
69587
|
+
break;
|
|
69588
|
+
default:
|
|
69589
|
+
reader.skipField();
|
|
69590
|
+
break;
|
|
69591
|
+
}
|
|
69592
|
+
}
|
|
69593
|
+
return msg;
|
|
69594
|
+
};
|
|
69595
|
+
/**
|
|
69596
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
69597
|
+
* @return {!Uint8Array}
|
|
69598
|
+
*/
|
|
69599
|
+
proto.clarifai.api.PipelineVersionRunStatusLog.prototype.serializeBinary = function () {
|
|
69600
|
+
var writer = new jspb.BinaryWriter();
|
|
69601
|
+
proto.clarifai.api.PipelineVersionRunStatusLog.serializeBinaryToWriter(this, writer);
|
|
69602
|
+
return writer.getResultBuffer();
|
|
69603
|
+
};
|
|
69604
|
+
/**
|
|
69605
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
69606
|
+
* format), writing to the given BinaryWriter.
|
|
69607
|
+
* @param {!proto.clarifai.api.PipelineVersionRunStatusLog} message
|
|
69608
|
+
* @param {!jspb.BinaryWriter} writer
|
|
69609
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
69610
|
+
*/
|
|
69611
|
+
proto.clarifai.api.PipelineVersionRunStatusLog.serializeBinaryToWriter = function (message, writer) {
|
|
69612
|
+
var f = undefined;
|
|
69613
|
+
f = message.getId();
|
|
69614
|
+
if (f.length > 0) {
|
|
69615
|
+
writer.writeString(1, f);
|
|
69616
|
+
}
|
|
69617
|
+
f = message.getPipelineVersionRunId();
|
|
69618
|
+
if (f.length > 0) {
|
|
69619
|
+
writer.writeString(2, f);
|
|
69620
|
+
}
|
|
69621
|
+
f = message.getStatus();
|
|
69622
|
+
if (f != null) {
|
|
69623
|
+
writer.writeMessage(3, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
69624
|
+
}
|
|
69625
|
+
f = message.getMessage();
|
|
69626
|
+
if (f.length > 0) {
|
|
69627
|
+
writer.writeString(4, f);
|
|
69628
|
+
}
|
|
69629
|
+
f = message.getTriggeredByUserId();
|
|
69630
|
+
if (f.length > 0) {
|
|
69631
|
+
writer.writeString(5, f);
|
|
69632
|
+
}
|
|
69633
|
+
f = message.getCreatedAt();
|
|
69634
|
+
if (f != null) {
|
|
69635
|
+
writer.writeMessage(6, f, google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter);
|
|
69636
|
+
}
|
|
69637
|
+
};
|
|
69638
|
+
/**
|
|
69639
|
+
* optional string id = 1;
|
|
69640
|
+
* @return {string}
|
|
69641
|
+
*/
|
|
69642
|
+
proto.clarifai.api.PipelineVersionRunStatusLog.prototype.getId = function () {
|
|
69643
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
69644
|
+
};
|
|
69645
|
+
/**
|
|
69646
|
+
* @param {string} value
|
|
69647
|
+
* @return {!proto.clarifai.api.PipelineVersionRunStatusLog} returns this
|
|
69648
|
+
*/
|
|
69649
|
+
proto.clarifai.api.PipelineVersionRunStatusLog.prototype.setId = function (value) {
|
|
69650
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
69651
|
+
};
|
|
69652
|
+
/**
|
|
69653
|
+
* optional string pipeline_version_run_id = 2;
|
|
69654
|
+
* @return {string}
|
|
69655
|
+
*/
|
|
69656
|
+
proto.clarifai.api.PipelineVersionRunStatusLog.prototype.getPipelineVersionRunId = function () {
|
|
69657
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
69658
|
+
};
|
|
69659
|
+
/**
|
|
69660
|
+
* @param {string} value
|
|
69661
|
+
* @return {!proto.clarifai.api.PipelineVersionRunStatusLog} returns this
|
|
69662
|
+
*/
|
|
69663
|
+
proto.clarifai.api.PipelineVersionRunStatusLog.prototype.setPipelineVersionRunId = function (value) {
|
|
69664
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
69665
|
+
};
|
|
69666
|
+
/**
|
|
69667
|
+
* optional status.Status status = 3;
|
|
69668
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
69669
|
+
*/
|
|
69670
|
+
proto.clarifai.api.PipelineVersionRunStatusLog.prototype.getStatus = function () {
|
|
69671
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 3));
|
|
69672
|
+
};
|
|
69673
|
+
/**
|
|
69674
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
69675
|
+
* @return {!proto.clarifai.api.PipelineVersionRunStatusLog} returns this
|
|
69676
|
+
*/
|
|
69677
|
+
proto.clarifai.api.PipelineVersionRunStatusLog.prototype.setStatus = function (value) {
|
|
69678
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
69679
|
+
};
|
|
69680
|
+
/**
|
|
69681
|
+
* Clears the message field making it undefined.
|
|
69682
|
+
* @return {!proto.clarifai.api.PipelineVersionRunStatusLog} returns this
|
|
69683
|
+
*/
|
|
69684
|
+
proto.clarifai.api.PipelineVersionRunStatusLog.prototype.clearStatus = function () {
|
|
69685
|
+
return this.setStatus(undefined);
|
|
69686
|
+
};
|
|
69687
|
+
/**
|
|
69688
|
+
* Returns whether this field is set.
|
|
69689
|
+
* @return {boolean}
|
|
69690
|
+
*/
|
|
69691
|
+
proto.clarifai.api.PipelineVersionRunStatusLog.prototype.hasStatus = function () {
|
|
69692
|
+
return jspb.Message.getField(this, 3) != null;
|
|
69693
|
+
};
|
|
69694
|
+
/**
|
|
69695
|
+
* optional string message = 4;
|
|
69696
|
+
* @return {string}
|
|
69697
|
+
*/
|
|
69698
|
+
proto.clarifai.api.PipelineVersionRunStatusLog.prototype.getMessage = function () {
|
|
69699
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
69700
|
+
};
|
|
69701
|
+
/**
|
|
69702
|
+
* @param {string} value
|
|
69703
|
+
* @return {!proto.clarifai.api.PipelineVersionRunStatusLog} returns this
|
|
69704
|
+
*/
|
|
69705
|
+
proto.clarifai.api.PipelineVersionRunStatusLog.prototype.setMessage = function (value) {
|
|
69706
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
69707
|
+
};
|
|
69708
|
+
/**
|
|
69709
|
+
* optional string triggered_by_user_id = 5;
|
|
69710
|
+
* @return {string}
|
|
69711
|
+
*/
|
|
69712
|
+
proto.clarifai.api.PipelineVersionRunStatusLog.prototype.getTriggeredByUserId = function () {
|
|
69713
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
69714
|
+
};
|
|
69715
|
+
/**
|
|
69716
|
+
* @param {string} value
|
|
69717
|
+
* @return {!proto.clarifai.api.PipelineVersionRunStatusLog} returns this
|
|
69718
|
+
*/
|
|
69719
|
+
proto.clarifai.api.PipelineVersionRunStatusLog.prototype.setTriggeredByUserId = function (value) {
|
|
69720
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
69721
|
+
};
|
|
69722
|
+
/**
|
|
69723
|
+
* optional google.protobuf.Timestamp created_at = 6;
|
|
69724
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
69725
|
+
*/
|
|
69726
|
+
proto.clarifai.api.PipelineVersionRunStatusLog.prototype.getCreatedAt = function () {
|
|
69727
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6));
|
|
69728
|
+
};
|
|
69729
|
+
/**
|
|
69730
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
69731
|
+
* @return {!proto.clarifai.api.PipelineVersionRunStatusLog} returns this
|
|
69732
|
+
*/
|
|
69733
|
+
proto.clarifai.api.PipelineVersionRunStatusLog.prototype.setCreatedAt = function (value) {
|
|
69734
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
69735
|
+
};
|
|
69736
|
+
/**
|
|
69737
|
+
* Clears the message field making it undefined.
|
|
69738
|
+
* @return {!proto.clarifai.api.PipelineVersionRunStatusLog} returns this
|
|
69739
|
+
*/
|
|
69740
|
+
proto.clarifai.api.PipelineVersionRunStatusLog.prototype.clearCreatedAt = function () {
|
|
69741
|
+
return this.setCreatedAt(undefined);
|
|
69742
|
+
};
|
|
69743
|
+
/**
|
|
69744
|
+
* Returns whether this field is set.
|
|
69745
|
+
* @return {boolean}
|
|
69746
|
+
*/
|
|
69747
|
+
proto.clarifai.api.PipelineVersionRunStatusLog.prototype.hasCreatedAt = function () {
|
|
69748
|
+
return jspb.Message.getField(this, 6) != null;
|
|
69749
|
+
};
|
|
68978
69750
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
68979
69751
|
/**
|
|
68980
69752
|
* Creates an object representation of this proto.
|