@lansweeper/data-platform-outbound-grpc 0.1.8 → 0.1.10

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.
Files changed (52) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_pb.d.ts +445 -21
  4. package/gen-proto/outbound_pb.js +6658 -3287
  5. package/generated-go/outbound.pb.go +1683 -751
  6. package/java.json +5 -0
  7. package/package.json +2 -2
  8. package/proto/outbound.proto +107 -20
  9. package/pom.xml +0 -29
  10. package/src/main/java/com/lansweeper/dp/outbound/v1/Asset.java +0 -2132
  11. package/src/main/java/com/lansweeper/dp/outbound/v1/AssetOrBuilder.java +0 -144
  12. package/src/main/java/com/lansweeper/dp/outbound/v1/AssetType.java +0 -801
  13. package/src/main/java/com/lansweeper/dp/outbound/v1/AssetTypeOrBuilder.java +0 -58
  14. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogBrand.java +0 -4206
  15. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogBrandOrBuilder.java +0 -423
  16. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogModel.java +0 -3639
  17. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogModelOrBuilder.java +0 -379
  18. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogMonitor.java +0 -484
  19. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogMonitorOrBuilder.java +0 -15
  20. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogOs.java +0 -3720
  21. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogOsOrBuilder.java +0 -372
  22. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogSoftware.java +0 -3315
  23. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogSoftwareOrBuilder.java +0 -332
  24. package/src/main/java/com/lansweeper/dp/outbound/v1/CoreFields.java +0 -1731
  25. package/src/main/java/com/lansweeper/dp/outbound/v1/CoreFieldsOrBuilder.java +0 -138
  26. package/src/main/java/com/lansweeper/dp/outbound/v1/Entity.java +0 -762
  27. package/src/main/java/com/lansweeper/dp/outbound/v1/EntityOrBuilder.java +0 -41
  28. package/src/main/java/com/lansweeper/dp/outbound/v1/EntityPath.java +0 -1283
  29. package/src/main/java/com/lansweeper/dp/outbound/v1/EntityPathOrBuilder.java +0 -113
  30. package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityRequest.java +0 -655
  31. package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityRequestOrBuilder.java +0 -36
  32. package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityResponse.java +0 -1193
  33. package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityResponseOrBuilder.java +0 -71
  34. package/src/main/java/com/lansweeper/dp/outbound/v1/HardwareInfo.java +0 -2702
  35. package/src/main/java/com/lansweeper/dp/outbound/v1/HardwareInfoOrBuilder.java +0 -237
  36. package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityRequest.java +0 -655
  37. package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityRequestOrBuilder.java +0 -36
  38. package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityResponse.java +0 -958
  39. package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityResponseOrBuilder.java +0 -48
  40. package/src/main/java/com/lansweeper/dp/outbound/v1/OperatingSystemInfo.java +0 -2332
  41. package/src/main/java/com/lansweeper/dp/outbound/v1/OperatingSystemInfoOrBuilder.java +0 -191
  42. package/src/main/java/com/lansweeper/dp/outbound/v1/Outbound.java +0 -512
  43. package/src/main/java/com/lansweeper/dp/outbound/v1/RawHardwareInfo.java +0 -1073
  44. package/src/main/java/com/lansweeper/dp/outbound/v1/RawHardwareInfoOrBuilder.java +0 -77
  45. package/src/main/java/com/lansweeper/dp/outbound/v1/RawSoftware.java +0 -1991
  46. package/src/main/java/com/lansweeper/dp/outbound/v1/RawSoftwareOrBuilder.java +0 -198
  47. package/src/main/java/com/lansweeper/dp/outbound/v1/Software.java +0 -3525
  48. package/src/main/java/com/lansweeper/dp/outbound/v1/SoftwareInventory.java +0 -966
  49. package/src/main/java/com/lansweeper/dp/outbound/v1/SoftwareInventoryOrBuilder.java +0 -48
  50. package/src/main/java/com/lansweeper/dp/outbound/v1/SoftwareOrBuilder.java +0 -350
  51. package/src/main/java/com/lansweeper/dp/outbound/v1/WindowsRawOperatingSystemInfo.java +0 -1846
  52. package/src/main/java/com/lansweeper/dp/outbound/v1/WindowsRawOperatingSystemInfoOrBuilder.java +0 -205
