@flyteorg/flyteidl 1.1.22 → 1.2.1
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 +966 -55
- package/gen/pb-js/flyteidl.js +2037 -2
- package/package.json +1 -1
- package/protos/docs/admin/admin.rst +227 -0
- package/protos/docs/core/core.rst +112 -2
- package/protos/docs/datacatalog/datacatalog.rst +0 -2
- package/protos/docs/event/event.rst +0 -2
- package/protos/docs/service/service.rst +42 -0
- package/protos/flyteidl/admin/signal.proto +86 -0
- package/protos/flyteidl/admin/workflow.proto +18 -0
- package/protos/flyteidl/core/identifier.proto +9 -0
- package/protos/flyteidl/core/workflow.proto +42 -0
- package/protos/flyteidl/service/signal.proto +55 -0
package/gen/pb-js/flyteidl.js
CHANGED
|
@@ -1082,6 +1082,135 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
1082
1082
|
return TaskExecutionIdentifier;
|
|
1083
1083
|
})();
|
|
1084
1084
|
|
|
1085
|
+
core.SignalIdentifier = (function() {
|
|
1086
|
+
|
|
1087
|
+
/**
|
|
1088
|
+
* Properties of a SignalIdentifier.
|
|
1089
|
+
* @memberof flyteidl.core
|
|
1090
|
+
* @interface ISignalIdentifier
|
|
1091
|
+
* @property {string|null} [signalId] SignalIdentifier signalId
|
|
1092
|
+
* @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [executionId] SignalIdentifier executionId
|
|
1093
|
+
*/
|
|
1094
|
+
|
|
1095
|
+
/**
|
|
1096
|
+
* Constructs a new SignalIdentifier.
|
|
1097
|
+
* @memberof flyteidl.core
|
|
1098
|
+
* @classdesc Represents a SignalIdentifier.
|
|
1099
|
+
* @implements ISignalIdentifier
|
|
1100
|
+
* @constructor
|
|
1101
|
+
* @param {flyteidl.core.ISignalIdentifier=} [properties] Properties to set
|
|
1102
|
+
*/
|
|
1103
|
+
function SignalIdentifier(properties) {
|
|
1104
|
+
if (properties)
|
|
1105
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
1106
|
+
if (properties[keys[i]] != null)
|
|
1107
|
+
this[keys[i]] = properties[keys[i]];
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
/**
|
|
1111
|
+
* SignalIdentifier signalId.
|
|
1112
|
+
* @member {string} signalId
|
|
1113
|
+
* @memberof flyteidl.core.SignalIdentifier
|
|
1114
|
+
* @instance
|
|
1115
|
+
*/
|
|
1116
|
+
SignalIdentifier.prototype.signalId = "";
|
|
1117
|
+
|
|
1118
|
+
/**
|
|
1119
|
+
* SignalIdentifier executionId.
|
|
1120
|
+
* @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} executionId
|
|
1121
|
+
* @memberof flyteidl.core.SignalIdentifier
|
|
1122
|
+
* @instance
|
|
1123
|
+
*/
|
|
1124
|
+
SignalIdentifier.prototype.executionId = null;
|
|
1125
|
+
|
|
1126
|
+
/**
|
|
1127
|
+
* Creates a new SignalIdentifier instance using the specified properties.
|
|
1128
|
+
* @function create
|
|
1129
|
+
* @memberof flyteidl.core.SignalIdentifier
|
|
1130
|
+
* @static
|
|
1131
|
+
* @param {flyteidl.core.ISignalIdentifier=} [properties] Properties to set
|
|
1132
|
+
* @returns {flyteidl.core.SignalIdentifier} SignalIdentifier instance
|
|
1133
|
+
*/
|
|
1134
|
+
SignalIdentifier.create = function create(properties) {
|
|
1135
|
+
return new SignalIdentifier(properties);
|
|
1136
|
+
};
|
|
1137
|
+
|
|
1138
|
+
/**
|
|
1139
|
+
* Encodes the specified SignalIdentifier message. Does not implicitly {@link flyteidl.core.SignalIdentifier.verify|verify} messages.
|
|
1140
|
+
* @function encode
|
|
1141
|
+
* @memberof flyteidl.core.SignalIdentifier
|
|
1142
|
+
* @static
|
|
1143
|
+
* @param {flyteidl.core.ISignalIdentifier} message SignalIdentifier message or plain object to encode
|
|
1144
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
1145
|
+
* @returns {$protobuf.Writer} Writer
|
|
1146
|
+
*/
|
|
1147
|
+
SignalIdentifier.encode = function encode(message, writer) {
|
|
1148
|
+
if (!writer)
|
|
1149
|
+
writer = $Writer.create();
|
|
1150
|
+
if (message.signalId != null && message.hasOwnProperty("signalId"))
|
|
1151
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.signalId);
|
|
1152
|
+
if (message.executionId != null && message.hasOwnProperty("executionId"))
|
|
1153
|
+
$root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.executionId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
1154
|
+
return writer;
|
|
1155
|
+
};
|
|
1156
|
+
|
|
1157
|
+
/**
|
|
1158
|
+
* Decodes a SignalIdentifier message from the specified reader or buffer.
|
|
1159
|
+
* @function decode
|
|
1160
|
+
* @memberof flyteidl.core.SignalIdentifier
|
|
1161
|
+
* @static
|
|
1162
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
1163
|
+
* @param {number} [length] Message length if known beforehand
|
|
1164
|
+
* @returns {flyteidl.core.SignalIdentifier} SignalIdentifier
|
|
1165
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1166
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1167
|
+
*/
|
|
1168
|
+
SignalIdentifier.decode = function decode(reader, length) {
|
|
1169
|
+
if (!(reader instanceof $Reader))
|
|
1170
|
+
reader = $Reader.create(reader);
|
|
1171
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.SignalIdentifier();
|
|
1172
|
+
while (reader.pos < end) {
|
|
1173
|
+
let tag = reader.uint32();
|
|
1174
|
+
switch (tag >>> 3) {
|
|
1175
|
+
case 1:
|
|
1176
|
+
message.signalId = reader.string();
|
|
1177
|
+
break;
|
|
1178
|
+
case 2:
|
|
1179
|
+
message.executionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32());
|
|
1180
|
+
break;
|
|
1181
|
+
default:
|
|
1182
|
+
reader.skipType(tag & 7);
|
|
1183
|
+
break;
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
return message;
|
|
1187
|
+
};
|
|
1188
|
+
|
|
1189
|
+
/**
|
|
1190
|
+
* Verifies a SignalIdentifier message.
|
|
1191
|
+
* @function verify
|
|
1192
|
+
* @memberof flyteidl.core.SignalIdentifier
|
|
1193
|
+
* @static
|
|
1194
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
1195
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
1196
|
+
*/
|
|
1197
|
+
SignalIdentifier.verify = function verify(message) {
|
|
1198
|
+
if (typeof message !== "object" || message === null)
|
|
1199
|
+
return "object expected";
|
|
1200
|
+
if (message.signalId != null && message.hasOwnProperty("signalId"))
|
|
1201
|
+
if (!$util.isString(message.signalId))
|
|
1202
|
+
return "signalId: string expected";
|
|
1203
|
+
if (message.executionId != null && message.hasOwnProperty("executionId")) {
|
|
1204
|
+
let error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.executionId);
|
|
1205
|
+
if (error)
|
|
1206
|
+
return "executionId." + error;
|
|
1207
|
+
}
|
|
1208
|
+
return null;
|
|
1209
|
+
};
|
|
1210
|
+
|
|
1211
|
+
return SignalIdentifier;
|
|
1212
|
+
})();
|
|
1213
|
+
|
|
1085
1214
|
core.ConnectionSet = (function() {
|
|
1086
1215
|
|
|
1087
1216
|
/**
|
|
@@ -2514,6 +2643,552 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
2514
2643
|
return WorkflowNode;
|
|
2515
2644
|
})();
|
|
2516
2645
|
|
|
2646
|
+
core.ApproveCondition = (function() {
|
|
2647
|
+
|
|
2648
|
+
/**
|
|
2649
|
+
* Properties of an ApproveCondition.
|
|
2650
|
+
* @memberof flyteidl.core
|
|
2651
|
+
* @interface IApproveCondition
|
|
2652
|
+
* @property {string|null} [signalId] ApproveCondition signalId
|
|
2653
|
+
*/
|
|
2654
|
+
|
|
2655
|
+
/**
|
|
2656
|
+
* Constructs a new ApproveCondition.
|
|
2657
|
+
* @memberof flyteidl.core
|
|
2658
|
+
* @classdesc Represents an ApproveCondition.
|
|
2659
|
+
* @implements IApproveCondition
|
|
2660
|
+
* @constructor
|
|
2661
|
+
* @param {flyteidl.core.IApproveCondition=} [properties] Properties to set
|
|
2662
|
+
*/
|
|
2663
|
+
function ApproveCondition(properties) {
|
|
2664
|
+
if (properties)
|
|
2665
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
2666
|
+
if (properties[keys[i]] != null)
|
|
2667
|
+
this[keys[i]] = properties[keys[i]];
|
|
2668
|
+
}
|
|
2669
|
+
|
|
2670
|
+
/**
|
|
2671
|
+
* ApproveCondition signalId.
|
|
2672
|
+
* @member {string} signalId
|
|
2673
|
+
* @memberof flyteidl.core.ApproveCondition
|
|
2674
|
+
* @instance
|
|
2675
|
+
*/
|
|
2676
|
+
ApproveCondition.prototype.signalId = "";
|
|
2677
|
+
|
|
2678
|
+
/**
|
|
2679
|
+
* Creates a new ApproveCondition instance using the specified properties.
|
|
2680
|
+
* @function create
|
|
2681
|
+
* @memberof flyteidl.core.ApproveCondition
|
|
2682
|
+
* @static
|
|
2683
|
+
* @param {flyteidl.core.IApproveCondition=} [properties] Properties to set
|
|
2684
|
+
* @returns {flyteidl.core.ApproveCondition} ApproveCondition instance
|
|
2685
|
+
*/
|
|
2686
|
+
ApproveCondition.create = function create(properties) {
|
|
2687
|
+
return new ApproveCondition(properties);
|
|
2688
|
+
};
|
|
2689
|
+
|
|
2690
|
+
/**
|
|
2691
|
+
* Encodes the specified ApproveCondition message. Does not implicitly {@link flyteidl.core.ApproveCondition.verify|verify} messages.
|
|
2692
|
+
* @function encode
|
|
2693
|
+
* @memberof flyteidl.core.ApproveCondition
|
|
2694
|
+
* @static
|
|
2695
|
+
* @param {flyteidl.core.IApproveCondition} message ApproveCondition message or plain object to encode
|
|
2696
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
2697
|
+
* @returns {$protobuf.Writer} Writer
|
|
2698
|
+
*/
|
|
2699
|
+
ApproveCondition.encode = function encode(message, writer) {
|
|
2700
|
+
if (!writer)
|
|
2701
|
+
writer = $Writer.create();
|
|
2702
|
+
if (message.signalId != null && message.hasOwnProperty("signalId"))
|
|
2703
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.signalId);
|
|
2704
|
+
return writer;
|
|
2705
|
+
};
|
|
2706
|
+
|
|
2707
|
+
/**
|
|
2708
|
+
* Decodes an ApproveCondition message from the specified reader or buffer.
|
|
2709
|
+
* @function decode
|
|
2710
|
+
* @memberof flyteidl.core.ApproveCondition
|
|
2711
|
+
* @static
|
|
2712
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
2713
|
+
* @param {number} [length] Message length if known beforehand
|
|
2714
|
+
* @returns {flyteidl.core.ApproveCondition} ApproveCondition
|
|
2715
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2716
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2717
|
+
*/
|
|
2718
|
+
ApproveCondition.decode = function decode(reader, length) {
|
|
2719
|
+
if (!(reader instanceof $Reader))
|
|
2720
|
+
reader = $Reader.create(reader);
|
|
2721
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ApproveCondition();
|
|
2722
|
+
while (reader.pos < end) {
|
|
2723
|
+
let tag = reader.uint32();
|
|
2724
|
+
switch (tag >>> 3) {
|
|
2725
|
+
case 1:
|
|
2726
|
+
message.signalId = reader.string();
|
|
2727
|
+
break;
|
|
2728
|
+
default:
|
|
2729
|
+
reader.skipType(tag & 7);
|
|
2730
|
+
break;
|
|
2731
|
+
}
|
|
2732
|
+
}
|
|
2733
|
+
return message;
|
|
2734
|
+
};
|
|
2735
|
+
|
|
2736
|
+
/**
|
|
2737
|
+
* Verifies an ApproveCondition message.
|
|
2738
|
+
* @function verify
|
|
2739
|
+
* @memberof flyteidl.core.ApproveCondition
|
|
2740
|
+
* @static
|
|
2741
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
2742
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
2743
|
+
*/
|
|
2744
|
+
ApproveCondition.verify = function verify(message) {
|
|
2745
|
+
if (typeof message !== "object" || message === null)
|
|
2746
|
+
return "object expected";
|
|
2747
|
+
if (message.signalId != null && message.hasOwnProperty("signalId"))
|
|
2748
|
+
if (!$util.isString(message.signalId))
|
|
2749
|
+
return "signalId: string expected";
|
|
2750
|
+
return null;
|
|
2751
|
+
};
|
|
2752
|
+
|
|
2753
|
+
return ApproveCondition;
|
|
2754
|
+
})();
|
|
2755
|
+
|
|
2756
|
+
core.SignalCondition = (function() {
|
|
2757
|
+
|
|
2758
|
+
/**
|
|
2759
|
+
* Properties of a SignalCondition.
|
|
2760
|
+
* @memberof flyteidl.core
|
|
2761
|
+
* @interface ISignalCondition
|
|
2762
|
+
* @property {string|null} [signalId] SignalCondition signalId
|
|
2763
|
+
* @property {flyteidl.core.ILiteralType|null} [type] SignalCondition type
|
|
2764
|
+
* @property {string|null} [outputVariableName] SignalCondition outputVariableName
|
|
2765
|
+
*/
|
|
2766
|
+
|
|
2767
|
+
/**
|
|
2768
|
+
* Constructs a new SignalCondition.
|
|
2769
|
+
* @memberof flyteidl.core
|
|
2770
|
+
* @classdesc Represents a SignalCondition.
|
|
2771
|
+
* @implements ISignalCondition
|
|
2772
|
+
* @constructor
|
|
2773
|
+
* @param {flyteidl.core.ISignalCondition=} [properties] Properties to set
|
|
2774
|
+
*/
|
|
2775
|
+
function SignalCondition(properties) {
|
|
2776
|
+
if (properties)
|
|
2777
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
2778
|
+
if (properties[keys[i]] != null)
|
|
2779
|
+
this[keys[i]] = properties[keys[i]];
|
|
2780
|
+
}
|
|
2781
|
+
|
|
2782
|
+
/**
|
|
2783
|
+
* SignalCondition signalId.
|
|
2784
|
+
* @member {string} signalId
|
|
2785
|
+
* @memberof flyteidl.core.SignalCondition
|
|
2786
|
+
* @instance
|
|
2787
|
+
*/
|
|
2788
|
+
SignalCondition.prototype.signalId = "";
|
|
2789
|
+
|
|
2790
|
+
/**
|
|
2791
|
+
* SignalCondition type.
|
|
2792
|
+
* @member {flyteidl.core.ILiteralType|null|undefined} type
|
|
2793
|
+
* @memberof flyteidl.core.SignalCondition
|
|
2794
|
+
* @instance
|
|
2795
|
+
*/
|
|
2796
|
+
SignalCondition.prototype.type = null;
|
|
2797
|
+
|
|
2798
|
+
/**
|
|
2799
|
+
* SignalCondition outputVariableName.
|
|
2800
|
+
* @member {string} outputVariableName
|
|
2801
|
+
* @memberof flyteidl.core.SignalCondition
|
|
2802
|
+
* @instance
|
|
2803
|
+
*/
|
|
2804
|
+
SignalCondition.prototype.outputVariableName = "";
|
|
2805
|
+
|
|
2806
|
+
/**
|
|
2807
|
+
* Creates a new SignalCondition instance using the specified properties.
|
|
2808
|
+
* @function create
|
|
2809
|
+
* @memberof flyteidl.core.SignalCondition
|
|
2810
|
+
* @static
|
|
2811
|
+
* @param {flyteidl.core.ISignalCondition=} [properties] Properties to set
|
|
2812
|
+
* @returns {flyteidl.core.SignalCondition} SignalCondition instance
|
|
2813
|
+
*/
|
|
2814
|
+
SignalCondition.create = function create(properties) {
|
|
2815
|
+
return new SignalCondition(properties);
|
|
2816
|
+
};
|
|
2817
|
+
|
|
2818
|
+
/**
|
|
2819
|
+
* Encodes the specified SignalCondition message. Does not implicitly {@link flyteidl.core.SignalCondition.verify|verify} messages.
|
|
2820
|
+
* @function encode
|
|
2821
|
+
* @memberof flyteidl.core.SignalCondition
|
|
2822
|
+
* @static
|
|
2823
|
+
* @param {flyteidl.core.ISignalCondition} message SignalCondition message or plain object to encode
|
|
2824
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
2825
|
+
* @returns {$protobuf.Writer} Writer
|
|
2826
|
+
*/
|
|
2827
|
+
SignalCondition.encode = function encode(message, writer) {
|
|
2828
|
+
if (!writer)
|
|
2829
|
+
writer = $Writer.create();
|
|
2830
|
+
if (message.signalId != null && message.hasOwnProperty("signalId"))
|
|
2831
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.signalId);
|
|
2832
|
+
if (message.type != null && message.hasOwnProperty("type"))
|
|
2833
|
+
$root.flyteidl.core.LiteralType.encode(message.type, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
2834
|
+
if (message.outputVariableName != null && message.hasOwnProperty("outputVariableName"))
|
|
2835
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.outputVariableName);
|
|
2836
|
+
return writer;
|
|
2837
|
+
};
|
|
2838
|
+
|
|
2839
|
+
/**
|
|
2840
|
+
* Decodes a SignalCondition message from the specified reader or buffer.
|
|
2841
|
+
* @function decode
|
|
2842
|
+
* @memberof flyteidl.core.SignalCondition
|
|
2843
|
+
* @static
|
|
2844
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
2845
|
+
* @param {number} [length] Message length if known beforehand
|
|
2846
|
+
* @returns {flyteidl.core.SignalCondition} SignalCondition
|
|
2847
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2848
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2849
|
+
*/
|
|
2850
|
+
SignalCondition.decode = function decode(reader, length) {
|
|
2851
|
+
if (!(reader instanceof $Reader))
|
|
2852
|
+
reader = $Reader.create(reader);
|
|
2853
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.SignalCondition();
|
|
2854
|
+
while (reader.pos < end) {
|
|
2855
|
+
let tag = reader.uint32();
|
|
2856
|
+
switch (tag >>> 3) {
|
|
2857
|
+
case 1:
|
|
2858
|
+
message.signalId = reader.string();
|
|
2859
|
+
break;
|
|
2860
|
+
case 2:
|
|
2861
|
+
message.type = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32());
|
|
2862
|
+
break;
|
|
2863
|
+
case 3:
|
|
2864
|
+
message.outputVariableName = reader.string();
|
|
2865
|
+
break;
|
|
2866
|
+
default:
|
|
2867
|
+
reader.skipType(tag & 7);
|
|
2868
|
+
break;
|
|
2869
|
+
}
|
|
2870
|
+
}
|
|
2871
|
+
return message;
|
|
2872
|
+
};
|
|
2873
|
+
|
|
2874
|
+
/**
|
|
2875
|
+
* Verifies a SignalCondition message.
|
|
2876
|
+
* @function verify
|
|
2877
|
+
* @memberof flyteidl.core.SignalCondition
|
|
2878
|
+
* @static
|
|
2879
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
2880
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
2881
|
+
*/
|
|
2882
|
+
SignalCondition.verify = function verify(message) {
|
|
2883
|
+
if (typeof message !== "object" || message === null)
|
|
2884
|
+
return "object expected";
|
|
2885
|
+
if (message.signalId != null && message.hasOwnProperty("signalId"))
|
|
2886
|
+
if (!$util.isString(message.signalId))
|
|
2887
|
+
return "signalId: string expected";
|
|
2888
|
+
if (message.type != null && message.hasOwnProperty("type")) {
|
|
2889
|
+
let error = $root.flyteidl.core.LiteralType.verify(message.type);
|
|
2890
|
+
if (error)
|
|
2891
|
+
return "type." + error;
|
|
2892
|
+
}
|
|
2893
|
+
if (message.outputVariableName != null && message.hasOwnProperty("outputVariableName"))
|
|
2894
|
+
if (!$util.isString(message.outputVariableName))
|
|
2895
|
+
return "outputVariableName: string expected";
|
|
2896
|
+
return null;
|
|
2897
|
+
};
|
|
2898
|
+
|
|
2899
|
+
return SignalCondition;
|
|
2900
|
+
})();
|
|
2901
|
+
|
|
2902
|
+
core.SleepCondition = (function() {
|
|
2903
|
+
|
|
2904
|
+
/**
|
|
2905
|
+
* Properties of a SleepCondition.
|
|
2906
|
+
* @memberof flyteidl.core
|
|
2907
|
+
* @interface ISleepCondition
|
|
2908
|
+
* @property {google.protobuf.IDuration|null} [duration] SleepCondition duration
|
|
2909
|
+
*/
|
|
2910
|
+
|
|
2911
|
+
/**
|
|
2912
|
+
* Constructs a new SleepCondition.
|
|
2913
|
+
* @memberof flyteidl.core
|
|
2914
|
+
* @classdesc Represents a SleepCondition.
|
|
2915
|
+
* @implements ISleepCondition
|
|
2916
|
+
* @constructor
|
|
2917
|
+
* @param {flyteidl.core.ISleepCondition=} [properties] Properties to set
|
|
2918
|
+
*/
|
|
2919
|
+
function SleepCondition(properties) {
|
|
2920
|
+
if (properties)
|
|
2921
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
2922
|
+
if (properties[keys[i]] != null)
|
|
2923
|
+
this[keys[i]] = properties[keys[i]];
|
|
2924
|
+
}
|
|
2925
|
+
|
|
2926
|
+
/**
|
|
2927
|
+
* SleepCondition duration.
|
|
2928
|
+
* @member {google.protobuf.IDuration|null|undefined} duration
|
|
2929
|
+
* @memberof flyteidl.core.SleepCondition
|
|
2930
|
+
* @instance
|
|
2931
|
+
*/
|
|
2932
|
+
SleepCondition.prototype.duration = null;
|
|
2933
|
+
|
|
2934
|
+
/**
|
|
2935
|
+
* Creates a new SleepCondition instance using the specified properties.
|
|
2936
|
+
* @function create
|
|
2937
|
+
* @memberof flyteidl.core.SleepCondition
|
|
2938
|
+
* @static
|
|
2939
|
+
* @param {flyteidl.core.ISleepCondition=} [properties] Properties to set
|
|
2940
|
+
* @returns {flyteidl.core.SleepCondition} SleepCondition instance
|
|
2941
|
+
*/
|
|
2942
|
+
SleepCondition.create = function create(properties) {
|
|
2943
|
+
return new SleepCondition(properties);
|
|
2944
|
+
};
|
|
2945
|
+
|
|
2946
|
+
/**
|
|
2947
|
+
* Encodes the specified SleepCondition message. Does not implicitly {@link flyteidl.core.SleepCondition.verify|verify} messages.
|
|
2948
|
+
* @function encode
|
|
2949
|
+
* @memberof flyteidl.core.SleepCondition
|
|
2950
|
+
* @static
|
|
2951
|
+
* @param {flyteidl.core.ISleepCondition} message SleepCondition message or plain object to encode
|
|
2952
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
2953
|
+
* @returns {$protobuf.Writer} Writer
|
|
2954
|
+
*/
|
|
2955
|
+
SleepCondition.encode = function encode(message, writer) {
|
|
2956
|
+
if (!writer)
|
|
2957
|
+
writer = $Writer.create();
|
|
2958
|
+
if (message.duration != null && message.hasOwnProperty("duration"))
|
|
2959
|
+
$root.google.protobuf.Duration.encode(message.duration, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
2960
|
+
return writer;
|
|
2961
|
+
};
|
|
2962
|
+
|
|
2963
|
+
/**
|
|
2964
|
+
* Decodes a SleepCondition message from the specified reader or buffer.
|
|
2965
|
+
* @function decode
|
|
2966
|
+
* @memberof flyteidl.core.SleepCondition
|
|
2967
|
+
* @static
|
|
2968
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
2969
|
+
* @param {number} [length] Message length if known beforehand
|
|
2970
|
+
* @returns {flyteidl.core.SleepCondition} SleepCondition
|
|
2971
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2972
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2973
|
+
*/
|
|
2974
|
+
SleepCondition.decode = function decode(reader, length) {
|
|
2975
|
+
if (!(reader instanceof $Reader))
|
|
2976
|
+
reader = $Reader.create(reader);
|
|
2977
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.SleepCondition();
|
|
2978
|
+
while (reader.pos < end) {
|
|
2979
|
+
let tag = reader.uint32();
|
|
2980
|
+
switch (tag >>> 3) {
|
|
2981
|
+
case 1:
|
|
2982
|
+
message.duration = $root.google.protobuf.Duration.decode(reader, reader.uint32());
|
|
2983
|
+
break;
|
|
2984
|
+
default:
|
|
2985
|
+
reader.skipType(tag & 7);
|
|
2986
|
+
break;
|
|
2987
|
+
}
|
|
2988
|
+
}
|
|
2989
|
+
return message;
|
|
2990
|
+
};
|
|
2991
|
+
|
|
2992
|
+
/**
|
|
2993
|
+
* Verifies a SleepCondition message.
|
|
2994
|
+
* @function verify
|
|
2995
|
+
* @memberof flyteidl.core.SleepCondition
|
|
2996
|
+
* @static
|
|
2997
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
2998
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
2999
|
+
*/
|
|
3000
|
+
SleepCondition.verify = function verify(message) {
|
|
3001
|
+
if (typeof message !== "object" || message === null)
|
|
3002
|
+
return "object expected";
|
|
3003
|
+
if (message.duration != null && message.hasOwnProperty("duration")) {
|
|
3004
|
+
let error = $root.google.protobuf.Duration.verify(message.duration);
|
|
3005
|
+
if (error)
|
|
3006
|
+
return "duration." + error;
|
|
3007
|
+
}
|
|
3008
|
+
return null;
|
|
3009
|
+
};
|
|
3010
|
+
|
|
3011
|
+
return SleepCondition;
|
|
3012
|
+
})();
|
|
3013
|
+
|
|
3014
|
+
core.GateNode = (function() {
|
|
3015
|
+
|
|
3016
|
+
/**
|
|
3017
|
+
* Properties of a GateNode.
|
|
3018
|
+
* @memberof flyteidl.core
|
|
3019
|
+
* @interface IGateNode
|
|
3020
|
+
* @property {flyteidl.core.IApproveCondition|null} [approve] GateNode approve
|
|
3021
|
+
* @property {flyteidl.core.ISignalCondition|null} [signal] GateNode signal
|
|
3022
|
+
* @property {flyteidl.core.ISleepCondition|null} [sleep] GateNode sleep
|
|
3023
|
+
*/
|
|
3024
|
+
|
|
3025
|
+
/**
|
|
3026
|
+
* Constructs a new GateNode.
|
|
3027
|
+
* @memberof flyteidl.core
|
|
3028
|
+
* @classdesc Represents a GateNode.
|
|
3029
|
+
* @implements IGateNode
|
|
3030
|
+
* @constructor
|
|
3031
|
+
* @param {flyteidl.core.IGateNode=} [properties] Properties to set
|
|
3032
|
+
*/
|
|
3033
|
+
function GateNode(properties) {
|
|
3034
|
+
if (properties)
|
|
3035
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
3036
|
+
if (properties[keys[i]] != null)
|
|
3037
|
+
this[keys[i]] = properties[keys[i]];
|
|
3038
|
+
}
|
|
3039
|
+
|
|
3040
|
+
/**
|
|
3041
|
+
* GateNode approve.
|
|
3042
|
+
* @member {flyteidl.core.IApproveCondition|null|undefined} approve
|
|
3043
|
+
* @memberof flyteidl.core.GateNode
|
|
3044
|
+
* @instance
|
|
3045
|
+
*/
|
|
3046
|
+
GateNode.prototype.approve = null;
|
|
3047
|
+
|
|
3048
|
+
/**
|
|
3049
|
+
* GateNode signal.
|
|
3050
|
+
* @member {flyteidl.core.ISignalCondition|null|undefined} signal
|
|
3051
|
+
* @memberof flyteidl.core.GateNode
|
|
3052
|
+
* @instance
|
|
3053
|
+
*/
|
|
3054
|
+
GateNode.prototype.signal = null;
|
|
3055
|
+
|
|
3056
|
+
/**
|
|
3057
|
+
* GateNode sleep.
|
|
3058
|
+
* @member {flyteidl.core.ISleepCondition|null|undefined} sleep
|
|
3059
|
+
* @memberof flyteidl.core.GateNode
|
|
3060
|
+
* @instance
|
|
3061
|
+
*/
|
|
3062
|
+
GateNode.prototype.sleep = null;
|
|
3063
|
+
|
|
3064
|
+
// OneOf field names bound to virtual getters and setters
|
|
3065
|
+
let $oneOfFields;
|
|
3066
|
+
|
|
3067
|
+
/**
|
|
3068
|
+
* GateNode condition.
|
|
3069
|
+
* @member {"approve"|"signal"|"sleep"|undefined} condition
|
|
3070
|
+
* @memberof flyteidl.core.GateNode
|
|
3071
|
+
* @instance
|
|
3072
|
+
*/
|
|
3073
|
+
Object.defineProperty(GateNode.prototype, "condition", {
|
|
3074
|
+
get: $util.oneOfGetter($oneOfFields = ["approve", "signal", "sleep"]),
|
|
3075
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
3076
|
+
});
|
|
3077
|
+
|
|
3078
|
+
/**
|
|
3079
|
+
* Creates a new GateNode instance using the specified properties.
|
|
3080
|
+
* @function create
|
|
3081
|
+
* @memberof flyteidl.core.GateNode
|
|
3082
|
+
* @static
|
|
3083
|
+
* @param {flyteidl.core.IGateNode=} [properties] Properties to set
|
|
3084
|
+
* @returns {flyteidl.core.GateNode} GateNode instance
|
|
3085
|
+
*/
|
|
3086
|
+
GateNode.create = function create(properties) {
|
|
3087
|
+
return new GateNode(properties);
|
|
3088
|
+
};
|
|
3089
|
+
|
|
3090
|
+
/**
|
|
3091
|
+
* Encodes the specified GateNode message. Does not implicitly {@link flyteidl.core.GateNode.verify|verify} messages.
|
|
3092
|
+
* @function encode
|
|
3093
|
+
* @memberof flyteidl.core.GateNode
|
|
3094
|
+
* @static
|
|
3095
|
+
* @param {flyteidl.core.IGateNode} message GateNode message or plain object to encode
|
|
3096
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
3097
|
+
* @returns {$protobuf.Writer} Writer
|
|
3098
|
+
*/
|
|
3099
|
+
GateNode.encode = function encode(message, writer) {
|
|
3100
|
+
if (!writer)
|
|
3101
|
+
writer = $Writer.create();
|
|
3102
|
+
if (message.approve != null && message.hasOwnProperty("approve"))
|
|
3103
|
+
$root.flyteidl.core.ApproveCondition.encode(message.approve, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
3104
|
+
if (message.signal != null && message.hasOwnProperty("signal"))
|
|
3105
|
+
$root.flyteidl.core.SignalCondition.encode(message.signal, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
3106
|
+
if (message.sleep != null && message.hasOwnProperty("sleep"))
|
|
3107
|
+
$root.flyteidl.core.SleepCondition.encode(message.sleep, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
3108
|
+
return writer;
|
|
3109
|
+
};
|
|
3110
|
+
|
|
3111
|
+
/**
|
|
3112
|
+
* Decodes a GateNode message from the specified reader or buffer.
|
|
3113
|
+
* @function decode
|
|
3114
|
+
* @memberof flyteidl.core.GateNode
|
|
3115
|
+
* @static
|
|
3116
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
3117
|
+
* @param {number} [length] Message length if known beforehand
|
|
3118
|
+
* @returns {flyteidl.core.GateNode} GateNode
|
|
3119
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3120
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3121
|
+
*/
|
|
3122
|
+
GateNode.decode = function decode(reader, length) {
|
|
3123
|
+
if (!(reader instanceof $Reader))
|
|
3124
|
+
reader = $Reader.create(reader);
|
|
3125
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.GateNode();
|
|
3126
|
+
while (reader.pos < end) {
|
|
3127
|
+
let tag = reader.uint32();
|
|
3128
|
+
switch (tag >>> 3) {
|
|
3129
|
+
case 1:
|
|
3130
|
+
message.approve = $root.flyteidl.core.ApproveCondition.decode(reader, reader.uint32());
|
|
3131
|
+
break;
|
|
3132
|
+
case 2:
|
|
3133
|
+
message.signal = $root.flyteidl.core.SignalCondition.decode(reader, reader.uint32());
|
|
3134
|
+
break;
|
|
3135
|
+
case 3:
|
|
3136
|
+
message.sleep = $root.flyteidl.core.SleepCondition.decode(reader, reader.uint32());
|
|
3137
|
+
break;
|
|
3138
|
+
default:
|
|
3139
|
+
reader.skipType(tag & 7);
|
|
3140
|
+
break;
|
|
3141
|
+
}
|
|
3142
|
+
}
|
|
3143
|
+
return message;
|
|
3144
|
+
};
|
|
3145
|
+
|
|
3146
|
+
/**
|
|
3147
|
+
* Verifies a GateNode message.
|
|
3148
|
+
* @function verify
|
|
3149
|
+
* @memberof flyteidl.core.GateNode
|
|
3150
|
+
* @static
|
|
3151
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
3152
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
3153
|
+
*/
|
|
3154
|
+
GateNode.verify = function verify(message) {
|
|
3155
|
+
if (typeof message !== "object" || message === null)
|
|
3156
|
+
return "object expected";
|
|
3157
|
+
let properties = {};
|
|
3158
|
+
if (message.approve != null && message.hasOwnProperty("approve")) {
|
|
3159
|
+
properties.condition = 1;
|
|
3160
|
+
{
|
|
3161
|
+
let error = $root.flyteidl.core.ApproveCondition.verify(message.approve);
|
|
3162
|
+
if (error)
|
|
3163
|
+
return "approve." + error;
|
|
3164
|
+
}
|
|
3165
|
+
}
|
|
3166
|
+
if (message.signal != null && message.hasOwnProperty("signal")) {
|
|
3167
|
+
if (properties.condition === 1)
|
|
3168
|
+
return "condition: multiple values";
|
|
3169
|
+
properties.condition = 1;
|
|
3170
|
+
{
|
|
3171
|
+
let error = $root.flyteidl.core.SignalCondition.verify(message.signal);
|
|
3172
|
+
if (error)
|
|
3173
|
+
return "signal." + error;
|
|
3174
|
+
}
|
|
3175
|
+
}
|
|
3176
|
+
if (message.sleep != null && message.hasOwnProperty("sleep")) {
|
|
3177
|
+
if (properties.condition === 1)
|
|
3178
|
+
return "condition: multiple values";
|
|
3179
|
+
properties.condition = 1;
|
|
3180
|
+
{
|
|
3181
|
+
let error = $root.flyteidl.core.SleepCondition.verify(message.sleep);
|
|
3182
|
+
if (error)
|
|
3183
|
+
return "sleep." + error;
|
|
3184
|
+
}
|
|
3185
|
+
}
|
|
3186
|
+
return null;
|
|
3187
|
+
};
|
|
3188
|
+
|
|
3189
|
+
return GateNode;
|
|
3190
|
+
})();
|
|
3191
|
+
|
|
2517
3192
|
core.NodeMetadata = (function() {
|
|
2518
3193
|
|
|
2519
3194
|
/**
|
|
@@ -2837,6 +3512,7 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
2837
3512
|
* @property {flyteidl.core.ITaskNode|null} [taskNode] Node taskNode
|
|
2838
3513
|
* @property {flyteidl.core.IWorkflowNode|null} [workflowNode] Node workflowNode
|
|
2839
3514
|
* @property {flyteidl.core.IBranchNode|null} [branchNode] Node branchNode
|
|
3515
|
+
* @property {flyteidl.core.IGateNode|null} [gateNode] Node gateNode
|
|
2840
3516
|
*/
|
|
2841
3517
|
|
|
2842
3518
|
/**
|
|
@@ -2921,17 +3597,25 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
2921
3597
|
*/
|
|
2922
3598
|
Node.prototype.branchNode = null;
|
|
2923
3599
|
|
|
3600
|
+
/**
|
|
3601
|
+
* Node gateNode.
|
|
3602
|
+
* @member {flyteidl.core.IGateNode|null|undefined} gateNode
|
|
3603
|
+
* @memberof flyteidl.core.Node
|
|
3604
|
+
* @instance
|
|
3605
|
+
*/
|
|
3606
|
+
Node.prototype.gateNode = null;
|
|
3607
|
+
|
|
2924
3608
|
// OneOf field names bound to virtual getters and setters
|
|
2925
3609
|
let $oneOfFields;
|
|
2926
3610
|
|
|
2927
3611
|
/**
|
|
2928
3612
|
* Node target.
|
|
2929
|
-
* @member {"taskNode"|"workflowNode"|"branchNode"|undefined} target
|
|
3613
|
+
* @member {"taskNode"|"workflowNode"|"branchNode"|"gateNode"|undefined} target
|
|
2930
3614
|
* @memberof flyteidl.core.Node
|
|
2931
3615
|
* @instance
|
|
2932
3616
|
*/
|
|
2933
3617
|
Object.defineProperty(Node.prototype, "target", {
|
|
2934
|
-
get: $util.oneOfGetter($oneOfFields = ["taskNode", "workflowNode", "branchNode"]),
|
|
3618
|
+
get: $util.oneOfGetter($oneOfFields = ["taskNode", "workflowNode", "branchNode", "gateNode"]),
|
|
2935
3619
|
set: $util.oneOfSetter($oneOfFields)
|
|
2936
3620
|
});
|
|
2937
3621
|
|
|
@@ -2978,6 +3662,8 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
2978
3662
|
$root.flyteidl.core.WorkflowNode.encode(message.workflowNode, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
|
|
2979
3663
|
if (message.branchNode != null && message.hasOwnProperty("branchNode"))
|
|
2980
3664
|
$root.flyteidl.core.BranchNode.encode(message.branchNode, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
|
|
3665
|
+
if (message.gateNode != null && message.hasOwnProperty("gateNode"))
|
|
3666
|
+
$root.flyteidl.core.GateNode.encode(message.gateNode, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
|
|
2981
3667
|
return writer;
|
|
2982
3668
|
};
|
|
2983
3669
|
|
|
@@ -3029,6 +3715,9 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
3029
3715
|
case 8:
|
|
3030
3716
|
message.branchNode = $root.flyteidl.core.BranchNode.decode(reader, reader.uint32());
|
|
3031
3717
|
break;
|
|
3718
|
+
case 9:
|
|
3719
|
+
message.gateNode = $root.flyteidl.core.GateNode.decode(reader, reader.uint32());
|
|
3720
|
+
break;
|
|
3032
3721
|
default:
|
|
3033
3722
|
reader.skipType(tag & 7);
|
|
3034
3723
|
break;
|
|
@@ -3110,6 +3799,16 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
3110
3799
|
return "branchNode." + error;
|
|
3111
3800
|
}
|
|
3112
3801
|
}
|
|
3802
|
+
if (message.gateNode != null && message.hasOwnProperty("gateNode")) {
|
|
3803
|
+
if (properties.target === 1)
|
|
3804
|
+
return "target: multiple values";
|
|
3805
|
+
properties.target = 1;
|
|
3806
|
+
{
|
|
3807
|
+
let error = $root.flyteidl.core.GateNode.verify(message.gateNode);
|
|
3808
|
+
if (error)
|
|
3809
|
+
return "gateNode." + error;
|
|
3810
|
+
}
|
|
3811
|
+
}
|
|
3113
3812
|
return null;
|
|
3114
3813
|
};
|
|
3115
3814
|
|
|
@@ -33808,6 +34507,830 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
33808
34507
|
return ProjectDomainAttributesDeleteResponse;
|
|
33809
34508
|
})();
|
|
33810
34509
|
|
|
34510
|
+
admin.SignalGetOrCreateRequest = (function() {
|
|
34511
|
+
|
|
34512
|
+
/**
|
|
34513
|
+
* Properties of a SignalGetOrCreateRequest.
|
|
34514
|
+
* @memberof flyteidl.admin
|
|
34515
|
+
* @interface ISignalGetOrCreateRequest
|
|
34516
|
+
* @property {flyteidl.core.ISignalIdentifier|null} [id] SignalGetOrCreateRequest id
|
|
34517
|
+
* @property {flyteidl.core.ILiteralType|null} [type] SignalGetOrCreateRequest type
|
|
34518
|
+
*/
|
|
34519
|
+
|
|
34520
|
+
/**
|
|
34521
|
+
* Constructs a new SignalGetOrCreateRequest.
|
|
34522
|
+
* @memberof flyteidl.admin
|
|
34523
|
+
* @classdesc Represents a SignalGetOrCreateRequest.
|
|
34524
|
+
* @implements ISignalGetOrCreateRequest
|
|
34525
|
+
* @constructor
|
|
34526
|
+
* @param {flyteidl.admin.ISignalGetOrCreateRequest=} [properties] Properties to set
|
|
34527
|
+
*/
|
|
34528
|
+
function SignalGetOrCreateRequest(properties) {
|
|
34529
|
+
if (properties)
|
|
34530
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
34531
|
+
if (properties[keys[i]] != null)
|
|
34532
|
+
this[keys[i]] = properties[keys[i]];
|
|
34533
|
+
}
|
|
34534
|
+
|
|
34535
|
+
/**
|
|
34536
|
+
* SignalGetOrCreateRequest id.
|
|
34537
|
+
* @member {flyteidl.core.ISignalIdentifier|null|undefined} id
|
|
34538
|
+
* @memberof flyteidl.admin.SignalGetOrCreateRequest
|
|
34539
|
+
* @instance
|
|
34540
|
+
*/
|
|
34541
|
+
SignalGetOrCreateRequest.prototype.id = null;
|
|
34542
|
+
|
|
34543
|
+
/**
|
|
34544
|
+
* SignalGetOrCreateRequest type.
|
|
34545
|
+
* @member {flyteidl.core.ILiteralType|null|undefined} type
|
|
34546
|
+
* @memberof flyteidl.admin.SignalGetOrCreateRequest
|
|
34547
|
+
* @instance
|
|
34548
|
+
*/
|
|
34549
|
+
SignalGetOrCreateRequest.prototype.type = null;
|
|
34550
|
+
|
|
34551
|
+
/**
|
|
34552
|
+
* Creates a new SignalGetOrCreateRequest instance using the specified properties.
|
|
34553
|
+
* @function create
|
|
34554
|
+
* @memberof flyteidl.admin.SignalGetOrCreateRequest
|
|
34555
|
+
* @static
|
|
34556
|
+
* @param {flyteidl.admin.ISignalGetOrCreateRequest=} [properties] Properties to set
|
|
34557
|
+
* @returns {flyteidl.admin.SignalGetOrCreateRequest} SignalGetOrCreateRequest instance
|
|
34558
|
+
*/
|
|
34559
|
+
SignalGetOrCreateRequest.create = function create(properties) {
|
|
34560
|
+
return new SignalGetOrCreateRequest(properties);
|
|
34561
|
+
};
|
|
34562
|
+
|
|
34563
|
+
/**
|
|
34564
|
+
* Encodes the specified SignalGetOrCreateRequest message. Does not implicitly {@link flyteidl.admin.SignalGetOrCreateRequest.verify|verify} messages.
|
|
34565
|
+
* @function encode
|
|
34566
|
+
* @memberof flyteidl.admin.SignalGetOrCreateRequest
|
|
34567
|
+
* @static
|
|
34568
|
+
* @param {flyteidl.admin.ISignalGetOrCreateRequest} message SignalGetOrCreateRequest message or plain object to encode
|
|
34569
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
34570
|
+
* @returns {$protobuf.Writer} Writer
|
|
34571
|
+
*/
|
|
34572
|
+
SignalGetOrCreateRequest.encode = function encode(message, writer) {
|
|
34573
|
+
if (!writer)
|
|
34574
|
+
writer = $Writer.create();
|
|
34575
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
34576
|
+
$root.flyteidl.core.SignalIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
34577
|
+
if (message.type != null && message.hasOwnProperty("type"))
|
|
34578
|
+
$root.flyteidl.core.LiteralType.encode(message.type, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
34579
|
+
return writer;
|
|
34580
|
+
};
|
|
34581
|
+
|
|
34582
|
+
/**
|
|
34583
|
+
* Decodes a SignalGetOrCreateRequest message from the specified reader or buffer.
|
|
34584
|
+
* @function decode
|
|
34585
|
+
* @memberof flyteidl.admin.SignalGetOrCreateRequest
|
|
34586
|
+
* @static
|
|
34587
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
34588
|
+
* @param {number} [length] Message length if known beforehand
|
|
34589
|
+
* @returns {flyteidl.admin.SignalGetOrCreateRequest} SignalGetOrCreateRequest
|
|
34590
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34591
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34592
|
+
*/
|
|
34593
|
+
SignalGetOrCreateRequest.decode = function decode(reader, length) {
|
|
34594
|
+
if (!(reader instanceof $Reader))
|
|
34595
|
+
reader = $Reader.create(reader);
|
|
34596
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.SignalGetOrCreateRequest();
|
|
34597
|
+
while (reader.pos < end) {
|
|
34598
|
+
let tag = reader.uint32();
|
|
34599
|
+
switch (tag >>> 3) {
|
|
34600
|
+
case 1:
|
|
34601
|
+
message.id = $root.flyteidl.core.SignalIdentifier.decode(reader, reader.uint32());
|
|
34602
|
+
break;
|
|
34603
|
+
case 2:
|
|
34604
|
+
message.type = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32());
|
|
34605
|
+
break;
|
|
34606
|
+
default:
|
|
34607
|
+
reader.skipType(tag & 7);
|
|
34608
|
+
break;
|
|
34609
|
+
}
|
|
34610
|
+
}
|
|
34611
|
+
return message;
|
|
34612
|
+
};
|
|
34613
|
+
|
|
34614
|
+
/**
|
|
34615
|
+
* Verifies a SignalGetOrCreateRequest message.
|
|
34616
|
+
* @function verify
|
|
34617
|
+
* @memberof flyteidl.admin.SignalGetOrCreateRequest
|
|
34618
|
+
* @static
|
|
34619
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
34620
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
34621
|
+
*/
|
|
34622
|
+
SignalGetOrCreateRequest.verify = function verify(message) {
|
|
34623
|
+
if (typeof message !== "object" || message === null)
|
|
34624
|
+
return "object expected";
|
|
34625
|
+
if (message.id != null && message.hasOwnProperty("id")) {
|
|
34626
|
+
let error = $root.flyteidl.core.SignalIdentifier.verify(message.id);
|
|
34627
|
+
if (error)
|
|
34628
|
+
return "id." + error;
|
|
34629
|
+
}
|
|
34630
|
+
if (message.type != null && message.hasOwnProperty("type")) {
|
|
34631
|
+
let error = $root.flyteidl.core.LiteralType.verify(message.type);
|
|
34632
|
+
if (error)
|
|
34633
|
+
return "type." + error;
|
|
34634
|
+
}
|
|
34635
|
+
return null;
|
|
34636
|
+
};
|
|
34637
|
+
|
|
34638
|
+
return SignalGetOrCreateRequest;
|
|
34639
|
+
})();
|
|
34640
|
+
|
|
34641
|
+
admin.SignalListRequest = (function() {
|
|
34642
|
+
|
|
34643
|
+
/**
|
|
34644
|
+
* Properties of a SignalListRequest.
|
|
34645
|
+
* @memberof flyteidl.admin
|
|
34646
|
+
* @interface ISignalListRequest
|
|
34647
|
+
* @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [workflowExecutionId] SignalListRequest workflowExecutionId
|
|
34648
|
+
* @property {number|null} [limit] SignalListRequest limit
|
|
34649
|
+
* @property {string|null} [token] SignalListRequest token
|
|
34650
|
+
* @property {string|null} [filters] SignalListRequest filters
|
|
34651
|
+
* @property {flyteidl.admin.ISort|null} [sortBy] SignalListRequest sortBy
|
|
34652
|
+
*/
|
|
34653
|
+
|
|
34654
|
+
/**
|
|
34655
|
+
* Constructs a new SignalListRequest.
|
|
34656
|
+
* @memberof flyteidl.admin
|
|
34657
|
+
* @classdesc Represents a SignalListRequest.
|
|
34658
|
+
* @implements ISignalListRequest
|
|
34659
|
+
* @constructor
|
|
34660
|
+
* @param {flyteidl.admin.ISignalListRequest=} [properties] Properties to set
|
|
34661
|
+
*/
|
|
34662
|
+
function SignalListRequest(properties) {
|
|
34663
|
+
if (properties)
|
|
34664
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
34665
|
+
if (properties[keys[i]] != null)
|
|
34666
|
+
this[keys[i]] = properties[keys[i]];
|
|
34667
|
+
}
|
|
34668
|
+
|
|
34669
|
+
/**
|
|
34670
|
+
* SignalListRequest workflowExecutionId.
|
|
34671
|
+
* @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} workflowExecutionId
|
|
34672
|
+
* @memberof flyteidl.admin.SignalListRequest
|
|
34673
|
+
* @instance
|
|
34674
|
+
*/
|
|
34675
|
+
SignalListRequest.prototype.workflowExecutionId = null;
|
|
34676
|
+
|
|
34677
|
+
/**
|
|
34678
|
+
* SignalListRequest limit.
|
|
34679
|
+
* @member {number} limit
|
|
34680
|
+
* @memberof flyteidl.admin.SignalListRequest
|
|
34681
|
+
* @instance
|
|
34682
|
+
*/
|
|
34683
|
+
SignalListRequest.prototype.limit = 0;
|
|
34684
|
+
|
|
34685
|
+
/**
|
|
34686
|
+
* SignalListRequest token.
|
|
34687
|
+
* @member {string} token
|
|
34688
|
+
* @memberof flyteidl.admin.SignalListRequest
|
|
34689
|
+
* @instance
|
|
34690
|
+
*/
|
|
34691
|
+
SignalListRequest.prototype.token = "";
|
|
34692
|
+
|
|
34693
|
+
/**
|
|
34694
|
+
* SignalListRequest filters.
|
|
34695
|
+
* @member {string} filters
|
|
34696
|
+
* @memberof flyteidl.admin.SignalListRequest
|
|
34697
|
+
* @instance
|
|
34698
|
+
*/
|
|
34699
|
+
SignalListRequest.prototype.filters = "";
|
|
34700
|
+
|
|
34701
|
+
/**
|
|
34702
|
+
* SignalListRequest sortBy.
|
|
34703
|
+
* @member {flyteidl.admin.ISort|null|undefined} sortBy
|
|
34704
|
+
* @memberof flyteidl.admin.SignalListRequest
|
|
34705
|
+
* @instance
|
|
34706
|
+
*/
|
|
34707
|
+
SignalListRequest.prototype.sortBy = null;
|
|
34708
|
+
|
|
34709
|
+
/**
|
|
34710
|
+
* Creates a new SignalListRequest instance using the specified properties.
|
|
34711
|
+
* @function create
|
|
34712
|
+
* @memberof flyteidl.admin.SignalListRequest
|
|
34713
|
+
* @static
|
|
34714
|
+
* @param {flyteidl.admin.ISignalListRequest=} [properties] Properties to set
|
|
34715
|
+
* @returns {flyteidl.admin.SignalListRequest} SignalListRequest instance
|
|
34716
|
+
*/
|
|
34717
|
+
SignalListRequest.create = function create(properties) {
|
|
34718
|
+
return new SignalListRequest(properties);
|
|
34719
|
+
};
|
|
34720
|
+
|
|
34721
|
+
/**
|
|
34722
|
+
* Encodes the specified SignalListRequest message. Does not implicitly {@link flyteidl.admin.SignalListRequest.verify|verify} messages.
|
|
34723
|
+
* @function encode
|
|
34724
|
+
* @memberof flyteidl.admin.SignalListRequest
|
|
34725
|
+
* @static
|
|
34726
|
+
* @param {flyteidl.admin.ISignalListRequest} message SignalListRequest message or plain object to encode
|
|
34727
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
34728
|
+
* @returns {$protobuf.Writer} Writer
|
|
34729
|
+
*/
|
|
34730
|
+
SignalListRequest.encode = function encode(message, writer) {
|
|
34731
|
+
if (!writer)
|
|
34732
|
+
writer = $Writer.create();
|
|
34733
|
+
if (message.workflowExecutionId != null && message.hasOwnProperty("workflowExecutionId"))
|
|
34734
|
+
$root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.workflowExecutionId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
34735
|
+
if (message.limit != null && message.hasOwnProperty("limit"))
|
|
34736
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.limit);
|
|
34737
|
+
if (message.token != null && message.hasOwnProperty("token"))
|
|
34738
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.token);
|
|
34739
|
+
if (message.filters != null && message.hasOwnProperty("filters"))
|
|
34740
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.filters);
|
|
34741
|
+
if (message.sortBy != null && message.hasOwnProperty("sortBy"))
|
|
34742
|
+
$root.flyteidl.admin.Sort.encode(message.sortBy, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
34743
|
+
return writer;
|
|
34744
|
+
};
|
|
34745
|
+
|
|
34746
|
+
/**
|
|
34747
|
+
* Decodes a SignalListRequest message from the specified reader or buffer.
|
|
34748
|
+
* @function decode
|
|
34749
|
+
* @memberof flyteidl.admin.SignalListRequest
|
|
34750
|
+
* @static
|
|
34751
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
34752
|
+
* @param {number} [length] Message length if known beforehand
|
|
34753
|
+
* @returns {flyteidl.admin.SignalListRequest} SignalListRequest
|
|
34754
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34755
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34756
|
+
*/
|
|
34757
|
+
SignalListRequest.decode = function decode(reader, length) {
|
|
34758
|
+
if (!(reader instanceof $Reader))
|
|
34759
|
+
reader = $Reader.create(reader);
|
|
34760
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.SignalListRequest();
|
|
34761
|
+
while (reader.pos < end) {
|
|
34762
|
+
let tag = reader.uint32();
|
|
34763
|
+
switch (tag >>> 3) {
|
|
34764
|
+
case 1:
|
|
34765
|
+
message.workflowExecutionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32());
|
|
34766
|
+
break;
|
|
34767
|
+
case 2:
|
|
34768
|
+
message.limit = reader.uint32();
|
|
34769
|
+
break;
|
|
34770
|
+
case 3:
|
|
34771
|
+
message.token = reader.string();
|
|
34772
|
+
break;
|
|
34773
|
+
case 4:
|
|
34774
|
+
message.filters = reader.string();
|
|
34775
|
+
break;
|
|
34776
|
+
case 5:
|
|
34777
|
+
message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32());
|
|
34778
|
+
break;
|
|
34779
|
+
default:
|
|
34780
|
+
reader.skipType(tag & 7);
|
|
34781
|
+
break;
|
|
34782
|
+
}
|
|
34783
|
+
}
|
|
34784
|
+
return message;
|
|
34785
|
+
};
|
|
34786
|
+
|
|
34787
|
+
/**
|
|
34788
|
+
* Verifies a SignalListRequest message.
|
|
34789
|
+
* @function verify
|
|
34790
|
+
* @memberof flyteidl.admin.SignalListRequest
|
|
34791
|
+
* @static
|
|
34792
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
34793
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
34794
|
+
*/
|
|
34795
|
+
SignalListRequest.verify = function verify(message) {
|
|
34796
|
+
if (typeof message !== "object" || message === null)
|
|
34797
|
+
return "object expected";
|
|
34798
|
+
if (message.workflowExecutionId != null && message.hasOwnProperty("workflowExecutionId")) {
|
|
34799
|
+
let error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.workflowExecutionId);
|
|
34800
|
+
if (error)
|
|
34801
|
+
return "workflowExecutionId." + error;
|
|
34802
|
+
}
|
|
34803
|
+
if (message.limit != null && message.hasOwnProperty("limit"))
|
|
34804
|
+
if (!$util.isInteger(message.limit))
|
|
34805
|
+
return "limit: integer expected";
|
|
34806
|
+
if (message.token != null && message.hasOwnProperty("token"))
|
|
34807
|
+
if (!$util.isString(message.token))
|
|
34808
|
+
return "token: string expected";
|
|
34809
|
+
if (message.filters != null && message.hasOwnProperty("filters"))
|
|
34810
|
+
if (!$util.isString(message.filters))
|
|
34811
|
+
return "filters: string expected";
|
|
34812
|
+
if (message.sortBy != null && message.hasOwnProperty("sortBy")) {
|
|
34813
|
+
let error = $root.flyteidl.admin.Sort.verify(message.sortBy);
|
|
34814
|
+
if (error)
|
|
34815
|
+
return "sortBy." + error;
|
|
34816
|
+
}
|
|
34817
|
+
return null;
|
|
34818
|
+
};
|
|
34819
|
+
|
|
34820
|
+
return SignalListRequest;
|
|
34821
|
+
})();
|
|
34822
|
+
|
|
34823
|
+
admin.SignalList = (function() {
|
|
34824
|
+
|
|
34825
|
+
/**
|
|
34826
|
+
* Properties of a SignalList.
|
|
34827
|
+
* @memberof flyteidl.admin
|
|
34828
|
+
* @interface ISignalList
|
|
34829
|
+
* @property {Array.<flyteidl.admin.ISignal>|null} [signals] SignalList signals
|
|
34830
|
+
* @property {string|null} [token] SignalList token
|
|
34831
|
+
*/
|
|
34832
|
+
|
|
34833
|
+
/**
|
|
34834
|
+
* Constructs a new SignalList.
|
|
34835
|
+
* @memberof flyteidl.admin
|
|
34836
|
+
* @classdesc Represents a SignalList.
|
|
34837
|
+
* @implements ISignalList
|
|
34838
|
+
* @constructor
|
|
34839
|
+
* @param {flyteidl.admin.ISignalList=} [properties] Properties to set
|
|
34840
|
+
*/
|
|
34841
|
+
function SignalList(properties) {
|
|
34842
|
+
this.signals = [];
|
|
34843
|
+
if (properties)
|
|
34844
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
34845
|
+
if (properties[keys[i]] != null)
|
|
34846
|
+
this[keys[i]] = properties[keys[i]];
|
|
34847
|
+
}
|
|
34848
|
+
|
|
34849
|
+
/**
|
|
34850
|
+
* SignalList signals.
|
|
34851
|
+
* @member {Array.<flyteidl.admin.ISignal>} signals
|
|
34852
|
+
* @memberof flyteidl.admin.SignalList
|
|
34853
|
+
* @instance
|
|
34854
|
+
*/
|
|
34855
|
+
SignalList.prototype.signals = $util.emptyArray;
|
|
34856
|
+
|
|
34857
|
+
/**
|
|
34858
|
+
* SignalList token.
|
|
34859
|
+
* @member {string} token
|
|
34860
|
+
* @memberof flyteidl.admin.SignalList
|
|
34861
|
+
* @instance
|
|
34862
|
+
*/
|
|
34863
|
+
SignalList.prototype.token = "";
|
|
34864
|
+
|
|
34865
|
+
/**
|
|
34866
|
+
* Creates a new SignalList instance using the specified properties.
|
|
34867
|
+
* @function create
|
|
34868
|
+
* @memberof flyteidl.admin.SignalList
|
|
34869
|
+
* @static
|
|
34870
|
+
* @param {flyteidl.admin.ISignalList=} [properties] Properties to set
|
|
34871
|
+
* @returns {flyteidl.admin.SignalList} SignalList instance
|
|
34872
|
+
*/
|
|
34873
|
+
SignalList.create = function create(properties) {
|
|
34874
|
+
return new SignalList(properties);
|
|
34875
|
+
};
|
|
34876
|
+
|
|
34877
|
+
/**
|
|
34878
|
+
* Encodes the specified SignalList message. Does not implicitly {@link flyteidl.admin.SignalList.verify|verify} messages.
|
|
34879
|
+
* @function encode
|
|
34880
|
+
* @memberof flyteidl.admin.SignalList
|
|
34881
|
+
* @static
|
|
34882
|
+
* @param {flyteidl.admin.ISignalList} message SignalList message or plain object to encode
|
|
34883
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
34884
|
+
* @returns {$protobuf.Writer} Writer
|
|
34885
|
+
*/
|
|
34886
|
+
SignalList.encode = function encode(message, writer) {
|
|
34887
|
+
if (!writer)
|
|
34888
|
+
writer = $Writer.create();
|
|
34889
|
+
if (message.signals != null && message.signals.length)
|
|
34890
|
+
for (let i = 0; i < message.signals.length; ++i)
|
|
34891
|
+
$root.flyteidl.admin.Signal.encode(message.signals[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
34892
|
+
if (message.token != null && message.hasOwnProperty("token"))
|
|
34893
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.token);
|
|
34894
|
+
return writer;
|
|
34895
|
+
};
|
|
34896
|
+
|
|
34897
|
+
/**
|
|
34898
|
+
* Decodes a SignalList message from the specified reader or buffer.
|
|
34899
|
+
* @function decode
|
|
34900
|
+
* @memberof flyteidl.admin.SignalList
|
|
34901
|
+
* @static
|
|
34902
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
34903
|
+
* @param {number} [length] Message length if known beforehand
|
|
34904
|
+
* @returns {flyteidl.admin.SignalList} SignalList
|
|
34905
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34906
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34907
|
+
*/
|
|
34908
|
+
SignalList.decode = function decode(reader, length) {
|
|
34909
|
+
if (!(reader instanceof $Reader))
|
|
34910
|
+
reader = $Reader.create(reader);
|
|
34911
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.SignalList();
|
|
34912
|
+
while (reader.pos < end) {
|
|
34913
|
+
let tag = reader.uint32();
|
|
34914
|
+
switch (tag >>> 3) {
|
|
34915
|
+
case 1:
|
|
34916
|
+
if (!(message.signals && message.signals.length))
|
|
34917
|
+
message.signals = [];
|
|
34918
|
+
message.signals.push($root.flyteidl.admin.Signal.decode(reader, reader.uint32()));
|
|
34919
|
+
break;
|
|
34920
|
+
case 2:
|
|
34921
|
+
message.token = reader.string();
|
|
34922
|
+
break;
|
|
34923
|
+
default:
|
|
34924
|
+
reader.skipType(tag & 7);
|
|
34925
|
+
break;
|
|
34926
|
+
}
|
|
34927
|
+
}
|
|
34928
|
+
return message;
|
|
34929
|
+
};
|
|
34930
|
+
|
|
34931
|
+
/**
|
|
34932
|
+
* Verifies a SignalList message.
|
|
34933
|
+
* @function verify
|
|
34934
|
+
* @memberof flyteidl.admin.SignalList
|
|
34935
|
+
* @static
|
|
34936
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
34937
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
34938
|
+
*/
|
|
34939
|
+
SignalList.verify = function verify(message) {
|
|
34940
|
+
if (typeof message !== "object" || message === null)
|
|
34941
|
+
return "object expected";
|
|
34942
|
+
if (message.signals != null && message.hasOwnProperty("signals")) {
|
|
34943
|
+
if (!Array.isArray(message.signals))
|
|
34944
|
+
return "signals: array expected";
|
|
34945
|
+
for (let i = 0; i < message.signals.length; ++i) {
|
|
34946
|
+
let error = $root.flyteidl.admin.Signal.verify(message.signals[i]);
|
|
34947
|
+
if (error)
|
|
34948
|
+
return "signals." + error;
|
|
34949
|
+
}
|
|
34950
|
+
}
|
|
34951
|
+
if (message.token != null && message.hasOwnProperty("token"))
|
|
34952
|
+
if (!$util.isString(message.token))
|
|
34953
|
+
return "token: string expected";
|
|
34954
|
+
return null;
|
|
34955
|
+
};
|
|
34956
|
+
|
|
34957
|
+
return SignalList;
|
|
34958
|
+
})();
|
|
34959
|
+
|
|
34960
|
+
admin.SignalSetRequest = (function() {
|
|
34961
|
+
|
|
34962
|
+
/**
|
|
34963
|
+
* Properties of a SignalSetRequest.
|
|
34964
|
+
* @memberof flyteidl.admin
|
|
34965
|
+
* @interface ISignalSetRequest
|
|
34966
|
+
* @property {flyteidl.core.ISignalIdentifier|null} [id] SignalSetRequest id
|
|
34967
|
+
* @property {flyteidl.core.ILiteral|null} [value] SignalSetRequest value
|
|
34968
|
+
*/
|
|
34969
|
+
|
|
34970
|
+
/**
|
|
34971
|
+
* Constructs a new SignalSetRequest.
|
|
34972
|
+
* @memberof flyteidl.admin
|
|
34973
|
+
* @classdesc Represents a SignalSetRequest.
|
|
34974
|
+
* @implements ISignalSetRequest
|
|
34975
|
+
* @constructor
|
|
34976
|
+
* @param {flyteidl.admin.ISignalSetRequest=} [properties] Properties to set
|
|
34977
|
+
*/
|
|
34978
|
+
function SignalSetRequest(properties) {
|
|
34979
|
+
if (properties)
|
|
34980
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
34981
|
+
if (properties[keys[i]] != null)
|
|
34982
|
+
this[keys[i]] = properties[keys[i]];
|
|
34983
|
+
}
|
|
34984
|
+
|
|
34985
|
+
/**
|
|
34986
|
+
* SignalSetRequest id.
|
|
34987
|
+
* @member {flyteidl.core.ISignalIdentifier|null|undefined} id
|
|
34988
|
+
* @memberof flyteidl.admin.SignalSetRequest
|
|
34989
|
+
* @instance
|
|
34990
|
+
*/
|
|
34991
|
+
SignalSetRequest.prototype.id = null;
|
|
34992
|
+
|
|
34993
|
+
/**
|
|
34994
|
+
* SignalSetRequest value.
|
|
34995
|
+
* @member {flyteidl.core.ILiteral|null|undefined} value
|
|
34996
|
+
* @memberof flyteidl.admin.SignalSetRequest
|
|
34997
|
+
* @instance
|
|
34998
|
+
*/
|
|
34999
|
+
SignalSetRequest.prototype.value = null;
|
|
35000
|
+
|
|
35001
|
+
/**
|
|
35002
|
+
* Creates a new SignalSetRequest instance using the specified properties.
|
|
35003
|
+
* @function create
|
|
35004
|
+
* @memberof flyteidl.admin.SignalSetRequest
|
|
35005
|
+
* @static
|
|
35006
|
+
* @param {flyteidl.admin.ISignalSetRequest=} [properties] Properties to set
|
|
35007
|
+
* @returns {flyteidl.admin.SignalSetRequest} SignalSetRequest instance
|
|
35008
|
+
*/
|
|
35009
|
+
SignalSetRequest.create = function create(properties) {
|
|
35010
|
+
return new SignalSetRequest(properties);
|
|
35011
|
+
};
|
|
35012
|
+
|
|
35013
|
+
/**
|
|
35014
|
+
* Encodes the specified SignalSetRequest message. Does not implicitly {@link flyteidl.admin.SignalSetRequest.verify|verify} messages.
|
|
35015
|
+
* @function encode
|
|
35016
|
+
* @memberof flyteidl.admin.SignalSetRequest
|
|
35017
|
+
* @static
|
|
35018
|
+
* @param {flyteidl.admin.ISignalSetRequest} message SignalSetRequest message or plain object to encode
|
|
35019
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
35020
|
+
* @returns {$protobuf.Writer} Writer
|
|
35021
|
+
*/
|
|
35022
|
+
SignalSetRequest.encode = function encode(message, writer) {
|
|
35023
|
+
if (!writer)
|
|
35024
|
+
writer = $Writer.create();
|
|
35025
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
35026
|
+
$root.flyteidl.core.SignalIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
35027
|
+
if (message.value != null && message.hasOwnProperty("value"))
|
|
35028
|
+
$root.flyteidl.core.Literal.encode(message.value, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
35029
|
+
return writer;
|
|
35030
|
+
};
|
|
35031
|
+
|
|
35032
|
+
/**
|
|
35033
|
+
* Decodes a SignalSetRequest message from the specified reader or buffer.
|
|
35034
|
+
* @function decode
|
|
35035
|
+
* @memberof flyteidl.admin.SignalSetRequest
|
|
35036
|
+
* @static
|
|
35037
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
35038
|
+
* @param {number} [length] Message length if known beforehand
|
|
35039
|
+
* @returns {flyteidl.admin.SignalSetRequest} SignalSetRequest
|
|
35040
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35041
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35042
|
+
*/
|
|
35043
|
+
SignalSetRequest.decode = function decode(reader, length) {
|
|
35044
|
+
if (!(reader instanceof $Reader))
|
|
35045
|
+
reader = $Reader.create(reader);
|
|
35046
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.SignalSetRequest();
|
|
35047
|
+
while (reader.pos < end) {
|
|
35048
|
+
let tag = reader.uint32();
|
|
35049
|
+
switch (tag >>> 3) {
|
|
35050
|
+
case 1:
|
|
35051
|
+
message.id = $root.flyteidl.core.SignalIdentifier.decode(reader, reader.uint32());
|
|
35052
|
+
break;
|
|
35053
|
+
case 2:
|
|
35054
|
+
message.value = $root.flyteidl.core.Literal.decode(reader, reader.uint32());
|
|
35055
|
+
break;
|
|
35056
|
+
default:
|
|
35057
|
+
reader.skipType(tag & 7);
|
|
35058
|
+
break;
|
|
35059
|
+
}
|
|
35060
|
+
}
|
|
35061
|
+
return message;
|
|
35062
|
+
};
|
|
35063
|
+
|
|
35064
|
+
/**
|
|
35065
|
+
* Verifies a SignalSetRequest message.
|
|
35066
|
+
* @function verify
|
|
35067
|
+
* @memberof flyteidl.admin.SignalSetRequest
|
|
35068
|
+
* @static
|
|
35069
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
35070
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
35071
|
+
*/
|
|
35072
|
+
SignalSetRequest.verify = function verify(message) {
|
|
35073
|
+
if (typeof message !== "object" || message === null)
|
|
35074
|
+
return "object expected";
|
|
35075
|
+
if (message.id != null && message.hasOwnProperty("id")) {
|
|
35076
|
+
let error = $root.flyteidl.core.SignalIdentifier.verify(message.id);
|
|
35077
|
+
if (error)
|
|
35078
|
+
return "id." + error;
|
|
35079
|
+
}
|
|
35080
|
+
if (message.value != null && message.hasOwnProperty("value")) {
|
|
35081
|
+
let error = $root.flyteidl.core.Literal.verify(message.value);
|
|
35082
|
+
if (error)
|
|
35083
|
+
return "value." + error;
|
|
35084
|
+
}
|
|
35085
|
+
return null;
|
|
35086
|
+
};
|
|
35087
|
+
|
|
35088
|
+
return SignalSetRequest;
|
|
35089
|
+
})();
|
|
35090
|
+
|
|
35091
|
+
admin.SignalSetResponse = (function() {
|
|
35092
|
+
|
|
35093
|
+
/**
|
|
35094
|
+
* Properties of a SignalSetResponse.
|
|
35095
|
+
* @memberof flyteidl.admin
|
|
35096
|
+
* @interface ISignalSetResponse
|
|
35097
|
+
*/
|
|
35098
|
+
|
|
35099
|
+
/**
|
|
35100
|
+
* Constructs a new SignalSetResponse.
|
|
35101
|
+
* @memberof flyteidl.admin
|
|
35102
|
+
* @classdesc Represents a SignalSetResponse.
|
|
35103
|
+
* @implements ISignalSetResponse
|
|
35104
|
+
* @constructor
|
|
35105
|
+
* @param {flyteidl.admin.ISignalSetResponse=} [properties] Properties to set
|
|
35106
|
+
*/
|
|
35107
|
+
function SignalSetResponse(properties) {
|
|
35108
|
+
if (properties)
|
|
35109
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
35110
|
+
if (properties[keys[i]] != null)
|
|
35111
|
+
this[keys[i]] = properties[keys[i]];
|
|
35112
|
+
}
|
|
35113
|
+
|
|
35114
|
+
/**
|
|
35115
|
+
* Creates a new SignalSetResponse instance using the specified properties.
|
|
35116
|
+
* @function create
|
|
35117
|
+
* @memberof flyteidl.admin.SignalSetResponse
|
|
35118
|
+
* @static
|
|
35119
|
+
* @param {flyteidl.admin.ISignalSetResponse=} [properties] Properties to set
|
|
35120
|
+
* @returns {flyteidl.admin.SignalSetResponse} SignalSetResponse instance
|
|
35121
|
+
*/
|
|
35122
|
+
SignalSetResponse.create = function create(properties) {
|
|
35123
|
+
return new SignalSetResponse(properties);
|
|
35124
|
+
};
|
|
35125
|
+
|
|
35126
|
+
/**
|
|
35127
|
+
* Encodes the specified SignalSetResponse message. Does not implicitly {@link flyteidl.admin.SignalSetResponse.verify|verify} messages.
|
|
35128
|
+
* @function encode
|
|
35129
|
+
* @memberof flyteidl.admin.SignalSetResponse
|
|
35130
|
+
* @static
|
|
35131
|
+
* @param {flyteidl.admin.ISignalSetResponse} message SignalSetResponse message or plain object to encode
|
|
35132
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
35133
|
+
* @returns {$protobuf.Writer} Writer
|
|
35134
|
+
*/
|
|
35135
|
+
SignalSetResponse.encode = function encode(message, writer) {
|
|
35136
|
+
if (!writer)
|
|
35137
|
+
writer = $Writer.create();
|
|
35138
|
+
return writer;
|
|
35139
|
+
};
|
|
35140
|
+
|
|
35141
|
+
/**
|
|
35142
|
+
* Decodes a SignalSetResponse message from the specified reader or buffer.
|
|
35143
|
+
* @function decode
|
|
35144
|
+
* @memberof flyteidl.admin.SignalSetResponse
|
|
35145
|
+
* @static
|
|
35146
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
35147
|
+
* @param {number} [length] Message length if known beforehand
|
|
35148
|
+
* @returns {flyteidl.admin.SignalSetResponse} SignalSetResponse
|
|
35149
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35150
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35151
|
+
*/
|
|
35152
|
+
SignalSetResponse.decode = function decode(reader, length) {
|
|
35153
|
+
if (!(reader instanceof $Reader))
|
|
35154
|
+
reader = $Reader.create(reader);
|
|
35155
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.SignalSetResponse();
|
|
35156
|
+
while (reader.pos < end) {
|
|
35157
|
+
let tag = reader.uint32();
|
|
35158
|
+
switch (tag >>> 3) {
|
|
35159
|
+
default:
|
|
35160
|
+
reader.skipType(tag & 7);
|
|
35161
|
+
break;
|
|
35162
|
+
}
|
|
35163
|
+
}
|
|
35164
|
+
return message;
|
|
35165
|
+
};
|
|
35166
|
+
|
|
35167
|
+
/**
|
|
35168
|
+
* Verifies a SignalSetResponse message.
|
|
35169
|
+
* @function verify
|
|
35170
|
+
* @memberof flyteidl.admin.SignalSetResponse
|
|
35171
|
+
* @static
|
|
35172
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
35173
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
35174
|
+
*/
|
|
35175
|
+
SignalSetResponse.verify = function verify(message) {
|
|
35176
|
+
if (typeof message !== "object" || message === null)
|
|
35177
|
+
return "object expected";
|
|
35178
|
+
return null;
|
|
35179
|
+
};
|
|
35180
|
+
|
|
35181
|
+
return SignalSetResponse;
|
|
35182
|
+
})();
|
|
35183
|
+
|
|
35184
|
+
admin.Signal = (function() {
|
|
35185
|
+
|
|
35186
|
+
/**
|
|
35187
|
+
* Properties of a Signal.
|
|
35188
|
+
* @memberof flyteidl.admin
|
|
35189
|
+
* @interface ISignal
|
|
35190
|
+
* @property {flyteidl.core.ISignalIdentifier|null} [id] Signal id
|
|
35191
|
+
* @property {flyteidl.core.ILiteralType|null} [type] Signal type
|
|
35192
|
+
* @property {flyteidl.core.ILiteral|null} [value] Signal value
|
|
35193
|
+
*/
|
|
35194
|
+
|
|
35195
|
+
/**
|
|
35196
|
+
* Constructs a new Signal.
|
|
35197
|
+
* @memberof flyteidl.admin
|
|
35198
|
+
* @classdesc Represents a Signal.
|
|
35199
|
+
* @implements ISignal
|
|
35200
|
+
* @constructor
|
|
35201
|
+
* @param {flyteidl.admin.ISignal=} [properties] Properties to set
|
|
35202
|
+
*/
|
|
35203
|
+
function Signal(properties) {
|
|
35204
|
+
if (properties)
|
|
35205
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
35206
|
+
if (properties[keys[i]] != null)
|
|
35207
|
+
this[keys[i]] = properties[keys[i]];
|
|
35208
|
+
}
|
|
35209
|
+
|
|
35210
|
+
/**
|
|
35211
|
+
* Signal id.
|
|
35212
|
+
* @member {flyteidl.core.ISignalIdentifier|null|undefined} id
|
|
35213
|
+
* @memberof flyteidl.admin.Signal
|
|
35214
|
+
* @instance
|
|
35215
|
+
*/
|
|
35216
|
+
Signal.prototype.id = null;
|
|
35217
|
+
|
|
35218
|
+
/**
|
|
35219
|
+
* Signal type.
|
|
35220
|
+
* @member {flyteidl.core.ILiteralType|null|undefined} type
|
|
35221
|
+
* @memberof flyteidl.admin.Signal
|
|
35222
|
+
* @instance
|
|
35223
|
+
*/
|
|
35224
|
+
Signal.prototype.type = null;
|
|
35225
|
+
|
|
35226
|
+
/**
|
|
35227
|
+
* Signal value.
|
|
35228
|
+
* @member {flyteidl.core.ILiteral|null|undefined} value
|
|
35229
|
+
* @memberof flyteidl.admin.Signal
|
|
35230
|
+
* @instance
|
|
35231
|
+
*/
|
|
35232
|
+
Signal.prototype.value = null;
|
|
35233
|
+
|
|
35234
|
+
/**
|
|
35235
|
+
* Creates a new Signal instance using the specified properties.
|
|
35236
|
+
* @function create
|
|
35237
|
+
* @memberof flyteidl.admin.Signal
|
|
35238
|
+
* @static
|
|
35239
|
+
* @param {flyteidl.admin.ISignal=} [properties] Properties to set
|
|
35240
|
+
* @returns {flyteidl.admin.Signal} Signal instance
|
|
35241
|
+
*/
|
|
35242
|
+
Signal.create = function create(properties) {
|
|
35243
|
+
return new Signal(properties);
|
|
35244
|
+
};
|
|
35245
|
+
|
|
35246
|
+
/**
|
|
35247
|
+
* Encodes the specified Signal message. Does not implicitly {@link flyteidl.admin.Signal.verify|verify} messages.
|
|
35248
|
+
* @function encode
|
|
35249
|
+
* @memberof flyteidl.admin.Signal
|
|
35250
|
+
* @static
|
|
35251
|
+
* @param {flyteidl.admin.ISignal} message Signal message or plain object to encode
|
|
35252
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
35253
|
+
* @returns {$protobuf.Writer} Writer
|
|
35254
|
+
*/
|
|
35255
|
+
Signal.encode = function encode(message, writer) {
|
|
35256
|
+
if (!writer)
|
|
35257
|
+
writer = $Writer.create();
|
|
35258
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
35259
|
+
$root.flyteidl.core.SignalIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
35260
|
+
if (message.type != null && message.hasOwnProperty("type"))
|
|
35261
|
+
$root.flyteidl.core.LiteralType.encode(message.type, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
35262
|
+
if (message.value != null && message.hasOwnProperty("value"))
|
|
35263
|
+
$root.flyteidl.core.Literal.encode(message.value, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
35264
|
+
return writer;
|
|
35265
|
+
};
|
|
35266
|
+
|
|
35267
|
+
/**
|
|
35268
|
+
* Decodes a Signal message from the specified reader or buffer.
|
|
35269
|
+
* @function decode
|
|
35270
|
+
* @memberof flyteidl.admin.Signal
|
|
35271
|
+
* @static
|
|
35272
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
35273
|
+
* @param {number} [length] Message length if known beforehand
|
|
35274
|
+
* @returns {flyteidl.admin.Signal} Signal
|
|
35275
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35276
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35277
|
+
*/
|
|
35278
|
+
Signal.decode = function decode(reader, length) {
|
|
35279
|
+
if (!(reader instanceof $Reader))
|
|
35280
|
+
reader = $Reader.create(reader);
|
|
35281
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Signal();
|
|
35282
|
+
while (reader.pos < end) {
|
|
35283
|
+
let tag = reader.uint32();
|
|
35284
|
+
switch (tag >>> 3) {
|
|
35285
|
+
case 1:
|
|
35286
|
+
message.id = $root.flyteidl.core.SignalIdentifier.decode(reader, reader.uint32());
|
|
35287
|
+
break;
|
|
35288
|
+
case 2:
|
|
35289
|
+
message.type = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32());
|
|
35290
|
+
break;
|
|
35291
|
+
case 3:
|
|
35292
|
+
message.value = $root.flyteidl.core.Literal.decode(reader, reader.uint32());
|
|
35293
|
+
break;
|
|
35294
|
+
default:
|
|
35295
|
+
reader.skipType(tag & 7);
|
|
35296
|
+
break;
|
|
35297
|
+
}
|
|
35298
|
+
}
|
|
35299
|
+
return message;
|
|
35300
|
+
};
|
|
35301
|
+
|
|
35302
|
+
/**
|
|
35303
|
+
* Verifies a Signal message.
|
|
35304
|
+
* @function verify
|
|
35305
|
+
* @memberof flyteidl.admin.Signal
|
|
35306
|
+
* @static
|
|
35307
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
35308
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
35309
|
+
*/
|
|
35310
|
+
Signal.verify = function verify(message) {
|
|
35311
|
+
if (typeof message !== "object" || message === null)
|
|
35312
|
+
return "object expected";
|
|
35313
|
+
if (message.id != null && message.hasOwnProperty("id")) {
|
|
35314
|
+
let error = $root.flyteidl.core.SignalIdentifier.verify(message.id);
|
|
35315
|
+
if (error)
|
|
35316
|
+
return "id." + error;
|
|
35317
|
+
}
|
|
35318
|
+
if (message.type != null && message.hasOwnProperty("type")) {
|
|
35319
|
+
let error = $root.flyteidl.core.LiteralType.verify(message.type);
|
|
35320
|
+
if (error)
|
|
35321
|
+
return "type." + error;
|
|
35322
|
+
}
|
|
35323
|
+
if (message.value != null && message.hasOwnProperty("value")) {
|
|
35324
|
+
let error = $root.flyteidl.core.Literal.verify(message.value);
|
|
35325
|
+
if (error)
|
|
35326
|
+
return "value." + error;
|
|
35327
|
+
}
|
|
35328
|
+
return null;
|
|
35329
|
+
};
|
|
35330
|
+
|
|
35331
|
+
return Signal;
|
|
35332
|
+
})();
|
|
35333
|
+
|
|
33811
35334
|
admin.TaskCreateRequest = (function() {
|
|
33812
35335
|
|
|
33813
35336
|
/**
|
|
@@ -36926,6 +38449,384 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
36926
38449
|
return WorkflowClosure;
|
|
36927
38450
|
})();
|
|
36928
38451
|
|
|
38452
|
+
admin.WorkflowErrorExistsDifferentStructure = (function() {
|
|
38453
|
+
|
|
38454
|
+
/**
|
|
38455
|
+
* Properties of a WorkflowErrorExistsDifferentStructure.
|
|
38456
|
+
* @memberof flyteidl.admin
|
|
38457
|
+
* @interface IWorkflowErrorExistsDifferentStructure
|
|
38458
|
+
* @property {flyteidl.core.IIdentifier|null} [id] WorkflowErrorExistsDifferentStructure id
|
|
38459
|
+
*/
|
|
38460
|
+
|
|
38461
|
+
/**
|
|
38462
|
+
* Constructs a new WorkflowErrorExistsDifferentStructure.
|
|
38463
|
+
* @memberof flyteidl.admin
|
|
38464
|
+
* @classdesc Represents a WorkflowErrorExistsDifferentStructure.
|
|
38465
|
+
* @implements IWorkflowErrorExistsDifferentStructure
|
|
38466
|
+
* @constructor
|
|
38467
|
+
* @param {flyteidl.admin.IWorkflowErrorExistsDifferentStructure=} [properties] Properties to set
|
|
38468
|
+
*/
|
|
38469
|
+
function WorkflowErrorExistsDifferentStructure(properties) {
|
|
38470
|
+
if (properties)
|
|
38471
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
38472
|
+
if (properties[keys[i]] != null)
|
|
38473
|
+
this[keys[i]] = properties[keys[i]];
|
|
38474
|
+
}
|
|
38475
|
+
|
|
38476
|
+
/**
|
|
38477
|
+
* WorkflowErrorExistsDifferentStructure id.
|
|
38478
|
+
* @member {flyteidl.core.IIdentifier|null|undefined} id
|
|
38479
|
+
* @memberof flyteidl.admin.WorkflowErrorExistsDifferentStructure
|
|
38480
|
+
* @instance
|
|
38481
|
+
*/
|
|
38482
|
+
WorkflowErrorExistsDifferentStructure.prototype.id = null;
|
|
38483
|
+
|
|
38484
|
+
/**
|
|
38485
|
+
* Creates a new WorkflowErrorExistsDifferentStructure instance using the specified properties.
|
|
38486
|
+
* @function create
|
|
38487
|
+
* @memberof flyteidl.admin.WorkflowErrorExistsDifferentStructure
|
|
38488
|
+
* @static
|
|
38489
|
+
* @param {flyteidl.admin.IWorkflowErrorExistsDifferentStructure=} [properties] Properties to set
|
|
38490
|
+
* @returns {flyteidl.admin.WorkflowErrorExistsDifferentStructure} WorkflowErrorExistsDifferentStructure instance
|
|
38491
|
+
*/
|
|
38492
|
+
WorkflowErrorExistsDifferentStructure.create = function create(properties) {
|
|
38493
|
+
return new WorkflowErrorExistsDifferentStructure(properties);
|
|
38494
|
+
};
|
|
38495
|
+
|
|
38496
|
+
/**
|
|
38497
|
+
* Encodes the specified WorkflowErrorExistsDifferentStructure message. Does not implicitly {@link flyteidl.admin.WorkflowErrorExistsDifferentStructure.verify|verify} messages.
|
|
38498
|
+
* @function encode
|
|
38499
|
+
* @memberof flyteidl.admin.WorkflowErrorExistsDifferentStructure
|
|
38500
|
+
* @static
|
|
38501
|
+
* @param {flyteidl.admin.IWorkflowErrorExistsDifferentStructure} message WorkflowErrorExistsDifferentStructure message or plain object to encode
|
|
38502
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
38503
|
+
* @returns {$protobuf.Writer} Writer
|
|
38504
|
+
*/
|
|
38505
|
+
WorkflowErrorExistsDifferentStructure.encode = function encode(message, writer) {
|
|
38506
|
+
if (!writer)
|
|
38507
|
+
writer = $Writer.create();
|
|
38508
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
38509
|
+
$root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
38510
|
+
return writer;
|
|
38511
|
+
};
|
|
38512
|
+
|
|
38513
|
+
/**
|
|
38514
|
+
* Decodes a WorkflowErrorExistsDifferentStructure message from the specified reader or buffer.
|
|
38515
|
+
* @function decode
|
|
38516
|
+
* @memberof flyteidl.admin.WorkflowErrorExistsDifferentStructure
|
|
38517
|
+
* @static
|
|
38518
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
38519
|
+
* @param {number} [length] Message length if known beforehand
|
|
38520
|
+
* @returns {flyteidl.admin.WorkflowErrorExistsDifferentStructure} WorkflowErrorExistsDifferentStructure
|
|
38521
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
38522
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
38523
|
+
*/
|
|
38524
|
+
WorkflowErrorExistsDifferentStructure.decode = function decode(reader, length) {
|
|
38525
|
+
if (!(reader instanceof $Reader))
|
|
38526
|
+
reader = $Reader.create(reader);
|
|
38527
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowErrorExistsDifferentStructure();
|
|
38528
|
+
while (reader.pos < end) {
|
|
38529
|
+
let tag = reader.uint32();
|
|
38530
|
+
switch (tag >>> 3) {
|
|
38531
|
+
case 1:
|
|
38532
|
+
message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32());
|
|
38533
|
+
break;
|
|
38534
|
+
default:
|
|
38535
|
+
reader.skipType(tag & 7);
|
|
38536
|
+
break;
|
|
38537
|
+
}
|
|
38538
|
+
}
|
|
38539
|
+
return message;
|
|
38540
|
+
};
|
|
38541
|
+
|
|
38542
|
+
/**
|
|
38543
|
+
* Verifies a WorkflowErrorExistsDifferentStructure message.
|
|
38544
|
+
* @function verify
|
|
38545
|
+
* @memberof flyteidl.admin.WorkflowErrorExistsDifferentStructure
|
|
38546
|
+
* @static
|
|
38547
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
38548
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
38549
|
+
*/
|
|
38550
|
+
WorkflowErrorExistsDifferentStructure.verify = function verify(message) {
|
|
38551
|
+
if (typeof message !== "object" || message === null)
|
|
38552
|
+
return "object expected";
|
|
38553
|
+
if (message.id != null && message.hasOwnProperty("id")) {
|
|
38554
|
+
let error = $root.flyteidl.core.Identifier.verify(message.id);
|
|
38555
|
+
if (error)
|
|
38556
|
+
return "id." + error;
|
|
38557
|
+
}
|
|
38558
|
+
return null;
|
|
38559
|
+
};
|
|
38560
|
+
|
|
38561
|
+
return WorkflowErrorExistsDifferentStructure;
|
|
38562
|
+
})();
|
|
38563
|
+
|
|
38564
|
+
admin.WorkflowErrorExistsIdenticalStructure = (function() {
|
|
38565
|
+
|
|
38566
|
+
/**
|
|
38567
|
+
* Properties of a WorkflowErrorExistsIdenticalStructure.
|
|
38568
|
+
* @memberof flyteidl.admin
|
|
38569
|
+
* @interface IWorkflowErrorExistsIdenticalStructure
|
|
38570
|
+
* @property {flyteidl.core.IIdentifier|null} [id] WorkflowErrorExistsIdenticalStructure id
|
|
38571
|
+
*/
|
|
38572
|
+
|
|
38573
|
+
/**
|
|
38574
|
+
* Constructs a new WorkflowErrorExistsIdenticalStructure.
|
|
38575
|
+
* @memberof flyteidl.admin
|
|
38576
|
+
* @classdesc Represents a WorkflowErrorExistsIdenticalStructure.
|
|
38577
|
+
* @implements IWorkflowErrorExistsIdenticalStructure
|
|
38578
|
+
* @constructor
|
|
38579
|
+
* @param {flyteidl.admin.IWorkflowErrorExistsIdenticalStructure=} [properties] Properties to set
|
|
38580
|
+
*/
|
|
38581
|
+
function WorkflowErrorExistsIdenticalStructure(properties) {
|
|
38582
|
+
if (properties)
|
|
38583
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
38584
|
+
if (properties[keys[i]] != null)
|
|
38585
|
+
this[keys[i]] = properties[keys[i]];
|
|
38586
|
+
}
|
|
38587
|
+
|
|
38588
|
+
/**
|
|
38589
|
+
* WorkflowErrorExistsIdenticalStructure id.
|
|
38590
|
+
* @member {flyteidl.core.IIdentifier|null|undefined} id
|
|
38591
|
+
* @memberof flyteidl.admin.WorkflowErrorExistsIdenticalStructure
|
|
38592
|
+
* @instance
|
|
38593
|
+
*/
|
|
38594
|
+
WorkflowErrorExistsIdenticalStructure.prototype.id = null;
|
|
38595
|
+
|
|
38596
|
+
/**
|
|
38597
|
+
* Creates a new WorkflowErrorExistsIdenticalStructure instance using the specified properties.
|
|
38598
|
+
* @function create
|
|
38599
|
+
* @memberof flyteidl.admin.WorkflowErrorExistsIdenticalStructure
|
|
38600
|
+
* @static
|
|
38601
|
+
* @param {flyteidl.admin.IWorkflowErrorExistsIdenticalStructure=} [properties] Properties to set
|
|
38602
|
+
* @returns {flyteidl.admin.WorkflowErrorExistsIdenticalStructure} WorkflowErrorExistsIdenticalStructure instance
|
|
38603
|
+
*/
|
|
38604
|
+
WorkflowErrorExistsIdenticalStructure.create = function create(properties) {
|
|
38605
|
+
return new WorkflowErrorExistsIdenticalStructure(properties);
|
|
38606
|
+
};
|
|
38607
|
+
|
|
38608
|
+
/**
|
|
38609
|
+
* Encodes the specified WorkflowErrorExistsIdenticalStructure message. Does not implicitly {@link flyteidl.admin.WorkflowErrorExistsIdenticalStructure.verify|verify} messages.
|
|
38610
|
+
* @function encode
|
|
38611
|
+
* @memberof flyteidl.admin.WorkflowErrorExistsIdenticalStructure
|
|
38612
|
+
* @static
|
|
38613
|
+
* @param {flyteidl.admin.IWorkflowErrorExistsIdenticalStructure} message WorkflowErrorExistsIdenticalStructure message or plain object to encode
|
|
38614
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
38615
|
+
* @returns {$protobuf.Writer} Writer
|
|
38616
|
+
*/
|
|
38617
|
+
WorkflowErrorExistsIdenticalStructure.encode = function encode(message, writer) {
|
|
38618
|
+
if (!writer)
|
|
38619
|
+
writer = $Writer.create();
|
|
38620
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
38621
|
+
$root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
38622
|
+
return writer;
|
|
38623
|
+
};
|
|
38624
|
+
|
|
38625
|
+
/**
|
|
38626
|
+
* Decodes a WorkflowErrorExistsIdenticalStructure message from the specified reader or buffer.
|
|
38627
|
+
* @function decode
|
|
38628
|
+
* @memberof flyteidl.admin.WorkflowErrorExistsIdenticalStructure
|
|
38629
|
+
* @static
|
|
38630
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
38631
|
+
* @param {number} [length] Message length if known beforehand
|
|
38632
|
+
* @returns {flyteidl.admin.WorkflowErrorExistsIdenticalStructure} WorkflowErrorExistsIdenticalStructure
|
|
38633
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
38634
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
38635
|
+
*/
|
|
38636
|
+
WorkflowErrorExistsIdenticalStructure.decode = function decode(reader, length) {
|
|
38637
|
+
if (!(reader instanceof $Reader))
|
|
38638
|
+
reader = $Reader.create(reader);
|
|
38639
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowErrorExistsIdenticalStructure();
|
|
38640
|
+
while (reader.pos < end) {
|
|
38641
|
+
let tag = reader.uint32();
|
|
38642
|
+
switch (tag >>> 3) {
|
|
38643
|
+
case 1:
|
|
38644
|
+
message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32());
|
|
38645
|
+
break;
|
|
38646
|
+
default:
|
|
38647
|
+
reader.skipType(tag & 7);
|
|
38648
|
+
break;
|
|
38649
|
+
}
|
|
38650
|
+
}
|
|
38651
|
+
return message;
|
|
38652
|
+
};
|
|
38653
|
+
|
|
38654
|
+
/**
|
|
38655
|
+
* Verifies a WorkflowErrorExistsIdenticalStructure message.
|
|
38656
|
+
* @function verify
|
|
38657
|
+
* @memberof flyteidl.admin.WorkflowErrorExistsIdenticalStructure
|
|
38658
|
+
* @static
|
|
38659
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
38660
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
38661
|
+
*/
|
|
38662
|
+
WorkflowErrorExistsIdenticalStructure.verify = function verify(message) {
|
|
38663
|
+
if (typeof message !== "object" || message === null)
|
|
38664
|
+
return "object expected";
|
|
38665
|
+
if (message.id != null && message.hasOwnProperty("id")) {
|
|
38666
|
+
let error = $root.flyteidl.core.Identifier.verify(message.id);
|
|
38667
|
+
if (error)
|
|
38668
|
+
return "id." + error;
|
|
38669
|
+
}
|
|
38670
|
+
return null;
|
|
38671
|
+
};
|
|
38672
|
+
|
|
38673
|
+
return WorkflowErrorExistsIdenticalStructure;
|
|
38674
|
+
})();
|
|
38675
|
+
|
|
38676
|
+
admin.CreateWorkflowFailureReason = (function() {
|
|
38677
|
+
|
|
38678
|
+
/**
|
|
38679
|
+
* Properties of a CreateWorkflowFailureReason.
|
|
38680
|
+
* @memberof flyteidl.admin
|
|
38681
|
+
* @interface ICreateWorkflowFailureReason
|
|
38682
|
+
* @property {flyteidl.admin.IWorkflowErrorExistsDifferentStructure|null} [existsDifferentStructure] CreateWorkflowFailureReason existsDifferentStructure
|
|
38683
|
+
* @property {flyteidl.admin.IWorkflowErrorExistsIdenticalStructure|null} [existsIdenticalStructure] CreateWorkflowFailureReason existsIdenticalStructure
|
|
38684
|
+
*/
|
|
38685
|
+
|
|
38686
|
+
/**
|
|
38687
|
+
* Constructs a new CreateWorkflowFailureReason.
|
|
38688
|
+
* @memberof flyteidl.admin
|
|
38689
|
+
* @classdesc Represents a CreateWorkflowFailureReason.
|
|
38690
|
+
* @implements ICreateWorkflowFailureReason
|
|
38691
|
+
* @constructor
|
|
38692
|
+
* @param {flyteidl.admin.ICreateWorkflowFailureReason=} [properties] Properties to set
|
|
38693
|
+
*/
|
|
38694
|
+
function CreateWorkflowFailureReason(properties) {
|
|
38695
|
+
if (properties)
|
|
38696
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
38697
|
+
if (properties[keys[i]] != null)
|
|
38698
|
+
this[keys[i]] = properties[keys[i]];
|
|
38699
|
+
}
|
|
38700
|
+
|
|
38701
|
+
/**
|
|
38702
|
+
* CreateWorkflowFailureReason existsDifferentStructure.
|
|
38703
|
+
* @member {flyteidl.admin.IWorkflowErrorExistsDifferentStructure|null|undefined} existsDifferentStructure
|
|
38704
|
+
* @memberof flyteidl.admin.CreateWorkflowFailureReason
|
|
38705
|
+
* @instance
|
|
38706
|
+
*/
|
|
38707
|
+
CreateWorkflowFailureReason.prototype.existsDifferentStructure = null;
|
|
38708
|
+
|
|
38709
|
+
/**
|
|
38710
|
+
* CreateWorkflowFailureReason existsIdenticalStructure.
|
|
38711
|
+
* @member {flyteidl.admin.IWorkflowErrorExistsIdenticalStructure|null|undefined} existsIdenticalStructure
|
|
38712
|
+
* @memberof flyteidl.admin.CreateWorkflowFailureReason
|
|
38713
|
+
* @instance
|
|
38714
|
+
*/
|
|
38715
|
+
CreateWorkflowFailureReason.prototype.existsIdenticalStructure = null;
|
|
38716
|
+
|
|
38717
|
+
// OneOf field names bound to virtual getters and setters
|
|
38718
|
+
let $oneOfFields;
|
|
38719
|
+
|
|
38720
|
+
/**
|
|
38721
|
+
* CreateWorkflowFailureReason reason.
|
|
38722
|
+
* @member {"existsDifferentStructure"|"existsIdenticalStructure"|undefined} reason
|
|
38723
|
+
* @memberof flyteidl.admin.CreateWorkflowFailureReason
|
|
38724
|
+
* @instance
|
|
38725
|
+
*/
|
|
38726
|
+
Object.defineProperty(CreateWorkflowFailureReason.prototype, "reason", {
|
|
38727
|
+
get: $util.oneOfGetter($oneOfFields = ["existsDifferentStructure", "existsIdenticalStructure"]),
|
|
38728
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
38729
|
+
});
|
|
38730
|
+
|
|
38731
|
+
/**
|
|
38732
|
+
* Creates a new CreateWorkflowFailureReason instance using the specified properties.
|
|
38733
|
+
* @function create
|
|
38734
|
+
* @memberof flyteidl.admin.CreateWorkflowFailureReason
|
|
38735
|
+
* @static
|
|
38736
|
+
* @param {flyteidl.admin.ICreateWorkflowFailureReason=} [properties] Properties to set
|
|
38737
|
+
* @returns {flyteidl.admin.CreateWorkflowFailureReason} CreateWorkflowFailureReason instance
|
|
38738
|
+
*/
|
|
38739
|
+
CreateWorkflowFailureReason.create = function create(properties) {
|
|
38740
|
+
return new CreateWorkflowFailureReason(properties);
|
|
38741
|
+
};
|
|
38742
|
+
|
|
38743
|
+
/**
|
|
38744
|
+
* Encodes the specified CreateWorkflowFailureReason message. Does not implicitly {@link flyteidl.admin.CreateWorkflowFailureReason.verify|verify} messages.
|
|
38745
|
+
* @function encode
|
|
38746
|
+
* @memberof flyteidl.admin.CreateWorkflowFailureReason
|
|
38747
|
+
* @static
|
|
38748
|
+
* @param {flyteidl.admin.ICreateWorkflowFailureReason} message CreateWorkflowFailureReason message or plain object to encode
|
|
38749
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
38750
|
+
* @returns {$protobuf.Writer} Writer
|
|
38751
|
+
*/
|
|
38752
|
+
CreateWorkflowFailureReason.encode = function encode(message, writer) {
|
|
38753
|
+
if (!writer)
|
|
38754
|
+
writer = $Writer.create();
|
|
38755
|
+
if (message.existsDifferentStructure != null && message.hasOwnProperty("existsDifferentStructure"))
|
|
38756
|
+
$root.flyteidl.admin.WorkflowErrorExistsDifferentStructure.encode(message.existsDifferentStructure, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
38757
|
+
if (message.existsIdenticalStructure != null && message.hasOwnProperty("existsIdenticalStructure"))
|
|
38758
|
+
$root.flyteidl.admin.WorkflowErrorExistsIdenticalStructure.encode(message.existsIdenticalStructure, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
38759
|
+
return writer;
|
|
38760
|
+
};
|
|
38761
|
+
|
|
38762
|
+
/**
|
|
38763
|
+
* Decodes a CreateWorkflowFailureReason message from the specified reader or buffer.
|
|
38764
|
+
* @function decode
|
|
38765
|
+
* @memberof flyteidl.admin.CreateWorkflowFailureReason
|
|
38766
|
+
* @static
|
|
38767
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
38768
|
+
* @param {number} [length] Message length if known beforehand
|
|
38769
|
+
* @returns {flyteidl.admin.CreateWorkflowFailureReason} CreateWorkflowFailureReason
|
|
38770
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
38771
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
38772
|
+
*/
|
|
38773
|
+
CreateWorkflowFailureReason.decode = function decode(reader, length) {
|
|
38774
|
+
if (!(reader instanceof $Reader))
|
|
38775
|
+
reader = $Reader.create(reader);
|
|
38776
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.CreateWorkflowFailureReason();
|
|
38777
|
+
while (reader.pos < end) {
|
|
38778
|
+
let tag = reader.uint32();
|
|
38779
|
+
switch (tag >>> 3) {
|
|
38780
|
+
case 1:
|
|
38781
|
+
message.existsDifferentStructure = $root.flyteidl.admin.WorkflowErrorExistsDifferentStructure.decode(reader, reader.uint32());
|
|
38782
|
+
break;
|
|
38783
|
+
case 2:
|
|
38784
|
+
message.existsIdenticalStructure = $root.flyteidl.admin.WorkflowErrorExistsIdenticalStructure.decode(reader, reader.uint32());
|
|
38785
|
+
break;
|
|
38786
|
+
default:
|
|
38787
|
+
reader.skipType(tag & 7);
|
|
38788
|
+
break;
|
|
38789
|
+
}
|
|
38790
|
+
}
|
|
38791
|
+
return message;
|
|
38792
|
+
};
|
|
38793
|
+
|
|
38794
|
+
/**
|
|
38795
|
+
* Verifies a CreateWorkflowFailureReason message.
|
|
38796
|
+
* @function verify
|
|
38797
|
+
* @memberof flyteidl.admin.CreateWorkflowFailureReason
|
|
38798
|
+
* @static
|
|
38799
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
38800
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
38801
|
+
*/
|
|
38802
|
+
CreateWorkflowFailureReason.verify = function verify(message) {
|
|
38803
|
+
if (typeof message !== "object" || message === null)
|
|
38804
|
+
return "object expected";
|
|
38805
|
+
let properties = {};
|
|
38806
|
+
if (message.existsDifferentStructure != null && message.hasOwnProperty("existsDifferentStructure")) {
|
|
38807
|
+
properties.reason = 1;
|
|
38808
|
+
{
|
|
38809
|
+
let error = $root.flyteidl.admin.WorkflowErrorExistsDifferentStructure.verify(message.existsDifferentStructure);
|
|
38810
|
+
if (error)
|
|
38811
|
+
return "existsDifferentStructure." + error;
|
|
38812
|
+
}
|
|
38813
|
+
}
|
|
38814
|
+
if (message.existsIdenticalStructure != null && message.hasOwnProperty("existsIdenticalStructure")) {
|
|
38815
|
+
if (properties.reason === 1)
|
|
38816
|
+
return "reason: multiple values";
|
|
38817
|
+
properties.reason = 1;
|
|
38818
|
+
{
|
|
38819
|
+
let error = $root.flyteidl.admin.WorkflowErrorExistsIdenticalStructure.verify(message.existsIdenticalStructure);
|
|
38820
|
+
if (error)
|
|
38821
|
+
return "existsIdenticalStructure." + error;
|
|
38822
|
+
}
|
|
38823
|
+
}
|
|
38824
|
+
return null;
|
|
38825
|
+
};
|
|
38826
|
+
|
|
38827
|
+
return CreateWorkflowFailureReason;
|
|
38828
|
+
})();
|
|
38829
|
+
|
|
36929
38830
|
admin.WorkflowAttributes = (function() {
|
|
36930
38831
|
|
|
36931
38832
|
/**
|
|
@@ -41391,6 +43292,140 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
41391
43292
|
return IdentityService;
|
|
41392
43293
|
})();
|
|
41393
43294
|
|
|
43295
|
+
service.SignalService = (function() {
|
|
43296
|
+
|
|
43297
|
+
/**
|
|
43298
|
+
* Constructs a new SignalService service.
|
|
43299
|
+
* @memberof flyteidl.service
|
|
43300
|
+
* @classdesc Represents a SignalService
|
|
43301
|
+
* @extends $protobuf.rpc.Service
|
|
43302
|
+
* @constructor
|
|
43303
|
+
* @param {$protobuf.RPCImpl} rpcImpl RPC implementation
|
|
43304
|
+
* @param {boolean} [requestDelimited=false] Whether requests are length-delimited
|
|
43305
|
+
* @param {boolean} [responseDelimited=false] Whether responses are length-delimited
|
|
43306
|
+
*/
|
|
43307
|
+
function SignalService(rpcImpl, requestDelimited, responseDelimited) {
|
|
43308
|
+
$protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited);
|
|
43309
|
+
}
|
|
43310
|
+
|
|
43311
|
+
(SignalService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = SignalService;
|
|
43312
|
+
|
|
43313
|
+
/**
|
|
43314
|
+
* Creates new SignalService service using the specified rpc implementation.
|
|
43315
|
+
* @function create
|
|
43316
|
+
* @memberof flyteidl.service.SignalService
|
|
43317
|
+
* @static
|
|
43318
|
+
* @param {$protobuf.RPCImpl} rpcImpl RPC implementation
|
|
43319
|
+
* @param {boolean} [requestDelimited=false] Whether requests are length-delimited
|
|
43320
|
+
* @param {boolean} [responseDelimited=false] Whether responses are length-delimited
|
|
43321
|
+
* @returns {SignalService} RPC service. Useful where requests and/or responses are streamed.
|
|
43322
|
+
*/
|
|
43323
|
+
SignalService.create = function create(rpcImpl, requestDelimited, responseDelimited) {
|
|
43324
|
+
return new this(rpcImpl, requestDelimited, responseDelimited);
|
|
43325
|
+
};
|
|
43326
|
+
|
|
43327
|
+
/**
|
|
43328
|
+
* Callback as used by {@link flyteidl.service.SignalService#getOrCreateSignal}.
|
|
43329
|
+
* @memberof flyteidl.service.SignalService
|
|
43330
|
+
* @typedef GetOrCreateSignalCallback
|
|
43331
|
+
* @type {function}
|
|
43332
|
+
* @param {Error|null} error Error, if any
|
|
43333
|
+
* @param {flyteidl.admin.Signal} [response] Signal
|
|
43334
|
+
*/
|
|
43335
|
+
|
|
43336
|
+
/**
|
|
43337
|
+
* Calls GetOrCreateSignal.
|
|
43338
|
+
* @function getOrCreateSignal
|
|
43339
|
+
* @memberof flyteidl.service.SignalService
|
|
43340
|
+
* @instance
|
|
43341
|
+
* @param {flyteidl.admin.ISignalGetOrCreateRequest} request SignalGetOrCreateRequest message or plain object
|
|
43342
|
+
* @param {flyteidl.service.SignalService.GetOrCreateSignalCallback} callback Node-style callback called with the error, if any, and Signal
|
|
43343
|
+
* @returns {undefined}
|
|
43344
|
+
* @variation 1
|
|
43345
|
+
*/
|
|
43346
|
+
Object.defineProperty(SignalService.prototype.getOrCreateSignal = function getOrCreateSignal(request, callback) {
|
|
43347
|
+
return this.rpcCall(getOrCreateSignal, $root.flyteidl.admin.SignalGetOrCreateRequest, $root.flyteidl.admin.Signal, request, callback);
|
|
43348
|
+
}, "name", { value: "GetOrCreateSignal" });
|
|
43349
|
+
|
|
43350
|
+
/**
|
|
43351
|
+
* Calls GetOrCreateSignal.
|
|
43352
|
+
* @function getOrCreateSignal
|
|
43353
|
+
* @memberof flyteidl.service.SignalService
|
|
43354
|
+
* @instance
|
|
43355
|
+
* @param {flyteidl.admin.ISignalGetOrCreateRequest} request SignalGetOrCreateRequest message or plain object
|
|
43356
|
+
* @returns {Promise<flyteidl.admin.Signal>} Promise
|
|
43357
|
+
* @variation 2
|
|
43358
|
+
*/
|
|
43359
|
+
|
|
43360
|
+
/**
|
|
43361
|
+
* Callback as used by {@link flyteidl.service.SignalService#listSignals}.
|
|
43362
|
+
* @memberof flyteidl.service.SignalService
|
|
43363
|
+
* @typedef ListSignalsCallback
|
|
43364
|
+
* @type {function}
|
|
43365
|
+
* @param {Error|null} error Error, if any
|
|
43366
|
+
* @param {flyteidl.admin.SignalList} [response] SignalList
|
|
43367
|
+
*/
|
|
43368
|
+
|
|
43369
|
+
/**
|
|
43370
|
+
* Calls ListSignals.
|
|
43371
|
+
* @function listSignals
|
|
43372
|
+
* @memberof flyteidl.service.SignalService
|
|
43373
|
+
* @instance
|
|
43374
|
+
* @param {flyteidl.admin.ISignalListRequest} request SignalListRequest message or plain object
|
|
43375
|
+
* @param {flyteidl.service.SignalService.ListSignalsCallback} callback Node-style callback called with the error, if any, and SignalList
|
|
43376
|
+
* @returns {undefined}
|
|
43377
|
+
* @variation 1
|
|
43378
|
+
*/
|
|
43379
|
+
Object.defineProperty(SignalService.prototype.listSignals = function listSignals(request, callback) {
|
|
43380
|
+
return this.rpcCall(listSignals, $root.flyteidl.admin.SignalListRequest, $root.flyteidl.admin.SignalList, request, callback);
|
|
43381
|
+
}, "name", { value: "ListSignals" });
|
|
43382
|
+
|
|
43383
|
+
/**
|
|
43384
|
+
* Calls ListSignals.
|
|
43385
|
+
* @function listSignals
|
|
43386
|
+
* @memberof flyteidl.service.SignalService
|
|
43387
|
+
* @instance
|
|
43388
|
+
* @param {flyteidl.admin.ISignalListRequest} request SignalListRequest message or plain object
|
|
43389
|
+
* @returns {Promise<flyteidl.admin.SignalList>} Promise
|
|
43390
|
+
* @variation 2
|
|
43391
|
+
*/
|
|
43392
|
+
|
|
43393
|
+
/**
|
|
43394
|
+
* Callback as used by {@link flyteidl.service.SignalService#setSignal}.
|
|
43395
|
+
* @memberof flyteidl.service.SignalService
|
|
43396
|
+
* @typedef SetSignalCallback
|
|
43397
|
+
* @type {function}
|
|
43398
|
+
* @param {Error|null} error Error, if any
|
|
43399
|
+
* @param {flyteidl.admin.SignalSetResponse} [response] SignalSetResponse
|
|
43400
|
+
*/
|
|
43401
|
+
|
|
43402
|
+
/**
|
|
43403
|
+
* Calls SetSignal.
|
|
43404
|
+
* @function setSignal
|
|
43405
|
+
* @memberof flyteidl.service.SignalService
|
|
43406
|
+
* @instance
|
|
43407
|
+
* @param {flyteidl.admin.ISignalSetRequest} request SignalSetRequest message or plain object
|
|
43408
|
+
* @param {flyteidl.service.SignalService.SetSignalCallback} callback Node-style callback called with the error, if any, and SignalSetResponse
|
|
43409
|
+
* @returns {undefined}
|
|
43410
|
+
* @variation 1
|
|
43411
|
+
*/
|
|
43412
|
+
Object.defineProperty(SignalService.prototype.setSignal = function setSignal(request, callback) {
|
|
43413
|
+
return this.rpcCall(setSignal, $root.flyteidl.admin.SignalSetRequest, $root.flyteidl.admin.SignalSetResponse, request, callback);
|
|
43414
|
+
}, "name", { value: "SetSignal" });
|
|
43415
|
+
|
|
43416
|
+
/**
|
|
43417
|
+
* Calls SetSignal.
|
|
43418
|
+
* @function setSignal
|
|
43419
|
+
* @memberof flyteidl.service.SignalService
|
|
43420
|
+
* @instance
|
|
43421
|
+
* @param {flyteidl.admin.ISignalSetRequest} request SignalSetRequest message or plain object
|
|
43422
|
+
* @returns {Promise<flyteidl.admin.SignalSetResponse>} Promise
|
|
43423
|
+
* @variation 2
|
|
43424
|
+
*/
|
|
43425
|
+
|
|
43426
|
+
return SignalService;
|
|
43427
|
+
})();
|
|
43428
|
+
|
|
41394
43429
|
return service;
|
|
41395
43430
|
})();
|
|
41396
43431
|
|