FileDescriptorResponse

class FileDescriptorResponse(file_descriptor_proto: List<ByteString> = emptyList(), unknownFields: ByteString = ByteString.EMPTY) : Message<FileDescriptorResponse, Nothing>

Serialized FileDescriptorProto messages sent by the server answering a file_by_filename, file_containing_symbol, or file_containing_extension request.

Constructors

Link copied to clipboard
constructor(file_descriptor_proto: List<ByteString> = emptyList(), unknownFields: ByteString = ByteString.EMPTY)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@get:JvmName(name = "adapter")
val adapter: ProtoAdapter<FileDescriptorResponse>
Link copied to clipboard
val file_descriptor_proto: List<ByteString>

Serialized FileDescriptorProto messages. We avoid taking a dependency on descriptor.proto, which uses proto2 only features, by making them opaque bytes instead.

Link copied to clipboard
@get:JvmName(name = "unknownFields")
open val unknownFields: ByteString

Functions

Link copied to clipboard
fun copy(file_descriptor_proto: List<ByteString> = this.file_descriptor_proto, unknownFields: ByteString = this.unknownFields): FileDescriptorResponse
Link copied to clipboard
fun encode(stream: OutputStream)
fun encode(sink: BufferedSink)
Link copied to clipboard
fun encodeByteString(): ByteString
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String