@flyteorg/flyteidl 0.24.1 → 0.24.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.
@@ -16895,6 +16895,418 @@ export const flyteidl = $root.flyteidl = (() => {
16895
16895
  */
16896
16896
  const admin = {};
16897
16897
 
16898
+ admin.ClusterAssignment = (function() {
16899
+
16900
+ /**
16901
+ * Properties of a ClusterAssignment.
16902
+ * @memberof flyteidl.admin
16903
+ * @interface IClusterAssignment
16904
+ * @property {flyteidl.admin.IAffinity|null} [affinity] ClusterAssignment affinity
16905
+ */
16906
+
16907
+ /**
16908
+ * Constructs a new ClusterAssignment.
16909
+ * @memberof flyteidl.admin
16910
+ * @classdesc Represents a ClusterAssignment.
16911
+ * @implements IClusterAssignment
16912
+ * @constructor
16913
+ * @param {flyteidl.admin.IClusterAssignment=} [properties] Properties to set
16914
+ */
16915
+ function ClusterAssignment(properties) {
16916
+ if (properties)
16917
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
16918
+ if (properties[keys[i]] != null)
16919
+ this[keys[i]] = properties[keys[i]];
16920
+ }
16921
+
16922
+ /**
16923
+ * ClusterAssignment affinity.
16924
+ * @member {flyteidl.admin.IAffinity|null|undefined} affinity
16925
+ * @memberof flyteidl.admin.ClusterAssignment
16926
+ * @instance
16927
+ */
16928
+ ClusterAssignment.prototype.affinity = null;
16929
+
16930
+ /**
16931
+ * Creates a new ClusterAssignment instance using the specified properties.
16932
+ * @function create
16933
+ * @memberof flyteidl.admin.ClusterAssignment
16934
+ * @static
16935
+ * @param {flyteidl.admin.IClusterAssignment=} [properties] Properties to set
16936
+ * @returns {flyteidl.admin.ClusterAssignment} ClusterAssignment instance
16937
+ */
16938
+ ClusterAssignment.create = function create(properties) {
16939
+ return new ClusterAssignment(properties);
16940
+ };
16941
+
16942
+ /**
16943
+ * Encodes the specified ClusterAssignment message. Does not implicitly {@link flyteidl.admin.ClusterAssignment.verify|verify} messages.
16944
+ * @function encode
16945
+ * @memberof flyteidl.admin.ClusterAssignment
16946
+ * @static
16947
+ * @param {flyteidl.admin.IClusterAssignment} message ClusterAssignment message or plain object to encode
16948
+ * @param {$protobuf.Writer} [writer] Writer to encode to
16949
+ * @returns {$protobuf.Writer} Writer
16950
+ */
16951
+ ClusterAssignment.encode = function encode(message, writer) {
16952
+ if (!writer)
16953
+ writer = $Writer.create();
16954
+ if (message.affinity != null && message.hasOwnProperty("affinity"))
16955
+ $root.flyteidl.admin.Affinity.encode(message.affinity, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
16956
+ return writer;
16957
+ };
16958
+
16959
+ /**
16960
+ * Decodes a ClusterAssignment message from the specified reader or buffer.
16961
+ * @function decode
16962
+ * @memberof flyteidl.admin.ClusterAssignment
16963
+ * @static
16964
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
16965
+ * @param {number} [length] Message length if known beforehand
16966
+ * @returns {flyteidl.admin.ClusterAssignment} ClusterAssignment
16967
+ * @throws {Error} If the payload is not a reader or valid buffer
16968
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16969
+ */
16970
+ ClusterAssignment.decode = function decode(reader, length) {
16971
+ if (!(reader instanceof $Reader))
16972
+ reader = $Reader.create(reader);
16973
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ClusterAssignment();
16974
+ while (reader.pos < end) {
16975
+ let tag = reader.uint32();
16976
+ switch (tag >>> 3) {
16977
+ case 1:
16978
+ message.affinity = $root.flyteidl.admin.Affinity.decode(reader, reader.uint32());
16979
+ break;
16980
+ default:
16981
+ reader.skipType(tag & 7);
16982
+ break;
16983
+ }
16984
+ }
16985
+ return message;
16986
+ };
16987
+
16988
+ /**
16989
+ * Verifies a ClusterAssignment message.
16990
+ * @function verify
16991
+ * @memberof flyteidl.admin.ClusterAssignment
16992
+ * @static
16993
+ * @param {Object.<string,*>} message Plain object to verify
16994
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
16995
+ */
16996
+ ClusterAssignment.verify = function verify(message) {
16997
+ if (typeof message !== "object" || message === null)
16998
+ return "object expected";
16999
+ if (message.affinity != null && message.hasOwnProperty("affinity")) {
17000
+ let error = $root.flyteidl.admin.Affinity.verify(message.affinity);
17001
+ if (error)
17002
+ return "affinity." + error;
17003
+ }
17004
+ return null;
17005
+ };
17006
+
17007
+ return ClusterAssignment;
17008
+ })();
17009
+
17010
+ admin.Affinity = (function() {
17011
+
17012
+ /**
17013
+ * Properties of an Affinity.
17014
+ * @memberof flyteidl.admin
17015
+ * @interface IAffinity
17016
+ * @property {Array.<flyteidl.admin.ISelector>|null} [selectors] Affinity selectors
17017
+ */
17018
+
17019
+ /**
17020
+ * Constructs a new Affinity.
17021
+ * @memberof flyteidl.admin
17022
+ * @classdesc Represents an Affinity.
17023
+ * @implements IAffinity
17024
+ * @constructor
17025
+ * @param {flyteidl.admin.IAffinity=} [properties] Properties to set
17026
+ */
17027
+ function Affinity(properties) {
17028
+ this.selectors = [];
17029
+ if (properties)
17030
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
17031
+ if (properties[keys[i]] != null)
17032
+ this[keys[i]] = properties[keys[i]];
17033
+ }
17034
+
17035
+ /**
17036
+ * Affinity selectors.
17037
+ * @member {Array.<flyteidl.admin.ISelector>} selectors
17038
+ * @memberof flyteidl.admin.Affinity
17039
+ * @instance
17040
+ */
17041
+ Affinity.prototype.selectors = $util.emptyArray;
17042
+
17043
+ /**
17044
+ * Creates a new Affinity instance using the specified properties.
17045
+ * @function create
17046
+ * @memberof flyteidl.admin.Affinity
17047
+ * @static
17048
+ * @param {flyteidl.admin.IAffinity=} [properties] Properties to set
17049
+ * @returns {flyteidl.admin.Affinity} Affinity instance
17050
+ */
17051
+ Affinity.create = function create(properties) {
17052
+ return new Affinity(properties);
17053
+ };
17054
+
17055
+ /**
17056
+ * Encodes the specified Affinity message. Does not implicitly {@link flyteidl.admin.Affinity.verify|verify} messages.
17057
+ * @function encode
17058
+ * @memberof flyteidl.admin.Affinity
17059
+ * @static
17060
+ * @param {flyteidl.admin.IAffinity} message Affinity message or plain object to encode
17061
+ * @param {$protobuf.Writer} [writer] Writer to encode to
17062
+ * @returns {$protobuf.Writer} Writer
17063
+ */
17064
+ Affinity.encode = function encode(message, writer) {
17065
+ if (!writer)
17066
+ writer = $Writer.create();
17067
+ if (message.selectors != null && message.selectors.length)
17068
+ for (let i = 0; i < message.selectors.length; ++i)
17069
+ $root.flyteidl.admin.Selector.encode(message.selectors[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
17070
+ return writer;
17071
+ };
17072
+
17073
+ /**
17074
+ * Decodes an Affinity message from the specified reader or buffer.
17075
+ * @function decode
17076
+ * @memberof flyteidl.admin.Affinity
17077
+ * @static
17078
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
17079
+ * @param {number} [length] Message length if known beforehand
17080
+ * @returns {flyteidl.admin.Affinity} Affinity
17081
+ * @throws {Error} If the payload is not a reader or valid buffer
17082
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
17083
+ */
17084
+ Affinity.decode = function decode(reader, length) {
17085
+ if (!(reader instanceof $Reader))
17086
+ reader = $Reader.create(reader);
17087
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Affinity();
17088
+ while (reader.pos < end) {
17089
+ let tag = reader.uint32();
17090
+ switch (tag >>> 3) {
17091
+ case 1:
17092
+ if (!(message.selectors && message.selectors.length))
17093
+ message.selectors = [];
17094
+ message.selectors.push($root.flyteidl.admin.Selector.decode(reader, reader.uint32()));
17095
+ break;
17096
+ default:
17097
+ reader.skipType(tag & 7);
17098
+ break;
17099
+ }
17100
+ }
17101
+ return message;
17102
+ };
17103
+
17104
+ /**
17105
+ * Verifies an Affinity message.
17106
+ * @function verify
17107
+ * @memberof flyteidl.admin.Affinity
17108
+ * @static
17109
+ * @param {Object.<string,*>} message Plain object to verify
17110
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
17111
+ */
17112
+ Affinity.verify = function verify(message) {
17113
+ if (typeof message !== "object" || message === null)
17114
+ return "object expected";
17115
+ if (message.selectors != null && message.hasOwnProperty("selectors")) {
17116
+ if (!Array.isArray(message.selectors))
17117
+ return "selectors: array expected";
17118
+ for (let i = 0; i < message.selectors.length; ++i) {
17119
+ let error = $root.flyteidl.admin.Selector.verify(message.selectors[i]);
17120
+ if (error)
17121
+ return "selectors." + error;
17122
+ }
17123
+ }
17124
+ return null;
17125
+ };
17126
+
17127
+ return Affinity;
17128
+ })();
17129
+
17130
+ admin.Selector = (function() {
17131
+
17132
+ /**
17133
+ * Properties of a Selector.
17134
+ * @memberof flyteidl.admin
17135
+ * @interface ISelector
17136
+ * @property {string|null} [key] Selector key
17137
+ * @property {Array.<string>|null} [value] Selector value
17138
+ * @property {flyteidl.admin.Selector.Operator|null} [operator] Selector operator
17139
+ */
17140
+
17141
+ /**
17142
+ * Constructs a new Selector.
17143
+ * @memberof flyteidl.admin
17144
+ * @classdesc Represents a Selector.
17145
+ * @implements ISelector
17146
+ * @constructor
17147
+ * @param {flyteidl.admin.ISelector=} [properties] Properties to set
17148
+ */
17149
+ function Selector(properties) {
17150
+ this.value = [];
17151
+ if (properties)
17152
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
17153
+ if (properties[keys[i]] != null)
17154
+ this[keys[i]] = properties[keys[i]];
17155
+ }
17156
+
17157
+ /**
17158
+ * Selector key.
17159
+ * @member {string} key
17160
+ * @memberof flyteidl.admin.Selector
17161
+ * @instance
17162
+ */
17163
+ Selector.prototype.key = "";
17164
+
17165
+ /**
17166
+ * Selector value.
17167
+ * @member {Array.<string>} value
17168
+ * @memberof flyteidl.admin.Selector
17169
+ * @instance
17170
+ */
17171
+ Selector.prototype.value = $util.emptyArray;
17172
+
17173
+ /**
17174
+ * Selector operator.
17175
+ * @member {flyteidl.admin.Selector.Operator} operator
17176
+ * @memberof flyteidl.admin.Selector
17177
+ * @instance
17178
+ */
17179
+ Selector.prototype.operator = 0;
17180
+
17181
+ /**
17182
+ * Creates a new Selector instance using the specified properties.
17183
+ * @function create
17184
+ * @memberof flyteidl.admin.Selector
17185
+ * @static
17186
+ * @param {flyteidl.admin.ISelector=} [properties] Properties to set
17187
+ * @returns {flyteidl.admin.Selector} Selector instance
17188
+ */
17189
+ Selector.create = function create(properties) {
17190
+ return new Selector(properties);
17191
+ };
17192
+
17193
+ /**
17194
+ * Encodes the specified Selector message. Does not implicitly {@link flyteidl.admin.Selector.verify|verify} messages.
17195
+ * @function encode
17196
+ * @memberof flyteidl.admin.Selector
17197
+ * @static
17198
+ * @param {flyteidl.admin.ISelector} message Selector message or plain object to encode
17199
+ * @param {$protobuf.Writer} [writer] Writer to encode to
17200
+ * @returns {$protobuf.Writer} Writer
17201
+ */
17202
+ Selector.encode = function encode(message, writer) {
17203
+ if (!writer)
17204
+ writer = $Writer.create();
17205
+ if (message.key != null && message.hasOwnProperty("key"))
17206
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.key);
17207
+ if (message.value != null && message.value.length)
17208
+ for (let i = 0; i < message.value.length; ++i)
17209
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.value[i]);
17210
+ if (message.operator != null && message.hasOwnProperty("operator"))
17211
+ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.operator);
17212
+ return writer;
17213
+ };
17214
+
17215
+ /**
17216
+ * Decodes a Selector message from the specified reader or buffer.
17217
+ * @function decode
17218
+ * @memberof flyteidl.admin.Selector
17219
+ * @static
17220
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
17221
+ * @param {number} [length] Message length if known beforehand
17222
+ * @returns {flyteidl.admin.Selector} Selector
17223
+ * @throws {Error} If the payload is not a reader or valid buffer
17224
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
17225
+ */
17226
+ Selector.decode = function decode(reader, length) {
17227
+ if (!(reader instanceof $Reader))
17228
+ reader = $Reader.create(reader);
17229
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Selector();
17230
+ while (reader.pos < end) {
17231
+ let tag = reader.uint32();
17232
+ switch (tag >>> 3) {
17233
+ case 1:
17234
+ message.key = reader.string();
17235
+ break;
17236
+ case 2:
17237
+ if (!(message.value && message.value.length))
17238
+ message.value = [];
17239
+ message.value.push(reader.string());
17240
+ break;
17241
+ case 3:
17242
+ message.operator = reader.int32();
17243
+ break;
17244
+ default:
17245
+ reader.skipType(tag & 7);
17246
+ break;
17247
+ }
17248
+ }
17249
+ return message;
17250
+ };
17251
+
17252
+ /**
17253
+ * Verifies a Selector message.
17254
+ * @function verify
17255
+ * @memberof flyteidl.admin.Selector
17256
+ * @static
17257
+ * @param {Object.<string,*>} message Plain object to verify
17258
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
17259
+ */
17260
+ Selector.verify = function verify(message) {
17261
+ if (typeof message !== "object" || message === null)
17262
+ return "object expected";
17263
+ if (message.key != null && message.hasOwnProperty("key"))
17264
+ if (!$util.isString(message.key))
17265
+ return "key: string expected";
17266
+ if (message.value != null && message.hasOwnProperty("value")) {
17267
+ if (!Array.isArray(message.value))
17268
+ return "value: array expected";
17269
+ for (let i = 0; i < message.value.length; ++i)
17270
+ if (!$util.isString(message.value[i]))
17271
+ return "value: string[] expected";
17272
+ }
17273
+ if (message.operator != null && message.hasOwnProperty("operator"))
17274
+ switch (message.operator) {
17275
+ default:
17276
+ return "operator: enum value expected";
17277
+ case 0:
17278
+ case 1:
17279
+ case 2:
17280
+ case 3:
17281
+ case 4:
17282
+ break;
17283
+ }
17284
+ return null;
17285
+ };
17286
+
17287
+ /**
17288
+ * Operator enum.
17289
+ * @name flyteidl.admin.Selector.Operator
17290
+ * @enum {string}
17291
+ * @property {number} EQUALS=0 EQUALS value
17292
+ * @property {number} NOT_EQUALS=1 NOT_EQUALS value
17293
+ * @property {number} IN=2 IN value
17294
+ * @property {number} NOT_IN=3 NOT_IN value
17295
+ * @property {number} EXISTS=4 EXISTS value
17296
+ */
17297
+ Selector.Operator = (function() {
17298
+ const valuesById = {}, values = Object.create(valuesById);
17299
+ values[valuesById[0] = "EQUALS"] = 0;
17300
+ values[valuesById[1] = "NOT_EQUALS"] = 1;
17301
+ values[valuesById[2] = "IN"] = 2;
17302
+ values[valuesById[3] = "NOT_IN"] = 3;
17303
+ values[valuesById[4] = "EXISTS"] = 4;
17304
+ return values;
17305
+ })();
17306
+
17307
+ return Selector;
17308
+ })();
17309
+
16898
17310
  admin.NamedEntityIdentifier = (function() {
16899
17311
 
16900
17312
  /**
@@ -23249,6 +23661,7 @@ export const flyteidl = $root.flyteidl = (() => {
23249
23661
  * @property {flyteidl.core.IQualityOfService|null} [qualityOfService] ExecutionSpec qualityOfService
23250
23662
  * @property {number|null} [maxParallelism] ExecutionSpec maxParallelism
23251
23663
  * @property {flyteidl.admin.IRawOutputDataConfig|null} [rawOutputDataConfig] ExecutionSpec rawOutputDataConfig
23664
+ * @property {flyteidl.admin.IClusterAssignment|null} [clusterAssignment] ExecutionSpec clusterAssignment
23252
23665
  */
23253
23666
 
23254
23667
  /**
@@ -23362,6 +23775,14 @@ export const flyteidl = $root.flyteidl = (() => {
23362
23775
  */
23363
23776
  ExecutionSpec.prototype.rawOutputDataConfig = null;
23364
23777
 
23778
+ /**
23779
+ * ExecutionSpec clusterAssignment.
23780
+ * @member {flyteidl.admin.IClusterAssignment|null|undefined} clusterAssignment
23781
+ * @memberof flyteidl.admin.ExecutionSpec
23782
+ * @instance
23783
+ */
23784
+ ExecutionSpec.prototype.clusterAssignment = null;
23785
+
23365
23786
  // OneOf field names bound to virtual getters and setters
23366
23787
  let $oneOfFields;
23367
23788
 
@@ -23424,6 +23845,8 @@ export const flyteidl = $root.flyteidl = (() => {
23424
23845
  writer.uint32(/* id 18, wireType 0 =*/144).int32(message.maxParallelism);
23425
23846
  if (message.rawOutputDataConfig != null && message.hasOwnProperty("rawOutputDataConfig"))
23426
23847
  $root.flyteidl.admin.RawOutputDataConfig.encode(message.rawOutputDataConfig, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
23848
+ if (message.clusterAssignment != null && message.hasOwnProperty("clusterAssignment"))
23849
+ $root.flyteidl.admin.ClusterAssignment.encode(message.clusterAssignment, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
23427
23850
  return writer;
23428
23851
  };
23429
23852
 
@@ -23481,6 +23904,9 @@ export const flyteidl = $root.flyteidl = (() => {
23481
23904
  case 19:
23482
23905
  message.rawOutputDataConfig = $root.flyteidl.admin.RawOutputDataConfig.decode(reader, reader.uint32());
23483
23906
  break;
23907
+ case 20:
23908
+ message.clusterAssignment = $root.flyteidl.admin.ClusterAssignment.decode(reader, reader.uint32());
23909
+ break;
23484
23910
  default:
23485
23911
  reader.skipType(tag & 7);
23486
23912
  break;
@@ -23564,6 +23990,11 @@ export const flyteidl = $root.flyteidl = (() => {
23564
23990
  if (error)
23565
23991
  return "rawOutputDataConfig." + error;
23566
23992
  }
23993
+ if (message.clusterAssignment != null && message.hasOwnProperty("clusterAssignment")) {
23994
+ let error = $root.flyteidl.admin.ClusterAssignment.verify(message.clusterAssignment);
23995
+ if (error)
23996
+ return "clusterAssignment." + error;
23997
+ }
23567
23998
  return null;
23568
23999
  };
23569
24000
 
@@ -26781,6 +27212,7 @@ export const flyteidl = $root.flyteidl = (() => {
26781
27212
  * @property {number} QUALITY_OF_SERVICE_SPECIFICATION=4 QUALITY_OF_SERVICE_SPECIFICATION value
26782
27213
  * @property {number} PLUGIN_OVERRIDE=5 PLUGIN_OVERRIDE value
26783
27214
  * @property {number} WORKFLOW_EXECUTION_CONFIG=6 WORKFLOW_EXECUTION_CONFIG value
27215
+ * @property {number} CLUSTER_ASSIGNMENT=7 CLUSTER_ASSIGNMENT value
26784
27216
  */
26785
27217
  admin.MatchableResource = (function() {
26786
27218
  const valuesById = {}, values = Object.create(valuesById);
@@ -26791,6 +27223,7 @@ export const flyteidl = $root.flyteidl = (() => {
26791
27223
  values[valuesById[4] = "QUALITY_OF_SERVICE_SPECIFICATION"] = 4;
26792
27224
  values[valuesById[5] = "PLUGIN_OVERRIDE"] = 5;
26793
27225
  values[valuesById[6] = "WORKFLOW_EXECUTION_CONFIG"] = 6;
27226
+ values[valuesById[7] = "CLUSTER_ASSIGNMENT"] = 7;
26794
27227
  return values;
26795
27228
  })();
26796
27229
 
@@ -27867,6 +28300,7 @@ export const flyteidl = $root.flyteidl = (() => {
27867
28300
  * @property {flyteidl.core.IQualityOfService|null} [qualityOfService] MatchingAttributes qualityOfService
27868
28301
  * @property {flyteidl.admin.IPluginOverrides|null} [pluginOverrides] MatchingAttributes pluginOverrides
27869
28302
  * @property {flyteidl.admin.IWorkflowExecutionConfig|null} [workflowExecutionConfig] MatchingAttributes workflowExecutionConfig
28303
+ * @property {flyteidl.admin.IClusterAssignment|null} [clusterAssignment] MatchingAttributes clusterAssignment
27870
28304
  */
27871
28305
 
27872
28306
  /**
@@ -27940,17 +28374,25 @@ export const flyteidl = $root.flyteidl = (() => {
27940
28374
  */
27941
28375
  MatchingAttributes.prototype.workflowExecutionConfig = null;
27942
28376
 
28377
+ /**
28378
+ * MatchingAttributes clusterAssignment.
28379
+ * @member {flyteidl.admin.IClusterAssignment|null|undefined} clusterAssignment
28380
+ * @memberof flyteidl.admin.MatchingAttributes
28381
+ * @instance
28382
+ */
28383
+ MatchingAttributes.prototype.clusterAssignment = null;
28384
+
27943
28385
  // OneOf field names bound to virtual getters and setters
27944
28386
  let $oneOfFields;
27945
28387
 
27946
28388
  /**
27947
28389
  * MatchingAttributes target.
27948
- * @member {"taskResourceAttributes"|"clusterResourceAttributes"|"executionQueueAttributes"|"executionClusterLabel"|"qualityOfService"|"pluginOverrides"|"workflowExecutionConfig"|undefined} target
28390
+ * @member {"taskResourceAttributes"|"clusterResourceAttributes"|"executionQueueAttributes"|"executionClusterLabel"|"qualityOfService"|"pluginOverrides"|"workflowExecutionConfig"|"clusterAssignment"|undefined} target
27949
28391
  * @memberof flyteidl.admin.MatchingAttributes
27950
28392
  * @instance
27951
28393
  */
27952
28394
  Object.defineProperty(MatchingAttributes.prototype, "target", {
27953
- get: $util.oneOfGetter($oneOfFields = ["taskResourceAttributes", "clusterResourceAttributes", "executionQueueAttributes", "executionClusterLabel", "qualityOfService", "pluginOverrides", "workflowExecutionConfig"]),
28395
+ get: $util.oneOfGetter($oneOfFields = ["taskResourceAttributes", "clusterResourceAttributes", "executionQueueAttributes", "executionClusterLabel", "qualityOfService", "pluginOverrides", "workflowExecutionConfig", "clusterAssignment"]),
27954
28396
  set: $util.oneOfSetter($oneOfFields)
27955
28397
  });
27956
28398
 
@@ -27992,6 +28434,8 @@ export const flyteidl = $root.flyteidl = (() => {
27992
28434
  $root.flyteidl.admin.PluginOverrides.encode(message.pluginOverrides, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
27993
28435
  if (message.workflowExecutionConfig != null && message.hasOwnProperty("workflowExecutionConfig"))
27994
28436
  $root.flyteidl.admin.WorkflowExecutionConfig.encode(message.workflowExecutionConfig, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
28437
+ if (message.clusterAssignment != null && message.hasOwnProperty("clusterAssignment"))
28438
+ $root.flyteidl.admin.ClusterAssignment.encode(message.clusterAssignment, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
27995
28439
  return writer;
27996
28440
  };
27997
28441
 
@@ -28034,6 +28478,9 @@ export const flyteidl = $root.flyteidl = (() => {
28034
28478
  case 7:
28035
28479
  message.workflowExecutionConfig = $root.flyteidl.admin.WorkflowExecutionConfig.decode(reader, reader.uint32());
28036
28480
  break;
28481
+ case 8:
28482
+ message.clusterAssignment = $root.flyteidl.admin.ClusterAssignment.decode(reader, reader.uint32());
28483
+ break;
28037
28484
  default:
28038
28485
  reader.skipType(tag & 7);
28039
28486
  break;
@@ -28122,6 +28569,16 @@ export const flyteidl = $root.flyteidl = (() => {
28122
28569
  return "workflowExecutionConfig." + error;
28123
28570
  }
28124
28571
  }
28572
+ if (message.clusterAssignment != null && message.hasOwnProperty("clusterAssignment")) {
28573
+ if (properties.target === 1)
28574
+ return "target: multiple values";
28575
+ properties.target = 1;
28576
+ {
28577
+ let error = $root.flyteidl.admin.ClusterAssignment.verify(message.clusterAssignment);
28578
+ if (error)
28579
+ return "clusterAssignment." + error;
28580
+ }
28581
+ }
28125
28582
  return null;
28126
28583
  };
28127
28584
 
@@ -28420,6 +28877,7 @@ export const flyteidl = $root.flyteidl = (() => {
28420
28877
  case 4:
28421
28878
  case 5:
28422
28879
  case 6:
28880
+ case 7:
28423
28881
  break;
28424
28882
  }
28425
28883
  return null;
@@ -32146,6 +32604,7 @@ export const flyteidl = $root.flyteidl = (() => {
32146
32604
  case 4:
32147
32605
  case 5:
32148
32606
  case 6:
32607
+ case 7:
32149
32608
  break;
32150
32609
  }
32151
32610
  return null;
@@ -32412,6 +32871,7 @@ export const flyteidl = $root.flyteidl = (() => {
32412
32871
  case 4:
32413
32872
  case 5:
32414
32873
  case 6:
32874
+ case 7:
32415
32875
  break;
32416
32876
  }
32417
32877
  return null;
@@ -36145,6 +36605,7 @@ export const flyteidl = $root.flyteidl = (() => {
36145
36605
  case 4:
36146
36606
  case 5:
36147
36607
  case 6:
36608
+ case 7:
36148
36609
  break;
36149
36610
  }
36150
36611
  return null;
@@ -36428,6 +36889,7 @@ export const flyteidl = $root.flyteidl = (() => {
36428
36889
  case 4:
36429
36890
  case 5:
36430
36891
  case 6:
36892
+ case 7:
36431
36893
  break;
36432
36894
  }
36433
36895
  return null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flyteorg/flyteidl",
3
- "version": "0.24.1",
3
+ "version": "0.24.2",
4
4
  "description": "Compiled protocol buffers and gRPC service clients/servers for Flyte IDLs",
5
5
  "repository": {
6
6
  "type": "git",