ServerReflectionResponse

class ServerReflectionResponse(val valid_host: String = "", val original_request: ServerReflectionRequest? = null, val file_descriptor_response: FileDescriptorResponse? = null, val all_extension_numbers_response: ExtensionNumberResponse? = null, val list_services_response: ListServiceResponse? = null, val error_response: ErrorResponse? = null, unknownFields: ByteString = ByteString.EMPTY) : Message<ServerReflectionResponse, Nothing>

The message sent by the server to answer ServerReflectionInfo method.

Constructors

Link copied to clipboard
constructor(valid_host: String = "", original_request: ServerReflectionRequest? = null, file_descriptor_response: FileDescriptorResponse? = null, all_extension_numbers_response: ExtensionNumberResponse? = null, list_services_response: ListServiceResponse? = null, error_response: ErrorResponse? = null, unknownFields: ByteString = ByteString.EMPTY)

Types

Link copied to clipboard
object Companion

Properties

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

This message is used to answer all_extension_numbers_of_type requst.

Link copied to clipboard

This message is used when an error occurs.

Link copied to clipboard

This message is used to answer file_by_filename, file_containing_symbol, file_containing_extension requests with transitive dependencies. As the repeated label is not allowed in oneof fields, we use a FileDescriptorResponse message to encapsulate the repeated fields. The reflection service is allowed to avoid sending FileDescriptorProtos that were previously sent in response to earlier requests in the stream.

Link copied to clipboard

This message is used to answer list_services request.

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

Functions

Link copied to clipboard
fun copy(valid_host: String = this.valid_host, original_request: ServerReflectionRequest? = this.original_request, file_descriptor_response: FileDescriptorResponse? = this.file_descriptor_response, all_extension_numbers_response: ExtensionNumberResponse? = this.all_extension_numbers_response, list_services_response: ListServiceResponse? = this.list_services_response, error_response: ErrorResponse? = this.error_response, unknownFields: ByteString = this.unknownFields): ServerReflectionResponse
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