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

type ValidationStatus

const ValidationUnknown

const ValidationInvalid

const ValidationValid

func (v ValidationStatus) String() string {}

// Validate determines whether the contents of the buffer are a valid wire encoding
// of the message type.
//
// This function is exposed for testing.
func Validate(mt protoreflect.MessageType, in protoiface.UnmarshalInput) (out protoiface.UnmarshalOutput, _ ValidationStatus) {}

type validationInfo

type validationType

const validationTypeOther

const validationTypeMessage

const validationTypeGroup

const validationTypeMap

const validationTypeRepeatedVarint

const validationTypeRepeatedFixed32

const validationTypeRepeatedFixed64

const validationTypeVarint

const validationTypeFixed32

const validationTypeFixed64

const validationTypeBytes

const validationTypeUTF8String

const validationTypeMessageSetItem

func newFieldValidationInfo(mi *MessageInfo, si structInfo, fd protoreflect.FieldDescriptor, ft reflect.Type) validationInfo {}

func newValidationInfo(fd protoreflect.FieldDescriptor, ft reflect.Type) validationInfo {}

func (mi *MessageInfo) validate(b []byte, groupTag protowire.Number, opts unmarshalOptions) (out unmarshalOutput, result ValidationStatus) {}