Home | History | Annotate | Download | only in base

Lines Matching refs:protobuf

16 namespace protobuf {
18 } // namespace protobuf
25 // CloneProtobuf() should use used to create a new copy of the protobuf.
33 explicit MCSMessage(const google::protobuf::MessageLite& protobuf);
34 // |tag| must match |protobuf|'s message type.
35 MCSMessage(uint8 tag, const google::protobuf::MessageLite& protobuf);
36 // |tag| must match |protobuf|'s message type. Takes ownership of |protobuf|.
38 scoped_ptr<const google::protobuf::MessageLite> protobuf);
41 // Returns whether this message is valid or not (whether a protobuf was
51 const google::protobuf::MessageLite& GetProtobuf() const;
53 // Getter for creating a mutated version of the protobuf.
54 scoped_ptr<google::protobuf::MessageLite> CloneProtobuf() const;
60 Core(uint8 tag, const google::protobuf::MessageLite& protobuf);
61 Core(uint8 tag, scoped_ptr<const google::protobuf::MessageLite> protobuf);
63 const google::protobuf::MessageLite& Get() const;
69 // The immutable protobuf.
70 scoped_ptr<const google::protobuf::MessageLite> protobuf_;
79 // The refcounted core, containing the protobuf memory.