@lansweeper/integrations-assets-grpc 0.2.0 → 0.2.1

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 (53) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/java.json +1 -1
  3. package/package.json +7 -6
  4. package/target/{integrations-assets-model-0.1.6-sources.jar → integrations-assets-model-0.2.0-sources.jar} +0 -0
  5. package/target/{integrations-assets-model-0.1.6.jar → integrations-assets-model-0.2.0.jar} +0 -0
  6. package/target/maven-archiver/pom.properties +2 -2
  7. package/pom.xml +0 -76
  8. package/target/classes/lansweeper/integrations/assets/v1/Asset$1.class +0 -0
  9. package/target/classes/lansweeper/integrations/assets/v1/Asset$Builder.class +0 -0
  10. package/target/classes/lansweeper/integrations/assets/v1/Asset.class +0 -0
  11. package/target/classes/lansweeper/integrations/assets/v1/AssetBasicInfo$1.class +0 -0
  12. package/target/classes/lansweeper/integrations/assets/v1/AssetBasicInfo$Builder.class +0 -0
  13. package/target/classes/lansweeper/integrations/assets/v1/AssetBasicInfo.class +0 -0
  14. package/target/classes/lansweeper/integrations/assets/v1/AssetBasicInfoOrBuilder.class +0 -0
  15. package/target/classes/lansweeper/integrations/assets/v1/AssetCustom$1.class +0 -0
  16. package/target/classes/lansweeper/integrations/assets/v1/AssetCustom$Builder.class +0 -0
  17. package/target/classes/lansweeper/integrations/assets/v1/AssetCustom.class +0 -0
  18. package/target/classes/lansweeper/integrations/assets/v1/AssetCustomOrBuilder.class +0 -0
  19. package/target/classes/lansweeper/integrations/assets/v1/AssetOrBuilder.class +0 -0
  20. package/target/classes/lansweeper/integrations/assets/v1/Assets.class +0 -0
  21. package/target/classes/lansweeper/integrations/assets/v1/CloudAssetCustom$1.class +0 -0
  22. package/target/classes/lansweeper/integrations/assets/v1/CloudAssetCustom$Builder.class +0 -0
  23. package/target/classes/lansweeper/integrations/assets/v1/CloudAssetCustom.class +0 -0
  24. package/target/classes/lansweeper/integrations/assets/v1/CloudAssetCustomOrBuilder.class +0 -0
  25. package/target/classes/lansweeper/integrations/assets/v1/CustomField$1.class +0 -0
  26. package/target/classes/lansweeper/integrations/assets/v1/CustomField$Builder.class +0 -0
  27. package/target/classes/lansweeper/integrations/assets/v1/CustomField.class +0 -0
  28. package/target/classes/lansweeper/integrations/assets/v1/CustomFieldOrBuilder.class +0 -0
  29. package/target/classes/lansweeper/integrations/assets/v1/LockedFields$1.class +0 -0
  30. package/target/classes/lansweeper/integrations/assets/v1/LockedFields$Builder.class +0 -0
  31. package/target/classes/lansweeper/integrations/assets/v1/LockedFields.class +0 -0
  32. package/target/classes/lansweeper/integrations/assets/v1/LockedFieldsOrBuilder.class +0 -0
  33. package/target/classes/lansweeper/integrations/assets/v1/OtData$1.class +0 -0
  34. package/target/classes/lansweeper/integrations/assets/v1/OtData$Builder.class +0 -0
  35. package/target/classes/lansweeper/integrations/assets/v1/OtData.class +0 -0
  36. package/target/classes/lansweeper/integrations/assets/v1/OtDataOrBuilder.class +0 -0
  37. package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/Asset.java +0 -1470
  38. package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/AssetBasicInfo.java +0 -1588
  39. package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/AssetBasicInfoOrBuilder.java +0 -135
  40. package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/AssetCustom.java +0 -3847
  41. package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/AssetCustomOrBuilder.java +0 -368
  42. package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/AssetOrBuilder.java +0 -106
  43. package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/Assets.java +0 -182
  44. package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/CloudAssetCustom.java +0 -1473
  45. package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/CloudAssetCustomOrBuilder.java +0 -128
  46. package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/CustomField.java +0 -643
  47. package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/CustomFieldOrBuilder.java +0 -33
  48. package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/LockedFields.java +0 -2886
  49. package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/LockedFieldsOrBuilder.java +0 -281
  50. package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/OtData.java +0 -688
  51. package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/OtDataOrBuilder.java +0 -43
  52. package/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +0 -29
  53. package/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +0 -15
