aboutsummaryrefslogtreecommitdiff
path: root/vendor/google.golang.org/protobuf/internal/impl/enum.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-07-29 17:31:32 +0200
committerGitHub <noreply@github.com>2022-07-29 17:31:32 +0200
commit1ea3686600eada7e24e352359e9b76ece1c0bae2 (patch)
tree04bd7464360d0c7cd76ace1cd6f953c1c939cb20 /vendor/google.golang.org/protobuf/internal/impl/enum.go
parent6e86e572439c0cbbeac5be48d19fbc74e6f31d87 (diff)
parent49bcb7eaa0f3dd14aee629ac0ce8a4e67b954f00 (diff)
downloadpodman-1ea3686600eada7e24e352359e9b76ece1c0bae2.tar.gz
podman-1ea3686600eada7e24e352359e9b76ece1c0bae2.tar.bz2
podman-1ea3686600eada7e24e352359e9b76ece1c0bae2.zip
Merge pull request #15116 from containers/dependabot/go_modules/google.golang.org/protobuf-1.28.1
Bump google.golang.org/protobuf from 1.28.0 to 1.28.1
Diffstat (limited to 'vendor/google.golang.org/protobuf/internal/impl/enum.go')
-rw-r--r--vendor/google.golang.org/protobuf/internal/impl/enum.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/vendor/google.golang.org/protobuf/internal/impl/enum.go b/vendor/google.golang.org/protobuf/internal/impl/enum.go
index 8c1eab4bf..5f3ef5ad7 100644
--- a/vendor/google.golang.org/protobuf/internal/impl/enum.go
+++ b/vendor/google.golang.org/protobuf/internal/impl/enum.go
@@ -7,15 +7,15 @@ package impl
import (
"reflect"
- pref "google.golang.org/protobuf/reflect/protoreflect"
+ "google.golang.org/protobuf/reflect/protoreflect"
)
type EnumInfo struct {
GoReflectType reflect.Type // int32 kind
- Desc pref.EnumDescriptor
+ Desc protoreflect.EnumDescriptor
}
-func (t *EnumInfo) New(n pref.EnumNumber) pref.Enum {
- return reflect.ValueOf(n).Convert(t.GoReflectType).Interface().(pref.Enum)
+func (t *EnumInfo) New(n protoreflect.EnumNumber) protoreflect.Enum {
+ return reflect.ValueOf(n).Convert(t.GoReflectType).Interface().(protoreflect.Enum)
}
-func (t *EnumInfo) Descriptor() pref.EnumDescriptor { return t.Desc }
+func (t *EnumInfo) Descriptor() protoreflect.EnumDescriptor { return t.Desc }