@lansweeper/data-platform-outbound-grpc 0.3.26 → 0.3.28

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 (43) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_pb.d.ts +46 -0
  4. package/gen-proto/outbound_pb.js +394 -3
  5. package/generated-go/outbound.pb.go +10782 -10643
  6. package/java.json +1 -1
  7. package/model/pom.xml +1 -1
  8. package/model/src/main/proto/outbound.proto +10 -0
  9. package/model/target/classes/com/lansweeper/dp/outbound/v1/CloudEntity$1.class +0 -0
  10. package/model/target/classes/com/lansweeper/dp/outbound/v1/CloudEntity$Builder.class +0 -0
  11. package/model/target/classes/com/lansweeper/dp/outbound/v1/CloudEntity.class +0 -0
  12. package/model/target/classes/com/lansweeper/dp/outbound/v1/CloudEntityOrBuilder.class +0 -0
  13. package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
  14. package/model/target/classes/com/lansweeper/dp/outbound/v1/PublicCloudLink$1.class +0 -0
  15. package/model/target/classes/com/lansweeper/dp/outbound/v1/PublicCloudLink$Builder.class +0 -0
  16. package/model/target/classes/com/lansweeper/dp/outbound/v1/PublicCloudLink.class +0 -0
  17. package/model/target/classes/com/lansweeper/dp/outbound/v1/PublicCloudLinkOrBuilder.class +0 -0
  18. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm$1.class +0 -0
  19. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm$Builder$EsxiGuestSnapshotsConverter.class +0 -0
  20. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm$Builder.class +0 -0
  21. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm$EsxiGuestSnapshotsDefaultEntryHolder.class +0 -0
  22. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm.class +0 -0
  23. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVmOrBuilder.class +0 -0
  24. package/model/target/classes/outbound.proto +10 -0
  25. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CloudEntity.java +508 -0
  26. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CloudEntityOrBuilder.java +41 -0
  27. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +3129 -3109
  28. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/PublicCloudLink.java +950 -0
  29. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/PublicCloudLinkOrBuilder.java +58 -0
  30. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm.java +193 -0
  31. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVmOrBuilder.java +29 -0
  32. package/model/target/maven-archiver/pom.properties +2 -2
  33. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +4 -0
  34. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +2 -0
  35. package/model/target/{outbound-model-0.3.25-sources.jar → outbound-model-0.3.27-sources.jar} +0 -0
  36. package/model/target/{outbound-model-0.3.25.jar → outbound-model-0.3.27.jar} +0 -0
  37. package/package.json +2 -2
  38. package/pom.xml +1 -1
  39. package/proto/outbound.proto +10 -0
  40. package/service/pom.xml +1 -1
  41. package/service/target/maven-archiver/pom.properties +2 -2
  42. package/service/target/{outbound-service-0.3.25-sources.jar → outbound-service-0.3.27-sources.jar} +0 -0
  43. package/service/target/{outbound-service-0.3.25.jar → outbound-service-0.3.27.jar} +0 -0
