internal/impl: remove deprecated ExtensionField methods

These were originally needed by the legacy implementation,
but not anymore now that it fully wraps the new implementation.

Change-Id: I950958ebfcb7883fc4b72128d22eaba2da5cc62f
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/224583
Reviewed-by: Damien Neil <dneil@google.com>
diff --git a/internal/impl/codec_extension.go b/internal/impl/codec_extension.go
index da67a01..08d3517 100644
--- a/internal/impl/codec_extension.go
+++ b/internal/impl/codec_extension.go
@@ -191,43 +191,6 @@
 	return f.typ != nil
 }
 
-// Deprecated: Do not use.
-func (f ExtensionField) HasType() bool {
-	return f.typ != nil
-}
-
-// Deprecated: Do not use.
-func (f ExtensionField) GetType() pref.ExtensionType {
-	return f.typ
-}
-
-// Deprecated: Do not use.
-func (f *ExtensionField) SetType(t pref.ExtensionType) {
-	f.typ = t
-}
-
-// Deprecated: Do not use.
-func (f ExtensionField) HasValue() bool {
-	return f.value.IsValid() || f.lazy != nil
-}
-
-// Deprecated: Do not use.
-func (f ExtensionField) GetValue() interface{} {
-	return f.typ.InterfaceOf(f.Value())
-}
-
-// Deprecated: Do not use.
-func (f *ExtensionField) SetEagerValue(ival interface{}) {
-	f.value = f.typ.ValueOf(ival)
-}
-
-// Deprecated: Do not use.
-func (f *ExtensionField) SetLazyValue(fn func() interface{}) {
-	f.SetLazy(f.typ, func() pref.Value {
-		return f.typ.ValueOf(fn())
-	})
-}
-
 // IsLazy reports whether a field is lazily encoded.
 // It is exported for testing.
 func IsLazy(m pref.Message, fd pref.FieldDescriptor) bool {