Schema
A collection of .proto files that describe a set of messages. A schema is linked: each field's type name is resolved to the corresponding type definition.
Use SchemaLoader to load a schema from source files.
Functions
Returns the field for protoMember, or null if this schema defines no such field.
Returns the field for protoType and memberName, or null if this schema defines no such field.
Returns the field with the fully qualified typeName and memberName, or null if this schema defines no such field.
Returns a wire adapter for the message or enum type named typeName. The returned type adapter doesn't have model classes to encode and decode from, so instead it uses scalar types (String, ByteString, Integer, etc.), maps, lists, and corresponding classes to proto3 types (e.g. Instant for google.prptobuf.Timestamp
.) It can both encode and decode these objects. Map keys are field names.
Returns a copy of this schema that retains only the types and services selected by pruningRules, plus their transitive dependencies.