Deprecated: Do not use.
(b []byte)
| 353 | |
| 354 | // Deprecated: Do not use. |
| 355 | func (x *ExtensionSpec_ExtensionType) UnmarshalJSON(b []byte) error { |
| 356 | num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| 357 | if err != nil { |
| 358 | return err |
| 359 | } |
| 360 | *x = ExtensionSpec_ExtensionType(num) |
| 361 | return nil |
| 362 | } |
| 363 | |
| 364 | // Deprecated: Use ExtensionSpec_ExtensionType.Descriptor instead. |
| 365 | func (ExtensionSpec_ExtensionType) EnumDescriptor() ([]byte, []int) { |
nothing calls this directly
no test coverage detected