Lines Matching refs:ExtensionDesc
164 type ExtensionDesc struct { struct
173 func (ed *ExtensionDesc) repeated() bool { argument
188 desc *ExtensionDesc
230 func checkExtensionTypes(pb extendableProto, extension *ExtensionDesc) error { argument
259 func extensionProperties(ed *ExtensionDesc) *Properties { argument
283 func HasExtension(pb Message, extension *ExtensionDesc) bool { argument
300 func ClearExtension(pb Message, extension *ExtensionDesc) { argument
319 func GetExtension(pb Message, extension *ExtensionDesc) (interface{}, error) { argument
377 func defaultExtensionValue(extension *ExtensionDesc) (interface{}, error) { argument
416 func decodeExtension(b []byte, extension *ExtensionDesc) (interface{}, error) { argument
447 func GetExtensions(pb Message, es []*ExtensionDesc) (extensions []interface{}, err error) { argument
468 func ExtensionDescs(pb Message) ([]*ExtensionDesc, error) {
481 extensions := make([]*ExtensionDesc, 0, len(emap))
487 desc = &ExtensionDesc{Field: extid}
497 func SetExtension(pb Message, extension *ExtensionDesc, value interface{}) error { argument
538 var extensionMaps = make(map[reflect.Type]map[int32]*ExtensionDesc)
541 func RegisterExtension(desc *ExtensionDesc) { argument
545 m = make(map[int32]*ExtensionDesc)
557 func RegisteredExtensions(pb Message) map[int32]*ExtensionDesc {