@lansweeper/data-platform-outbound-grpc 0.3.6 → 0.3.8

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 (49) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_pb.d.ts +107 -0
  4. package/gen-proto/outbound_pb.js +896 -37
  5. package/generated-go/outbound.pb.go +10255 -9966
  6. package/java.json +1 -1
  7. package/model/pom.xml +1 -1
  8. package/model/src/main/proto/outbound.proto +27 -0
  9. package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
  10. package/model/target/classes/com/lansweeper/dp/outbound/v1/ScanCredential$1.class +0 -0
  11. package/model/target/classes/com/lansweeper/dp/outbound/v1/ScanCredential$Builder.class +0 -0
  12. package/model/target/classes/com/lansweeper/dp/outbound/v1/ScanCredential.class +0 -0
  13. package/model/target/classes/com/lansweeper/dp/outbound/v1/ScanCredentialOrBuilder.class +0 -0
  14. package/model/target/classes/com/lansweeper/dp/outbound/v1/Site$1.class +0 -0
  15. package/model/target/classes/com/lansweeper/dp/outbound/v1/Site$Builder$UnlinkedInstallationsConverter.class +0 -0
  16. package/model/target/classes/com/lansweeper/dp/outbound/v1/Site$Builder.class +0 -0
  17. package/model/target/classes/com/lansweeper/dp/outbound/v1/Site$UnlinkedInstallationsDefaultEntryHolder.class +0 -0
  18. package/model/target/classes/com/lansweeper/dp/outbound/v1/Site.class +0 -0
  19. package/model/target/classes/com/lansweeper/dp/outbound/v1/SiteOrBuilder.class +0 -0
  20. package/model/target/classes/com/lansweeper/dp/outbound/v1/SourceInfo$1.class +0 -0
  21. package/model/target/classes/com/lansweeper/dp/outbound/v1/SourceInfo$Builder.class +0 -0
  22. package/model/target/classes/com/lansweeper/dp/outbound/v1/SourceInfo.class +0 -0
  23. package/model/target/classes/com/lansweeper/dp/outbound/v1/SourceInfoOrBuilder.class +0 -0
  24. package/model/target/classes/com/lansweeper/dp/outbound/v1/UnlinkedInstallationMetadata$1.class +0 -0
  25. package/model/target/classes/com/lansweeper/dp/outbound/v1/UnlinkedInstallationMetadata$Builder.class +0 -0
  26. package/model/target/classes/com/lansweeper/dp/outbound/v1/UnlinkedInstallationMetadata.class +0 -0
  27. package/model/target/classes/com/lansweeper/dp/outbound/v1/UnlinkedInstallationMetadataOrBuilder.class +0 -0
  28. package/model/target/classes/outbound.proto +27 -0
  29. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +2968 -2913
  30. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ScanCredential.java +1114 -0
  31. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ScanCredentialOrBuilder.java +84 -0
  32. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Site.java +900 -0
  33. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/SiteOrBuilder.java +106 -0
  34. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/SourceInfo.java +447 -0
  35. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/SourceInfoOrBuilder.java +44 -0
  36. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/UnlinkedInstallationMetadata.java +794 -0
  37. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/UnlinkedInstallationMetadataOrBuilder.java +40 -0
  38. package/model/target/maven-archiver/pom.properties +2 -2
  39. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +10 -0
  40. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +4 -0
  41. package/model/target/{outbound-model-0.3.5-sources.jar → outbound-model-0.3.7-sources.jar} +0 -0
  42. package/model/target/{outbound-model-0.3.5.jar → outbound-model-0.3.7.jar} +0 -0
  43. package/package.json +2 -2
  44. package/pom.xml +1 -1
  45. package/proto/outbound.proto +27 -0
  46. package/service/pom.xml +1 -1
  47. package/service/target/maven-archiver/pom.properties +2 -2
  48. package/service/target/{outbound-service-0.3.5-sources.jar → outbound-service-0.3.7-sources.jar} +0 -0
  49. package/service/target/{outbound-service-0.3.5.jar → outbound-service-0.3.7.jar} +0 -0
@@ -143,4 +143,110 @@ public interface SiteOrBuilder extends
143
143
  * @return The reconciliationRefreshFrequency.
144
144
  */
145
145
  long getReconciliationRefreshFrequency();
