@lansweeper/data-platform-outbound-grpc 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,10 +16,8 @@ private static final long serialVersionUID = 0L;
16
16
  super(builder);
17
17
  }
18
18
  private CatalogModel() {
19
- key_ = "";
20
19
  deviceModel_ = "";
21
- deviceType_ = "";
22
- deviceModelCode_ = "";
20
+ deviceModelCode_ = com.google.protobuf.LazyStringArrayList.EMPTY;
23
21
  manualUrl_ = "";
24
22
  faqUrl_ = "";
25
23
  lifecyleConfidence_ = "";
@@ -69,12 +67,6 @@ private static final long serialVersionUID = 0L;
69
67
  id_ = input.readInt64();
70
68
  break;
71
69
  }
72
- case 18: {
73
- java.lang.String s = input.readStringRequireUtf8();
74
-
75
- key_ = s;
76
- break;
77
- }
78
70
  case 24: {
79
71
 
80
72
  makeId_ = input.readInt64();
@@ -86,147 +78,134 @@ private static final long serialVersionUID = 0L;
86
78
  deviceModel_ = s;
87
79
  break;
88
80
  }
89
- case 42: {
90
- java.lang.String s = input.readStringRequireUtf8();
81
+ case 40: {
91
82
  bitField0_ |= 0x00000001;
92
- deviceType_ = s;
83
+ deviceTypeId_ = input.readInt64();
93
84
  break;
94
85
  }
95
86
  case 50: {
96
87
  java.lang.String s = input.readStringRequireUtf8();
97
- bitField0_ |= 0x00000002;
98
- deviceModelCode_ = s;
99
- break;
100
- }
101
- case 56: {
102
- bitField0_ |= 0x00000004;
103
- overrideId_ = input.readInt64();
104
- break;
105
- }
106
- case 64: {
107
- bitField0_ |= 0x00000008;
108
- osDefaultId_ = input.readInt64();
109
- break;
110
- }
111
- case 72: {
112
- bitField0_ |= 0x00000010;
113
- osLatestId_ = input.readInt64();
88
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
89
+ deviceModelCode_ = new com.google.protobuf.LazyStringArrayList();
90
+ mutable_bitField0_ |= 0x00000002;
91
+ }
92
+ deviceModelCode_.add(s);
114
93
  break;
115
94
  }
116
95
  case 80: {
117
- bitField0_ |= 0x00000020;
96
+ bitField0_ |= 0x00000002;
118
97
  familyId_ = input.readInt64();
119
98
  break;
120
99
  }
121
100
  case 88: {
122
- bitField0_ |= 0x00000040;
101
+ bitField0_ |= 0x00000004;
123
102
  isFamily_ = input.readBool();
124
103
  break;
125
104
  }
126
105
  case 98: {
127
106
  java.lang.String s = input.readStringRequireUtf8();
128
- bitField0_ |= 0x00000080;
107
+ bitField0_ |= 0x00000008;
129
108
  manualUrl_ = s;
130
109
  break;
131
110
  }
132
111
  case 106: {
133
112
  java.lang.String s = input.readStringRequireUtf8();
134
- bitField0_ |= 0x00000100;
113
+ bitField0_ |= 0x00000010;
135
114
  faqUrl_ = s;
136
115
  break;
137
116
  }
138
117
  case 112: {
139
- bitField0_ |= 0x00000200;
118
+ bitField0_ |= 0x00000020;
140
119
  releaseDate_ = input.readInt64();
141
120
  break;
142
121
  }
143
122
  case 120: {
144
- bitField0_ |= 0x00000400;
123
+ bitField0_ |= 0x00000040;
145
124
  discDate_ = input.readInt64();
146
125
  break;
147
126
  }
148
127
  case 128: {
149
- bitField0_ |= 0x00200000;
128
+ bitField0_ |= 0x00020000;
150
129
  lastUpdateTime_ = input.readInt64();
151
130
  break;
152
131
  }
153
132
  case 138: {
154
133
  java.lang.String s = input.readStringRequireUtf8();
155
- bitField0_ |= 0x00008000;
134
+ bitField0_ |= 0x00000800;
156
135
  shIftttHandle_ = s;
157
136
  break;
158
137
  }
