ServerReflectionRequest

class ServerReflectionRequest(val host: String = "", val file_by_filename: String? = null, val file_containing_symbol: String? = null, val file_containing_extension: ExtensionRequest? = null, val all_extension_numbers_of_type: String? = null, val list_services: String? = null, unknownFields: ByteString = ByteString.EMPTY) : Message<ServerReflectionRequest, Nothing>

The message sent by the client when calling ServerReflectionInfo method.

Constructors

Link copied to clipboard
constructor(host: String = "", file_by_filename: String? = null, file_containing_symbol: String? = null, file_containing_extension: ExtensionRequest? = null, all_extension_numbers_of_type: String? = null, list_services: String? = null, unknownFields: ByteString = ByteString.EMPTY)

Types

Link copied to clipboard
object Companion

Properties

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

Finds the tag numbers used by all known extensions of the given message type, and appends them to ExtensionNumberResponse in an undefined order. Its corresponding method is best-effort: it's not guaranteed that the reflection service will implement this method, and it's not guaranteed that this method will provide all extensions. Returns StatusCode::UNIMPLEMENTED if it's not implemented. This field should be a fully-qualified type name. The format is .

Link copied to clipboard

Find a proto file by the file name.

Link copied to clipboard

Find the proto file which defines an extension extending the given message type with the given field number.

Link copied to clipboard

Find the proto file that declares the given fully-qualified symbol name. This field should be a fully-qualified symbol name (e.g. .\[.\] or .).

Link copied to clipboard
Link copied to clipboard

List the full names of registered services. The content will not be checked.

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

Functions

Link copied to clipboard
fun copy(host: String = this.host, file_by_filename: String? = this.file_by_filename, file_containing_symbol: String? = this.file_containing_symbol, file_containing_extension: ExtensionRequest? = this.file_containing_extension, all_extension_numbers_of_type: String? = this.all_extension_numbers_of_type, list_services: String? = this.list_services, unknownFields: ByteString = this.unknownFields): ServerReflectionRequest
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