146
+
147
+ /**
148
+ * <code>optional int32 user_size = 10;</code>
149
+ * @return Whether the userSize field is set.
150
+ */
151
+ boolean hasUserSize();
152
+ /**
153
+ * <code>optional int32 user_size = 10;</code>
154
+ * @return The userSize.
155
+ */
156
+ int getUserSize();
157
+
158
+ /**
159
+ * <code>optional int32 group_size = 11;</code>
160
+ * @return Whether the groupSize field is set.
161
+ */
162
+ boolean hasGroupSize();
163
+ /**
164
+ * <code>optional int32 group_size = 11;</code>
165
+ * @return The groupSize.
166
+ */
167
+ int getGroupSize();
168
+
169
+ /**
170
+ * <code>optional .google.protobuf.Timestamp deletion_request = 12;</code>
171
+ * @return Whether the deletionRequest field is set.
172
+ */
173
+ boolean hasDeletionRequest();
174
+ /**
175
+ * <code>optional .google.protobuf.Timestamp deletion_request = 12;</code>
176
+ * @return The deletionRequest.
177
+ */
178
+ com.google.protobuf.Timestamp getDeletionRequest();
179
+ /**
180
+ * <code>optional .google.protobuf.Timestamp deletion_request = 12;</code>
181
+ */
182
+ com.google.protobuf.TimestampOrBuilder getDeletionRequestOrBuilder();
183
+
184
+ /**
185
+ * <code>optional .google.protobuf.Timestamp deletion_time = 13;</code>
186
+ * @return Whether the deletionTime field is set.
187
+ */
188
+ boolean hasDeletionTime();
189
+ /**
190
+ * <code>optional .google.protobuf.Timestamp deletion_time = 13;</code>
191
+ * @return The deletionTime.
192
+ */
193
+ com.google.protobuf.Timestamp getDeletionTime();
194
+ /**
195
+ * <code>optional .google.protobuf.Timestamp deletion_time = 13;</code>
196
+ */
197
+ com.google.protobuf.TimestampOrBuilder getDeletionTimeOrBuilder();
198
+
199
+ /**
200
+ * <pre>
201
+ * Unlinked installations, where the key is the installation id and the value is the metadata
202
+ * </pre>
203
+ *
204
+ * <code>map&lt;string, .com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata&gt; unlinked_installations = 14;</code>
205
+ */
206
+ int getUnlinkedInstallationsCount();
207
+ /**
208
+ * <pre>
209
+ * Unlinked installations, where the key is the installation id and the value is the metadata
210
+ * </pre>
211
+ *
212
+ * <code>map&lt;string, .com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata&gt; unlinked_installations = 14;</code>
213
+ */
214
+ boolean containsUnlinkedInstallations(
215
+ java.lang.String key);
216
+ /**
217
+ * Use {@link #getUnlinkedInstallationsMap()} instead.
218
+ */
219
+ @java.lang.Deprecated
220
+ java.util.Map<java.lang.String, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata>
221
+ getUnlinkedInstallations();
222
+ /**
223
+ * <pre>
224
+ * Unlinked installations, where the key is the installation id and the value is the metadata
225
+ * </pre>
226
+ *
227
+ * <code>map&lt;string, .com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata&gt; unlinked_installations = 14;</code>
228
+ */
229
+ java.util.Map<java.lang.String, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata>
230
+ getUnlinkedInstallationsMap();
231
+ /**
232
+ * <pre>
233
+ * Unlinked installations, where the key is the installation id and the value is the metadata
234
+ * </pre>
235
+ *
236
+ * <code>map&lt;string, .com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata&gt; unlinked_installations = 14;</code>
237
+ */
238
+ /* nullable */
239
+ com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata getUnlinkedInstallationsOrDefault(
240
+ java.lang.String key,
241
+ /* nullable */
242
+ com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata defaultValue);
243
+ /**
244
+ * <pre>
245
+ * Unlinked installations, where the key is the installation id and the value is the metadata
246
+ * </pre>
247
+ *
248
+ * <code>map&lt;string, .com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata&gt; unlinked_installations = 14;</code>
249
+ */
250
+ com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata getUnlinkedInstallationsOrThrow(
251
+ java.lang.String key);
146
252
  }
@@ -30,6 +30,7 @@ private static final long serialVersionUID = 0L;
30
30
  sourceTag_ = "";
