Lines Matching defs:ExtensionDesc
164 type ExtensionDesc struct { struct
165 ExtendedType Message // nil pointer to the type that is being extended
166 ExtensionType interface{} // nil pointer to the extension type
167 Field int32 // field number
168 Name string // fully-qualified name of extension, for text formatting
169 Tag string // protobuf tag style
170 Filename string // name of the file in which the extension is defined
173 func (ed *ExtensionDesc) repeated() bool {
230 func checkExtensionTypes(pb extendableProto, extension *ExtensionDesc) error {
259 func extensionProperties(ed *ExtensionDesc) *Properties {
283 func HasExtension(pb Message, extension *ExtensionDesc) bool {
300 func ClearExtension(pb Message, extension *ExtensionDesc) {
319 func GetExtension(pb Message, extension *ExtensionDesc) (interface{}, error) {
377 func defaultExtensionValue(extension *ExtensionDesc) (interface{}, error) {
416 func decodeExtension(b []byte, extension *ExtensionDesc) (interface{}, error) {
447 func GetExtensions(pb Message, es []*ExtensionDesc) (extensions []interface{}, err error) {
497 func SetExtension(pb Message, extension *ExtensionDesc, value interface{}) error {
541 func RegisterExtension(desc *ExtensionDesc) {