observed.proto 724 B

1234567891011121314151617181920
  1. syntax = "proto3";
  2. package config;
  3. import "google/protobuf/timestamp.proto";
  4. import "ext.proto";
  5. message ObservedFolder {
  6. google.protobuf.Timestamp time = 1 [(ext.xml) = "time,attr"];
  7. string id = 2 [(ext.goname) = "ID", (ext.xml) = "id,attr"];
  8. string label = 3 [(ext.xml) = "label,attr"];
  9. }
  10. message ObservedDevice {
  11. google.protobuf.Timestamp time = 1 [(ext.xml) = "time,attr"];
  12. bytes id = 2 [(ext.goname) = "ID", (ext.json) = "deviceID", (ext.xml) = "id,attr", (ext.device_id) = true];
  13. string name = 3 [(ext.xml) = "name,attr"];
  14. string address = 4 [(ext.xml) = "address,attr"];
  15. }