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