@@ -1,4206 +0,0 @@
1
- // Generated by the protocol buffer compiler. DO NOT EDIT!
2
- // source: packages/data.platform/outbound/grpc/proto/outbound.proto
3
-
4
- package com.lansweeper.dp.outbound.v1;
5
-
6
- /**
7
- * Protobuf type {@code com.lansweeper.dp.outbound.v1.CatalogBrand}
8
- */
9
- public final class CatalogBrand extends
10
- com.google.protobuf.GeneratedMessageV3 implements
11
- // @@protoc_insertion_point(message_implements:com.lansweeper.dp.outbound.v1.CatalogBrand)
12
- CatalogBrandOrBuilder {
13
- private static final long serialVersionUID = 0L;
14
- // Use CatalogBrand.newBuilder() to construct.
15
- private CatalogBrand(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
16
- super(builder);
17
- }
18
- private CatalogBrand() {
19
- makeName_ = "";
20
- countryCode_ = "";
21
- logoImageUrl_ = "";
22
- bannerImageUrl_ = "";
23
- wikipediaId_ = "";
24
- wikipediaLangCode_ = "";
25
- websiteUrl_ = "";
26
- supportUrl_ = "";
27
- supportPhone_ = "";
28
- facebookAccount_ = "";
29
- twitterAccount_ = "";
30
- warrantyUrl_ = "";
31
- warrantyDirectUrl_ = "";
32
- communityUrl_ = "";
33
- linkedinAccount_ = "";
34
- instagramAccount_ = "";
35
- youtubeAccount_ = "";
36
- pinterestAccount_ = "";
37
- }
38
-
39
- @java.lang.Override
40
- @SuppressWarnings({"unused"})
41
- protected java.lang.Object newInstance(
42
- UnusedPrivateParameter unused) {
43
- return new CatalogBrand();
44
- }
45
-
46
- @java.lang.Override
47
- public final com.google.protobuf.UnknownFieldSet
48
- getUnknownFields() {
49
- return this.unknownFields;
50
- }
51
- private CatalogBrand(
52
- com.google.protobuf.CodedInputStream input,
53
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
54
- throws com.google.protobuf.InvalidProtocolBufferException {
55
- this();
56
- if (extensionRegistry == null) {
57
- throw new java.lang.NullPointerException();
58
- }
59
- int mutable_bitField0_ = 0;
60
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
61
- com.google.protobuf.UnknownFieldSet.newBuilder();
62
- try {
63
- boolean done = false;
64
- while (!done) {
65
- int tag = input.readTag();
66
- switch (tag) {
67
- case 0:
68
- done = true;
69
- break;
70
- case 8: {
71
-
72
- id_ = input.readInt64();
73
- break;
74
- }
75
- case 26: {
76
- java.lang.String s = input.readStringRequireUtf8();
77
-
78
- makeName_ = s;
79
- break;
80
- }
81
- case 40: {
82
- bitField0_ |= 0x00000002;
83
- lastUpdateTime_ = input.readInt64();
84
- break;
85
- }
86
- case 50: {
87
- java.lang.String s = input.readStringRequireUtf8();
88
- bitField0_ |= 0x00000004;
89
- countryCode_ = s;
90
- break;
91
- }
92
- case 58: {
93
- java.lang.String s = input.readStringRequireUtf8();
94
- bitField0_ |= 0x00000008;
95
- logoImageUrl_ = s;
96
- break;
97
- }
98
- case 66: {
99
- java.lang.String s = input.readStringRequireUtf8();
100
- bitField0_ |= 0x00000010;
101
- bannerImageUrl_ = s;
102
- break;
103
- }
104
- case 74: {
105
- java.lang.String s = input.readStringRequireUtf8();
106
- bitField0_ |= 0x00000020;
107
- wikipediaId_ = s;
108
- break;
109
- }
110
- case 82: {
111
- java.lang.String s = input.readStringRequireUtf8();
112
- bitField0_ |= 0x00000040;
113
- wikipediaLangCode_ = s;
114
- break;
115
- }
116
- case 90: {
117
- java.lang.String s = input.readStringRequireUtf8();
118
- bitField0_ |= 0x00000080;
119
- websiteUrl_ = s;
120
- break;
121
- }
122
- case 98: {
123
- java.lang.String s = input.readStringRequireUtf8();
124
- bitField0_ |= 0x00000100;
125
- supportUrl_ = s;
126
- break;
127
- }
128
- case 106: {
129
- java.lang.String s = input.readStringRequireUtf8();
130
- bitField0_ |= 0x00000200;
131
- supportPhone_ = s;
132
- break;
133
- }
134
- case 114: {
135
- java.lang.String s = input.readStringRequireUtf8();
136
- bitField0_ |= 0x00000400;
137
- facebookAccount_ = s;
138
- break;
139
- }
140
- case 122: {
141
- java.lang.String s = input.readStringRequireUtf8();
142
- bitField0_ |= 0x00000800;
143
- twitterAccount_ = s;
144
- break;
145
- }
146
- case 130: {
147
- java.lang.String s = input.readStringRequireUtf8();
148
- bitField0_ |= 0x00001000;
149
- warrantyUrl_ = s;
150
- break;
151
- }
152
- case 138: {
153
- java.lang.String s = input.readStringRequireUtf8();
154
- bitField0_ |= 0x00002000;
155
- warrantyDirectUrl_ = s;
156
- break;
157
- }
158
- case 144: {
159
- bitField0_ |= 0x00000001;
160
- parentId_ = input.readInt64();
161
- break;
162
- }
163
- case 152: {
164
- bitField0_ |= 0x02000000;
165
- matchScore_ = input.readInt32();
166
- break;
167
- }
168
- case 162: {
169
- java.lang.String s = input.readStringRequireUtf8();
170
- bitField0_ |= 0x00004000;
171
- communityUrl_ = s;
172
- break;
173
- }
174
- case 170: {
175
- java.lang.String s = input.readStringRequireUtf8();
176
- bitField0_ |= 0x00008000;
177
- linkedinAccount_ = s;
178
- break;
179
- }
180
- case 178: {
181
- java.lang.String s = input.readStringRequireUtf8();
182
- bitField0_ |= 0x00010000;
183
- instagramAccount_ = s;
184
- break;
185
- }
186
- case 186: {
187
- java.lang.String s = input.readStringRequireUtf8();
188
- bitField0_ |= 0x00020000;
189
- youtubeAccount_ = s;
190
- break;
191
- }
192
- case 194: {
193
- java.lang.String s = input.readStringRequireUtf8();
194
- bitField0_ |= 0x00040000;
195
- pinterestAccount_ = s;
196
- break;
197
- }
198
- case 200: {
199
- bitField0_ |= 0x00080000;
200
- classHardware_ = input.readBool();
201
- break;
202
- }
203
- case 208: {
204
- bitField0_ |= 0x00100000;
205
- classSoftware_ = input.readBool();
206
- break;
207
- }
208
- case 216: {
209
- bitField0_ |= 0x00200000;
210
- classConsumer_ = input.readBool();
211
- break;
212
- }
213
- case 224: {
214
- bitField0_ |= 0x00400000;
215
- classEnterprise_ = input.readBool();
216
- break;
217
- }
218
- case 232: {
219
- bitField0_ |= 0x00800000;
220
- classIndustrial_ = input.readBool();
221
- break;
222
- }
223
- case 240: {
224
- bitField0_ |= 0x01000000;
225
- classIndividual_ = input.readBool();
226
- break;
227
- }
228
- default: {
229
- if (!parseUnknownField(
230
- input, unknownFields, extensionRegistry, tag)) {
231
- done = true;
232
- }
233
- break;
234
- }
235
- }
236
- }
237
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
238
- throw e.setUnfinishedMessage(this);
239
- } catch (java.io.IOException e) {
240
- throw new com.google.protobuf.InvalidProtocolBufferException(
241
- e).setUnfinishedMessage(this);
242
- } finally {
243
- this.unknownFields = unknownFields.build();
244
- makeExtensionsImmutable();
245
- }
246
- }
247
- public static final com.google.protobuf.Descriptors.Descriptor
248
- getDescriptor() {
249
- return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_CatalogBrand_descriptor;
250
- }
251
-
252
- @java.lang.Override
253
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
254
- internalGetFieldAccessorTable() {
255
- return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_CatalogBrand_fieldAccessorTable
256
- .ensureFieldAccessorsInitialized(
257
- com.lansweeper.dp.outbound.v1.CatalogBrand.class, com.lansweeper.dp.outbound.v1.CatalogBrand.Builder.class);
258
- }
259
-
260
- private int bitField0_;
261
- public static final int ID_FIELD_NUMBER = 1;
262
- private long id_;
263
- /**
264
- * <code>int64 id = 1;</code>
265
- * @return The id.
266
- */
267
- @java.lang.Override
268
- public long getId() {
269
- return id_;
270
- }
271
-
272
- public static final int MAKE_NAME_FIELD_NUMBER = 3;
273
- private volatile java.lang.Object makeName_;
274
- /**
275
- * <code>string make_name = 3;</code>
276
- * @return The makeName.
277
- */
278
- @java.lang.Override
279
- public java.lang.String getMakeName() {
280
- java.lang.Object ref = makeName_;
281
- if (ref instanceof java.lang.String) {
282
- return (java.lang.String) ref;
283
- } else {
284
- com.google.protobuf.ByteString bs =
285
- (com.google.protobuf.ByteString) ref;
286
- java.lang.String s = bs.toStringUtf8();
287
- makeName_ = s;
288
- return s;
289
- }
290
- }
291
- /**
292
- * <code>string make_name = 3;</code>
293
- * @return The bytes for makeName.
294
- */
295
- @java.lang.Override
296
- public com.google.protobuf.ByteString
297
- getMakeNameBytes() {
298
- java.lang.Object ref = makeName_;
299
- if (ref instanceof java.lang.String) {
300
- com.google.protobuf.ByteString b =
301
- com.google.protobuf.ByteString.copyFromUtf8(
302
- (java.lang.String) ref);
303
- makeName_ = b;
304
- return b;
305
- } else {
306
- return (com.google.protobuf.ByteString) ref;
307
- }
308
- }
309
-
310
- public static final int PARENT_ID_FIELD_NUMBER = 18;
311
- private long parentId_;
312
- /**
313
- * <code>int64 parent_id = 18;</code>
314
- * @return Whether the parentId field is set.
315
- */
316
- @java.lang.Override
317
- public boolean hasParentId() {
318
- return ((bitField0_ & 0x00000001) != 0);
319
- }
320
- /**
321
- * <code>int64 parent_id = 18;</code>
322
- * @return The parentId.
323
- */
324
- @java.lang.Override
325
- public long getParentId() {
326
- return parentId_;
327
- }
328
-
329
- public static final int LAST_UPDATE_TIME_FIELD_NUMBER = 5;
330
- private long lastUpdateTime_;
331
- /**
332
- * <code>int64 last_update_time = 5;</code>
333
- * @return Whether the lastUpdateTime field is set.
334
- */
335
- @java.lang.Override
336
- public boolean hasLastUpdateTime() {
337
- return ((bitField0_ & 0x00000002) != 0);
338
- }
339
- /**
340
- * <code>int64 last_update_time = 5;</code>
341
- * @return The lastUpdateTime.
342
- */
343
- @java.lang.Override
344
- public long getLastUpdateTime() {
345
- return lastUpdateTime_;
346
- }
347
-
348
- public static final int COUNTRY_CODE_FIELD_NUMBER = 6;
349
- private volatile java.lang.Object countryCode_;
350
- /**
351
- * <code>string country_code = 6;</code>
352
- * @return Whether the countryCode field is set.
353
- */
354
- @java.lang.Override
355
- public boolean hasCountryCode() {
356
- return ((bitField0_ & 0x00000004) != 0);
357
- }
358
- /**
359
- * <code>string country_code = 6;</code>
360
- * @return The countryCode.
361
- */
362
- @java.lang.Override
363
- public java.lang.String getCountryCode() {
364
- java.lang.Object ref = countryCode_;
365
- if (ref instanceof java.lang.String) {
366
- return (java.lang.String) ref;
367
- } else {
368
- com.google.protobuf.ByteString bs =
369
- (com.google.protobuf.ByteString) ref;
370
- java.lang.String s = bs.toStringUtf8();
371
- countryCode_ = s;
372
- return s;
373
- }
374
- }
375
- /**
376
- * <code>string country_code = 6;</code>
377
- * @return The bytes for countryCode.
378
- */
379
- @java.lang.Override
380
- public com.google.protobuf.ByteString
381
- getCountryCodeBytes() {
382
- java.lang.Object ref = countryCode_;
383
- if (ref instanceof java.lang.String) {
384
- com.google.protobuf.ByteString b =
385
- com.google.protobuf.ByteString.copyFromUtf8(
386
- (java.lang.String) ref);
387
- countryCode_ = b;
388
- return b;
389
- } else {
390
- return (com.google.protobuf.ByteString) ref;
391
- }
392
- }
393
-
394
- public static final int LOGO_IMAGE_URL_FIELD_NUMBER = 7;
395
- private volatile java.lang.Object logoImageUrl_;
396
- /**
397
- * <code>string logo_image_url = 7;</code>
398
- * @return Whether the logoImageUrl field is set.
399
- */
400
- @java.lang.Override
401
- public boolean hasLogoImageUrl() {
402
- return ((bitField0_ & 0x00000008) != 0);
403
- }
404
- /**
405
- * <code>string logo_image_url = 7;</code>
406
- * @return The logoImageUrl.
407
- */
408
- @java.lang.Override
409
- public java.lang.String getLogoImageUrl() {
410
- java.lang.Object ref = logoImageUrl_;
411
- if (ref instanceof java.lang.String) {
412
- return (java.lang.String) ref;
413
- } else {
414
- com.google.protobuf.ByteString bs =
415
- (com.google.protobuf.ByteString) ref;
416
- java.lang.String s = bs.toStringUtf8();
417
- logoImageUrl_ = s;
418
- return s;
419
- }
420
- }
421
- /**
422
- * <code>string logo_image_url = 7;</code>
423
- * @return The bytes for logoImageUrl.
424
- */
425
- @java.lang.Override
426
- public com.google.protobuf.ByteString
427
- getLogoImageUrlBytes() {
428
- java.lang.Object ref = logoImageUrl_;
429
- if (ref instanceof java.lang.String) {
430
- com.google.protobuf.ByteString b =
431
- com.google.protobuf.ByteString.copyFromUtf8(
432
- (java.lang.String) ref);
433
- logoImageUrl_ = b;
434
- return b;
435
- } else {
436
- return (com.google.protobuf.ByteString) ref;
437
- }
438
- }
439
-
440
- public static final int BANNER_IMAGE_URL_FIELD_NUMBER = 8;
441
- private volatile java.lang.Object bannerImageUrl_;
442
- /**
443
- * <code>string banner_image_url = 8;</code>
444
- * @return Whether the bannerImageUrl field is set.
445
- */
446
- @java.lang.Override
447
- public boolean hasBannerImageUrl() {
448
- return ((bitField0_ & 0x00000010) != 0);
449
- }
450
- /**
451
- * <code>string banner_image_url = 8;</code>
452
- * @return The bannerImageUrl.
453
- */
454
- @java.lang.Override
455
- public java.lang.String getBannerImageUrl() {
456
- java.lang.Object ref = bannerImageUrl_;
457
- if (ref instanceof java.lang.String) {
458
- return (java.lang.String) ref;
459
- } else {
460
- com.google.protobuf.ByteString bs =
461
- (com.google.protobuf.ByteString) ref;
462
- java.lang.String s = bs.toStringUtf8();
463
- bannerImageUrl_ = s;
464
- return s;
465
- }
466
- }
467
- /**
468
- * <code>string banner_image_url = 8;</code>
469
- * @return The bytes for bannerImageUrl.
470
- */
471
- @java.lang.Override
472
- public com.google.protobuf.ByteString
473
- getBannerImageUrlBytes() {
474
- java.lang.Object ref = bannerImageUrl_;
475
- if (ref instanceof java.lang.String) {
476
- com.google.protobuf.ByteString b =
477
- com.google.protobuf.ByteString.copyFromUtf8(
478
- (java.lang.String) ref);
479
- bannerImageUrl_ = b;
480
- return b;
481
- } else {
482
- return (com.google.protobuf.ByteString) ref;
483
- }
484
- }
485
-
486
- public static final int WIKIPEDIA_ID_FIELD_NUMBER = 9;
487
- private volatile java.lang.Object wikipediaId_;
488
- /**
489
- * <code>string wikipedia_id = 9;</code>
490
- * @return Whether the wikipediaId field is set.
491
- */
492
- @java.lang.Override
493
- public boolean hasWikipediaId() {
494
- return ((bitField0_ & 0x00000020) != 0);
495
- }
496
- /**
497
- * <code>string wikipedia_id = 9;</code>
498
- * @return The wikipediaId.
499
- */
500
- @java.lang.Override
501
- public java.lang.String getWikipediaId() {
502
- java.lang.Object ref = wikipediaId_;
503
- if (ref instanceof java.lang.String) {
504
- return (java.lang.String) ref;
505
- } else {
506
- com.google.protobuf.ByteString bs =
507
- (com.google.protobuf.ByteString) ref;
508
- java.lang.String s = bs.toStringUtf8();
509
- wikipediaId_ = s;
510
- return s;
511
- }
512
- }
513
- /**
514
- * <code>string wikipedia_id = 9;</code>
515
- * @return The bytes for wikipediaId.
516
- */
517
- @java.lang.Override
518
- public com.google.protobuf.ByteString
519
- getWikipediaIdBytes() {
520
- java.lang.Object ref = wikipediaId_;
521
- if (ref instanceof java.lang.String) {
522
- com.google.protobuf.ByteString b =
523
- com.google.protobuf.ByteString.copyFromUtf8(
524
- (java.lang.String) ref);
525
- wikipediaId_ = b;
526
- return b;
527
- } else {
528
- return (com.google.protobuf.ByteString) ref;
529
- }
530
- }
531
-
532
- public static final int WIKIPEDIA_LANG_CODE_FIELD_NUMBER = 10;
533
- private volatile java.lang.Object wikipediaLangCode_;
534
- /**
535
- * <code>string wikipedia_lang_code = 10;</code>
536
- * @return Whether the wikipediaLangCode field is set.
537
- */
538
- @java.lang.Override
539
- public boolean hasWikipediaLangCode() {
540
- return ((bitField0_ & 0x00000040) != 0);
541
- }
542
- /**
543
- * <code>string wikipedia_lang_code = 10;</code>
544
- * @return The wikipediaLangCode.
545
- */
546
- @java.lang.Override
547
- public java.lang.String getWikipediaLangCode() {
548
- java.lang.Object ref = wikipediaLangCode_;
549
- if (ref instanceof java.lang.String) {
550
- return (java.lang.String) ref;
551
- } else {
552
- com.google.protobuf.ByteString bs =
553
- (com.google.protobuf.ByteString) ref;
554
- java.lang.String s = bs.toStringUtf8();
555
- wikipediaLangCode_ = s;
556
- return s;
557
- }
558
- }
559
- /**
560
- * <code>string wikipedia_lang_code = 10;</code>
561
- * @return The bytes for wikipediaLangCode.
562
- */
563
- @java.lang.Override
564
- public com.google.protobuf.ByteString
565
- getWikipediaLangCodeBytes() {
566
- java.lang.Object ref = wikipediaLangCode_;
567
- if (ref instanceof java.lang.String) {
568
- com.google.protobuf.ByteString b =
569
- com.google.protobuf.ByteString.copyFromUtf8(
570
- (java.lang.String) ref);
571
- wikipediaLangCode_ = b;
572
- return b;
573
- } else {
574
- return (com.google.protobuf.ByteString) ref;
575
- }
576
- }
577
-
578
- public static final int WEBSITE_URL_FIELD_NUMBER = 11;
579
- private volatile java.lang.Object websiteUrl_;
580
- /**
581
- * <code>string website_url = 11;</code>
582
- * @return Whether the websiteUrl field is set.
583
- */
584
- @java.lang.Override
585
- public boolean hasWebsiteUrl() {
586
- return ((bitField0_ & 0x00000080) != 0);
587
- }
588
- /**
589
- * <code>string website_url = 11;</code>
590
- * @return The websiteUrl.
591
- */
592
- @java.lang.Override
593
- public java.lang.String getWebsiteUrl() {
594
- java.lang.Object ref = websiteUrl_;
595
- if (ref instanceof java.lang.String) {
596
- return (java.lang.String) ref;
597
- } else {
598
- com.google.protobuf.ByteString bs =
599
- (com.google.protobuf.ByteString) ref;
600
- java.lang.String s = bs.toStringUtf8();
601
- websiteUrl_ = s;
602
- return s;
603
- }
604
- }
605
- /**
606
- * <code>string website_url = 11;</code>
607
- * @return The bytes for websiteUrl.
608
- */
609
- @java.lang.Override
610
- public com.google.protobuf.ByteString
611
- getWebsiteUrlBytes() {
612
- java.lang.Object ref = websiteUrl_;
613
- if (ref instanceof java.lang.String) {
614
- com.google.protobuf.ByteString b =
615
- com.google.protobuf.ByteString.copyFromUtf8(
616
- (java.lang.String) ref);
617
- websiteUrl_ = b;
618
- return b;
619
- } else {
620
- return (com.google.protobuf.ByteString) ref;
621
- }
622
- }
623
-
624
- public static final int SUPPORT_URL_FIELD_NUMBER = 12;
625
- private volatile java.lang.Object supportUrl_;
626
- /**
627
- * <code>string support_url = 12;</code>
628
- * @return Whether the supportUrl field is set.
629
- */
630
- @java.lang.Override
631
- public boolean hasSupportUrl() {
632
- return ((bitField0_ & 0x00000100) != 0);
633
- }
634
- /**
635
- * <code>string support_url = 12;</code>
636
- * @return The supportUrl.
637
- */
638
- @java.lang.Override
639
- public java.lang.String getSupportUrl() {
640
- java.lang.Object ref = supportUrl_;
641
- if (ref instanceof java.lang.String) {
642
- return (java.lang.String) ref;
643
- } else {
644
- com.google.protobuf.ByteString bs =
645
- (com.google.protobuf.ByteString) ref;
646
- java.lang.String s = bs.toStringUtf8();
647
- supportUrl_ = s;
648
- return s;
649
- }
650
- }
651
- /**
652
- * <code>string support_url = 12;</code>
653
- * @return The bytes for supportUrl.
654
- */
655
- @java.lang.Override
656
- public com.google.protobuf.ByteString
657
- getSupportUrlBytes() {
658
- java.lang.Object ref = supportUrl_;
659
- if (ref instanceof java.lang.String) {
660
- com.google.protobuf.ByteString b =
661
- com.google.protobuf.ByteString.copyFromUtf8(
662
- (java.lang.String) ref);
663
- supportUrl_ = b;
664
- return b;
665
- } else {
666
- return (com.google.protobuf.ByteString) ref;
667
- }
668
- }
669
-
670
- public static final int SUPPORT_PHONE_FIELD_NUMBER = 13;
671
- private volatile java.lang.Object supportPhone_;
672
- /**
673
- * <code>string support_phone = 13;</code>
674
- * @return Whether the supportPhone field is set.
675
- */
676
- @java.lang.Override
677
- public boolean hasSupportPhone() {
678
- return ((bitField0_ & 0x00000200) != 0);
679
- }
680
- /**
681
- * <code>string support_phone = 13;</code>
682
- * @return The supportPhone.
683
- */
684
- @java.lang.Override
685
- public java.lang.String getSupportPhone() {
686
- java.lang.Object ref = supportPhone_;
687
- if (ref instanceof java.lang.String) {
688
- return (java.lang.String) ref;
689
- } else {
690
- com.google.protobuf.ByteString bs =
691
- (com.google.protobuf.ByteString) ref;
692
- java.lang.String s = bs.toStringUtf8();
693
- supportPhone_ = s;
694
- return s;
695
- }
696
- }
697
- /**
698
- * <code>string support_phone = 13;</code>
699
- * @return The bytes for supportPhone.
700
- */
701
- @java.lang.Override
702
- public com.google.protobuf.ByteString
703
- getSupportPhoneBytes() {
704
- java.lang.Object ref = supportPhone_;
705
- if (ref instanceof java.lang.String) {
706
- com.google.protobuf.ByteString b =
707
- com.google.protobuf.ByteString.copyFromUtf8(
708
- (java.lang.String) ref);
709
- supportPhone_ = b;
710
- return b;
711
- } else {
712
- return (com.google.protobuf.ByteString) ref;
713
- }
714
- }
715
-
716
- public static final int FACEBOOK_ACCOUNT_FIELD_NUMBER = 14;
717
- private volatile java.lang.Object facebookAccount_;
718
- /**
719
- * <code>string facebook_account = 14;</code>
720
- * @return Whether the facebookAccount field is set.
721
- */
722
- @java.lang.Override
723
- public boolean hasFacebookAccount() {
724
- return ((bitField0_ & 0x00000400) != 0);
725
- }
726
- /**
727
- * <code>string facebook_account = 14;</code>
728
- * @return The facebookAccount.
729
- */
730
- @java.lang.Override
731
- public java.lang.String getFacebookAccount() {
732
- java.lang.Object ref = facebookAccount_;
733
- if (ref instanceof java.lang.String) {
734
- return (java.lang.String) ref;
735
- } else {
736
- com.google.protobuf.ByteString bs =
737
- (com.google.protobuf.ByteString) ref;
738
- java.lang.String s = bs.toStringUtf8();
739
- facebookAccount_ = s;
740
- return s;
741
- }
742
- }
743
- /**
744
- * <code>string facebook_account = 14;</code>
745
- * @return The bytes for facebookAccount.
746
- */
747
- @java.lang.Override
748
- public com.google.protobuf.ByteString
749
- getFacebookAccountBytes() {
750
- java.lang.Object ref = facebookAccount_;
751
- if (ref instanceof java.lang.String) {
752
- com.google.protobuf.ByteString b =
753
- com.google.protobuf.ByteString.copyFromUtf8(
754
- (java.lang.String) ref);
755
- facebookAccount_ = b;
756
- return b;
757
- } else {
758
- return (com.google.protobuf.ByteString) ref;
759
- }
760
- }
761
-
762
- public static final int TWITTER_ACCOUNT_FIELD_NUMBER = 15;
763
- private volatile java.lang.Object twitterAccount_;
764
- /**
765
- * <code>string twitter_account = 15;</code>
766
- * @return Whether the twitterAccount field is set.
767
- */
768
- @java.lang.Override
769
- public boolean hasTwitterAccount() {
770
- return ((bitField0_ & 0x00000800) != 0);
771
- }
772
- /**
773
- * <code>string twitter_account = 15;</code>
774
- * @return The twitterAccount.
775
- */
776
- @java.lang.Override
777
- public java.lang.String getTwitterAccount() {
778
- java.lang.Object ref = twitterAccount_;
779
- if (ref instanceof java.lang.String) {
780
- return (java.lang.String) ref;
781
- } else {
782
- com.google.protobuf.ByteString bs =
783
- (com.google.protobuf.ByteString) ref;
784
- java.lang.String s = bs.toStringUtf8();
785
- twitterAccount_ = s;
786
- return s;
787
- }
788
- }
789
- /**
790
- * <code>string twitter_account = 15;</code>
791
- * @return The bytes for twitterAccount.
792
- */
793
- @java.lang.Override
794
- public com.google.protobuf.ByteString
795
- getTwitterAccountBytes() {
796
- java.lang.Object ref = twitterAccount_;
797
- if (ref instanceof java.lang.String) {
798
- com.google.protobuf.ByteString b =
799
- com.google.protobuf.ByteString.copyFromUtf8(
800
- (java.lang.String) ref);
801
- twitterAccount_ = b;
802
- return b;
803
- } else {
804
- return (com.google.protobuf.ByteString) ref;
805
- }
806
- }
807
-
808
- public static final int WARRANTY_URL_FIELD_NUMBER = 16;
809
- private volatile java.lang.Object warrantyUrl_;
810
- /**
811
- * <code>string warranty_url = 16;</code>
812
- * @return Whether the warrantyUrl field is set.
813
- */
814
- @java.lang.Override
815
- public boolean hasWarrantyUrl() {
816
- return ((bitField0_ & 0x00001000) != 0);
817
- }
818
- /**
819
- * <code>string warranty_url = 16;</code>
820
- * @return The warrantyUrl.
821
- */
822
- @java.lang.Override
823
- public java.lang.String getWarrantyUrl() {
824
- java.lang.Object ref = warrantyUrl_;
825
- if (ref instanceof java.lang.String) {
826
- return (java.lang.String) ref;
827
- } else {
828
- com.google.protobuf.ByteString bs =
829
- (com.google.protobuf.ByteString) ref;
830
- java.lang.String s = bs.toStringUtf8();
831
- warrantyUrl_ = s;
832
- return s;
833
- }
834
- }
835
- /**
836
- * <code>string warranty_url = 16;</code>
837
- * @return The bytes for warrantyUrl.
838
- */
839
- @java.lang.Override
840
- public com.google.protobuf.ByteString
841
- getWarrantyUrlBytes() {
842
- java.lang.Object ref = warrantyUrl_;
843
- if (ref instanceof java.lang.String) {
844
- com.google.protobuf.ByteString b =
845
- com.google.protobuf.ByteString.copyFromUtf8(
846
- (java.lang.String) ref);
847
- warrantyUrl_ = b;
848
- return b;
849
- } else {
850
- return (com.google.protobuf.ByteString) ref;
851
- }
852
- }
853
-
854
- public static final int WARRANTY_DIRECT_URL_FIELD_NUMBER = 17;
855
- private volatile java.lang.Object warrantyDirectUrl_;
856
- /**
857
- * <code>string warranty_direct_url = 17;</code>
858
- * @return Whether the warrantyDirectUrl field is set.
859
- */
860
- @java.lang.Override
861
- public boolean hasWarrantyDirectUrl() {
862
- return ((bitField0_ & 0x00002000) != 0);
863
- }
864
- /**
865
- * <code>string warranty_direct_url = 17;</code>
866
- * @return The warrantyDirectUrl.
867
- */
868
- @java.lang.Override
869
- public java.lang.String getWarrantyDirectUrl() {
870
- java.lang.Object ref = warrantyDirectUrl_;
871
- if (ref instanceof java.lang.String) {
872
- return (java.lang.String) ref;
873
- } else {
874
- com.google.protobuf.ByteString bs =
875
- (com.google.protobuf.ByteString) ref;
876
- java.lang.String s = bs.toStringUtf8();
877
- warrantyDirectUrl_ = s;
878
- return s;
879
- }
880
- }
881
- /**
882
- * <code>string warranty_direct_url = 17;</code>
883
- * @return The bytes for warrantyDirectUrl.
884
- */
885
- @java.lang.Override
886
- public com.google.protobuf.ByteString
887
- getWarrantyDirectUrlBytes() {
888
- java.lang.Object ref = warrantyDirectUrl_;
889
- if (ref instanceof java.lang.String) {
890
- com.google.protobuf.ByteString b =
891
- com.google.protobuf.ByteString.copyFromUtf8(
892
- (java.lang.String) ref);
893
- warrantyDirectUrl_ = b;
894
- return b;
895
- } else {
896
- return (com.google.protobuf.ByteString) ref;
897
- }
898
- }
899
-
900
- public static final int COMMUNITY_URL_FIELD_NUMBER = 20;
901
- private volatile java.lang.Object communityUrl_;
902
- /**
903
- * <code>string community_url = 20;</code>
904
- * @return Whether the communityUrl field is set.
905
- */
906
- @java.lang.Override
907
- public boolean hasCommunityUrl() {
908
- return ((bitField0_ & 0x00004000) != 0);
909
- }
910
- /**
911
- * <code>string community_url = 20;</code>
912
- * @return The communityUrl.
913
- */
914
- @java.lang.Override
915
- public java.lang.String getCommunityUrl() {
916
- java.lang.Object ref = communityUrl_;
917
- if (ref instanceof java.lang.String) {
918
- return (java.lang.String) ref;
919
- } else {
920
- com.google.protobuf.ByteString bs =
921
- (com.google.protobuf.ByteString) ref;
922
- java.lang.String s = bs.toStringUtf8();
923
- communityUrl_ = s;
924
- return s;
925
- }
926
- }
927
- /**
928
- * <code>string community_url = 20;</code>
929
- * @return The bytes for communityUrl.
930
- */
931
- @java.lang.Override
932
- public com.google.protobuf.ByteString
933
- getCommunityUrlBytes() {
934
- java.lang.Object ref = communityUrl_;
935
- if (ref instanceof java.lang.String) {
936
- com.google.protobuf.ByteString b =
937
- com.google.protobuf.ByteString.copyFromUtf8(
938
- (java.lang.String) ref);
939
- communityUrl_ = b;
940
- return b;
941
- } else {
942
- return (com.google.protobuf.ByteString) ref;
943
- }
944
- }
945
-
946
- public static final int LINKEDIN_ACCOUNT_FIELD_NUMBER = 21;
947
- private volatile java.lang.Object linkedinAccount_;
948
- /**
949
- * <code>string linkedin_account = 21;</code>
950
- * @return Whether the linkedinAccount field is set.
951
- */
952
- @java.lang.Override
953
- public boolean hasLinkedinAccount() {
954
- return ((bitField0_ & 0x00008000) != 0);
955
- }
956
- /**
957
- * <code>string linkedin_account = 21;</code>
958
- * @return The linkedinAccount.
959
- */
960
- @java.lang.Override
961
- public java.lang.String getLinkedinAccount() {
962
- java.lang.Object ref = linkedinAccount_;
963
- if (ref instanceof java.lang.String) {
964
- return (java.lang.String) ref;
965
- } else {
966
- com.google.protobuf.ByteString bs =
967
- (com.google.protobuf.ByteString) ref;
968
- java.lang.String s = bs.toStringUtf8();
969
- linkedinAccount_ = s;
970
- return s;
971
- }
972
- }
973
- /**
974
- * <code>string linkedin_account = 21;</code>
975
- * @return The bytes for linkedinAccount.
976
- */
977
- @java.lang.Override
978
- public com.google.protobuf.ByteString
979
- getLinkedinAccountBytes() {
980
- java.lang.Object ref = linkedinAccount_;
981
- if (ref instanceof java.lang.String) {
982
- com.google.protobuf.ByteString b =
983
- com.google.protobuf.ByteString.copyFromUtf8(
984
- (java.lang.String) ref);
985
- linkedinAccount_ = b;
986
- return b;
987
- } else {
988
- return (com.google.protobuf.ByteString) ref;
989
- }
990
- }
991
-
992
- public static final int INSTAGRAM_ACCOUNT_FIELD_NUMBER = 22;
993
- private volatile java.lang.Object instagramAccount_;
994
- /**
995
- * <code>string instagram_account = 22;</code>
996
- * @return Whether the instagramAccount field is set.
997
- */
998
- @java.lang.Override
999
- public boolean hasInstagramAccount() {
1000
- return ((bitField0_ & 0x00010000) != 0);
1001
- }
1002
- /**
1003
- * <code>string instagram_account = 22;</code>
1004
- * @return The instagramAccount.
1005
- */
1006
- @java.lang.Override
1007
- public java.lang.String getInstagramAccount() {
1008
- java.lang.Object ref = instagramAccount_;
1009
- if (ref instanceof java.lang.String) {
1010
- return (java.lang.String) ref;
1011
- } else {
1012
- com.google.protobuf.ByteString bs =
1013
- (com.google.protobuf.ByteString) ref;
1014
- java.lang.String s = bs.toStringUtf8();
1015
- instagramAccount_ = s;
1016
- return s;
1017
- }
1018
- }
1019
- /**
1020
- * <code>string instagram_account = 22;</code>
1021
- * @return The bytes for instagramAccount.
1022
- */
1023
- @java.lang.Override
1024
- public com.google.protobuf.ByteString
1025
- getInstagramAccountBytes() {
1026
- java.lang.Object ref = instagramAccount_;
1027
- if (ref instanceof java.lang.String) {
1028
- com.google.protobuf.ByteString b =
1029
- com.google.protobuf.ByteString.copyFromUtf8(
1030
- (java.lang.String) ref);
1031
- instagramAccount_ = b;
1032
- return b;
1033
- } else {
1034
- return (com.google.protobuf.ByteString) ref;
1035
- }
1036
- }
1037
-
1038
- public static final int YOUTUBE_ACCOUNT_FIELD_NUMBER = 23;
1039
- private volatile java.lang.Object youtubeAccount_;
1040
- /**
1041
- * <code>string youtube_account = 23;</code>
1042
- * @return Whether the youtubeAccount field is set.
1043
- */
1044
- @java.lang.Override
1045
- public boolean hasYoutubeAccount() {
1046
- return ((bitField0_ & 0x00020000) != 0);
1047
- }
1048
- /**
1049
- * <code>string youtube_account = 23;</code>
1050
- * @return The youtubeAccount.
1051
- */
1052
- @java.lang.Override
1053
- public java.lang.String getYoutubeAccount() {
1054
- java.lang.Object ref = youtubeAccount_;
1055
- if (ref instanceof java.lang.String) {
1056
- return (java.lang.String) ref;
1057
- } else {
1058
- com.google.protobuf.ByteString bs =
1059
- (com.google.protobuf.ByteString) ref;
1060
- java.lang.String s = bs.toStringUtf8();
1061
- youtubeAccount_ = s;
1062
- return s;
1063
- }
1064
- }
1065
- /**
1066
- * <code>string youtube_account = 23;</code>
1067
- * @return The bytes for youtubeAccount.
1068
- */
1069
- @java.lang.Override
1070
- public com.google.protobuf.ByteString
1071
- getYoutubeAccountBytes() {
1072
- java.lang.Object ref = youtubeAccount_;
1073
- if (ref instanceof java.lang.String) {
1074
- com.google.protobuf.ByteString b =
1075
- com.google.protobuf.ByteString.copyFromUtf8(
1076
- (java.lang.String) ref);
1077
- youtubeAccount_ = b;
1078
- return b;
1079
- } else {
1080
- return (com.google.protobuf.ByteString) ref;
1081
- }
1082
- }
1083
-
1084
- public static final int PINTEREST_ACCOUNT_FIELD_NUMBER = 24;
1085
- private volatile java.lang.Object pinterestAccount_;
1086
- /**
1087
- * <code>string pinterest_account = 24;</code>
1088
- * @return Whether the pinterestAccount field is set.
1089
- */
1090
- @java.lang.Override
1091
- public boolean hasPinterestAccount() {
1092
- return ((bitField0_ & 0x00040000) != 0);
1093
- }
1094
- /**
1095
- * <code>string pinterest_account = 24;</code>
1096
- * @return The pinterestAccount.
1097
- */
1098
- @java.lang.Override
1099
- public java.lang.String getPinterestAccount() {
1100
- java.lang.Object ref = pinterestAccount_;
1101
- if (ref instanceof java.lang.String) {
1102
- return (java.lang.String) ref;
1103
- } else {
1104
- com.google.protobuf.ByteString bs =
1105
- (com.google.protobuf.ByteString) ref;
1106
- java.lang.String s = bs.toStringUtf8();
1107
- pinterestAccount_ = s;
1108
- return s;
1109
- }
1110
- }
1111
- /**
1112
- * <code>string pinterest_account = 24;</code>
1113
- * @return The bytes for pinterestAccount.
1114
- */
1115
- @java.lang.Override
1116
- public com.google.protobuf.ByteString
1117
- getPinterestAccountBytes() {
1118
- java.lang.Object ref = pinterestAccount_;
1119
- if (ref instanceof java.lang.String) {
1120
- com.google.protobuf.ByteString b =
1121
- com.google.protobuf.ByteString.copyFromUtf8(
1122
- (java.lang.String) ref);
1123
- pinterestAccount_ = b;
1124
- return b;
1125
- } else {
1126
- return (com.google.protobuf.ByteString) ref;
1127
- }
1128
- }
1129
-
1130
- public static final int CLASS_HARDWARE_FIELD_NUMBER = 25;
1131
- private boolean classHardware_;
1132
- /**
1133
- * <code>bool class_hardware = 25;</code>
1134
- * @return Whether the classHardware field is set.
1135
- */
1136
- @java.lang.Override
1137
- public boolean hasClassHardware() {
1138
- return ((bitField0_ & 0x00080000) != 0);
1139
- }
1140
- /**
1141
- * <code>bool class_hardware = 25;</code>
1142
- * @return The classHardware.
1143
- */
1144
- @java.lang.Override
1145
- public boolean getClassHardware() {
1146
- return classHardware_;
1147
- }
1148
-
1149
- public static final int CLASS_SOFTWARE_FIELD_NUMBER = 26;
1150
- private boolean classSoftware_;
1151
- /**
1152
- * <code>bool class_software = 26;</code>
1153
- * @return Whether the classSoftware field is set.
1154
- */
1155
- @java.lang.Override
1156
- public boolean hasClassSoftware() {
1157
- return ((bitField0_ & 0x00100000) != 0);
1158
- }
1159
- /**
1160
- * <code>bool class_software = 26;</code>
1161
- * @return The classSoftware.
1162
- */
1163
- @java.lang.Override
1164
- public boolean getClassSoftware() {
1165
- return classSoftware_;
1166
- }
1167
-
1168
- public static final int CLASS_CONSUMER_FIELD_NUMBER = 27;
1169
- private boolean classConsumer_;
1170
- /**
1171
- * <code>bool class_consumer = 27;</code>
1172
- * @return Whether the classConsumer field is set.
1173
- */
1174
- @java.lang.Override
1175
- public boolean hasClassConsumer() {
1176
- return ((bitField0_ & 0x00200000) != 0);
1177
- }
1178
- /**
1179
- * <code>bool class_consumer = 27;</code>
1180
- * @return The classConsumer.
1181
- */
1182
- @java.lang.Override
1183
- public boolean getClassConsumer() {
1184
- return classConsumer_;
1185
- }
1186
-
1187
- public static final int CLASS_ENTERPRISE_FIELD_NUMBER = 28;
1188
- private boolean classEnterprise_;
1189
- /**
1190
- * <code>bool class_enterprise = 28;</code>
1191
- * @return Whether the classEnterprise field is set.
1192
- */
1193
- @java.lang.Override
1194
- public boolean hasClassEnterprise() {
1195
- return ((bitField0_ & 0x00400000) != 0);
1196
- }
1197
- /**
1198
- * <code>bool class_enterprise = 28;</code>
1199
- * @return The classEnterprise.
1200
- */
1201
- @java.lang.Override
1202
- public boolean getClassEnterprise() {
1203
- return classEnterprise_;
1204
- }
1205
-
1206
- public static final int CLASS_INDUSTRIAL_FIELD_NUMBER = 29;
1207
- private boolean classIndustrial_;
1208
- /**
1209
- * <code>bool class_industrial = 29;</code>
1210
- * @return Whether the classIndustrial field is set.
1211
- */
1212
- @java.lang.Override
1213
- public boolean hasClassIndustrial() {
1214
- return ((bitField0_ & 0x00800000) != 0);
1215
- }
1216
- /**
1217
- * <code>bool class_industrial = 29;</code>
1218
- * @return The classIndustrial.
1219
- */
1220
- @java.lang.Override
1221
- public boolean getClassIndustrial() {
1222
- return classIndustrial_;
1223
- }
1224
-
1225
- public static final int CLASS_INDIVIDUAL_FIELD_NUMBER = 30;
1226
- private boolean classIndividual_;
1227
- /**
1228
- * <code>bool class_individual = 30;</code>
1229
- * @return Whether the classIndividual field is set.
1230
- */
1231
- @java.lang.Override
1232
- public boolean hasClassIndividual() {
1233
- return ((bitField0_ & 0x01000000) != 0);
1234
- }
1235
- /**
1236
- * <code>bool class_individual = 30;</code>
1237
- * @return The classIndividual.
1238
- */
1239
- @java.lang.Override
1240
- public boolean getClassIndividual() {
1241
- return classIndividual_;
1242
- }
1243
-
1244
- public static final int MATCH_SCORE_FIELD_NUMBER = 19;
1245
- private int matchScore_;
1246
- /**
1247
- * <pre>
1248
- * relevant only in search result
1249
- * </pre>
1250
- *
1251
- * <code>int32 match_score = 19;</code>
1252
- * @return Whether the matchScore field is set.
1253
- */
1254
- @java.lang.Override
1255
- public boolean hasMatchScore() {
1256
- return ((bitField0_ & 0x02000000) != 0);
1257
- }
1258
- /**
1259
- * <pre>
1260
- * relevant only in search result
1261
- * </pre>
1262
- *
1263
- * <code>int32 match_score = 19;</code>
1264
- * @return The matchScore.
1265
- */
1266
- @java.lang.Override
1267
- public int getMatchScore() {
1268
- return matchScore_;
1269
- }
1270
-
1271
- private byte memoizedIsInitialized = -1;
1272
- @java.lang.Override
1273
- public final boolean isInitialized() {
1274
- byte isInitialized = memoizedIsInitialized;
1275
- if (isInitialized == 1) return true;
1276
- if (isInitialized == 0) return false;
1277
-
1278
- memoizedIsInitialized = 1;
1279
- return true;
1280
- }
1281
-
1282
- @java.lang.Override
1283
- public void writeTo(com.google.protobuf.CodedOutputStream output)
1284
- throws java.io.IOException {
1285
- if (id_ != 0L) {
1286
- output.writeInt64(1, id_);
1287
- }
1288
- if (!getMakeNameBytes().isEmpty()) {
1289
- com.google.protobuf.GeneratedMessageV3.writeString(output, 3, makeName_);
1290
- }
1291
- if (((bitField0_ & 0x00000002) != 0)) {
1292
- output.writeInt64(5, lastUpdateTime_);
1293
- }
1294
- if (((bitField0_ & 0x00000004) != 0)) {
1295
- com.google.protobuf.GeneratedMessageV3.writeString(output, 6, countryCode_);
1296
- }
1297
- if (((bitField0_ & 0x00000008) != 0)) {
1298
- com.google.protobuf.GeneratedMessageV3.writeString(output, 7, logoImageUrl_);
1299
- }
1300
- if (((bitField0_ & 0x00000010) != 0)) {
1301
- com.google.protobuf.GeneratedMessageV3.writeString(output, 8, bannerImageUrl_);
1302
- }
1303
- if (((bitField0_ & 0x00000020) != 0)) {
1304
- com.google.protobuf.GeneratedMessageV3.writeString(output, 9, wikipediaId_);
1305
- }
1306
- if (((bitField0_ & 0x00000040) != 0)) {
1307
- com.google.protobuf.GeneratedMessageV3.writeString(output, 10, wikipediaLangCode_);
1308
- }
1309
- if (((bitField0_ & 0x00000080) != 0)) {
1310
- com.google.protobuf.GeneratedMessageV3.writeString(output, 11, websiteUrl_);
1311
- }
1312
- if (((bitField0_ & 0x00000100) != 0)) {
1313
- com.google.protobuf.GeneratedMessageV3.writeString(output, 12, supportUrl_);
1314
- }
1315
- if (((bitField0_ & 0x00000200) != 0)) {
1316
- com.google.protobuf.GeneratedMessageV3.writeString(output, 13, supportPhone_);
1317
- }
1318
- if (((bitField0_ & 0x00000400) != 0)) {
1319
- com.google.protobuf.GeneratedMessageV3.writeString(output, 14, facebookAccount_);
1320
- }
1321
- if (((bitField0_ & 0x00000800) != 0)) {
1322
- com.google.protobuf.GeneratedMessageV3.writeString(output, 15, twitterAccount_);
1323
- }
1324
- if (((bitField0_ & 0x00001000) != 0)) {
1325
- com.google.protobuf.GeneratedMessageV3.writeString(output, 16, warrantyUrl_);
1326
- }
1327
- if (((bitField0_ & 0x00002000) != 0)) {
1328
- com.google.protobuf.GeneratedMessageV3.writeString(output, 17, warrantyDirectUrl_);
1329
- }
1330
- if (((bitField0_ & 0x00000001) != 0)) {
1331
- output.writeInt64(18, parentId_);
1332
- }
1333
- if (((bitField0_ & 0x02000000) != 0)) {
1334
- output.writeInt32(19, matchScore_);
1335
- }
1336
- if (((bitField0_ & 0x00004000) != 0)) {
1337
- com.google.protobuf.GeneratedMessageV3.writeString(output, 20, communityUrl_);
1338
- }
1339
- if (((bitField0_ & 0x00008000) != 0)) {
1340
- com.google.protobuf.GeneratedMessageV3.writeString(output, 21, linkedinAccount_);
1341
- }
1342
- if (((bitField0_ & 0x00010000) != 0)) {
1343
- com.google.protobuf.GeneratedMessageV3.writeString(output, 22, instagramAccount_);
1344
- }
1345
- if (((bitField0_ & 0x00020000) != 0)) {
1346
- com.google.protobuf.GeneratedMessageV3.writeString(output, 23, youtubeAccount_);
1347
- }
1348
- if (((bitField0_ & 0x00040000) != 0)) {
1349
- com.google.protobuf.GeneratedMessageV3.writeString(output, 24, pinterestAccount_);
1350
- }
1351
- if (((bitField0_ & 0x00080000) != 0)) {
1352
- output.writeBool(25, classHardware_);
1353
- }
1354
- if (((bitField0_ & 0x00100000) != 0)) {
1355
- output.writeBool(26, classSoftware_);
1356
- }
1357
- if (((bitField0_ & 0x00200000) != 0)) {
1358
- output.writeBool(27, classConsumer_);
1359
- }
1360
- if (((bitField0_ & 0x00400000) != 0)) {
1361
- output.writeBool(28, classEnterprise_);
1362
- }
1363
- if (((bitField0_ & 0x00800000) != 0)) {
1364
- output.writeBool(29, classIndustrial_);
1365
- }
1366
- if (((bitField0_ & 0x01000000) != 0)) {
1367
- output.writeBool(30, classIndividual_);
1368
- }
1369
- unknownFields.writeTo(output);
1370
- }
1371
-
1372
- @java.lang.Override
1373
- public int getSerializedSize() {
1374
- int size = memoizedSize;
1375
- if (size != -1) return size;
1376
-
1377
- size = 0;
1378
- if (id_ != 0L) {
1379
- size += com.google.protobuf.CodedOutputStream
1380
- .computeInt64Size(1, id_);
1381
- }
1382
- if (!getMakeNameBytes().isEmpty()) {
1383
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, makeName_);
1384
- }
1385
- if (((bitField0_ & 0x00000002) != 0)) {
1386
- size += com.google.protobuf.CodedOutputStream
1387
- .computeInt64Size(5, lastUpdateTime_);
1388
- }
1389
- if (((bitField0_ & 0x00000004) != 0)) {
1390
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, countryCode_);
1391
- }
1392
- if (((bitField0_ & 0x00000008) != 0)) {
1393
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, logoImageUrl_);
1394
- }
1395
- if (((bitField0_ & 0x00000010) != 0)) {
1396
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, bannerImageUrl_);
1397
- }
1398
- if (((bitField0_ & 0x00000020) != 0)) {
1399
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, wikipediaId_);
1400
- }
1401
- if (((bitField0_ & 0x00000040) != 0)) {
1402
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, wikipediaLangCode_);
1403
- }
1404
- if (((bitField0_ & 0x00000080) != 0)) {
1405
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, websiteUrl_);
1406
- }
1407
- if (((bitField0_ & 0x00000100) != 0)) {
1408
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, supportUrl_);
1409
- }
1410
- if (((bitField0_ & 0x00000200) != 0)) {
1411
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, supportPhone_);
1412
- }
1413
- if (((bitField0_ & 0x00000400) != 0)) {
1414
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, facebookAccount_);
1415
- }
1416
- if (((bitField0_ & 0x00000800) != 0)) {
1417
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, twitterAccount_);
1418
- }
1419
- if (((bitField0_ & 0x00001000) != 0)) {
1420
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, warrantyUrl_);
1421
- }
1422
- if (((bitField0_ & 0x00002000) != 0)) {
1423
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, warrantyDirectUrl_);
1424
- }
1425
- if (((bitField0_ & 0x00000001) != 0)) {
1426
- size += com.google.protobuf.CodedOutputStream
1427
- .computeInt64Size(18, parentId_);
1428
- }
1429
- if (((bitField0_ & 0x02000000) != 0)) {
1430
- size += com.google.protobuf.CodedOutputStream
1431
- .computeInt32Size(19, matchScore_);
1432
- }
1433
- if (((bitField0_ & 0x00004000) != 0)) {
1434
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, communityUrl_);
1435
- }
1436
- if (((bitField0_ & 0x00008000) != 0)) {
1437
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, linkedinAccount_);
1438
- }
1439
- if (((bitField0_ & 0x00010000) != 0)) {
1440
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, instagramAccount_);
1441
- }
1442
- if (((bitField0_ & 0x00020000) != 0)) {
1443
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, youtubeAccount_);
1444
- }
1445
- if (((bitField0_ & 0x00040000) != 0)) {
1446
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(24, pinterestAccount_);
1447
- }
1448
- if (((bitField0_ & 0x00080000) != 0)) {
1449
- size += com.google.protobuf.CodedOutputStream
1450
- .computeBoolSize(25, classHardware_);
1451
- }
1452
- if (((bitField0_ & 0x00100000) != 0)) {
1453
- size += com.google.protobuf.CodedOutputStream
1454
- .computeBoolSize(26, classSoftware_);
1455
- }
1456
- if (((bitField0_ & 0x00200000) != 0)) {
1457
- size += com.google.protobuf.CodedOutputStream
1458
- .computeBoolSize(27, classConsumer_);
1459
- }
1460
- if (((bitField0_ & 0x00400000) != 0)) {
1461
- size += com.google.protobuf.CodedOutputStream
1462
- .computeBoolSize(28, classEnterprise_);
1463
- }
1464
- if (((bitField0_ & 0x00800000) != 0)) {
1465
- size += com.google.protobuf.CodedOutputStream
1466
- .computeBoolSize(29, classIndustrial_);
1467
- }
1468
- if (((bitField0_ & 0x01000000) != 0)) {
1469
- size += com.google.protobuf.CodedOutputStream
1470
- .computeBoolSize(30, classIndividual_);
1471
- }
1472
- size += unknownFields.getSerializedSize();
1473
- memoizedSize = size;
1474
- return size;
1475
- }
1476
-
1477
- @java.lang.Override
1478
- public boolean equals(final java.lang.Object obj) {
1479
- if (obj == this) {
1480
- return true;
1481
- }
1482
- if (!(obj instanceof com.lansweeper.dp.outbound.v1.CatalogBrand)) {
1483
- return super.equals(obj);
1484
- }
1485
- com.lansweeper.dp.outbound.v1.CatalogBrand other = (com.lansweeper.dp.outbound.v1.CatalogBrand) obj;
1486
-
1487
- if (getId()
1488
- != other.getId()) return false;
1489
- if (!getMakeName()
1490
- .equals(other.getMakeName())) return false;
1491
- if (hasParentId() != other.hasParentId()) return false;
1492
- if (hasParentId()) {
1493
- if (getParentId()
1494
- != other.getParentId()) return false;
1495
- }
1496
- if (hasLastUpdateTime() != other.hasLastUpdateTime()) return false;
1497
- if (hasLastUpdateTime()) {
1498
- if (getLastUpdateTime()
1499
- != other.getLastUpdateTime()) return false;
1500
- }
1501
- if (hasCountryCode() != other.hasCountryCode()) return false;
1502
- if (hasCountryCode()) {
1503
- if (!getCountryCode()
1504
- .equals(other.getCountryCode())) return false;
1505
- }
1506
- if (hasLogoImageUrl() != other.hasLogoImageUrl()) return false;
1507
- if (hasLogoImageUrl()) {
1508
- if (!getLogoImageUrl()
1509
- .equals(other.getLogoImageUrl())) return false;
1510
- }
1511
- if (hasBannerImageUrl() != other.hasBannerImageUrl()) return false;
1512
- if (hasBannerImageUrl()) {
1513
- if (!getBannerImageUrl()
1514
- .equals(other.getBannerImageUrl())) return false;
1515
- }
1516
- if (hasWikipediaId() != other.hasWikipediaId()) return false;
1517
- if (hasWikipediaId()) {
1518
- if (!getWikipediaId()
1519
- .equals(other.getWikipediaId())) return false;
1520
- }
1521
- if (hasWikipediaLangCode() != other.hasWikipediaLangCode()) return false;
1522
- if (hasWikipediaLangCode()) {
1523
- if (!getWikipediaLangCode()
1524
- .equals(other.getWikipediaLangCode())) return false;
1525
- }
1526
- if (hasWebsiteUrl() != other.hasWebsiteUrl()) return false;
1527
- if (hasWebsiteUrl()) {
1528
- if (!getWebsiteUrl()
1529
- .equals(other.getWebsiteUrl())) return false;
1530
- }
1531
- if (hasSupportUrl() != other.hasSupportUrl()) return false;
1532
- if (hasSupportUrl()) {
1533
- if (!getSupportUrl()
1534
- .equals(other.getSupportUrl())) return false;
1535
- }
1536
- if (hasSupportPhone() != other.hasSupportPhone()) return false;
1537
- if (hasSupportPhone()) {
1538
- if (!getSupportPhone()
1539
- .equals(other.getSupportPhone())) return false;
1540
- }
1541
- if (hasFacebookAccount() != other.hasFacebookAccount()) return false;
1542
- if (hasFacebookAccount()) {
1543
- if (!getFacebookAccount()
1544
- .equals(other.getFacebookAccount())) return false;
1545
- }
1546
- if (hasTwitterAccount() != other.hasTwitterAccount()) return false;
1547
- if (hasTwitterAccount()) {
1548
- if (!getTwitterAccount()
1549
- .equals(other.getTwitterAccount())) return false;
1550
- }
1551
- if (hasWarrantyUrl() != other.hasWarrantyUrl()) return false;
1552
- if (hasWarrantyUrl()) {
1553
- if (!getWarrantyUrl()
1554
- .equals(other.getWarrantyUrl())) return false;
1555
- }
1556
- if (hasWarrantyDirectUrl() != other.hasWarrantyDirectUrl()) return false;
1557
- if (hasWarrantyDirectUrl()) {
1558
- if (!getWarrantyDirectUrl()
1559
- .equals(other.getWarrantyDirectUrl())) return false;
1560
- }
1561
- if (hasCommunityUrl() != other.hasCommunityUrl()) return false;
1562
- if (hasCommunityUrl()) {
1563
- if (!getCommunityUrl()
1564
- .equals(other.getCommunityUrl())) return false;
1565
- }
1566
- if (hasLinkedinAccount() != other.hasLinkedinAccount()) return false;
1567
- if (hasLinkedinAccount()) {
1568
- if (!getLinkedinAccount()
1569
- .equals(other.getLinkedinAccount())) return false;
1570
- }
1571
- if (hasInstagramAccount() != other.hasInstagramAccount()) return false;
1572
- if (hasInstagramAccount()) {
1573
- if (!getInstagramAccount()
1574
- .equals(other.getInstagramAccount())) return false;
1575
- }
1576
- if (hasYoutubeAccount() != other.hasYoutubeAccount()) return false;
1577
- if (hasYoutubeAccount()) {
1578
- if (!getYoutubeAccount()
1579
- .equals(other.getYoutubeAccount())) return false;
1580
- }
1581
- if (hasPinterestAccount() != other.hasPinterestAccount()) return false;
1582
- if (hasPinterestAccount()) {
1583
- if (!getPinterestAccount()
1584
- .equals(other.getPinterestAccount())) return false;
1585
- }
1586
- if (hasClassHardware() != other.hasClassHardware()) return false;
1587
- if (hasClassHardware()) {
1588
- if (getClassHardware()
1589
- != other.getClassHardware()) return false;
1590
- }
1591
- if (hasClassSoftware() != other.hasClassSoftware()) return false;
1592
- if (hasClassSoftware()) {
1593
- if (getClassSoftware()
1594
- != other.getClassSoftware()) return false;
1595
- }
1596
- if (hasClassConsumer() != other.hasClassConsumer()) return false;
1597
- if (hasClassConsumer()) {
1598
- if (getClassConsumer()
1599
- != other.getClassConsumer()) return false;
1600
- }
1601
- if (hasClassEnterprise() != other.hasClassEnterprise()) return false;
1602
- if (hasClassEnterprise()) {
1603
- if (getClassEnterprise()
1604
- != other.getClassEnterprise()) return false;
1605
- }
1606
- if (hasClassIndustrial() != other.hasClassIndustrial()) return false;
1607
- if (hasClassIndustrial()) {
1608
- if (getClassIndustrial()
1609
- != other.getClassIndustrial()) return false;
1610
- }
1611
- if (hasClassIndividual() != other.hasClassIndividual()) return false;
1612
- if (hasClassIndividual()) {
1613
- if (getClassIndividual()
1614
- != other.getClassIndividual()) return false;
1615
- }
1616
- if (hasMatchScore() != other.hasMatchScore()) return false;
1617
- if (hasMatchScore()) {
1618
- if (getMatchScore()
1619
- != other.getMatchScore()) return false;
1620
- }
1621
- if (!unknownFields.equals(other.unknownFields)) return false;
1622
- return true;
1623
- }
1624
-
1625
- @java.lang.Override
1626
- public int hashCode() {
1627
- if (memoizedHashCode != 0) {
1628
- return memoizedHashCode;
1629
- }
1630
- int hash = 41;
1631
- hash = (19 * hash) + getDescriptor().hashCode();
1632
- hash = (37 * hash) + ID_FIELD_NUMBER;
1633
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1634
- getId());
1635
- hash = (37 * hash) + MAKE_NAME_FIELD_NUMBER;
1636
- hash = (53 * hash) + getMakeName().hashCode();
1637
- if (hasParentId()) {
1638
- hash = (37 * hash) + PARENT_ID_FIELD_NUMBER;
1639
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1640
- getParentId());
1641
- }
1642
- if (hasLastUpdateTime()) {
1643
- hash = (37 * hash) + LAST_UPDATE_TIME_FIELD_NUMBER;
1644
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1645
- getLastUpdateTime());
1646
- }
1647
- if (hasCountryCode()) {
1648
- hash = (37 * hash) + COUNTRY_CODE_FIELD_NUMBER;
1649
- hash = (53 * hash) + getCountryCode().hashCode();
1650
- }
1651
- if (hasLogoImageUrl()) {
1652
- hash = (37 * hash) + LOGO_IMAGE_URL_FIELD_NUMBER;
1653
- hash = (53 * hash) + getLogoImageUrl().hashCode();
1654
- }
1655
- if (hasBannerImageUrl()) {
1656
- hash = (37 * hash) + BANNER_IMAGE_URL_FIELD_NUMBER;
1657
- hash = (53 * hash) + getBannerImageUrl().hashCode();
1658
- }
1659
- if (hasWikipediaId()) {
1660
- hash = (37 * hash) + WIKIPEDIA_ID_FIELD_NUMBER;
1661
- hash = (53 * hash) + getWikipediaId().hashCode();
1662
- }
1663
- if (hasWikipediaLangCode()) {
1664
- hash = (37 * hash) + WIKIPEDIA_LANG_CODE_FIELD_NUMBER;
1665
- hash = (53 * hash) + getWikipediaLangCode().hashCode();
1666
- }
1667
- if (hasWebsiteUrl()) {
1668
- hash = (37 * hash) + WEBSITE_URL_FIELD_NUMBER;
1669
- hash = (53 * hash) + getWebsiteUrl().hashCode();
1670
- }
1671
- if (hasSupportUrl()) {
1672
- hash = (37 * hash) + SUPPORT_URL_FIELD_NUMBER;
1673
- hash = (53 * hash) + getSupportUrl().hashCode();
1674
- }
1675
- if (hasSupportPhone()) {
1676
- hash = (37 * hash) + SUPPORT_PHONE_FIELD_NUMBER;
1677
- hash = (53 * hash) + getSupportPhone().hashCode();
1678
- }
1679
- if (hasFacebookAccount()) {
1680
- hash = (37 * hash) + FACEBOOK_ACCOUNT_FIELD_NUMBER;
1681
- hash = (53 * hash) + getFacebookAccount().hashCode();
1682
- }
1683
- if (hasTwitterAccount()) {
1684
- hash = (37 * hash) + TWITTER_ACCOUNT_FIELD_NUMBER;
1685
- hash = (53 * hash) + getTwitterAccount().hashCode();
1686
- }
1687
- if (hasWarrantyUrl()) {
1688
- hash = (37 * hash) + WARRANTY_URL_FIELD_NUMBER;
1689
- hash = (53 * hash) + getWarrantyUrl().hashCode();
1690
- }
1691
- if (hasWarrantyDirectUrl()) {
1692
- hash = (37 * hash) + WARRANTY_DIRECT_URL_FIELD_NUMBER;
1693
- hash = (53 * hash) + getWarrantyDirectUrl().hashCode();
1694
- }
1695
- if (hasCommunityUrl()) {
1696
- hash = (37 * hash) + COMMUNITY_URL_FIELD_NUMBER;
1697
- hash = (53 * hash) + getCommunityUrl().hashCode();
1698
- }
1699
- if (hasLinkedinAccount()) {
1700
- hash = (37 * hash) + LINKEDIN_ACCOUNT_FIELD_NUMBER;
1701
- hash = (53 * hash) + getLinkedinAccount().hashCode();
1702
- }
1703
- if (hasInstagramAccount()) {
1704
- hash = (37 * hash) + INSTAGRAM_ACCOUNT_FIELD_NUMBER;
1705
- hash = (53 * hash) + getInstagramAccount().hashCode();
1706
- }
1707
- if (hasYoutubeAccount()) {
1708
- hash = (37 * hash) + YOUTUBE_ACCOUNT_FIELD_NUMBER;
1709
- hash = (53 * hash) + getYoutubeAccount().hashCode();
1710
- }
1711
- if (hasPinterestAccount()) {
1712
- hash = (37 * hash) + PINTEREST_ACCOUNT_FIELD_NUMBER;
1713
- hash = (53 * hash) + getPinterestAccount().hashCode();
1714
- }
1715
- if (hasClassHardware()) {
1716
- hash = (37 * hash) + CLASS_HARDWARE_FIELD_NUMBER;
1717
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
1718
- getClassHardware());
1719
- }
1720
- if (hasClassSoftware()) {
1721
- hash = (37 * hash) + CLASS_SOFTWARE_FIELD_NUMBER;
1722
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
1723
- getClassSoftware());
1724
- }
1725
- if (hasClassConsumer()) {
1726
- hash = (37 * hash) + CLASS_CONSUMER_FIELD_NUMBER;
1727
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
1728
- getClassConsumer());
1729
- }
1730
- if (hasClassEnterprise()) {
1731
- hash = (37 * hash) + CLASS_ENTERPRISE_FIELD_NUMBER;
1732
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
1733
- getClassEnterprise());
1734
- }
1735
- if (hasClassIndustrial()) {
1736
- hash = (37 * hash) + CLASS_INDUSTRIAL_FIELD_NUMBER;
1737
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
1738
- getClassIndustrial());
1739
- }
1740
- if (hasClassIndividual()) {
1741
- hash = (37 * hash) + CLASS_INDIVIDUAL_FIELD_NUMBER;
1742
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
1743
- getClassIndividual());
1744
- }
1745
- if (hasMatchScore()) {
1746
- hash = (37 * hash) + MATCH_SCORE_FIELD_NUMBER;
1747
- hash = (53 * hash) + getMatchScore();
1748
- }
1749
- hash = (29 * hash) + unknownFields.hashCode();
1750
- memoizedHashCode = hash;
1751
- return hash;
1752
- }
1753
-
1754
- public static com.lansweeper.dp.outbound.v1.CatalogBrand parseFrom(
1755
- java.nio.ByteBuffer data)
1756
- throws com.google.protobuf.InvalidProtocolBufferException {
1757
- return PARSER.parseFrom(data);
1758
- }
1759
- public static com.lansweeper.dp.outbound.v1.CatalogBrand parseFrom(
1760
- java.nio.ByteBuffer data,
1761
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1762
- throws com.google.protobuf.InvalidProtocolBufferException {
1763
- return PARSER.parseFrom(data, extensionRegistry);
1764
- }
1765
- public static com.lansweeper.dp.outbound.v1.CatalogBrand parseFrom(
1766
- com.google.protobuf.ByteString data)
1767
- throws com.google.protobuf.InvalidProtocolBufferException {
1768
- return PARSER.parseFrom(data);
1769
- }
1770
- public static com.lansweeper.dp.outbound.v1.CatalogBrand parseFrom(
1771
- com.google.protobuf.ByteString data,
1772
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1773
- throws com.google.protobuf.InvalidProtocolBufferException {
1774
- return PARSER.parseFrom(data, extensionRegistry);
1775
- }
1776
- public static com.lansweeper.dp.outbound.v1.CatalogBrand parseFrom(byte[] data)
1777
- throws com.google.protobuf.InvalidProtocolBufferException {
1778
- return PARSER.parseFrom(data);
1779
- }
1780
- public static com.lansweeper.dp.outbound.v1.CatalogBrand parseFrom(
1781
- byte[] data,
1782
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1783
- throws com.google.protobuf.InvalidProtocolBufferException {
1784
- return PARSER.parseFrom(data, extensionRegistry);
1785
- }
1786
- public static com.lansweeper.dp.outbound.v1.CatalogBrand parseFrom(java.io.InputStream input)
1787
- throws java.io.IOException {
1788
- return com.google.protobuf.GeneratedMessageV3
1789
- .parseWithIOException(PARSER, input);
1790
- }
1791
- public static com.lansweeper.dp.outbound.v1.CatalogBrand parseFrom(
1792
- java.io.InputStream input,
1793
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1794
- throws java.io.IOException {
1795
- return com.google.protobuf.GeneratedMessageV3
1796
- .parseWithIOException(PARSER, input, extensionRegistry);
1797
- }
1798
- public static com.lansweeper.dp.outbound.v1.CatalogBrand parseDelimitedFrom(java.io.InputStream input)
1799
- throws java.io.IOException {
1800
- return com.google.protobuf.GeneratedMessageV3
1801
- .parseDelimitedWithIOException(PARSER, input);
1802
- }
1803
- public static com.lansweeper.dp.outbound.v1.CatalogBrand parseDelimitedFrom(
1804
- java.io.InputStream input,
1805
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1806
- throws java.io.IOException {
1807
- return com.google.protobuf.GeneratedMessageV3
1808
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
1809
- }
1810
- public static com.lansweeper.dp.outbound.v1.CatalogBrand parseFrom(
1811
- com.google.protobuf.CodedInputStream input)
1812
- throws java.io.IOException {
1813
- return com.google.protobuf.GeneratedMessageV3
1814
- .parseWithIOException(PARSER, input);
1815
- }
1816
- public static com.lansweeper.dp.outbound.v1.CatalogBrand parseFrom(
1817
- com.google.protobuf.CodedInputStream input,
1818
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1819
- throws java.io.IOException {
1820
- return com.google.protobuf.GeneratedMessageV3
1821
- .parseWithIOException(PARSER, input, extensionRegistry);
1822
- }
1823
-
1824
- @java.lang.Override
1825
- public Builder newBuilderForType() { return newBuilder(); }
1826
- public static Builder newBuilder() {
1827
- return DEFAULT_INSTANCE.toBuilder();
1828
- }
1829
- public static Builder newBuilder(com.lansweeper.dp.outbound.v1.CatalogBrand prototype) {
1830
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
1831
- }
1832
- @java.lang.Override
1833
- public Builder toBuilder() {
1834
- return this == DEFAULT_INSTANCE
1835
- ? new Builder() : new Builder().mergeFrom(this);
1836
- }
1837
-
1838
- @java.lang.Override
1839
- protected Builder newBuilderForType(
1840
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
1841
- Builder builder = new Builder(parent);
1842
- return builder;
1843
- }
1844
- /**
1845
- * Protobuf type {@code com.lansweeper.dp.outbound.v1.CatalogBrand}
1846
- */
1847
- public static final class Builder extends
1848
- com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
1849
- // @@protoc_insertion_point(builder_implements:com.lansweeper.dp.outbound.v1.CatalogBrand)
1850
- com.lansweeper.dp.outbound.v1.CatalogBrandOrBuilder {
1851
- public static final com.google.protobuf.Descriptors.Descriptor
1852
- getDescriptor() {
1853
- return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_CatalogBrand_descriptor;
1854
- }
1855
-
1856
- @java.lang.Override
1857
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
1858
- internalGetFieldAccessorTable() {
1859
- return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_CatalogBrand_fieldAccessorTable
1860
- .ensureFieldAccessorsInitialized(
1861
- com.lansweeper.dp.outbound.v1.CatalogBrand.class, com.lansweeper.dp.outbound.v1.CatalogBrand.Builder.class);
1862
- }
1863
-
1864
- // Construct using com.lansweeper.dp.outbound.v1.CatalogBrand.newBuilder()
1865
- private Builder() {
1866
- maybeForceBuilderInitialization();
1867
- }
1868
-
1869
- private Builder(
1870
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
1871
- super(parent);
1872
- maybeForceBuilderInitialization();
1873
- }
1874
- private void maybeForceBuilderInitialization() {
1875
- if (com.google.protobuf.GeneratedMessageV3
1876
- .alwaysUseFieldBuilders) {
1877
- }
1878
- }
1879
- @java.lang.Override
1880
- public Builder clear() {
1881
- super.clear();
1882
- id_ = 0L;
1883
-
1884
- makeName_ = "";
1885
-
1886
- parentId_ = 0L;
1887
- bitField0_ = (bitField0_ & ~0x00000001);
1888
- lastUpdateTime_ = 0L;
1889
- bitField0_ = (bitField0_ & ~0x00000002);
1890
- countryCode_ = "";
1891
- bitField0_ = (bitField0_ & ~0x00000004);
1892
- logoImageUrl_ = "";
1893
- bitField0_ = (bitField0_ & ~0x00000008);
1894
- bannerImageUrl_ = "";
1895
- bitField0_ = (bitField0_ & ~0x00000010);
1896
- wikipediaId_ = "";
1897
- bitField0_ = (bitField0_ & ~0x00000020);
1898
- wikipediaLangCode_ = "";
1899
- bitField0_ = (bitField0_ & ~0x00000040);
1900
- websiteUrl_ = "";
1901
- bitField0_ = (bitField0_ & ~0x00000080);
1902
- supportUrl_ = "";
1903
- bitField0_ = (bitField0_ & ~0x00000100);
1904
- supportPhone_ = "";
1905
- bitField0_ = (bitField0_ & ~0x00000200);
1906
- facebookAccount_ = "";
1907
- bitField0_ = (bitField0_ & ~0x00000400);
1908
- twitterAccount_ = "";
1909
- bitField0_ = (bitField0_ & ~0x00000800);
1910
- warrantyUrl_ = "";
1911
- bitField0_ = (bitField0_ & ~0x00001000);
1912
- warrantyDirectUrl_ = "";
1913
- bitField0_ = (bitField0_ & ~0x00002000);
1914
- communityUrl_ = "";
1915
- bitField0_ = (bitField0_ & ~0x00004000);
1916
- linkedinAccount_ = "";
1917
- bitField0_ = (bitField0_ & ~0x00008000);
1918
- instagramAccount_ = "";
1919
- bitField0_ = (bitField0_ & ~0x00010000);
1920
- youtubeAccount_ = "";
1921
- bitField0_ = (bitField0_ & ~0x00020000);
1922
- pinterestAccount_ = "";
1923
- bitField0_ = (bitField0_ & ~0x00040000);
1924
- classHardware_ = false;
1925
- bitField0_ = (bitField0_ & ~0x00080000);
1926
- classSoftware_ = false;
1927
- bitField0_ = (bitField0_ & ~0x00100000);
1928
- classConsumer_ = false;
1929
- bitField0_ = (bitField0_ & ~0x00200000);
1930
- classEnterprise_ = false;
1931
- bitField0_ = (bitField0_ & ~0x00400000);
1932
- classIndustrial_ = false;
1933
- bitField0_ = (bitField0_ & ~0x00800000);
1934
- classIndividual_ = false;
1935
- bitField0_ = (bitField0_ & ~0x01000000);
1936
- matchScore_ = 0;
1937
- bitField0_ = (bitField0_ & ~0x02000000);
1938
- return this;
1939
- }
1940
-
1941
- @java.lang.Override
1942
- public com.google.protobuf.Descriptors.Descriptor
1943
- getDescriptorForType() {
1944
- return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_CatalogBrand_descriptor;
1945
- }
1946
-
1947
- @java.lang.Override
1948
- public com.lansweeper.dp.outbound.v1.CatalogBrand getDefaultInstanceForType() {
1949
- return com.lansweeper.dp.outbound.v1.CatalogBrand.getDefaultInstance();
1950
- }
1951
-
1952
- @java.lang.Override
1953
- public com.lansweeper.dp.outbound.v1.CatalogBrand build() {
1954
- com.lansweeper.dp.outbound.v1.CatalogBrand result = buildPartial();
1955
- if (!result.isInitialized()) {
1956
- throw newUninitializedMessageException(result);
1957
- }
1958
- return result;
1959
- }
1960
-
1961
- @java.lang.Override
1962
- public com.lansweeper.dp.outbound.v1.CatalogBrand buildPartial() {
1963
- com.lansweeper.dp.outbound.v1.CatalogBrand result = new com.lansweeper.dp.outbound.v1.CatalogBrand(this);
1964
- int from_bitField0_ = bitField0_;
1965
- int to_bitField0_ = 0;
1966
- result.id_ = id_;
1967
- result.makeName_ = makeName_;
1968
- if (((from_bitField0_ & 0x00000001) != 0)) {
1969
- result.parentId_ = parentId_;
1970
- to_bitField0_ |= 0x00000001;
1971
- }
1972
- if (((from_bitField0_ & 0x00000002) != 0)) {
1973
- result.lastUpdateTime_ = lastUpdateTime_;
1974
- to_bitField0_ |= 0x00000002;
1975
- }
1976
- if (((from_bitField0_ & 0x00000004) != 0)) {
1977
- to_bitField0_ |= 0x00000004;
1978
- }
1979
- result.countryCode_ = countryCode_;
1980
- if (((from_bitField0_ & 0x00000008) != 0)) {
1981
- to_bitField0_ |= 0x00000008;
1982
- }
1983
- result.logoImageUrl_ = logoImageUrl_;
1984
- if (((from_bitField0_ & 0x00000010) != 0)) {
1985
- to_bitField0_ |= 0x00000010;
1986
- }
1987
- result.bannerImageUrl_ = bannerImageUrl_;
1988
- if (((from_bitField0_ & 0x00000020) != 0)) {
1989
- to_bitField0_ |= 0x00000020;
1990
- }
1991
- result.wikipediaId_ = wikipediaId_;
1992
- if (((from_bitField0_ & 0x00000040) != 0)) {
1993
- to_bitField0_ |= 0x00000040;
1994
- }
1995
- result.wikipediaLangCode_ = wikipediaLangCode_;
1996
- if (((from_bitField0_ & 0x00000080) != 0)) {
1997
- to_bitField0_ |= 0x00000080;
1998
- }
1999
- result.websiteUrl_ = websiteUrl_;
2000
- if (((from_bitField0_ & 0x00000100) != 0)) {
2001
- to_bitField0_ |= 0x00000100;
2002
- }
2003
- result.supportUrl_ = supportUrl_;
2004
- if (((from_bitField0_ & 0x00000200) != 0)) {
2005
- to_bitField0_ |= 0x00000200;
2006
- }
2007
- result.supportPhone_ = supportPhone_;
2008
- if (((from_bitField0_ & 0x00000400) != 0)) {
2009
- to_bitField0_ |= 0x00000400;
2010
- }
2011
- result.facebookAccount_ = facebookAccount_;
2012
- if (((from_bitField0_ & 0x00000800) != 0)) {
2013
- to_bitField0_ |= 0x00000800;
2014
- }
2015
- result.twitterAccount_ = twitterAccount_;
2016
- if (((from_bitField0_ & 0x00001000) != 0)) {
2017
- to_bitField0_ |= 0x00001000;
2018
- }
2019
- result.warrantyUrl_ = warrantyUrl_;
2020
- if (((from_bitField0_ & 0x00002000) != 0)) {
2021
- to_bitField0_ |= 0x00002000;
2022
- }
2023
- result.warrantyDirectUrl_ = warrantyDirectUrl_;
2024
- if (((from_bitField0_ & 0x00004000) != 0)) {
2025
- to_bitField0_ |= 0x00004000;
2026
- }
2027
- result.communityUrl_ = communityUrl_;
2028
- if (((from_bitField0_ & 0x00008000) != 0)) {
2029
- to_bitField0_ |= 0x00008000;
2030
- }
2031
- result.linkedinAccount_ = linkedinAccount_;
2032
- if (((from_bitField0_ & 0x00010000) != 0)) {
2033
- to_bitField0_ |= 0x00010000;
2034
- }
2035
- result.instagramAccount_ = instagramAccount_;
2036
- if (((from_bitField0_ & 0x00020000) != 0)) {
2037
- to_bitField0_ |= 0x00020000;
2038
- }
2039
- result.youtubeAccount_ = youtubeAccount_;
2040
- if (((from_bitField0_ & 0x00040000) != 0)) {
2041
- to_bitField0_ |= 0x00040000;
2042
- }
2043
- result.pinterestAccount_ = pinterestAccount_;
2044
- if (((from_bitField0_ & 0x00080000) != 0)) {
2045
- result.classHardware_ = classHardware_;
2046
- to_bitField0_ |= 0x00080000;
2047
- }
2048
- if (((from_bitField0_ & 0x00100000) != 0)) {
2049
- result.classSoftware_ = classSoftware_;
2050
- to_bitField0_ |= 0x00100000;
2051
- }
2052
- if (((from_bitField0_ & 0x00200000) != 0)) {
2053
- result.classConsumer_ = classConsumer_;
2054
- to_bitField0_ |= 0x00200000;
2055
- }
2056
- if (((from_bitField0_ & 0x00400000) != 0)) {
2057
- result.classEnterprise_ = classEnterprise_;
2058
- to_bitField0_ |= 0x00400000;
2059
- }
2060
- if (((from_bitField0_ & 0x00800000) != 0)) {
2061
- result.classIndustrial_ = classIndustrial_;
2062
- to_bitField0_ |= 0x00800000;
2063
- }
2064
- if (((from_bitField0_ & 0x01000000) != 0)) {
2065
- result.classIndividual_ = classIndividual_;
2066
- to_bitField0_ |= 0x01000000;
2067
- }
2068
- if (((from_bitField0_ & 0x02000000) != 0)) {
2069
- result.matchScore_ = matchScore_;
2070
- to_bitField0_ |= 0x02000000;
2071
- }
2072
- result.bitField0_ = to_bitField0_;
2073
- onBuilt();
2074
- return result;
2075
- }
2076
-
2077
- @java.lang.Override
2078
- public Builder clone() {
2079
- return super.clone();
2080
- }
2081
- @java.lang.Override
2082
- public Builder setField(
2083
- com.google.protobuf.Descriptors.FieldDescriptor field,
2084
- java.lang.Object value) {
2085
- return super.setField(field, value);
2086
- }
2087
- @java.lang.Override
2088
- public Builder clearField(
2089
- com.google.protobuf.Descriptors.FieldDescriptor field) {
2090
- return super.clearField(field);
2091
- }
2092
- @java.lang.Override
2093
- public Builder clearOneof(
2094
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
2095
- return super.clearOneof(oneof);
2096
- }
2097
- @java.lang.Override
2098
- public Builder setRepeatedField(
2099
- com.google.protobuf.Descriptors.FieldDescriptor field,
2100
- int index, java.lang.Object value) {
2101
- return super.setRepeatedField(field, index, value);
2102
- }
2103
- @java.lang.Override
2104
- public Builder addRepeatedField(
2105
- com.google.protobuf.Descriptors.FieldDescriptor field,
2106
- java.lang.Object value) {
2107
- return super.addRepeatedField(field, value);
2108
- }
2109
- @java.lang.Override
2110
- public Builder mergeFrom(com.google.protobuf.Message other) {
2111
- if (other instanceof com.lansweeper.dp.outbound.v1.CatalogBrand) {
2112
- return mergeFrom((com.lansweeper.dp.outbound.v1.CatalogBrand)other);
2113
- } else {
2114
- super.mergeFrom(other);
2115
- return this;
2116
- }
2117
- }
2118
-
2119
- public Builder mergeFrom(com.lansweeper.dp.outbound.v1.CatalogBrand other) {
2120
- if (other == com.lansweeper.dp.outbound.v1.CatalogBrand.getDefaultInstance()) return this;
2121
- if (other.getId() != 0L) {
2122
- setId(other.getId());
2123
- }
2124
- if (!other.getMakeName().isEmpty()) {
2125
- makeName_ = other.makeName_;
2126
- onChanged();
2127
- }
2128
- if (other.hasParentId()) {
2129
- setParentId(other.getParentId());
2130
- }
2131
- if (other.hasLastUpdateTime()) {
2132
- setLastUpdateTime(other.getLastUpdateTime());
2133
- }
2134
- if (other.hasCountryCode()) {
2135
- bitField0_ |= 0x00000004;
2136
- countryCode_ = other.countryCode_;
2137
- onChanged();
2138
- }
2139
- if (other.hasLogoImageUrl()) {
2140
- bitField0_ |= 0x00000008;
2141
- logoImageUrl_ = other.logoImageUrl_;
2142
- onChanged();
2143
- }
2144
- if (other.hasBannerImageUrl()) {
2145
- bitField0_ |= 0x00000010;
2146
- bannerImageUrl_ = other.bannerImageUrl_;
2147
- onChanged();
2148
- }
2149
- if (other.hasWikipediaId()) {
2150
- bitField0_ |= 0x00000020;
2151
- wikipediaId_ = other.wikipediaId_;
2152
- onChanged();
2153
- }
2154
- if (other.hasWikipediaLangCode()) {
2155
- bitField0_ |= 0x00000040;
2156
- wikipediaLangCode_ = other.wikipediaLangCode_;
2157
- onChanged();
2158
- }
2159
- if (other.hasWebsiteUrl()) {
2160
- bitField0_ |= 0x00000080;
2161
- websiteUrl_ = other.websiteUrl_;
2162
- onChanged();
2163
- }
2164
- if (other.hasSupportUrl()) {
2165
- bitField0_ |= 0x00000100;
2166
- supportUrl_ = other.supportUrl_;
2167
- onChanged();
2168
- }
2169
- if (other.hasSupportPhone()) {
2170
- bitField0_ |= 0x00000200;
2171
- supportPhone_ = other.supportPhone_;
2172
- onChanged();
2173
- }
2174
- if (other.hasFacebookAccount()) {
2175
- bitField0_ |= 0x00000400;
2176
- facebookAccount_ = other.facebookAccount_;
2177
- onChanged();
2178
- }
2179
- if (other.hasTwitterAccount()) {
2180
- bitField0_ |= 0x00000800;
2181
- twitterAccount_ = other.twitterAccount_;
2182
- onChanged();
2183
- }
2184
- if (other.hasWarrantyUrl()) {
2185
- bitField0_ |= 0x00001000;
2186
- warrantyUrl_ = other.warrantyUrl_;
2187
- onChanged();
2188
- }
2189
- if (other.hasWarrantyDirectUrl()) {
2190
- bitField0_ |= 0x00002000;
2191
- warrantyDirectUrl_ = other.warrantyDirectUrl_;
2192
- onChanged();
2193
- }
2194
- if (other.hasCommunityUrl()) {
2195
- bitField0_ |= 0x00004000;
2196
- communityUrl_ = other.communityUrl_;
2197
- onChanged();
2198
- }
2199
- if (other.hasLinkedinAccount()) {
2200
- bitField0_ |= 0x00008000;
2201
- linkedinAccount_ = other.linkedinAccount_;
2202
- onChanged();
2203
- }
2204
- if (other.hasInstagramAccount()) {
2205
- bitField0_ |= 0x00010000;
2206
- instagramAccount_ = other.instagramAccount_;
2207
- onChanged();
2208
- }
2209
- if (other.hasYoutubeAccount()) {
2210
- bitField0_ |= 0x00020000;
2211
- youtubeAccount_ = other.youtubeAccount_;
2212
- onChanged();
2213
- }
2214
- if (other.hasPinterestAccount()) {
2215
- bitField0_ |= 0x00040000;
2216
- pinterestAccount_ = other.pinterestAccount_;
2217
- onChanged();
2218
- }
2219
- if (other.hasClassHardware()) {
2220
- setClassHardware(other.getClassHardware());
2221
- }
2222
- if (other.hasClassSoftware()) {
2223
- setClassSoftware(other.getClassSoftware());
2224
- }
2225
- if (other.hasClassConsumer()) {
2226
- setClassConsumer(other.getClassConsumer());
2227
- }
2228
- if (other.hasClassEnterprise()) {
2229
- setClassEnterprise(other.getClassEnterprise());
2230
- }
2231
- if (other.hasClassIndustrial()) {
2232
- setClassIndustrial(other.getClassIndustrial());
2233
- }
2234
- if (other.hasClassIndividual()) {
2235
- setClassIndividual(other.getClassIndividual());
2236
- }
2237
- if (other.hasMatchScore()) {
2238
- setMatchScore(other.getMatchScore());
2239
- }
2240
- this.mergeUnknownFields(other.unknownFields);
2241
- onChanged();
2242
- return this;
2243
- }
2244
-
2245
- @java.lang.Override
2246
- public final boolean isInitialized() {
2247
- return true;
2248
- }
2249
-
2250
- @java.lang.Override
2251
- public Builder mergeFrom(
2252
- com.google.protobuf.CodedInputStream input,
2253
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2254
- throws java.io.IOException {
2255
- com.lansweeper.dp.outbound.v1.CatalogBrand parsedMessage = null;
2256
- try {
2257
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
2258
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2259
- parsedMessage = (com.lansweeper.dp.outbound.v1.CatalogBrand) e.getUnfinishedMessage();
2260
- throw e.unwrapIOException();
2261
- } finally {
2262
- if (parsedMessage != null) {
2263
- mergeFrom(parsedMessage);
2264
- }
2265
- }
2266
- return this;
2267
- }
2268
- private int bitField0_;
2269
-
2270
- private long id_ ;
2271
- /**
2272
- * <code>int64 id = 1;</code>
2273
- * @return The id.
2274
- */
2275
- @java.lang.Override
2276
- public long getId() {
2277
- return id_;
2278
- }
2279
- /**
2280
- * <code>int64 id = 1;</code>
2281
- * @param value The id to set.
2282
- * @return This builder for chaining.
2283
- */
2284
- public Builder setId(long value) {
2285
-
2286
- id_ = value;
2287
- onChanged();
2288
- return this;
2289
- }
2290
- /**
2291
- * <code>int64 id = 1;</code>
2292
- * @return This builder for chaining.
2293
- */
2294
- public Builder clearId() {
2295
-
2296
- id_ = 0L;
2297
- onChanged();
2298
- return this;
2299
- }
2300
-
2301
- private java.lang.Object makeName_ = "";
2302
- /**
2303
- * <code>string make_name = 3;</code>
2304
- * @return The makeName.
2305
- */
2306
- public java.lang.String getMakeName() {
2307
- java.lang.Object ref = makeName_;
2308
- if (!(ref instanceof java.lang.String)) {
2309
- com.google.protobuf.ByteString bs =
2310
- (com.google.protobuf.ByteString) ref;
2311
- java.lang.String s = bs.toStringUtf8();
2312
- makeName_ = s;
2313
- return s;
2314
- } else {
2315
- return (java.lang.String) ref;
2316
- }
2317
- }
2318
- /**
2319
- * <code>string make_name = 3;</code>
2320
- * @return The bytes for makeName.
2321
- */
2322
- public com.google.protobuf.ByteString
2323
- getMakeNameBytes() {
2324
- java.lang.Object ref = makeName_;
2325
- if (ref instanceof String) {
2326
- com.google.protobuf.ByteString b =
2327
- com.google.protobuf.ByteString.copyFromUtf8(
2328
- (java.lang.String) ref);
2329
- makeName_ = b;
2330
- return b;
2331
- } else {
2332
- return (com.google.protobuf.ByteString) ref;
2333
- }
2334
- }
2335
- /**
2336
- * <code>string make_name = 3;</code>
2337
- * @param value The makeName to set.
2338
- * @return This builder for chaining.
2339
- */
2340
- public Builder setMakeName(
2341
- java.lang.String value) {
2342
- if (value == null) {
2343
- throw new NullPointerException();
2344
- }
2345
-
2346
- makeName_ = value;
2347
- onChanged();
2348
- return this;
2349
- }
2350
- /**
2351
- * <code>string make_name = 3;</code>
2352
- * @return This builder for chaining.
2353
- */
2354
- public Builder clearMakeName() {
2355
-
2356
- makeName_ = getDefaultInstance().getMakeName();
2357
- onChanged();
2358
- return this;
2359
- }
2360
- /**
2361
- * <code>string make_name = 3;</code>
2362
- * @param value The bytes for makeName to set.
2363
- * @return This builder for chaining.
2364
- */
2365
- public Builder setMakeNameBytes(
2366
- com.google.protobuf.ByteString value) {
2367
- if (value == null) {
2368
- throw new NullPointerException();
2369
- }
2370
- checkByteStringIsUtf8(value);
2371
-
2372
- makeName_ = value;
2373
- onChanged();
2374
- return this;
2375
- }
2376
-
2377
- private long parentId_ ;
2378
- /**
2379
- * <code>int64 parent_id = 18;</code>
2380
- * @return Whether the parentId field is set.
2381
- */
2382
- @java.lang.Override
2383
- public boolean hasParentId() {
2384
- return ((bitField0_ & 0x00000001) != 0);
2385
- }
2386
- /**
2387
- * <code>int64 parent_id = 18;</code>
2388
- * @return The parentId.
2389
- */
2390
- @java.lang.Override
2391
- public long getParentId() {
2392
- return parentId_;
2393
- }
2394
- /**
2395
- * <code>int64 parent_id = 18;</code>
2396
- * @param value The parentId to set.
2397
- * @return This builder for chaining.
2398
- */
2399
- public Builder setParentId(long value) {
2400
- bitField0_ |= 0x00000001;
2401
- parentId_ = value;
2402
- onChanged();
2403
- return this;
2404
- }
2405
- /**
2406
- * <code>int64 parent_id = 18;</code>
2407
- * @return This builder for chaining.
2408
- */
2409
- public Builder clearParentId() {
2410
- bitField0_ = (bitField0_ & ~0x00000001);
2411
- parentId_ = 0L;
2412
- onChanged();
2413
- return this;
2414
- }
2415
-
2416
- private long lastUpdateTime_ ;
2417
- /**
2418
- * <code>int64 last_update_time = 5;</code>
2419
- * @return Whether the lastUpdateTime field is set.
2420
- */
2421
- @java.lang.Override
2422
- public boolean hasLastUpdateTime() {
2423
- return ((bitField0_ & 0x00000002) != 0);
2424
- }
2425
- /**
2426
- * <code>int64 last_update_time = 5;</code>
2427
- * @return The lastUpdateTime.
2428
- */
2429
- @java.lang.Override
2430
- public long getLastUpdateTime() {
2431
- return lastUpdateTime_;
2432
- }
2433
- /**
2434
- * <code>int64 last_update_time = 5;</code>
2435
- * @param value The lastUpdateTime to set.
2436
- * @return This builder for chaining.
2437
- */
2438
- public Builder setLastUpdateTime(long value) {
2439
- bitField0_ |= 0x00000002;
2440
- lastUpdateTime_ = value;
2441
- onChanged();
2442
- return this;
2443
- }
2444
- /**
2445
- * <code>int64 last_update_time = 5;</code>
2446
- * @return This builder for chaining.
2447
- */
2448
- public Builder clearLastUpdateTime() {
2449
- bitField0_ = (bitField0_ & ~0x00000002);
2450
- lastUpdateTime_ = 0L;
2451
- onChanged();
2452
- return this;
2453
- }
2454
-
2455
- private java.lang.Object countryCode_ = "";
2456
- /**
2457
- * <code>string country_code = 6;</code>
2458
- * @return Whether the countryCode field is set.
2459
- */
2460
- public boolean hasCountryCode() {
2461
- return ((bitField0_ & 0x00000004) != 0);
2462
- }
2463
- /**
2464
- * <code>string country_code = 6;</code>
2465
- * @return The countryCode.
2466
- */
2467
- public java.lang.String getCountryCode() {
2468
- java.lang.Object ref = countryCode_;
2469
- if (!(ref instanceof java.lang.String)) {
2470
- com.google.protobuf.ByteString bs =
2471
- (com.google.protobuf.ByteString) ref;
2472
- java.lang.String s = bs.toStringUtf8();
2473
- countryCode_ = s;
2474
- return s;
2475
- } else {
2476
- return (java.lang.String) ref;
2477
- }
2478
- }
2479
- /**
2480
- * <code>string country_code = 6;</code>
2481
- * @return The bytes for countryCode.
2482
- */
2483
- public com.google.protobuf.ByteString
2484
- getCountryCodeBytes() {
2485
- java.lang.Object ref = countryCode_;
2486
- if (ref instanceof String) {
2487
- com.google.protobuf.ByteString b =
2488
- com.google.protobuf.ByteString.copyFromUtf8(
2489
- (java.lang.String) ref);
2490
- countryCode_ = b;
2491
- return b;
2492
- } else {
2493
- return (com.google.protobuf.ByteString) ref;
2494
- }
2495
- }
2496
- /**
2497
- * <code>string country_code = 6;</code>
2498
- * @param value The countryCode to set.
2499
- * @return This builder for chaining.
2500
- */
2501
- public Builder setCountryCode(
2502
- java.lang.String value) {
2503
- if (value == null) {
2504
- throw new NullPointerException();
2505
- }
2506
- bitField0_ |= 0x00000004;
2507
- countryCode_ = value;
2508
- onChanged();
2509
- return this;
2510
- }
2511
- /**
2512
- * <code>string country_code = 6;</code>
2513
- * @return This builder for chaining.
2514
- */
2515
- public Builder clearCountryCode() {
2516
- bitField0_ = (bitField0_ & ~0x00000004);
2517
- countryCode_ = getDefaultInstance().getCountryCode();
2518
- onChanged();
2519
- return this;
2520
- }
2521
- /**
2522
- * <code>string country_code = 6;</code>
2523
- * @param value The bytes for countryCode to set.
2524
- * @return This builder for chaining.
2525
- */
2526
- public Builder setCountryCodeBytes(
2527
- com.google.protobuf.ByteString value) {
2528
- if (value == null) {
2529
- throw new NullPointerException();
2530
- }
2531
- checkByteStringIsUtf8(value);
2532
- bitField0_ |= 0x00000004;
2533
- countryCode_ = value;
2534
- onChanged();
2535
- return this;
2536
- }
2537
-
2538
- private java.lang.Object logoImageUrl_ = "";
2539
- /**
2540
- * <code>string logo_image_url = 7;</code>
2541
- * @return Whether the logoImageUrl field is set.
2542
- */
2543
- public boolean hasLogoImageUrl() {
2544
- return ((bitField0_ & 0x00000008) != 0);
2545
- }
2546
- /**
2547
- * <code>string logo_image_url = 7;</code>
2548
- * @return The logoImageUrl.
2549
- */
2550
- public java.lang.String getLogoImageUrl() {
2551
- java.lang.Object ref = logoImageUrl_;
2552
- if (!(ref instanceof java.lang.String)) {
2553
- com.google.protobuf.ByteString bs =
2554
- (com.google.protobuf.ByteString) ref;
2555
- java.lang.String s = bs.toStringUtf8();
2556
- logoImageUrl_ = s;
2557
- return s;
2558
- } else {
2559
- return (java.lang.String) ref;
2560
- }
2561
- }
2562
- /**
2563
- * <code>string logo_image_url = 7;</code>
2564
- * @return The bytes for logoImageUrl.
2565
- */
2566
- public com.google.protobuf.ByteString
2567
- getLogoImageUrlBytes() {
2568
- java.lang.Object ref = logoImageUrl_;
2569
- if (ref instanceof String) {
2570
- com.google.protobuf.ByteString b =
2571
- com.google.protobuf.ByteString.copyFromUtf8(
2572
- (java.lang.String) ref);
2573
- logoImageUrl_ = b;
2574
- return b;
2575
- } else {
2576
- return (com.google.protobuf.ByteString) ref;
2577
- }
2578
- }
2579
- /**
2580
- * <code>string logo_image_url = 7;</code>
2581
- * @param value The logoImageUrl to set.
2582
- * @return This builder for chaining.
2583
- */
2584
- public Builder setLogoImageUrl(
2585
- java.lang.String value) {
2586
- if (value == null) {
2587
- throw new NullPointerException();
2588
- }
2589
- bitField0_ |= 0x00000008;
2590
- logoImageUrl_ = value;
2591
- onChanged();
2592
- return this;
2593
- }
2594
- /**
2595
- * <code>string logo_image_url = 7;</code>
2596
- * @return This builder for chaining.
2597
- */
2598
- public Builder clearLogoImageUrl() {
2599
- bitField0_ = (bitField0_ & ~0x00000008);
2600
- logoImageUrl_ = getDefaultInstance().getLogoImageUrl();
2601
- onChanged();
2602
- return this;
2603
- }
2604
- /**
2605
- * <code>string logo_image_url = 7;</code>
2606
- * @param value The bytes for logoImageUrl to set.
2607
- * @return This builder for chaining.
2608
- */
2609
- public Builder setLogoImageUrlBytes(
2610
- com.google.protobuf.ByteString value) {
2611
- if (value == null) {
2612
- throw new NullPointerException();
2613
- }
2614
- checkByteStringIsUtf8(value);
2615
- bitField0_ |= 0x00000008;
2616
- logoImageUrl_ = value;
2617
- onChanged();
2618
- return this;
2619
- }
2620
-
2621
- private java.lang.Object bannerImageUrl_ = "";
2622
- /**
2623
- * <code>string banner_image_url = 8;</code>
2624
- * @return Whether the bannerImageUrl field is set.
2625
- */
2626
- public boolean hasBannerImageUrl() {
2627
- return ((bitField0_ & 0x00000010) != 0);
2628
- }
2629
- /**
2630
- * <code>string banner_image_url = 8;</code>
2631
- * @return The bannerImageUrl.
2632
- */
2633
- public java.lang.String getBannerImageUrl() {
2634
- java.lang.Object ref = bannerImageUrl_;
2635
- if (!(ref instanceof java.lang.String)) {
2636
- com.google.protobuf.ByteString bs =
2637
- (com.google.protobuf.ByteString) ref;
2638
- java.lang.String s = bs.toStringUtf8();
2639
- bannerImageUrl_ = s;
2640
- return s;
2641
- } else {
2642
- return (java.lang.String) ref;
2643
- }
2644
- }
2645
- /**
2646
- * <code>string banner_image_url = 8;</code>
2647
- * @return The bytes for bannerImageUrl.
2648
- */
2649
- public com.google.protobuf.ByteString
2650
- getBannerImageUrlBytes() {
2651
- java.lang.Object ref = bannerImageUrl_;
2652
- if (ref instanceof String) {
2653
- com.google.protobuf.ByteString b =
2654
- com.google.protobuf.ByteString.copyFromUtf8(
2655
- (java.lang.String) ref);
2656
- bannerImageUrl_ = b;
2657
- return b;
2658
- } else {
2659
- return (com.google.protobuf.ByteString) ref;
2660
- }
2661
- }
2662
- /**
2663
- * <code>string banner_image_url = 8;</code>
2664
- * @param value The bannerImageUrl to set.
2665
- * @return This builder for chaining.
2666
- */
2667
- public Builder setBannerImageUrl(
2668
- java.lang.String value) {
2669
- if (value == null) {
2670
- throw new NullPointerException();
2671
- }
2672
- bitField0_ |= 0x00000010;
2673
- bannerImageUrl_ = value;
2674
- onChanged();
2675
- return this;
2676
- }
2677
- /**
2678
- * <code>string banner_image_url = 8;</code>
2679
- * @return This builder for chaining.
2680
- */
2681
- public Builder clearBannerImageUrl() {
2682
- bitField0_ = (bitField0_ & ~0x00000010);
2683
- bannerImageUrl_ = getDefaultInstance().getBannerImageUrl();
2684
- onChanged();
2685
- return this;
2686
- }
2687
- /**
2688
- * <code>string banner_image_url = 8;</code>
2689
- * @param value The bytes for bannerImageUrl to set.
2690
- * @return This builder for chaining.
2691
- */
2692
- public Builder setBannerImageUrlBytes(
2693
- com.google.protobuf.ByteString value) {
2694
- if (value == null) {
2695
- throw new NullPointerException();
2696
- }
2697
- checkByteStringIsUtf8(value);
2698
- bitField0_ |= 0x00000010;
2699
- bannerImageUrl_ = value;
2700
- onChanged();
2701
- return this;
2702
- }
2703
-
2704
- private java.lang.Object wikipediaId_ = "";
2705
- /**
2706
- * <code>string wikipedia_id = 9;</code>
2707
- * @return Whether the wikipediaId field is set.
2708
- */
2709
- public boolean hasWikipediaId() {
2710
- return ((bitField0_ & 0x00000020) != 0);
2711
- }
2712
- /**
2713
- * <code>string wikipedia_id = 9;</code>
2714
- * @return The wikipediaId.
2715
- */
2716
- public java.lang.String getWikipediaId() {
2717
- java.lang.Object ref = wikipediaId_;
2718
- if (!(ref instanceof java.lang.String)) {
2719
- com.google.protobuf.ByteString bs =
2720
- (com.google.protobuf.ByteString) ref;
2721
- java.lang.String s = bs.toStringUtf8();
2722
- wikipediaId_ = s;
2723
- return s;
2724
- } else {
2725
- return (java.lang.String) ref;
2726
- }
2727
- }
2728
- /**
2729
- * <code>string wikipedia_id = 9;</code>
2730
- * @return The bytes for wikipediaId.
2731
- */
2732
- public com.google.protobuf.ByteString
2733
- getWikipediaIdBytes() {
2734
- java.lang.Object ref = wikipediaId_;
2735
- if (ref instanceof String) {
2736
- com.google.protobuf.ByteString b =
2737
- com.google.protobuf.ByteString.copyFromUtf8(
2738
- (java.lang.String) ref);
2739
- wikipediaId_ = b;
2740
- return b;
2741
- } else {
2742
- return (com.google.protobuf.ByteString) ref;
2743
- }
2744
- }
2745
- /**
2746
- * <code>string wikipedia_id = 9;</code>
2747
- * @param value The wikipediaId to set.
2748
- * @return This builder for chaining.
2749
- */
2750
- public Builder setWikipediaId(
2751
- java.lang.String value) {
2752
- if (value == null) {
2753
- throw new NullPointerException();
2754
- }
2755
- bitField0_ |= 0x00000020;
2756
- wikipediaId_ = value;
2757
- onChanged();
2758
- return this;
2759
- }
2760
- /**
2761
- * <code>string wikipedia_id = 9;</code>
2762
- * @return This builder for chaining.
2763
- */
2764
- public Builder clearWikipediaId() {
2765
- bitField0_ = (bitField0_ & ~0x00000020);
2766
- wikipediaId_ = getDefaultInstance().getWikipediaId();
2767
- onChanged();
2768
- return this;
2769
- }
2770
- /**
2771
- * <code>string wikipedia_id = 9;</code>
2772
- * @param value The bytes for wikipediaId to set.
2773
- * @return This builder for chaining.
2774
- */
2775
- public Builder setWikipediaIdBytes(
2776
- com.google.protobuf.ByteString value) {
2777
- if (value == null) {
2778
- throw new NullPointerException();
2779
- }
2780
- checkByteStringIsUtf8(value);
2781
- bitField0_ |= 0x00000020;
2782
- wikipediaId_ = value;
2783
- onChanged();
2784
- return this;
2785
- }
2786
-
2787
- private java.lang.Object wikipediaLangCode_ = "";
2788
- /**
2789
- * <code>string wikipedia_lang_code = 10;</code>
2790
- * @return Whether the wikipediaLangCode field is set.
2791
- */
2792
- public boolean hasWikipediaLangCode() {
2793
- return ((bitField0_ & 0x00000040) != 0);
2794
- }
2795
- /**
2796
- * <code>string wikipedia_lang_code = 10;</code>
2797
- * @return The wikipediaLangCode.
2798
- */
2799
- public java.lang.String getWikipediaLangCode() {
2800
- java.lang.Object ref = wikipediaLangCode_;
2801
- if (!(ref instanceof java.lang.String)) {
2802
- com.google.protobuf.ByteString bs =
2803
- (com.google.protobuf.ByteString) ref;
2804
- java.lang.String s = bs.toStringUtf8();
2805
- wikipediaLangCode_ = s;
2806
- return s;
2807
- } else {
2808
- return (java.lang.String) ref;
2809
- }
2810
- }
2811
- /**
2812
- * <code>string wikipedia_lang_code = 10;</code>
2813
- * @return The bytes for wikipediaLangCode.
2814
- */
2815
- public com.google.protobuf.ByteString
2816
- getWikipediaLangCodeBytes() {
2817
- java.lang.Object ref = wikipediaLangCode_;
2818
- if (ref instanceof String) {
2819
- com.google.protobuf.ByteString b =
2820
- com.google.protobuf.ByteString.copyFromUtf8(
2821
- (java.lang.String) ref);
2822
- wikipediaLangCode_ = b;
2823
- return b;
2824
- } else {
2825
- return (com.google.protobuf.ByteString) ref;
2826
- }
2827
- }
2828
- /**
2829
- * <code>string wikipedia_lang_code = 10;</code>
2830
- * @param value The wikipediaLangCode to set.
2831
- * @return This builder for chaining.
2832
- */
2833
- public Builder setWikipediaLangCode(
2834
- java.lang.String value) {
2835
- if (value == null) {
2836
- throw new NullPointerException();
2837
- }
2838
- bitField0_ |= 0x00000040;
2839
- wikipediaLangCode_ = value;
2840
- onChanged();
2841
- return this;
2842
- }
2843
- /**
2844
- * <code>string wikipedia_lang_code = 10;</code>
2845
- * @return This builder for chaining.
2846
- */
2847
- public Builder clearWikipediaLangCode() {
2848
- bitField0_ = (bitField0_ & ~0x00000040);
2849
- wikipediaLangCode_ = getDefaultInstance().getWikipediaLangCode();
2850
- onChanged();
2851
- return this;
2852
- }
2853
- /**
2854
- * <code>string wikipedia_lang_code = 10;</code>
2855
- * @param value The bytes for wikipediaLangCode to set.
2856
- * @return This builder for chaining.
2857
- */
2858
- public Builder setWikipediaLangCodeBytes(
2859
- com.google.protobuf.ByteString value) {
2860
- if (value == null) {
2861
- throw new NullPointerException();
2862
- }
2863
- checkByteStringIsUtf8(value);
2864
- bitField0_ |= 0x00000040;
2865
- wikipediaLangCode_ = value;
2866
- onChanged();
2867
- return this;
2868
- }
2869
-
2870
- private java.lang.Object websiteUrl_ = "";
2871
- /**
2872
- * <code>string website_url = 11;</code>
2873
- * @return Whether the websiteUrl field is set.
2874
- */
2875
- public boolean hasWebsiteUrl() {
2876
- return ((bitField0_ & 0x00000080) != 0);
2877
- }
2878
- /**
2879
- * <code>string website_url = 11;</code>
2880
- * @return The websiteUrl.
2881
- */
2882
- public java.lang.String getWebsiteUrl() {
2883
- java.lang.Object ref = websiteUrl_;
2884
- if (!(ref instanceof java.lang.String)) {
2885
- com.google.protobuf.ByteString bs =
2886
- (com.google.protobuf.ByteString) ref;
2887
- java.lang.String s = bs.toStringUtf8();
2888
- websiteUrl_ = s;
2889
- return s;
2890
- } else {
2891
- return (java.lang.String) ref;
2892
- }
2893
- }
2894
- /**
2895
- * <code>string website_url = 11;</code>
2896
- * @return The bytes for websiteUrl.
2897
- */
2898
- public com.google.protobuf.ByteString
2899
- getWebsiteUrlBytes() {
2900
- java.lang.Object ref = websiteUrl_;
2901
- if (ref instanceof String) {
2902
- com.google.protobuf.ByteString b =
2903
- com.google.protobuf.ByteString.copyFromUtf8(
2904
- (java.lang.String) ref);
2905
- websiteUrl_ = b;
2906
- return b;
2907
- } else {
2908
- return (com.google.protobuf.ByteString) ref;
2909
- }
2910
- }
2911
- /**
2912
- * <code>string website_url = 11;</code>
2913
- * @param value The websiteUrl to set.
2914
- * @return This builder for chaining.
2915
- */
2916
- public Builder setWebsiteUrl(
2917
- java.lang.String value) {
2918
- if (value == null) {
2919
- throw new NullPointerException();
2920
- }
2921
- bitField0_ |= 0x00000080;
2922
- websiteUrl_ = value;
2923
- onChanged();
2924
- return this;
2925
- }
2926
- /**
2927
- * <code>string website_url = 11;</code>
2928
- * @return This builder for chaining.
2929
- */
2930
- public Builder clearWebsiteUrl() {
2931
- bitField0_ = (bitField0_ & ~0x00000080);
2932
- websiteUrl_ = getDefaultInstance().getWebsiteUrl();
2933
- onChanged();
2934
- return this;
2935
- }
2936
- /**
2937
- * <code>string website_url = 11;</code>
2938
- * @param value The bytes for websiteUrl to set.
2939
- * @return This builder for chaining.
2940
- */
2941
- public Builder setWebsiteUrlBytes(
2942
- com.google.protobuf.ByteString value) {
2943
- if (value == null) {
2944
- throw new NullPointerException();
2945
- }
2946
- checkByteStringIsUtf8(value);
2947
- bitField0_ |= 0x00000080;
2948
- websiteUrl_ = value;
2949
- onChanged();
2950
- return this;
2951
- }
2952
-
2953
- private java.lang.Object supportUrl_ = "";
2954
- /**
2955
- * <code>string support_url = 12;</code>
2956
- * @return Whether the supportUrl field is set.
2957
- */
2958
- public boolean hasSupportUrl() {
2959
- return ((bitField0_ & 0x00000100) != 0);
2960
- }
2961
- /**
2962
- * <code>string support_url = 12;</code>
2963
- * @return The supportUrl.
2964
- */
2965
- public java.lang.String getSupportUrl() {
2966
- java.lang.Object ref = supportUrl_;
2967
- if (!(ref instanceof java.lang.String)) {
2968
- com.google.protobuf.ByteString bs =
2969
- (com.google.protobuf.ByteString) ref;
2970
- java.lang.String s = bs.toStringUtf8();
2971
- supportUrl_ = s;
2972
- return s;
2973
- } else {
2974
- return (java.lang.String) ref;
2975
- }
2976
- }
2977
- /**
2978
- * <code>string support_url = 12;</code>
2979
- * @return The bytes for supportUrl.
2980
- */
2981
- public com.google.protobuf.ByteString
2982
- getSupportUrlBytes() {
2983
- java.lang.Object ref = supportUrl_;
2984
- if (ref instanceof String) {
2985
- com.google.protobuf.ByteString b =
2986
- com.google.protobuf.ByteString.copyFromUtf8(
2987
- (java.lang.String) ref);
2988
- supportUrl_ = b;
2989
- return b;
2990
- } else {
2991
- return (com.google.protobuf.ByteString) ref;
2992
- }
2993
- }
2994
- /**
2995
- * <code>string support_url = 12;</code>
2996
- * @param value The supportUrl to set.
2997
- * @return This builder for chaining.
2998
- */
2999
- public Builder setSupportUrl(
3000
- java.lang.String value) {
3001
- if (value == null) {
3002
- throw new NullPointerException();
3003
- }
3004
- bitField0_ |= 0x00000100;
3005
- supportUrl_ = value;
3006
- onChanged();
3007
- return this;
3008
- }
3009
- /**
3010
- * <code>string support_url = 12;</code>
3011
- * @return This builder for chaining.
3012
- */
3013
- public Builder clearSupportUrl() {
3014
- bitField0_ = (bitField0_ & ~0x00000100);
3015
- supportUrl_ = getDefaultInstance().getSupportUrl();
3016
- onChanged();
3017
- return this;
3018
- }
3019
- /**
3020
- * <code>string support_url = 12;</code>
3021
- * @param value The bytes for supportUrl to set.
3022
- * @return This builder for chaining.
3023
- */
3024
- public Builder setSupportUrlBytes(
3025
- com.google.protobuf.ByteString value) {
3026
- if (value == null) {
3027
- throw new NullPointerException();
3028
- }
3029
- checkByteStringIsUtf8(value);
3030
- bitField0_ |= 0x00000100;
3031
- supportUrl_ = value;
3032
- onChanged();
3033
- return this;
3034
- }
3035
-
3036
- private java.lang.Object supportPhone_ = "";
3037
- /**
3038
- * <code>string support_phone = 13;</code>
3039
- * @return Whether the supportPhone field is set.
3040
- */
3041
- public boolean hasSupportPhone() {
3042
- return ((bitField0_ & 0x00000200) != 0);
3043
- }
3044
- /**
3045
- * <code>string support_phone = 13;</code>
3046
- * @return The supportPhone.
3047
- */
3048
- public java.lang.String getSupportPhone() {
3049
- java.lang.Object ref = supportPhone_;
3050
- if (!(ref instanceof java.lang.String)) {
3051
- com.google.protobuf.ByteString bs =
3052
- (com.google.protobuf.ByteString) ref;
3053
- java.lang.String s = bs.toStringUtf8();
3054
- supportPhone_ = s;
3055
- return s;
3056
- } else {
3057
- return (java.lang.String) ref;
3058
- }
3059
- }
3060
- /**
3061
- * <code>string support_phone = 13;</code>
3062
- * @return The bytes for supportPhone.
3063
- */
3064
- public com.google.protobuf.ByteString
3065
- getSupportPhoneBytes() {
3066
- java.lang.Object ref = supportPhone_;
3067
- if (ref instanceof String) {
3068
- com.google.protobuf.ByteString b =
3069
- com.google.protobuf.ByteString.copyFromUtf8(
3070
- (java.lang.String) ref);
3071
- supportPhone_ = b;
3072
- return b;
3073
- } else {
3074
- return (com.google.protobuf.ByteString) ref;
3075
- }
3076
- }
3077
- /**
3078
- * <code>string support_phone = 13;</code>
3079
- * @param value The supportPhone to set.
3080
- * @return This builder for chaining.
3081
- */
3082
- public Builder setSupportPhone(
3083
- java.lang.String value) {
3084
- if (value == null) {
3085
- throw new NullPointerException();
3086
- }
3087
- bitField0_ |= 0x00000200;
3088
- supportPhone_ = value;
3089
- onChanged();
3090
- return this;
3091
- }
3092
- /**
3093
- * <code>string support_phone = 13;</code>
3094
- * @return This builder for chaining.
3095
- */
3096
- public Builder clearSupportPhone() {
3097
- bitField0_ = (bitField0_ & ~0x00000200);
3098
- supportPhone_ = getDefaultInstance().getSupportPhone();
3099
- onChanged();
3100
- return this;
3101
- }
3102
- /**
3103
- * <code>string support_phone = 13;</code>
3104
- * @param value The bytes for supportPhone to set.
3105
- * @return This builder for chaining.
3106
- */
3107
- public Builder setSupportPhoneBytes(
3108
- com.google.protobuf.ByteString value) {
3109
- if (value == null) {
3110
- throw new NullPointerException();
3111
- }
3112
- checkByteStringIsUtf8(value);
3113
- bitField0_ |= 0x00000200;
3114
- supportPhone_ = value;
3115
- onChanged();
3116
- return this;
3117
- }
3118
-
3119
- private java.lang.Object facebookAccount_ = "";
3120
- /**
3121
- * <code>string facebook_account = 14;</code>
3122
- * @return Whether the facebookAccount field is set.
3123
- */
3124
- public boolean hasFacebookAccount() {
3125
- return ((bitField0_ & 0x00000400) != 0);
3126
- }
3127
- /**
3128
- * <code>string facebook_account = 14;</code>
3129
- * @return The facebookAccount.
3130
- */
3131
- public java.lang.String getFacebookAccount() {
3132
- java.lang.Object ref = facebookAccount_;
3133
- if (!(ref instanceof java.lang.String)) {
3134
- com.google.protobuf.ByteString bs =
3135
- (com.google.protobuf.ByteString) ref;
3136
- java.lang.String s = bs.toStringUtf8();
3137
- facebookAccount_ = s;
3138
- return s;
3139
- } else {
3140
- return (java.lang.String) ref;
3141
- }
3142
- }
3143
- /**
3144
- * <code>string facebook_account = 14;</code>
3145
- * @return The bytes for facebookAccount.
3146
- */
3147
- public com.google.protobuf.ByteString
3148
- getFacebookAccountBytes() {
3149
- java.lang.Object ref = facebookAccount_;
3150
- if (ref instanceof String) {
3151
- com.google.protobuf.ByteString b =
3152
- com.google.protobuf.ByteString.copyFromUtf8(
3153
- (java.lang.String) ref);
3154
- facebookAccount_ = b;
3155
- return b;
3156
- } else {
3157
- return (com.google.protobuf.ByteString) ref;
3158
- }
3159
- }
3160
- /**
3161
- * <code>string facebook_account = 14;</code>
3162
- * @param value The facebookAccount to set.
3163
- * @return This builder for chaining.
3164
- */
3165
- public Builder setFacebookAccount(
3166
- java.lang.String value) {
3167
- if (value == null) {
3168
- throw new NullPointerException();
3169
- }
3170
- bitField0_ |= 0x00000400;
3171
- facebookAccount_ = value;
3172
- onChanged();
3173
- return this;
3174
- }
3175
- /**
3176
- * <code>string facebook_account = 14;</code>
3177
- * @return This builder for chaining.
3178
- */
3179
- public Builder clearFacebookAccount() {
3180
- bitField0_ = (bitField0_ & ~0x00000400);
3181
- facebookAccount_ = getDefaultInstance().getFacebookAccount();
3182
- onChanged();
3183
- return this;
3184
- }
3185
- /**
3186
- * <code>string facebook_account = 14;</code>
3187
- * @param value The bytes for facebookAccount to set.
3188
- * @return This builder for chaining.
3189
- */
3190
- public Builder setFacebookAccountBytes(
3191
- com.google.protobuf.ByteString value) {
3192
- if (value == null) {
3193
- throw new NullPointerException();
3194
- }
3195
- checkByteStringIsUtf8(value);
3196
- bitField0_ |= 0x00000400;
3197
- facebookAccount_ = value;
3198
- onChanged();
3199
- return this;
3200
- }
3201
-
3202
- private java.lang.Object twitterAccount_ = "";
3203
- /**
3204
- * <code>string twitter_account = 15;</code>
3205
- * @return Whether the twitterAccount field is set.
3206
- */
3207
- public boolean hasTwitterAccount() {
3208
- return ((bitField0_ & 0x00000800) != 0);
3209
- }
3210
- /**
3211
- * <code>string twitter_account = 15;</code>
3212
- * @return The twitterAccount.
3213
- */
3214
- public java.lang.String getTwitterAccount() {
3215
- java.lang.Object ref = twitterAccount_;
3216
- if (!(ref instanceof java.lang.String)) {
3217
- com.google.protobuf.ByteString bs =
3218
- (com.google.protobuf.ByteString) ref;
3219
- java.lang.String s = bs.toStringUtf8();
3220
- twitterAccount_ = s;
3221
- return s;
3222
- } else {
3223
- return (java.lang.String) ref;
3224
- }
3225
- }
3226
- /**
3227
- * <code>string twitter_account = 15;</code>
3228
- * @return The bytes for twitterAccount.
3229
- */
3230
- public com.google.protobuf.ByteString
3231
- getTwitterAccountBytes() {
3232
- java.lang.Object ref = twitterAccount_;
3233
- if (ref instanceof String) {
3234
- com.google.protobuf.ByteString b =
3235
- com.google.protobuf.ByteString.copyFromUtf8(
3236
- (java.lang.String) ref);
3237
- twitterAccount_ = b;
3238
- return b;
3239
- } else {
3240
- return (com.google.protobuf.ByteString) ref;
3241
- }
3242
- }
3243
- /**
3244
- * <code>string twitter_account = 15;</code>
3245
- * @param value The twitterAccount to set.
3246
- * @return This builder for chaining.
3247
- */
3248
- public Builder setTwitterAccount(
3249
- java.lang.String value) {
3250
- if (value == null) {
3251
- throw new NullPointerException();
3252
- }
3253
- bitField0_ |= 0x00000800;
3254
- twitterAccount_ = value;
3255
- onChanged();
3256
- return this;
3257
- }
3258
- /**
3259
- * <code>string twitter_account = 15;</code>
3260
- * @return This builder for chaining.
3261
- */
3262
- public Builder clearTwitterAccount() {
3263
- bitField0_ = (bitField0_ & ~0x00000800);
3264
- twitterAccount_ = getDefaultInstance().getTwitterAccount();
3265
- onChanged();
3266
- return this;
3267
- }
3268
- /**
3269
- * <code>string twitter_account = 15;</code>
3270
- * @param value The bytes for twitterAccount to set.
3271
- * @return This builder for chaining.
3272
- */
3273
- public Builder setTwitterAccountBytes(
3274
- com.google.protobuf.ByteString value) {
3275
- if (value == null) {
3276
- throw new NullPointerException();
3277
- }
3278
- checkByteStringIsUtf8(value);
3279
- bitField0_ |= 0x00000800;
3280
- twitterAccount_ = value;
3281
- onChanged();
3282
- return this;
3283
- }
3284
-
3285
- private java.lang.Object warrantyUrl_ = "";
3286
- /**
3287
- * <code>string warranty_url = 16;</code>
3288
- * @return Whether the warrantyUrl field is set.
3289
- */
3290
- public boolean hasWarrantyUrl() {
3291
- return ((bitField0_ & 0x00001000) != 0);
3292
- }
3293
- /**
3294
- * <code>string warranty_url = 16;</code>
3295
- * @return The warrantyUrl.
3296
- */
3297
- public java.lang.String getWarrantyUrl() {
3298
- java.lang.Object ref = warrantyUrl_;
3299
- if (!(ref instanceof java.lang.String)) {
3300
- com.google.protobuf.ByteString bs =
3301
- (com.google.protobuf.ByteString) ref;
3302
- java.lang.String s = bs.toStringUtf8();
3303
- warrantyUrl_ = s;
3304
- return s;
3305
- } else {
3306
- return (java.lang.String) ref;
3307
- }
3308
- }
3309
- /**
3310
- * <code>string warranty_url = 16;</code>
3311
- * @return The bytes for warrantyUrl.
3312
- */
3313
- public com.google.protobuf.ByteString
3314
- getWarrantyUrlBytes() {
3315
- java.lang.Object ref = warrantyUrl_;
3316
- if (ref instanceof String) {
3317
- com.google.protobuf.ByteString b =
3318
- com.google.protobuf.ByteString.copyFromUtf8(
3319
- (java.lang.String) ref);
3320
- warrantyUrl_ = b;
3321
- return b;
3322
- } else {
3323
- return (com.google.protobuf.ByteString) ref;
3324
- }
3325
- }
3326
- /**
3327
- * <code>string warranty_url = 16;</code>
3328
- * @param value The warrantyUrl to set.
3329
- * @return This builder for chaining.
3330
- */
3331
- public Builder setWarrantyUrl(
3332
- java.lang.String value) {
3333
- if (value == null) {
3334
- throw new NullPointerException();
3335
- }
3336
- bitField0_ |= 0x00001000;
3337
- warrantyUrl_ = value;
3338
- onChanged();
3339
- return this;
3340
- }
3341
- /**
3342
- * <code>string warranty_url = 16;</code>
3343
- * @return This builder for chaining.
3344
- */
3345
- public Builder clearWarrantyUrl() {
3346
- bitField0_ = (bitField0_ & ~0x00001000);
3347
- warrantyUrl_ = getDefaultInstance().getWarrantyUrl();
3348
- onChanged();
3349
- return this;
3350
- }
3351
- /**
3352
- * <code>string warranty_url = 16;</code>
3353
- * @param value The bytes for warrantyUrl to set.
3354
- * @return This builder for chaining.
3355
- */
3356
- public Builder setWarrantyUrlBytes(
3357
- com.google.protobuf.ByteString value) {
3358
- if (value == null) {
3359
- throw new NullPointerException();
3360
- }
3361
- checkByteStringIsUtf8(value);
3362
- bitField0_ |= 0x00001000;
3363
- warrantyUrl_ = value;
3364
- onChanged();
3365
- return this;
3366
- }
3367
-
3368
- private java.lang.Object warrantyDirectUrl_ = "";
3369
- /**
3370
- * <code>string warranty_direct_url = 17;</code>
3371
- * @return Whether the warrantyDirectUrl field is set.
3372
- */
3373
- public boolean hasWarrantyDirectUrl() {
3374
- return ((bitField0_ & 0x00002000) != 0);
3375
- }
3376
- /**
3377
- * <code>string warranty_direct_url = 17;</code>
3378
- * @return The warrantyDirectUrl.
3379
- */
3380
- public java.lang.String getWarrantyDirectUrl() {
3381
- java.lang.Object ref = warrantyDirectUrl_;
3382
- if (!(ref instanceof java.lang.String)) {
3383
- com.google.protobuf.ByteString bs =
3384
- (com.google.protobuf.ByteString) ref;
3385
- java.lang.String s = bs.toStringUtf8();
3386
- warrantyDirectUrl_ = s;
3387
- return s;
3388
- } else {
3389
- return (java.lang.String) ref;
3390
- }
3391
- }
3392
- /**
3393
- * <code>string warranty_direct_url = 17;</code>
3394
- * @return The bytes for warrantyDirectUrl.
3395
- */
3396
- public com.google.protobuf.ByteString
3397
- getWarrantyDirectUrlBytes() {
3398
- java.lang.Object ref = warrantyDirectUrl_;
3399
- if (ref instanceof String) {
3400
- com.google.protobuf.ByteString b =
3401
- com.google.protobuf.ByteString.copyFromUtf8(
3402
- (java.lang.String) ref);
3403
- warrantyDirectUrl_ = b;
3404
- return b;
3405
- } else {
3406
- return (com.google.protobuf.ByteString) ref;
3407
- }
3408
- }
3409
- /**
3410
- * <code>string warranty_direct_url = 17;</code>
3411
- * @param value The warrantyDirectUrl to set.
3412
- * @return This builder for chaining.
3413
- */
3414
- public Builder setWarrantyDirectUrl(
3415
- java.lang.String value) {
3416
- if (value == null) {
3417
- throw new NullPointerException();
3418
- }
3419
- bitField0_ |= 0x00002000;
3420
- warrantyDirectUrl_ = value;
3421
- onChanged();
3422
- return this;
3423
- }
3424
- /**
3425
- * <code>string warranty_direct_url = 17;</code>
3426
- * @return This builder for chaining.
3427
- */
3428
- public Builder clearWarrantyDirectUrl() {
3429
- bitField0_ = (bitField0_ & ~0x00002000);
3430
- warrantyDirectUrl_ = getDefaultInstance().getWarrantyDirectUrl();
3431
- onChanged();
3432
- return this;
3433
- }
3434
- /**
3435
- * <code>string warranty_direct_url = 17;</code>
3436
- * @param value The bytes for warrantyDirectUrl to set.
3437
- * @return This builder for chaining.
3438
- */
3439
- public Builder setWarrantyDirectUrlBytes(
3440
- com.google.protobuf.ByteString value) {
3441
- if (value == null) {
3442
- throw new NullPointerException();
3443
- }
3444
- checkByteStringIsUtf8(value);
3445
- bitField0_ |= 0x00002000;
3446
- warrantyDirectUrl_ = value;
3447
- onChanged();
3448
- return this;
3449
- }
3450
-
3451
- private java.lang.Object communityUrl_ = "";
3452
- /**
3453
- * <code>string community_url = 20;</code>
3454
- * @return Whether the communityUrl field is set.
3455
- */
3456
- public boolean hasCommunityUrl() {
3457
- return ((bitField0_ & 0x00004000) != 0);
3458
- }
3459
- /**
3460
- * <code>string community_url = 20;</code>
3461
- * @return The communityUrl.
3462
- */
3463
- public java.lang.String getCommunityUrl() {
3464
- java.lang.Object ref = communityUrl_;
3465
- if (!(ref instanceof java.lang.String)) {
3466
- com.google.protobuf.ByteString bs =
3467
- (com.google.protobuf.ByteString) ref;
3468
- java.lang.String s = bs.toStringUtf8();
3469
- communityUrl_ = s;
3470
- return s;
3471
- } else {
3472
- return (java.lang.String) ref;
3473
- }
3474
- }
3475
- /**
3476
- * <code>string community_url = 20;</code>
3477
- * @return The bytes for communityUrl.
3478
- */
3479
- public com.google.protobuf.ByteString
3480
- getCommunityUrlBytes() {
3481
- java.lang.Object ref = communityUrl_;
3482
- if (ref instanceof String) {
3483
- com.google.protobuf.ByteString b =
3484
- com.google.protobuf.ByteString.copyFromUtf8(
3485
- (java.lang.String) ref);
3486
- communityUrl_ = b;
3487
- return b;
3488
- } else {
3489
- return (com.google.protobuf.ByteString) ref;
3490
- }
3491
- }
3492
- /**
3493
- * <code>string community_url = 20;</code>
3494
- * @param value The communityUrl to set.
3495
- * @return This builder for chaining.
3496
- */
3497
- public Builder setCommunityUrl(
3498
- java.lang.String value) {
3499
- if (value == null) {
3500
- throw new NullPointerException();
3501
- }
3502
- bitField0_ |= 0x00004000;
3503
- communityUrl_ = value;
3504
- onChanged();
3505
- return this;
3506
- }
3507
- /**
3508
- * <code>string community_url = 20;</code>
3509
- * @return This builder for chaining.
3510
- */
3511
- public Builder clearCommunityUrl() {
3512
- bitField0_ = (bitField0_ & ~0x00004000);
3513
- communityUrl_ = getDefaultInstance().getCommunityUrl();
3514
- onChanged();
3515
- return this;
3516
- }
3517
- /**
3518
- * <code>string community_url = 20;</code>
3519
- * @param value The bytes for communityUrl to set.
3520
- * @return This builder for chaining.
3521
- */
3522
- public Builder setCommunityUrlBytes(
3523
- com.google.protobuf.ByteString value) {
3524
- if (value == null) {
3525
- throw new NullPointerException();
3526
- }
3527
- checkByteStringIsUtf8(value);
3528
- bitField0_ |= 0x00004000;
3529
- communityUrl_ = value;
3530
- onChanged();
3531
- return this;
3532
- }
3533
-
3534
- private java.lang.Object linkedinAccount_ = "";
3535
- /**
3536
- * <code>string linkedin_account = 21;</code>
3537
- * @return Whether the linkedinAccount field is set.
3538
- */
3539
- public boolean hasLinkedinAccount() {
3540
- return ((bitField0_ & 0x00008000) != 0);
3541
- }
3542
- /**
3543
- * <code>string linkedin_account = 21;</code>
3544
- * @return The linkedinAccount.
3545
- */
3546
- public java.lang.String getLinkedinAccount() {
3547
- java.lang.Object ref = linkedinAccount_;
3548
- if (!(ref instanceof java.lang.String)) {
3549
- com.google.protobuf.ByteString bs =
3550
- (com.google.protobuf.ByteString) ref;
3551
- java.lang.String s = bs.toStringUtf8();
3552
- linkedinAccount_ = s;
3553
- return s;
3554
- } else {
3555
- return (java.lang.String) ref;
3556
- }
3557
- }
3558
- /**
3559
- * <code>string linkedin_account = 21;</code>
3560
- * @return The bytes for linkedinAccount.
3561
- */
3562
- public com.google.protobuf.ByteString
3563
- getLinkedinAccountBytes() {
3564
- java.lang.Object ref = linkedinAccount_;
3565
- if (ref instanceof String) {
3566
- com.google.protobuf.ByteString b =
3567
- com.google.protobuf.ByteString.copyFromUtf8(
3568
- (java.lang.String) ref);
3569
- linkedinAccount_ = b;
3570
- return b;
3571
- } else {
3572
- return (com.google.protobuf.ByteString) ref;
3573
- }
3574
- }
3575
- /**
3576
- * <code>string linkedin_account = 21;</code>
3577
- * @param value The linkedinAccount to set.
3578
- * @return This builder for chaining.
3579
- */
3580
- public Builder setLinkedinAccount(
3581
- java.lang.String value) {
3582
- if (value == null) {
3583
- throw new NullPointerException();
3584
- }
3585
- bitField0_ |= 0x00008000;
3586
- linkedinAccount_ = value;
3587
- onChanged();
3588
- return this;
3589
- }
3590
- /**
3591
- * <code>string linkedin_account = 21;</code>
3592
- * @return This builder for chaining.
3593
- */
3594
- public Builder clearLinkedinAccount() {
3595
- bitField0_ = (bitField0_ & ~0x00008000);
3596
- linkedinAccount_ = getDefaultInstance().getLinkedinAccount();
3597
- onChanged();
3598
- return this;
3599
- }
3600
- /**
3601
- * <code>string linkedin_account = 21;</code>
3602
- * @param value The bytes for linkedinAccount to set.
3603
- * @return This builder for chaining.
3604
- */
3605
- public Builder setLinkedinAccountBytes(
3606
- com.google.protobuf.ByteString value) {
3607
- if (value == null) {
3608
- throw new NullPointerException();
3609
- }
3610
- checkByteStringIsUtf8(value);
3611
- bitField0_ |= 0x00008000;
3612
- linkedinAccount_ = value;
3613
- onChanged();
3614
- return this;
3615
- }
3616
-
3617
- private java.lang.Object instagramAccount_ = "";
3618
- /**
3619
- * <code>string instagram_account = 22;</code>
3620
- * @return Whether the instagramAccount field is set.
3621
- */
3622
- public boolean hasInstagramAccount() {
3623
- return ((bitField0_ & 0x00010000) != 0);
3624
- }
3625
- /**
3626
- * <code>string instagram_account = 22;</code>
3627
- * @return The instagramAccount.
3628
- */
3629
- public java.lang.String getInstagramAccount() {
3630
- java.lang.Object ref = instagramAccount_;
3631
- if (!(ref instanceof java.lang.String)) {
3632
- com.google.protobuf.ByteString bs =
3633
- (com.google.protobuf.ByteString) ref;
3634
- java.lang.String s = bs.toStringUtf8();
3635
- instagramAccount_ = s;
3636
- return s;
3637
- } else {
3638
- return (java.lang.String) ref;
3639
- }
3640
- }
3641
- /**
3642
- * <code>string instagram_account = 22;</code>
3643
- * @return The bytes for instagramAccount.
3644
- */
3645
- public com.google.protobuf.ByteString
3646
- getInstagramAccountBytes() {
3647
- java.lang.Object ref = instagramAccount_;
3648
- if (ref instanceof String) {
3649
- com.google.protobuf.ByteString b =
3650
- com.google.protobuf.ByteString.copyFromUtf8(
3651
- (java.lang.String) ref);
3652
- instagramAccount_ = b;
3653
- return b;
3654
- } else {
3655
- return (com.google.protobuf.ByteString) ref;
3656
- }
3657
- }
3658
- /**
3659
- * <code>string instagram_account = 22;</code>
3660
- * @param value The instagramAccount to set.
3661
- * @return This builder for chaining.
3662
- */
3663
- public Builder setInstagramAccount(
3664
- java.lang.String value) {
3665
- if (value == null) {
3666
- throw new NullPointerException();
3667
- }
3668
- bitField0_ |= 0x00010000;
3669
- instagramAccount_ = value;
3670
- onChanged();
3671
- return this;
3672
- }
3673
- /**
3674
- * <code>string instagram_account = 22;</code>
3675
- * @return This builder for chaining.
3676
- */
3677
- public Builder clearInstagramAccount() {
3678
- bitField0_ = (bitField0_ & ~0x00010000);
3679
- instagramAccount_ = getDefaultInstance().getInstagramAccount();
3680
- onChanged();
3681
- return this;
3682
- }
3683
- /**
3684
- * <code>string instagram_account = 22;</code>
3685
- * @param value The bytes for instagramAccount to set.
3686
- * @return This builder for chaining.
3687
- */
3688
- public Builder setInstagramAccountBytes(
3689
- com.google.protobuf.ByteString value) {
3690
- if (value == null) {
3691
- throw new NullPointerException();
3692
- }
3693
- checkByteStringIsUtf8(value);
3694
- bitField0_ |= 0x00010000;
3695
- instagramAccount_ = value;
3696
- onChanged();
3697
- return this;
3698
- }
3699
-
3700
- private java.lang.Object youtubeAccount_ = "";
3701
- /**
3702
- * <code>string youtube_account = 23;</code>
3703
- * @return Whether the youtubeAccount field is set.
3704
- */
3705
- public boolean hasYoutubeAccount() {
3706
- return ((bitField0_ & 0x00020000) != 0);
3707
- }
3708
- /**
3709
- * <code>string youtube_account = 23;</code>
3710
- * @return The youtubeAccount.
3711
- */
3712
- public java.lang.String getYoutubeAccount() {
3713
- java.lang.Object ref = youtubeAccount_;
3714
- if (!(ref instanceof java.lang.String)) {
3715
- com.google.protobuf.ByteString bs =
3716
- (com.google.protobuf.ByteString) ref;
3717
- java.lang.String s = bs.toStringUtf8();
3718
- youtubeAccount_ = s;
3719
- return s;
3720
- } else {
3721
- return (java.lang.String) ref;
3722
- }
3723
- }
3724
- /**
3725
- * <code>string youtube_account = 23;</code>
3726
- * @return The bytes for youtubeAccount.
3727
- */
3728
- public com.google.protobuf.ByteString
3729
- getYoutubeAccountBytes() {
3730
- java.lang.Object ref = youtubeAccount_;
3731
- if (ref instanceof String) {
3732
- com.google.protobuf.ByteString b =
3733
- com.google.protobuf.ByteString.copyFromUtf8(
3734
- (java.lang.String) ref);
3735
- youtubeAccount_ = b;
3736
- return b;
3737
- } else {
3738
- return (com.google.protobuf.ByteString) ref;
3739
- }
3740
- }
3741
- /**
3742
- * <code>string youtube_account = 23;</code>
3743
- * @param value The youtubeAccount to set.
3744
- * @return This builder for chaining.
3745
- */
3746
- public Builder setYoutubeAccount(
3747
- java.lang.String value) {
3748
- if (value == null) {
3749
- throw new NullPointerException();
3750
- }
3751
- bitField0_ |= 0x00020000;
3752
- youtubeAccount_ = value;
3753
- onChanged();
3754
- return this;
3755
- }
3756
- /**
3757
- * <code>string youtube_account = 23;</code>
3758
- * @return This builder for chaining.
3759
- */
3760
- public Builder clearYoutubeAccount() {
3761
- bitField0_ = (bitField0_ & ~0x00020000);
3762
- youtubeAccount_ = getDefaultInstance().getYoutubeAccount();
3763
- onChanged();
3764
- return this;
3765
- }
3766
- /**
3767
- * <code>string youtube_account = 23;</code>
3768
- * @param value The bytes for youtubeAccount to set.
3769
- * @return This builder for chaining.
3770
- */
3771
- public Builder setYoutubeAccountBytes(
3772
- com.google.protobuf.ByteString value) {
3773
- if (value == null) {
3774
- throw new NullPointerException();
3775
- }
3776
- checkByteStringIsUtf8(value);
3777
- bitField0_ |= 0x00020000;
3778
- youtubeAccount_ = value;
3779
- onChanged();
3780
- return this;
3781
- }
3782
-
3783
- private java.lang.Object pinterestAccount_ = "";
3784
- /**
3785
- * <code>string pinterest_account = 24;</code>
3786
- * @return Whether the pinterestAccount field is set.
3787
- */
3788
- public boolean hasPinterestAccount() {
3789
- return ((bitField0_ & 0x00040000) != 0);
3790
- }
3791
- /**
3792
- * <code>string pinterest_account = 24;</code>
3793
- * @return The pinterestAccount.
3794
- */
3795
- public java.lang.String getPinterestAccount() {
3796
- java.lang.Object ref = pinterestAccount_;
3797
- if (!(ref instanceof java.lang.String)) {
3798
- com.google.protobuf.ByteString bs =
3799
- (com.google.protobuf.ByteString) ref;
3800
- java.lang.String s = bs.toStringUtf8();
3801
- pinterestAccount_ = s;
3802
- return s;
3803
- } else {
3804
- return (java.lang.String) ref;
3805
- }
3806
- }
3807
- /**
3808
- * <code>string pinterest_account = 24;</code>
3809
- * @return The bytes for pinterestAccount.
3810
- */
3811
- public com.google.protobuf.ByteString
3812
- getPinterestAccountBytes() {
3813
- java.lang.Object ref = pinterestAccount_;
3814
- if (ref instanceof String) {
3815
- com.google.protobuf.ByteString b =
3816
- com.google.protobuf.ByteString.copyFromUtf8(
3817
- (java.lang.String) ref);
3818
- pinterestAccount_ = b;
3819
- return b;
3820
- } else {
3821
- return (com.google.protobuf.ByteString) ref;
3822
- }
3823
- }
3824
- /**
3825
- * <code>string pinterest_account = 24;</code>
3826
- * @param value The pinterestAccount to set.
3827
- * @return This builder for chaining.
3828
- */
3829
- public Builder setPinterestAccount(
3830
- java.lang.String value) {
3831
- if (value == null) {
3832
- throw new NullPointerException();
3833
- }
3834
- bitField0_ |= 0x00040000;
3835
- pinterestAccount_ = value;
3836
- onChanged();
3837
- return this;
3838
- }
3839
- /**
3840
- * <code>string pinterest_account = 24;</code>
3841
- * @return This builder for chaining.
3842
- */
3843
- public Builder clearPinterestAccount() {
3844
- bitField0_ = (bitField0_ & ~0x00040000);
3845
- pinterestAccount_ = getDefaultInstance().getPinterestAccount();
3846
- onChanged();
3847
- return this;
3848
- }
3849
- /**
3850
- * <code>string pinterest_account = 24;</code>
3851
- * @param value The bytes for pinterestAccount to set.
3852
- * @return This builder for chaining.
3853
- */
3854
- public Builder setPinterestAccountBytes(
3855
- com.google.protobuf.ByteString value) {
3856
- if (value == null) {
3857
- throw new NullPointerException();
3858
- }
3859
- checkByteStringIsUtf8(value);
3860
- bitField0_ |= 0x00040000;
3861
- pinterestAccount_ = value;
3862
- onChanged();
3863
- return this;
3864
- }
3865
-
3866
- private boolean classHardware_ ;
3867
- /**
3868
- * <code>bool class_hardware = 25;</code>
3869
- * @return Whether the classHardware field is set.
3870
- */
3871
- @java.lang.Override
3872
- public boolean hasClassHardware() {
3873
- return ((bitField0_ & 0x00080000) != 0);
3874
- }
3875
- /**
3876
- * <code>bool class_hardware = 25;</code>
3877
- * @return The classHardware.
3878
- */
3879
- @java.lang.Override
3880
- public boolean getClassHardware() {
3881
- return classHardware_;
3882
- }
3883
- /**
3884
- * <code>bool class_hardware = 25;</code>
3885
- * @param value The classHardware to set.
3886
- * @return This builder for chaining.
3887
- */
3888
- public Builder setClassHardware(boolean value) {
3889
- bitField0_ |= 0x00080000;
3890
- classHardware_ = value;
3891
- onChanged();
3892
- return this;
3893
- }
3894
- /**
3895
- * <code>bool class_hardware = 25;</code>
3896
- * @return This builder for chaining.
3897
- */
3898
- public Builder clearClassHardware() {
3899
- bitField0_ = (bitField0_ & ~0x00080000);
3900
- classHardware_ = false;
3901
- onChanged();
3902
- return this;
3903
- }
3904
-
3905
- private boolean classSoftware_ ;
3906
- /**
3907
- * <code>bool class_software = 26;</code>
3908
- * @return Whether the classSoftware field is set.
3909
- */
3910
- @java.lang.Override
3911
- public boolean hasClassSoftware() {
3912
- return ((bitField0_ & 0x00100000) != 0);
3913
- }
3914
- /**
3915
- * <code>bool class_software = 26;</code>
3916
- * @return The classSoftware.
3917
- */
3918
- @java.lang.Override
3919
- public boolean getClassSoftware() {
3920
- return classSoftware_;
3921
- }
3922
- /**
3923
- * <code>bool class_software = 26;</code>
3924
- * @param value The classSoftware to set.
3925
- * @return This builder for chaining.
3926
- */
3927
- public Builder setClassSoftware(boolean value) {
3928
- bitField0_ |= 0x00100000;
3929
- classSoftware_ = value;
3930
- onChanged();
3931
- return this;
3932
- }
3933
- /**
3934
- * <code>bool class_software = 26;</code>
3935
- * @return This builder for chaining.
3936
- */
3937
- public Builder clearClassSoftware() {
3938
- bitField0_ = (bitField0_ & ~0x00100000);
3939
- classSoftware_ = false;
3940
- onChanged();
3941
- return this;
3942
- }
3943
-
3944
- private boolean classConsumer_ ;
3945
- /**
3946
- * <code>bool class_consumer = 27;</code>
3947
- * @return Whether the classConsumer field is set.
3948
- */
3949
- @java.lang.Override
3950
- public boolean hasClassConsumer() {
3951
- return ((bitField0_ & 0x00200000) != 0);
3952
- }
3953
- /**
3954
- * <code>bool class_consumer = 27;</code>
3955
- * @return The classConsumer.
3956
- */
3957
- @java.lang.Override
3958
- public boolean getClassConsumer() {
3959
- return classConsumer_;
3960
- }
3961
- /**
3962
- * <code>bool class_consumer = 27;</code>
3963
- * @param value The classConsumer to set.
3964
- * @return This builder for chaining.
3965
- */
3966
- public Builder setClassConsumer(boolean value) {
3967
- bitField0_ |= 0x00200000;
3968
- classConsumer_ = value;
3969
- onChanged();
3970
- return this;
3971
- }
3972
- /**
3973
- * <code>bool class_consumer = 27;</code>
3974
- * @return This builder for chaining.
3975
- */
3976
- public Builder clearClassConsumer() {
3977
- bitField0_ = (bitField0_ & ~0x00200000);
3978
- classConsumer_ = false;
3979
- onChanged();
3980
- return this;
3981
- }
3982
-
3983
- private boolean classEnterprise_ ;
3984
- /**
3985
- * <code>bool class_enterprise = 28;</code>
3986
- * @return Whether the classEnterprise field is set.
3987
- */
3988
- @java.lang.Override
3989
- public boolean hasClassEnterprise() {
3990
- return ((bitField0_ & 0x00400000) != 0);
3991
- }
3992
- /**
3993
- * <code>bool class_enterprise = 28;</code>
3994
- * @return The classEnterprise.
3995
- */
3996
- @java.lang.Override
3997
- public boolean getClassEnterprise() {
3998
- return classEnterprise_;
3999
- }
4000
- /**
4001
- * <code>bool class_enterprise = 28;</code>
4002
- * @param value The classEnterprise to set.
4003
- * @return This builder for chaining.
4004
- */
4005
- public Builder setClassEnterprise(boolean value) {
4006
- bitField0_ |= 0x00400000;
4007
- classEnterprise_ = value;
4008
- onChanged();
4009
- return this;
4010
- }
4011
- /**
4012
- * <code>bool class_enterprise = 28;</code>
4013
- * @return This builder for chaining.
4014
- */
4015
- public Builder clearClassEnterprise() {
4016
- bitField0_ = (bitField0_ & ~0x00400000);
4017
- classEnterprise_ = false;
4018
- onChanged();
4019
- return this;
4020
- }
4021
-
4022
- private boolean classIndustrial_ ;
4023
- /**
4024
- * <code>bool class_industrial = 29;</code>
4025
- * @return Whether the classIndustrial field is set.
4026
- */
4027
- @java.lang.Override
4028
- public boolean hasClassIndustrial() {
4029
- return ((bitField0_ & 0x00800000) != 0);
4030
- }
4031
- /**
4032
- * <code>bool class_industrial = 29;</code>
4033
- * @return The classIndustrial.
4034
- */
4035
- @java.lang.Override
4036
- public boolean getClassIndustrial() {
4037
- return classIndustrial_;
4038
- }
4039
- /**
4040
- * <code>bool class_industrial = 29;</code>
4041
- * @param value The classIndustrial to set.
4042
- * @return This builder for chaining.
4043
- */
4044
- public Builder setClassIndustrial(boolean value) {
4045
- bitField0_ |= 0x00800000;
4046
- classIndustrial_ = value;
4047
- onChanged();
4048
- return this;
4049
- }
4050
- /**
4051
- * <code>bool class_industrial = 29;</code>
4052
- * @return This builder for chaining.
4053
- */
4054
- public Builder clearClassIndustrial() {
4055
- bitField0_ = (bitField0_ & ~0x00800000);
4056
- classIndustrial_ = false;
4057
- onChanged();
4058
- return this;
4059
- }
4060
-
4061
- private boolean classIndividual_ ;
4062
- /**
4063
- * <code>bool class_individual = 30;</code>
4064
- * @return Whether the classIndividual field is set.
4065
- */
4066
- @java.lang.Override
4067
- public boolean hasClassIndividual() {
4068
- return ((bitField0_ & 0x01000000) != 0);
4069
- }
4070
- /**
4071
- * <code>bool class_individual = 30;</code>
4072
- * @return The classIndividual.
4073
- */
4074
- @java.lang.Override
4075
- public boolean getClassIndividual() {
4076
- return classIndividual_;
4077
- }
4078
- /**
4079
- * <code>bool class_individual = 30;</code>
4080
- * @param value The classIndividual to set.
4081
- * @return This builder for chaining.
4082
- */
4083
- public Builder setClassIndividual(boolean value) {
4084
- bitField0_ |= 0x01000000;
4085
- classIndividual_ = value;
4086
- onChanged();
4087
- return this;
4088
- }
4089
- /**
4090
- * <code>bool class_individual = 30;</code>
4091
- * @return This builder for chaining.
4092
- */
4093
- public Builder clearClassIndividual() {
4094
- bitField0_ = (bitField0_ & ~0x01000000);
4095
- classIndividual_ = false;
4096
- onChanged();
4097
- return this;
4098
- }
4099
-
4100
- private int matchScore_ ;
4101
- /**
4102
- * <pre>
4103
- * relevant only in search result
4104
- * </pre>
4105
- *
4106
- * <code>int32 match_score = 19;</code>
4107
- * @return Whether the matchScore field is set.
4108
- */
4109
- @java.lang.Override
4110
- public boolean hasMatchScore() {
4111
- return ((bitField0_ & 0x02000000) != 0);
4112
- }
4113
- /**
4114
- * <pre>
4115
- * relevant only in search result
4116
- * </pre>
4117
- *
4118
- * <code>int32 match_score = 19;</code>
4119
- * @return The matchScore.
4120
- */
4121
- @java.lang.Override
4122
- public int getMatchScore() {
4123
- return matchScore_;
4124
- }
4125
- /**
4126
- * <pre>
4127
- * relevant only in search result
4128
- * </pre>
4129
- *
4130
- * <code>int32 match_score = 19;</code>
4131
- * @param value The matchScore to set.
4132
- * @return This builder for chaining.
4133
- */
4134
- public Builder setMatchScore(int value) {
4135
- bitField0_ |= 0x02000000;
4136
- matchScore_ = value;
4137
- onChanged();
4138
- return this;
4139
- }
4140
- /**
4141
- * <pre>
4142
- * relevant only in search result
4143
- * </pre>
4144
- *
4145
- * <code>int32 match_score = 19;</code>
4146
- * @return This builder for chaining.
4147
- */
4148
- public Builder clearMatchScore() {
4149
- bitField0_ = (bitField0_ & ~0x02000000);
4150
- matchScore_ = 0;
4151
- onChanged();
4152
- return this;
4153
- }
4154
- @java.lang.Override
4155
- public final Builder setUnknownFields(
4156
- final com.google.protobuf.UnknownFieldSet unknownFields) {
4157
- return super.setUnknownFields(unknownFields);
4158
- }
4159
-
4160
- @java.lang.Override
4161
- public final Builder mergeUnknownFields(
4162
- final com.google.protobuf.UnknownFieldSet unknownFields) {
4163
- return super.mergeUnknownFields(unknownFields);
4164
- }
4165
-
4166
-
4167
- // @@protoc_insertion_point(builder_scope:com.lansweeper.dp.outbound.v1.CatalogBrand)
4168
- }
4169
-
4170
- // @@protoc_insertion_point(class_scope:com.lansweeper.dp.outbound.v1.CatalogBrand)
4171
- private static final com.lansweeper.dp.outbound.v1.CatalogBrand DEFAULT_INSTANCE;
4172
- static {
4173
- DEFAULT_INSTANCE = new com.lansweeper.dp.outbound.v1.CatalogBrand();
4174
- }
4175
-
4176
- public static com.lansweeper.dp.outbound.v1.CatalogBrand getDefaultInstance() {
4177
- return DEFAULT_INSTANCE;
4178
- }
4179
-
4180
- private static final com.google.protobuf.Parser<CatalogBrand>
4181
- PARSER = new com.google.protobuf.AbstractParser<CatalogBrand>() {
4182
- @java.lang.Override
4183
- public CatalogBrand parsePartialFrom(
4184
- com.google.protobuf.CodedInputStream input,
4185
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4186
- throws com.google.protobuf.InvalidProtocolBufferException {
4187
- return new CatalogBrand(input, extensionRegistry);
4188
- }
4189
- };
4190
-
4191
- public static com.google.protobuf.Parser<CatalogBrand> parser() {
4192
- return PARSER;
4193
- }
4194
-
4195
- @java.lang.Override
4196
- public com.google.protobuf.Parser<CatalogBrand> getParserForType() {
4197
- return PARSER;
4198
- }
4199
-
4200
- @java.lang.Override
4201
- public com.lansweeper.dp.outbound.v1.CatalogBrand getDefaultInstanceForType() {
4202
- return DEFAULT_INSTANCE;
4203
- }
4204
-
4205
- }
4206
-