31
31
  rawId_ = "";
32
32
  entityId_ = "";
33
+ credentials_ = java.util.Collections.emptyList();
33
34
  }
34
35
 
35
36
  @java.lang.Override
@@ -468,6 +469,67 @@ private static final long serialVersionUID = 0L;
468
469
  return lastSynced_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastSynced_;
469
470
  }
470
471
 
472
+ public static final int CREDENTIALS_FIELD_NUMBER = 9;
473
+ @SuppressWarnings("serial")
474
+ private java.util.List<com.lansweeper.dp.outbound.v1.ScanCredential> credentials_;
475
+ /**
476
+ * <pre>
477
+ * credentials used for the scan
478
+ * </pre>
479
+ *
480
+ * <code>repeated .com.lansweeper.dp.outbound.v1.ScanCredential credentials = 9;</code>
481
+ */
482
+ @java.lang.Override
483
+ public java.util.List<com.lansweeper.dp.outbound.v1.ScanCredential> getCredentialsList() {
484
+ return credentials_;
485
+ }
486
+ /**
487
+ * <pre>
488
+ * credentials used for the scan
489
+ * </pre>
490
+ *
491
+ * <code>repeated .com.lansweeper.dp.outbound.v1.ScanCredential credentials = 9;</code>
492
+ */
493
+ @java.lang.Override
494
+ public java.util.List<? extends com.lansweeper.dp.outbound.v1.ScanCredentialOrBuilder>
495
+ getCredentialsOrBuilderList() {
496
+ return credentials_;
497
+ }
498
+ /**
499
+ * <pre>
500
+ * credentials used for the scan
501
+ * </pre>
502
+ *
503
+ * <code>repeated .com.lansweeper.dp.outbound.v1.ScanCredential credentials = 9;</code>
504
+ */
505
+ @java.lang.Override
506
+ public int getCredentialsCount() {
507
+ return credentials_.size();
508
+ }
509
+ /**
510
+ * <pre>
511
+ * credentials used for the scan
512
+ * </pre>
513
+ *
514
+ * <code>repeated .com.lansweeper.dp.outbound.v1.ScanCredential credentials = 9;</code>
515
+ */
516
+ @java.lang.Override
517
+ public com.lansweeper.dp.outbound.v1.ScanCredential getCredentials(int index) {
518
+ return credentials_.get(index);
519
+ }
520
+ /**
521
+ * <pre>
522
+ * credentials used for the scan
523
+ * </pre>
524
+ *
525
+ * <code>repeated .com.lansweeper.dp.outbound.v1.ScanCredential credentials = 9;</code>
526
+ */
527
+ @java.lang.Override
528
+ public com.lansweeper.dp.outbound.v1.ScanCredentialOrBuilder getCredentialsOrBuilder(
529
+ int index) {
530
+ return credentials_.get(index);
531
+ }
532
+
471
533
  private byte memoizedIsInitialized = -1;
472
534
  @java.lang.Override
473
535
  public final boolean isInitialized() {
@@ -506,6 +568,9 @@ private static final long serialVersionUID = 0L;
506
568
  if (((bitField0_ & 0x00000004) != 0)) {
507
569
  com.google.protobuf.GeneratedMessageV3.writeString(output, 8, sourceTag_);
508
570
  }
571
+ for (int i = 0; i < credentials_.size(); i++) {
572
+ output.writeMessage(9, credentials_.get(i));
573
+ }
509
574
  getUnknownFields().writeTo(output);
510
575
  }
511
576
 
@@ -540,6 +605,10 @@ private static final long serialVersionUID = 0L;
540
605
  if (((bitField0_ & 0x00000004) != 0)) {
541
606
  size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, sourceTag_);
542
607
  }
608
+ for (int i = 0; i < credentials_.size(); i++) {
609
+ size += com.google.protobuf.CodedOutputStream
610
+ .computeMessageSize(9, credentials_.get(i));
611
+ }
543
612
  size += getUnknownFields().getSerializedSize();
544
613
  memoizedSize = size;
545
614
  return size;
@@ -586,6 +655,8 @@ private static final long serialVersionUID = 0L;
586
655
  if (!getLastSynced()
587
656
  .equals(other.getLastSynced())) return false;
588
657
  }
658
+ if (!getCredentialsList()
659
+ .equals(other.getCredentialsList())) return false;
589
660
  if (!getUnknownFields().equals(other.getUnknownFields())) return false;
