ExtensionRequest

class ExtensionRequest(val containing_type: String = "", val extension_number: Int = 0, unknownFields: ByteString = ByteString.EMPTY) : Message<ExtensionRequest, Nothing>

The type name and extension number sent by the client when requesting file_containing_extension.

Constructors

Link copied to clipboard
constructor(containing_type: String = "", extension_number: Int = 0, unknownFields: ByteString = ByteString.EMPTY)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@get:JvmName(name = "adapter")
val adapter: ProtoAdapter<ExtensionRequest>
Link copied to clipboard

Fully-qualified type name. The format should be .

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

Functions

Link copied to clipboard
fun copy(containing_type: String = this.containing_type, extension_number: Int = this.extension_number, unknownFields: ByteString = this.unknownFields): ExtensionRequest
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