HttpBody

class HttpBody : GeneratedMessage, HttpBodyOrBuilder
Describes HTTP body parameters for a request or response payload.
Protobuf type elide.http.HttpBody

Types

Link copied to clipboard
class Builder : GeneratedMessage.Builder<BuilderT> , HttpBodyOrBuilder
Describes HTTP body parameters for a request or response payload.
Protobuf type elide.http.HttpBody

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
inline fun HttpBody.copy(block: HttpBodyKt.Dsl.() -> Unit): HttpBody
Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
Link copied to clipboard
open fun getAllFields(): Map<Descriptors.FieldDescriptor, Any>
Link copied to clipboard
open fun getContent(index: Int): ByteString
Content chunks which constitute this payload; fixed-size responses have only one chunk.
repeated bytes content = 4;
Link copied to clipboard
open fun getContentCount(): Int
Content chunks which constitute this payload; fixed-size responses have only one chunk.
repeated bytes content = 4;
Link copied to clipboard
open fun getContentList(): List<ByteString>
Content chunks which constitute this payload; fixed-size responses have only one chunk.
repeated bytes content = 4;
Link copied to clipboard
Link copied to clipboard
abstract fun getDefaultInstanceForType(): MessageLite
Link copied to clipboard
fun getDescriptor(): Descriptors.Descriptor
Link copied to clipboard
open fun getDescriptorForType(): Descriptors.Descriptor
Link copied to clipboard
open fun getField(field: Descriptors.FieldDescriptor): Any
Link copied to clipboard
open fun getOneofFieldDescriptor(oneof: Descriptors.OneofDescriptor): Descriptors.FieldDescriptor
Link copied to clipboard
abstract fun getParserForType(): Parser<out Message>
abstract fun getParserForType(): Parser<out MessageLite>
open fun getParserForType(): Parser<HttpBody>
Link copied to clipboard
open fun getPresent(): Boolean
Whether an HTTP body is present.
bool present = 1;
Link copied to clipboard
open fun getRepeatedField(field: Descriptors.FieldDescriptor, index: Int): Any
Link copied to clipboard
open fun getRepeatedFieldCount(field: Descriptors.FieldDescriptor): Int
Link copied to clipboard
Link copied to clipboard
open fun getSize(): Long
Size of the HTTP body, in bytes.
uint64 size = 2;
Link copied to clipboard
open fun getType(): String
Content type declared for this payload, if available.
string type = 3;
Link copied to clipboard
open fun getTypeBytes(): ByteString
Content type declared for this payload, if available.
string type = 3;
Link copied to clipboard
open fun getUnknownFields(): UnknownFieldSet
Link copied to clipboard
open fun hasField(field: Descriptors.FieldDescriptor): Boolean
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun hasOneof(oneof: Descriptors.OneofDescriptor): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun <ContainingT : Message?, T> newFileScopedGeneratedExtension(singularType: Class<out Any>, defaultInstance: Message): GeneratedMessage.GeneratedExtension<ContainingT, T>
Link copied to clipboard
open fun <ContainingT : Message?, T> newMessageScopedGeneratedExtension(scope: Message, descriptorIndex: Int, singularType: Class<out Any>, defaultInstance: Message): GeneratedMessage.GeneratedExtension<ContainingT, T>
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): HttpBody
Link copied to clipboard
open fun parseFrom(data: Array<Byte>): HttpBody
open fun parseFrom(data: ByteString): HttpBody
open fun parseFrom(input: CodedInputStream): HttpBody
open fun parseFrom(input: InputStream): HttpBody
open fun parseFrom(data: ByteBuffer): HttpBody
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): HttpBody
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): HttpBody
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): HttpBody
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): HttpBody
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): HttpBody
Link copied to clipboard
open fun parser(): Parser<HttpBody>
Link copied to clipboard
Link copied to clipboard
open fun toByteArray(): Array<Byte>
Link copied to clipboard
open fun toByteString(): ByteString
Link copied to clipboard
Link copied to clipboard
open fun writeDelimitedTo(output: OutputStream)
Link copied to clipboard
open fun writeTo(output: CodedOutputStream)