590
661
  return true;
591
662
  }
@@ -623,6 +694,10 @@ private static final long serialVersionUID = 0L;
623
694
  hash = (37 * hash) + LAST_SYNCED_FIELD_NUMBER;
624
695
  hash = (53 * hash) + getLastSynced().hashCode();
625
696
  }
697
+ if (getCredentialsCount() > 0) {
698
+ hash = (37 * hash) + CREDENTIALS_FIELD_NUMBER;
699
+ hash = (53 * hash) + getCredentialsList().hashCode();
700
+ }
626
701
  hash = (29 * hash) + getUnknownFields().hashCode();
627
702
  memoizedHashCode = hash;
628
703
  return hash;
@@ -760,6 +835,7 @@ private static final long serialVersionUID = 0L;
760
835
  if (com.google.protobuf.GeneratedMessageV3
761
836
  .alwaysUseFieldBuilders) {
762
837
  getLastSyncedFieldBuilder();
838
+ getCredentialsFieldBuilder();
763
839
  }
764
840
  }
765
841
  @java.lang.Override
@@ -778,6 +854,13 @@ private static final long serialVersionUID = 0L;
778
854
  lastSyncedBuilder_.dispose();
779
855
  lastSyncedBuilder_ = null;
780
856
  }
857
+ if (credentialsBuilder_ == null) {
858
+ credentials_ = java.util.Collections.emptyList();
859
+ } else {
860
+ credentials_ = null;
861
+ credentialsBuilder_.clear();
862
+ }
863
+ bitField0_ = (bitField0_ & ~0x00000100);
781
864
  return this;
782
865
  }
783
866
 
@@ -804,11 +887,24 @@ private static final long serialVersionUID = 0L;
804
887
  @java.lang.Override
805
888
  public com.lansweeper.dp.outbound.v1.SourceInfo buildPartial() {
806
889
  com.lansweeper.dp.outbound.v1.SourceInfo result = new com.lansweeper.dp.outbound.v1.SourceInfo(this);
890
+ buildPartialRepeatedFields(result);
807
891
  if (bitField0_ != 0) { buildPartial0(result); }
808
892
  onBuilt();
809
893
  return result;
810
894
  }
811
895
 
896
+ private void buildPartialRepeatedFields(com.lansweeper.dp.outbound.v1.SourceInfo result) {
897
+ if (credentialsBuilder_ == null) {
898
+ if (((bitField0_ & 0x00000100) != 0)) {
899
+ credentials_ = java.util.Collections.unmodifiableList(credentials_);
900
+ bitField0_ = (bitField0_ & ~0x00000100);
901
+ }
902
+ result.credentials_ = credentials_;
903
+ } else {
904
+ result.credentials_ = credentialsBuilder_.build();
905
+ }
906
+ }
907
+
812
908
  private void buildPartial0(com.lansweeper.dp.outbound.v1.SourceInfo result) {
813
909
  int from_bitField0_ = bitField0_;
814
910
  if (((from_bitField0_ & 0x00000001) != 0)) {
@@ -928,6 +1024,32 @@ private static final long serialVersionUID = 0L;
928
1024
  if (other.hasLastSynced()) {
929
1025
  mergeLastSynced(other.getLastSynced());
930
1026
  }
1027
+ if (credentialsBuilder_ == null) {
1028
+ if (!other.credentials_.isEmpty()) {
1029
+ if (credentials_.isEmpty()) {
1030
+ credentials_ = other.credentials_;
1031
+ bitField0_ = (bitField0_ & ~0x00000100);
1032
+ } else {
1033
+ ensureCredentialsIsMutable();
1034
+ credentials_.addAll(other.credentials_);
1035
+ }
1036
+ onChanged();
1037
+ }
1038
+ } else {
1039
+ if (!other.credentials_.isEmpty()) {
1040
+ if (credentialsBuilder_.isEmpty()) {
1041
+ credentialsBuilder_.dispose();
1042
+ credentialsBuilder_ = null;
1043
+ credentials_ = other.credentials_;
1044
+ bitField0_ = (bitField0_ & ~0x00000100);
1045
+ credentialsBuilder_ =
1046
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
1047
+ getCredentialsFieldBuilder() : null;
1048
+ } else {
1049
+ credentialsBuilder_.addAllMessages(other.credentials_);
1050
+ }
1051
+ }
1052
+ }
931
1053
  this.mergeUnknownFields(other.getUnknownFields());
932
1054
  onChanged();
933
1055
  return this;
@@ -996,6 +1118,19 @@ private static final long serialVersionUID = 0L;
996
1118
  bitField0_ |= 0x00000010;
997
1119
  break;
998
1120
  } // case 66
1121
+ case 74: {
1122
+ com.lansweeper.dp.outbound.v1.ScanCredential m =
1123
+ input.readMessage(
1124
+ com.lansweeper.dp.outbound.v1.ScanCredential.parser(),
1125
+ extensionRegistry);
1126
+ if (credentialsBuilder_ == null) {
1127
+ ensureCredentialsIsMutable();
1128
+ credentials_.add(m);
1129
+ } else {
1130
+ credentialsBuilder_.addMessage(m);
1131
+ }
1132
+ break;
1133
+ } // case 74
999
1134
  default: {
1000
1135
  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
1001
1136
  done = true; // was an endgroup tag
@@ -1857,6 +1992,318 @@ private static final long serialVersionUID = 0L;
1857
1992
  }
1858
1993
  return lastSyncedBuilder_;
1859
1994
  }
