kubernetes/vendor/google.golang.org/protobuf/internal/impl/legacy_message.go

// legacyWrapMessage wraps v as a protoreflect.Message,
// where v must be a *struct kind and not implement the v2 API already.
func legacyWrapMessage(v reflect.Value) protoreflect.Message {}

// legacyLoadMessageType dynamically loads a protoreflect.Type for t,
// where t must be not implement the v2 API already.
// The provided name is used if it cannot be determined from the message.
func legacyLoadMessageType(t reflect.Type, name protoreflect.FullName) protoreflect.MessageType {}

var legacyMessageTypeCache

// legacyLoadMessageInfo dynamically loads a *MessageInfo for t,
// where t must be a *struct kind and not implement the v2 API already.
// The provided name is used if it cannot be determined from the message.
func legacyLoadMessageInfo(t reflect.Type, name protoreflect.FullName) *MessageInfo {}

var legacyMessageDescCache

// LegacyLoadMessageDesc returns an MessageDescriptor derived from the Go type,
// which should be a *struct kind and must not implement the v2 API already.
//
// This is exported for testing purposes.
func LegacyLoadMessageDesc(t reflect.Type) protoreflect.MessageDescriptor {}

func legacyLoadMessageDesc(t reflect.Type, name protoreflect.FullName) protoreflect.MessageDescriptor {}

var aberrantMessageDescLock

var aberrantMessageDescCache

// aberrantLoadMessageDesc returns an MessageDescriptor derived from the Go type,
// which must not implement protoreflect.ProtoMessage or messageV1.
//
// This is a best-effort derivation of the message descriptor using the protobuf
// tags on the struct fields.
func aberrantLoadMessageDesc(t reflect.Type, name protoreflect.FullName) protoreflect.MessageDescriptor {}

func aberrantLoadMessageDescReentrant(t reflect.Type, name protoreflect.FullName) protoreflect.MessageDescriptor {}

func aberrantDeriveMessageName(t reflect.Type, name protoreflect.FullName) protoreflect.FullName {}

func aberrantAppendField(md *filedesc.Message, goType reflect.Type, tag, tagKey, tagVal string) {}

type placeholderEnumValues

func (placeholderEnumValues) ByNumber(n protoreflect.EnumNumber) protoreflect.EnumValueDescriptor {}

type legacyMarshaler

type legacyUnmarshaler

type legacyMerger

var aberrantProtoMethods

func legacyMarshal(in protoiface.MarshalInput) (protoiface.MarshalOutput, error) {}

func legacyUnmarshal(in protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) {}

func legacyMerge(in protoiface.MergeInput) protoiface.MergeOutput {}

type aberrantMessageType

func (mt aberrantMessageType) New() protoreflect.Message {}

func (mt aberrantMessageType) Zero() protoreflect.Message {}

func (mt aberrantMessageType) GoType() reflect.Type {}

func (mt aberrantMessageType) Descriptor() protoreflect.MessageDescriptor {}

type aberrantMessage

// Reset implements the v1 proto.Message.Reset method.
func (m aberrantMessage) Reset() {}

func (m aberrantMessage) ProtoReflect() protoreflect.Message {}

func (m aberrantMessage) Descriptor() protoreflect.MessageDescriptor {}

func (m aberrantMessage) Type() protoreflect.MessageType {}

func (m aberrantMessage) New() protoreflect.Message {}

func (m aberrantMessage) Interface() protoreflect.ProtoMessage {}

func (m aberrantMessage) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) {}

func (m aberrantMessage) Has(protoreflect.FieldDescriptor) bool {}

func (m aberrantMessage) Clear(protoreflect.FieldDescriptor) {}

func (m aberrantMessage) Get(fd protoreflect.FieldDescriptor) protoreflect.Value {}

func (m aberrantMessage) Set(protoreflect.FieldDescriptor, protoreflect.Value) {}

func (m aberrantMessage) Mutable(protoreflect.FieldDescriptor) protoreflect.Value {}

func (m aberrantMessage) NewField(protoreflect.FieldDescriptor) protoreflect.Value {}

func (m aberrantMessage) WhichOneof(protoreflect.OneofDescriptor) protoreflect.FieldDescriptor {}

func (m aberrantMessage) GetUnknown() protoreflect.RawFields {}

func (m aberrantMessage) SetUnknown(protoreflect.RawFields) {}

func (m aberrantMessage) IsValid() bool {}

func (m aberrantMessage) ProtoMethods() *protoiface.Methods {}

func (m aberrantMessage) protoUnwrap() any {}