setConsumes

open fun setConsumes(index: Int, value: String): Endpoint.Builder
Types accepted by this method.
repeated string consumes = 6;

Return

This builder for chaining.

Parameters

index

The index to set the value at.

value

The consumes to set.