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