@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,1368 @@
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.Office365AssignedPlan}
9
+ */
10
+ public final class Office365AssignedPlan extends
11
+ com.google.protobuf.GeneratedMessageV3 implements
12
+ // @@protoc_insertion_point(message_implements:com.lansweeper.dp.outbound.v1.Office365AssignedPlan)
13
+ Office365AssignedPlanOrBuilder {
14
+ private static final long serialVersionUID = 0L;
15
+ // Use Office365AssignedPlan.newBuilder() to construct.
16
+ private Office365AssignedPlan(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
17
+ super(builder);
18
+ }
19
+ private Office365AssignedPlan() {
20
+ servicePlanId_ = "";
21
+ service_ = "";
22
+ capabilityStatus_ = "";
23
+ }
24
+
25
+ @java.lang.Override
26
+ @SuppressWarnings({"unused"})
27
+ protected java.lang.Object newInstance(
28
+ UnusedPrivateParameter unused) {
29
+ return new Office365AssignedPlan();
30
+ }
31
+
32
+ public static final com.google.protobuf.Descriptors.Descriptor
33
+ getDescriptor() {
34
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_Office365AssignedPlan_descriptor;
35
+ }
36
+
37
+ @SuppressWarnings({"rawtypes"})
38
+ @java.lang.Override
39
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
40
+ int number) {
41
+ switch (number) {
42
+ case 5:
43
+ return internalGetUsersKeys();
44
+ default:
45
+ throw new RuntimeException(
46
+ "Invalid map field number: " + number);
47
+ }
48
+ }
49
+ @java.lang.Override
50
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
51
+ internalGetFieldAccessorTable() {
52
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_Office365AssignedPlan_fieldAccessorTable
53
+ .ensureFieldAccessorsInitialized(
54
+ com.lansweeper.dp.outbound.v1.Office365AssignedPlan.class, com.lansweeper.dp.outbound.v1.Office365AssignedPlan.Builder.class);
55
+ }
56
+
57
+ private int bitField0_;
58
+ public static final int SERVICE_PLAN_ID_FIELD_NUMBER = 1;
59
+ @SuppressWarnings("serial")
60
+ private volatile java.lang.Object servicePlanId_ = "";
61
+ /**
62
+ * <code>string service_plan_id = 1;</code>
63
+ * @return The servicePlanId.
64
+ */
65
+ @java.lang.Override
66
+ public java.lang.String getServicePlanId() {
67
+ java.lang.Object ref = servicePlanId_;
68
+ if (ref instanceof java.lang.String) {
69
+ return (java.lang.String) ref;
70
+ } else {
71
+ com.google.protobuf.ByteString bs =
72
+ (com.google.protobuf.ByteString) ref;
73
+ java.lang.String s = bs.toStringUtf8();
74
+ servicePlanId_ = s;
75
+ return s;
76
+ }
77
+ }
78
+ /**
79
+ * <code>string service_plan_id = 1;</code>
80
+ * @return The bytes for servicePlanId.
81
+ */
82
+ @java.lang.Override
83
+ public com.google.protobuf.ByteString
84
+ getServicePlanIdBytes() {
85
+ java.lang.Object ref = servicePlanId_;
86
+ if (ref instanceof java.lang.String) {
87
+ com.google.protobuf.ByteString b =
88
+ com.google.protobuf.ByteString.copyFromUtf8(
89
+ (java.lang.String) ref);
90
+ servicePlanId_ = b;
91
+ return b;
92
+ } else {
93
+ return (com.google.protobuf.ByteString) ref;
94
+ }
95
+ }
96
+
97
+ public static final int SERVICE_FIELD_NUMBER = 2;
98
+ @SuppressWarnings("serial")
99
+ private volatile java.lang.Object service_ = "";
100
+ /**
101
+ * <code>optional string service = 2;</code>
102
+ * @return Whether the service field is set.
103
+ */
104
+ @java.lang.Override
105
+ public boolean hasService() {
106
+ return ((bitField0_ & 0x00000001) != 0);
107
+ }
108
+ /**
109
+ * <code>optional string service = 2;</code>
110
+ * @return The service.
111
+ */
112
+ @java.lang.Override
113
+ public java.lang.String getService() {
114
+ java.lang.Object ref = service_;
115
+ if (ref instanceof java.lang.String) {
116
+ return (java.lang.String) ref;
117
+ } else {
118
+ com.google.protobuf.ByteString bs =
119
+ (com.google.protobuf.ByteString) ref;
120
+ java.lang.String s = bs.toStringUtf8();
121
+ service_ = s;
122
+ return s;
123
+ }
124
+ }
125
+ /**
126
+ * <code>optional string service = 2;</code>
127
+ * @return The bytes for service.
128
+ */
129
+ @java.lang.Override
130
+ public com.google.protobuf.ByteString
131
+ getServiceBytes() {
132
+ java.lang.Object ref = service_;
133
+ if (ref instanceof java.lang.String) {
134
+ com.google.protobuf.ByteString b =
135
+ com.google.protobuf.ByteString.copyFromUtf8(
136
+ (java.lang.String) ref);
137
+ service_ = b;
138
+ return b;
139
+ } else {
140
+ return (com.google.protobuf.ByteString) ref;
141
+ }
142
+ }
143
+
144
+ public static final int CAPABILITY_STATUS_FIELD_NUMBER = 3;
145
+ @SuppressWarnings("serial")
146
+ private volatile java.lang.Object capabilityStatus_ = "";
147
+ /**
148
+ * <code>optional string capability_status = 3;</code>
149
+ * @return Whether the capabilityStatus field is set.
150
+ */
151
+ @java.lang.Override
152
+ public boolean hasCapabilityStatus() {
153
+ return ((bitField0_ & 0x00000002) != 0);
154
+ }
155
+ /**
156
+ * <code>optional string capability_status = 3;</code>
157
+ * @return The capabilityStatus.
158
+ */
159
+ @java.lang.Override
160
+ public java.lang.String getCapabilityStatus() {
161
+ java.lang.Object ref = capabilityStatus_;
162
+ if (ref instanceof java.lang.String) {
163
+ return (java.lang.String) ref;
164
+ } else {
165
+ com.google.protobuf.ByteString bs =
166
+ (com.google.protobuf.ByteString) ref;
167
+ java.lang.String s = bs.toStringUtf8();
168
+ capabilityStatus_ = s;
169
+ return s;
170
+ }
171
+ }
172
+ /**
173
+ * <code>optional string capability_status = 3;</code>
174
+ * @return The bytes for capabilityStatus.
175
+ */
176
+ @java.lang.Override
177
+ public com.google.protobuf.ByteString
178
+ getCapabilityStatusBytes() {
179
+ java.lang.Object ref = capabilityStatus_;
180
+ if (ref instanceof java.lang.String) {
181
+ com.google.protobuf.ByteString b =
182
+ com.google.protobuf.ByteString.copyFromUtf8(
183
+ (java.lang.String) ref);
184
+ capabilityStatus_ = b;
185
+ return b;
186
+ } else {
187
+ return (com.google.protobuf.ByteString) ref;
188
+ }
189
+ }
190
+
191
+ public static final int ASSIGNED_TIME_STAMP_FIELD_NUMBER = 4;
192
+ private com.google.protobuf.Timestamp assignedTimeStamp_;
193
+ /**
194
+ * <code>optional .google.protobuf.Timestamp assigned_time_stamp = 4;</code>
195
+ * @return Whether the assignedTimeStamp field is set.
196
+ */
197
+ @java.lang.Override
198
+ public boolean hasAssignedTimeStamp() {
199
+ return ((bitField0_ & 0x00000004) != 0);
200
+ }
201
+ /**
202
+ * <code>optional .google.protobuf.Timestamp assigned_time_stamp = 4;</code>
203
+ * @return The assignedTimeStamp.
204
+ */
205
+ @java.lang.Override
206
+ public com.google.protobuf.Timestamp getAssignedTimeStamp() {
207
+ return assignedTimeStamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : assignedTimeStamp_;
208
+ }
209
+ /**
210
+ * <code>optional .google.protobuf.Timestamp assigned_time_stamp = 4;</code>
211
+ */
212
+ @java.lang.Override
213
+ public com.google.protobuf.TimestampOrBuilder getAssignedTimeStampOrBuilder() {
214
+ return assignedTimeStamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : assignedTimeStamp_;
215
+ }
216
+
217
+ public static final int USERS_KEYS_FIELD_NUMBER = 5;
218
+ private static final class UsersKeysDefaultEntryHolder {
219
+ static final com.google.protobuf.MapEntry<
220
+ java.lang.String, java.lang.Boolean> defaultEntry =
221
+ com.google.protobuf.MapEntry
222
+ .<java.lang.String, java.lang.Boolean>newDefaultInstance(
223
+ com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_Office365AssignedPlan_UsersKeysEntry_descriptor,
224
+ com.google.protobuf.WireFormat.FieldType.STRING,
225
+ "",
226
+ com.google.protobuf.WireFormat.FieldType.BOOL,
227
+ false);
228
+ }
229
+ @SuppressWarnings("serial")
230
+ private com.google.protobuf.MapField<
231
+ java.lang.String, java.lang.Boolean> usersKeys_;
232
+ private com.google.protobuf.MapField<java.lang.String, java.lang.Boolean>
233
+ internalGetUsersKeys() {
234
+ if (usersKeys_ == null) {
235
+ return com.google.protobuf.MapField.emptyMapField(
236
+ UsersKeysDefaultEntryHolder.defaultEntry);
237
+ }
238
+ return usersKeys_;
239
+ }
240
+ public int getUsersKeysCount() {
241
+ return internalGetUsersKeys().getMap().size();
242
+ }
243
+ /**
244
+ * <pre>
245
+ * Entity keys of users assigned to this plan
246
+ * </pre>
247
+ *
248
+ * <code>map&lt;string, bool&gt; users_keys = 5;</code>
249
+ */
250
+ @java.lang.Override
251
+ public boolean containsUsersKeys(
252
+ java.lang.String key) {
253
+ if (key == null) { throw new NullPointerException("map key"); }
254
+ return internalGetUsersKeys().getMap().containsKey(key);
255
+ }
256
+ /**
257
+ * Use {@link #getUsersKeysMap()} instead.
258
+ */
259
+ @java.lang.Override
260
+ @java.lang.Deprecated
261
+ public java.util.Map<java.lang.String, java.lang.Boolean> getUsersKeys() {
262
+ return getUsersKeysMap();
263
+ }
264
+ /**
265
+ * <pre>
266
+ * Entity keys of users assigned to this plan
267
+ * </pre>
268
+ *
269
+ * <code>map&lt;string, bool&gt; users_keys = 5;</code>
270
+ */
271
+ @java.lang.Override
272
+ public java.util.Map<java.lang.String, java.lang.Boolean> getUsersKeysMap() {
273
+ return internalGetUsersKeys().getMap();
274
+ }
275
+ /**
276
+ * <pre>
277
+ * Entity keys of users assigned to this plan
278
+ * </pre>
279
+ *
280
+ * <code>map&lt;string, bool&gt; users_keys = 5;</code>
281
+ */
282
+ @java.lang.Override
283
+ public boolean getUsersKeysOrDefault(
284
+ java.lang.String key,
285
+ boolean defaultValue) {
286
+ if (key == null) { throw new NullPointerException("map key"); }
287
+ java.util.Map<java.lang.String, java.lang.Boolean> map =
288
+ internalGetUsersKeys().getMap();
289
+ return map.containsKey(key) ? map.get(key) : defaultValue;
290
+ }
291
+ /**
292
+ * <pre>
293
+ * Entity keys of users assigned to this plan
294
+ * </pre>
295
+ *
296
+ * <code>map&lt;string, bool&gt; users_keys = 5;</code>
297
+ */
298
+ @java.lang.Override
299
+ public boolean getUsersKeysOrThrow(
300
+ java.lang.String key) {
301
+ if (key == null) { throw new NullPointerException("map key"); }
302
+ java.util.Map<java.lang.String, java.lang.Boolean> map =
303
+ internalGetUsersKeys().getMap();
304
+ if (!map.containsKey(key)) {
305
+ throw new java.lang.IllegalArgumentException();
306
+ }
307
+ return map.get(key);
308
+ }
309
+
310
+ private byte memoizedIsInitialized = -1;
311
+ @java.lang.Override
312
+ public final boolean isInitialized() {
313
+ byte isInitialized = memoizedIsInitialized;
314
+ if (isInitialized == 1) return true;
315
+ if (isInitialized == 0) return false;
316
+
317
+ memoizedIsInitialized = 1;
318
+ return true;
319
+ }
320
+
321
+ @java.lang.Override
322
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
323
+ throws java.io.IOException {
324
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(servicePlanId_)) {
325
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, servicePlanId_);
326
+ }
327
+ if (((bitField0_ & 0x00000001) != 0)) {
328
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, service_);
329
+ }
330
+ if (((bitField0_ & 0x00000002) != 0)) {
331
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, capabilityStatus_);
332
+ }
333
+ if (((bitField0_ & 0x00000004) != 0)) {
334
+ output.writeMessage(4, getAssignedTimeStamp());
335
+ }
336
+ com.google.protobuf.GeneratedMessageV3
337
+ .serializeStringMapTo(
338
+ output,
339
+ internalGetUsersKeys(),
340
+ UsersKeysDefaultEntryHolder.defaultEntry,
341
+ 5);
342
+ getUnknownFields().writeTo(output);
343
+ }
344
+
345
+ @java.lang.Override
346
+ public int getSerializedSize() {
347
+ int size = memoizedSize;
348
+ if (size != -1) return size;
349
+
350
+ size = 0;
351
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(servicePlanId_)) {
352
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, servicePlanId_);
353
+ }
354
+ if (((bitField0_ & 0x00000001) != 0)) {
355
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, service_);
356
+ }
357
+ if (((bitField0_ & 0x00000002) != 0)) {
358
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, capabilityStatus_);
359
+ }
360
+ if (((bitField0_ & 0x00000004) != 0)) {
361
+ size += com.google.protobuf.CodedOutputStream
362
+ .computeMessageSize(4, getAssignedTimeStamp());
363
+ }
364
+ for (java.util.Map.Entry<java.lang.String, java.lang.Boolean> entry
365
+ : internalGetUsersKeys().getMap().entrySet()) {
366
+ com.google.protobuf.MapEntry<java.lang.String, java.lang.Boolean>
367
+ usersKeys__ = UsersKeysDefaultEntryHolder.defaultEntry.newBuilderForType()
368
+ .setKey(entry.getKey())
369
+ .setValue(entry.getValue())
370
+ .build();
371
+ size += com.google.protobuf.CodedOutputStream
372
+ .computeMessageSize(5, usersKeys__);
373
+ }
374
+ size += getUnknownFields().getSerializedSize();
375
+ memoizedSize = size;
376
+ return size;
377
+ }
378
+
379
+ @java.lang.Override
380
+ public boolean equals(final java.lang.Object obj) {
381
+ if (obj == this) {
382
+ return true;
383
+ }
384
+ if (!(obj instanceof com.lansweeper.dp.outbound.v1.Office365AssignedPlan)) {
385
+ return super.equals(obj);
386
+ }
387
+ com.lansweeper.dp.outbound.v1.Office365AssignedPlan other = (com.lansweeper.dp.outbound.v1.Office365AssignedPlan) obj;
388
+
389
+ if (!getServicePlanId()
390
+ .equals(other.getServicePlanId())) return false;
391
+ if (hasService() != other.hasService()) return false;
392
+ if (hasService()) {
393
+ if (!getService()
394
+ .equals(other.getService())) return false;
395
+ }
396
+ if (hasCapabilityStatus() != other.hasCapabilityStatus()) return false;
397
+ if (hasCapabilityStatus()) {
398
+ if (!getCapabilityStatus()
399
+ .equals(other.getCapabilityStatus())) return false;
400
+ }
401
+ if (hasAssignedTimeStamp() != other.hasAssignedTimeStamp()) return false;
402
+ if (hasAssignedTimeStamp()) {
403
+ if (!getAssignedTimeStamp()
404
+ .equals(other.getAssignedTimeStamp())) return false;
405
+ }
406
+ if (!internalGetUsersKeys().equals(
407
+ other.internalGetUsersKeys())) return false;
408
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
409
+ return true;
410
+ }
411
+
412
+ @java.lang.Override
413
+ public int hashCode() {
414
+ if (memoizedHashCode != 0) {
415
+ return memoizedHashCode;
416
+ }
417
+ int hash = 41;
418
+ hash = (19 * hash) + getDescriptor().hashCode();
419
+ hash = (37 * hash) + SERVICE_PLAN_ID_FIELD_NUMBER;
420
+ hash = (53 * hash) + getServicePlanId().hashCode();
421
+ if (hasService()) {
422
+ hash = (37 * hash) + SERVICE_FIELD_NUMBER;
423
+ hash = (53 * hash) + getService().hashCode();
424
+ }
425
+ if (hasCapabilityStatus()) {
426
+ hash = (37 * hash) + CAPABILITY_STATUS_FIELD_NUMBER;
427
+ hash = (53 * hash) + getCapabilityStatus().hashCode();
428
+ }
429
+ if (hasAssignedTimeStamp()) {
430
+ hash = (37 * hash) + ASSIGNED_TIME_STAMP_FIELD_NUMBER;
431
+ hash = (53 * hash) + getAssignedTimeStamp().hashCode();
432
+ }
433
+ if (!internalGetUsersKeys().getMap().isEmpty()) {
434
+ hash = (37 * hash) + USERS_KEYS_FIELD_NUMBER;
435
+ hash = (53 * hash) + internalGetUsersKeys().hashCode();
436
+ }
437
+ hash = (29 * hash) + getUnknownFields().hashCode();
438
+ memoizedHashCode = hash;
439
+ return hash;
440
+ }
441
+
442
+ public static com.lansweeper.dp.outbound.v1.Office365AssignedPlan parseFrom(
443
+ java.nio.ByteBuffer data)
444
+ throws com.google.protobuf.InvalidProtocolBufferException {
445
+ return PARSER.parseFrom(data);
446
+ }
447
+ public static com.lansweeper.dp.outbound.v1.Office365AssignedPlan parseFrom(
448
+ java.nio.ByteBuffer data,
449
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
450
+ throws com.google.protobuf.InvalidProtocolBufferException {
451
+ return PARSER.parseFrom(data, extensionRegistry);
452
+ }
453
+ public static com.lansweeper.dp.outbound.v1.Office365AssignedPlan parseFrom(
454
+ com.google.protobuf.ByteString data)
455
+ throws com.google.protobuf.InvalidProtocolBufferException {
456
+ return PARSER.parseFrom(data);
457
+ }
458
+ public static com.lansweeper.dp.outbound.v1.Office365AssignedPlan parseFrom(
459
+ com.google.protobuf.ByteString data,
460
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
461
+ throws com.google.protobuf.InvalidProtocolBufferException {
462
+ return PARSER.parseFrom(data, extensionRegistry);
463
+ }
464
+ public static com.lansweeper.dp.outbound.v1.Office365AssignedPlan parseFrom(byte[] data)
465
+ throws com.google.protobuf.InvalidProtocolBufferException {
466
+ return PARSER.parseFrom(data);
467
+ }
468
+ public static com.lansweeper.dp.outbound.v1.Office365AssignedPlan parseFrom(
469
+ byte[] data,
470
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
471
+ throws com.google.protobuf.InvalidProtocolBufferException {
472
+ return PARSER.parseFrom(data, extensionRegistry);
473
+ }
474
+ public static com.lansweeper.dp.outbound.v1.Office365AssignedPlan parseFrom(java.io.InputStream input)
475
+ throws java.io.IOException {
476
+ return com.google.protobuf.GeneratedMessageV3
477
+ .parseWithIOException(PARSER, input);
478
+ }
479
+ public static com.lansweeper.dp.outbound.v1.Office365AssignedPlan parseFrom(
480
+ java.io.InputStream input,
481
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
482
+ throws java.io.IOException {
483
+ return com.google.protobuf.GeneratedMessageV3
484
+ .parseWithIOException(PARSER, input, extensionRegistry);
485
+ }
486
+
487
+ public static com.lansweeper.dp.outbound.v1.Office365AssignedPlan parseDelimitedFrom(java.io.InputStream input)
488
+ throws java.io.IOException {
489
+ return com.google.protobuf.GeneratedMessageV3
490
+ .parseDelimitedWithIOException(PARSER, input);
491
+ }
492
+
493
+ public static com.lansweeper.dp.outbound.v1.Office365AssignedPlan parseDelimitedFrom(
494
+ java.io.InputStream input,
495
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
496
+ throws java.io.IOException {
497
+ return com.google.protobuf.GeneratedMessageV3
498
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
499
+ }
500
+ public static com.lansweeper.dp.outbound.v1.Office365AssignedPlan parseFrom(
501
+ com.google.protobuf.CodedInputStream input)
502
+ throws java.io.IOException {
503
+ return com.google.protobuf.GeneratedMessageV3
504
+ .parseWithIOException(PARSER, input);
505
+ }
506
+ public static com.lansweeper.dp.outbound.v1.Office365AssignedPlan parseFrom(
507
+ com.google.protobuf.CodedInputStream input,
508
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
509
+ throws java.io.IOException {
510
+ return com.google.protobuf.GeneratedMessageV3
511
+ .parseWithIOException(PARSER, input, extensionRegistry);
512
+ }
513
+
514
+ @java.lang.Override
515
+ public Builder newBuilderForType() { return newBuilder(); }
516
+ public static Builder newBuilder() {
517
+ return DEFAULT_INSTANCE.toBuilder();
518
+ }
519
+ public static Builder newBuilder(com.lansweeper.dp.outbound.v1.Office365AssignedPlan prototype) {
520
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
521
+ }
522
+ @java.lang.Override
523
+ public Builder toBuilder() {
524
+ return this == DEFAULT_INSTANCE
525
+ ? new Builder() : new Builder().mergeFrom(this);
526
+ }
527
+
528
+ @java.lang.Override
529
+ protected Builder newBuilderForType(
530
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
531
+ Builder builder = new Builder(parent);
532
+ return builder;
533
+ }
534
+ /**
535
+ * Protobuf type {@code com.lansweeper.dp.outbound.v1.Office365AssignedPlan}
536
+ */
537
+ public static final class Builder extends
538
+ com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
539
+ // @@protoc_insertion_point(builder_implements:com.lansweeper.dp.outbound.v1.Office365AssignedPlan)
540
+ com.lansweeper.dp.outbound.v1.Office365AssignedPlanOrBuilder {
541
+ public static final com.google.protobuf.Descriptors.Descriptor
542
+ getDescriptor() {
543
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_Office365AssignedPlan_descriptor;
544
+ }
545
+
546
+ @SuppressWarnings({"rawtypes"})
547
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
548
+ int number) {
549
+ switch (number) {
550
+ case 5:
551
+ return internalGetUsersKeys();
552
+ default:
553
+ throw new RuntimeException(
554
+ "Invalid map field number: " + number);
555
+ }
556
+ }
557
+ @SuppressWarnings({"rawtypes"})
558
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
559
+ int number) {
560
+ switch (number) {
561
+ case 5:
562
+ return internalGetMutableUsersKeys();
563
+ default:
564
+ throw new RuntimeException(
565
+ "Invalid map field number: " + number);
566
+ }
567
+ }
568
+ @java.lang.Override
569
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
570
+ internalGetFieldAccessorTable() {
571
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_Office365AssignedPlan_fieldAccessorTable
572
+ .ensureFieldAccessorsInitialized(
573
+ com.lansweeper.dp.outbound.v1.Office365AssignedPlan.class, com.lansweeper.dp.outbound.v1.Office365AssignedPlan.Builder.class);
574
+ }
575
+
576
+ // Construct using com.lansweeper.dp.outbound.v1.Office365AssignedPlan.newBuilder()
577
+ private Builder() {
578
+ maybeForceBuilderInitialization();
579
+ }
580
+
581
+ private Builder(
582
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
583
+ super(parent);
584
+ maybeForceBuilderInitialization();
585
+ }
586
+ private void maybeForceBuilderInitialization() {
587
+ if (com.google.protobuf.GeneratedMessageV3
588
+ .alwaysUseFieldBuilders) {
589
+ getAssignedTimeStampFieldBuilder();
590
+ }
591
+ }
592
+ @java.lang.Override
593
+ public Builder clear() {
594
+ super.clear();
595
+ bitField0_ = 0;
596
+ servicePlanId_ = "";
597
+ service_ = "";
598
+ capabilityStatus_ = "";
599
+ assignedTimeStamp_ = null;
600
+ if (assignedTimeStampBuilder_ != null) {
601
+ assignedTimeStampBuilder_.dispose();
602
+ assignedTimeStampBuilder_ = null;
603
+ }
604
+ internalGetMutableUsersKeys().clear();
605
+ return this;
606
+ }
607
+
608
+ @java.lang.Override
609
+ public com.google.protobuf.Descriptors.Descriptor
610
+ getDescriptorForType() {
611
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_Office365AssignedPlan_descriptor;
612
+ }
613
+
614
+ @java.lang.Override
615
+ public com.lansweeper.dp.outbound.v1.Office365AssignedPlan getDefaultInstanceForType() {
616
+ return com.lansweeper.dp.outbound.v1.Office365AssignedPlan.getDefaultInstance();
617
+ }
618
+
619
+ @java.lang.Override
620
+ public com.lansweeper.dp.outbound.v1.Office365AssignedPlan build() {
621
+ com.lansweeper.dp.outbound.v1.Office365AssignedPlan result = buildPartial();
622
+ if (!result.isInitialized()) {
623
+ throw newUninitializedMessageException(result);
624
+ }
625
+ return result;
626
+ }
627
+
628
+ @java.lang.Override
629
+ public com.lansweeper.dp.outbound.v1.Office365AssignedPlan buildPartial() {
630
+ com.lansweeper.dp.outbound.v1.Office365AssignedPlan result = new com.lansweeper.dp.outbound.v1.Office365AssignedPlan(this);
631
+ if (bitField0_ != 0) { buildPartial0(result); }
632
+ onBuilt();
633
+ return result;
634
+ }
635
+
636
+ private void buildPartial0(com.lansweeper.dp.outbound.v1.Office365AssignedPlan result) {
637
+ int from_bitField0_ = bitField0_;
638
+ if (((from_bitField0_ & 0x00000001) != 0)) {
639
+ result.servicePlanId_ = servicePlanId_;
640
+ }
641
+ int to_bitField0_ = 0;
642
+ if (((from_bitField0_ & 0x00000002) != 0)) {
643
+ result.service_ = service_;
644
+ to_bitField0_ |= 0x00000001;
645
+ }
646
+ if (((from_bitField0_ & 0x00000004) != 0)) {
647
+ result.capabilityStatus_ = capabilityStatus_;
648
+ to_bitField0_ |= 0x00000002;
649
+ }
650
+ if (((from_bitField0_ & 0x00000008) != 0)) {
651
+ result.assignedTimeStamp_ = assignedTimeStampBuilder_ == null
652
+ ? assignedTimeStamp_
653
+ : assignedTimeStampBuilder_.build();
654
+ to_bitField0_ |= 0x00000004;
655
+ }
656
+ if (((from_bitField0_ & 0x00000010) != 0)) {
657
+ result.usersKeys_ = internalGetUsersKeys();
658
+ result.usersKeys_.makeImmutable();
659
+ }
660
+ result.bitField0_ |= to_bitField0_;
661
+ }
662
+
663
+ @java.lang.Override
664
+ public Builder clone() {
665
+ return super.clone();
666
+ }
667
+ @java.lang.Override
668
+ public Builder setField(
669
+ com.google.protobuf.Descriptors.FieldDescriptor field,
670
+ java.lang.Object value) {
671
+ return super.setField(field, value);
672
+ }
673
+ @java.lang.Override
674
+ public Builder clearField(
675
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
676
+ return super.clearField(field);
677
+ }
678
+ @java.lang.Override
679
+ public Builder clearOneof(
680
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
681
+ return super.clearOneof(oneof);
682
+ }
683
+ @java.lang.Override
684
+ public Builder setRepeatedField(
685
+ com.google.protobuf.Descriptors.FieldDescriptor field,
686
+ int index, java.lang.Object value) {
687
+ return super.setRepeatedField(field, index, value);
688
+ }
689
+ @java.lang.Override
690
+ public Builder addRepeatedField(
691
+ com.google.protobuf.Descriptors.FieldDescriptor field,
692
+ java.lang.Object value) {
693
+ return super.addRepeatedField(field, value);
694
+ }
695
+ @java.lang.Override
696
+ public Builder mergeFrom(com.google.protobuf.Message other) {
697
+ if (other instanceof com.lansweeper.dp.outbound.v1.Office365AssignedPlan) {
698
+ return mergeFrom((com.lansweeper.dp.outbound.v1.Office365AssignedPlan)other);
699
+ } else {
700
+ super.mergeFrom(other);
701
+ return this;
702
+ }
703
+ }
704
+
705
+ public Builder mergeFrom(com.lansweeper.dp.outbound.v1.Office365AssignedPlan other) {
706
+ if (other == com.lansweeper.dp.outbound.v1.Office365AssignedPlan.getDefaultInstance()) return this;
707
+ if (!other.getServicePlanId().isEmpty()) {
708
+ servicePlanId_ = other.servicePlanId_;
709
+ bitField0_ |= 0x00000001;
710
+ onChanged();
711
+ }
712
+ if (other.hasService()) {
713
+ service_ = other.service_;
714
+ bitField0_ |= 0x00000002;
715
+ onChanged();
716
+ }
717
+ if (other.hasCapabilityStatus()) {
718
+ capabilityStatus_ = other.capabilityStatus_;
719
+ bitField0_ |= 0x00000004;
720
+ onChanged();
721
+ }
722
+ if (other.hasAssignedTimeStamp()) {
723
+ mergeAssignedTimeStamp(other.getAssignedTimeStamp());
724
+ }
725
+ internalGetMutableUsersKeys().mergeFrom(
726
+ other.internalGetUsersKeys());
727
+ bitField0_ |= 0x00000010;
728
+ this.mergeUnknownFields(other.getUnknownFields());
729
+ onChanged();
730
+ return this;
731
+ }
732
+
733
+ @java.lang.Override
734
+ public final boolean isInitialized() {
735
+ return true;
736
+ }
737
+
738
+ @java.lang.Override
739
+ public Builder mergeFrom(
740
+ com.google.protobuf.CodedInputStream input,
741
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
742
+ throws java.io.IOException {
743
+ if (extensionRegistry == null) {
744
+ throw new java.lang.NullPointerException();
745
+ }
746
+ try {
747
+ boolean done = false;
748
+ while (!done) {
749
+ int tag = input.readTag();
750
+ switch (tag) {
751
+ case 0:
752
+ done = true;
753
+ break;
754
+ case 10: {
755
+ servicePlanId_ = input.readStringRequireUtf8();
756
+ bitField0_ |= 0x00000001;
757
+ break;
758
+ } // case 10
759
+ case 18: {
760
+ service_ = input.readStringRequireUtf8();
761
+ bitField0_ |= 0x00000002;
762
+ break;
763
+ } // case 18
764
+ case 26: {
765
+ capabilityStatus_ = input.readStringRequireUtf8();
766
+ bitField0_ |= 0x00000004;
767
+ break;
768
+ } // case 26
769
+ case 34: {
770
+ input.readMessage(
771
+ getAssignedTimeStampFieldBuilder().getBuilder(),
772
+ extensionRegistry);
773
+ bitField0_ |= 0x00000008;
774
+ break;
775
+ } // case 34
776
+ case 42: {
777
+ com.google.protobuf.MapEntry<java.lang.String, java.lang.Boolean>
778
+ usersKeys__ = input.readMessage(
779
+ UsersKeysDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
780
+ internalGetMutableUsersKeys().getMutableMap().put(
781
+ usersKeys__.getKey(), usersKeys__.getValue());
782
+ bitField0_ |= 0x00000010;
783
+ break;
784
+ } // case 42
785
+ default: {
786
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
787
+ done = true; // was an endgroup tag
788
+ }
789
+ break;
790
+ } // default:
791
+ } // switch (tag)
792
+ } // while (!done)
793
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
794
+ throw e.unwrapIOException();
795
+ } finally {
796
+ onChanged();
797
+ } // finally
798
+ return this;
799
+ }
800
+ private int bitField0_;
801
+
802
+ private java.lang.Object servicePlanId_ = "";
803
+ /**
804
+ * <code>string service_plan_id = 1;</code>
805
+ * @return The servicePlanId.
806
+ */
807
+ public java.lang.String getServicePlanId() {
808
+ java.lang.Object ref = servicePlanId_;
809
+ if (!(ref instanceof java.lang.String)) {
810
+ com.google.protobuf.ByteString bs =
811
+ (com.google.protobuf.ByteString) ref;
812
+ java.lang.String s = bs.toStringUtf8();
813
+ servicePlanId_ = s;
814
+ return s;
815
+ } else {
816
+ return (java.lang.String) ref;
817
+ }
818
+ }
819
+ /**
820
+ * <code>string service_plan_id = 1;</code>
821
+ * @return The bytes for servicePlanId.
822
+ */
823
+ public com.google.protobuf.ByteString
824
+ getServicePlanIdBytes() {
825
+ java.lang.Object ref = servicePlanId_;
826
+ if (ref instanceof String) {
827
+ com.google.protobuf.ByteString b =
828
+ com.google.protobuf.ByteString.copyFromUtf8(
829
+ (java.lang.String) ref);
830
+ servicePlanId_ = b;
831
+ return b;
832
+ } else {
833
+ return (com.google.protobuf.ByteString) ref;
834
+ }
835
+ }
836
+ /**
837
+ * <code>string service_plan_id = 1;</code>
838
+ * @param value The servicePlanId to set.
839
+ * @return This builder for chaining.
840
+ */
841
+ public Builder setServicePlanId(
842
+ java.lang.String value) {
843
+ if (value == null) { throw new NullPointerException(); }
844
+ servicePlanId_ = value;
845
+ bitField0_ |= 0x00000001;
846
+ onChanged();
847
+ return this;
848
+ }
849
+ /**
850
+ * <code>string service_plan_id = 1;</code>
851
+ * @return This builder for chaining.
852
+ */
853
+ public Builder clearServicePlanId() {
854
+ servicePlanId_ = getDefaultInstance().getServicePlanId();
855
+ bitField0_ = (bitField0_ & ~0x00000001);
856
+ onChanged();
857
+ return this;
858
+ }
859
+ /**
860
+ * <code>string service_plan_id = 1;</code>
861
+ * @param value The bytes for servicePlanId to set.
862
+ * @return This builder for chaining.
863
+ */
864
+ public Builder setServicePlanIdBytes(
865
+ com.google.protobuf.ByteString value) {
866
+ if (value == null) { throw new NullPointerException(); }
867
+ checkByteStringIsUtf8(value);
868
+ servicePlanId_ = value;
869
+ bitField0_ |= 0x00000001;
870
+ onChanged();
871
+ return this;
872
+ }
873
+
874
+ private java.lang.Object service_ = "";
875
+ /**
876
+ * <code>optional string service = 2;</code>
877
+ * @return Whether the service field is set.
878
+ */
879
+ public boolean hasService() {
880
+ return ((bitField0_ & 0x00000002) != 0);
881
+ }
882
+ /**
883
+ * <code>optional string service = 2;</code>
884
+ * @return The service.
885
+ */
886
+ public java.lang.String getService() {
887
+ java.lang.Object ref = service_;
888
+ if (!(ref instanceof java.lang.String)) {
889
+ com.google.protobuf.ByteString bs =
890
+ (com.google.protobuf.ByteString) ref;
891
+ java.lang.String s = bs.toStringUtf8();
892
+ service_ = s;
893
+ return s;
894
+ } else {
895
+ return (java.lang.String) ref;
896
+ }
897
+ }
898
+ /**
899
+ * <code>optional string service = 2;</code>
900
+ * @return The bytes for service.
901
+ */
902
+ public com.google.protobuf.ByteString
903
+ getServiceBytes() {
904
+ java.lang.Object ref = service_;
905
+ if (ref instanceof String) {
906
+ com.google.protobuf.ByteString b =
907
+ com.google.protobuf.ByteString.copyFromUtf8(
908
+ (java.lang.String) ref);
909
+ service_ = b;
910
+ return b;
911
+ } else {
912
+ return (com.google.protobuf.ByteString) ref;
913
+ }
914
+ }
915
+ /**
916
+ * <code>optional string service = 2;</code>
917
+ * @param value The service to set.
918
+ * @return This builder for chaining.
919
+ */
920
+ public Builder setService(
921
+ java.lang.String value) {
922
+ if (value == null) { throw new NullPointerException(); }
923
+ service_ = value;
924
+ bitField0_ |= 0x00000002;
925
+ onChanged();
926
+ return this;
927
+ }
928
+ /**
929
+ * <code>optional string service = 2;</code>
930
+ * @return This builder for chaining.
931
+ */
932
+ public Builder clearService() {
933
+ service_ = getDefaultInstance().getService();
934
+ bitField0_ = (bitField0_ & ~0x00000002);
935
+ onChanged();
936
+ return this;
937
+ }
938
+ /**
939
+ * <code>optional string service = 2;</code>
940
+ * @param value The bytes for service to set.
941
+ * @return This builder for chaining.
942
+ */
943
+ public Builder setServiceBytes(
944
+ com.google.protobuf.ByteString value) {
945
+ if (value == null) { throw new NullPointerException(); }
946
+ checkByteStringIsUtf8(value);
947
+ service_ = value;
948
+ bitField0_ |= 0x00000002;
949
+ onChanged();
950
+ return this;
951
+ }
952
+
953
+ private java.lang.Object capabilityStatus_ = "";
954
+ /**
955
+ * <code>optional string capability_status = 3;</code>
956
+ * @return Whether the capabilityStatus field is set.
957
+ */
958
+ public boolean hasCapabilityStatus() {
959
+ return ((bitField0_ & 0x00000004) != 0);
960
+ }
961
+ /**
962
+ * <code>optional string capability_status = 3;</code>
963
+ * @return The capabilityStatus.
964
+ */
965
+ public java.lang.String getCapabilityStatus() {
966
+ java.lang.Object ref = capabilityStatus_;
967
+ if (!(ref instanceof java.lang.String)) {
968
+ com.google.protobuf.ByteString bs =
969
+ (com.google.protobuf.ByteString) ref;
970
+ java.lang.String s = bs.toStringUtf8();
971
+ capabilityStatus_ = s;
972
+ return s;
973
+ } else {
974
+ return (java.lang.String) ref;
975
+ }
976
+ }
977
+ /**
978
+ * <code>optional string capability_status = 3;</code>
979
+ * @return The bytes for capabilityStatus.
980
+ */
981
+ public com.google.protobuf.ByteString
982
+ getCapabilityStatusBytes() {
983
+ java.lang.Object ref = capabilityStatus_;
984
+ if (ref instanceof String) {
985
+ com.google.protobuf.ByteString b =
986
+ com.google.protobuf.ByteString.copyFromUtf8(
987
+ (java.lang.String) ref);
988
+ capabilityStatus_ = b;
989
+ return b;
990
+ } else {
991
+ return (com.google.protobuf.ByteString) ref;
992
+ }
993
+ }
994
+ /**
995
+ * <code>optional string capability_status = 3;</code>
996
+ * @param value The capabilityStatus to set.
997
+ * @return This builder for chaining.
998
+ */
999
+ public Builder setCapabilityStatus(
1000
+ java.lang.String value) {
1001
+ if (value == null) { throw new NullPointerException(); }
1002
+ capabilityStatus_ = value;
1003
+ bitField0_ |= 0x00000004;
1004
+ onChanged();
1005
+ return this;
1006
+ }
1007
+ /**
1008
+ * <code>optional string capability_status = 3;</code>
1009
+ * @return This builder for chaining.
1010
+ */
1011
+ public Builder clearCapabilityStatus() {
1012
+ capabilityStatus_ = getDefaultInstance().getCapabilityStatus();
1013
+ bitField0_ = (bitField0_ & ~0x00000004);
1014
+ onChanged();
1015
+ return this;
1016
+ }
1017
+ /**
1018
+ * <code>optional string capability_status = 3;</code>
1019
+ * @param value The bytes for capabilityStatus to set.
1020
+ * @return This builder for chaining.
1021
+ */
1022
+ public Builder setCapabilityStatusBytes(
1023
+ com.google.protobuf.ByteString value) {
1024
+ if (value == null) { throw new NullPointerException(); }
1025
+ checkByteStringIsUtf8(value);
1026
+ capabilityStatus_ = value;
1027
+ bitField0_ |= 0x00000004;
1028
+ onChanged();
1029
+ return this;
1030
+ }
1031
+
1032
+ private com.google.protobuf.Timestamp assignedTimeStamp_;
1033
+ private com.google.protobuf.SingleFieldBuilderV3<
1034
+ com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> assignedTimeStampBuilder_;
1035
+ /**
1036
+ * <code>optional .google.protobuf.Timestamp assigned_time_stamp = 4;</code>
1037
+ * @return Whether the assignedTimeStamp field is set.
1038
+ */
1039
+ public boolean hasAssignedTimeStamp() {
1040
+ return ((bitField0_ & 0x00000008) != 0);
1041
+ }
1042
+ /**
1043
+ * <code>optional .google.protobuf.Timestamp assigned_time_stamp = 4;</code>
1044
+ * @return The assignedTimeStamp.
1045
+ */
1046
+ public com.google.protobuf.Timestamp getAssignedTimeStamp() {
1047
+ if (assignedTimeStampBuilder_ == null) {
1048
+ return assignedTimeStamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : assignedTimeStamp_;
1049
+ } else {
1050
+ return assignedTimeStampBuilder_.getMessage();
1051
+ }
1052
+ }
1053
+ /**
1054
+ * <code>optional .google.protobuf.Timestamp assigned_time_stamp = 4;</code>
1055
+ */
1056
+ public Builder setAssignedTimeStamp(com.google.protobuf.Timestamp value) {
1057
+ if (assignedTimeStampBuilder_ == null) {
1058
+ if (value == null) {
1059
+ throw new NullPointerException();
1060
+ }
1061
+ assignedTimeStamp_ = value;
1062
+ } else {
1063
+ assignedTimeStampBuilder_.setMessage(value);
1064
+ }
1065
+ bitField0_ |= 0x00000008;
1066
+ onChanged();
1067
+ return this;
1068
+ }
1069
+ /**
1070
+ * <code>optional .google.protobuf.Timestamp assigned_time_stamp = 4;</code>
1071
+ */
1072
+ public Builder setAssignedTimeStamp(
1073
+ com.google.protobuf.Timestamp.Builder builderForValue) {
1074
+ if (assignedTimeStampBuilder_ == null) {
1075
+ assignedTimeStamp_ = builderForValue.build();
1076
+ } else {
1077
+ assignedTimeStampBuilder_.setMessage(builderForValue.build());
1078
+ }
1079
+ bitField0_ |= 0x00000008;
1080
+ onChanged();
1081
+ return this;
1082
+ }
1083
+ /**
1084
+ * <code>optional .google.protobuf.Timestamp assigned_time_stamp = 4;</code>
1085
+ */
1086
+ public Builder mergeAssignedTimeStamp(com.google.protobuf.Timestamp value) {
1087
+ if (assignedTimeStampBuilder_ == null) {
1088
+ if (((bitField0_ & 0x00000008) != 0) &&
1089
+ assignedTimeStamp_ != null &&
1090
+ assignedTimeStamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
1091
+ getAssignedTimeStampBuilder().mergeFrom(value);
1092
+ } else {
1093
+ assignedTimeStamp_ = value;
1094
+ }
1095
+ } else {
1096
+ assignedTimeStampBuilder_.mergeFrom(value);
1097
+ }
1098
+ if (assignedTimeStamp_ != null) {
1099
+ bitField0_ |= 0x00000008;
1100
+ onChanged();
1101
+ }
1102
+ return this;
1103
+ }
1104
+ /**
1105
+ * <code>optional .google.protobuf.Timestamp assigned_time_stamp = 4;</code>
1106
+ */
1107
+ public Builder clearAssignedTimeStamp() {
1108
+ bitField0_ = (bitField0_ & ~0x00000008);
1109
+ assignedTimeStamp_ = null;
1110
+ if (assignedTimeStampBuilder_ != null) {
1111
+ assignedTimeStampBuilder_.dispose();
1112
+ assignedTimeStampBuilder_ = null;
1113
+ }
1114
+ onChanged();
1115
+ return this;
1116
+ }
1117
+ /**
1118
+ * <code>optional .google.protobuf.Timestamp assigned_time_stamp = 4;</code>
1119
+ */
1120
+ public com.google.protobuf.Timestamp.Builder getAssignedTimeStampBuilder() {
1121
+ bitField0_ |= 0x00000008;
1122
+ onChanged();
1123
+ return getAssignedTimeStampFieldBuilder().getBuilder();
1124
+ }
1125
+ /**
1126
+ * <code>optional .google.protobuf.Timestamp assigned_time_stamp = 4;</code>
1127
+ */
1128
+ public com.google.protobuf.TimestampOrBuilder getAssignedTimeStampOrBuilder() {
1129
+ if (assignedTimeStampBuilder_ != null) {
1130
+ return assignedTimeStampBuilder_.getMessageOrBuilder();
1131
+ } else {
1132
+ return assignedTimeStamp_ == null ?
1133
+ com.google.protobuf.Timestamp.getDefaultInstance() : assignedTimeStamp_;
1134
+ }
1135
+ }
1136
+ /**
1137
+ * <code>optional .google.protobuf.Timestamp assigned_time_stamp = 4;</code>
1138
+ */
1139
+ private com.google.protobuf.SingleFieldBuilderV3<
1140
+ com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
1141
+ getAssignedTimeStampFieldBuilder() {
1142
+ if (assignedTimeStampBuilder_ == null) {
1143
+ assignedTimeStampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
1144
+ com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
1145
+ getAssignedTimeStamp(),
1146
+ getParentForChildren(),
1147
+ isClean());
1148
+ assignedTimeStamp_ = null;
1149
+ }
1150
+ return assignedTimeStampBuilder_;
1151
+ }
1152
+
1153
+ private com.google.protobuf.MapField<
1154
+ java.lang.String, java.lang.Boolean> usersKeys_;
1155
+ private com.google.protobuf.MapField<java.lang.String, java.lang.Boolean>
1156
+ internalGetUsersKeys() {
1157
+ if (usersKeys_ == null) {
1158
+ return com.google.protobuf.MapField.emptyMapField(
1159
+ UsersKeysDefaultEntryHolder.defaultEntry);
1160
+ }
1161
+ return usersKeys_;
1162
+ }
1163
+ private com.google.protobuf.MapField<java.lang.String, java.lang.Boolean>
1164
+ internalGetMutableUsersKeys() {
1165
+ if (usersKeys_ == null) {
1166
+ usersKeys_ = com.google.protobuf.MapField.newMapField(
1167
+ UsersKeysDefaultEntryHolder.defaultEntry);
1168
+ }
1169
+ if (!usersKeys_.isMutable()) {
1170
+ usersKeys_ = usersKeys_.copy();
1171
+ }
1172
+ bitField0_ |= 0x00000010;
1173
+ onChanged();
1174
+ return usersKeys_;
1175
+ }
1176
+ public int getUsersKeysCount() {
1177
+ return internalGetUsersKeys().getMap().size();
1178
+ }
1179
+ /**
1180
+ * <pre>
1181
+ * Entity keys of users assigned to this plan
1182
+ * </pre>
1183
+ *
1184
+ * <code>map&lt;string, bool&gt; users_keys = 5;</code>
1185
+ */
1186
+ @java.lang.Override
1187
+ public boolean containsUsersKeys(
1188
+ java.lang.String key) {
1189
+ if (key == null) { throw new NullPointerException("map key"); }
1190
+ return internalGetUsersKeys().getMap().containsKey(key);
1191
+ }
1192
+ /**
1193
+ * Use {@link #getUsersKeysMap()} instead.
1194
+ */
1195
+ @java.lang.Override
1196
+ @java.lang.Deprecated
1197
+ public java.util.Map<java.lang.String, java.lang.Boolean> getUsersKeys() {
1198
+ return getUsersKeysMap();
1199
+ }
1200
+ /**
1201
+ * <pre>
1202
+ * Entity keys of users assigned to this plan
1203
+ * </pre>
1204
+ *
1205
+ * <code>map&lt;string, bool&gt; users_keys = 5;</code>
1206
+ */
1207
+ @java.lang.Override
1208
+ public java.util.Map<java.lang.String, java.lang.Boolean> getUsersKeysMap() {
1209
+ return internalGetUsersKeys().getMap();
1210
+ }
1211
+ /**
1212
+ * <pre>
1213
+ * Entity keys of users assigned to this plan
1214
+ * </pre>
1215
+ *
1216
+ * <code>map&lt;string, bool&gt; users_keys = 5;</code>
1217
+ */
1218
+ @java.lang.Override
1219
+ public boolean getUsersKeysOrDefault(
1220
+ java.lang.String key,
1221
+ boolean defaultValue) {
1222
+ if (key == null) { throw new NullPointerException("map key"); }
1223
+ java.util.Map<java.lang.String, java.lang.Boolean> map =
1224
+ internalGetUsersKeys().getMap();
1225
+ return map.containsKey(key) ? map.get(key) : defaultValue;
1226
+ }
1227
+ /**
1228
+ * <pre>
1229
+ * Entity keys of users assigned to this plan
1230
+ * </pre>
1231
+ *
1232
+ * <code>map&lt;string, bool&gt; users_keys = 5;</code>
1233
+ */
1234
+ @java.lang.Override
1235
+ public boolean getUsersKeysOrThrow(
1236
+ java.lang.String key) {
1237
+ if (key == null) { throw new NullPointerException("map key"); }
1238
+ java.util.Map<java.lang.String, java.lang.Boolean> map =
1239
+ internalGetUsersKeys().getMap();
1240
+ if (!map.containsKey(key)) {
1241
+ throw new java.lang.IllegalArgumentException();
1242
+ }
1243
+ return map.get(key);
1244
+ }
1245
+ public Builder clearUsersKeys() {
1246
+ bitField0_ = (bitField0_ & ~0x00000010);
1247
+ internalGetMutableUsersKeys().getMutableMap()
1248
+ .clear();
1249
+ return this;
1250
+ }
1251
+ /**
1252
+ * <pre>
1253
+ * Entity keys of users assigned to this plan
1254
+ * </pre>
1255
+ *
1256
+ * <code>map&lt;string, bool&gt; users_keys = 5;</code>
1257
+ */
1258
+ public Builder removeUsersKeys(
1259
+ java.lang.String key) {
1260
+ if (key == null) { throw new NullPointerException("map key"); }
1261
+ internalGetMutableUsersKeys().getMutableMap()
1262
+ .remove(key);
1263
+ return this;
1264
+ }
1265
+ /**
1266
+ * Use alternate mutation accessors instead.
1267
+ */
1268
+ @java.lang.Deprecated
1269
+ public java.util.Map<java.lang.String, java.lang.Boolean>
1270
+ getMutableUsersKeys() {
1271
+ bitField0_ |= 0x00000010;
1272
+ return internalGetMutableUsersKeys().getMutableMap();
1273
+ }
1274
+ /**
1275
+ * <pre>
1276
+ * Entity keys of users assigned to this plan
1277
+ * </pre>
1278
+ *
1279
+ * <code>map&lt;string, bool&gt; users_keys = 5;</code>
1280
+ */
1281
+ public Builder putUsersKeys(
1282
+ java.lang.String key,
1283
+ boolean value) {
1284
+ if (key == null) { throw new NullPointerException("map key"); }
1285
+
1286
+ internalGetMutableUsersKeys().getMutableMap()
1287
+ .put(key, value);
1288
+ bitField0_ |= 0x00000010;
1289
+ return this;
1290
+ }
1291
+ /**
1292
+ * <pre>
1293
+ * Entity keys of users assigned to this plan
1294
+ * </pre>
1295
+ *
1296
+ * <code>map&lt;string, bool&gt; users_keys = 5;</code>
1297
+ */
1298
+ public Builder putAllUsersKeys(
1299
+ java.util.Map<java.lang.String, java.lang.Boolean> values) {
1300
+ internalGetMutableUsersKeys().getMutableMap()
1301
+ .putAll(values);
1302
+ bitField0_ |= 0x00000010;
1303
+ return this;
1304
+ }
1305
+ @java.lang.Override
1306
+ public final Builder setUnknownFields(
1307
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
1308
+ return super.setUnknownFields(unknownFields);
1309
+ }
1310
+
1311
+ @java.lang.Override
1312
+ public final Builder mergeUnknownFields(
1313
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
1314
+ return super.mergeUnknownFields(unknownFields);
1315
+ }
1316
+
1317
+
1318
+ // @@protoc_insertion_point(builder_scope:com.lansweeper.dp.outbound.v1.Office365AssignedPlan)
1319
+ }
1320
+
1321
+ // @@protoc_insertion_point(class_scope:com.lansweeper.dp.outbound.v1.Office365AssignedPlan)
1322
+ private static final com.lansweeper.dp.outbound.v1.Office365AssignedPlan DEFAULT_INSTANCE;
1323
+ static {
1324
+ DEFAULT_INSTANCE = new com.lansweeper.dp.outbound.v1.Office365AssignedPlan();
1325
+ }
1326
+
1327
+ public static com.lansweeper.dp.outbound.v1.Office365AssignedPlan getDefaultInstance() {
1328
+ return DEFAULT_INSTANCE;
1329
+ }
1330
+
1331
+ private static final com.google.protobuf.Parser<Office365AssignedPlan>
1332
+ PARSER = new com.google.protobuf.AbstractParser<Office365AssignedPlan>() {
1333
+ @java.lang.Override
1334
+ public Office365AssignedPlan parsePartialFrom(
1335
+ com.google.protobuf.CodedInputStream input,
1336
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1337
+ throws com.google.protobuf.InvalidProtocolBufferException {
1338
+ Builder builder = newBuilder();
1339
+ try {
1340
+ builder.mergeFrom(input, extensionRegistry);
1341
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1342
+ throw e.setUnfinishedMessage(builder.buildPartial());
1343
+ } catch (com.google.protobuf.UninitializedMessageException e) {
1344
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
1345
+ } catch (java.io.IOException e) {
1346
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
1347
+ .setUnfinishedMessage(builder.buildPartial());
1348
+ }
1349
+ return builder.buildPartial();
1350
+ }
1351
+ };
1352
+
1353
+ public static com.google.protobuf.Parser<Office365AssignedPlan> parser() {
1354
+ return PARSER;
1355
+ }
1356
+
1357
+ @java.lang.Override
1358
+ public com.google.protobuf.Parser<Office365AssignedPlan> getParserForType() {
1359
+ return PARSER;
1360
+ }
1361
+
1362
+ @java.lang.Override
1363
+ public com.lansweeper.dp.outbound.v1.Office365AssignedPlan getDefaultInstanceForType() {
1364
+ return DEFAULT_INSTANCE;
1365
+ }
1366
+
1367
+ }
1368
+