Dsl

class Dsl

Types

Link copied to clipboard
object Companion
Link copied to clipboard
class ContentProxy : DslProxy

An uninstantiable, behaviorless type to represent the field in generics.

Properties

Link copied to clipboard
val content: DslList<ByteString, HttpBodyKt.Dsl.ContentProxy>

repeated bytes content = 4;

Link copied to clipboard
@get:JvmName(name = "getPresent")
@set:JvmName(name = "setPresent")
var present: Boolean

bool present = 1;

Link copied to clipboard
@get:JvmName(name = "getSize")
@set:JvmName(name = "setSize")
var size: Long

uint64 size = 2;

Link copied to clipboard
@get:JvmName(name = "getType")
@set:JvmName(name = "setType")
var type: String

string type = 3;

Functions

Link copied to clipboard
@JvmName(name = "addContent")
fun DslList<ByteString, HttpBodyKt.Dsl.ContentProxy>.add(value: ByteString)

repeated bytes content = 4;

Link copied to clipboard
@JvmName(name = "addAllContent")
fun DslList<ByteString, HttpBodyKt.Dsl.ContentProxy>.addAll(values: Iterable<ByteString>)

repeated bytes content = 4;

Link copied to clipboard
@JvmName(name = "clearContent")
fun DslList<ByteString, HttpBodyKt.Dsl.ContentProxy>.clear()

repeated bytes content = 4;

Link copied to clipboard

bool present = 1;

Link copied to clipboard
fun clearSize()

uint64 size = 2;

Link copied to clipboard
fun clearType()

string type = 3;

Link copied to clipboard
@JvmName(name = "plusAssignContent")
inline operator fun DslList<ByteString, HttpBodyKt.Dsl.ContentProxy>.plusAssign(value: ByteString)
@JvmName(name = "plusAssignAllContent")
inline operator fun DslList<ByteString, HttpBodyKt.Dsl.ContentProxy>.plusAssign(values: Iterable<ByteString>)

repeated bytes content = 4;

Link copied to clipboard
@JvmName(name = "setContent")
operator fun DslList<ByteString, HttpBodyKt.Dsl.ContentProxy>.set(index: Int, value: ByteString)

repeated bytes content = 4;