@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,1701 @@
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.Office365Group}
9
+ */
10
+ public final class Office365Group extends
11
+ com.google.protobuf.GeneratedMessageV3 implements
12
+ // @@protoc_insertion_point(message_implements:com.lansweeper.dp.outbound.v1.Office365Group)
13
+ Office365GroupOrBuilder {
14
+ private static final long serialVersionUID = 0L;
15
+ // Use Office365Group.newBuilder() to construct.
16
+ private Office365Group(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
17
+ super(builder);
18
+ }
19
+ private Office365Group() {
20
+ objectId_ = "";
21
+ displayName_ = "";
22
+ description_ = "";
23
+ mail_ = "";
24
+ mailNickname_ = "";
25
+ proxyAddresses_ = "";
26
+ organizationEntityKey_ = "";
27
+ }
28
+
29
+ @java.lang.Override
30
+ @SuppressWarnings({"unused"})
31
+ protected java.lang.Object newInstance(
32
+ UnusedPrivateParameter unused) {
33
+ return new Office365Group();
34
+ }
35
+
36
+ public static final com.google.protobuf.Descriptors.Descriptor
37
+ getDescriptor() {
38
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_Office365Group_descriptor;
39
+ }
40
+
41
+ @java.lang.Override
42
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
43
+ internalGetFieldAccessorTable() {
44
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_Office365Group_fieldAccessorTable
45
+ .ensureFieldAccessorsInitialized(
46
+ com.lansweeper.dp.outbound.v1.Office365Group.class, com.lansweeper.dp.outbound.v1.Office365Group.Builder.class);
47
+ }
48
+
49
+ private int bitField0_;
50
+ public static final int OBJECT_ID_FIELD_NUMBER = 1;
51
+ @SuppressWarnings("serial")
52
+ private volatile java.lang.Object objectId_ = "";
53
+ /**
54
+ * <code>string object_id = 1;</code>
55
+ * @return The objectId.
56
+ */
57
+ @java.lang.Override
58
+ public java.lang.String getObjectId() {
59
+ java.lang.Object ref = objectId_;
60
+ if (ref instanceof java.lang.String) {
61
+ return (java.lang.String) ref;
62
+ } else {
63
+ com.google.protobuf.ByteString bs =
64
+ (com.google.protobuf.ByteString) ref;
65
+ java.lang.String s = bs.toStringUtf8();
66
+ objectId_ = s;
67
+ return s;
68
+ }
69
+ }
70
+ /**
71
+ * <code>string object_id = 1;</code>
72
+ * @return The bytes for objectId.
73
+ */
74
+ @java.lang.Override
75
+ public com.google.protobuf.ByteString
76
+ getObjectIdBytes() {
77
+ java.lang.Object ref = objectId_;
78
+ if (ref instanceof java.lang.String) {
79
+ com.google.protobuf.ByteString b =
80
+ com.google.protobuf.ByteString.copyFromUtf8(
81
+ (java.lang.String) ref);
82
+ objectId_ = b;
83
+ return b;
84
+ } else {
85
+ return (com.google.protobuf.ByteString) ref;
86
+ }
87
+ }
88
+
89
+ public static final int DISPLAY_NAME_FIELD_NUMBER = 2;
90
+ @SuppressWarnings("serial")
91
+ private volatile java.lang.Object displayName_ = "";
92
+ /**
93
+ * <code>optional string display_name = 2;</code>
94
+ * @return Whether the displayName field is set.
95
+ */
96
+ @java.lang.Override
97
+ public boolean hasDisplayName() {
98
+ return ((bitField0_ & 0x00000001) != 0);
99
+ }
100
+ /**
101
+ * <code>optional string display_name = 2;</code>
102
+ * @return The displayName.
103
+ */
104
+ @java.lang.Override
105
+ public java.lang.String getDisplayName() {
106
+ java.lang.Object ref = displayName_;
107
+ if (ref instanceof java.lang.String) {
108
+ return (java.lang.String) ref;
109
+ } else {
110
+ com.google.protobuf.ByteString bs =
111
+ (com.google.protobuf.ByteString) ref;
112
+ java.lang.String s = bs.toStringUtf8();
113
+ displayName_ = s;
114
+ return s;
115
+ }
116
+ }
117
+ /**
118
+ * <code>optional string display_name = 2;</code>
119
+ * @return The bytes for displayName.
120
+ */
121
+ @java.lang.Override
122
+ public com.google.protobuf.ByteString
123
+ getDisplayNameBytes() {
124
+ java.lang.Object ref = displayName_;
125
+ if (ref instanceof java.lang.String) {
126
+ com.google.protobuf.ByteString b =
127
+ com.google.protobuf.ByteString.copyFromUtf8(
128
+ (java.lang.String) ref);
129
+ displayName_ = b;
130
+ return b;
131
+ } else {
132
+ return (com.google.protobuf.ByteString) ref;
133
+ }
134
+ }
135
+
136
+ public static final int DESCRIPTION_FIELD_NUMBER = 3;
137
+ @SuppressWarnings("serial")
138
+ private volatile java.lang.Object description_ = "";
139
+ /**
140
+ * <code>optional string description = 3;</code>
141
+ * @return Whether the description field is set.
142
+ */
143
+ @java.lang.Override
144
+ public boolean hasDescription() {
145
+ return ((bitField0_ & 0x00000002) != 0);
146
+ }
147
+ /**
148
+ * <code>optional string description = 3;</code>
149
+ * @return The description.
150
+ */
151
+ @java.lang.Override
152
+ public java.lang.String getDescription() {
153
+ java.lang.Object ref = description_;
154
+ if (ref instanceof java.lang.String) {
155
+ return (java.lang.String) ref;
156
+ } else {
157
+ com.google.protobuf.ByteString bs =
158
+ (com.google.protobuf.ByteString) ref;
159
+ java.lang.String s = bs.toStringUtf8();
160
+ description_ = s;
161
+ return s;
162
+ }
163
+ }
164
+ /**
165
+ * <code>optional string description = 3;</code>
166
+ * @return The bytes for description.
167
+ */
168
+ @java.lang.Override
169
+ public com.google.protobuf.ByteString
170
+ getDescriptionBytes() {
171
+ java.lang.Object ref = description_;
172
+ if (ref instanceof java.lang.String) {
173
+ com.google.protobuf.ByteString b =
174
+ com.google.protobuf.ByteString.copyFromUtf8(
175
+ (java.lang.String) ref);
176
+ description_ = b;
177
+ return b;
178
+ } else {
179
+ return (com.google.protobuf.ByteString) ref;
180
+ }
181
+ }
182
+
183
+ public static final int MAIL_ENABLED_FIELD_NUMBER = 4;
184
+ private boolean mailEnabled_ = false;
185
+ /**
186
+ * <code>optional bool mail_enabled = 4;</code>
187
+ * @return Whether the mailEnabled field is set.
188
+ */
189
+ @java.lang.Override
190
+ public boolean hasMailEnabled() {
191
+ return ((bitField0_ & 0x00000004) != 0);
192
+ }
193
+ /**
194
+ * <code>optional bool mail_enabled = 4;</code>
195
+ * @return The mailEnabled.
196
+ */
197
+ @java.lang.Override
198
+ public boolean getMailEnabled() {
199
+ return mailEnabled_;
200
+ }
201
+
202
+ public static final int SECURITY_ENABLED_FIELD_NUMBER = 5;
203
+ private boolean securityEnabled_ = false;
204
+ /**
205
+ * <code>optional bool security_enabled = 5;</code>
206
+ * @return Whether the securityEnabled field is set.
207
+ */
208
+ @java.lang.Override
209
+ public boolean hasSecurityEnabled() {
210
+ return ((bitField0_ & 0x00000008) != 0);
211
+ }
212
+ /**
213
+ * <code>optional bool security_enabled = 5;</code>
214
+ * @return The securityEnabled.
215
+ */
216
+ @java.lang.Override
217
+ public boolean getSecurityEnabled() {
218
+ return securityEnabled_;
219
+ }
220
+
221
+ public static final int MAIL_FIELD_NUMBER = 6;
222
+ @SuppressWarnings("serial")
223
+ private volatile java.lang.Object mail_ = "";
224
+ /**
225
+ * <code>optional string mail = 6;</code>
226
+ * @return Whether the mail field is set.
227
+ */
228
+ @java.lang.Override
229
+ public boolean hasMail() {
230
+ return ((bitField0_ & 0x00000010) != 0);
231
+ }
232
+ /**
233
+ * <code>optional string mail = 6;</code>
234
+ * @return The mail.
235
+ */
236
+ @java.lang.Override
237
+ public java.lang.String getMail() {
238
+ java.lang.Object ref = mail_;
239
+ if (ref instanceof java.lang.String) {
240
+ return (java.lang.String) ref;
241
+ } else {
242
+ com.google.protobuf.ByteString bs =
243
+ (com.google.protobuf.ByteString) ref;
244
+ java.lang.String s = bs.toStringUtf8();
245
+ mail_ = s;
246
+ return s;
247
+ }
248
+ }
249
+ /**
250
+ * <code>optional string mail = 6;</code>
251
+ * @return The bytes for mail.
252
+ */
253
+ @java.lang.Override
254
+ public com.google.protobuf.ByteString
255
+ getMailBytes() {
256
+ java.lang.Object ref = mail_;
257
+ if (ref instanceof java.lang.String) {
258
+ com.google.protobuf.ByteString b =
259
+ com.google.protobuf.ByteString.copyFromUtf8(
260
+ (java.lang.String) ref);
261
+ mail_ = b;
262
+ return b;
263
+ } else {
264
+ return (com.google.protobuf.ByteString) ref;
265
+ }
266
+ }
267
+
268
+ public static final int MAIL_NICKNAME_FIELD_NUMBER = 7;
269
+ @SuppressWarnings("serial")
270
+ private volatile java.lang.Object mailNickname_ = "";
271
+ /**
272
+ * <code>optional string mail_nickname = 7;</code>
273
+ * @return Whether the mailNickname field is set.
274
+ */
275
+ @java.lang.Override
276
+ public boolean hasMailNickname() {
277
+ return ((bitField0_ & 0x00000020) != 0);
278
+ }
279
+ /**
280
+ * <code>optional string mail_nickname = 7;</code>
281
+ * @return The mailNickname.
282
+ */
283
+ @java.lang.Override
284
+ public java.lang.String getMailNickname() {
285
+ java.lang.Object ref = mailNickname_;
286
+ if (ref instanceof java.lang.String) {
287
+ return (java.lang.String) ref;
288
+ } else {
289
+ com.google.protobuf.ByteString bs =
290
+ (com.google.protobuf.ByteString) ref;
291
+ java.lang.String s = bs.toStringUtf8();
292
+ mailNickname_ = s;
293
+ return s;
294
+ }
295
+ }
296
+ /**
297
+ * <code>optional string mail_nickname = 7;</code>
298
+ * @return The bytes for mailNickname.
299
+ */
300
+ @java.lang.Override
301
+ public com.google.protobuf.ByteString
302
+ getMailNicknameBytes() {
303
+ java.lang.Object ref = mailNickname_;
304
+ if (ref instanceof java.lang.String) {
305
+ com.google.protobuf.ByteString b =
306
+ com.google.protobuf.ByteString.copyFromUtf8(
307
+ (java.lang.String) ref);
308
+ mailNickname_ = b;
309
+ return b;
310
+ } else {
311
+ return (com.google.protobuf.ByteString) ref;
312
+ }
313
+ }
314
+
315
+ public static final int PROXY_ADDRESSES_FIELD_NUMBER = 8;
316
+ @SuppressWarnings("serial")
317
+ private volatile java.lang.Object proxyAddresses_ = "";
318
+ /**
319
+ * <code>optional string proxy_addresses = 8;</code>
320
+ * @return Whether the proxyAddresses field is set.
321
+ */
322
+ @java.lang.Override
323
+ public boolean hasProxyAddresses() {
324
+ return ((bitField0_ & 0x00000040) != 0);
325
+ }
326
+ /**
327
+ * <code>optional string proxy_addresses = 8;</code>
328
+ * @return The proxyAddresses.
329
+ */
330
+ @java.lang.Override
331
+ public java.lang.String getProxyAddresses() {
332
+ java.lang.Object ref = proxyAddresses_;
333
+ if (ref instanceof java.lang.String) {
334
+ return (java.lang.String) ref;
335
+ } else {
336
+ com.google.protobuf.ByteString bs =
337
+ (com.google.protobuf.ByteString) ref;
338
+ java.lang.String s = bs.toStringUtf8();
339
+ proxyAddresses_ = s;
340
+ return s;
341
+ }
342
+ }
343
+ /**
344
+ * <code>optional string proxy_addresses = 8;</code>
345
+ * @return The bytes for proxyAddresses.
346
+ */
347
+ @java.lang.Override
348
+ public com.google.protobuf.ByteString
349
+ getProxyAddressesBytes() {
350
+ java.lang.Object ref = proxyAddresses_;
351
+ if (ref instanceof java.lang.String) {
352
+ com.google.protobuf.ByteString b =
353
+ com.google.protobuf.ByteString.copyFromUtf8(
354
+ (java.lang.String) ref);
355
+ proxyAddresses_ = b;
356
+ return b;
357
+ } else {
358
+ return (com.google.protobuf.ByteString) ref;
359
+ }
360
+ }
361
+
362
+ public static final int ORGANIZATION_ENTITY_KEY_FIELD_NUMBER = 9;
363
+ @SuppressWarnings("serial")
364
+ private volatile java.lang.Object organizationEntityKey_ = "";
365
+ /**
366
+ * <pre>
367
+ *Reference to the Office365 organization entity key related to this group
368
+ * </pre>
369
+ *
370
+ * <code>optional string organization_entity_key = 9;</code>
371
+ * @return Whether the organizationEntityKey field is set.
372
+ */
373
+ @java.lang.Override
374
+ public boolean hasOrganizationEntityKey() {
375
+ return ((bitField0_ & 0x00000080) != 0);
376
+ }
377
+ /**
378
+ * <pre>
379
+ *Reference to the Office365 organization entity key related to this group
380
+ * </pre>
381
+ *
382
+ * <code>optional string organization_entity_key = 9;</code>
383
+ * @return The organizationEntityKey.
384
+ */
385
+ @java.lang.Override
386
+ public java.lang.String getOrganizationEntityKey() {
387
+ java.lang.Object ref = organizationEntityKey_;
388
+ if (ref instanceof java.lang.String) {
389
+ return (java.lang.String) ref;
390
+ } else {
391
+ com.google.protobuf.ByteString bs =
392
+ (com.google.protobuf.ByteString) ref;
393
+ java.lang.String s = bs.toStringUtf8();
394
+ organizationEntityKey_ = s;
395
+ return s;
396
+ }
397
+ }
398
+ /**
399
+ * <pre>
400
+ *Reference to the Office365 organization entity key related to this group
401
+ * </pre>
402
+ *
403
+ * <code>optional string organization_entity_key = 9;</code>
404
+ * @return The bytes for organizationEntityKey.
405
+ */
406
+ @java.lang.Override
407
+ public com.google.protobuf.ByteString
408
+ getOrganizationEntityKeyBytes() {
409
+ java.lang.Object ref = organizationEntityKey_;
410
+ if (ref instanceof java.lang.String) {
411
+ com.google.protobuf.ByteString b =
412
+ com.google.protobuf.ByteString.copyFromUtf8(
413
+ (java.lang.String) ref);
414
+ organizationEntityKey_ = b;
415
+ return b;
416
+ } else {
417
+ return (com.google.protobuf.ByteString) ref;
418
+ }
419
+ }
420
+
421
+ private byte memoizedIsInitialized = -1;
422
+ @java.lang.Override
423
+ public final boolean isInitialized() {
424
+ byte isInitialized = memoizedIsInitialized;
425
+ if (isInitialized == 1) return true;
426
+ if (isInitialized == 0) return false;
427
+
428
+ memoizedIsInitialized = 1;
429
+ return true;
430
+ }
431
+
432
+ @java.lang.Override
433
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
434
+ throws java.io.IOException {
435
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(objectId_)) {
436
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, objectId_);
437
+ }
438
+ if (((bitField0_ & 0x00000001) != 0)) {
439
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_);
440
+ }
441
+ if (((bitField0_ & 0x00000002) != 0)) {
442
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_);
443
+ }
444
+ if (((bitField0_ & 0x00000004) != 0)) {
445
+ output.writeBool(4, mailEnabled_);
446
+ }
447
+ if (((bitField0_ & 0x00000008) != 0)) {
448
+ output.writeBool(5, securityEnabled_);
449
+ }
450
+ if (((bitField0_ & 0x00000010) != 0)) {
451
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 6, mail_);
452
+ }
453
+ if (((bitField0_ & 0x00000020) != 0)) {
454
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 7, mailNickname_);
455
+ }
456
+ if (((bitField0_ & 0x00000040) != 0)) {
457
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 8, proxyAddresses_);
458
+ }
459
+ if (((bitField0_ & 0x00000080) != 0)) {
460
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 9, organizationEntityKey_);
461
+ }
462
+ getUnknownFields().writeTo(output);
463
+ }
464
+
465
+ @java.lang.Override
466
+ public int getSerializedSize() {
467
+ int size = memoizedSize;
468
+ if (size != -1) return size;
469
+
470
+ size = 0;
471
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(objectId_)) {
472
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, objectId_);
473
+ }
474
+ if (((bitField0_ & 0x00000001) != 0)) {
475
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_);
476
+ }
477
+ if (((bitField0_ & 0x00000002) != 0)) {
478
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_);
479
+ }
480
+ if (((bitField0_ & 0x00000004) != 0)) {
481
+ size += com.google.protobuf.CodedOutputStream
482
+ .computeBoolSize(4, mailEnabled_);
483
+ }
484
+ if (((bitField0_ & 0x00000008) != 0)) {
485
+ size += com.google.protobuf.CodedOutputStream
486
+ .computeBoolSize(5, securityEnabled_);
487
+ }
488
+ if (((bitField0_ & 0x00000010) != 0)) {
489
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, mail_);
490
+ }
491
+ if (((bitField0_ & 0x00000020) != 0)) {
492
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, mailNickname_);
493
+ }
494
+ if (((bitField0_ & 0x00000040) != 0)) {
495
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, proxyAddresses_);
496
+ }
497
+ if (((bitField0_ & 0x00000080) != 0)) {
498
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, organizationEntityKey_);
499
+ }
500
+ size += getUnknownFields().getSerializedSize();
501
+ memoizedSize = size;
502
+ return size;
503
+ }
504
+
505
+ @java.lang.Override
506
+ public boolean equals(final java.lang.Object obj) {
507
+ if (obj == this) {
508
+ return true;
509
+ }
510
+ if (!(obj instanceof com.lansweeper.dp.outbound.v1.Office365Group)) {
511
+ return super.equals(obj);
512
+ }
513
+ com.lansweeper.dp.outbound.v1.Office365Group other = (com.lansweeper.dp.outbound.v1.Office365Group) obj;
514
+
515
+ if (!getObjectId()
516
+ .equals(other.getObjectId())) return false;
517
+ if (hasDisplayName() != other.hasDisplayName()) return false;
518
+ if (hasDisplayName()) {
519
+ if (!getDisplayName()
520
+ .equals(other.getDisplayName())) return false;
521
+ }
522
+ if (hasDescription() != other.hasDescription()) return false;
523
+ if (hasDescription()) {
524
+ if (!getDescription()
525
+ .equals(other.getDescription())) return false;
526
+ }
527
+ if (hasMailEnabled() != other.hasMailEnabled()) return false;
528
+ if (hasMailEnabled()) {
529
+ if (getMailEnabled()
530
+ != other.getMailEnabled()) return false;
531
+ }
532
+ if (hasSecurityEnabled() != other.hasSecurityEnabled()) return false;
533
+ if (hasSecurityEnabled()) {
534
+ if (getSecurityEnabled()
535
+ != other.getSecurityEnabled()) return false;
536
+ }
537
+ if (hasMail() != other.hasMail()) return false;
538
+ if (hasMail()) {
539
+ if (!getMail()
540
+ .equals(other.getMail())) return false;
541
+ }
542
+ if (hasMailNickname() != other.hasMailNickname()) return false;
543
+ if (hasMailNickname()) {
544
+ if (!getMailNickname()
545
+ .equals(other.getMailNickname())) return false;
546
+ }
547
+ if (hasProxyAddresses() != other.hasProxyAddresses()) return false;
548
+ if (hasProxyAddresses()) {
549
+ if (!getProxyAddresses()
550
+ .equals(other.getProxyAddresses())) return false;
551
+ }
552
+ if (hasOrganizationEntityKey() != other.hasOrganizationEntityKey()) return false;
553
+ if (hasOrganizationEntityKey()) {
554
+ if (!getOrganizationEntityKey()
555
+ .equals(other.getOrganizationEntityKey())) return false;
556
+ }
557
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
558
+ return true;
559
+ }
560
+
561
+ @java.lang.Override
562
+ public int hashCode() {
563
+ if (memoizedHashCode != 0) {
564
+ return memoizedHashCode;
565
+ }
566
+ int hash = 41;
567
+ hash = (19 * hash) + getDescriptor().hashCode();
568
+ hash = (37 * hash) + OBJECT_ID_FIELD_NUMBER;
569
+ hash = (53 * hash) + getObjectId().hashCode();
570
+ if (hasDisplayName()) {
571
+ hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER;
572
+ hash = (53 * hash) + getDisplayName().hashCode();
573
+ }
574
+ if (hasDescription()) {
575
+ hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
576
+ hash = (53 * hash) + getDescription().hashCode();
577
+ }
578
+ if (hasMailEnabled()) {
579
+ hash = (37 * hash) + MAIL_ENABLED_FIELD_NUMBER;
580
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
581
+ getMailEnabled());
582
+ }
583
+ if (hasSecurityEnabled()) {
584
+ hash = (37 * hash) + SECURITY_ENABLED_FIELD_NUMBER;
585
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
586
+ getSecurityEnabled());
587
+ }
588
+ if (hasMail()) {
589
+ hash = (37 * hash) + MAIL_FIELD_NUMBER;
590
+ hash = (53 * hash) + getMail().hashCode();
591
+ }
592
+ if (hasMailNickname()) {
593
+ hash = (37 * hash) + MAIL_NICKNAME_FIELD_NUMBER;
594
+ hash = (53 * hash) + getMailNickname().hashCode();
595
+ }
596
+ if (hasProxyAddresses()) {
597
+ hash = (37 * hash) + PROXY_ADDRESSES_FIELD_NUMBER;
598
+ hash = (53 * hash) + getProxyAddresses().hashCode();
599
+ }
600
+ if (hasOrganizationEntityKey()) {
601
+ hash = (37 * hash) + ORGANIZATION_ENTITY_KEY_FIELD_NUMBER;
602
+ hash = (53 * hash) + getOrganizationEntityKey().hashCode();
603
+ }
604
+ hash = (29 * hash) + getUnknownFields().hashCode();
605
+ memoizedHashCode = hash;
606
+ return hash;
607
+ }
608
+
609
+ public static com.lansweeper.dp.outbound.v1.Office365Group parseFrom(
610
+ java.nio.ByteBuffer data)
611
+ throws com.google.protobuf.InvalidProtocolBufferException {
612
+ return PARSER.parseFrom(data);
613
+ }
614
+ public static com.lansweeper.dp.outbound.v1.Office365Group parseFrom(
615
+ java.nio.ByteBuffer data,
616
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
617
+ throws com.google.protobuf.InvalidProtocolBufferException {
618
+ return PARSER.parseFrom(data, extensionRegistry);
619
+ }
620
+ public static com.lansweeper.dp.outbound.v1.Office365Group parseFrom(
621
+ com.google.protobuf.ByteString data)
622
+ throws com.google.protobuf.InvalidProtocolBufferException {
623
+ return PARSER.parseFrom(data);
624
+ }
625
+ public static com.lansweeper.dp.outbound.v1.Office365Group parseFrom(
626
+ com.google.protobuf.ByteString data,
627
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
628
+ throws com.google.protobuf.InvalidProtocolBufferException {
629
+ return PARSER.parseFrom(data, extensionRegistry);
630
+ }
631
+ public static com.lansweeper.dp.outbound.v1.Office365Group parseFrom(byte[] data)
632
+ throws com.google.protobuf.InvalidProtocolBufferException {
633
+ return PARSER.parseFrom(data);
634
+ }
635
+ public static com.lansweeper.dp.outbound.v1.Office365Group parseFrom(
636
+ byte[] data,
637
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
638
+ throws com.google.protobuf.InvalidProtocolBufferException {
639
+ return PARSER.parseFrom(data, extensionRegistry);
640
+ }
641
+ public static com.lansweeper.dp.outbound.v1.Office365Group parseFrom(java.io.InputStream input)
642
+ throws java.io.IOException {
643
+ return com.google.protobuf.GeneratedMessageV3
644
+ .parseWithIOException(PARSER, input);
645
+ }
646
+ public static com.lansweeper.dp.outbound.v1.Office365Group parseFrom(
647
+ java.io.InputStream input,
648
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
649
+ throws java.io.IOException {
650
+ return com.google.protobuf.GeneratedMessageV3
651
+ .parseWithIOException(PARSER, input, extensionRegistry);
652
+ }
653
+
654
+ public static com.lansweeper.dp.outbound.v1.Office365Group parseDelimitedFrom(java.io.InputStream input)
655
+ throws java.io.IOException {
656
+ return com.google.protobuf.GeneratedMessageV3
657
+ .parseDelimitedWithIOException(PARSER, input);
658
+ }
659
+
660
+ public static com.lansweeper.dp.outbound.v1.Office365Group parseDelimitedFrom(
661
+ java.io.InputStream input,
662
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
663
+ throws java.io.IOException {
664
+ return com.google.protobuf.GeneratedMessageV3
665
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
666
+ }
667
+ public static com.lansweeper.dp.outbound.v1.Office365Group parseFrom(
668
+ com.google.protobuf.CodedInputStream input)
669
+ throws java.io.IOException {
670
+ return com.google.protobuf.GeneratedMessageV3
671
+ .parseWithIOException(PARSER, input);
672
+ }
673
+ public static com.lansweeper.dp.outbound.v1.Office365Group parseFrom(
674
+ com.google.protobuf.CodedInputStream input,
675
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
676
+ throws java.io.IOException {
677
+ return com.google.protobuf.GeneratedMessageV3
678
+ .parseWithIOException(PARSER, input, extensionRegistry);
679
+ }
680
+
681
+ @java.lang.Override
682
+ public Builder newBuilderForType() { return newBuilder(); }
683
+ public static Builder newBuilder() {
684
+ return DEFAULT_INSTANCE.toBuilder();
685
+ }
686
+ public static Builder newBuilder(com.lansweeper.dp.outbound.v1.Office365Group prototype) {
687
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
688
+ }
689
+ @java.lang.Override
690
+ public Builder toBuilder() {
691
+ return this == DEFAULT_INSTANCE
692
+ ? new Builder() : new Builder().mergeFrom(this);
693
+ }
694
+
695
+ @java.lang.Override
696
+ protected Builder newBuilderForType(
697
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
698
+ Builder builder = new Builder(parent);
699
+ return builder;
700
+ }
701
+ /**
702
+ * Protobuf type {@code com.lansweeper.dp.outbound.v1.Office365Group}
703
+ */
704
+ public static final class Builder extends
705
+ com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
706
+ // @@protoc_insertion_point(builder_implements:com.lansweeper.dp.outbound.v1.Office365Group)
707
+ com.lansweeper.dp.outbound.v1.Office365GroupOrBuilder {
708
+ public static final com.google.protobuf.Descriptors.Descriptor
709
+ getDescriptor() {
710
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_Office365Group_descriptor;
711
+ }
712
+
713
+ @java.lang.Override
714
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
715
+ internalGetFieldAccessorTable() {
716
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_Office365Group_fieldAccessorTable
717
+ .ensureFieldAccessorsInitialized(
718
+ com.lansweeper.dp.outbound.v1.Office365Group.class, com.lansweeper.dp.outbound.v1.Office365Group.Builder.class);
719
+ }
720
+
721
+ // Construct using com.lansweeper.dp.outbound.v1.Office365Group.newBuilder()
722
+ private Builder() {
723
+
724
+ }
725
+
726
+ private Builder(
727
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
728
+ super(parent);
729
+
730
+ }
731
+ @java.lang.Override
732
+ public Builder clear() {
733
+ super.clear();
734
+ bitField0_ = 0;
735
+ objectId_ = "";
736
+ displayName_ = "";
737
+ description_ = "";
738
+ mailEnabled_ = false;
739
+ securityEnabled_ = false;
740
+ mail_ = "";
741
+ mailNickname_ = "";
742
+ proxyAddresses_ = "";
743
+ organizationEntityKey_ = "";
744
+ return this;
745
+ }
746
+
747
+ @java.lang.Override
748
+ public com.google.protobuf.Descriptors.Descriptor
749
+ getDescriptorForType() {
750
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_Office365Group_descriptor;
751
+ }
752
+
753
+ @java.lang.Override
754
+ public com.lansweeper.dp.outbound.v1.Office365Group getDefaultInstanceForType() {
755
+ return com.lansweeper.dp.outbound.v1.Office365Group.getDefaultInstance();
756
+ }
757
+
758
+ @java.lang.Override
759
+ public com.lansweeper.dp.outbound.v1.Office365Group build() {
760
+ com.lansweeper.dp.outbound.v1.Office365Group result = buildPartial();
761
+ if (!result.isInitialized()) {
762
+ throw newUninitializedMessageException(result);
763
+ }
764
+ return result;
765
+ }
766
+
767
+ @java.lang.Override
768
+ public com.lansweeper.dp.outbound.v1.Office365Group buildPartial() {
769
+ com.lansweeper.dp.outbound.v1.Office365Group result = new com.lansweeper.dp.outbound.v1.Office365Group(this);
770
+ if (bitField0_ != 0) { buildPartial0(result); }
771
+ onBuilt();
772
+ return result;
773
+ }
774
+
775
+ private void buildPartial0(com.lansweeper.dp.outbound.v1.Office365Group result) {
776
+ int from_bitField0_ = bitField0_;
777
+ if (((from_bitField0_ & 0x00000001) != 0)) {
778
+ result.objectId_ = objectId_;
779
+ }
780
+ int to_bitField0_ = 0;
781
+ if (((from_bitField0_ & 0x00000002) != 0)) {
782
+ result.displayName_ = displayName_;
783
+ to_bitField0_ |= 0x00000001;
784
+ }
785
+ if (((from_bitField0_ & 0x00000004) != 0)) {
786
+ result.description_ = description_;
787
+ to_bitField0_ |= 0x00000002;
788
+ }
789
+ if (((from_bitField0_ & 0x00000008) != 0)) {
790
+ result.mailEnabled_ = mailEnabled_;
791
+ to_bitField0_ |= 0x00000004;
792
+ }
793
+ if (((from_bitField0_ & 0x00000010) != 0)) {
794
+ result.securityEnabled_ = securityEnabled_;
795
+ to_bitField0_ |= 0x00000008;
796
+ }
797
+ if (((from_bitField0_ & 0x00000020) != 0)) {
798
+ result.mail_ = mail_;
799
+ to_bitField0_ |= 0x00000010;
800
+ }
801
+ if (((from_bitField0_ & 0x00000040) != 0)) {
802
+ result.mailNickname_ = mailNickname_;
803
+ to_bitField0_ |= 0x00000020;
804
+ }
805
+ if (((from_bitField0_ & 0x00000080) != 0)) {
806
+ result.proxyAddresses_ = proxyAddresses_;
807
+ to_bitField0_ |= 0x00000040;
808
+ }
809
+ if (((from_bitField0_ & 0x00000100) != 0)) {
810
+ result.organizationEntityKey_ = organizationEntityKey_;
811
+ to_bitField0_ |= 0x00000080;
812
+ }
813
+ result.bitField0_ |= to_bitField0_;
814
+ }
815
+
816
+ @java.lang.Override
817
+ public Builder clone() {
818
+ return super.clone();
819
+ }
820
+ @java.lang.Override
821
+ public Builder setField(
822
+ com.google.protobuf.Descriptors.FieldDescriptor field,
823
+ java.lang.Object value) {
824
+ return super.setField(field, value);
825
+ }
826
+ @java.lang.Override
827
+ public Builder clearField(
828
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
829
+ return super.clearField(field);
830
+ }
831
+ @java.lang.Override
832
+ public Builder clearOneof(
833
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
834
+ return super.clearOneof(oneof);
835
+ }
836
+ @java.lang.Override
837
+ public Builder setRepeatedField(
838
+ com.google.protobuf.Descriptors.FieldDescriptor field,
839
+ int index, java.lang.Object value) {
840
+ return super.setRepeatedField(field, index, value);
841
+ }
842
+ @java.lang.Override
843
+ public Builder addRepeatedField(
844
+ com.google.protobuf.Descriptors.FieldDescriptor field,
845
+ java.lang.Object value) {
846
+ return super.addRepeatedField(field, value);
847
+ }
848
+ @java.lang.Override
849
+ public Builder mergeFrom(com.google.protobuf.Message other) {
850
+ if (other instanceof com.lansweeper.dp.outbound.v1.Office365Group) {
851
+ return mergeFrom((com.lansweeper.dp.outbound.v1.Office365Group)other);
852
+ } else {
853
+ super.mergeFrom(other);
854
+ return this;
855
+ }
856
+ }
857
+
858
+ public Builder mergeFrom(com.lansweeper.dp.outbound.v1.Office365Group other) {
859
+ if (other == com.lansweeper.dp.outbound.v1.Office365Group.getDefaultInstance()) return this;
860
+ if (!other.getObjectId().isEmpty()) {
861
+ objectId_ = other.objectId_;
862
+ bitField0_ |= 0x00000001;
863
+ onChanged();
864
+ }
865
+ if (other.hasDisplayName()) {
866
+ displayName_ = other.displayName_;
867
+ bitField0_ |= 0x00000002;
868
+ onChanged();
869
+ }
870
+ if (other.hasDescription()) {
871
+ description_ = other.description_;
872
+ bitField0_ |= 0x00000004;
873
+ onChanged();
874
+ }
875
+ if (other.hasMailEnabled()) {
876
+ setMailEnabled(other.getMailEnabled());
877
+ }
878
+ if (other.hasSecurityEnabled()) {
879
+ setSecurityEnabled(other.getSecurityEnabled());
880
+ }
881
+ if (other.hasMail()) {
882
+ mail_ = other.mail_;
883
+ bitField0_ |= 0x00000020;
884
+ onChanged();
885
+ }
886
+ if (other.hasMailNickname()) {
887
+ mailNickname_ = other.mailNickname_;
888
+ bitField0_ |= 0x00000040;
889
+ onChanged();
890
+ }
891
+ if (other.hasProxyAddresses()) {
892
+ proxyAddresses_ = other.proxyAddresses_;
893
+ bitField0_ |= 0x00000080;
894
+ onChanged();
895
+ }
896
+ if (other.hasOrganizationEntityKey()) {
897
+ organizationEntityKey_ = other.organizationEntityKey_;
898
+ bitField0_ |= 0x00000100;
899
+ onChanged();
900
+ }
901
+ this.mergeUnknownFields(other.getUnknownFields());
902
+ onChanged();
903
+ return this;
904
+ }
905
+
906
+ @java.lang.Override
907
+ public final boolean isInitialized() {
908
+ return true;
909
+ }
910
+
911
+ @java.lang.Override
912
+ public Builder mergeFrom(
913
+ com.google.protobuf.CodedInputStream input,
914
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
915
+ throws java.io.IOException {
916
+ if (extensionRegistry == null) {
917
+ throw new java.lang.NullPointerException();
918
+ }
919
+ try {
920
+ boolean done = false;
921
+ while (!done) {
922
+ int tag = input.readTag();
923
+ switch (tag) {
924
+ case 0:
925
+ done = true;
926
+ break;
927
+ case 10: {
928
+ objectId_ = input.readStringRequireUtf8();
929
+ bitField0_ |= 0x00000001;
930
+ break;
931
+ } // case 10
932
+ case 18: {
933
+ displayName_ = input.readStringRequireUtf8();
934
+ bitField0_ |= 0x00000002;
935
+ break;
936
+ } // case 18
937
+ case 26: {
938
+ description_ = input.readStringRequireUtf8();
939
+ bitField0_ |= 0x00000004;
940
+ break;
941
+ } // case 26
942
+ case 32: {
943
+ mailEnabled_ = input.readBool();
944
+ bitField0_ |= 0x00000008;
945
+ break;
946
+ } // case 32
947
+ case 40: {
948
+ securityEnabled_ = input.readBool();
949
+ bitField0_ |= 0x00000010;
950
+ break;
951
+ } // case 40
952
+ case 50: {
953
+ mail_ = input.readStringRequireUtf8();
954
+ bitField0_ |= 0x00000020;
955
+ break;
956
+ } // case 50
957
+ case 58: {
958
+ mailNickname_ = input.readStringRequireUtf8();
959
+ bitField0_ |= 0x00000040;
960
+ break;
961
+ } // case 58
962
+ case 66: {
963
+ proxyAddresses_ = input.readStringRequireUtf8();
964
+ bitField0_ |= 0x00000080;
965
+ break;
966
+ } // case 66
967
+ case 74: {
968
+ organizationEntityKey_ = input.readStringRequireUtf8();
969
+ bitField0_ |= 0x00000100;
970
+ break;
971
+ } // case 74
972
+ default: {
973
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
974
+ done = true; // was an endgroup tag
975
+ }
976
+ break;
977
+ } // default:
978
+ } // switch (tag)
979
+ } // while (!done)
980
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
981
+ throw e.unwrapIOException();
982
+ } finally {
983
+ onChanged();
984
+ } // finally
985
+ return this;
986
+ }
987
+ private int bitField0_;
988
+
989
+ private java.lang.Object objectId_ = "";
990
+ /**
991
+ * <code>string object_id = 1;</code>
992
+ * @return The objectId.
993
+ */
994
+ public java.lang.String getObjectId() {
995
+ java.lang.Object ref = objectId_;
996
+ if (!(ref instanceof java.lang.String)) {
997
+ com.google.protobuf.ByteString bs =
998
+ (com.google.protobuf.ByteString) ref;
999
+ java.lang.String s = bs.toStringUtf8();
1000
+ objectId_ = s;
1001
+ return s;
1002
+ } else {
1003
+ return (java.lang.String) ref;
1004
+ }
1005
+ }
1006
+ /**
1007
+ * <code>string object_id = 1;</code>
1008
+ * @return The bytes for objectId.
1009
+ */
1010
+ public com.google.protobuf.ByteString
1011
+ getObjectIdBytes() {
1012
+ java.lang.Object ref = objectId_;
1013
+ if (ref instanceof String) {
1014
+ com.google.protobuf.ByteString b =
1015
+ com.google.protobuf.ByteString.copyFromUtf8(
1016
+ (java.lang.String) ref);
1017
+ objectId_ = b;
1018
+ return b;
1019
+ } else {
1020
+ return (com.google.protobuf.ByteString) ref;
1021
+ }
1022
+ }
1023
+ /**
1024
+ * <code>string object_id = 1;</code>
1025
+ * @param value The objectId to set.
1026
+ * @return This builder for chaining.
1027
+ */
1028
+ public Builder setObjectId(
1029
+ java.lang.String value) {
1030
+ if (value == null) { throw new NullPointerException(); }
1031
+ objectId_ = value;
1032
+ bitField0_ |= 0x00000001;
1033
+ onChanged();
1034
+ return this;
1035
+ }
1036
+ /**
1037
+ * <code>string object_id = 1;</code>
1038
+ * @return This builder for chaining.
1039
+ */
1040
+ public Builder clearObjectId() {
1041
+ objectId_ = getDefaultInstance().getObjectId();
1042
+ bitField0_ = (bitField0_ & ~0x00000001);
1043
+ onChanged();
1044
+ return this;
1045
+ }
1046
+ /**
1047
+ * <code>string object_id = 1;</code>
1048
+ * @param value The bytes for objectId to set.
1049
+ * @return This builder for chaining.
1050
+ */
1051
+ public Builder setObjectIdBytes(
1052
+ com.google.protobuf.ByteString value) {
1053
+ if (value == null) { throw new NullPointerException(); }
1054
+ checkByteStringIsUtf8(value);
1055
+ objectId_ = value;
1056
+ bitField0_ |= 0x00000001;
1057
+ onChanged();
1058
+ return this;
1059
+ }
1060
+
1061
+ private java.lang.Object displayName_ = "";
1062
+ /**
1063
+ * <code>optional string display_name = 2;</code>
1064
+ * @return Whether the displayName field is set.
1065
+ */
1066
+ public boolean hasDisplayName() {
1067
+ return ((bitField0_ & 0x00000002) != 0);
1068
+ }
1069
+ /**
1070
+ * <code>optional string display_name = 2;</code>
1071
+ * @return The displayName.
1072
+ */
1073
+ public java.lang.String getDisplayName() {
1074
+ java.lang.Object ref = displayName_;
1075
+ if (!(ref instanceof java.lang.String)) {
1076
+ com.google.protobuf.ByteString bs =
1077
+ (com.google.protobuf.ByteString) ref;
1078
+ java.lang.String s = bs.toStringUtf8();
1079
+ displayName_ = s;
1080
+ return s;
1081
+ } else {
1082
+ return (java.lang.String) ref;
1083
+ }
1084
+ }
1085
+ /**
1086
+ * <code>optional string display_name = 2;</code>
1087
+ * @return The bytes for displayName.
1088
+ */
1089
+ public com.google.protobuf.ByteString
1090
+ getDisplayNameBytes() {
1091
+ java.lang.Object ref = displayName_;
1092
+ if (ref instanceof String) {
1093
+ com.google.protobuf.ByteString b =
1094
+ com.google.protobuf.ByteString.copyFromUtf8(
1095
+ (java.lang.String) ref);
1096
+ displayName_ = b;
1097
+ return b;
1098
+ } else {
1099
+ return (com.google.protobuf.ByteString) ref;
1100
+ }
1101
+ }
1102
+ /**
1103
+ * <code>optional string display_name = 2;</code>
1104
+ * @param value The displayName to set.
1105
+ * @return This builder for chaining.
1106
+ */
1107
+ public Builder setDisplayName(
1108
+ java.lang.String value) {
1109
+ if (value == null) { throw new NullPointerException(); }
1110
+ displayName_ = value;
1111
+ bitField0_ |= 0x00000002;
1112
+ onChanged();
1113
+ return this;
1114
+ }
1115
+ /**
1116
+ * <code>optional string display_name = 2;</code>
1117
+ * @return This builder for chaining.
1118
+ */
1119
+ public Builder clearDisplayName() {
1120
+ displayName_ = getDefaultInstance().getDisplayName();
1121
+ bitField0_ = (bitField0_ & ~0x00000002);
1122
+ onChanged();
1123
+ return this;
1124
+ }
1125
+ /**
1126
+ * <code>optional string display_name = 2;</code>
1127
+ * @param value The bytes for displayName to set.
1128
+ * @return This builder for chaining.
1129
+ */
1130
+ public Builder setDisplayNameBytes(
1131
+ com.google.protobuf.ByteString value) {
1132
+ if (value == null) { throw new NullPointerException(); }
1133
+ checkByteStringIsUtf8(value);
1134
+ displayName_ = value;
1135
+ bitField0_ |= 0x00000002;
1136
+ onChanged();
1137
+ return this;
1138
+ }
1139
+
1140
+ private java.lang.Object description_ = "";
1141
+ /**
1142
+ * <code>optional string description = 3;</code>
1143
+ * @return Whether the description field is set.
1144
+ */
1145
+ public boolean hasDescription() {
1146
+ return ((bitField0_ & 0x00000004) != 0);
1147
+ }
1148
+ /**
1149
+ * <code>optional string description = 3;</code>
1150
+ * @return The description.
1151
+ */
1152
+ public java.lang.String getDescription() {
1153
+ java.lang.Object ref = description_;
1154
+ if (!(ref instanceof java.lang.String)) {
1155
+ com.google.protobuf.ByteString bs =
1156
+ (com.google.protobuf.ByteString) ref;
1157
+ java.lang.String s = bs.toStringUtf8();
1158
+ description_ = s;
1159
+ return s;
1160
+ } else {
1161
+ return (java.lang.String) ref;
1162
+ }
1163
+ }
1164
+ /**
1165
+ * <code>optional string description = 3;</code>
1166
+ * @return The bytes for description.
1167
+ */
1168
+ public com.google.protobuf.ByteString
1169
+ getDescriptionBytes() {
1170
+ java.lang.Object ref = description_;
1171
+ if (ref instanceof String) {
1172
+ com.google.protobuf.ByteString b =
1173
+ com.google.protobuf.ByteString.copyFromUtf8(
1174
+ (java.lang.String) ref);
1175
+ description_ = b;
1176
+ return b;
1177
+ } else {
1178
+ return (com.google.protobuf.ByteString) ref;
1179
+ }
1180
+ }
1181
+ /**
1182
+ * <code>optional string description = 3;</code>
1183
+ * @param value The description to set.
1184
+ * @return This builder for chaining.
1185
+ */
1186
+ public Builder setDescription(
1187
+ java.lang.String value) {
1188
+ if (value == null) { throw new NullPointerException(); }
1189
+ description_ = value;
1190
+ bitField0_ |= 0x00000004;
1191
+ onChanged();
1192
+ return this;
1193
+ }
1194
+ /**
1195
+ * <code>optional string description = 3;</code>
1196
+ * @return This builder for chaining.
1197
+ */
1198
+ public Builder clearDescription() {
1199
+ description_ = getDefaultInstance().getDescription();
1200
+ bitField0_ = (bitField0_ & ~0x00000004);
1201
+ onChanged();
1202
+ return this;
1203
+ }
1204
+ /**
1205
+ * <code>optional string description = 3;</code>
1206
+ * @param value The bytes for description to set.
1207
+ * @return This builder for chaining.
1208
+ */
1209
+ public Builder setDescriptionBytes(
1210
+ com.google.protobuf.ByteString value) {
1211
+ if (value == null) { throw new NullPointerException(); }
1212
+ checkByteStringIsUtf8(value);
1213
+ description_ = value;
1214
+ bitField0_ |= 0x00000004;
1215
+ onChanged();
1216
+ return this;
1217
+ }
1218
+
1219
+ private boolean mailEnabled_ ;
1220
+ /**
1221
+ * <code>optional bool mail_enabled = 4;</code>
1222
+ * @return Whether the mailEnabled field is set.
1223
+ */
1224
+ @java.lang.Override
1225
+ public boolean hasMailEnabled() {
1226
+ return ((bitField0_ & 0x00000008) != 0);
1227
+ }
1228
+ /**
1229
+ * <code>optional bool mail_enabled = 4;</code>
1230
+ * @return The mailEnabled.
1231
+ */
1232
+ @java.lang.Override
1233
+ public boolean getMailEnabled() {
1234
+ return mailEnabled_;
1235
+ }
1236
+ /**
1237
+ * <code>optional bool mail_enabled = 4;</code>
1238
+ * @param value The mailEnabled to set.
1239
+ * @return This builder for chaining.
1240
+ */
1241
+ public Builder setMailEnabled(boolean value) {
1242
+
1243
+ mailEnabled_ = value;
1244
+ bitField0_ |= 0x00000008;
1245
+ onChanged();
1246
+ return this;
1247
+ }
1248
+ /**
1249
+ * <code>optional bool mail_enabled = 4;</code>
1250
+ * @return This builder for chaining.
1251
+ */
1252
+ public Builder clearMailEnabled() {
1253
+ bitField0_ = (bitField0_ & ~0x00000008);
1254
+ mailEnabled_ = false;
1255
+ onChanged();
1256
+ return this;
1257
+ }
1258
+
1259
+ private boolean securityEnabled_ ;
1260
+ /**
1261
+ * <code>optional bool security_enabled = 5;</code>
1262
+ * @return Whether the securityEnabled field is set.
1263
+ */
1264
+ @java.lang.Override
1265
+ public boolean hasSecurityEnabled() {
1266
+ return ((bitField0_ & 0x00000010) != 0);
1267
+ }
1268
+ /**
1269
+ * <code>optional bool security_enabled = 5;</code>
1270
+ * @return The securityEnabled.
1271
+ */
1272
+ @java.lang.Override
1273
+ public boolean getSecurityEnabled() {
1274
+ return securityEnabled_;
1275
+ }
1276
+ /**
1277
+ * <code>optional bool security_enabled = 5;</code>
1278
+ * @param value The securityEnabled to set.
1279
+ * @return This builder for chaining.
1280
+ */
1281
+ public Builder setSecurityEnabled(boolean value) {
1282
+
1283
+ securityEnabled_ = value;
1284
+ bitField0_ |= 0x00000010;
1285
+ onChanged();
1286
+ return this;
1287
+ }
1288
+ /**
1289
+ * <code>optional bool security_enabled = 5;</code>
1290
+ * @return This builder for chaining.
1291
+ */
1292
+ public Builder clearSecurityEnabled() {
1293
+ bitField0_ = (bitField0_ & ~0x00000010);
1294
+ securityEnabled_ = false;
1295
+ onChanged();
1296
+ return this;
1297
+ }
1298
+
1299
+ private java.lang.Object mail_ = "";
1300
+ /**
1301
+ * <code>optional string mail = 6;</code>
1302
+ * @return Whether the mail field is set.
1303
+ */
1304
+ public boolean hasMail() {
1305
+ return ((bitField0_ & 0x00000020) != 0);
1306
+ }
1307
+ /**
1308
+ * <code>optional string mail = 6;</code>
1309
+ * @return The mail.
1310
+ */
1311
+ public java.lang.String getMail() {
1312
+ java.lang.Object ref = mail_;
1313
+ if (!(ref instanceof java.lang.String)) {
1314
+ com.google.protobuf.ByteString bs =
1315
+ (com.google.protobuf.ByteString) ref;
1316
+ java.lang.String s = bs.toStringUtf8();
1317
+ mail_ = s;
1318
+ return s;
1319
+ } else {
1320
+ return (java.lang.String) ref;
1321
+ }
1322
+ }
1323
+ /**
1324
+ * <code>optional string mail = 6;</code>
1325
+ * @return The bytes for mail.
1326
+ */
1327
+ public com.google.protobuf.ByteString
1328
+ getMailBytes() {
1329
+ java.lang.Object ref = mail_;
1330
+ if (ref instanceof String) {
1331
+ com.google.protobuf.ByteString b =
1332
+ com.google.protobuf.ByteString.copyFromUtf8(
1333
+ (java.lang.String) ref);
1334
+ mail_ = b;
1335
+ return b;
1336
+ } else {
1337
+ return (com.google.protobuf.ByteString) ref;
1338
+ }
1339
+ }
1340
+ /**
1341
+ * <code>optional string mail = 6;</code>
1342
+ * @param value The mail to set.
1343
+ * @return This builder for chaining.
1344
+ */
1345
+ public Builder setMail(
1346
+ java.lang.String value) {
1347
+ if (value == null) { throw new NullPointerException(); }
1348
+ mail_ = value;
1349
+ bitField0_ |= 0x00000020;
1350
+ onChanged();
1351
+ return this;
1352
+ }
1353
+ /**
1354
+ * <code>optional string mail = 6;</code>
1355
+ * @return This builder for chaining.
1356
+ */
1357
+ public Builder clearMail() {
1358
+ mail_ = getDefaultInstance().getMail();
1359
+ bitField0_ = (bitField0_ & ~0x00000020);
1360
+ onChanged();
1361
+ return this;
1362
+ }
1363
+ /**
1364
+ * <code>optional string mail = 6;</code>
1365
+ * @param value The bytes for mail to set.
1366
+ * @return This builder for chaining.
1367
+ */
1368
+ public Builder setMailBytes(
1369
+ com.google.protobuf.ByteString value) {
1370
+ if (value == null) { throw new NullPointerException(); }
1371
+ checkByteStringIsUtf8(value);
1372
+ mail_ = value;
1373
+ bitField0_ |= 0x00000020;
1374
+ onChanged();
1375
+ return this;
1376
+ }
1377
+
1378
+ private java.lang.Object mailNickname_ = "";
1379
+ /**
1380
+ * <code>optional string mail_nickname = 7;</code>
1381
+ * @return Whether the mailNickname field is set.
1382
+ */
1383
+ public boolean hasMailNickname() {
1384
+ return ((bitField0_ & 0x00000040) != 0);
1385
+ }
1386
+ /**
1387
+ * <code>optional string mail_nickname = 7;</code>
1388
+ * @return The mailNickname.
1389
+ */
1390
+ public java.lang.String getMailNickname() {
1391
+ java.lang.Object ref = mailNickname_;
1392
+ if (!(ref instanceof java.lang.String)) {
1393
+ com.google.protobuf.ByteString bs =
1394
+ (com.google.protobuf.ByteString) ref;
1395
+ java.lang.String s = bs.toStringUtf8();
1396
+ mailNickname_ = s;
1397
+ return s;
1398
+ } else {
1399
+ return (java.lang.String) ref;
1400
+ }
1401
+ }
1402
+ /**
1403
+ * <code>optional string mail_nickname = 7;</code>
1404
+ * @return The bytes for mailNickname.
1405
+ */
1406
+ public com.google.protobuf.ByteString
1407
+ getMailNicknameBytes() {
1408
+ java.lang.Object ref = mailNickname_;
1409
+ if (ref instanceof String) {
1410
+ com.google.protobuf.ByteString b =
1411
+ com.google.protobuf.ByteString.copyFromUtf8(
1412
+ (java.lang.String) ref);
1413
+ mailNickname_ = b;
1414
+ return b;
1415
+ } else {
1416
+ return (com.google.protobuf.ByteString) ref;
1417
+ }
1418
+ }
1419
+ /**
1420
+ * <code>optional string mail_nickname = 7;</code>
1421
+ * @param value The mailNickname to set.
1422
+ * @return This builder for chaining.
1423
+ */
1424
+ public Builder setMailNickname(
1425
+ java.lang.String value) {
1426
+ if (value == null) { throw new NullPointerException(); }
1427
+ mailNickname_ = value;
1428
+ bitField0_ |= 0x00000040;
1429
+ onChanged();
1430
+ return this;
1431
+ }
1432
+ /**
1433
+ * <code>optional string mail_nickname = 7;</code>
1434
+ * @return This builder for chaining.
1435
+ */
1436
+ public Builder clearMailNickname() {
1437
+ mailNickname_ = getDefaultInstance().getMailNickname();
1438
+ bitField0_ = (bitField0_ & ~0x00000040);
1439
+ onChanged();
1440
+ return this;
1441
+ }
1442
+ /**
1443
+ * <code>optional string mail_nickname = 7;</code>
1444
+ * @param value The bytes for mailNickname to set.
1445
+ * @return This builder for chaining.
1446
+ */
1447
+ public Builder setMailNicknameBytes(
1448
+ com.google.protobuf.ByteString value) {
1449
+ if (value == null) { throw new NullPointerException(); }
1450
+ checkByteStringIsUtf8(value);
1451
+ mailNickname_ = value;
1452
+ bitField0_ |= 0x00000040;
1453
+ onChanged();
1454
+ return this;
1455
+ }
1456
+
1457
+ private java.lang.Object proxyAddresses_ = "";
1458
+ /**
1459
+ * <code>optional string proxy_addresses = 8;</code>
1460
+ * @return Whether the proxyAddresses field is set.
1461
+ */
1462
+ public boolean hasProxyAddresses() {
1463
+ return ((bitField0_ & 0x00000080) != 0);
1464
+ }
1465
+ /**
1466
+ * <code>optional string proxy_addresses = 8;</code>
1467
+ * @return The proxyAddresses.
1468
+ */
1469
+ public java.lang.String getProxyAddresses() {
1470
+ java.lang.Object ref = proxyAddresses_;
1471
+ if (!(ref instanceof java.lang.String)) {
1472
+ com.google.protobuf.ByteString bs =
1473
+ (com.google.protobuf.ByteString) ref;
1474
+ java.lang.String s = bs.toStringUtf8();
1475
+ proxyAddresses_ = s;
1476
+ return s;
1477
+ } else {
1478
+ return (java.lang.String) ref;
1479
+ }
1480
+ }
1481
+ /**
1482
+ * <code>optional string proxy_addresses = 8;</code>
1483
+ * @return The bytes for proxyAddresses.
1484
+ */
1485
+ public com.google.protobuf.ByteString
1486
+ getProxyAddressesBytes() {
1487
+ java.lang.Object ref = proxyAddresses_;
1488
+ if (ref instanceof String) {
1489
+ com.google.protobuf.ByteString b =
1490
+ com.google.protobuf.ByteString.copyFromUtf8(
1491
+ (java.lang.String) ref);
1492
+ proxyAddresses_ = b;
1493
+ return b;
1494
+ } else {
1495
+ return (com.google.protobuf.ByteString) ref;
1496
+ }
1497
+ }
1498
+ /**
1499
+ * <code>optional string proxy_addresses = 8;</code>
1500
+ * @param value The proxyAddresses to set.
1501
+ * @return This builder for chaining.
1502
+ */
1503
+ public Builder setProxyAddresses(
1504
+ java.lang.String value) {
1505
+ if (value == null) { throw new NullPointerException(); }
1506
+ proxyAddresses_ = value;
1507
+ bitField0_ |= 0x00000080;
1508
+ onChanged();
1509
+ return this;
1510
+ }
1511
+ /**
1512
+ * <code>optional string proxy_addresses = 8;</code>
1513
+ * @return This builder for chaining.
1514
+ */
1515
+ public Builder clearProxyAddresses() {
1516
+ proxyAddresses_ = getDefaultInstance().getProxyAddresses();
1517
+ bitField0_ = (bitField0_ & ~0x00000080);
1518
+ onChanged();
1519
+ return this;
1520
+ }
1521
+ /**
1522
+ * <code>optional string proxy_addresses = 8;</code>
1523
+ * @param value The bytes for proxyAddresses to set.
1524
+ * @return This builder for chaining.
1525
+ */
1526
+ public Builder setProxyAddressesBytes(
1527
+ com.google.protobuf.ByteString value) {
1528
+ if (value == null) { throw new NullPointerException(); }
1529
+ checkByteStringIsUtf8(value);
1530
+ proxyAddresses_ = value;
1531
+ bitField0_ |= 0x00000080;
1532
+ onChanged();
1533
+ return this;
1534
+ }
1535
+
1536
+ private java.lang.Object organizationEntityKey_ = "";
1537
+ /**
1538
+ * <pre>
1539
+ *Reference to the Office365 organization entity key related to this group
1540
+ * </pre>
1541
+ *
1542
+ * <code>optional string organization_entity_key = 9;</code>
1543
+ * @return Whether the organizationEntityKey field is set.
1544
+ */
1545
+ public boolean hasOrganizationEntityKey() {
1546
+ return ((bitField0_ & 0x00000100) != 0);
1547
+ }
1548
+ /**
1549
+ * <pre>
1550
+ *Reference to the Office365 organization entity key related to this group
1551
+ * </pre>
1552
+ *
1553
+ * <code>optional string organization_entity_key = 9;</code>
1554
+ * @return The organizationEntityKey.
1555
+ */
1556
+ public java.lang.String getOrganizationEntityKey() {
1557
+ java.lang.Object ref = organizationEntityKey_;
1558
+ if (!(ref instanceof java.lang.String)) {
1559
+ com.google.protobuf.ByteString bs =
1560
+ (com.google.protobuf.ByteString) ref;
1561
+ java.lang.String s = bs.toStringUtf8();
1562
+ organizationEntityKey_ = s;
1563
+ return s;
1564
+ } else {
1565
+ return (java.lang.String) ref;
1566
+ }
1567
+ }
1568
+ /**
1569
+ * <pre>
1570
+ *Reference to the Office365 organization entity key related to this group
1571
+ * </pre>
1572
+ *
1573
+ * <code>optional string organization_entity_key = 9;</code>
1574
+ * @return The bytes for organizationEntityKey.
1575
+ */
1576
+ public com.google.protobuf.ByteString
1577
+ getOrganizationEntityKeyBytes() {
1578
+ java.lang.Object ref = organizationEntityKey_;
1579
+ if (ref instanceof String) {
1580
+ com.google.protobuf.ByteString b =
1581
+ com.google.protobuf.ByteString.copyFromUtf8(
1582
+ (java.lang.String) ref);
1583
+ organizationEntityKey_ = b;
1584
+ return b;
1585
+ } else {
1586
+ return (com.google.protobuf.ByteString) ref;
1587
+ }
1588
+ }
1589
+ /**
1590
+ * <pre>
1591
+ *Reference to the Office365 organization entity key related to this group
1592
+ * </pre>
1593
+ *
1594
+ * <code>optional string organization_entity_key = 9;</code>
1595
+ * @param value The organizationEntityKey to set.
1596
+ * @return This builder for chaining.
1597
+ */
1598
+ public Builder setOrganizationEntityKey(
1599
+ java.lang.String value) {
1600
+ if (value == null) { throw new NullPointerException(); }
1601
+ organizationEntityKey_ = value;
1602
+ bitField0_ |= 0x00000100;
1603
+ onChanged();
1604
+ return this;
1605
+ }
1606
+ /**
1607
+ * <pre>
1608
+ *Reference to the Office365 organization entity key related to this group
1609
+ * </pre>
1610
+ *
1611
+ * <code>optional string organization_entity_key = 9;</code>
1612
+ * @return This builder for chaining.
1613
+ */
1614
+ public Builder clearOrganizationEntityKey() {
1615
+ organizationEntityKey_ = getDefaultInstance().getOrganizationEntityKey();
1616
+ bitField0_ = (bitField0_ & ~0x00000100);
1617
+ onChanged();
1618
+ return this;
1619
+ }
1620
+ /**
1621
+ * <pre>
1622
+ *Reference to the Office365 organization entity key related to this group
1623
+ * </pre>
1624
+ *
1625
+ * <code>optional string organization_entity_key = 9;</code>
1626
+ * @param value The bytes for organizationEntityKey to set.
1627
+ * @return This builder for chaining.
1628
+ */
1629
+ public Builder setOrganizationEntityKeyBytes(
1630
+ com.google.protobuf.ByteString value) {
1631
+ if (value == null) { throw new NullPointerException(); }
1632
+ checkByteStringIsUtf8(value);
1633
+ organizationEntityKey_ = value;
1634
+ bitField0_ |= 0x00000100;
1635
+ onChanged();
1636
+ return this;
1637
+ }
1638
+ @java.lang.Override
1639
+ public final Builder setUnknownFields(
1640
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
1641
+ return super.setUnknownFields(unknownFields);
1642
+ }
1643
+
1644
+ @java.lang.Override
1645
+ public final Builder mergeUnknownFields(
1646
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
1647
+ return super.mergeUnknownFields(unknownFields);
1648
+ }
1649
+
1650
+
1651
+ // @@protoc_insertion_point(builder_scope:com.lansweeper.dp.outbound.v1.Office365Group)
1652
+ }
1653
+
1654
+ // @@protoc_insertion_point(class_scope:com.lansweeper.dp.outbound.v1.Office365Group)
1655
+ private static final com.lansweeper.dp.outbound.v1.Office365Group DEFAULT_INSTANCE;
1656
+ static {
1657
+ DEFAULT_INSTANCE = new com.lansweeper.dp.outbound.v1.Office365Group();
1658
+ }
1659
+
1660
+ public static com.lansweeper.dp.outbound.v1.Office365Group getDefaultInstance() {
1661
+ return DEFAULT_INSTANCE;
1662
+ }
1663
+
1664
+ private static final com.google.protobuf.Parser<Office365Group>
1665
+ PARSER = new com.google.protobuf.AbstractParser<Office365Group>() {
1666
+ @java.lang.Override
1667
+ public Office365Group parsePartialFrom(
1668
+ com.google.protobuf.CodedInputStream input,
1669
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1670
+ throws com.google.protobuf.InvalidProtocolBufferException {
1671
+ Builder builder = newBuilder();
1672
+ try {
1673
+ builder.mergeFrom(input, extensionRegistry);
1674
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1675
+ throw e.setUnfinishedMessage(builder.buildPartial());
1676
+ } catch (com.google.protobuf.UninitializedMessageException e) {
1677
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
1678
+ } catch (java.io.IOException e) {
1679
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
1680
+ .setUnfinishedMessage(builder.buildPartial());
1681
+ }
1682
+ return builder.buildPartial();
1683
+ }
1684
+ };
1685
+
1686
+ public static com.google.protobuf.Parser<Office365Group> parser() {
1687
+ return PARSER;
1688
+ }
1689
+
1690
+ @java.lang.Override
1691
+ public com.google.protobuf.Parser<Office365Group> getParserForType() {
1692
+ return PARSER;
1693
+ }
1694
+
1695
+ @java.lang.Override
1696
+ public com.lansweeper.dp.outbound.v1.Office365Group getDefaultInstanceForType() {
1697
+ return DEFAULT_INSTANCE;
1698
+ }
1699
+
1700
+ }
1701
+