ListServiceResponse

class ListServiceResponse(service: List<ServiceResponse> = emptyList(), unknownFields: ByteString = ByteString.EMPTY) : Message<ListServiceResponse, Nothing>

A list of ServiceResponse sent by the server answering list_services request.

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

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

The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.

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

Functions

Link copied to clipboard
fun copy(service: List<ServiceResponse> = this.service, unknownFields: ByteString = this.unknownFields): ListServiceResponse
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