"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/google/protobuf/any.h" between
protobuf-all-3.20.1.tar.gz and protobuf-all-3.21.0.tar.gz

About: Protocol Buffers (a.k.a., protobuf) are Google’s language-neutral, platform-neutral, extensible mechanism for serializing structured data.

any.h  (protobuf-all-3.20.1):any.h  (protobuf-all-3.21.0)
skipping to change at line 133 skipping to change at line 133
ValueType* value_; ValueType* value_;
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(AnyMetadata); GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(AnyMetadata);
}; };
// Get the proto type name from Any::type_url value. For example, passing // Get the proto type name from Any::type_url value. For example, passing
// "type.googleapis.com/rpc.QueryOrigin" will return "rpc.QueryOrigin" in // "type.googleapis.com/rpc.QueryOrigin" will return "rpc.QueryOrigin" in
// *full_type_name. Returns false if the type_url does not have a "/" // *full_type_name. Returns false if the type_url does not have a "/"
// in the type url separating the full type name. // in the type url separating the full type name.
// //
// NOTE: this function is available publicly as: // NOTE: this function is available publicly as a static method on the
// google::protobuf::Any() // static method on the generated message type. // generated message type: google::protobuf::Any::ParseAnyTypeUrl()
bool ParseAnyTypeUrl(StringPiece type_url, std::string* full_type_name); bool ParseAnyTypeUrl(StringPiece type_url, std::string* full_type_name);
// Get the proto type name and prefix from Any::type_url value. For example, // Get the proto type name and prefix from Any::type_url value. For example,
// passing "type.googleapis.com/rpc.QueryOrigin" will return // passing "type.googleapis.com/rpc.QueryOrigin" will return
// "type.googleapis.com/" in *url_prefix and "rpc.QueryOrigin" in // "type.googleapis.com/" in *url_prefix and "rpc.QueryOrigin" in
// *full_type_name. Returns false if the type_url does not have a "/" in the // *full_type_name. Returns false if the type_url does not have a "/" in the
// type url separating the full type name. // type url separating the full type name.
bool ParseAnyTypeUrl(StringPiece type_url, std::string* url_prefix, bool ParseAnyTypeUrl(StringPiece type_url, std::string* url_prefix,
std::string* full_type_name); std::string* full_type_name);
 End of changes. 1 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)