package pragma
Import Path
google.golang.org/protobuf/internal/pragma (on go.dev)
Dependency Relation
imports one package, and imported by 8 packages
Involved Source Files
Package pragma provides types that can be embedded into a struct to
statically enforce or prevent certain language properties.
Package-Level Type Names (total 4, all are exported)
DoNotCompare can be embedded in a struct to prevent comparability.
DoNotCopy can be embedded in a struct to help prevent shallow copies.
This does not rely on a Go language feature, but rather a special case
within the vet checker.
See https://golang.org/issues/8005.
DoNotImplement can be embedded in an interface to prevent trivial
implementations of the interface.
This is useful to prevent unauthorized implementations of an interface
so that it can be extended in the future for any protobuf language changes.
( T) ProtoInternal(DoNotImplement)
*google.golang.org/protobuf/internal/filedesc.Base
*google.golang.org/protobuf/internal/filedesc.Enum
*google.golang.org/protobuf/internal/filedesc.EnumRanges
*google.golang.org/protobuf/internal/filedesc.Enums
*google.golang.org/protobuf/internal/filedesc.EnumValue
*google.golang.org/protobuf/internal/filedesc.EnumValues
*google.golang.org/protobuf/internal/filedesc.Extension
*google.golang.org/protobuf/internal/filedesc.Extensions
*google.golang.org/protobuf/internal/filedesc.Field
*google.golang.org/protobuf/internal/filedesc.FieldNumbers
*google.golang.org/protobuf/internal/filedesc.FieldRanges
*google.golang.org/protobuf/internal/filedesc.Fields
*google.golang.org/protobuf/internal/filedesc.File
*google.golang.org/protobuf/internal/filedesc.FileImports
*google.golang.org/protobuf/internal/filedesc.Message
*google.golang.org/protobuf/internal/filedesc.Messages
*google.golang.org/protobuf/internal/filedesc.Method
*google.golang.org/protobuf/internal/filedesc.Methods
*google.golang.org/protobuf/internal/filedesc.Names
*google.golang.org/protobuf/internal/filedesc.Oneof
*google.golang.org/protobuf/internal/filedesc.OneofFields
*google.golang.org/protobuf/internal/filedesc.Oneofs
google.golang.org/protobuf/internal/filedesc.PlaceholderEnum
google.golang.org/protobuf/internal/filedesc.PlaceholderEnumValue
google.golang.org/protobuf/internal/filedesc.PlaceholderFile
google.golang.org/protobuf/internal/filedesc.PlaceholderMessage
*google.golang.org/protobuf/internal/filedesc.Service
*google.golang.org/protobuf/internal/filedesc.Services
*google.golang.org/protobuf/internal/filedesc.SourceLocations
google.golang.org/protobuf/reflect/protoreflect.Descriptor (interface)
google.golang.org/protobuf/reflect/protoreflect.EnumDescriptor (interface)
google.golang.org/protobuf/reflect/protoreflect.EnumDescriptors (interface)
google.golang.org/protobuf/reflect/protoreflect.EnumRanges (interface)
google.golang.org/protobuf/reflect/protoreflect.EnumValueDescriptor (interface)
google.golang.org/protobuf/reflect/protoreflect.EnumValueDescriptors (interface)
google.golang.org/protobuf/reflect/protoreflect.ExtensionDescriptors (interface)
google.golang.org/protobuf/reflect/protoreflect.ExtensionTypeDescriptor (interface)
google.golang.org/protobuf/reflect/protoreflect.FieldDescriptor (interface)
google.golang.org/protobuf/reflect/protoreflect.FieldDescriptors (interface)
google.golang.org/protobuf/reflect/protoreflect.FieldNumbers (interface)
google.golang.org/protobuf/reflect/protoreflect.FieldRanges (interface)
google.golang.org/protobuf/reflect/protoreflect.FileDescriptor (interface)
google.golang.org/protobuf/reflect/protoreflect.FileImport
google.golang.org/protobuf/reflect/protoreflect.FileImports (interface)
google.golang.org/protobuf/reflect/protoreflect.MessageDescriptor (interface)
google.golang.org/protobuf/reflect/protoreflect.MessageDescriptors (interface)
google.golang.org/protobuf/reflect/protoreflect.MethodDescriptor (interface)
google.golang.org/protobuf/reflect/protoreflect.MethodDescriptors (interface)
google.golang.org/protobuf/reflect/protoreflect.Names (interface)
google.golang.org/protobuf/reflect/protoreflect.OneofDescriptor (interface)
google.golang.org/protobuf/reflect/protoreflect.OneofDescriptors (interface)
google.golang.org/protobuf/reflect/protoreflect.ServiceDescriptor (interface)
google.golang.org/protobuf/reflect/protoreflect.ServiceDescriptors (interface)
google.golang.org/protobuf/reflect/protoreflect.SourceLocations (interface)
google.golang.org/protobuf/internal/descfmt.list (interface)
google.golang.org/protobuf/internal/impl.extensionTypeDescriptor
google.golang.org/protobuf/internal/impl.placeholderEnumValues
google.golang.org/protobuf/internal/impl.placeholderExtension
google.golang.org/protobuf/reflect/protoreflect.doNotImplement (interface)
T : google.golang.org/protobuf/reflect/protoreflect.doNotImplement
func DoNotImplement.ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/internal/filedesc.(*Base).ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/internal/filedesc.(*EnumRanges).ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/internal/filedesc.(*Enums).ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/internal/filedesc.(*EnumValues).ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/internal/filedesc.(*Extension).ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/internal/filedesc.(*Extensions).ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/internal/filedesc.(*FieldNumbers).ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/internal/filedesc.(*FieldRanges).ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/internal/filedesc.(*Fields).ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/internal/filedesc.(*File).ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/internal/filedesc.(*FileImports).ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/internal/filedesc.(*Messages).ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/internal/filedesc.(*Method).ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/internal/filedesc.(*Methods).ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/internal/filedesc.(*Names).ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/internal/filedesc.(*OneofFields).ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/internal/filedesc.(*Oneofs).ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/internal/filedesc.PlaceholderEnum.ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/internal/filedesc.PlaceholderEnumValue.ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/internal/filedesc.PlaceholderFile.ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/internal/filedesc.PlaceholderMessage.ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/internal/filedesc.(*Service).ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/internal/filedesc.(*Services).ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/internal/filedesc.(*SourceLocations).ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/reflect/protoreflect.Descriptor.ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/reflect/protoreflect.EnumDescriptor.ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/reflect/protoreflect.EnumDescriptors.ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/reflect/protoreflect.EnumRanges.ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/reflect/protoreflect.EnumValueDescriptor.ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/reflect/protoreflect.EnumValueDescriptors.ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/reflect/protoreflect.ExtensionDescriptor.ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/reflect/protoreflect.ExtensionDescriptors.ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/reflect/protoreflect.ExtensionTypeDescriptor.ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/reflect/protoreflect.FieldDescriptor.ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/reflect/protoreflect.FieldDescriptors.ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/reflect/protoreflect.FieldNumbers.ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/reflect/protoreflect.FieldRanges.ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/reflect/protoreflect.FileDescriptor.ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/reflect/protoreflect.FileImports.ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/reflect/protoreflect.MessageDescriptor.ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/reflect/protoreflect.MessageDescriptors.ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/reflect/protoreflect.MethodDescriptor.ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/reflect/protoreflect.MethodDescriptors.ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/reflect/protoreflect.Names.ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/reflect/protoreflect.OneofDescriptor.ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/reflect/protoreflect.OneofDescriptors.ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/reflect/protoreflect.ServiceDescriptor.ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/reflect/protoreflect.ServiceDescriptors.ProtoInternal(DoNotImplement)
func google.golang.org/protobuf/reflect/protoreflect.SourceLocations.ProtoInternal(DoNotImplement)
NoUnkeyedLiterals can be embedded in a struct to prevent unkeyed literals.
The pages are generated with Golds v0.3.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |