@@ -1296,6 +1296,24 @@ struct Spark_Connect_ExecutePlanResponse: Sendable {
1296
1296
set { responseType = . mlCommandResult( newValue) }
1297
1297
}
1298
1298
1299
+ /// Response containing pipeline event that is streamed back to the client during a pipeline run
1300
+ var pipelineEventResult : Spark_Connect_PipelineEventResult {
1301
+ get {
1302
+ if case . pipelineEventResult( let v) ? = responseType { return v}
1303
+ return Spark_Connect_PipelineEventResult ( )
1304
+ }
1305
+ set { responseType = . pipelineEventResult( newValue) }
1306
+ }
1307
+
1308
+ /// Pipeline command response
1309
+ var pipelineCommandResult : Spark_Connect_PipelineCommandResult {
1310
+ get {
1311
+ if case . pipelineCommandResult( let v) ? = responseType { return v}
1312
+ return Spark_Connect_PipelineCommandResult ( )
1313
+ }
1314
+ set { responseType = . pipelineCommandResult( newValue) }
1315
+ }
1316
+
1299
1317
/// Support arbitrary result objects.
1300
1318
var `extension` : SwiftProtobuf . Google_Protobuf_Any {
1301
1319
get {
@@ -1356,6 +1374,10 @@ struct Spark_Connect_ExecutePlanResponse: Sendable {
1356
1374
case checkpointCommandResult( Spark_Connect_CheckpointCommandResult )
1357
1375
/// ML command response
1358
1376
case mlCommandResult( Spark_Connect_MlCommandResult )
1377
+ /// Response containing pipeline event that is streamed back to the client during a pipeline run
1378
+ case pipelineEventResult( Spark_Connect_PipelineEventResult )
1379
+ /// Pipeline command response
1380
+ case pipelineCommandResult( Spark_Connect_PipelineCommandResult )
1359
1381
/// Support arbitrary result objects.
1360
1382
case `extension`( SwiftProtobuf . Google_Protobuf_Any )
1361
1383
@@ -4952,6 +4974,8 @@ extension Spark_Connect_ExecutePlanResponse: SwiftProtobuf.Message, SwiftProtobu
4952
4974
18 : . standard( proto: " execution_progress " ) ,
4953
4975
19 : . standard( proto: " checkpoint_command_result " ) ,
4954
4976
20 : . standard( proto: " ml_command_result " ) ,
4977
+ 21 : . standard( proto: " pipeline_event_result " ) ,
4978
+ 22 : . standard( proto: " pipeline_command_result " ) ,
4955
4979
999 : . same( proto: " extension " ) ,
4956
4980
4 : . same( proto: " metrics " ) ,
4957
4981
6 : . standard( proto: " observed_metrics " ) ,
@@ -5127,6 +5151,32 @@ extension Spark_Connect_ExecutePlanResponse: SwiftProtobuf.Message, SwiftProtobu
5127
5151
self . responseType = . mlCommandResult( v)
5128
5152
}
5129
5153
} ( )
5154
+ case 21 : try {
5155
+ var v : Spark_Connect_PipelineEventResult ?
5156
+ var hadOneofValue = false
5157
+ if let current = self . responseType {
5158
+ hadOneofValue = true
5159
+ if case . pipelineEventResult( let m) = current { v = m}
5160
+ }
5161
+ try decoder. decodeSingularMessageField ( value: & v)
5162
+ if let v = v {
5163
+ if hadOneofValue { try decoder. handleConflictingOneOf ( ) }
5164
+ self . responseType = . pipelineEventResult( v)
5165
+ }
5166
+ } ( )
5167
+ case 22 : try {
5168
+ var v : Spark_Connect_PipelineCommandResult ?
5169
+ var hadOneofValue = false
5170
+ if let current = self . responseType {
5171
+ hadOneofValue = true
5172
+ if case . pipelineCommandResult( let m) = current { v = m}
5173
+ }
5174
+ try decoder. decodeSingularMessageField ( value: & v)
5175
+ if let v = v {
5176
+ if hadOneofValue { try decoder. handleConflictingOneOf ( ) }
5177
+ self . responseType = . pipelineCommandResult( v)
5178
+ }
5179
+ } ( )
5130
5180
case 999 : try {
5131
5181
var v : SwiftProtobuf . Google_Protobuf_Any ?
5132
5182
var hadOneofValue = false
@@ -5220,6 +5270,14 @@ extension Spark_Connect_ExecutePlanResponse: SwiftProtobuf.Message, SwiftProtobu
5220
5270
guard case . mlCommandResult( let v) ? = self . responseType else { preconditionFailure ( ) }
5221
5271
try visitor. visitSingularMessageField ( value: v, fieldNumber: 20 )
5222
5272
} ( )
5273
+ case . pipelineEventResult? : try {
5274
+ guard case . pipelineEventResult( let v) ? = self . responseType else { preconditionFailure ( ) }
5275
+ try visitor. visitSingularMessageField ( value: v, fieldNumber: 21 )
5276
+ } ( )
5277
+ case . pipelineCommandResult? : try {
5278
+ guard case . pipelineCommandResult( let v) ? = self . responseType else { preconditionFailure ( ) }
5279
+ try visitor. visitSingularMessageField ( value: v, fieldNumber: 22 )
5280
+ } ( )
5223
5281
case . extension? : try {
5224
5282
guard case . extension( let v) ? = self . responseType else { preconditionFailure ( ) }
5225
5283
try visitor. visitSingularMessageField ( value: v, fieldNumber: 999 )
0 commit comments