protobuf – google.golang.org/protobuf Directories

protobuf/ directory

Directories

PathSynopsis
cmd
cmd/protoc-gen-goThe protoc-gen-go binary is a protoc plugin to generate Go code for both proto2 and proto3 versions of the protocol buffer language.
cmd/protoc-gen-go/internal_gengoPackage internal_gengo is internal to the protobuf module.
compiler
compiler/protogenPackage protogen provides support for writing protoc plugins.
encoding
encoding/protojsonPackage protojson marshals and unmarshals protocol buffer messages as JSON format.
encoding/prototextPackage prototext marshals and unmarshals protocol buffer messages as the textproto format.
encoding/protowirePackage protowire parses and formats the raw wire encoding.
internal
protoPackage proto provides functions operating on protocol buffer messages.
reflect
reflect/protodescPackage protodesc provides functionality for converting FileDescriptorProto messages to/from protoreflect.FileDescriptor values.
reflect/protoreflectPackage protoreflect provides interfaces to dynamically manipulate messages.
reflect/protoregistryPackage protoregistry provides data structures to register and lookup protobuf descriptor types.
runtime
runtime/protoifacePackage protoiface contains types referenced or implemented by messages.
runtime/protoimplPackage protoimpl contains the default implementation for messages generated by protoc-gen-go.
testing
testing/protocmpPackage protocmp provides protobuf specific options for the "github.com/google/go-cmp/cmp" package.
testing/protopackPackage protopack enables manual encoding and decoding of protobuf wire data.
testing/prototestPackage prototest exercises protobuf reflection.
types
types/descriptorpb
types/dynamicpbPackage dynamicpb creates protocol buffer messages using runtime type information.
types/known
types/known/anypbPackage anypb contains generated types for google/protobuf/any.proto.
types/known/apipb
types/known/durationpbPackage durationpb contains generated types for google/protobuf/duration.proto.
types/known/emptypb
types/known/fieldmaskpbPackage fieldmaskpb contains generated types for google/protobuf/field_mask.proto.
types/known/sourcecontextpb
types/known/structpbPackage structpb contains generated types for google/protobuf/struct.proto.
types/known/timestamppbPackage timestamppb contains generated types for google/protobuf/timestamp.proto.
types/known/typepb
types/known/wrapperspb
types/pluginpb
Version
v1.26.0-rc.1
Published
Mar 17, 2021
Platform
windows/amd64
Last checked
1 minute ago

Tools for package owners.