module documentation
Undocumented
| Class | |
Schema for protobuf messages using the native protobuf binary encoding. |
| Variable | HAS |
Undocumented |
| Function | _build |
Build the schema definition dict used by Java's ProtobufNativeSchemaData. |
| Function | _collect |
Recursively collect all FileDescriptorProto objects into file_descriptor_set. |
Build the schema definition dict used by Java's ProtobufNativeSchemaData.
The returned mapping has these keys:
fileDescriptorSet rootMessageTypeName rootFileDescriptorName
fileDescriptorSet contains base64-encoded FileDescriptorSet bytes. This mirrors ProtobufNativeSchemaUtils.serialize() in the Java client.