-
Notifications
You must be signed in to change notification settings - Fork 835
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conditional and Error Pipelines (#143)
* update output inputs name to steps, check for cycles, add batch, add left join to APIs * add outer joins * error topic handling * lint
- Loading branch information
1 parent
c89ae5a
commit 6f83767
Showing
44 changed files
with
2,605 additions
and
972 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
93 changes: 93 additions & 0 deletions
93
apis/mlops/chainer/kotlin/io/seldon/mlops/chainer/BatchKt.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
//Generated by the protocol buffer compiler. DO NOT EDIT! | ||
// source: chainer.proto | ||
|
||
package io.seldon.mlops.chainer; | ||
|
||
@kotlin.jvm.JvmSynthetic | ||
inline fun batch(block: io.seldon.mlops.chainer.BatchKt.Dsl.() -> kotlin.Unit): io.seldon.mlops.chainer.ChainerOuterClass.Batch = | ||
io.seldon.mlops.chainer.BatchKt.Dsl._create(io.seldon.mlops.chainer.ChainerOuterClass.Batch.newBuilder()).apply { block() }._build() | ||
object BatchKt { | ||
@kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) | ||
@com.google.protobuf.kotlin.ProtoDslMarker | ||
class Dsl private constructor( | ||
private val _builder: io.seldon.mlops.chainer.ChainerOuterClass.Batch.Builder | ||
) { | ||
companion object { | ||
@kotlin.jvm.JvmSynthetic | ||
@kotlin.PublishedApi | ||
internal fun _create(builder: io.seldon.mlops.chainer.ChainerOuterClass.Batch.Builder): Dsl = Dsl(builder) | ||
} | ||
|
||
@kotlin.jvm.JvmSynthetic | ||
@kotlin.PublishedApi | ||
internal fun _build(): io.seldon.mlops.chainer.ChainerOuterClass.Batch = _builder.build() | ||
|
||
/** | ||
* <code>optional uint32 size = 1;</code> | ||
*/ | ||
var size: kotlin.Int | ||
@JvmName("getSize") | ||
get() = _builder.getSize() | ||
@JvmName("setSize") | ||
set(value) { | ||
_builder.setSize(value) | ||
} | ||
/** | ||
* <code>optional uint32 size = 1;</code> | ||
*/ | ||
fun clearSize() { | ||
_builder.clearSize() | ||
} | ||
/** | ||
* <code>optional uint32 size = 1;</code> | ||
* @return Whether the size field is set. | ||
*/ | ||
fun hasSize(): kotlin.Boolean { | ||
return _builder.hasSize() | ||
} | ||
|
||
/** | ||
* <code>optional uint32 windowMs = 2;</code> | ||
*/ | ||
var windowMs: kotlin.Int | ||
@JvmName("getWindowMs") | ||
get() = _builder.getWindowMs() | ||
@JvmName("setWindowMs") | ||
set(value) { | ||
_builder.setWindowMs(value) | ||
} | ||
/** | ||
* <code>optional uint32 windowMs = 2;</code> | ||
*/ | ||
fun clearWindowMs() { | ||
_builder.clearWindowMs() | ||
} | ||
/** | ||
* <code>optional uint32 windowMs = 2;</code> | ||
* @return Whether the windowMs field is set. | ||
*/ | ||
fun hasWindowMs(): kotlin.Boolean { | ||
return _builder.hasWindowMs() | ||
} | ||
|
||
/** | ||
* <code>bool rolling = 3;</code> | ||
*/ | ||
var rolling: kotlin.Boolean | ||
@JvmName("getRolling") | ||
get() = _builder.getRolling() | ||
@JvmName("setRolling") | ||
set(value) { | ||
_builder.setRolling(value) | ||
} | ||
/** | ||
* <code>bool rolling = 3;</code> | ||
*/ | ||
fun clearRolling() { | ||
_builder.clearRolling() | ||
} | ||
} | ||
} | ||
@kotlin.jvm.JvmSynthetic | ||
inline fun io.seldon.mlops.chainer.ChainerOuterClass.Batch.copy(block: io.seldon.mlops.chainer.BatchKt.Dsl.() -> kotlin.Unit): io.seldon.mlops.chainer.ChainerOuterClass.Batch = | ||
io.seldon.mlops.chainer.BatchKt.Dsl._create(this.toBuilder()).apply { block() }._build() |
Oops, something went wrong.