2016-12-15 10:51:09 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2021-06-19 13:36:54 +00:00
|
|
|
// Use Well-Known Identifier to make use of library assisted parsing
|
|
|
|
package google.protobuf;
|
|
|
|
option csharp_namespace = "Google.Protobuf.WellKnownTypes";
|
|
|
|
option go_package = "google.golang.org/protobuf/types/known/anypb";
|
|
|
|
option java_package = "com.google.protobuf";
|
|
|
|
option java_outer_classname = "AnyProto";
|
2017-02-03 22:15:10 +00:00
|
|
|
option java_multiple_files = true;
|
2021-06-19 13:36:54 +00:00
|
|
|
option objc_class_prefix = "GPB";
|
2016-12-15 10:51:09 +00:00
|
|
|
|
2017-08-25 13:11:06 +00:00
|
|
|
// TypedMessage is a serialized proto message along with its type name.
|
2021-06-19 13:36:54 +00:00
|
|
|
message Any {
|
2016-12-15 10:51:09 +00:00
|
|
|
// The name of the message type, retrieved from protobuf API.
|
2021-06-19 13:36:54 +00:00
|
|
|
string type_url = 1;
|
2020-10-05 00:36:40 +00:00
|
|
|
// Serialized proto message.
|
2016-12-15 10:51:09 +00:00
|
|
|
bytes value = 2;
|
|
|
|
}
|