package protoiface
Import Path
google.golang.org/protobuf/runtime/protoiface (on go.dev )
Dependency Relation
imports 2 packages , and imported by 4 packages
Package-Level Type Names (total 18, all are exported)
/* sort exporteds by: alphabet | popularity */
type MessageV1 (interface)
Methods (total 3, all are exported )
( T) ProtoMessage ()
( T) Reset ()
( T) String () string
Implemented By (at least 39, in which 37 are exported )
*google.golang.org/protobuf/types/descriptorpb.DescriptorProto
*google.golang.org/protobuf/types/descriptorpb.DescriptorProto_ExtensionRange
*google.golang.org/protobuf/types/descriptorpb.DescriptorProto_ReservedRange
*google.golang.org/protobuf/types/descriptorpb.EnumDescriptorProto
*google.golang.org/protobuf/types/descriptorpb.EnumDescriptorProto_EnumReservedRange
*google.golang.org/protobuf/types/descriptorpb.EnumOptions
*google.golang.org/protobuf/types/descriptorpb.EnumValueDescriptorProto
*google.golang.org/protobuf/types/descriptorpb.EnumValueOptions
*google.golang.org/protobuf/types/descriptorpb.ExtensionRangeOptions
*google.golang.org/protobuf/types/descriptorpb.FieldDescriptorProto
*google.golang.org/protobuf/types/descriptorpb.FieldOptions
*google.golang.org/protobuf/types/descriptorpb.FileDescriptorProto
*google.golang.org/protobuf/types/descriptorpb.FileDescriptorSet
*google.golang.org/protobuf/types/descriptorpb.FileOptions
*google.golang.org/protobuf/types/descriptorpb.GeneratedCodeInfo
*google.golang.org/protobuf/types/descriptorpb.GeneratedCodeInfo_Annotation
*google.golang.org/protobuf/types/descriptorpb.MessageOptions
*google.golang.org/protobuf/types/descriptorpb.MethodDescriptorProto
*google.golang.org/protobuf/types/descriptorpb.MethodOptions
*google.golang.org/protobuf/types/descriptorpb.OneofDescriptorProto
*google.golang.org/protobuf/types/descriptorpb.OneofOptions
*google.golang.org/protobuf/types/descriptorpb.ServiceDescriptorProto
*google.golang.org/protobuf/types/descriptorpb.ServiceOptions
*google.golang.org/protobuf/types/descriptorpb.SourceCodeInfo
*google.golang.org/protobuf/types/descriptorpb.SourceCodeInfo_Location
*google.golang.org/protobuf/types/descriptorpb.UninterpretedOption
*google.golang.org/protobuf/types/descriptorpb.UninterpretedOption_NamePart
*google.golang.org/protobuf/types/known/anypb.Any
*google.golang.org/protobuf/types/known/durationpb.Duration
*google.golang.org/protobuf/types/known/timestamppb.Timestamp
*google.golang.org/genproto/googleapis/api/annotations.CustomHttpPattern
*google.golang.org/genproto/googleapis/api/annotations.Http
*google.golang.org/genproto/googleapis/api/annotations.HttpRule
*google.golang.org/genproto/googleapis/api/annotations.ResourceDescriptor
*google.golang.org/genproto/googleapis/api/annotations.ResourceReference
*google.golang.org/genproto/googleapis/logging/type.HttpRequest
github.com/golang/protobuf/ptypes.DynamicAny
/* 2+ unexporteds ... */ /* 2+ unexporteds: */
google.golang.org/protobuf/internal/impl.legacyMessageWrapper
*github.com/golang/protobuf/proto.unknownFields
Implements (at least 4, in which 1 are exported )
T : fmt.Stringer
/* 3+ unexporteds ... */ /* 3+ unexporteds: */
T : context.stringer
T : os/signal.stringer
T : runtime.stringer
As Outputs Of (at least 4, all are exported )
func google.golang.org/protobuf/internal/impl.Export .ProtoMessageV1Of (m impl .message ) MessageV1
func github.com/golang/protobuf/proto.Clone (src proto .Message ) proto .Message
func github.com/golang/protobuf/proto.MessageV1 (m proto .GeneratedMessage ) MessageV1
func github.com/golang/protobuf/ptypes.Empty (any *anypb .Any ) (proto .Message , error )
As Inputs Of (at least 46, in which 44 are exported )
func google.golang.org/protobuf/internal/impl.Export .LegacyMessageTypeOf (m MessageV1 , name pref .FullName ) pref .MessageType
func github.com/golang/protobuf/proto.ClearAllExtensions (m proto .Message )
func github.com/golang/protobuf/proto.ClearExtension (m proto .Message , xt *proto .ExtensionDesc )
func github.com/golang/protobuf/proto.Clone (src proto .Message ) proto .Message
func github.com/golang/protobuf/proto.CompactText (w io .Writer , m proto .Message ) error
func github.com/golang/protobuf/proto.CompactTextString (m proto .Message ) string
func github.com/golang/protobuf/proto.DiscardUnknown (m proto .Message )
func github.com/golang/protobuf/proto.Equal (x, y proto .Message ) bool
func github.com/golang/protobuf/proto.ExtensionDescs (m proto .Message ) ([]*proto .ExtensionDesc , error )
func github.com/golang/protobuf/proto.GetExtension (m proto .Message , xt *proto .ExtensionDesc ) (interface{}, error )
func github.com/golang/protobuf/proto.GetExtensions (m proto .Message , xts []*proto .ExtensionDesc ) ([]interface{}, error )
func github.com/golang/protobuf/proto.HasExtension (m proto .Message , xt *proto .ExtensionDesc ) (has bool )
func github.com/golang/protobuf/proto.Marshal (m proto .Message ) ([]byte , error )
func github.com/golang/protobuf/proto.MarshalText (w io .Writer , m proto .Message ) error
func github.com/golang/protobuf/proto.MarshalTextString (m proto .Message ) string
func github.com/golang/protobuf/proto.Merge (dst, src proto .Message )
func github.com/golang/protobuf/proto.MessageName (m proto .Message ) proto .messageName
func github.com/golang/protobuf/proto.MessageReflect (m proto .Message ) protoreflect .Message
func github.com/golang/protobuf/proto.RegisteredExtensions (m proto .Message ) proto .extensionsByNumber
func github.com/golang/protobuf/proto.RegisterMessageSetType (proto .Message , int32 , string )
func github.com/golang/protobuf/proto.RegisterType (m proto .Message , s proto .messageName )
func github.com/golang/protobuf/proto.SetDefaults (m proto .Message )
func github.com/golang/protobuf/proto.SetExtension (m proto .Message , xt *proto .ExtensionDesc , v interface{}) error
func github.com/golang/protobuf/proto.SetRawExtension (m proto .Message , fnum int32 , b []byte )
func github.com/golang/protobuf/proto.Size (m proto .Message ) int
func github.com/golang/protobuf/proto.Unmarshal (b []byte , m proto .Message ) error
func github.com/golang/protobuf/proto.UnmarshalMerge (b []byte , m proto .Message ) error
func github.com/golang/protobuf/proto.UnmarshalText (s string , m proto .Message ) error
func github.com/golang/protobuf/proto.(*Buffer ).DecodeGroup (m proto .Message ) error
func github.com/golang/protobuf/proto.(*Buffer ).DecodeMessage (m proto .Message ) error
func github.com/golang/protobuf/proto.(*Buffer ).EncodeMessage (m proto .Message ) error
func github.com/golang/protobuf/proto.(*Buffer ).Marshal (m proto .Message ) error
func github.com/golang/protobuf/proto.(*Buffer ).Unmarshal (m proto .Message ) error
func github.com/golang/protobuf/proto.(*InternalMessageInfo ).DiscardUnknown (m proto .Message )
func github.com/golang/protobuf/proto.(*InternalMessageInfo ).Marshal (b []byte , m proto .Message , deterministic bool ) ([]byte , error )
func github.com/golang/protobuf/proto.(*InternalMessageInfo ).Merge (dst, src proto .Message )
func github.com/golang/protobuf/proto.(*InternalMessageInfo ).Size (m proto .Message ) int
func github.com/golang/protobuf/proto.(*InternalMessageInfo ).Unmarshal (m proto .Message , b []byte ) error
func github.com/golang/protobuf/proto.Merger .Merge (MessageV1 )
func github.com/golang/protobuf/proto.(*TextMarshaler ).Marshal (w io .Writer , m proto .Message ) error
func github.com/golang/protobuf/proto.(*TextMarshaler ).Text (m proto .Message ) string
func github.com/golang/protobuf/ptypes.Is (any *anypb .Any , m proto .Message ) bool
func github.com/golang/protobuf/ptypes.MarshalAny (m proto .Message ) (*anypb .Any , error )
func github.com/golang/protobuf/ptypes.UnmarshalAny (any *anypb .Any , m proto .Message ) error
/* 2+ unexporteds ... */ /* 2+ unexporteds: */
func github.com/golang/protobuf/proto.marshalAppend (buf []byte , m proto .Message , deterministic bool ) ([]byte , error )
func github.com/golang/protobuf/proto.(*TextMarshaler ).marshal (m proto .Message ) ([]byte , error )
Package-Level Constants (total 7, all are exported)
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 .