package
0.0.0-20250205221240-492d3672b3f4
Repository: https://github.com/google/starlark-go.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
Pool returns the descriptor pool previously associated with this thread.
SetPool associates with the specified Starlark thread the descriptor pool used to find descriptors for .proto files and to instantiate messages from descriptors.
Unmarshal parses the data as a binary protocol message of the specified type, and returns it as a new Starlark message value.
UnmarshalText parses the data as a text protocol message of the specified type, and returns it as a new Starlark message value.
# Variables
No description provided by the author
# Structs
An EnumDescriptor is an immutable Starlark value that describes an protocol enum type.
An EnumValueDescriptor is an immutable Starlark value that represents one value of an enumeration.
A FieldDescriptor is an immutable Starlark value that describes a field (possibly an extension field) of protocol message.
A FileDescriptor is an immutable Starlark value that describes a .proto file.
A Message is a Starlark value that wraps a protocol message.
A MessageDescriptor is an immutable Starlark value that describes a protocol message type.
A RepeatedField is a Starlark value that wraps a repeated field of a protocol message.
# Interfaces
A DescriptorPool loads FileDescriptors by path name or package name, possibly on demand.