123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- syntax = "proto3";
- package google.home.graph.v1;
- import "google/protobuf/struct.proto";
- option go_package = "google.golang.org/genproto/googleapis/home/graph/v1;graph";
- option java_outer_classname = "DeviceProto";
- option java_package = "com.google.home.graph.v1";
- option php_namespace = "Google\\Home\\Graph\\V1";
- message Device {
-
- string id = 1;
-
-
-
- string type = 2;
-
-
-
- repeated string traits = 3;
-
- DeviceNames name = 4;
-
-
-
- bool will_report_state = 5;
-
-
- string room_hint = 6;
-
-
- string structure_hint = 7;
-
- DeviceInfo device_info = 8;
-
- google.protobuf.Struct attributes = 9;
-
-
-
-
-
-
- google.protobuf.Struct custom_data = 10;
-
-
-
- repeated AgentOtherDeviceId other_device_ids = 11;
-
-
-
-
-
-
-
- bool notification_supported_by_agent = 12;
- }
- message DeviceNames {
-
- string name = 1;
-
- repeated string nicknames = 2;
-
-
- repeated string default_names = 3;
- }
- message DeviceInfo {
-
- string manufacturer = 1;
-
- string model = 2;
-
- string hw_version = 3;
-
- string sw_version = 4;
- }
- message AgentOtherDeviceId {
-
- string agent_id = 1;
-
- string device_id = 2;
- }
|