kubernetes/vendor/google.golang.org/protobuf/internal/filedesc/desc.go

type Edition

const EditionUnknown

const EditionProto2

const EditionProto3

const Edition2023

const EditionUnsupported

type File

type FileL1

type FileL2

type EditionFeatures

func (fd *File) ParentFile() protoreflect.FileDescriptor {}

func (fd *File) Parent() protoreflect.Descriptor         {}

func (fd *File) Index() int                              {}

func (fd *File) Syntax() protoreflect.Syntax             {}

// Not exported and just used to reconstruct the original FileDescriptor proto
func (fd *File) Edition() int32                  {}

func (fd *File) Name() protoreflect.Name         {}

func (fd *File) FullName() protoreflect.FullName {}

func (fd *File) IsPlaceholder() bool             {}

func (fd *File) Options() protoreflect.ProtoMessage {}

func (fd *File) Path() string                                  {}

func (fd *File) Package() protoreflect.FullName                {}

func (fd *File) Imports() protoreflect.FileImports             {}

func (fd *File) Enums() protoreflect.EnumDescriptors           {}

func (fd *File) Messages() protoreflect.MessageDescriptors     {}

func (fd *File) Extensions() protoreflect.ExtensionDescriptors {}

func (fd *File) Services() protoreflect.ServiceDescriptors     {}

func (fd *File) SourceLocations() protoreflect.SourceLocations {}

func (fd *File) Format(s fmt.State, r rune)                    {}

func (fd *File) ProtoType(protoreflect.FileDescriptor)         {}

func (fd *File) ProtoInternal(pragma.DoNotImplement)           {}

func (fd *File) lazyInit() *FileL2 {}

func (fd *File) lazyInitOnce() {}

// GoPackagePath is a pseudo-internal API for determining the Go package path
// that this file descriptor is declared in.
//
// WARNING: This method is exempt from the compatibility promise and may be
// removed in the future without warning.
func (fd *File) GoPackagePath() string {}

type Enum

type EnumL1

type EnumL2

type EnumValue

type EnumValueL1

func (ed *Enum) Options() protoreflect.ProtoMessage {}

func (ed *Enum) Values() protoreflect.EnumValueDescriptors {}

func (ed *Enum) ReservedNames() protoreflect.Names       {}

func (ed *Enum) ReservedRanges() protoreflect.EnumRanges {}

func (ed *Enum) Format(s fmt.State, r rune)              {}

func (ed *Enum) ProtoType(protoreflect.EnumDescriptor)   {}

func (ed *Enum) lazyInit() *EnumL2 {}

func (ed *Enum) IsClosed() bool {}

func (ed *EnumValue) Options() protoreflect.ProtoMessage {}

func (ed *EnumValue) Number() protoreflect.EnumNumber            {}

func (ed *EnumValue) Format(s fmt.State, r rune)                 {}

func (ed *EnumValue) ProtoType(protoreflect.EnumValueDescriptor) {}

type Message

type MessageL1

type MessageL2

type Field

type FieldL1

type Oneof

type OneofL1

func (md *Message) Options() protoreflect.ProtoMessage {}

func (md *Message) IsMapEntry() bool                           {}

func (md *Message) Fields() protoreflect.FieldDescriptors      {}

func (md *Message) Oneofs() protoreflect.OneofDescriptors      {}

func (md *Message) ReservedNames() protoreflect.Names          {}

func (md *Message) ReservedRanges() protoreflect.FieldRanges   {}

func (md *Message) RequiredNumbers() protoreflect.FieldNumbers {}

func (md *Message) ExtensionRanges() protoreflect.FieldRanges  {}

func (md *Message) ExtensionRangeOptions(i int) protoreflect.ProtoMessage {}

func (md *Message) Enums() protoreflect.EnumDescriptors           {}

func (md *Message) Messages() protoreflect.MessageDescriptors     {}

func (md *Message) Extensions() protoreflect.ExtensionDescriptors {}

func (md *Message) ProtoType(protoreflect.MessageDescriptor)      {}

func (md *Message) Format(s fmt.State, r rune)                    {}

func (md *Message) lazyInit() *MessageL2 {}

// IsMessageSet is a pseudo-internal API for checking whether a message
// should serialize in the proto1 message format.
//
// WARNING: This method is exempt from the compatibility promise and may be
// removed in the future without warning.
func (md *Message) IsMessageSet() bool {}

func (fd *Field) Options() protoreflect.ProtoMessage {}

func (fd *Field) Number() protoreflect.FieldNumber      {}

func (fd *Field) Cardinality() protoreflect.Cardinality {}

func (fd *Field) Kind() protoreflect.Kind {}

func (fd *Field) HasJSONName() bool {}

func (fd *Field) JSONName() string  {}

func (fd *Field) TextName() string  {}

func (fd *Field) HasPresence() bool {}

func (fd *Field) HasOptionalKeyword() bool {}

func (fd *Field) IsPacked() bool {}

func (fd *Field) IsExtension() bool {}

func (fd *Field) IsWeak() bool      {}

func (fd *Field) IsList() bool      {}

func (fd *Field) IsMap() bool       {}

func (fd *Field) MapKey() protoreflect.FieldDescriptor {}

func (fd *Field) MapValue() protoreflect.FieldDescriptor {}

func (fd *Field) HasDefault() bool                                   {}

func (fd *Field) Default() protoreflect.Value                        {}

func (fd *Field) DefaultEnumValue() protoreflect.EnumValueDescriptor {}

func (fd *Field) ContainingOneof() protoreflect.OneofDescriptor      {}

func (fd *Field) ContainingMessage() protoreflect.MessageDescriptor {}

