Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FieldNotFoundError = xerrors.New("Can't find field")
Functions ¶
func SetValue ¶
func SetValue(container protoreflect.Message, value protoreflect.Message) error
SetValue will assign one-of value to a container with corresponding one-of
func Value ¶
func Value(root protoreflect.Message) (protoreflect.ProtoMessage, error)
Value get single one-of value. Extract actual one-of message instead of `IsOneOfFoo` interface wrapper
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.