• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2021 The ChromiumOS Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Code generated by protoc-gen-go. DO NOT EDIT.
6// versions:
7// 	protoc-gen-go v1.27.1
8// 	protoc        v3.17.1
9// source: chromiumos/config/api/proximity_config.proto
10
11package api
12
13import (
14	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
15	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
16	reflect "reflect"
17	sync "sync"
18)
19
20const (
21	// Verify that this generated code is sufficiently up-to-date.
22	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
23	// Verify that runtime/protoimpl is sufficiently up-to-date.
24	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
25)
26
27type ProximityConfig_Location_RadioType int32
28
29const (
30	ProximityConfig_Location_UNKNOWN  ProximityConfig_Location_RadioType = 0
31	ProximityConfig_Location_WIFI     ProximityConfig_Location_RadioType = 1
32	ProximityConfig_Location_CELLULAR ProximityConfig_Location_RadioType = 2
33)
34
35// Enum value maps for ProximityConfig_Location_RadioType.
36var (
37	ProximityConfig_Location_RadioType_name = map[int32]string{
38		0: "UNKNOWN",
39		1: "WIFI",
40		2: "CELLULAR",
41	}
42	ProximityConfig_Location_RadioType_value = map[string]int32{
43		"UNKNOWN":  0,
44		"WIFI":     1,
45		"CELLULAR": 2,
46	}
47)
48
49func (x ProximityConfig_Location_RadioType) Enum() *ProximityConfig_Location_RadioType {
50	p := new(ProximityConfig_Location_RadioType)
51	*p = x
52	return p
53}
54
55func (x ProximityConfig_Location_RadioType) String() string {
56	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
57}
58
59func (ProximityConfig_Location_RadioType) Descriptor() protoreflect.EnumDescriptor {
60	return file_chromiumos_config_api_proximity_config_proto_enumTypes[0].Descriptor()
61}
62
63func (ProximityConfig_Location_RadioType) Type() protoreflect.EnumType {
64	return &file_chromiumos_config_api_proximity_config_proto_enumTypes[0]
65}
66
67func (x ProximityConfig_Location_RadioType) Number() protoreflect.EnumNumber {
68	return protoreflect.EnumNumber(x)
69}
70
71// Deprecated: Use ProximityConfig_Location_RadioType.Descriptor instead.
72func (ProximityConfig_Location_RadioType) EnumDescriptor() ([]byte, []int) {
73	return file_chromiumos_config_api_proximity_config_proto_rawDescGZIP(), []int{0, 0, 0}
74}
75
76// Configure Semtech proximity sensors.
77type ProximityConfig struct {
78	state         protoimpl.MessageState
79	sizeCache     protoimpl.SizeCache
80	unknownFields protoimpl.UnknownFields
81
82	Location []*ProximityConfig_Location `protobuf:"bytes,1,rep,name=location,proto3" json:"location,omitempty"`
83	// Types that are assignable to Config:
84	//	*ProximityConfig_LegacyConfig
85	//	*ProximityConfig_SemtechConfig
86	//	*ProximityConfig_ActivityConfig
87	Config isProximityConfig_Config `protobuf_oneof:"config"`
88}
89
90func (x *ProximityConfig) Reset() {
91	*x = ProximityConfig{}
92	if protoimpl.UnsafeEnabled {
93		mi := &file_chromiumos_config_api_proximity_config_proto_msgTypes[0]
94		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
95		ms.StoreMessageInfo(mi)
96	}
97}
98
99func (x *ProximityConfig) String() string {
100	return protoimpl.X.MessageStringOf(x)
101}
102
103func (*ProximityConfig) ProtoMessage() {}
104
105func (x *ProximityConfig) ProtoReflect() protoreflect.Message {
106	mi := &file_chromiumos_config_api_proximity_config_proto_msgTypes[0]
107	if protoimpl.UnsafeEnabled && x != nil {
108		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
109		if ms.LoadMessageInfo() == nil {
110			ms.StoreMessageInfo(mi)
111		}
112		return ms
113	}
114	return mi.MessageOf(x)
115}
116
117// Deprecated: Use ProximityConfig.ProtoReflect.Descriptor instead.
118func (*ProximityConfig) Descriptor() ([]byte, []int) {
119	return file_chromiumos_config_api_proximity_config_proto_rawDescGZIP(), []int{0}
120}
121
122func (x *ProximityConfig) GetLocation() []*ProximityConfig_Location {
123	if x != nil {
124		return x.Location
125	}
126	return nil
127}
128
129func (m *ProximityConfig) GetConfig() isProximityConfig_Config {
130	if m != nil {
131		return m.Config
132	}
133	return nil
134}
135
136func (x *ProximityConfig) GetLegacyConfig() *ProximityConfig_LegacyProximityConfig {
137	if x, ok := x.GetConfig().(*ProximityConfig_LegacyConfig); ok {
138		return x.LegacyConfig
139	}
140	return nil
141}
142
143func (x *ProximityConfig) GetSemtechConfig() *ProximityConfig_SemtechProximityConfig {
144	if x, ok := x.GetConfig().(*ProximityConfig_SemtechConfig); ok {
145		return x.SemtechConfig
146	}
147	return nil
148}
149
150func (x *ProximityConfig) GetActivityConfig() *ProximityConfig_ActivityProximityConfig {
151	if x, ok := x.GetConfig().(*ProximityConfig_ActivityConfig); ok {
152		return x.ActivityConfig
153	}
154	return nil
155}
156
157type isProximityConfig_Config interface {
158	isProximityConfig_Config()
159}
160
161type ProximityConfig_LegacyConfig struct {
162	LegacyConfig *ProximityConfig_LegacyProximityConfig `protobuf:"bytes,2,opt,name=legacy_config,json=legacyConfig,proto3,oneof"`
163}
164
165type ProximityConfig_SemtechConfig struct {
166	SemtechConfig *ProximityConfig_SemtechProximityConfig `protobuf:"bytes,3,opt,name=semtech_config,json=semtechConfig,proto3,oneof"`
167}
168
169type ProximityConfig_ActivityConfig struct {
170	ActivityConfig *ProximityConfig_ActivityProximityConfig `protobuf:"bytes,4,opt,name=activity_config,json=activityConfig,proto3,oneof"`
171}
172
173func (*ProximityConfig_LegacyConfig) isProximityConfig_Config() {}
174
175func (*ProximityConfig_SemtechConfig) isProximityConfig_Config() {}
176
177func (*ProximityConfig_ActivityConfig) isProximityConfig_Config() {}
178
179// Define which antenna(s) the proximity sensor protects.
180type ProximityConfig_Location struct {
181	state         protoimpl.MessageState
182	sizeCache     protoimpl.SizeCache
183	unknownFields protoimpl.UnknownFields
184
185	RadioType ProximityConfig_Location_RadioType `protobuf:"varint,1,opt,name=radio_type,json=radioType,proto3,enum=chromiumos.config.api.ProximityConfig_Location_RadioType" json:"radio_type,omitempty"`
186	// For suffixes like "LEFT", "RIGHT", "0",  "1"
187	// One modifier per location, to match device tree.
188	Modifier string `protobuf:"bytes,2,opt,name=modifier,proto3" json:"modifier,omitempty"`
189}
190
191func (x *ProximityConfig_Location) Reset() {
192	*x = ProximityConfig_Location{}
193	if protoimpl.UnsafeEnabled {
194		mi := &file_chromiumos_config_api_proximity_config_proto_msgTypes[1]
195		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
196		ms.StoreMessageInfo(mi)
197	}
198}
199
200func (x *ProximityConfig_Location) String() string {
201	return protoimpl.X.MessageStringOf(x)
202}
203
204func (*ProximityConfig_Location) ProtoMessage() {}
205
206func (x *ProximityConfig_Location) ProtoReflect() protoreflect.Message {
207	mi := &file_chromiumos_config_api_proximity_config_proto_msgTypes[1]
208	if protoimpl.UnsafeEnabled && x != nil {
209		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
210		if ms.LoadMessageInfo() == nil {
211			ms.StoreMessageInfo(mi)
212		}
213		return ms
214	}
215	return mi.MessageOf(x)
216}
217
218// Deprecated: Use ProximityConfig_Location.ProtoReflect.Descriptor instead.
219func (*ProximityConfig_Location) Descriptor() ([]byte, []int) {
220	return file_chromiumos_config_api_proximity_config_proto_rawDescGZIP(), []int{0, 0}
221}
222
223func (x *ProximityConfig_Location) GetRadioType() ProximityConfig_Location_RadioType {
224	if x != nil {
225		return x.RadioType
226	}
227	return ProximityConfig_Location_UNKNOWN
228}
229
230func (x *ProximityConfig_Location) GetModifier() string {
231	if x != nil {
232		return x.Modifier
233	}
234	return ""
235}
236
237// An empty message indicating that proximity sensor(s) are used,
238// but the config values are stored elsewhere.
239type ProximityConfig_LegacyProximityConfig struct {
240	state         protoimpl.MessageState
241	sizeCache     protoimpl.SizeCache
242	unknownFields protoimpl.UnknownFields
243}
244
245func (x *ProximityConfig_LegacyProximityConfig) Reset() {
246	*x = ProximityConfig_LegacyProximityConfig{}
247	if protoimpl.UnsafeEnabled {
248		mi := &file_chromiumos_config_api_proximity_config_proto_msgTypes[2]
249		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
250		ms.StoreMessageInfo(mi)
251	}
252}
253
254func (x *ProximityConfig_LegacyProximityConfig) String() string {
255	return protoimpl.X.MessageStringOf(x)
256}
257
258func (*ProximityConfig_LegacyProximityConfig) ProtoMessage() {}
259
260func (x *ProximityConfig_LegacyProximityConfig) ProtoReflect() protoreflect.Message {
261	mi := &file_chromiumos_config_api_proximity_config_proto_msgTypes[2]
262	if protoimpl.UnsafeEnabled && x != nil {
263		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
264		if ms.LoadMessageInfo() == nil {
265			ms.StoreMessageInfo(mi)
266		}
267		return ms
268	}
269	return mi.MessageOf(x)
270}
271
272// Deprecated: Use ProximityConfig_LegacyProximityConfig.ProtoReflect.Descriptor instead.
273func (*ProximityConfig_LegacyProximityConfig) Descriptor() ([]byte, []int) {
274	return file_chromiumos_config_api_proximity_config_proto_rawDescGZIP(), []int{0, 1}
275}
276
277type ProximityConfig_SemtechProximityConfig struct {
278	state         protoimpl.MessageState
279	sizeCache     protoimpl.SizeCache
280	unknownFields protoimpl.UnknownFields
281
282	ChannelConfig []*ProximityConfig_SemtechProximityConfig_ChannelConfig `protobuf:"bytes,1,rep,name=channel_config,json=channelConfig,proto3" json:"channel_config,omitempty"`
283	// Proximity sensor sampling frequency.
284	SamplingFrequency float32 `protobuf:"fixed32,2,opt,name=sampling_frequency,json=samplingFrequency,proto3" json:"sampling_frequency,omitempty"`
285	// Proximity sensor falling threshold period (debounce).
286	ThreshFallingPeriod uint32 `protobuf:"varint,3,opt,name=thresh_falling_period,json=threshFallingPeriod,proto3" json:"thresh_falling_period,omitempty"`
287	// Proximity sensor rising threshold period (debounce).
288	ThreshRisingPeriod uint32 `protobuf:"varint,4,opt,name=thresh_rising_period,json=threshRisingPeriod,proto3" json:"thresh_rising_period,omitempty"`
289}
290
291func (x *ProximityConfig_SemtechProximityConfig) Reset() {
292	*x = ProximityConfig_SemtechProximityConfig{}
293	if protoimpl.UnsafeEnabled {
294		mi := &file_chromiumos_config_api_proximity_config_proto_msgTypes[3]
295		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
296		ms.StoreMessageInfo(mi)
297	}
298}
299
300func (x *ProximityConfig_SemtechProximityConfig) String() string {
301	return protoimpl.X.MessageStringOf(x)
302}
303
304func (*ProximityConfig_SemtechProximityConfig) ProtoMessage() {}
305
306func (x *ProximityConfig_SemtechProximityConfig) ProtoReflect() protoreflect.Message {
307	mi := &file_chromiumos_config_api_proximity_config_proto_msgTypes[3]
308	if protoimpl.UnsafeEnabled && x != nil {
309		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
310		if ms.LoadMessageInfo() == nil {
311			ms.StoreMessageInfo(mi)
312		}
313		return ms
314	}
315	return mi.MessageOf(x)
316}
317
318// Deprecated: Use ProximityConfig_SemtechProximityConfig.ProtoReflect.Descriptor instead.
319func (*ProximityConfig_SemtechProximityConfig) Descriptor() ([]byte, []int) {
320	return file_chromiumos_config_api_proximity_config_proto_rawDescGZIP(), []int{0, 2}
321}
322
323func (x *ProximityConfig_SemtechProximityConfig) GetChannelConfig() []*ProximityConfig_SemtechProximityConfig_ChannelConfig {
324	if x != nil {
325		return x.ChannelConfig
326	}
327	return nil
328}
329
330func (x *ProximityConfig_SemtechProximityConfig) GetSamplingFrequency() float32 {
331	if x != nil {
332		return x.SamplingFrequency
333	}
334	return 0
335}
336
337func (x *ProximityConfig_SemtechProximityConfig) GetThreshFallingPeriod() uint32 {
338	if x != nil {
339		return x.ThreshFallingPeriod
340	}
341	return 0
342}
343
344func (x *ProximityConfig_SemtechProximityConfig) GetThreshRisingPeriod() uint32 {
345	if x != nil {
346		return x.ThreshRisingPeriod
347	}
348	return 0
349}
350
351type ProximityConfig_ActivityProximityConfig struct {
352	state         protoimpl.MessageState
353	sizeCache     protoimpl.SizeCache
354	unknownFields protoimpl.UnknownFields
355}
356
357func (x *ProximityConfig_ActivityProximityConfig) Reset() {
358	*x = ProximityConfig_ActivityProximityConfig{}
359	if protoimpl.UnsafeEnabled {
360		mi := &file_chromiumos_config_api_proximity_config_proto_msgTypes[4]
361		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
362		ms.StoreMessageInfo(mi)
363	}
364}
365
366func (x *ProximityConfig_ActivityProximityConfig) String() string {
367	return protoimpl.X.MessageStringOf(x)
368}
369
370func (*ProximityConfig_ActivityProximityConfig) ProtoMessage() {}
371
372func (x *ProximityConfig_ActivityProximityConfig) ProtoReflect() protoreflect.Message {
373	mi := &file_chromiumos_config_api_proximity_config_proto_msgTypes[4]
374	if protoimpl.UnsafeEnabled && x != nil {
375		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
376		if ms.LoadMessageInfo() == nil {
377			ms.StoreMessageInfo(mi)
378		}
379		return ms
380	}
381	return mi.MessageOf(x)
382}
383
384// Deprecated: Use ProximityConfig_ActivityProximityConfig.ProtoReflect.Descriptor instead.
385func (*ProximityConfig_ActivityProximityConfig) Descriptor() ([]byte, []int) {
386	return file_chromiumos_config_api_proximity_config_proto_rawDescGZIP(), []int{0, 3}
387}
388
389type ProximityConfig_SemtechProximityConfig_ChannelConfig struct {
390	state         protoimpl.MessageState
391	sizeCache     protoimpl.SizeCache
392	unknownFields protoimpl.UnknownFields
393
394	// Proximity sensor channel: i.e.: 0,1, 3, 3_comb.
395	Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
396	// Proximity sensor hardware gain.
397	Hardwaregain uint32 `protobuf:"varint,2,opt,name=hardwaregain,proto3" json:"hardwaregain,omitempty"`
398	// Proximity sensor falling threshold.
399	ThreshFalling uint32 `protobuf:"varint,3,opt,name=thresh_falling,json=threshFalling,proto3" json:"thresh_falling,omitempty"`
400	// Proximity sensor falling hysteresis.
401	ThreshFallingHysteresis uint32 `protobuf:"varint,4,opt,name=thresh_falling_hysteresis,json=threshFallingHysteresis,proto3" json:"thresh_falling_hysteresis,omitempty"`
402	// Proximity sensor rising threshold.
403	ThreshRising uint32 `protobuf:"varint,5,opt,name=thresh_rising,json=threshRising,proto3" json:"thresh_rising,omitempty"`
404	// Proximity sensor rising hysteresis.
405	ThreshRisingHysteresis uint32 `protobuf:"varint,6,opt,name=thresh_rising_hysteresis,json=threshRisingHysteresis,proto3" json:"thresh_rising_hysteresis,omitempty"`
406}
407
408func (x *ProximityConfig_SemtechProximityConfig_ChannelConfig) Reset() {
409	*x = ProximityConfig_SemtechProximityConfig_ChannelConfig{}
410	if protoimpl.UnsafeEnabled {
411		mi := &file_chromiumos_config_api_proximity_config_proto_msgTypes[5]
412		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
413		ms.StoreMessageInfo(mi)
414	}
415}
416
417func (x *ProximityConfig_SemtechProximityConfig_ChannelConfig) String() string {
418	return protoimpl.X.MessageStringOf(x)
419}
420
421func (*ProximityConfig_SemtechProximityConfig_ChannelConfig) ProtoMessage() {}
422
423func (x *ProximityConfig_SemtechProximityConfig_ChannelConfig) ProtoReflect() protoreflect.Message {
424	mi := &file_chromiumos_config_api_proximity_config_proto_msgTypes[5]
425	if protoimpl.UnsafeEnabled && x != nil {
426		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
427		if ms.LoadMessageInfo() == nil {
428			ms.StoreMessageInfo(mi)
429		}
430		return ms
431	}
432	return mi.MessageOf(x)
433}
434
435// Deprecated: Use ProximityConfig_SemtechProximityConfig_ChannelConfig.ProtoReflect.Descriptor instead.
436func (*ProximityConfig_SemtechProximityConfig_ChannelConfig) Descriptor() ([]byte, []int) {
437	return file_chromiumos_config_api_proximity_config_proto_rawDescGZIP(), []int{0, 2, 0}
438}
439
440func (x *ProximityConfig_SemtechProximityConfig_ChannelConfig) GetChannel() string {
441	if x != nil {
442		return x.Channel
443	}
444	return ""
445}
446
447func (x *ProximityConfig_SemtechProximityConfig_ChannelConfig) GetHardwaregain() uint32 {
448	if x != nil {
449		return x.Hardwaregain
450	}
451	return 0
452}
453
454func (x *ProximityConfig_SemtechProximityConfig_ChannelConfig) GetThreshFalling() uint32 {
455	if x != nil {
456		return x.ThreshFalling
457	}
458	return 0
459}
460
461func (x *ProximityConfig_SemtechProximityConfig_ChannelConfig) GetThreshFallingHysteresis() uint32 {
462	if x != nil {
463		return x.ThreshFallingHysteresis
464	}
465	return 0
466}
467
468func (x *ProximityConfig_SemtechProximityConfig_ChannelConfig) GetThreshRising() uint32 {
469	if x != nil {
470		return x.ThreshRising
471	}
472	return 0
473}
474
475func (x *ProximityConfig_SemtechProximityConfig_ChannelConfig) GetThreshRisingHysteresis() uint32 {
476	if x != nil {
477		return x.ThreshRisingHysteresis
478	}
479	return 0
480}
481
482var File_chromiumos_config_api_proximity_config_proto protoreflect.FileDescriptor
483
484var file_chromiumos_config_api_proximity_config_proto_rawDesc = []byte{
485	0x0a, 0x2c, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e,
486	0x66, 0x69, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x69, 0x6d, 0x69, 0x74,
487	0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15,
488	0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69,
489	0x67, 0x2e, 0x61, 0x70, 0x69, 0x22, 0xbf, 0x09, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x78, 0x69, 0x6d,
490	0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4b, 0x0a, 0x08, 0x6c, 0x6f, 0x63,
491	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x63, 0x68,
492	0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
493	0x61, 0x70, 0x69, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x69, 0x6d, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e,
494	0x66, 0x69, 0x67, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f,
495	0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x63, 0x0a, 0x0d, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79,
496	0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e,
497	0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69,
498	0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x69, 0x6d, 0x69, 0x74, 0x79, 0x43,
499	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x50, 0x72, 0x6f, 0x78,
500	0x69, 0x6d, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x0c, 0x6c,
501	0x65, 0x67, 0x61, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x66, 0x0a, 0x0e, 0x73,
502	0x65, 0x6d, 0x74, 0x65, 0x63, 0x68, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20,
503	0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73,
504	0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x72, 0x6f, 0x78,
505	0x69, 0x6d, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x53, 0x65, 0x6d, 0x74,
506	0x65, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x78, 0x69, 0x6d, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x66,
507	0x69, 0x67, 0x48, 0x00, 0x52, 0x0d, 0x73, 0x65, 0x6d, 0x74, 0x65, 0x63, 0x68, 0x43, 0x6f, 0x6e,
508	0x66, 0x69, 0x67, 0x12, 0x69, 0x0a, 0x0f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f,
509	0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x63,
510	0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
511	0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x69, 0x6d, 0x69, 0x74, 0x79, 0x43, 0x6f,
512	0x6e, 0x66, 0x69, 0x67, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f,
513	0x78, 0x69, 0x6d, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x0e,
514	0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0xb2,
515	0x01, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x58, 0x0a, 0x0a, 0x72,
516	0x61, 0x64, 0x69, 0x6f, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
517	0x39, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e,
518	0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x69, 0x6d, 0x69, 0x74,
519	0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
520	0x2e, 0x52, 0x61, 0x64, 0x69, 0x6f, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x72, 0x61, 0x64, 0x69,
521	0x6f, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65,
522	0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65,
523	0x72, 0x22, 0x30, 0x0a, 0x09, 0x52, 0x61, 0x64, 0x69, 0x6f, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b,
524	0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x57,
525	0x49, 0x46, 0x49, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x45, 0x4c, 0x4c, 0x55, 0x4c, 0x41,
526	0x52, 0x10, 0x02, 0x1a, 0x17, 0x0a, 0x15, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x50, 0x72, 0x6f,
527	0x78, 0x69, 0x6d, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0xb3, 0x04, 0x0a,
528	0x16, 0x53, 0x65, 0x6d, 0x74, 0x65, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x78, 0x69, 0x6d, 0x69, 0x74,
529	0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x72, 0x0a, 0x0e, 0x63, 0x68, 0x61, 0x6e, 0x6e,
530	0x65, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
531	0x4b, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e,
532	0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x69, 0x6d, 0x69, 0x74,
533	0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x53, 0x65, 0x6d, 0x74, 0x65, 0x63, 0x68, 0x50,
534	0x72, 0x6f, 0x78, 0x69, 0x6d, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x43,
535	0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d, 0x63, 0x68,
536	0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2d, 0x0a, 0x12, 0x73,
537	0x61, 0x6d, 0x70, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63,
538	0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x11, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x69, 0x6e,
539	0x67, 0x46, 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x32, 0x0a, 0x15, 0x74, 0x68,
540	0x72, 0x65, 0x73, 0x68, 0x5f, 0x66, 0x61, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x65, 0x72,
541	0x69, 0x6f, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x74, 0x68, 0x72, 0x65, 0x73,
542	0x68, 0x46, 0x61, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x30,
543	0x0a, 0x14, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x72, 0x69, 0x73, 0x69, 0x6e, 0x67, 0x5f,
544	0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x74, 0x68,
545	0x72, 0x65, 0x73, 0x68, 0x52, 0x69, 0x73, 0x69, 0x6e, 0x67, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64,
546	0x1a, 0x8f, 0x02, 0x0a, 0x0d, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x43, 0x6f, 0x6e, 0x66,
547	0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x01, 0x20,
548	0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x22, 0x0a, 0x0c,
549	0x68, 0x61, 0x72, 0x64, 0x77, 0x61, 0x72, 0x65, 0x67, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01,
550	0x28, 0x0d, 0x52, 0x0c, 0x68, 0x61, 0x72, 0x64, 0x77, 0x61, 0x72, 0x65, 0x67, 0x61, 0x69, 0x6e,
551	0x12, 0x25, 0x0a, 0x0e, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x66, 0x61, 0x6c, 0x6c, 0x69,
552	0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68,
553	0x46, 0x61, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x12, 0x3a, 0x0a, 0x19, 0x74, 0x68, 0x72, 0x65, 0x73,
554	0x68, 0x5f, 0x66, 0x61, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x68, 0x79, 0x73, 0x74, 0x65, 0x72,
555	0x65, 0x73, 0x69, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x17, 0x74, 0x68, 0x72, 0x65,
556	0x73, 0x68, 0x46, 0x61, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x48, 0x79, 0x73, 0x74, 0x65, 0x72, 0x65,
557	0x73, 0x69, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x72, 0x69,
558	0x73, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x74, 0x68, 0x72, 0x65,
559	0x73, 0x68, 0x52, 0x69, 0x73, 0x69, 0x6e, 0x67, 0x12, 0x38, 0x0a, 0x18, 0x74, 0x68, 0x72, 0x65,
560	0x73, 0x68, 0x5f, 0x72, 0x69, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x68, 0x79, 0x73, 0x74, 0x65, 0x72,
561	0x65, 0x73, 0x69, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x16, 0x74, 0x68, 0x72, 0x65,
562	0x73, 0x68, 0x52, 0x69, 0x73, 0x69, 0x6e, 0x67, 0x48, 0x79, 0x73, 0x74, 0x65, 0x72, 0x65, 0x73,
563	0x69, 0x73, 0x1a, 0x19, 0x0a, 0x17, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x50, 0x72,
564	0x6f, 0x78, 0x69, 0x6d, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x08, 0x0a,
565	0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x2a, 0x5a, 0x28, 0x67, 0x6f, 0x2e, 0x63, 0x68,
566	0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x63, 0x68, 0x72, 0x6f, 0x6d,
567	0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6f, 0x2f,
568	0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
569}
570
571var (
572	file_chromiumos_config_api_proximity_config_proto_rawDescOnce sync.Once
573	file_chromiumos_config_api_proximity_config_proto_rawDescData = file_chromiumos_config_api_proximity_config_proto_rawDesc
574)
575
576func file_chromiumos_config_api_proximity_config_proto_rawDescGZIP() []byte {
577	file_chromiumos_config_api_proximity_config_proto_rawDescOnce.Do(func() {
578		file_chromiumos_config_api_proximity_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_chromiumos_config_api_proximity_config_proto_rawDescData)
579	})
580	return file_chromiumos_config_api_proximity_config_proto_rawDescData
581}
582
583var file_chromiumos_config_api_proximity_config_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
584var file_chromiumos_config_api_proximity_config_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
585var file_chromiumos_config_api_proximity_config_proto_goTypes = []interface{}{
586	(ProximityConfig_Location_RadioType)(0),                      // 0: chromiumos.config.api.ProximityConfig.Location.RadioType
587	(*ProximityConfig)(nil),                                      // 1: chromiumos.config.api.ProximityConfig
588	(*ProximityConfig_Location)(nil),                             // 2: chromiumos.config.api.ProximityConfig.Location
589	(*ProximityConfig_LegacyProximityConfig)(nil),                // 3: chromiumos.config.api.ProximityConfig.LegacyProximityConfig
590	(*ProximityConfig_SemtechProximityConfig)(nil),               // 4: chromiumos.config.api.ProximityConfig.SemtechProximityConfig
591	(*ProximityConfig_ActivityProximityConfig)(nil),              // 5: chromiumos.config.api.ProximityConfig.ActivityProximityConfig
592	(*ProximityConfig_SemtechProximityConfig_ChannelConfig)(nil), // 6: chromiumos.config.api.ProximityConfig.SemtechProximityConfig.ChannelConfig
593}
594var file_chromiumos_config_api_proximity_config_proto_depIdxs = []int32{
595	2, // 0: chromiumos.config.api.ProximityConfig.location:type_name -> chromiumos.config.api.ProximityConfig.Location
596	3, // 1: chromiumos.config.api.ProximityConfig.legacy_config:type_name -> chromiumos.config.api.ProximityConfig.LegacyProximityConfig
597	4, // 2: chromiumos.config.api.ProximityConfig.semtech_config:type_name -> chromiumos.config.api.ProximityConfig.SemtechProximityConfig
598	5, // 3: chromiumos.config.api.ProximityConfig.activity_config:type_name -> chromiumos.config.api.ProximityConfig.ActivityProximityConfig
599	0, // 4: chromiumos.config.api.ProximityConfig.Location.radio_type:type_name -> chromiumos.config.api.ProximityConfig.Location.RadioType
600	6, // 5: chromiumos.config.api.ProximityConfig.SemtechProximityConfig.channel_config:type_name -> chromiumos.config.api.ProximityConfig.SemtechProximityConfig.ChannelConfig
601	6, // [6:6] is the sub-list for method output_type
602	6, // [6:6] is the sub-list for method input_type
603	6, // [6:6] is the sub-list for extension type_name
604	6, // [6:6] is the sub-list for extension extendee
605	0, // [0:6] is the sub-list for field type_name
606}
607
608func init() { file_chromiumos_config_api_proximity_config_proto_init() }
609func file_chromiumos_config_api_proximity_config_proto_init() {
610	if File_chromiumos_config_api_proximity_config_proto != nil {
611		return
612	}
613	if !protoimpl.UnsafeEnabled {
614		file_chromiumos_config_api_proximity_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
615			switch v := v.(*ProximityConfig); i {
616			case 0:
617				return &v.state
618			case 1:
619				return &v.sizeCache
620			case 2:
621				return &v.unknownFields
622			default:
623				return nil
624			}
625		}
626		file_chromiumos_config_api_proximity_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
627			switch v := v.(*ProximityConfig_Location); i {
628			case 0:
629				return &v.state
630			case 1:
631				return &v.sizeCache
632			case 2:
633				return &v.unknownFields
634			default:
635				return nil
636			}
637		}
638		file_chromiumos_config_api_proximity_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
639			switch v := v.(*ProximityConfig_LegacyProximityConfig); i {
640			case 0:
641				return &v.state
642			case 1:
643				return &v.sizeCache
644			case 2:
645				return &v.unknownFields
646			default:
647				return nil
648			}
649		}
650		file_chromiumos_config_api_proximity_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
651			switch v := v.(*ProximityConfig_SemtechProximityConfig); i {
652			case 0:
653				return &v.state
654			case 1:
655				return &v.sizeCache
656			case 2:
657				return &v.unknownFields
658			default:
659				return nil
660			}
661		}
662		file_chromiumos_config_api_proximity_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
663			switch v := v.(*ProximityConfig_ActivityProximityConfig); i {
664			case 0:
665				return &v.state
666			case 1:
667				return &v.sizeCache
668			case 2:
669				return &v.unknownFields
670			default:
671				return nil
672			}
673		}
674		file_chromiumos_config_api_proximity_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
675			switch v := v.(*ProximityConfig_SemtechProximityConfig_ChannelConfig); i {
676			case 0:
677				return &v.state
678			case 1:
679				return &v.sizeCache
680			case 2:
681				return &v.unknownFields
682			default:
683				return nil
684			}
685		}
686	}
687	file_chromiumos_config_api_proximity_config_proto_msgTypes[0].OneofWrappers = []interface{}{
688		(*ProximityConfig_LegacyConfig)(nil),
689		(*ProximityConfig_SemtechConfig)(nil),
690		(*ProximityConfig_ActivityConfig)(nil),
691	}
692	type x struct{}
693	out := protoimpl.TypeBuilder{
694		File: protoimpl.DescBuilder{
695			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
696			RawDescriptor: file_chromiumos_config_api_proximity_config_proto_rawDesc,
697			NumEnums:      1,
698			NumMessages:   6,
699			NumExtensions: 0,
700			NumServices:   0,
701		},
702		GoTypes:           file_chromiumos_config_api_proximity_config_proto_goTypes,
703		DependencyIndexes: file_chromiumos_config_api_proximity_config_proto_depIdxs,
704		EnumInfos:         file_chromiumos_config_api_proximity_config_proto_enumTypes,
705		MessageInfos:      file_chromiumos_config_api_proximity_config_proto_msgTypes,
706	}.Build()
707	File_chromiumos_config_api_proximity_config_proto = out.File
708	file_chromiumos_config_api_proximity_config_proto_rawDesc = nil
709	file_chromiumos_config_api_proximity_config_proto_goTypes = nil
710	file_chromiumos_config_api_proximity_config_proto_depIdxs = nil
711}
712