# Functions
Bool stores v in a new bool value and returns a pointer to it.
ClearAllExtensions clears all extensions from m.
ClearExtension removes the extension field from m either as an explicitly populated field or as an unknown field.
Clone returns a deep copy of src.
CompactText writes the compact proto text format of m to w.
CompactTextString returns a compact proto text formatted string of m.
DecodeVarint parses a varint encoded integer from b, returning the integer value and the length of the varint.
DiscardUnknown recursively discards all unknown fields from this message and all embedded messages.
EncodeVarint returns the varint encoded bytes of v.
Deprecated: Do not use.
EnumValueMap returns the mapping from enum value names to enum numbers for the enum of the given name.
Equal reports whether two messages are equal.
ExtensionDescs returns a list of extension descriptors found in m, containing descriptors for both populated extension fields in m and also unknown fields of m that are in the extension range.
FileDescriptor returns the compressed FileDescriptorProto given the file path for a proto source file.
Float32 stores v in a new float32 value and returns a pointer to it.
Float64 stores v in a new float64 value and returns a pointer to it.
GetExtension retrieves a proto2 extended field from m.
GetExtensions returns a list of the extensions values present in m, corresponding with the provided list of extension descriptors, xts.
GetProperties returns the list of properties for the type represented by t, which must be a generated protocol buffer message in the open-struct API, where protobuf message fields are represented by exported Go struct fields.
Deprecated: Do not use.
HasExtension reports whether the extension field is present in m either as an explicitly populated field or as an unknown field.
Int stores v in a new int32 value and returns a pointer to it.
Int32 stores v in a new int32 value and returns a pointer to it.
Int64 stores v in a new int64 value and returns a pointer to it.
Marshal returns the wire-format encoding of m.
Deprecated: Do not use.
Deprecated: Do not use.
MarshalText writes the proto text format of m to w.
MarshalTextString returns a proto text formatted string of m.
Merge merges src into dst, which must be messages of the same type.
MessageName returns the full protobuf name for the given message type.
MessageReflect returns a reflective view for a message.
MessageType returns the message type for a named message.
MessageV1 converts either a v1 or v2 message to a v1 message.
MessageV2 converts either a v1 or v2 message to a v2 message.
NewBuffer allocates a new Buffer initialized with buf, where the contents of buf are considered the unread portion of the buffer.
RegisteredExtensions returns a map of the registered extensions for the provided protobuf message, indexed by the extension field number.
RegisterEnum is called from the generated code to register the mapping of enum value names to enum numbers for the enum identified by s.
RegisterExtension is called from the generated code to register the extension descriptor.
RegisterFile is called from generated code to register the compressed FileDescriptorProto with the file path for a proto source file.
RegisterMapType is called from generated code to register the Go map type for a protobuf message representing a map entry.
Deprecated: Do not use.
RegisterType is called from generated code to register the message Go type for a message of the given name.
SetDefaults sets unpopulated scalar fields to their default values.
SetExtension sets an extension field in m to the provided value.
SetRawExtension inserts b into the unknown fields of m.
Size returns the size in bytes of the wire-format encoding of m.
SizeVarint returns the length of the varint encoded bytes of v.
String stores v in a new string value and returns a pointer to it.
Uint32 stores v in a new uint32 value and returns a pointer to it.
Uint64 stores v in a new uint64 value and returns a pointer to it.
Unmarshal parses a wire-format message in b and places the decoded results in m.
Deprecated: Do not use.
UnmarshalMerge parses a wire-format message in b and places the decoded results in m.
Deprecated: Do not use.
Deprecated: Do not use.
UnmarshalText parses a proto text formatted string into m.
# Variables
Deprecated: No longer returned.
ErrMissingExtension reports whether the extension was not present.
Deprecated: No longer returned.
Deprecated: No longer returned.
# Structs
Buffer is a buffer for encoding and decoding the protobuf wire format.
Deprecated: Do not use; this type existed for intenal-use only.
OneofProperties represents the type information for a protobuf oneof.
ParseError is returned by UnmarshalText.
Properties represents the type information for a protobuf message field.
RequiredNotSetError is an error type returned when marshaling or unmarshaling a message with missing required fields.
Deprecated: Do not use.
StructProperties represents protocol buffer type information for a generated protobuf message in the open-struct API.
TextMarshaler is a configurable text format marshaler.
# Interfaces
GeneratedEnum is any enum type generated by protoc-gen-go which is a named int32 kind.
GeneratedMessage is any message type generated by protoc-gen-go which is a pointer to a named struct kind.
Marshaler is implemented by messages that can marshal themselves.
Merger is implemented by messages that can merge themselves.
Unmarshaler is implemented by messages that can unmarshal themselves.
# Type aliases
Message is a protocol buffer message.