func (fd *Field) Enum() protoreflect.EnumDescriptor {}

func (fd *Field) Message() protoreflect.MessageDescriptor {}

func (fd *Field) IsMapEntry() bool {}

func (fd *Field) Format(s fmt.State, r rune)             {}

func (fd *Field) ProtoType(protoreflect.FieldDescriptor) {}

// EnforceUTF8 is a pseudo-internal API to determine whether to enforce UTF-8
// validation for the string field. This exists for Google-internal use only
// since proto3 did not enforce UTF-8 validity prior to the open-source release.
// If this method does not exist, the default is to enforce valid UTF-8.
//
// WARNING: This method is exempt from the compatibility promise and may be
// removed in the future without warning.
func (fd *Field) EnforceUTF8() bool {}

func (od *Oneof) IsSynthetic() bool {}

func (od *Oneof) Options() protoreflect.ProtoMessage {}

func (od *Oneof) Fields() protoreflect.FieldDescriptors  {}

func (od *Oneof) Format(s fmt.State, r rune)             {}

func (od *Oneof) ProtoType(protoreflect.OneofDescriptor) {}

type Extension

type ExtensionL1

type ExtensionL2

func (xd *Extension) Options() protoreflect.ProtoMessage {}

func (xd *Extension) Number() protoreflect.FieldNumber      {}

func (xd *Extension) Cardinality() protoreflect.Cardinality {}

func (xd *Extension) Kind() protoreflect.Kind               {}

func (xd *Extension) HasJSONName() bool                     {}

func (xd *Extension) JSONName() string                      {}

func (xd *Extension) TextName() string                      {}

func (xd *Extension) HasPresence() bool                     {}

func (xd *Extension) HasOptionalKeyword() bool {}

func (xd *Extension) IsPacked() bool {}

func (xd *Extension) IsExtension() bool                      {}

func (xd *Extension) IsWeak() bool                           {}

func (xd *Extension) IsList() bool                           {}

func (xd *Extension) IsMap() bool                            {}

func (xd *Extension) MapKey() protoreflect.FieldDescriptor   {}

func (xd *Extension) MapValue() protoreflect.FieldDescriptor {}

func (xd *Extension) HasDefault() bool                       {}

func (xd *Extension) Default() protoreflect.Value            {}

func (xd *Extension) DefaultEnumValue() protoreflect.EnumValueDescriptor {}

func (xd *Extension) ContainingOneof() protoreflect.OneofDescriptor     {}

func (xd *Extension) ContainingMessage() protoreflect.MessageDescriptor {}

func (xd *Extension) Enum() protoreflect.EnumDescriptor                 {}

func (xd *Extension) Message() protoreflect.MessageDescriptor           {}

func (xd *Extension) Format(s fmt.State, r rune)                        {}

func (xd *Extension) ProtoType(protoreflect.FieldDescriptor)            {}

func (xd *Extension) ProtoInternal(pragma.DoNotImplement)               {}

func (xd *Extension) lazyInit() *ExtensionL2 {}

type Service

type ServiceL1

type ServiceL2

type Method

type MethodL1

func (sd *Service) Options() protoreflect.ProtoMessage {}

func (sd *Service) Methods() protoreflect.MethodDescriptors  {}

func (sd *Service) Format(s fmt.State, r rune)               {}

func (sd *Service) ProtoType(protoreflect.ServiceDescriptor) {}

func (sd *Service) ProtoInternal(pragma.DoNotImplement)      {}

func (sd *Service) lazyInit() *ServiceL2 {}

func (md *Method) Options() protoreflect.ProtoMessage {}

func (md *Method) Input() protoreflect.MessageDescriptor   {}

func (md *Method) Output() protoreflect.MessageDescriptor  {}

func (md *Method) IsStreamingClient() bool                 {}

func (md *Method) IsStreamingServer() bool                 {}

func (md *Method) Format(s fmt.State, r rune)              {}

func (md *Method) ProtoType(protoreflect.MethodDescriptor) {}

func (md *Method) ProtoInternal(pragma.DoNotImplement)     {}

var SurrogateProto2

var SurrogateProto3

var SurrogateEdition2023

type Base

type BaseL0

func (d *Base) Name() protoreflect.Name         {}

func (d *Base) FullName() protoreflect.FullName {}

func (d *Base) ParentFile() protoreflect.FileDescriptor {}

func (d *Base) Parent() protoreflect.Descriptor     {}

func (d *Base) Index() int                          {}

func (d *Base) Syntax() protoreflect.Syntax         {}

func (d *Base) IsPlaceholder() bool                 {}

func (d *Base) ProtoInternal(pragma.DoNotImplement) {}

type stringName

// InitJSON initializes the name. It is exported for use by other internal packages.
func (s *stringName) InitJSON(name string) {}

// Returns true if this field is structured like the synthetic field of a proto2
// group. This allows us to expand our treatment of delimited fields without
// breaking proto2 files that have been upgraded to editions.
func isGroupLike(fd protoreflect.FieldDescriptor) bool {}

func (s *stringName) lazyInit(fd protoreflect.FieldDescriptor) *stringName {}

func (s *stringName) getJSON(fd protoreflect.FieldDescriptor) string {}

func (s *stringName) getText(fd protoreflect.FieldDescriptor) string {}

func DefaultValue(v protoreflect.Value, ev protoreflect.EnumValueDescriptor) defaultValue {}

func unmarshalDefault(b []byte, k protoreflect.Kind, pf *File, ed protoreflect.EnumDescriptor) defaultValue {}

type defaultValue

func (dv *defaultValue) get(fd protoreflect.FieldDescriptor) protoreflect.Value {}