@lansweeper/data-platform-outbound-grpc 0.8.9 → 0.8.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_pb.d.ts +34 -0
  4. package/gen-proto/outbound_pb.js +273 -2
  5. package/generated-go/outbound.pb.go +2019 -1930
  6. package/java.json +1 -1
  7. package/model/pom.xml +1 -1
  8. package/model/src/main/proto/outbound.proto +6 -0
  9. package/model/target/classes/com/lansweeper/dp/outbound/v1/CitrixPool$1.class +0 -0
  10. package/model/target/classes/com/lansweeper/dp/outbound/v1/CitrixPool$Builder.class +0 -0
  11. package/model/target/classes/com/lansweeper/dp/outbound/v1/CitrixPool.class +0 -0
  12. package/model/target/classes/com/lansweeper/dp/outbound/v1/CitrixPoolOrBuilder.class +0 -0
  13. package/model/target/classes/com/lansweeper/dp/outbound/v1/CitrixUser$1.class +0 -0
  14. package/model/target/classes/com/lansweeper/dp/outbound/v1/CitrixUser$Builder.class +0 -0
  15. package/model/target/classes/com/lansweeper/dp/outbound/v1/CitrixUser.class +0 -0
  16. package/model/target/classes/com/lansweeper/dp/outbound/v1/CitrixUserOrBuilder.class +0 -0
  17. package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
  18. package/model/target/classes/outbound.proto +6 -0
  19. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CitrixPool.java +350 -0
  20. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CitrixPoolOrBuilder.java +24 -0
  21. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CitrixUser.java +723 -0
  22. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CitrixUserOrBuilder.java +44 -0
  23. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +537 -522
  24. package/model/target/maven-archiver/pom.properties +2 -2
  25. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +4 -0
  26. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +2 -0
  27. package/model/target/{outbound-model-0.8.8-sources.jar → outbound-model-0.8.9-sources.jar} +0 -0
  28. package/model/target/{outbound-model-0.8.8.jar → outbound-model-0.8.9.jar} +0 -0
  29. package/package.json +2 -2
  30. package/pom.xml +1 -1
  31. package/proto/outbound.proto +6 -0
  32. package/service/pom.xml +1 -1
  33. package/service/target/maven-archiver/pom.properties +2 -2
  34. package/service/target/{outbound-service-0.8.8-sources.jar → outbound-service-0.8.9-sources.jar} +0 -0
  35. package/service/target/{outbound-service-0.8.8.jar → outbound-service-0.8.9.jar} +0 -0