159
138
  case 146: {
160
139
  java.lang.String s = input.readStringRequireUtf8();
161
- if (!((mutable_bitField0_ & 0x00010000) != 0)) {
140
+ if (!((mutable_bitField0_ & 0x00002000) != 0)) {
162
141
  shGoogleAssLangs_ = new com.google.protobuf.LazyStringArrayList();
163
- mutable_bitField0_ |= 0x00010000;
142
+ mutable_bitField0_ |= 0x00002000;
164
143
  }
165
144
  shGoogleAssLangs_.add(s);
166
145
  break;
167
146
  }
168
147
  case 154: {
169
148
  java.lang.String s = input.readStringRequireUtf8();
170
- if (!((mutable_bitField0_ & 0x00020000) != 0)) {
149
+ if (!((mutable_bitField0_ & 0x00004000) != 0)) {
171
150
  shAlexaLangs_ = new com.google.protobuf.LazyStringArrayList();
172
- mutable_bitField0_ |= 0x00020000;
151
+ mutable_bitField0_ |= 0x00004000;
173
152
  }
174
153
  shAlexaLangs_.add(s);
175
154
  break;
176
155
  }
177
156
  case 162: {
178
157
  java.lang.String s = input.readStringRequireUtf8();
179
- bitField0_ |= 0x00010000;
158
+ bitField0_ |= 0x00001000;
180
159
  shHassHandle_ = s;
181
160
  break;
182
161
  }
183
162
  case 168: {
184
- bitField0_ |= 0x00020000;
163
+ bitField0_ |= 0x00002000;
185
164
  shAppleHomeKit_ = input.readBool();
186
165
  break;
187
166
  }
188
167
  case 178: {
189
168
  java.lang.String s = input.readStringRequireUtf8();
190
- bitField0_ |= 0x00040000;
169
+ bitField0_ |= 0x00004000;
191
170
  shOpenHabHandle_ = s;
192
171
  break;
193
172
  }
194
- case 185: {
195
- bitField0_ |= 0x00100000;
196
- spreadInType_ = input.readDouble();
173
+ case 184: {
174
+ bitField0_ |= 0x00010000;
175
+ popularity_ = input.readInt32();
197
176
  break;
198
177
  }
199
178
  case 194: {
200
179
  java.lang.String s = input.readStringRequireUtf8();
201
- bitField0_ |= 0x00002000;
180
+ bitField0_ |= 0x00000200;
202
181
  priceClass_ = s;
203
182
  break;
204
183
  }
205
184
  case 202: {
206
185
  java.lang.String s = input.readStringRequireUtf8();
207
- bitField0_ |= 0x00004000;
186
+ bitField0_ |= 0x00000400;
208
187
  productClass_ = s;
209
188
  break;
210
189
  }
211
190
  case 208: {
212
- bitField0_ |= 0x00000800;
191
+ bitField0_ |= 0x00000080;
213
192
  eosDate_ = input.readInt64();
214
193
  break;
215
194
  }
216
195
  case 216: {
217
- bitField0_ |= 0x00400000;
196
+ bitField0_ |= 0x00040000;
218
197
  matchScore_ = input.readInt32();
219
198
  break;
220
199
  }
221
200
  case 226: {
222
201
  java.lang.String s = input.readStringRequireUtf8();
223
- bitField0_ |= 0x00080000;
202
+ bitField0_ |= 0x00008000;
224
203
  nistCpe_ = s;
225
204
  break;
226
205
  }
227
206
  case 234: {
228
207
  java.lang.String s = input.readStringRequireUtf8();
229
- bitField0_ |= 0x00001000;
208
+ bitField0_ |= 0x00000100;
230
209
  lifecyleConfidence_ = s;
231
210
  break;
232
211
  }
@@ -245,10 +224,13 @@ private static final long serialVersionUID = 0L;
245
224
  throw new com.google.protobuf.InvalidProtocolBufferException(
246
225
  e).setUnfinishedMessage(this);
247
226
  } finally {
248
- if (((mutable_bitField0_ & 0x00010000) != 0)) {
227
+ if (((mutable_bitField0_ & 0x00000002) != 0)) {
228
+ deviceModelCode_ = deviceModelCode_.getUnmodifiableView();
229
+ }
230
+ if (((mutable_bitField0_ & 0x00002000) != 0)) {
249
231
  shGoogleAssLangs_ = shGoogleAssLangs_.getUnmodifiableView();
250
232
  }
251
- if (((mutable_bitField0_ & 0x00020000) != 0)) {
233
+ if (((mutable_bitField0_ & 0x00004000) != 0)) {
252
234
  shAlexaLangs_ = shAlexaLangs_.getUnmodifiableView();
253
235
  }
254
236
  this.unknownFields = unknownFields.build();
@@ -280,44 +262,6 @@ private static final long serialVersionUID = 0L;
280
262
  return id_;
281
263
  }
282
264
 
283
- public static final int KEY_FIELD_NUMBER = 2;
284
- private volatile java.lang.Object key_;
285
- /**
286
- * <code>string key = 2;</code>
287
- * @return The key.
288
- */
289
- @java.lang.Override
290
- public java.lang.String getKey() {
291
- java.lang.Object ref = key_;
292
- if (ref instanceof java.lang.String) {
293
- return (java.lang.String) ref;
294
- } else {
295
- com.google.protobuf.ByteString bs =
296
- (com.google.protobuf.ByteString) ref;
297
- java.lang.String s = bs.toStringUtf8();
298
- key_ = s;
299
- return s;
300
- }
301
- }
302
- /**
303
- * <code>string key = 2;</code>
304
- * @return The bytes for key.
305
- */
306
- @java.lang.Override
307
- public com.google.protobuf.ByteString
308
- getKeyBytes() {
309
- java.lang.Object ref = key_;
310
- if (ref instanceof java.lang.String) {
311
- com.google.protobuf.ByteString b =
312
- com.google.protobuf.ByteString.copyFromUtf8(
313
- (java.lang.String) ref);
314
- key_ = b;
315
- return b;
316
- } else {
317
- return (com.google.protobuf.ByteString) ref;
318
- }
319
- }
320
-
321
265
  public static final int MAKE_ID_FIELD_NUMBER = 3;
322
266
  private long makeId_;
323
267
  /**
@@ -367,153 +311,58 @@ private static final long serialVersionUID = 0L;
367
311
  }
368
312
  }
369
313
 
370
- public static final int DEVICE_TYPE_FIELD_NUMBER = 5;
371
- private volatile java.lang.Object deviceType_;
314
+ public static final int DEVICE_TYPE_ID_FIELD_NUMBER = 5;
315
+ private long deviceTypeId_;
372
316
  /**
373
- * <code>string device_type = 5;</code>
374
- * @return Whether the deviceType field is set.
317
+ * <code>int64 device_type_id = 5;</code>
318
+ * @return Whether the deviceTypeId field is set.
375
319
  */
376
320
  @java.lang.Override
377
- public boolean hasDeviceType() {
321
+ public boolean hasDeviceTypeId() {
378
322
  return ((bitField0_ & 0x00000001) != 0);
379
323
  }
380
324
  /**
381
- * <code>string device_type = 5;</code>
382
- * @return The deviceType.
325
+ * <code>int64 device_type_id = 5;</code>
326
+ * @return The deviceTypeId.
383
327
  */
384
328
  @java.lang.Override
385
- public java.lang.String getDeviceType() {
386
- java.lang.Object ref = deviceType_;
387
- if (ref instanceof java.lang.String) {
388
- return (java.lang.String) ref;
389
- } else {
390
- com.google.protobuf.ByteString bs =
391
- (com.google.protobuf.ByteString) ref;
392
- java.lang.String s = bs.toStringUtf8();
393
- deviceType_ = s;
394
- return s;
395
- }
396
- }
397
- /**
398
- * <code>string device_type = 5;</code>
399
- * @return The bytes for deviceType.
400
- */
401
- @java.lang.Override
402
- public com.google.protobuf.ByteString
403
- getDeviceTypeBytes() {
404
- java.lang.Object ref = deviceType_;
405
- if (ref instanceof java.lang.String) {
406
- com.google.protobuf.ByteString b =
407
- com.google.protobuf.ByteString.copyFromUtf8(
408
- (java.lang.String) ref);
409
- deviceType_ = b;
410
- return b;
411
- } else {
412
- return (com.google.protobuf.ByteString) ref;
413
- }
329
+ public long getDeviceTypeId() {
330
+ return deviceTypeId_;
414
331
  }
415
332
 
416
333
  public static final int DEVICE_MODEL_CODE_FIELD_NUMBER = 6;
417
- private volatile java.lang.Object deviceModelCode_;
418
- /**
419
- * <code>string device_model_code = 6;</code>
420
- * @return Whether the deviceModelCode field is set.
421
- */
422
- @java.lang.Override
423
- public boolean hasDeviceModelCode() {
424
- return ((bitField0_ & 0x00000002) != 0);
425
- }
426
- /**
427
- * <code>string device_model_code = 6;</code>
428
- * @return The deviceModelCode.
429
- */
430
- @java.lang.Override
431
- public java.lang.String getDeviceModelCode() {
432
- java.lang.Object ref = deviceModelCode_;
433
- if (ref instanceof java.lang.String) {
434
- return (java.lang.String) ref;
435
- } else {
436
- com.google.protobuf.ByteString bs =
437
- (com.google.protobuf.ByteString) ref;
438
- java.lang.String s = bs.toStringUtf8();
439
- deviceModelCode_ = s;
440
- return s;
441
- }
442
- }
443
- /**
444
- * <code>string device_model_code = 6;</code>
445
- * @return The bytes for deviceModelCode.
446
- */
447
- @java.lang.Override
448
- public com.google.protobuf.ByteString
449
- getDeviceModelCodeBytes() {
450
- java.lang.Object ref = deviceModelCode_;
451
- if (ref instanceof java.lang.String) {
452
- com.google.protobuf.ByteString b =
453
- com.google.protobuf.ByteString.copyFromUtf8(
454
- (java.lang.String) ref);
455
- deviceModelCode_ = b;
456
- return b;
457
- } else {
458
- return (com.google.protobuf.ByteString) ref;
459
- }
460
- }
461
-
462
- public static final int OVERRIDE_ID_FIELD_NUMBER = 7;
463
- private long overrideId_;
334
+ private com.google.protobuf.LazyStringList deviceModelCode_;
464
335
  /**
465
- * <code>int64 override_id = 7;</code>
466
- * @return Whether the overrideId field is set.
336
+ * <code>repeated string device_model_code = 6;</code>
337
+ * @return A list containing the deviceModelCode.
467
338
  */
468
- @java.lang.Override
469
- public boolean hasOverrideId() {
470
- return ((bitField0_ & 0x00000004) != 0);
471
- }
472
- /**
473
- * <code>int64 override_id = 7;</code>
474
- * @return The overrideId.
475
- */
476
- @java.lang.Override
477
- public long getOverrideId() {
478
- return overrideId_;
479
- }
480
-
481
- public static final int OS_DEFAULT_ID_FIELD_NUMBER = 8;
482
- private long osDefaultId_;
483
- /**
484
- * <code>int64 os_default_id = 8;</code>
485
- * @return Whether the osDefaultId field is set.
486
- */
487
- @java.lang.Override
488
- public boolean hasOsDefaultId() {
489
- return ((bitField0_ & 0x00000008) != 0);
339
+ public com.google.protobuf.ProtocolStringList
340
+ getDeviceModelCodeList() {
341
+ return deviceModelCode_;
490
342
  }
491
343
  /**
492
- * <code>int64 os_default_id = 8;</code>
493
- * @return The osDefaultId.
344
+ * <code>repeated string device_model_code = 6;</code>
345
+ * @return The count of deviceModelCode.
494
346
  */
495
- @java.lang.Override
496
- public long getOsDefaultId() {
497
- return osDefaultId_;
347
+ public int getDeviceModelCodeCount() {
348
+ return deviceModelCode_.size();
498
349
  }
499
-
500
- public static final int OS_LATEST_ID_FIELD_NUMBER = 9;
501
- private long osLatestId_;
502
350
  /**
503
- * <code>int64 os_latest_id = 9;</code>
504
- * @return Whether the osLatestId field is set.
351
+ * <code>repeated string device_model_code = 6;</code>
352
+ * @param index The index of the element to return.
353
+ * @return The deviceModelCode at the given index.
505
354
  */
506
- @java.lang.Override
507
- public boolean hasOsLatestId() {
508
- return ((bitField0_ & 0x00000010) != 0);
355
+ public java.lang.String getDeviceModelCode(int index) {
356
+ return deviceModelCode_.get(index);
509
357
  }
510
358
  /**
511
- * <code>int64 os_latest_id = 9;</code>
512
- * @return The osLatestId.
359
+ * <code>repeated string device_model_code = 6;</code>
360
+ * @param index The index of the value to return.
361
+ * @return The bytes of the deviceModelCode at the given index.
513
362
  */
514
- @java.lang.Override
515
- public long getOsLatestId() {
516
- return osLatestId_;
363
+ public com.google.protobuf.ByteString
364
+ getDeviceModelCodeBytes(int index) {
365
+ return deviceModelCode_.getByteString(index);
517
366
  }
518
367
 
519
368
  public static final int FAMILY_ID_FIELD_NUMBER = 10;
@@ -524,7 +373,7 @@ private static final long serialVersionUID = 0L;
524
373
  */
525
374
  @java.lang.Override
526
375
  public boolean hasFamilyId() {
527
- return ((bitField0_ & 0x00000020) != 0);
376
+ return ((bitField0_ & 0x00000002) != 0);
528
377
  }
529
378
  /**
530
379
  * <code>int64 family_id = 10;</code>
@@ -543,7 +392,7 @@ private static final long serialVersionUID = 0L;
543
392
  */
544
393
  @java.lang.Override
545
394
  public boolean hasIsFamily() {
546
- return ((bitField0_ & 0x00000040) != 0);
395
+ return ((bitField0_ & 0x00000004) != 0);
547
396
  }
548
397
  /**
549
398
  * <code>bool is_family = 11;</code>
@@ -562,7 +411,7 @@ private static final long serialVersionUID = 0L;
562
411
  */
563
412
  @java.lang.Override
564
413
  public boolean hasManualUrl() {
565
- return ((bitField0_ & 0x00000080) != 0);
414
+ return ((bitField0_ & 0x00000008) != 0);
566
415
  }
567
416
  /**
568
417
  * <code>string manual_url = 12;</code>
@@ -608,7 +457,7 @@ private static final long serialVersionUID = 0L;
608
457
  */
609
458
  @java.lang.Override
610
459
  public boolean hasFaqUrl() {
611
- return ((bitField0_ & 0x00000100) != 0);
460
+ return ((bitField0_ & 0x00000010) != 0);
612
461
  }
613
462
  /**
614
463
  * <code>string faq_url = 13;</code>
@@ -654,7 +503,7 @@ private static final long serialVersionUID = 0L;
654
503
  */
655
504
  @java.lang.Override
656
505
  public boolean hasReleaseDate() {
657
- return ((bitField0_ & 0x00000200) != 0);
506
+ return ((bitField0_ & 0x00000020) != 0);
658
507
  }
659
508
  /**
660
509
  * <code>int64 release_date = 14;</code>
@@ -673,7 +522,7 @@ private static final long serialVersionUID = 0L;
673
522
  */
674
523
  @java.lang.Override
675
524
  public boolean hasDiscDate() {
676
- return ((bitField0_ & 0x00000400) != 0);
525
+ return ((bitField0_ & 0x00000040) != 0);
677
526
  }
678
527
  /**
679
528
  * <code>int64 disc_date = 15;</code>
@@ -692,7 +541,7 @@ private static final long serialVersionUID = 0L;
692
541
  */
693
542
  @java.lang.Override
694
543
  public boolean hasEosDate() {
695
- return ((bitField0_ & 0x00000800) != 0);
544
+ return ((bitField0_ & 0x00000080) != 0);
696
545
  }
697
546
  /**
698
547
  * <code>int64 eos_date = 26;</code>
@@ -711,7 +560,7 @@ private static final long serialVersionUID = 0L;
711
560
  */
712
561
  @java.lang.Override
713
562
  public boolean hasLifecyleConfidence() {
714
- return ((bitField0_ & 0x00001000) != 0);
563
+ return ((bitField0_ & 0x00000100) != 0);
715
564
  }
716
565
  /**
717
566
  * <code>string lifecyle_confidence = 29;</code>
@@ -757,7 +606,7 @@ private static final long serialVersionUID = 0L;
757
606
  */
758
607
  @java.lang.Override
759
608
  public boolean hasPriceClass() {
760
- return ((bitField0_ & 0x00002000) != 0);
609
+ return ((bitField0_ & 0x00000200) != 0);
761
610
  }
762
611
  /**
763
612
  * <code>string price_class = 24;</code>
@@ -803,7 +652,7 @@ private static final long serialVersionUID = 0L;
803
652
  */
804
653
  @java.lang.Override
805
654
  public boolean hasProductClass() {
806
- return ((bitField0_ & 0x00004000) != 0);
655
+ return ((bitField0_ & 0x00000400) != 0);
807
656
  }
808
657
  /**
809
658
  * <code>string product_class = 25;</code>
@@ -849,7 +698,7 @@ private static final long serialVersionUID = 0L;
849
698
  */
850
699
  @java.lang.Override
851
700
  public boolean hasShIftttHandle() {
852
- return ((bitField0_ & 0x00008000) != 0);
701
+ return ((bitField0_ & 0x00000800) != 0);
853
702
  }
854
703
  /**
855
704
  * <code>string sh_ifttt_handle = 17;</code>
@@ -965,7 +814,7 @@ private static final long serialVersionUID = 0L;
965
814
  */
966
815
  @java.lang.Override
967
816
  public boolean hasShHassHandle() {
968
- return ((bitField0_ & 0x00010000) != 0);
817
+ return ((bitField0_ & 0x00001000) != 0);
969
818
  }
970
819
  /**
971
820
  * <code>string sh_hass_handle = 20;</code>
@@ -1011,7 +860,7 @@ private static final long serialVersionUID = 0L;
1011
860
  */
1012
861
  @java.lang.Override
1013
862
  public boolean hasShAppleHomeKit() {
1014
- return ((bitField0_ & 0x00020000) != 0);
863
+ return ((bitField0_ & 0x00002000) != 0);
1015
864
  }
1016
865
  /**
1017
866
  * <code>bool sh_apple_home_kit = 21;</code>
@@ -1030,7 +879,7 @@ private static final long serialVersionUID = 0L;
1030
879
  */
1031
880
  @java.lang.Override
1032
881
  public boolean hasShOpenHabHandle() {
1033
- return ((bitField0_ & 0x00040000) != 0);
882
+ return ((bitField0_ & 0x00004000) != 0);
1034
883
  }
1035
884
  /**
1036
885
  * <code>string sh_open_hab_handle = 22;</code>
@@ -1076,7 +925,7 @@ private static final long serialVersionUID = 0L;
1076
925
  */
1077
926
  @java.lang.Override
1078
927
  public boolean hasNistCpe() {
1079
- return ((bitField0_ & 0x00080000) != 0);
928
+ return ((bitField0_ & 0x00008000) != 0);
1080
929
  }
1081
930
  /**
1082
931
  * <code>string nist_cpe = 28;</code>
@@ -1114,23 +963,23 @@ private static final long serialVersionUID = 0L;
1114
963
  }
1115
964
  }
1116
965
 
1117
- public static final int SPREAD_IN_TYPE_FIELD_NUMBER = 23;
1118
- private double spreadInType_;
966
+ public static final int POPULARITY_FIELD_NUMBER = 23;
967
+ private int popularity_;
1119
968
  /**
1120
- * <code>double spread_in_type = 23;</code>
1121
- * @return Whether the spreadInType field is set.
969
+ * <code>int32 popularity = 23;</code>
970
+ * @return Whether the popularity field is set.
1122
971
  */
1123
972
  @java.lang.Override
1124
- public boolean hasSpreadInType() {
1125
- return ((bitField0_ & 0x00100000) != 0);
973
+ public boolean hasPopularity() {
974
+ return ((bitField0_ & 0x00010000) != 0);
1126
975
  }
1127
976
  /**
1128
- * <code>double spread_in_type = 23;</code>
1129
- * @return The spreadInType.
977
+ * <code>int32 popularity = 23;</code>
978
+ * @return The popularity.
1130
979
  */
1131
980
  @java.lang.Override
1132
- public double getSpreadInType() {
1133
- return spreadInType_;
981
+ public int getPopularity() {
982
+ return popularity_;
1134
983
  }
1135
984
 
1136
985
  public static final int LAST_UPDATE_TIME_FIELD_NUMBER = 16;
@@ -1141,7 +990,7 @@ private static final long serialVersionUID = 0L;
1141
990
  */
1142
991
  @java.lang.Override
1143
992
  public boolean hasLastUpdateTime() {
1144
- return ((bitField0_ & 0x00200000) != 0);
993
+ return ((bitField0_ & 0x00020000) != 0);
1145
994
  }
1146
995
  /**
1147
996
  * <code>int64 last_update_time = 16;</code>
@@ -1164,7 +1013,7 @@ private static final long serialVersionUID = 0L;
1164
1013
  */
1165
1014
  @java.lang.Override
1166
1015
  public boolean hasMatchScore() {
1167
- return ((bitField0_ & 0x00400000) != 0);
1016
+ return ((bitField0_ & 0x00040000) != 0);
1168
1017
  }
1169
1018
  /**
1170
1019
  * <pre>
@@ -1196,9 +1045,6 @@ private static final long serialVersionUID = 0L;
1196
1045
  if (id_ != 0L) {
1197
1046
  output.writeInt64(1, id_);
1198
1047
  }
1199
- if (!getKeyBytes().isEmpty()) {
1200
- com.google.protobuf.GeneratedMessageV3.writeString(output, 2, key_);
1201
- }
1202
1048
  if (makeId_ != 0L) {
1203
1049
  output.writeInt64(3, makeId_);
1204
1050
  }
@@ -1206,42 +1052,33 @@ private static final long serialVersionUID = 0L;
1206
1052
  com.google.protobuf.GeneratedMessageV3.writeString(output, 4, deviceModel_);
1207
1053
  }
1208
1054
  if (((bitField0_ & 0x00000001) != 0)) {
1209
- com.google.protobuf.GeneratedMessageV3.writeString(output, 5, deviceType_);
1055
+ output.writeInt64(5, deviceTypeId_);
1210
1056
  }
1211
- if (((bitField0_ & 0x00000002) != 0)) {
1212
- com.google.protobuf.GeneratedMessageV3.writeString(output, 6, deviceModelCode_);
1213
- }
1214
- if (((bitField0_ & 0x00000004) != 0)) {
1215
- output.writeInt64(7, overrideId_);
1216
- }
1217
- if (((bitField0_ & 0x00000008) != 0)) {
1218
- output.writeInt64(8, osDefaultId_);
1219
- }
1220
- if (((bitField0_ & 0x00000010) != 0)) {
1221
- output.writeInt64(9, osLatestId_);
1057
+ for (int i = 0; i < deviceModelCode_.size(); i++) {
1058
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 6, deviceModelCode_.getRaw(i));
1222
1059
  }
1223
- if (((bitField0_ & 0x00000020) != 0)) {
1060
+ if (((bitField0_ & 0x00000002) != 0)) {
1224
1061
  output.writeInt64(10, familyId_);
1225
1062
  }
1226
- if (((bitField0_ & 0x00000040) != 0)) {
1063
+ if (((bitField0_ & 0x00000004) != 0)) {
1227
1064
  output.writeBool(11, isFamily_);
1228
1065
  }
1229
- if (((bitField0_ & 0x00000080) != 0)) {
1066
+ if (((bitField0_ & 0x00000008) != 0)) {
1230
1067
  com.google.protobuf.GeneratedMessageV3.writeString(output, 12, manualUrl_);
1231
1068
  }
1232
- if (((bitField0_ & 0x00000100) != 0)) {
1069
+ if (((bitField0_ & 0x00000010) != 0)) {
1233
1070
  com.google.protobuf.GeneratedMessageV3.writeString(output, 13, faqUrl_);
1234
1071
  }
1235
- if (((bitField0_ & 0x00000200) != 0)) {
1072
+ if (((bitField0_ & 0x00000020) != 0)) {
1236
1073
  output.writeInt64(14, releaseDate_);
1237
1074
  }
1238
- if (((bitField0_ & 0x00000400) != 0)) {
1075
+ if (((bitField0_ & 0x00000040) != 0)) {
1239
1076
  output.writeInt64(15, discDate_);
1240
1077
  }
1241
- if (((bitField0_ & 0x00200000) != 0)) {
1078
+ if (((bitField0_ & 0x00020000) != 0)) {
1242
1079
  output.writeInt64(16, lastUpdateTime_);
1243
1080
  }
1244
- if (((bitField0_ & 0x00008000) != 0)) {
1081
+ if (((bitField0_ & 0x00000800) != 0)) {
1245
1082
  com.google.protobuf.GeneratedMessageV3.writeString(output, 17, shIftttHandle_);
1246
1083
  }
1247
1084
  for (int i = 0; i < shGoogleAssLangs_.size(); i++) {
@@ -1250,34 +1087,34 @@ private static final long serialVersionUID = 0L;
1250
1087
  for (int i = 0; i < shAlexaLangs_.size(); i++) {
1251
1088
  com.google.protobuf.GeneratedMessageV3.writeString(output, 19, shAlexaLangs_.getRaw(i));
1252
1089
  }
1253
- if (((bitField0_ & 0x00010000) != 0)) {
1090
+ if (((bitField0_ & 0x00001000) != 0)) {
1254
1091
  com.google.protobuf.GeneratedMessageV3.writeString(output, 20, shHassHandle_);
1255
1092
  }
1256
- if (((bitField0_ & 0x00020000) != 0)) {
1093
+ if (((bitField0_ & 0x00002000) != 0)) {
1257
1094
  output.writeBool(21, shAppleHomeKit_);
1258
1095
  }
1259
- if (((bitField0_ & 0x00040000) != 0)) {
1096
+ if (((bitField0_ & 0x00004000) != 0)) {
1260
1097
  com.google.protobuf.GeneratedMessageV3.writeString(output, 22, shOpenHabHandle_);
1261
1098
  }
1262
- if (((bitField0_ & 0x00100000) != 0)) {
1263
- output.writeDouble(23, spreadInType_);
1099
+ if (((bitField0_ & 0x00010000) != 0)) {
1100
+ output.writeInt32(23, popularity_);
1264
1101
  }
1265
- if (((bitField0_ & 0x00002000) != 0)) {
1102
+ if (((bitField0_ & 0x00000200) != 0)) {
1266
1103
  com.google.protobuf.GeneratedMessageV3.writeString(output, 24, priceClass_);
1267
1104
  }
1268
- if (((bitField0_ & 0x00004000) != 0)) {
1105
+ if (((bitField0_ & 0x00000400) != 0)) {
1269
1106
  com.google.protobuf.GeneratedMessageV3.writeString(output, 25, productClass_);
1270
1107
  }
1271
- if (((bitField0_ & 0x00000800) != 0)) {
1108
+ if (((bitField0_ & 0x00000080) != 0)) {
1272
1109
  output.writeInt64(26, eosDate_);
1273
1110
  }
1274
- if (((bitField0_ & 0x00400000) != 0)) {
1111
+ if (((bitField0_ & 0x00040000) != 0)) {
1275
1112
  output.writeInt32(27, matchScore_);
1276
1113
  }
1277
- if (((bitField0_ & 0x00080000) != 0)) {
1114
+ if (((bitField0_ & 0x00008000) != 0)) {
1278
1115
  com.google.protobuf.GeneratedMessageV3.writeString(output, 28, nistCpe_);
1279
1116
  }
1280
- if (((bitField0_ & 0x00001000) != 0)) {
1117
+ if (((bitField0_ & 0x00000100) != 0)) {
1281
1118
  com.google.protobuf.GeneratedMessageV3.writeString(output, 29, lifecyleConfidence_);
1282
1119
  }
1283
1120
  unknownFields.writeTo(output);
@@ -1293,9 +1130,6 @@ private static final long serialVersionUID = 0L;
1293
1130
  size += com.google.protobuf.CodedOutputStream
1294
1131
  .computeInt64Size(1, id_);
1295
1132
  }
1296
- if (!getKeyBytes().isEmpty()) {
1297
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, key_);
1298
- }
1299
1133
  if (makeId_ != 0L) {
1300
1134
  size += com.google.protobuf.CodedOutputStream
1301
1135
  .computeInt64Size(3, makeId_);
@@ -1304,50 +1138,44 @@ private static final long serialVersionUID = 0L;
1304
1138
  size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, deviceModel_);
1305
1139
  }
1306
1140
  if (((bitField0_ & 0x00000001) != 0)) {
1307
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, deviceType_);
1308
- }
1309
- if (((bitField0_ & 0x00000002) != 0)) {
1310
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, deviceModelCode_);
1311
- }
1312
- if (((bitField0_ & 0x00000004) != 0)) {
1313
1141
  size += com.google.protobuf.CodedOutputStream
1314
- .computeInt64Size(7, overrideId_);
1142
+ .computeInt64Size(5, deviceTypeId_);
1315
1143
  }
1316
- if (((bitField0_ & 0x00000008) != 0)) {
1317
- size += com.google.protobuf.CodedOutputStream
1318
- .computeInt64Size(8, osDefaultId_);
1319
- }
1320
- if (((bitField0_ & 0x00000010) != 0)) {
1321
- size += com.google.protobuf.CodedOutputStream
1322
- .computeInt64Size(9, osLatestId_);
1144
+ {
1145
+ int dataSize = 0;
1146
+ for (int i = 0; i < deviceModelCode_.size(); i++) {
1147
+ dataSize += computeStringSizeNoTag(deviceModelCode_.getRaw(i));
1148
+ }
1149
+ size += dataSize;
1150
+ size += 1 * getDeviceModelCodeList().size();
1323
1151
  }
1324
- if (((bitField0_ & 0x00000020) != 0)) {
1152
+ if (((bitField0_ & 0x00000002) != 0)) {
1325
1153
  size += com.google.protobuf.CodedOutputStream
1326
1154
  .computeInt64Size(10, familyId_);
1327
1155
  }
1328
- if (((bitField0_ & 0x00000040) != 0)) {
1156
+ if (((bitField0_ & 0x00000004) != 0)) {
1329
1157
  size += com.google.protobuf.CodedOutputStream
1330
1158
  .computeBoolSize(11, isFamily_);
1331
1159
  }
1332
- if (((bitField0_ & 0x00000080) != 0)) {
1160
+ if (((bitField0_ & 0x00000008) != 0)) {
1333
1161
  size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, manualUrl_);
1334
1162
  }
1335
- if (((bitField0_ & 0x00000100) != 0)) {
1163
+ if (((bitField0_ & 0x00000010) != 0)) {
1336
1164
  size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, faqUrl_);
1337
1165
  }
1338
- if (((bitField0_ & 0x00000200) != 0)) {
1166
+ if (((bitField0_ & 0x00000020) != 0)) {
1339
1167
  size += com.google.protobuf.CodedOutputStream
1340
1168
  .computeInt64Size(14, releaseDate_);
1341
1169
  }
1342
- if (((bitField0_ & 0x00000400) != 0)) {
1170
+ if (((bitField0_ & 0x00000040) != 0)) {
1343
1171
  size += com.google.protobuf.CodedOutputStream
1344
1172
  .computeInt64Size(15, discDate_);
1345
1173
  }
1346
- if (((bitField0_ & 0x00200000) != 0)) {
1174
+ if (((bitField0_ & 0x00020000) != 0)) {
1347
1175
  size += com.google.protobuf.CodedOutputStream
1348
1176
  .computeInt64Size(16, lastUpdateTime_);
1349
1177
  }
1350
- if (((bitField0_ & 0x00008000) != 0)) {
1178
+ if (((bitField0_ & 0x00000800) != 0)) {
1351
1179
  size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, shIftttHandle_);
1352
1180
  }
1353
1181
  {
@@ -1366,38 +1194,38 @@ private static final long serialVersionUID = 0L;
1366
1194
  size += dataSize;
1367
1195
  size += 2 * getShAlexaLangsList().size();
1368
1196
  }
1369
- if (((bitField0_ & 0x00010000) != 0)) {
1197
+ if (((bitField0_ & 0x00001000) != 0)) {
1370
1198
  size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, shHassHandle_);
1371
1199
  }
1372
- if (((bitField0_ & 0x00020000) != 0)) {
1200
+ if (((bitField0_ & 0x00002000) != 0)) {
1373
1201
  size += com.google.protobuf.CodedOutputStream
1374
1202
  .computeBoolSize(21, shAppleHomeKit_);
1375
1203
  }
1376
- if (((bitField0_ & 0x00040000) != 0)) {
1204
+ if (((bitField0_ & 0x00004000) != 0)) {
1377
1205
  size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, shOpenHabHandle_);
1378
1206
  }
1379
- if (((bitField0_ & 0x00100000) != 0)) {
1207
+ if (((bitField0_ & 0x00010000) != 0)) {
1380
1208
  size += com.google.protobuf.CodedOutputStream
1381
- .computeDoubleSize(23, spreadInType_);
1209
+ .computeInt32Size(23, popularity_);
1382
1210
  }
1383
- if (((bitField0_ & 0x00002000) != 0)) {
1211
+ if (((bitField0_ & 0x00000200) != 0)) {
1384
1212
  size += com.google.protobuf.GeneratedMessageV3.computeStringSize(24, priceClass_);
1385
1213
  }
1386
- if (((bitField0_ & 0x00004000) != 0)) {
1214
+ if (((bitField0_ & 0x00000400) != 0)) {
1387
1215
  size += com.google.protobuf.GeneratedMessageV3.computeStringSize(25, productClass_);
1388
1216
  }
1389
- if (((bitField0_ & 0x00000800) != 0)) {
1217
+ if (((bitField0_ & 0x00000080) != 0)) {
1390
1218
  size += com.google.protobuf.CodedOutputStream
1391
1219
  .computeInt64Size(26, eosDate_);
1392
1220
  }
1393
- if (((bitField0_ & 0x00400000) != 0)) {
1221
+ if (((bitField0_ & 0x00040000) != 0)) {
1394
1222
  size += com.google.protobuf.CodedOutputStream
1395
1223
  .computeInt32Size(27, matchScore_);
1396
1224
  }
1397
- if (((bitField0_ & 0x00080000) != 0)) {
1225
+ if (((bitField0_ & 0x00008000) != 0)) {
1398
1226
  size += com.google.protobuf.GeneratedMessageV3.computeStringSize(28, nistCpe_);
1399
1227
  }
1400
- if (((bitField0_ & 0x00001000) != 0)) {
1228
+ if (((bitField0_ & 0x00000100) != 0)) {
1401
1229
  size += com.google.protobuf.GeneratedMessageV3.computeStringSize(29, lifecyleConfidence_);
1402
1230
  }
1403
1231
  size += unknownFields.getSerializedSize();
@@ -1417,37 +1245,17 @@ private static final long serialVersionUID = 0L;
1417
1245
 
1418
1246
  if (getId()
1419
1247
  != other.getId()) return false;
1420
- if (!getKey()
1421
- .equals(other.getKey())) return false;
1422
1248
  if (getMakeId()
1423
1249
  != other.getMakeId()) return false;
1424
1250
  if (!getDeviceModel()
1425
1251
  .equals(other.getDeviceModel())) return false;
1426
- if (hasDeviceType() != other.hasDeviceType()) return false;
1427
- if (hasDeviceType()) {
1428
- if (!getDeviceType()
1429
- .equals(other.getDeviceType())) return false;
1430
- }
1431
- if (hasDeviceModelCode() != other.hasDeviceModelCode()) return false;
1432
- if (hasDeviceModelCode()) {
1433
- if (!getDeviceModelCode()
1434
- .equals(other.getDeviceModelCode())) return false;
1435
- }
1436
- if (hasOverrideId() != other.hasOverrideId()) return false;
1437
- if (hasOverrideId()) {
1438
- if (getOverrideId()
1439
- != other.getOverrideId()) return false;
1440
- }
1441
- if (hasOsDefaultId() != other.hasOsDefaultId()) return false;
1442
- if (hasOsDefaultId()) {
1443
- if (getOsDefaultId()
1444
- != other.getOsDefaultId()) return false;
1445
- }
1446
- if (hasOsLatestId() != other.hasOsLatestId()) return false;
1447
- if (hasOsLatestId()) {
1448
- if (getOsLatestId()
1449
- != other.getOsLatestId()) return false;
1252
+ if (hasDeviceTypeId() != other.hasDeviceTypeId()) return false;
1253
+ if (hasDeviceTypeId()) {
1254
+ if (getDeviceTypeId()
1255
+ != other.getDeviceTypeId()) return false;
1450
1256
  }
1257
+ if (!getDeviceModelCodeList()
1258
+ .equals(other.getDeviceModelCodeList())) return false;
1451
1259
  if (hasFamilyId() != other.hasFamilyId()) return false;
1452
1260
  if (hasFamilyId()) {
1453
1261
  if (getFamilyId()
@@ -1527,11 +1335,10 @@ private static final long serialVersionUID = 0L;
1527
1335
  if (!getNistCpe()
1528
1336
  .equals(other.getNistCpe())) return false;
1529
1337
  }
1530
- if (hasSpreadInType() != other.hasSpreadInType()) return false;
1531
- if (hasSpreadInType()) {
1532
- if (java.lang.Double.doubleToLongBits(getSpreadInType())
1533
- != java.lang.Double.doubleToLongBits(
1534
- other.getSpreadInType())) return false;
1338
+ if (hasPopularity() != other.hasPopularity()) return false;
1339
+ if (hasPopularity()) {
1340
+ if (getPopularity()
1341
+ != other.getPopularity()) return false;
1535
1342
  }
1536
1343
  if (hasLastUpdateTime() != other.hasLastUpdateTime()) return false;
1537
1344
  if (hasLastUpdateTime()) {
@@ -1557,35 +1364,19 @@ private static final long serialVersionUID = 0L;
1557
1364
  hash = (37 * hash) + ID_FIELD_NUMBER;
1558
1365
  hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1559
1366
  getId());
1560
- hash = (37 * hash) + KEY_FIELD_NUMBER;
1561
- hash = (53 * hash) + getKey().hashCode();
1562
1367
  hash = (37 * hash) + MAKE_ID_FIELD_NUMBER;
1563
1368
  hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1564
1369
  getMakeId());
1565
1370
  hash = (37 * hash) + DEVICE_MODEL_FIELD_NUMBER;
1566
1371
  hash = (53 * hash) + getDeviceModel().hashCode();
1567
- if (hasDeviceType()) {
1568
- hash = (37 * hash) + DEVICE_TYPE_FIELD_NUMBER;
1569
- hash = (53 * hash) + getDeviceType().hashCode();
1570
- }
1571
- if (hasDeviceModelCode()) {
1572
- hash = (37 * hash) + DEVICE_MODEL_CODE_FIELD_NUMBER;
1573
- hash = (53 * hash) + getDeviceModelCode().hashCode();
1574
- }
1575
- if (hasOverrideId()) {
1576
- hash = (37 * hash) + OVERRIDE_ID_FIELD_NUMBER;
1577
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1578
- getOverrideId());
1579
- }
1580
- if (hasOsDefaultId()) {
1581
- hash = (37 * hash) + OS_DEFAULT_ID_FIELD_NUMBER;
1372
+ if (hasDeviceTypeId()) {
1373
+ hash = (37 * hash) + DEVICE_TYPE_ID_FIELD_NUMBER;
1582
1374
  hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1583
- getOsDefaultId());
1375
+ getDeviceTypeId());
1584
1376
  }
1585
- if (hasOsLatestId()) {
1586
- hash = (37 * hash) + OS_LATEST_ID_FIELD_NUMBER;
1587
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1588
- getOsLatestId());
1377
+ if (getDeviceModelCodeCount() > 0) {
1378
+ hash = (37 * hash) + DEVICE_MODEL_CODE_FIELD_NUMBER;
1379
+ hash = (53 * hash) + getDeviceModelCodeList().hashCode();
1589
1380
  }
1590
1381
  if (hasFamilyId()) {
1591
1382
  hash = (37 * hash) + FAMILY_ID_FIELD_NUMBER;
@@ -1661,10 +1452,9 @@ private static final long serialVersionUID = 0L;
1661
1452
  hash = (37 * hash) + NIST_CPE_FIELD_NUMBER;
1662
1453
  hash = (53 * hash) + getNistCpe().hashCode();
1663
1454
  }
1664
- if (hasSpreadInType()) {
1665
- hash = (37 * hash) + SPREAD_IN_TYPE_FIELD_NUMBER;
1666
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1667
- java.lang.Double.doubleToLongBits(getSpreadInType()));
1455
+ if (hasPopularity()) {
1456
+ hash = (37 * hash) + POPULARITY_FIELD_NUMBER;
1457
+ hash = (53 * hash) + getPopularity();
1668
1458
  }
1669
1459
  if (hasLastUpdateTime()) {
1670
1460
  hash = (37 * hash) + LAST_UPDATE_TIME_FIELD_NUMBER;
@@ -1810,62 +1600,54 @@ private static final long serialVersionUID = 0L;
1810
1600
  super.clear();
1811
1601
  id_ = 0L;
1812
1602
 
1813
- key_ = "";
1814
-
1815
1603
  makeId_ = 0L;
1816
1604
 
1817
1605
  deviceModel_ = "";
1818
1606
 
1819
- deviceType_ = "";
1607
+ deviceTypeId_ = 0L;
1820
1608
  bitField0_ = (bitField0_ & ~0x00000001);
1821
- deviceModelCode_ = "";
1609
+ deviceModelCode_ = com.google.protobuf.LazyStringArrayList.EMPTY;
1822
1610
  bitField0_ = (bitField0_ & ~0x00000002);
1823
- overrideId_ = 0L;
1611
+ familyId_ = 0L;
1824
1612
  bitField0_ = (bitField0_ & ~0x00000004);
1825
- osDefaultId_ = 0L;
1613
+ isFamily_ = false;
1826
1614
  bitField0_ = (bitField0_ & ~0x00000008);
1827
- osLatestId_ = 0L;
1615
+ manualUrl_ = "";
1828
1616
  bitField0_ = (bitField0_ & ~0x00000010);
1829
- familyId_ = 0L;
1617
+ faqUrl_ = "";
1830
1618
  bitField0_ = (bitField0_ & ~0x00000020);
1831
- isFamily_ = false;
1619
+ releaseDate_ = 0L;
1832
1620
  bitField0_ = (bitField0_ & ~0x00000040);
1833
- manualUrl_ = "";
1621
+ discDate_ = 0L;
1834
1622
  bitField0_ = (bitField0_ & ~0x00000080);
1835
- faqUrl_ = "";
1623
+ eosDate_ = 0L;
1836
1624
  bitField0_ = (bitField0_ & ~0x00000100);
1837
- releaseDate_ = 0L;
1625
+ lifecyleConfidence_ = "";
1838
1626
  bitField0_ = (bitField0_ & ~0x00000200);
1839
- discDate_ = 0L;
1627
+ priceClass_ = "";
1840
1628
  bitField0_ = (bitField0_ & ~0x00000400);
1841
- eosDate_ = 0L;
1629
+ productClass_ = "";
1842
1630
  bitField0_ = (bitField0_ & ~0x00000800);
1843
- lifecyleConfidence_ = "";
1631
+ shIftttHandle_ = "";
1844
1632
  bitField0_ = (bitField0_ & ~0x00001000);
1845
- priceClass_ = "";
1633
+ shGoogleAssLangs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
1846
1634
  bitField0_ = (bitField0_ & ~0x00002000);
1847
- productClass_ = "";
1635
+ shAlexaLangs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
1848
1636
  bitField0_ = (bitField0_ & ~0x00004000);
1849
- shIftttHandle_ = "";
1637
+ shHassHandle_ = "";
1850
1638
  bitField0_ = (bitField0_ & ~0x00008000);
1851
- shGoogleAssLangs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
1639
+ shAppleHomeKit_ = false;
1852
1640
  bitField0_ = (bitField0_ & ~0x00010000);
1853
- shAlexaLangs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
1641
+ shOpenHabHandle_ = "";
1854
1642
  bitField0_ = (bitField0_ & ~0x00020000);
1855
- shHassHandle_ = "";
1643
+ nistCpe_ = "";
1856
1644
  bitField0_ = (bitField0_ & ~0x00040000);
1857
- shAppleHomeKit_ = false;
1645
+ popularity_ = 0;
1858
1646
  bitField0_ = (bitField0_ & ~0x00080000);
1859
- shOpenHabHandle_ = "";
1860
- bitField0_ = (bitField0_ & ~0x00100000);
1861
- nistCpe_ = "";
1862
- bitField0_ = (bitField0_ & ~0x00200000);
1863
- spreadInType_ = 0D;
1864
- bitField0_ = (bitField0_ & ~0x00400000);
1865
1647
  lastUpdateTime_ = 0L;
1866
- bitField0_ = (bitField0_ & ~0x00800000);
1648
+ bitField0_ = (bitField0_ & ~0x00100000);
1867
1649
  matchScore_ = 0;
1868
- bitField0_ = (bitField0_ & ~0x01000000);
1650
+ bitField0_ = (bitField0_ & ~0x00200000);
1869
1651
  return this;
1870
1652
  }
1871
1653
 
@@ -1895,110 +1677,98 @@ private static final long serialVersionUID = 0L;
1895
1677
  int from_bitField0_ = bitField0_;
1896
1678
  int to_bitField0_ = 0;
1897
1679
  result.id_ = id_;
1898
- result.key_ = key_;
1899
1680
  result.makeId_ = makeId_;
1900
1681
  result.deviceModel_ = deviceModel_;
1901
1682
  if (((from_bitField0_ & 0x00000001) != 0)) {
1683
+ result.deviceTypeId_ = deviceTypeId_;
1902
1684
  to_bitField0_ |= 0x00000001;
1903
1685
  }
1904
- result.deviceType_ = deviceType_;
1905
- if (((from_bitField0_ & 0x00000002) != 0)) {
1906
- to_bitField0_ |= 0x00000002;
1686
+ if (((bitField0_ & 0x00000002) != 0)) {
1687
+ deviceModelCode_ = deviceModelCode_.getUnmodifiableView();
1688
+ bitField0_ = (bitField0_ & ~0x00000002);
1907
1689
  }
1908
1690
  result.deviceModelCode_ = deviceModelCode_;
1909
1691
  if (((from_bitField0_ & 0x00000004) != 0)) {
1910
- result.overrideId_ = overrideId_;
1911
- to_bitField0_ |= 0x00000004;
1912
- }
1913
- if (((from_bitField0_ & 0x00000008) != 0)) {
1914
- result.osDefaultId_ = osDefaultId_;
1915
- to_bitField0_ |= 0x00000008;
1916
- }
1917
- if (((from_bitField0_ & 0x00000010) != 0)) {
1918
- result.osLatestId_ = osLatestId_;
1919
- to_bitField0_ |= 0x00000010;
1920
- }
1921
- if (((from_bitField0_ & 0x00000020) != 0)) {
1922
1692
  result.familyId_ = familyId_;
1923
- to_bitField0_ |= 0x00000020;
1693
+ to_bitField0_ |= 0x00000002;
1924
1694
  }
1925
- if (((from_bitField0_ & 0x00000040) != 0)) {
1695
+ if (((from_bitField0_ & 0x00000008) != 0)) {
1926
1696
  result.isFamily_ = isFamily_;
1927
- to_bitField0_ |= 0x00000040;
1697
+ to_bitField0_ |= 0x00000004;
1928
1698
  }
1929
- if (((from_bitField0_ & 0x00000080) != 0)) {
1930
- to_bitField0_ |= 0x00000080;
1699
+ if (((from_bitField0_ & 0x00000010) != 0)) {
1700
+ to_bitField0_ |= 0x00000008;
1931
1701
  }
1932
1702
  result.manualUrl_ = manualUrl_;
1933
- if (((from_bitField0_ & 0x00000100) != 0)) {
1934
- to_bitField0_ |= 0x00000100;
1703
+ if (((from_bitField0_ & 0x00000020) != 0)) {
1704
+ to_bitField0_ |= 0x00000010;
1935
1705
  }
1936
1706
  result.faqUrl_ = faqUrl_;
1937
- if (((from_bitField0_ & 0x00000200) != 0)) {
1707
+ if (((from_bitField0_ & 0x00000040) != 0)) {
1938
1708
  result.releaseDate_ = releaseDate_;
1939
- to_bitField0_ |= 0x00000200;
1709
+ to_bitField0_ |= 0x00000020;
1940
1710
  }
1941
- if (((from_bitField0_ & 0x00000400) != 0)) {
1711
+ if (((from_bitField0_ & 0x00000080) != 0)) {
1942
1712
  result.discDate_ = discDate_;
1943
- to_bitField0_ |= 0x00000400;
1713
+ to_bitField0_ |= 0x00000040;
1944
1714
  }
1945
- if (((from_bitField0_ & 0x00000800) != 0)) {
1715
+ if (((from_bitField0_ & 0x00000100) != 0)) {
1946
1716
  result.eosDate_ = eosDate_;
1947
- to_bitField0_ |= 0x00000800;
1717
+ to_bitField0_ |= 0x00000080;
1948
1718
  }
1949
- if (((from_bitField0_ & 0x00001000) != 0)) {
1950
- to_bitField0_ |= 0x00001000;
1719
+ if (((from_bitField0_ & 0x00000200) != 0)) {
1720
+ to_bitField0_ |= 0x00000100;
1951
1721
  }
1952
1722
  result.lifecyleConfidence_ = lifecyleConfidence_;
1953
- if (((from_bitField0_ & 0x00002000) != 0)) {
1954
- to_bitField0_ |= 0x00002000;
1723
+ if (((from_bitField0_ & 0x00000400) != 0)) {
1724
+ to_bitField0_ |= 0x00000200;
1955
1725
  }
1956
1726
  result.priceClass_ = priceClass_;
1957
- if (((from_bitField0_ & 0x00004000) != 0)) {
1958
- to_bitField0_ |= 0x00004000;
1727
+ if (((from_bitField0_ & 0x00000800) != 0)) {
1728
+ to_bitField0_ |= 0x00000400;
1959
1729
  }
1960
1730
  result.productClass_ = productClass_;
1961
- if (((from_bitField0_ & 0x00008000) != 0)) {
1962
- to_bitField0_ |= 0x00008000;
1731
+ if (((from_bitField0_ & 0x00001000) != 0)) {
1732
+ to_bitField0_ |= 0x00000800;
1963
1733
  }
1964
1734
  result.shIftttHandle_ = shIftttHandle_;
1965
- if (((bitField0_ & 0x00010000) != 0)) {
1735
+ if (((bitField0_ & 0x00002000) != 0)) {
1966
1736
  shGoogleAssLangs_ = shGoogleAssLangs_.getUnmodifiableView();
1967
- bitField0_ = (bitField0_ & ~0x00010000);
1737
+ bitField0_ = (bitField0_ & ~0x00002000);
1968
1738
  }
1969
1739
  result.shGoogleAssLangs_ = shGoogleAssLangs_;
1970
- if (((bitField0_ & 0x00020000) != 0)) {
1740
+ if (((bitField0_ & 0x00004000) != 0)) {
1971
1741
  shAlexaLangs_ = shAlexaLangs_.getUnmodifiableView();
1972
- bitField0_ = (bitField0_ & ~0x00020000);
1742
+ bitField0_ = (bitField0_ & ~0x00004000);
1973
1743
  }
1974
1744
  result.shAlexaLangs_ = shAlexaLangs_;
1975
- if (((from_bitField0_ & 0x00040000) != 0)) {
1976
- to_bitField0_ |= 0x00010000;
1745
+ if (((from_bitField0_ & 0x00008000) != 0)) {
1746
+ to_bitField0_ |= 0x00001000;
1977
1747
  }
1978
1748
  result.shHassHandle_ = shHassHandle_;
1979
- if (((from_bitField0_ & 0x00080000) != 0)) {
1749
+ if (((from_bitField0_ & 0x00010000) != 0)) {
1980
1750
  result.shAppleHomeKit_ = shAppleHomeKit_;
1981
- to_bitField0_ |= 0x00020000;
1751
+ to_bitField0_ |= 0x00002000;
1982
1752
  }
1983
- if (((from_bitField0_ & 0x00100000) != 0)) {
1984
- to_bitField0_ |= 0x00040000;
1753
+ if (((from_bitField0_ & 0x00020000) != 0)) {
1754
+ to_bitField0_ |= 0x00004000;
1985
1755
  }
1986
1756
  result.shOpenHabHandle_ = shOpenHabHandle_;
1987
- if (((from_bitField0_ & 0x00200000) != 0)) {
1988
- to_bitField0_ |= 0x00080000;
1757
+ if (((from_bitField0_ & 0x00040000) != 0)) {
1758
+ to_bitField0_ |= 0x00008000;
1989
1759
  }
1990
1760
  result.nistCpe_ = nistCpe_;
1991
- if (((from_bitField0_ & 0x00400000) != 0)) {
1992
- result.spreadInType_ = spreadInType_;
1993
- to_bitField0_ |= 0x00100000;
1761
+ if (((from_bitField0_ & 0x00080000) != 0)) {
1762
+ result.popularity_ = popularity_;
1763
+ to_bitField0_ |= 0x00010000;
1994
1764
  }
1995
- if (((from_bitField0_ & 0x00800000) != 0)) {
1765
+ if (((from_bitField0_ & 0x00100000) != 0)) {
1996
1766
  result.lastUpdateTime_ = lastUpdateTime_;
1997
- to_bitField0_ |= 0x00200000;
1767
+ to_bitField0_ |= 0x00020000;
1998
1768
  }
1999
- if (((from_bitField0_ & 0x01000000) != 0)) {
1769
+ if (((from_bitField0_ & 0x00200000) != 0)) {
2000
1770
  result.matchScore_ = matchScore_;
2001
- to_bitField0_ |= 0x00400000;
1771
+ to_bitField0_ |= 0x00040000;
2002
1772
  }
2003
1773
  result.bitField0_ = to_bitField0_;
2004
1774
  onBuilt();
@@ -2052,10 +1822,6 @@ private static final long serialVersionUID = 0L;
2052
1822
  if (other.getId() != 0L) {
2053
1823
  setId(other.getId());
2054
1824
  }
2055
- if (!other.getKey().isEmpty()) {
2056
- key_ = other.key_;
2057
- onChanged();
2058
- }
2059
1825
  if (other.getMakeId() != 0L) {
2060
1826
  setMakeId(other.getMakeId());
2061
1827
  }
@@ -2063,25 +1829,19 @@ private static final long serialVersionUID = 0L;
2063
1829
  deviceModel_ = other.deviceModel_;
2064
1830
  onChanged();
2065
1831
  }
2066
- if (other.hasDeviceType()) {
2067
- bitField0_ |= 0x00000001;
2068
- deviceType_ = other.deviceType_;
2069
- onChanged();
1832
+ if (other.hasDeviceTypeId()) {
1833
+ setDeviceTypeId(other.getDeviceTypeId());
2070
1834
  }
2071
- if (other.hasDeviceModelCode()) {
2072
- bitField0_ |= 0x00000002;
2073
- deviceModelCode_ = other.deviceModelCode_;
1835
+ if (!other.deviceModelCode_.isEmpty()) {
1836
+ if (deviceModelCode_.isEmpty()) {
1837
+ deviceModelCode_ = other.deviceModelCode_;
1838
+ bitField0_ = (bitField0_ & ~0x00000002);
1839
+ } else {
1840
+ ensureDeviceModelCodeIsMutable();
1841
+ deviceModelCode_.addAll(other.deviceModelCode_);
1842
+ }
2074
1843
  onChanged();
2075
1844
  }
2076
- if (other.hasOverrideId()) {
2077
- setOverrideId(other.getOverrideId());
2078
- }
2079
- if (other.hasOsDefaultId()) {
2080
- setOsDefaultId(other.getOsDefaultId());
2081
- }
2082
- if (other.hasOsLatestId()) {
2083
- setOsLatestId(other.getOsLatestId());
2084
- }
2085
1845
  if (other.hasFamilyId()) {
2086
1846
  setFamilyId(other.getFamilyId());
2087
1847
  }
@@ -2089,12 +1849,12 @@ private static final long serialVersionUID = 0L;
2089
1849
  setIsFamily(other.getIsFamily());
2090
1850
  }
2091
1851
  if (other.hasManualUrl()) {
2092
- bitField0_ |= 0x00000080;
1852
+ bitField0_ |= 0x00000010;
2093
1853
  manualUrl_ = other.manualUrl_;
2094
1854
  onChanged();
2095
1855
  }
2096
1856
  if (other.hasFaqUrl()) {
2097
- bitField0_ |= 0x00000100;
1857
+ bitField0_ |= 0x00000020;
2098
1858
  faqUrl_ = other.faqUrl_;
2099
1859
  onChanged();
2100
1860
  }
@@ -2108,29 +1868,29 @@ private static final long serialVersionUID = 0L;
2108
1868
  setEosDate(other.getEosDate());
2109
1869
  }
2110
1870
  if (other.hasLifecyleConfidence()) {
2111
- bitField0_ |= 0x00001000;
1871
+ bitField0_ |= 0x00000200;
2112
1872
  lifecyleConfidence_ = other.lifecyleConfidence_;
2113
1873
  onChanged();
2114
1874
  }
2115
1875
  if (other.hasPriceClass()) {
2116
- bitField0_ |= 0x00002000;
1876
+ bitField0_ |= 0x00000400;
2117
1877
  priceClass_ = other.priceClass_;
2118
1878
  onChanged();
2119
1879
  }
2120
1880
  if (other.hasProductClass()) {
2121
- bitField0_ |= 0x00004000;
1881
+ bitField0_ |= 0x00000800;
2122
1882
  productClass_ = other.productClass_;
2123
1883
  onChanged();
2124
1884
  }
2125
1885
  if (other.hasShIftttHandle()) {
2126
- bitField0_ |= 0x00008000;
1886
+ bitField0_ |= 0x00001000;
2127
1887
  shIftttHandle_ = other.shIftttHandle_;
2128
1888
  onChanged();
2129
1889
  }
2130
1890
  if (!other.shGoogleAssLangs_.isEmpty()) {
2131
1891
  if (shGoogleAssLangs_.isEmpty()) {
2132
1892
  shGoogleAssLangs_ = other.shGoogleAssLangs_;
2133
- bitField0_ = (bitField0_ & ~0x00010000);
1893
+ bitField0_ = (bitField0_ & ~0x00002000);
2134
1894
  } else {
2135
1895
  ensureShGoogleAssLangsIsMutable();
2136
1896
  shGoogleAssLangs_.addAll(other.shGoogleAssLangs_);
@@ -2140,7 +1900,7 @@ private static final long serialVersionUID = 0L;
2140
1900
  if (!other.shAlexaLangs_.isEmpty()) {
2141
1901
  if (shAlexaLangs_.isEmpty()) {
2142
1902
  shAlexaLangs_ = other.shAlexaLangs_;
2143
- bitField0_ = (bitField0_ & ~0x00020000);
1903
+ bitField0_ = (bitField0_ & ~0x00004000);
2144
1904
  } else {
2145
1905
  ensureShAlexaLangsIsMutable();
2146
1906
  shAlexaLangs_.addAll(other.shAlexaLangs_);
@@ -2148,7 +1908,7 @@ private static final long serialVersionUID = 0L;
2148
1908
  onChanged();
2149
1909
  }
2150
1910
  if (other.hasShHassHandle()) {
2151
- bitField0_ |= 0x00040000;
1911
+ bitField0_ |= 0x00008000;
2152
1912
  shHassHandle_ = other.shHassHandle_;
2153
1913
  onChanged();
2154
1914
  }
@@ -2156,17 +1916,17 @@ private static final long serialVersionUID = 0L;
2156
1916
  setShAppleHomeKit(other.getShAppleHomeKit());
2157
1917
  }
2158
1918
  if (other.hasShOpenHabHandle()) {
2159
- bitField0_ |= 0x00100000;
1919
+ bitField0_ |= 0x00020000;
2160
1920
  shOpenHabHandle_ = other.shOpenHabHandle_;
2161
1921
  onChanged();
2162
1922
  }
2163
1923
  if (other.hasNistCpe()) {
2164
- bitField0_ |= 0x00200000;
1924
+ bitField0_ |= 0x00040000;
2165
1925
  nistCpe_ = other.nistCpe_;
2166
1926
  onChanged();
2167
1927
  }
2168
- if (other.hasSpreadInType()) {
2169
- setSpreadInType(other.getSpreadInType());
1928
+ if (other.hasPopularity()) {
1929
+ setPopularity(other.getPopularity());
2170
1930
  }
2171
1931
  if (other.hasLastUpdateTime()) {
2172
1932
  setLastUpdateTime(other.getLastUpdateTime());
@@ -2209,104 +1969,28 @@ private static final long serialVersionUID = 0L;
2209
1969
  * <code>int64 id = 1;</code>
2210
1970
  * @return The id.
2211
1971
  */
2212
- @java.lang.Override
2213
- public long getId() {
2214
- return id_;
2215
- }
2216
- /**
2217
- * <code>int64 id = 1;</code>
2218
- * @param value The id to set.
2219
- * @return This builder for chaining.
2220
- */
2221
- public Builder setId(long value) {
2222
-
2223
- id_ = value;
2224
- onChanged();
2225
- return this;
2226
- }
2227
- /**
2228
- * <code>int64 id = 1;</code>
2229
- * @return This builder for chaining.
2230
- */
2231
- public Builder clearId() {
2232
-
2233
- id_ = 0L;
2234
- onChanged();
2235
- return this;
2236
- }
2237
-
2238
- private java.lang.Object key_ = "";
2239
- /**
2240
- * <code>string key = 2;</code>
2241
- * @return The key.
2242
- */
2243
- public java.lang.String getKey() {
2244
- java.lang.Object ref = key_;
2245
- if (!(ref instanceof java.lang.String)) {
2246
- com.google.protobuf.ByteString bs =
2247
- (com.google.protobuf.ByteString) ref;
2248
- java.lang.String s = bs.toStringUtf8();
2249
- key_ = s;
2250
- return s;
2251
- } else {
2252
- return (java.lang.String) ref;
2253
- }
2254
- }
2255
- /**
2256
- * <code>string key = 2;</code>
2257
- * @return The bytes for key.
2258
- */
2259
- public com.google.protobuf.ByteString
2260
- getKeyBytes() {
2261
- java.lang.Object ref = key_;
2262
- if (ref instanceof String) {
2263
- com.google.protobuf.ByteString b =
2264
- com.google.protobuf.ByteString.copyFromUtf8(
2265
- (java.lang.String) ref);
2266
- key_ = b;
2267
- return b;
2268
- } else {
2269
- return (com.google.protobuf.ByteString) ref;
2270
- }
2271
- }
2272
- /**
2273
- * <code>string key = 2;</code>
2274
- * @param value The key to set.
2275
- * @return This builder for chaining.
2276
- */
2277
- public Builder setKey(
2278
- java.lang.String value) {
2279
- if (value == null) {
2280
- throw new NullPointerException();
2281
- }
2282
-
2283
- key_ = value;
2284
- onChanged();
2285
- return this;
1972
+ @java.lang.Override
1973
+ public long getId() {
1974
+ return id_;
2286
1975
  }
2287
1976
  /**
2288
- * <code>string key = 2;</code>
1977
+ * <code>int64 id = 1;</code>
1978
+ * @param value The id to set.
2289
1979
  * @return This builder for chaining.
2290
1980
  */
2291
- public Builder clearKey() {
1981
+ public Builder setId(long value) {
2292
1982
 
2293
- key_ = getDefaultInstance().getKey();
1983
+ id_ = value;
2294
1984
  onChanged();
2295
1985
  return this;
2296
1986
  }
2297
1987
  /**
2298
- * <code>string key = 2;</code>
2299
- * @param value The bytes for key to set.
1988
+ * <code>int64 id = 1;</code>
2300
1989
  * @return This builder for chaining.
2301
1990
  */
2302
- public Builder setKeyBytes(
2303
- com.google.protobuf.ByteString value) {
2304
- if (value == null) {
2305
- throw new NullPointerException();
2306
- }
2307
- checkByteStringIsUtf8(value);
1991
+ public Builder clearId() {
2308
1992
 
2309
- key_ = value;
1993
+ id_ = 0L;
2310
1994
  onChanged();
2311
1995
  return this;
2312
1996
  }
@@ -2418,285 +2102,151 @@ private static final long serialVersionUID = 0L;
2418
2102
  return this;
2419
2103
  }
2420
2104
 
2421
- private java.lang.Object deviceType_ = "";
2105
+ private long deviceTypeId_ ;
2422
2106
  /**
2423
- * <code>string device_type = 5;</code>
2424
- * @return Whether the deviceType field is set.
2107
+ * <code>int64 device_type_id = 5;</code>
2108
+ * @return Whether the deviceTypeId field is set.
2425
2109
  */
2426
- public boolean hasDeviceType() {
2110
+ @java.lang.Override
2111
+ public boolean hasDeviceTypeId() {
2427
2112
  return ((bitField0_ & 0x00000001) != 0);
2428
2113
  }
2429
2114
  /**
2430
- * <code>string device_type = 5;</code>
2431
- * @return The deviceType.
2115
+ * <code>int64 device_type_id = 5;</code>
2116
+ * @return The deviceTypeId.
2432
2117
  */
2433
- public java.lang.String getDeviceType() {
2434
- java.lang.Object ref = deviceType_;
2435
- if (!(ref instanceof java.lang.String)) {
2436
- com.google.protobuf.ByteString bs =
2437
- (com.google.protobuf.ByteString) ref;
2438
- java.lang.String s = bs.toStringUtf8();
2439
- deviceType_ = s;
2440
- return s;
2441
- } else {
2442
- return (java.lang.String) ref;
2443
- }
2444
- }
2445
- /**
2446
- * <code>string device_type = 5;</code>
2447
- * @return The bytes for deviceType.
2448
- */
2449
- public com.google.protobuf.ByteString
2450
- getDeviceTypeBytes() {
2451
- java.lang.Object ref = deviceType_;
2452
- if (ref instanceof String) {
2453
- com.google.protobuf.ByteString b =
2454
- com.google.protobuf.ByteString.copyFromUtf8(
2455
- (java.lang.String) ref);
2456
- deviceType_ = b;
2457
- return b;
2458
- } else {
2459
- return (com.google.protobuf.ByteString) ref;
2460
- }
2118
+ @java.lang.Override
2119
+ public long getDeviceTypeId() {
2120
+ return deviceTypeId_;
2461
2121
  }
2462
2122
  /**
2463
- * <code>string device_type = 5;</code>
2464
- * @param value The deviceType to set.
2123
+ * <code>int64 device_type_id = 5;</code>
2124
+ * @param value The deviceTypeId to set.
2465
2125
  * @return This builder for chaining.
2466
2126
  */
2467
- public Builder setDeviceType(
2468
- java.lang.String value) {
2469
- if (value == null) {
2470
- throw new NullPointerException();
2471
- }
2472
- bitField0_ |= 0x00000001;
2473
- deviceType_ = value;
2127
+ public Builder setDeviceTypeId(long value) {
2128
+ bitField0_ |= 0x00000001;
2129
+ deviceTypeId_ = value;
2474
2130
  onChanged();
2475
2131
  return this;
2476
2132
  }
2477
2133
  /**
2478
- * <code>string device_type = 5;</code>
2134
+ * <code>int64 device_type_id = 5;</code>
2479
2135
  * @return This builder for chaining.
2480
2136
  */
2481
- public Builder clearDeviceType() {
2137
+ public Builder clearDeviceTypeId() {
2482
2138
  bitField0_ = (bitField0_ & ~0x00000001);
2483
- deviceType_ = getDefaultInstance().getDeviceType();
2139
+ deviceTypeId_ = 0L;
2484
2140
  onChanged();
2485
2141
  return this;
2486
2142
  }
2143
+
2144
+ private com.google.protobuf.LazyStringList deviceModelCode_ = com.google.protobuf.LazyStringArrayList.EMPTY;
2145
+ private void ensureDeviceModelCodeIsMutable() {
2146
+ if (!((bitField0_ & 0x00000002) != 0)) {
2147
+ deviceModelCode_ = new com.google.protobuf.LazyStringArrayList(deviceModelCode_);
2148
+ bitField0_ |= 0x00000002;
2149
+ }
2150
+ }
2487
2151
  /**
2488
- * <code>string device_type = 5;</code>
2489
- * @param value The bytes for deviceType to set.
2490
- * @return This builder for chaining.
2152
+ * <code>repeated string device_model_code = 6;</code>
2153
+ * @return A list containing the deviceModelCode.
2491
2154
  */
2492
- public Builder setDeviceTypeBytes(
2493
- com.google.protobuf.ByteString value) {
2494
- if (value == null) {
2495
- throw new NullPointerException();
2496
- }
2497
- checkByteStringIsUtf8(value);
2498
- bitField0_ |= 0x00000001;
2499
- deviceType_ = value;
2500
- onChanged();
2501
- return this;
2155
+ public com.google.protobuf.ProtocolStringList
2156
+ getDeviceModelCodeList() {
2157
+ return deviceModelCode_.getUnmodifiableView();
2502
2158
  }
2503
-
2504
- private java.lang.Object deviceModelCode_ = "";
2505
2159
  /**
2506
- * <code>string device_model_code = 6;</code>
2507
- * @return Whether the deviceModelCode field is set.
2160
+ * <code>repeated string device_model_code = 6;</code>
2161
+ * @return The count of deviceModelCode.
2508
2162
  */
2509
- public boolean hasDeviceModelCode() {
2510
- return ((bitField0_ & 0x00000002) != 0);
2163
+ public int getDeviceModelCodeCount() {
2164
+ return deviceModelCode_.size();
2511
2165
  }
2512
2166
  /**
2513
- * <code>string device_model_code = 6;</code>
2514
- * @return The deviceModelCode.
2167
+ * <code>repeated string device_model_code = 6;</code>
2168
+ * @param index The index of the element to return.
2169
+ * @return The deviceModelCode at the given index.
2515
2170
  */
2516
- public java.lang.String getDeviceModelCode() {
2517
- java.lang.Object ref = deviceModelCode_;
2518
- if (!(ref instanceof java.lang.String)) {
2519
- com.google.protobuf.ByteString bs =
2520
- (com.google.protobuf.ByteString) ref;
2521
- java.lang.String s = bs.toStringUtf8();
2522
- deviceModelCode_ = s;
2523
- return s;
2524
- } else {
2525
- return (java.lang.String) ref;
2526
- }
2171
+ public java.lang.String getDeviceModelCode(int index) {
2172
+ return deviceModelCode_.get(index);
2527
2173
  }
2528
2174
  /**
2529
- * <code>string device_model_code = 6;</code>
2530
- * @return The bytes for deviceModelCode.
2175
+ * <code>repeated string device_model_code = 6;</code>
2176
+ * @param index The index of the value to return.
2177
+ * @return The bytes of the deviceModelCode at the given index.
2531
2178
  */
2532
2179
  public com.google.protobuf.ByteString
2533
- getDeviceModelCodeBytes() {
2534
- java.lang.Object ref = deviceModelCode_;
2535
- if (ref instanceof String) {
2536
- com.google.protobuf.ByteString b =
2537
- com.google.protobuf.ByteString.copyFromUtf8(
2538
- (java.lang.String) ref);
2539
- deviceModelCode_ = b;
2540
- return b;
2541
- } else {
2542
- return (com.google.protobuf.ByteString) ref;
2543
- }
2180
+ getDeviceModelCodeBytes(int index) {
2181
+ return deviceModelCode_.getByteString(index);
2544
2182
  }
2545
2183
  /**
2546
- * <code>string device_model_code = 6;</code>
2184
+ * <code>repeated string device_model_code = 6;</code>
2185
+ * @param index The index to set the value at.
2547
2186
  * @param value The deviceModelCode to set.
2548
2187
  * @return This builder for chaining.
2549
2188
  */
2550
2189
  public Builder setDeviceModelCode(
2551
- java.lang.String value) {
2190
+ int index, java.lang.String value) {
2552
2191
  if (value == null) {
2553
2192
  throw new NullPointerException();
2554
2193
  }
2555
- bitField0_ |= 0x00000002;
2556
- deviceModelCode_ = value;
2557
- onChanged();
2558
- return this;
2559
- }
2560
- /**
2561
- * <code>string device_model_code = 6;</code>
2562
- * @return This builder for chaining.
2563
- */
2564
- public Builder clearDeviceModelCode() {
2565
- bitField0_ = (bitField0_ & ~0x00000002);
2566
- deviceModelCode_ = getDefaultInstance().getDeviceModelCode();
2194
+ ensureDeviceModelCodeIsMutable();
2195
+ deviceModelCode_.set(index, value);
2567
2196
  onChanged();
2568
2197
  return this;
2569
2198
  }
2570
2199
  /**
2571
- * <code>string device_model_code = 6;</code>
2572
- * @param value The bytes for deviceModelCode to set.
2200
+ * <code>repeated string device_model_code = 6;</code>
2201
+ * @param value The deviceModelCode to add.
2573
2202
  * @return This builder for chaining.
2574
2203
  */
2575
- public Builder setDeviceModelCodeBytes(
2576
- com.google.protobuf.ByteString value) {
2204
+ public Builder addDeviceModelCode(
2205
+ java.lang.String value) {
2577
2206
  if (value == null) {
2578
2207
  throw new NullPointerException();
2579
2208
  }
2580
- checkByteStringIsUtf8(value);
2581
- bitField0_ |= 0x00000002;
2582
- deviceModelCode_ = value;
2583
- onChanged();
2584
- return this;
2585
- }
2586
-
2587
- private long overrideId_ ;
2588
- /**
2589
- * <code>int64 override_id = 7;</code>
2590
- * @return Whether the overrideId field is set.
2591
- */
2592
- @java.lang.Override
2593
- public boolean hasOverrideId() {
2594
- return ((bitField0_ & 0x00000004) != 0);
2595
- }
2596
- /**
2597
- * <code>int64 override_id = 7;</code>
2598
- * @return The overrideId.
2599
- */
2600
- @java.lang.Override
2601
- public long getOverrideId() {
2602
- return overrideId_;
2603
- }
2604
- /**
2605
- * <code>int64 override_id = 7;</code>
2606
- * @param value The overrideId to set.
2607
- * @return This builder for chaining.
2608
- */
2609
- public Builder setOverrideId(long value) {
2610
- bitField0_ |= 0x00000004;
2611
- overrideId_ = value;
2612
- onChanged();
2613
- return this;
2614
- }
2615
- /**
2616
- * <code>int64 override_id = 7;</code>
2617
- * @return This builder for chaining.
2618
- */
2619
- public Builder clearOverrideId() {
2620
- bitField0_ = (bitField0_ & ~0x00000004);
2621
- overrideId_ = 0L;
2622
- onChanged();
2623
- return this;
2624
- }
2625
-
2626
- private long osDefaultId_ ;
2627
- /**
2628
- * <code>int64 os_default_id = 8;</code>
2629
- * @return Whether the osDefaultId field is set.
2630
- */
2631
- @java.lang.Override
2632
- public boolean hasOsDefaultId() {
2633
- return ((bitField0_ & 0x00000008) != 0);
2634
- }
2635
- /**
2636
- * <code>int64 os_default_id = 8;</code>
2637
- * @return The osDefaultId.
2638
- */
2639
- @java.lang.Override
2640
- public long getOsDefaultId() {
2641
- return osDefaultId_;
2642
- }
2643
- /**
2644
- * <code>int64 os_default_id = 8;</code>
2645
- * @param value The osDefaultId to set.
2646
- * @return This builder for chaining.
2647
- */
2648
- public Builder setOsDefaultId(long value) {
2649
- bitField0_ |= 0x00000008;
2650
- osDefaultId_ = value;
2209
+ ensureDeviceModelCodeIsMutable();
2210
+ deviceModelCode_.add(value);
2651
2211
  onChanged();
2652
2212
  return this;
2653
2213
  }
2654
2214
  /**
2655
- * <code>int64 os_default_id = 8;</code>
2215
+ * <code>repeated string device_model_code = 6;</code>
2216
+ * @param values The deviceModelCode to add.
2656
2217
  * @return This builder for chaining.
2657
2218
  */
2658
- public Builder clearOsDefaultId() {
2659
- bitField0_ = (bitField0_ & ~0x00000008);
2660
- osDefaultId_ = 0L;
2219
+ public Builder addAllDeviceModelCode(
2220
+ java.lang.Iterable<java.lang.String> values) {
2221
+ ensureDeviceModelCodeIsMutable();
2222
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
2223
+ values, deviceModelCode_);
2661
2224
  onChanged();
2662
2225
  return this;
2663
2226
  }
2664
-
2665
- private long osLatestId_ ;
2666
- /**
2667
- * <code>int64 os_latest_id = 9;</code>
2668
- * @return Whether the osLatestId field is set.
2669
- */
2670
- @java.lang.Override
2671
- public boolean hasOsLatestId() {
2672
- return ((bitField0_ & 0x00000010) != 0);
2673
- }
2674
- /**
2675
- * <code>int64 os_latest_id = 9;</code>
2676
- * @return The osLatestId.
2677
- */
2678
- @java.lang.Override
2679
- public long getOsLatestId() {
2680
- return osLatestId_;
2681
- }
2682
2227
  /**
2683
- * <code>int64 os_latest_id = 9;</code>
2684
- * @param value The osLatestId to set.
2228
+ * <code>repeated string device_model_code = 6;</code>
2685
2229
  * @return This builder for chaining.
2686
2230
  */
2687
- public Builder setOsLatestId(long value) {
2688
- bitField0_ |= 0x00000010;
2689
- osLatestId_ = value;
2231
+ public Builder clearDeviceModelCode() {
2232
+ deviceModelCode_ = com.google.protobuf.LazyStringArrayList.EMPTY;
2233
+ bitField0_ = (bitField0_ & ~0x00000002);
2690
2234
  onChanged();
2691
2235
  return this;
2692
2236
  }
2693
2237
  /**
2694
- * <code>int64 os_latest_id = 9;</code>
2238
+ * <code>repeated string device_model_code = 6;</code>
2239
+ * @param value The bytes of the deviceModelCode to add.
2695
2240
  * @return This builder for chaining.
2696
2241
  */
2697
- public Builder clearOsLatestId() {
2698
- bitField0_ = (bitField0_ & ~0x00000010);
2699
- osLatestId_ = 0L;
2242
+ public Builder addDeviceModelCodeBytes(
2243
+ com.google.protobuf.ByteString value) {
2244
+ if (value == null) {
2245
+ throw new NullPointerException();
2246
+ }
2247
+ checkByteStringIsUtf8(value);
2248
+ ensureDeviceModelCodeIsMutable();
2249
+ deviceModelCode_.add(value);
2700
2250
  onChanged();
2701
2251
  return this;
2702
2252
  }
@@ -2708,7 +2258,7 @@ private static final long serialVersionUID = 0L;
2708
2258
  */
2709
2259
  @java.lang.Override
2710
2260
  public boolean hasFamilyId() {
2711
- return ((bitField0_ & 0x00000020) != 0);
2261
+ return ((bitField0_ & 0x00000004) != 0);
2712
2262
  }
2713
2263
  /**
2714
2264
  * <code>int64 family_id = 10;</code>
@@ -2724,7 +2274,7 @@ private static final long serialVersionUID = 0L;
2724
2274
  * @return This builder for chaining.
2725
2275
  */
2726
2276
  public Builder setFamilyId(long value) {
2727
- bitField0_ |= 0x00000020;
2277
+ bitField0_ |= 0x00000004;
2728
2278
  familyId_ = value;
2729
2279
  onChanged();
2730
2280
  return this;
@@ -2734,7 +2284,7 @@ private static final long serialVersionUID = 0L;
2734
2284
  * @return This builder for chaining.
2735
2285
  */
2736
2286
  public Builder clearFamilyId() {
2737
- bitField0_ = (bitField0_ & ~0x00000020);
2287
+ bitField0_ = (bitField0_ & ~0x00000004);
2738
2288
  familyId_ = 0L;
2739
2289
  onChanged();
2740
2290
  return this;
@@ -2747,7 +2297,7 @@ private static final long serialVersionUID = 0L;
2747
2297
  */
2748
2298
  @java.lang.Override
2749
2299
  public boolean hasIsFamily() {
2750
- return ((bitField0_ & 0x00000040) != 0);
2300
+ return ((bitField0_ & 0x00000008) != 0);
2751
2301
  }
2752
2302
  /**
2753
2303
  * <code>bool is_family = 11;</code>
@@ -2763,7 +2313,7 @@ private static final long serialVersionUID = 0L;
2763
2313
  * @return This builder for chaining.
2764
2314
  */
2765
2315
  public Builder setIsFamily(boolean value) {
2766
- bitField0_ |= 0x00000040;
2316
+ bitField0_ |= 0x00000008;
2767
2317
  isFamily_ = value;
2768
2318
  onChanged();
2769
2319
  return this;
@@ -2773,7 +2323,7 @@ private static final long serialVersionUID = 0L;
2773
2323
  * @return This builder for chaining.
2774
2324
  */
2775
2325
  public Builder clearIsFamily() {
2776
- bitField0_ = (bitField0_ & ~0x00000040);
2326
+ bitField0_ = (bitField0_ & ~0x00000008);
2777
2327
  isFamily_ = false;
2778
2328
  onChanged();
2779
2329
  return this;
@@ -2785,7 +2335,7 @@ private static final long serialVersionUID = 0L;
2785
2335
  * @return Whether the manualUrl field is set.
2786
2336
  */
2787
2337
  public boolean hasManualUrl() {
2788
- return ((bitField0_ & 0x00000080) != 0);
2338
+ return ((bitField0_ & 0x00000010) != 0);
2789
2339
  }
2790
2340
  /**
2791
2341
  * <code>string manual_url = 12;</code>
@@ -2830,7 +2380,7 @@ private static final long serialVersionUID = 0L;
2830
2380
  if (value == null) {
2831
2381
  throw new NullPointerException();
2832
2382
  }
2833
- bitField0_ |= 0x00000080;
2383
+ bitField0_ |= 0x00000010;
2834
2384
  manualUrl_ = value;
2835
2385
  onChanged();
2836
2386
  return this;
@@ -2840,7 +2390,7 @@ private static final long serialVersionUID = 0L;
2840
2390
  * @return This builder for chaining.
2841
2391
  */
2842
2392
  public Builder clearManualUrl() {
2843
- bitField0_ = (bitField0_ & ~0x00000080);
2393
+ bitField0_ = (bitField0_ & ~0x00000010);
2844
2394
  manualUrl_ = getDefaultInstance().getManualUrl();
2845
2395
  onChanged();
2846
2396
  return this;
@@ -2856,7 +2406,7 @@ private static final long serialVersionUID = 0L;
2856
2406
  throw new NullPointerException();
2857
2407
  }
2858
2408
  checkByteStringIsUtf8(value);
2859
- bitField0_ |= 0x00000080;
2409
+ bitField0_ |= 0x00000010;
2860
2410
  manualUrl_ = value;
2861
2411
  onChanged();
2862
2412
  return this;
@@ -2868,7 +2418,7 @@ private static final long serialVersionUID = 0L;
2868
2418
  * @return Whether the faqUrl field is set.
2869
2419
  */
2870
2420
  public boolean hasFaqUrl() {
2871
- return ((bitField0_ & 0x00000100) != 0);
2421
+ return ((bitField0_ & 0x00000020) != 0);
2872
2422
  }
2873
2423
  /**
2874
2424
  * <code>string faq_url = 13;</code>
@@ -2913,7 +2463,7 @@ private static final long serialVersionUID = 0L;
2913
2463
  if (value == null) {
2914
2464
  throw new NullPointerException();
2915
2465
  }
2916
- bitField0_ |= 0x00000100;
2466
+ bitField0_ |= 0x00000020;
2917
2467
  faqUrl_ = value;
2918
2468
  onChanged();
2919
2469
  return this;
@@ -2923,7 +2473,7 @@ private static final long serialVersionUID = 0L;
2923
2473
  * @return This builder for chaining.
2924
2474
  */
2925
2475
  public Builder clearFaqUrl() {
2926
- bitField0_ = (bitField0_ & ~0x00000100);
2476
+ bitField0_ = (bitField0_ & ~0x00000020);
2927
2477
  faqUrl_ = getDefaultInstance().getFaqUrl();
2928
2478
  onChanged();
2929
2479
  return this;
@@ -2939,7 +2489,7 @@ private static final long serialVersionUID = 0L;
2939
2489
  throw new NullPointerException();
2940
2490
  }
2941
2491
  checkByteStringIsUtf8(value);
2942
- bitField0_ |= 0x00000100;
2492
+ bitField0_ |= 0x00000020;
2943
2493
  faqUrl_ = value;
2944
2494
  onChanged();
2945
2495
  return this;
@@ -2952,7 +2502,7 @@ private static final long serialVersionUID = 0L;
2952
2502
  */
2953
2503
  @java.lang.Override
2954
2504
  public boolean hasReleaseDate() {
2955
- return ((bitField0_ & 0x00000200) != 0);
2505
+ return ((bitField0_ & 0x00000040) != 0);
2956
2506
  }
2957
2507
  /**
2958
2508
  * <code>int64 release_date = 14;</code>
@@ -2968,7 +2518,7 @@ private static final long serialVersionUID = 0L;
2968
2518
  * @return This builder for chaining.
2969
2519
  */
2970
2520
  public Builder setReleaseDate(long value) {
2971
- bitField0_ |= 0x00000200;
2521
+ bitField0_ |= 0x00000040;
2972
2522
  releaseDate_ = value;
2973
2523
  onChanged();
2974
2524
  return this;
@@ -2978,7 +2528,7 @@ private static final long serialVersionUID = 0L;
2978
2528
  * @return This builder for chaining.
2979
2529
  */
2980
2530
  public Builder clearReleaseDate() {
2981
- bitField0_ = (bitField0_ & ~0x00000200);
2531
+ bitField0_ = (bitField0_ & ~0x00000040);
2982
2532
  releaseDate_ = 0L;
2983
2533
  onChanged();
2984
2534
  return this;
@@ -2991,7 +2541,7 @@ private static final long serialVersionUID = 0L;
2991
2541
  */
2992
2542
  @java.lang.Override
2993
2543
  public boolean hasDiscDate() {
2994
- return ((bitField0_ & 0x00000400) != 0);
2544
+ return ((bitField0_ & 0x00000080) != 0);
2995
2545
  }
2996
2546
  /**
2997
2547
  * <code>int64 disc_date = 15;</code>
@@ -3007,7 +2557,7 @@ private static final long serialVersionUID = 0L;
3007
2557
  * @return This builder for chaining.
3008
2558
  */
3009
2559
  public Builder setDiscDate(long value) {
3010
- bitField0_ |= 0x00000400;
2560
+ bitField0_ |= 0x00000080;
3011
2561
  discDate_ = value;
3012
2562
  onChanged();
3013
2563
  return this;
@@ -3017,7 +2567,7 @@ private static final long serialVersionUID = 0L;
3017
2567
  * @return This builder for chaining.
3018
2568
  */
3019
2569
  public Builder clearDiscDate() {
3020
- bitField0_ = (bitField0_ & ~0x00000400);
2570
+ bitField0_ = (bitField0_ & ~0x00000080);
3021
2571
  discDate_ = 0L;
3022
2572
  onChanged();
3023
2573
  return this;
@@ -3030,7 +2580,7 @@ private static final long serialVersionUID = 0L;
3030
2580
  */
3031
2581
  @java.lang.Override
3032
2582
  public boolean hasEosDate() {
3033
- return ((bitField0_ & 0x00000800) != 0);
2583
+ return ((bitField0_ & 0x00000100) != 0);
3034
2584
  }
3035
2585
  /**
3036
2586
  * <code>int64 eos_date = 26;</code>
@@ -3046,7 +2596,7 @@ private static final long serialVersionUID = 0L;
3046
2596
  * @return This builder for chaining.
3047
2597
  */
3048
2598
  public Builder setEosDate(long value) {
3049
- bitField0_ |= 0x00000800;
2599
+ bitField0_ |= 0x00000100;
3050
2600
  eosDate_ = value;
3051
2601
  onChanged();
3052
2602
  return this;
@@ -3056,7 +2606,7 @@ private static final long serialVersionUID = 0L;
3056
2606
  * @return This builder for chaining.
3057
2607
  */
3058
2608
  public Builder clearEosDate() {
3059
- bitField0_ = (bitField0_ & ~0x00000800);
2609
+ bitField0_ = (bitField0_ & ~0x00000100);
3060
2610
  eosDate_ = 0L;
3061
2611
  onChanged();
3062
2612
  return this;
@@ -3068,7 +2618,7 @@ private static final long serialVersionUID = 0L;
3068
2618
  * @return Whether the lifecyleConfidence field is set.
3069
2619
  */
3070
2620
  public boolean hasLifecyleConfidence() {
3071
- return ((bitField0_ & 0x00001000) != 0);
2621
+ return ((bitField0_ & 0x00000200) != 0);
3072
2622
  }
3073
2623
  /**
3074
2624
  * <code>string lifecyle_confidence = 29;</code>
@@ -3113,7 +2663,7 @@ private static final long serialVersionUID = 0L;
3113
2663
  if (value == null) {
3114
2664
  throw new NullPointerException();
3115
2665
  }
3116
- bitField0_ |= 0x00001000;
2666
+ bitField0_ |= 0x00000200;
3117
2667
  lifecyleConfidence_ = value;
3118
2668
  onChanged();
3119
2669
  return this;
@@ -3123,7 +2673,7 @@ private static final long serialVersionUID = 0L;
3123
2673
  * @return This builder for chaining.
3124
2674
  */
3125
2675
  public Builder clearLifecyleConfidence() {
3126
- bitField0_ = (bitField0_ & ~0x00001000);
2676
+ bitField0_ = (bitField0_ & ~0x00000200);
3127
2677
  lifecyleConfidence_ = getDefaultInstance().getLifecyleConfidence();
3128
2678
  onChanged();
3129
2679
  return this;
@@ -3139,7 +2689,7 @@ private static final long serialVersionUID = 0L;
3139
2689
  throw new NullPointerException();
3140
2690
  }
3141
2691
  checkByteStringIsUtf8(value);
3142
- bitField0_ |= 0x00001000;
2692
+ bitField0_ |= 0x00000200;
3143
2693
  lifecyleConfidence_ = value;
3144
2694
  onChanged();
3145
2695
  return this;
@@ -3151,7 +2701,7 @@ private static final long serialVersionUID = 0L;
3151
2701
  * @return Whether the priceClass field is set.
3152
2702
  */
3153
2703
  public boolean hasPriceClass() {
3154
- return ((bitField0_ & 0x00002000) != 0);
2704
+ return ((bitField0_ & 0x00000400) != 0);
3155
2705
  }
3156
2706
  /**
3157
2707
  * <code>string price_class = 24;</code>
@@ -3196,7 +2746,7 @@ private static final long serialVersionUID = 0L;
3196
2746
  if (value == null) {
3197
2747
  throw new NullPointerException();
3198
2748
  }
3199
- bitField0_ |= 0x00002000;
2749
+ bitField0_ |= 0x00000400;
3200
2750
  priceClass_ = value;
3201
2751
  onChanged();
3202
2752
  return this;
@@ -3206,7 +2756,7 @@ private static final long serialVersionUID = 0L;
3206
2756
  * @return This builder for chaining.
3207
2757
  */
3208
2758
  public Builder clearPriceClass() {
3209
- bitField0_ = (bitField0_ & ~0x00002000);
2759
+ bitField0_ = (bitField0_ & ~0x00000400);
3210
2760
  priceClass_ = getDefaultInstance().getPriceClass();
3211
2761
  onChanged();
3212
2762
  return this;
@@ -3222,7 +2772,7 @@ private static final long serialVersionUID = 0L;
3222
2772
  throw new NullPointerException();
3223
2773
  }
3224
2774
  checkByteStringIsUtf8(value);
3225
- bitField0_ |= 0x00002000;
2775
+ bitField0_ |= 0x00000400;
3226
2776
  priceClass_ = value;
3227
2777
  onChanged();
3228
2778
  return this;
@@ -3234,7 +2784,7 @@ private static final long serialVersionUID = 0L;
3234
2784
  * @return Whether the productClass field is set.
3235
2785
  */
3236
2786
  public boolean hasProductClass() {
3237
- return ((bitField0_ & 0x00004000) != 0);
2787
+ return ((bitField0_ & 0x00000800) != 0);
3238
2788
  }
3239
2789
  /**
3240
2790
  * <code>string product_class = 25;</code>
@@ -3279,7 +2829,7 @@ private static final long serialVersionUID = 0L;
3279
2829
  if (value == null) {
3280
2830
  throw new NullPointerException();
3281
2831
  }
3282
- bitField0_ |= 0x00004000;
2832
+ bitField0_ |= 0x00000800;
3283
2833
  productClass_ = value;
3284
2834
  onChanged();
3285
2835
  return this;
@@ -3289,7 +2839,7 @@ private static final long serialVersionUID = 0L;
3289
2839
  * @return This builder for chaining.
3290
2840
  */
3291
2841
  public Builder clearProductClass() {
3292
- bitField0_ = (bitField0_ & ~0x00004000);
2842
+ bitField0_ = (bitField0_ & ~0x00000800);
3293
2843
  productClass_ = getDefaultInstance().getProductClass();
3294
2844
  onChanged();
3295
2845
  return this;
@@ -3305,7 +2855,7 @@ private static final long serialVersionUID = 0L;
3305
2855
  throw new NullPointerException();
3306
2856
  }
3307
2857
  checkByteStringIsUtf8(value);
3308
- bitField0_ |= 0x00004000;
2858
+ bitField0_ |= 0x00000800;
3309
2859
  productClass_ = value;
3310
2860
  onChanged();
3311
2861
  return this;
@@ -3317,7 +2867,7 @@ private static final long serialVersionUID = 0L;
3317
2867
  * @return Whether the shIftttHandle field is set.
3318
2868
  */
3319
2869
  public boolean hasShIftttHandle() {
3320
- return ((bitField0_ & 0x00008000) != 0);
2870
+ return ((bitField0_ & 0x00001000) != 0);
3321
2871
  }
3322
2872
  /**
3323
2873
  * <code>string sh_ifttt_handle = 17;</code>
@@ -3362,7 +2912,7 @@ private static final long serialVersionUID = 0L;
3362
2912
  if (value == null) {
3363
2913
  throw new NullPointerException();
3364
2914
  }
3365
- bitField0_ |= 0x00008000;
2915
+ bitField0_ |= 0x00001000;
3366
2916
  shIftttHandle_ = value;
3367
2917
  onChanged();
3368
2918
  return this;
@@ -3372,7 +2922,7 @@ private static final long serialVersionUID = 0L;
3372
2922
  * @return This builder for chaining.
3373
2923
  */
3374
2924
  public Builder clearShIftttHandle() {
3375
- bitField0_ = (bitField0_ & ~0x00008000);
2925
+ bitField0_ = (bitField0_ & ~0x00001000);
3376
2926
  shIftttHandle_ = getDefaultInstance().getShIftttHandle();
3377
2927
  onChanged();
3378
2928
  return this;
@@ -3388,7 +2938,7 @@ private static final long serialVersionUID = 0L;
3388
2938
  throw new NullPointerException();
3389
2939
  }
3390
2940
  checkByteStringIsUtf8(value);
3391
- bitField0_ |= 0x00008000;
2941
+ bitField0_ |= 0x00001000;
3392
2942
  shIftttHandle_ = value;
3393
2943
  onChanged();
3394
2944
  return this;
@@ -3396,9 +2946,9 @@ private static final long serialVersionUID = 0L;
3396
2946
 
3397
2947
  private com.google.protobuf.LazyStringList shGoogleAssLangs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
3398
2948
  private void ensureShGoogleAssLangsIsMutable() {
3399
- if (!((bitField0_ & 0x00010000) != 0)) {
2949
+ if (!((bitField0_ & 0x00002000) != 0)) {
3400
2950
  shGoogleAssLangs_ = new com.google.protobuf.LazyStringArrayList(shGoogleAssLangs_);
3401
- bitField0_ |= 0x00010000;
2951
+ bitField0_ |= 0x00002000;
3402
2952
  }
3403
2953
  }
3404
2954
  /**
@@ -3483,7 +3033,7 @@ private static final long serialVersionUID = 0L;
3483
3033
  */
3484
3034
  public Builder clearShGoogleAssLangs() {
3485
3035
  shGoogleAssLangs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
3486
- bitField0_ = (bitField0_ & ~0x00010000);
3036
+ bitField0_ = (bitField0_ & ~0x00002000);
3487
3037
  onChanged();
3488
3038
  return this;
3489
3039
  }
@@ -3506,9 +3056,9 @@ private static final long serialVersionUID = 0L;
3506
3056
 
3507
3057
  private com.google.protobuf.LazyStringList shAlexaLangs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
3508
3058
  private void ensureShAlexaLangsIsMutable() {
3509
- if (!((bitField0_ & 0x00020000) != 0)) {
3059
+ if (!((bitField0_ & 0x00004000) != 0)) {
3510
3060
  shAlexaLangs_ = new com.google.protobuf.LazyStringArrayList(shAlexaLangs_);
3511
- bitField0_ |= 0x00020000;
3061
+ bitField0_ |= 0x00004000;
3512
3062
  }
3513
3063
  }
3514
3064
  /**
@@ -3593,7 +3143,7 @@ private static final long serialVersionUID = 0L;
3593
3143
  */
3594
3144
  public Builder clearShAlexaLangs() {
3595
3145
  shAlexaLangs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
3596
- bitField0_ = (bitField0_ & ~0x00020000);
3146
+ bitField0_ = (bitField0_ & ~0x00004000);
3597
3147
  onChanged();
3598
3148
  return this;
3599
3149
  }
@@ -3620,7 +3170,7 @@ private static final long serialVersionUID = 0L;
3620
3170
  * @return Whether the shHassHandle field is set.
3621
3171
  */
3622
3172
  public boolean hasShHassHandle() {
3623
- return ((bitField0_ & 0x00040000) != 0);
3173
+ return ((bitField0_ & 0x00008000) != 0);
3624
3174
  }
3625
3175
  /**
3626
3176
  * <code>string sh_hass_handle = 20;</code>
@@ -3665,7 +3215,7 @@ private static final long serialVersionUID = 0L;
3665
3215
  if (value == null) {
3666
3216
  throw new NullPointerException();
3667
3217
  }
3668
- bitField0_ |= 0x00040000;
3218
+ bitField0_ |= 0x00008000;
3669
3219
  shHassHandle_ = value;
3670
3220
  onChanged();
3671
3221
  return this;
@@ -3675,7 +3225,7 @@ private static final long serialVersionUID = 0L;
3675
3225
  * @return This builder for chaining.
3676
3226
  */
3677
3227
  public Builder clearShHassHandle() {
3678
- bitField0_ = (bitField0_ & ~0x00040000);
3228
+ bitField0_ = (bitField0_ & ~0x00008000);
3679
3229
  shHassHandle_ = getDefaultInstance().getShHassHandle();
3680
3230
  onChanged();
3681
3231
  return this;
@@ -3691,7 +3241,7 @@ private static final long serialVersionUID = 0L;
3691
3241
  throw new NullPointerException();
3692
3242
  }
3693
3243
  checkByteStringIsUtf8(value);
3694
- bitField0_ |= 0x00040000;
3244
+ bitField0_ |= 0x00008000;
3695
3245
  shHassHandle_ = value;
3696
3246
  onChanged();
3697
3247
  return this;
@@ -3704,7 +3254,7 @@ private static final long serialVersionUID = 0L;
3704
3254
  */
3705
3255
  @java.lang.Override
3706
3256
  public boolean hasShAppleHomeKit() {
3707
- return ((bitField0_ & 0x00080000) != 0);
3257
+ return ((bitField0_ & 0x00010000) != 0);
3708
3258
  }
3709
3259
  /**
3710
3260
  * <code>bool sh_apple_home_kit = 21;</code>
@@ -3720,7 +3270,7 @@ private static final long serialVersionUID = 0L;
3720
3270
  * @return This builder for chaining.
3721
3271
  */
3722
3272
  public Builder setShAppleHomeKit(boolean value) {
3723
- bitField0_ |= 0x00080000;
3273
+ bitField0_ |= 0x00010000;
3724
3274
  shAppleHomeKit_ = value;
3725
3275
  onChanged();
3726
3276
  return this;
@@ -3730,7 +3280,7 @@ private static final long serialVersionUID = 0L;
3730
3280
  * @return This builder for chaining.
3731
3281
  */
3732
3282
  public Builder clearShAppleHomeKit() {
3733
- bitField0_ = (bitField0_ & ~0x00080000);
3283
+ bitField0_ = (bitField0_ & ~0x00010000);
3734
3284
  shAppleHomeKit_ = false;
3735
3285
  onChanged();
3736
3286
  return this;
@@ -3742,7 +3292,7 @@ private static final long serialVersionUID = 0L;
3742
3292
  * @return Whether the shOpenHabHandle field is set.
3743
3293
  */
3744
3294
  public boolean hasShOpenHabHandle() {
3745
- return ((bitField0_ & 0x00100000) != 0);
3295
+ return ((bitField0_ & 0x00020000) != 0);
3746
3296
  }
3747
3297
  /**
3748
3298
  * <code>string sh_open_hab_handle = 22;</code>
@@ -3787,7 +3337,7 @@ private static final long serialVersionUID = 0L;
3787
3337
  if (value == null) {
3788
3338
  throw new NullPointerException();
3789
3339
  }
3790
- bitField0_ |= 0x00100000;
3340
+ bitField0_ |= 0x00020000;
3791
3341
  shOpenHabHandle_ = value;
3792
3342
  onChanged();
3793
3343
  return this;
@@ -3797,7 +3347,7 @@ private static final long serialVersionUID = 0L;
3797
3347
  * @return This builder for chaining.
3798
3348
  */
3799
3349
  public Builder clearShOpenHabHandle() {
3800
- bitField0_ = (bitField0_ & ~0x00100000);
3350
+ bitField0_ = (bitField0_ & ~0x00020000);
3801
3351
  shOpenHabHandle_ = getDefaultInstance().getShOpenHabHandle();
3802
3352
  onChanged();
3803
3353
  return this;
@@ -3813,7 +3363,7 @@ private static final long serialVersionUID = 0L;
3813
3363
  throw new NullPointerException();
3814
3364
  }
3815
3365
  checkByteStringIsUtf8(value);
3816
- bitField0_ |= 0x00100000;
3366
+ bitField0_ |= 0x00020000;
3817
3367
  shOpenHabHandle_ = value;
3818
3368
  onChanged();
3819
3369
  return this;
@@ -3825,7 +3375,7 @@ private static final long serialVersionUID = 0L;
3825
3375
  * @return Whether the nistCpe field is set.
3826
3376
  */
3827
3377
  public boolean hasNistCpe() {
3828
- return ((bitField0_ & 0x00200000) != 0);
3378
+ return ((bitField0_ & 0x00040000) != 0);
3829
3379
  }
3830
3380
  /**
3831
3381
  * <code>string nist_cpe = 28;</code>
@@ -3870,7 +3420,7 @@ private static final long serialVersionUID = 0L;
3870
3420
  if (value == null) {
3871
3421
  throw new NullPointerException();
3872
3422
  }
3873
- bitField0_ |= 0x00200000;
3423
+ bitField0_ |= 0x00040000;
3874
3424
  nistCpe_ = value;
3875
3425
  onChanged();
3876
3426
  return this;
@@ -3880,7 +3430,7 @@ private static final long serialVersionUID = 0L;
3880
3430
  * @return This builder for chaining.
3881
3431
  */
3882
3432
  public Builder clearNistCpe() {
3883
- bitField0_ = (bitField0_ & ~0x00200000);
3433
+ bitField0_ = (bitField0_ & ~0x00040000);
3884
3434
  nistCpe_ = getDefaultInstance().getNistCpe();
3885
3435
  onChanged();
3886
3436
  return this;
@@ -3896,47 +3446,47 @@ private static final long serialVersionUID = 0L;
3896
3446
  throw new NullPointerException();
3897
3447
  }
3898
3448
  checkByteStringIsUtf8(value);
3899
- bitField0_ |= 0x00200000;
3449
+ bitField0_ |= 0x00040000;
3900
3450
  nistCpe_ = value;
3901
3451
  onChanged();
3902
3452
  return this;
3903
3453
  }
3904
3454
 
3905
- private double spreadInType_ ;
3455
+ private int popularity_ ;
3906
3456
  /**
3907
- * <code>double spread_in_type = 23;</code>
3908
- * @return Whether the spreadInType field is set.
3457
+ * <code>int32 popularity = 23;</code>
3458
+ * @return Whether the popularity field is set.
3909
3459
  */
3910
3460
  @java.lang.Override
3911
- public boolean hasSpreadInType() {
3912
- return ((bitField0_ & 0x00400000) != 0);
3461
+ public boolean hasPopularity() {
3462
+ return ((bitField0_ & 0x00080000) != 0);
3913
3463
  }
3914
3464
  /**
3915
- * <code>double spread_in_type = 23;</code>
3916
- * @return The spreadInType.
3465
+ * <code>int32 popularity = 23;</code>
3466
+ * @return The popularity.
3917
3467
  */
3918
3468
  @java.lang.Override
3919
- public double getSpreadInType() {
3920
- return spreadInType_;
3469
+ public int getPopularity() {
3470
+ return popularity_;
3921
3471
  }
3922
3472
  /**
3923
- * <code>double spread_in_type = 23;</code>
3924
- * @param value The spreadInType to set.
3473
+ * <code>int32 popularity = 23;</code>
3474
+ * @param value The popularity to set.
3925
3475
  * @return This builder for chaining.
3926
3476
  */
3927
- public Builder setSpreadInType(double value) {
3928
- bitField0_ |= 0x00400000;
3929
- spreadInType_ = value;
3477
+ public Builder setPopularity(int value) {
3478
+ bitField0_ |= 0x00080000;
3479
+ popularity_ = value;
3930
3480
  onChanged();
3931
3481
  return this;
3932
3482
  }
3933
3483
  /**
3934
- * <code>double spread_in_type = 23;</code>
3484
+ * <code>int32 popularity = 23;</code>
3935
3485
  * @return This builder for chaining.
3936
3486
  */
3937
- public Builder clearSpreadInType() {
3938
- bitField0_ = (bitField0_ & ~0x00400000);
3939
- spreadInType_ = 0D;
3487
+ public Builder clearPopularity() {
3488
+ bitField0_ = (bitField0_ & ~0x00080000);
3489
+ popularity_ = 0;
3940
3490
  onChanged();
3941
3491
  return this;
3942
3492
  }
@@ -3948,7 +3498,7 @@ private static final long serialVersionUID = 0L;
3948
3498
  */
3949
3499
  @java.lang.Override
3950
3500
  public boolean hasLastUpdateTime() {
3951
- return ((bitField0_ & 0x00800000) != 0);
3501
+ return ((bitField0_ & 0x00100000) != 0);
3952
3502
  }
3953
3503
  /**
3954
3504
  * <code>int64 last_update_time = 16;</code>
@@ -3964,7 +3514,7 @@ private static final long serialVersionUID = 0L;
3964
3514
  * @return This builder for chaining.
3965
3515
  */
3966
3516
  public Builder setLastUpdateTime(long value) {
3967
- bitField0_ |= 0x00800000;
3517
+ bitField0_ |= 0x00100000;
3968
3518
  lastUpdateTime_ = value;
3969
3519
  onChanged();
3970
3520
  return this;
@@ -3974,7 +3524,7 @@ private static final long serialVersionUID = 0L;
3974
3524
  * @return This builder for chaining.
3975
3525
  */
3976
3526
  public Builder clearLastUpdateTime() {
3977
- bitField0_ = (bitField0_ & ~0x00800000);
3527
+ bitField0_ = (bitField0_ & ~0x00100000);
3978
3528
  lastUpdateTime_ = 0L;
3979
3529
  onChanged();
3980
3530
  return this;
@@ -3991,7 +3541,7 @@ private static final long serialVersionUID = 0L;
3991
3541
  */
3992
3542
  @java.lang.Override
3993
3543
  public boolean hasMatchScore() {
3994
- return ((bitField0_ & 0x01000000) != 0);
3544
+ return ((bitField0_ & 0x00200000) != 0);
3995
3545
  }
3996
3546
  /**
3997
3547
  * <pre>
@@ -4015,7 +3565,7 @@ private static final long serialVersionUID = 0L;
4015
3565
  * @return This builder for chaining.
4016
3566
  */
4017
3567
  public Builder setMatchScore(int value) {
4018
- bitField0_ |= 0x01000000;
3568
+ bitField0_ |= 0x00200000;
4019
3569
  matchScore_ = value;
4020
3570
  onChanged();
4021
3571
  return this;
@@ -4029,7 +3579,7 @@ private static final long serialVersionUID = 0L;
4029
3579
  * @return This builder for chaining.
4030
3580
  */
4031
3581
  public Builder clearMatchScore() {
4032
- bitField0_ = (bitField0_ & ~0x01000000);
3582
+ bitField0_ = (bitField0_ & ~0x00200000);
4033
3583
  matchScore_ = 0;
4034
3584
  onChanged();
4035
3585
  return this;