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/builder_test
cmd/protoc-gen-go/descriptor_test
cmd/protoc-gen-go/internal_gengoPackage internal_gengo is internal to the protobuf module.
cmd/protoc-gen-go/name_clash_test
cmd/protoc-gen-go/opaque_default_test
cmd/protoc-gen-go/opaque_map_test
compiler
compiler/protogenPackage protogen provides support for writing protoc plugins.
encoding
encoding/protodelimPackage protodelim marshals and unmarshals varint size-delimited messages.
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.
protoadaptPackage protoadapt bridges the original and new proto APIs.
reflect
reflect/protodescPackage protodesc provides functionality for converting FileDescriptorProto messages to/from protoreflect.FileDescriptor values.
reflect/protopathPackage protopath provides functionality for representing a sequence of protobuf reflection operations on a message.
reflect/protorangePackage protorange provides functionality to traverse a message value.
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.
runtime/protolazyPackage protolazy controls the lazy implementation in the protobuf runtime.
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/gofeaturespb
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.36.5 (latest)
Published
Feb 6, 2025
Platform
linux/amd64
Last checked
1 day ago

Tools for package owners.