1995
+
1996
+ private java.util.List<com.lansweeper.dp.outbound.v1.ScanCredential> credentials_ =
1997
+ java.util.Collections.emptyList();
1998
+ private void ensureCredentialsIsMutable() {
1999
+ if (!((bitField0_ & 0x00000100) != 0)) {
2000
+ credentials_ = new java.util.ArrayList<com.lansweeper.dp.outbound.v1.ScanCredential>(credentials_);
2001
+ bitField0_ |= 0x00000100;
2002
+ }
2003
+ }
2004
+
2005
+ private com.google.protobuf.RepeatedFieldBuilderV3<
2006
+ com.lansweeper.dp.outbound.v1.ScanCredential, com.lansweeper.dp.outbound.v1.ScanCredential.Builder, com.lansweeper.dp.outbound.v1.ScanCredentialOrBuilder> credentialsBuilder_;
2007
+
2008
+ /**
2009
+ * <pre>
2010
+ * credentials used for the scan
2011
+ * </pre>
2012
+ *
2013
+ * <code>repeated .com.lansweeper.dp.outbound.v1.ScanCredential credentials = 9;</code>
2014
+ */
2015
+ public java.util.List<com.lansweeper.dp.outbound.v1.ScanCredential> getCredentialsList() {
2016
+ if (credentialsBuilder_ == null) {
2017
+ return java.util.Collections.unmodifiableList(credentials_);
2018
+ } else {
2019
+ return credentialsBuilder_.getMessageList();
2020
+ }
2021
+ }
2022
+ /**
2023
+ * <pre>
2024
+ * credentials used for the scan
2025
+ * </pre>
2026
+ *
2027
+ * <code>repeated .com.lansweeper.dp.outbound.v1.ScanCredential credentials = 9;</code>
2028
+ */
2029
+ public int getCredentialsCount() {
2030
+ if (credentialsBuilder_ == null) {
2031
+ return credentials_.size();
2032
+ } else {
2033
+ return credentialsBuilder_.getCount();
2034
+ }
2035
+ }
2036
+ /**
2037
+ * <pre>
2038
+ * credentials used for the scan
2039
+ * </pre>
2040
+ *
2041
+ * <code>repeated .com.lansweeper.dp.outbound.v1.ScanCredential credentials = 9;</code>
2042
+ */
2043
+ public com.lansweeper.dp.outbound.v1.ScanCredential getCredentials(int index) {
2044
+ if (credentialsBuilder_ == null) {
2045
+ return credentials_.get(index);
2046
+ } else {
2047
+ return credentialsBuilder_.getMessage(index);
2048
+ }
2049
+ }
2050
+ /**
2051
+ * <pre>
2052
+ * credentials used for the scan
2053
+ * </pre>
2054
+ *
2055
+ * <code>repeated .com.lansweeper.dp.outbound.v1.ScanCredential credentials = 9;</code>
2056
+ */
2057
+ public Builder setCredentials(
2058
+ int index, com.lansweeper.dp.outbound.v1.ScanCredential value) {
2059
+ if (credentialsBuilder_ == null) {
2060
+ if (value == null) {
2061
+ throw new NullPointerException();
2062
+ }
2063
+ ensureCredentialsIsMutable();
2064
+ credentials_.set(index, value);
2065
+ onChanged();
2066
+ } else {
2067
+ credentialsBuilder_.setMessage(index, value);
2068
+ }
2069
+ return this;
2070
+ }
2071
+ /**
2072
+ * <pre>
2073
+ * credentials used for the scan
2074
+ * </pre>
2075
+ *
2076
+ * <code>repeated .com.lansweeper.dp.outbound.v1.ScanCredential credentials = 9;</code>
2077
+ */
2078
+ public Builder setCredentials(
2079
+ int index, com.lansweeper.dp.outbound.v1.ScanCredential.Builder builderForValue) {
2080
+ if (credentialsBuilder_ == null) {
2081
+ ensureCredentialsIsMutable();
2082
+ credentials_.set(index, builderForValue.build());
2083
+ onChanged();
2084
+ } else {
2085
+ credentialsBuilder_.setMessage(index, builderForValue.build());
2086
+ }
2087
+ return this;
2088
+ }
2089
+ /**
2090
+ * <pre>
2091
+ * credentials used for the scan
2092
+ * </pre>
2093
+ *
2094
+ * <code>repeated .com.lansweeper.dp.outbound.v1.ScanCredential credentials = 9;</code>
2095
+ */
2096
+ public Builder addCredentials(com.lansweeper.dp.outbound.v1.ScanCredential value) {
2097
+ if (credentialsBuilder_ == null) {
2098
+ if (value == null) {
2099
+ throw new NullPointerException();
2100
+ }
2101
+ ensureCredentialsIsMutable();
2102
+ credentials_.add(value);
2103
+ onChanged();
2104
+ } else {
2105
+ credentialsBuilder_.addMessage(value);
2106
+ }
2107
+ return this;
2108
+ }
2109
+ /**
2110
+ * <pre>
2111
+ * credentials used for the scan
2112
+ * </pre>
2113
+ *
2114
+ * <code>repeated .com.lansweeper.dp.outbound.v1.ScanCredential credentials = 9;</code>
2115
+ */
2116
+ public Builder addCredentials(
2117
+ int index, com.lansweeper.dp.outbound.v1.ScanCredential value) {
2118
+ if (credentialsBuilder_ == null) {
2119
+ if (value == null) {
2120
+ throw new NullPointerException();
2121
+ }
2122
+ ensureCredentialsIsMutable();
2123
+ credentials_.add(index, value);
2124
+ onChanged();
2125
+ } else {
2126
+ credentialsBuilder_.addMessage(index, value);
2127
+ }
2128
+ return this;
2129
+ }
2130
+ /**
2131
+ * <pre>
2132
+ * credentials used for the scan
2133
+ * </pre>
2134
+ *
2135
+ * <code>repeated .com.lansweeper.dp.outbound.v1.ScanCredential credentials = 9;</code>
2136
+ */
2137
+ public Builder addCredentials(
2138
+ com.lansweeper.dp.outbound.v1.ScanCredential.Builder builderForValue) {
2139
+ if (credentialsBuilder_ == null) {
2140
+ ensureCredentialsIsMutable();
2141
+ credentials_.add(builderForValue.build());
2142
+ onChanged();
2143
+ } else {
2144
+ credentialsBuilder_.addMessage(builderForValue.build());
2145
+ }
2146
+ return this;
2147
+ }
2148
+ /**
2149
+ * <pre>
2150
+ * credentials used for the scan
2151
+ * </pre>
2152
+ *
2153
+ * <code>repeated .com.lansweeper.dp.outbound.v1.ScanCredential credentials = 9;</code>
2154
+ */
2155
+ public Builder addCredentials(
2156
+ int index, com.lansweeper.dp.outbound.v1.ScanCredential.Builder builderForValue) {
2157
+ if (credentialsBuilder_ == null) {
2158
+ ensureCredentialsIsMutable();
2159
+ credentials_.add(index, builderForValue.build());
2160
+ onChanged();
2161
+ } else {
2162
+ credentialsBuilder_.addMessage(index, builderForValue.build());
2163
+ }
2164
+ return this;
2165
+ }
2166
+ /**
2167
+ * <pre>
2168
+ * credentials used for the scan
2169
+ * </pre>
2170
+ *
2171
+ * <code>repeated .com.lansweeper.dp.outbound.v1.ScanCredential credentials = 9;</code>
2172
+ */
2173
+ public Builder addAllCredentials(
2174
+ java.lang.Iterable<? extends com.lansweeper.dp.outbound.v1.ScanCredential> values) {
2175
+ if (credentialsBuilder_ == null) {
2176
+ ensureCredentialsIsMutable();
2177
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
2178
+ values, credentials_);
2179
+ onChanged();
2180
+ } else {
2181
+ credentialsBuilder_.addAllMessages(values);
2182
+ }
2183
+ return this;
2184
+ }
2185
+ /**
2186
+ * <pre>
2187
+ * credentials used for the scan
2188
+ * </pre>
2189
+ *
2190
+ * <code>repeated .com.lansweeper.dp.outbound.v1.ScanCredential credentials = 9;</code>
2191
+ */
2192
+ public Builder clearCredentials() {
2193
+ if (credentialsBuilder_ == null) {
2194
+ credentials_ = java.util.Collections.emptyList();
2195
+ bitField0_ = (bitField0_ & ~0x00000100);
2196
+ onChanged();
2197
+ } else {
2198
+ credentialsBuilder_.clear();
2199
+ }
2200
+ return this;
2201
+ }
2202
+ /**
2203
+ * <pre>
2204
+ * credentials used for the scan
2205
+ * </pre>
2206
+ *
2207
+ * <code>repeated .com.lansweeper.dp.outbound.v1.ScanCredential credentials = 9;</code>
2208
+ */
2209
+ public Builder removeCredentials(int index) {
2210
+ if (credentialsBuilder_ == null) {
2211
+ ensureCredentialsIsMutable();
2212
+ credentials_.remove(index);
2213
+ onChanged();
2214
+ } else {
2215
+ credentialsBuilder_.remove(index);
2216
+ }
2217
+ return this;
2218
+ }
2219
+ /**
2220
+ * <pre>
2221
+ * credentials used for the scan
2222
+ * </pre>
2223
+ *
2224
+ * <code>repeated .com.lansweeper.dp.outbound.v1.ScanCredential credentials = 9;</code>
2225
+ */
2226
+ public com.lansweeper.dp.outbound.v1.ScanCredential.Builder getCredentialsBuilder(
2227
+ int index) {
2228
+ return getCredentialsFieldBuilder().getBuilder(index);
2229
+ }
2230
+ /**
2231
+ * <pre>
2232
+ * credentials used for the scan
2233
+ * </pre>
2234
+ *
2235
+ * <code>repeated .com.lansweeper.dp.outbound.v1.ScanCredential credentials = 9;</code>
2236
+ */
2237
+ public com.lansweeper.dp.outbound.v1.ScanCredentialOrBuilder getCredentialsOrBuilder(
2238
+ int index) {
2239
+ if (credentialsBuilder_ == null) {
2240
+ return credentials_.get(index); } else {
2241
+ return credentialsBuilder_.getMessageOrBuilder(index);
2242
+ }
2243
+ }
2244
+ /**
2245
+ * <pre>
2246
+ * credentials used for the scan
2247
+ * </pre>
2248
+ *
2249
+ * <code>repeated .com.lansweeper.dp.outbound.v1.ScanCredential credentials = 9;</code>
2250
+ */
2251
+ public java.util.List<? extends com.lansweeper.dp.outbound.v1.ScanCredentialOrBuilder>
2252
+ getCredentialsOrBuilderList() {
2253
+ if (credentialsBuilder_ != null) {
2254
+ return credentialsBuilder_.getMessageOrBuilderList();
2255
+ } else {
2256
+ return java.util.Collections.unmodifiableList(credentials_);
2257
+ }
2258
+ }
2259
+ /**
2260
+ * <pre>
2261
+ * credentials used for the scan
2262
+ * </pre>
2263
+ *
2264
+ * <code>repeated .com.lansweeper.dp.outbound.v1.ScanCredential credentials = 9;</code>
2265
+ */
2266
+ public com.lansweeper.dp.outbound.v1.ScanCredential.Builder addCredentialsBuilder() {
2267
+ return getCredentialsFieldBuilder().addBuilder(
2268
+ com.lansweeper.dp.outbound.v1.ScanCredential.getDefaultInstance());
2269
+ }
2270
+ /**
2271
+ * <pre>
2272
+ * credentials used for the scan
2273
+ * </pre>
2274
+ *
2275
+ * <code>repeated .com.lansweeper.dp.outbound.v1.ScanCredential credentials = 9;</code>
2276
+ */
2277
+ public com.lansweeper.dp.outbound.v1.ScanCredential.Builder addCredentialsBuilder(
2278
+ int index) {
2279
+ return getCredentialsFieldBuilder().addBuilder(
2280
+ index, com.lansweeper.dp.outbound.v1.ScanCredential.getDefaultInstance());
2281
+ }
2282
+ /**
2283
+ * <pre>
2284
+ * credentials used for the scan
2285
+ * </pre>
2286
+ *
2287
+ * <code>repeated .com.lansweeper.dp.outbound.v1.ScanCredential credentials = 9;</code>
2288
+ */
2289
+ public java.util.List<com.lansweeper.dp.outbound.v1.ScanCredential.Builder>
2290
+ getCredentialsBuilderList() {
2291
+ return getCredentialsFieldBuilder().getBuilderList();
2292
+ }
2293
+ private com.google.protobuf.RepeatedFieldBuilderV3<
2294
+ com.lansweeper.dp.outbound.v1.ScanCredential, com.lansweeper.dp.outbound.v1.ScanCredential.Builder, com.lansweeper.dp.outbound.v1.ScanCredentialOrBuilder>
2295
+ getCredentialsFieldBuilder() {
2296
+ if (credentialsBuilder_ == null) {
2297
+ credentialsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
2298
+ com.lansweeper.dp.outbound.v1.ScanCredential, com.lansweeper.dp.outbound.v1.ScanCredential.Builder, com.lansweeper.dp.outbound.v1.ScanCredentialOrBuilder>(
2299
+ credentials_,
2300
+ ((bitField0_ & 0x00000100) != 0),
2301
+ getParentForChildren(),
2302
+ isClean());
2303
+ credentials_ = null;
2304
+ }
2305
+ return credentialsBuilder_;
2306
+ }
1860
2307
  @java.lang.Override
