...

Source file src/google.golang.org/genproto/googleapis/home/enterprise/sdm/v1/site.pb.go

Documentation: google.golang.org/genproto/googleapis/home/enterprise/sdm/v1

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

View as plain text