1// Copyright 2020 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15// Code generated by protoc-gen-go. DO NOT EDIT.
16// versions:
17// 	protoc-gen-go v1.26.0
18// 	protoc        v3.12.2
19// source: google/home/graph/v1/device.proto
20
21package graph
22
23import (
24	reflect "reflect"
25	sync "sync"
26
27	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29	structpb "google.golang.org/protobuf/types/known/structpb"
30)
31
32const (
33	// Verify that this generated code is sufficiently up-to-date.
34	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35	// Verify that runtime/protoimpl is sufficiently up-to-date.
36	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37)
38
39// Third-party device definition.
40type Device struct {
41	state         protoimpl.MessageState
42	sizeCache     protoimpl.SizeCache
43	unknownFields protoimpl.UnknownFields
44
45	// Third-party device ID.
46	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
47	// Hardware type of the device.
48	// See [device
49	// types](https://developers.google.com/assistant/smarthome/guides).
50	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
51	// Traits supported by the device.
52	// See [device
53	// traits](https://developers.google.com/assistant/smarthome/traits).
54	Traits []string `protobuf:"bytes,3,rep,name=traits,proto3" json:"traits,omitempty"`
55	// Names given to this device by your smart home Action.
56	Name *DeviceNames `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
57	// Indicates whether your smart home Action will report state of this device
58	// to Google via
59	// [ReportStateAndNotification][google.home.graph.v1.HomeGraphApiService.ReportStateAndNotification].
60	WillReportState bool `protobuf:"varint,5,opt,name=will_report_state,json=willReportState,proto3" json:"will_report_state,omitempty"`
61	// Suggested name for the room where this device is installed.
62	// Google attempts to use this value during user setup.
63	RoomHint string `protobuf:"bytes,6,opt,name=room_hint,json=roomHint,proto3" json:"room_hint,omitempty"`
64	// Suggested name for the structure where this device is installed.
65	// Google attempts to use this value during user setup.
66	StructureHint string `protobuf:"bytes,7,opt,name=structure_hint,json=structureHint,proto3" json:"structure_hint,omitempty"`
67	// Device manufacturer, model, hardware version, and software version.
68	DeviceInfo *DeviceInfo `protobuf:"bytes,8,opt,name=device_info,json=deviceInfo,proto3" json:"device_info,omitempty"`
69	// Attributes for the traits supported by the device.
70	Attributes *structpb.Struct `protobuf:"bytes,9,opt,name=attributes,proto3" json:"attributes,omitempty"`
71	// Custom device attributes stored in Home Graph and provided to your
72	// smart home Action in each
73	// [QUERY](https://developers.google.com/assistant/smarthome/reference/intent/query)
74	// and
75	// [EXECUTE](https://developers.google.com/assistant/smarthome/reference/intent/execute)
76	// intent.
77	CustomData *structpb.Struct `protobuf:"bytes,10,opt,name=custom_data,json=customData,proto3" json:"custom_data,omitempty"`
78	// Alternate IDs associated with this device.
79	// This is used to identify cloud synced devices enabled for [local
80	// fulfillment](https://developers.google.com/assistant/smarthome/concepts/local).
81	OtherDeviceIds []*AgentOtherDeviceId `protobuf:"bytes,11,rep,name=other_device_ids,json=otherDeviceIds,proto3" json:"other_device_ids,omitempty"`
82	// Indicates whether your smart home Action will report notifications
83	// to Google for this device via
84	// [ReportStateAndNotification][google.home.graph.v1.HomeGraphApiService.ReportStateAndNotification].
85	//
86	// If your smart home Action enables users to control device notifications,
87	// you should update this field and call
88	// [RequestSyncDevices][google.home.graph.v1.HomeGraphApiService.RequestSyncDevices].
89	NotificationSupportedByAgent bool `protobuf:"varint,12,opt,name=notification_supported_by_agent,json=notificationSupportedByAgent,proto3" json:"notification_supported_by_agent,omitempty"`
90}
91
92func (x *Device) Reset() {
93	*x = Device{}
94	if protoimpl.UnsafeEnabled {
95		mi := &file_google_home_graph_v1_device_proto_msgTypes[0]
96		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
97		ms.StoreMessageInfo(mi)
98	}
99}
100
101func (x *Device) String() string {
102	return protoimpl.X.MessageStringOf(x)
103}
104
105func (*Device) ProtoMessage() {}
106
107func (x *Device) ProtoReflect() protoreflect.Message {
108	mi := &file_google_home_graph_v1_device_proto_msgTypes[0]
109	if protoimpl.UnsafeEnabled && x != nil {
110		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
111		if ms.LoadMessageInfo() == nil {
112			ms.StoreMessageInfo(mi)
113		}
114		return ms
115	}
116	return mi.MessageOf(x)
117}
118
119// Deprecated: Use Device.ProtoReflect.Descriptor instead.
120func (*Device) Descriptor() ([]byte, []int) {
121	return file_google_home_graph_v1_device_proto_rawDescGZIP(), []int{0}
122}
123
124func (x *Device) GetId() string {
125	if x != nil {
126		return x.Id
127	}
128	return ""
129}
130
131func (x *Device) GetType() string {
132	if x != nil {
133		return x.Type
134	}
135	return ""
136}
137
138func (x *Device) GetTraits() []string {
139	if x != nil {
140		return x.Traits
141	}
142	return nil
143}
144
145func (x *Device) GetName() *DeviceNames {
146	if x != nil {
147		return x.Name
148	}
149	return nil
150}
151
152func (x *Device) GetWillReportState() bool {
153	if x != nil {
154		return x.WillReportState
155	}
156	return false
157}
158
159func (x *Device) GetRoomHint() string {
160	if x != nil {
161		return x.RoomHint
162	}
163	return ""
164}
165
166func (x *Device) GetStructureHint() string {
167	if x != nil {
168		return x.StructureHint
169	}
170	return ""
171}
172
173func (x *Device) GetDeviceInfo() *DeviceInfo {
174	if x != nil {
175		return x.DeviceInfo
176	}
177	return nil
178}
179
180func (x *Device) GetAttributes() *structpb.Struct {
181	if x != nil {
182		return x.Attributes
183	}
184	return nil
185}
186
187func (x *Device) GetCustomData() *structpb.Struct {
188	if x != nil {
189		return x.CustomData
190	}
191	return nil
192}
193
194func (x *Device) GetOtherDeviceIds() []*AgentOtherDeviceId {
195	if x != nil {
196		return x.OtherDeviceIds
197	}
198	return nil
199}
200
201func (x *Device) GetNotificationSupportedByAgent() bool {
202	if x != nil {
203		return x.NotificationSupportedByAgent
204	}
205	return false
206}
207
208// Identifiers used to describe the device.
209type DeviceNames struct {
210	state         protoimpl.MessageState
211	sizeCache     protoimpl.SizeCache
212	unknownFields protoimpl.UnknownFields
213
214	// Primary name of the device, generally provided by the user.
215	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
216	// Additional names provided by the user for the device.
217	Nicknames []string `protobuf:"bytes,2,rep,name=nicknames,proto3" json:"nicknames,omitempty"`
218	// List of names provided by the manufacturer rather than the user, such as
219	// serial numbers, SKUs, etc.
220	DefaultNames []string `protobuf:"bytes,3,rep,name=default_names,json=defaultNames,proto3" json:"default_names,omitempty"`
221}
222
223func (x *DeviceNames) Reset() {
224	*x = DeviceNames{}
225	if protoimpl.UnsafeEnabled {
226		mi := &file_google_home_graph_v1_device_proto_msgTypes[1]
227		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
228		ms.StoreMessageInfo(mi)
229	}
230}
231
232func (x *DeviceNames) String() string {
233	return protoimpl.X.MessageStringOf(x)
234}
235
236func (*DeviceNames) ProtoMessage() {}
237
238func (x *DeviceNames) ProtoReflect() protoreflect.Message {
239	mi := &file_google_home_graph_v1_device_proto_msgTypes[1]
240	if protoimpl.UnsafeEnabled && x != nil {
241		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
242		if ms.LoadMessageInfo() == nil {
243			ms.StoreMessageInfo(mi)
244		}
245		return ms
246	}
247	return mi.MessageOf(x)
248}
249
250// Deprecated: Use DeviceNames.ProtoReflect.Descriptor instead.
251func (*DeviceNames) Descriptor() ([]byte, []int) {
252	return file_google_home_graph_v1_device_proto_rawDescGZIP(), []int{1}
253}
254
255func (x *DeviceNames) GetName() string {
256	if x != nil {
257		return x.Name
258	}
259	return ""
260}
261
262func (x *DeviceNames) GetNicknames() []string {
263	if x != nil {
264		return x.Nicknames
265	}
266	return nil
267}
268
269func (x *DeviceNames) GetDefaultNames() []string {
270	if x != nil {
271		return x.DefaultNames
272	}
273	return nil
274}
275
276// Device information.
277type DeviceInfo struct {
278	state         protoimpl.MessageState
279	sizeCache     protoimpl.SizeCache
280	unknownFields protoimpl.UnknownFields
281
282	// Device manufacturer.
283	Manufacturer string `protobuf:"bytes,1,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"`
284	// Device model.
285	Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`
286	// Device hardware version.
287	HwVersion string `protobuf:"bytes,3,opt,name=hw_version,json=hwVersion,proto3" json:"hw_version,omitempty"`
288	// Device software version.
289	SwVersion string `protobuf:"bytes,4,opt,name=sw_version,json=swVersion,proto3" json:"sw_version,omitempty"`
290}
291
292func (x *DeviceInfo) Reset() {
293	*x = DeviceInfo{}
294	if protoimpl.UnsafeEnabled {
295		mi := &file_google_home_graph_v1_device_proto_msgTypes[2]
296		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
297		ms.StoreMessageInfo(mi)
298	}
299}
300
301func (x *DeviceInfo) String() string {
302	return protoimpl.X.MessageStringOf(x)
303}
304
305func (*DeviceInfo) ProtoMessage() {}
306
307func (x *DeviceInfo) ProtoReflect() protoreflect.Message {
308	mi := &file_google_home_graph_v1_device_proto_msgTypes[2]
309	if protoimpl.UnsafeEnabled && x != nil {
310		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
311		if ms.LoadMessageInfo() == nil {
312			ms.StoreMessageInfo(mi)
313		}
314		return ms
315	}
316	return mi.MessageOf(x)
317}
318
319// Deprecated: Use DeviceInfo.ProtoReflect.Descriptor instead.
320func (*DeviceInfo) Descriptor() ([]byte, []int) {
321	return file_google_home_graph_v1_device_proto_rawDescGZIP(), []int{2}
322}
323
324func (x *DeviceInfo) GetManufacturer() string {
325	if x != nil {
326		return x.Manufacturer
327	}
328	return ""
329}
330
331func (x *DeviceInfo) GetModel() string {
332	if x != nil {
333		return x.Model
334	}
335	return ""
336}
337
338func (x *DeviceInfo) GetHwVersion() string {
339	if x != nil {
340		return x.HwVersion
341	}
342	return ""
343}
344
345func (x *DeviceInfo) GetSwVersion() string {
346	if x != nil {
347		return x.SwVersion
348	}
349	return ""
350}
351
352// Alternate third-party device ID.
353type AgentOtherDeviceId struct {
354	state         protoimpl.MessageState
355	sizeCache     protoimpl.SizeCache
356	unknownFields protoimpl.UnknownFields
357
358	// Project ID for your smart home Action.
359	AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
360	// Unique third-party device ID.
361	DeviceId string `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
362}
363
364func (x *AgentOtherDeviceId) Reset() {
365	*x = AgentOtherDeviceId{}
366	if protoimpl.UnsafeEnabled {
367		mi := &file_google_home_graph_v1_device_proto_msgTypes[3]
368		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
369		ms.StoreMessageInfo(mi)
370	}
371}
372
373func (x *AgentOtherDeviceId) String() string {
374	return protoimpl.X.MessageStringOf(x)
375}
376
377func (*AgentOtherDeviceId) ProtoMessage() {}
378
379func (x *AgentOtherDeviceId) ProtoReflect() protoreflect.Message {
380	mi := &file_google_home_graph_v1_device_proto_msgTypes[3]
381	if protoimpl.UnsafeEnabled && x != nil {
382		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
383		if ms.LoadMessageInfo() == nil {
384			ms.StoreMessageInfo(mi)
385		}
386		return ms
387	}
388	return mi.MessageOf(x)
389}
390
391// Deprecated: Use AgentOtherDeviceId.ProtoReflect.Descriptor instead.
392func (*AgentOtherDeviceId) Descriptor() ([]byte, []int) {
393	return file_google_home_graph_v1_device_proto_rawDescGZIP(), []int{3}
394}
395
396func (x *AgentOtherDeviceId) GetAgentId() string {
397	if x != nil {
398		return x.AgentId
399	}
400	return ""
401}
402
403func (x *AgentOtherDeviceId) GetDeviceId() string {
404	if x != nil {
405		return x.DeviceId
406	}
407	return ""
408}
409
410var File_google_home_graph_v1_device_proto protoreflect.FileDescriptor
411
412var file_google_home_graph_v1_device_proto_rawDesc = []byte{
413	0x0a, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x68, 0x6f, 0x6d, 0x65, 0x2f, 0x67, 0x72,
414	0x61, 0x70, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72,
415	0x6f, 0x74, 0x6f, 0x12, 0x14, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x68, 0x6f, 0x6d, 0x65,
416	0x2e, 0x67, 0x72, 0x61, 0x70, 0x68, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
417	0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63,
418	0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbc, 0x04, 0x0a, 0x06, 0x44, 0x65, 0x76, 0x69,
419	0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
420	0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
421	0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x72, 0x61, 0x69, 0x74, 0x73,
422	0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x74, 0x72, 0x61, 0x69, 0x74, 0x73, 0x12, 0x35,
423	0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67,
424	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x68, 0x6f, 0x6d, 0x65, 0x2e, 0x67, 0x72, 0x61, 0x70, 0x68,
425	0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52,
426	0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x77, 0x69, 0x6c, 0x6c, 0x5f, 0x72, 0x65,
427	0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08,
428	0x52, 0x0f, 0x77, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74,
429	0x65, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x68, 0x69, 0x6e, 0x74, 0x18, 0x06,
430	0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6f, 0x6d, 0x48, 0x69, 0x6e, 0x74, 0x12, 0x25,
431	0x0a, 0x0e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x68, 0x69, 0x6e, 0x74,
432	0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72,
433	0x65, 0x48, 0x69, 0x6e, 0x74, 0x12, 0x41, 0x0a, 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f,
434	0x69, 0x6e, 0x66, 0x6f, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f,
435	0x67, 0x6c, 0x65, 0x2e, 0x68, 0x6f, 0x6d, 0x65, 0x2e, 0x67, 0x72, 0x61, 0x70, 0x68, 0x2e, 0x76,
436	0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x64, 0x65,
437	0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x37, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72,
438	0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67,
439	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53,
440	0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65,
441	0x73, 0x12, 0x38, 0x0a, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x64, 0x61, 0x74, 0x61,
442	0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
443	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52,
444	0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x12, 0x52, 0x0a, 0x10, 0x6f,
445	0x74, 0x68, 0x65, 0x72, 0x5f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18,
446	0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x68,
447	0x6f, 0x6d, 0x65, 0x2e, 0x67, 0x72, 0x61, 0x70, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x65,
448	0x6e, 0x74, 0x4f, 0x74, 0x68, 0x65, 0x72, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x52,
449	0x0e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x73, 0x12,
450	0x45, 0x0a, 0x1f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
451	0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x61, 0x67, 0x65,
452	0x6e, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1c, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69,
453	0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x42,
454	0x79, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x22, 0x64, 0x0a, 0x0b, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65,
455	0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
456	0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x69, 0x63,
457	0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x69,
458	0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75,
459	0x6c, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c,
460	0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x84, 0x01, 0x0a,
461	0x0a, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x6d,
462	0x61, 0x6e, 0x75, 0x66, 0x61, 0x63, 0x74, 0x75, 0x72, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
463	0x09, 0x52, 0x0c, 0x6d, 0x61, 0x6e, 0x75, 0x66, 0x61, 0x63, 0x74, 0x75, 0x72, 0x65, 0x72, 0x12,
464	0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
465	0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x68, 0x77, 0x5f, 0x76, 0x65, 0x72, 0x73,
466	0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x68, 0x77, 0x56, 0x65, 0x72,
467	0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x77, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69,
468	0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x77, 0x56, 0x65, 0x72, 0x73,
469	0x69, 0x6f, 0x6e, 0x22, 0x4c, 0x0a, 0x12, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x4f, 0x74, 0x68, 0x65,
470	0x72, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65,
471	0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x67, 0x65,
472	0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69,
473	0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49,
474	0x64, 0x42, 0x79, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
475	0x68, 0x6f, 0x6d, 0x65, 0x2e, 0x67, 0x72, 0x61, 0x70, 0x68, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x44,
476	0x65, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x39, 0x67, 0x6f, 0x6f, 0x67,
477	0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65,
478	0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
479	0x73, 0x2f, 0x68, 0x6f, 0x6d, 0x65, 0x2f, 0x67, 0x72, 0x61, 0x70, 0x68, 0x2f, 0x76, 0x31, 0x3b,
480	0x67, 0x72, 0x61, 0x70, 0x68, 0xca, 0x02, 0x14, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x48,
481	0x6f, 0x6d, 0x65, 0x5c, 0x47, 0x72, 0x61, 0x70, 0x68, 0x5c, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72,
482	0x6f, 0x74, 0x6f, 0x33,
483}
484
485var (
486	file_google_home_graph_v1_device_proto_rawDescOnce sync.Once
487	file_google_home_graph_v1_device_proto_rawDescData = file_google_home_graph_v1_device_proto_rawDesc
488)
489
490func file_google_home_graph_v1_device_proto_rawDescGZIP() []byte {
491	file_google_home_graph_v1_device_proto_rawDescOnce.Do(func() {
492		file_google_home_graph_v1_device_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_home_graph_v1_device_proto_rawDescData)
493	})
494	return file_google_home_graph_v1_device_proto_rawDescData
495}
496
497var file_google_home_graph_v1_device_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
498var file_google_home_graph_v1_device_proto_goTypes = []interface{}{
499	(*Device)(nil),             // 0: google.home.graph.v1.Device
500	(*DeviceNames)(nil),        // 1: google.home.graph.v1.DeviceNames
501	(*DeviceInfo)(nil),         // 2: google.home.graph.v1.DeviceInfo
502	(*AgentOtherDeviceId)(nil), // 3: google.home.graph.v1.AgentOtherDeviceId
503	(*structpb.Struct)(nil),    // 4: google.protobuf.Struct
504}
505var file_google_home_graph_v1_device_proto_depIdxs = []int32{
506	1, // 0: google.home.graph.v1.Device.name:type_name -> google.home.graph.v1.DeviceNames
507	2, // 1: google.home.graph.v1.Device.device_info:type_name -> google.home.graph.v1.DeviceInfo
508	4, // 2: google.home.graph.v1.Device.attributes:type_name -> google.protobuf.Struct
509	4, // 3: google.home.graph.v1.Device.custom_data:type_name -> google.protobuf.Struct
510	3, // 4: google.home.graph.v1.Device.other_device_ids:type_name -> google.home.graph.v1.AgentOtherDeviceId
511	5, // [5:5] is the sub-list for method output_type
512	5, // [5:5] is the sub-list for method input_type
513	5, // [5:5] is the sub-list for extension type_name
514	5, // [5:5] is the sub-list for extension extendee
515	0, // [0:5] is the sub-list for field type_name
516}
517
518func init() { file_google_home_graph_v1_device_proto_init() }
519func file_google_home_graph_v1_device_proto_init() {
520	if File_google_home_graph_v1_device_proto != nil {
521		return
522	}
523	if !protoimpl.UnsafeEnabled {
524		file_google_home_graph_v1_device_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
525			switch v := v.(*Device); i {
526			case 0:
527				return &v.state
528			case 1:
529				return &v.sizeCache
530			case 2:
531				return &v.unknownFields
532			default:
533				return nil
534			}
535		}
536		file_google_home_graph_v1_device_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
537			switch v := v.(*DeviceNames); i {
538			case 0:
539				return &v.state
540			case 1:
541				return &v.sizeCache
542			case 2:
543				return &v.unknownFields
544			default:
545				return nil
546			}
547		}
548		file_google_home_graph_v1_device_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
549			switch v := v.(*DeviceInfo); i {
550			case 0:
551				return &v.state
552			case 1:
553				return &v.sizeCache
554			case 2:
555				return &v.unknownFields
556			default:
557				return nil
558			}
559		}
560		file_google_home_graph_v1_device_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
561			switch v := v.(*AgentOtherDeviceId); i {
562			case 0:
563				return &v.state
564			case 1:
565				return &v.sizeCache
566			case 2:
567				return &v.unknownFields
568			default:
569				return nil
570			}
571		}
572	}
573	type x struct{}
574	out := protoimpl.TypeBuilder{
575		File: protoimpl.DescBuilder{
576			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
577			RawDescriptor: file_google_home_graph_v1_device_proto_rawDesc,
578			NumEnums:      0,
579			NumMessages:   4,
580			NumExtensions: 0,
581			NumServices:   0,
582		},
583		GoTypes:           file_google_home_graph_v1_device_proto_goTypes,
584		DependencyIndexes: file_google_home_graph_v1_device_proto_depIdxs,
585		MessageInfos:      file_google_home_graph_v1_device_proto_msgTypes,
586	}.Build()
587	File_google_home_graph_v1_device_proto = out.File
588	file_google_home_graph_v1_device_proto_rawDesc = nil
589	file_google_home_graph_v1_device_proto_goTypes = nil
590	file_google_home_graph_v1_device_proto_depIdxs = nil
591}
592