Versions in this module Expand all Collapse all v0 v0.23.2 Feb 12, 2024 Changes in this version + var ErrIntOverflowClone = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthClone = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupClone = fmt.Errorf("proto: unexpected end of group") + func Marshal(pb Message) ([]byte, error) + func MarshalTo(pb Message, dest []byte) (int, error) + func MarshalToSizedBuffer(pb Message, dest []byte) (int, error) + func RegisterUnclonableType(typ reflect.Type, verbotenKind reflect.Kind) + func Unmarshal(data []byte, pb Message) error + type JSONPb jsonpb.Marshaler + func (*JSONPb) ContentType() string + func (*JSONPb) Delimiter() []byte + func (j *JSONPb) Marshal(v interface{}) ([]byte, error) + func (j *JSONPb) NewDecoder(r io.Reader) gwruntime.Decoder + func (j *JSONPb) NewEncoder(w io.Writer) gwruntime.Encoder + func (j *JSONPb) Unmarshal(data []byte, v interface{}) error + type Message interface + MarshalTo func(data []byte) (int, error) + MarshalToSizedBuffer func(data []byte) (int, error) + Size func() int + Unmarshal func(data []byte) error + func Clone(pb Message) Message + type ProtoPb struct + func (*ProtoPb) ContentType() string + func (*ProtoPb) Delimiter() []byte + func (*ProtoPb) Marshal(v interface{}) ([]byte, error) + func (*ProtoPb) NewDecoder(r io.Reader) gwruntime.Decoder + func (*ProtoPb) NewEncoder(w io.Writer) gwruntime.Encoder + func (*ProtoPb) Unmarshal(data []byte, v interface{}) error + type RecursiveAndUncloneable struct + R *RecursiveAndUncloneable + Uuid github_com_cockroachdb_cockroach_pkg_util_uuid.UUID + func (*RecursiveAndUncloneable) Descriptor() ([]byte, []int) + func (*RecursiveAndUncloneable) ProtoMessage() + func (m *RecursiveAndUncloneable) Marshal() (dAtA []byte, err error) + func (m *RecursiveAndUncloneable) MarshalTo(dAtA []byte) (int, error) + func (m *RecursiveAndUncloneable) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *RecursiveAndUncloneable) Reset() + func (m *RecursiveAndUncloneable) Size() (n int) + func (m *RecursiveAndUncloneable) String() string + func (m *RecursiveAndUncloneable) Unmarshal(dAtA []byte) error + func (m *RecursiveAndUncloneable) XXX_DiscardUnknown() + func (m *RecursiveAndUncloneable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RecursiveAndUncloneable) XXX_Merge(src proto.Message) + func (m *RecursiveAndUncloneable) XXX_Size() int + func (m *RecursiveAndUncloneable) XXX_Unmarshal(b []byte) error