package
1.5.4
Repository: https://github.com/golang/protobuf.git
Documentation: pkg.go.dev

# Packages

# Functions

AnyMessageName returns the message name contained in an anypb.Any message.
Duration converts a durationpb.Duration to a time.Duration.
DurationProto converts a time.Duration to a durationpb.Duration.
Empty returns a new message of the type specified in an anypb.Any message.
Is reports whether the Any message contains a message of the specified type.
MarshalAny marshals the given message m into an anypb.Any message.
Timestamp converts a timestamppb.Timestamp to a time.Time.
TimestampNow returns a google.protobuf.Timestamp for the current time.
TimestampProto converts the time.Time to a google.protobuf.Timestamp proto.
TimestampString returns the RFC 3339 string for valid Timestamps.
UnmarshalAny unmarshals the encoded value contained in the anypb.Any message into the provided message m.

# Structs

DynamicAny is a value that can be passed to UnmarshalAny to automatically allocate a proto.Message for the type specified in an anypb.Any message.