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.25.0
18// 	protoc        v3.13.0
19// source: google/home/enterprise/sdm/v1/site.proto
20
21package sdm
22
23import (
24	reflect "reflect"
25	sync "sync"
26
27	proto "github.com/golang/protobuf/proto"
28	_ "google.golang.org/genproto/googleapis/api/annotations"
29	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31	structpb "google.golang.org/protobuf/types/known/structpb"
32)
33
34const (
35	// Verify that this generated code is sufficiently up-to-date.
36	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
37	// Verify that runtime/protoimpl is sufficiently up-to-date.
38	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
39)
40
41// This is a compile-time assertion that a sufficiently up-to-date version
42// of the legacy proto package is being used.
43const _ = proto.ProtoPackageIsVersion4
44
45// Structure resource represents an instance of enterprise managed home or hotel
46// room.
47type Structure struct {
48	state         protoimpl.MessageState
49	sizeCache     protoimpl.SizeCache
50	unknownFields protoimpl.UnknownFields
51
52	// Output only. The resource name of the structure. For example:
53	// "enterprises/XYZ/structures/ABC".
54	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
55	// Structure traits.
56	Traits *structpb.Struct `protobuf:"bytes,2,opt,name=traits,proto3" json:"traits,omitempty"`
57}
58
59func (x *Structure) Reset() {
60	*x = Structure{}
61	if protoimpl.UnsafeEnabled {
62		mi := &file_google_home_enterprise_sdm_v1_site_proto_msgTypes[0]
63		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
64		ms.StoreMessageInfo(mi)
65	}
66}
67
68func (x *Structure) String() string {
69	return protoimpl.X.MessageStringOf(x)
70}
71
72func (*Structure) ProtoMessage() {}
73
74func (x *Structure) ProtoReflect() protoreflect.Message {
75	mi := &file_google_home_enterprise_sdm_v1_site_proto_msgTypes[0]
76	if protoimpl.UnsafeEnabled && x != nil {
77		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
78		if ms.LoadMessageInfo() == nil {
79			ms.StoreMessageInfo(mi)
80		}
81		return ms
82	}
83	return mi.MessageOf(x)
84}
85
86// Deprecated: Use Structure.ProtoReflect.Descriptor instead.
87func (*Structure) Descriptor() ([]byte, []int) {
88	return file_google_home_enterprise_sdm_v1_site_proto_rawDescGZIP(), []int{0}
89}
90
91func (x *Structure) GetName() string {
92	if x != nil {
93		return x.Name
94	}
95	return ""
96}
97
98func (x *Structure) GetTraits() *structpb.Struct {
99	if x != nil {
100		return x.Traits
101	}
102	return nil
103}
104
105// Room resource represents an instance of sub-space within a structure such as
106// rooms in a hotel suite or rental apartment.
107type Room struct {
108	state         protoimpl.MessageState
109	sizeCache     protoimpl.SizeCache
110	unknownFields protoimpl.UnknownFields
111
112	// Output only. The resource name of the room. For example:
113	// "enterprises/XYZ/structures/ABC/rooms/123".
114	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
115	// Room traits.
116	Traits *structpb.Struct `protobuf:"bytes,2,opt,name=traits,proto3" json:"traits,omitempty"`
117}
118
119func (x *Room) Reset() {
120	*x = Room{}
121	if protoimpl.UnsafeEnabled {
122		mi := &file_google_home_enterprise_sdm_v1_site_proto_msgTypes[1]
123		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
124		ms.StoreMessageInfo(mi)
125	}
126}
127
128func (x *Room) String() string {
129	return protoimpl.X.MessageStringOf(x)
130}
131
132func (*Room) ProtoMessage() {}
133
134func (x *Room) ProtoReflect() protoreflect.Message {
135	mi := &file_google_home_enterprise_sdm_v1_site_proto_msgTypes[1]
136	if protoimpl.UnsafeEnabled && x != nil {
137		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
138		if ms.LoadMessageInfo() == nil {
139			ms.StoreMessageInfo(mi)
140		}
141		return ms
142	}
143	return mi.MessageOf(x)
144}
145
146// Deprecated: Use Room.ProtoReflect.Descriptor instead.
147func (*Room) Descriptor() ([]byte, []int) {
148	return file_google_home_enterprise_sdm_v1_site_proto_rawDescGZIP(), []int{1}
149}
150
151func (x *Room) GetName() string {
152	if x != nil {
153		return x.Name
154	}
155	return ""
156}
157
158func (x *Room) GetTraits() *structpb.Struct {
159	if x != nil {
160		return x.Traits
161	}
162	return nil
163}
164
165var File_google_home_enterprise_sdm_v1_site_proto protoreflect.FileDescriptor
166
167var file_google_home_enterprise_sdm_v1_site_proto_rawDesc = []byte{
168	0x0a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x68, 0x6f, 0x6d, 0x65, 0x2f, 0x65, 0x6e,
169	0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2f, 0x73, 0x64, 0x6d, 0x2f, 0x76, 0x31, 0x2f,
170	0x73, 0x69, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x67, 0x6f, 0x6f, 0x67,
171	0x6c, 0x65, 0x2e, 0x68, 0x6f, 0x6d, 0x65, 0x2e, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69,
172	0x73, 0x65, 0x2e, 0x73, 0x64, 0x6d, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
173	0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61,
174	0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67,
175	0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e,
176	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
177	0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72,
178	0x6f, 0x74, 0x6f, 0x22, 0xbb, 0x01, 0x0a, 0x09, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72,
179	0x65, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
180	0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x74, 0x72,
181	0x61, 0x69, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f,
182	0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72,
183	0x75, 0x63, 0x74, 0x52, 0x06, 0x74, 0x72, 0x61, 0x69, 0x74, 0x73, 0x3a, 0x64, 0xea, 0x41, 0x61,
184	0x0a, 0x2e, 0x73, 0x6d, 0x61, 0x72, 0x74, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e,
185	0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
186	0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65,
187	0x12, 0x2f, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x73, 0x2f, 0x7b, 0x65,
188	0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x7d, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63,
189	0x74, 0x75, 0x72, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65,
190	0x7d, 0x22, 0xbe, 0x01, 0x0a, 0x04, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61,
191	0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e,
192	0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x74, 0x72, 0x61, 0x69, 0x74, 0x73, 0x18, 0x02, 0x20,
193	0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
194	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x74, 0x72,
195	0x61, 0x69, 0x74, 0x73, 0x3a, 0x6c, 0xea, 0x41, 0x69, 0x0a, 0x29, 0x73, 0x6d, 0x61, 0x72, 0x74,
196	0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74,
197	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
198	0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x3c, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65,
199	0x73, 0x2f, 0x7b, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x7d, 0x2f, 0x73,
200	0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x74, 0x72, 0x75, 0x63,
201	0x74, 0x75, 0x72, 0x65, 0x7d, 0x2f, 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x2f, 0x7b, 0x72, 0x6f, 0x6f,
202	0x6d, 0x7d, 0x42, 0xb2, 0x01, 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
203	0x65, 0x2e, 0x68, 0x6f, 0x6d, 0x65, 0x2e, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73,
204	0x65, 0x2e, 0x73, 0x64, 0x6d, 0x2e, 0x76, 0x31, 0x50, 0x01, 0x5a, 0x40, 0x67, 0x6f, 0x6f, 0x67,
205	0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65,
206	0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
207	0x73, 0x2f, 0x68, 0x6f, 0x6d, 0x65, 0x2f, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73,
208	0x65, 0x2f, 0x73, 0x64, 0x6d, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x64, 0x6d, 0xa2, 0x02, 0x08, 0x47,
209	0x48, 0x45, 0x4e, 0x54, 0x53, 0x44, 0x4d, 0xaa, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
210	0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x2e, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65,
211	0x2e, 0x53, 0x64, 0x6d, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
212	0x5c, 0x48, 0x6f, 0x6d, 0x65, 0x5c, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65,
213	0x5c, 0x53, 0x64, 0x6d, 0x5c, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
214}
215
216var (
217	file_google_home_enterprise_sdm_v1_site_proto_rawDescOnce sync.Once
218	file_google_home_enterprise_sdm_v1_site_proto_rawDescData = file_google_home_enterprise_sdm_v1_site_proto_rawDesc
219)
220
221func file_google_home_enterprise_sdm_v1_site_proto_rawDescGZIP() []byte {
222	file_google_home_enterprise_sdm_v1_site_proto_rawDescOnce.Do(func() {
223		file_google_home_enterprise_sdm_v1_site_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_home_enterprise_sdm_v1_site_proto_rawDescData)
224	})
225	return file_google_home_enterprise_sdm_v1_site_proto_rawDescData
226}
227
228var file_google_home_enterprise_sdm_v1_site_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
229var file_google_home_enterprise_sdm_v1_site_proto_goTypes = []interface{}{
230	(*Structure)(nil),       // 0: google.home.enterprise.sdm.v1.Structure
231	(*Room)(nil),            // 1: google.home.enterprise.sdm.v1.Room
232	(*structpb.Struct)(nil), // 2: google.protobuf.Struct
233}
234var file_google_home_enterprise_sdm_v1_site_proto_depIdxs = []int32{
235	2, // 0: google.home.enterprise.sdm.v1.Structure.traits:type_name -> google.protobuf.Struct
236	2, // 1: google.home.enterprise.sdm.v1.Room.traits:type_name -> google.protobuf.Struct
237	2, // [2:2] is the sub-list for method output_type
238	2, // [2:2] is the sub-list for method input_type
239	2, // [2:2] is the sub-list for extension type_name
240	2, // [2:2] is the sub-list for extension extendee
241	0, // [0:2] is the sub-list for field type_name
242}
243
244func init() { file_google_home_enterprise_sdm_v1_site_proto_init() }
245func file_google_home_enterprise_sdm_v1_site_proto_init() {
246	if File_google_home_enterprise_sdm_v1_site_proto != nil {
247		return
248	}
249	if !protoimpl.UnsafeEnabled {
250		file_google_home_enterprise_sdm_v1_site_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
251			switch v := v.(*Structure); i {
252			case 0:
253				return &v.state
254			case 1:
255				return &v.sizeCache
256			case 2:
257				return &v.unknownFields
258			default:
259				return nil
260			}
261		}
262		file_google_home_enterprise_sdm_v1_site_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
263			switch v := v.(*Room); i {
264			case 0:
265				return &v.state
266			case 1:
267				return &v.sizeCache
268			case 2:
269				return &v.unknownFields
270			default:
271				return nil
272			}
273		}
274	}
275	type x struct{}
276	out := protoimpl.TypeBuilder{
277		File: protoimpl.DescBuilder{
278			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
279			RawDescriptor: file_google_home_enterprise_sdm_v1_site_proto_rawDesc,
280			NumEnums:      0,
281			NumMessages:   2,
282			NumExtensions: 0,
283			NumServices:   0,
284		},
285		GoTypes:           file_google_home_enterprise_sdm_v1_site_proto_goTypes,
286		DependencyIndexes: file_google_home_enterprise_sdm_v1_site_proto_depIdxs,
287		MessageInfos:      file_google_home_enterprise_sdm_v1_site_proto_msgTypes,
288	}.Build()
289	File_google_home_enterprise_sdm_v1_site_proto = out.File
290	file_google_home_enterprise_sdm_v1_site_proto_rawDesc = nil
291	file_google_home_enterprise_sdm_v1_site_proto_goTypes = nil
292	file_google_home_enterprise_sdm_v1_site_proto_depIdxs = nil
293}
294