@lansweeper/data-platform-outbound-grpc 0.3.19 → 0.3.21

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 (123) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_pb.d.ts +749 -8
  4. package/gen-proto/outbound_pb.js +5939 -38
  5. package/generated-go/outbound.pb.go +11319 -9569
  6. package/java.json +1 -1
  7. package/model/pom.xml +1 -1
  8. package/model/src/main/proto/outbound.proto +134 -3
  9. package/model/target/classes/com/lansweeper/dp/outbound/v1/Asset$1.class +0 -0
  10. package/model/target/classes/com/lansweeper/dp/outbound/v1/Asset$Builder.class +0 -0
  11. package/model/target/classes/com/lansweeper/dp/outbound/v1/Asset.class +0 -0
  12. package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetOrBuilder.class +0 -0
  13. package/model/target/classes/com/lansweeper/dp/outbound/v1/EsxiCluster$1.class +0 -0
  14. package/model/target/classes/com/lansweeper/dp/outbound/v1/EsxiCluster$Builder.class +0 -0
  15. package/model/target/classes/com/lansweeper/dp/outbound/v1/EsxiCluster$HypervisorsDefaultEntryHolder.class +0 -0
  16. package/model/target/classes/com/lansweeper/dp/outbound/v1/EsxiCluster.class +0 -0
  17. package/model/target/classes/com/lansweeper/dp/outbound/v1/EsxiClusterOrBuilder.class +0 -0
  18. package/model/target/classes/com/lansweeper/dp/outbound/v1/Group$1.class +0 -0
  19. package/model/target/classes/com/lansweeper/dp/outbound/v1/Group$Builder.class +0 -0
  20. package/model/target/classes/com/lansweeper/dp/outbound/v1/Group.class +0 -0
  21. package/model/target/classes/com/lansweeper/dp/outbound/v1/GroupOrBuilder.class +0 -0
  22. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365AssignedPlan$1.class +0 -0
  23. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365AssignedPlan$Builder.class +0 -0
  24. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365AssignedPlan$UsersKeysDefaultEntryHolder.class +0 -0
  25. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365AssignedPlan.class +0 -0
  26. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365AssignedPlanOrBuilder.class +0 -0
  27. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Contact$1.class +0 -0
  28. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Contact$Builder.class +0 -0
  29. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Contact.class +0 -0
  30. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365ContactOrBuilder.class +0 -0
  31. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Domain$1.class +0 -0
  32. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Domain$Builder.class +0 -0
  33. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Domain.class +0 -0
  34. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365DomainOrBuilder.class +0 -0
  35. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Group$1.class +0 -0
  36. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Group$Builder.class +0 -0
  37. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Group.class +0 -0
  38. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365GroupOrBuilder.class +0 -0
  39. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365License$1.class +0 -0
  40. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365License$Builder.class +0 -0
  41. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365License$UsersKeysDefaultEntryHolder.class +0 -0
  42. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365License.class +0 -0
  43. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365LicenseOrBuilder.class +0 -0
  44. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Organization$1.class +0 -0
  45. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Organization$AssignedPlansDefaultEntryHolder.class +0 -0
  46. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Organization$Builder$AssignedPlansConverter.class +0 -0
  47. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Organization$Builder.class +0 -0
  48. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Organization.class +0 -0
  49. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365OrganizationOrBuilder.class +0 -0
  50. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365ServicePlan$1.class +0 -0
  51. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365ServicePlan$Builder.class +0 -0
  52. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365ServicePlan.class +0 -0
  53. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365ServicePlanOrBuilder.class +0 -0
  54. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365User$1.class +0 -0
  55. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365User$Builder.class +0 -0
  56. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365User$GroupKeysDefaultEntryHolder.class +0 -0
  57. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365User.class +0 -0
  58. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365UserOrBuilder.class +0 -0
  59. package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
  60. package/model/target/classes/com/lansweeper/dp/outbound/v1/User$1.class +0 -0
  61. package/model/target/classes/com/lansweeper/dp/outbound/v1/User$Builder.class +0 -0
  62. package/model/target/classes/com/lansweeper/dp/outbound/v1/User.class +0 -0
  63. package/model/target/classes/com/lansweeper/dp/outbound/v1/UserOrBuilder.class +0 -0
  64. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster$1.class +0 -0
  65. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster$Builder$DatastoresConverter.class +0 -0
  66. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster$Builder.class +0 -0
  67. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster$DatastoresDefaultEntryHolder.class +0 -0
  68. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster.class +0 -0
  69. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreClusterOrBuilder.class +0 -0
  70. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm$1.class +0 -0
  71. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm$Builder$EsxiGuestSnapshotsConverter.class +0 -0
  72. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm$Builder.class +0 -0
  73. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm.class +0 -0
  74. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVmOrBuilder.class +0 -0
  75. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor$1.class +0 -0
  76. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor$Builder$EsxiHypervisorDatastoresConverter.class +0 -0
  77. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor$Builder.class +0 -0
  78. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor.class +0 -0
  79. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisorOrBuilder.class +0 -0
  80. package/model/target/classes/outbound.proto +134 -3
  81. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Asset.java +232 -47
  82. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/AssetOrBuilder.java +23 -8
  83. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/EsxiCluster.java +200 -7
  84. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/EsxiClusterOrBuilder.java +31 -2
  85. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Group.java +185 -0
  86. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/GroupOrBuilder.java +15 -0
  87. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365AssignedPlan.java +1368 -0
  88. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365AssignedPlanOrBuilder.java +123 -0
  89. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365Contact.java +723 -0
  90. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365ContactOrBuilder.java +44 -0
  91. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365Domain.java +1793 -0
  92. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365DomainOrBuilder.java +167 -0
  93. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365Group.java +1701 -0
  94. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365GroupOrBuilder.java +158 -0
  95. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365License.java +2041 -0
  96. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365LicenseOrBuilder.java +193 -0
  97. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365Organization.java +3591 -0
  98. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365OrganizationOrBuilder.java +330 -0
  99. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365ServicePlan.java +1037 -0
  100. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365ServicePlanOrBuilder.java +78 -0
  101. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365User.java +6756 -0
  102. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365UserOrBuilder.java +715 -0
  103. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +722 -444
  104. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/User.java +232 -47
  105. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/UserOrBuilder.java +23 -8
  106. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster.java +104 -306
  107. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareDatastoreClusterOrBuilder.java +8 -25
  108. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm.java +114 -0
  109. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVmOrBuilder.java +19 -0
  110. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor.java +334 -109
  111. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisorOrBuilder.java +51 -13
  112. package/model/target/maven-archiver/pom.properties +2 -2
  113. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +37 -0
  114. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +16 -0
  115. package/model/target/{outbound-model-0.3.18-sources.jar → outbound-model-0.3.20-sources.jar} +0 -0
  116. package/model/target/{outbound-model-0.3.18.jar → outbound-model-0.3.20.jar} +0 -0
  117. package/package.json +2 -2
  118. package/pom.xml +1 -1
  119. package/proto/outbound.proto +134 -3
  120. package/service/pom.xml +1 -1
  121. package/service/target/maven-archiver/pom.properties +2 -2
  122. package/service/target/{outbound-service-0.3.18-sources.jar → outbound-service-0.3.20-sources.jar} +0 -0
  123. package/service/target/{outbound-service-0.3.18.jar → outbound-service-0.3.20.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.Office365Contact}
