Back to godoc.org
google.golang.org/protobuf

directory google.golang.org/protobuf

v1.23.0
Latest Go to latest
Published: May 14, 2020 | License: BSD-3-Clause | Module: google.golang.org/protobuf
Path Synopsis
cmd/protoc-gen-go The 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_gengo Package internal_gengo is internal to the protobuf module.
compiler/protogen Package protogen provides support for writing protoc plugins.
encoding/protojson Package protojson marshals and unmarshals protocol buffer messages as JSON format.
encoding/prototext Package prototext marshals and unmarshals protocol buffer messages as the textproto format.
encoding/protowire Package protowire parses and formats the raw wire encoding.
internal/cmd/generate-corpus Program generate-corpus generates a seed corpus for the fuzzers.
internal/cmd/generate-protos
internal/cmd/generate-types
internal/cmd/pbdump pbdump is a tool for decoding the wire format for protocol buffer messages.
internal/descfmt Package descfmt provides functionality to format descriptors.
internal/descopts Package descopts contains the nil pointers to concrete descriptor options.
internal/detectknown Package detectknown provides functionality for detecting well-known types and identifying them by name.
internal/detrand Package detrand provides deterministically random functionality.
internal/encoding/defval Package defval marshals and unmarshals textual forms of default values.
internal/encoding/json
internal/encoding/messageset Package messageset encodes and decodes the obsolete MessageSet wire format.
internal/encoding/tag Package tag marshals and unmarshals the legacy struct tags as generated by historical versions of protoc-gen-go.
internal/encoding/text Package text implements the text format for protocol buffers.
internal/errors Package errors implements functions to manipulate errors.
internal/fieldnum Package fieldnum contains constants for field numbers of fields in messages declared in descriptor.proto and any of the well-known types.
internal/fieldsort Package fieldsort defines an ordering of fields.
internal/filedesc Package filedesc provides functionality for constructing descriptors.
internal/filetype Package filetype provides functionality for wrapping descriptors with Go type information.
internal/flags Package flags provides a set of flags controlled by build tags.
internal/fuzz/jsonfuzz Package jsonfuzz includes fuzzers for protojson.Marshal and protojson.Unmarshal.
internal/fuzz/textfuzz Package textfuzz includes fuzzers for prototext.Marshal and prototext.Unmarshal.
internal/fuzz/wirefuzz Package wirefuzz includes a fuzzer for the wire marshaler and unmarshaler.
internal/fuzztest Package fuzztest contains a common fuzzer test.
internal/genname Package genname contains constants for generated names.
internal/impl
internal/mapsort Package mapsort provides sorted access to maps.
internal/msgfmt Package msgfmt implements a text marshaler combining the desirable features of both the JSON and proto text formats.
internal/pragma Package pragma provides types that can be embedded into a struct to statically enforce or prevent certain language properties.
internal/protobuild Package protobuild constructs messages.
internal/protolegacy Package protolegacy is a stub version of the v1 proto package to satisfy internal/testprotos/legacy dependencies.
internal/set Package set provides simple set data structures for uint64s.
internal/strs Package strs provides string manipulation functionality specific to protobuf.
internal/testprotos/annotation
internal/testprotos/benchmarks
internal/testprotos/benchmarks/datasets/google_message1/proto2
internal/testprotos/benchmarks/datasets/google_message1/proto3
internal/testprotos/benchmarks/datasets/google_message2
internal/testprotos/benchmarks/datasets/google_message3
internal/testprotos/benchmarks/datasets/google_message4
internal/testprotos/benchmarks/micro
internal/testprotos/conformance
internal/testprotos/fieldmaskpb
internal/testprotos/fieldtrack
internal/testprotos/fuzz
internal/testprotos/irregular
internal/testprotos/legacy
internal/testprotos/legacy/bug1052
internal/testprotos/legacy/proto2_20160225_2fc053c5 Package proto2_20160225_2fc053c5 is a generated protocol buffer package.
internal/testprotos/legacy/proto2_20160519_a4ab9ec5 Package proto2_20160519_a4ab9ec5 is a generated protocol buffer package.
internal/testprotos/legacy/proto2_20180125_92554152 Package proto2_20180125_92554152 is a generated protocol buffer package.
internal/testprotos/legacy/proto2_20180430_b4deda09
internal/testprotos/legacy/proto2_20180814_aa810b61
internal/testprotos/legacy/proto2_20190205_c823c79e
internal/testprotos/legacy/proto3_20160225_2fc053c5 Package proto3_20160225_2fc053c5 is a generated protocol buffer package.
internal/testprotos/legacy/proto3_20160519_a4ab9ec5 Package proto3_20160519_a4ab9ec5 is a generated protocol buffer package.
internal/testprotos/legacy/proto3_20180125_92554152 Package proto3_20180125_92554152 is a generated protocol buffer package.
internal/testprotos/legacy/proto3_20180430_b4deda09
internal/testprotos/legacy/proto3_20180814_aa810b61
internal/testprotos/legacy/proto3_20190205_c823c79e
internal/testprotos/messageset/messagesetpb
internal/testprotos/messageset/msetextpb
internal/testprotos/order
internal/testprotos/registry
internal/testprotos/required
internal/testprotos/test
internal/testprotos/test/weak1
internal/testprotos/test/weak2
internal/testprotos/test3
internal/testprotos/textpb2
internal/testprotos/textpb3
internal/version Package version records versioning information about this module.
internal/weakdeps Package weakdeps exists to add weak module dependencies.
proto Package proto provides functions operating on protocol buffer messages.
reflect/protodesc Package protodesc provides functionality for converting FileDescriptorProto messages to/from protoreflect.FileDescriptor values.
reflect/protoreflect Package protoreflect provides interfaces to dynamically manipulate messages.
reflect/protoregistry Package protoregistry provides data structures to register and lookup protobuf descriptor types.
runtime/protoiface Package protoiface contains types referenced or implemented by messages.
runtime/protoimpl Package protoimpl contains the default implementation for messages generated by protoc-gen-go.
testing/protocmp Package protocmp provides protobuf specific options for the "github.com/google/go-cmp/cmp" package.
testing/protopack Package protopack enables manual encoding and decoding of protobuf wire data.
testing/prototest Package prototest exercises protobuf reflection.
types/descriptorpb
types/dynamicpb Package dynamicpb creates protocol buffer messages using runtime type information.
types/known/anypb
types/known/durationpb
types/known/emptypb
types/known/structpb
types/known/timestamppb
types/known/wrapperspb
types/pluginpb