@flyteorg/flyteidl 1.2.2 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/gen/pb-js/flyteidl.d.ts +441 -1
- package/gen/pb-js/flyteidl.js +1064 -0
- package/package.json +1 -1
- package/protos/docs/admin/admin.rst +175 -0
- package/protos/docs/core/core.rst +1 -0
- package/protos/docs/datacatalog/datacatalog.rst +46 -0
- package/protos/docs/service/service.rst +2 -0
- package/protos/flyteidl/admin/description_entity.proto +95 -0
- package/protos/flyteidl/admin/execution.proto +13 -0
- package/protos/flyteidl/admin/launch_plan.proto +5 -0
- package/protos/flyteidl/admin/matchable_resource.proto +5 -0
- package/protos/flyteidl/admin/task.proto +7 -0
- package/protos/flyteidl/admin/workflow.proto +7 -0
- package/protos/flyteidl/core/catalog.proto +2 -0
- package/protos/flyteidl/core/identifier.proto +1 -1
- package/protos/flyteidl/datacatalog/datacatalog.proto +29 -0
- package/protos/flyteidl/service/admin.proto +24 -1
package/gen/pb-js/flyteidl.js
CHANGED
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
* @property {number} CACHE_POPULATED=3 CACHE_POPULATED value
|
|
45
45
|
* @property {number} CACHE_LOOKUP_FAILURE=4 CACHE_LOOKUP_FAILURE value
|
|
46
46
|
* @property {number} CACHE_PUT_FAILURE=5 CACHE_PUT_FAILURE value
|
|
47
|
+
* @property {number} CACHE_SKIPPED=6 CACHE_SKIPPED value
|
|
47
48
|
*/
|
|
48
49
|
core.CatalogCacheStatus = (function() {
|
|
49
50
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -53,6 +54,7 @@
|
|
|
53
54
|
values[valuesById[3] = "CACHE_POPULATED"] = 3;
|
|
54
55
|
values[valuesById[4] = "CACHE_LOOKUP_FAILURE"] = 4;
|
|
55
56
|
values[valuesById[5] = "CACHE_PUT_FAILURE"] = 5;
|
|
57
|
+
values[valuesById[6] = "CACHE_SKIPPED"] = 6;
|
|
56
58
|
return values;
|
|
57
59
|
})();
|
|
58
60
|
|
|
@@ -16348,6 +16350,7 @@
|
|
|
16348
16350
|
case 3:
|
|
16349
16351
|
case 4:
|
|
16350
16352
|
case 5:
|
|
16353
|
+
case 6:
|
|
16351
16354
|
break;
|
|
16352
16355
|
}
|
|
16353
16356
|
if (message.catalogKey != null && message.hasOwnProperty("catalogKey")) {
|
|
@@ -17385,6 +17388,7 @@
|
|
|
17385
17388
|
case 3:
|
|
17386
17389
|
case 4:
|
|
17387
17390
|
case 5:
|
|
17391
|
+
case 6:
|
|
17388
17392
|
break;
|
|
17389
17393
|
}
|
|
17390
17394
|
if (message.logs != null && message.hasOwnProperty("logs")) {
|
|
@@ -21022,6 +21026,859 @@
|
|
|
21022
21026
|
return RawOutputDataConfig;
|
|
21023
21027
|
})();
|
|
21024
21028
|
|
|
21029
|
+
admin.DescriptionEntity = (function() {
|
|
21030
|
+
|
|
21031
|
+
/**
|
|
21032
|
+
* Properties of a DescriptionEntity.
|
|
21033
|
+
* @memberof flyteidl.admin
|
|
21034
|
+
* @interface IDescriptionEntity
|
|
21035
|
+
* @property {flyteidl.core.IIdentifier|null} [id] DescriptionEntity id
|
|
21036
|
+
* @property {string|null} [shortDescription] DescriptionEntity shortDescription
|
|
21037
|
+
* @property {flyteidl.admin.IDescription|null} [longDescription] DescriptionEntity longDescription
|
|
21038
|
+
* @property {flyteidl.admin.ISourceCode|null} [sourceCode] DescriptionEntity sourceCode
|
|
21039
|
+
* @property {Array.<string>|null} [tags] DescriptionEntity tags
|
|
21040
|
+
*/
|
|
21041
|
+
|
|
21042
|
+
/**
|
|
21043
|
+
* Constructs a new DescriptionEntity.
|
|
21044
|
+
* @memberof flyteidl.admin
|
|
21045
|
+
* @classdesc Represents a DescriptionEntity.
|
|
21046
|
+
* @implements IDescriptionEntity
|
|
21047
|
+
* @constructor
|
|
21048
|
+
* @param {flyteidl.admin.IDescriptionEntity=} [properties] Properties to set
|
|
21049
|
+
*/
|
|
21050
|
+
function DescriptionEntity(properties) {
|
|
21051
|
+
this.tags = [];
|
|
21052
|
+
if (properties)
|
|
21053
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
21054
|
+
if (properties[keys[i]] != null)
|
|
21055
|
+
this[keys[i]] = properties[keys[i]];
|
|
21056
|
+
}
|
|
21057
|
+
|
|
21058
|
+
/**
|
|
21059
|
+
* DescriptionEntity id.
|
|
21060
|
+
* @member {flyteidl.core.IIdentifier|null|undefined} id
|
|
21061
|
+
* @memberof flyteidl.admin.DescriptionEntity
|
|
21062
|
+
* @instance
|
|
21063
|
+
*/
|
|
21064
|
+
DescriptionEntity.prototype.id = null;
|
|
21065
|
+
|
|
21066
|
+
/**
|
|
21067
|
+
* DescriptionEntity shortDescription.
|
|
21068
|
+
* @member {string} shortDescription
|
|
21069
|
+
* @memberof flyteidl.admin.DescriptionEntity
|
|
21070
|
+
* @instance
|
|
21071
|
+
*/
|
|
21072
|
+
DescriptionEntity.prototype.shortDescription = "";
|
|
21073
|
+
|
|
21074
|
+
/**
|
|
21075
|
+
* DescriptionEntity longDescription.
|
|
21076
|
+
* @member {flyteidl.admin.IDescription|null|undefined} longDescription
|
|
21077
|
+
* @memberof flyteidl.admin.DescriptionEntity
|
|
21078
|
+
* @instance
|
|
21079
|
+
*/
|
|
21080
|
+
DescriptionEntity.prototype.longDescription = null;
|
|
21081
|
+
|
|
21082
|
+
/**
|
|
21083
|
+
* DescriptionEntity sourceCode.
|
|
21084
|
+
* @member {flyteidl.admin.ISourceCode|null|undefined} sourceCode
|
|
21085
|
+
* @memberof flyteidl.admin.DescriptionEntity
|
|
21086
|
+
* @instance
|
|
21087
|
+
*/
|
|
21088
|
+
DescriptionEntity.prototype.sourceCode = null;
|
|
21089
|
+
|
|
21090
|
+
/**
|
|
21091
|
+
* DescriptionEntity tags.
|
|
21092
|
+
* @member {Array.<string>} tags
|
|
21093
|
+
* @memberof flyteidl.admin.DescriptionEntity
|
|
21094
|
+
* @instance
|
|
21095
|
+
*/
|
|
21096
|
+
DescriptionEntity.prototype.tags = $util.emptyArray;
|
|
21097
|
+
|
|
21098
|
+
/**
|
|
21099
|
+
* Creates a new DescriptionEntity instance using the specified properties.
|
|
21100
|
+
* @function create
|
|
21101
|
+
* @memberof flyteidl.admin.DescriptionEntity
|
|
21102
|
+
* @static
|
|
21103
|
+
* @param {flyteidl.admin.IDescriptionEntity=} [properties] Properties to set
|
|
21104
|
+
* @returns {flyteidl.admin.DescriptionEntity} DescriptionEntity instance
|
|
21105
|
+
*/
|
|
21106
|
+
DescriptionEntity.create = function create(properties) {
|
|
21107
|
+
return new DescriptionEntity(properties);
|
|
21108
|
+
};
|
|
21109
|
+
|
|
21110
|
+
/**
|
|
21111
|
+
* Encodes the specified DescriptionEntity message. Does not implicitly {@link flyteidl.admin.DescriptionEntity.verify|verify} messages.
|
|
21112
|
+
* @function encode
|
|
21113
|
+
* @memberof flyteidl.admin.DescriptionEntity
|
|
21114
|
+
* @static
|
|
21115
|
+
* @param {flyteidl.admin.IDescriptionEntity} message DescriptionEntity message or plain object to encode
|
|
21116
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
21117
|
+
* @returns {$protobuf.Writer} Writer
|
|
21118
|
+
*/
|
|
21119
|
+
DescriptionEntity.encode = function encode(message, writer) {
|
|
21120
|
+
if (!writer)
|
|
21121
|
+
writer = $Writer.create();
|
|
21122
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
21123
|
+
$root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
21124
|
+
if (message.shortDescription != null && message.hasOwnProperty("shortDescription"))
|
|
21125
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.shortDescription);
|
|
21126
|
+
if (message.longDescription != null && message.hasOwnProperty("longDescription"))
|
|
21127
|
+
$root.flyteidl.admin.Description.encode(message.longDescription, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
21128
|
+
if (message.sourceCode != null && message.hasOwnProperty("sourceCode"))
|
|
21129
|
+
$root.flyteidl.admin.SourceCode.encode(message.sourceCode, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
21130
|
+
if (message.tags != null && message.tags.length)
|
|
21131
|
+
for (var i = 0; i < message.tags.length; ++i)
|
|
21132
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.tags[i]);
|
|
21133
|
+
return writer;
|
|
21134
|
+
};
|
|
21135
|
+
|
|
21136
|
+
/**
|
|
21137
|
+
* Decodes a DescriptionEntity message from the specified reader or buffer.
|
|
21138
|
+
* @function decode
|
|
21139
|
+
* @memberof flyteidl.admin.DescriptionEntity
|
|
21140
|
+
* @static
|
|
21141
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
21142
|
+
* @param {number} [length] Message length if known beforehand
|
|
21143
|
+
* @returns {flyteidl.admin.DescriptionEntity} DescriptionEntity
|
|
21144
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
21145
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
21146
|
+
*/
|
|
21147
|
+
DescriptionEntity.decode = function decode(reader, length) {
|
|
21148
|
+
if (!(reader instanceof $Reader))
|
|
21149
|
+
reader = $Reader.create(reader);
|
|
21150
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.DescriptionEntity();
|
|
21151
|
+
while (reader.pos < end) {
|
|
21152
|
+
var tag = reader.uint32();
|
|
21153
|
+
switch (tag >>> 3) {
|
|
21154
|
+
case 1:
|
|
21155
|
+
message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32());
|
|
21156
|
+
break;
|
|
21157
|
+
case 2:
|
|
21158
|
+
message.shortDescription = reader.string();
|
|
21159
|
+
break;
|
|
21160
|
+
case 3:
|
|
21161
|
+
message.longDescription = $root.flyteidl.admin.Description.decode(reader, reader.uint32());
|
|
21162
|
+
break;
|
|
21163
|
+
case 4:
|
|
21164
|
+
message.sourceCode = $root.flyteidl.admin.SourceCode.decode(reader, reader.uint32());
|
|
21165
|
+
break;
|
|
21166
|
+
case 5:
|
|
21167
|
+
if (!(message.tags && message.tags.length))
|
|
21168
|
+
message.tags = [];
|
|
21169
|
+
message.tags.push(reader.string());
|
|
21170
|
+
break;
|
|
21171
|
+
default:
|
|
21172
|
+
reader.skipType(tag & 7);
|
|
21173
|
+
break;
|
|
21174
|
+
}
|
|
21175
|
+
}
|
|
21176
|
+
return message;
|
|
21177
|
+
};
|
|
21178
|
+
|
|
21179
|
+
/**
|
|
21180
|
+
* Verifies a DescriptionEntity message.
|
|
21181
|
+
* @function verify
|
|
21182
|
+
* @memberof flyteidl.admin.DescriptionEntity
|
|
21183
|
+
* @static
|
|
21184
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
21185
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
21186
|
+
*/
|
|
21187
|
+
DescriptionEntity.verify = function verify(message) {
|
|
21188
|
+
if (typeof message !== "object" || message === null)
|
|
21189
|
+
return "object expected";
|
|
21190
|
+
if (message.id != null && message.hasOwnProperty("id")) {
|
|
21191
|
+
var error = $root.flyteidl.core.Identifier.verify(message.id);
|
|
21192
|
+
if (error)
|
|
21193
|
+
return "id." + error;
|
|
21194
|
+
}
|
|
21195
|
+
if (message.shortDescription != null && message.hasOwnProperty("shortDescription"))
|
|
21196
|
+
if (!$util.isString(message.shortDescription))
|
|
21197
|
+
return "shortDescription: string expected";
|
|
21198
|
+
if (message.longDescription != null && message.hasOwnProperty("longDescription")) {
|
|
21199
|
+
var error = $root.flyteidl.admin.Description.verify(message.longDescription);
|
|
21200
|
+
if (error)
|
|
21201
|
+
return "longDescription." + error;
|
|
21202
|
+
}
|
|
21203
|
+
if (message.sourceCode != null && message.hasOwnProperty("sourceCode")) {
|
|
21204
|
+
var error = $root.flyteidl.admin.SourceCode.verify(message.sourceCode);
|
|
21205
|
+
if (error)
|
|
21206
|
+
return "sourceCode." + error;
|
|
21207
|
+
}
|
|
21208
|
+
if (message.tags != null && message.hasOwnProperty("tags")) {
|
|
21209
|
+
if (!Array.isArray(message.tags))
|
|
21210
|
+
return "tags: array expected";
|
|
21211
|
+
for (var i = 0; i < message.tags.length; ++i)
|
|
21212
|
+
if (!$util.isString(message.tags[i]))
|
|
21213
|
+
return "tags: string[] expected";
|
|
21214
|
+
}
|
|
21215
|
+
return null;
|
|
21216
|
+
};
|
|
21217
|
+
|
|
21218
|
+
return DescriptionEntity;
|
|
21219
|
+
})();
|
|
21220
|
+
|
|
21221
|
+
/**
|
|
21222
|
+
* DescriptionFormat enum.
|
|
21223
|
+
* @name flyteidl.admin.DescriptionFormat
|
|
21224
|
+
* @enum {string}
|
|
21225
|
+
* @property {number} DESCRIPTION_FORMAT_UNKNOWN=0 DESCRIPTION_FORMAT_UNKNOWN value
|
|
21226
|
+
* @property {number} DESCRIPTION_FORMAT_MARKDOWN=1 DESCRIPTION_FORMAT_MARKDOWN value
|
|
21227
|
+
* @property {number} DESCRIPTION_FORMAT_HTML=2 DESCRIPTION_FORMAT_HTML value
|
|
21228
|
+
* @property {number} DESCRIPTION_FORMAT_RST=3 DESCRIPTION_FORMAT_RST value
|
|
21229
|
+
*/
|
|
21230
|
+
admin.DescriptionFormat = (function() {
|
|
21231
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
21232
|
+
values[valuesById[0] = "DESCRIPTION_FORMAT_UNKNOWN"] = 0;
|
|
21233
|
+
values[valuesById[1] = "DESCRIPTION_FORMAT_MARKDOWN"] = 1;
|
|
21234
|
+
values[valuesById[2] = "DESCRIPTION_FORMAT_HTML"] = 2;
|
|
21235
|
+
values[valuesById[3] = "DESCRIPTION_FORMAT_RST"] = 3;
|
|
21236
|
+
return values;
|
|
21237
|
+
})();
|
|
21238
|
+
|
|
21239
|
+
admin.Description = (function() {
|
|
21240
|
+
|
|
21241
|
+
/**
|
|
21242
|
+
* Properties of a Description.
|
|
21243
|
+
* @memberof flyteidl.admin
|
|
21244
|
+
* @interface IDescription
|
|
21245
|
+
* @property {string|null} [value] Description value
|
|
21246
|
+
* @property {string|null} [uri] Description uri
|
|
21247
|
+
* @property {flyteidl.admin.DescriptionFormat|null} [format] Description format
|
|
21248
|
+
* @property {string|null} [iconLink] Description iconLink
|
|
21249
|
+
*/
|
|
21250
|
+
|
|
21251
|
+
/**
|
|
21252
|
+
* Constructs a new Description.
|
|
21253
|
+
* @memberof flyteidl.admin
|
|
21254
|
+
* @classdesc Represents a Description.
|
|
21255
|
+
* @implements IDescription
|
|
21256
|
+
* @constructor
|
|
21257
|
+
* @param {flyteidl.admin.IDescription=} [properties] Properties to set
|
|
21258
|
+
*/
|
|
21259
|
+
function Description(properties) {
|
|
21260
|
+
if (properties)
|
|
21261
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
21262
|
+
if (properties[keys[i]] != null)
|
|
21263
|
+
this[keys[i]] = properties[keys[i]];
|
|
21264
|
+
}
|
|
21265
|
+
|
|
21266
|
+
/**
|
|
21267
|
+
* Description value.
|
|
21268
|
+
* @member {string} value
|
|
21269
|
+
* @memberof flyteidl.admin.Description
|
|
21270
|
+
* @instance
|
|
21271
|
+
*/
|
|
21272
|
+
Description.prototype.value = "";
|
|
21273
|
+
|
|
21274
|
+
/**
|
|
21275
|
+
* Description uri.
|
|
21276
|
+
* @member {string} uri
|
|
21277
|
+
* @memberof flyteidl.admin.Description
|
|
21278
|
+
* @instance
|
|
21279
|
+
*/
|
|
21280
|
+
Description.prototype.uri = "";
|
|
21281
|
+
|
|
21282
|
+
/**
|
|
21283
|
+
* Description format.
|
|
21284
|
+
* @member {flyteidl.admin.DescriptionFormat} format
|
|
21285
|
+
* @memberof flyteidl.admin.Description
|
|
21286
|
+
* @instance
|
|
21287
|
+
*/
|
|
21288
|
+
Description.prototype.format = 0;
|
|
21289
|
+
|
|
21290
|
+
/**
|
|
21291
|
+
* Description iconLink.
|
|
21292
|
+
* @member {string} iconLink
|
|
21293
|
+
* @memberof flyteidl.admin.Description
|
|
21294
|
+
* @instance
|
|
21295
|
+
*/
|
|
21296
|
+
Description.prototype.iconLink = "";
|
|
21297
|
+
|
|
21298
|
+
// OneOf field names bound to virtual getters and setters
|
|
21299
|
+
var $oneOfFields;
|
|
21300
|
+
|
|
21301
|
+
/**
|
|
21302
|
+
* Description content.
|
|
21303
|
+
* @member {"value"|"uri"|undefined} content
|
|
21304
|
+
* @memberof flyteidl.admin.Description
|
|
21305
|
+
* @instance
|
|
21306
|
+
*/
|
|
21307
|
+
Object.defineProperty(Description.prototype, "content", {
|
|
21308
|
+
get: $util.oneOfGetter($oneOfFields = ["value", "uri"]),
|
|
21309
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
21310
|
+
});
|
|
21311
|
+
|
|
21312
|
+
/**
|
|
21313
|
+
* Creates a new Description instance using the specified properties.
|
|
21314
|
+
* @function create
|
|
21315
|
+
* @memberof flyteidl.admin.Description
|
|
21316
|
+
* @static
|
|
21317
|
+
* @param {flyteidl.admin.IDescription=} [properties] Properties to set
|
|
21318
|
+
* @returns {flyteidl.admin.Description} Description instance
|
|
21319
|
+
*/
|
|
21320
|
+
Description.create = function create(properties) {
|
|
21321
|
+
return new Description(properties);
|
|
21322
|
+
};
|
|
21323
|
+
|
|
21324
|
+
/**
|
|
21325
|
+
* Encodes the specified Description message. Does not implicitly {@link flyteidl.admin.Description.verify|verify} messages.
|
|
21326
|
+
* @function encode
|
|
21327
|
+
* @memberof flyteidl.admin.Description
|
|
21328
|
+
* @static
|
|
21329
|
+
* @param {flyteidl.admin.IDescription} message Description message or plain object to encode
|
|
21330
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
21331
|
+
* @returns {$protobuf.Writer} Writer
|
|
21332
|
+
*/
|
|
21333
|
+
Description.encode = function encode(message, writer) {
|
|
21334
|
+
if (!writer)
|
|
21335
|
+
writer = $Writer.create();
|
|
21336
|
+
if (message.value != null && message.hasOwnProperty("value"))
|
|
21337
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.value);
|
|
21338
|
+
if (message.uri != null && message.hasOwnProperty("uri"))
|
|
21339
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.uri);
|
|
21340
|
+
if (message.format != null && message.hasOwnProperty("format"))
|
|
21341
|
+
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.format);
|
|
21342
|
+
if (message.iconLink != null && message.hasOwnProperty("iconLink"))
|
|
21343
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.iconLink);
|
|
21344
|
+
return writer;
|
|
21345
|
+
};
|
|
21346
|
+
|
|
21347
|
+
/**
|
|
21348
|
+
* Decodes a Description message from the specified reader or buffer.
|
|
21349
|
+
* @function decode
|
|
21350
|
+
* @memberof flyteidl.admin.Description
|
|
21351
|
+
* @static
|
|
21352
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
21353
|
+
* @param {number} [length] Message length if known beforehand
|
|
21354
|
+
* @returns {flyteidl.admin.Description} Description
|
|
21355
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
21356
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
21357
|
+
*/
|
|
21358
|
+
Description.decode = function decode(reader, length) {
|
|
21359
|
+
if (!(reader instanceof $Reader))
|
|
21360
|
+
reader = $Reader.create(reader);
|
|
21361
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Description();
|
|
21362
|
+
while (reader.pos < end) {
|
|
21363
|
+
var tag = reader.uint32();
|
|
21364
|
+
switch (tag >>> 3) {
|
|
21365
|
+
case 1:
|
|
21366
|
+
message.value = reader.string();
|
|
21367
|
+
break;
|
|
21368
|
+
case 2:
|
|
21369
|
+
message.uri = reader.string();
|
|
21370
|
+
break;
|
|
21371
|
+
case 3:
|
|
21372
|
+
message.format = reader.int32();
|
|
21373
|
+
break;
|
|
21374
|
+
case 4:
|
|
21375
|
+
message.iconLink = reader.string();
|
|
21376
|
+
break;
|
|
21377
|
+
default:
|
|
21378
|
+
reader.skipType(tag & 7);
|
|
21379
|
+
break;
|
|
21380
|
+
}
|
|
21381
|
+
}
|
|
21382
|
+
return message;
|
|
21383
|
+
};
|
|
21384
|
+
|
|
21385
|
+
/**
|
|
21386
|
+
* Verifies a Description message.
|
|
21387
|
+
* @function verify
|
|
21388
|
+
* @memberof flyteidl.admin.Description
|
|
21389
|
+
* @static
|
|
21390
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
21391
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
21392
|
+
*/
|
|
21393
|
+
Description.verify = function verify(message) {
|
|
21394
|
+
if (typeof message !== "object" || message === null)
|
|
21395
|
+
return "object expected";
|
|
21396
|
+
var properties = {};
|
|
21397
|
+
if (message.value != null && message.hasOwnProperty("value")) {
|
|
21398
|
+
properties.content = 1;
|
|
21399
|
+
if (!$util.isString(message.value))
|
|
21400
|
+
return "value: string expected";
|
|
21401
|
+
}
|
|
21402
|
+
if (message.uri != null && message.hasOwnProperty("uri")) {
|
|
21403
|
+
if (properties.content === 1)
|
|
21404
|
+
return "content: multiple values";
|
|
21405
|
+
properties.content = 1;
|
|
21406
|
+
if (!$util.isString(message.uri))
|
|
21407
|
+
return "uri: string expected";
|
|
21408
|
+
}
|
|
21409
|
+
if (message.format != null && message.hasOwnProperty("format"))
|
|
21410
|
+
switch (message.format) {
|
|
21411
|
+
default:
|
|
21412
|
+
return "format: enum value expected";
|
|
21413
|
+
case 0:
|
|
21414
|
+
case 1:
|
|
21415
|
+
case 2:
|
|
21416
|
+
case 3:
|
|
21417
|
+
break;
|
|
21418
|
+
}
|
|
21419
|
+
if (message.iconLink != null && message.hasOwnProperty("iconLink"))
|
|
21420
|
+
if (!$util.isString(message.iconLink))
|
|
21421
|
+
return "iconLink: string expected";
|
|
21422
|
+
return null;
|
|
21423
|
+
};
|
|
21424
|
+
|
|
21425
|
+
return Description;
|
|
21426
|
+
})();
|
|
21427
|
+
|
|
21428
|
+
admin.SourceCode = (function() {
|
|
21429
|
+
|
|
21430
|
+
/**
|
|
21431
|
+
* Properties of a SourceCode.
|
|
21432
|
+
* @memberof flyteidl.admin
|
|
21433
|
+
* @interface ISourceCode
|
|
21434
|
+
* @property {string|null} [link] SourceCode link
|
|
21435
|
+
*/
|
|
21436
|
+
|
|
21437
|
+
/**
|
|
21438
|
+
* Constructs a new SourceCode.
|
|
21439
|
+
* @memberof flyteidl.admin
|
|
21440
|
+
* @classdesc Represents a SourceCode.
|
|
21441
|
+
* @implements ISourceCode
|
|
21442
|
+
* @constructor
|
|
21443
|
+
* @param {flyteidl.admin.ISourceCode=} [properties] Properties to set
|
|
21444
|
+
*/
|
|
21445
|
+
function SourceCode(properties) {
|
|
21446
|
+
if (properties)
|
|
21447
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
21448
|
+
if (properties[keys[i]] != null)
|
|
21449
|
+
this[keys[i]] = properties[keys[i]];
|
|
21450
|
+
}
|
|
21451
|
+
|
|
21452
|
+
/**
|
|
21453
|
+
* SourceCode link.
|
|
21454
|
+
* @member {string} link
|
|
21455
|
+
* @memberof flyteidl.admin.SourceCode
|
|
21456
|
+
* @instance
|
|
21457
|
+
*/
|
|
21458
|
+
SourceCode.prototype.link = "";
|
|
21459
|
+
|
|
21460
|
+
/**
|
|
21461
|
+
* Creates a new SourceCode instance using the specified properties.
|
|
21462
|
+
* @function create
|
|
21463
|
+
* @memberof flyteidl.admin.SourceCode
|
|
21464
|
+
* @static
|
|
21465
|
+
* @param {flyteidl.admin.ISourceCode=} [properties] Properties to set
|
|
21466
|
+
* @returns {flyteidl.admin.SourceCode} SourceCode instance
|
|
21467
|
+
*/
|
|
21468
|
+
SourceCode.create = function create(properties) {
|
|
21469
|
+
return new SourceCode(properties);
|
|
21470
|
+
};
|
|
21471
|
+
|
|
21472
|
+
/**
|
|
21473
|
+
* Encodes the specified SourceCode message. Does not implicitly {@link flyteidl.admin.SourceCode.verify|verify} messages.
|
|
21474
|
+
* @function encode
|
|
21475
|
+
* @memberof flyteidl.admin.SourceCode
|
|
21476
|
+
* @static
|
|
21477
|
+
* @param {flyteidl.admin.ISourceCode} message SourceCode message or plain object to encode
|
|
21478
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
21479
|
+
* @returns {$protobuf.Writer} Writer
|
|
21480
|
+
*/
|
|
21481
|
+
SourceCode.encode = function encode(message, writer) {
|
|
21482
|
+
if (!writer)
|
|
21483
|
+
writer = $Writer.create();
|
|
21484
|
+
if (message.link != null && message.hasOwnProperty("link"))
|
|
21485
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.link);
|
|
21486
|
+
return writer;
|
|
21487
|
+
};
|
|
21488
|
+
|
|
21489
|
+
/**
|
|
21490
|
+
* Decodes a SourceCode message from the specified reader or buffer.
|
|
21491
|
+
* @function decode
|
|
21492
|
+
* @memberof flyteidl.admin.SourceCode
|
|
21493
|
+
* @static
|
|
21494
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
21495
|
+
* @param {number} [length] Message length if known beforehand
|
|
21496
|
+
* @returns {flyteidl.admin.SourceCode} SourceCode
|
|
21497
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
21498
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
21499
|
+
*/
|
|
21500
|
+
SourceCode.decode = function decode(reader, length) {
|
|
21501
|
+
if (!(reader instanceof $Reader))
|
|
21502
|
+
reader = $Reader.create(reader);
|
|
21503
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.SourceCode();
|
|
21504
|
+
while (reader.pos < end) {
|
|
21505
|
+
var tag = reader.uint32();
|
|
21506
|
+
switch (tag >>> 3) {
|
|
21507
|
+
case 1:
|
|
21508
|
+
message.link = reader.string();
|
|
21509
|
+
break;
|
|
21510
|
+
default:
|
|
21511
|
+
reader.skipType(tag & 7);
|
|
21512
|
+
break;
|
|
21513
|
+
}
|
|
21514
|
+
}
|
|
21515
|
+
return message;
|
|
21516
|
+
};
|
|
21517
|
+
|
|
21518
|
+
/**
|
|
21519
|
+
* Verifies a SourceCode message.
|
|
21520
|
+
* @function verify
|
|
21521
|
+
* @memberof flyteidl.admin.SourceCode
|
|
21522
|
+
* @static
|
|
21523
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
21524
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
21525
|
+
*/
|
|
21526
|
+
SourceCode.verify = function verify(message) {
|
|
21527
|
+
if (typeof message !== "object" || message === null)
|
|
21528
|
+
return "object expected";
|
|
21529
|
+
if (message.link != null && message.hasOwnProperty("link"))
|
|
21530
|
+
if (!$util.isString(message.link))
|
|
21531
|
+
return "link: string expected";
|
|
21532
|
+
return null;
|
|
21533
|
+
};
|
|
21534
|
+
|
|
21535
|
+
return SourceCode;
|
|
21536
|
+
})();
|
|
21537
|
+
|
|
21538
|
+
admin.DescriptionEntityList = (function() {
|
|
21539
|
+
|
|
21540
|
+
/**
|
|
21541
|
+
* Properties of a DescriptionEntityList.
|
|
21542
|
+
* @memberof flyteidl.admin
|
|
21543
|
+
* @interface IDescriptionEntityList
|
|
21544
|
+
* @property {Array.<flyteidl.admin.IDescriptionEntity>|null} [descriptionEntities] DescriptionEntityList descriptionEntities
|
|
21545
|
+
* @property {string|null} [token] DescriptionEntityList token
|
|
21546
|
+
*/
|
|
21547
|
+
|
|
21548
|
+
/**
|
|
21549
|
+
* Constructs a new DescriptionEntityList.
|
|
21550
|
+
* @memberof flyteidl.admin
|
|
21551
|
+
* @classdesc Represents a DescriptionEntityList.
|
|
21552
|
+
* @implements IDescriptionEntityList
|
|
21553
|
+
* @constructor
|
|
21554
|
+
* @param {flyteidl.admin.IDescriptionEntityList=} [properties] Properties to set
|
|
21555
|
+
*/
|
|
21556
|
+
function DescriptionEntityList(properties) {
|
|
21557
|
+
this.descriptionEntities = [];
|
|
21558
|
+
if (properties)
|
|
21559
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
21560
|
+
if (properties[keys[i]] != null)
|
|
21561
|
+
this[keys[i]] = properties[keys[i]];
|
|
21562
|
+
}
|
|
21563
|
+
|
|
21564
|
+
/**
|
|
21565
|
+
* DescriptionEntityList descriptionEntities.
|
|
21566
|
+
* @member {Array.<flyteidl.admin.IDescriptionEntity>} descriptionEntities
|
|
21567
|
+
* @memberof flyteidl.admin.DescriptionEntityList
|
|
21568
|
+
* @instance
|
|
21569
|
+
*/
|
|
21570
|
+
DescriptionEntityList.prototype.descriptionEntities = $util.emptyArray;
|
|
21571
|
+
|
|
21572
|
+
/**
|
|
21573
|
+
* DescriptionEntityList token.
|
|
21574
|
+
* @member {string} token
|
|
21575
|
+
* @memberof flyteidl.admin.DescriptionEntityList
|
|
21576
|
+
* @instance
|
|
21577
|
+
*/
|
|
21578
|
+
DescriptionEntityList.prototype.token = "";
|
|
21579
|
+
|
|
21580
|
+
/**
|
|
21581
|
+
* Creates a new DescriptionEntityList instance using the specified properties.
|
|
21582
|
+
* @function create
|
|
21583
|
+
* @memberof flyteidl.admin.DescriptionEntityList
|
|
21584
|
+
* @static
|
|
21585
|
+
* @param {flyteidl.admin.IDescriptionEntityList=} [properties] Properties to set
|
|
21586
|
+
* @returns {flyteidl.admin.DescriptionEntityList} DescriptionEntityList instance
|
|
21587
|
+
*/
|
|
21588
|
+
DescriptionEntityList.create = function create(properties) {
|
|
21589
|
+
return new DescriptionEntityList(properties);
|
|
21590
|
+
};
|
|
21591
|
+
|
|
21592
|
+
/**
|
|
21593
|
+
* Encodes the specified DescriptionEntityList message. Does not implicitly {@link flyteidl.admin.DescriptionEntityList.verify|verify} messages.
|
|
21594
|
+
* @function encode
|
|
21595
|
+
* @memberof flyteidl.admin.DescriptionEntityList
|
|
21596
|
+
* @static
|
|
21597
|
+
* @param {flyteidl.admin.IDescriptionEntityList} message DescriptionEntityList message or plain object to encode
|
|
21598
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
21599
|
+
* @returns {$protobuf.Writer} Writer
|
|
21600
|
+
*/
|
|
21601
|
+
DescriptionEntityList.encode = function encode(message, writer) {
|
|
21602
|
+
if (!writer)
|
|
21603
|
+
writer = $Writer.create();
|
|
21604
|
+
if (message.descriptionEntities != null && message.descriptionEntities.length)
|
|
21605
|
+
for (var i = 0; i < message.descriptionEntities.length; ++i)
|
|
21606
|
+
$root.flyteidl.admin.DescriptionEntity.encode(message.descriptionEntities[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
21607
|
+
if (message.token != null && message.hasOwnProperty("token"))
|
|
21608
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.token);
|
|
21609
|
+
return writer;
|
|
21610
|
+
};
|
|
21611
|
+
|
|
21612
|
+
/**
|
|
21613
|
+
* Decodes a DescriptionEntityList message from the specified reader or buffer.
|
|
21614
|
+
* @function decode
|
|
21615
|
+
* @memberof flyteidl.admin.DescriptionEntityList
|
|
21616
|
+
* @static
|
|
21617
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
21618
|
+
* @param {number} [length] Message length if known beforehand
|
|
21619
|
+
* @returns {flyteidl.admin.DescriptionEntityList} DescriptionEntityList
|
|
21620
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
21621
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
21622
|
+
*/
|
|
21623
|
+
DescriptionEntityList.decode = function decode(reader, length) {
|
|
21624
|
+
if (!(reader instanceof $Reader))
|
|
21625
|
+
reader = $Reader.create(reader);
|
|
21626
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.DescriptionEntityList();
|
|
21627
|
+
while (reader.pos < end) {
|
|
21628
|
+
var tag = reader.uint32();
|
|
21629
|
+
switch (tag >>> 3) {
|
|
21630
|
+
case 1:
|
|
21631
|
+
if (!(message.descriptionEntities && message.descriptionEntities.length))
|
|
21632
|
+
message.descriptionEntities = [];
|
|
21633
|
+
message.descriptionEntities.push($root.flyteidl.admin.DescriptionEntity.decode(reader, reader.uint32()));
|
|
21634
|
+
break;
|
|
21635
|
+
case 2:
|
|
21636
|
+
message.token = reader.string();
|
|
21637
|
+
break;
|
|
21638
|
+
default:
|
|
21639
|
+
reader.skipType(tag & 7);
|
|
21640
|
+
break;
|
|
21641
|
+
}
|
|
21642
|
+
}
|
|
21643
|
+
return message;
|
|
21644
|
+
};
|
|
21645
|
+
|
|
21646
|
+
/**
|
|
21647
|
+
* Verifies a DescriptionEntityList message.
|
|
21648
|
+
* @function verify
|
|
21649
|
+
* @memberof flyteidl.admin.DescriptionEntityList
|
|
21650
|
+
* @static
|
|
21651
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
21652
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
21653
|
+
*/
|
|
21654
|
+
DescriptionEntityList.verify = function verify(message) {
|
|
21655
|
+
if (typeof message !== "object" || message === null)
|
|
21656
|
+
return "object expected";
|
|
21657
|
+
if (message.descriptionEntities != null && message.hasOwnProperty("descriptionEntities")) {
|
|
21658
|
+
if (!Array.isArray(message.descriptionEntities))
|
|
21659
|
+
return "descriptionEntities: array expected";
|
|
21660
|
+
for (var i = 0; i < message.descriptionEntities.length; ++i) {
|
|
21661
|
+
var error = $root.flyteidl.admin.DescriptionEntity.verify(message.descriptionEntities[i]);
|
|
21662
|
+
if (error)
|
|
21663
|
+
return "descriptionEntities." + error;
|
|
21664
|
+
}
|
|
21665
|
+
}
|
|
21666
|
+
if (message.token != null && message.hasOwnProperty("token"))
|
|
21667
|
+
if (!$util.isString(message.token))
|
|
21668
|
+
return "token: string expected";
|
|
21669
|
+
return null;
|
|
21670
|
+
};
|
|
21671
|
+
|
|
21672
|
+
return DescriptionEntityList;
|
|
21673
|
+
})();
|
|
21674
|
+
|
|
21675
|
+
admin.DescriptionEntityListRequest = (function() {
|
|
21676
|
+
|
|
21677
|
+
/**
|
|
21678
|
+
* Properties of a DescriptionEntityListRequest.
|
|
21679
|
+
* @memberof flyteidl.admin
|
|
21680
|
+
* @interface IDescriptionEntityListRequest
|
|
21681
|
+
* @property {flyteidl.core.ResourceType|null} [resourceType] DescriptionEntityListRequest resourceType
|
|
21682
|
+
* @property {flyteidl.admin.INamedEntityIdentifier|null} [id] DescriptionEntityListRequest id
|
|
21683
|
+
* @property {number|null} [limit] DescriptionEntityListRequest limit
|
|
21684
|
+
* @property {string|null} [token] DescriptionEntityListRequest token
|
|
21685
|
+
* @property {string|null} [filters] DescriptionEntityListRequest filters
|
|
21686
|
+
* @property {flyteidl.admin.ISort|null} [sortBy] DescriptionEntityListRequest sortBy
|
|
21687
|
+
*/
|
|
21688
|
+
|
|
21689
|
+
/**
|
|
21690
|
+
* Constructs a new DescriptionEntityListRequest.
|
|
21691
|
+
* @memberof flyteidl.admin
|
|
21692
|
+
* @classdesc Represents a DescriptionEntityListRequest.
|
|
21693
|
+
* @implements IDescriptionEntityListRequest
|
|
21694
|
+
* @constructor
|
|
21695
|
+
* @param {flyteidl.admin.IDescriptionEntityListRequest=} [properties] Properties to set
|
|
21696
|
+
*/
|
|
21697
|
+
function DescriptionEntityListRequest(properties) {
|
|
21698
|
+
if (properties)
|
|
21699
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
21700
|
+
if (properties[keys[i]] != null)
|
|
21701
|
+
this[keys[i]] = properties[keys[i]];
|
|
21702
|
+
}
|
|
21703
|
+
|
|
21704
|
+
/**
|
|
21705
|
+
* DescriptionEntityListRequest resourceType.
|
|
21706
|
+
* @member {flyteidl.core.ResourceType} resourceType
|
|
21707
|
+
* @memberof flyteidl.admin.DescriptionEntityListRequest
|
|
21708
|
+
* @instance
|
|
21709
|
+
*/
|
|
21710
|
+
DescriptionEntityListRequest.prototype.resourceType = 0;
|
|
21711
|
+
|
|
21712
|
+
/**
|
|
21713
|
+
* DescriptionEntityListRequest id.
|
|
21714
|
+
* @member {flyteidl.admin.INamedEntityIdentifier|null|undefined} id
|
|
21715
|
+
* @memberof flyteidl.admin.DescriptionEntityListRequest
|
|
21716
|
+
* @instance
|
|
21717
|
+
*/
|
|
21718
|
+
DescriptionEntityListRequest.prototype.id = null;
|
|
21719
|
+
|
|
21720
|
+
/**
|
|
21721
|
+
* DescriptionEntityListRequest limit.
|
|
21722
|
+
* @member {number} limit
|
|
21723
|
+
* @memberof flyteidl.admin.DescriptionEntityListRequest
|
|
21724
|
+
* @instance
|
|
21725
|
+
*/
|
|
21726
|
+
DescriptionEntityListRequest.prototype.limit = 0;
|
|
21727
|
+
|
|
21728
|
+
/**
|
|
21729
|
+
* DescriptionEntityListRequest token.
|
|
21730
|
+
* @member {string} token
|
|
21731
|
+
* @memberof flyteidl.admin.DescriptionEntityListRequest
|
|
21732
|
+
* @instance
|
|
21733
|
+
*/
|
|
21734
|
+
DescriptionEntityListRequest.prototype.token = "";
|
|
21735
|
+
|
|
21736
|
+
/**
|
|
21737
|
+
* DescriptionEntityListRequest filters.
|
|
21738
|
+
* @member {string} filters
|
|
21739
|
+
* @memberof flyteidl.admin.DescriptionEntityListRequest
|
|
21740
|
+
* @instance
|
|
21741
|
+
*/
|
|
21742
|
+
DescriptionEntityListRequest.prototype.filters = "";
|
|
21743
|
+
|
|
21744
|
+
/**
|
|
21745
|
+
* DescriptionEntityListRequest sortBy.
|
|
21746
|
+
* @member {flyteidl.admin.ISort|null|undefined} sortBy
|
|
21747
|
+
* @memberof flyteidl.admin.DescriptionEntityListRequest
|
|
21748
|
+
* @instance
|
|
21749
|
+
*/
|
|
21750
|
+
DescriptionEntityListRequest.prototype.sortBy = null;
|
|
21751
|
+
|
|
21752
|
+
/**
|
|
21753
|
+
* Creates a new DescriptionEntityListRequest instance using the specified properties.
|
|
21754
|
+
* @function create
|
|
21755
|
+
* @memberof flyteidl.admin.DescriptionEntityListRequest
|
|
21756
|
+
* @static
|
|
21757
|
+
* @param {flyteidl.admin.IDescriptionEntityListRequest=} [properties] Properties to set
|
|
21758
|
+
* @returns {flyteidl.admin.DescriptionEntityListRequest} DescriptionEntityListRequest instance
|
|
21759
|
+
*/
|
|
21760
|
+
DescriptionEntityListRequest.create = function create(properties) {
|
|
21761
|
+
return new DescriptionEntityListRequest(properties);
|
|
21762
|
+
};
|
|
21763
|
+
|
|
21764
|
+
/**
|
|
21765
|
+
* Encodes the specified DescriptionEntityListRequest message. Does not implicitly {@link flyteidl.admin.DescriptionEntityListRequest.verify|verify} messages.
|
|
21766
|
+
* @function encode
|
|
21767
|
+
* @memberof flyteidl.admin.DescriptionEntityListRequest
|
|
21768
|
+
* @static
|
|
21769
|
+
* @param {flyteidl.admin.IDescriptionEntityListRequest} message DescriptionEntityListRequest message or plain object to encode
|
|
21770
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
21771
|
+
* @returns {$protobuf.Writer} Writer
|
|
21772
|
+
*/
|
|
21773
|
+
DescriptionEntityListRequest.encode = function encode(message, writer) {
|
|
21774
|
+
if (!writer)
|
|
21775
|
+
writer = $Writer.create();
|
|
21776
|
+
if (message.resourceType != null && message.hasOwnProperty("resourceType"))
|
|
21777
|
+
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.resourceType);
|
|
21778
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
21779
|
+
$root.flyteidl.admin.NamedEntityIdentifier.encode(message.id, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
21780
|
+
if (message.limit != null && message.hasOwnProperty("limit"))
|
|
21781
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.limit);
|
|
21782
|
+
if (message.token != null && message.hasOwnProperty("token"))
|
|
21783
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.token);
|
|
21784
|
+
if (message.filters != null && message.hasOwnProperty("filters"))
|
|
21785
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.filters);
|
|
21786
|
+
if (message.sortBy != null && message.hasOwnProperty("sortBy"))
|
|
21787
|
+
$root.flyteidl.admin.Sort.encode(message.sortBy, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
21788
|
+
return writer;
|
|
21789
|
+
};
|
|
21790
|
+
|
|
21791
|
+
/**
|
|
21792
|
+
* Decodes a DescriptionEntityListRequest message from the specified reader or buffer.
|
|
21793
|
+
* @function decode
|
|
21794
|
+
* @memberof flyteidl.admin.DescriptionEntityListRequest
|
|
21795
|
+
* @static
|
|
21796
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
21797
|
+
* @param {number} [length] Message length if known beforehand
|
|
21798
|
+
* @returns {flyteidl.admin.DescriptionEntityListRequest} DescriptionEntityListRequest
|
|
21799
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
21800
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
21801
|
+
*/
|
|
21802
|
+
DescriptionEntityListRequest.decode = function decode(reader, length) {
|
|
21803
|
+
if (!(reader instanceof $Reader))
|
|
21804
|
+
reader = $Reader.create(reader);
|
|
21805
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.DescriptionEntityListRequest();
|
|
21806
|
+
while (reader.pos < end) {
|
|
21807
|
+
var tag = reader.uint32();
|
|
21808
|
+
switch (tag >>> 3) {
|
|
21809
|
+
case 1:
|
|
21810
|
+
message.resourceType = reader.int32();
|
|
21811
|
+
break;
|
|
21812
|
+
case 2:
|
|
21813
|
+
message.id = $root.flyteidl.admin.NamedEntityIdentifier.decode(reader, reader.uint32());
|
|
21814
|
+
break;
|
|
21815
|
+
case 3:
|
|
21816
|
+
message.limit = reader.uint32();
|
|
21817
|
+
break;
|
|
21818
|
+
case 4:
|
|
21819
|
+
message.token = reader.string();
|
|
21820
|
+
break;
|
|
21821
|
+
case 5:
|
|
21822
|
+
message.filters = reader.string();
|
|
21823
|
+
break;
|
|
21824
|
+
case 6:
|
|
21825
|
+
message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32());
|
|
21826
|
+
break;
|
|
21827
|
+
default:
|
|
21828
|
+
reader.skipType(tag & 7);
|
|
21829
|
+
break;
|
|
21830
|
+
}
|
|
21831
|
+
}
|
|
21832
|
+
return message;
|
|
21833
|
+
};
|
|
21834
|
+
|
|
21835
|
+
/**
|
|
21836
|
+
* Verifies a DescriptionEntityListRequest message.
|
|
21837
|
+
* @function verify
|
|
21838
|
+
* @memberof flyteidl.admin.DescriptionEntityListRequest
|
|
21839
|
+
* @static
|
|
21840
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
21841
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
21842
|
+
*/
|
|
21843
|
+
DescriptionEntityListRequest.verify = function verify(message) {
|
|
21844
|
+
if (typeof message !== "object" || message === null)
|
|
21845
|
+
return "object expected";
|
|
21846
|
+
if (message.resourceType != null && message.hasOwnProperty("resourceType"))
|
|
21847
|
+
switch (message.resourceType) {
|
|
21848
|
+
default:
|
|
21849
|
+
return "resourceType: enum value expected";
|
|
21850
|
+
case 0:
|
|
21851
|
+
case 1:
|
|
21852
|
+
case 2:
|
|
21853
|
+
case 3:
|
|
21854
|
+
case 4:
|
|
21855
|
+
break;
|
|
21856
|
+
}
|
|
21857
|
+
if (message.id != null && message.hasOwnProperty("id")) {
|
|
21858
|
+
var error = $root.flyteidl.admin.NamedEntityIdentifier.verify(message.id);
|
|
21859
|
+
if (error)
|
|
21860
|
+
return "id." + error;
|
|
21861
|
+
}
|
|
21862
|
+
if (message.limit != null && message.hasOwnProperty("limit"))
|
|
21863
|
+
if (!$util.isInteger(message.limit))
|
|
21864
|
+
return "limit: integer expected";
|
|
21865
|
+
if (message.token != null && message.hasOwnProperty("token"))
|
|
21866
|
+
if (!$util.isString(message.token))
|
|
21867
|
+
return "token: string expected";
|
|
21868
|
+
if (message.filters != null && message.hasOwnProperty("filters"))
|
|
21869
|
+
if (!$util.isString(message.filters))
|
|
21870
|
+
return "filters: string expected";
|
|
21871
|
+
if (message.sortBy != null && message.hasOwnProperty("sortBy")) {
|
|
21872
|
+
var error = $root.flyteidl.admin.Sort.verify(message.sortBy);
|
|
21873
|
+
if (error)
|
|
21874
|
+
return "sortBy." + error;
|
|
21875
|
+
}
|
|
21876
|
+
return null;
|
|
21877
|
+
};
|
|
21878
|
+
|
|
21879
|
+
return DescriptionEntityListRequest;
|
|
21880
|
+
})();
|
|
21881
|
+
|
|
21025
21882
|
admin.EventErrorAlreadyInTerminalState = (function() {
|
|
21026
21883
|
|
|
21027
21884
|
/**
|
|
@@ -22252,6 +23109,7 @@
|
|
|
22252
23109
|
* @interface IExecutionRelaunchRequest
|
|
22253
23110
|
* @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] ExecutionRelaunchRequest id
|
|
22254
23111
|
* @property {string|null} [name] ExecutionRelaunchRequest name
|
|
23112
|
+
* @property {boolean|null} [overwriteCache] ExecutionRelaunchRequest overwriteCache
|
|
22255
23113
|
*/
|
|
22256
23114
|
|
|
22257
23115
|
/**
|
|
@@ -22285,6 +23143,14 @@
|
|
|
22285
23143
|
*/
|
|
22286
23144
|
ExecutionRelaunchRequest.prototype.name = "";
|
|
22287
23145
|
|
|
23146
|
+
/**
|
|
23147
|
+
* ExecutionRelaunchRequest overwriteCache.
|
|
23148
|
+
* @member {boolean} overwriteCache
|
|
23149
|
+
* @memberof flyteidl.admin.ExecutionRelaunchRequest
|
|
23150
|
+
* @instance
|
|
23151
|
+
*/
|
|
23152
|
+
ExecutionRelaunchRequest.prototype.overwriteCache = false;
|
|
23153
|
+
|
|
22288
23154
|
/**
|
|
22289
23155
|
* Creates a new ExecutionRelaunchRequest instance using the specified properties.
|
|
22290
23156
|
* @function create
|
|
@@ -22313,6 +23179,8 @@
|
|
|
22313
23179
|
$root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
22314
23180
|
if (message.name != null && message.hasOwnProperty("name"))
|
|
22315
23181
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.name);
|
|
23182
|
+
if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache"))
|
|
23183
|
+
writer.uint32(/* id 4, wireType 0 =*/32).bool(message.overwriteCache);
|
|
22316
23184
|
return writer;
|
|
22317
23185
|
};
|
|
22318
23186
|
|
|
@@ -22340,6 +23208,9 @@
|
|
|
22340
23208
|
case 3:
|
|
22341
23209
|
message.name = reader.string();
|
|
22342
23210
|
break;
|
|
23211
|
+
case 4:
|
|
23212
|
+
message.overwriteCache = reader.bool();
|
|
23213
|
+
break;
|
|
22343
23214
|
default:
|
|
22344
23215
|
reader.skipType(tag & 7);
|
|
22345
23216
|
break;
|
|
@@ -22367,6 +23238,9 @@
|
|
|
22367
23238
|
if (message.name != null && message.hasOwnProperty("name"))
|
|
22368
23239
|
if (!$util.isString(message.name))
|
|
22369
23240
|
return "name: string expected";
|
|
23241
|
+
if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache"))
|
|
23242
|
+
if (typeof message.overwriteCache !== "boolean")
|
|
23243
|
+
return "overwriteCache: boolean expected";
|
|
22370
23244
|
return null;
|
|
22371
23245
|
};
|
|
22372
23246
|
|
|
@@ -24224,6 +25098,7 @@
|
|
|
24224
25098
|
* @property {flyteidl.admin.IRawOutputDataConfig|null} [rawOutputDataConfig] ExecutionSpec rawOutputDataConfig
|
|
24225
25099
|
* @property {flyteidl.admin.IClusterAssignment|null} [clusterAssignment] ExecutionSpec clusterAssignment
|
|
24226
25100
|
* @property {google.protobuf.IBoolValue|null} [interruptible] ExecutionSpec interruptible
|
|
25101
|
+
* @property {boolean|null} [overwriteCache] ExecutionSpec overwriteCache
|
|
24227
25102
|
*/
|
|
24228
25103
|
|
|
24229
25104
|
/**
|
|
@@ -24353,6 +25228,14 @@
|
|
|
24353
25228
|
*/
|
|
24354
25229
|
ExecutionSpec.prototype.interruptible = null;
|
|
24355
25230
|
|
|
25231
|
+
/**
|
|
25232
|
+
* ExecutionSpec overwriteCache.
|
|
25233
|
+
* @member {boolean} overwriteCache
|
|
25234
|
+
* @memberof flyteidl.admin.ExecutionSpec
|
|
25235
|
+
* @instance
|
|
25236
|
+
*/
|
|
25237
|
+
ExecutionSpec.prototype.overwriteCache = false;
|
|
25238
|
+
|
|
24356
25239
|
// OneOf field names bound to virtual getters and setters
|
|
24357
25240
|
var $oneOfFields;
|
|
24358
25241
|
|
|
@@ -24419,6 +25302,8 @@
|
|
|
24419
25302
|
$root.flyteidl.admin.ClusterAssignment.encode(message.clusterAssignment, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
|
|
24420
25303
|
if (message.interruptible != null && message.hasOwnProperty("interruptible"))
|
|
24421
25304
|
$root.google.protobuf.BoolValue.encode(message.interruptible, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
|
|
25305
|
+
if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache"))
|
|
25306
|
+
writer.uint32(/* id 22, wireType 0 =*/176).bool(message.overwriteCache);
|
|
24422
25307
|
return writer;
|
|
24423
25308
|
};
|
|
24424
25309
|
|
|
@@ -24482,6 +25367,9 @@
|
|
|
24482
25367
|
case 21:
|
|
24483
25368
|
message.interruptible = $root.google.protobuf.BoolValue.decode(reader, reader.uint32());
|
|
24484
25369
|
break;
|
|
25370
|
+
case 22:
|
|
25371
|
+
message.overwriteCache = reader.bool();
|
|
25372
|
+
break;
|
|
24485
25373
|
default:
|
|
24486
25374
|
reader.skipType(tag & 7);
|
|
24487
25375
|
break;
|
|
@@ -24575,6 +25463,9 @@
|
|
|
24575
25463
|
if (error)
|
|
24576
25464
|
return "interruptible." + error;
|
|
24577
25465
|
}
|
|
25466
|
+
if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache"))
|
|
25467
|
+
if (typeof message.overwriteCache !== "boolean")
|
|
25468
|
+
return "overwriteCache: boolean expected";
|
|
24578
25469
|
return null;
|
|
24579
25470
|
};
|
|
24580
25471
|
|
|
@@ -26148,6 +27039,7 @@
|
|
|
26148
27039
|
* @property {flyteidl.admin.IRawOutputDataConfig|null} [rawOutputDataConfig] LaunchPlanSpec rawOutputDataConfig
|
|
26149
27040
|
* @property {number|null} [maxParallelism] LaunchPlanSpec maxParallelism
|
|
26150
27041
|
* @property {google.protobuf.IBoolValue|null} [interruptible] LaunchPlanSpec interruptible
|
|
27042
|
+
* @property {boolean|null} [overwriteCache] LaunchPlanSpec overwriteCache
|
|
26151
27043
|
*/
|
|
26152
27044
|
|
|
26153
27045
|
/**
|
|
@@ -26277,6 +27169,14 @@
|
|
|
26277
27169
|
*/
|
|
26278
27170
|
LaunchPlanSpec.prototype.interruptible = null;
|
|
26279
27171
|
|
|
27172
|
+
/**
|
|
27173
|
+
* LaunchPlanSpec overwriteCache.
|
|
27174
|
+
* @member {boolean} overwriteCache
|
|
27175
|
+
* @memberof flyteidl.admin.LaunchPlanSpec
|
|
27176
|
+
* @instance
|
|
27177
|
+
*/
|
|
27178
|
+
LaunchPlanSpec.prototype.overwriteCache = false;
|
|
27179
|
+
|
|
26280
27180
|
/**
|
|
26281
27181
|
* Creates a new LaunchPlanSpec instance using the specified properties.
|
|
26282
27182
|
* @function create
|
|
@@ -26329,6 +27229,8 @@
|
|
|
26329
27229
|
writer.uint32(/* id 18, wireType 0 =*/144).int32(message.maxParallelism);
|
|
26330
27230
|
if (message.interruptible != null && message.hasOwnProperty("interruptible"))
|
|
26331
27231
|
$root.google.protobuf.BoolValue.encode(message.interruptible, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
|
|
27232
|
+
if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache"))
|
|
27233
|
+
writer.uint32(/* id 20, wireType 0 =*/160).bool(message.overwriteCache);
|
|
26332
27234
|
return writer;
|
|
26333
27235
|
};
|
|
26334
27236
|
|
|
@@ -26392,6 +27294,9 @@
|
|
|
26392
27294
|
case 19:
|
|
26393
27295
|
message.interruptible = $root.google.protobuf.BoolValue.decode(reader, reader.uint32());
|
|
26394
27296
|
break;
|
|
27297
|
+
case 20:
|
|
27298
|
+
message.overwriteCache = reader.bool();
|
|
27299
|
+
break;
|
|
26395
27300
|
default:
|
|
26396
27301
|
reader.skipType(tag & 7);
|
|
26397
27302
|
break;
|
|
@@ -26477,6 +27382,9 @@
|
|
|
26477
27382
|
if (error)
|
|
26478
27383
|
return "interruptible." + error;
|
|
26479
27384
|
}
|
|
27385
|
+
if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache"))
|
|
27386
|
+
if (typeof message.overwriteCache !== "boolean")
|
|
27387
|
+
return "overwriteCache: boolean expected";
|
|
26480
27388
|
return null;
|
|
26481
27389
|
};
|
|
26482
27390
|
|
|
@@ -28788,6 +29696,7 @@
|
|
|
28788
29696
|
* @property {flyteidl.admin.ILabels|null} [labels] WorkflowExecutionConfig labels
|
|
28789
29697
|
* @property {flyteidl.admin.IAnnotations|null} [annotations] WorkflowExecutionConfig annotations
|
|
28790
29698
|
* @property {google.protobuf.IBoolValue|null} [interruptible] WorkflowExecutionConfig interruptible
|
|
29699
|
+
* @property {boolean|null} [overwriteCache] WorkflowExecutionConfig overwriteCache
|
|
28791
29700
|
*/
|
|
28792
29701
|
|
|
28793
29702
|
/**
|
|
@@ -28853,6 +29762,14 @@
|
|
|
28853
29762
|
*/
|
|
28854
29763
|
WorkflowExecutionConfig.prototype.interruptible = null;
|
|
28855
29764
|
|
|
29765
|
+
/**
|
|
29766
|
+
* WorkflowExecutionConfig overwriteCache.
|
|
29767
|
+
* @member {boolean} overwriteCache
|
|
29768
|
+
* @memberof flyteidl.admin.WorkflowExecutionConfig
|
|
29769
|
+
* @instance
|
|
29770
|
+
*/
|
|
29771
|
+
WorkflowExecutionConfig.prototype.overwriteCache = false;
|
|
29772
|
+
|
|
28856
29773
|
/**
|
|
28857
29774
|
* Creates a new WorkflowExecutionConfig instance using the specified properties.
|
|
28858
29775
|
* @function create
|
|
@@ -28889,6 +29806,8 @@
|
|
|
28889
29806
|
$root.flyteidl.admin.Annotations.encode(message.annotations, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
28890
29807
|
if (message.interruptible != null && message.hasOwnProperty("interruptible"))
|
|
28891
29808
|
$root.google.protobuf.BoolValue.encode(message.interruptible, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
29809
|
+
if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache"))
|
|
29810
|
+
writer.uint32(/* id 7, wireType 0 =*/56).bool(message.overwriteCache);
|
|
28892
29811
|
return writer;
|
|
28893
29812
|
};
|
|
28894
29813
|
|
|
@@ -28928,6 +29847,9 @@
|
|
|
28928
29847
|
case 6:
|
|
28929
29848
|
message.interruptible = $root.google.protobuf.BoolValue.decode(reader, reader.uint32());
|
|
28930
29849
|
break;
|
|
29850
|
+
case 7:
|
|
29851
|
+
message.overwriteCache = reader.bool();
|
|
29852
|
+
break;
|
|
28931
29853
|
default:
|
|
28932
29854
|
reader.skipType(tag & 7);
|
|
28933
29855
|
break;
|
|
@@ -28975,6 +29897,9 @@
|
|
|
28975
29897
|
if (error)
|
|
28976
29898
|
return "interruptible." + error;
|
|
28977
29899
|
}
|
|
29900
|
+
if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache"))
|
|
29901
|
+
if (typeof message.overwriteCache !== "boolean")
|
|
29902
|
+
return "overwriteCache: boolean expected";
|
|
28978
29903
|
return null;
|
|
28979
29904
|
};
|
|
28980
29905
|
|
|
@@ -31265,6 +32190,7 @@
|
|
|
31265
32190
|
case 3:
|
|
31266
32191
|
case 4:
|
|
31267
32192
|
case 5:
|
|
32193
|
+
case 6:
|
|
31268
32194
|
break;
|
|
31269
32195
|
}
|
|
31270
32196
|
if (message.catalogKey != null && message.hasOwnProperty("catalogKey")) {
|
|
@@ -35572,6 +36498,7 @@
|
|
|
35572
36498
|
* @interface ITask
|
|
35573
36499
|
* @property {flyteidl.core.IIdentifier|null} [id] Task id
|
|
35574
36500
|
* @property {flyteidl.admin.ITaskClosure|null} [closure] Task closure
|
|
36501
|
+
* @property {string|null} [shortDescription] Task shortDescription
|
|
35575
36502
|
*/
|
|
35576
36503
|
|
|
35577
36504
|
/**
|
|
@@ -35605,6 +36532,14 @@
|
|
|
35605
36532
|
*/
|
|
35606
36533
|
Task.prototype.closure = null;
|
|
35607
36534
|
|
|
36535
|
+
/**
|
|
36536
|
+
* Task shortDescription.
|
|
36537
|
+
* @member {string} shortDescription
|
|
36538
|
+
* @memberof flyteidl.admin.Task
|
|
36539
|
+
* @instance
|
|
36540
|
+
*/
|
|
36541
|
+
Task.prototype.shortDescription = "";
|
|
36542
|
+
|
|
35608
36543
|
/**
|
|
35609
36544
|
* Creates a new Task instance using the specified properties.
|
|
35610
36545
|
* @function create
|
|
@@ -35633,6 +36568,8 @@
|
|
|
35633
36568
|
$root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
35634
36569
|
if (message.closure != null && message.hasOwnProperty("closure"))
|
|
35635
36570
|
$root.flyteidl.admin.TaskClosure.encode(message.closure, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
36571
|
+
if (message.shortDescription != null && message.hasOwnProperty("shortDescription"))
|
|
36572
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.shortDescription);
|
|
35636
36573
|
return writer;
|
|
35637
36574
|
};
|
|
35638
36575
|
|
|
@@ -35660,6 +36597,9 @@
|
|
|
35660
36597
|
case 2:
|
|
35661
36598
|
message.closure = $root.flyteidl.admin.TaskClosure.decode(reader, reader.uint32());
|
|
35662
36599
|
break;
|
|
36600
|
+
case 3:
|
|
36601
|
+
message.shortDescription = reader.string();
|
|
36602
|
+
break;
|
|
35663
36603
|
default:
|
|
35664
36604
|
reader.skipType(tag & 7);
|
|
35665
36605
|
break;
|
|
@@ -35689,6 +36629,9 @@
|
|
|
35689
36629
|
if (error)
|
|
35690
36630
|
return "closure." + error;
|
|
35691
36631
|
}
|
|
36632
|
+
if (message.shortDescription != null && message.hasOwnProperty("shortDescription"))
|
|
36633
|
+
if (!$util.isString(message.shortDescription))
|
|
36634
|
+
return "shortDescription: string expected";
|
|
35692
36635
|
return null;
|
|
35693
36636
|
};
|
|
35694
36637
|
|
|
@@ -35839,6 +36782,7 @@
|
|
|
35839
36782
|
* @memberof flyteidl.admin
|
|
35840
36783
|
* @interface ITaskSpec
|
|
35841
36784
|
* @property {flyteidl.core.ITaskTemplate|null} [template] TaskSpec template
|
|
36785
|
+
* @property {flyteidl.admin.IDescriptionEntity|null} [description] TaskSpec description
|
|
35842
36786
|
*/
|
|
35843
36787
|
|
|
35844
36788
|
/**
|
|
@@ -35864,6 +36808,14 @@
|
|
|
35864
36808
|
*/
|
|
35865
36809
|
TaskSpec.prototype.template = null;
|
|
35866
36810
|
|
|
36811
|
+
/**
|
|
36812
|
+
* TaskSpec description.
|
|
36813
|
+
* @member {flyteidl.admin.IDescriptionEntity|null|undefined} description
|
|
36814
|
+
* @memberof flyteidl.admin.TaskSpec
|
|
36815
|
+
* @instance
|
|
36816
|
+
*/
|
|
36817
|
+
TaskSpec.prototype.description = null;
|
|
36818
|
+
|
|
35867
36819
|
/**
|
|
35868
36820
|
* Creates a new TaskSpec instance using the specified properties.
|
|
35869
36821
|
* @function create
|
|
@@ -35890,6 +36842,8 @@
|
|
|
35890
36842
|
writer = $Writer.create();
|
|
35891
36843
|
if (message.template != null && message.hasOwnProperty("template"))
|
|
35892
36844
|
$root.flyteidl.core.TaskTemplate.encode(message.template, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
36845
|
+
if (message.description != null && message.hasOwnProperty("description"))
|
|
36846
|
+
$root.flyteidl.admin.DescriptionEntity.encode(message.description, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
35893
36847
|
return writer;
|
|
35894
36848
|
};
|
|
35895
36849
|
|
|
@@ -35914,6 +36868,9 @@
|
|
|
35914
36868
|
case 1:
|
|
35915
36869
|
message.template = $root.flyteidl.core.TaskTemplate.decode(reader, reader.uint32());
|
|
35916
36870
|
break;
|
|
36871
|
+
case 2:
|
|
36872
|
+
message.description = $root.flyteidl.admin.DescriptionEntity.decode(reader, reader.uint32());
|
|
36873
|
+
break;
|
|
35917
36874
|
default:
|
|
35918
36875
|
reader.skipType(tag & 7);
|
|
35919
36876
|
break;
|
|
@@ -35938,6 +36895,11 @@
|
|
|
35938
36895
|
if (error)
|
|
35939
36896
|
return "template." + error;
|
|
35940
36897
|
}
|
|
36898
|
+
if (message.description != null && message.hasOwnProperty("description")) {
|
|
36899
|
+
var error = $root.flyteidl.admin.DescriptionEntity.verify(message.description);
|
|
36900
|
+
if (error)
|
|
36901
|
+
return "description." + error;
|
|
36902
|
+
}
|
|
35941
36903
|
return null;
|
|
35942
36904
|
};
|
|
35943
36905
|
|
|
@@ -37928,6 +38890,7 @@
|
|
|
37928
38890
|
* @interface IWorkflow
|
|
37929
38891
|
* @property {flyteidl.core.IIdentifier|null} [id] Workflow id
|
|
37930
38892
|
* @property {flyteidl.admin.IWorkflowClosure|null} [closure] Workflow closure
|
|
38893
|
+
* @property {string|null} [shortDescription] Workflow shortDescription
|
|
37931
38894
|
*/
|
|
37932
38895
|
|
|
37933
38896
|
/**
|
|
@@ -37961,6 +38924,14 @@
|
|
|
37961
38924
|
*/
|
|
37962
38925
|
Workflow.prototype.closure = null;
|
|
37963
38926
|
|
|
38927
|
+
/**
|
|
38928
|
+
* Workflow shortDescription.
|
|
38929
|
+
* @member {string} shortDescription
|
|
38930
|
+
* @memberof flyteidl.admin.Workflow
|
|
38931
|
+
* @instance
|
|
38932
|
+
*/
|
|
38933
|
+
Workflow.prototype.shortDescription = "";
|
|
38934
|
+
|
|
37964
38935
|
/**
|
|
37965
38936
|
* Creates a new Workflow instance using the specified properties.
|
|
37966
38937
|
* @function create
|
|
@@ -37989,6 +38960,8 @@
|
|
|
37989
38960
|
$root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
37990
38961
|
if (message.closure != null && message.hasOwnProperty("closure"))
|
|
37991
38962
|
$root.flyteidl.admin.WorkflowClosure.encode(message.closure, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
38963
|
+
if (message.shortDescription != null && message.hasOwnProperty("shortDescription"))
|
|
38964
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.shortDescription);
|
|
37992
38965
|
return writer;
|
|
37993
38966
|
};
|
|
37994
38967
|
|
|
@@ -38016,6 +38989,9 @@
|
|
|
38016
38989
|
case 2:
|
|
38017
38990
|
message.closure = $root.flyteidl.admin.WorkflowClosure.decode(reader, reader.uint32());
|
|
38018
38991
|
break;
|
|
38992
|
+
case 3:
|
|
38993
|
+
message.shortDescription = reader.string();
|
|
38994
|
+
break;
|
|
38019
38995
|
default:
|
|
38020
38996
|
reader.skipType(tag & 7);
|
|
38021
38997
|
break;
|
|
@@ -38045,6 +39021,9 @@
|
|
|
38045
39021
|
if (error)
|
|
38046
39022
|
return "closure." + error;
|
|
38047
39023
|
}
|
|
39024
|
+
if (message.shortDescription != null && message.hasOwnProperty("shortDescription"))
|
|
39025
|
+
if (!$util.isString(message.shortDescription))
|
|
39026
|
+
return "shortDescription: string expected";
|
|
38048
39027
|
return null;
|
|
38049
39028
|
};
|
|
38050
39029
|
|
|
@@ -38196,6 +39175,7 @@
|
|
|
38196
39175
|
* @interface IWorkflowSpec
|
|
38197
39176
|
* @property {flyteidl.core.IWorkflowTemplate|null} [template] WorkflowSpec template
|
|
38198
39177
|
* @property {Array.<flyteidl.core.IWorkflowTemplate>|null} [subWorkflows] WorkflowSpec subWorkflows
|
|
39178
|
+
* @property {flyteidl.admin.IDescriptionEntity|null} [description] WorkflowSpec description
|
|
38199
39179
|
*/
|
|
38200
39180
|
|
|
38201
39181
|
/**
|
|
@@ -38230,6 +39210,14 @@
|
|
|
38230
39210
|
*/
|
|
38231
39211
|
WorkflowSpec.prototype.subWorkflows = $util.emptyArray;
|
|
38232
39212
|
|
|
39213
|
+
/**
|
|
39214
|
+
* WorkflowSpec description.
|
|
39215
|
+
* @member {flyteidl.admin.IDescriptionEntity|null|undefined} description
|
|
39216
|
+
* @memberof flyteidl.admin.WorkflowSpec
|
|
39217
|
+
* @instance
|
|
39218
|
+
*/
|
|
39219
|
+
WorkflowSpec.prototype.description = null;
|
|
39220
|
+
|
|
38233
39221
|
/**
|
|
38234
39222
|
* Creates a new WorkflowSpec instance using the specified properties.
|
|
38235
39223
|
* @function create
|
|
@@ -38259,6 +39247,8 @@
|
|
|
38259
39247
|
if (message.subWorkflows != null && message.subWorkflows.length)
|
|
38260
39248
|
for (var i = 0; i < message.subWorkflows.length; ++i)
|
|
38261
39249
|
$root.flyteidl.core.WorkflowTemplate.encode(message.subWorkflows[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
39250
|
+
if (message.description != null && message.hasOwnProperty("description"))
|
|
39251
|
+
$root.flyteidl.admin.DescriptionEntity.encode(message.description, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
38262
39252
|
return writer;
|
|
38263
39253
|
};
|
|
38264
39254
|
|
|
@@ -38288,6 +39278,9 @@
|
|
|
38288
39278
|
message.subWorkflows = [];
|
|
38289
39279
|
message.subWorkflows.push($root.flyteidl.core.WorkflowTemplate.decode(reader, reader.uint32()));
|
|
38290
39280
|
break;
|
|
39281
|
+
case 3:
|
|
39282
|
+
message.description = $root.flyteidl.admin.DescriptionEntity.decode(reader, reader.uint32());
|
|
39283
|
+
break;
|
|
38291
39284
|
default:
|
|
38292
39285
|
reader.skipType(tag & 7);
|
|
38293
39286
|
break;
|
|
@@ -38321,6 +39314,11 @@
|
|
|
38321
39314
|
return "subWorkflows." + error;
|
|
38322
39315
|
}
|
|
38323
39316
|
}
|
|
39317
|
+
if (message.description != null && message.hasOwnProperty("description")) {
|
|
39318
|
+
var error = $root.flyteidl.admin.DescriptionEntity.verify(message.description);
|
|
39319
|
+
if (error)
|
|
39320
|
+
return "description." + error;
|
|
39321
|
+
}
|
|
38324
39322
|
return null;
|
|
38325
39323
|
};
|
|
38326
39324
|
|
|
@@ -41447,6 +42445,72 @@
|
|
|
41447
42445
|
* @variation 2
|
|
41448
42446
|
*/
|
|
41449
42447
|
|
|
42448
|
+
/**
|
|
42449
|
+
* Callback as used by {@link flyteidl.service.AdminService#getDescriptionEntity}.
|
|
42450
|
+
* @memberof flyteidl.service.AdminService
|
|
42451
|
+
* @typedef GetDescriptionEntityCallback
|
|
42452
|
+
* @type {function}
|
|
42453
|
+
* @param {Error|null} error Error, if any
|
|
42454
|
+
* @param {flyteidl.admin.DescriptionEntity} [response] DescriptionEntity
|
|
42455
|
+
*/
|
|
42456
|
+
|
|
42457
|
+
/**
|
|
42458
|
+
* Calls GetDescriptionEntity.
|
|
42459
|
+
* @function getDescriptionEntity
|
|
42460
|
+
* @memberof flyteidl.service.AdminService
|
|
42461
|
+
* @instance
|
|
42462
|
+
* @param {flyteidl.admin.IObjectGetRequest} request ObjectGetRequest message or plain object
|
|
42463
|
+
* @param {flyteidl.service.AdminService.GetDescriptionEntityCallback} callback Node-style callback called with the error, if any, and DescriptionEntity
|
|
42464
|
+
* @returns {undefined}
|
|
42465
|
+
* @variation 1
|
|
42466
|
+
*/
|
|
42467
|
+
Object.defineProperty(AdminService.prototype.getDescriptionEntity = function getDescriptionEntity(request, callback) {
|
|
42468
|
+
return this.rpcCall(getDescriptionEntity, $root.flyteidl.admin.ObjectGetRequest, $root.flyteidl.admin.DescriptionEntity, request, callback);
|
|
42469
|
+
}, "name", { value: "GetDescriptionEntity" });
|
|
42470
|
+
|
|
42471
|
+
/**
|
|
42472
|
+
* Calls GetDescriptionEntity.
|
|
42473
|
+
* @function getDescriptionEntity
|
|
42474
|
+
* @memberof flyteidl.service.AdminService
|
|
42475
|
+
* @instance
|
|
42476
|
+
* @param {flyteidl.admin.IObjectGetRequest} request ObjectGetRequest message or plain object
|
|
42477
|
+
* @returns {Promise<flyteidl.admin.DescriptionEntity>} Promise
|
|
42478
|
+
* @variation 2
|
|
42479
|
+
*/
|
|
42480
|
+
|
|
42481
|
+
/**
|
|
42482
|
+
* Callback as used by {@link flyteidl.service.AdminService#listDescriptionEntities}.
|
|
42483
|
+
* @memberof flyteidl.service.AdminService
|
|
42484
|
+
* @typedef ListDescriptionEntitiesCallback
|
|
42485
|
+
* @type {function}
|
|
42486
|
+
* @param {Error|null} error Error, if any
|
|
42487
|
+
* @param {flyteidl.admin.DescriptionEntityList} [response] DescriptionEntityList
|
|
42488
|
+
*/
|
|
42489
|
+
|
|
42490
|
+
/**
|
|
42491
|
+
* Calls ListDescriptionEntities.
|
|
42492
|
+
* @function listDescriptionEntities
|
|
42493
|
+
* @memberof flyteidl.service.AdminService
|
|
42494
|
+
* @instance
|
|
42495
|
+
* @param {flyteidl.admin.IDescriptionEntityListRequest} request DescriptionEntityListRequest message or plain object
|
|
42496
|
+
* @param {flyteidl.service.AdminService.ListDescriptionEntitiesCallback} callback Node-style callback called with the error, if any, and DescriptionEntityList
|
|
42497
|
+
* @returns {undefined}
|
|
42498
|
+
* @variation 1
|
|
42499
|
+
*/
|
|
42500
|
+
Object.defineProperty(AdminService.prototype.listDescriptionEntities = function listDescriptionEntities(request, callback) {
|
|
42501
|
+
return this.rpcCall(listDescriptionEntities, $root.flyteidl.admin.DescriptionEntityListRequest, $root.flyteidl.admin.DescriptionEntityList, request, callback);
|
|
42502
|
+
}, "name", { value: "ListDescriptionEntities" });
|
|
42503
|
+
|
|
42504
|
+
/**
|
|
42505
|
+
* Calls ListDescriptionEntities.
|
|
42506
|
+
* @function listDescriptionEntities
|
|
42507
|
+
* @memberof flyteidl.service.AdminService
|
|
42508
|
+
* @instance
|
|
42509
|
+
* @param {flyteidl.admin.IDescriptionEntityListRequest} request DescriptionEntityListRequest message or plain object
|
|
42510
|
+
* @returns {Promise<flyteidl.admin.DescriptionEntityList>} Promise
|
|
42511
|
+
* @variation 2
|
|
42512
|
+
*/
|
|
42513
|
+
|
|
41450
42514
|
return AdminService;
|
|
41451
42515
|
})();
|
|
41452
42516
|
|