@flyteorg/flyteidl 1.13.1 → 1.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/gen/pb-js/flyteidl.d.ts
CHANGED
|
@@ -3390,6 +3390,12 @@ export namespace flyteidl {
|
|
|
3390
3390
|
|
|
3391
3391
|
/** Literal metadata */
|
|
3392
3392
|
metadata?: ({ [k: string]: string }|null);
|
|
3393
|
+
|
|
3394
|
+
/** Literal uri */
|
|
3395
|
+
uri?: (string|null);
|
|
3396
|
+
|
|
3397
|
+
/** Literal sizeBytes */
|
|
3398
|
+
sizeBytes?: (Long|null);
|
|
3393
3399
|
}
|
|
3394
3400
|
|
|
3395
3401
|
/** Represents a Literal. */
|
|
@@ -3416,6 +3422,12 @@ export namespace flyteidl {
|
|
|
3416
3422
|
/** Literal metadata. */
|
|
3417
3423
|
public metadata: { [k: string]: string };
|
|
3418
3424
|
|
|
3425
|
+
/** Literal uri. */
|
|
3426
|
+
public uri: string;
|
|
3427
|
+
|
|
3428
|
+
/** Literal sizeBytes. */
|
|
3429
|
+
public sizeBytes: Long;
|
|
3430
|
+
|
|
3419
3431
|
/** Literal value. */
|
|
3420
3432
|
public value?: ("scalar"|"collection"|"map");
|
|
3421
3433
|
|
|
@@ -18184,6 +18196,64 @@ export namespace flyteidl {
|
|
|
18184
18196
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
18185
18197
|
}
|
|
18186
18198
|
|
|
18199
|
+
/** Properties of an InactiveProject. */
|
|
18200
|
+
interface IInactiveProject {
|
|
18201
|
+
|
|
18202
|
+
/** InactiveProject id */
|
|
18203
|
+
id?: (string|null);
|
|
18204
|
+
|
|
18205
|
+
/** InactiveProject org */
|
|
18206
|
+
org?: (string|null);
|
|
18207
|
+
}
|
|
18208
|
+
|
|
18209
|
+
/** Represents an InactiveProject. */
|
|
18210
|
+
class InactiveProject implements IInactiveProject {
|
|
18211
|
+
|
|
18212
|
+
/**
|
|
18213
|
+
* Constructs a new InactiveProject.
|
|
18214
|
+
* @param [properties] Properties to set
|
|
18215
|
+
*/
|
|
18216
|
+
constructor(properties?: flyteidl.admin.IInactiveProject);
|
|
18217
|
+
|
|
18218
|
+
/** InactiveProject id. */
|
|
18219
|
+
public id: string;
|
|
18220
|
+
|
|
18221
|
+
/** InactiveProject org. */
|
|
18222
|
+
public org: string;
|
|
18223
|
+
|
|
18224
|
+
/**
|
|
18225
|
+
* Creates a new InactiveProject instance using the specified properties.
|
|
18226
|
+
* @param [properties] Properties to set
|
|
18227
|
+
* @returns InactiveProject instance
|
|
18228
|
+
*/
|
|
18229
|
+
public static create(properties?: flyteidl.admin.IInactiveProject): flyteidl.admin.InactiveProject;
|
|
18230
|
+
|
|
18231
|
+
/**
|
|
18232
|
+
* Encodes the specified InactiveProject message. Does not implicitly {@link flyteidl.admin.InactiveProject.verify|verify} messages.
|
|
18233
|
+
* @param message InactiveProject message or plain object to encode
|
|
18234
|
+
* @param [writer] Writer to encode to
|
|
18235
|
+
* @returns Writer
|
|
18236
|
+
*/
|
|
18237
|
+
public static encode(message: flyteidl.admin.IInactiveProject, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18238
|
+
|
|
18239
|
+
/**
|
|
18240
|
+
* Decodes an InactiveProject message from the specified reader or buffer.
|
|
18241
|
+
* @param reader Reader or buffer to decode from
|
|
18242
|
+
* @param [length] Message length if known beforehand
|
|
18243
|
+
* @returns InactiveProject
|
|
18244
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18245
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18246
|
+
*/
|
|
18247
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.InactiveProject;
|
|
18248
|
+
|
|
18249
|
+
/**
|
|
18250
|
+
* Verifies an InactiveProject message.
|
|
18251
|
+
* @param message Plain object to verify
|
|
18252
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
18253
|
+
*/
|
|
18254
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
18255
|
+
}
|
|
18256
|
+
|
|
18187
18257
|
/** Properties of a ProjectAttributes. */
|
|
18188
18258
|
interface IProjectAttributes {
|
|
18189
18259
|
|
package/gen/pb-js/flyteidl.js
CHANGED
|
@@ -8105,6 +8105,8 @@
|
|
|
8105
8105
|
* @property {flyteidl.core.ILiteralMap|null} [map] Literal map
|
|
8106
8106
|
* @property {string|null} [hash] Literal hash
|
|
8107
8107
|
* @property {Object.<string,string>|null} [metadata] Literal metadata
|
|
8108
|
+
* @property {string|null} [uri] Literal uri
|
|
8109
|
+
* @property {Long|null} [sizeBytes] Literal sizeBytes
|
|
8108
8110
|
*/
|
|
8109
8111
|
|
|
8110
8112
|
/**
|
|
@@ -8163,6 +8165,22 @@
|
|
|
8163
8165
|
*/
|
|
8164
8166
|
Literal.prototype.metadata = $util.emptyObject;
|
|
8165
8167
|
|
|
8168
|
+
/**
|
|
8169
|
+
* Literal uri.
|
|
8170
|
+
* @member {string} uri
|
|
8171
|
+
* @memberof flyteidl.core.Literal
|
|
8172
|
+
* @instance
|
|
8173
|
+
*/
|
|
8174
|
+
Literal.prototype.uri = "";
|
|
8175
|
+
|
|
8176
|
+
/**
|
|
8177
|
+
* Literal sizeBytes.
|
|
8178
|
+
* @member {Long} sizeBytes
|
|
8179
|
+
* @memberof flyteidl.core.Literal
|
|
8180
|
+
* @instance
|
|
8181
|
+
*/
|
|
8182
|
+
Literal.prototype.sizeBytes = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
8183
|
+
|
|
8166
8184
|
// OneOf field names bound to virtual getters and setters
|
|
8167
8185
|
var $oneOfFields;
|
|
8168
8186
|
|
|
@@ -8212,6 +8230,10 @@
|
|
|
8212
8230
|
if (message.metadata != null && message.hasOwnProperty("metadata"))
|
|
8213
8231
|
for (var keys = Object.keys(message.metadata), i = 0; i < keys.length; ++i)
|
|
8214
8232
|
writer.uint32(/* id 5, wireType 2 =*/42).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.metadata[keys[i]]).ldelim();
|
|
8233
|
+
if (message.uri != null && message.hasOwnProperty("uri"))
|
|
8234
|
+
writer.uint32(/* id 6, wireType 2 =*/50).string(message.uri);
|
|
8235
|
+
if (message.sizeBytes != null && message.hasOwnProperty("sizeBytes"))
|
|
8236
|
+
writer.uint32(/* id 7, wireType 0 =*/56).uint64(message.sizeBytes);
|
|
8215
8237
|
return writer;
|
|
8216
8238
|
};
|
|
8217
8239
|
|
|
@@ -8253,6 +8275,12 @@
|
|
|
8253
8275
|
reader.pos++;
|
|
8254
8276
|
message.metadata[key] = reader.string();
|
|
8255
8277
|
break;
|
|
8278
|
+
case 6:
|
|
8279
|
+
message.uri = reader.string();
|
|
8280
|
+
break;
|
|
8281
|
+
case 7:
|
|
8282
|
+
message.sizeBytes = reader.uint64();
|
|
8283
|
+
break;
|
|
8256
8284
|
default:
|
|
8257
8285
|
reader.skipType(tag & 7);
|
|
8258
8286
|
break;
|
|
@@ -8312,6 +8340,12 @@
|
|
|
8312
8340
|
if (!$util.isString(message.metadata[key[i]]))
|
|
8313
8341
|
return "metadata: string{k:string} expected";
|
|
8314
8342
|
}
|
|
8343
|
+
if (message.uri != null && message.hasOwnProperty("uri"))
|
|
8344
|
+
if (!$util.isString(message.uri))
|
|
8345
|
+
return "uri: string expected";
|
|
8346
|
+
if (message.sizeBytes != null && message.hasOwnProperty("sizeBytes"))
|
|
8347
|
+
if (!$util.isInteger(message.sizeBytes) && !(message.sizeBytes && $util.isInteger(message.sizeBytes.low) && $util.isInteger(message.sizeBytes.high)))
|
|
8348
|
+
return "sizeBytes: integer|Long expected";
|
|
8315
8349
|
return null;
|
|
8316
8350
|
};
|
|
8317
8351
|
|
|
@@ -43952,6 +43986,133 @@
|
|
|
43952
43986
|
return ProjectGetRequest;
|
|
43953
43987
|
})();
|
|
43954
43988
|
|
|
43989
|
+
admin.InactiveProject = (function() {
|
|
43990
|
+
|
|
43991
|
+
/**
|
|
43992
|
+
* Properties of an InactiveProject.
|
|
43993
|
+
* @memberof flyteidl.admin
|
|
43994
|
+
* @interface IInactiveProject
|
|
43995
|
+
* @property {string|null} [id] InactiveProject id
|
|
43996
|
+
* @property {string|null} [org] InactiveProject org
|
|
43997
|
+
*/
|
|
43998
|
+
|
|
43999
|
+
/**
|
|
44000
|
+
* Constructs a new InactiveProject.
|
|
44001
|
+
* @memberof flyteidl.admin
|
|
44002
|
+
* @classdesc Represents an InactiveProject.
|
|
44003
|
+
* @implements IInactiveProject
|
|
44004
|
+
* @constructor
|
|
44005
|
+
* @param {flyteidl.admin.IInactiveProject=} [properties] Properties to set
|
|
44006
|
+
*/
|
|
44007
|
+
function InactiveProject(properties) {
|
|
44008
|
+
if (properties)
|
|
44009
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
44010
|
+
if (properties[keys[i]] != null)
|
|
44011
|
+
this[keys[i]] = properties[keys[i]];
|
|
44012
|
+
}
|
|
44013
|
+
|
|
44014
|
+
/**
|
|
44015
|
+
* InactiveProject id.
|
|
44016
|
+
* @member {string} id
|
|
44017
|
+
* @memberof flyteidl.admin.InactiveProject
|
|
44018
|
+
* @instance
|
|
44019
|
+
*/
|
|
44020
|
+
InactiveProject.prototype.id = "";
|
|
44021
|
+
|
|
44022
|
+
/**
|
|
44023
|
+
* InactiveProject org.
|
|
44024
|
+
* @member {string} org
|
|
44025
|
+
* @memberof flyteidl.admin.InactiveProject
|
|
44026
|
+
* @instance
|
|
44027
|
+
*/
|
|
44028
|
+
InactiveProject.prototype.org = "";
|
|
44029
|
+
|
|
44030
|
+
/**
|
|
44031
|
+
* Creates a new InactiveProject instance using the specified properties.
|
|
44032
|
+
* @function create
|
|
44033
|
+
* @memberof flyteidl.admin.InactiveProject
|
|
44034
|
+
* @static
|
|
44035
|
+
* @param {flyteidl.admin.IInactiveProject=} [properties] Properties to set
|
|
44036
|
+
* @returns {flyteidl.admin.InactiveProject} InactiveProject instance
|
|
44037
|
+
*/
|
|
44038
|
+
InactiveProject.create = function create(properties) {
|
|
44039
|
+
return new InactiveProject(properties);
|
|
44040
|
+
};
|
|
44041
|
+
|
|
44042
|
+
/**
|
|
44043
|
+
* Encodes the specified InactiveProject message. Does not implicitly {@link flyteidl.admin.InactiveProject.verify|verify} messages.
|
|
44044
|
+
* @function encode
|
|
44045
|
+
* @memberof flyteidl.admin.InactiveProject
|
|
44046
|
+
* @static
|
|
44047
|
+
* @param {flyteidl.admin.IInactiveProject} message InactiveProject message or plain object to encode
|
|
44048
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
44049
|
+
* @returns {$protobuf.Writer} Writer
|
|
44050
|
+
*/
|
|
44051
|
+
InactiveProject.encode = function encode(message, writer) {
|
|
44052
|
+
if (!writer)
|
|
44053
|
+
writer = $Writer.create();
|
|
44054
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
44055
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.id);
|
|
44056
|
+
if (message.org != null && message.hasOwnProperty("org"))
|
|
44057
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.org);
|
|
44058
|
+
return writer;
|
|
44059
|
+
};
|
|
44060
|
+
|
|
44061
|
+
/**
|
|
44062
|
+
* Decodes an InactiveProject message from the specified reader or buffer.
|
|
44063
|
+
* @function decode
|
|
44064
|
+
* @memberof flyteidl.admin.InactiveProject
|
|
44065
|
+
* @static
|
|
44066
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
44067
|
+
* @param {number} [length] Message length if known beforehand
|
|
44068
|
+
* @returns {flyteidl.admin.InactiveProject} InactiveProject
|
|
44069
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
44070
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
44071
|
+
*/
|
|
44072
|
+
InactiveProject.decode = function decode(reader, length) {
|
|
44073
|
+
if (!(reader instanceof $Reader))
|
|
44074
|
+
reader = $Reader.create(reader);
|
|
44075
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.InactiveProject();
|
|
44076
|
+
while (reader.pos < end) {
|
|
44077
|
+
var tag = reader.uint32();
|
|
44078
|
+
switch (tag >>> 3) {
|
|
44079
|
+
case 1:
|
|
44080
|
+
message.id = reader.string();
|
|
44081
|
+
break;
|
|
44082
|
+
case 2:
|
|
44083
|
+
message.org = reader.string();
|
|
44084
|
+
break;
|
|
44085
|
+
default:
|
|
44086
|
+
reader.skipType(tag & 7);
|
|
44087
|
+
break;
|
|
44088
|
+
}
|
|
44089
|
+
}
|
|
44090
|
+
return message;
|
|
44091
|
+
};
|
|
44092
|
+
|
|
44093
|
+
/**
|
|
44094
|
+
* Verifies an InactiveProject message.
|
|
44095
|
+
* @function verify
|
|
44096
|
+
* @memberof flyteidl.admin.InactiveProject
|
|
44097
|
+
* @static
|
|
44098
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
44099
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
44100
|
+
*/
|
|
44101
|
+
InactiveProject.verify = function verify(message) {
|
|
44102
|
+
if (typeof message !== "object" || message === null)
|
|
44103
|
+
return "object expected";
|
|
44104
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
44105
|
+
if (!$util.isString(message.id))
|
|
44106
|
+
return "id: string expected";
|
|
44107
|
+
if (message.org != null && message.hasOwnProperty("org"))
|
|
44108
|
+
if (!$util.isString(message.org))
|
|
44109
|
+
return "org: string expected";
|
|
44110
|
+
return null;
|
|
44111
|
+
};
|
|
44112
|
+
|
|
44113
|
+
return InactiveProject;
|
|
44114
|
+
})();
|
|
44115
|
+
|
|
43955
44116
|
admin.ProjectAttributes = (function() {
|
|
43956
44117
|
|
|
43957
44118
|
/**
|
package/package.json
CHANGED
|
@@ -118,3 +118,15 @@ message ProjectGetRequest {
|
|
|
118
118
|
// Optional, org key applied to the resource.
|
|
119
119
|
string org = 2;
|
|
120
120
|
}
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
// Error returned for inactive projects
|
|
124
|
+
message InactiveProject {
|
|
125
|
+
// Indicates a unique project.
|
|
126
|
+
// +required
|
|
127
|
+
string id = 1;
|
|
128
|
+
|
|
129
|
+
// Optional, org key applied to the resource.
|
|
130
|
+
string org = 2;
|
|
131
|
+
}
|
|
132
|
+
|
|
@@ -111,6 +111,12 @@ message Literal {
|
|
|
111
111
|
|
|
112
112
|
// Additional metadata for literals.
|
|
113
113
|
map<string, string> metadata = 5;
|
|
114
|
+
|
|
115
|
+
// If this literal is offloaded, this field will contain metadata including the offload location.
|
|
116
|
+
string uri = 6;
|
|
117
|
+
|
|
118
|
+
// Includes information about the size of the literal.
|
|
119
|
+
uint64 size_bytes = 7;
|
|
114
120
|
}
|
|
115
121
|
|
|
116
122
|
// A collection of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field.
|