9
+ */
10
+ public final class Office365Contact extends
11
+ com.google.protobuf.GeneratedMessageV3 implements
12
+ // @@protoc_insertion_point(message_implements:com.lansweeper.dp.outbound.v1.Office365Contact)
13
+ Office365ContactOrBuilder {
14
+ private static final long serialVersionUID = 0L;
15
+ // Use Office365Contact.newBuilder() to construct.
16
+ private Office365Contact(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
17
+ super(builder);
18
+ }
19
+ private Office365Contact() {
20
+ displayName_ = "";
21
+ mail_ = "";
22
+ }
23
+
24
+ @java.lang.Override
25
+ @SuppressWarnings({"unused"})
26
+ protected java.lang.Object newInstance(
27
+ UnusedPrivateParameter unused) {
28
+ return new Office365Contact();
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_Office365Contact_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_Office365Contact_fieldAccessorTable
40
+ .ensureFieldAccessorsInitialized(
41
+ com.lansweeper.dp.outbound.v1.Office365Contact.class, com.lansweeper.dp.outbound.v1.Office365Contact.Builder.class);
42
+ }
43
+
44
+ private int bitField0_;
45
+ public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
46
+ @SuppressWarnings("serial")
47
+ private volatile java.lang.Object displayName_ = "";
48
+ /**
49
+ * <code>optional string display_name = 1;</code>
50
+ * @return Whether the displayName field is set.
51
+ */
52
+ @java.lang.Override
53
+ public boolean hasDisplayName() {
54
+ return ((bitField0_ & 0x00000001) != 0);
55
+ }
56
+ /**
57
+ * <code>optional string display_name = 1;</code>
58
+ * @return The displayName.
59
+ */
60
+ @java.lang.Override
61
+ public java.lang.String getDisplayName() {
62
+ java.lang.Object ref = displayName_;
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
+ displayName_ = s;
70
+ return s;
71
+ }
72
+ }
73
+ /**
74
+ * <code>optional string display_name = 1;</code>
75
+ * @return The bytes for displayName.
76
+ */
77
+ @java.lang.Override
78
+ public com.google.protobuf.ByteString
79
+ getDisplayNameBytes() {
80
+ java.lang.Object ref = displayName_;
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
+ displayName_ = b;
86
+ return b;
87
+ } else {
88
+ return (com.google.protobuf.ByteString) ref;
89
+ }
90
+ }
91
+
92
+ public static final int MAIL_FIELD_NUMBER = 2;
93
+ @SuppressWarnings("serial")
94
+ private volatile java.lang.Object mail_ = "";
95
+ /**
96
+ * <code>optional string mail = 2;</code>
97
+ * @return Whether the mail field is set.
98
+ */
99
+ @java.lang.Override
100
+ public boolean hasMail() {
101
+ return ((bitField0_ & 0x00000002) != 0);
102
+ }
103
+ /**
104
+ * <code>optional string mail = 2;</code>
105
+ * @return The mail.
106
+ */
107
+ @java.lang.Override
108
+ public java.lang.String getMail() {
109
+ java.lang.Object ref = mail_;
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
+ mail_ = s;
117
+ return s;
118
+ }
119
+ }
120
+ /**
121
+ * <code>optional string mail = 2;</code>
122
+ * @return The bytes for mail.
123
+ */
124
+ @java.lang.Override
125
+ public com.google.protobuf.ByteString
126
+ getMailBytes() {
127
+ java.lang.Object ref = mail_;
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
+ mail_ = 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, displayName_);
155
+ }
156
+ if (((bitField0_ & 0x00000002) != 0)) {
157
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, mail_);
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, displayName_);
170
+ }
171
+ if (((bitField0_ & 0x00000002) != 0)) {
172
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, mail_);
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.Office365Contact)) {
185
+ return super.equals(obj);
186
+ }
187
+ com.lansweeper.dp.outbound.v1.Office365Contact other = (com.lansweeper.dp.outbound.v1.Office365Contact) obj;
188
+
189
+ if (hasDisplayName() != other.hasDisplayName()) return false;
190
+ if (hasDisplayName()) {
191
+ if (!getDisplayName()
192
+ .equals(other.getDisplayName())) return false;
193
+ }
194
+ if (hasMail() != other.hasMail()) return false;
195
+ if (hasMail()) {
196
+ if (!getMail()
197
+ .equals(other.getMail())) 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 (hasDisplayName()) {
211
+ hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER;
212
+ hash = (53 * hash) + getDisplayName().hashCode();
213
+ }
214
+ if (hasMail()) {
215
+ hash = (37 * hash) + MAIL_FIELD_NUMBER;
216
+ hash = (53 * hash) + getMail().hashCode();
217
+ }
218
+ hash = (29 * hash) + getUnknownFields().hashCode();
219
+ memoizedHashCode = hash;
220
+ return hash;
221
+ }
222
+
223
+ public static com.lansweeper.dp.outbound.v1.Office365Contact 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.Office365Contact 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.Office365Contact 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.Office365Contact 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.Office365Contact parseFrom(byte[] data)
246
+ throws com.google.protobuf.InvalidProtocolBufferException {
247
+ return PARSER.parseFrom(data);
248
+ }
249
+ public static com.lansweeper.dp.outbound.v1.Office365Contact 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.Office365Contact 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.Office365Contact 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.Office365Contact 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.Office365Contact 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.Office365Contact 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.Office365Contact 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.Office365Contact 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.Office365Contact}
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.Office365Contact)
321
+ com.lansweeper.dp.outbound.v1.Office365ContactOrBuilder {
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_Office365Contact_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_Office365Contact_fieldAccessorTable
331
+ .ensureFieldAccessorsInitialized(
332
+ com.lansweeper.dp.outbound.v1.Office365Contact.class, com.lansweeper.dp.outbound.v1.Office365Contact.Builder.class);
333
+ }
334
+
335
+ // Construct using com.lansweeper.dp.outbound.v1.Office365Contact.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
+ displayName_ = "";
350
+ mail_ = "";
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_Office365Contact_descriptor;
358
+ }
359
+
360
+ @java.lang.Override
361
+ public com.lansweeper.dp.outbound.v1.Office365Contact getDefaultInstanceForType() {
362
+ return com.lansweeper.dp.outbound.v1.Office365Contact.getDefaultInstance();
363
+ }
364
+
365
+ @java.lang.Override
366
+ public com.lansweeper.dp.outbound.v1.Office365Contact build() {
367
+ com.lansweeper.dp.outbound.v1.Office365Contact 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.Office365Contact buildPartial() {
376
+ com.lansweeper.dp.outbound.v1.Office365Contact result = new com.lansweeper.dp.outbound.v1.Office365Contact(this);
377
+ if (bitField0_ != 0) { buildPartial0(result); }
378
+ onBuilt();
379
+ return result;
380
+ }
381
+
382
+ private void buildPartial0(com.lansweeper.dp.outbound.v1.Office365Contact result) {
383
+ int from_bitField0_ = bitField0_;
384
+ int to_bitField0_ = 0;
385
+ if (((from_bitField0_ & 0x00000001) != 0)) {
386
+ result.displayName_ = displayName_;
387
+ to_bitField0_ |= 0x00000001;
388
+ }
389
+ if (((from_bitField0_ & 0x00000002) != 0)) {
390
+ result.mail_ = mail_;
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.Office365Contact) {
431
+ return mergeFrom((com.lansweeper.dp.outbound.v1.Office365Contact)other);
432
+ } else {
433
+ super.mergeFrom(other);
434
+ return this;
435
+ }
436
+ }
437
+
438
+ public Builder mergeFrom(com.lansweeper.dp.outbound.v1.Office365Contact other) {
439
+ if (other == com.lansweeper.dp.outbound.v1.Office365Contact.getDefaultInstance()) return this;
440
+ if (other.hasDisplayName()) {
441
+ displayName_ = other.displayName_;
442
+ bitField0_ |= 0x00000001;
443
+ onChanged();
444
+ }
445
+ if (other.hasMail()) {
446
+ mail_ = other.mail_;
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
+ displayName_ = input.readStringRequireUtf8();
478
+ bitField0_ |= 0x00000001;
479
+ break;
480
+ } // case 10
481
+ case 18: {
482
+ mail_ = 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 displayName_ = "";
504
+ /**
505
+ * <code>optional string display_name = 1;</code>
506
+ * @return Whether the displayName field is set.
507
+ */
508
+ public boolean hasDisplayName() {
509
+ return ((bitField0_ & 0x00000001) != 0);
510
+ }
511
+ /**
512
+ * <code>optional string display_name = 1;</code>
513
+ * @return The displayName.
514
+ */
515
+ public java.lang.String getDisplayName() {
516
+ java.lang.Object ref = displayName_;
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
+ displayName_ = s;
522
+ return s;
523
+ } else {
524
+ return (java.lang.String) ref;
525
+ }
526
+ }
527
+ /**
528
+ * <code>optional string display_name = 1;</code>
529
+ * @return The bytes for displayName.
530
+ */
531
+ public com.google.protobuf.ByteString
532
+ getDisplayNameBytes() {
533
+ java.lang.Object ref = displayName_;
534
+ if (ref instanceof String) {
535
+ com.google.protobuf.ByteString b =
536
+ com.google.protobuf.ByteString.copyFromUtf8(
537
+ (java.lang.String) ref);
538
+ displayName_ = b;
539
+ return b;
540
+ } else {
541
+ return (com.google.protobuf.ByteString) ref;
542
+ }
543
+ }
544
+ /**
545
+ * <code>optional string display_name = 1;</code>
546
+ * @param value The displayName to set.
547
+ * @return This builder for chaining.
548
+ */
549
+ public Builder setDisplayName(
550
+ java.lang.String value) {
551
+ if (value == null) { throw new NullPointerException(); }
552
+ displayName_ = value;
553
+ bitField0_ |= 0x00000001;
554
+ onChanged();
555
+ return this;
556
+ }
557
+ /**
558
+ * <code>optional string display_name = 1;</code>
559
+ * @return This builder for chaining.
560
+ */
561
+ public Builder clearDisplayName() {
562
+ displayName_ = getDefaultInstance().getDisplayName();
563
+ bitField0_ = (bitField0_ & ~0x00000001);
564
+ onChanged();
565
+ return this;
566
+ }
567
+ /**
568
+ * <code>optional string display_name = 1;</code>
569
+ * @param value The bytes for displayName to set.
570
+ * @return This builder for chaining.
571
+ */
572
+ public Builder setDisplayNameBytes(
573
+ com.google.protobuf.ByteString value) {
574
+ if (value == null) { throw new NullPointerException(); }
575
+ checkByteStringIsUtf8(value);
576
+ displayName_ = value;
577
+ bitField0_ |= 0x00000001;
578
+ onChanged();
579
+ return this;
580
+ }
581
+
582
+ private java.lang.Object mail_ = "";
583
+ /**
584
+ * <code>optional string mail = 2;</code>
585
+ * @return Whether the mail field is set.
586
+ */
587
+ public boolean hasMail() {
588
+ return ((bitField0_ & 0x00000002) != 0);
589
+ }
590
+ /**
591
+ * <code>optional string mail = 2;</code>
592
+ * @return The mail.
593
+ */
594
+ public java.lang.String getMail() {
595
+ java.lang.Object ref = mail_;
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
+ mail_ = s;
601
+ return s;
602
+ } else {
603
+ return (java.lang.String) ref;
604
+ }
605
+ }
606
+ /**
607
+ * <code>optional string mail = 2;</code>
608
+ * @return The bytes for mail.
609
+ */
610
+ public com.google.protobuf.ByteString
611
+ getMailBytes() {
612
+ java.lang.Object ref = mail_;
613
+ if (ref instanceof String) {
614
+ com.google.protobuf.ByteString b =
615
+ com.google.protobuf.ByteString.copyFromUtf8(
616
+ (java.lang.String) ref);
617
+ mail_ = b;
618
+ return b;
619
+ } else {
620
+ return (com.google.protobuf.ByteString) ref;
621
+ }
622
+ }
623
+ /**
624
+ * <code>optional string mail = 2;</code>
625
+ * @param value The mail to set.
626
+ * @return This builder for chaining.
627
+ */
628
+ public Builder setMail(
629
+ java.lang.String value) {
630
+ if (value == null) { throw new NullPointerException(); }
631
+ mail_ = value;
632
+ bitField0_ |= 0x00000002;
633
+ onChanged();
634
+ return this;
635
+ }
636
+ /**
637
+ * <code>optional string mail = 2;</code>
638
+ * @return This builder for chaining.
639
+ */
640
+ public Builder clearMail() {
641
+ mail_ = getDefaultInstance().getMail();
642
+ bitField0_ = (bitField0_ & ~0x00000002);
643
+ onChanged();
644
+ return this;
645
+ }
646
+ /**
647
+ * <code>optional string mail = 2;</code>
648
+ * @param value The bytes for mail to set.
649
+ * @return This builder for chaining.
650
+ */
651
+ public Builder setMailBytes(
652
+ com.google.protobuf.ByteString value) {
653
+ if (value == null) { throw new NullPointerException(); }
654
+ checkByteStringIsUtf8(value);
655
+ mail_ = 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.Office365Contact)
674
+ }
675
+
676
+ // @@protoc_insertion_point(class_scope:com.lansweeper.dp.outbound.v1.Office365Contact)
677
+ private static final com.lansweeper.dp.outbound.v1.Office365Contact DEFAULT_INSTANCE;
678
+ static {
679
+ DEFAULT_INSTANCE = new com.lansweeper.dp.outbound.v1.Office365Contact();
680
+ }
681
+
682
+ public static com.lansweeper.dp.outbound.v1.Office365Contact getDefaultInstance() {
683
+ return DEFAULT_INSTANCE;
684
+ }
685
+
686
+ private static final com.google.protobuf.Parser<Office365Contact>
687
+ PARSER = new com.google.protobuf.AbstractParser<Office365Contact>() {
688
+ @java.lang.Override
689
+ public Office365Contact 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<Office365Contact> parser() {
709
+ return PARSER;
710
+ }
711
+
712
+ @java.lang.Override
713
+ public com.google.protobuf.Parser<Office365Contact> getParserForType() {
714
+ return PARSER;
715
+ }
716
+
717
+ @java.lang.Override
718
+ public com.lansweeper.dp.outbound.v1.Office365Contact getDefaultInstanceForType() {
719
+ return DEFAULT_INSTANCE;
720
+ }
721
+
722
+ }
723
+