@flyteorg/flyteidl 1.2.3 → 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.
@@ -21026,6 +21026,859 @@
21026
21026
  return RawOutputDataConfig;
21027
21027
  })();
21028
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
+
21029
21882
  admin.EventErrorAlreadyInTerminalState = (function() {
21030
21883
 
21031
21884
  /**
@@ -35645,6 +36498,7 @@
35645
36498
  * @interface ITask
35646
36499
  * @property {flyteidl.core.IIdentifier|null} [id] Task id
35647
36500
  * @property {flyteidl.admin.ITaskClosure|null} [closure] Task closure
36501
+ * @property {string|null} [shortDescription] Task shortDescription
35648
36502
  */
35649
36503
 
35650
36504
  /**
@@ -35678,6 +36532,14 @@
35678
36532
  */
35679
36533
  Task.prototype.closure = null;
35680
36534
 
36535
+ /**
36536
+ * Task shortDescription.
36537
+ * @member {string} shortDescription
36538
+ * @memberof flyteidl.admin.Task
36539
+ * @instance
36540
+ */
36541
+ Task.prototype.shortDescription = "";
36542
+
35681
36543
  /**
35682
36544
  * Creates a new Task instance using the specified properties.
35683
36545
  * @function create
@@ -35706,6 +36568,8 @@
35706
36568
  $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
35707
36569
  if (message.closure != null && message.hasOwnProperty("closure"))
35708
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);
35709
36573
  return writer;
35710
36574
  };
35711
36575
 
@@ -35733,6 +36597,9 @@
35733
36597
  case 2:
35734
36598
  message.closure = $root.flyteidl.admin.TaskClosure.decode(reader, reader.uint32());
35735
36599
  break;
36600
+ case 3:
36601
+ message.shortDescription = reader.string();
36602
+ break;
35736
36603
  default:
35737
36604
  reader.skipType(tag & 7);
35738
36605
  break;
@@ -35762,6 +36629,9 @@
35762
36629
  if (error)
35763
36630
  return "closure." + error;
35764
36631
  }
36632
+ if (message.shortDescription != null && message.hasOwnProperty("shortDescription"))
36633
+ if (!$util.isString(message.shortDescription))
36634
+ return "shortDescription: string expected";
35765
36635
  return null;
35766
36636
  };
35767
36637
 
@@ -35912,6 +36782,7 @@
35912
36782
  * @memberof flyteidl.admin
35913
36783
  * @interface ITaskSpec
35914
36784
  * @property {flyteidl.core.ITaskTemplate|null} [template] TaskSpec template
36785
+ * @property {flyteidl.admin.IDescriptionEntity|null} [description] TaskSpec description
35915
36786
  */
35916
36787
 
35917
36788
  /**
@@ -35937,6 +36808,14 @@
35937
36808
  */
35938
36809
  TaskSpec.prototype.template = null;
35939
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
+
35940
36819
  /**
35941
36820
  * Creates a new TaskSpec instance using the specified properties.
35942
36821
  * @function create
@@ -35963,6 +36842,8 @@
35963
36842
  writer = $Writer.create();
35964
36843
  if (message.template != null && message.hasOwnProperty("template"))
35965
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();
35966
36847
  return writer;
35967
36848
  };
35968
36849
 
@@ -35987,6 +36868,9 @@
35987
36868
  case 1:
35988
36869
  message.template = $root.flyteidl.core.TaskTemplate.decode(reader, reader.uint32());
35989
36870
  break;
36871
+ case 2:
36872
+ message.description = $root.flyteidl.admin.DescriptionEntity.decode(reader, reader.uint32());
36873
+ break;
35990
36874
  default:
35991
36875
  reader.skipType(tag & 7);
35992
36876
  break;
@@ -36011,6 +36895,11 @@
36011
36895
  if (error)
36012
36896
  return "template." + error;
36013
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
+ }
36014
36903
  return null;
36015
36904
  };
36016
36905
 
@@ -38001,6 +38890,7 @@
38001
38890
  * @interface IWorkflow
38002
38891
  * @property {flyteidl.core.IIdentifier|null} [id] Workflow id
38003
38892
  * @property {flyteidl.admin.IWorkflowClosure|null} [closure] Workflow closure
38893
+ * @property {string|null} [shortDescription] Workflow shortDescription
38004
38894
  */
38005
38895
 
38006
38896
  /**
@@ -38034,6 +38924,14 @@
38034
38924
  */
38035
38925
  Workflow.prototype.closure = null;
38036
38926
 
38927
+ /**
38928
+ * Workflow shortDescription.
38929
+ * @member {string} shortDescription
38930
+ * @memberof flyteidl.admin.Workflow
38931
+ * @instance
38932
+ */
38933
+ Workflow.prototype.shortDescription = "";
38934
+
38037
38935
  /**
38038
38936
  * Creates a new Workflow instance using the specified properties.
38039
38937
  * @function create
@@ -38062,6 +38960,8 @@
38062
38960
  $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
38063
38961
  if (message.closure != null && message.hasOwnProperty("closure"))
38064
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);
38065
38965
  return writer;
38066
38966
  };
38067
38967
 
@@ -38089,6 +38989,9 @@
38089
38989
  case 2:
38090
38990
  message.closure = $root.flyteidl.admin.WorkflowClosure.decode(reader, reader.uint32());
38091
38991
  break;
38992
+ case 3:
38993
+ message.shortDescription = reader.string();
38994
+ break;
38092
38995
  default:
38093
38996
  reader.skipType(tag & 7);
38094
38997
  break;
@@ -38118,6 +39021,9 @@
38118
39021
  if (error)
38119
39022
  return "closure." + error;
38120
39023
  }
39024
+ if (message.shortDescription != null && message.hasOwnProperty("shortDescription"))
39025
+ if (!$util.isString(message.shortDescription))
39026
+ return "shortDescription: string expected";
38121
39027
  return null;
38122
39028
  };
38123
39029
 
@@ -38269,6 +39175,7 @@
38269
39175
  * @interface IWorkflowSpec
38270
39176
  * @property {flyteidl.core.IWorkflowTemplate|null} [template] WorkflowSpec template
38271
39177
  * @property {Array.<flyteidl.core.IWorkflowTemplate>|null} [subWorkflows] WorkflowSpec subWorkflows
39178
+ * @property {flyteidl.admin.IDescriptionEntity|null} [description] WorkflowSpec description
38272
39179
  */
38273
39180
 
38274
39181
  /**
@@ -38303,6 +39210,14 @@
38303
39210
  */
38304
39211
  WorkflowSpec.prototype.subWorkflows = $util.emptyArray;
38305
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
+
38306
39221
  /**
38307
39222
  * Creates a new WorkflowSpec instance using the specified properties.
38308
39223
  * @function create
@@ -38332,6 +39247,8 @@
38332
39247
  if (message.subWorkflows != null && message.subWorkflows.length)
38333
39248
  for (var i = 0; i < message.subWorkflows.length; ++i)
38334
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();
38335
39252
  return writer;
38336
39253
  };
38337
39254
 
@@ -38361,6 +39278,9 @@
38361
39278
  message.subWorkflows = [];
38362
39279
  message.subWorkflows.push($root.flyteidl.core.WorkflowTemplate.decode(reader, reader.uint32()));
38363
39280
  break;
39281
+ case 3:
39282
+ message.description = $root.flyteidl.admin.DescriptionEntity.decode(reader, reader.uint32());
39283
+ break;
38364
39284
  default:
38365
39285
  reader.skipType(tag & 7);
38366
39286
  break;
@@ -38394,6 +39314,11 @@
38394
39314
  return "subWorkflows." + error;
38395
39315
  }
38396
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
+ }
38397
39322
  return null;
38398
39323
  };
38399
39324
 
@@ -41520,6 +42445,72 @@
41520
42445
  * @variation 2
41521
42446
  */
41522
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
+
41523
42514
  return AdminService;
41524
42515
  })();
41525
42516