@@ -1,1473 +0,0 @@
1
- // Generated by the protocol buffer compiler. DO NOT EDIT!
2
- // source: assets.proto
3
-
4
- package lansweeper.integrations.assets.v1;
5
-
6
- /**
7
- * Protobuf type {@code lansweeper.integrations.assets.v1.CloudAssetCustom}
8
- */
9
- public final class CloudAssetCustom extends
10
- com.google.protobuf.GeneratedMessageV3 implements
11
- // @@protoc_insertion_point(message_implements:lansweeper.integrations.assets.v1.CloudAssetCustom)
12
- CloudAssetCustomOrBuilder {
13
- private static final long serialVersionUID = 0L;
14
- // Use CloudAssetCustom.newBuilder() to construct.
15
- private CloudAssetCustom(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
16
- super(builder);
17
- }
18
- private CloudAssetCustom() {
19
- purchaseOrderDate_ = "";
20
- costCenter_ = "";
21
- vendorName_ = "";
22
- invoiceNumber_ = "";
23
- acquisitionType_ = "";
24
- owner_ = "";
25
- industry_ = "";
26
- }
27
-
28
- @java.lang.Override
29
- @SuppressWarnings({"unused"})
30
- protected java.lang.Object newInstance(
31
- UnusedPrivateParameter unused) {
32
- return new CloudAssetCustom();
33
- }
34
-
35
- public static final com.google.protobuf.Descriptors.Descriptor
36
- getDescriptor() {
37
- return lansweeper.integrations.assets.v1.Assets.internal_static_lansweeper_integrations_assets_v1_CloudAssetCustom_descriptor;
38
- }
39
-
40
- @java.lang.Override
41
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
42
- internalGetFieldAccessorTable() {
43
- return lansweeper.integrations.assets.v1.Assets.internal_static_lansweeper_integrations_assets_v1_CloudAssetCustom_fieldAccessorTable
44
- .ensureFieldAccessorsInitialized(
45
- lansweeper.integrations.assets.v1.CloudAssetCustom.class, lansweeper.integrations.assets.v1.CloudAssetCustom.Builder.class);
46
- }
47
-
48
- private int bitField0_;
49
- public static final int PURCHASE_ORDER_DATE_FIELD_NUMBER = 1;
50
- @SuppressWarnings("serial")
51
- private volatile java.lang.Object purchaseOrderDate_ = "";
52
- /**
53
- * <code>optional string purchase_order_date = 1;</code>
54
- * @return Whether the purchaseOrderDate field is set.
55
- */
56
- @java.lang.Override
57
- public boolean hasPurchaseOrderDate() {
58
- return ((bitField0_ & 0x00000001) != 0);
59
- }
60
- /**
61
- * <code>optional string purchase_order_date = 1;</code>
62
- * @return The purchaseOrderDate.
63
- */
64
- @java.lang.Override
65
- public java.lang.String getPurchaseOrderDate() {
66
- java.lang.Object ref = purchaseOrderDate_;
67
- if (ref instanceof java.lang.String) {
68
- return (java.lang.String) ref;
69
- } else {
70
- com.google.protobuf.ByteString bs =
71
- (com.google.protobuf.ByteString) ref;
72
- java.lang.String s = bs.toStringUtf8();
73
- purchaseOrderDate_ = s;
74
- return s;
75
- }
76
- }
77
- /**
78
- * <code>optional string purchase_order_date = 1;</code>
79
- * @return The bytes for purchaseOrderDate.
80
- */
81
- @java.lang.Override
82
- public com.google.protobuf.ByteString
83
- getPurchaseOrderDateBytes() {
84
- java.lang.Object ref = purchaseOrderDate_;
85
- if (ref instanceof java.lang.String) {
86
- com.google.protobuf.ByteString b =
87
- com.google.protobuf.ByteString.copyFromUtf8(
88
- (java.lang.String) ref);
89
- purchaseOrderDate_ = b;
90
- return b;
91
- } else {
92
- return (com.google.protobuf.ByteString) ref;
93
- }
94
- }
95
-
96
- public static final int COST_CENTER_FIELD_NUMBER = 2;
97
- @SuppressWarnings("serial")
98
- private volatile java.lang.Object costCenter_ = "";
99
- /**
100
- * <code>optional string cost_center = 2;</code>
101
- * @return Whether the costCenter field is set.
102
- */
103
- @java.lang.Override
104
- public boolean hasCostCenter() {
105
- return ((bitField0_ & 0x00000002) != 0);
106
- }
107
- /**
108
- * <code>optional string cost_center = 2;</code>
109
- * @return The costCenter.
110
- */
111
- @java.lang.Override
112
- public java.lang.String getCostCenter() {
113
- java.lang.Object ref = costCenter_;
114
- if (ref instanceof java.lang.String) {
115
- return (java.lang.String) ref;
116
- } else {
117
- com.google.protobuf.ByteString bs =
118
- (com.google.protobuf.ByteString) ref;
119
- java.lang.String s = bs.toStringUtf8();
120
- costCenter_ = s;
121
- return s;
122
- }
123
- }
124
- /**
125
- * <code>optional string cost_center = 2;</code>
126
- * @return The bytes for costCenter.
127
- */
128
- @java.lang.Override
129
- public com.google.protobuf.ByteString
130
- getCostCenterBytes() {
131
- java.lang.Object ref = costCenter_;
132
- if (ref instanceof java.lang.String) {
133
- com.google.protobuf.ByteString b =
134
- com.google.protobuf.ByteString.copyFromUtf8(
135
- (java.lang.String) ref);
136
- costCenter_ = b;
137
- return b;
138
- } else {
139
- return (com.google.protobuf.ByteString) ref;
140
- }
141
- }
142
-
143
- public static final int VENDOR_NAME_FIELD_NUMBER = 3;
144
- @SuppressWarnings("serial")
145
- private volatile java.lang.Object vendorName_ = "";
146
- /**
147
- * <code>optional string vendor_name = 3;</code>
148
- * @return Whether the vendorName field is set.
149
- */
150
- @java.lang.Override
151
- public boolean hasVendorName() {
152
- return ((bitField0_ & 0x00000004) != 0);
153
- }
154
- /**
155
- * <code>optional string vendor_name = 3;</code>
156
- * @return The vendorName.
157
- */
158
- @java.lang.Override
159
- public java.lang.String getVendorName() {
160
- java.lang.Object ref = vendorName_;
161
- if (ref instanceof java.lang.String) {
162
- return (java.lang.String) ref;
163
- } else {
164
- com.google.protobuf.ByteString bs =
165
- (com.google.protobuf.ByteString) ref;
166
- java.lang.String s = bs.toStringUtf8();
167
- vendorName_ = s;
168
- return s;
169
- }
170
- }
171
- /**
172
- * <code>optional string vendor_name = 3;</code>
173
- * @return The bytes for vendorName.
174
- */
175
- @java.lang.Override
176
- public com.google.protobuf.ByteString
177
- getVendorNameBytes() {
178
- java.lang.Object ref = vendorName_;
179
- if (ref instanceof java.lang.String) {
180
- com.google.protobuf.ByteString b =
181
- com.google.protobuf.ByteString.copyFromUtf8(
182
- (java.lang.String) ref);
183
- vendorName_ = b;
184
- return b;
185
- } else {
186
- return (com.google.protobuf.ByteString) ref;
187
- }
188
- }
189
-
190
- public static final int INVOICE_NUMBER_FIELD_NUMBER = 4;
191
- @SuppressWarnings("serial")
192
- private volatile java.lang.Object invoiceNumber_ = "";
193
- /**
194
- * <code>optional string invoice_number = 4;</code>
195
- * @return Whether the invoiceNumber field is set.
196
- */
197
- @java.lang.Override
198
- public boolean hasInvoiceNumber() {
199
- return ((bitField0_ & 0x00000008) != 0);
200
- }
201
- /**
202
- * <code>optional string invoice_number = 4;</code>
203
- * @return The invoiceNumber.
204
- */
205
- @java.lang.Override
206
- public java.lang.String getInvoiceNumber() {
207
- java.lang.Object ref = invoiceNumber_;
208
- if (ref instanceof java.lang.String) {
209
- return (java.lang.String) ref;
210
- } else {
211
- com.google.protobuf.ByteString bs =
212
- (com.google.protobuf.ByteString) ref;
213
- java.lang.String s = bs.toStringUtf8();
214
- invoiceNumber_ = s;
215
- return s;
216
- }
217
- }
218
- /**
219
- * <code>optional string invoice_number = 4;</code>
220
- * @return The bytes for invoiceNumber.
221
- */
222
- @java.lang.Override
223
- public com.google.protobuf.ByteString
224
- getInvoiceNumberBytes() {
225
- java.lang.Object ref = invoiceNumber_;
226
- if (ref instanceof java.lang.String) {
227
- com.google.protobuf.ByteString b =
228
- com.google.protobuf.ByteString.copyFromUtf8(
229
- (java.lang.String) ref);
230
- invoiceNumber_ = b;
231
- return b;
232
- } else {
233
- return (com.google.protobuf.ByteString) ref;
234
- }
235
- }
236
-
237
- public static final int ACQUISITION_TYPE_FIELD_NUMBER = 5;
238
- @SuppressWarnings("serial")
239
- private volatile java.lang.Object acquisitionType_ = "";
240
- /**
241
- * <code>optional string acquisition_type = 5;</code>
242
- * @return Whether the acquisitionType field is set.
243
- */
244
- @java.lang.Override
245
- public boolean hasAcquisitionType() {
246
- return ((bitField0_ & 0x00000010) != 0);
247
- }
248
- /**
249
- * <code>optional string acquisition_type = 5;</code>
250
- * @return The acquisitionType.
251
- */
252
- @java.lang.Override
253
- public java.lang.String getAcquisitionType() {
254
- java.lang.Object ref = acquisitionType_;
255
- if (ref instanceof java.lang.String) {
256
- return (java.lang.String) ref;
257
- } else {
258
- com.google.protobuf.ByteString bs =
259
- (com.google.protobuf.ByteString) ref;
260
- java.lang.String s = bs.toStringUtf8();
261
- acquisitionType_ = s;
262
- return s;
263
- }
264
- }
265
- /**
266
- * <code>optional string acquisition_type = 5;</code>
267
- * @return The bytes for acquisitionType.
268
- */
269
- @java.lang.Override
270
- public com.google.protobuf.ByteString
271
- getAcquisitionTypeBytes() {
272
- java.lang.Object ref = acquisitionType_;
273
- if (ref instanceof java.lang.String) {
274
- com.google.protobuf.ByteString b =
275
- com.google.protobuf.ByteString.copyFromUtf8(
276
- (java.lang.String) ref);
277
- acquisitionType_ = b;
278
- return b;
279
- } else {
280
- return (com.google.protobuf.ByteString) ref;
281
- }
282
- }
283
-
284
- public static final int OWNER_FIELD_NUMBER = 6;
285
- @SuppressWarnings("serial")
286
- private volatile java.lang.Object owner_ = "";
287
- /**
288
- * <code>optional string owner = 6;</code>
289
- * @return Whether the owner field is set.
290
- */
291
- @java.lang.Override
292
- public boolean hasOwner() {
293
- return ((bitField0_ & 0x00000020) != 0);
294
- }
295
- /**
296
- * <code>optional string owner = 6;</code>
297
- * @return The owner.
298
- */
299
- @java.lang.Override
300
- public java.lang.String getOwner() {
301
- java.lang.Object ref = owner_;
302
- if (ref instanceof java.lang.String) {
303
- return (java.lang.String) ref;
304
- } else {
305
- com.google.protobuf.ByteString bs =
306
- (com.google.protobuf.ByteString) ref;
307
- java.lang.String s = bs.toStringUtf8();
308
- owner_ = s;
309
- return s;
310
- }
311
- }
312
- /**
313
- * <code>optional string owner = 6;</code>
314
- * @return The bytes for owner.
315
- */
316
- @java.lang.Override
317
- public com.google.protobuf.ByteString
318
- getOwnerBytes() {
319
- java.lang.Object ref = owner_;
320
- if (ref instanceof java.lang.String) {
321
- com.google.protobuf.ByteString b =
322
- com.google.protobuf.ByteString.copyFromUtf8(
323
- (java.lang.String) ref);
324
- owner_ = b;
325
- return b;
326
- } else {
327
- return (com.google.protobuf.ByteString) ref;
328
- }
329
- }
330
-
331
- public static final int INDUSTRY_FIELD_NUMBER = 7;
332
- @SuppressWarnings("serial")
333
- private volatile java.lang.Object industry_ = "";
334
- /**
335
- * <code>optional string industry = 7;</code>
336
- * @return Whether the industry field is set.
337
- */
338
- @java.lang.Override
339
- public boolean hasIndustry() {
340
- return ((bitField0_ & 0x00000040) != 0);
341
- }
342
- /**
343
- * <code>optional string industry = 7;</code>
344
- * @return The industry.
345
- */
346
- @java.lang.Override
347
- public java.lang.String getIndustry() {
348
- java.lang.Object ref = industry_;
349
- if (ref instanceof java.lang.String) {
350
- return (java.lang.String) ref;
351
- } else {
352
- com.google.protobuf.ByteString bs =
353
- (com.google.protobuf.ByteString) ref;
354
- java.lang.String s = bs.toStringUtf8();
355
- industry_ = s;
356
- return s;
357
- }
358
- }
359
- /**
360
- * <code>optional string industry = 7;</code>
361
- * @return The bytes for industry.
362
- */
363
- @java.lang.Override
364
- public com.google.protobuf.ByteString
365
- getIndustryBytes() {
366
- java.lang.Object ref = industry_;
367
- if (ref instanceof java.lang.String) {
368
- com.google.protobuf.ByteString b =
369
- com.google.protobuf.ByteString.copyFromUtf8(
370
- (java.lang.String) ref);
371
- industry_ = b;
372
- return b;
373
- } else {
374
- return (com.google.protobuf.ByteString) ref;
375
- }
376
- }
377
-
378
- private byte memoizedIsInitialized = -1;
379
- @java.lang.Override
380
- public final boolean isInitialized() {
381
- byte isInitialized = memoizedIsInitialized;
382
- if (isInitialized == 1) return true;
383
- if (isInitialized == 0) return false;
384
-
385
- memoizedIsInitialized = 1;
386
- return true;
387
- }
388
-
389
- @java.lang.Override
390
- public void writeTo(com.google.protobuf.CodedOutputStream output)
391
- throws java.io.IOException {
392
- if (((bitField0_ & 0x00000001) != 0)) {
393
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, purchaseOrderDate_);
394
- }
395
- if (((bitField0_ & 0x00000002) != 0)) {
396
- com.google.protobuf.GeneratedMessageV3.writeString(output, 2, costCenter_);
397
- }
398
- if (((bitField0_ & 0x00000004) != 0)) {
399
- com.google.protobuf.GeneratedMessageV3.writeString(output, 3, vendorName_);
400
- }
401
- if (((bitField0_ & 0x00000008) != 0)) {
402
- com.google.protobuf.GeneratedMessageV3.writeString(output, 4, invoiceNumber_);
403
- }
404
- if (((bitField0_ & 0x00000010) != 0)) {
405
- com.google.protobuf.GeneratedMessageV3.writeString(output, 5, acquisitionType_);
406
- }
407
- if (((bitField0_ & 0x00000020) != 0)) {
408
- com.google.protobuf.GeneratedMessageV3.writeString(output, 6, owner_);
409
- }
410
- if (((bitField0_ & 0x00000040) != 0)) {
411
- com.google.protobuf.GeneratedMessageV3.writeString(output, 7, industry_);
412
- }
413
- getUnknownFields().writeTo(output);
414
- }
415
-
416
- @java.lang.Override
417
- public int getSerializedSize() {
418
- int size = memoizedSize;
419
- if (size != -1) return size;
420
-
421
- size = 0;
422
- if (((bitField0_ & 0x00000001) != 0)) {
423
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, purchaseOrderDate_);
424
- }
425
- if (((bitField0_ & 0x00000002) != 0)) {
426
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, costCenter_);
427
- }
428
- if (((bitField0_ & 0x00000004) != 0)) {
429
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, vendorName_);
430
- }
431
- if (((bitField0_ & 0x00000008) != 0)) {
432
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, invoiceNumber_);
433
- }
434
- if (((bitField0_ & 0x00000010) != 0)) {
435
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, acquisitionType_);
436
- }
437
- if (((bitField0_ & 0x00000020) != 0)) {
438
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, owner_);
439
- }
440
- if (((bitField0_ & 0x00000040) != 0)) {
441
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, industry_);
442
- }
443
- size += getUnknownFields().getSerializedSize();
444
- memoizedSize = size;
445
- return size;
446
- }
447
-
448
- @java.lang.Override
449
- public boolean equals(final java.lang.Object obj) {
450
- if (obj == this) {
451
- return true;
452
- }
453
- if (!(obj instanceof lansweeper.integrations.assets.v1.CloudAssetCustom)) {
454
- return super.equals(obj);
455
- }
456
- lansweeper.integrations.assets.v1.CloudAssetCustom other = (lansweeper.integrations.assets.v1.CloudAssetCustom) obj;
457
-
458
- if (hasPurchaseOrderDate() != other.hasPurchaseOrderDate()) return false;
459
- if (hasPurchaseOrderDate()) {
460
- if (!getPurchaseOrderDate()
461
- .equals(other.getPurchaseOrderDate())) return false;
462
- }
463
- if (hasCostCenter() != other.hasCostCenter()) return false;
464
- if (hasCostCenter()) {
465
- if (!getCostCenter()
466
- .equals(other.getCostCenter())) return false;
467
- }
468
- if (hasVendorName() != other.hasVendorName()) return false;
469
- if (hasVendorName()) {
470
- if (!getVendorName()
471
- .equals(other.getVendorName())) return false;
472
- }
473
- if (hasInvoiceNumber() != other.hasInvoiceNumber()) return false;
474
- if (hasInvoiceNumber()) {
475
- if (!getInvoiceNumber()
476
- .equals(other.getInvoiceNumber())) return false;
477
- }
478
- if (hasAcquisitionType() != other.hasAcquisitionType()) return false;
479
- if (hasAcquisitionType()) {
480
- if (!getAcquisitionType()
481
- .equals(other.getAcquisitionType())) return false;
482
- }
483
- if (hasOwner() != other.hasOwner()) return false;
484
- if (hasOwner()) {
485
- if (!getOwner()
486
- .equals(other.getOwner())) return false;
487
- }
488
- if (hasIndustry() != other.hasIndustry()) return false;
489
- if (hasIndustry()) {
490
- if (!getIndustry()
491
- .equals(other.getIndustry())) return false;
492
- }
493
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
494
- return true;
495
- }
496
-
497
- @java.lang.Override
498
- public int hashCode() {
499
- if (memoizedHashCode != 0) {
500
- return memoizedHashCode;
501
- }
502
- int hash = 41;
503
- hash = (19 * hash) + getDescriptor().hashCode();
504
- if (hasPurchaseOrderDate()) {
505
- hash = (37 * hash) + PURCHASE_ORDER_DATE_FIELD_NUMBER;
506
- hash = (53 * hash) + getPurchaseOrderDate().hashCode();
507
- }
508
- if (hasCostCenter()) {
509
- hash = (37 * hash) + COST_CENTER_FIELD_NUMBER;
510
- hash = (53 * hash) + getCostCenter().hashCode();
511
- }
512
- if (hasVendorName()) {
513
- hash = (37 * hash) + VENDOR_NAME_FIELD_NUMBER;
514
- hash = (53 * hash) + getVendorName().hashCode();
515
- }
516
- if (hasInvoiceNumber()) {
517
- hash = (37 * hash) + INVOICE_NUMBER_FIELD_NUMBER;
518
- hash = (53 * hash) + getInvoiceNumber().hashCode();
519
- }
520
- if (hasAcquisitionType()) {
521
- hash = (37 * hash) + ACQUISITION_TYPE_FIELD_NUMBER;
522
- hash = (53 * hash) + getAcquisitionType().hashCode();
523
- }
524
- if (hasOwner()) {
525
- hash = (37 * hash) + OWNER_FIELD_NUMBER;
526
- hash = (53 * hash) + getOwner().hashCode();
527
- }
528
- if (hasIndustry()) {
529
- hash = (37 * hash) + INDUSTRY_FIELD_NUMBER;
530
- hash = (53 * hash) + getIndustry().hashCode();
531
- }
532
- hash = (29 * hash) + getUnknownFields().hashCode();
533
- memoizedHashCode = hash;
534
- return hash;
535
- }
536
-
537
- public static lansweeper.integrations.assets.v1.CloudAssetCustom parseFrom(
538
- java.nio.ByteBuffer data)
539
- throws com.google.protobuf.InvalidProtocolBufferException {
540
- return PARSER.parseFrom(data);
541
- }
542
- public static lansweeper.integrations.assets.v1.CloudAssetCustom parseFrom(
543
- java.nio.ByteBuffer data,
544
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
545
- throws com.google.protobuf.InvalidProtocolBufferException {
546
- return PARSER.parseFrom(data, extensionRegistry);
547
- }
548
- public static lansweeper.integrations.assets.v1.CloudAssetCustom parseFrom(
549
- com.google.protobuf.ByteString data)
550
- throws com.google.protobuf.InvalidProtocolBufferException {
551
- return PARSER.parseFrom(data);
552
- }
553
- public static lansweeper.integrations.assets.v1.CloudAssetCustom parseFrom(
554
- com.google.protobuf.ByteString data,
555
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
556
- throws com.google.protobuf.InvalidProtocolBufferException {
557
- return PARSER.parseFrom(data, extensionRegistry);
558
- }
559
- public static lansweeper.integrations.assets.v1.CloudAssetCustom parseFrom(byte[] data)
560
- throws com.google.protobuf.InvalidProtocolBufferException {
561
- return PARSER.parseFrom(data);
562
- }
563
- public static lansweeper.integrations.assets.v1.CloudAssetCustom parseFrom(
564
- byte[] data,
565
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
566
- throws com.google.protobuf.InvalidProtocolBufferException {
567
- return PARSER.parseFrom(data, extensionRegistry);
568
- }
569
- public static lansweeper.integrations.assets.v1.CloudAssetCustom parseFrom(java.io.InputStream input)
570
- throws java.io.IOException {
571
- return com.google.protobuf.GeneratedMessageV3
572
- .parseWithIOException(PARSER, input);
573
- }
574
- public static lansweeper.integrations.assets.v1.CloudAssetCustom parseFrom(
575
- java.io.InputStream input,
576
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
577
- throws java.io.IOException {
578
- return com.google.protobuf.GeneratedMessageV3
579
- .parseWithIOException(PARSER, input, extensionRegistry);
580
- }
581
- public static lansweeper.integrations.assets.v1.CloudAssetCustom parseDelimitedFrom(java.io.InputStream input)
582
- throws java.io.IOException {
583
- return com.google.protobuf.GeneratedMessageV3
584
- .parseDelimitedWithIOException(PARSER, input);
585
- }
586
- public static lansweeper.integrations.assets.v1.CloudAssetCustom parseDelimitedFrom(
587
- java.io.InputStream input,
588
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
589
- throws java.io.IOException {
590
- return com.google.protobuf.GeneratedMessageV3
591
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
592
- }
593
- public static lansweeper.integrations.assets.v1.CloudAssetCustom parseFrom(
594
- com.google.protobuf.CodedInputStream input)
595
- throws java.io.IOException {
596
- return com.google.protobuf.GeneratedMessageV3
597
- .parseWithIOException(PARSER, input);
598
- }
599
- public static lansweeper.integrations.assets.v1.CloudAssetCustom parseFrom(
600
- com.google.protobuf.CodedInputStream input,
601
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
602
- throws java.io.IOException {
603
- return com.google.protobuf.GeneratedMessageV3
604
- .parseWithIOException(PARSER, input, extensionRegistry);
605
- }
606
-
607
- @java.lang.Override
608
- public Builder newBuilderForType() { return newBuilder(); }
609
- public static Builder newBuilder() {
610
- return DEFAULT_INSTANCE.toBuilder();
611
- }
612
- public static Builder newBuilder(lansweeper.integrations.assets.v1.CloudAssetCustom prototype) {
613
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
614
- }
615
- @java.lang.Override
616
- public Builder toBuilder() {
617
- return this == DEFAULT_INSTANCE
618
- ? new Builder() : new Builder().mergeFrom(this);
619
- }
620
-
621
- @java.lang.Override
622
- protected Builder newBuilderForType(
623
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
624
- Builder builder = new Builder(parent);
625
- return builder;
626
- }
627
- /**
628
- * Protobuf type {@code lansweeper.integrations.assets.v1.CloudAssetCustom}
629
- */
630
- public static final class Builder extends
631
- com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
632
- // @@protoc_insertion_point(builder_implements:lansweeper.integrations.assets.v1.CloudAssetCustom)
633
- lansweeper.integrations.assets.v1.CloudAssetCustomOrBuilder {
634
- public static final com.google.protobuf.Descriptors.Descriptor
635
- getDescriptor() {
636
- return lansweeper.integrations.assets.v1.Assets.internal_static_lansweeper_integrations_assets_v1_CloudAssetCustom_descriptor;
637
- }
638
-
639
- @java.lang.Override
640
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
641
- internalGetFieldAccessorTable() {
642
- return lansweeper.integrations.assets.v1.Assets.internal_static_lansweeper_integrations_assets_v1_CloudAssetCustom_fieldAccessorTable
643
- .ensureFieldAccessorsInitialized(
644
- lansweeper.integrations.assets.v1.CloudAssetCustom.class, lansweeper.integrations.assets.v1.CloudAssetCustom.Builder.class);
645
- }
646
-
647
- // Construct using lansweeper.integrations.assets.v1.CloudAssetCustom.newBuilder()
648
- private Builder() {
649
-
650
- }
651
-
652
- private Builder(
653
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
654
- super(parent);
655
-
656
- }
657
- @java.lang.Override
658
- public Builder clear() {
659
- super.clear();
660
- bitField0_ = 0;
661
- purchaseOrderDate_ = "";
662
- costCenter_ = "";
663
- vendorName_ = "";
664
- invoiceNumber_ = "";
665
- acquisitionType_ = "";
666
- owner_ = "";
667
- industry_ = "";
668
- return this;
669
- }
670
-
671
- @java.lang.Override
672
- public com.google.protobuf.Descriptors.Descriptor
673
- getDescriptorForType() {
674
- return lansweeper.integrations.assets.v1.Assets.internal_static_lansweeper_integrations_assets_v1_CloudAssetCustom_descriptor;
675
- }
676
-
677
- @java.lang.Override
678
- public lansweeper.integrations.assets.v1.CloudAssetCustom getDefaultInstanceForType() {
679
- return lansweeper.integrations.assets.v1.CloudAssetCustom.getDefaultInstance();
680
- }
681
-
682
- @java.lang.Override
683
- public lansweeper.integrations.assets.v1.CloudAssetCustom build() {
684
- lansweeper.integrations.assets.v1.CloudAssetCustom result = buildPartial();
685
- if (!result.isInitialized()) {
686
- throw newUninitializedMessageException(result);
687
- }
688
- return result;
689
- }
690
-
691
- @java.lang.Override
692
- public lansweeper.integrations.assets.v1.CloudAssetCustom buildPartial() {
693
- lansweeper.integrations.assets.v1.CloudAssetCustom result = new lansweeper.integrations.assets.v1.CloudAssetCustom(this);
694
- if (bitField0_ != 0) { buildPartial0(result); }
695
- onBuilt();
696
- return result;
697
- }
698
-
699
- private void buildPartial0(lansweeper.integrations.assets.v1.CloudAssetCustom result) {
700
- int from_bitField0_ = bitField0_;
701
- int to_bitField0_ = 0;
702
- if (((from_bitField0_ & 0x00000001) != 0)) {
703
- result.purchaseOrderDate_ = purchaseOrderDate_;
704
- to_bitField0_ |= 0x00000001;
705
- }
706
- if (((from_bitField0_ & 0x00000002) != 0)) {
707
- result.costCenter_ = costCenter_;
708
- to_bitField0_ |= 0x00000002;
709
- }
710
- if (((from_bitField0_ & 0x00000004) != 0)) {
711
- result.vendorName_ = vendorName_;
712
- to_bitField0_ |= 0x00000004;
713
- }
714
- if (((from_bitField0_ & 0x00000008) != 0)) {
715
- result.invoiceNumber_ = invoiceNumber_;
716
- to_bitField0_ |= 0x00000008;
717
- }
718
- if (((from_bitField0_ & 0x00000010) != 0)) {
719
- result.acquisitionType_ = acquisitionType_;
720
- to_bitField0_ |= 0x00000010;
721
- }
722
- if (((from_bitField0_ & 0x00000020) != 0)) {
723
- result.owner_ = owner_;
724
- to_bitField0_ |= 0x00000020;
725
- }
726
- if (((from_bitField0_ & 0x00000040) != 0)) {
727
- result.industry_ = industry_;
728
- to_bitField0_ |= 0x00000040;
729
- }
730
- result.bitField0_ |= to_bitField0_;
731
- }
732
-
733
- @java.lang.Override
734
- public Builder mergeFrom(com.google.protobuf.Message other) {
735
- if (other instanceof lansweeper.integrations.assets.v1.CloudAssetCustom) {
736
- return mergeFrom((lansweeper.integrations.assets.v1.CloudAssetCustom)other);
737
- } else {
738
- super.mergeFrom(other);
739
- return this;
740
- }
741
- }
742
-
743
- public Builder mergeFrom(lansweeper.integrations.assets.v1.CloudAssetCustom other) {
744
- if (other == lansweeper.integrations.assets.v1.CloudAssetCustom.getDefaultInstance()) return this;
745
- if (other.hasPurchaseOrderDate()) {
746
- purchaseOrderDate_ = other.purchaseOrderDate_;
747
- bitField0_ |= 0x00000001;
748
- onChanged();
749
- }
750
- if (other.hasCostCenter()) {
751
- costCenter_ = other.costCenter_;
752
- bitField0_ |= 0x00000002;
753
- onChanged();
754
- }
755
- if (other.hasVendorName()) {
756
- vendorName_ = other.vendorName_;
757
- bitField0_ |= 0x00000004;
758
- onChanged();
759
- }
760
- if (other.hasInvoiceNumber()) {
761
- invoiceNumber_ = other.invoiceNumber_;
762
- bitField0_ |= 0x00000008;
763
- onChanged();
764
- }
765
- if (other.hasAcquisitionType()) {
766
- acquisitionType_ = other.acquisitionType_;
767
- bitField0_ |= 0x00000010;
768
- onChanged();
769
- }
770
- if (other.hasOwner()) {
771
- owner_ = other.owner_;
772
- bitField0_ |= 0x00000020;
773
- onChanged();
774
- }
775
- if (other.hasIndustry()) {
776
- industry_ = other.industry_;
777
- bitField0_ |= 0x00000040;
778
- onChanged();
779
- }
780
- this.mergeUnknownFields(other.getUnknownFields());
781
- onChanged();
782
- return this;
783
- }
784
-
785
- @java.lang.Override
786
- public final boolean isInitialized() {
787
- return true;
788
- }
789
-
790
- @java.lang.Override
791
- public Builder mergeFrom(
792
- com.google.protobuf.CodedInputStream input,
793
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
794
- throws java.io.IOException {
795
- if (extensionRegistry == null) {
796
- throw new java.lang.NullPointerException();
797
- }
798
- try {
799
- boolean done = false;
800
- while (!done) {
801
- int tag = input.readTag();
802
- switch (tag) {
803
- case 0:
804
- done = true;
805
- break;
806
- case 10: {
807
- purchaseOrderDate_ = input.readStringRequireUtf8();
808
- bitField0_ |= 0x00000001;
809
- break;
810
- } // case 10
811
- case 18: {
812
- costCenter_ = input.readStringRequireUtf8();
813
- bitField0_ |= 0x00000002;
814
- break;
815
- } // case 18
816
- case 26: {
817
- vendorName_ = input.readStringRequireUtf8();
818
- bitField0_ |= 0x00000004;
819
- break;
820
- } // case 26
821
- case 34: {
822
- invoiceNumber_ = input.readStringRequireUtf8();
823
- bitField0_ |= 0x00000008;
824
- break;
825
- } // case 34
826
- case 42: {
827
- acquisitionType_ = input.readStringRequireUtf8();
828
- bitField0_ |= 0x00000010;
829
- break;
830
- } // case 42
831
- case 50: {
832
- owner_ = input.readStringRequireUtf8();
833
- bitField0_ |= 0x00000020;
834
- break;
835
- } // case 50
836
- case 58: {
837
- industry_ = input.readStringRequireUtf8();
838
- bitField0_ |= 0x00000040;
839
- break;
840
- } // case 58
841
- default: {
842
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
843
- done = true; // was an endgroup tag
844
- }
845
- break;
846
- } // default:
847
- } // switch (tag)
848
- } // while (!done)
849
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
850
- throw e.unwrapIOException();
851
- } finally {
852
- onChanged();
853
- } // finally
854
- return this;
855
- }
856
- private int bitField0_;
857
-
858
- private java.lang.Object purchaseOrderDate_ = "";
859
- /**
860
- * <code>optional string purchase_order_date = 1;</code>
861
- * @return Whether the purchaseOrderDate field is set.
862
- */
863
- public boolean hasPurchaseOrderDate() {
864
- return ((bitField0_ & 0x00000001) != 0);
865
- }
866
- /**
867
- * <code>optional string purchase_order_date = 1;</code>
868
- * @return The purchaseOrderDate.
869
- */
870
- public java.lang.String getPurchaseOrderDate() {
871
- java.lang.Object ref = purchaseOrderDate_;
872
- if (!(ref instanceof java.lang.String)) {
873
- com.google.protobuf.ByteString bs =
874
- (com.google.protobuf.ByteString) ref;
875
- java.lang.String s = bs.toStringUtf8();
876
- purchaseOrderDate_ = s;
877
- return s;
878
- } else {
879
- return (java.lang.String) ref;
880
- }
881
- }
882
- /**
883
- * <code>optional string purchase_order_date = 1;</code>
884
- * @return The bytes for purchaseOrderDate.
885
- */
886
- public com.google.protobuf.ByteString
887
- getPurchaseOrderDateBytes() {
888
- java.lang.Object ref = purchaseOrderDate_;
889
- if (ref instanceof String) {
890
- com.google.protobuf.ByteString b =
891
- com.google.protobuf.ByteString.copyFromUtf8(
892
- (java.lang.String) ref);
893
- purchaseOrderDate_ = b;
894
- return b;
895
- } else {
896
- return (com.google.protobuf.ByteString) ref;
897
- }
898
- }
899
- /**
900
- * <code>optional string purchase_order_date = 1;</code>
901
- * @param value The purchaseOrderDate to set.
902
- * @return This builder for chaining.
903
- */
904
- public Builder setPurchaseOrderDate(
905
- java.lang.String value) {
906
- if (value == null) { throw new NullPointerException(); }
907
- purchaseOrderDate_ = value;
908
- bitField0_ |= 0x00000001;
909
- onChanged();
910
- return this;
911
- }
912
- /**
913
- * <code>optional string purchase_order_date = 1;</code>
914
- * @return This builder for chaining.
915
- */
916
- public Builder clearPurchaseOrderDate() {
917
- purchaseOrderDate_ = getDefaultInstance().getPurchaseOrderDate();
918
- bitField0_ = (bitField0_ & ~0x00000001);
919
- onChanged();
920
- return this;
921
- }
922
- /**
923
- * <code>optional string purchase_order_date = 1;</code>
924
- * @param value The bytes for purchaseOrderDate to set.
925
- * @return This builder for chaining.
926
- */
927
- public Builder setPurchaseOrderDateBytes(
928
- com.google.protobuf.ByteString value) {
929
- if (value == null) { throw new NullPointerException(); }
930
- checkByteStringIsUtf8(value);
931
- purchaseOrderDate_ = value;
932
- bitField0_ |= 0x00000001;
933
- onChanged();
934
- return this;
935
- }
936
-
937
- private java.lang.Object costCenter_ = "";
938
- /**
939
- * <code>optional string cost_center = 2;</code>
940
- * @return Whether the costCenter field is set.
941
- */
942
- public boolean hasCostCenter() {
943
- return ((bitField0_ & 0x00000002) != 0);
944
- }
945
- /**
946
- * <code>optional string cost_center = 2;</code>
947
- * @return The costCenter.
948
- */
949
- public java.lang.String getCostCenter() {
950
- java.lang.Object ref = costCenter_;
951
- if (!(ref instanceof java.lang.String)) {
952
- com.google.protobuf.ByteString bs =
953
- (com.google.protobuf.ByteString) ref;
954
- java.lang.String s = bs.toStringUtf8();
955
- costCenter_ = s;
956
- return s;
957
- } else {
958
- return (java.lang.String) ref;
959
- }
960
- }
961
- /**
962
- * <code>optional string cost_center = 2;</code>
963
- * @return The bytes for costCenter.
964
- */
965
- public com.google.protobuf.ByteString
966
- getCostCenterBytes() {
967
- java.lang.Object ref = costCenter_;
968
- if (ref instanceof String) {
969
- com.google.protobuf.ByteString b =
970
- com.google.protobuf.ByteString.copyFromUtf8(
971
- (java.lang.String) ref);
972
- costCenter_ = b;
973
- return b;
974
- } else {
975
- return (com.google.protobuf.ByteString) ref;
976
- }
977
- }
978
- /**
979
- * <code>optional string cost_center = 2;</code>
980
- * @param value The costCenter to set.
981
- * @return This builder for chaining.
982
- */
983
- public Builder setCostCenter(
984
- java.lang.String value) {
985
- if (value == null) { throw new NullPointerException(); }
986
- costCenter_ = value;
987
- bitField0_ |= 0x00000002;
988
- onChanged();
989
- return this;
990
- }
991
- /**
992
- * <code>optional string cost_center = 2;</code>
993
- * @return This builder for chaining.
994
- */
995
- public Builder clearCostCenter() {
996
- costCenter_ = getDefaultInstance().getCostCenter();
997
- bitField0_ = (bitField0_ & ~0x00000002);
998
- onChanged();
999
- return this;
1000
- }
1001
- /**
1002
- * <code>optional string cost_center = 2;</code>
1003
- * @param value The bytes for costCenter to set.
1004
- * @return This builder for chaining.
1005
- */
1006
- public Builder setCostCenterBytes(
1007
- com.google.protobuf.ByteString value) {
1008
- if (value == null) { throw new NullPointerException(); }
1009
- checkByteStringIsUtf8(value);
1010
- costCenter_ = value;
1011
- bitField0_ |= 0x00000002;
1012
- onChanged();
1013
- return this;
1014
- }
1015
-
1016
- private java.lang.Object vendorName_ = "";
1017
- /**
1018
- * <code>optional string vendor_name = 3;</code>
1019
- * @return Whether the vendorName field is set.
1020
- */
1021
- public boolean hasVendorName() {
1022
- return ((bitField0_ & 0x00000004) != 0);
1023
- }
1024
- /**
1025
- * <code>optional string vendor_name = 3;</code>
1026
- * @return The vendorName.
1027
- */
1028
- public java.lang.String getVendorName() {
1029
- java.lang.Object ref = vendorName_;
1030
- if (!(ref instanceof java.lang.String)) {
1031
- com.google.protobuf.ByteString bs =
1032
- (com.google.protobuf.ByteString) ref;
1033
- java.lang.String s = bs.toStringUtf8();
1034
- vendorName_ = s;
1035
- return s;
1036
- } else {
1037
- return (java.lang.String) ref;
1038
- }
1039
- }
1040
- /**
1041
- * <code>optional string vendor_name = 3;</code>
1042
- * @return The bytes for vendorName.
1043
- */
1044
- public com.google.protobuf.ByteString
1045
- getVendorNameBytes() {
1046
- java.lang.Object ref = vendorName_;
1047
- if (ref instanceof String) {
1048
- com.google.protobuf.ByteString b =
1049
- com.google.protobuf.ByteString.copyFromUtf8(
1050
- (java.lang.String) ref);
1051
- vendorName_ = b;
1052
- return b;
1053
- } else {
1054
- return (com.google.protobuf.ByteString) ref;
1055
- }
1056
- }
1057
- /**
1058
- * <code>optional string vendor_name = 3;</code>
1059
- * @param value The vendorName to set.
1060
- * @return This builder for chaining.
1061
- */
1062
- public Builder setVendorName(
1063
- java.lang.String value) {
1064
- if (value == null) { throw new NullPointerException(); }
1065
- vendorName_ = value;
1066
- bitField0_ |= 0x00000004;
1067
- onChanged();
1068
- return this;
1069
- }
1070
- /**
1071
- * <code>optional string vendor_name = 3;</code>
1072
- * @return This builder for chaining.
1073
- */
1074
- public Builder clearVendorName() {
1075
- vendorName_ = getDefaultInstance().getVendorName();
1076
- bitField0_ = (bitField0_ & ~0x00000004);
1077
- onChanged();
1078
- return this;
1079
- }
1080
- /**
1081
- * <code>optional string vendor_name = 3;</code>
1082
- * @param value The bytes for vendorName to set.
1083
- * @return This builder for chaining.
1084
- */
1085
- public Builder setVendorNameBytes(
1086
- com.google.protobuf.ByteString value) {
1087
- if (value == null) { throw new NullPointerException(); }
1088
- checkByteStringIsUtf8(value);
1089
- vendorName_ = value;
1090
- bitField0_ |= 0x00000004;
1091
- onChanged();
1092
- return this;
1093
- }
1094
-
1095
- private java.lang.Object invoiceNumber_ = "";
1096
- /**
1097
- * <code>optional string invoice_number = 4;</code>
1098
- * @return Whether the invoiceNumber field is set.
1099
- */
1100
- public boolean hasInvoiceNumber() {
1101
- return ((bitField0_ & 0x00000008) != 0);
1102
- }
1103
- /**
1104
- * <code>optional string invoice_number = 4;</code>
1105
- * @return The invoiceNumber.
1106
- */
1107
- public java.lang.String getInvoiceNumber() {
1108
- java.lang.Object ref = invoiceNumber_;
1109
- if (!(ref instanceof java.lang.String)) {
1110
- com.google.protobuf.ByteString bs =
1111
- (com.google.protobuf.ByteString) ref;
1112
- java.lang.String s = bs.toStringUtf8();
1113
- invoiceNumber_ = s;
1114
- return s;
1115
- } else {
1116
- return (java.lang.String) ref;
1117
- }
1118
- }
1119
- /**
1120
- * <code>optional string invoice_number = 4;</code>
1121
- * @return The bytes for invoiceNumber.
1122
- */
1123
- public com.google.protobuf.ByteString
1124
- getInvoiceNumberBytes() {
1125
- java.lang.Object ref = invoiceNumber_;
1126
- if (ref instanceof String) {
1127
- com.google.protobuf.ByteString b =
1128
- com.google.protobuf.ByteString.copyFromUtf8(
1129
- (java.lang.String) ref);
1130
- invoiceNumber_ = b;
1131
- return b;
1132
- } else {
1133
- return (com.google.protobuf.ByteString) ref;
1134
- }
1135
- }
1136
- /**
1137
- * <code>optional string invoice_number = 4;</code>
1138
- * @param value The invoiceNumber to set.
1139
- * @return This builder for chaining.
1140
- */
1141
- public Builder setInvoiceNumber(
1142
- java.lang.String value) {
1143
- if (value == null) { throw new NullPointerException(); }
1144
- invoiceNumber_ = value;
1145
- bitField0_ |= 0x00000008;
1146
- onChanged();
1147
- return this;
1148
- }
1149
- /**
1150
- * <code>optional string invoice_number = 4;</code>
1151
- * @return This builder for chaining.
1152
- */
1153
- public Builder clearInvoiceNumber() {
1154
- invoiceNumber_ = getDefaultInstance().getInvoiceNumber();
1155
- bitField0_ = (bitField0_ & ~0x00000008);
1156
- onChanged();
1157
- return this;
1158
- }
1159
- /**
1160
- * <code>optional string invoice_number = 4;</code>
1161
- * @param value The bytes for invoiceNumber to set.
1162
- * @return This builder for chaining.
1163
- */
1164
- public Builder setInvoiceNumberBytes(
1165
- com.google.protobuf.ByteString value) {
1166
- if (value == null) { throw new NullPointerException(); }
1167
- checkByteStringIsUtf8(value);
1168
- invoiceNumber_ = value;
1169
- bitField0_ |= 0x00000008;
1170
- onChanged();
1171
- return this;
1172
- }
1173
-
1174
- private java.lang.Object acquisitionType_ = "";
1175
- /**
1176
- * <code>optional string acquisition_type = 5;</code>
1177
- * @return Whether the acquisitionType field is set.
1178
- */
1179
- public boolean hasAcquisitionType() {
1180
- return ((bitField0_ & 0x00000010) != 0);
1181
- }
1182
- /**
1183
- * <code>optional string acquisition_type = 5;</code>
1184
- * @return The acquisitionType.
1185
- */
1186
- public java.lang.String getAcquisitionType() {
1187
- java.lang.Object ref = acquisitionType_;
1188
- if (!(ref instanceof java.lang.String)) {
1189
- com.google.protobuf.ByteString bs =
1190
- (com.google.protobuf.ByteString) ref;
1191
- java.lang.String s = bs.toStringUtf8();
1192
- acquisitionType_ = s;
1193
- return s;
1194
- } else {
1195
- return (java.lang.String) ref;
1196
- }
1197
- }
1198
- /**
1199
- * <code>optional string acquisition_type = 5;</code>
1200
- * @return The bytes for acquisitionType.
1201
- */
1202
- public com.google.protobuf.ByteString
1203
- getAcquisitionTypeBytes() {
1204
- java.lang.Object ref = acquisitionType_;
1205
- if (ref instanceof String) {
1206
- com.google.protobuf.ByteString b =
1207
- com.google.protobuf.ByteString.copyFromUtf8(
1208
- (java.lang.String) ref);
1209
- acquisitionType_ = b;
1210
- return b;
1211
- } else {
1212
- return (com.google.protobuf.ByteString) ref;
1213
- }
1214
- }
1215
- /**
1216
- * <code>optional string acquisition_type = 5;</code>
1217
- * @param value The acquisitionType to set.
1218
- * @return This builder for chaining.
1219
- */
1220
- public Builder setAcquisitionType(
1221
- java.lang.String value) {
1222
- if (value == null) { throw new NullPointerException(); }
1223
- acquisitionType_ = value;
1224
- bitField0_ |= 0x00000010;
1225
- onChanged();
1226
- return this;
1227
- }
1228
- /**
1229
- * <code>optional string acquisition_type = 5;</code>
1230
- * @return This builder for chaining.
1231
- */
1232
- public Builder clearAcquisitionType() {
1233
- acquisitionType_ = getDefaultInstance().getAcquisitionType();
1234
- bitField0_ = (bitField0_ & ~0x00000010);
1235
- onChanged();
1236
- return this;
1237
- }
1238
- /**
1239
- * <code>optional string acquisition_type = 5;</code>
1240
- * @param value The bytes for acquisitionType to set.
1241
- * @return This builder for chaining.
1242
- */
1243
- public Builder setAcquisitionTypeBytes(
1244
- com.google.protobuf.ByteString value) {
1245
- if (value == null) { throw new NullPointerException(); }
1246
- checkByteStringIsUtf8(value);
1247
- acquisitionType_ = value;
1248
- bitField0_ |= 0x00000010;
1249
- onChanged();
1250
- return this;
1251
- }
1252
-
1253
- private java.lang.Object owner_ = "";
1254
- /**
1255
- * <code>optional string owner = 6;</code>
1256
- * @return Whether the owner field is set.
1257
- */
1258
- public boolean hasOwner() {
1259
- return ((bitField0_ & 0x00000020) != 0);
1260
- }
1261
- /**
1262
- * <code>optional string owner = 6;</code>
1263
- * @return The owner.
1264
- */
1265
- public java.lang.String getOwner() {
1266
- java.lang.Object ref = owner_;
1267
- if (!(ref instanceof java.lang.String)) {
1268
- com.google.protobuf.ByteString bs =
1269
- (com.google.protobuf.ByteString) ref;
1270
- java.lang.String s = bs.toStringUtf8();
1271
- owner_ = s;
1272
- return s;
1273
- } else {
1274
- return (java.lang.String) ref;
1275
- }
1276
- }
1277
- /**
1278
- * <code>optional string owner = 6;</code>
1279
- * @return The bytes for owner.
1280
- */
1281
- public com.google.protobuf.ByteString
1282
- getOwnerBytes() {
1283
- java.lang.Object ref = owner_;
1284
- if (ref instanceof String) {
1285
- com.google.protobuf.ByteString b =
1286
- com.google.protobuf.ByteString.copyFromUtf8(
1287
- (java.lang.String) ref);
1288
- owner_ = b;
1289
- return b;
1290
- } else {
1291
- return (com.google.protobuf.ByteString) ref;
1292
- }
1293
- }
1294
- /**
1295
- * <code>optional string owner = 6;</code>
1296
- * @param value The owner to set.
1297
- * @return This builder for chaining.
1298
- */
1299
- public Builder setOwner(
1300
- java.lang.String value) {
1301
- if (value == null) { throw new NullPointerException(); }
1302
- owner_ = value;
1303
- bitField0_ |= 0x00000020;
1304
- onChanged();
1305
- return this;
1306
- }
1307
- /**
1308
- * <code>optional string owner = 6;</code>
1309
- * @return This builder for chaining.
1310
- */
1311
- public Builder clearOwner() {
1312
- owner_ = getDefaultInstance().getOwner();
1313
- bitField0_ = (bitField0_ & ~0x00000020);
1314
- onChanged();
1315
- return this;
1316
- }
1317
- /**
1318
- * <code>optional string owner = 6;</code>
1319
- * @param value The bytes for owner to set.
1320
- * @return This builder for chaining.
1321
- */
1322
- public Builder setOwnerBytes(
1323
- com.google.protobuf.ByteString value) {
1324
- if (value == null) { throw new NullPointerException(); }
1325
- checkByteStringIsUtf8(value);
1326
- owner_ = value;
1327
- bitField0_ |= 0x00000020;
1328
- onChanged();
1329
- return this;
1330
- }
1331
-
1332
- private java.lang.Object industry_ = "";
1333
- /**
1334
- * <code>optional string industry = 7;</code>
1335
- * @return Whether the industry field is set.
1336
- */
1337
- public boolean hasIndustry() {
1338
- return ((bitField0_ & 0x00000040) != 0);
1339
- }
1340
- /**
1341
- * <code>optional string industry = 7;</code>
1342
- * @return The industry.
1343
- */
1344
- public java.lang.String getIndustry() {
1345
- java.lang.Object ref = industry_;
1346
- if (!(ref instanceof java.lang.String)) {
1347
- com.google.protobuf.ByteString bs =
1348
- (com.google.protobuf.ByteString) ref;
1349
- java.lang.String s = bs.toStringUtf8();
1350
- industry_ = s;
1351
- return s;
1352
- } else {
1353
- return (java.lang.String) ref;
1354
- }
1355
- }
1356
- /**
1357
- * <code>optional string industry = 7;</code>
1358
- * @return The bytes for industry.
1359
- */
1360
- public com.google.protobuf.ByteString
1361
- getIndustryBytes() {
1362
- java.lang.Object ref = industry_;
1363
- if (ref instanceof String) {
1364
- com.google.protobuf.ByteString b =
1365
- com.google.protobuf.ByteString.copyFromUtf8(
1366
- (java.lang.String) ref);
1367
- industry_ = b;
1368
- return b;
1369
- } else {
1370
- return (com.google.protobuf.ByteString) ref;
1371
- }
1372
- }
1373
- /**
1374
- * <code>optional string industry = 7;</code>
1375
- * @param value The industry to set.
1376
- * @return This builder for chaining.
1377
- */
1378
- public Builder setIndustry(
1379
- java.lang.String value) {
1380
- if (value == null) { throw new NullPointerException(); }
1381
- industry_ = value;
1382
- bitField0_ |= 0x00000040;
1383
- onChanged();
1384
- return this;
1385
- }
1386
- /**
1387
- * <code>optional string industry = 7;</code>
1388
- * @return This builder for chaining.
1389
- */
1390
- public Builder clearIndustry() {
1391
- industry_ = getDefaultInstance().getIndustry();
1392
- bitField0_ = (bitField0_ & ~0x00000040);
1393
- onChanged();
1394
- return this;
1395
- }
1396
- /**
1397
- * <code>optional string industry = 7;</code>
1398
- * @param value The bytes for industry to set.
1399
- * @return This builder for chaining.
1400
- */
1401
- public Builder setIndustryBytes(
1402
- com.google.protobuf.ByteString value) {
1403
- if (value == null) { throw new NullPointerException(); }
1404
- checkByteStringIsUtf8(value);
1405
- industry_ = value;
1406
- bitField0_ |= 0x00000040;
1407
- onChanged();
1408
- return this;
1409
- }
1410
- @java.lang.Override
1411
- public final Builder setUnknownFields(
1412
- final com.google.protobuf.UnknownFieldSet unknownFields) {
1413
- return super.setUnknownFields(unknownFields);
1414
- }
1415
-
1416
- @java.lang.Override
1417
- public final Builder mergeUnknownFields(
1418
- final com.google.protobuf.UnknownFieldSet unknownFields) {
1419
- return super.mergeUnknownFields(unknownFields);
1420
- }
1421
-
1422
-
1423
- // @@protoc_insertion_point(builder_scope:lansweeper.integrations.assets.v1.CloudAssetCustom)
1424
- }
1425
-
1426
- // @@protoc_insertion_point(class_scope:lansweeper.integrations.assets.v1.CloudAssetCustom)
1427
- private static final lansweeper.integrations.assets.v1.CloudAssetCustom DEFAULT_INSTANCE;
1428
- static {
1429
- DEFAULT_INSTANCE = new lansweeper.integrations.assets.v1.CloudAssetCustom();
1430
- }
1431
-
1432
- public static lansweeper.integrations.assets.v1.CloudAssetCustom getDefaultInstance() {
1433
- return DEFAULT_INSTANCE;
1434
- }
1435
-
1436
- private static final com.google.protobuf.Parser<CloudAssetCustom>
1437
- PARSER = new com.google.protobuf.AbstractParser<CloudAssetCustom>() {
1438
- @java.lang.Override
1439
- public CloudAssetCustom parsePartialFrom(
1440
- com.google.protobuf.CodedInputStream input,
1441
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1442
- throws com.google.protobuf.InvalidProtocolBufferException {
1443
- Builder builder = newBuilder();
1444
- try {
1445
- builder.mergeFrom(input, extensionRegistry);
1446
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1447
- throw e.setUnfinishedMessage(builder.buildPartial());
1448
- } catch (com.google.protobuf.UninitializedMessageException e) {
1449
- throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
1450
- } catch (java.io.IOException e) {
1451
- throw new com.google.protobuf.InvalidProtocolBufferException(e)
1452
- .setUnfinishedMessage(builder.buildPartial());
1453
- }
1454
- return builder.buildPartial();
1455
- }
1456
- };
1457
-
1458
- public static com.google.protobuf.Parser<CloudAssetCustom> parser() {
1459
- return PARSER;
1460
- }
1461
-
1462
- @java.lang.Override
1463
- public com.google.protobuf.Parser<CloudAssetCustom> getParserForType() {
1464
- return PARSER;
1465
- }
1466
-
1467
- @java.lang.Override
1468
- public lansweeper.integrations.assets.v1.CloudAssetCustom getDefaultInstanceForType() {
1469
- return DEFAULT_INSTANCE;
1470
- }
1471
-
1472
- }
1473
-