1861
2308
  public final Builder setUnknownFields(
1862
2309
  final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -210,4 +210,48 @@ public interface SourceInfoOrBuilder extends
210
210
  * <code>.google.protobuf.Timestamp last_synced = 6;</code>
211
211
  */
212
212
  com.google.protobuf.TimestampOrBuilder getLastSyncedOrBuilder();
213
+
214
+ /**
215
+ * <pre>
216
+ * credentials used for the scan
217
+ * </pre>
218
+ *
219
+ * <code>repeated .com.lansweeper.dp.outbound.v1.ScanCredential credentials = 9;</code>
220
+ */
221
+ java.util.List<com.lansweeper.dp.outbound.v1.ScanCredential>
222
+ getCredentialsList();
223
+ /**
224
+ * <pre>
225
+ * credentials used for the scan
226
+ * </pre>
227
+ *
228
+ * <code>repeated .com.lansweeper.dp.outbound.v1.ScanCredential credentials = 9;</code>
229
+ */
230
+ com.lansweeper.dp.outbound.v1.ScanCredential getCredentials(int index);
231
+ /**
232
+ * <pre>
233
+ * credentials used for the scan
234
+ * </pre>
235
+ *
236
+ * <code>repeated .com.lansweeper.dp.outbound.v1.ScanCredential credentials = 9;</code>
237
+ */
238
+ int getCredentialsCount();
239
+ /**
240
+ * <pre>
241
+ * credentials used for the scan
242
+ * </pre>
243
+ *
244
+ * <code>repeated .com.lansweeper.dp.outbound.v1.ScanCredential credentials = 9;</code>
245
+ */
246
+ java.util.List<? extends com.lansweeper.dp.outbound.v1.ScanCredentialOrBuilder>
247
+ getCredentialsOrBuilderList();
248
+ /**
249
+ * <pre>
250
+ * credentials used for the scan
251
+ * </pre>
252
+ *
253
+ * <code>repeated .com.lansweeper.dp.outbound.v1.ScanCredential credentials = 9;</code>
254
+ */
255
+ com.lansweeper.dp.outbound.v1.ScanCredentialOrBuilder getCredentialsOrBuilder(
256
+ int index);
213
257
  }