| 1 |
#include <stdint.h> |
| 2 |
|
| 3 |
#include "google/protobuf/compiler/plugin.pb.h" |
| 4 |
#include "google/protobuf/io/zero_copy_stream_impl.h" |
| 5 |
|
| 6 |
namespace android { |
| 7 |
namespace stream_proto { |
| 8 |
|
| 9 |
using namespace google::protobuf; |
| 10 |
using namespace google::protobuf::compiler; |
| 11 |
using namespace std; |
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
uint64_t get_field_id(const FieldDescriptorProto& field); |
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
string get_proto_type(const FieldDescriptorProto& field); |
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
bool should_generate_for_file(const CodeGeneratorRequest& request, const string& file); |
| 27 |
|
| 28 |
} |
| 29 |
} |