@flyteorg/flyteidl 0.21.13 → 0.21.17

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.
@@ -2177,6 +2177,116 @@ export namespace flyteidl {
2177
2177
  public static verify(message: { [k: string]: any }): (string|null);
2178
2178
  }
2179
2179
 
2180
+ /** Properties of a StructuredDatasetMetadata. */
2181
+ interface IStructuredDatasetMetadata {
2182
+
2183
+ /** StructuredDatasetMetadata structuredDatasetType */
2184
+ structuredDatasetType?: (flyteidl.core.IStructuredDatasetType|null);
2185
+ }
2186
+
2187
+ /** Represents a StructuredDatasetMetadata. */
2188
+ class StructuredDatasetMetadata implements IStructuredDatasetMetadata {
2189
+
2190
+ /**
2191
+ * Constructs a new StructuredDatasetMetadata.
2192
+ * @param [properties] Properties to set
2193
+ */
2194
+ constructor(properties?: flyteidl.core.IStructuredDatasetMetadata);
2195
+
2196
+ /** StructuredDatasetMetadata structuredDatasetType. */
2197
+ public structuredDatasetType?: (flyteidl.core.IStructuredDatasetType|null);
2198
+
2199
+ /**
2200
+ * Creates a new StructuredDatasetMetadata instance using the specified properties.
2201
+ * @param [properties] Properties to set
2202
+ * @returns StructuredDatasetMetadata instance
2203
+ */
2204
+ public static create(properties?: flyteidl.core.IStructuredDatasetMetadata): flyteidl.core.StructuredDatasetMetadata;
2205
+
2206
+ /**
2207
+ * Encodes the specified StructuredDatasetMetadata message. Does not implicitly {@link flyteidl.core.StructuredDatasetMetadata.verify|verify} messages.
2208
+ * @param message StructuredDatasetMetadata message or plain object to encode
2209
+ * @param [writer] Writer to encode to
2210
+ * @returns Writer
2211
+ */
2212
+ public static encode(message: flyteidl.core.IStructuredDatasetMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
2213
+
2214
+ /**
2215
+ * Decodes a StructuredDatasetMetadata message from the specified reader or buffer.
2216
+ * @param reader Reader or buffer to decode from
2217
+ * @param [length] Message length if known beforehand
2218
+ * @returns StructuredDatasetMetadata
2219
+ * @throws {Error} If the payload is not a reader or valid buffer
2220
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2221
+ */
2222
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.StructuredDatasetMetadata;
2223
+
2224
+ /**
2225
+ * Verifies a StructuredDatasetMetadata message.
2226
+ * @param message Plain object to verify
2227
+ * @returns `null` if valid, otherwise the reason why it is not
2228
+ */
2229
+ public static verify(message: { [k: string]: any }): (string|null);
2230
+ }
2231
+
2232
+ /** Properties of a StructuredDataset. */
2233
+ interface IStructuredDataset {
2234
+
2235
+ /** StructuredDataset uri */
2236
+ uri?: (string|null);
2237
+
2238
+ /** StructuredDataset metadata */
2239
+ metadata?: (flyteidl.core.IStructuredDatasetMetadata|null);
2240
+ }
2241
+
2242
+ /** Represents a StructuredDataset. */
2243
+ class StructuredDataset implements IStructuredDataset {
2244
+
2245
+ /**
2246
+ * Constructs a new StructuredDataset.
2247
+ * @param [properties] Properties to set
2248
+ */
2249
+ constructor(properties?: flyteidl.core.IStructuredDataset);
2250
+
2251
+ /** StructuredDataset uri. */
2252
+ public uri: string;
2253
+
2254
+ /** StructuredDataset metadata. */
2255
+ public metadata?: (flyteidl.core.IStructuredDatasetMetadata|null);
2256
+
2257
+ /**
2258
+ * Creates a new StructuredDataset instance using the specified properties.
2259
+ * @param [properties] Properties to set
2260
+ * @returns StructuredDataset instance
2261
+ */
2262
+ public static create(properties?: flyteidl.core.IStructuredDataset): flyteidl.core.StructuredDataset;
2263
+
2264
+ /**
2265
+ * Encodes the specified StructuredDataset message. Does not implicitly {@link flyteidl.core.StructuredDataset.verify|verify} messages.
2266
+ * @param message StructuredDataset message or plain object to encode
2267
+ * @param [writer] Writer to encode to
2268
+ * @returns Writer
2269
+ */
2270
+ public static encode(message: flyteidl.core.IStructuredDataset, writer?: $protobuf.Writer): $protobuf.Writer;
2271
+
2272
+ /**
2273
+ * Decodes a StructuredDataset message from the specified reader or buffer.
2274
+ * @param reader Reader or buffer to decode from
2275
+ * @param [length] Message length if known beforehand
2276
+ * @returns StructuredDataset
2277
+ * @throws {Error} If the payload is not a reader or valid buffer
2278
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2279
+ */
2280
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.StructuredDataset;
2281
+
2282
+ /**
2283
+ * Verifies a StructuredDataset message.
2284
+ * @param message Plain object to verify
2285
+ * @returns `null` if valid, otherwise the reason why it is not
2286
+ */
2287
+ public static verify(message: { [k: string]: any }): (string|null);
2288
+ }
2289
+
2180
2290
  /** Properties of a Scalar. */
2181
2291
  interface IScalar {
2182
2292
 
@@ -2200,6 +2310,9 @@ export namespace flyteidl {
2200
2310
 
2201
2311
  /** Scalar generic */
2202
2312
  generic?: (google.protobuf.IStruct|null);
2313
+
2314
+ /** Scalar structuredDataset */
2315
+ structuredDataset?: (flyteidl.core.IStructuredDataset|null);
2203
2316
  }
2204
2317
 
2205
2318
  /** Represents a Scalar. */
@@ -2232,8 +2345,11 @@ export namespace flyteidl {
2232
2345
  /** Scalar generic. */
2233
2346
  public generic?: (google.protobuf.IStruct|null);
2234
2347
 
2348
+ /** Scalar structuredDataset. */
2349
+ public structuredDataset?: (flyteidl.core.IStructuredDataset|null);
2350
+
2235
2351
  /** Scalar value. */
2236
- public value?: ("primitive"|"blob"|"binary"|"schema"|"noneType"|"error"|"generic");
2352
+ public value?: ("primitive"|"blob"|"binary"|"schema"|"noneType"|"error"|"generic"|"structuredDataset");
2237
2353
 
2238
2354
  /**
2239
2355
  * Creates a new Scalar instance using the specified properties.
@@ -2924,6 +3040,137 @@ export namespace flyteidl {
2924
3040
  }
2925
3041
  }
2926
3042
 
3043
+ /** Properties of a StructuredDatasetType. */
3044
+ interface IStructuredDatasetType {
3045
+
3046
+ /** StructuredDatasetType columns */
3047
+ columns?: (flyteidl.core.StructuredDatasetType.IDatasetColumn[]|null);
3048
+
3049
+ /** StructuredDatasetType format */
3050
+ format?: (string|null);
3051
+
3052
+ /** StructuredDatasetType externalSchemaType */
3053
+ externalSchemaType?: (string|null);
3054
+
3055
+ /** StructuredDatasetType externalSchemaBytes */
3056
+ externalSchemaBytes?: (Uint8Array|null);
3057
+ }
3058
+
3059
+ /** Represents a StructuredDatasetType. */
3060
+ class StructuredDatasetType implements IStructuredDatasetType {
3061
+
3062
+ /**
3063
+ * Constructs a new StructuredDatasetType.
3064
+ * @param [properties] Properties to set
3065
+ */
3066
+ constructor(properties?: flyteidl.core.IStructuredDatasetType);
3067
+
3068
+ /** StructuredDatasetType columns. */
3069
+ public columns: flyteidl.core.StructuredDatasetType.IDatasetColumn[];
3070
+
3071
+ /** StructuredDatasetType format. */
3072
+ public format: string;
3073
+
3074
+ /** StructuredDatasetType externalSchemaType. */
3075
+ public externalSchemaType: string;
3076
+
3077
+ /** StructuredDatasetType externalSchemaBytes. */
3078
+ public externalSchemaBytes: Uint8Array;
3079
+
3080
+ /**
3081
+ * Creates a new StructuredDatasetType instance using the specified properties.
3082
+ * @param [properties] Properties to set
3083
+ * @returns StructuredDatasetType instance
3084
+ */
3085
+ public static create(properties?: flyteidl.core.IStructuredDatasetType): flyteidl.core.StructuredDatasetType;
3086
+
3087
+ /**
3088
+ * Encodes the specified StructuredDatasetType message. Does not implicitly {@link flyteidl.core.StructuredDatasetType.verify|verify} messages.
3089
+ * @param message StructuredDatasetType message or plain object to encode
3090
+ * @param [writer] Writer to encode to
3091
+ * @returns Writer
3092
+ */
3093
+ public static encode(message: flyteidl.core.IStructuredDatasetType, writer?: $protobuf.Writer): $protobuf.Writer;
3094
+
3095
+ /**
3096
+ * Decodes a StructuredDatasetType message from the specified reader or buffer.
3097
+ * @param reader Reader or buffer to decode from
3098
+ * @param [length] Message length if known beforehand
3099
+ * @returns StructuredDatasetType
3100
+ * @throws {Error} If the payload is not a reader or valid buffer
3101
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3102
+ */
3103
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.StructuredDatasetType;
3104
+
3105
+ /**
3106
+ * Verifies a StructuredDatasetType message.
3107
+ * @param message Plain object to verify
3108
+ * @returns `null` if valid, otherwise the reason why it is not
3109
+ */
3110
+ public static verify(message: { [k: string]: any }): (string|null);
3111
+ }
3112
+
3113
+ namespace StructuredDatasetType {
3114
+
3115
+ /** Properties of a DatasetColumn. */
3116
+ interface IDatasetColumn {
3117
+
3118
+ /** DatasetColumn name */
3119
+ name?: (string|null);
3120
+
3121
+ /** DatasetColumn literalType */
3122
+ literalType?: (flyteidl.core.ILiteralType|null);
3123
+ }
3124
+
3125
+ /** Represents a DatasetColumn. */
3126
+ class DatasetColumn implements IDatasetColumn {
3127
+
3128
+ /**
3129
+ * Constructs a new DatasetColumn.
3130
+ * @param [properties] Properties to set
3131
+ */
3132
+ constructor(properties?: flyteidl.core.StructuredDatasetType.IDatasetColumn);
3133
+
3134
+ /** DatasetColumn name. */
3135
+ public name: string;
3136
+
3137
+ /** DatasetColumn literalType. */
3138
+ public literalType?: (flyteidl.core.ILiteralType|null);
3139
+
3140
+ /**
3141
+ * Creates a new DatasetColumn instance using the specified properties.
3142
+ * @param [properties] Properties to set
3143
+ * @returns DatasetColumn instance
3144
+ */
3145
+ public static create(properties?: flyteidl.core.StructuredDatasetType.IDatasetColumn): flyteidl.core.StructuredDatasetType.DatasetColumn;
3146
+
3147
+ /**
3148
+ * Encodes the specified DatasetColumn message. Does not implicitly {@link flyteidl.core.StructuredDatasetType.DatasetColumn.verify|verify} messages.
3149
+ * @param message DatasetColumn message or plain object to encode
3150
+ * @param [writer] Writer to encode to
3151
+ * @returns Writer
3152
+ */
3153
+ public static encode(message: flyteidl.core.StructuredDatasetType.IDatasetColumn, writer?: $protobuf.Writer): $protobuf.Writer;
3154
+
3155
+ /**
3156
+ * Decodes a DatasetColumn message from the specified reader or buffer.
3157
+ * @param reader Reader or buffer to decode from
3158
+ * @param [length] Message length if known beforehand
3159
+ * @returns DatasetColumn
3160
+ * @throws {Error} If the payload is not a reader or valid buffer
3161
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3162
+ */
3163
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.StructuredDatasetType.DatasetColumn;
3164
+
3165
+ /**
3166
+ * Verifies a DatasetColumn message.
3167
+ * @param message Plain object to verify
3168
+ * @returns `null` if valid, otherwise the reason why it is not
3169
+ */
3170
+ public static verify(message: { [k: string]: any }): (string|null);
3171
+ }
3172
+ }
3173
+
2927
3174
  /** Properties of a BlobType. */
2928
3175
  interface IBlobType {
2929
3176
 
@@ -3064,6 +3311,9 @@ export namespace flyteidl {
3064
3311
  /** LiteralType enumType */
3065
3312
  enumType?: (flyteidl.core.IEnumType|null);
3066
3313
 
3314
+ /** LiteralType structuredDatasetType */
3315
+ structuredDatasetType?: (flyteidl.core.IStructuredDatasetType|null);
3316
+
3067
3317
  /** LiteralType metadata */
3068
3318
  metadata?: (google.protobuf.IStruct|null);
3069
3319
  }
@@ -3095,11 +3345,14 @@ export namespace flyteidl {
3095
3345
  /** LiteralType enumType. */
3096
3346
  public enumType?: (flyteidl.core.IEnumType|null);
3097
3347
 
3348
+ /** LiteralType structuredDatasetType. */
3349
+ public structuredDatasetType?: (flyteidl.core.IStructuredDatasetType|null);
3350
+
3098
3351
  /** LiteralType metadata. */
3099
3352
  public metadata?: (google.protobuf.IStruct|null);
3100
3353
 
3101
3354
  /** LiteralType type. */
3102
- public type?: ("simple"|"schema"|"collectionType"|"mapValueType"|"blob"|"enumType");
3355
+ public type?: ("simple"|"schema"|"collectionType"|"mapValueType"|"blob"|"enumType"|"structuredDatasetType");
3103
3356
 
3104
3357
  /**
3105
3358
  * Creates a new LiteralType instance using the specified properties.
@@ -3308,7 +3561,8 @@ export namespace flyteidl {
3308
3561
  FAILING = 5,
3309
3562
  FAILED = 6,
3310
3563
  ABORTED = 7,
3311
- TIMED_OUT = 8
3564
+ TIMED_OUT = 8,
3565
+ ABORTING = 9
3312
3566
  }
3313
3567
  }
3314
3568
 
@@ -7807,11 +8061,66 @@ export namespace flyteidl {
7807
8061
  public static verify(message: { [k: string]: any }): (string|null);
7808
8062
  }
7809
8063
 
8064
+ /** Properties of an EventErrorIncompatibleCluster. */
8065
+ interface IEventErrorIncompatibleCluster {
8066
+
8067
+ /** EventErrorIncompatibleCluster cluster */
8068
+ cluster?: (string|null);
8069
+ }
8070
+
8071
+ /** Represents an EventErrorIncompatibleCluster. */
8072
+ class EventErrorIncompatibleCluster implements IEventErrorIncompatibleCluster {
8073
+
8074
+ /**
8075
+ * Constructs a new EventErrorIncompatibleCluster.
8076
+ * @param [properties] Properties to set
8077
+ */
8078
+ constructor(properties?: flyteidl.admin.IEventErrorIncompatibleCluster);
8079
+
8080
+ /** EventErrorIncompatibleCluster cluster. */
8081
+ public cluster: string;
8082
+
8083
+ /**
8084
+ * Creates a new EventErrorIncompatibleCluster instance using the specified properties.
8085
+ * @param [properties] Properties to set
8086
+ * @returns EventErrorIncompatibleCluster instance
8087
+ */
8088
+ public static create(properties?: flyteidl.admin.IEventErrorIncompatibleCluster): flyteidl.admin.EventErrorIncompatibleCluster;
8089
+
8090
+ /**
8091
+ * Encodes the specified EventErrorIncompatibleCluster message. Does not implicitly {@link flyteidl.admin.EventErrorIncompatibleCluster.verify|verify} messages.
8092
+ * @param message EventErrorIncompatibleCluster message or plain object to encode
8093
+ * @param [writer] Writer to encode to
8094
+ * @returns Writer
8095
+ */
8096
+ public static encode(message: flyteidl.admin.IEventErrorIncompatibleCluster, writer?: $protobuf.Writer): $protobuf.Writer;
8097
+
8098
+ /**
8099
+ * Decodes an EventErrorIncompatibleCluster message from the specified reader or buffer.
8100
+ * @param reader Reader or buffer to decode from
8101
+ * @param [length] Message length if known beforehand
8102
+ * @returns EventErrorIncompatibleCluster
8103
+ * @throws {Error} If the payload is not a reader or valid buffer
8104
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8105
+ */
8106
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.EventErrorIncompatibleCluster;
8107
+
8108
+ /**
8109
+ * Verifies an EventErrorIncompatibleCluster message.
8110
+ * @param message Plain object to verify
8111
+ * @returns `null` if valid, otherwise the reason why it is not
8112
+ */
8113
+ public static verify(message: { [k: string]: any }): (string|null);
8114
+ }
8115
+
7810
8116
  /** Properties of an EventFailureReason. */
7811
8117
  interface IEventFailureReason {
7812
8118
 
7813
8119
  /** EventFailureReason alreadyInTerminalState */
7814
8120
  alreadyInTerminalState?: (flyteidl.admin.IEventErrorAlreadyInTerminalState|null);
8121
+
8122
+ /** EventFailureReason incompatibleCluster */
8123
+ incompatibleCluster?: (flyteidl.admin.IEventErrorIncompatibleCluster|null);
7815
8124
  }
7816
8125
 
7817
8126
  /** Represents an EventFailureReason. */
@@ -7826,8 +8135,11 @@ export namespace flyteidl {
7826
8135
  /** EventFailureReason alreadyInTerminalState. */
7827
8136
  public alreadyInTerminalState?: (flyteidl.admin.IEventErrorAlreadyInTerminalState|null);
7828
8137
 
8138
+ /** EventFailureReason incompatibleCluster. */
8139
+ public incompatibleCluster?: (flyteidl.admin.IEventErrorIncompatibleCluster|null);
8140
+
7829
8141
  /** EventFailureReason reason. */
7830
- public reason?: "alreadyInTerminalState";
8142
+ public reason?: ("alreadyInTerminalState"|"incompatibleCluster");
7831
8143
 
7832
8144
  /**
7833
8145
  * Creates a new EventFailureReason instance using the specified properties.