| 20033 |
kshitij.so |
1 |
/**
|
|
|
2 |
* Autogenerated by Thrift Compiler (0.7.0)
|
|
|
3 |
*
|
|
|
4 |
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
|
|
5 |
*/
|
|
|
6 |
package in.shop2020.model.v1.order;
|
|
|
7 |
|
|
|
8 |
import java.util.List;
|
|
|
9 |
import java.util.ArrayList;
|
|
|
10 |
import java.util.Map;
|
|
|
11 |
import java.util.HashMap;
|
|
|
12 |
import java.util.EnumMap;
|
|
|
13 |
import java.util.Set;
|
|
|
14 |
import java.util.HashSet;
|
|
|
15 |
import java.util.EnumSet;
|
|
|
16 |
import java.util.Collections;
|
|
|
17 |
import java.util.BitSet;
|
|
|
18 |
import java.nio.ByteBuffer;
|
|
|
19 |
import java.util.Arrays;
|
|
|
20 |
import org.slf4j.Logger;
|
|
|
21 |
import org.slf4j.LoggerFactory;
|
|
|
22 |
|
|
|
23 |
public class HotspotTokens implements org.apache.thrift.TBase<HotspotTokens, HotspotTokens._Fields>, java.io.Serializable, Cloneable {
|
|
|
24 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("HotspotTokens");
|
|
|
25 |
|
|
|
26 |
private static final org.apache.thrift.protocol.TField HOTSPOT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("hotspotId", org.apache.thrift.protocol.TType.STRING, (short)1);
|
|
|
27 |
private static final org.apache.thrift.protocol.TField SALT_FIELD_DESC = new org.apache.thrift.protocol.TField("salt", org.apache.thrift.protocol.TType.STRING, (short)2);
|
|
|
28 |
private static final org.apache.thrift.protocol.TField HOTSPOT_SERVICE_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("hotspotServiceType", org.apache.thrift.protocol.TType.I32, (short)3);
|
|
|
29 |
|
|
|
30 |
private String hotspotId; // required
|
|
|
31 |
private String salt; // required
|
|
|
32 |
private HotspotServiceType hotspotServiceType; // required
|
|
|
33 |
|
|
|
34 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
|
|
35 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
|
|
36 |
HOTSPOT_ID((short)1, "hotspotId"),
|
|
|
37 |
SALT((short)2, "salt"),
|
|
|
38 |
/**
|
|
|
39 |
*
|
|
|
40 |
* @see HotspotServiceType
|
|
|
41 |
*/
|
|
|
42 |
HOTSPOT_SERVICE_TYPE((short)3, "hotspotServiceType");
|
|
|
43 |
|
|
|
44 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
|
|
45 |
|
|
|
46 |
static {
|
|
|
47 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
|
|
48 |
byName.put(field.getFieldName(), field);
|
|
|
49 |
}
|
|
|
50 |
}
|
|
|
51 |
|
|
|
52 |
/**
|
|
|
53 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
|
|
54 |
*/
|
|
|
55 |
public static _Fields findByThriftId(int fieldId) {
|
|
|
56 |
switch(fieldId) {
|
|
|
57 |
case 1: // HOTSPOT_ID
|
|
|
58 |
return HOTSPOT_ID;
|
|
|
59 |
case 2: // SALT
|
|
|
60 |
return SALT;
|
|
|
61 |
case 3: // HOTSPOT_SERVICE_TYPE
|
|
|
62 |
return HOTSPOT_SERVICE_TYPE;
|
|
|
63 |
default:
|
|
|
64 |
return null;
|
|
|
65 |
}
|
|
|
66 |
}
|
|
|
67 |
|
|
|
68 |
/**
|
|
|
69 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
|
|
70 |
* if it is not found.
|
|
|
71 |
*/
|
|
|
72 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
|
|
73 |
_Fields fields = findByThriftId(fieldId);
|
|
|
74 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
|
|
75 |
return fields;
|
|
|
76 |
}
|
|
|
77 |
|
|
|
78 |
/**
|
|
|
79 |
* Find the _Fields constant that matches name, or null if its not found.
|
|
|
80 |
*/
|
|
|
81 |
public static _Fields findByName(String name) {
|
|
|
82 |
return byName.get(name);
|
|
|
83 |
}
|
|
|
84 |
|
|
|
85 |
private final short _thriftId;
|
|
|
86 |
private final String _fieldName;
|
|
|
87 |
|
|
|
88 |
_Fields(short thriftId, String fieldName) {
|
|
|
89 |
_thriftId = thriftId;
|
|
|
90 |
_fieldName = fieldName;
|
|
|
91 |
}
|
|
|
92 |
|
|
|
93 |
public short getThriftFieldId() {
|
|
|
94 |
return _thriftId;
|
|
|
95 |
}
|
|
|
96 |
|
|
|
97 |
public String getFieldName() {
|
|
|
98 |
return _fieldName;
|
|
|
99 |
}
|
|
|
100 |
}
|
|
|
101 |
|
|
|
102 |
// isset id assignments
|
|
|
103 |
|
|
|
104 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
|
|
105 |
static {
|
|
|
106 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
|
|
107 |
tmpMap.put(_Fields.HOTSPOT_ID, new org.apache.thrift.meta_data.FieldMetaData("hotspotId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
108 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
109 |
tmpMap.put(_Fields.SALT, new org.apache.thrift.meta_data.FieldMetaData("salt", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
110 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
111 |
tmpMap.put(_Fields.HOTSPOT_SERVICE_TYPE, new org.apache.thrift.meta_data.FieldMetaData("hotspotServiceType", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
112 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, HotspotServiceType.class)));
|
|
|
113 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
|
|
114 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(HotspotTokens.class, metaDataMap);
|
|
|
115 |
}
|
|
|
116 |
|
|
|
117 |
public HotspotTokens() {
|
|
|
118 |
}
|
|
|
119 |
|
|
|
120 |
public HotspotTokens(
|
|
|
121 |
String hotspotId,
|
|
|
122 |
String salt,
|
|
|
123 |
HotspotServiceType hotspotServiceType)
|
|
|
124 |
{
|
|
|
125 |
this();
|
|
|
126 |
this.hotspotId = hotspotId;
|
|
|
127 |
this.salt = salt;
|
|
|
128 |
this.hotspotServiceType = hotspotServiceType;
|
|
|
129 |
}
|
|
|
130 |
|
|
|
131 |
/**
|
|
|
132 |
* Performs a deep copy on <i>other</i>.
|
|
|
133 |
*/
|
|
|
134 |
public HotspotTokens(HotspotTokens other) {
|
|
|
135 |
if (other.isSetHotspotId()) {
|
|
|
136 |
this.hotspotId = other.hotspotId;
|
|
|
137 |
}
|
|
|
138 |
if (other.isSetSalt()) {
|
|
|
139 |
this.salt = other.salt;
|
|
|
140 |
}
|
|
|
141 |
if (other.isSetHotspotServiceType()) {
|
|
|
142 |
this.hotspotServiceType = other.hotspotServiceType;
|
|
|
143 |
}
|
|
|
144 |
}
|
|
|
145 |
|
|
|
146 |
public HotspotTokens deepCopy() {
|
|
|
147 |
return new HotspotTokens(this);
|
|
|
148 |
}
|
|
|
149 |
|
|
|
150 |
@Override
|
|
|
151 |
public void clear() {
|
|
|
152 |
this.hotspotId = null;
|
|
|
153 |
this.salt = null;
|
|
|
154 |
this.hotspotServiceType = null;
|
|
|
155 |
}
|
|
|
156 |
|
|
|
157 |
public String getHotspotId() {
|
|
|
158 |
return this.hotspotId;
|
|
|
159 |
}
|
|
|
160 |
|
|
|
161 |
public void setHotspotId(String hotspotId) {
|
|
|
162 |
this.hotspotId = hotspotId;
|
|
|
163 |
}
|
|
|
164 |
|
|
|
165 |
public void unsetHotspotId() {
|
|
|
166 |
this.hotspotId = null;
|
|
|
167 |
}
|
|
|
168 |
|
|
|
169 |
/** Returns true if field hotspotId is set (has been assigned a value) and false otherwise */
|
|
|
170 |
public boolean isSetHotspotId() {
|
|
|
171 |
return this.hotspotId != null;
|
|
|
172 |
}
|
|
|
173 |
|
|
|
174 |
public void setHotspotIdIsSet(boolean value) {
|
|
|
175 |
if (!value) {
|
|
|
176 |
this.hotspotId = null;
|
|
|
177 |
}
|
|
|
178 |
}
|
|
|
179 |
|
|
|
180 |
public String getSalt() {
|
|
|
181 |
return this.salt;
|
|
|
182 |
}
|
|
|
183 |
|
|
|
184 |
public void setSalt(String salt) {
|
|
|
185 |
this.salt = salt;
|
|
|
186 |
}
|
|
|
187 |
|
|
|
188 |
public void unsetSalt() {
|
|
|
189 |
this.salt = null;
|
|
|
190 |
}
|
|
|
191 |
|
|
|
192 |
/** Returns true if field salt is set (has been assigned a value) and false otherwise */
|
|
|
193 |
public boolean isSetSalt() {
|
|
|
194 |
return this.salt != null;
|
|
|
195 |
}
|
|
|
196 |
|
|
|
197 |
public void setSaltIsSet(boolean value) {
|
|
|
198 |
if (!value) {
|
|
|
199 |
this.salt = null;
|
|
|
200 |
}
|
|
|
201 |
}
|
|
|
202 |
|
|
|
203 |
/**
|
|
|
204 |
*
|
|
|
205 |
* @see HotspotServiceType
|
|
|
206 |
*/
|
|
|
207 |
public HotspotServiceType getHotspotServiceType() {
|
|
|
208 |
return this.hotspotServiceType;
|
|
|
209 |
}
|
|
|
210 |
|
|
|
211 |
/**
|
|
|
212 |
*
|
|
|
213 |
* @see HotspotServiceType
|
|
|
214 |
*/
|
|
|
215 |
public void setHotspotServiceType(HotspotServiceType hotspotServiceType) {
|
|
|
216 |
this.hotspotServiceType = hotspotServiceType;
|
|
|
217 |
}
|
|
|
218 |
|
|
|
219 |
public void unsetHotspotServiceType() {
|
|
|
220 |
this.hotspotServiceType = null;
|
|
|
221 |
}
|
|
|
222 |
|
|
|
223 |
/** Returns true if field hotspotServiceType is set (has been assigned a value) and false otherwise */
|
|
|
224 |
public boolean isSetHotspotServiceType() {
|
|
|
225 |
return this.hotspotServiceType != null;
|
|
|
226 |
}
|
|
|
227 |
|
|
|
228 |
public void setHotspotServiceTypeIsSet(boolean value) {
|
|
|
229 |
if (!value) {
|
|
|
230 |
this.hotspotServiceType = null;
|
|
|
231 |
}
|
|
|
232 |
}
|
|
|
233 |
|
|
|
234 |
public void setFieldValue(_Fields field, Object value) {
|
|
|
235 |
switch (field) {
|
|
|
236 |
case HOTSPOT_ID:
|
|
|
237 |
if (value == null) {
|
|
|
238 |
unsetHotspotId();
|
|
|
239 |
} else {
|
|
|
240 |
setHotspotId((String)value);
|
|
|
241 |
}
|
|
|
242 |
break;
|
|
|
243 |
|
|
|
244 |
case SALT:
|
|
|
245 |
if (value == null) {
|
|
|
246 |
unsetSalt();
|
|
|
247 |
} else {
|
|
|
248 |
setSalt((String)value);
|
|
|
249 |
}
|
|
|
250 |
break;
|
|
|
251 |
|
|
|
252 |
case HOTSPOT_SERVICE_TYPE:
|
|
|
253 |
if (value == null) {
|
|
|
254 |
unsetHotspotServiceType();
|
|
|
255 |
} else {
|
|
|
256 |
setHotspotServiceType((HotspotServiceType)value);
|
|
|
257 |
}
|
|
|
258 |
break;
|
|
|
259 |
|
|
|
260 |
}
|
|
|
261 |
}
|
|
|
262 |
|
|
|
263 |
public Object getFieldValue(_Fields field) {
|
|
|
264 |
switch (field) {
|
|
|
265 |
case HOTSPOT_ID:
|
|
|
266 |
return getHotspotId();
|
|
|
267 |
|
|
|
268 |
case SALT:
|
|
|
269 |
return getSalt();
|
|
|
270 |
|
|
|
271 |
case HOTSPOT_SERVICE_TYPE:
|
|
|
272 |
return getHotspotServiceType();
|
|
|
273 |
|
|
|
274 |
}
|
|
|
275 |
throw new IllegalStateException();
|
|
|
276 |
}
|
|
|
277 |
|
|
|
278 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
|
|
279 |
public boolean isSet(_Fields field) {
|
|
|
280 |
if (field == null) {
|
|
|
281 |
throw new IllegalArgumentException();
|
|
|
282 |
}
|
|
|
283 |
|
|
|
284 |
switch (field) {
|
|
|
285 |
case HOTSPOT_ID:
|
|
|
286 |
return isSetHotspotId();
|
|
|
287 |
case SALT:
|
|
|
288 |
return isSetSalt();
|
|
|
289 |
case HOTSPOT_SERVICE_TYPE:
|
|
|
290 |
return isSetHotspotServiceType();
|
|
|
291 |
}
|
|
|
292 |
throw new IllegalStateException();
|
|
|
293 |
}
|
|
|
294 |
|
|
|
295 |
@Override
|
|
|
296 |
public boolean equals(Object that) {
|
|
|
297 |
if (that == null)
|
|
|
298 |
return false;
|
|
|
299 |
if (that instanceof HotspotTokens)
|
|
|
300 |
return this.equals((HotspotTokens)that);
|
|
|
301 |
return false;
|
|
|
302 |
}
|
|
|
303 |
|
|
|
304 |
public boolean equals(HotspotTokens that) {
|
|
|
305 |
if (that == null)
|
|
|
306 |
return false;
|
|
|
307 |
|
|
|
308 |
boolean this_present_hotspotId = true && this.isSetHotspotId();
|
|
|
309 |
boolean that_present_hotspotId = true && that.isSetHotspotId();
|
|
|
310 |
if (this_present_hotspotId || that_present_hotspotId) {
|
|
|
311 |
if (!(this_present_hotspotId && that_present_hotspotId))
|
|
|
312 |
return false;
|
|
|
313 |
if (!this.hotspotId.equals(that.hotspotId))
|
|
|
314 |
return false;
|
|
|
315 |
}
|
|
|
316 |
|
|
|
317 |
boolean this_present_salt = true && this.isSetSalt();
|
|
|
318 |
boolean that_present_salt = true && that.isSetSalt();
|
|
|
319 |
if (this_present_salt || that_present_salt) {
|
|
|
320 |
if (!(this_present_salt && that_present_salt))
|
|
|
321 |
return false;
|
|
|
322 |
if (!this.salt.equals(that.salt))
|
|
|
323 |
return false;
|
|
|
324 |
}
|
|
|
325 |
|
|
|
326 |
boolean this_present_hotspotServiceType = true && this.isSetHotspotServiceType();
|
|
|
327 |
boolean that_present_hotspotServiceType = true && that.isSetHotspotServiceType();
|
|
|
328 |
if (this_present_hotspotServiceType || that_present_hotspotServiceType) {
|
|
|
329 |
if (!(this_present_hotspotServiceType && that_present_hotspotServiceType))
|
|
|
330 |
return false;
|
|
|
331 |
if (!this.hotspotServiceType.equals(that.hotspotServiceType))
|
|
|
332 |
return false;
|
|
|
333 |
}
|
|
|
334 |
|
|
|
335 |
return true;
|
|
|
336 |
}
|
|
|
337 |
|
|
|
338 |
@Override
|
|
|
339 |
public int hashCode() {
|
|
|
340 |
return 0;
|
|
|
341 |
}
|
|
|
342 |
|
|
|
343 |
public int compareTo(HotspotTokens other) {
|
|
|
344 |
if (!getClass().equals(other.getClass())) {
|
|
|
345 |
return getClass().getName().compareTo(other.getClass().getName());
|
|
|
346 |
}
|
|
|
347 |
|
|
|
348 |
int lastComparison = 0;
|
|
|
349 |
HotspotTokens typedOther = (HotspotTokens)other;
|
|
|
350 |
|
|
|
351 |
lastComparison = Boolean.valueOf(isSetHotspotId()).compareTo(typedOther.isSetHotspotId());
|
|
|
352 |
if (lastComparison != 0) {
|
|
|
353 |
return lastComparison;
|
|
|
354 |
}
|
|
|
355 |
if (isSetHotspotId()) {
|
|
|
356 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hotspotId, typedOther.hotspotId);
|
|
|
357 |
if (lastComparison != 0) {
|
|
|
358 |
return lastComparison;
|
|
|
359 |
}
|
|
|
360 |
}
|
|
|
361 |
lastComparison = Boolean.valueOf(isSetSalt()).compareTo(typedOther.isSetSalt());
|
|
|
362 |
if (lastComparison != 0) {
|
|
|
363 |
return lastComparison;
|
|
|
364 |
}
|
|
|
365 |
if (isSetSalt()) {
|
|
|
366 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.salt, typedOther.salt);
|
|
|
367 |
if (lastComparison != 0) {
|
|
|
368 |
return lastComparison;
|
|
|
369 |
}
|
|
|
370 |
}
|
|
|
371 |
lastComparison = Boolean.valueOf(isSetHotspotServiceType()).compareTo(typedOther.isSetHotspotServiceType());
|
|
|
372 |
if (lastComparison != 0) {
|
|
|
373 |
return lastComparison;
|
|
|
374 |
}
|
|
|
375 |
if (isSetHotspotServiceType()) {
|
|
|
376 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hotspotServiceType, typedOther.hotspotServiceType);
|
|
|
377 |
if (lastComparison != 0) {
|
|
|
378 |
return lastComparison;
|
|
|
379 |
}
|
|
|
380 |
}
|
|
|
381 |
return 0;
|
|
|
382 |
}
|
|
|
383 |
|
|
|
384 |
public _Fields fieldForId(int fieldId) {
|
|
|
385 |
return _Fields.findByThriftId(fieldId);
|
|
|
386 |
}
|
|
|
387 |
|
|
|
388 |
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
|
|
|
389 |
org.apache.thrift.protocol.TField field;
|
|
|
390 |
iprot.readStructBegin();
|
|
|
391 |
while (true)
|
|
|
392 |
{
|
|
|
393 |
field = iprot.readFieldBegin();
|
|
|
394 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
|
|
395 |
break;
|
|
|
396 |
}
|
|
|
397 |
switch (field.id) {
|
|
|
398 |
case 1: // HOTSPOT_ID
|
|
|
399 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
400 |
this.hotspotId = iprot.readString();
|
|
|
401 |
} else {
|
|
|
402 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
403 |
}
|
|
|
404 |
break;
|
|
|
405 |
case 2: // SALT
|
|
|
406 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
407 |
this.salt = iprot.readString();
|
|
|
408 |
} else {
|
|
|
409 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
410 |
}
|
|
|
411 |
break;
|
|
|
412 |
case 3: // HOTSPOT_SERVICE_TYPE
|
|
|
413 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
|
|
414 |
this.hotspotServiceType = HotspotServiceType.findByValue(iprot.readI32());
|
|
|
415 |
} else {
|
|
|
416 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
417 |
}
|
|
|
418 |
break;
|
|
|
419 |
default:
|
|
|
420 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
421 |
}
|
|
|
422 |
iprot.readFieldEnd();
|
|
|
423 |
}
|
|
|
424 |
iprot.readStructEnd();
|
|
|
425 |
validate();
|
|
|
426 |
}
|
|
|
427 |
|
|
|
428 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
|
|
429 |
validate();
|
|
|
430 |
|
|
|
431 |
oprot.writeStructBegin(STRUCT_DESC);
|
|
|
432 |
if (this.hotspotId != null) {
|
|
|
433 |
oprot.writeFieldBegin(HOTSPOT_ID_FIELD_DESC);
|
|
|
434 |
oprot.writeString(this.hotspotId);
|
|
|
435 |
oprot.writeFieldEnd();
|
|
|
436 |
}
|
|
|
437 |
if (this.salt != null) {
|
|
|
438 |
oprot.writeFieldBegin(SALT_FIELD_DESC);
|
|
|
439 |
oprot.writeString(this.salt);
|
|
|
440 |
oprot.writeFieldEnd();
|
|
|
441 |
}
|
|
|
442 |
if (this.hotspotServiceType != null) {
|
|
|
443 |
oprot.writeFieldBegin(HOTSPOT_SERVICE_TYPE_FIELD_DESC);
|
|
|
444 |
oprot.writeI32(this.hotspotServiceType.getValue());
|
|
|
445 |
oprot.writeFieldEnd();
|
|
|
446 |
}
|
|
|
447 |
oprot.writeFieldStop();
|
|
|
448 |
oprot.writeStructEnd();
|
|
|
449 |
}
|
|
|
450 |
|
|
|
451 |
@Override
|
|
|
452 |
public String toString() {
|
|
|
453 |
StringBuilder sb = new StringBuilder("HotspotTokens(");
|
|
|
454 |
boolean first = true;
|
|
|
455 |
|
|
|
456 |
sb.append("hotspotId:");
|
|
|
457 |
if (this.hotspotId == null) {
|
|
|
458 |
sb.append("null");
|
|
|
459 |
} else {
|
|
|
460 |
sb.append(this.hotspotId);
|
|
|
461 |
}
|
|
|
462 |
first = false;
|
|
|
463 |
if (!first) sb.append(", ");
|
|
|
464 |
sb.append("salt:");
|
|
|
465 |
if (this.salt == null) {
|
|
|
466 |
sb.append("null");
|
|
|
467 |
} else {
|
|
|
468 |
sb.append(this.salt);
|
|
|
469 |
}
|
|
|
470 |
first = false;
|
|
|
471 |
if (!first) sb.append(", ");
|
|
|
472 |
sb.append("hotspotServiceType:");
|
|
|
473 |
if (this.hotspotServiceType == null) {
|
|
|
474 |
sb.append("null");
|
|
|
475 |
} else {
|
|
|
476 |
sb.append(this.hotspotServiceType);
|
|
|
477 |
}
|
|
|
478 |
first = false;
|
|
|
479 |
sb.append(")");
|
|
|
480 |
return sb.toString();
|
|
|
481 |
}
|
|
|
482 |
|
|
|
483 |
public void validate() throws org.apache.thrift.TException {
|
|
|
484 |
// check for required fields
|
|
|
485 |
}
|
|
|
486 |
|
|
|
487 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
|
|
488 |
try {
|
|
|
489 |
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
|
|
|
490 |
} catch (org.apache.thrift.TException te) {
|
|
|
491 |
throw new java.io.IOException(te);
|
|
|
492 |
}
|
|
|
493 |
}
|
|
|
494 |
|
|
|
495 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
|
|
496 |
try {
|
|
|
497 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
|
|
498 |
} catch (org.apache.thrift.TException te) {
|
|
|
499 |
throw new java.io.IOException(te);
|
|
|
500 |
}
|
|
|
501 |
}
|
|
|
502 |
|
|
|
503 |
}
|
|
|
504 |
|