set

@JvmName(name = "setConsumes")
operator fun DslList<String, EndpointKt.Dsl.ConsumesProxy>.set(index: Int, value: String)
Types accepted by this method.

repeated string consumes = 6;

Parameters

index

The index to set the value at.

value

The consumes to set.


@JvmName(name = "setProduces")
operator fun DslList<String, EndpointKt.Dsl.ProducesProxy>.set(index: Int, value: String)
Types produced by this method.

repeated string produces = 7;

Parameters

index

The index to set the value at.

value

The produces to set.


@JvmName(name = "setMethod")
operator fun DslList<EndpointMethods, EndpointKt.Dsl.MethodProxy>.set(index: Int, value: EndpointMethods)
HTTP methods supported by this endpoint.

repeated .elide.meta.EndpointMethods method = 8;

Parameters

index

The index to set the value at.

value

The method to set.