clarifai-web-grpc 11.0.0 → 11.0.1
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 +89 -1808
- package/dist/esm/proto/clarifai/api/resources_pb.js +89 -1808
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +21 -276
- package/proto/clarifai/api/resources_pb.js +115 -2260
|
@@ -58,8 +58,6 @@ goog.exportSymbol('proto.clarifai.api.AppDuplicationFilters', null, global);
|
|
|
58
58
|
goog.exportSymbol('proto.clarifai.api.AppExtraInfo', null, global);
|
|
59
59
|
goog.exportSymbol('proto.clarifai.api.AppQuery', null, global);
|
|
60
60
|
goog.exportSymbol('proto.clarifai.api.AppResourceCounts', null, global);
|
|
61
|
-
goog.exportSymbol('proto.clarifai.api.ArgoOrchestrationSpec', null, global);
|
|
62
|
-
goog.exportSymbol('proto.clarifai.api.ArgoOrchestrationStatus', null, global);
|
|
63
61
|
goog.exportSymbol('proto.clarifai.api.Audio', null, global);
|
|
64
62
|
goog.exportSymbol('proto.clarifai.api.AudioInfo', null, global);
|
|
65
63
|
goog.exportSymbol('proto.clarifai.api.AuditLogEntry', null, global);
|
|
@@ -212,10 +210,6 @@ goog.exportSymbol('proto.clarifai.api.Nodepool', null, global);
|
|
|
212
210
|
goog.exportSymbol('proto.clarifai.api.Operation', null, global);
|
|
213
211
|
goog.exportSymbol('proto.clarifai.api.Operation.AnnotationOperationCase', null, global);
|
|
214
212
|
goog.exportSymbol('proto.clarifai.api.Operation.OperationCase', null, global);
|
|
215
|
-
goog.exportSymbol('proto.clarifai.api.OrchestrationSpec', null, global);
|
|
216
|
-
goog.exportSymbol('proto.clarifai.api.OrchestrationSpec.OrchestrationCase', null, global);
|
|
217
|
-
goog.exportSymbol('proto.clarifai.api.OrchestrationStatus', null, global);
|
|
218
|
-
goog.exportSymbol('proto.clarifai.api.OrchestrationStatus.StatusDetailsCase', null, global);
|
|
219
213
|
goog.exportSymbol('proto.clarifai.api.Output', null, global);
|
|
220
214
|
goog.exportSymbol('proto.clarifai.api.OutputConfig', null, global);
|
|
221
215
|
goog.exportSymbol('proto.clarifai.api.OutputInfo', null, global);
|
|
@@ -225,9 +219,6 @@ goog.exportSymbol('proto.clarifai.api.Part', null, global);
|
|
|
225
219
|
goog.exportSymbol('proto.clarifai.api.Password', null, global);
|
|
226
220
|
goog.exportSymbol('proto.clarifai.api.PasswordViolations', null, global);
|
|
227
221
|
goog.exportSymbol('proto.clarifai.api.PatchAction', null, global);
|
|
228
|
-
goog.exportSymbol('proto.clarifai.api.Pipeline', null, global);
|
|
229
|
-
goog.exportSymbol('proto.clarifai.api.PipelineRun', null, global);
|
|
230
|
-
goog.exportSymbol('proto.clarifai.api.PipelineVersion', null, global);
|
|
231
222
|
goog.exportSymbol('proto.clarifai.api.Point', null, global);
|
|
232
223
|
goog.exportSymbol('proto.clarifai.api.Point.Visibility', null, global);
|
|
233
224
|
goog.exportSymbol('proto.clarifai.api.Polygon', null, global);
|
|
@@ -4983,153 +4974,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4983
4974
|
*/
|
|
4984
4975
|
proto.clarifai.api.ComputeSourceMetadata.displayName = 'proto.clarifai.api.ComputeSourceMetadata';
|
|
4985
4976
|
}
|
|
4986
|
-
/**
|
|
4987
|
-
* Generated by JsPbCodeGenerator.
|
|
4988
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4989
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
4990
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
4991
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
4992
|
-
* valid.
|
|
4993
|
-
* @extends {jspb.Message}
|
|
4994
|
-
* @constructor
|
|
4995
|
-
*/
|
|
4996
|
-
proto.clarifai.api.ArgoOrchestrationSpec = function(opt_data) {
|
|
4997
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4998
|
-
};
|
|
4999
|
-
goog.inherits(proto.clarifai.api.ArgoOrchestrationSpec, jspb.Message);
|
|
5000
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5001
|
-
/**
|
|
5002
|
-
* @public
|
|
5003
|
-
* @override
|
|
5004
|
-
*/
|
|
5005
|
-
proto.clarifai.api.ArgoOrchestrationSpec.displayName = 'proto.clarifai.api.ArgoOrchestrationSpec';
|
|
5006
|
-
}
|
|
5007
|
-
/**
|
|
5008
|
-
* Generated by JsPbCodeGenerator.
|
|
5009
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5010
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
5011
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
5012
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
5013
|
-
* valid.
|
|
5014
|
-
* @extends {jspb.Message}
|
|
5015
|
-
* @constructor
|
|
5016
|
-
*/
|
|
5017
|
-
proto.clarifai.api.OrchestrationSpec = function(opt_data) {
|
|
5018
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.clarifai.api.OrchestrationSpec.oneofGroups_);
|
|
5019
|
-
};
|
|
5020
|
-
goog.inherits(proto.clarifai.api.OrchestrationSpec, jspb.Message);
|
|
5021
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5022
|
-
/**
|
|
5023
|
-
* @public
|
|
5024
|
-
* @override
|
|
5025
|
-
*/
|
|
5026
|
-
proto.clarifai.api.OrchestrationSpec.displayName = 'proto.clarifai.api.OrchestrationSpec';
|
|
5027
|
-
}
|
|
5028
|
-
/**
|
|
5029
|
-
* Generated by JsPbCodeGenerator.
|
|
5030
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5031
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
5032
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
5033
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
5034
|
-
* valid.
|
|
5035
|
-
* @extends {jspb.Message}
|
|
5036
|
-
* @constructor
|
|
5037
|
-
*/
|
|
5038
|
-
proto.clarifai.api.Pipeline = function(opt_data) {
|
|
5039
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5040
|
-
};
|
|
5041
|
-
goog.inherits(proto.clarifai.api.Pipeline, jspb.Message);
|
|
5042
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5043
|
-
/**
|
|
5044
|
-
* @public
|
|
5045
|
-
* @override
|
|
5046
|
-
*/
|
|
5047
|
-
proto.clarifai.api.Pipeline.displayName = 'proto.clarifai.api.Pipeline';
|
|
5048
|
-
}
|
|
5049
|
-
/**
|
|
5050
|
-
* Generated by JsPbCodeGenerator.
|
|
5051
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5052
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
5053
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
5054
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
5055
|
-
* valid.
|
|
5056
|
-
* @extends {jspb.Message}
|
|
5057
|
-
* @constructor
|
|
5058
|
-
*/
|
|
5059
|
-
proto.clarifai.api.PipelineVersion = function(opt_data) {
|
|
5060
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5061
|
-
};
|
|
5062
|
-
goog.inherits(proto.clarifai.api.PipelineVersion, jspb.Message);
|
|
5063
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5064
|
-
/**
|
|
5065
|
-
* @public
|
|
5066
|
-
* @override
|
|
5067
|
-
*/
|
|
5068
|
-
proto.clarifai.api.PipelineVersion.displayName = 'proto.clarifai.api.PipelineVersion';
|
|
5069
|
-
}
|
|
5070
|
-
/**
|
|
5071
|
-
* Generated by JsPbCodeGenerator.
|
|
5072
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5073
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
5074
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
5075
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
5076
|
-
* valid.
|
|
5077
|
-
* @extends {jspb.Message}
|
|
5078
|
-
* @constructor
|
|
5079
|
-
*/
|
|
5080
|
-
proto.clarifai.api.OrchestrationStatus = function(opt_data) {
|
|
5081
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.clarifai.api.OrchestrationStatus.oneofGroups_);
|
|
5082
|
-
};
|
|
5083
|
-
goog.inherits(proto.clarifai.api.OrchestrationStatus, jspb.Message);
|
|
5084
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5085
|
-
/**
|
|
5086
|
-
* @public
|
|
5087
|
-
* @override
|
|
5088
|
-
*/
|
|
5089
|
-
proto.clarifai.api.OrchestrationStatus.displayName = 'proto.clarifai.api.OrchestrationStatus';
|
|
5090
|
-
}
|
|
5091
|
-
/**
|
|
5092
|
-
* Generated by JsPbCodeGenerator.
|
|
5093
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5094
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
5095
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
5096
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
5097
|
-
* valid.
|
|
5098
|
-
* @extends {jspb.Message}
|
|
5099
|
-
* @constructor
|
|
5100
|
-
*/
|
|
5101
|
-
proto.clarifai.api.ArgoOrchestrationStatus = function(opt_data) {
|
|
5102
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5103
|
-
};
|
|
5104
|
-
goog.inherits(proto.clarifai.api.ArgoOrchestrationStatus, jspb.Message);
|
|
5105
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5106
|
-
/**
|
|
5107
|
-
* @public
|
|
5108
|
-
* @override
|
|
5109
|
-
*/
|
|
5110
|
-
proto.clarifai.api.ArgoOrchestrationStatus.displayName = 'proto.clarifai.api.ArgoOrchestrationStatus';
|
|
5111
|
-
}
|
|
5112
|
-
/**
|
|
5113
|
-
* Generated by JsPbCodeGenerator.
|
|
5114
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5115
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
5116
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
5117
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
5118
|
-
* valid.
|
|
5119
|
-
* @extends {jspb.Message}
|
|
5120
|
-
* @constructor
|
|
5121
|
-
*/
|
|
5122
|
-
proto.clarifai.api.PipelineRun = function(opt_data) {
|
|
5123
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PipelineRun.repeatedFields_, null);
|
|
5124
|
-
};
|
|
5125
|
-
goog.inherits(proto.clarifai.api.PipelineRun, jspb.Message);
|
|
5126
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5127
|
-
/**
|
|
5128
|
-
* @public
|
|
5129
|
-
* @override
|
|
5130
|
-
*/
|
|
5131
|
-
proto.clarifai.api.PipelineRun.displayName = 'proto.clarifai.api.PipelineRun';
|
|
5132
|
-
}
|
|
5133
4977
|
|
|
5134
4978
|
|
|
5135
4979
|
|
|
@@ -71760,7 +71604,7 @@ proto.clarifai.api.ProcessingInfo.prototype.setProcessingId = function(value) {
|
|
|
71760
71604
|
* @private {!Array<!Array<number>>}
|
|
71761
71605
|
* @const
|
|
71762
71606
|
*/
|
|
71763
|
-
proto.clarifai.api.AuditLogTarget.oneofGroups_ = [[1,2,3,4,5,6,7,8]];
|
|
71607
|
+
proto.clarifai.api.AuditLogTarget.oneofGroups_ = [[1,2,3,4,5,6,7,8,9,10]];
|
|
71764
71608
|
|
|
71765
71609
|
/**
|
|
71766
71610
|
* @enum {number}
|
|
@@ -71774,7 +71618,9 @@ proto.clarifai.api.AuditLogTarget.TargetCase = {
|
|
|
71774
71618
|
MODULE: 5,
|
|
71775
71619
|
MODULE_VERSION: 6,
|
|
71776
71620
|
WORKFLOW: 7,
|
|
71777
|
-
WORKFLOW_VERSION: 8
|
|
71621
|
+
WORKFLOW_VERSION: 8,
|
|
71622
|
+
MODEL: 9,
|
|
71623
|
+
MODEL_VERSION: 10
|
|
71778
71624
|
};
|
|
71779
71625
|
|
|
71780
71626
|
/**
|
|
@@ -71822,7 +71668,9 @@ proto.clarifai.api.AuditLogTarget.toObject = function(includeInstance, msg) {
|
|
|
71822
71668
|
module: (f = msg.getModule()) && proto.clarifai.api.Module.toObject(includeInstance, f),
|
|
71823
71669
|
moduleVersion: (f = msg.getModuleVersion()) && proto.clarifai.api.ModuleVersion.toObject(includeInstance, f),
|
|
71824
71670
|
workflow: (f = msg.getWorkflow()) && proto.clarifai.api.Workflow.toObject(includeInstance, f),
|
|
71825
|
-
workflowVersion: (f = msg.getWorkflowVersion()) && proto.clarifai.api.WorkflowVersion.toObject(includeInstance, f)
|
|
71671
|
+
workflowVersion: (f = msg.getWorkflowVersion()) && proto.clarifai.api.WorkflowVersion.toObject(includeInstance, f),
|
|
71672
|
+
model: (f = msg.getModel()) && proto.clarifai.api.Model.toObject(includeInstance, f),
|
|
71673
|
+
modelVersion: (f = msg.getModelVersion()) && proto.clarifai.api.ModelVersion.toObject(includeInstance, f)
|
|
71826
71674
|
};
|
|
71827
71675
|
|
|
71828
71676
|
if (includeInstance) {
|
|
@@ -71899,6 +71747,16 @@ proto.clarifai.api.AuditLogTarget.deserializeBinaryFromReader = function(msg, re
|
|
|
71899
71747
|
reader.readMessage(value,proto.clarifai.api.WorkflowVersion.deserializeBinaryFromReader);
|
|
71900
71748
|
msg.setWorkflowVersion(value);
|
|
71901
71749
|
break;
|
|
71750
|
+
case 9:
|
|
71751
|
+
var value = new proto.clarifai.api.Model;
|
|
71752
|
+
reader.readMessage(value,proto.clarifai.api.Model.deserializeBinaryFromReader);
|
|
71753
|
+
msg.setModel(value);
|
|
71754
|
+
break;
|
|
71755
|
+
case 10:
|
|
71756
|
+
var value = new proto.clarifai.api.ModelVersion;
|
|
71757
|
+
reader.readMessage(value,proto.clarifai.api.ModelVersion.deserializeBinaryFromReader);
|
|
71758
|
+
msg.setModelVersion(value);
|
|
71759
|
+
break;
|
|
71902
71760
|
default:
|
|
71903
71761
|
reader.skipField();
|
|
71904
71762
|
break;
|
|
@@ -71992,6 +71850,22 @@ proto.clarifai.api.AuditLogTarget.serializeBinaryToWriter = function(message, wr
|
|
|
71992
71850
|
proto.clarifai.api.WorkflowVersion.serializeBinaryToWriter
|
|
71993
71851
|
);
|
|
71994
71852
|
}
|
|
71853
|
+
f = message.getModel();
|
|
71854
|
+
if (f != null) {
|
|
71855
|
+
writer.writeMessage(
|
|
71856
|
+
9,
|
|
71857
|
+
f,
|
|
71858
|
+
proto.clarifai.api.Model.serializeBinaryToWriter
|
|
71859
|
+
);
|
|
71860
|
+
}
|
|
71861
|
+
f = message.getModelVersion();
|
|
71862
|
+
if (f != null) {
|
|
71863
|
+
writer.writeMessage(
|
|
71864
|
+
10,
|
|
71865
|
+
f,
|
|
71866
|
+
proto.clarifai.api.ModelVersion.serializeBinaryToWriter
|
|
71867
|
+
);
|
|
71868
|
+
}
|
|
71995
71869
|
};
|
|
71996
71870
|
|
|
71997
71871
|
|
|
@@ -72291,6 +72165,80 @@ proto.clarifai.api.AuditLogTarget.prototype.hasWorkflowVersion = function() {
|
|
|
72291
72165
|
};
|
|
72292
72166
|
|
|
72293
72167
|
|
|
72168
|
+
/**
|
|
72169
|
+
* optional Model model = 9;
|
|
72170
|
+
* @return {?proto.clarifai.api.Model}
|
|
72171
|
+
*/
|
|
72172
|
+
proto.clarifai.api.AuditLogTarget.prototype.getModel = function() {
|
|
72173
|
+
return /** @type{?proto.clarifai.api.Model} */ (
|
|
72174
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.Model, 9));
|
|
72175
|
+
};
|
|
72176
|
+
|
|
72177
|
+
|
|
72178
|
+
/**
|
|
72179
|
+
* @param {?proto.clarifai.api.Model|undefined} value
|
|
72180
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
72181
|
+
*/
|
|
72182
|
+
proto.clarifai.api.AuditLogTarget.prototype.setModel = function(value) {
|
|
72183
|
+
return jspb.Message.setOneofWrapperField(this, 9, proto.clarifai.api.AuditLogTarget.oneofGroups_[0], value);
|
|
72184
|
+
};
|
|
72185
|
+
|
|
72186
|
+
|
|
72187
|
+
/**
|
|
72188
|
+
* Clears the message field making it undefined.
|
|
72189
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
72190
|
+
*/
|
|
72191
|
+
proto.clarifai.api.AuditLogTarget.prototype.clearModel = function() {
|
|
72192
|
+
return this.setModel(undefined);
|
|
72193
|
+
};
|
|
72194
|
+
|
|
72195
|
+
|
|
72196
|
+
/**
|
|
72197
|
+
* Returns whether this field is set.
|
|
72198
|
+
* @return {boolean}
|
|
72199
|
+
*/
|
|
72200
|
+
proto.clarifai.api.AuditLogTarget.prototype.hasModel = function() {
|
|
72201
|
+
return jspb.Message.getField(this, 9) != null;
|
|
72202
|
+
};
|
|
72203
|
+
|
|
72204
|
+
|
|
72205
|
+
/**
|
|
72206
|
+
* optional ModelVersion model_version = 10;
|
|
72207
|
+
* @return {?proto.clarifai.api.ModelVersion}
|
|
72208
|
+
*/
|
|
72209
|
+
proto.clarifai.api.AuditLogTarget.prototype.getModelVersion = function() {
|
|
72210
|
+
return /** @type{?proto.clarifai.api.ModelVersion} */ (
|
|
72211
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.ModelVersion, 10));
|
|
72212
|
+
};
|
|
72213
|
+
|
|
72214
|
+
|
|
72215
|
+
/**
|
|
72216
|
+
* @param {?proto.clarifai.api.ModelVersion|undefined} value
|
|
72217
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
72218
|
+
*/
|
|
72219
|
+
proto.clarifai.api.AuditLogTarget.prototype.setModelVersion = function(value) {
|
|
72220
|
+
return jspb.Message.setOneofWrapperField(this, 10, proto.clarifai.api.AuditLogTarget.oneofGroups_[0], value);
|
|
72221
|
+
};
|
|
72222
|
+
|
|
72223
|
+
|
|
72224
|
+
/**
|
|
72225
|
+
* Clears the message field making it undefined.
|
|
72226
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
72227
|
+
*/
|
|
72228
|
+
proto.clarifai.api.AuditLogTarget.prototype.clearModelVersion = function() {
|
|
72229
|
+
return this.setModelVersion(undefined);
|
|
72230
|
+
};
|
|
72231
|
+
|
|
72232
|
+
|
|
72233
|
+
/**
|
|
72234
|
+
* Returns whether this field is set.
|
|
72235
|
+
* @return {boolean}
|
|
72236
|
+
*/
|
|
72237
|
+
proto.clarifai.api.AuditLogTarget.prototype.hasModelVersion = function() {
|
|
72238
|
+
return jspb.Message.getField(this, 10) != null;
|
|
72239
|
+
};
|
|
72240
|
+
|
|
72241
|
+
|
|
72294
72242
|
|
|
72295
72243
|
/**
|
|
72296
72244
|
* List of repeated fields within this message type.
|
|
@@ -74333,2106 +74281,6 @@ proto.clarifai.api.ComputeSourceMetadata.prototype.setRunnerId = function(value)
|
|
|
74333
74281
|
};
|
|
74334
74282
|
|
|
74335
74283
|
|
|
74336
|
-
|
|
74337
|
-
|
|
74338
|
-
|
|
74339
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
74340
|
-
/**
|
|
74341
|
-
* Creates an object representation of this proto.
|
|
74342
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
74343
|
-
* Optional fields that are not set will be set to undefined.
|
|
74344
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
74345
|
-
* For the list of reserved names please see:
|
|
74346
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
74347
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
74348
|
-
* JSPB instance for transitional soy proto support:
|
|
74349
|
-
* http://goto/soy-param-migration
|
|
74350
|
-
* @return {!Object}
|
|
74351
|
-
*/
|
|
74352
|
-
proto.clarifai.api.ArgoOrchestrationSpec.prototype.toObject = function(opt_includeInstance) {
|
|
74353
|
-
return proto.clarifai.api.ArgoOrchestrationSpec.toObject(opt_includeInstance, this);
|
|
74354
|
-
};
|
|
74355
|
-
|
|
74356
|
-
|
|
74357
|
-
/**
|
|
74358
|
-
* Static version of the {@see toObject} method.
|
|
74359
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
74360
|
-
* the JSPB instance for transitional soy proto support:
|
|
74361
|
-
* http://goto/soy-param-migration
|
|
74362
|
-
* @param {!proto.clarifai.api.ArgoOrchestrationSpec} msg The msg instance to transform.
|
|
74363
|
-
* @return {!Object}
|
|
74364
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
74365
|
-
*/
|
|
74366
|
-
proto.clarifai.api.ArgoOrchestrationSpec.toObject = function(includeInstance, msg) {
|
|
74367
|
-
var f, obj = {
|
|
74368
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
74369
|
-
apiVersion: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
74370
|
-
specJson: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
74371
|
-
};
|
|
74372
|
-
|
|
74373
|
-
if (includeInstance) {
|
|
74374
|
-
obj.$jspbMessageInstance = msg;
|
|
74375
|
-
}
|
|
74376
|
-
return obj;
|
|
74377
|
-
};
|
|
74378
|
-
}
|
|
74379
|
-
|
|
74380
|
-
|
|
74381
|
-
/**
|
|
74382
|
-
* Deserializes binary data (in protobuf wire format).
|
|
74383
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
74384
|
-
* @return {!proto.clarifai.api.ArgoOrchestrationSpec}
|
|
74385
|
-
*/
|
|
74386
|
-
proto.clarifai.api.ArgoOrchestrationSpec.deserializeBinary = function(bytes) {
|
|
74387
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
74388
|
-
var msg = new proto.clarifai.api.ArgoOrchestrationSpec;
|
|
74389
|
-
return proto.clarifai.api.ArgoOrchestrationSpec.deserializeBinaryFromReader(msg, reader);
|
|
74390
|
-
};
|
|
74391
|
-
|
|
74392
|
-
|
|
74393
|
-
/**
|
|
74394
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
74395
|
-
* given reader into the given message object.
|
|
74396
|
-
* @param {!proto.clarifai.api.ArgoOrchestrationSpec} msg The message object to deserialize into.
|
|
74397
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
74398
|
-
* @return {!proto.clarifai.api.ArgoOrchestrationSpec}
|
|
74399
|
-
*/
|
|
74400
|
-
proto.clarifai.api.ArgoOrchestrationSpec.deserializeBinaryFromReader = function(msg, reader) {
|
|
74401
|
-
while (reader.nextField()) {
|
|
74402
|
-
if (reader.isEndGroup()) {
|
|
74403
|
-
break;
|
|
74404
|
-
}
|
|
74405
|
-
var field = reader.getFieldNumber();
|
|
74406
|
-
switch (field) {
|
|
74407
|
-
case 1:
|
|
74408
|
-
var value = /** @type {string} */ (reader.readString());
|
|
74409
|
-
msg.setId(value);
|
|
74410
|
-
break;
|
|
74411
|
-
case 2:
|
|
74412
|
-
var value = /** @type {string} */ (reader.readString());
|
|
74413
|
-
msg.setApiVersion(value);
|
|
74414
|
-
break;
|
|
74415
|
-
case 3:
|
|
74416
|
-
var value = /** @type {string} */ (reader.readString());
|
|
74417
|
-
msg.setSpecJson(value);
|
|
74418
|
-
break;
|
|
74419
|
-
default:
|
|
74420
|
-
reader.skipField();
|
|
74421
|
-
break;
|
|
74422
|
-
}
|
|
74423
|
-
}
|
|
74424
|
-
return msg;
|
|
74425
|
-
};
|
|
74426
|
-
|
|
74427
|
-
|
|
74428
|
-
/**
|
|
74429
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
74430
|
-
* @return {!Uint8Array}
|
|
74431
|
-
*/
|
|
74432
|
-
proto.clarifai.api.ArgoOrchestrationSpec.prototype.serializeBinary = function() {
|
|
74433
|
-
var writer = new jspb.BinaryWriter();
|
|
74434
|
-
proto.clarifai.api.ArgoOrchestrationSpec.serializeBinaryToWriter(this, writer);
|
|
74435
|
-
return writer.getResultBuffer();
|
|
74436
|
-
};
|
|
74437
|
-
|
|
74438
|
-
|
|
74439
|
-
/**
|
|
74440
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
74441
|
-
* format), writing to the given BinaryWriter.
|
|
74442
|
-
* @param {!proto.clarifai.api.ArgoOrchestrationSpec} message
|
|
74443
|
-
* @param {!jspb.BinaryWriter} writer
|
|
74444
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
74445
|
-
*/
|
|
74446
|
-
proto.clarifai.api.ArgoOrchestrationSpec.serializeBinaryToWriter = function(message, writer) {
|
|
74447
|
-
var f = undefined;
|
|
74448
|
-
f = message.getId();
|
|
74449
|
-
if (f.length > 0) {
|
|
74450
|
-
writer.writeString(
|
|
74451
|
-
1,
|
|
74452
|
-
f
|
|
74453
|
-
);
|
|
74454
|
-
}
|
|
74455
|
-
f = message.getApiVersion();
|
|
74456
|
-
if (f.length > 0) {
|
|
74457
|
-
writer.writeString(
|
|
74458
|
-
2,
|
|
74459
|
-
f
|
|
74460
|
-
);
|
|
74461
|
-
}
|
|
74462
|
-
f = message.getSpecJson();
|
|
74463
|
-
if (f.length > 0) {
|
|
74464
|
-
writer.writeString(
|
|
74465
|
-
3,
|
|
74466
|
-
f
|
|
74467
|
-
);
|
|
74468
|
-
}
|
|
74469
|
-
};
|
|
74470
|
-
|
|
74471
|
-
|
|
74472
|
-
/**
|
|
74473
|
-
* optional string id = 1;
|
|
74474
|
-
* @return {string}
|
|
74475
|
-
*/
|
|
74476
|
-
proto.clarifai.api.ArgoOrchestrationSpec.prototype.getId = function() {
|
|
74477
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
74478
|
-
};
|
|
74479
|
-
|
|
74480
|
-
|
|
74481
|
-
/**
|
|
74482
|
-
* @param {string} value
|
|
74483
|
-
* @return {!proto.clarifai.api.ArgoOrchestrationSpec} returns this
|
|
74484
|
-
*/
|
|
74485
|
-
proto.clarifai.api.ArgoOrchestrationSpec.prototype.setId = function(value) {
|
|
74486
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
74487
|
-
};
|
|
74488
|
-
|
|
74489
|
-
|
|
74490
|
-
/**
|
|
74491
|
-
* optional string api_version = 2;
|
|
74492
|
-
* @return {string}
|
|
74493
|
-
*/
|
|
74494
|
-
proto.clarifai.api.ArgoOrchestrationSpec.prototype.getApiVersion = function() {
|
|
74495
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
74496
|
-
};
|
|
74497
|
-
|
|
74498
|
-
|
|
74499
|
-
/**
|
|
74500
|
-
* @param {string} value
|
|
74501
|
-
* @return {!proto.clarifai.api.ArgoOrchestrationSpec} returns this
|
|
74502
|
-
*/
|
|
74503
|
-
proto.clarifai.api.ArgoOrchestrationSpec.prototype.setApiVersion = function(value) {
|
|
74504
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
74505
|
-
};
|
|
74506
|
-
|
|
74507
|
-
|
|
74508
|
-
/**
|
|
74509
|
-
* optional string spec_json = 3;
|
|
74510
|
-
* @return {string}
|
|
74511
|
-
*/
|
|
74512
|
-
proto.clarifai.api.ArgoOrchestrationSpec.prototype.getSpecJson = function() {
|
|
74513
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
74514
|
-
};
|
|
74515
|
-
|
|
74516
|
-
|
|
74517
|
-
/**
|
|
74518
|
-
* @param {string} value
|
|
74519
|
-
* @return {!proto.clarifai.api.ArgoOrchestrationSpec} returns this
|
|
74520
|
-
*/
|
|
74521
|
-
proto.clarifai.api.ArgoOrchestrationSpec.prototype.setSpecJson = function(value) {
|
|
74522
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
74523
|
-
};
|
|
74524
|
-
|
|
74525
|
-
|
|
74526
|
-
|
|
74527
|
-
/**
|
|
74528
|
-
* Oneof group definitions for this message. Each group defines the field
|
|
74529
|
-
* numbers belonging to that group. When of these fields' value is set, all
|
|
74530
|
-
* other fields in the group are cleared. During deserialization, if multiple
|
|
74531
|
-
* fields are encountered for a group, only the last value seen will be kept.
|
|
74532
|
-
* @private {!Array<!Array<number>>}
|
|
74533
|
-
* @const
|
|
74534
|
-
*/
|
|
74535
|
-
proto.clarifai.api.OrchestrationSpec.oneofGroups_ = [[1]];
|
|
74536
|
-
|
|
74537
|
-
/**
|
|
74538
|
-
* @enum {number}
|
|
74539
|
-
*/
|
|
74540
|
-
proto.clarifai.api.OrchestrationSpec.OrchestrationCase = {
|
|
74541
|
-
ORCHESTRATION_NOT_SET: 0,
|
|
74542
|
-
ARGO_ORCHESTRATION_SPEC: 1
|
|
74543
|
-
};
|
|
74544
|
-
|
|
74545
|
-
/**
|
|
74546
|
-
* @return {proto.clarifai.api.OrchestrationSpec.OrchestrationCase}
|
|
74547
|
-
*/
|
|
74548
|
-
proto.clarifai.api.OrchestrationSpec.prototype.getOrchestrationCase = function() {
|
|
74549
|
-
return /** @type {proto.clarifai.api.OrchestrationSpec.OrchestrationCase} */(jspb.Message.computeOneofCase(this, proto.clarifai.api.OrchestrationSpec.oneofGroups_[0]));
|
|
74550
|
-
};
|
|
74551
|
-
|
|
74552
|
-
|
|
74553
|
-
|
|
74554
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
74555
|
-
/**
|
|
74556
|
-
* Creates an object representation of this proto.
|
|
74557
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
74558
|
-
* Optional fields that are not set will be set to undefined.
|
|
74559
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
74560
|
-
* For the list of reserved names please see:
|
|
74561
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
74562
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
74563
|
-
* JSPB instance for transitional soy proto support:
|
|
74564
|
-
* http://goto/soy-param-migration
|
|
74565
|
-
* @return {!Object}
|
|
74566
|
-
*/
|
|
74567
|
-
proto.clarifai.api.OrchestrationSpec.prototype.toObject = function(opt_includeInstance) {
|
|
74568
|
-
return proto.clarifai.api.OrchestrationSpec.toObject(opt_includeInstance, this);
|
|
74569
|
-
};
|
|
74570
|
-
|
|
74571
|
-
|
|
74572
|
-
/**
|
|
74573
|
-
* Static version of the {@see toObject} method.
|
|
74574
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
74575
|
-
* the JSPB instance for transitional soy proto support:
|
|
74576
|
-
* http://goto/soy-param-migration
|
|
74577
|
-
* @param {!proto.clarifai.api.OrchestrationSpec} msg The msg instance to transform.
|
|
74578
|
-
* @return {!Object}
|
|
74579
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
74580
|
-
*/
|
|
74581
|
-
proto.clarifai.api.OrchestrationSpec.toObject = function(includeInstance, msg) {
|
|
74582
|
-
var f, obj = {
|
|
74583
|
-
argoOrchestrationSpec: (f = msg.getArgoOrchestrationSpec()) && proto.clarifai.api.ArgoOrchestrationSpec.toObject(includeInstance, f)
|
|
74584
|
-
};
|
|
74585
|
-
|
|
74586
|
-
if (includeInstance) {
|
|
74587
|
-
obj.$jspbMessageInstance = msg;
|
|
74588
|
-
}
|
|
74589
|
-
return obj;
|
|
74590
|
-
};
|
|
74591
|
-
}
|
|
74592
|
-
|
|
74593
|
-
|
|
74594
|
-
/**
|
|
74595
|
-
* Deserializes binary data (in protobuf wire format).
|
|
74596
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
74597
|
-
* @return {!proto.clarifai.api.OrchestrationSpec}
|
|
74598
|
-
*/
|
|
74599
|
-
proto.clarifai.api.OrchestrationSpec.deserializeBinary = function(bytes) {
|
|
74600
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
74601
|
-
var msg = new proto.clarifai.api.OrchestrationSpec;
|
|
74602
|
-
return proto.clarifai.api.OrchestrationSpec.deserializeBinaryFromReader(msg, reader);
|
|
74603
|
-
};
|
|
74604
|
-
|
|
74605
|
-
|
|
74606
|
-
/**
|
|
74607
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
74608
|
-
* given reader into the given message object.
|
|
74609
|
-
* @param {!proto.clarifai.api.OrchestrationSpec} msg The message object to deserialize into.
|
|
74610
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
74611
|
-
* @return {!proto.clarifai.api.OrchestrationSpec}
|
|
74612
|
-
*/
|
|
74613
|
-
proto.clarifai.api.OrchestrationSpec.deserializeBinaryFromReader = function(msg, reader) {
|
|
74614
|
-
while (reader.nextField()) {
|
|
74615
|
-
if (reader.isEndGroup()) {
|
|
74616
|
-
break;
|
|
74617
|
-
}
|
|
74618
|
-
var field = reader.getFieldNumber();
|
|
74619
|
-
switch (field) {
|
|
74620
|
-
case 1:
|
|
74621
|
-
var value = new proto.clarifai.api.ArgoOrchestrationSpec;
|
|
74622
|
-
reader.readMessage(value,proto.clarifai.api.ArgoOrchestrationSpec.deserializeBinaryFromReader);
|
|
74623
|
-
msg.setArgoOrchestrationSpec(value);
|
|
74624
|
-
break;
|
|
74625
|
-
default:
|
|
74626
|
-
reader.skipField();
|
|
74627
|
-
break;
|
|
74628
|
-
}
|
|
74629
|
-
}
|
|
74630
|
-
return msg;
|
|
74631
|
-
};
|
|
74632
|
-
|
|
74633
|
-
|
|
74634
|
-
/**
|
|
74635
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
74636
|
-
* @return {!Uint8Array}
|
|
74637
|
-
*/
|
|
74638
|
-
proto.clarifai.api.OrchestrationSpec.prototype.serializeBinary = function() {
|
|
74639
|
-
var writer = new jspb.BinaryWriter();
|
|
74640
|
-
proto.clarifai.api.OrchestrationSpec.serializeBinaryToWriter(this, writer);
|
|
74641
|
-
return writer.getResultBuffer();
|
|
74642
|
-
};
|
|
74643
|
-
|
|
74644
|
-
|
|
74645
|
-
/**
|
|
74646
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
74647
|
-
* format), writing to the given BinaryWriter.
|
|
74648
|
-
* @param {!proto.clarifai.api.OrchestrationSpec} message
|
|
74649
|
-
* @param {!jspb.BinaryWriter} writer
|
|
74650
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
74651
|
-
*/
|
|
74652
|
-
proto.clarifai.api.OrchestrationSpec.serializeBinaryToWriter = function(message, writer) {
|
|
74653
|
-
var f = undefined;
|
|
74654
|
-
f = message.getArgoOrchestrationSpec();
|
|
74655
|
-
if (f != null) {
|
|
74656
|
-
writer.writeMessage(
|
|
74657
|
-
1,
|
|
74658
|
-
f,
|
|
74659
|
-
proto.clarifai.api.ArgoOrchestrationSpec.serializeBinaryToWriter
|
|
74660
|
-
);
|
|
74661
|
-
}
|
|
74662
|
-
};
|
|
74663
|
-
|
|
74664
|
-
|
|
74665
|
-
/**
|
|
74666
|
-
* optional ArgoOrchestrationSpec argo_orchestration_spec = 1;
|
|
74667
|
-
* @return {?proto.clarifai.api.ArgoOrchestrationSpec}
|
|
74668
|
-
*/
|
|
74669
|
-
proto.clarifai.api.OrchestrationSpec.prototype.getArgoOrchestrationSpec = function() {
|
|
74670
|
-
return /** @type{?proto.clarifai.api.ArgoOrchestrationSpec} */ (
|
|
74671
|
-
jspb.Message.getWrapperField(this, proto.clarifai.api.ArgoOrchestrationSpec, 1));
|
|
74672
|
-
};
|
|
74673
|
-
|
|
74674
|
-
|
|
74675
|
-
/**
|
|
74676
|
-
* @param {?proto.clarifai.api.ArgoOrchestrationSpec|undefined} value
|
|
74677
|
-
* @return {!proto.clarifai.api.OrchestrationSpec} returns this
|
|
74678
|
-
*/
|
|
74679
|
-
proto.clarifai.api.OrchestrationSpec.prototype.setArgoOrchestrationSpec = function(value) {
|
|
74680
|
-
return jspb.Message.setOneofWrapperField(this, 1, proto.clarifai.api.OrchestrationSpec.oneofGroups_[0], value);
|
|
74681
|
-
};
|
|
74682
|
-
|
|
74683
|
-
|
|
74684
|
-
/**
|
|
74685
|
-
* Clears the message field making it undefined.
|
|
74686
|
-
* @return {!proto.clarifai.api.OrchestrationSpec} returns this
|
|
74687
|
-
*/
|
|
74688
|
-
proto.clarifai.api.OrchestrationSpec.prototype.clearArgoOrchestrationSpec = function() {
|
|
74689
|
-
return this.setArgoOrchestrationSpec(undefined);
|
|
74690
|
-
};
|
|
74691
|
-
|
|
74692
|
-
|
|
74693
|
-
/**
|
|
74694
|
-
* Returns whether this field is set.
|
|
74695
|
-
* @return {boolean}
|
|
74696
|
-
*/
|
|
74697
|
-
proto.clarifai.api.OrchestrationSpec.prototype.hasArgoOrchestrationSpec = function() {
|
|
74698
|
-
return jspb.Message.getField(this, 1) != null;
|
|
74699
|
-
};
|
|
74700
|
-
|
|
74701
|
-
|
|
74702
|
-
|
|
74703
|
-
|
|
74704
|
-
|
|
74705
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
74706
|
-
/**
|
|
74707
|
-
* Creates an object representation of this proto.
|
|
74708
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
74709
|
-
* Optional fields that are not set will be set to undefined.
|
|
74710
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
74711
|
-
* For the list of reserved names please see:
|
|
74712
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
74713
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
74714
|
-
* JSPB instance for transitional soy proto support:
|
|
74715
|
-
* http://goto/soy-param-migration
|
|
74716
|
-
* @return {!Object}
|
|
74717
|
-
*/
|
|
74718
|
-
proto.clarifai.api.Pipeline.prototype.toObject = function(opt_includeInstance) {
|
|
74719
|
-
return proto.clarifai.api.Pipeline.toObject(opt_includeInstance, this);
|
|
74720
|
-
};
|
|
74721
|
-
|
|
74722
|
-
|
|
74723
|
-
/**
|
|
74724
|
-
* Static version of the {@see toObject} method.
|
|
74725
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
74726
|
-
* the JSPB instance for transitional soy proto support:
|
|
74727
|
-
* http://goto/soy-param-migration
|
|
74728
|
-
* @param {!proto.clarifai.api.Pipeline} msg The msg instance to transform.
|
|
74729
|
-
* @return {!Object}
|
|
74730
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
74731
|
-
*/
|
|
74732
|
-
proto.clarifai.api.Pipeline.toObject = function(includeInstance, msg) {
|
|
74733
|
-
var f, obj = {
|
|
74734
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
74735
|
-
userId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
74736
|
-
appId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
74737
|
-
orchestrationSpec: (f = msg.getOrchestrationSpec()) && proto.clarifai.api.OrchestrationSpec.toObject(includeInstance, f),
|
|
74738
|
-
pipelineVersion: (f = msg.getPipelineVersion()) && proto.clarifai.api.PipelineVersion.toObject(includeInstance, f),
|
|
74739
|
-
description: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
74740
|
-
visibility: (f = msg.getVisibility()) && proto.clarifai.api.Visibility.toObject(includeInstance, f),
|
|
74741
|
-
notes: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
74742
|
-
metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
74743
|
-
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
74744
|
-
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
74745
|
-
};
|
|
74746
|
-
|
|
74747
|
-
if (includeInstance) {
|
|
74748
|
-
obj.$jspbMessageInstance = msg;
|
|
74749
|
-
}
|
|
74750
|
-
return obj;
|
|
74751
|
-
};
|
|
74752
|
-
}
|
|
74753
|
-
|
|
74754
|
-
|
|
74755
|
-
/**
|
|
74756
|
-
* Deserializes binary data (in protobuf wire format).
|
|
74757
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
74758
|
-
* @return {!proto.clarifai.api.Pipeline}
|
|
74759
|
-
*/
|
|
74760
|
-
proto.clarifai.api.Pipeline.deserializeBinary = function(bytes) {
|
|
74761
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
74762
|
-
var msg = new proto.clarifai.api.Pipeline;
|
|
74763
|
-
return proto.clarifai.api.Pipeline.deserializeBinaryFromReader(msg, reader);
|
|
74764
|
-
};
|
|
74765
|
-
|
|
74766
|
-
|
|
74767
|
-
/**
|
|
74768
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
74769
|
-
* given reader into the given message object.
|
|
74770
|
-
* @param {!proto.clarifai.api.Pipeline} msg The message object to deserialize into.
|
|
74771
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
74772
|
-
* @return {!proto.clarifai.api.Pipeline}
|
|
74773
|
-
*/
|
|
74774
|
-
proto.clarifai.api.Pipeline.deserializeBinaryFromReader = function(msg, reader) {
|
|
74775
|
-
while (reader.nextField()) {
|
|
74776
|
-
if (reader.isEndGroup()) {
|
|
74777
|
-
break;
|
|
74778
|
-
}
|
|
74779
|
-
var field = reader.getFieldNumber();
|
|
74780
|
-
switch (field) {
|
|
74781
|
-
case 1:
|
|
74782
|
-
var value = /** @type {string} */ (reader.readString());
|
|
74783
|
-
msg.setId(value);
|
|
74784
|
-
break;
|
|
74785
|
-
case 2:
|
|
74786
|
-
var value = /** @type {string} */ (reader.readString());
|
|
74787
|
-
msg.setUserId(value);
|
|
74788
|
-
break;
|
|
74789
|
-
case 3:
|
|
74790
|
-
var value = /** @type {string} */ (reader.readString());
|
|
74791
|
-
msg.setAppId(value);
|
|
74792
|
-
break;
|
|
74793
|
-
case 4:
|
|
74794
|
-
var value = new proto.clarifai.api.OrchestrationSpec;
|
|
74795
|
-
reader.readMessage(value,proto.clarifai.api.OrchestrationSpec.deserializeBinaryFromReader);
|
|
74796
|
-
msg.setOrchestrationSpec(value);
|
|
74797
|
-
break;
|
|
74798
|
-
case 5:
|
|
74799
|
-
var value = new proto.clarifai.api.PipelineVersion;
|
|
74800
|
-
reader.readMessage(value,proto.clarifai.api.PipelineVersion.deserializeBinaryFromReader);
|
|
74801
|
-
msg.setPipelineVersion(value);
|
|
74802
|
-
break;
|
|
74803
|
-
case 6:
|
|
74804
|
-
var value = /** @type {string} */ (reader.readString());
|
|
74805
|
-
msg.setDescription(value);
|
|
74806
|
-
break;
|
|
74807
|
-
case 7:
|
|
74808
|
-
var value = new proto.clarifai.api.Visibility;
|
|
74809
|
-
reader.readMessage(value,proto.clarifai.api.Visibility.deserializeBinaryFromReader);
|
|
74810
|
-
msg.setVisibility(value);
|
|
74811
|
-
break;
|
|
74812
|
-
case 8:
|
|
74813
|
-
var value = /** @type {string} */ (reader.readString());
|
|
74814
|
-
msg.setNotes(value);
|
|
74815
|
-
break;
|
|
74816
|
-
case 9:
|
|
74817
|
-
var value = new google_protobuf_struct_pb.Struct;
|
|
74818
|
-
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
|
|
74819
|
-
msg.setMetadata(value);
|
|
74820
|
-
break;
|
|
74821
|
-
case 10:
|
|
74822
|
-
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
74823
|
-
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
74824
|
-
msg.setCreatedAt(value);
|
|
74825
|
-
break;
|
|
74826
|
-
case 11:
|
|
74827
|
-
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
74828
|
-
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
74829
|
-
msg.setModifiedAt(value);
|
|
74830
|
-
break;
|
|
74831
|
-
default:
|
|
74832
|
-
reader.skipField();
|
|
74833
|
-
break;
|
|
74834
|
-
}
|
|
74835
|
-
}
|
|
74836
|
-
return msg;
|
|
74837
|
-
};
|
|
74838
|
-
|
|
74839
|
-
|
|
74840
|
-
/**
|
|
74841
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
74842
|
-
* @return {!Uint8Array}
|
|
74843
|
-
*/
|
|
74844
|
-
proto.clarifai.api.Pipeline.prototype.serializeBinary = function() {
|
|
74845
|
-
var writer = new jspb.BinaryWriter();
|
|
74846
|
-
proto.clarifai.api.Pipeline.serializeBinaryToWriter(this, writer);
|
|
74847
|
-
return writer.getResultBuffer();
|
|
74848
|
-
};
|
|
74849
|
-
|
|
74850
|
-
|
|
74851
|
-
/**
|
|
74852
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
74853
|
-
* format), writing to the given BinaryWriter.
|
|
74854
|
-
* @param {!proto.clarifai.api.Pipeline} message
|
|
74855
|
-
* @param {!jspb.BinaryWriter} writer
|
|
74856
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
74857
|
-
*/
|
|
74858
|
-
proto.clarifai.api.Pipeline.serializeBinaryToWriter = function(message, writer) {
|
|
74859
|
-
var f = undefined;
|
|
74860
|
-
f = message.getId();
|
|
74861
|
-
if (f.length > 0) {
|
|
74862
|
-
writer.writeString(
|
|
74863
|
-
1,
|
|
74864
|
-
f
|
|
74865
|
-
);
|
|
74866
|
-
}
|
|
74867
|
-
f = message.getUserId();
|
|
74868
|
-
if (f.length > 0) {
|
|
74869
|
-
writer.writeString(
|
|
74870
|
-
2,
|
|
74871
|
-
f
|
|
74872
|
-
);
|
|
74873
|
-
}
|
|
74874
|
-
f = message.getAppId();
|
|
74875
|
-
if (f.length > 0) {
|
|
74876
|
-
writer.writeString(
|
|
74877
|
-
3,
|
|
74878
|
-
f
|
|
74879
|
-
);
|
|
74880
|
-
}
|
|
74881
|
-
f = message.getOrchestrationSpec();
|
|
74882
|
-
if (f != null) {
|
|
74883
|
-
writer.writeMessage(
|
|
74884
|
-
4,
|
|
74885
|
-
f,
|
|
74886
|
-
proto.clarifai.api.OrchestrationSpec.serializeBinaryToWriter
|
|
74887
|
-
);
|
|
74888
|
-
}
|
|
74889
|
-
f = message.getPipelineVersion();
|
|
74890
|
-
if (f != null) {
|
|
74891
|
-
writer.writeMessage(
|
|
74892
|
-
5,
|
|
74893
|
-
f,
|
|
74894
|
-
proto.clarifai.api.PipelineVersion.serializeBinaryToWriter
|
|
74895
|
-
);
|
|
74896
|
-
}
|
|
74897
|
-
f = message.getDescription();
|
|
74898
|
-
if (f.length > 0) {
|
|
74899
|
-
writer.writeString(
|
|
74900
|
-
6,
|
|
74901
|
-
f
|
|
74902
|
-
);
|
|
74903
|
-
}
|
|
74904
|
-
f = message.getVisibility();
|
|
74905
|
-
if (f != null) {
|
|
74906
|
-
writer.writeMessage(
|
|
74907
|
-
7,
|
|
74908
|
-
f,
|
|
74909
|
-
proto.clarifai.api.Visibility.serializeBinaryToWriter
|
|
74910
|
-
);
|
|
74911
|
-
}
|
|
74912
|
-
f = message.getNotes();
|
|
74913
|
-
if (f.length > 0) {
|
|
74914
|
-
writer.writeString(
|
|
74915
|
-
8,
|
|
74916
|
-
f
|
|
74917
|
-
);
|
|
74918
|
-
}
|
|
74919
|
-
f = message.getMetadata();
|
|
74920
|
-
if (f != null) {
|
|
74921
|
-
writer.writeMessage(
|
|
74922
|
-
9,
|
|
74923
|
-
f,
|
|
74924
|
-
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
|
|
74925
|
-
);
|
|
74926
|
-
}
|
|
74927
|
-
f = message.getCreatedAt();
|
|
74928
|
-
if (f != null) {
|
|
74929
|
-
writer.writeMessage(
|
|
74930
|
-
10,
|
|
74931
|
-
f,
|
|
74932
|
-
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
74933
|
-
);
|
|
74934
|
-
}
|
|
74935
|
-
f = message.getModifiedAt();
|
|
74936
|
-
if (f != null) {
|
|
74937
|
-
writer.writeMessage(
|
|
74938
|
-
11,
|
|
74939
|
-
f,
|
|
74940
|
-
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
74941
|
-
);
|
|
74942
|
-
}
|
|
74943
|
-
};
|
|
74944
|
-
|
|
74945
|
-
|
|
74946
|
-
/**
|
|
74947
|
-
* optional string id = 1;
|
|
74948
|
-
* @return {string}
|
|
74949
|
-
*/
|
|
74950
|
-
proto.clarifai.api.Pipeline.prototype.getId = function() {
|
|
74951
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
74952
|
-
};
|
|
74953
|
-
|
|
74954
|
-
|
|
74955
|
-
/**
|
|
74956
|
-
* @param {string} value
|
|
74957
|
-
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
74958
|
-
*/
|
|
74959
|
-
proto.clarifai.api.Pipeline.prototype.setId = function(value) {
|
|
74960
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
74961
|
-
};
|
|
74962
|
-
|
|
74963
|
-
|
|
74964
|
-
/**
|
|
74965
|
-
* optional string user_id = 2;
|
|
74966
|
-
* @return {string}
|
|
74967
|
-
*/
|
|
74968
|
-
proto.clarifai.api.Pipeline.prototype.getUserId = function() {
|
|
74969
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
74970
|
-
};
|
|
74971
|
-
|
|
74972
|
-
|
|
74973
|
-
/**
|
|
74974
|
-
* @param {string} value
|
|
74975
|
-
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
74976
|
-
*/
|
|
74977
|
-
proto.clarifai.api.Pipeline.prototype.setUserId = function(value) {
|
|
74978
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
74979
|
-
};
|
|
74980
|
-
|
|
74981
|
-
|
|
74982
|
-
/**
|
|
74983
|
-
* optional string app_id = 3;
|
|
74984
|
-
* @return {string}
|
|
74985
|
-
*/
|
|
74986
|
-
proto.clarifai.api.Pipeline.prototype.getAppId = function() {
|
|
74987
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
74988
|
-
};
|
|
74989
|
-
|
|
74990
|
-
|
|
74991
|
-
/**
|
|
74992
|
-
* @param {string} value
|
|
74993
|
-
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
74994
|
-
*/
|
|
74995
|
-
proto.clarifai.api.Pipeline.prototype.setAppId = function(value) {
|
|
74996
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
74997
|
-
};
|
|
74998
|
-
|
|
74999
|
-
|
|
75000
|
-
/**
|
|
75001
|
-
* optional OrchestrationSpec orchestration_spec = 4;
|
|
75002
|
-
* @return {?proto.clarifai.api.OrchestrationSpec}
|
|
75003
|
-
*/
|
|
75004
|
-
proto.clarifai.api.Pipeline.prototype.getOrchestrationSpec = function() {
|
|
75005
|
-
return /** @type{?proto.clarifai.api.OrchestrationSpec} */ (
|
|
75006
|
-
jspb.Message.getWrapperField(this, proto.clarifai.api.OrchestrationSpec, 4));
|
|
75007
|
-
};
|
|
75008
|
-
|
|
75009
|
-
|
|
75010
|
-
/**
|
|
75011
|
-
* @param {?proto.clarifai.api.OrchestrationSpec|undefined} value
|
|
75012
|
-
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
75013
|
-
*/
|
|
75014
|
-
proto.clarifai.api.Pipeline.prototype.setOrchestrationSpec = function(value) {
|
|
75015
|
-
return jspb.Message.setWrapperField(this, 4, value);
|
|
75016
|
-
};
|
|
75017
|
-
|
|
75018
|
-
|
|
75019
|
-
/**
|
|
75020
|
-
* Clears the message field making it undefined.
|
|
75021
|
-
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
75022
|
-
*/
|
|
75023
|
-
proto.clarifai.api.Pipeline.prototype.clearOrchestrationSpec = function() {
|
|
75024
|
-
return this.setOrchestrationSpec(undefined);
|
|
75025
|
-
};
|
|
75026
|
-
|
|
75027
|
-
|
|
75028
|
-
/**
|
|
75029
|
-
* Returns whether this field is set.
|
|
75030
|
-
* @return {boolean}
|
|
75031
|
-
*/
|
|
75032
|
-
proto.clarifai.api.Pipeline.prototype.hasOrchestrationSpec = function() {
|
|
75033
|
-
return jspb.Message.getField(this, 4) != null;
|
|
75034
|
-
};
|
|
75035
|
-
|
|
75036
|
-
|
|
75037
|
-
/**
|
|
75038
|
-
* optional PipelineVersion pipeline_version = 5;
|
|
75039
|
-
* @return {?proto.clarifai.api.PipelineVersion}
|
|
75040
|
-
*/
|
|
75041
|
-
proto.clarifai.api.Pipeline.prototype.getPipelineVersion = function() {
|
|
75042
|
-
return /** @type{?proto.clarifai.api.PipelineVersion} */ (
|
|
75043
|
-
jspb.Message.getWrapperField(this, proto.clarifai.api.PipelineVersion, 5));
|
|
75044
|
-
};
|
|
75045
|
-
|
|
75046
|
-
|
|
75047
|
-
/**
|
|
75048
|
-
* @param {?proto.clarifai.api.PipelineVersion|undefined} value
|
|
75049
|
-
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
75050
|
-
*/
|
|
75051
|
-
proto.clarifai.api.Pipeline.prototype.setPipelineVersion = function(value) {
|
|
75052
|
-
return jspb.Message.setWrapperField(this, 5, value);
|
|
75053
|
-
};
|
|
75054
|
-
|
|
75055
|
-
|
|
75056
|
-
/**
|
|
75057
|
-
* Clears the message field making it undefined.
|
|
75058
|
-
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
75059
|
-
*/
|
|
75060
|
-
proto.clarifai.api.Pipeline.prototype.clearPipelineVersion = function() {
|
|
75061
|
-
return this.setPipelineVersion(undefined);
|
|
75062
|
-
};
|
|
75063
|
-
|
|
75064
|
-
|
|
75065
|
-
/**
|
|
75066
|
-
* Returns whether this field is set.
|
|
75067
|
-
* @return {boolean}
|
|
75068
|
-
*/
|
|
75069
|
-
proto.clarifai.api.Pipeline.prototype.hasPipelineVersion = function() {
|
|
75070
|
-
return jspb.Message.getField(this, 5) != null;
|
|
75071
|
-
};
|
|
75072
|
-
|
|
75073
|
-
|
|
75074
|
-
/**
|
|
75075
|
-
* optional string description = 6;
|
|
75076
|
-
* @return {string}
|
|
75077
|
-
*/
|
|
75078
|
-
proto.clarifai.api.Pipeline.prototype.getDescription = function() {
|
|
75079
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
75080
|
-
};
|
|
75081
|
-
|
|
75082
|
-
|
|
75083
|
-
/**
|
|
75084
|
-
* @param {string} value
|
|
75085
|
-
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
75086
|
-
*/
|
|
75087
|
-
proto.clarifai.api.Pipeline.prototype.setDescription = function(value) {
|
|
75088
|
-
return jspb.Message.setProto3StringField(this, 6, value);
|
|
75089
|
-
};
|
|
75090
|
-
|
|
75091
|
-
|
|
75092
|
-
/**
|
|
75093
|
-
* optional Visibility visibility = 7;
|
|
75094
|
-
* @return {?proto.clarifai.api.Visibility}
|
|
75095
|
-
*/
|
|
75096
|
-
proto.clarifai.api.Pipeline.prototype.getVisibility = function() {
|
|
75097
|
-
return /** @type{?proto.clarifai.api.Visibility} */ (
|
|
75098
|
-
jspb.Message.getWrapperField(this, proto.clarifai.api.Visibility, 7));
|
|
75099
|
-
};
|
|
75100
|
-
|
|
75101
|
-
|
|
75102
|
-
/**
|
|
75103
|
-
* @param {?proto.clarifai.api.Visibility|undefined} value
|
|
75104
|
-
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
75105
|
-
*/
|
|
75106
|
-
proto.clarifai.api.Pipeline.prototype.setVisibility = function(value) {
|
|
75107
|
-
return jspb.Message.setWrapperField(this, 7, value);
|
|
75108
|
-
};
|
|
75109
|
-
|
|
75110
|
-
|
|
75111
|
-
/**
|
|
75112
|
-
* Clears the message field making it undefined.
|
|
75113
|
-
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
75114
|
-
*/
|
|
75115
|
-
proto.clarifai.api.Pipeline.prototype.clearVisibility = function() {
|
|
75116
|
-
return this.setVisibility(undefined);
|
|
75117
|
-
};
|
|
75118
|
-
|
|
75119
|
-
|
|
75120
|
-
/**
|
|
75121
|
-
* Returns whether this field is set.
|
|
75122
|
-
* @return {boolean}
|
|
75123
|
-
*/
|
|
75124
|
-
proto.clarifai.api.Pipeline.prototype.hasVisibility = function() {
|
|
75125
|
-
return jspb.Message.getField(this, 7) != null;
|
|
75126
|
-
};
|
|
75127
|
-
|
|
75128
|
-
|
|
75129
|
-
/**
|
|
75130
|
-
* optional string notes = 8;
|
|
75131
|
-
* @return {string}
|
|
75132
|
-
*/
|
|
75133
|
-
proto.clarifai.api.Pipeline.prototype.getNotes = function() {
|
|
75134
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
75135
|
-
};
|
|
75136
|
-
|
|
75137
|
-
|
|
75138
|
-
/**
|
|
75139
|
-
* @param {string} value
|
|
75140
|
-
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
75141
|
-
*/
|
|
75142
|
-
proto.clarifai.api.Pipeline.prototype.setNotes = function(value) {
|
|
75143
|
-
return jspb.Message.setProto3StringField(this, 8, value);
|
|
75144
|
-
};
|
|
75145
|
-
|
|
75146
|
-
|
|
75147
|
-
/**
|
|
75148
|
-
* optional google.protobuf.Struct metadata = 9;
|
|
75149
|
-
* @return {?proto.google.protobuf.Struct}
|
|
75150
|
-
*/
|
|
75151
|
-
proto.clarifai.api.Pipeline.prototype.getMetadata = function() {
|
|
75152
|
-
return /** @type{?proto.google.protobuf.Struct} */ (
|
|
75153
|
-
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 9));
|
|
75154
|
-
};
|
|
75155
|
-
|
|
75156
|
-
|
|
75157
|
-
/**
|
|
75158
|
-
* @param {?proto.google.protobuf.Struct|undefined} value
|
|
75159
|
-
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
75160
|
-
*/
|
|
75161
|
-
proto.clarifai.api.Pipeline.prototype.setMetadata = function(value) {
|
|
75162
|
-
return jspb.Message.setWrapperField(this, 9, value);
|
|
75163
|
-
};
|
|
75164
|
-
|
|
75165
|
-
|
|
75166
|
-
/**
|
|
75167
|
-
* Clears the message field making it undefined.
|
|
75168
|
-
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
75169
|
-
*/
|
|
75170
|
-
proto.clarifai.api.Pipeline.prototype.clearMetadata = function() {
|
|
75171
|
-
return this.setMetadata(undefined);
|
|
75172
|
-
};
|
|
75173
|
-
|
|
75174
|
-
|
|
75175
|
-
/**
|
|
75176
|
-
* Returns whether this field is set.
|
|
75177
|
-
* @return {boolean}
|
|
75178
|
-
*/
|
|
75179
|
-
proto.clarifai.api.Pipeline.prototype.hasMetadata = function() {
|
|
75180
|
-
return jspb.Message.getField(this, 9) != null;
|
|
75181
|
-
};
|
|
75182
|
-
|
|
75183
|
-
|
|
75184
|
-
/**
|
|
75185
|
-
* optional google.protobuf.Timestamp created_at = 10;
|
|
75186
|
-
* @return {?proto.google.protobuf.Timestamp}
|
|
75187
|
-
*/
|
|
75188
|
-
proto.clarifai.api.Pipeline.prototype.getCreatedAt = function() {
|
|
75189
|
-
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
75190
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 10));
|
|
75191
|
-
};
|
|
75192
|
-
|
|
75193
|
-
|
|
75194
|
-
/**
|
|
75195
|
-
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
75196
|
-
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
75197
|
-
*/
|
|
75198
|
-
proto.clarifai.api.Pipeline.prototype.setCreatedAt = function(value) {
|
|
75199
|
-
return jspb.Message.setWrapperField(this, 10, value);
|
|
75200
|
-
};
|
|
75201
|
-
|
|
75202
|
-
|
|
75203
|
-
/**
|
|
75204
|
-
* Clears the message field making it undefined.
|
|
75205
|
-
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
75206
|
-
*/
|
|
75207
|
-
proto.clarifai.api.Pipeline.prototype.clearCreatedAt = function() {
|
|
75208
|
-
return this.setCreatedAt(undefined);
|
|
75209
|
-
};
|
|
75210
|
-
|
|
75211
|
-
|
|
75212
|
-
/**
|
|
75213
|
-
* Returns whether this field is set.
|
|
75214
|
-
* @return {boolean}
|
|
75215
|
-
*/
|
|
75216
|
-
proto.clarifai.api.Pipeline.prototype.hasCreatedAt = function() {
|
|
75217
|
-
return jspb.Message.getField(this, 10) != null;
|
|
75218
|
-
};
|
|
75219
|
-
|
|
75220
|
-
|
|
75221
|
-
/**
|
|
75222
|
-
* optional google.protobuf.Timestamp modified_at = 11;
|
|
75223
|
-
* @return {?proto.google.protobuf.Timestamp}
|
|
75224
|
-
*/
|
|
75225
|
-
proto.clarifai.api.Pipeline.prototype.getModifiedAt = function() {
|
|
75226
|
-
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
75227
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 11));
|
|
75228
|
-
};
|
|
75229
|
-
|
|
75230
|
-
|
|
75231
|
-
/**
|
|
75232
|
-
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
75233
|
-
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
75234
|
-
*/
|
|
75235
|
-
proto.clarifai.api.Pipeline.prototype.setModifiedAt = function(value) {
|
|
75236
|
-
return jspb.Message.setWrapperField(this, 11, value);
|
|
75237
|
-
};
|
|
75238
|
-
|
|
75239
|
-
|
|
75240
|
-
/**
|
|
75241
|
-
* Clears the message field making it undefined.
|
|
75242
|
-
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
75243
|
-
*/
|
|
75244
|
-
proto.clarifai.api.Pipeline.prototype.clearModifiedAt = function() {
|
|
75245
|
-
return this.setModifiedAt(undefined);
|
|
75246
|
-
};
|
|
75247
|
-
|
|
75248
|
-
|
|
75249
|
-
/**
|
|
75250
|
-
* Returns whether this field is set.
|
|
75251
|
-
* @return {boolean}
|
|
75252
|
-
*/
|
|
75253
|
-
proto.clarifai.api.Pipeline.prototype.hasModifiedAt = function() {
|
|
75254
|
-
return jspb.Message.getField(this, 11) != null;
|
|
75255
|
-
};
|
|
75256
|
-
|
|
75257
|
-
|
|
75258
|
-
|
|
75259
|
-
|
|
75260
|
-
|
|
75261
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
75262
|
-
/**
|
|
75263
|
-
* Creates an object representation of this proto.
|
|
75264
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
75265
|
-
* Optional fields that are not set will be set to undefined.
|
|
75266
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
75267
|
-
* For the list of reserved names please see:
|
|
75268
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
75269
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
75270
|
-
* JSPB instance for transitional soy proto support:
|
|
75271
|
-
* http://goto/soy-param-migration
|
|
75272
|
-
* @return {!Object}
|
|
75273
|
-
*/
|
|
75274
|
-
proto.clarifai.api.PipelineVersion.prototype.toObject = function(opt_includeInstance) {
|
|
75275
|
-
return proto.clarifai.api.PipelineVersion.toObject(opt_includeInstance, this);
|
|
75276
|
-
};
|
|
75277
|
-
|
|
75278
|
-
|
|
75279
|
-
/**
|
|
75280
|
-
* Static version of the {@see toObject} method.
|
|
75281
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
75282
|
-
* the JSPB instance for transitional soy proto support:
|
|
75283
|
-
* http://goto/soy-param-migration
|
|
75284
|
-
* @param {!proto.clarifai.api.PipelineVersion} msg The msg instance to transform.
|
|
75285
|
-
* @return {!Object}
|
|
75286
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
75287
|
-
*/
|
|
75288
|
-
proto.clarifai.api.PipelineVersion.toObject = function(includeInstance, msg) {
|
|
75289
|
-
var f, obj = {
|
|
75290
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
75291
|
-
appId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
75292
|
-
userId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
75293
|
-
orchestrationSpec: (f = msg.getOrchestrationSpec()) && proto.clarifai.api.OrchestrationSpec.toObject(includeInstance, f),
|
|
75294
|
-
pipelineId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
75295
|
-
description: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
75296
|
-
visibility: (f = msg.getVisibility()) && proto.clarifai.api.Visibility.toObject(includeInstance, f),
|
|
75297
|
-
metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
75298
|
-
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
75299
|
-
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
75300
|
-
};
|
|
75301
|
-
|
|
75302
|
-
if (includeInstance) {
|
|
75303
|
-
obj.$jspbMessageInstance = msg;
|
|
75304
|
-
}
|
|
75305
|
-
return obj;
|
|
75306
|
-
};
|
|
75307
|
-
}
|
|
75308
|
-
|
|
75309
|
-
|
|
75310
|
-
/**
|
|
75311
|
-
* Deserializes binary data (in protobuf wire format).
|
|
75312
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
75313
|
-
* @return {!proto.clarifai.api.PipelineVersion}
|
|
75314
|
-
*/
|
|
75315
|
-
proto.clarifai.api.PipelineVersion.deserializeBinary = function(bytes) {
|
|
75316
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
75317
|
-
var msg = new proto.clarifai.api.PipelineVersion;
|
|
75318
|
-
return proto.clarifai.api.PipelineVersion.deserializeBinaryFromReader(msg, reader);
|
|
75319
|
-
};
|
|
75320
|
-
|
|
75321
|
-
|
|
75322
|
-
/**
|
|
75323
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
75324
|
-
* given reader into the given message object.
|
|
75325
|
-
* @param {!proto.clarifai.api.PipelineVersion} msg The message object to deserialize into.
|
|
75326
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
75327
|
-
* @return {!proto.clarifai.api.PipelineVersion}
|
|
75328
|
-
*/
|
|
75329
|
-
proto.clarifai.api.PipelineVersion.deserializeBinaryFromReader = function(msg, reader) {
|
|
75330
|
-
while (reader.nextField()) {
|
|
75331
|
-
if (reader.isEndGroup()) {
|
|
75332
|
-
break;
|
|
75333
|
-
}
|
|
75334
|
-
var field = reader.getFieldNumber();
|
|
75335
|
-
switch (field) {
|
|
75336
|
-
case 1:
|
|
75337
|
-
var value = /** @type {string} */ (reader.readString());
|
|
75338
|
-
msg.setId(value);
|
|
75339
|
-
break;
|
|
75340
|
-
case 2:
|
|
75341
|
-
var value = /** @type {string} */ (reader.readString());
|
|
75342
|
-
msg.setAppId(value);
|
|
75343
|
-
break;
|
|
75344
|
-
case 3:
|
|
75345
|
-
var value = /** @type {string} */ (reader.readString());
|
|
75346
|
-
msg.setUserId(value);
|
|
75347
|
-
break;
|
|
75348
|
-
case 4:
|
|
75349
|
-
var value = new proto.clarifai.api.OrchestrationSpec;
|
|
75350
|
-
reader.readMessage(value,proto.clarifai.api.OrchestrationSpec.deserializeBinaryFromReader);
|
|
75351
|
-
msg.setOrchestrationSpec(value);
|
|
75352
|
-
break;
|
|
75353
|
-
case 5:
|
|
75354
|
-
var value = /** @type {string} */ (reader.readString());
|
|
75355
|
-
msg.setPipelineId(value);
|
|
75356
|
-
break;
|
|
75357
|
-
case 6:
|
|
75358
|
-
var value = /** @type {string} */ (reader.readString());
|
|
75359
|
-
msg.setDescription(value);
|
|
75360
|
-
break;
|
|
75361
|
-
case 7:
|
|
75362
|
-
var value = new proto.clarifai.api.Visibility;
|
|
75363
|
-
reader.readMessage(value,proto.clarifai.api.Visibility.deserializeBinaryFromReader);
|
|
75364
|
-
msg.setVisibility(value);
|
|
75365
|
-
break;
|
|
75366
|
-
case 8:
|
|
75367
|
-
var value = new google_protobuf_struct_pb.Struct;
|
|
75368
|
-
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
|
|
75369
|
-
msg.setMetadata(value);
|
|
75370
|
-
break;
|
|
75371
|
-
case 9:
|
|
75372
|
-
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
75373
|
-
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
75374
|
-
msg.setCreatedAt(value);
|
|
75375
|
-
break;
|
|
75376
|
-
case 10:
|
|
75377
|
-
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
75378
|
-
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
75379
|
-
msg.setModifiedAt(value);
|
|
75380
|
-
break;
|
|
75381
|
-
default:
|
|
75382
|
-
reader.skipField();
|
|
75383
|
-
break;
|
|
75384
|
-
}
|
|
75385
|
-
}
|
|
75386
|
-
return msg;
|
|
75387
|
-
};
|
|
75388
|
-
|
|
75389
|
-
|
|
75390
|
-
/**
|
|
75391
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
75392
|
-
* @return {!Uint8Array}
|
|
75393
|
-
*/
|
|
75394
|
-
proto.clarifai.api.PipelineVersion.prototype.serializeBinary = function() {
|
|
75395
|
-
var writer = new jspb.BinaryWriter();
|
|
75396
|
-
proto.clarifai.api.PipelineVersion.serializeBinaryToWriter(this, writer);
|
|
75397
|
-
return writer.getResultBuffer();
|
|
75398
|
-
};
|
|
75399
|
-
|
|
75400
|
-
|
|
75401
|
-
/**
|
|
75402
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
75403
|
-
* format), writing to the given BinaryWriter.
|
|
75404
|
-
* @param {!proto.clarifai.api.PipelineVersion} message
|
|
75405
|
-
* @param {!jspb.BinaryWriter} writer
|
|
75406
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
75407
|
-
*/
|
|
75408
|
-
proto.clarifai.api.PipelineVersion.serializeBinaryToWriter = function(message, writer) {
|
|
75409
|
-
var f = undefined;
|
|
75410
|
-
f = message.getId();
|
|
75411
|
-
if (f.length > 0) {
|
|
75412
|
-
writer.writeString(
|
|
75413
|
-
1,
|
|
75414
|
-
f
|
|
75415
|
-
);
|
|
75416
|
-
}
|
|
75417
|
-
f = message.getAppId();
|
|
75418
|
-
if (f.length > 0) {
|
|
75419
|
-
writer.writeString(
|
|
75420
|
-
2,
|
|
75421
|
-
f
|
|
75422
|
-
);
|
|
75423
|
-
}
|
|
75424
|
-
f = message.getUserId();
|
|
75425
|
-
if (f.length > 0) {
|
|
75426
|
-
writer.writeString(
|
|
75427
|
-
3,
|
|
75428
|
-
f
|
|
75429
|
-
);
|
|
75430
|
-
}
|
|
75431
|
-
f = message.getOrchestrationSpec();
|
|
75432
|
-
if (f != null) {
|
|
75433
|
-
writer.writeMessage(
|
|
75434
|
-
4,
|
|
75435
|
-
f,
|
|
75436
|
-
proto.clarifai.api.OrchestrationSpec.serializeBinaryToWriter
|
|
75437
|
-
);
|
|
75438
|
-
}
|
|
75439
|
-
f = message.getPipelineId();
|
|
75440
|
-
if (f.length > 0) {
|
|
75441
|
-
writer.writeString(
|
|
75442
|
-
5,
|
|
75443
|
-
f
|
|
75444
|
-
);
|
|
75445
|
-
}
|
|
75446
|
-
f = message.getDescription();
|
|
75447
|
-
if (f.length > 0) {
|
|
75448
|
-
writer.writeString(
|
|
75449
|
-
6,
|
|
75450
|
-
f
|
|
75451
|
-
);
|
|
75452
|
-
}
|
|
75453
|
-
f = message.getVisibility();
|
|
75454
|
-
if (f != null) {
|
|
75455
|
-
writer.writeMessage(
|
|
75456
|
-
7,
|
|
75457
|
-
f,
|
|
75458
|
-
proto.clarifai.api.Visibility.serializeBinaryToWriter
|
|
75459
|
-
);
|
|
75460
|
-
}
|
|
75461
|
-
f = message.getMetadata();
|
|
75462
|
-
if (f != null) {
|
|
75463
|
-
writer.writeMessage(
|
|
75464
|
-
8,
|
|
75465
|
-
f,
|
|
75466
|
-
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
|
|
75467
|
-
);
|
|
75468
|
-
}
|
|
75469
|
-
f = message.getCreatedAt();
|
|
75470
|
-
if (f != null) {
|
|
75471
|
-
writer.writeMessage(
|
|
75472
|
-
9,
|
|
75473
|
-
f,
|
|
75474
|
-
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
75475
|
-
);
|
|
75476
|
-
}
|
|
75477
|
-
f = message.getModifiedAt();
|
|
75478
|
-
if (f != null) {
|
|
75479
|
-
writer.writeMessage(
|
|
75480
|
-
10,
|
|
75481
|
-
f,
|
|
75482
|
-
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
75483
|
-
);
|
|
75484
|
-
}
|
|
75485
|
-
};
|
|
75486
|
-
|
|
75487
|
-
|
|
75488
|
-
/**
|
|
75489
|
-
* optional string id = 1;
|
|
75490
|
-
* @return {string}
|
|
75491
|
-
*/
|
|
75492
|
-
proto.clarifai.api.PipelineVersion.prototype.getId = function() {
|
|
75493
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
75494
|
-
};
|
|
75495
|
-
|
|
75496
|
-
|
|
75497
|
-
/**
|
|
75498
|
-
* @param {string} value
|
|
75499
|
-
* @return {!proto.clarifai.api.PipelineVersion} returns this
|
|
75500
|
-
*/
|
|
75501
|
-
proto.clarifai.api.PipelineVersion.prototype.setId = function(value) {
|
|
75502
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
75503
|
-
};
|
|
75504
|
-
|
|
75505
|
-
|
|
75506
|
-
/**
|
|
75507
|
-
* optional string app_id = 2;
|
|
75508
|
-
* @return {string}
|
|
75509
|
-
*/
|
|
75510
|
-
proto.clarifai.api.PipelineVersion.prototype.getAppId = function() {
|
|
75511
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
75512
|
-
};
|
|
75513
|
-
|
|
75514
|
-
|
|
75515
|
-
/**
|
|
75516
|
-
* @param {string} value
|
|
75517
|
-
* @return {!proto.clarifai.api.PipelineVersion} returns this
|
|
75518
|
-
*/
|
|
75519
|
-
proto.clarifai.api.PipelineVersion.prototype.setAppId = function(value) {
|
|
75520
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
75521
|
-
};
|
|
75522
|
-
|
|
75523
|
-
|
|
75524
|
-
/**
|
|
75525
|
-
* optional string user_id = 3;
|
|
75526
|
-
* @return {string}
|
|
75527
|
-
*/
|
|
75528
|
-
proto.clarifai.api.PipelineVersion.prototype.getUserId = function() {
|
|
75529
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
75530
|
-
};
|
|
75531
|
-
|
|
75532
|
-
|
|
75533
|
-
/**
|
|
75534
|
-
* @param {string} value
|
|
75535
|
-
* @return {!proto.clarifai.api.PipelineVersion} returns this
|
|
75536
|
-
*/
|
|
75537
|
-
proto.clarifai.api.PipelineVersion.prototype.setUserId = function(value) {
|
|
75538
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
75539
|
-
};
|
|
75540
|
-
|
|
75541
|
-
|
|
75542
|
-
/**
|
|
75543
|
-
* optional OrchestrationSpec orchestration_spec = 4;
|
|
75544
|
-
* @return {?proto.clarifai.api.OrchestrationSpec}
|
|
75545
|
-
*/
|
|
75546
|
-
proto.clarifai.api.PipelineVersion.prototype.getOrchestrationSpec = function() {
|
|
75547
|
-
return /** @type{?proto.clarifai.api.OrchestrationSpec} */ (
|
|
75548
|
-
jspb.Message.getWrapperField(this, proto.clarifai.api.OrchestrationSpec, 4));
|
|
75549
|
-
};
|
|
75550
|
-
|
|
75551
|
-
|
|
75552
|
-
/**
|
|
75553
|
-
* @param {?proto.clarifai.api.OrchestrationSpec|undefined} value
|
|
75554
|
-
* @return {!proto.clarifai.api.PipelineVersion} returns this
|
|
75555
|
-
*/
|
|
75556
|
-
proto.clarifai.api.PipelineVersion.prototype.setOrchestrationSpec = function(value) {
|
|
75557
|
-
return jspb.Message.setWrapperField(this, 4, value);
|
|
75558
|
-
};
|
|
75559
|
-
|
|
75560
|
-
|
|
75561
|
-
/**
|
|
75562
|
-
* Clears the message field making it undefined.
|
|
75563
|
-
* @return {!proto.clarifai.api.PipelineVersion} returns this
|
|
75564
|
-
*/
|
|
75565
|
-
proto.clarifai.api.PipelineVersion.prototype.clearOrchestrationSpec = function() {
|
|
75566
|
-
return this.setOrchestrationSpec(undefined);
|
|
75567
|
-
};
|
|
75568
|
-
|
|
75569
|
-
|
|
75570
|
-
/**
|
|
75571
|
-
* Returns whether this field is set.
|
|
75572
|
-
* @return {boolean}
|
|
75573
|
-
*/
|
|
75574
|
-
proto.clarifai.api.PipelineVersion.prototype.hasOrchestrationSpec = function() {
|
|
75575
|
-
return jspb.Message.getField(this, 4) != null;
|
|
75576
|
-
};
|
|
75577
|
-
|
|
75578
|
-
|
|
75579
|
-
/**
|
|
75580
|
-
* optional string pipeline_id = 5;
|
|
75581
|
-
* @return {string}
|
|
75582
|
-
*/
|
|
75583
|
-
proto.clarifai.api.PipelineVersion.prototype.getPipelineId = function() {
|
|
75584
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
75585
|
-
};
|
|
75586
|
-
|
|
75587
|
-
|
|
75588
|
-
/**
|
|
75589
|
-
* @param {string} value
|
|
75590
|
-
* @return {!proto.clarifai.api.PipelineVersion} returns this
|
|
75591
|
-
*/
|
|
75592
|
-
proto.clarifai.api.PipelineVersion.prototype.setPipelineId = function(value) {
|
|
75593
|
-
return jspb.Message.setProto3StringField(this, 5, value);
|
|
75594
|
-
};
|
|
75595
|
-
|
|
75596
|
-
|
|
75597
|
-
/**
|
|
75598
|
-
* optional string description = 6;
|
|
75599
|
-
* @return {string}
|
|
75600
|
-
*/
|
|
75601
|
-
proto.clarifai.api.PipelineVersion.prototype.getDescription = function() {
|
|
75602
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
75603
|
-
};
|
|
75604
|
-
|
|
75605
|
-
|
|
75606
|
-
/**
|
|
75607
|
-
* @param {string} value
|
|
75608
|
-
* @return {!proto.clarifai.api.PipelineVersion} returns this
|
|
75609
|
-
*/
|
|
75610
|
-
proto.clarifai.api.PipelineVersion.prototype.setDescription = function(value) {
|
|
75611
|
-
return jspb.Message.setProto3StringField(this, 6, value);
|
|
75612
|
-
};
|
|
75613
|
-
|
|
75614
|
-
|
|
75615
|
-
/**
|
|
75616
|
-
* optional Visibility visibility = 7;
|
|
75617
|
-
* @return {?proto.clarifai.api.Visibility}
|
|
75618
|
-
*/
|
|
75619
|
-
proto.clarifai.api.PipelineVersion.prototype.getVisibility = function() {
|
|
75620
|
-
return /** @type{?proto.clarifai.api.Visibility} */ (
|
|
75621
|
-
jspb.Message.getWrapperField(this, proto.clarifai.api.Visibility, 7));
|
|
75622
|
-
};
|
|
75623
|
-
|
|
75624
|
-
|
|
75625
|
-
/**
|
|
75626
|
-
* @param {?proto.clarifai.api.Visibility|undefined} value
|
|
75627
|
-
* @return {!proto.clarifai.api.PipelineVersion} returns this
|
|
75628
|
-
*/
|
|
75629
|
-
proto.clarifai.api.PipelineVersion.prototype.setVisibility = function(value) {
|
|
75630
|
-
return jspb.Message.setWrapperField(this, 7, value);
|
|
75631
|
-
};
|
|
75632
|
-
|
|
75633
|
-
|
|
75634
|
-
/**
|
|
75635
|
-
* Clears the message field making it undefined.
|
|
75636
|
-
* @return {!proto.clarifai.api.PipelineVersion} returns this
|
|
75637
|
-
*/
|
|
75638
|
-
proto.clarifai.api.PipelineVersion.prototype.clearVisibility = function() {
|
|
75639
|
-
return this.setVisibility(undefined);
|
|
75640
|
-
};
|
|
75641
|
-
|
|
75642
|
-
|
|
75643
|
-
/**
|
|
75644
|
-
* Returns whether this field is set.
|
|
75645
|
-
* @return {boolean}
|
|
75646
|
-
*/
|
|
75647
|
-
proto.clarifai.api.PipelineVersion.prototype.hasVisibility = function() {
|
|
75648
|
-
return jspb.Message.getField(this, 7) != null;
|
|
75649
|
-
};
|
|
75650
|
-
|
|
75651
|
-
|
|
75652
|
-
/**
|
|
75653
|
-
* optional google.protobuf.Struct metadata = 8;
|
|
75654
|
-
* @return {?proto.google.protobuf.Struct}
|
|
75655
|
-
*/
|
|
75656
|
-
proto.clarifai.api.PipelineVersion.prototype.getMetadata = function() {
|
|
75657
|
-
return /** @type{?proto.google.protobuf.Struct} */ (
|
|
75658
|
-
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 8));
|
|
75659
|
-
};
|
|
75660
|
-
|
|
75661
|
-
|
|
75662
|
-
/**
|
|
75663
|
-
* @param {?proto.google.protobuf.Struct|undefined} value
|
|
75664
|
-
* @return {!proto.clarifai.api.PipelineVersion} returns this
|
|
75665
|
-
*/
|
|
75666
|
-
proto.clarifai.api.PipelineVersion.prototype.setMetadata = function(value) {
|
|
75667
|
-
return jspb.Message.setWrapperField(this, 8, value);
|
|
75668
|
-
};
|
|
75669
|
-
|
|
75670
|
-
|
|
75671
|
-
/**
|
|
75672
|
-
* Clears the message field making it undefined.
|
|
75673
|
-
* @return {!proto.clarifai.api.PipelineVersion} returns this
|
|
75674
|
-
*/
|
|
75675
|
-
proto.clarifai.api.PipelineVersion.prototype.clearMetadata = function() {
|
|
75676
|
-
return this.setMetadata(undefined);
|
|
75677
|
-
};
|
|
75678
|
-
|
|
75679
|
-
|
|
75680
|
-
/**
|
|
75681
|
-
* Returns whether this field is set.
|
|
75682
|
-
* @return {boolean}
|
|
75683
|
-
*/
|
|
75684
|
-
proto.clarifai.api.PipelineVersion.prototype.hasMetadata = function() {
|
|
75685
|
-
return jspb.Message.getField(this, 8) != null;
|
|
75686
|
-
};
|
|
75687
|
-
|
|
75688
|
-
|
|
75689
|
-
/**
|
|
75690
|
-
* optional google.protobuf.Timestamp created_at = 9;
|
|
75691
|
-
* @return {?proto.google.protobuf.Timestamp}
|
|
75692
|
-
*/
|
|
75693
|
-
proto.clarifai.api.PipelineVersion.prototype.getCreatedAt = function() {
|
|
75694
|
-
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
75695
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 9));
|
|
75696
|
-
};
|
|
75697
|
-
|
|
75698
|
-
|
|
75699
|
-
/**
|
|
75700
|
-
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
75701
|
-
* @return {!proto.clarifai.api.PipelineVersion} returns this
|
|
75702
|
-
*/
|
|
75703
|
-
proto.clarifai.api.PipelineVersion.prototype.setCreatedAt = function(value) {
|
|
75704
|
-
return jspb.Message.setWrapperField(this, 9, value);
|
|
75705
|
-
};
|
|
75706
|
-
|
|
75707
|
-
|
|
75708
|
-
/**
|
|
75709
|
-
* Clears the message field making it undefined.
|
|
75710
|
-
* @return {!proto.clarifai.api.PipelineVersion} returns this
|
|
75711
|
-
*/
|
|
75712
|
-
proto.clarifai.api.PipelineVersion.prototype.clearCreatedAt = function() {
|
|
75713
|
-
return this.setCreatedAt(undefined);
|
|
75714
|
-
};
|
|
75715
|
-
|
|
75716
|
-
|
|
75717
|
-
/**
|
|
75718
|
-
* Returns whether this field is set.
|
|
75719
|
-
* @return {boolean}
|
|
75720
|
-
*/
|
|
75721
|
-
proto.clarifai.api.PipelineVersion.prototype.hasCreatedAt = function() {
|
|
75722
|
-
return jspb.Message.getField(this, 9) != null;
|
|
75723
|
-
};
|
|
75724
|
-
|
|
75725
|
-
|
|
75726
|
-
/**
|
|
75727
|
-
* optional google.protobuf.Timestamp modified_at = 10;
|
|
75728
|
-
* @return {?proto.google.protobuf.Timestamp}
|
|
75729
|
-
*/
|
|
75730
|
-
proto.clarifai.api.PipelineVersion.prototype.getModifiedAt = function() {
|
|
75731
|
-
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
75732
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 10));
|
|
75733
|
-
};
|
|
75734
|
-
|
|
75735
|
-
|
|
75736
|
-
/**
|
|
75737
|
-
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
75738
|
-
* @return {!proto.clarifai.api.PipelineVersion} returns this
|
|
75739
|
-
*/
|
|
75740
|
-
proto.clarifai.api.PipelineVersion.prototype.setModifiedAt = function(value) {
|
|
75741
|
-
return jspb.Message.setWrapperField(this, 10, value);
|
|
75742
|
-
};
|
|
75743
|
-
|
|
75744
|
-
|
|
75745
|
-
/**
|
|
75746
|
-
* Clears the message field making it undefined.
|
|
75747
|
-
* @return {!proto.clarifai.api.PipelineVersion} returns this
|
|
75748
|
-
*/
|
|
75749
|
-
proto.clarifai.api.PipelineVersion.prototype.clearModifiedAt = function() {
|
|
75750
|
-
return this.setModifiedAt(undefined);
|
|
75751
|
-
};
|
|
75752
|
-
|
|
75753
|
-
|
|
75754
|
-
/**
|
|
75755
|
-
* Returns whether this field is set.
|
|
75756
|
-
* @return {boolean}
|
|
75757
|
-
*/
|
|
75758
|
-
proto.clarifai.api.PipelineVersion.prototype.hasModifiedAt = function() {
|
|
75759
|
-
return jspb.Message.getField(this, 10) != null;
|
|
75760
|
-
};
|
|
75761
|
-
|
|
75762
|
-
|
|
75763
|
-
|
|
75764
|
-
/**
|
|
75765
|
-
* Oneof group definitions for this message. Each group defines the field
|
|
75766
|
-
* numbers belonging to that group. When of these fields' value is set, all
|
|
75767
|
-
* other fields in the group are cleared. During deserialization, if multiple
|
|
75768
|
-
* fields are encountered for a group, only the last value seen will be kept.
|
|
75769
|
-
* @private {!Array<!Array<number>>}
|
|
75770
|
-
* @const
|
|
75771
|
-
*/
|
|
75772
|
-
proto.clarifai.api.OrchestrationStatus.oneofGroups_ = [[1]];
|
|
75773
|
-
|
|
75774
|
-
/**
|
|
75775
|
-
* @enum {number}
|
|
75776
|
-
*/
|
|
75777
|
-
proto.clarifai.api.OrchestrationStatus.StatusDetailsCase = {
|
|
75778
|
-
STATUS_DETAILS_NOT_SET: 0,
|
|
75779
|
-
ARGO_STATUS: 1
|
|
75780
|
-
};
|
|
75781
|
-
|
|
75782
|
-
/**
|
|
75783
|
-
* @return {proto.clarifai.api.OrchestrationStatus.StatusDetailsCase}
|
|
75784
|
-
*/
|
|
75785
|
-
proto.clarifai.api.OrchestrationStatus.prototype.getStatusDetailsCase = function() {
|
|
75786
|
-
return /** @type {proto.clarifai.api.OrchestrationStatus.StatusDetailsCase} */(jspb.Message.computeOneofCase(this, proto.clarifai.api.OrchestrationStatus.oneofGroups_[0]));
|
|
75787
|
-
};
|
|
75788
|
-
|
|
75789
|
-
|
|
75790
|
-
|
|
75791
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
75792
|
-
/**
|
|
75793
|
-
* Creates an object representation of this proto.
|
|
75794
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
75795
|
-
* Optional fields that are not set will be set to undefined.
|
|
75796
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
75797
|
-
* For the list of reserved names please see:
|
|
75798
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
75799
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
75800
|
-
* JSPB instance for transitional soy proto support:
|
|
75801
|
-
* http://goto/soy-param-migration
|
|
75802
|
-
* @return {!Object}
|
|
75803
|
-
*/
|
|
75804
|
-
proto.clarifai.api.OrchestrationStatus.prototype.toObject = function(opt_includeInstance) {
|
|
75805
|
-
return proto.clarifai.api.OrchestrationStatus.toObject(opt_includeInstance, this);
|
|
75806
|
-
};
|
|
75807
|
-
|
|
75808
|
-
|
|
75809
|
-
/**
|
|
75810
|
-
* Static version of the {@see toObject} method.
|
|
75811
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
75812
|
-
* the JSPB instance for transitional soy proto support:
|
|
75813
|
-
* http://goto/soy-param-migration
|
|
75814
|
-
* @param {!proto.clarifai.api.OrchestrationStatus} msg The msg instance to transform.
|
|
75815
|
-
* @return {!Object}
|
|
75816
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
75817
|
-
*/
|
|
75818
|
-
proto.clarifai.api.OrchestrationStatus.toObject = function(includeInstance, msg) {
|
|
75819
|
-
var f, obj = {
|
|
75820
|
-
argoStatus: (f = msg.getArgoStatus()) && proto.clarifai.api.ArgoOrchestrationStatus.toObject(includeInstance, f),
|
|
75821
|
-
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f)
|
|
75822
|
-
};
|
|
75823
|
-
|
|
75824
|
-
if (includeInstance) {
|
|
75825
|
-
obj.$jspbMessageInstance = msg;
|
|
75826
|
-
}
|
|
75827
|
-
return obj;
|
|
75828
|
-
};
|
|
75829
|
-
}
|
|
75830
|
-
|
|
75831
|
-
|
|
75832
|
-
/**
|
|
75833
|
-
* Deserializes binary data (in protobuf wire format).
|
|
75834
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
75835
|
-
* @return {!proto.clarifai.api.OrchestrationStatus}
|
|
75836
|
-
*/
|
|
75837
|
-
proto.clarifai.api.OrchestrationStatus.deserializeBinary = function(bytes) {
|
|
75838
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
75839
|
-
var msg = new proto.clarifai.api.OrchestrationStatus;
|
|
75840
|
-
return proto.clarifai.api.OrchestrationStatus.deserializeBinaryFromReader(msg, reader);
|
|
75841
|
-
};
|
|
75842
|
-
|
|
75843
|
-
|
|
75844
|
-
/**
|
|
75845
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
75846
|
-
* given reader into the given message object.
|
|
75847
|
-
* @param {!proto.clarifai.api.OrchestrationStatus} msg The message object to deserialize into.
|
|
75848
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
75849
|
-
* @return {!proto.clarifai.api.OrchestrationStatus}
|
|
75850
|
-
*/
|
|
75851
|
-
proto.clarifai.api.OrchestrationStatus.deserializeBinaryFromReader = function(msg, reader) {
|
|
75852
|
-
while (reader.nextField()) {
|
|
75853
|
-
if (reader.isEndGroup()) {
|
|
75854
|
-
break;
|
|
75855
|
-
}
|
|
75856
|
-
var field = reader.getFieldNumber();
|
|
75857
|
-
switch (field) {
|
|
75858
|
-
case 1:
|
|
75859
|
-
var value = new proto.clarifai.api.ArgoOrchestrationStatus;
|
|
75860
|
-
reader.readMessage(value,proto.clarifai.api.ArgoOrchestrationStatus.deserializeBinaryFromReader);
|
|
75861
|
-
msg.setArgoStatus(value);
|
|
75862
|
-
break;
|
|
75863
|
-
case 2:
|
|
75864
|
-
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
75865
|
-
reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
75866
|
-
msg.setStatus(value);
|
|
75867
|
-
break;
|
|
75868
|
-
default:
|
|
75869
|
-
reader.skipField();
|
|
75870
|
-
break;
|
|
75871
|
-
}
|
|
75872
|
-
}
|
|
75873
|
-
return msg;
|
|
75874
|
-
};
|
|
75875
|
-
|
|
75876
|
-
|
|
75877
|
-
/**
|
|
75878
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
75879
|
-
* @return {!Uint8Array}
|
|
75880
|
-
*/
|
|
75881
|
-
proto.clarifai.api.OrchestrationStatus.prototype.serializeBinary = function() {
|
|
75882
|
-
var writer = new jspb.BinaryWriter();
|
|
75883
|
-
proto.clarifai.api.OrchestrationStatus.serializeBinaryToWriter(this, writer);
|
|
75884
|
-
return writer.getResultBuffer();
|
|
75885
|
-
};
|
|
75886
|
-
|
|
75887
|
-
|
|
75888
|
-
/**
|
|
75889
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
75890
|
-
* format), writing to the given BinaryWriter.
|
|
75891
|
-
* @param {!proto.clarifai.api.OrchestrationStatus} message
|
|
75892
|
-
* @param {!jspb.BinaryWriter} writer
|
|
75893
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
75894
|
-
*/
|
|
75895
|
-
proto.clarifai.api.OrchestrationStatus.serializeBinaryToWriter = function(message, writer) {
|
|
75896
|
-
var f = undefined;
|
|
75897
|
-
f = message.getArgoStatus();
|
|
75898
|
-
if (f != null) {
|
|
75899
|
-
writer.writeMessage(
|
|
75900
|
-
1,
|
|
75901
|
-
f,
|
|
75902
|
-
proto.clarifai.api.ArgoOrchestrationStatus.serializeBinaryToWriter
|
|
75903
|
-
);
|
|
75904
|
-
}
|
|
75905
|
-
f = message.getStatus();
|
|
75906
|
-
if (f != null) {
|
|
75907
|
-
writer.writeMessage(
|
|
75908
|
-
2,
|
|
75909
|
-
f,
|
|
75910
|
-
proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
|
|
75911
|
-
);
|
|
75912
|
-
}
|
|
75913
|
-
};
|
|
75914
|
-
|
|
75915
|
-
|
|
75916
|
-
/**
|
|
75917
|
-
* optional ArgoOrchestrationStatus argo_status = 1;
|
|
75918
|
-
* @return {?proto.clarifai.api.ArgoOrchestrationStatus}
|
|
75919
|
-
*/
|
|
75920
|
-
proto.clarifai.api.OrchestrationStatus.prototype.getArgoStatus = function() {
|
|
75921
|
-
return /** @type{?proto.clarifai.api.ArgoOrchestrationStatus} */ (
|
|
75922
|
-
jspb.Message.getWrapperField(this, proto.clarifai.api.ArgoOrchestrationStatus, 1));
|
|
75923
|
-
};
|
|
75924
|
-
|
|
75925
|
-
|
|
75926
|
-
/**
|
|
75927
|
-
* @param {?proto.clarifai.api.ArgoOrchestrationStatus|undefined} value
|
|
75928
|
-
* @return {!proto.clarifai.api.OrchestrationStatus} returns this
|
|
75929
|
-
*/
|
|
75930
|
-
proto.clarifai.api.OrchestrationStatus.prototype.setArgoStatus = function(value) {
|
|
75931
|
-
return jspb.Message.setOneofWrapperField(this, 1, proto.clarifai.api.OrchestrationStatus.oneofGroups_[0], value);
|
|
75932
|
-
};
|
|
75933
|
-
|
|
75934
|
-
|
|
75935
|
-
/**
|
|
75936
|
-
* Clears the message field making it undefined.
|
|
75937
|
-
* @return {!proto.clarifai.api.OrchestrationStatus} returns this
|
|
75938
|
-
*/
|
|
75939
|
-
proto.clarifai.api.OrchestrationStatus.prototype.clearArgoStatus = function() {
|
|
75940
|
-
return this.setArgoStatus(undefined);
|
|
75941
|
-
};
|
|
75942
|
-
|
|
75943
|
-
|
|
75944
|
-
/**
|
|
75945
|
-
* Returns whether this field is set.
|
|
75946
|
-
* @return {boolean}
|
|
75947
|
-
*/
|
|
75948
|
-
proto.clarifai.api.OrchestrationStatus.prototype.hasArgoStatus = function() {
|
|
75949
|
-
return jspb.Message.getField(this, 1) != null;
|
|
75950
|
-
};
|
|
75951
|
-
|
|
75952
|
-
|
|
75953
|
-
/**
|
|
75954
|
-
* optional status.Status status = 2;
|
|
75955
|
-
* @return {?proto.clarifai.api.status.Status}
|
|
75956
|
-
*/
|
|
75957
|
-
proto.clarifai.api.OrchestrationStatus.prototype.getStatus = function() {
|
|
75958
|
-
return /** @type{?proto.clarifai.api.status.Status} */ (
|
|
75959
|
-
jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 2));
|
|
75960
|
-
};
|
|
75961
|
-
|
|
75962
|
-
|
|
75963
|
-
/**
|
|
75964
|
-
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
75965
|
-
* @return {!proto.clarifai.api.OrchestrationStatus} returns this
|
|
75966
|
-
*/
|
|
75967
|
-
proto.clarifai.api.OrchestrationStatus.prototype.setStatus = function(value) {
|
|
75968
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
75969
|
-
};
|
|
75970
|
-
|
|
75971
|
-
|
|
75972
|
-
/**
|
|
75973
|
-
* Clears the message field making it undefined.
|
|
75974
|
-
* @return {!proto.clarifai.api.OrchestrationStatus} returns this
|
|
75975
|
-
*/
|
|
75976
|
-
proto.clarifai.api.OrchestrationStatus.prototype.clearStatus = function() {
|
|
75977
|
-
return this.setStatus(undefined);
|
|
75978
|
-
};
|
|
75979
|
-
|
|
75980
|
-
|
|
75981
|
-
/**
|
|
75982
|
-
* Returns whether this field is set.
|
|
75983
|
-
* @return {boolean}
|
|
75984
|
-
*/
|
|
75985
|
-
proto.clarifai.api.OrchestrationStatus.prototype.hasStatus = function() {
|
|
75986
|
-
return jspb.Message.getField(this, 2) != null;
|
|
75987
|
-
};
|
|
75988
|
-
|
|
75989
|
-
|
|
75990
|
-
|
|
75991
|
-
|
|
75992
|
-
|
|
75993
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
75994
|
-
/**
|
|
75995
|
-
* Creates an object representation of this proto.
|
|
75996
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
75997
|
-
* Optional fields that are not set will be set to undefined.
|
|
75998
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
75999
|
-
* For the list of reserved names please see:
|
|
76000
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
76001
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
76002
|
-
* JSPB instance for transitional soy proto support:
|
|
76003
|
-
* http://goto/soy-param-migration
|
|
76004
|
-
* @return {!Object}
|
|
76005
|
-
*/
|
|
76006
|
-
proto.clarifai.api.ArgoOrchestrationStatus.prototype.toObject = function(opt_includeInstance) {
|
|
76007
|
-
return proto.clarifai.api.ArgoOrchestrationStatus.toObject(opt_includeInstance, this);
|
|
76008
|
-
};
|
|
76009
|
-
|
|
76010
|
-
|
|
76011
|
-
/**
|
|
76012
|
-
* Static version of the {@see toObject} method.
|
|
76013
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
76014
|
-
* the JSPB instance for transitional soy proto support:
|
|
76015
|
-
* http://goto/soy-param-migration
|
|
76016
|
-
* @param {!proto.clarifai.api.ArgoOrchestrationStatus} msg The msg instance to transform.
|
|
76017
|
-
* @return {!Object}
|
|
76018
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
76019
|
-
*/
|
|
76020
|
-
proto.clarifai.api.ArgoOrchestrationStatus.toObject = function(includeInstance, msg) {
|
|
76021
|
-
var f, obj = {
|
|
76022
|
-
status: msg.getStatus_asB64()
|
|
76023
|
-
};
|
|
76024
|
-
|
|
76025
|
-
if (includeInstance) {
|
|
76026
|
-
obj.$jspbMessageInstance = msg;
|
|
76027
|
-
}
|
|
76028
|
-
return obj;
|
|
76029
|
-
};
|
|
76030
|
-
}
|
|
76031
|
-
|
|
76032
|
-
|
|
76033
|
-
/**
|
|
76034
|
-
* Deserializes binary data (in protobuf wire format).
|
|
76035
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
76036
|
-
* @return {!proto.clarifai.api.ArgoOrchestrationStatus}
|
|
76037
|
-
*/
|
|
76038
|
-
proto.clarifai.api.ArgoOrchestrationStatus.deserializeBinary = function(bytes) {
|
|
76039
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
76040
|
-
var msg = new proto.clarifai.api.ArgoOrchestrationStatus;
|
|
76041
|
-
return proto.clarifai.api.ArgoOrchestrationStatus.deserializeBinaryFromReader(msg, reader);
|
|
76042
|
-
};
|
|
76043
|
-
|
|
76044
|
-
|
|
76045
|
-
/**
|
|
76046
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
76047
|
-
* given reader into the given message object.
|
|
76048
|
-
* @param {!proto.clarifai.api.ArgoOrchestrationStatus} msg The message object to deserialize into.
|
|
76049
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
76050
|
-
* @return {!proto.clarifai.api.ArgoOrchestrationStatus}
|
|
76051
|
-
*/
|
|
76052
|
-
proto.clarifai.api.ArgoOrchestrationStatus.deserializeBinaryFromReader = function(msg, reader) {
|
|
76053
|
-
while (reader.nextField()) {
|
|
76054
|
-
if (reader.isEndGroup()) {
|
|
76055
|
-
break;
|
|
76056
|
-
}
|
|
76057
|
-
var field = reader.getFieldNumber();
|
|
76058
|
-
switch (field) {
|
|
76059
|
-
case 1:
|
|
76060
|
-
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
76061
|
-
msg.setStatus(value);
|
|
76062
|
-
break;
|
|
76063
|
-
default:
|
|
76064
|
-
reader.skipField();
|
|
76065
|
-
break;
|
|
76066
|
-
}
|
|
76067
|
-
}
|
|
76068
|
-
return msg;
|
|
76069
|
-
};
|
|
76070
|
-
|
|
76071
|
-
|
|
76072
|
-
/**
|
|
76073
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
76074
|
-
* @return {!Uint8Array}
|
|
76075
|
-
*/
|
|
76076
|
-
proto.clarifai.api.ArgoOrchestrationStatus.prototype.serializeBinary = function() {
|
|
76077
|
-
var writer = new jspb.BinaryWriter();
|
|
76078
|
-
proto.clarifai.api.ArgoOrchestrationStatus.serializeBinaryToWriter(this, writer);
|
|
76079
|
-
return writer.getResultBuffer();
|
|
76080
|
-
};
|
|
76081
|
-
|
|
76082
|
-
|
|
76083
|
-
/**
|
|
76084
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
76085
|
-
* format), writing to the given BinaryWriter.
|
|
76086
|
-
* @param {!proto.clarifai.api.ArgoOrchestrationStatus} message
|
|
76087
|
-
* @param {!jspb.BinaryWriter} writer
|
|
76088
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
76089
|
-
*/
|
|
76090
|
-
proto.clarifai.api.ArgoOrchestrationStatus.serializeBinaryToWriter = function(message, writer) {
|
|
76091
|
-
var f = undefined;
|
|
76092
|
-
f = message.getStatus_asU8();
|
|
76093
|
-
if (f.length > 0) {
|
|
76094
|
-
writer.writeBytes(
|
|
76095
|
-
1,
|
|
76096
|
-
f
|
|
76097
|
-
);
|
|
76098
|
-
}
|
|
76099
|
-
};
|
|
76100
|
-
|
|
76101
|
-
|
|
76102
|
-
/**
|
|
76103
|
-
* optional bytes status = 1;
|
|
76104
|
-
* @return {string}
|
|
76105
|
-
*/
|
|
76106
|
-
proto.clarifai.api.ArgoOrchestrationStatus.prototype.getStatus = function() {
|
|
76107
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
76108
|
-
};
|
|
76109
|
-
|
|
76110
|
-
|
|
76111
|
-
/**
|
|
76112
|
-
* optional bytes status = 1;
|
|
76113
|
-
* This is a type-conversion wrapper around `getStatus()`
|
|
76114
|
-
* @return {string}
|
|
76115
|
-
*/
|
|
76116
|
-
proto.clarifai.api.ArgoOrchestrationStatus.prototype.getStatus_asB64 = function() {
|
|
76117
|
-
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
76118
|
-
this.getStatus()));
|
|
76119
|
-
};
|
|
76120
|
-
|
|
76121
|
-
|
|
76122
|
-
/**
|
|
76123
|
-
* optional bytes status = 1;
|
|
76124
|
-
* Note that Uint8Array is not supported on all browsers.
|
|
76125
|
-
* @see http://caniuse.com/Uint8Array
|
|
76126
|
-
* This is a type-conversion wrapper around `getStatus()`
|
|
76127
|
-
* @return {!Uint8Array}
|
|
76128
|
-
*/
|
|
76129
|
-
proto.clarifai.api.ArgoOrchestrationStatus.prototype.getStatus_asU8 = function() {
|
|
76130
|
-
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
76131
|
-
this.getStatus()));
|
|
76132
|
-
};
|
|
76133
|
-
|
|
76134
|
-
|
|
76135
|
-
/**
|
|
76136
|
-
* @param {!(string|Uint8Array)} value
|
|
76137
|
-
* @return {!proto.clarifai.api.ArgoOrchestrationStatus} returns this
|
|
76138
|
-
*/
|
|
76139
|
-
proto.clarifai.api.ArgoOrchestrationStatus.prototype.setStatus = function(value) {
|
|
76140
|
-
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
76141
|
-
};
|
|
76142
|
-
|
|
76143
|
-
|
|
76144
|
-
|
|
76145
|
-
/**
|
|
76146
|
-
* List of repeated fields within this message type.
|
|
76147
|
-
* @private {!Array<number>}
|
|
76148
|
-
* @const
|
|
76149
|
-
*/
|
|
76150
|
-
proto.clarifai.api.PipelineRun.repeatedFields_ = [3];
|
|
76151
|
-
|
|
76152
|
-
|
|
76153
|
-
|
|
76154
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
76155
|
-
/**
|
|
76156
|
-
* Creates an object representation of this proto.
|
|
76157
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
76158
|
-
* Optional fields that are not set will be set to undefined.
|
|
76159
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
76160
|
-
* For the list of reserved names please see:
|
|
76161
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
76162
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
76163
|
-
* JSPB instance for transitional soy proto support:
|
|
76164
|
-
* http://goto/soy-param-migration
|
|
76165
|
-
* @return {!Object}
|
|
76166
|
-
*/
|
|
76167
|
-
proto.clarifai.api.PipelineRun.prototype.toObject = function(opt_includeInstance) {
|
|
76168
|
-
return proto.clarifai.api.PipelineRun.toObject(opt_includeInstance, this);
|
|
76169
|
-
};
|
|
76170
|
-
|
|
76171
|
-
|
|
76172
|
-
/**
|
|
76173
|
-
* Static version of the {@see toObject} method.
|
|
76174
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
76175
|
-
* the JSPB instance for transitional soy proto support:
|
|
76176
|
-
* http://goto/soy-param-migration
|
|
76177
|
-
* @param {!proto.clarifai.api.PipelineRun} msg The msg instance to transform.
|
|
76178
|
-
* @return {!Object}
|
|
76179
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
76180
|
-
*/
|
|
76181
|
-
proto.clarifai.api.PipelineRun.toObject = function(includeInstance, msg) {
|
|
76182
|
-
var f, obj = {
|
|
76183
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
76184
|
-
pipelineVersion: (f = msg.getPipelineVersion()) && proto.clarifai.api.PipelineVersion.toObject(includeInstance, f),
|
|
76185
|
-
nodepoolsList: jspb.Message.toObjectList(msg.getNodepoolsList(),
|
|
76186
|
-
proto.clarifai.api.Nodepool.toObject, includeInstance),
|
|
76187
|
-
orchestrationStatus: (f = msg.getOrchestrationStatus()) && proto.clarifai.api.OrchestrationStatus.toObject(includeInstance, f)
|
|
76188
|
-
};
|
|
76189
|
-
|
|
76190
|
-
if (includeInstance) {
|
|
76191
|
-
obj.$jspbMessageInstance = msg;
|
|
76192
|
-
}
|
|
76193
|
-
return obj;
|
|
76194
|
-
};
|
|
76195
|
-
}
|
|
76196
|
-
|
|
76197
|
-
|
|
76198
|
-
/**
|
|
76199
|
-
* Deserializes binary data (in protobuf wire format).
|
|
76200
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
76201
|
-
* @return {!proto.clarifai.api.PipelineRun}
|
|
76202
|
-
*/
|
|
76203
|
-
proto.clarifai.api.PipelineRun.deserializeBinary = function(bytes) {
|
|
76204
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
76205
|
-
var msg = new proto.clarifai.api.PipelineRun;
|
|
76206
|
-
return proto.clarifai.api.PipelineRun.deserializeBinaryFromReader(msg, reader);
|
|
76207
|
-
};
|
|
76208
|
-
|
|
76209
|
-
|
|
76210
|
-
/**
|
|
76211
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
76212
|
-
* given reader into the given message object.
|
|
76213
|
-
* @param {!proto.clarifai.api.PipelineRun} msg The message object to deserialize into.
|
|
76214
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
76215
|
-
* @return {!proto.clarifai.api.PipelineRun}
|
|
76216
|
-
*/
|
|
76217
|
-
proto.clarifai.api.PipelineRun.deserializeBinaryFromReader = function(msg, reader) {
|
|
76218
|
-
while (reader.nextField()) {
|
|
76219
|
-
if (reader.isEndGroup()) {
|
|
76220
|
-
break;
|
|
76221
|
-
}
|
|
76222
|
-
var field = reader.getFieldNumber();
|
|
76223
|
-
switch (field) {
|
|
76224
|
-
case 1:
|
|
76225
|
-
var value = /** @type {string} */ (reader.readString());
|
|
76226
|
-
msg.setId(value);
|
|
76227
|
-
break;
|
|
76228
|
-
case 2:
|
|
76229
|
-
var value = new proto.clarifai.api.PipelineVersion;
|
|
76230
|
-
reader.readMessage(value,proto.clarifai.api.PipelineVersion.deserializeBinaryFromReader);
|
|
76231
|
-
msg.setPipelineVersion(value);
|
|
76232
|
-
break;
|
|
76233
|
-
case 3:
|
|
76234
|
-
var value = new proto.clarifai.api.Nodepool;
|
|
76235
|
-
reader.readMessage(value,proto.clarifai.api.Nodepool.deserializeBinaryFromReader);
|
|
76236
|
-
msg.addNodepools(value);
|
|
76237
|
-
break;
|
|
76238
|
-
case 4:
|
|
76239
|
-
var value = new proto.clarifai.api.OrchestrationStatus;
|
|
76240
|
-
reader.readMessage(value,proto.clarifai.api.OrchestrationStatus.deserializeBinaryFromReader);
|
|
76241
|
-
msg.setOrchestrationStatus(value);
|
|
76242
|
-
break;
|
|
76243
|
-
default:
|
|
76244
|
-
reader.skipField();
|
|
76245
|
-
break;
|
|
76246
|
-
}
|
|
76247
|
-
}
|
|
76248
|
-
return msg;
|
|
76249
|
-
};
|
|
76250
|
-
|
|
76251
|
-
|
|
76252
|
-
/**
|
|
76253
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
76254
|
-
* @return {!Uint8Array}
|
|
76255
|
-
*/
|
|
76256
|
-
proto.clarifai.api.PipelineRun.prototype.serializeBinary = function() {
|
|
76257
|
-
var writer = new jspb.BinaryWriter();
|
|
76258
|
-
proto.clarifai.api.PipelineRun.serializeBinaryToWriter(this, writer);
|
|
76259
|
-
return writer.getResultBuffer();
|
|
76260
|
-
};
|
|
76261
|
-
|
|
76262
|
-
|
|
76263
|
-
/**
|
|
76264
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
76265
|
-
* format), writing to the given BinaryWriter.
|
|
76266
|
-
* @param {!proto.clarifai.api.PipelineRun} message
|
|
76267
|
-
* @param {!jspb.BinaryWriter} writer
|
|
76268
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
76269
|
-
*/
|
|
76270
|
-
proto.clarifai.api.PipelineRun.serializeBinaryToWriter = function(message, writer) {
|
|
76271
|
-
var f = undefined;
|
|
76272
|
-
f = message.getId();
|
|
76273
|
-
if (f.length > 0) {
|
|
76274
|
-
writer.writeString(
|
|
76275
|
-
1,
|
|
76276
|
-
f
|
|
76277
|
-
);
|
|
76278
|
-
}
|
|
76279
|
-
f = message.getPipelineVersion();
|
|
76280
|
-
if (f != null) {
|
|
76281
|
-
writer.writeMessage(
|
|
76282
|
-
2,
|
|
76283
|
-
f,
|
|
76284
|
-
proto.clarifai.api.PipelineVersion.serializeBinaryToWriter
|
|
76285
|
-
);
|
|
76286
|
-
}
|
|
76287
|
-
f = message.getNodepoolsList();
|
|
76288
|
-
if (f.length > 0) {
|
|
76289
|
-
writer.writeRepeatedMessage(
|
|
76290
|
-
3,
|
|
76291
|
-
f,
|
|
76292
|
-
proto.clarifai.api.Nodepool.serializeBinaryToWriter
|
|
76293
|
-
);
|
|
76294
|
-
}
|
|
76295
|
-
f = message.getOrchestrationStatus();
|
|
76296
|
-
if (f != null) {
|
|
76297
|
-
writer.writeMessage(
|
|
76298
|
-
4,
|
|
76299
|
-
f,
|
|
76300
|
-
proto.clarifai.api.OrchestrationStatus.serializeBinaryToWriter
|
|
76301
|
-
);
|
|
76302
|
-
}
|
|
76303
|
-
};
|
|
76304
|
-
|
|
76305
|
-
|
|
76306
|
-
/**
|
|
76307
|
-
* optional string id = 1;
|
|
76308
|
-
* @return {string}
|
|
76309
|
-
*/
|
|
76310
|
-
proto.clarifai.api.PipelineRun.prototype.getId = function() {
|
|
76311
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
76312
|
-
};
|
|
76313
|
-
|
|
76314
|
-
|
|
76315
|
-
/**
|
|
76316
|
-
* @param {string} value
|
|
76317
|
-
* @return {!proto.clarifai.api.PipelineRun} returns this
|
|
76318
|
-
*/
|
|
76319
|
-
proto.clarifai.api.PipelineRun.prototype.setId = function(value) {
|
|
76320
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
76321
|
-
};
|
|
76322
|
-
|
|
76323
|
-
|
|
76324
|
-
/**
|
|
76325
|
-
* optional PipelineVersion pipeline_version = 2;
|
|
76326
|
-
* @return {?proto.clarifai.api.PipelineVersion}
|
|
76327
|
-
*/
|
|
76328
|
-
proto.clarifai.api.PipelineRun.prototype.getPipelineVersion = function() {
|
|
76329
|
-
return /** @type{?proto.clarifai.api.PipelineVersion} */ (
|
|
76330
|
-
jspb.Message.getWrapperField(this, proto.clarifai.api.PipelineVersion, 2));
|
|
76331
|
-
};
|
|
76332
|
-
|
|
76333
|
-
|
|
76334
|
-
/**
|
|
76335
|
-
* @param {?proto.clarifai.api.PipelineVersion|undefined} value
|
|
76336
|
-
* @return {!proto.clarifai.api.PipelineRun} returns this
|
|
76337
|
-
*/
|
|
76338
|
-
proto.clarifai.api.PipelineRun.prototype.setPipelineVersion = function(value) {
|
|
76339
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
76340
|
-
};
|
|
76341
|
-
|
|
76342
|
-
|
|
76343
|
-
/**
|
|
76344
|
-
* Clears the message field making it undefined.
|
|
76345
|
-
* @return {!proto.clarifai.api.PipelineRun} returns this
|
|
76346
|
-
*/
|
|
76347
|
-
proto.clarifai.api.PipelineRun.prototype.clearPipelineVersion = function() {
|
|
76348
|
-
return this.setPipelineVersion(undefined);
|
|
76349
|
-
};
|
|
76350
|
-
|
|
76351
|
-
|
|
76352
|
-
/**
|
|
76353
|
-
* Returns whether this field is set.
|
|
76354
|
-
* @return {boolean}
|
|
76355
|
-
*/
|
|
76356
|
-
proto.clarifai.api.PipelineRun.prototype.hasPipelineVersion = function() {
|
|
76357
|
-
return jspb.Message.getField(this, 2) != null;
|
|
76358
|
-
};
|
|
76359
|
-
|
|
76360
|
-
|
|
76361
|
-
/**
|
|
76362
|
-
* repeated Nodepool nodepools = 3;
|
|
76363
|
-
* @return {!Array<!proto.clarifai.api.Nodepool>}
|
|
76364
|
-
*/
|
|
76365
|
-
proto.clarifai.api.PipelineRun.prototype.getNodepoolsList = function() {
|
|
76366
|
-
return /** @type{!Array<!proto.clarifai.api.Nodepool>} */ (
|
|
76367
|
-
jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.Nodepool, 3));
|
|
76368
|
-
};
|
|
76369
|
-
|
|
76370
|
-
|
|
76371
|
-
/**
|
|
76372
|
-
* @param {!Array<!proto.clarifai.api.Nodepool>} value
|
|
76373
|
-
* @return {!proto.clarifai.api.PipelineRun} returns this
|
|
76374
|
-
*/
|
|
76375
|
-
proto.clarifai.api.PipelineRun.prototype.setNodepoolsList = function(value) {
|
|
76376
|
-
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
76377
|
-
};
|
|
76378
|
-
|
|
76379
|
-
|
|
76380
|
-
/**
|
|
76381
|
-
* @param {!proto.clarifai.api.Nodepool=} opt_value
|
|
76382
|
-
* @param {number=} opt_index
|
|
76383
|
-
* @return {!proto.clarifai.api.Nodepool}
|
|
76384
|
-
*/
|
|
76385
|
-
proto.clarifai.api.PipelineRun.prototype.addNodepools = function(opt_value, opt_index) {
|
|
76386
|
-
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.Nodepool, opt_index);
|
|
76387
|
-
};
|
|
76388
|
-
|
|
76389
|
-
|
|
76390
|
-
/**
|
|
76391
|
-
* Clears the list making it empty but non-null.
|
|
76392
|
-
* @return {!proto.clarifai.api.PipelineRun} returns this
|
|
76393
|
-
*/
|
|
76394
|
-
proto.clarifai.api.PipelineRun.prototype.clearNodepoolsList = function() {
|
|
76395
|
-
return this.setNodepoolsList([]);
|
|
76396
|
-
};
|
|
76397
|
-
|
|
76398
|
-
|
|
76399
|
-
/**
|
|
76400
|
-
* optional OrchestrationStatus orchestration_status = 4;
|
|
76401
|
-
* @return {?proto.clarifai.api.OrchestrationStatus}
|
|
76402
|
-
*/
|
|
76403
|
-
proto.clarifai.api.PipelineRun.prototype.getOrchestrationStatus = function() {
|
|
76404
|
-
return /** @type{?proto.clarifai.api.OrchestrationStatus} */ (
|
|
76405
|
-
jspb.Message.getWrapperField(this, proto.clarifai.api.OrchestrationStatus, 4));
|
|
76406
|
-
};
|
|
76407
|
-
|
|
76408
|
-
|
|
76409
|
-
/**
|
|
76410
|
-
* @param {?proto.clarifai.api.OrchestrationStatus|undefined} value
|
|
76411
|
-
* @return {!proto.clarifai.api.PipelineRun} returns this
|
|
76412
|
-
*/
|
|
76413
|
-
proto.clarifai.api.PipelineRun.prototype.setOrchestrationStatus = function(value) {
|
|
76414
|
-
return jspb.Message.setWrapperField(this, 4, value);
|
|
76415
|
-
};
|
|
76416
|
-
|
|
76417
|
-
|
|
76418
|
-
/**
|
|
76419
|
-
* Clears the message field making it undefined.
|
|
76420
|
-
* @return {!proto.clarifai.api.PipelineRun} returns this
|
|
76421
|
-
*/
|
|
76422
|
-
proto.clarifai.api.PipelineRun.prototype.clearOrchestrationStatus = function() {
|
|
76423
|
-
return this.setOrchestrationStatus(undefined);
|
|
76424
|
-
};
|
|
76425
|
-
|
|
76426
|
-
|
|
76427
|
-
/**
|
|
76428
|
-
* Returns whether this field is set.
|
|
76429
|
-
* @return {boolean}
|
|
76430
|
-
*/
|
|
76431
|
-
proto.clarifai.api.PipelineRun.prototype.hasOrchestrationStatus = function() {
|
|
76432
|
-
return jspb.Message.getField(this, 4) != null;
|
|
76433
|
-
};
|
|
76434
|
-
|
|
76435
|
-
|
|
76436
74284
|
/**
|
|
76437
74285
|
* @enum {number}
|
|
76438
74286
|
*/
|
|
@@ -76662,6 +74510,12 @@ proto.clarifai.api.EventType = {
|
|
|
76662
74510
|
MODULE_VERSION_CREATE: 203,
|
|
76663
74511
|
MODULE_VERSION_UPDATE: 204,
|
|
76664
74512
|
MODULE_VERSION_DELETE: 205,
|
|
74513
|
+
MODEL_CREATE: 300,
|
|
74514
|
+
MODEL_UPDATE: 301,
|
|
74515
|
+
MODEL_DELETE: 302,
|
|
74516
|
+
MODEL_VERSION_CREATE: 303,
|
|
74517
|
+
MODEL_VERSION_UPDATE: 304,
|
|
74518
|
+
MODEL_VERSION_DELETE: 305,
|
|
76665
74519
|
WORKFLOW_CREATE: 400,
|
|
76666
74520
|
WORKFLOW_UPDATE: 401,
|
|
76667
74521
|
WORKFLOW_DELETE: 402,
|
|
@@ -76673,7 +74527,8 @@ proto.clarifai.api.EventType = {
|
|
|
76673
74527
|
APPLICATION_DELETE: 602,
|
|
76674
74528
|
COLLABORATOR_ADD: 700,
|
|
76675
74529
|
COLLABORATOR_UPDATE: 701,
|
|
76676
|
-
COLLABORATOR_REMOVE: 702
|
|
74530
|
+
COLLABORATOR_REMOVE: 702,
|
|
74531
|
+
USER_UPDATE: 800
|
|
76677
74532
|
};
|
|
76678
74533
|
|
|
76679
74534
|
goog.object.extend(exports, proto.clarifai.api);
|