@@ -0,0 +1,950 @@
1
+ // Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ // source: outbound.proto
3
+
4
+ // Protobuf Java Version: 3.25.1
5
+ package com.lansweeper.dp.outbound.v1;
6
+
7
+ /**
8
+ * Protobuf type {@code com.lansweeper.dp.outbound.v1.PublicCloudLink}
9
+ */
10
+ public final class PublicCloudLink extends
11
+ com.google.protobuf.GeneratedMessageV3 implements
12
+ // @@protoc_insertion_point(message_implements:com.lansweeper.dp.outbound.v1.PublicCloudLink)
13
+ PublicCloudLinkOrBuilder {
14
+ private static final long serialVersionUID = 0L;
15
+ // Use PublicCloudLink.newBuilder() to construct.
16
+ private PublicCloudLink(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
17
+ super(builder);
18
+ }
19
+ private PublicCloudLink() {
20
+ toPublicCloudAssetId_ = "";
21
+ linkType_ = "";
22
+ toPublicCloudAssetType_ = "";
23
+ toPublicCloudAssetName_ = "";
24
+ }
25
+
26
+ @java.lang.Override
27
+ @SuppressWarnings({"unused"})
28
+ protected java.lang.Object newInstance(
29
+ UnusedPrivateParameter unused) {
30
+ return new PublicCloudLink();
31
+ }
32
+
33
+ public static final com.google.protobuf.Descriptors.Descriptor
34
+ getDescriptor() {
35
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_PublicCloudLink_descriptor;
36
+ }
37
+
38
+ @java.lang.Override
39
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
40
+ internalGetFieldAccessorTable() {
41
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_PublicCloudLink_fieldAccessorTable
42
+ .ensureFieldAccessorsInitialized(
43
+ com.lansweeper.dp.outbound.v1.PublicCloudLink.class, com.lansweeper.dp.outbound.v1.PublicCloudLink.Builder.class);
44
+ }
45
+
46
+ public static final int TO_PUBLIC_CLOUD_ASSET_ID_FIELD_NUMBER = 1;
47
+ @SuppressWarnings("serial")
48
+ private volatile java.lang.Object toPublicCloudAssetId_ = "";
49
+ /**
50
+ * <code>string to_public_cloud_asset_id = 1;</code>
51
+ * @return The toPublicCloudAssetId.
52
+ */
53
+ @java.lang.Override
54
+ public java.lang.String getToPublicCloudAssetId() {
55
+ java.lang.Object ref = toPublicCloudAssetId_;
56
+ if (ref instanceof java.lang.String) {
57
+ return (java.lang.String) ref;
58
+ } else {
59
+ com.google.protobuf.ByteString bs =
60
+ (com.google.protobuf.ByteString) ref;
61
+ java.lang.String s = bs.toStringUtf8();
62
+ toPublicCloudAssetId_ = s;
63
+ return s;
64
+ }
65
+ }
66
+ /**
67
+ * <code>string to_public_cloud_asset_id = 1;</code>
68
+ * @return The bytes for toPublicCloudAssetId.
69
+ */
70
+ @java.lang.Override
71
+ public com.google.protobuf.ByteString
72
+ getToPublicCloudAssetIdBytes() {
73
+ java.lang.Object ref = toPublicCloudAssetId_;
74
+ if (ref instanceof java.lang.String) {
75
+ com.google.protobuf.ByteString b =
76
+ com.google.protobuf.ByteString.copyFromUtf8(
77
+ (java.lang.String) ref);
78
+ toPublicCloudAssetId_ = b;
79
+ return b;
80
+ } else {
81
+ return (com.google.protobuf.ByteString) ref;
82
+ }
83
+ }
84
+
85
+ public static final int LINK_TYPE_FIELD_NUMBER = 2;
86
+ @SuppressWarnings("serial")
87
+ private volatile java.lang.Object linkType_ = "";
88
+ /**
89
+ * <code>string link_type = 2;</code>
90
+ * @return The linkType.
91
+ */
92
+ @java.lang.Override
93
+ public java.lang.String getLinkType() {
94
+ java.lang.Object ref = linkType_;
95
+ if (ref instanceof java.lang.String) {
96
+ return (java.lang.String) ref;
97
+ } else {
98
+ com.google.protobuf.ByteString bs =
99
+ (com.google.protobuf.ByteString) ref;
100
+ java.lang.String s = bs.toStringUtf8();
101
+ linkType_ = s;
102
+ return s;
103
+ }
104
+ }
105
+ /**
106
+ * <code>string link_type = 2;</code>
107
+ * @return The bytes for linkType.
108
+ */
109
+ @java.lang.Override
110
+ public com.google.protobuf.ByteString
111
+ getLinkTypeBytes() {
112
+ java.lang.Object ref = linkType_;
113
+ if (ref instanceof java.lang.String) {
114
+ com.google.protobuf.ByteString b =
115
+ com.google.protobuf.ByteString.copyFromUtf8(
116
+ (java.lang.String) ref);
117
+ linkType_ = b;
118
+ return b;
119
+ } else {
120
+ return (com.google.protobuf.ByteString) ref;
121
+ }
122
+ }
123
+
124
+ public static final int TO_PUBLIC_CLOUD_ASSET_TYPE_FIELD_NUMBER = 3;
125
+ @SuppressWarnings("serial")
126
+ private volatile java.lang.Object toPublicCloudAssetType_ = "";
127
+ /**
128
+ * <code>string to_public_cloud_asset_type = 3;</code>
129
+ * @return The toPublicCloudAssetType.
130
+ */
131
+ @java.lang.Override
132
+ public java.lang.String getToPublicCloudAssetType() {
133
+ java.lang.Object ref = toPublicCloudAssetType_;
134
+ if (ref instanceof java.lang.String) {
135
+ return (java.lang.String) ref;
136
+ } else {
137
+ com.google.protobuf.ByteString bs =
138
+ (com.google.protobuf.ByteString) ref;
139
+ java.lang.String s = bs.toStringUtf8();
140
+ toPublicCloudAssetType_ = s;
141
+ return s;
142
+ }
143
+ }
144
+ /**
145
+ * <code>string to_public_cloud_asset_type = 3;</code>
146
+ * @return The bytes for toPublicCloudAssetType.
147
+ */
148
+ @java.lang.Override
149
+ public com.google.protobuf.ByteString
150
+ getToPublicCloudAssetTypeBytes() {
151
+ java.lang.Object ref = toPublicCloudAssetType_;
152
+ if (ref instanceof java.lang.String) {
153
+ com.google.protobuf.ByteString b =
154
+ com.google.protobuf.ByteString.copyFromUtf8(
155
+ (java.lang.String) ref);
156
+ toPublicCloudAssetType_ = b;
157
+ return b;
158
+ } else {
159
+ return (com.google.protobuf.ByteString) ref;
160
+ }
161
+ }
162
+
163
+ public static final int TO_PUBLIC_CLOUD_ASSET_NAME_FIELD_NUMBER = 4;
164
+ @SuppressWarnings("serial")
165
+ private volatile java.lang.Object toPublicCloudAssetName_ = "";
166
+ /**
167
+ * <code>string to_public_cloud_asset_name = 4;</code>
168
+ * @return The toPublicCloudAssetName.
169
+ */
170
+ @java.lang.Override
171
+ public java.lang.String getToPublicCloudAssetName() {
172
+ java.lang.Object ref = toPublicCloudAssetName_;
173
+ if (ref instanceof java.lang.String) {
174
+ return (java.lang.String) ref;
175
+ } else {
176
+ com.google.protobuf.ByteString bs =
177
+ (com.google.protobuf.ByteString) ref;
178
+ java.lang.String s = bs.toStringUtf8();
179
+ toPublicCloudAssetName_ = s;
180
+ return s;
181
+ }
182
+ }
183
+ /**
184
+ * <code>string to_public_cloud_asset_name = 4;</code>
185
+ * @return The bytes for toPublicCloudAssetName.
186
+ */
187
+ @java.lang.Override
188
+ public com.google.protobuf.ByteString
189
+ getToPublicCloudAssetNameBytes() {
190
+ java.lang.Object ref = toPublicCloudAssetName_;
191
+ if (ref instanceof java.lang.String) {
192
+ com.google.protobuf.ByteString b =
193
+ com.google.protobuf.ByteString.copyFromUtf8(
194
+ (java.lang.String) ref);
195
+ toPublicCloudAssetName_ = b;
196
+ return b;
197
+ } else {
198
+ return (com.google.protobuf.ByteString) ref;
199
+ }
200
+ }
201
+
202
+ private byte memoizedIsInitialized = -1;
203
+ @java.lang.Override
204
+ public final boolean isInitialized() {
205
+ byte isInitialized = memoizedIsInitialized;
206
+ if (isInitialized == 1) return true;
207
+ if (isInitialized == 0) return false;
208
+
209
+ memoizedIsInitialized = 1;
210
+ return true;
211
+ }
212
+
213
+ @java.lang.Override
214
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
215
+ throws java.io.IOException {
216
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(toPublicCloudAssetId_)) {
217
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, toPublicCloudAssetId_);
218
+ }
219
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(linkType_)) {
220
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, linkType_);
221
+ }
222
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(toPublicCloudAssetType_)) {
223
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, toPublicCloudAssetType_);
224
+ }
225
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(toPublicCloudAssetName_)) {
226
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, toPublicCloudAssetName_);
227
+ }
228
+ getUnknownFields().writeTo(output);
229
+ }
230
+
231
+ @java.lang.Override
232
+ public int getSerializedSize() {
233
+ int size = memoizedSize;
234
+ if (size != -1) return size;
235
+
236
+ size = 0;
237
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(toPublicCloudAssetId_)) {
238
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, toPublicCloudAssetId_);
239
+ }
240
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(linkType_)) {
241
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, linkType_);
242
+ }
243
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(toPublicCloudAssetType_)) {
244
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, toPublicCloudAssetType_);
245
+ }
246
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(toPublicCloudAssetName_)) {
247
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, toPublicCloudAssetName_);
248
+ }
249
+ size += getUnknownFields().getSerializedSize();
250
+ memoizedSize = size;
251
+ return size;
252
+ }
253
+
254
+ @java.lang.Override
255
+ public boolean equals(final java.lang.Object obj) {
256
+ if (obj == this) {
257
+ return true;
258
+ }
259
+ if (!(obj instanceof com.lansweeper.dp.outbound.v1.PublicCloudLink)) {
260
+ return super.equals(obj);
261
+ }
262
+ com.lansweeper.dp.outbound.v1.PublicCloudLink other = (com.lansweeper.dp.outbound.v1.PublicCloudLink) obj;
263
+
264
+ if (!getToPublicCloudAssetId()
265
+ .equals(other.getToPublicCloudAssetId())) return false;
266
+ if (!getLinkType()
267
+ .equals(other.getLinkType())) return false;
268
+ if (!getToPublicCloudAssetType()
269
+ .equals(other.getToPublicCloudAssetType())) return false;
270
+ if (!getToPublicCloudAssetName()
271
+ .equals(other.getToPublicCloudAssetName())) return false;
272
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
273
+ return true;
274
+ }
275
+
276
+ @java.lang.Override
277
+ public int hashCode() {
278
+ if (memoizedHashCode != 0) {
279
+ return memoizedHashCode;
280
+ }
281
+ int hash = 41;
282
+ hash = (19 * hash) + getDescriptor().hashCode();
283
+ hash = (37 * hash) + TO_PUBLIC_CLOUD_ASSET_ID_FIELD_NUMBER;
284
+ hash = (53 * hash) + getToPublicCloudAssetId().hashCode();
285
+ hash = (37 * hash) + LINK_TYPE_FIELD_NUMBER;
286
+ hash = (53 * hash) + getLinkType().hashCode();
287
+ hash = (37 * hash) + TO_PUBLIC_CLOUD_ASSET_TYPE_FIELD_NUMBER;
288
+ hash = (53 * hash) + getToPublicCloudAssetType().hashCode();
289
+ hash = (37 * hash) + TO_PUBLIC_CLOUD_ASSET_NAME_FIELD_NUMBER;
290
+ hash = (53 * hash) + getToPublicCloudAssetName().hashCode();
291
+ hash = (29 * hash) + getUnknownFields().hashCode();
292
+ memoizedHashCode = hash;
293
+ return hash;
294
+ }
295
+
296
+ public static com.lansweeper.dp.outbound.v1.PublicCloudLink parseFrom(
297
+ java.nio.ByteBuffer data)
298
+ throws com.google.protobuf.InvalidProtocolBufferException {
299
+ return PARSER.parseFrom(data);
300
+ }
301
+ public static com.lansweeper.dp.outbound.v1.PublicCloudLink parseFrom(
302
+ java.nio.ByteBuffer data,
303
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
304
+ throws com.google.protobuf.InvalidProtocolBufferException {
305
+ return PARSER.parseFrom(data, extensionRegistry);
306
+ }
307
+ public static com.lansweeper.dp.outbound.v1.PublicCloudLink parseFrom(
308
+ com.google.protobuf.ByteString data)
309
+ throws com.google.protobuf.InvalidProtocolBufferException {
310
+ return PARSER.parseFrom(data);
311
+ }
312
+ public static com.lansweeper.dp.outbound.v1.PublicCloudLink parseFrom(
313
+ com.google.protobuf.ByteString data,
314
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
315
+ throws com.google.protobuf.InvalidProtocolBufferException {
316
+ return PARSER.parseFrom(data, extensionRegistry);
317
+ }
318
+ public static com.lansweeper.dp.outbound.v1.PublicCloudLink parseFrom(byte[] data)
319
+ throws com.google.protobuf.InvalidProtocolBufferException {
320
+ return PARSER.parseFrom(data);
321
+ }
322
+ public static com.lansweeper.dp.outbound.v1.PublicCloudLink parseFrom(
323
+ byte[] data,
324
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
325
+ throws com.google.protobuf.InvalidProtocolBufferException {
326
+ return PARSER.parseFrom(data, extensionRegistry);
327
+ }
328
+ public static com.lansweeper.dp.outbound.v1.PublicCloudLink parseFrom(java.io.InputStream input)
329
+ throws java.io.IOException {
330
+ return com.google.protobuf.GeneratedMessageV3
331
+ .parseWithIOException(PARSER, input);
332
+ }
333
+ public static com.lansweeper.dp.outbound.v1.PublicCloudLink parseFrom(
334
+ java.io.InputStream input,
335
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
336
+ throws java.io.IOException {
337
+ return com.google.protobuf.GeneratedMessageV3
338
+ .parseWithIOException(PARSER, input, extensionRegistry);
339
+ }
340
+
341
+ public static com.lansweeper.dp.outbound.v1.PublicCloudLink parseDelimitedFrom(java.io.InputStream input)
342
+ throws java.io.IOException {
343
+ return com.google.protobuf.GeneratedMessageV3
344
+ .parseDelimitedWithIOException(PARSER, input);
345
+ }
346
+
347
+ public static com.lansweeper.dp.outbound.v1.PublicCloudLink parseDelimitedFrom(
348
+ java.io.InputStream input,
349
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
350
+ throws java.io.IOException {
351
+ return com.google.protobuf.GeneratedMessageV3
352
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
353
+ }
354
+ public static com.lansweeper.dp.outbound.v1.PublicCloudLink parseFrom(
355
+ com.google.protobuf.CodedInputStream input)
356
+ throws java.io.IOException {
357
+ return com.google.protobuf.GeneratedMessageV3
358
+ .parseWithIOException(PARSER, input);
359
+ }
360
+ public static com.lansweeper.dp.outbound.v1.PublicCloudLink parseFrom(
361
+ com.google.protobuf.CodedInputStream input,
362
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
363
+ throws java.io.IOException {
364
+ return com.google.protobuf.GeneratedMessageV3
365
+ .parseWithIOException(PARSER, input, extensionRegistry);
366
+ }
367
+
368
+ @java.lang.Override
369
+ public Builder newBuilderForType() { return newBuilder(); }
370
+ public static Builder newBuilder() {
371
+ return DEFAULT_INSTANCE.toBuilder();
372
+ }
373
+ public static Builder newBuilder(com.lansweeper.dp.outbound.v1.PublicCloudLink prototype) {
374
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
375
+ }
376
+ @java.lang.Override
377
+ public Builder toBuilder() {
378
+ return this == DEFAULT_INSTANCE
379
+ ? new Builder() : new Builder().mergeFrom(this);
380
+ }
381
+
382
+ @java.lang.Override
383
+ protected Builder newBuilderForType(
384
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
385
+ Builder builder = new Builder(parent);
386
+ return builder;
387
+ }
388
+ /**
389
+ * Protobuf type {@code com.lansweeper.dp.outbound.v1.PublicCloudLink}
390
+ */
391
+ public static final class Builder extends
392
+ com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
393
+ // @@protoc_insertion_point(builder_implements:com.lansweeper.dp.outbound.v1.PublicCloudLink)
394
+ com.lansweeper.dp.outbound.v1.PublicCloudLinkOrBuilder {
395
+ public static final com.google.protobuf.Descriptors.Descriptor
396
+ getDescriptor() {
397
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_PublicCloudLink_descriptor;
398
+ }
399
+
400
+ @java.lang.Override
401
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
402
+ internalGetFieldAccessorTable() {
403
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_PublicCloudLink_fieldAccessorTable
404
+ .ensureFieldAccessorsInitialized(
405
+ com.lansweeper.dp.outbound.v1.PublicCloudLink.class, com.lansweeper.dp.outbound.v1.PublicCloudLink.Builder.class);
406
+ }
407
+
408
+ // Construct using com.lansweeper.dp.outbound.v1.PublicCloudLink.newBuilder()
409
+ private Builder() {
410
+
411
+ }
412
+
413
+ private Builder(
414
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
415
+ super(parent);
416
+
417
+ }
418
+ @java.lang.Override
419
+ public Builder clear() {
420
+ super.clear();
421
+ bitField0_ = 0;
422
+ toPublicCloudAssetId_ = "";
423
+ linkType_ = "";
424
+ toPublicCloudAssetType_ = "";
425
+ toPublicCloudAssetName_ = "";
426
+ return this;
427
+ }
428
+
429
+ @java.lang.Override
430
+ public com.google.protobuf.Descriptors.Descriptor
431
+ getDescriptorForType() {
432
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_PublicCloudLink_descriptor;
433
+ }
434
+
435
+ @java.lang.Override
436
+ public com.lansweeper.dp.outbound.v1.PublicCloudLink getDefaultInstanceForType() {
437
+ return com.lansweeper.dp.outbound.v1.PublicCloudLink.getDefaultInstance();
438
+ }
439
+
440
+ @java.lang.Override
441
+ public com.lansweeper.dp.outbound.v1.PublicCloudLink build() {
442
+ com.lansweeper.dp.outbound.v1.PublicCloudLink result = buildPartial();
443
+ if (!result.isInitialized()) {
444
+ throw newUninitializedMessageException(result);
445
+ }
446
+ return result;
447
+ }
448
+
449
+ @java.lang.Override
450
+ public com.lansweeper.dp.outbound.v1.PublicCloudLink buildPartial() {
451
+ com.lansweeper.dp.outbound.v1.PublicCloudLink result = new com.lansweeper.dp.outbound.v1.PublicCloudLink(this);
452
+ if (bitField0_ != 0) { buildPartial0(result); }
453
+ onBuilt();
454
+ return result;
455
+ }
456
+
457
+ private void buildPartial0(com.lansweeper.dp.outbound.v1.PublicCloudLink result) {
458
+ int from_bitField0_ = bitField0_;
459
+ if (((from_bitField0_ & 0x00000001) != 0)) {
460
+ result.toPublicCloudAssetId_ = toPublicCloudAssetId_;
461
+ }
462
+ if (((from_bitField0_ & 0x00000002) != 0)) {
463
+ result.linkType_ = linkType_;
464
+ }
465
+ if (((from_bitField0_ & 0x00000004) != 0)) {
466
+ result.toPublicCloudAssetType_ = toPublicCloudAssetType_;
467
+ }
468
+ if (((from_bitField0_ & 0x00000008) != 0)) {
469
+ result.toPublicCloudAssetName_ = toPublicCloudAssetName_;
470
+ }
471
+ }
472
+
473
+ @java.lang.Override
474
+ public Builder clone() {
475
+ return super.clone();
476
+ }
477
+ @java.lang.Override
478
+ public Builder setField(
479
+ com.google.protobuf.Descriptors.FieldDescriptor field,
480
+ java.lang.Object value) {
481
+ return super.setField(field, value);
482
+ }
483
+ @java.lang.Override
484
+ public Builder clearField(
485
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
486
+ return super.clearField(field);
487
+ }
488
+ @java.lang.Override
489
+ public Builder clearOneof(
490
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
491
+ return super.clearOneof(oneof);
492
+ }
493
+ @java.lang.Override
494
+ public Builder setRepeatedField(
495
+ com.google.protobuf.Descriptors.FieldDescriptor field,
496
+ int index, java.lang.Object value) {
497
+ return super.setRepeatedField(field, index, value);
498
+ }
499
+ @java.lang.Override
500
+ public Builder addRepeatedField(
501
+ com.google.protobuf.Descriptors.FieldDescriptor field,
502
+ java.lang.Object value) {
503
+ return super.addRepeatedField(field, value);
504
+ }
505
+ @java.lang.Override
506
+ public Builder mergeFrom(com.google.protobuf.Message other) {
507
+ if (other instanceof com.lansweeper.dp.outbound.v1.PublicCloudLink) {
508
+ return mergeFrom((com.lansweeper.dp.outbound.v1.PublicCloudLink)other);
509
+ } else {
510
+ super.mergeFrom(other);
511
+ return this;
512
+ }
513
+ }
514
+
515
+ public Builder mergeFrom(com.lansweeper.dp.outbound.v1.PublicCloudLink other) {
516
+ if (other == com.lansweeper.dp.outbound.v1.PublicCloudLink.getDefaultInstance()) return this;
517
+ if (!other.getToPublicCloudAssetId().isEmpty()) {
518
+ toPublicCloudAssetId_ = other.toPublicCloudAssetId_;
519
+ bitField0_ |= 0x00000001;
520
+ onChanged();
521
+ }
522
+ if (!other.getLinkType().isEmpty()) {
523
+ linkType_ = other.linkType_;
524
+ bitField0_ |= 0x00000002;
525
+ onChanged();
526
+ }
527
+ if (!other.getToPublicCloudAssetType().isEmpty()) {
528
+ toPublicCloudAssetType_ = other.toPublicCloudAssetType_;
529
+ bitField0_ |= 0x00000004;
530
+ onChanged();
531
+ }
532
+ if (!other.getToPublicCloudAssetName().isEmpty()) {
533
+ toPublicCloudAssetName_ = other.toPublicCloudAssetName_;
534
+ bitField0_ |= 0x00000008;
535
+ onChanged();
536
+ }
537
+ this.mergeUnknownFields(other.getUnknownFields());
538
+ onChanged();
539
+ return this;
540
+ }
541
+
542
+ @java.lang.Override
543
+ public final boolean isInitialized() {
544
+ return true;
545
+ }
546
+
547
+ @java.lang.Override
548
+ public Builder mergeFrom(
549
+ com.google.protobuf.CodedInputStream input,
550
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
551
+ throws java.io.IOException {
552
+ if (extensionRegistry == null) {
553
+ throw new java.lang.NullPointerException();
554
+ }
555
+ try {
556
+ boolean done = false;
557
+ while (!done) {
558
+ int tag = input.readTag();
559
+ switch (tag) {
560
+ case 0:
561
+ done = true;
562
+ break;
563
+ case 10: {
564
+ toPublicCloudAssetId_ = input.readStringRequireUtf8();
565
+ bitField0_ |= 0x00000001;
566
+ break;
567
+ } // case 10
568
+ case 18: {
569
+ linkType_ = input.readStringRequireUtf8();
570
+ bitField0_ |= 0x00000002;
571
+ break;
572
+ } // case 18
573
+ case 26: {
574
+ toPublicCloudAssetType_ = input.readStringRequireUtf8();
575
+ bitField0_ |= 0x00000004;
576
+ break;
577
+ } // case 26
578
+ case 34: {
579
+ toPublicCloudAssetName_ = input.readStringRequireUtf8();
580
+ bitField0_ |= 0x00000008;
581
+ break;
582
+ } // case 34
583
+ default: {
584
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
585
+ done = true; // was an endgroup tag
586
+ }
587
+ break;
588
+ } // default:
589
+ } // switch (tag)
590
+ } // while (!done)
591
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
592
+ throw e.unwrapIOException();
593
+ } finally {
594
+ onChanged();
595
+ } // finally
596
+ return this;
597
+ }
598
+ private int bitField0_;
599
+
600
+ private java.lang.Object toPublicCloudAssetId_ = "";
601
+ /**
602
+ * <code>string to_public_cloud_asset_id = 1;</code>
603
+ * @return The toPublicCloudAssetId.
604
+ */
605
+ public java.lang.String getToPublicCloudAssetId() {
606
+ java.lang.Object ref = toPublicCloudAssetId_;
607
+ if (!(ref instanceof java.lang.String)) {
608
+ com.google.protobuf.ByteString bs =
609
+ (com.google.protobuf.ByteString) ref;
610
+ java.lang.String s = bs.toStringUtf8();
611
+ toPublicCloudAssetId_ = s;
612
+ return s;
613
+ } else {
614
+ return (java.lang.String) ref;
615
+ }
616
+ }
617
+ /**
618
+ * <code>string to_public_cloud_asset_id = 1;</code>
619
+ * @return The bytes for toPublicCloudAssetId.
620
+ */
621
+ public com.google.protobuf.ByteString
622
+ getToPublicCloudAssetIdBytes() {
623
+ java.lang.Object ref = toPublicCloudAssetId_;
624
+ if (ref instanceof String) {
625
+ com.google.protobuf.ByteString b =
626
+ com.google.protobuf.ByteString.copyFromUtf8(
627
+ (java.lang.String) ref);
628
+ toPublicCloudAssetId_ = b;
629
+ return b;
630
+ } else {
631
+ return (com.google.protobuf.ByteString) ref;
632
+ }
633
+ }
634
+ /**
635
+ * <code>string to_public_cloud_asset_id = 1;</code>
636
+ * @param value The toPublicCloudAssetId to set.
637
+ * @return This builder for chaining.
638
+ */
639
+ public Builder setToPublicCloudAssetId(
640
+ java.lang.String value) {
641
+ if (value == null) { throw new NullPointerException(); }
642
+ toPublicCloudAssetId_ = value;
643
+ bitField0_ |= 0x00000001;
644
+ onChanged();
645
+ return this;
646
+ }
647
+ /**
648
+ * <code>string to_public_cloud_asset_id = 1;</code>
649
+ * @return This builder for chaining.
650
+ */
651
+ public Builder clearToPublicCloudAssetId() {
652
+ toPublicCloudAssetId_ = getDefaultInstance().getToPublicCloudAssetId();
653
+ bitField0_ = (bitField0_ & ~0x00000001);
654
+ onChanged();
655
+ return this;
656
+ }
657
+ /**
658
+ * <code>string to_public_cloud_asset_id = 1;</code>
659
+ * @param value The bytes for toPublicCloudAssetId to set.
660
+ * @return This builder for chaining.
661
+ */
662
+ public Builder setToPublicCloudAssetIdBytes(
663
+ com.google.protobuf.ByteString value) {
664
+ if (value == null) { throw new NullPointerException(); }
665
+ checkByteStringIsUtf8(value);
666
+ toPublicCloudAssetId_ = value;
667
+ bitField0_ |= 0x00000001;
668
+ onChanged();
669
+ return this;
670
+ }
671
+
672
+ private java.lang.Object linkType_ = "";
673
+ /**
674
+ * <code>string link_type = 2;</code>
675
+ * @return The linkType.
676
+ */
677
+ public java.lang.String getLinkType() {
678
+ java.lang.Object ref = linkType_;
679
+ if (!(ref instanceof java.lang.String)) {
680
+ com.google.protobuf.ByteString bs =
681
+ (com.google.protobuf.ByteString) ref;
682
+ java.lang.String s = bs.toStringUtf8();
683
+ linkType_ = s;
684
+ return s;
685
+ } else {
686
+ return (java.lang.String) ref;
687
+ }
688
+ }
689
+ /**
690
+ * <code>string link_type = 2;</code>
691
+ * @return The bytes for linkType.
692
+ */
693
+ public com.google.protobuf.ByteString
694
+ getLinkTypeBytes() {
695
+ java.lang.Object ref = linkType_;
696
+ if (ref instanceof String) {
697
+ com.google.protobuf.ByteString b =
698
+ com.google.protobuf.ByteString.copyFromUtf8(
699
+ (java.lang.String) ref);
700
+ linkType_ = b;
701
+ return b;
702
+ } else {
703
+ return (com.google.protobuf.ByteString) ref;
704
+ }
705
+ }
706
+ /**
707
+ * <code>string link_type = 2;</code>
708
+ * @param value The linkType to set.
709
+ * @return This builder for chaining.
710
+ */
711
+ public Builder setLinkType(
712
+ java.lang.String value) {
713
+ if (value == null) { throw new NullPointerException(); }
714
+ linkType_ = value;
715
+ bitField0_ |= 0x00000002;
716
+ onChanged();
717
+ return this;
718
+ }
719
+ /**
720
+ * <code>string link_type = 2;</code>
721
+ * @return This builder for chaining.
722
+ */
723
+ public Builder clearLinkType() {
724
+ linkType_ = getDefaultInstance().getLinkType();
725
+ bitField0_ = (bitField0_ & ~0x00000002);
726
+ onChanged();
727
+ return this;
728
+ }
729
+ /**
730
+ * <code>string link_type = 2;</code>
731
+ * @param value The bytes for linkType to set.
732
+ * @return This builder for chaining.
733
+ */
734
+ public Builder setLinkTypeBytes(
735
+ com.google.protobuf.ByteString value) {
736
+ if (value == null) { throw new NullPointerException(); }
737
+ checkByteStringIsUtf8(value);
738
+ linkType_ = value;
739
+ bitField0_ |= 0x00000002;
740
+ onChanged();
741
+ return this;
742
+ }
743
+
744
+ private java.lang.Object toPublicCloudAssetType_ = "";
745
+ /**
746
+ * <code>string to_public_cloud_asset_type = 3;</code>
747
+ * @return The toPublicCloudAssetType.
748
+ */
749
+ public java.lang.String getToPublicCloudAssetType() {
750
+ java.lang.Object ref = toPublicCloudAssetType_;
751
+ if (!(ref instanceof java.lang.String)) {
752
+ com.google.protobuf.ByteString bs =
753
+ (com.google.protobuf.ByteString) ref;
754
+ java.lang.String s = bs.toStringUtf8();
755
+ toPublicCloudAssetType_ = s;
756
+ return s;
757
+ } else {
758
+ return (java.lang.String) ref;
759
+ }
760
+ }
761
+ /**
762
+ * <code>string to_public_cloud_asset_type = 3;</code>
763
+ * @return The bytes for toPublicCloudAssetType.
764
+ */
765
+ public com.google.protobuf.ByteString
766
+ getToPublicCloudAssetTypeBytes() {
767
+ java.lang.Object ref = toPublicCloudAssetType_;
768
+ if (ref instanceof String) {
769
+ com.google.protobuf.ByteString b =
770
+ com.google.protobuf.ByteString.copyFromUtf8(
771
+ (java.lang.String) ref);
772
+ toPublicCloudAssetType_ = b;
773
+ return b;
774
+ } else {
775
+ return (com.google.protobuf.ByteString) ref;
776
+ }
777
+ }
778
+ /**
779
+ * <code>string to_public_cloud_asset_type = 3;</code>
780
+ * @param value The toPublicCloudAssetType to set.
781
+ * @return This builder for chaining.
782
+ */
783
+ public Builder setToPublicCloudAssetType(
784
+ java.lang.String value) {
785
+ if (value == null) { throw new NullPointerException(); }
786
+ toPublicCloudAssetType_ = value;
787
+ bitField0_ |= 0x00000004;
788
+ onChanged();
789
+ return this;
790
+ }
791
+ /**
792
+ * <code>string to_public_cloud_asset_type = 3;</code>
793
+ * @return This builder for chaining.
794
+ */
795
+ public Builder clearToPublicCloudAssetType() {
796
+ toPublicCloudAssetType_ = getDefaultInstance().getToPublicCloudAssetType();
797
+ bitField0_ = (bitField0_ & ~0x00000004);
798
+ onChanged();
799
+ return this;
800
+ }
801
+ /**
802
+ * <code>string to_public_cloud_asset_type = 3;</code>
803
+ * @param value The bytes for toPublicCloudAssetType to set.
804
+ * @return This builder for chaining.
805
+ */
806
+ public Builder setToPublicCloudAssetTypeBytes(
807
+ com.google.protobuf.ByteString value) {
808
+ if (value == null) { throw new NullPointerException(); }
809
+ checkByteStringIsUtf8(value);
810
+ toPublicCloudAssetType_ = value;
811
+ bitField0_ |= 0x00000004;
812
+ onChanged();
813
+ return this;
814
+ }
815
+
816
+ private java.lang.Object toPublicCloudAssetName_ = "";
817
+ /**
818
+ * <code>string to_public_cloud_asset_name = 4;</code>
819
+ * @return The toPublicCloudAssetName.
820
+ */
821
+ public java.lang.String getToPublicCloudAssetName() {
822
+ java.lang.Object ref = toPublicCloudAssetName_;
823
+ if (!(ref instanceof java.lang.String)) {
824
+ com.google.protobuf.ByteString bs =
825
+ (com.google.protobuf.ByteString) ref;
826
+ java.lang.String s = bs.toStringUtf8();
827
+ toPublicCloudAssetName_ = s;
828
+ return s;
829
+ } else {
830
+ return (java.lang.String) ref;
831
+ }
832
+ }
833
+ /**
834
+ * <code>string to_public_cloud_asset_name = 4;</code>
835
+ * @return The bytes for toPublicCloudAssetName.
836
+ */
837
+ public com.google.protobuf.ByteString
838
+ getToPublicCloudAssetNameBytes() {
839
+ java.lang.Object ref = toPublicCloudAssetName_;
840
+ if (ref instanceof String) {
841
+ com.google.protobuf.ByteString b =
842
+ com.google.protobuf.ByteString.copyFromUtf8(
843
+ (java.lang.String) ref);
844
+ toPublicCloudAssetName_ = b;
845
+ return b;
846
+ } else {
847
+ return (com.google.protobuf.ByteString) ref;
848
+ }
849
+ }
850
+ /**
851
+ * <code>string to_public_cloud_asset_name = 4;</code>
852
+ * @param value The toPublicCloudAssetName to set.
853
+ * @return This builder for chaining.
854
+ */
855
+ public Builder setToPublicCloudAssetName(
856
+ java.lang.String value) {
857
+ if (value == null) { throw new NullPointerException(); }
858
+ toPublicCloudAssetName_ = value;
859
+ bitField0_ |= 0x00000008;
860
+ onChanged();
861
+ return this;
862
+ }
863
+ /**
864
+ * <code>string to_public_cloud_asset_name = 4;</code>
865
+ * @return This builder for chaining.
866
+ */
867
+ public Builder clearToPublicCloudAssetName() {
868
+ toPublicCloudAssetName_ = getDefaultInstance().getToPublicCloudAssetName();
869
+ bitField0_ = (bitField0_ & ~0x00000008);
870
+ onChanged();
871
+ return this;
872
+ }
873
+ /**
874
+ * <code>string to_public_cloud_asset_name = 4;</code>
875
+ * @param value The bytes for toPublicCloudAssetName to set.
876
+ * @return This builder for chaining.
877
+ */
878
+ public Builder setToPublicCloudAssetNameBytes(
879
+ com.google.protobuf.ByteString value) {
880
+ if (value == null) { throw new NullPointerException(); }
881
+ checkByteStringIsUtf8(value);
882
+ toPublicCloudAssetName_ = value;
883
+ bitField0_ |= 0x00000008;
884
+ onChanged();
885
+ return this;
886
+ }
887
+ @java.lang.Override
888
+ public final Builder setUnknownFields(
889
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
890
+ return super.setUnknownFields(unknownFields);
891
+ }
892
+
893
+ @java.lang.Override
894
+ public final Builder mergeUnknownFields(
895
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
896
+ return super.mergeUnknownFields(unknownFields);
897
+ }
898
+
899
+
900
+ // @@protoc_insertion_point(builder_scope:com.lansweeper.dp.outbound.v1.PublicCloudLink)
901
+ }
902
+
903
+ // @@protoc_insertion_point(class_scope:com.lansweeper.dp.outbound.v1.PublicCloudLink)
904
+ private static final com.lansweeper.dp.outbound.v1.PublicCloudLink DEFAULT_INSTANCE;
905
+ static {
906
+ DEFAULT_INSTANCE = new com.lansweeper.dp.outbound.v1.PublicCloudLink();
907
+ }
908
+
909
+ public static com.lansweeper.dp.outbound.v1.PublicCloudLink getDefaultInstance() {
910
+ return DEFAULT_INSTANCE;
911
+ }
912
+
913
+ private static final com.google.protobuf.Parser<PublicCloudLink>
914
+ PARSER = new com.google.protobuf.AbstractParser<PublicCloudLink>() {
915
+ @java.lang.Override
916
+ public PublicCloudLink parsePartialFrom(
917
+ com.google.protobuf.CodedInputStream input,
918
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
919
+ throws com.google.protobuf.InvalidProtocolBufferException {
920
+ Builder builder = newBuilder();
921
+ try {
922
+ builder.mergeFrom(input, extensionRegistry);
923
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
924
+ throw e.setUnfinishedMessage(builder.buildPartial());
925
+ } catch (com.google.protobuf.UninitializedMessageException e) {
926
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
927
+ } catch (java.io.IOException e) {
928
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
929
+ .setUnfinishedMessage(builder.buildPartial());
930
+ }
931
+ return builder.buildPartial();
932
+ }
933
+ };
934
+
935
+ public static com.google.protobuf.Parser<PublicCloudLink> parser() {
936
+ return PARSER;
937
+ }
938
+
939
+ @java.lang.Override
940
+ public com.google.protobuf.Parser<PublicCloudLink> getParserForType() {
941
+ return PARSER;
942
+ }
943
+
944
+ @java.lang.Override
945
+ public com.lansweeper.dp.outbound.v1.PublicCloudLink getDefaultInstanceForType() {
946
+ return DEFAULT_INSTANCE;
947
+ }
948
+
949
+ }
950
+