@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.
- package/CHANGELOG.md +16 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_pb.d.ts +749 -8
- package/gen-proto/outbound_pb.js +5939 -38
- package/generated-go/outbound.pb.go +11319 -9569
- package/java.json +1 -1
- package/model/pom.xml +1 -1
- package/model/src/main/proto/outbound.proto +134 -3
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Asset$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Asset$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Asset.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/EsxiCluster$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/EsxiCluster$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/EsxiCluster$HypervisorsDefaultEntryHolder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/EsxiCluster.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/EsxiClusterOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Group$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Group$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Group.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/GroupOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365AssignedPlan$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365AssignedPlan$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365AssignedPlan$UsersKeysDefaultEntryHolder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365AssignedPlan.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365AssignedPlanOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Contact$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Contact$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Contact.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365ContactOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Domain$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Domain$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Domain.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365DomainOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Group$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Group$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Group.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365GroupOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365License$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365License$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365License$UsersKeysDefaultEntryHolder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365License.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365LicenseOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Organization$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Organization$AssignedPlansDefaultEntryHolder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Organization$Builder$AssignedPlansConverter.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Organization$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Organization.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365OrganizationOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365ServicePlan$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365ServicePlan$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365ServicePlan.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365ServicePlanOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365User$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365User$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365User$GroupKeysDefaultEntryHolder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365User.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365UserOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/User$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/User$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/User.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/UserOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster$Builder$DatastoresConverter.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster$DatastoresDefaultEntryHolder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreClusterOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm$Builder$EsxiGuestSnapshotsConverter.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVmOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor$Builder$EsxiHypervisorDatastoresConverter.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisorOrBuilder.class +0 -0
- package/model/target/classes/outbound.proto +134 -3
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Asset.java +232 -47
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/AssetOrBuilder.java +23 -8
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/EsxiCluster.java +200 -7
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/EsxiClusterOrBuilder.java +31 -2
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Group.java +185 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/GroupOrBuilder.java +15 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365AssignedPlan.java +1368 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365AssignedPlanOrBuilder.java +123 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365Contact.java +723 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365ContactOrBuilder.java +44 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365Domain.java +1793 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365DomainOrBuilder.java +167 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365Group.java +1701 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365GroupOrBuilder.java +158 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365License.java +2041 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365LicenseOrBuilder.java +193 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365Organization.java +3591 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365OrganizationOrBuilder.java +330 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365ServicePlan.java +1037 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365ServicePlanOrBuilder.java +78 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365User.java +6756 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365UserOrBuilder.java +715 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +722 -444
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/User.java +232 -47
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/UserOrBuilder.java +23 -8
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster.java +104 -306
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareDatastoreClusterOrBuilder.java +8 -25
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm.java +114 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVmOrBuilder.java +19 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor.java +334 -109
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisorOrBuilder.java +51 -13
- package/model/target/maven-archiver/pom.properties +2 -2
- package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +37 -0
- package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +16 -0
- package/model/target/{outbound-model-0.3.18-sources.jar → outbound-model-0.3.20-sources.jar} +0 -0
- package/model/target/{outbound-model-0.3.18.jar → outbound-model-0.3.20.jar} +0 -0
- package/package.json +2 -2
- package/pom.xml +1 -1
- package/proto/outbound.proto +134 -3
- package/service/pom.xml +1 -1
- package/service/target/maven-archiver/pom.properties +2 -2
- package/service/target/{outbound-service-0.3.18-sources.jar → outbound-service-0.3.20-sources.jar} +0 -0
- package/service/target/{outbound-service-0.3.18.jar → outbound-service-0.3.20.jar} +0 -0
|
@@ -0,0 +1,2041 @@
|
|
|
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.Office365License}
|
|
9
|
+
*/
|
|
10
|
+
public final class Office365License extends
|
|
11
|
+
com.google.protobuf.GeneratedMessageV3 implements
|
|
12
|
+
// @@protoc_insertion_point(message_implements:com.lansweeper.dp.outbound.v1.Office365License)
|
|
13
|
+
Office365LicenseOrBuilder {
|
|
14
|
+
private static final long serialVersionUID = 0L;
|
|
15
|
+
// Use Office365License.newBuilder() to construct.
|
|
16
|
+
private Office365License(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
17
|
+
super(builder);
|
|
18
|
+
}
|
|
19
|
+
private Office365License() {
|
|
20
|
+
skuId_ = "";
|
|
21
|
+
skuPartNumber_ = "";
|
|
22
|
+
appliesTo_ = "";
|
|
23
|
+
capabilityStatus_ = "";
|
|
24
|
+
servicePlans_ = java.util.Collections.emptyList();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@java.lang.Override
|
|
28
|
+
@SuppressWarnings({"unused"})
|
|
29
|
+
protected java.lang.Object newInstance(
|
|
30
|
+
UnusedPrivateParameter unused) {
|
|
31
|
+
return new Office365License();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public static final com.google.protobuf.Descriptors.Descriptor
|
|
35
|
+
getDescriptor() {
|
|
36
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_Office365License_descriptor;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@SuppressWarnings({"rawtypes"})
|
|
40
|
+
@java.lang.Override
|
|
41
|
+
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
|
|
42
|
+
int number) {
|
|
43
|
+
switch (number) {
|
|
44
|
+
case 9:
|
|
45
|
+
return internalGetUsersKeys();
|
|
46
|
+
default:
|
|
47
|
+
throw new RuntimeException(
|
|
48
|
+
"Invalid map field number: " + number);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
@java.lang.Override
|
|
52
|
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
53
|
+
internalGetFieldAccessorTable() {
|
|
54
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_Office365License_fieldAccessorTable
|
|
55
|
+
.ensureFieldAccessorsInitialized(
|
|
56
|
+
com.lansweeper.dp.outbound.v1.Office365License.class, com.lansweeper.dp.outbound.v1.Office365License.Builder.class);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
private int bitField0_;
|
|
60
|
+
public static final int SKU_ID_FIELD_NUMBER = 1;
|
|
61
|
+
@SuppressWarnings("serial")
|
|
62
|
+
private volatile java.lang.Object skuId_ = "";
|
|
63
|
+
/**
|
|
64
|
+
* <code>string sku_id = 1;</code>
|
|
65
|
+
* @return The skuId.
|
|
66
|
+
*/
|
|
67
|
+
@java.lang.Override
|
|
68
|
+
public java.lang.String getSkuId() {
|
|
69
|
+
java.lang.Object ref = skuId_;
|
|
70
|
+
if (ref instanceof java.lang.String) {
|
|
71
|
+
return (java.lang.String) ref;
|
|
72
|
+
} else {
|
|
73
|
+
com.google.protobuf.ByteString bs =
|
|
74
|
+
(com.google.protobuf.ByteString) ref;
|
|
75
|
+
java.lang.String s = bs.toStringUtf8();
|
|
76
|
+
skuId_ = s;
|
|
77
|
+
return s;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* <code>string sku_id = 1;</code>
|
|
82
|
+
* @return The bytes for skuId.
|
|
83
|
+
*/
|
|
84
|
+
@java.lang.Override
|
|
85
|
+
public com.google.protobuf.ByteString
|
|
86
|
+
getSkuIdBytes() {
|
|
87
|
+
java.lang.Object ref = skuId_;
|
|
88
|
+
if (ref instanceof java.lang.String) {
|
|
89
|
+
com.google.protobuf.ByteString b =
|
|
90
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
91
|
+
(java.lang.String) ref);
|
|
92
|
+
skuId_ = b;
|
|
93
|
+
return b;
|
|
94
|
+
} else {
|
|
95
|
+
return (com.google.protobuf.ByteString) ref;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
public static final int CONSUMED_UNITS_FIELD_NUMBER = 2;
|
|
100
|
+
private int consumedUnits_ = 0;
|
|
101
|
+
/**
|
|
102
|
+
* <code>optional int32 consumed_units = 2;</code>
|
|
103
|
+
* @return Whether the consumedUnits field is set.
|
|
104
|
+
*/
|
|
105
|
+
@java.lang.Override
|
|
106
|
+
public boolean hasConsumedUnits() {
|
|
107
|
+
return ((bitField0_ & 0x00000001) != 0);
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* <code>optional int32 consumed_units = 2;</code>
|
|
111
|
+
* @return The consumedUnits.
|
|
112
|
+
*/
|
|
113
|
+
@java.lang.Override
|
|
114
|
+
public int getConsumedUnits() {
|
|
115
|
+
return consumedUnits_;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
public static final int PREPAID_UNITS_ENABLED_FIELD_NUMBER = 3;
|
|
119
|
+
private int prepaidUnitsEnabled_ = 0;
|
|
120
|
+
/**
|
|
121
|
+
* <code>optional int32 prepaid_units_enabled = 3;</code>
|
|
122
|
+
* @return Whether the prepaidUnitsEnabled field is set.
|
|
123
|
+
*/
|
|
124
|
+
@java.lang.Override
|
|
125
|
+
public boolean hasPrepaidUnitsEnabled() {
|
|
126
|
+
return ((bitField0_ & 0x00000002) != 0);
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* <code>optional int32 prepaid_units_enabled = 3;</code>
|
|
130
|
+
* @return The prepaidUnitsEnabled.
|
|
131
|
+
*/
|
|
132
|
+
@java.lang.Override
|
|
133
|
+
public int getPrepaidUnitsEnabled() {
|
|
134
|
+
return prepaidUnitsEnabled_;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
public static final int PREPAID_UNITS_SUSPENDED_FIELD_NUMBER = 4;
|
|
138
|
+
private int prepaidUnitsSuspended_ = 0;
|
|
139
|
+
/**
|
|
140
|
+
* <code>optional int32 prepaid_units_suspended = 4;</code>
|
|
141
|
+
* @return Whether the prepaidUnitsSuspended field is set.
|
|
142
|
+
*/
|
|
143
|
+
@java.lang.Override
|
|
144
|
+
public boolean hasPrepaidUnitsSuspended() {
|
|
145
|
+
return ((bitField0_ & 0x00000004) != 0);
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* <code>optional int32 prepaid_units_suspended = 4;</code>
|
|
149
|
+
* @return The prepaidUnitsSuspended.
|
|
150
|
+
*/
|
|
151
|
+
@java.lang.Override
|
|
152
|
+
public int getPrepaidUnitsSuspended() {
|
|
153
|
+
return prepaidUnitsSuspended_;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
public static final int PREPAID_UNITS_WARNING_FIELD_NUMBER = 5;
|
|
157
|
+
private int prepaidUnitsWarning_ = 0;
|
|
158
|
+
/**
|
|
159
|
+
* <code>optional int32 prepaid_units_warning = 5;</code>
|
|
160
|
+
* @return Whether the prepaidUnitsWarning field is set.
|
|
161
|
+
*/
|
|
162
|
+
@java.lang.Override
|
|
163
|
+
public boolean hasPrepaidUnitsWarning() {
|
|
164
|
+
return ((bitField0_ & 0x00000008) != 0);
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* <code>optional int32 prepaid_units_warning = 5;</code>
|
|
168
|
+
* @return The prepaidUnitsWarning.
|
|
169
|
+
*/
|
|
170
|
+
@java.lang.Override
|
|
171
|
+
public int getPrepaidUnitsWarning() {
|
|
172
|
+
return prepaidUnitsWarning_;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
public static final int SKU_PART_NUMBER_FIELD_NUMBER = 6;
|
|
176
|
+
@SuppressWarnings("serial")
|
|
177
|
+
private volatile java.lang.Object skuPartNumber_ = "";
|
|
178
|
+
/**
|
|
179
|
+
* <code>optional string sku_part_number = 6;</code>
|
|
180
|
+
* @return Whether the skuPartNumber field is set.
|
|
181
|
+
*/
|
|
182
|
+
@java.lang.Override
|
|
183
|
+
public boolean hasSkuPartNumber() {
|
|
184
|
+
return ((bitField0_ & 0x00000010) != 0);
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* <code>optional string sku_part_number = 6;</code>
|
|
188
|
+
* @return The skuPartNumber.
|
|
189
|
+
*/
|
|
190
|
+
@java.lang.Override
|
|
191
|
+
public java.lang.String getSkuPartNumber() {
|
|
192
|
+
java.lang.Object ref = skuPartNumber_;
|
|
193
|
+
if (ref instanceof java.lang.String) {
|
|
194
|
+
return (java.lang.String) ref;
|
|
195
|
+
} else {
|
|
196
|
+
com.google.protobuf.ByteString bs =
|
|
197
|
+
(com.google.protobuf.ByteString) ref;
|
|
198
|
+
java.lang.String s = bs.toStringUtf8();
|
|
199
|
+
skuPartNumber_ = s;
|
|
200
|
+
return s;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* <code>optional string sku_part_number = 6;</code>
|
|
205
|
+
* @return The bytes for skuPartNumber.
|
|
206
|
+
*/
|
|
207
|
+
@java.lang.Override
|
|
208
|
+
public com.google.protobuf.ByteString
|
|
209
|
+
getSkuPartNumberBytes() {
|
|
210
|
+
java.lang.Object ref = skuPartNumber_;
|
|
211
|
+
if (ref instanceof java.lang.String) {
|
|
212
|
+
com.google.protobuf.ByteString b =
|
|
213
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
214
|
+
(java.lang.String) ref);
|
|
215
|
+
skuPartNumber_ = b;
|
|
216
|
+
return b;
|
|
217
|
+
} else {
|
|
218
|
+
return (com.google.protobuf.ByteString) ref;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
public static final int APPLIES_TO_FIELD_NUMBER = 7;
|
|
223
|
+
@SuppressWarnings("serial")
|
|
224
|
+
private volatile java.lang.Object appliesTo_ = "";
|
|
225
|
+
/**
|
|
226
|
+
* <code>optional string applies_to = 7;</code>
|
|
227
|
+
* @return Whether the appliesTo field is set.
|
|
228
|
+
*/
|
|
229
|
+
@java.lang.Override
|
|
230
|
+
public boolean hasAppliesTo() {
|
|
231
|
+
return ((bitField0_ & 0x00000020) != 0);
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* <code>optional string applies_to = 7;</code>
|
|
235
|
+
* @return The appliesTo.
|
|
236
|
+
*/
|
|
237
|
+
@java.lang.Override
|
|
238
|
+
public java.lang.String getAppliesTo() {
|
|
239
|
+
java.lang.Object ref = appliesTo_;
|
|
240
|
+
if (ref instanceof java.lang.String) {
|
|
241
|
+
return (java.lang.String) ref;
|
|
242
|
+
} else {
|
|
243
|
+
com.google.protobuf.ByteString bs =
|
|
244
|
+
(com.google.protobuf.ByteString) ref;
|
|
245
|
+
java.lang.String s = bs.toStringUtf8();
|
|
246
|
+
appliesTo_ = s;
|
|
247
|
+
return s;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* <code>optional string applies_to = 7;</code>
|
|
252
|
+
* @return The bytes for appliesTo.
|
|
253
|
+
*/
|
|
254
|
+
@java.lang.Override
|
|
255
|
+
public com.google.protobuf.ByteString
|
|
256
|
+
getAppliesToBytes() {
|
|
257
|
+
java.lang.Object ref = appliesTo_;
|
|
258
|
+
if (ref instanceof java.lang.String) {
|
|
259
|
+
com.google.protobuf.ByteString b =
|
|
260
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
261
|
+
(java.lang.String) ref);
|
|
262
|
+
appliesTo_ = b;
|
|
263
|
+
return b;
|
|
264
|
+
} else {
|
|
265
|
+
return (com.google.protobuf.ByteString) ref;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
public static final int CAPABILITY_STATUS_FIELD_NUMBER = 8;
|
|
270
|
+
@SuppressWarnings("serial")
|
|
271
|
+
private volatile java.lang.Object capabilityStatus_ = "";
|
|
272
|
+
/**
|
|
273
|
+
* <code>optional string capability_status = 8;</code>
|
|
274
|
+
* @return Whether the capabilityStatus field is set.
|
|
275
|
+
*/
|
|
276
|
+
@java.lang.Override
|
|
277
|
+
public boolean hasCapabilityStatus() {
|
|
278
|
+
return ((bitField0_ & 0x00000040) != 0);
|
|
279
|
+
}
|
|
280
|
+
/**
|
|
281
|
+
* <code>optional string capability_status = 8;</code>
|
|
282
|
+
* @return The capabilityStatus.
|
|
283
|
+
*/
|
|
284
|
+
@java.lang.Override
|
|
285
|
+
public java.lang.String getCapabilityStatus() {
|
|
286
|
+
java.lang.Object ref = capabilityStatus_;
|
|
287
|
+
if (ref instanceof java.lang.String) {
|
|
288
|
+
return (java.lang.String) ref;
|
|
289
|
+
} else {
|
|
290
|
+
com.google.protobuf.ByteString bs =
|
|
291
|
+
(com.google.protobuf.ByteString) ref;
|
|
292
|
+
java.lang.String s = bs.toStringUtf8();
|
|
293
|
+
capabilityStatus_ = s;
|
|
294
|
+
return s;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* <code>optional string capability_status = 8;</code>
|
|
299
|
+
* @return The bytes for capabilityStatus.
|
|
300
|
+
*/
|
|
301
|
+
@java.lang.Override
|
|
302
|
+
public com.google.protobuf.ByteString
|
|
303
|
+
getCapabilityStatusBytes() {
|
|
304
|
+
java.lang.Object ref = capabilityStatus_;
|
|
305
|
+
if (ref instanceof java.lang.String) {
|
|
306
|
+
com.google.protobuf.ByteString b =
|
|
307
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
308
|
+
(java.lang.String) ref);
|
|
309
|
+
capabilityStatus_ = b;
|
|
310
|
+
return b;
|
|
311
|
+
} else {
|
|
312
|
+
return (com.google.protobuf.ByteString) ref;
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
public static final int USERS_KEYS_FIELD_NUMBER = 9;
|
|
317
|
+
private static final class UsersKeysDefaultEntryHolder {
|
|
318
|
+
static final com.google.protobuf.MapEntry<
|
|
319
|
+
java.lang.String, java.lang.Boolean> defaultEntry =
|
|
320
|
+
com.google.protobuf.MapEntry
|
|
321
|
+
.<java.lang.String, java.lang.Boolean>newDefaultInstance(
|
|
322
|
+
com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_Office365License_UsersKeysEntry_descriptor,
|
|
323
|
+
com.google.protobuf.WireFormat.FieldType.STRING,
|
|
324
|
+
"",
|
|
325
|
+
com.google.protobuf.WireFormat.FieldType.BOOL,
|
|
326
|
+
false);
|
|
327
|
+
}
|
|
328
|
+
@SuppressWarnings("serial")
|
|
329
|
+
private com.google.protobuf.MapField<
|
|
330
|
+
java.lang.String, java.lang.Boolean> usersKeys_;
|
|
331
|
+
private com.google.protobuf.MapField<java.lang.String, java.lang.Boolean>
|
|
332
|
+
internalGetUsersKeys() {
|
|
333
|
+
if (usersKeys_ == null) {
|
|
334
|
+
return com.google.protobuf.MapField.emptyMapField(
|
|
335
|
+
UsersKeysDefaultEntryHolder.defaultEntry);
|
|
336
|
+
}
|
|
337
|
+
return usersKeys_;
|
|
338
|
+
}
|
|
339
|
+
public int getUsersKeysCount() {
|
|
340
|
+
return internalGetUsersKeys().getMap().size();
|
|
341
|
+
}
|
|
342
|
+
/**
|
|
343
|
+
* <pre>
|
|
344
|
+
* Entity keys of users assigned to this license
|
|
345
|
+
* </pre>
|
|
346
|
+
*
|
|
347
|
+
* <code>map<string, bool> users_keys = 9;</code>
|
|
348
|
+
*/
|
|
349
|
+
@java.lang.Override
|
|
350
|
+
public boolean containsUsersKeys(
|
|
351
|
+
java.lang.String key) {
|
|
352
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
353
|
+
return internalGetUsersKeys().getMap().containsKey(key);
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
* Use {@link #getUsersKeysMap()} instead.
|
|
357
|
+
*/
|
|
358
|
+
@java.lang.Override
|
|
359
|
+
@java.lang.Deprecated
|
|
360
|
+
public java.util.Map<java.lang.String, java.lang.Boolean> getUsersKeys() {
|
|
361
|
+
return getUsersKeysMap();
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* <pre>
|
|
365
|
+
* Entity keys of users assigned to this license
|
|
366
|
+
* </pre>
|
|
367
|
+
*
|
|
368
|
+
* <code>map<string, bool> users_keys = 9;</code>
|
|
369
|
+
*/
|
|
370
|
+
@java.lang.Override
|
|
371
|
+
public java.util.Map<java.lang.String, java.lang.Boolean> getUsersKeysMap() {
|
|
372
|
+
return internalGetUsersKeys().getMap();
|
|
373
|
+
}
|
|
374
|
+
/**
|
|
375
|
+
* <pre>
|
|
376
|
+
* Entity keys of users assigned to this license
|
|
377
|
+
* </pre>
|
|
378
|
+
*
|
|
379
|
+
* <code>map<string, bool> users_keys = 9;</code>
|
|
380
|
+
*/
|
|
381
|
+
@java.lang.Override
|
|
382
|
+
public boolean getUsersKeysOrDefault(
|
|
383
|
+
java.lang.String key,
|
|
384
|
+
boolean defaultValue) {
|
|
385
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
386
|
+
java.util.Map<java.lang.String, java.lang.Boolean> map =
|
|
387
|
+
internalGetUsersKeys().getMap();
|
|
388
|
+
return map.containsKey(key) ? map.get(key) : defaultValue;
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* <pre>
|
|
392
|
+
* Entity keys of users assigned to this license
|
|
393
|
+
* </pre>
|
|
394
|
+
*
|
|
395
|
+
* <code>map<string, bool> users_keys = 9;</code>
|
|
396
|
+
*/
|
|
397
|
+
@java.lang.Override
|
|
398
|
+
public boolean getUsersKeysOrThrow(
|
|
399
|
+
java.lang.String key) {
|
|
400
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
401
|
+
java.util.Map<java.lang.String, java.lang.Boolean> map =
|
|
402
|
+
internalGetUsersKeys().getMap();
|
|
403
|
+
if (!map.containsKey(key)) {
|
|
404
|
+
throw new java.lang.IllegalArgumentException();
|
|
405
|
+
}
|
|
406
|
+
return map.get(key);
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
public static final int SERVICE_PLANS_FIELD_NUMBER = 10;
|
|
410
|
+
@SuppressWarnings("serial")
|
|
411
|
+
private java.util.List<com.lansweeper.dp.outbound.v1.Office365ServicePlan> servicePlans_;
|
|
412
|
+
/**
|
|
413
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.Office365ServicePlan service_plans = 10;</code>
|
|
414
|
+
*/
|
|
415
|
+
@java.lang.Override
|
|
416
|
+
public java.util.List<com.lansweeper.dp.outbound.v1.Office365ServicePlan> getServicePlansList() {
|
|
417
|
+
return servicePlans_;
|
|
418
|
+
}
|
|
419
|
+
/**
|
|
420
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.Office365ServicePlan service_plans = 10;</code>
|
|
421
|
+
*/
|
|
422
|
+
@java.lang.Override
|
|
423
|
+
public java.util.List<? extends com.lansweeper.dp.outbound.v1.Office365ServicePlanOrBuilder>
|
|
424
|
+
getServicePlansOrBuilderList() {
|
|
425
|
+
return servicePlans_;
|
|
426
|
+
}
|
|
427
|
+
/**
|
|
428
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.Office365ServicePlan service_plans = 10;</code>
|
|
429
|
+
*/
|
|
430
|
+
@java.lang.Override
|
|
431
|
+
public int getServicePlansCount() {
|
|
432
|
+
return servicePlans_.size();
|
|
433
|
+
}
|
|
434
|
+
/**
|
|
435
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.Office365ServicePlan service_plans = 10;</code>
|
|
436
|
+
*/
|
|
437
|
+
@java.lang.Override
|
|
438
|
+
public com.lansweeper.dp.outbound.v1.Office365ServicePlan getServicePlans(int index) {
|
|
439
|
+
return servicePlans_.get(index);
|
|
440
|
+
}
|
|
441
|
+
/**
|
|
442
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.Office365ServicePlan service_plans = 10;</code>
|
|
443
|
+
*/
|
|
444
|
+
@java.lang.Override
|
|
445
|
+
public com.lansweeper.dp.outbound.v1.Office365ServicePlanOrBuilder getServicePlansOrBuilder(
|
|
446
|
+
int index) {
|
|
447
|
+
return servicePlans_.get(index);
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
private byte memoizedIsInitialized = -1;
|
|
451
|
+
@java.lang.Override
|
|
452
|
+
public final boolean isInitialized() {
|
|
453
|
+
byte isInitialized = memoizedIsInitialized;
|
|
454
|
+
if (isInitialized == 1) return true;
|
|
455
|
+
if (isInitialized == 0) return false;
|
|
456
|
+
|
|
457
|
+
memoizedIsInitialized = 1;
|
|
458
|
+
return true;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
@java.lang.Override
|
|
462
|
+
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
463
|
+
throws java.io.IOException {
|
|
464
|
+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(skuId_)) {
|
|
465
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, skuId_);
|
|
466
|
+
}
|
|
467
|
+
if (((bitField0_ & 0x00000001) != 0)) {
|
|
468
|
+
output.writeInt32(2, consumedUnits_);
|
|
469
|
+
}
|
|
470
|
+
if (((bitField0_ & 0x00000002) != 0)) {
|
|
471
|
+
output.writeInt32(3, prepaidUnitsEnabled_);
|
|
472
|
+
}
|
|
473
|
+
if (((bitField0_ & 0x00000004) != 0)) {
|
|
474
|
+
output.writeInt32(4, prepaidUnitsSuspended_);
|
|
475
|
+
}
|
|
476
|
+
if (((bitField0_ & 0x00000008) != 0)) {
|
|
477
|
+
output.writeInt32(5, prepaidUnitsWarning_);
|
|
478
|
+
}
|
|
479
|
+
if (((bitField0_ & 0x00000010) != 0)) {
|
|
480
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, skuPartNumber_);
|
|
481
|
+
}
|
|
482
|
+
if (((bitField0_ & 0x00000020) != 0)) {
|
|
483
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, appliesTo_);
|
|
484
|
+
}
|
|
485
|
+
if (((bitField0_ & 0x00000040) != 0)) {
|
|
486
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, capabilityStatus_);
|
|
487
|
+
}
|
|
488
|
+
com.google.protobuf.GeneratedMessageV3
|
|
489
|
+
.serializeStringMapTo(
|
|
490
|
+
output,
|
|
491
|
+
internalGetUsersKeys(),
|
|
492
|
+
UsersKeysDefaultEntryHolder.defaultEntry,
|
|
493
|
+
9);
|
|
494
|
+
for (int i = 0; i < servicePlans_.size(); i++) {
|
|
495
|
+
output.writeMessage(10, servicePlans_.get(i));
|
|
496
|
+
}
|
|
497
|
+
getUnknownFields().writeTo(output);
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
@java.lang.Override
|
|
501
|
+
public int getSerializedSize() {
|
|
502
|
+
int size = memoizedSize;
|
|
503
|
+
if (size != -1) return size;
|
|
504
|
+
|
|
505
|
+
size = 0;
|
|
506
|
+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(skuId_)) {
|
|
507
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, skuId_);
|
|
508
|
+
}
|
|
509
|
+
if (((bitField0_ & 0x00000001) != 0)) {
|
|
510
|
+
size += com.google.protobuf.CodedOutputStream
|
|
511
|
+
.computeInt32Size(2, consumedUnits_);
|
|
512
|
+
}
|
|
513
|
+
if (((bitField0_ & 0x00000002) != 0)) {
|
|
514
|
+
size += com.google.protobuf.CodedOutputStream
|
|
515
|
+
.computeInt32Size(3, prepaidUnitsEnabled_);
|
|
516
|
+
}
|
|
517
|
+
if (((bitField0_ & 0x00000004) != 0)) {
|
|
518
|
+
size += com.google.protobuf.CodedOutputStream
|
|
519
|
+
.computeInt32Size(4, prepaidUnitsSuspended_);
|
|
520
|
+
}
|
|
521
|
+
if (((bitField0_ & 0x00000008) != 0)) {
|
|
522
|
+
size += com.google.protobuf.CodedOutputStream
|
|
523
|
+
.computeInt32Size(5, prepaidUnitsWarning_);
|
|
524
|
+
}
|
|
525
|
+
if (((bitField0_ & 0x00000010) != 0)) {
|
|
526
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, skuPartNumber_);
|
|
527
|
+
}
|
|
528
|
+
if (((bitField0_ & 0x00000020) != 0)) {
|
|
529
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, appliesTo_);
|
|
530
|
+
}
|
|
531
|
+
if (((bitField0_ & 0x00000040) != 0)) {
|
|
532
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, capabilityStatus_);
|
|
533
|
+
}
|
|
534
|
+
for (java.util.Map.Entry<java.lang.String, java.lang.Boolean> entry
|
|
535
|
+
: internalGetUsersKeys().getMap().entrySet()) {
|
|
536
|
+
com.google.protobuf.MapEntry<java.lang.String, java.lang.Boolean>
|
|
537
|
+
usersKeys__ = UsersKeysDefaultEntryHolder.defaultEntry.newBuilderForType()
|
|
538
|
+
.setKey(entry.getKey())
|
|
539
|
+
.setValue(entry.getValue())
|
|
540
|
+
.build();
|
|
541
|
+
size += com.google.protobuf.CodedOutputStream
|
|
542
|
+
.computeMessageSize(9, usersKeys__);
|
|
543
|
+
}
|
|
544
|
+
for (int i = 0; i < servicePlans_.size(); i++) {
|
|
545
|
+
size += com.google.protobuf.CodedOutputStream
|
|
546
|
+
.computeMessageSize(10, servicePlans_.get(i));
|
|
547
|
+
}
|
|
548
|
+
size += getUnknownFields().getSerializedSize();
|
|
549
|
+
memoizedSize = size;
|
|
550
|
+
return size;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
@java.lang.Override
|
|
554
|
+
public boolean equals(final java.lang.Object obj) {
|
|
555
|
+
if (obj == this) {
|
|
556
|
+
return true;
|
|
557
|
+
}
|
|
558
|
+
if (!(obj instanceof com.lansweeper.dp.outbound.v1.Office365License)) {
|
|
559
|
+
return super.equals(obj);
|
|
560
|
+
}
|
|
561
|
+
com.lansweeper.dp.outbound.v1.Office365License other = (com.lansweeper.dp.outbound.v1.Office365License) obj;
|
|
562
|
+
|
|
563
|
+
if (!getSkuId()
|
|
564
|
+
.equals(other.getSkuId())) return false;
|
|
565
|
+
if (hasConsumedUnits() != other.hasConsumedUnits()) return false;
|
|
566
|
+
if (hasConsumedUnits()) {
|
|
567
|
+
if (getConsumedUnits()
|
|
568
|
+
!= other.getConsumedUnits()) return false;
|
|
569
|
+
}
|
|
570
|
+
if (hasPrepaidUnitsEnabled() != other.hasPrepaidUnitsEnabled()) return false;
|
|
571
|
+
if (hasPrepaidUnitsEnabled()) {
|
|
572
|
+
if (getPrepaidUnitsEnabled()
|
|
573
|
+
!= other.getPrepaidUnitsEnabled()) return false;
|
|
574
|
+
}
|
|
575
|
+
if (hasPrepaidUnitsSuspended() != other.hasPrepaidUnitsSuspended()) return false;
|
|
576
|
+
if (hasPrepaidUnitsSuspended()) {
|
|
577
|
+
if (getPrepaidUnitsSuspended()
|
|
578
|
+
!= other.getPrepaidUnitsSuspended()) return false;
|
|
579
|
+
}
|
|
580
|
+
if (hasPrepaidUnitsWarning() != other.hasPrepaidUnitsWarning()) return false;
|
|
581
|
+
if (hasPrepaidUnitsWarning()) {
|
|
582
|
+
if (getPrepaidUnitsWarning()
|
|
583
|
+
!= other.getPrepaidUnitsWarning()) return false;
|
|
584
|
+
}
|
|
585
|
+
if (hasSkuPartNumber() != other.hasSkuPartNumber()) return false;
|
|
586
|
+
if (hasSkuPartNumber()) {
|
|
587
|
+
if (!getSkuPartNumber()
|
|
588
|
+
.equals(other.getSkuPartNumber())) return false;
|
|
589
|
+
}
|
|
590
|
+
if (hasAppliesTo() != other.hasAppliesTo()) return false;
|
|
591
|
+
if (hasAppliesTo()) {
|
|
592
|
+
if (!getAppliesTo()
|
|
593
|
+
.equals(other.getAppliesTo())) return false;
|
|
594
|
+
}
|
|
595
|
+
if (hasCapabilityStatus() != other.hasCapabilityStatus()) return false;
|
|
596
|
+
if (hasCapabilityStatus()) {
|
|
597
|
+
if (!getCapabilityStatus()
|
|
598
|
+
.equals(other.getCapabilityStatus())) return false;
|
|
599
|
+
}
|
|
600
|
+
if (!internalGetUsersKeys().equals(
|
|
601
|
+
other.internalGetUsersKeys())) return false;
|
|
602
|
+
if (!getServicePlansList()
|
|
603
|
+
.equals(other.getServicePlansList())) return false;
|
|
604
|
+
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
|
605
|
+
return true;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
@java.lang.Override
|
|
609
|
+
public int hashCode() {
|
|
610
|
+
if (memoizedHashCode != 0) {
|
|
611
|
+
return memoizedHashCode;
|
|
612
|
+
}
|
|
613
|
+
int hash = 41;
|
|
614
|
+
hash = (19 * hash) + getDescriptor().hashCode();
|
|
615
|
+
hash = (37 * hash) + SKU_ID_FIELD_NUMBER;
|
|
616
|
+
hash = (53 * hash) + getSkuId().hashCode();
|
|
617
|
+
if (hasConsumedUnits()) {
|
|
618
|
+
hash = (37 * hash) + CONSUMED_UNITS_FIELD_NUMBER;
|
|
619
|
+
hash = (53 * hash) + getConsumedUnits();
|
|
620
|
+
}
|
|
621
|
+
if (hasPrepaidUnitsEnabled()) {
|
|
622
|
+
hash = (37 * hash) + PREPAID_UNITS_ENABLED_FIELD_NUMBER;
|
|
623
|
+
hash = (53 * hash) + getPrepaidUnitsEnabled();
|
|
624
|
+
}
|
|
625
|
+
if (hasPrepaidUnitsSuspended()) {
|
|
626
|
+
hash = (37 * hash) + PREPAID_UNITS_SUSPENDED_FIELD_NUMBER;
|
|
627
|
+
hash = (53 * hash) + getPrepaidUnitsSuspended();
|
|
628
|
+
}
|
|
629
|
+
if (hasPrepaidUnitsWarning()) {
|
|
630
|
+
hash = (37 * hash) + PREPAID_UNITS_WARNING_FIELD_NUMBER;
|
|
631
|
+
hash = (53 * hash) + getPrepaidUnitsWarning();
|
|
632
|
+
}
|
|
633
|
+
if (hasSkuPartNumber()) {
|
|
634
|
+
hash = (37 * hash) + SKU_PART_NUMBER_FIELD_NUMBER;
|
|
635
|
+
hash = (53 * hash) + getSkuPartNumber().hashCode();
|
|
636
|
+
}
|
|
637
|
+
if (hasAppliesTo()) {
|
|
638
|
+
hash = (37 * hash) + APPLIES_TO_FIELD_NUMBER;
|
|
639
|
+
hash = (53 * hash) + getAppliesTo().hashCode();
|
|
640
|
+
}
|
|
641
|
+
if (hasCapabilityStatus()) {
|
|
642
|
+
hash = (37 * hash) + CAPABILITY_STATUS_FIELD_NUMBER;
|
|
643
|
+
hash = (53 * hash) + getCapabilityStatus().hashCode();
|
|
644
|
+
}
|
|
645
|
+
if (!internalGetUsersKeys().getMap().isEmpty()) {
|
|
646
|
+
hash = (37 * hash) + USERS_KEYS_FIELD_NUMBER;
|
|
647
|
+
hash = (53 * hash) + internalGetUsersKeys().hashCode();
|
|
648
|
+
}
|
|
649
|
+
if (getServicePlansCount() > 0) {
|
|
650
|
+
hash = (37 * hash) + SERVICE_PLANS_FIELD_NUMBER;
|
|
651
|
+
hash = (53 * hash) + getServicePlansList().hashCode();
|
|
652
|
+
}
|
|
653
|
+
hash = (29 * hash) + getUnknownFields().hashCode();
|
|
654
|
+
memoizedHashCode = hash;
|
|
655
|
+
return hash;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
public static com.lansweeper.dp.outbound.v1.Office365License parseFrom(
|
|
659
|
+
java.nio.ByteBuffer data)
|
|
660
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
661
|
+
return PARSER.parseFrom(data);
|
|
662
|
+
}
|
|
663
|
+
public static com.lansweeper.dp.outbound.v1.Office365License parseFrom(
|
|
664
|
+
java.nio.ByteBuffer data,
|
|
665
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
666
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
667
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
668
|
+
}
|
|
669
|
+
public static com.lansweeper.dp.outbound.v1.Office365License parseFrom(
|
|
670
|
+
com.google.protobuf.ByteString data)
|
|
671
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
672
|
+
return PARSER.parseFrom(data);
|
|
673
|
+
}
|
|
674
|
+
public static com.lansweeper.dp.outbound.v1.Office365License parseFrom(
|
|
675
|
+
com.google.protobuf.ByteString data,
|
|
676
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
677
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
678
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
679
|
+
}
|
|
680
|
+
public static com.lansweeper.dp.outbound.v1.Office365License parseFrom(byte[] data)
|
|
681
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
682
|
+
return PARSER.parseFrom(data);
|
|
683
|
+
}
|
|
684
|
+
public static com.lansweeper.dp.outbound.v1.Office365License parseFrom(
|
|
685
|
+
byte[] data,
|
|
686
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
687
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
688
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
689
|
+
}
|
|
690
|
+
public static com.lansweeper.dp.outbound.v1.Office365License parseFrom(java.io.InputStream input)
|
|
691
|
+
throws java.io.IOException {
|
|
692
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
693
|
+
.parseWithIOException(PARSER, input);
|
|
694
|
+
}
|
|
695
|
+
public static com.lansweeper.dp.outbound.v1.Office365License parseFrom(
|
|
696
|
+
java.io.InputStream input,
|
|
697
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
698
|
+
throws java.io.IOException {
|
|
699
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
700
|
+
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
public static com.lansweeper.dp.outbound.v1.Office365License parseDelimitedFrom(java.io.InputStream input)
|
|
704
|
+
throws java.io.IOException {
|
|
705
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
706
|
+
.parseDelimitedWithIOException(PARSER, input);
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
public static com.lansweeper.dp.outbound.v1.Office365License parseDelimitedFrom(
|
|
710
|
+
java.io.InputStream input,
|
|
711
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
712
|
+
throws java.io.IOException {
|
|
713
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
714
|
+
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
|
715
|
+
}
|
|
716
|
+
public static com.lansweeper.dp.outbound.v1.Office365License parseFrom(
|
|
717
|
+
com.google.protobuf.CodedInputStream input)
|
|
718
|
+
throws java.io.IOException {
|
|
719
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
720
|
+
.parseWithIOException(PARSER, input);
|
|
721
|
+
}
|
|
722
|
+
public static com.lansweeper.dp.outbound.v1.Office365License parseFrom(
|
|
723
|
+
com.google.protobuf.CodedInputStream input,
|
|
724
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
725
|
+
throws java.io.IOException {
|
|
726
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
727
|
+
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
@java.lang.Override
|
|
731
|
+
public Builder newBuilderForType() { return newBuilder(); }
|
|
732
|
+
public static Builder newBuilder() {
|
|
733
|
+
return DEFAULT_INSTANCE.toBuilder();
|
|
734
|
+
}
|
|
735
|
+
public static Builder newBuilder(com.lansweeper.dp.outbound.v1.Office365License prototype) {
|
|
736
|
+
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
|
737
|
+
}
|
|
738
|
+
@java.lang.Override
|
|
739
|
+
public Builder toBuilder() {
|
|
740
|
+
return this == DEFAULT_INSTANCE
|
|
741
|
+
? new Builder() : new Builder().mergeFrom(this);
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
@java.lang.Override
|
|
745
|
+
protected Builder newBuilderForType(
|
|
746
|
+
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
747
|
+
Builder builder = new Builder(parent);
|
|
748
|
+
return builder;
|
|
749
|
+
}
|
|
750
|
+
/**
|
|
751
|
+
* Protobuf type {@code com.lansweeper.dp.outbound.v1.Office365License}
|
|
752
|
+
*/
|
|
753
|
+
public static final class Builder extends
|
|
754
|
+
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
755
|
+
// @@protoc_insertion_point(builder_implements:com.lansweeper.dp.outbound.v1.Office365License)
|
|
756
|
+
com.lansweeper.dp.outbound.v1.Office365LicenseOrBuilder {
|
|
757
|
+
public static final com.google.protobuf.Descriptors.Descriptor
|
|
758
|
+
getDescriptor() {
|
|
759
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_Office365License_descriptor;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
@SuppressWarnings({"rawtypes"})
|
|
763
|
+
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
|
|
764
|
+
int number) {
|
|
765
|
+
switch (number) {
|
|
766
|
+
case 9:
|
|
767
|
+
return internalGetUsersKeys();
|
|
768
|
+
default:
|
|
769
|
+
throw new RuntimeException(
|
|
770
|
+
"Invalid map field number: " + number);
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
@SuppressWarnings({"rawtypes"})
|
|
774
|
+
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
|
|
775
|
+
int number) {
|
|
776
|
+
switch (number) {
|
|
777
|
+
case 9:
|
|
778
|
+
return internalGetMutableUsersKeys();
|
|
779
|
+
default:
|
|
780
|
+
throw new RuntimeException(
|
|
781
|
+
"Invalid map field number: " + number);
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
@java.lang.Override
|
|
785
|
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
786
|
+
internalGetFieldAccessorTable() {
|
|
787
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_Office365License_fieldAccessorTable
|
|
788
|
+
.ensureFieldAccessorsInitialized(
|
|
789
|
+
com.lansweeper.dp.outbound.v1.Office365License.class, com.lansweeper.dp.outbound.v1.Office365License.Builder.class);
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
// Construct using com.lansweeper.dp.outbound.v1.Office365License.newBuilder()
|
|
793
|
+
private Builder() {
|
|
794
|
+
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
private Builder(
|
|
798
|
+
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
799
|
+
super(parent);
|
|
800
|
+
|
|
801
|
+
}
|
|
802
|
+
@java.lang.Override
|
|
803
|
+
public Builder clear() {
|
|
804
|
+
super.clear();
|
|
805
|
+
bitField0_ = 0;
|
|
806
|
+
skuId_ = "";
|
|
807
|
+
consumedUnits_ = 0;
|
|
808
|
+
prepaidUnitsEnabled_ = 0;
|
|
809
|
+
prepaidUnitsSuspended_ = 0;
|
|
810
|
+
prepaidUnitsWarning_ = 0;
|
|
811
|
+
skuPartNumber_ = "";
|
|
812
|
+
appliesTo_ = "";
|
|
813
|
+
capabilityStatus_ = "";
|
|
814
|
+
internalGetMutableUsersKeys().clear();
|
|
815
|
+
if (servicePlansBuilder_ == null) {
|
|
816
|
+
servicePlans_ = java.util.Collections.emptyList();
|
|
817
|
+
} else {
|
|
818
|
+
servicePlans_ = null;
|
|
819
|
+
servicePlansBuilder_.clear();
|
|
820
|
+
}
|
|
821
|
+
bitField0_ = (bitField0_ & ~0x00000200);
|
|
822
|
+
return this;
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
@java.lang.Override
|
|
826
|
+
public com.google.protobuf.Descriptors.Descriptor
|
|
827
|
+
getDescriptorForType() {
|
|
828
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_Office365License_descriptor;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
@java.lang.Override
|
|
832
|
+
public com.lansweeper.dp.outbound.v1.Office365License getDefaultInstanceForType() {
|
|
833
|
+
return com.lansweeper.dp.outbound.v1.Office365License.getDefaultInstance();
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
@java.lang.Override
|
|
837
|
+
public com.lansweeper.dp.outbound.v1.Office365License build() {
|
|
838
|
+
com.lansweeper.dp.outbound.v1.Office365License result = buildPartial();
|
|
839
|
+
if (!result.isInitialized()) {
|
|
840
|
+
throw newUninitializedMessageException(result);
|
|
841
|
+
}
|
|
842
|
+
return result;
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
@java.lang.Override
|
|
846
|
+
public com.lansweeper.dp.outbound.v1.Office365License buildPartial() {
|
|
847
|
+
com.lansweeper.dp.outbound.v1.Office365License result = new com.lansweeper.dp.outbound.v1.Office365License(this);
|
|
848
|
+
buildPartialRepeatedFields(result);
|
|
849
|
+
if (bitField0_ != 0) { buildPartial0(result); }
|
|
850
|
+
onBuilt();
|
|
851
|
+
return result;
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
private void buildPartialRepeatedFields(com.lansweeper.dp.outbound.v1.Office365License result) {
|
|
855
|
+
if (servicePlansBuilder_ == null) {
|
|
856
|
+
if (((bitField0_ & 0x00000200) != 0)) {
|
|
857
|
+
servicePlans_ = java.util.Collections.unmodifiableList(servicePlans_);
|
|
858
|
+
bitField0_ = (bitField0_ & ~0x00000200);
|
|
859
|
+
}
|
|
860
|
+
result.servicePlans_ = servicePlans_;
|
|
861
|
+
} else {
|
|
862
|
+
result.servicePlans_ = servicePlansBuilder_.build();
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
private void buildPartial0(com.lansweeper.dp.outbound.v1.Office365License result) {
|
|
867
|
+
int from_bitField0_ = bitField0_;
|
|
868
|
+
if (((from_bitField0_ & 0x00000001) != 0)) {
|
|
869
|
+
result.skuId_ = skuId_;
|
|
870
|
+
}
|
|
871
|
+
int to_bitField0_ = 0;
|
|
872
|
+
if (((from_bitField0_ & 0x00000002) != 0)) {
|
|
873
|
+
result.consumedUnits_ = consumedUnits_;
|
|
874
|
+
to_bitField0_ |= 0x00000001;
|
|
875
|
+
}
|
|
876
|
+
if (((from_bitField0_ & 0x00000004) != 0)) {
|
|
877
|
+
result.prepaidUnitsEnabled_ = prepaidUnitsEnabled_;
|
|
878
|
+
to_bitField0_ |= 0x00000002;
|
|
879
|
+
}
|
|
880
|
+
if (((from_bitField0_ & 0x00000008) != 0)) {
|
|
881
|
+
result.prepaidUnitsSuspended_ = prepaidUnitsSuspended_;
|
|
882
|
+
to_bitField0_ |= 0x00000004;
|
|
883
|
+
}
|
|
884
|
+
if (((from_bitField0_ & 0x00000010) != 0)) {
|
|
885
|
+
result.prepaidUnitsWarning_ = prepaidUnitsWarning_;
|
|
886
|
+
to_bitField0_ |= 0x00000008;
|
|
887
|
+
}
|
|
888
|
+
if (((from_bitField0_ & 0x00000020) != 0)) {
|
|
889
|
+
result.skuPartNumber_ = skuPartNumber_;
|
|
890
|
+
to_bitField0_ |= 0x00000010;
|
|
891
|
+
}
|
|
892
|
+
if (((from_bitField0_ & 0x00000040) != 0)) {
|
|
893
|
+
result.appliesTo_ = appliesTo_;
|
|
894
|
+
to_bitField0_ |= 0x00000020;
|
|
895
|
+
}
|
|
896
|
+
if (((from_bitField0_ & 0x00000080) != 0)) {
|
|
897
|
+
result.capabilityStatus_ = capabilityStatus_;
|
|
898
|
+
to_bitField0_ |= 0x00000040;
|
|
899
|
+
}
|
|
900
|
+
if (((from_bitField0_ & 0x00000100) != 0)) {
|
|
901
|
+
result.usersKeys_ = internalGetUsersKeys();
|
|
902
|
+
result.usersKeys_.makeImmutable();
|
|
903
|
+
}
|
|
904
|
+
result.bitField0_ |= to_bitField0_;
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
@java.lang.Override
|
|
908
|
+
public Builder clone() {
|
|
909
|
+
return super.clone();
|
|
910
|
+
}
|
|
911
|
+
@java.lang.Override
|
|
912
|
+
public Builder setField(
|
|
913
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
914
|
+
java.lang.Object value) {
|
|
915
|
+
return super.setField(field, value);
|
|
916
|
+
}
|
|
917
|
+
@java.lang.Override
|
|
918
|
+
public Builder clearField(
|
|
919
|
+
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
|
920
|
+
return super.clearField(field);
|
|
921
|
+
}
|
|
922
|
+
@java.lang.Override
|
|
923
|
+
public Builder clearOneof(
|
|
924
|
+
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
|
925
|
+
return super.clearOneof(oneof);
|
|
926
|
+
}
|
|
927
|
+
@java.lang.Override
|
|
928
|
+
public Builder setRepeatedField(
|
|
929
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
930
|
+
int index, java.lang.Object value) {
|
|
931
|
+
return super.setRepeatedField(field, index, value);
|
|
932
|
+
}
|
|
933
|
+
@java.lang.Override
|
|
934
|
+
public Builder addRepeatedField(
|
|
935
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
936
|
+
java.lang.Object value) {
|
|
937
|
+
return super.addRepeatedField(field, value);
|
|
938
|
+
}
|
|
939
|
+
@java.lang.Override
|
|
940
|
+
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
941
|
+
if (other instanceof com.lansweeper.dp.outbound.v1.Office365License) {
|
|
942
|
+
return mergeFrom((com.lansweeper.dp.outbound.v1.Office365License)other);
|
|
943
|
+
} else {
|
|
944
|
+
super.mergeFrom(other);
|
|
945
|
+
return this;
|
|
946
|
+
}
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
public Builder mergeFrom(com.lansweeper.dp.outbound.v1.Office365License other) {
|
|
950
|
+
if (other == com.lansweeper.dp.outbound.v1.Office365License.getDefaultInstance()) return this;
|
|
951
|
+
if (!other.getSkuId().isEmpty()) {
|
|
952
|
+
skuId_ = other.skuId_;
|
|
953
|
+
bitField0_ |= 0x00000001;
|
|
954
|
+
onChanged();
|
|
955
|
+
}
|
|
956
|
+
if (other.hasConsumedUnits()) {
|
|
957
|
+
setConsumedUnits(other.getConsumedUnits());
|
|
958
|
+
}
|
|
959
|
+
if (other.hasPrepaidUnitsEnabled()) {
|
|
960
|
+
setPrepaidUnitsEnabled(other.getPrepaidUnitsEnabled());
|
|
961
|
+
}
|
|
962
|
+
if (other.hasPrepaidUnitsSuspended()) {
|
|
963
|
+
setPrepaidUnitsSuspended(other.getPrepaidUnitsSuspended());
|
|
964
|
+
}
|
|
965
|
+
if (other.hasPrepaidUnitsWarning()) {
|
|
966
|
+
setPrepaidUnitsWarning(other.getPrepaidUnitsWarning());
|
|
967
|
+
}
|
|
968
|
+
if (other.hasSkuPartNumber()) {
|
|
969
|
+
skuPartNumber_ = other.skuPartNumber_;
|
|
970
|
+
bitField0_ |= 0x00000020;
|
|
971
|
+
onChanged();
|
|
972
|
+
}
|
|
973
|
+
if (other.hasAppliesTo()) {
|
|
974
|
+
appliesTo_ = other.appliesTo_;
|
|
975
|
+
bitField0_ |= 0x00000040;
|
|
976
|
+
onChanged();
|
|
977
|
+
}
|
|
978
|
+
if (other.hasCapabilityStatus()) {
|
|
979
|
+
capabilityStatus_ = other.capabilityStatus_;
|
|
980
|
+
bitField0_ |= 0x00000080;
|
|
981
|
+
onChanged();
|
|
982
|
+
}
|
|
983
|
+
internalGetMutableUsersKeys().mergeFrom(
|
|
984
|
+
other.internalGetUsersKeys());
|
|
985
|
+
bitField0_ |= 0x00000100;
|
|
986
|
+
if (servicePlansBuilder_ == null) {
|
|
987
|
+
if (!other.servicePlans_.isEmpty()) {
|
|
988
|
+
if (servicePlans_.isEmpty()) {
|
|
989
|
+
servicePlans_ = other.servicePlans_;
|
|
990
|
+
bitField0_ = (bitField0_ & ~0x00000200);
|
|
991
|
+
} else {
|
|
992
|
+
ensureServicePlansIsMutable();
|
|
993
|
+
servicePlans_.addAll(other.servicePlans_);
|
|
994
|
+
}
|
|
995
|
+
onChanged();
|
|
996
|
+
}
|
|
997
|
+
} else {
|
|
998
|
+
if (!other.servicePlans_.isEmpty()) {
|
|
999
|
+
if (servicePlansBuilder_.isEmpty()) {
|
|
1000
|
+
servicePlansBuilder_.dispose();
|
|
1001
|
+
servicePlansBuilder_ = null;
|
|
1002
|
+
servicePlans_ = other.servicePlans_;
|
|
1003
|
+
bitField0_ = (bitField0_ & ~0x00000200);
|
|
1004
|
+
servicePlansBuilder_ =
|
|
1005
|
+
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
|
|
1006
|
+
getServicePlansFieldBuilder() : null;
|
|
1007
|
+
} else {
|
|
1008
|
+
servicePlansBuilder_.addAllMessages(other.servicePlans_);
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
this.mergeUnknownFields(other.getUnknownFields());
|
|
1013
|
+
onChanged();
|
|
1014
|
+
return this;
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
@java.lang.Override
|
|
1018
|
+
public final boolean isInitialized() {
|
|
1019
|
+
return true;
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
@java.lang.Override
|
|
1023
|
+
public Builder mergeFrom(
|
|
1024
|
+
com.google.protobuf.CodedInputStream input,
|
|
1025
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
1026
|
+
throws java.io.IOException {
|
|
1027
|
+
if (extensionRegistry == null) {
|
|
1028
|
+
throw new java.lang.NullPointerException();
|
|
1029
|
+
}
|
|
1030
|
+
try {
|
|
1031
|
+
boolean done = false;
|
|
1032
|
+
while (!done) {
|
|
1033
|
+
int tag = input.readTag();
|
|
1034
|
+
switch (tag) {
|
|
1035
|
+
case 0:
|
|
1036
|
+
done = true;
|
|
1037
|
+
break;
|
|
1038
|
+
case 10: {
|
|
1039
|
+
skuId_ = input.readStringRequireUtf8();
|
|
1040
|
+
bitField0_ |= 0x00000001;
|
|
1041
|
+
break;
|
|
1042
|
+
} // case 10
|
|
1043
|
+
case 16: {
|
|
1044
|
+
consumedUnits_ = input.readInt32();
|
|
1045
|
+
bitField0_ |= 0x00000002;
|
|
1046
|
+
break;
|
|
1047
|
+
} // case 16
|
|
1048
|
+
case 24: {
|
|
1049
|
+
prepaidUnitsEnabled_ = input.readInt32();
|
|
1050
|
+
bitField0_ |= 0x00000004;
|
|
1051
|
+
break;
|
|
1052
|
+
} // case 24
|
|
1053
|
+
case 32: {
|
|
1054
|
+
prepaidUnitsSuspended_ = input.readInt32();
|
|
1055
|
+
bitField0_ |= 0x00000008;
|
|
1056
|
+
break;
|
|
1057
|
+
} // case 32
|
|
1058
|
+
case 40: {
|
|
1059
|
+
prepaidUnitsWarning_ = input.readInt32();
|
|
1060
|
+
bitField0_ |= 0x00000010;
|
|
1061
|
+
break;
|
|
1062
|
+
} // case 40
|
|
1063
|
+
case 50: {
|
|
1064
|
+
skuPartNumber_ = input.readStringRequireUtf8();
|
|
1065
|
+
bitField0_ |= 0x00000020;
|
|
1066
|
+
break;
|
|
1067
|
+
} // case 50
|
|
1068
|
+
case 58: {
|
|
1069
|
+
appliesTo_ = input.readStringRequireUtf8();
|
|
1070
|
+
bitField0_ |= 0x00000040;
|
|
1071
|
+
break;
|
|
1072
|
+
} // case 58
|
|
1073
|
+
case 66: {
|
|
1074
|
+
capabilityStatus_ = input.readStringRequireUtf8();
|
|
1075
|
+
bitField0_ |= 0x00000080;
|
|
1076
|
+
break;
|
|
1077
|
+
} // case 66
|
|
1078
|
+
case 74: {
|
|
1079
|
+
com.google.protobuf.MapEntry<java.lang.String, java.lang.Boolean>
|
|
1080
|
+
usersKeys__ = input.readMessage(
|
|
1081
|
+
UsersKeysDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
|
|
1082
|
+
internalGetMutableUsersKeys().getMutableMap().put(
|
|
1083
|
+
usersKeys__.getKey(), usersKeys__.getValue());
|
|
1084
|
+
bitField0_ |= 0x00000100;
|
|
1085
|
+
break;
|
|
1086
|
+
} // case 74
|
|
1087
|
+
case 82: {
|
|
1088
|
+
com.lansweeper.dp.outbound.v1.Office365ServicePlan m =
|
|
1089
|
+
input.readMessage(
|
|
1090
|
+
com.lansweeper.dp.outbound.v1.Office365ServicePlan.parser(),
|
|
1091
|
+
extensionRegistry);
|
|
1092
|
+
if (servicePlansBuilder_ == null) {
|
|
1093
|
+
ensureServicePlansIsMutable();
|
|
1094
|
+
servicePlans_.add(m);
|
|
1095
|
+
} else {
|
|
1096
|
+
servicePlansBuilder_.addMessage(m);
|
|
1097
|
+
}
|
|
1098
|
+
break;
|
|
1099
|
+
} // case 82
|
|
1100
|
+
default: {
|
|
1101
|
+
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
|
1102
|
+
done = true; // was an endgroup tag
|
|
1103
|
+
}
|
|
1104
|
+
break;
|
|
1105
|
+
} // default:
|
|
1106
|
+
} // switch (tag)
|
|
1107
|
+
} // while (!done)
|
|
1108
|
+
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
1109
|
+
throw e.unwrapIOException();
|
|
1110
|
+
} finally {
|
|
1111
|
+
onChanged();
|
|
1112
|
+
} // finally
|
|
1113
|
+
return this;
|
|
1114
|
+
}
|
|
1115
|
+
private int bitField0_;
|
|
1116
|
+
|
|
1117
|
+
private java.lang.Object skuId_ = "";
|
|
1118
|
+
/**
|
|
1119
|
+
* <code>string sku_id = 1;</code>
|
|
1120
|
+
* @return The skuId.
|
|
1121
|
+
*/
|
|
1122
|
+
public java.lang.String getSkuId() {
|
|
1123
|
+
java.lang.Object ref = skuId_;
|
|
1124
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1125
|
+
com.google.protobuf.ByteString bs =
|
|
1126
|
+
(com.google.protobuf.ByteString) ref;
|
|
1127
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1128
|
+
skuId_ = s;
|
|
1129
|
+
return s;
|
|
1130
|
+
} else {
|
|
1131
|
+
return (java.lang.String) ref;
|
|
1132
|
+
}
|
|
1133
|
+
}
|
|
1134
|
+
/**
|
|
1135
|
+
* <code>string sku_id = 1;</code>
|
|
1136
|
+
* @return The bytes for skuId.
|
|
1137
|
+
*/
|
|
1138
|
+
public com.google.protobuf.ByteString
|
|
1139
|
+
getSkuIdBytes() {
|
|
1140
|
+
java.lang.Object ref = skuId_;
|
|
1141
|
+
if (ref instanceof String) {
|
|
1142
|
+
com.google.protobuf.ByteString b =
|
|
1143
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1144
|
+
(java.lang.String) ref);
|
|
1145
|
+
skuId_ = b;
|
|
1146
|
+
return b;
|
|
1147
|
+
} else {
|
|
1148
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1149
|
+
}
|
|
1150
|
+
}
|
|
1151
|
+
/**
|
|
1152
|
+
* <code>string sku_id = 1;</code>
|
|
1153
|
+
* @param value The skuId to set.
|
|
1154
|
+
* @return This builder for chaining.
|
|
1155
|
+
*/
|
|
1156
|
+
public Builder setSkuId(
|
|
1157
|
+
java.lang.String value) {
|
|
1158
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1159
|
+
skuId_ = value;
|
|
1160
|
+
bitField0_ |= 0x00000001;
|
|
1161
|
+
onChanged();
|
|
1162
|
+
return this;
|
|
1163
|
+
}
|
|
1164
|
+
/**
|
|
1165
|
+
* <code>string sku_id = 1;</code>
|
|
1166
|
+
* @return This builder for chaining.
|
|
1167
|
+
*/
|
|
1168
|
+
public Builder clearSkuId() {
|
|
1169
|
+
skuId_ = getDefaultInstance().getSkuId();
|
|
1170
|
+
bitField0_ = (bitField0_ & ~0x00000001);
|
|
1171
|
+
onChanged();
|
|
1172
|
+
return this;
|
|
1173
|
+
}
|
|
1174
|
+
/**
|
|
1175
|
+
* <code>string sku_id = 1;</code>
|
|
1176
|
+
* @param value The bytes for skuId to set.
|
|
1177
|
+
* @return This builder for chaining.
|
|
1178
|
+
*/
|
|
1179
|
+
public Builder setSkuIdBytes(
|
|
1180
|
+
com.google.protobuf.ByteString value) {
|
|
1181
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1182
|
+
checkByteStringIsUtf8(value);
|
|
1183
|
+
skuId_ = value;
|
|
1184
|
+
bitField0_ |= 0x00000001;
|
|
1185
|
+
onChanged();
|
|
1186
|
+
return this;
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
private int consumedUnits_ ;
|
|
1190
|
+
/**
|
|
1191
|
+
* <code>optional int32 consumed_units = 2;</code>
|
|
1192
|
+
* @return Whether the consumedUnits field is set.
|
|
1193
|
+
*/
|
|
1194
|
+
@java.lang.Override
|
|
1195
|
+
public boolean hasConsumedUnits() {
|
|
1196
|
+
return ((bitField0_ & 0x00000002) != 0);
|
|
1197
|
+
}
|
|
1198
|
+
/**
|
|
1199
|
+
* <code>optional int32 consumed_units = 2;</code>
|
|
1200
|
+
* @return The consumedUnits.
|
|
1201
|
+
*/
|
|
1202
|
+
@java.lang.Override
|
|
1203
|
+
public int getConsumedUnits() {
|
|
1204
|
+
return consumedUnits_;
|
|
1205
|
+
}
|
|
1206
|
+
/**
|
|
1207
|
+
* <code>optional int32 consumed_units = 2;</code>
|
|
1208
|
+
* @param value The consumedUnits to set.
|
|
1209
|
+
* @return This builder for chaining.
|
|
1210
|
+
*/
|
|
1211
|
+
public Builder setConsumedUnits(int value) {
|
|
1212
|
+
|
|
1213
|
+
consumedUnits_ = value;
|
|
1214
|
+
bitField0_ |= 0x00000002;
|
|
1215
|
+
onChanged();
|
|
1216
|
+
return this;
|
|
1217
|
+
}
|
|
1218
|
+
/**
|
|
1219
|
+
* <code>optional int32 consumed_units = 2;</code>
|
|
1220
|
+
* @return This builder for chaining.
|
|
1221
|
+
*/
|
|
1222
|
+
public Builder clearConsumedUnits() {
|
|
1223
|
+
bitField0_ = (bitField0_ & ~0x00000002);
|
|
1224
|
+
consumedUnits_ = 0;
|
|
1225
|
+
onChanged();
|
|
1226
|
+
return this;
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
private int prepaidUnitsEnabled_ ;
|
|
1230
|
+
/**
|
|
1231
|
+
* <code>optional int32 prepaid_units_enabled = 3;</code>
|
|
1232
|
+
* @return Whether the prepaidUnitsEnabled field is set.
|
|
1233
|
+
*/
|
|
1234
|
+
@java.lang.Override
|
|
1235
|
+
public boolean hasPrepaidUnitsEnabled() {
|
|
1236
|
+
return ((bitField0_ & 0x00000004) != 0);
|
|
1237
|
+
}
|
|
1238
|
+
/**
|
|
1239
|
+
* <code>optional int32 prepaid_units_enabled = 3;</code>
|
|
1240
|
+
* @return The prepaidUnitsEnabled.
|
|
1241
|
+
*/
|
|
1242
|
+
@java.lang.Override
|
|
1243
|
+
public int getPrepaidUnitsEnabled() {
|
|
1244
|
+
return prepaidUnitsEnabled_;
|
|
1245
|
+
}
|
|
1246
|
+
/**
|
|
1247
|
+
* <code>optional int32 prepaid_units_enabled = 3;</code>
|
|
1248
|
+
* @param value The prepaidUnitsEnabled to set.
|
|
1249
|
+
* @return This builder for chaining.
|
|
1250
|
+
*/
|
|
1251
|
+
public Builder setPrepaidUnitsEnabled(int value) {
|
|
1252
|
+
|
|
1253
|
+
prepaidUnitsEnabled_ = value;
|
|
1254
|
+
bitField0_ |= 0x00000004;
|
|
1255
|
+
onChanged();
|
|
1256
|
+
return this;
|
|
1257
|
+
}
|
|
1258
|
+
/**
|
|
1259
|
+
* <code>optional int32 prepaid_units_enabled = 3;</code>
|
|
1260
|
+
* @return This builder for chaining.
|
|
1261
|
+
*/
|
|
1262
|
+
public Builder clearPrepaidUnitsEnabled() {
|
|
1263
|
+
bitField0_ = (bitField0_ & ~0x00000004);
|
|
1264
|
+
prepaidUnitsEnabled_ = 0;
|
|
1265
|
+
onChanged();
|
|
1266
|
+
return this;
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
private int prepaidUnitsSuspended_ ;
|
|
1270
|
+
/**
|
|
1271
|
+
* <code>optional int32 prepaid_units_suspended = 4;</code>
|
|
1272
|
+
* @return Whether the prepaidUnitsSuspended field is set.
|
|
1273
|
+
*/
|
|
1274
|
+
@java.lang.Override
|
|
1275
|
+
public boolean hasPrepaidUnitsSuspended() {
|
|
1276
|
+
return ((bitField0_ & 0x00000008) != 0);
|
|
1277
|
+
}
|
|
1278
|
+
/**
|
|
1279
|
+
* <code>optional int32 prepaid_units_suspended = 4;</code>
|
|
1280
|
+
* @return The prepaidUnitsSuspended.
|
|
1281
|
+
*/
|
|
1282
|
+
@java.lang.Override
|
|
1283
|
+
public int getPrepaidUnitsSuspended() {
|
|
1284
|
+
return prepaidUnitsSuspended_;
|
|
1285
|
+
}
|
|
1286
|
+
/**
|
|
1287
|
+
* <code>optional int32 prepaid_units_suspended = 4;</code>
|
|
1288
|
+
* @param value The prepaidUnitsSuspended to set.
|
|
1289
|
+
* @return This builder for chaining.
|
|
1290
|
+
*/
|
|
1291
|
+
public Builder setPrepaidUnitsSuspended(int value) {
|
|
1292
|
+
|
|
1293
|
+
prepaidUnitsSuspended_ = value;
|
|
1294
|
+
bitField0_ |= 0x00000008;
|
|
1295
|
+
onChanged();
|
|
1296
|
+
return this;
|
|
1297
|
+
}
|
|
1298
|
+
/**
|
|
1299
|
+
* <code>optional int32 prepaid_units_suspended = 4;</code>
|
|
1300
|
+
* @return This builder for chaining.
|
|
1301
|
+
*/
|
|
1302
|
+
public Builder clearPrepaidUnitsSuspended() {
|
|
1303
|
+
bitField0_ = (bitField0_ & ~0x00000008);
|
|
1304
|
+
prepaidUnitsSuspended_ = 0;
|
|
1305
|
+
onChanged();
|
|
1306
|
+
return this;
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
private int prepaidUnitsWarning_ ;
|
|
1310
|
+
/**
|
|
1311
|
+
* <code>optional int32 prepaid_units_warning = 5;</code>
|
|
1312
|
+
* @return Whether the prepaidUnitsWarning field is set.
|
|
1313
|
+
*/
|
|
1314
|
+
@java.lang.Override
|
|
1315
|
+
public boolean hasPrepaidUnitsWarning() {
|
|
1316
|
+
return ((bitField0_ & 0x00000010) != 0);
|
|
1317
|
+
}
|
|
1318
|
+
/**
|
|
1319
|
+
* <code>optional int32 prepaid_units_warning = 5;</code>
|
|
1320
|
+
* @return The prepaidUnitsWarning.
|
|
1321
|
+
*/
|
|
1322
|
+
@java.lang.Override
|
|
1323
|
+
public int getPrepaidUnitsWarning() {
|
|
1324
|
+
return prepaidUnitsWarning_;
|
|
1325
|
+
}
|
|
1326
|
+
/**
|
|
1327
|
+
* <code>optional int32 prepaid_units_warning = 5;</code>
|
|
1328
|
+
* @param value The prepaidUnitsWarning to set.
|
|
1329
|
+
* @return This builder for chaining.
|
|
1330
|
+
*/
|
|
1331
|
+
public Builder setPrepaidUnitsWarning(int value) {
|
|
1332
|
+
|
|
1333
|
+
prepaidUnitsWarning_ = value;
|
|
1334
|
+
bitField0_ |= 0x00000010;
|
|
1335
|
+
onChanged();
|
|
1336
|
+
return this;
|
|
1337
|
+
}
|
|
1338
|
+
/**
|
|
1339
|
+
* <code>optional int32 prepaid_units_warning = 5;</code>
|
|
1340
|
+
* @return This builder for chaining.
|
|
1341
|
+
*/
|
|
1342
|
+
public Builder clearPrepaidUnitsWarning() {
|
|
1343
|
+
bitField0_ = (bitField0_ & ~0x00000010);
|
|
1344
|
+
prepaidUnitsWarning_ = 0;
|
|
1345
|
+
onChanged();
|
|
1346
|
+
return this;
|
|
1347
|
+
}
|
|
1348
|
+
|
|
1349
|
+
private java.lang.Object skuPartNumber_ = "";
|
|
1350
|
+
/**
|
|
1351
|
+
* <code>optional string sku_part_number = 6;</code>
|
|
1352
|
+
* @return Whether the skuPartNumber field is set.
|
|
1353
|
+
*/
|
|
1354
|
+
public boolean hasSkuPartNumber() {
|
|
1355
|
+
return ((bitField0_ & 0x00000020) != 0);
|
|
1356
|
+
}
|
|
1357
|
+
/**
|
|
1358
|
+
* <code>optional string sku_part_number = 6;</code>
|
|
1359
|
+
* @return The skuPartNumber.
|
|
1360
|
+
*/
|
|
1361
|
+
public java.lang.String getSkuPartNumber() {
|
|
1362
|
+
java.lang.Object ref = skuPartNumber_;
|
|
1363
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1364
|
+
com.google.protobuf.ByteString bs =
|
|
1365
|
+
(com.google.protobuf.ByteString) ref;
|
|
1366
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1367
|
+
skuPartNumber_ = s;
|
|
1368
|
+
return s;
|
|
1369
|
+
} else {
|
|
1370
|
+
return (java.lang.String) ref;
|
|
1371
|
+
}
|
|
1372
|
+
}
|
|
1373
|
+
/**
|
|
1374
|
+
* <code>optional string sku_part_number = 6;</code>
|
|
1375
|
+
* @return The bytes for skuPartNumber.
|
|
1376
|
+
*/
|
|
1377
|
+
public com.google.protobuf.ByteString
|
|
1378
|
+
getSkuPartNumberBytes() {
|
|
1379
|
+
java.lang.Object ref = skuPartNumber_;
|
|
1380
|
+
if (ref instanceof String) {
|
|
1381
|
+
com.google.protobuf.ByteString b =
|
|
1382
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1383
|
+
(java.lang.String) ref);
|
|
1384
|
+
skuPartNumber_ = b;
|
|
1385
|
+
return b;
|
|
1386
|
+
} else {
|
|
1387
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1388
|
+
}
|
|
1389
|
+
}
|
|
1390
|
+
/**
|
|
1391
|
+
* <code>optional string sku_part_number = 6;</code>
|
|
1392
|
+
* @param value The skuPartNumber to set.
|
|
1393
|
+
* @return This builder for chaining.
|
|
1394
|
+
*/
|
|
1395
|
+
public Builder setSkuPartNumber(
|
|
1396
|
+
java.lang.String value) {
|
|
1397
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1398
|
+
skuPartNumber_ = value;
|
|
1399
|
+
bitField0_ |= 0x00000020;
|
|
1400
|
+
onChanged();
|
|
1401
|
+
return this;
|
|
1402
|
+
}
|
|
1403
|
+
/**
|
|
1404
|
+
* <code>optional string sku_part_number = 6;</code>
|
|
1405
|
+
* @return This builder for chaining.
|
|
1406
|
+
*/
|
|
1407
|
+
public Builder clearSkuPartNumber() {
|
|
1408
|
+
skuPartNumber_ = getDefaultInstance().getSkuPartNumber();
|
|
1409
|
+
bitField0_ = (bitField0_ & ~0x00000020);
|
|
1410
|
+
onChanged();
|
|
1411
|
+
return this;
|
|
1412
|
+
}
|
|
1413
|
+
/**
|
|
1414
|
+
* <code>optional string sku_part_number = 6;</code>
|
|
1415
|
+
* @param value The bytes for skuPartNumber to set.
|
|
1416
|
+
* @return This builder for chaining.
|
|
1417
|
+
*/
|
|
1418
|
+
public Builder setSkuPartNumberBytes(
|
|
1419
|
+
com.google.protobuf.ByteString value) {
|
|
1420
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1421
|
+
checkByteStringIsUtf8(value);
|
|
1422
|
+
skuPartNumber_ = value;
|
|
1423
|
+
bitField0_ |= 0x00000020;
|
|
1424
|
+
onChanged();
|
|
1425
|
+
return this;
|
|
1426
|
+
}
|
|
1427
|
+
|
|
1428
|
+
private java.lang.Object appliesTo_ = "";
|
|
1429
|
+
/**
|
|
1430
|
+
* <code>optional string applies_to = 7;</code>
|
|
1431
|
+
* @return Whether the appliesTo field is set.
|
|
1432
|
+
*/
|
|
1433
|
+
public boolean hasAppliesTo() {
|
|
1434
|
+
return ((bitField0_ & 0x00000040) != 0);
|
|
1435
|
+
}
|
|
1436
|
+
/**
|
|
1437
|
+
* <code>optional string applies_to = 7;</code>
|
|
1438
|
+
* @return The appliesTo.
|
|
1439
|
+
*/
|
|
1440
|
+
public java.lang.String getAppliesTo() {
|
|
1441
|
+
java.lang.Object ref = appliesTo_;
|
|
1442
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1443
|
+
com.google.protobuf.ByteString bs =
|
|
1444
|
+
(com.google.protobuf.ByteString) ref;
|
|
1445
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1446
|
+
appliesTo_ = s;
|
|
1447
|
+
return s;
|
|
1448
|
+
} else {
|
|
1449
|
+
return (java.lang.String) ref;
|
|
1450
|
+
}
|
|
1451
|
+
}
|
|
1452
|
+
/**
|
|
1453
|
+
* <code>optional string applies_to = 7;</code>
|
|
1454
|
+
* @return The bytes for appliesTo.
|
|
1455
|
+
*/
|
|
1456
|
+
public com.google.protobuf.ByteString
|
|
1457
|
+
getAppliesToBytes() {
|
|
1458
|
+
java.lang.Object ref = appliesTo_;
|
|
1459
|
+
if (ref instanceof String) {
|
|
1460
|
+
com.google.protobuf.ByteString b =
|
|
1461
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1462
|
+
(java.lang.String) ref);
|
|
1463
|
+
appliesTo_ = b;
|
|
1464
|
+
return b;
|
|
1465
|
+
} else {
|
|
1466
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1467
|
+
}
|
|
1468
|
+
}
|
|
1469
|
+
/**
|
|
1470
|
+
* <code>optional string applies_to = 7;</code>
|
|
1471
|
+
* @param value The appliesTo to set.
|
|
1472
|
+
* @return This builder for chaining.
|
|
1473
|
+
*/
|
|
1474
|
+
public Builder setAppliesTo(
|
|
1475
|
+
java.lang.String value) {
|
|
1476
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1477
|
+
appliesTo_ = value;
|
|
1478
|
+
bitField0_ |= 0x00000040;
|
|
1479
|
+
onChanged();
|
|
1480
|
+
return this;
|
|
1481
|
+
}
|
|
1482
|
+
/**
|
|
1483
|
+
* <code>optional string applies_to = 7;</code>
|
|
1484
|
+
* @return This builder for chaining.
|
|
1485
|
+
*/
|
|
1486
|
+
public Builder clearAppliesTo() {
|
|
1487
|
+
appliesTo_ = getDefaultInstance().getAppliesTo();
|
|
1488
|
+
bitField0_ = (bitField0_ & ~0x00000040);
|
|
1489
|
+
onChanged();
|
|
1490
|
+
return this;
|
|
1491
|
+
}
|
|
1492
|
+
/**
|
|
1493
|
+
* <code>optional string applies_to = 7;</code>
|
|
1494
|
+
* @param value The bytes for appliesTo to set.
|
|
1495
|
+
* @return This builder for chaining.
|
|
1496
|
+
*/
|
|
1497
|
+
public Builder setAppliesToBytes(
|
|
1498
|
+
com.google.protobuf.ByteString value) {
|
|
1499
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1500
|
+
checkByteStringIsUtf8(value);
|
|
1501
|
+
appliesTo_ = value;
|
|
1502
|
+
bitField0_ |= 0x00000040;
|
|
1503
|
+
onChanged();
|
|
1504
|
+
return this;
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
private java.lang.Object capabilityStatus_ = "";
|
|
1508
|
+
/**
|
|
1509
|
+
* <code>optional string capability_status = 8;</code>
|
|
1510
|
+
* @return Whether the capabilityStatus field is set.
|
|
1511
|
+
*/
|
|
1512
|
+
public boolean hasCapabilityStatus() {
|
|
1513
|
+
return ((bitField0_ & 0x00000080) != 0);
|
|
1514
|
+
}
|
|
1515
|
+
/**
|
|
1516
|
+
* <code>optional string capability_status = 8;</code>
|
|
1517
|
+
* @return The capabilityStatus.
|
|
1518
|
+
*/
|
|
1519
|
+
public java.lang.String getCapabilityStatus() {
|
|
1520
|
+
java.lang.Object ref = capabilityStatus_;
|
|
1521
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1522
|
+
com.google.protobuf.ByteString bs =
|
|
1523
|
+
(com.google.protobuf.ByteString) ref;
|
|
1524
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1525
|
+
capabilityStatus_ = s;
|
|
1526
|
+
return s;
|
|
1527
|
+
} else {
|
|
1528
|
+
return (java.lang.String) ref;
|
|
1529
|
+
}
|
|
1530
|
+
}
|
|
1531
|
+
/**
|
|
1532
|
+
* <code>optional string capability_status = 8;</code>
|
|
1533
|
+
* @return The bytes for capabilityStatus.
|
|
1534
|
+
*/
|
|
1535
|
+
public com.google.protobuf.ByteString
|
|
1536
|
+
getCapabilityStatusBytes() {
|
|
1537
|
+
java.lang.Object ref = capabilityStatus_;
|
|
1538
|
+
if (ref instanceof String) {
|
|
1539
|
+
com.google.protobuf.ByteString b =
|
|
1540
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1541
|
+
(java.lang.String) ref);
|
|
1542
|
+
capabilityStatus_ = b;
|
|
1543
|
+
return b;
|
|
1544
|
+
} else {
|
|
1545
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1546
|
+
}
|
|
1547
|
+
}
|
|
1548
|
+
/**
|
|
1549
|
+
* <code>optional string capability_status = 8;</code>
|
|
1550
|
+
* @param value The capabilityStatus to set.
|
|
1551
|
+
* @return This builder for chaining.
|
|
1552
|
+
*/
|
|
1553
|
+
public Builder setCapabilityStatus(
|
|
1554
|
+
java.lang.String value) {
|
|
1555
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1556
|
+
capabilityStatus_ = value;
|
|
1557
|
+
bitField0_ |= 0x00000080;
|
|
1558
|
+
onChanged();
|
|
1559
|
+
return this;
|
|
1560
|
+
}
|
|
1561
|
+
/**
|
|
1562
|
+
* <code>optional string capability_status = 8;</code>
|
|
1563
|
+
* @return This builder for chaining.
|
|
1564
|
+
*/
|
|
1565
|
+
public Builder clearCapabilityStatus() {
|
|
1566
|
+
capabilityStatus_ = getDefaultInstance().getCapabilityStatus();
|
|
1567
|
+
bitField0_ = (bitField0_ & ~0x00000080);
|
|
1568
|
+
onChanged();
|
|
1569
|
+
return this;
|
|
1570
|
+
}
|
|
1571
|
+
/**
|
|
1572
|
+
* <code>optional string capability_status = 8;</code>
|
|
1573
|
+
* @param value The bytes for capabilityStatus to set.
|
|
1574
|
+
* @return This builder for chaining.
|
|
1575
|
+
*/
|
|
1576
|
+
public Builder setCapabilityStatusBytes(
|
|
1577
|
+
com.google.protobuf.ByteString value) {
|
|
1578
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1579
|
+
checkByteStringIsUtf8(value);
|
|
1580
|
+
capabilityStatus_ = value;
|
|
1581
|
+
bitField0_ |= 0x00000080;
|
|
1582
|
+
onChanged();
|
|
1583
|
+
return this;
|
|
1584
|
+
}
|
|
1585
|
+
|
|
1586
|
+
private com.google.protobuf.MapField<
|
|
1587
|
+
java.lang.String, java.lang.Boolean> usersKeys_;
|
|
1588
|
+
private com.google.protobuf.MapField<java.lang.String, java.lang.Boolean>
|
|
1589
|
+
internalGetUsersKeys() {
|
|
1590
|
+
if (usersKeys_ == null) {
|
|
1591
|
+
return com.google.protobuf.MapField.emptyMapField(
|
|
1592
|
+
UsersKeysDefaultEntryHolder.defaultEntry);
|
|
1593
|
+
}
|
|
1594
|
+
return usersKeys_;
|
|
1595
|
+
}
|
|
1596
|
+
private com.google.protobuf.MapField<java.lang.String, java.lang.Boolean>
|
|
1597
|
+
internalGetMutableUsersKeys() {
|
|
1598
|
+
if (usersKeys_ == null) {
|
|
1599
|
+
usersKeys_ = com.google.protobuf.MapField.newMapField(
|
|
1600
|
+
UsersKeysDefaultEntryHolder.defaultEntry);
|
|
1601
|
+
}
|
|
1602
|
+
if (!usersKeys_.isMutable()) {
|
|
1603
|
+
usersKeys_ = usersKeys_.copy();
|
|
1604
|
+
}
|
|
1605
|
+
bitField0_ |= 0x00000100;
|
|
1606
|
+
onChanged();
|
|
1607
|
+
return usersKeys_;
|
|
1608
|
+
}
|
|
1609
|
+
public int getUsersKeysCount() {
|
|
1610
|
+
return internalGetUsersKeys().getMap().size();
|
|
1611
|
+
}
|
|
1612
|
+
/**
|
|
1613
|
+
* <pre>
|
|
1614
|
+
* Entity keys of users assigned to this license
|
|
1615
|
+
* </pre>
|
|
1616
|
+
*
|
|
1617
|
+
* <code>map<string, bool> users_keys = 9;</code>
|
|
1618
|
+
*/
|
|
1619
|
+
@java.lang.Override
|
|
1620
|
+
public boolean containsUsersKeys(
|
|
1621
|
+
java.lang.String key) {
|
|
1622
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
1623
|
+
return internalGetUsersKeys().getMap().containsKey(key);
|
|
1624
|
+
}
|
|
1625
|
+
/**
|
|
1626
|
+
* Use {@link #getUsersKeysMap()} instead.
|
|
1627
|
+
*/
|
|
1628
|
+
@java.lang.Override
|
|
1629
|
+
@java.lang.Deprecated
|
|
1630
|
+
public java.util.Map<java.lang.String, java.lang.Boolean> getUsersKeys() {
|
|
1631
|
+
return getUsersKeysMap();
|
|
1632
|
+
}
|
|
1633
|
+
/**
|
|
1634
|
+
* <pre>
|
|
1635
|
+
* Entity keys of users assigned to this license
|
|
1636
|
+
* </pre>
|
|
1637
|
+
*
|
|
1638
|
+
* <code>map<string, bool> users_keys = 9;</code>
|
|
1639
|
+
*/
|
|
1640
|
+
@java.lang.Override
|
|
1641
|
+
public java.util.Map<java.lang.String, java.lang.Boolean> getUsersKeysMap() {
|
|
1642
|
+
return internalGetUsersKeys().getMap();
|
|
1643
|
+
}
|
|
1644
|
+
/**
|
|
1645
|
+
* <pre>
|
|
1646
|
+
* Entity keys of users assigned to this license
|
|
1647
|
+
* </pre>
|
|
1648
|
+
*
|
|
1649
|
+
* <code>map<string, bool> users_keys = 9;</code>
|
|
1650
|
+
*/
|
|
1651
|
+
@java.lang.Override
|
|
1652
|
+
public boolean getUsersKeysOrDefault(
|
|
1653
|
+
java.lang.String key,
|
|
1654
|
+
boolean defaultValue) {
|
|
1655
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
1656
|
+
java.util.Map<java.lang.String, java.lang.Boolean> map =
|
|
1657
|
+
internalGetUsersKeys().getMap();
|
|
1658
|
+
return map.containsKey(key) ? map.get(key) : defaultValue;
|
|
1659
|
+
}
|
|
1660
|
+
/**
|
|
1661
|
+
* <pre>
|
|
1662
|
+
* Entity keys of users assigned to this license
|
|
1663
|
+
* </pre>
|
|
1664
|
+
*
|
|
1665
|
+
* <code>map<string, bool> users_keys = 9;</code>
|
|
1666
|
+
*/
|
|
1667
|
+
@java.lang.Override
|
|
1668
|
+
public boolean getUsersKeysOrThrow(
|
|
1669
|
+
java.lang.String key) {
|
|
1670
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
1671
|
+
java.util.Map<java.lang.String, java.lang.Boolean> map =
|
|
1672
|
+
internalGetUsersKeys().getMap();
|
|
1673
|
+
if (!map.containsKey(key)) {
|
|
1674
|
+
throw new java.lang.IllegalArgumentException();
|
|
1675
|
+
}
|
|
1676
|
+
return map.get(key);
|
|
1677
|
+
}
|
|
1678
|
+
public Builder clearUsersKeys() {
|
|
1679
|
+
bitField0_ = (bitField0_ & ~0x00000100);
|
|
1680
|
+
internalGetMutableUsersKeys().getMutableMap()
|
|
1681
|
+
.clear();
|
|
1682
|
+
return this;
|
|
1683
|
+
}
|
|
1684
|
+
/**
|
|
1685
|
+
* <pre>
|
|
1686
|
+
* Entity keys of users assigned to this license
|
|
1687
|
+
* </pre>
|
|
1688
|
+
*
|
|
1689
|
+
* <code>map<string, bool> users_keys = 9;</code>
|
|
1690
|
+
*/
|
|
1691
|
+
public Builder removeUsersKeys(
|
|
1692
|
+
java.lang.String key) {
|
|
1693
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
1694
|
+
internalGetMutableUsersKeys().getMutableMap()
|
|
1695
|
+
.remove(key);
|
|
1696
|
+
return this;
|
|
1697
|
+
}
|
|
1698
|
+
/**
|
|
1699
|
+
* Use alternate mutation accessors instead.
|
|
1700
|
+
*/
|
|
1701
|
+
@java.lang.Deprecated
|
|
1702
|
+
public java.util.Map<java.lang.String, java.lang.Boolean>
|
|
1703
|
+
getMutableUsersKeys() {
|
|
1704
|
+
bitField0_ |= 0x00000100;
|
|
1705
|
+
return internalGetMutableUsersKeys().getMutableMap();
|
|
1706
|
+
}
|
|
1707
|
+
/**
|
|
1708
|
+
* <pre>
|
|
1709
|
+
* Entity keys of users assigned to this license
|
|
1710
|
+
* </pre>
|
|
1711
|
+
*
|
|
1712
|
+
* <code>map<string, bool> users_keys = 9;</code>
|
|
1713
|
+
*/
|
|
1714
|
+
public Builder putUsersKeys(
|
|
1715
|
+
java.lang.String key,
|
|
1716
|
+
boolean value) {
|
|
1717
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
1718
|
+
|
|
1719
|
+
internalGetMutableUsersKeys().getMutableMap()
|
|
1720
|
+
.put(key, value);
|
|
1721
|
+
bitField0_ |= 0x00000100;
|
|
1722
|
+
return this;
|
|
1723
|
+
}
|
|
1724
|
+
/**
|
|
1725
|
+
* <pre>
|
|
1726
|
+
* Entity keys of users assigned to this license
|
|
1727
|
+
* </pre>
|
|
1728
|
+
*
|
|
1729
|
+
* <code>map<string, bool> users_keys = 9;</code>
|
|
1730
|
+
*/
|
|
1731
|
+
public Builder putAllUsersKeys(
|
|
1732
|
+
java.util.Map<java.lang.String, java.lang.Boolean> values) {
|
|
1733
|
+
internalGetMutableUsersKeys().getMutableMap()
|
|
1734
|
+
.putAll(values);
|
|
1735
|
+
bitField0_ |= 0x00000100;
|
|
1736
|
+
return this;
|
|
1737
|
+
}
|
|
1738
|
+
|
|
1739
|
+
private java.util.List<com.lansweeper.dp.outbound.v1.Office365ServicePlan> servicePlans_ =
|
|
1740
|
+
java.util.Collections.emptyList();
|
|
1741
|
+
private void ensureServicePlansIsMutable() {
|
|
1742
|
+
if (!((bitField0_ & 0x00000200) != 0)) {
|
|
1743
|
+
servicePlans_ = new java.util.ArrayList<com.lansweeper.dp.outbound.v1.Office365ServicePlan>(servicePlans_);
|
|
1744
|
+
bitField0_ |= 0x00000200;
|
|
1745
|
+
}
|
|
1746
|
+
}
|
|
1747
|
+
|
|
1748
|
+
private com.google.protobuf.RepeatedFieldBuilderV3<
|
|
1749
|
+
com.lansweeper.dp.outbound.v1.Office365ServicePlan, com.lansweeper.dp.outbound.v1.Office365ServicePlan.Builder, com.lansweeper.dp.outbound.v1.Office365ServicePlanOrBuilder> servicePlansBuilder_;
|
|
1750
|
+
|
|
1751
|
+
/**
|
|
1752
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.Office365ServicePlan service_plans = 10;</code>
|
|
1753
|
+
*/
|
|
1754
|
+
public java.util.List<com.lansweeper.dp.outbound.v1.Office365ServicePlan> getServicePlansList() {
|
|
1755
|
+
if (servicePlansBuilder_ == null) {
|
|
1756
|
+
return java.util.Collections.unmodifiableList(servicePlans_);
|
|
1757
|
+
} else {
|
|
1758
|
+
return servicePlansBuilder_.getMessageList();
|
|
1759
|
+
}
|
|
1760
|
+
}
|
|
1761
|
+
/**
|
|
1762
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.Office365ServicePlan service_plans = 10;</code>
|
|
1763
|
+
*/
|
|
1764
|
+
public int getServicePlansCount() {
|
|
1765
|
+
if (servicePlansBuilder_ == null) {
|
|
1766
|
+
return servicePlans_.size();
|
|
1767
|
+
} else {
|
|
1768
|
+
return servicePlansBuilder_.getCount();
|
|
1769
|
+
}
|
|
1770
|
+
}
|
|
1771
|
+
/**
|
|
1772
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.Office365ServicePlan service_plans = 10;</code>
|
|
1773
|
+
*/
|
|
1774
|
+
public com.lansweeper.dp.outbound.v1.Office365ServicePlan getServicePlans(int index) {
|
|
1775
|
+
if (servicePlansBuilder_ == null) {
|
|
1776
|
+
return servicePlans_.get(index);
|
|
1777
|
+
} else {
|
|
1778
|
+
return servicePlansBuilder_.getMessage(index);
|
|
1779
|
+
}
|
|
1780
|
+
}
|
|
1781
|
+
/**
|
|
1782
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.Office365ServicePlan service_plans = 10;</code>
|
|
1783
|
+
*/
|
|
1784
|
+
public Builder setServicePlans(
|
|
1785
|
+
int index, com.lansweeper.dp.outbound.v1.Office365ServicePlan value) {
|
|
1786
|
+
if (servicePlansBuilder_ == null) {
|
|
1787
|
+
if (value == null) {
|
|
1788
|
+
throw new NullPointerException();
|
|
1789
|
+
}
|
|
1790
|
+
ensureServicePlansIsMutable();
|
|
1791
|
+
servicePlans_.set(index, value);
|
|
1792
|
+
onChanged();
|
|
1793
|
+
} else {
|
|
1794
|
+
servicePlansBuilder_.setMessage(index, value);
|
|
1795
|
+
}
|
|
1796
|
+
return this;
|
|
1797
|
+
}
|
|
1798
|
+
/**
|
|
1799
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.Office365ServicePlan service_plans = 10;</code>
|
|
1800
|
+
*/
|
|
1801
|
+
public Builder setServicePlans(
|
|
1802
|
+
int index, com.lansweeper.dp.outbound.v1.Office365ServicePlan.Builder builderForValue) {
|
|
1803
|
+
if (servicePlansBuilder_ == null) {
|
|
1804
|
+
ensureServicePlansIsMutable();
|
|
1805
|
+
servicePlans_.set(index, builderForValue.build());
|
|
1806
|
+
onChanged();
|
|
1807
|
+
} else {
|
|
1808
|
+
servicePlansBuilder_.setMessage(index, builderForValue.build());
|
|
1809
|
+
}
|
|
1810
|
+
return this;
|
|
1811
|
+
}
|
|
1812
|
+
/**
|
|
1813
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.Office365ServicePlan service_plans = 10;</code>
|
|
1814
|
+
*/
|
|
1815
|
+
public Builder addServicePlans(com.lansweeper.dp.outbound.v1.Office365ServicePlan value) {
|
|
1816
|
+
if (servicePlansBuilder_ == null) {
|
|
1817
|
+
if (value == null) {
|
|
1818
|
+
throw new NullPointerException();
|
|
1819
|
+
}
|
|
1820
|
+
ensureServicePlansIsMutable();
|
|
1821
|
+
servicePlans_.add(value);
|
|
1822
|
+
onChanged();
|
|
1823
|
+
} else {
|
|
1824
|
+
servicePlansBuilder_.addMessage(value);
|
|
1825
|
+
}
|
|
1826
|
+
return this;
|
|
1827
|
+
}
|
|
1828
|
+
/**
|
|
1829
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.Office365ServicePlan service_plans = 10;</code>
|
|
1830
|
+
*/
|
|
1831
|
+
public Builder addServicePlans(
|
|
1832
|
+
int index, com.lansweeper.dp.outbound.v1.Office365ServicePlan value) {
|
|
1833
|
+
if (servicePlansBuilder_ == null) {
|
|
1834
|
+
if (value == null) {
|
|
1835
|
+
throw new NullPointerException();
|
|
1836
|
+
}
|
|
1837
|
+
ensureServicePlansIsMutable();
|
|
1838
|
+
servicePlans_.add(index, value);
|
|
1839
|
+
onChanged();
|
|
1840
|
+
} else {
|
|
1841
|
+
servicePlansBuilder_.addMessage(index, value);
|
|
1842
|
+
}
|
|
1843
|
+
return this;
|
|
1844
|
+
}
|
|
1845
|
+
/**
|
|
1846
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.Office365ServicePlan service_plans = 10;</code>
|
|
1847
|
+
*/
|
|
1848
|
+
public Builder addServicePlans(
|
|
1849
|
+
com.lansweeper.dp.outbound.v1.Office365ServicePlan.Builder builderForValue) {
|
|
1850
|
+
if (servicePlansBuilder_ == null) {
|
|
1851
|
+
ensureServicePlansIsMutable();
|
|
1852
|
+
servicePlans_.add(builderForValue.build());
|
|
1853
|
+
onChanged();
|
|
1854
|
+
} else {
|
|
1855
|
+
servicePlansBuilder_.addMessage(builderForValue.build());
|
|
1856
|
+
}
|
|
1857
|
+
return this;
|
|
1858
|
+
}
|
|
1859
|
+
/**
|
|
1860
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.Office365ServicePlan service_plans = 10;</code>
|
|
1861
|
+
*/
|
|
1862
|
+
public Builder addServicePlans(
|
|
1863
|
+
int index, com.lansweeper.dp.outbound.v1.Office365ServicePlan.Builder builderForValue) {
|
|
1864
|
+
if (servicePlansBuilder_ == null) {
|
|
1865
|
+
ensureServicePlansIsMutable();
|
|
1866
|
+
servicePlans_.add(index, builderForValue.build());
|
|
1867
|
+
onChanged();
|
|
1868
|
+
} else {
|
|
1869
|
+
servicePlansBuilder_.addMessage(index, builderForValue.build());
|
|
1870
|
+
}
|
|
1871
|
+
return this;
|
|
1872
|
+
}
|
|
1873
|
+
/**
|
|
1874
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.Office365ServicePlan service_plans = 10;</code>
|
|
1875
|
+
*/
|
|
1876
|
+
public Builder addAllServicePlans(
|
|
1877
|
+
java.lang.Iterable<? extends com.lansweeper.dp.outbound.v1.Office365ServicePlan> values) {
|
|
1878
|
+
if (servicePlansBuilder_ == null) {
|
|
1879
|
+
ensureServicePlansIsMutable();
|
|
1880
|
+
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
|
1881
|
+
values, servicePlans_);
|
|
1882
|
+
onChanged();
|
|
1883
|
+
} else {
|
|
1884
|
+
servicePlansBuilder_.addAllMessages(values);
|
|
1885
|
+
}
|
|
1886
|
+
return this;
|
|
1887
|
+
}
|
|
1888
|
+
/**
|
|
1889
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.Office365ServicePlan service_plans = 10;</code>
|
|
1890
|
+
*/
|
|
1891
|
+
public Builder clearServicePlans() {
|
|
1892
|
+
if (servicePlansBuilder_ == null) {
|
|
1893
|
+
servicePlans_ = java.util.Collections.emptyList();
|
|
1894
|
+
bitField0_ = (bitField0_ & ~0x00000200);
|
|
1895
|
+
onChanged();
|
|
1896
|
+
} else {
|
|
1897
|
+
servicePlansBuilder_.clear();
|
|
1898
|
+
}
|
|
1899
|
+
return this;
|
|
1900
|
+
}
|
|
1901
|
+
/**
|
|
1902
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.Office365ServicePlan service_plans = 10;</code>
|
|
1903
|
+
*/
|
|
1904
|
+
public Builder removeServicePlans(int index) {
|
|
1905
|
+
if (servicePlansBuilder_ == null) {
|
|
1906
|
+
ensureServicePlansIsMutable();
|
|
1907
|
+
servicePlans_.remove(index);
|
|
1908
|
+
onChanged();
|
|
1909
|
+
} else {
|
|
1910
|
+
servicePlansBuilder_.remove(index);
|
|
1911
|
+
}
|
|
1912
|
+
return this;
|
|
1913
|
+
}
|
|
1914
|
+
/**
|
|
1915
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.Office365ServicePlan service_plans = 10;</code>
|
|
1916
|
+
*/
|
|
1917
|
+
public com.lansweeper.dp.outbound.v1.Office365ServicePlan.Builder getServicePlansBuilder(
|
|
1918
|
+
int index) {
|
|
1919
|
+
return getServicePlansFieldBuilder().getBuilder(index);
|
|
1920
|
+
}
|
|
1921
|
+
/**
|
|
1922
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.Office365ServicePlan service_plans = 10;</code>
|
|
1923
|
+
*/
|
|
1924
|
+
public com.lansweeper.dp.outbound.v1.Office365ServicePlanOrBuilder getServicePlansOrBuilder(
|
|
1925
|
+
int index) {
|
|
1926
|
+
if (servicePlansBuilder_ == null) {
|
|
1927
|
+
return servicePlans_.get(index); } else {
|
|
1928
|
+
return servicePlansBuilder_.getMessageOrBuilder(index);
|
|
1929
|
+
}
|
|
1930
|
+
}
|
|
1931
|
+
/**
|
|
1932
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.Office365ServicePlan service_plans = 10;</code>
|
|
1933
|
+
*/
|
|
1934
|
+
public java.util.List<? extends com.lansweeper.dp.outbound.v1.Office365ServicePlanOrBuilder>
|
|
1935
|
+
getServicePlansOrBuilderList() {
|
|
1936
|
+
if (servicePlansBuilder_ != null) {
|
|
1937
|
+
return servicePlansBuilder_.getMessageOrBuilderList();
|
|
1938
|
+
} else {
|
|
1939
|
+
return java.util.Collections.unmodifiableList(servicePlans_);
|
|
1940
|
+
}
|
|
1941
|
+
}
|
|
1942
|
+
/**
|
|
1943
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.Office365ServicePlan service_plans = 10;</code>
|
|
1944
|
+
*/
|
|
1945
|
+
public com.lansweeper.dp.outbound.v1.Office365ServicePlan.Builder addServicePlansBuilder() {
|
|
1946
|
+
return getServicePlansFieldBuilder().addBuilder(
|
|
1947
|
+
com.lansweeper.dp.outbound.v1.Office365ServicePlan.getDefaultInstance());
|
|
1948
|
+
}
|
|
1949
|
+
/**
|
|
1950
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.Office365ServicePlan service_plans = 10;</code>
|
|
1951
|
+
*/
|
|
1952
|
+
public com.lansweeper.dp.outbound.v1.Office365ServicePlan.Builder addServicePlansBuilder(
|
|
1953
|
+
int index) {
|
|
1954
|
+
return getServicePlansFieldBuilder().addBuilder(
|
|
1955
|
+
index, com.lansweeper.dp.outbound.v1.Office365ServicePlan.getDefaultInstance());
|
|
1956
|
+
}
|
|
1957
|
+
/**
|
|
1958
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.Office365ServicePlan service_plans = 10;</code>
|
|
1959
|
+
*/
|
|
1960
|
+
public java.util.List<com.lansweeper.dp.outbound.v1.Office365ServicePlan.Builder>
|
|
1961
|
+
getServicePlansBuilderList() {
|
|
1962
|
+
return getServicePlansFieldBuilder().getBuilderList();
|
|
1963
|
+
}
|
|
1964
|
+
private com.google.protobuf.RepeatedFieldBuilderV3<
|
|
1965
|
+
com.lansweeper.dp.outbound.v1.Office365ServicePlan, com.lansweeper.dp.outbound.v1.Office365ServicePlan.Builder, com.lansweeper.dp.outbound.v1.Office365ServicePlanOrBuilder>
|
|
1966
|
+
getServicePlansFieldBuilder() {
|
|
1967
|
+
if (servicePlansBuilder_ == null) {
|
|
1968
|
+
servicePlansBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
|
|
1969
|
+
com.lansweeper.dp.outbound.v1.Office365ServicePlan, com.lansweeper.dp.outbound.v1.Office365ServicePlan.Builder, com.lansweeper.dp.outbound.v1.Office365ServicePlanOrBuilder>(
|
|
1970
|
+
servicePlans_,
|
|
1971
|
+
((bitField0_ & 0x00000200) != 0),
|
|
1972
|
+
getParentForChildren(),
|
|
1973
|
+
isClean());
|
|
1974
|
+
servicePlans_ = null;
|
|
1975
|
+
}
|
|
1976
|
+
return servicePlansBuilder_;
|
|
1977
|
+
}
|
|
1978
|
+
@java.lang.Override
|
|
1979
|
+
public final Builder setUnknownFields(
|
|
1980
|
+
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
1981
|
+
return super.setUnknownFields(unknownFields);
|
|
1982
|
+
}
|
|
1983
|
+
|
|
1984
|
+
@java.lang.Override
|
|
1985
|
+
public final Builder mergeUnknownFields(
|
|
1986
|
+
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
1987
|
+
return super.mergeUnknownFields(unknownFields);
|
|
1988
|
+
}
|
|
1989
|
+
|
|
1990
|
+
|
|
1991
|
+
// @@protoc_insertion_point(builder_scope:com.lansweeper.dp.outbound.v1.Office365License)
|
|
1992
|
+
}
|
|
1993
|
+
|
|
1994
|
+
// @@protoc_insertion_point(class_scope:com.lansweeper.dp.outbound.v1.Office365License)
|
|
1995
|
+
private static final com.lansweeper.dp.outbound.v1.Office365License DEFAULT_INSTANCE;
|
|
1996
|
+
static {
|
|
1997
|
+
DEFAULT_INSTANCE = new com.lansweeper.dp.outbound.v1.Office365License();
|
|
1998
|
+
}
|
|
1999
|
+
|
|
2000
|
+
public static com.lansweeper.dp.outbound.v1.Office365License getDefaultInstance() {
|
|
2001
|
+
return DEFAULT_INSTANCE;
|
|
2002
|
+
}
|
|
2003
|
+
|
|
2004
|
+
private static final com.google.protobuf.Parser<Office365License>
|
|
2005
|
+
PARSER = new com.google.protobuf.AbstractParser<Office365License>() {
|
|
2006
|
+
@java.lang.Override
|
|
2007
|
+
public Office365License parsePartialFrom(
|
|
2008
|
+
com.google.protobuf.CodedInputStream input,
|
|
2009
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
2010
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
2011
|
+
Builder builder = newBuilder();
|
|
2012
|
+
try {
|
|
2013
|
+
builder.mergeFrom(input, extensionRegistry);
|
|
2014
|
+
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
2015
|
+
throw e.setUnfinishedMessage(builder.buildPartial());
|
|
2016
|
+
} catch (com.google.protobuf.UninitializedMessageException e) {
|
|
2017
|
+
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
|
|
2018
|
+
} catch (java.io.IOException e) {
|
|
2019
|
+
throw new com.google.protobuf.InvalidProtocolBufferException(e)
|
|
2020
|
+
.setUnfinishedMessage(builder.buildPartial());
|
|
2021
|
+
}
|
|
2022
|
+
return builder.buildPartial();
|
|
2023
|
+
}
|
|
2024
|
+
};
|
|
2025
|
+
|
|
2026
|
+
public static com.google.protobuf.Parser<Office365License> parser() {
|
|
2027
|
+
return PARSER;
|
|
2028
|
+
}
|
|
2029
|
+
|
|
2030
|
+
@java.lang.Override
|
|
2031
|
+
public com.google.protobuf.Parser<Office365License> getParserForType() {
|
|
2032
|
+
return PARSER;
|
|
2033
|
+
}
|
|
2034
|
+
|
|
2035
|
+
@java.lang.Override
|
|
2036
|
+
public com.lansweeper.dp.outbound.v1.Office365License getDefaultInstanceForType() {
|
|
2037
|
+
return DEFAULT_INSTANCE;
|
|
2038
|
+
}
|
|
2039
|
+
|
|
2040
|
+
}
|
|
2041
|
+
|