# Functions
Bool stores v in a new bool value and returns a pointer to it.
CheckInitialized returns an error if any required fields in m are not set.
ClearExtension clears an extension field such that subsequent [HasExtension] calls return false.
Clone returns a deep copy of m.
Equal reports whether two messages are equal, by recursively comparing the fields of the message.
Float32 stores v in a new float32 value and returns a pointer to it.
Float64 stores v in a new float64 value and returns a pointer to it.
GetExtension retrieves the value for an extension field.
HasExtension reports whether an extension field is populated.
Int32 stores v in a new int32 value and returns a pointer to it.
Int64 stores v in a new int64 value and returns a pointer to it.
Marshal returns the wire-format encoding of m.
Merge merges src into dst, which must be a message with the same descriptor.
MessageName returns the full name of m.
RangeExtensions iterates over every populated extension field in m in an undefined order, calling f for each extension type and value encountered.
Reset clears every field in the message.
SetExtension stores the value of an extension field.
Size returns the size in bytes of the wire-format encoding of m.
String stores v in a new string value and returns a pointer to it.
Uint32 stores v in a new uint32 value and returns a pointer to it.
Uint64 stores v in a new uint64 value and returns a pointer to it.
Unmarshal parses the wire-format message in b and places the result in m.
ValueOrDefault returns the protobuf message val if val is not nil, otherwise it returns a pointer to an empty val message.
ValueOrDefaultBytes is like ValueOrDefault but for working with fields of type []byte.
ValueOrNil returns nil if has is false, or a pointer to a new variable containing the value returned by the specified getter.
# Variables
Error matches all errors produced by packages in the protobuf module according to [errors.Is].
# Structs
MarshalOptions configures the marshaler.
UnmarshalOptions configures the unmarshaler.
# Type aliases
Message is the top-level interface that all messages must implement.