SchemaDocument

data class SchemaDocument(val types: List<Type> = emptyList()) : SchemaElement

Represents a .proto file and describes the declarations therein. Note that only a subset of the .proto syntax is supported.

Constructors

Link copied to clipboard
constructor(types: List<Type> = emptyList())

Properties

Link copied to clipboard
open override val elementName: String
Link copied to clipboard
open override val elementType: String
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String