...
The data stored in the S3 bucket is in Protocol Buffer format (https://developers.google.com/protocol-buffers/). Here is the "protobuf" file that can be used to generate stub code for parsing the message structure: beaconmetrics.proto (more information regarding the syntax of the .proto file can be found here).
Beacon Metrics Proto File
View file | ||||
---|---|---|---|---|
|
Example usage in Java
To generate the classes you'll need to read BeaconMetrics messages you need to install the protocol buffer compiler, protoc. See here for detailed installation instructions: https://github.com/google/protobuf, e.g.
...
Code Block | ||
---|---|---|
| ||
protoc --decode_raw < ~/Downloads/2017-09-29.proto.gz |
For a detailed tutorial in on Protocol Buffers go here.