@@ -0,0 +1,723 @@
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.CitrixUser}
9
+ */
10
+ public final class CitrixUser extends
11
+ com.google.protobuf.GeneratedMessageV3 implements
12
+ // @@protoc_insertion_point(message_implements:com.lansweeper.dp.outbound.v1.CitrixUser)
13
+ CitrixUserOrBuilder {
14
+ private static final long serialVersionUID = 0L;
15
+ // Use CitrixUser.newBuilder() to construct.
16
+ private CitrixUser(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
17
+ super(builder);
18
+ }
19
+ private CitrixUser() {
20
+ name_ = "";
21
+ shortName_ = "";
22
+ }
23
+
24
+ @java.lang.Override
25
+ @SuppressWarnings({"unused"})
26
+ protected java.lang.Object newInstance(
27
+ UnusedPrivateParameter unused) {
28
+ return new CitrixUser();
29
+ }
30
+
31
+ public static final com.google.protobuf.Descriptors.Descriptor
32
+ getDescriptor() {
33
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_CitrixUser_descriptor;
34
+ }
35
+
36
+ @java.lang.Override
37
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
38
+ internalGetFieldAccessorTable() {
39
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_CitrixUser_fieldAccessorTable
40
+ .ensureFieldAccessorsInitialized(
41
+ com.lansweeper.dp.outbound.v1.CitrixUser.class, com.lansweeper.dp.outbound.v1.CitrixUser.Builder.class);
42
+ }
43
+
44
+ private int bitField0_;
45
+ public static final int NAME_FIELD_NUMBER = 1;
46
+ @SuppressWarnings("serial")
47
+ private volatile java.lang.Object name_ = "";
48
+ /**
49
+ * <code>optional string name = 1;</code>
50
+ * @return Whether the name field is set.
51
+ */
52
+ @java.lang.Override
53
+ public boolean hasName() {
54
+ return ((bitField0_ & 0x00000001) != 0);
55
+ }
56
+ /**
57
+ * <code>optional string name = 1;</code>
58
+ * @return The name.
59
+ */
60
+ @java.lang.Override
61
+ public java.lang.String getName() {
62
+ java.lang.Object ref = name_;
63
+ if (ref instanceof java.lang.String) {
64
+ return (java.lang.String) ref;
65
+ } else {
66
+ com.google.protobuf.ByteString bs =
67
+ (com.google.protobuf.ByteString) ref;
68
+ java.lang.String s = bs.toStringUtf8();
69
+ name_ = s;
70
+ return s;
71
+ }
72
+ }
73
+ /**
74
+ * <code>optional string name = 1;</code>
75
+ * @return The bytes for name.
76
+ */
77
+ @java.lang.Override
78
+ public com.google.protobuf.ByteString
79
+ getNameBytes() {
80
+ java.lang.Object ref = name_;
81
+ if (ref instanceof java.lang.String) {
82
+ com.google.protobuf.ByteString b =
83
+ com.google.protobuf.ByteString.copyFromUtf8(
84
+ (java.lang.String) ref);
85
+ name_ = b;
86
+ return b;
87
+ } else {
88
+ return (com.google.protobuf.ByteString) ref;
89
+ }
90
+ }
91
+
92
+ public static final int SHORT_NAME_FIELD_NUMBER = 2;
93
+ @SuppressWarnings("serial")
94
+ private volatile java.lang.Object shortName_ = "";
95
+ /**
96
+ * <code>optional string short_name = 2;</code>
97
+ * @return Whether the shortName field is set.
98
+ */
99
+ @java.lang.Override
100
+ public boolean hasShortName() {
101
+ return ((bitField0_ & 0x00000002) != 0);
102
+ }
103
+ /**
104
+ * <code>optional string short_name = 2;</code>
105
+ * @return The shortName.
106
+ */
107
+ @java.lang.Override
108
+ public java.lang.String getShortName() {
109
+ java.lang.Object ref = shortName_;
110
+ if (ref instanceof java.lang.String) {
111
+ return (java.lang.String) ref;
112
+ } else {
113
+ com.google.protobuf.ByteString bs =
114
+ (com.google.protobuf.ByteString) ref;
115
+ java.lang.String s = bs.toStringUtf8();
116
+ shortName_ = s;
117
+ return s;
118
+ }
119
+ }
120
+ /**
121
+ * <code>optional string short_name = 2;</code>
122
+ * @return The bytes for shortName.
123
+ */
124
+ @java.lang.Override
125
+ public com.google.protobuf.ByteString
126
+ getShortNameBytes() {
127
+ java.lang.Object ref = shortName_;
128
+ if (ref instanceof java.lang.String) {
129
+ com.google.protobuf.ByteString b =
130
+ com.google.protobuf.ByteString.copyFromUtf8(
131
+ (java.lang.String) ref);
132
+ shortName_ = b;
133
+ return b;
134
+ } else {
135
+ return (com.google.protobuf.ByteString) ref;
136
+ }
137
+ }
138
+
139
+ private byte memoizedIsInitialized = -1;
140
+ @java.lang.Override
141
+ public final boolean isInitialized() {
142
+ byte isInitialized = memoizedIsInitialized;
143
+ if (isInitialized == 1) return true;
144
+ if (isInitialized == 0) return false;
145
+
146
+ memoizedIsInitialized = 1;
147
+ return true;
148
+ }
149
+
150
+ @java.lang.Override
151
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
152
+ throws java.io.IOException {
153
+ if (((bitField0_ & 0x00000001) != 0)) {
154
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
155
+ }
156
+ if (((bitField0_ & 0x00000002) != 0)) {
157
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, shortName_);
158
+ }
159
+ getUnknownFields().writeTo(output);
160
+ }
161
+
162
+ @java.lang.Override
163
+ public int getSerializedSize() {
164
+ int size = memoizedSize;
165
+ if (size != -1) return size;
166
+
167
+ size = 0;
168
+ if (((bitField0_ & 0x00000001) != 0)) {
169
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
170
+ }
171
+ if (((bitField0_ & 0x00000002) != 0)) {
172
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, shortName_);
173
+ }
174
+ size += getUnknownFields().getSerializedSize();
175
+ memoizedSize = size;
176
+ return size;
177
+ }
178
+
179
+ @java.lang.Override
180
+ public boolean equals(final java.lang.Object obj) {
181
+ if (obj == this) {
182
+ return true;
183
+ }
184
+ if (!(obj instanceof com.lansweeper.dp.outbound.v1.CitrixUser)) {
185
+ return super.equals(obj);
186
+ }
187
+ com.lansweeper.dp.outbound.v1.CitrixUser other = (com.lansweeper.dp.outbound.v1.CitrixUser) obj;
188
+
189
+ if (hasName() != other.hasName()) return false;
190
+ if (hasName()) {
191
+ if (!getName()
192
+ .equals(other.getName())) return false;
193
+ }
194
+ if (hasShortName() != other.hasShortName()) return false;
195
+ if (hasShortName()) {
196
+ if (!getShortName()
197
+ .equals(other.getShortName())) return false;
198
+ }
199
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
200
+ return true;
201
+ }
202
+
203
+ @java.lang.Override
204
+ public int hashCode() {
205
+ if (memoizedHashCode != 0) {
206
+ return memoizedHashCode;
207
+ }
208
+ int hash = 41;
209
+ hash = (19 * hash) + getDescriptor().hashCode();
210
+ if (hasName()) {
211
+ hash = (37 * hash) + NAME_FIELD_NUMBER;
212
+ hash = (53 * hash) + getName().hashCode();
213
+ }
214
+ if (hasShortName()) {
215
+ hash = (37 * hash) + SHORT_NAME_FIELD_NUMBER;
216
+ hash = (53 * hash) + getShortName().hashCode();
217
+ }
218
+ hash = (29 * hash) + getUnknownFields().hashCode();
219
+ memoizedHashCode = hash;
220
+ return hash;
221
+ }
222
+
223
+ public static com.lansweeper.dp.outbound.v1.CitrixUser parseFrom(
224
+ java.nio.ByteBuffer data)
225
+ throws com.google.protobuf.InvalidProtocolBufferException {
226
+ return PARSER.parseFrom(data);
227
+ }
228
+ public static com.lansweeper.dp.outbound.v1.CitrixUser parseFrom(
229
+ java.nio.ByteBuffer data,
230
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
231
+ throws com.google.protobuf.InvalidProtocolBufferException {
232
+ return PARSER.parseFrom(data, extensionRegistry);
233
+ }
234
+ public static com.lansweeper.dp.outbound.v1.CitrixUser parseFrom(
235
+ com.google.protobuf.ByteString data)
236
+ throws com.google.protobuf.InvalidProtocolBufferException {
237
+ return PARSER.parseFrom(data);
238
+ }
239
+ public static com.lansweeper.dp.outbound.v1.CitrixUser parseFrom(
240
+ com.google.protobuf.ByteString data,
241
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
242
+ throws com.google.protobuf.InvalidProtocolBufferException {
243
+ return PARSER.parseFrom(data, extensionRegistry);
244
+ }
245
+ public static com.lansweeper.dp.outbound.v1.CitrixUser parseFrom(byte[] data)
246
+ throws com.google.protobuf.InvalidProtocolBufferException {
247
+ return PARSER.parseFrom(data);
248
+ }
249
+ public static com.lansweeper.dp.outbound.v1.CitrixUser parseFrom(
250
+ byte[] data,
251
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
252
+ throws com.google.protobuf.InvalidProtocolBufferException {
253
+ return PARSER.parseFrom(data, extensionRegistry);
254
+ }
255
+ public static com.lansweeper.dp.outbound.v1.CitrixUser parseFrom(java.io.InputStream input)
256
+ throws java.io.IOException {
257
+ return com.google.protobuf.GeneratedMessageV3
258
+ .parseWithIOException(PARSER, input);
259
+ }
260
+ public static com.lansweeper.dp.outbound.v1.CitrixUser parseFrom(
261
+ java.io.InputStream input,
262
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
263
+ throws java.io.IOException {
264
+ return com.google.protobuf.GeneratedMessageV3
265
+ .parseWithIOException(PARSER, input, extensionRegistry);
266
+ }
267
+
268
+ public static com.lansweeper.dp.outbound.v1.CitrixUser parseDelimitedFrom(java.io.InputStream input)
269
+ throws java.io.IOException {
270
+ return com.google.protobuf.GeneratedMessageV3
271
+ .parseDelimitedWithIOException(PARSER, input);
272
+ }
273
+
274
+ public static com.lansweeper.dp.outbound.v1.CitrixUser parseDelimitedFrom(
275
+ java.io.InputStream input,
276
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
277
+ throws java.io.IOException {
278
+ return com.google.protobuf.GeneratedMessageV3
279
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
280
+ }
281
+ public static com.lansweeper.dp.outbound.v1.CitrixUser parseFrom(
282
+ com.google.protobuf.CodedInputStream input)
283
+ throws java.io.IOException {
284
+ return com.google.protobuf.GeneratedMessageV3
285
+ .parseWithIOException(PARSER, input);
286
+ }
287
+ public static com.lansweeper.dp.outbound.v1.CitrixUser parseFrom(
288
+ com.google.protobuf.CodedInputStream input,
289
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
290
+ throws java.io.IOException {
291
+ return com.google.protobuf.GeneratedMessageV3
292
+ .parseWithIOException(PARSER, input, extensionRegistry);
293
+ }
294
+
295
+ @java.lang.Override
296
+ public Builder newBuilderForType() { return newBuilder(); }
297
+ public static Builder newBuilder() {
298
+ return DEFAULT_INSTANCE.toBuilder();
299
+ }
300
+ public static Builder newBuilder(com.lansweeper.dp.outbound.v1.CitrixUser prototype) {
301
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
302
+ }
303
+ @java.lang.Override
304
+ public Builder toBuilder() {
305
+ return this == DEFAULT_INSTANCE
306
+ ? new Builder() : new Builder().mergeFrom(this);
307
+ }
308
+
309
+ @java.lang.Override
310
+ protected Builder newBuilderForType(
311
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
312
+ Builder builder = new Builder(parent);
313
+ return builder;
314
+ }
315
+ /**
316
+ * Protobuf type {@code com.lansweeper.dp.outbound.v1.CitrixUser}
317
+ */
318
+ public static final class Builder extends
319
+ com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
320
+ // @@protoc_insertion_point(builder_implements:com.lansweeper.dp.outbound.v1.CitrixUser)
321
+ com.lansweeper.dp.outbound.v1.CitrixUserOrBuilder {
322
+ public static final com.google.protobuf.Descriptors.Descriptor
323
+ getDescriptor() {
324
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_CitrixUser_descriptor;
325
+ }
326
+
327
+ @java.lang.Override
328
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
329
+ internalGetFieldAccessorTable() {
330
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_CitrixUser_fieldAccessorTable
331
+ .ensureFieldAccessorsInitialized(
332
+ com.lansweeper.dp.outbound.v1.CitrixUser.class, com.lansweeper.dp.outbound.v1.CitrixUser.Builder.class);
333
+ }
334
+
335
+ // Construct using com.lansweeper.dp.outbound.v1.CitrixUser.newBuilder()
336
+ private Builder() {
337
+
338
+ }
339
+
340
+ private Builder(
341
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
342
+ super(parent);
343
+
344
+ }
345
+ @java.lang.Override
346
+ public Builder clear() {
347
+ super.clear();
348
+ bitField0_ = 0;
349
+ name_ = "";
350
+ shortName_ = "";
351
+ return this;
352
+ }
353
+
354
+ @java.lang.Override
355
+ public com.google.protobuf.Descriptors.Descriptor
356
+ getDescriptorForType() {
357
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_CitrixUser_descriptor;
358
+ }
359
+
360
+ @java.lang.Override
361
+ public com.lansweeper.dp.outbound.v1.CitrixUser getDefaultInstanceForType() {
362
+ return com.lansweeper.dp.outbound.v1.CitrixUser.getDefaultInstance();
363
+ }
364
+
365
+ @java.lang.Override
366
+ public com.lansweeper.dp.outbound.v1.CitrixUser build() {
367
+ com.lansweeper.dp.outbound.v1.CitrixUser result = buildPartial();
368
+ if (!result.isInitialized()) {
369
+ throw newUninitializedMessageException(result);
370
+ }
371
+ return result;
372
+ }
373
+
374
+ @java.lang.Override
375
+ public com.lansweeper.dp.outbound.v1.CitrixUser buildPartial() {
376
+ com.lansweeper.dp.outbound.v1.CitrixUser result = new com.lansweeper.dp.outbound.v1.CitrixUser(this);
377
+ if (bitField0_ != 0) { buildPartial0(result); }
378
+ onBuilt();
379
+ return result;
380
+ }
381
+
382
+ private void buildPartial0(com.lansweeper.dp.outbound.v1.CitrixUser result) {
383
+ int from_bitField0_ = bitField0_;
384
+ int to_bitField0_ = 0;
385
+ if (((from_bitField0_ & 0x00000001) != 0)) {
386
+ result.name_ = name_;
387
+ to_bitField0_ |= 0x00000001;
388
+ }
389
+ if (((from_bitField0_ & 0x00000002) != 0)) {
390
+ result.shortName_ = shortName_;
391
+ to_bitField0_ |= 0x00000002;
392
+ }
393
+ result.bitField0_ |= to_bitField0_;
394
+ }
395
+
396
+ @java.lang.Override
397
+ public Builder clone() {
398
+ return super.clone();
399
+ }
400
+ @java.lang.Override
401
+ public Builder setField(
402
+ com.google.protobuf.Descriptors.FieldDescriptor field,
403
+ java.lang.Object value) {
404
+ return super.setField(field, value);
405
+ }
406
+ @java.lang.Override
407
+ public Builder clearField(
408
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
409
+ return super.clearField(field);
410
+ }
411
+ @java.lang.Override
412
+ public Builder clearOneof(
413
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
414
+ return super.clearOneof(oneof);
415
+ }
416
+ @java.lang.Override
417
+ public Builder setRepeatedField(
418
+ com.google.protobuf.Descriptors.FieldDescriptor field,
419
+ int index, java.lang.Object value) {
420
+ return super.setRepeatedField(field, index, value);
421
+ }
422
+ @java.lang.Override
423
+ public Builder addRepeatedField(
424
+ com.google.protobuf.Descriptors.FieldDescriptor field,
425
+ java.lang.Object value) {
426
+ return super.addRepeatedField(field, value);
427
+ }
428
+ @java.lang.Override
429
+ public Builder mergeFrom(com.google.protobuf.Message other) {
430
+ if (other instanceof com.lansweeper.dp.outbound.v1.CitrixUser) {
431
+ return mergeFrom((com.lansweeper.dp.outbound.v1.CitrixUser)other);
432
+ } else {
433
+ super.mergeFrom(other);
434
+ return this;
435
+ }
436
+ }
437
+
438
+ public Builder mergeFrom(com.lansweeper.dp.outbound.v1.CitrixUser other) {
439
+ if (other == com.lansweeper.dp.outbound.v1.CitrixUser.getDefaultInstance()) return this;
440
+ if (other.hasName()) {
441
+ name_ = other.name_;
442
+ bitField0_ |= 0x00000001;
443
+ onChanged();
444
+ }
445
+ if (other.hasShortName()) {
446
+ shortName_ = other.shortName_;
447
+ bitField0_ |= 0x00000002;
448
+ onChanged();
449
+ }
450
+ this.mergeUnknownFields(other.getUnknownFields());
451
+ onChanged();
452
+ return this;
453
+ }
454
+
455
+ @java.lang.Override
456
+ public final boolean isInitialized() {
457
+ return true;
458
+ }
459
+
460
+ @java.lang.Override
461
+ public Builder mergeFrom(
462
+ com.google.protobuf.CodedInputStream input,
463
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
464
+ throws java.io.IOException {
465
+ if (extensionRegistry == null) {
466
+ throw new java.lang.NullPointerException();
467
+ }
468
+ try {
469
+ boolean done = false;
470
+ while (!done) {
471
+ int tag = input.readTag();
472
+ switch (tag) {
473
+ case 0:
474
+ done = true;
475
+ break;
476
+ case 10: {
477
+ name_ = input.readStringRequireUtf8();
478
+ bitField0_ |= 0x00000001;
479
+ break;
480
+ } // case 10
481
+ case 18: {
482
+ shortName_ = input.readStringRequireUtf8();
483
+ bitField0_ |= 0x00000002;
484
+ break;
485
+ } // case 18
486
+ default: {
487
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
488
+ done = true; // was an endgroup tag
489
+ }
490
+ break;
491
+ } // default:
492
+ } // switch (tag)
493
+ } // while (!done)
494
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
495
+ throw e.unwrapIOException();
496
+ } finally {
497
+ onChanged();
498
+ } // finally
499
+ return this;
500
+ }
501
+ private int bitField0_;
502
+
503
+ private java.lang.Object name_ = "";
504
+ /**
505
+ * <code>optional string name = 1;</code>
506
+ * @return Whether the name field is set.
507
+ */
508
+ public boolean hasName() {
509
+ return ((bitField0_ & 0x00000001) != 0);
510
+ }
511
+ /**
512
+ * <code>optional string name = 1;</code>
513
+ * @return The name.
514
+ */
515
+ public java.lang.String getName() {
516
+ java.lang.Object ref = name_;
517
+ if (!(ref instanceof java.lang.String)) {
518
+ com.google.protobuf.ByteString bs =
519
+ (com.google.protobuf.ByteString) ref;
520
+ java.lang.String s = bs.toStringUtf8();
521
+ name_ = s;
522
+ return s;
523
+ } else {
524
+ return (java.lang.String) ref;
525
+ }
526
+ }
527
+ /**
528
+ * <code>optional string name = 1;</code>
529
+ * @return The bytes for name.
530
+ */
531
+ public com.google.protobuf.ByteString
532
+ getNameBytes() {
533
+ java.lang.Object ref = name_;
534
+ if (ref instanceof String) {
535
+ com.google.protobuf.ByteString b =
536
+ com.google.protobuf.ByteString.copyFromUtf8(
537
+ (java.lang.String) ref);
538
+ name_ = b;
539
+ return b;
540
+ } else {
541
+ return (com.google.protobuf.ByteString) ref;
542
+ }
543
+ }
544
+ /**
545
+ * <code>optional string name = 1;</code>
546
+ * @param value The name to set.
547
+ * @return This builder for chaining.
548
+ */
549
+ public Builder setName(
550
+ java.lang.String value) {
551
+ if (value == null) { throw new NullPointerException(); }
552
+ name_ = value;
553
+ bitField0_ |= 0x00000001;
554
+ onChanged();
555
+ return this;
556
+ }
557
+ /**
558
+ * <code>optional string name = 1;</code>
559
+ * @return This builder for chaining.
560
+ */
561
+ public Builder clearName() {
562
+ name_ = getDefaultInstance().getName();
563
+ bitField0_ = (bitField0_ & ~0x00000001);
564
+ onChanged();
565
+ return this;
566
+ }
567
+ /**
568
+ * <code>optional string name = 1;</code>
569
+ * @param value The bytes for name to set.
570
+ * @return This builder for chaining.
571
+ */
572
+ public Builder setNameBytes(
573
+ com.google.protobuf.ByteString value) {
574
+ if (value == null) { throw new NullPointerException(); }
575
+ checkByteStringIsUtf8(value);
576
+ name_ = value;
577
+ bitField0_ |= 0x00000001;
578
+ onChanged();
579
+ return this;
580
+ }
581
+
582
+ private java.lang.Object shortName_ = "";
583
+ /**
584
+ * <code>optional string short_name = 2;</code>
585
+ * @return Whether the shortName field is set.
586
+ */
587
+ public boolean hasShortName() {
588
+ return ((bitField0_ & 0x00000002) != 0);
589
+ }
590
+ /**
591
+ * <code>optional string short_name = 2;</code>
592
+ * @return The shortName.
593
+ */
594
+ public java.lang.String getShortName() {
595
+ java.lang.Object ref = shortName_;
596
+ if (!(ref instanceof java.lang.String)) {
597
+ com.google.protobuf.ByteString bs =
598
+ (com.google.protobuf.ByteString) ref;
599
+ java.lang.String s = bs.toStringUtf8();
600
+ shortName_ = s;
601
+ return s;
602
+ } else {
603
+ return (java.lang.String) ref;
604
+ }
605
+ }
606
+ /**
607
+ * <code>optional string short_name = 2;</code>
608
+ * @return The bytes for shortName.
609
+ */
610
+ public com.google.protobuf.ByteString
611
+ getShortNameBytes() {
612
+ java.lang.Object ref = shortName_;
613
+ if (ref instanceof String) {
614
+ com.google.protobuf.ByteString b =
615
+ com.google.protobuf.ByteString.copyFromUtf8(
616
+ (java.lang.String) ref);
617
+ shortName_ = b;
618
+ return b;
619
+ } else {
620
+ return (com.google.protobuf.ByteString) ref;
621
+ }
622
+ }
623
+ /**
624
+ * <code>optional string short_name = 2;</code>
625
+ * @param value The shortName to set.
626
+ * @return This builder for chaining.
627
+ */
628
+ public Builder setShortName(
629
+ java.lang.String value) {
630
+ if (value == null) { throw new NullPointerException(); }
631
+ shortName_ = value;
632
+ bitField0_ |= 0x00000002;
633
+ onChanged();
634
+ return this;
635
+ }
636
+ /**
637
+ * <code>optional string short_name = 2;</code>
638
+ * @return This builder for chaining.
639
+ */
640
+ public Builder clearShortName() {
641
+ shortName_ = getDefaultInstance().getShortName();
642
+ bitField0_ = (bitField0_ & ~0x00000002);
643
+ onChanged();
644
+ return this;
645
+ }
646
+ /**
647
+ * <code>optional string short_name = 2;</code>
648
+ * @param value The bytes for shortName to set.
649
+ * @return This builder for chaining.
650
+ */
651
+ public Builder setShortNameBytes(
652
+ com.google.protobuf.ByteString value) {
653
+ if (value == null) { throw new NullPointerException(); }
654
+ checkByteStringIsUtf8(value);
655
+ shortName_ = value;
656
+ bitField0_ |= 0x00000002;
657
+ onChanged();
658
+ return this;
659
+ }
660
+ @java.lang.Override
661
+ public final Builder setUnknownFields(
662
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
663
+ return super.setUnknownFields(unknownFields);
664
+ }
665
+
666
+ @java.lang.Override
667
+ public final Builder mergeUnknownFields(
668
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
669
+ return super.mergeUnknownFields(unknownFields);
670
+ }
671
+
672
+
673
+ // @@protoc_insertion_point(builder_scope:com.lansweeper.dp.outbound.v1.CitrixUser)
674
+ }
675
+
676
+ // @@protoc_insertion_point(class_scope:com.lansweeper.dp.outbound.v1.CitrixUser)
677
+ private static final com.lansweeper.dp.outbound.v1.CitrixUser DEFAULT_INSTANCE;
678
+ static {
679
+ DEFAULT_INSTANCE = new com.lansweeper.dp.outbound.v1.CitrixUser();
680
+ }
681
+
682
+ public static com.lansweeper.dp.outbound.v1.CitrixUser getDefaultInstance() {
683
+ return DEFAULT_INSTANCE;
684
+ }
685
+
686
+ private static final com.google.protobuf.Parser<CitrixUser>
687
+ PARSER = new com.google.protobuf.AbstractParser<CitrixUser>() {
688
+ @java.lang.Override
689
+ public CitrixUser parsePartialFrom(
690
+ com.google.protobuf.CodedInputStream input,
691
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
692
+ throws com.google.protobuf.InvalidProtocolBufferException {
693
+ Builder builder = newBuilder();
694
+ try {
695
+ builder.mergeFrom(input, extensionRegistry);
696
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
697
+ throw e.setUnfinishedMessage(builder.buildPartial());
698
+ } catch (com.google.protobuf.UninitializedMessageException e) {
699
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
700
+ } catch (java.io.IOException e) {
701
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
702
+ .setUnfinishedMessage(builder.buildPartial());
703
+ }
704
+ return builder.buildPartial();
705
+ }
706
+ };
707
+
708
+ public static com.google.protobuf.Parser<CitrixUser> parser() {
709
+ return PARSER;
710
+ }
711
+
712
+ @java.lang.Override
713
+ public com.google.protobuf.Parser<CitrixUser> getParserForType() {
714
+ return PARSER;
715
+ }
716
+
717
+ @java.lang.Override
718
+ public com.lansweeper.dp.outbound.v1.CitrixUser getDefaultInstanceForType() {
719
+ return DEFAULT_INSTANCE;
720
+ }
721
+
722
+ }
723
+