diff options
author | Jonathan Bauer | 2016-01-07 13:55:40 +0100 |
---|---|---|
committer | Jonathan Bauer | 2016-01-07 13:55:40 +0100 |
commit | 5ba446543184d5af8185da23b9a5fd28133d5513 (patch) | |
tree | 5f0dc18ddee5ee2370f6c0226e5337987d393428 /src/main/java/org/openslx/bwlp/thrift/iface/SatelliteServer.java | |
parent | [thrift] added generated Location class (diff) | |
download | master-sync-shared-5ba446543184d5af8185da23b9a5fd28133d5513.tar.gz master-sync-shared-5ba446543184d5af8185da23b9a5fd28133d5513.tar.xz master-sync-shared-5ba446543184d5af8185da23b9a5fd28133d5513.zip |
added "onlyInLocations" flag for LectureWrite
update thrift files to 0.9.3
Diffstat (limited to 'src/main/java/org/openslx/bwlp/thrift/iface/SatelliteServer.java')
-rw-r--r-- | src/main/java/org/openslx/bwlp/thrift/iface/SatelliteServer.java | 2494 |
1 files changed, 2152 insertions, 342 deletions
diff --git a/src/main/java/org/openslx/bwlp/thrift/iface/SatelliteServer.java b/src/main/java/org/openslx/bwlp/thrift/iface/SatelliteServer.java index 06e4df1..1b8da61 100644 --- a/src/main/java/org/openslx/bwlp/thrift/iface/SatelliteServer.java +++ b/src/main/java/org/openslx/bwlp/thrift/iface/SatelliteServer.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.1) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -29,9 +29,12 @@ import java.util.Collections; import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-04") public class SatelliteServer { public interface Iface { @@ -70,6 +73,8 @@ public class SatelliteServer { public List<Organization> getAllOrganizations() throws org.apache.thrift.TException; + public List<Location> getLocations() throws org.apache.thrift.TException; + public SatelliteStatus getStatus() throws org.apache.thrift.TException; public List<ImageSummaryRead> getImageList(String userToken, List<String> tagSearch, int page) throws TAuthorizationException, TInvocationException, org.apache.thrift.TException; @@ -150,6 +155,8 @@ public class SatelliteServer { public void getAllOrganizations(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getLocations(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getStatus(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; public void getImageList(String userToken, List<String> tagSearch, int page, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; @@ -659,6 +666,28 @@ public class SatelliteServer { throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllOrganizations failed: unknown result"); } + public List<Location> getLocations() throws org.apache.thrift.TException + { + send_getLocations(); + return recv_getLocations(); + } + + public void send_getLocations() throws org.apache.thrift.TException + { + getLocations_args args = new getLocations_args(); + sendBase("getLocations", args); + } + + public List<Location> recv_getLocations() throws org.apache.thrift.TException + { + getLocations_result result = new getLocations_result(); + receiveBase(result, "getLocations"); + if (result.isSetSuccess()) { + return result.success; + } + throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getLocations failed: unknown result"); + } + public SatelliteStatus getStatus() throws org.apache.thrift.TException { send_getStatus(); @@ -1888,6 +1917,35 @@ public class SatelliteServer { } } + public void getLocations(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + checkReady(); + getLocations_call method_call = new getLocations_call(resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class getLocations_call extends org.apache.thrift.async.TAsyncMethodCall { + public getLocations_call(org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getLocations", org.apache.thrift.protocol.TMessageType.CALL, 0)); + getLocations_args args = new getLocations_args(); + args.write(prot); + prot.writeMessageEnd(); + } + + public List<Location> getResult() throws org.apache.thrift.TException { + if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException("Method call not finished!"); + } + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_getLocations(); + } + } + public void getStatus(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); getStatus_call method_call = new getStatus_call(resultHandler, this, ___protocolFactory, ___transport); @@ -2674,6 +2732,7 @@ public class SatelliteServer { processMap.put("getOperatingSystems", new getOperatingSystems()); processMap.put("getVirtualizers", new getVirtualizers()); processMap.put("getAllOrganizations", new getAllOrganizations()); + processMap.put("getLocations", new getLocations()); processMap.put("getStatus", new getStatus()); processMap.put("getImageList", new getImageList()); processMap.put("getImageDetails", new getImageDetails()); @@ -3109,6 +3168,26 @@ public class SatelliteServer { } } + public static class getLocations<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getLocations_args> { + public getLocations() { + super("getLocations"); + } + + public getLocations_args getEmptyArgsInstance() { + return new getLocations_args(); + } + + protected boolean isOneway() { + return false; + } + + public getLocations_result getResult(I iface, getLocations_args args) throws org.apache.thrift.TException { + getLocations_result result = new getLocations_result(); + result.success = iface.getLocations(); + return result; + } + } + public static class getStatus<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getStatus_args> { public getStatus() { super("getStatus"); @@ -3719,6 +3798,7 @@ public class SatelliteServer { processMap.put("getOperatingSystems", new getOperatingSystems()); processMap.put("getVirtualizers", new getVirtualizers()); processMap.put("getAllOrganizations", new getAllOrganizations()); + processMap.put("getLocations", new getLocations()); processMap.put("getStatus", new getStatus()); processMap.put("getImageList", new getImageList()); processMap.put("getImageDetails", new getImageDetails()); @@ -4732,6 +4812,57 @@ public class SatelliteServer { } } + public static class getLocations<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getLocations_args, List<Location>> { + public getLocations() { + super("getLocations"); + } + + public getLocations_args getEmptyArgsInstance() { + return new getLocations_args(); + } + + public AsyncMethodCallback<List<Location>> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback<List<Location>>() { + public void onComplete(List<Location> o) { + getLocations_result result = new getLocations_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + getLocations_result result = new getLocations_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, getLocations_args args, org.apache.thrift.async.AsyncMethodCallback<List<Location>> resultHandler) throws TException { + iface.getLocations(resultHandler); + } + } + public static class getStatus<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getStatus_args, SatelliteStatus> { public getStatus() { super("getStatus"); @@ -6244,7 +6375,9 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + return list.hashCode(); } @Override @@ -6511,7 +6644,7 @@ public class SatelliteServer { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return Long.valueOf(getSuccess()); + return getSuccess(); } throw new IllegalStateException(); @@ -6557,7 +6690,14 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_success = true; + list.add(present_success); + if (present_success) + list.add(success); + + return list.hashCode(); } @Override @@ -6844,7 +6984,9 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + return list.hashCode(); } @Override @@ -7155,7 +7297,14 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + return list.hashCode(); } @Override @@ -7447,7 +7596,7 @@ public class SatelliteServer { this.fileSize = fileSize; setFileSizeIsSet(true); this.blockHashes = blockHashes; - this.machineDescription = machineDescription; + this.machineDescription = org.apache.thrift.TBaseHelper.copyBinary(machineDescription); } /** @@ -7468,7 +7617,6 @@ public class SatelliteServer { } if (other.isSetMachineDescription()) { this.machineDescription = org.apache.thrift.TBaseHelper.copyBinary(other.machineDescription); -; } } @@ -7602,16 +7750,16 @@ public class SatelliteServer { } public ByteBuffer bufferForMachineDescription() { - return machineDescription; + return org.apache.thrift.TBaseHelper.copyBinary(machineDescription); } public requestImageVersionUpload_args setMachineDescription(byte[] machineDescription) { - setMachineDescription(machineDescription == null ? (ByteBuffer)null : ByteBuffer.wrap(machineDescription)); + this.machineDescription = machineDescription == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(machineDescription, machineDescription.length)); return this; } public requestImageVersionUpload_args setMachineDescription(ByteBuffer machineDescription) { - this.machineDescription = machineDescription; + this.machineDescription = org.apache.thrift.TBaseHelper.copyBinary(machineDescription); return this; } @@ -7684,7 +7832,7 @@ public class SatelliteServer { return getImageBaseId(); case FILE_SIZE: - return Long.valueOf(getFileSize()); + return getFileSize(); case BLOCK_HASHES: return getBlockHashes(); @@ -7780,7 +7928,34 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_userToken = true && (isSetUserToken()); + list.add(present_userToken); + if (present_userToken) + list.add(userToken); + + boolean present_imageBaseId = true && (isSetImageBaseId()); + list.add(present_imageBaseId); + if (present_imageBaseId) + list.add(imageBaseId); + + boolean present_fileSize = true; + list.add(present_fileSize); + if (present_fileSize) + list.add(fileSize); + + boolean present_blockHashes = true && (isSetBlockHashes()); + list.add(present_blockHashes); + if (present_blockHashes) + list.add(blockHashes); + + boolean present_machineDescription = true && (isSetMachineDescription()); + list.add(present_machineDescription); + if (present_machineDescription) + list.add(machineDescription); + + return list.hashCode(); } @Override @@ -7885,7 +8060,7 @@ public class SatelliteServer { if (this.blockHashes == null) { sb.append("null"); } else { - sb.append(this.blockHashes); + org.apache.thrift.TBaseHelper.toString(this.blockHashes, sb); } first = false; if (!first) sb.append(", "); @@ -7968,13 +8143,13 @@ public class SatelliteServer { case 4: // BLOCK_HASHES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list154 = iprot.readListBegin(); - struct.blockHashes = new ArrayList<ByteBuffer>(_list154.size); - for (int _i155 = 0; _i155 < _list154.size; ++_i155) + org.apache.thrift.protocol.TList _list170 = iprot.readListBegin(); + struct.blockHashes = new ArrayList<ByteBuffer>(_list170.size); + ByteBuffer _elem171; + for (int _i172 = 0; _i172 < _list170.size; ++_i172) { - ByteBuffer _elem156; - _elem156 = iprot.readBinary(); - struct.blockHashes.add(_elem156); + _elem171 = iprot.readBinary(); + struct.blockHashes.add(_elem171); } iprot.readListEnd(); } @@ -8023,9 +8198,9 @@ public class SatelliteServer { oprot.writeFieldBegin(BLOCK_HASHES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.blockHashes.size())); - for (ByteBuffer _iter157 : struct.blockHashes) + for (ByteBuffer _iter173 : struct.blockHashes) { - oprot.writeBinary(_iter157); + oprot.writeBinary(_iter173); } oprot.writeListEnd(); } @@ -8082,9 +8257,9 @@ public class SatelliteServer { if (struct.isSetBlockHashes()) { { oprot.writeI32(struct.blockHashes.size()); - for (ByteBuffer _iter158 : struct.blockHashes) + for (ByteBuffer _iter174 : struct.blockHashes) { - oprot.writeBinary(_iter158); + oprot.writeBinary(_iter174); } } } @@ -8111,13 +8286,13 @@ public class SatelliteServer { } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list159 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.blockHashes = new ArrayList<ByteBuffer>(_list159.size); - for (int _i160 = 0; _i160 < _list159.size; ++_i160) + org.apache.thrift.protocol.TList _list175 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.blockHashes = new ArrayList<ByteBuffer>(_list175.size); + ByteBuffer _elem176; + for (int _i177 = 0; _i177 < _list175.size; ++_i177) { - ByteBuffer _elem161; - _elem161 = iprot.readBinary(); - struct.blockHashes.add(_elem161); + _elem176 = iprot.readBinary(); + struct.blockHashes.add(_elem176); } } struct.setBlockHashesIsSet(true); @@ -8562,7 +8737,34 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + boolean present_rejection = true && (isSetRejection()); + list.add(present_rejection); + if (present_rejection) + list.add(rejection); + + boolean present_authError = true && (isSetAuthError()); + list.add(present_authError); + if (present_authError) + list.add(authError); + + boolean present_ffff = true && (isSetFfff()); + list.add(present_ffff); + if (present_ffff) + list.add(ffff); + + boolean present_sdf = true && (isSetSdf()); + list.add(present_sdf); + if (present_sdf) + list.add(sdf); + + return list.hashCode(); } @Override @@ -9169,7 +9371,19 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_uploadToken = true && (isSetUploadToken()); + list.add(present_uploadToken); + if (present_uploadToken) + list.add(uploadToken); + + boolean present_blockHashes = true && (isSetBlockHashes()); + list.add(present_blockHashes); + if (present_blockHashes) + list.add(blockHashes); + + return list.hashCode(); } @Override @@ -9232,7 +9446,7 @@ public class SatelliteServer { if (this.blockHashes == null) { sb.append("null"); } else { - sb.append(this.blockHashes); + org.apache.thrift.TBaseHelper.toString(this.blockHashes, sb); } first = false; sb.append(")"); @@ -9289,13 +9503,13 @@ public class SatelliteServer { case 2: // BLOCK_HASHES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list162 = iprot.readListBegin(); - struct.blockHashes = new ArrayList<ByteBuffer>(_list162.size); - for (int _i163 = 0; _i163 < _list162.size; ++_i163) + org.apache.thrift.protocol.TList _list178 = iprot.readListBegin(); + struct.blockHashes = new ArrayList<ByteBuffer>(_list178.size); + ByteBuffer _elem179; + for (int _i180 = 0; _i180 < _list178.size; ++_i180) { - ByteBuffer _elem164; - _elem164 = iprot.readBinary(); - struct.blockHashes.add(_elem164); + _elem179 = iprot.readBinary(); + struct.blockHashes.add(_elem179); } iprot.readListEnd(); } @@ -9328,9 +9542,9 @@ public class SatelliteServer { oprot.writeFieldBegin(BLOCK_HASHES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.blockHashes.size())); - for (ByteBuffer _iter165 : struct.blockHashes) + for (ByteBuffer _iter181 : struct.blockHashes) { - oprot.writeBinary(_iter165); + oprot.writeBinary(_iter181); } oprot.writeListEnd(); } @@ -9367,9 +9581,9 @@ public class SatelliteServer { if (struct.isSetBlockHashes()) { { oprot.writeI32(struct.blockHashes.size()); - for (ByteBuffer _iter166 : struct.blockHashes) + for (ByteBuffer _iter182 : struct.blockHashes) { - oprot.writeBinary(_iter166); + oprot.writeBinary(_iter182); } } } @@ -9385,13 +9599,13 @@ public class SatelliteServer { } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list167 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.blockHashes = new ArrayList<ByteBuffer>(_list167.size); - for (int _i168 = 0; _i168 < _list167.size; ++_i168) + org.apache.thrift.protocol.TList _list183 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.blockHashes = new ArrayList<ByteBuffer>(_list183.size); + ByteBuffer _elem184; + for (int _i185 = 0; _i185 < _list183.size; ++_i185) { - ByteBuffer _elem169; - _elem169 = iprot.readBinary(); - struct.blockHashes.add(_elem169); + _elem184 = iprot.readBinary(); + struct.blockHashes.add(_elem184); } } struct.setBlockHashesIsSet(true); @@ -9596,7 +9810,14 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_ex1 = true && (isSetEx1()); + list.add(present_ex1); + if (present_ex1) + list.add(ex1); + + return list.hashCode(); } @Override @@ -9952,7 +10173,14 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_uploadToken = true && (isSetUploadToken()); + list.add(present_uploadToken); + if (present_uploadToken) + list.add(uploadToken); + + return list.hashCode(); } @Override @@ -10306,7 +10534,14 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_ex1 = true && (isSetEx1()); + list.add(present_ex1); + if (present_ex1) + list.add(ex1); + + return list.hashCode(); } @Override @@ -10662,7 +10897,14 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_uploadToken = true && (isSetUploadToken()); + list.add(present_uploadToken); + if (present_uploadToken) + list.add(uploadToken); + + return list.hashCode(); } @Override @@ -11075,7 +11317,19 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + boolean present_ex1 = true && (isSetEx1()); + list.add(present_ex1); + if (present_ex1) + list.add(ex1); + + return list.hashCode(); } @Override @@ -11536,7 +11790,19 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_userToken = true && (isSetUserToken()); + list.add(present_userToken); + if (present_userToken) + list.add(userToken); + + boolean present_imageVersionId = true && (isSetImageVersionId()); + list.add(present_imageVersionId); + if (present_imageVersionId) + list.add(imageVersionId); + + return list.hashCode(); } @Override @@ -12167,7 +12433,34 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + boolean present_rejection = true && (isSetRejection()); + list.add(present_rejection); + if (present_rejection) + list.add(rejection); + + boolean present_authError = true && (isSetAuthError()); + list.add(present_authError); + if (present_authError) + list.add(authError); + + boolean present_ffff = true && (isSetFfff()); + list.add(present_ffff); + if (present_ffff) + list.add(ffff); + + boolean present_sdf = true && (isSetSdf()); + list.add(present_sdf); + if (present_sdf) + list.add(sdf); + + return list.hashCode(); } @Override @@ -12698,7 +12991,14 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_downloadToken = true && (isSetDownloadToken()); + list.add(present_downloadToken); + if (present_downloadToken) + list.add(downloadToken); + + return list.hashCode(); } @Override @@ -13052,7 +13352,14 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_ex1 = true && (isSetEx1()); + list.add(present_ex1); + if (present_ex1) + list.add(ex1); + + return list.hashCode(); } @Override @@ -13408,7 +13715,14 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_userToken = true && (isSetUserToken()); + list.add(present_userToken); + if (present_userToken) + list.add(userToken); + + return list.hashCode(); } @Override @@ -13821,7 +14135,19 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_authError = true && (isSetAuthError()); + list.add(present_authError); + if (present_authError) + list.add(authError); + + boolean present_serverError = true && (isSetServerError()); + list.add(present_serverError); + if (present_serverError) + list.add(serverError); + + return list.hashCode(); } @Override @@ -14220,7 +14546,14 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_userToken = true && (isSetUserToken()); + list.add(present_userToken); + if (present_userToken) + list.add(userToken); + + return list.hashCode(); } @Override @@ -14692,7 +15025,24 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + boolean present_authError = true && (isSetAuthError()); + list.add(present_authError); + if (present_authError) + list.add(authError); + + boolean present_serverError = true && (isSetServerError()); + list.add(present_serverError); + if (present_serverError) + list.add(serverError); + + return list.hashCode(); } @Override @@ -15137,7 +15487,14 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_userToken = true && (isSetUserToken()); + list.add(present_userToken); + if (present_userToken) + list.add(userToken); + + return list.hashCode(); } @Override @@ -15491,7 +15848,14 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if (present_ex) + list.add(ex); + + return list.hashCode(); } @Override @@ -15851,7 +16215,7 @@ public class SatelliteServer { return getUserToken(); case PAGE: - return Integer.valueOf(getPage()); + return getPage(); } throw new IllegalStateException(); @@ -15908,7 +16272,19 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_userToken = true && (isSetUserToken()); + list.add(present_userToken); + if (present_userToken) + list.add(userToken); + + boolean present_page = true; + list.add(present_page); + if (present_page) + list.add(page); + + return list.hashCode(); } @Override @@ -16437,7 +16813,24 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + boolean present_failure = true && (isSetFailure()); + list.add(present_failure); + if (present_failure) + list.add(failure); + + boolean present_serverError = true && (isSetServerError()); + list.add(present_serverError); + if (present_serverError) + list.add(serverError); + + return list.hashCode(); } @Override @@ -16567,14 +16960,14 @@ public class SatelliteServer { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list170 = iprot.readListBegin(); - struct.success = new ArrayList<UserInfo>(_list170.size); - for (int _i171 = 0; _i171 < _list170.size; ++_i171) + org.apache.thrift.protocol.TList _list186 = iprot.readListBegin(); + struct.success = new ArrayList<UserInfo>(_list186.size); + UserInfo _elem187; + for (int _i188 = 0; _i188 < _list186.size; ++_i188) { - UserInfo _elem172; - _elem172 = new UserInfo(); - _elem172.read(iprot); - struct.success.add(_elem172); + _elem187 = new UserInfo(); + _elem187.read(iprot); + struct.success.add(_elem187); } iprot.readListEnd(); } @@ -16620,9 +17013,9 @@ public class SatelliteServer { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (UserInfo _iter173 : struct.success) + for (UserInfo _iter189 : struct.success) { - _iter173.write(oprot); + _iter189.write(oprot); } oprot.writeListEnd(); } @@ -16669,9 +17062,9 @@ public class SatelliteServer { if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (UserInfo _iter174 : struct.success) + for (UserInfo _iter190 : struct.success) { - _iter174.write(oprot); + _iter190.write(oprot); } } } @@ -16689,14 +17082,14 @@ public class SatelliteServer { BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list175 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList<UserInfo>(_list175.size); - for (int _i176 = 0; _i176 < _list175.size; ++_i176) + org.apache.thrift.protocol.TList _list191 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList<UserInfo>(_list191.size); + UserInfo _elem192; + for (int _i193 = 0; _i193 < _list191.size; ++_i193) { - UserInfo _elem177; - _elem177 = new UserInfo(); - _elem177.read(iprot); - struct.success.add(_elem177); + _elem192 = new UserInfo(); + _elem192.read(iprot); + struct.success.add(_elem192); } } struct.setSuccessIsSet(true); @@ -16911,7 +17304,14 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_userToken = true && (isSetUserToken()); + list.add(present_userToken); + if (present_userToken) + list.add(userToken); + + return list.hashCode(); } @Override @@ -17383,7 +17783,24 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + boolean present_failure = true && (isSetFailure()); + list.add(present_failure); + if (present_failure) + list.add(failure); + + boolean present_serverError = true && (isSetServerError()); + list.add(present_serverError); + if (present_serverError) + list.add(serverError); + + return list.hashCode(); } @Override @@ -17887,7 +18304,19 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_userToken = true && (isSetUserToken()); + list.add(present_userToken); + if (present_userToken) + list.add(userToken); + + boolean present_config = true && (isSetConfig()); + list.add(present_config); + if (present_config) + list.add(config); + + return list.hashCode(); } @Override @@ -18346,7 +18775,19 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_failure = true && (isSetFailure()); + list.add(present_failure); + if (present_failure) + list.add(failure); + + boolean present_serverError = true && (isSetServerError()); + list.add(present_serverError); + if (present_serverError) + list.add(serverError); + + return list.hashCode(); } @Override @@ -18680,7 +19121,9 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + return list.hashCode(); } @Override @@ -19011,7 +19454,14 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + return list.hashCode(); } @Override @@ -19105,14 +19555,14 @@ public class SatelliteServer { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list178 = iprot.readListBegin(); - struct.success = new ArrayList<OperatingSystem>(_list178.size); - for (int _i179 = 0; _i179 < _list178.size; ++_i179) + org.apache.thrift.protocol.TList _list194 = iprot.readListBegin(); + struct.success = new ArrayList<OperatingSystem>(_list194.size); + OperatingSystem _elem195; + for (int _i196 = 0; _i196 < _list194.size; ++_i196) { - OperatingSystem _elem180; - _elem180 = new OperatingSystem(); - _elem180.read(iprot); - struct.success.add(_elem180); + _elem195 = new OperatingSystem(); + _elem195.read(iprot); + struct.success.add(_elem195); } iprot.readListEnd(); } @@ -19140,9 +19590,9 @@ public class SatelliteServer { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (OperatingSystem _iter181 : struct.success) + for (OperatingSystem _iter197 : struct.success) { - _iter181.write(oprot); + _iter197.write(oprot); } oprot.writeListEnd(); } @@ -19173,9 +19623,9 @@ public class SatelliteServer { if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (OperatingSystem _iter182 : struct.success) + for (OperatingSystem _iter198 : struct.success) { - _iter182.write(oprot); + _iter198.write(oprot); } } } @@ -19187,14 +19637,14 @@ public class SatelliteServer { BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list183 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList<OperatingSystem>(_list183.size); - for (int _i184 = 0; _i184 < _list183.size; ++_i184) + org.apache.thrift.protocol.TList _list199 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList<OperatingSystem>(_list199.size); + OperatingSystem _elem200; + for (int _i201 = 0; _i201 < _list199.size; ++_i201) { - OperatingSystem _elem185; - _elem185 = new OperatingSystem(); - _elem185.read(iprot); - struct.success.add(_elem185); + _elem200 = new OperatingSystem(); + _elem200.read(iprot); + struct.success.add(_elem200); } } struct.setSuccessIsSet(true); @@ -19334,7 +19784,9 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + return list.hashCode(); } @Override @@ -19665,7 +20117,14 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + return list.hashCode(); } @Override @@ -19759,14 +20218,14 @@ public class SatelliteServer { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list186 = iprot.readListBegin(); - struct.success = new ArrayList<Virtualizer>(_list186.size); - for (int _i187 = 0; _i187 < _list186.size; ++_i187) + org.apache.thrift.protocol.TList _list202 = iprot.readListBegin(); + struct.success = new ArrayList<Virtualizer>(_list202.size); + Virtualizer _elem203; + for (int _i204 = 0; _i204 < _list202.size; ++_i204) { - Virtualizer _elem188; - _elem188 = new Virtualizer(); - _elem188.read(iprot); - struct.success.add(_elem188); + _elem203 = new Virtualizer(); + _elem203.read(iprot); + struct.success.add(_elem203); } iprot.readListEnd(); } @@ -19794,9 +20253,9 @@ public class SatelliteServer { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Virtualizer _iter189 : struct.success) + for (Virtualizer _iter205 : struct.success) { - _iter189.write(oprot); + _iter205.write(oprot); } oprot.writeListEnd(); } @@ -19827,9 +20286,9 @@ public class SatelliteServer { if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Virtualizer _iter190 : struct.success) + for (Virtualizer _iter206 : struct.success) { - _iter190.write(oprot); + _iter206.write(oprot); } } } @@ -19841,14 +20300,14 @@ public class SatelliteServer { BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list191 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList<Virtualizer>(_list191.size); - for (int _i192 = 0; _i192 < _list191.size; ++_i192) + org.apache.thrift.protocol.TList _list207 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList<Virtualizer>(_list207.size); + Virtualizer _elem208; + for (int _i209 = 0; _i209 < _list207.size; ++_i209) { - Virtualizer _elem193; - _elem193 = new Virtualizer(); - _elem193.read(iprot); - struct.success.add(_elem193); + _elem208 = new Virtualizer(); + _elem208.read(iprot); + struct.success.add(_elem208); } } struct.setSuccessIsSet(true); @@ -19988,7 +20447,9 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + return list.hashCode(); } @Override @@ -20319,7 +20780,14 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + return list.hashCode(); } @Override @@ -20413,14 +20881,14 @@ public class SatelliteServer { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list194 = iprot.readListBegin(); - struct.success = new ArrayList<Organization>(_list194.size); - for (int _i195 = 0; _i195 < _list194.size; ++_i195) + org.apache.thrift.protocol.TList _list210 = iprot.readListBegin(); + struct.success = new ArrayList<Organization>(_list210.size); + Organization _elem211; + for (int _i212 = 0; _i212 < _list210.size; ++_i212) { - Organization _elem196; - _elem196 = new Organization(); - _elem196.read(iprot); - struct.success.add(_elem196); + _elem211 = new Organization(); + _elem211.read(iprot); + struct.success.add(_elem211); } iprot.readListEnd(); } @@ -20448,9 +20916,9 @@ public class SatelliteServer { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Organization _iter197 : struct.success) + for (Organization _iter213 : struct.success) { - _iter197.write(oprot); + _iter213.write(oprot); } oprot.writeListEnd(); } @@ -20481,9 +20949,9 @@ public class SatelliteServer { if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Organization _iter198 : struct.success) + for (Organization _iter214 : struct.success) { - _iter198.write(oprot); + _iter214.write(oprot); } } } @@ -20495,14 +20963,677 @@ public class SatelliteServer { BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list199 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList<Organization>(_list199.size); - for (int _i200 = 0; _i200 < _list199.size; ++_i200) + org.apache.thrift.protocol.TList _list215 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList<Organization>(_list215.size); + Organization _elem216; + for (int _i217 = 0; _i217 < _list215.size; ++_i217) { - Organization _elem201; - _elem201 = new Organization(); - _elem201.read(iprot); - struct.success.add(_elem201); + _elem216 = new Organization(); + _elem216.read(iprot); + struct.success.add(_elem216); + } + } + struct.setSuccessIsSet(true); + } + } + } + + } + + public static class getLocations_args implements org.apache.thrift.TBase<getLocations_args, getLocations_args._Fields>, java.io.Serializable, Cloneable, Comparable<getLocations_args> { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getLocations_args"); + + + private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new getLocations_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new getLocations_argsTupleSchemeFactory()); + } + + + /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { +; + + private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getLocations_args.class, metaDataMap); + } + + public getLocations_args() { + } + + /** + * Performs a deep copy on <i>other</i>. + */ + public getLocations_args(getLocations_args other) { + } + + public getLocations_args deepCopy() { + return new getLocations_args(this); + } + + @Override + public void clear() { + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof getLocations_args) + return this.equals((getLocations_args)that); + return false; + } + + public boolean equals(getLocations_args that) { + if (that == null) + return false; + + return true; + } + + @Override + public int hashCode() { + List<Object> list = new ArrayList<Object>(); + + return list.hashCode(); + } + + @Override + public int compareTo(getLocations_args other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("getLocations_args("); + boolean first = true; + + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class getLocations_argsStandardSchemeFactory implements SchemeFactory { + public getLocations_argsStandardScheme getScheme() { + return new getLocations_argsStandardScheme(); + } + } + + private static class getLocations_argsStandardScheme extends StandardScheme<getLocations_args> { + + public void read(org.apache.thrift.protocol.TProtocol iprot, getLocations_args struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, getLocations_args struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class getLocations_argsTupleSchemeFactory implements SchemeFactory { + public getLocations_argsTupleScheme getScheme() { + return new getLocations_argsTupleScheme(); + } + } + + private static class getLocations_argsTupleScheme extends TupleScheme<getLocations_args> { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, getLocations_args struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, getLocations_args struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + } + } + + } + + public static class getLocations_result implements org.apache.thrift.TBase<getLocations_result, getLocations_result._Fields>, java.io.Serializable, Cloneable, Comparable<getLocations_result> { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getLocations_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); + + private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new getLocations_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new getLocations_resultTupleSchemeFactory()); + } + + public List<Location> success; // required + + /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short)0, "success"); + + private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case 0: // SUCCESS + return SUCCESS; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Location.class)))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getLocations_result.class, metaDataMap); + } + + public getLocations_result() { + } + + public getLocations_result( + List<Location> success) + { + this(); + this.success = success; + } + + /** + * Performs a deep copy on <i>other</i>. + */ + public getLocations_result(getLocations_result other) { + if (other.isSetSuccess()) { + List<Location> __this__success = new ArrayList<Location>(other.success.size()); + for (Location other_element : other.success) { + __this__success.add(new Location(other_element)); + } + this.success = __this__success; + } + } + + public getLocations_result deepCopy() { + return new getLocations_result(this); + } + + @Override + public void clear() { + this.success = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public java.util.Iterator<Location> getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); + } + + public void addToSuccess(Location elem) { + if (this.success == null) { + this.success = new ArrayList<Location>(); + } + this.success.add(elem); + } + + public List<Location> getSuccess() { + return this.success; + } + + public getLocations_result setSuccess(List<Location> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** Returns true if field success is set (has been assigned a value) and false otherwise */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if (!value) { + this.success = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if (value == null) { + unsetSuccess(); + } else { + setSuccess((List<Location>)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof getLocations_result) + return this.equals((getLocations_result)that); + return false; + } + + public boolean equals(getLocations_result that) { + if (that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if (this_present_success || that_present_success) { + if (!(this_present_success && that_present_success)) + return false; + if (!this.success.equals(that.success)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List<Object> list = new ArrayList<Object>(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + return list.hashCode(); + } + + @Override + public int compareTo(getLocations_result other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + if (lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("getLocations_result("); + boolean first = true; + + sb.append("success:"); + if (this.success == null) { + sb.append("null"); + } else { + sb.append(this.success); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class getLocations_resultStandardSchemeFactory implements SchemeFactory { + public getLocations_resultStandardScheme getScheme() { + return new getLocations_resultStandardScheme(); + } + } + + private static class getLocations_resultStandardScheme extends StandardScheme<getLocations_result> { + + public void read(org.apache.thrift.protocol.TProtocol iprot, getLocations_result struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list218 = iprot.readListBegin(); + struct.success = new ArrayList<Location>(_list218.size); + Location _elem219; + for (int _i220 = 0; _i220 < _list218.size; ++_i220) + { + _elem219 = new Location(); + _elem219.read(iprot); + struct.success.add(_elem219); + } + iprot.readListEnd(); + } + struct.setSuccessIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, getLocations_result struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + for (Location _iter221 : struct.success) + { + _iter221.write(oprot); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class getLocations_resultTupleSchemeFactory implements SchemeFactory { + public getLocations_resultTupleScheme getScheme() { + return new getLocations_resultTupleScheme(); + } + } + + private static class getLocations_resultTupleScheme extends TupleScheme<getLocations_result> { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, getLocations_result struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetSuccess()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Location _iter222 : struct.success) + { + _iter222.write(oprot); + } + } + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, getLocations_result struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + { + org.apache.thrift.protocol.TList _list223 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList<Location>(_list223.size); + Location _elem224; + for (int _i225 = 0; _i225 < _list223.size; ++_i225) + { + _elem224 = new Location(); + _elem224.read(iprot); + struct.success.add(_elem224); } } struct.setSuccessIsSet(true); @@ -20642,7 +21773,9 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + return list.hashCode(); } @Override @@ -20953,7 +22086,14 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + return list.hashCode(); } @Override @@ -21381,7 +22521,7 @@ public class SatelliteServer { return getTagSearch(); case PAGE: - return Integer.valueOf(getPage()); + return getPage(); } throw new IllegalStateException(); @@ -21449,7 +22589,24 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_userToken = true && (isSetUserToken()); + list.add(present_userToken); + if (present_userToken) + list.add(userToken); + + boolean present_tagSearch = true && (isSetTagSearch()); + list.add(present_tagSearch); + if (present_tagSearch) + list.add(tagSearch); + + boolean present_page = true; + list.add(present_page); + if (present_page) + list.add(page); + + return list.hashCode(); } @Override @@ -21585,13 +22742,13 @@ public class SatelliteServer { case 2: // TAG_SEARCH if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list202 = iprot.readListBegin(); - struct.tagSearch = new ArrayList<String>(_list202.size); - for (int _i203 = 0; _i203 < _list202.size; ++_i203) + org.apache.thrift.protocol.TList _list226 = iprot.readListBegin(); + struct.tagSearch = new ArrayList<String>(_list226.size); + String _elem227; + for (int _i228 = 0; _i228 < _list226.size; ++_i228) { - String _elem204; - _elem204 = iprot.readString(); - struct.tagSearch.add(_elem204); + _elem227 = iprot.readString(); + struct.tagSearch.add(_elem227); } iprot.readListEnd(); } @@ -21632,9 +22789,9 @@ public class SatelliteServer { oprot.writeFieldBegin(TAG_SEARCH_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tagSearch.size())); - for (String _iter205 : struct.tagSearch) + for (String _iter229 : struct.tagSearch) { - oprot.writeString(_iter205); + oprot.writeString(_iter229); } oprot.writeListEnd(); } @@ -21677,9 +22834,9 @@ public class SatelliteServer { if (struct.isSetTagSearch()) { { oprot.writeI32(struct.tagSearch.size()); - for (String _iter206 : struct.tagSearch) + for (String _iter230 : struct.tagSearch) { - oprot.writeString(_iter206); + oprot.writeString(_iter230); } } } @@ -21698,13 +22855,13 @@ public class SatelliteServer { } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list207 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tagSearch = new ArrayList<String>(_list207.size); - for (int _i208 = 0; _i208 < _list207.size; ++_i208) + org.apache.thrift.protocol.TList _list231 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tagSearch = new ArrayList<String>(_list231.size); + String _elem232; + for (int _i233 = 0; _i233 < _list231.size; ++_i233) { - String _elem209; - _elem209 = iprot.readString(); - struct.tagSearch.add(_elem209); + _elem232 = iprot.readString(); + struct.tagSearch.add(_elem232); } } struct.setTagSearchIsSet(true); @@ -22051,7 +23208,24 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + boolean present_authError = true && (isSetAuthError()); + list.add(present_authError); + if (present_authError) + list.add(authError); + + boolean present_serverError = true && (isSetServerError()); + list.add(present_serverError); + if (present_serverError) + list.add(serverError); + + return list.hashCode(); } @Override @@ -22181,14 +23355,14 @@ public class SatelliteServer { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list210 = iprot.readListBegin(); - struct.success = new ArrayList<ImageSummaryRead>(_list210.size); - for (int _i211 = 0; _i211 < _list210.size; ++_i211) + org.apache.thrift.protocol.TList _list234 = iprot.readListBegin(); + struct.success = new ArrayList<ImageSummaryRead>(_list234.size); + ImageSummaryRead _elem235; + for (int _i236 = 0; _i236 < _list234.size; ++_i236) { - ImageSummaryRead _elem212; - _elem212 = new ImageSummaryRead(); - _elem212.read(iprot); - struct.success.add(_elem212); + _elem235 = new ImageSummaryRead(); + _elem235.read(iprot); + struct.success.add(_elem235); } iprot.readListEnd(); } @@ -22234,9 +23408,9 @@ public class SatelliteServer { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (ImageSummaryRead _iter213 : struct.success) + for (ImageSummaryRead _iter237 : struct.success) { - _iter213.write(oprot); + _iter237.write(oprot); } oprot.writeListEnd(); } @@ -22283,9 +23457,9 @@ public class SatelliteServer { if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (ImageSummaryRead _iter214 : struct.success) + for (ImageSummaryRead _iter238 : struct.success) { - _iter214.write(oprot); + _iter238.write(oprot); } } } @@ -22303,14 +23477,14 @@ public class SatelliteServer { BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list215 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList<ImageSummaryRead>(_list215.size); - for (int _i216 = 0; _i216 < _list215.size; ++_i216) + org.apache.thrift.protocol.TList _list239 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList<ImageSummaryRead>(_list239.size); + ImageSummaryRead _elem240; + for (int _i241 = 0; _i241 < _list239.size; ++_i241) { - ImageSummaryRead _elem217; - _elem217 = new ImageSummaryRead(); - _elem217.read(iprot); - struct.success.add(_elem217); + _elem240 = new ImageSummaryRead(); + _elem240.read(iprot); + struct.success.add(_elem240); } } struct.setSuccessIsSet(true); @@ -22584,7 +23758,19 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_userToken = true && (isSetUserToken()); + list.add(present_userToken); + if (present_userToken) + list.add(userToken); + + boolean present_imageBaseId = true && (isSetImageBaseId()); + list.add(present_imageBaseId); + if (present_imageBaseId) + list.add(imageBaseId); + + return list.hashCode(); } @Override @@ -23156,7 +24342,29 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + boolean present_authError = true && (isSetAuthError()); + list.add(present_authError); + if (present_authError) + list.add(authError); + + boolean present_notFound = true && (isSetNotFound()); + list.add(present_notFound); + if (present_notFound) + list.add(notFound); + + boolean present_serverError = true && (isSetServerError()); + list.add(present_serverError); + if (present_serverError) + list.add(serverError); + + return list.hashCode(); } @Override @@ -23703,7 +24911,19 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_userToken = true && (isSetUserToken()); + list.add(present_userToken); + if (present_userToken) + list.add(userToken); + + boolean present_imageName = true && (isSetImageName()); + list.add(present_imageName); + if (present_imageName) + list.add(imageName); + + return list.hashCode(); } @Override @@ -24216,7 +25436,24 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + boolean present_authError = true && (isSetAuthError()); + list.add(present_authError); + if (present_authError) + list.add(authError); + + boolean present_error = true && (isSetError()); + list.add(present_error); + if (present_error) + list.add(error); + + return list.hashCode(); } @Override @@ -24774,7 +26011,24 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_userToken = true && (isSetUserToken()); + list.add(present_userToken); + if (present_userToken) + list.add(userToken); + + boolean present_imageBaseId = true && (isSetImageBaseId()); + list.add(present_imageBaseId); + if (present_imageBaseId) + list.add(imageBaseId); + + boolean present_image = true && (isSetImage()); + list.add(present_image); + if (present_image) + list.add(image); + + return list.hashCode(); } @Override @@ -25333,7 +26587,24 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_authError = true && (isSetAuthError()); + list.add(present_authError); + if (present_authError) + list.add(authError); + + boolean present_notFound = true && (isSetNotFound()); + list.add(present_notFound); + if (present_notFound) + list.add(notFound); + + boolean present_imgError = true && (isSetImgError()); + list.add(present_imgError); + if (present_imgError) + list.add(imgError); + + return list.hashCode(); } @Override @@ -25893,7 +27164,24 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_userToken = true && (isSetUserToken()); + list.add(present_userToken); + if (present_userToken) + list.add(userToken); + + boolean present_imageVersionId = true && (isSetImageVersionId()); + list.add(present_imageVersionId); + if (present_imageVersionId) + list.add(imageVersionId); + + boolean present_image = true && (isSetImage()); + list.add(present_image); + if (present_image) + list.add(image); + + return list.hashCode(); } @Override @@ -26452,7 +27740,24 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_authError = true && (isSetAuthError()); + list.add(present_authError); + if (present_authError) + list.add(authError); + + boolean present_notFound = true && (isSetNotFound()); + list.add(present_notFound); + if (present_notFound) + list.add(notFound); + + boolean present_imgError = true && (isSetImgError()); + list.add(present_imgError); + if (present_imgError) + list.add(imgError); + + return list.hashCode(); } @Override @@ -26953,7 +28258,19 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_userToken = true && (isSetUserToken()); + list.add(present_userToken); + if (present_userToken) + list.add(userToken); + + boolean present_imageVersionId = true && (isSetImageVersionId()); + list.add(present_imageVersionId); + if (present_imageVersionId) + list.add(imageVersionId); + + return list.hashCode(); } @Override @@ -27466,7 +28783,24 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_authError = true && (isSetAuthError()); + list.add(present_authError); + if (present_authError) + list.add(authError); + + boolean present_notFound = true && (isSetNotFound()); + list.add(present_notFound); + if (present_notFound) + list.add(notFound); + + boolean present_serverError = true && (isSetServerError()); + list.add(present_serverError); + if (present_serverError) + list.add(serverError); + + return list.hashCode(); } @Override @@ -27967,7 +29301,19 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_userToken = true && (isSetUserToken()); + list.add(present_userToken); + if (present_userToken) + list.add(userToken); + + boolean present_imageBaseId = true && (isSetImageBaseId()); + list.add(present_imageBaseId); + if (present_imageBaseId) + list.add(imageBaseId); + + return list.hashCode(); } @Override @@ -28480,7 +29826,24 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_authError = true && (isSetAuthError()); + list.add(present_authError); + if (present_authError) + list.add(authError); + + boolean present_notFound = true && (isSetNotFound()); + list.add(present_notFound); + if (present_notFound) + list.add(notFound); + + boolean present_serverError = true && (isSetServerError()); + list.add(present_serverError); + if (present_serverError) + list.add(serverError); + + return list.hashCode(); } @Override @@ -29065,7 +30428,24 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_userToken = true && (isSetUserToken()); + list.add(present_userToken); + if (present_userToken) + list.add(userToken); + + boolean present_imageBaseId = true && (isSetImageBaseId()); + list.add(present_imageBaseId); + if (present_imageBaseId) + list.add(imageBaseId); + + boolean present_permissions = true && (isSetPermissions()); + list.add(present_permissions); + if (present_permissions) + list.add(permissions); + + return list.hashCode(); } @Override @@ -29211,16 +30591,16 @@ public class SatelliteServer { case 3: // PERMISSIONS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map218 = iprot.readMapBegin(); - struct.permissions = new HashMap<String,ImagePermissions>(2*_map218.size); - for (int _i219 = 0; _i219 < _map218.size; ++_i219) + org.apache.thrift.protocol.TMap _map242 = iprot.readMapBegin(); + struct.permissions = new HashMap<String,ImagePermissions>(2*_map242.size); + String _key243; + ImagePermissions _val244; + for (int _i245 = 0; _i245 < _map242.size; ++_i245) { - String _key220; - ImagePermissions _val221; - _key220 = iprot.readString(); - _val221 = new ImagePermissions(); - _val221.read(iprot); - struct.permissions.put(_key220, _val221); + _key243 = iprot.readString(); + _val244 = new ImagePermissions(); + _val244.read(iprot); + struct.permissions.put(_key243, _val244); } iprot.readMapEnd(); } @@ -29258,10 +30638,10 @@ public class SatelliteServer { oprot.writeFieldBegin(PERMISSIONS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, struct.permissions.size())); - for (Map.Entry<String, ImagePermissions> _iter222 : struct.permissions.entrySet()) + for (Map.Entry<String, ImagePermissions> _iter246 : struct.permissions.entrySet()) { - oprot.writeString(_iter222.getKey()); - _iter222.getValue().write(oprot); + oprot.writeString(_iter246.getKey()); + _iter246.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -29304,10 +30684,10 @@ public class SatelliteServer { if (struct.isSetPermissions()) { { oprot.writeI32(struct.permissions.size()); - for (Map.Entry<String, ImagePermissions> _iter223 : struct.permissions.entrySet()) + for (Map.Entry<String, ImagePermissions> _iter247 : struct.permissions.entrySet()) { - oprot.writeString(_iter223.getKey()); - _iter223.getValue().write(oprot); + oprot.writeString(_iter247.getKey()); + _iter247.getValue().write(oprot); } } } @@ -29327,16 +30707,16 @@ public class SatelliteServer { } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map224 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.permissions = new HashMap<String,ImagePermissions>(2*_map224.size); - for (int _i225 = 0; _i225 < _map224.size; ++_i225) + org.apache.thrift.protocol.TMap _map248 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.permissions = new HashMap<String,ImagePermissions>(2*_map248.size); + String _key249; + ImagePermissions _val250; + for (int _i251 = 0; _i251 < _map248.size; ++_i251) { - String _key226; - ImagePermissions _val227; - _key226 = iprot.readString(); - _val227 = new ImagePermissions(); - _val227.read(iprot); - struct.permissions.put(_key226, _val227); + _key249 = iprot.readString(); + _val250 = new ImagePermissions(); + _val250.read(iprot); + struct.permissions.put(_key249, _val250); } } struct.setPermissionsIsSet(true); @@ -29659,7 +31039,24 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_authError = true && (isSetAuthError()); + list.add(present_authError); + if (present_authError) + list.add(authError); + + boolean present_notFound = true && (isSetNotFound()); + list.add(present_notFound); + if (present_notFound) + list.add(notFound); + + boolean present_serverError = true && (isSetServerError()); + list.add(present_serverError); + if (present_serverError) + list.add(serverError); + + return list.hashCode(); } @Override @@ -30160,7 +31557,19 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_userToken = true && (isSetUserToken()); + list.add(present_userToken); + if (present_userToken) + list.add(userToken); + + boolean present_imageBaseId = true && (isSetImageBaseId()); + list.add(present_imageBaseId); + if (present_imageBaseId) + list.add(imageBaseId); + + return list.hashCode(); } @Override @@ -30757,7 +32166,29 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + boolean present_authError = true && (isSetAuthError()); + list.add(present_authError); + if (present_authError) + list.add(authError); + + boolean present_notFound = true && (isSetNotFound()); + list.add(present_notFound); + if (present_notFound) + list.add(notFound); + + boolean present_serverError = true && (isSetServerError()); + list.add(present_serverError); + if (present_serverError) + list.add(serverError); + + return list.hashCode(); } @Override @@ -30905,16 +32336,16 @@ public class SatelliteServer { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map228 = iprot.readMapBegin(); - struct.success = new HashMap<String,ImagePermissions>(2*_map228.size); - for (int _i229 = 0; _i229 < _map228.size; ++_i229) + org.apache.thrift.protocol.TMap _map252 = iprot.readMapBegin(); + struct.success = new HashMap<String,ImagePermissions>(2*_map252.size); + String _key253; + ImagePermissions _val254; + for (int _i255 = 0; _i255 < _map252.size; ++_i255) { - String _key230; - ImagePermissions _val231; - _key230 = iprot.readString(); - _val231 = new ImagePermissions(); - _val231.read(iprot); - struct.success.put(_key230, _val231); + _key253 = iprot.readString(); + _val254 = new ImagePermissions(); + _val254.read(iprot); + struct.success.put(_key253, _val254); } iprot.readMapEnd(); } @@ -30969,10 +32400,10 @@ public class SatelliteServer { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry<String, ImagePermissions> _iter232 : struct.success.entrySet()) + for (Map.Entry<String, ImagePermissions> _iter256 : struct.success.entrySet()) { - oprot.writeString(_iter232.getKey()); - _iter232.getValue().write(oprot); + oprot.writeString(_iter256.getKey()); + _iter256.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -31027,10 +32458,10 @@ public class SatelliteServer { if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry<String, ImagePermissions> _iter233 : struct.success.entrySet()) + for (Map.Entry<String, ImagePermissions> _iter257 : struct.success.entrySet()) { - oprot.writeString(_iter233.getKey()); - _iter233.getValue().write(oprot); + oprot.writeString(_iter257.getKey()); + _iter257.getValue().write(oprot); } } } @@ -31051,16 +32482,16 @@ public class SatelliteServer { BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map234 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new HashMap<String,ImagePermissions>(2*_map234.size); - for (int _i235 = 0; _i235 < _map234.size; ++_i235) + org.apache.thrift.protocol.TMap _map258 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new HashMap<String,ImagePermissions>(2*_map258.size); + String _key259; + ImagePermissions _val260; + for (int _i261 = 0; _i261 < _map258.size; ++_i261) { - String _key236; - ImagePermissions _val237; - _key236 = iprot.readString(); - _val237 = new ImagePermissions(); - _val237.read(iprot); - struct.success.put(_key236, _val237); + _key259 = iprot.readString(); + _val260 = new ImagePermissions(); + _val260.read(iprot); + struct.success.put(_key259, _val260); } } struct.setSuccessIsSet(true); @@ -31398,7 +32829,24 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_userToken = true && (isSetUserToken()); + list.add(present_userToken); + if (present_userToken) + list.add(userToken); + + boolean present_imageBaseId = true && (isSetImageBaseId()); + list.add(present_imageBaseId); + if (present_imageBaseId) + list.add(imageBaseId); + + boolean present_newOwnerId = true && (isSetNewOwnerId()); + list.add(present_newOwnerId); + if (present_newOwnerId) + list.add(newOwnerId); + + return list.hashCode(); } @Override @@ -31952,7 +33400,24 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_authError = true && (isSetAuthError()); + list.add(present_authError); + if (present_authError) + list.add(authError); + + boolean present_notFound = true && (isSetNotFound()); + list.add(present_notFound); + if (present_notFound) + list.add(notFound); + + boolean present_serverError = true && (isSetServerError()); + list.add(present_serverError); + if (present_serverError) + list.add(serverError); + + return list.hashCode(); } @Override @@ -32446,7 +33911,7 @@ public class SatelliteServer { return getImageBaseId(); case EXPIRE_TIME: - return Long.valueOf(getExpireTime()); + return getExpireTime(); } throw new IllegalStateException(); @@ -32514,7 +33979,24 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_userToken = true && (isSetUserToken()); + list.add(present_userToken); + if (present_userToken) + list.add(userToken); + + boolean present_imageBaseId = true && (isSetImageBaseId()); + list.add(present_imageBaseId); + if (present_imageBaseId) + list.add(imageBaseId); + + boolean present_expireTime = true; + list.add(present_expireTime); + if (present_expireTime) + list.add(expireTime); + + return list.hashCode(); } @Override @@ -33123,7 +34605,29 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_authError = true && (isSetAuthError()); + list.add(present_authError); + if (present_authError) + list.add(authError); + + boolean present_notFound = true && (isSetNotFound()); + list.add(present_notFound); + if (present_notFound) + list.add(notFound); + + boolean present_serverError = true && (isSetServerError()); + list.add(present_serverError); + if (present_serverError) + list.add(serverError); + + boolean present_dateError = true && (isSetDateError()); + list.add(present_dateError); + if (present_dateError) + list.add(dateError); + + return list.hashCode(); } @Override @@ -33667,7 +35171,19 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_userToken = true && (isSetUserToken()); + list.add(present_userToken); + if (present_userToken) + list.add(userToken); + + boolean present_imageVersionId = true && (isSetImageVersionId()); + list.add(present_imageVersionId); + if (present_imageVersionId) + list.add(imageVersionId); + + return list.hashCode(); } @Override @@ -34239,7 +35755,29 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + boolean present_authError = true && (isSetAuthError()); + list.add(present_authError); + if (present_authError) + list.add(authError); + + boolean present_notFound = true && (isSetNotFound()); + list.add(present_notFound); + if (present_notFound) + list.add(notFound); + + boolean present_serverError = true && (isSetServerError()); + list.add(present_serverError); + if (present_serverError) + list.add(serverError); + + return list.hashCode(); } @Override @@ -34781,7 +36319,19 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_userToken = true && (isSetUserToken()); + list.add(present_userToken); + if (present_userToken) + list.add(userToken); + + boolean present_lecture = true && (isSetLecture()); + list.add(present_lecture); + if (present_lecture) + list.add(lecture); + + return list.hashCode(); } @Override @@ -35417,7 +36967,34 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + boolean present_authError = true && (isSetAuthError()); + list.add(present_authError); + if (present_authError) + list.add(authError); + + boolean present_serverError = true && (isSetServerError()); + list.add(present_serverError); + if (present_serverError) + list.add(serverError); + + boolean present_dateError = true && (isSetDateError()); + list.add(present_dateError); + if (present_dateError) + list.add(dateError); + + boolean present_notFound = true && (isSetNotFound()); + list.add(present_notFound); + if (present_notFound) + list.add(notFound); + + return list.hashCode(); } @Override @@ -36061,7 +37638,24 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_userToken = true && (isSetUserToken()); + list.add(present_userToken); + if (present_userToken) + list.add(userToken); + + boolean present_lectureId = true && (isSetLectureId()); + list.add(present_lectureId); + if (present_lectureId) + list.add(lectureId); + + boolean present_lecture = true && (isSetLecture()); + list.add(present_lecture); + if (present_lecture) + list.add(lecture); + + return list.hashCode(); } @Override @@ -36679,7 +38273,29 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_authError = true && (isSetAuthError()); + list.add(present_authError); + if (present_authError) + list.add(authError); + + boolean present_notFound = true && (isSetNotFound()); + list.add(present_notFound); + if (present_notFound) + list.add(notFound); + + boolean present_serverError = true && (isSetServerError()); + list.add(present_serverError); + if (present_serverError) + list.add(serverError); + + boolean present_dateError = true && (isSetDateError()); + list.add(present_dateError); + if (present_dateError) + list.add(dateError); + + return list.hashCode(); } @Override @@ -37168,7 +38784,7 @@ public class SatelliteServer { return getUserToken(); case PAGE: - return Integer.valueOf(getPage()); + return getPage(); } throw new IllegalStateException(); @@ -37225,7 +38841,19 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_userToken = true && (isSetUserToken()); + list.add(present_userToken); + if (present_userToken) + list.add(userToken); + + boolean present_page = true; + list.add(present_page); + if (present_page) + list.add(page); + + return list.hashCode(); } @Override @@ -37754,7 +39382,24 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + boolean present_authError = true && (isSetAuthError()); + list.add(present_authError); + if (present_authError) + list.add(authError); + + boolean present_serverError = true && (isSetServerError()); + list.add(present_serverError); + if (present_serverError) + list.add(serverError); + + return list.hashCode(); } @Override @@ -37884,14 +39529,14 @@ public class SatelliteServer { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list238 = iprot.readListBegin(); - struct.success = new ArrayList<LectureSummary>(_list238.size); - for (int _i239 = 0; _i239 < _list238.size; ++_i239) + org.apache.thrift.protocol.TList _list262 = iprot.readListBegin(); + struct.success = new ArrayList<LectureSummary>(_list262.size); + LectureSummary _elem263; + for (int _i264 = 0; _i264 < _list262.size; ++_i264) { - LectureSummary _elem240; - _elem240 = new LectureSummary(); - _elem240.read(iprot); - struct.success.add(_elem240); + _elem263 = new LectureSummary(); + _elem263.read(iprot); + struct.success.add(_elem263); } iprot.readListEnd(); } @@ -37937,9 +39582,9 @@ public class SatelliteServer { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (LectureSummary _iter241 : struct.success) + for (LectureSummary _iter265 : struct.success) { - _iter241.write(oprot); + _iter265.write(oprot); } oprot.writeListEnd(); } @@ -37986,9 +39631,9 @@ public class SatelliteServer { if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (LectureSummary _iter242 : struct.success) + for (LectureSummary _iter266 : struct.success) { - _iter242.write(oprot); + _iter266.write(oprot); } } } @@ -38006,14 +39651,14 @@ public class SatelliteServer { BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list243 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList<LectureSummary>(_list243.size); - for (int _i244 = 0; _i244 < _list243.size; ++_i244) + org.apache.thrift.protocol.TList _list267 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList<LectureSummary>(_list267.size); + LectureSummary _elem268; + for (int _i269 = 0; _i269 < _list267.size; ++_i269) { - LectureSummary _elem245; - _elem245 = new LectureSummary(); - _elem245.read(iprot); - struct.success.add(_elem245); + _elem268 = new LectureSummary(); + _elem268.read(iprot); + struct.success.add(_elem268); } } struct.setSuccessIsSet(true); @@ -38287,7 +39932,19 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_userToken = true && (isSetUserToken()); + list.add(present_userToken); + if (present_userToken) + list.add(userToken); + + boolean present_lectureId = true && (isSetLectureId()); + list.add(present_lectureId); + if (present_lectureId) + list.add(lectureId); + + return list.hashCode(); } @Override @@ -38859,7 +40516,29 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + boolean present_authError = true && (isSetAuthError()); + list.add(present_authError); + if (present_authError) + list.add(authError); + + boolean present_notFound = true && (isSetNotFound()); + list.add(present_notFound); + if (present_notFound) + list.add(notFound); + + boolean present_serverError = true && (isSetServerError()); + list.add(present_serverError); + if (present_serverError) + list.add(serverError); + + return list.hashCode(); } @Override @@ -39406,7 +41085,19 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_userToken = true && (isSetUserToken()); + list.add(present_userToken); + if (present_userToken) + list.add(userToken); + + boolean present_lectureId = true && (isSetLectureId()); + list.add(present_lectureId); + if (present_lectureId) + list.add(lectureId); + + return list.hashCode(); } @Override @@ -39919,7 +41610,24 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_authError = true && (isSetAuthError()); + list.add(present_authError); + if (present_authError) + list.add(authError); + + boolean present_notFound = true && (isSetNotFound()); + list.add(present_notFound); + if (present_notFound) + list.add(notFound); + + boolean present_serverError = true && (isSetServerError()); + list.add(present_serverError); + if (present_serverError) + list.add(serverError); + + return list.hashCode(); } @Override @@ -40504,7 +42212,24 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_userToken = true && (isSetUserToken()); + list.add(present_userToken); + if (present_userToken) + list.add(userToken); + + boolean present_lectureId = true && (isSetLectureId()); + list.add(present_lectureId); + if (present_lectureId) + list.add(lectureId); + + boolean present_permissions = true && (isSetPermissions()); + list.add(present_permissions); + if (present_permissions) + list.add(permissions); + + return list.hashCode(); } @Override @@ -40650,16 +42375,16 @@ public class SatelliteServer { case 3: // PERMISSIONS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map246 = iprot.readMapBegin(); - struct.permissions = new HashMap<String,LecturePermissions>(2*_map246.size); - for (int _i247 = 0; _i247 < _map246.size; ++_i247) + org.apache.thrift.protocol.TMap _map270 = iprot.readMapBegin(); + struct.permissions = new HashMap<String,LecturePermissions>(2*_map270.size); + String _key271; + LecturePermissions _val272; + for (int _i273 = 0; _i273 < _map270.size; ++_i273) { - String _key248; - LecturePermissions _val249; - _key248 = iprot.readString(); - _val249 = new LecturePermissions(); - _val249.read(iprot); - struct.permissions.put(_key248, _val249); + _key271 = iprot.readString(); + _val272 = new LecturePermissions(); + _val272.read(iprot); + struct.permissions.put(_key271, _val272); } iprot.readMapEnd(); } @@ -40697,10 +42422,10 @@ public class SatelliteServer { oprot.writeFieldBegin(PERMISSIONS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, struct.permissions.size())); - for (Map.Entry<String, LecturePermissions> _iter250 : struct.permissions.entrySet()) + for (Map.Entry<String, LecturePermissions> _iter274 : struct.permissions.entrySet()) { - oprot.writeString(_iter250.getKey()); - _iter250.getValue().write(oprot); + oprot.writeString(_iter274.getKey()); + _iter274.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -40743,10 +42468,10 @@ public class SatelliteServer { if (struct.isSetPermissions()) { { oprot.writeI32(struct.permissions.size()); - for (Map.Entry<String, LecturePermissions> _iter251 : struct.permissions.entrySet()) + for (Map.Entry<String, LecturePermissions> _iter275 : struct.permissions.entrySet()) { - oprot.writeString(_iter251.getKey()); - _iter251.getValue().write(oprot); + oprot.writeString(_iter275.getKey()); + _iter275.getValue().write(oprot); } } } @@ -40766,16 +42491,16 @@ public class SatelliteServer { } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map252 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.permissions = new HashMap<String,LecturePermissions>(2*_map252.size); - for (int _i253 = 0; _i253 < _map252.size; ++_i253) + org.apache.thrift.protocol.TMap _map276 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.permissions = new HashMap<String,LecturePermissions>(2*_map276.size); + String _key277; + LecturePermissions _val278; + for (int _i279 = 0; _i279 < _map276.size; ++_i279) { - String _key254; - LecturePermissions _val255; - _key254 = iprot.readString(); - _val255 = new LecturePermissions(); - _val255.read(iprot); - struct.permissions.put(_key254, _val255); + _key277 = iprot.readString(); + _val278 = new LecturePermissions(); + _val278.read(iprot); + struct.permissions.put(_key277, _val278); } } struct.setPermissionsIsSet(true); @@ -41098,7 +42823,24 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_authError = true && (isSetAuthError()); + list.add(present_authError); + if (present_authError) + list.add(authError); + + boolean present_notFound = true && (isSetNotFound()); + list.add(present_notFound); + if (present_notFound) + list.add(notFound); + + boolean present_serverError = true && (isSetServerError()); + list.add(present_serverError); + if (present_serverError) + list.add(serverError); + + return list.hashCode(); } @Override @@ -41599,7 +43341,19 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_userToken = true && (isSetUserToken()); + list.add(present_userToken); + if (present_userToken) + list.add(userToken); + + boolean present_lectureId = true && (isSetLectureId()); + list.add(present_lectureId); + if (present_lectureId) + list.add(lectureId); + + return list.hashCode(); } @Override @@ -42196,7 +43950,29 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + boolean present_authError = true && (isSetAuthError()); + list.add(present_authError); + if (present_authError) + list.add(authError); + + boolean present_notFound = true && (isSetNotFound()); + list.add(present_notFound); + if (present_notFound) + list.add(notFound); + + boolean present_serverError = true && (isSetServerError()); + list.add(present_serverError); + if (present_serverError) + list.add(serverError); + + return list.hashCode(); } @Override @@ -42344,16 +44120,16 @@ public class SatelliteServer { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map256 = iprot.readMapBegin(); - struct.success = new HashMap<String,LecturePermissions>(2*_map256.size); - for (int _i257 = 0; _i257 < _map256.size; ++_i257) + org.apache.thrift.protocol.TMap _map280 = iprot.readMapBegin(); + struct.success = new HashMap<String,LecturePermissions>(2*_map280.size); + String _key281; + LecturePermissions _val282; + for (int _i283 = 0; _i283 < _map280.size; ++_i283) { - String _key258; - LecturePermissions _val259; - _key258 = iprot.readString(); - _val259 = new LecturePermissions(); - _val259.read(iprot); - struct.success.put(_key258, _val259); + _key281 = iprot.readString(); + _val282 = new LecturePermissions(); + _val282.read(iprot); + struct.success.put(_key281, _val282); } iprot.readMapEnd(); } @@ -42408,10 +44184,10 @@ public class SatelliteServer { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry<String, LecturePermissions> _iter260 : struct.success.entrySet()) + for (Map.Entry<String, LecturePermissions> _iter284 : struct.success.entrySet()) { - oprot.writeString(_iter260.getKey()); - _iter260.getValue().write(oprot); + oprot.writeString(_iter284.getKey()); + _iter284.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -42466,10 +44242,10 @@ public class SatelliteServer { if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry<String, LecturePermissions> _iter261 : struct.success.entrySet()) + for (Map.Entry<String, LecturePermissions> _iter285 : struct.success.entrySet()) { - oprot.writeString(_iter261.getKey()); - _iter261.getValue().write(oprot); + oprot.writeString(_iter285.getKey()); + _iter285.getValue().write(oprot); } } } @@ -42490,16 +44266,16 @@ public class SatelliteServer { BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map262 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new HashMap<String,LecturePermissions>(2*_map262.size); - for (int _i263 = 0; _i263 < _map262.size; ++_i263) + org.apache.thrift.protocol.TMap _map286 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new HashMap<String,LecturePermissions>(2*_map286.size); + String _key287; + LecturePermissions _val288; + for (int _i289 = 0; _i289 < _map286.size; ++_i289) { - String _key264; - LecturePermissions _val265; - _key264 = iprot.readString(); - _val265 = new LecturePermissions(); - _val265.read(iprot); - struct.success.put(_key264, _val265); + _key287 = iprot.readString(); + _val288 = new LecturePermissions(); + _val288.read(iprot); + struct.success.put(_key287, _val288); } } struct.setSuccessIsSet(true); @@ -42837,7 +44613,24 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_userToken = true && (isSetUserToken()); + list.add(present_userToken); + if (present_userToken) + list.add(userToken); + + boolean present_lectureId = true && (isSetLectureId()); + list.add(present_lectureId); + if (present_lectureId) + list.add(lectureId); + + boolean present_newOwnerId = true && (isSetNewOwnerId()); + list.add(present_newOwnerId); + if (present_newOwnerId) + list.add(newOwnerId); + + return list.hashCode(); } @Override @@ -43391,7 +45184,24 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List<Object> list = new ArrayList<Object>(); + + boolean present_authError = true && (isSetAuthError()); + list.add(present_authError); + if (present_authError) + list.add(authError); + + boolean present_notFound = true && (isSetNotFound()); + list.add(present_notFound); + if (present_notFound) + list.add(notFound); + + boolean present_serverError = true && (isSetServerError()); + list.add(present_serverError); + if (present_serverError) + list.add(serverError); + + return list.hashCode(); } @Override |