From 5ba446543184d5af8185da23b9a5fd28133d5513 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Thu, 7 Jan 2016 13:55:40 +0100 Subject: added "onlyInLocations" flag for LectureWrite update thrift files to 0.9.3 --- .../openslx/bwlp/thrift/iface/SatelliteServer.java | 3366 +++++++++++++++----- 1 file changed, 2588 insertions(+), 778 deletions(-) (limited to 'src/main/java/org/openslx/bwlp/thrift/iface/SatelliteServer.java') 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 getAllOrganizations() throws org.apache.thrift.TException; + public List getLocations() throws org.apache.thrift.TException; + public SatelliteStatus getStatus() throws org.apache.thrift.TException; public List getImageList(String userToken, List 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 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 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 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 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 extends org.apache.thrift.ProcessFunction { + 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 extends org.apache.thrift.ProcessFunction { 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,20 +4812,20 @@ public class SatelliteServer { } } - public static class getStatus extends org.apache.thrift.AsyncProcessFunction { - public getStatus() { - super("getStatus"); + public static class getLocations extends org.apache.thrift.AsyncProcessFunction> { + public getLocations() { + super("getLocations"); } - public getStatus_args getEmptyArgsInstance() { - return new getStatus_args(); + public getLocations_args getEmptyArgsInstance() { + return new getLocations_args(); } - public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(SatelliteStatus o) { - getStatus_result result = new getStatus_result(); + return new AsyncMethodCallback>() { + public void onComplete(List o) { + getLocations_result result = new getLocations_result(); result.success = o; try { fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -4758,7 +4838,7 @@ public class SatelliteServer { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getStatus_result result = new getStatus_result(); + 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()); @@ -4778,25 +4858,25 @@ public class SatelliteServer { return false; } - public void start(I iface, getStatus_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.getStatus(resultHandler); + public void start(I iface, getLocations_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.getLocations(resultHandler); } } - public static class getImageList extends org.apache.thrift.AsyncProcessFunction> { - public getImageList() { - super("getImageList"); + public static class getStatus extends org.apache.thrift.AsyncProcessFunction { + public getStatus() { + super("getStatus"); } - public getImageList_args getEmptyArgsInstance() { - return new getImageList_args(); + public getStatus_args getEmptyArgsInstance() { + return new getStatus_args(); } - public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(List o) { - getImageList_result result = new getImageList_result(); + return new AsyncMethodCallback() { + public void onComplete(SatelliteStatus o) { + getStatus_result result = new getStatus_result(); result.success = o; try { fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -4809,18 +4889,7 @@ public class SatelliteServer { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getImageList_result result = new getImageList_result(); - if (e instanceof TAuthorizationException) { - result.authError = (TAuthorizationException) e; - result.setAuthErrorIsSet(true); - msg = result; - } - else if (e instanceof TInvocationException) { - result.serverError = (TInvocationException) e; - result.setServerErrorIsSet(true); - msg = result; - } - else + getStatus_result result = new getStatus_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()); @@ -4840,25 +4909,25 @@ public class SatelliteServer { return false; } - public void start(I iface, getImageList_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.getImageList(args.userToken, args.tagSearch, args.page,resultHandler); + public void start(I iface, getStatus_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.getStatus(resultHandler); } } - public static class getImageDetails extends org.apache.thrift.AsyncProcessFunction { - public getImageDetails() { - super("getImageDetails"); + public static class getImageList extends org.apache.thrift.AsyncProcessFunction> { + public getImageList() { + super("getImageList"); } - public getImageDetails_args getEmptyArgsInstance() { - return new getImageDetails_args(); + public getImageList_args getEmptyArgsInstance() { + return new getImageList_args(); } - public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(ImageDetailsRead o) { - getImageDetails_result result = new getImageDetails_result(); + return new AsyncMethodCallback>() { + public void onComplete(List o) { + getImageList_result result = new getImageList_result(); result.success = o; try { fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -4871,17 +4940,12 @@ public class SatelliteServer { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getImageDetails_result result = new getImageDetails_result(); + getImageList_result result = new getImageList_result(); if (e instanceof TAuthorizationException) { result.authError = (TAuthorizationException) e; result.setAuthErrorIsSet(true); msg = result; } - else if (e instanceof TNotFoundException) { - result.notFound = (TNotFoundException) e; - result.setNotFoundIsSet(true); - msg = result; - } else if (e instanceof TInvocationException) { result.serverError = (TInvocationException) e; result.setServerErrorIsSet(true); @@ -4907,25 +4971,25 @@ public class SatelliteServer { return false; } - public void start(I iface, getImageDetails_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.getImageDetails(args.userToken, args.imageBaseId,resultHandler); + public void start(I iface, getImageList_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.getImageList(args.userToken, args.tagSearch, args.page,resultHandler); } } - public static class createImage extends org.apache.thrift.AsyncProcessFunction { - public createImage() { - super("createImage"); + public static class getImageDetails extends org.apache.thrift.AsyncProcessFunction { + public getImageDetails() { + super("getImageDetails"); } - public createImage_args getEmptyArgsInstance() { - return new createImage_args(); + public getImageDetails_args getEmptyArgsInstance() { + return new getImageDetails_args(); } - public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(String o) { - createImage_result result = new createImage_result(); + return new AsyncMethodCallback() { + public void onComplete(ImageDetailsRead o) { + getImageDetails_result result = new getImageDetails_result(); result.success = o; try { fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -4938,200 +5002,267 @@ public class SatelliteServer { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - createImage_result result = new createImage_result(); - if (e instanceof TAuthorizationException) { - result.authError = (TAuthorizationException) e; - result.setAuthErrorIsSet(true); - msg = result; - } - else if (e instanceof TInvocationException) { - result.error = (TInvocationException) e; - result.setErrorIsSet(true); - msg = result; - } - else - { - 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, createImage_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.createImage(args.userToken, args.imageName,resultHandler); - } - } - - public static class updateImageBase extends org.apache.thrift.AsyncProcessFunction { - public updateImageBase() { - super("updateImageBase"); - } - - public updateImageBase_args getEmptyArgsInstance() { - return new updateImageBase_args(); - } - - public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Void o) { - updateImageBase_result result = new updateImageBase_result(); - 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; - updateImageBase_result result = new updateImageBase_result(); - if (e instanceof TAuthorizationException) { - result.authError = (TAuthorizationException) e; - result.setAuthErrorIsSet(true); - msg = result; - } - else if (e instanceof TNotFoundException) { - result.notFound = (TNotFoundException) e; - result.setNotFoundIsSet(true); - msg = result; - } - else if (e instanceof TInvocationException) { - result.imgError = (TInvocationException) e; - result.setImgErrorIsSet(true); - msg = result; - } - else - { - 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, updateImageBase_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.updateImageBase(args.userToken, args.imageBaseId, args.image,resultHandler); - } - } - - public static class updateImageVersion extends org.apache.thrift.AsyncProcessFunction { - public updateImageVersion() { - super("updateImageVersion"); - } - - public updateImageVersion_args getEmptyArgsInstance() { - return new updateImageVersion_args(); - } - - public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Void o) { - updateImageVersion_result result = new updateImageVersion_result(); - 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; - updateImageVersion_result result = new updateImageVersion_result(); - if (e instanceof TAuthorizationException) { - result.authError = (TAuthorizationException) e; - result.setAuthErrorIsSet(true); - msg = result; - } - else if (e instanceof TNotFoundException) { - result.notFound = (TNotFoundException) e; - result.setNotFoundIsSet(true); - msg = result; - } - else if (e instanceof TInvocationException) { - result.imgError = (TInvocationException) e; - result.setImgErrorIsSet(true); - msg = result; - } - else - { - 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, updateImageVersion_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.updateImageVersion(args.userToken, args.imageVersionId, args.image,resultHandler); - } - } - - public static class deleteImageVersion extends org.apache.thrift.AsyncProcessFunction { - public deleteImageVersion() { - super("deleteImageVersion"); - } - - public deleteImageVersion_args getEmptyArgsInstance() { - return new deleteImageVersion_args(); - } - - public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Void o) { - deleteImageVersion_result result = new deleteImageVersion_result(); - 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; - deleteImageVersion_result result = new deleteImageVersion_result(); + getImageDetails_result result = new getImageDetails_result(); + if (e instanceof TAuthorizationException) { + result.authError = (TAuthorizationException) e; + result.setAuthErrorIsSet(true); + msg = result; + } + else if (e instanceof TNotFoundException) { + result.notFound = (TNotFoundException) e; + result.setNotFoundIsSet(true); + msg = result; + } + else if (e instanceof TInvocationException) { + result.serverError = (TInvocationException) e; + result.setServerErrorIsSet(true); + msg = result; + } + else + { + 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, getImageDetails_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.getImageDetails(args.userToken, args.imageBaseId,resultHandler); + } + } + + public static class createImage extends org.apache.thrift.AsyncProcessFunction { + public createImage() { + super("createImage"); + } + + public createImage_args getEmptyArgsInstance() { + return new createImage_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(String o) { + createImage_result result = new createImage_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; + createImage_result result = new createImage_result(); + if (e instanceof TAuthorizationException) { + result.authError = (TAuthorizationException) e; + result.setAuthErrorIsSet(true); + msg = result; + } + else if (e instanceof TInvocationException) { + result.error = (TInvocationException) e; + result.setErrorIsSet(true); + msg = result; + } + else + { + 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, createImage_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.createImage(args.userToken, args.imageName,resultHandler); + } + } + + public static class updateImageBase extends org.apache.thrift.AsyncProcessFunction { + public updateImageBase() { + super("updateImageBase"); + } + + public updateImageBase_args getEmptyArgsInstance() { + return new updateImageBase_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + updateImageBase_result result = new updateImageBase_result(); + 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; + updateImageBase_result result = new updateImageBase_result(); + if (e instanceof TAuthorizationException) { + result.authError = (TAuthorizationException) e; + result.setAuthErrorIsSet(true); + msg = result; + } + else if (e instanceof TNotFoundException) { + result.notFound = (TNotFoundException) e; + result.setNotFoundIsSet(true); + msg = result; + } + else if (e instanceof TInvocationException) { + result.imgError = (TInvocationException) e; + result.setImgErrorIsSet(true); + msg = result; + } + else + { + 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, updateImageBase_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.updateImageBase(args.userToken, args.imageBaseId, args.image,resultHandler); + } + } + + public static class updateImageVersion extends org.apache.thrift.AsyncProcessFunction { + public updateImageVersion() { + super("updateImageVersion"); + } + + public updateImageVersion_args getEmptyArgsInstance() { + return new updateImageVersion_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + updateImageVersion_result result = new updateImageVersion_result(); + 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; + updateImageVersion_result result = new updateImageVersion_result(); + if (e instanceof TAuthorizationException) { + result.authError = (TAuthorizationException) e; + result.setAuthErrorIsSet(true); + msg = result; + } + else if (e instanceof TNotFoundException) { + result.notFound = (TNotFoundException) e; + result.setNotFoundIsSet(true); + msg = result; + } + else if (e instanceof TInvocationException) { + result.imgError = (TInvocationException) e; + result.setImgErrorIsSet(true); + msg = result; + } + else + { + 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, updateImageVersion_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.updateImageVersion(args.userToken, args.imageVersionId, args.image,resultHandler); + } + } + + public static class deleteImageVersion extends org.apache.thrift.AsyncProcessFunction { + public deleteImageVersion() { + super("deleteImageVersion"); + } + + public deleteImageVersion_args getEmptyArgsInstance() { + return new deleteImageVersion_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + deleteImageVersion_result result = new deleteImageVersion_result(); + 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; + deleteImageVersion_result result = new deleteImageVersion_result(); if (e instanceof TAuthorizationException) { result.authError = (TAuthorizationException) e; result.setAuthErrorIsSet(true); @@ -6244,7 +6375,9 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + return list.hashCode(); } @Override @@ -7155,7 +7297,14 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + 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 list = new ArrayList(); + + 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(_list154.size); - for (int _i155 = 0; _i155 < _list154.size; ++_i155) + org.apache.thrift.protocol.TList _list170 = iprot.readListBegin(); + struct.blockHashes = new ArrayList(_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(_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(_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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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(_list162.size); - for (int _i163 = 0; _i163 < _list162.size; ++_i163) + org.apache.thrift.protocol.TList _list178 = iprot.readListBegin(); + struct.blockHashes = new ArrayList(_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(_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(_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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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(_list170.size); - for (int _i171 = 0; _i171 < _list170.size; ++_i171) + org.apache.thrift.protocol.TList _list186 = iprot.readListBegin(); + struct.success = new ArrayList(_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(_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(_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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + return list.hashCode(); } @Override @@ -18736,15 +19179,678 @@ public class SatelliteServer { } } - private static class getOperatingSystems_argsStandardSchemeFactory implements SchemeFactory { - public getOperatingSystems_argsStandardScheme getScheme() { - return new getOperatingSystems_argsStandardScheme(); + private static class getOperatingSystems_argsStandardSchemeFactory implements SchemeFactory { + public getOperatingSystems_argsStandardScheme getScheme() { + return new getOperatingSystems_argsStandardScheme(); + } + } + + private static class getOperatingSystems_argsStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, getOperatingSystems_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, getOperatingSystems_args struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class getOperatingSystems_argsTupleSchemeFactory implements SchemeFactory { + public getOperatingSystems_argsTupleScheme getScheme() { + return new getOperatingSystems_argsTupleScheme(); + } + } + + private static class getOperatingSystems_argsTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, getOperatingSystems_args struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, getOperatingSystems_args struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + } + } + + } + + public static class getOperatingSystems_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOperatingSystems_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, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new getOperatingSystems_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new getOperatingSystems_resultTupleSchemeFactory()); + } + + public List 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 byName = new HashMap(); + + 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, OperatingSystem.class)))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOperatingSystems_result.class, metaDataMap); + } + + public getOperatingSystems_result() { + } + + public getOperatingSystems_result( + List success) + { + this(); + this.success = success; + } + + /** + * Performs a deep copy on other. + */ + public getOperatingSystems_result(getOperatingSystems_result other) { + if (other.isSetSuccess()) { + List __this__success = new ArrayList(other.success.size()); + for (OperatingSystem other_element : other.success) { + __this__success.add(new OperatingSystem(other_element)); + } + this.success = __this__success; + } + } + + public getOperatingSystems_result deepCopy() { + return new getOperatingSystems_result(this); + } + + @Override + public void clear() { + this.success = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public java.util.Iterator getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); + } + + public void addToSuccess(OperatingSystem elem) { + if (this.success == null) { + this.success = new ArrayList(); + } + this.success.add(elem); + } + + public List getSuccess() { + return this.success; + } + + public getOperatingSystems_result setSuccess(List 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)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 getOperatingSystems_result) + return this.equals((getOperatingSystems_result)that); + return false; + } + + public boolean equals(getOperatingSystems_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 list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + return list.hashCode(); + } + + @Override + public int compareTo(getOperatingSystems_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("getOperatingSystems_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 getOperatingSystems_resultStandardSchemeFactory implements SchemeFactory { + public getOperatingSystems_resultStandardScheme getScheme() { + return new getOperatingSystems_resultStandardScheme(); + } + } + + private static class getOperatingSystems_resultStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, getOperatingSystems_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 _list194 = iprot.readListBegin(); + struct.success = new ArrayList(_list194.size); + OperatingSystem _elem195; + for (int _i196 = 0; _i196 < _list194.size; ++_i196) + { + _elem195 = new OperatingSystem(); + _elem195.read(iprot); + struct.success.add(_elem195); + } + 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, getOperatingSystems_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 (OperatingSystem _iter197 : struct.success) + { + _iter197.write(oprot); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class getOperatingSystems_resultTupleSchemeFactory implements SchemeFactory { + public getOperatingSystems_resultTupleScheme getScheme() { + return new getOperatingSystems_resultTupleScheme(); + } + } + + private static class getOperatingSystems_resultTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, getOperatingSystems_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 (OperatingSystem _iter198 : struct.success) + { + _iter198.write(oprot); + } + } + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, getOperatingSystems_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 _list199 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list199.size); + OperatingSystem _elem200; + for (int _i201 = 0; _i201 < _list199.size; ++_i201) + { + _elem200 = new OperatingSystem(); + _elem200.read(iprot); + struct.success.add(_elem200); + } + } + struct.setSuccessIsSet(true); + } + } + } + + } + + public static class getVirtualizers_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getVirtualizers_args"); + + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new getVirtualizers_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new getVirtualizers_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 byName = new HashMap(); + + 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(getVirtualizers_args.class, metaDataMap); + } + + public getVirtualizers_args() { + } + + /** + * Performs a deep copy on other. + */ + public getVirtualizers_args(getVirtualizers_args other) { + } + + public getVirtualizers_args deepCopy() { + return new getVirtualizers_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 getVirtualizers_args) + return this.equals((getVirtualizers_args)that); + return false; + } + + public boolean equals(getVirtualizers_args that) { + if (that == null) + return false; + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + return list.hashCode(); + } + + @Override + public int compareTo(getVirtualizers_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("getVirtualizers_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 getVirtualizers_argsStandardSchemeFactory implements SchemeFactory { + public getVirtualizers_argsStandardScheme getScheme() { + return new getVirtualizers_argsStandardScheme(); } } - private static class getOperatingSystems_argsStandardScheme extends StandardScheme { + private static class getVirtualizers_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getOperatingSystems_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, getVirtualizers_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -18765,7 +19871,7 @@ public class SatelliteServer { struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, getOperatingSystems_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, getVirtualizers_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -18775,39 +19881,39 @@ public class SatelliteServer { } - private static class getOperatingSystems_argsTupleSchemeFactory implements SchemeFactory { - public getOperatingSystems_argsTupleScheme getScheme() { - return new getOperatingSystems_argsTupleScheme(); + private static class getVirtualizers_argsTupleSchemeFactory implements SchemeFactory { + public getVirtualizers_argsTupleScheme getScheme() { + return new getVirtualizers_argsTupleScheme(); } } - private static class getOperatingSystems_argsTupleScheme extends TupleScheme { + private static class getVirtualizers_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getOperatingSystems_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, getVirtualizers_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getOperatingSystems_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, getVirtualizers_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; } } } - public static class getOperatingSystems_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOperatingSystems_result"); + public static class getVirtualizers_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getVirtualizers_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, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new getOperatingSystems_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new getOperatingSystems_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new getVirtualizers_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new getVirtualizers_resultTupleSchemeFactory()); } - public List success; // required + public List 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 { @@ -18873,16 +19979,16 @@ public class SatelliteServer { 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, OperatingSystem.class)))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Virtualizer.class)))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOperatingSystems_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getVirtualizers_result.class, metaDataMap); } - public getOperatingSystems_result() { + public getVirtualizers_result() { } - public getOperatingSystems_result( - List success) + public getVirtualizers_result( + List success) { this(); this.success = success; @@ -18891,18 +19997,18 @@ public class SatelliteServer { /** * Performs a deep copy on other. */ - public getOperatingSystems_result(getOperatingSystems_result other) { + public getVirtualizers_result(getVirtualizers_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(other.success.size()); - for (OperatingSystem other_element : other.success) { - __this__success.add(new OperatingSystem(other_element)); + List __this__success = new ArrayList(other.success.size()); + for (Virtualizer other_element : other.success) { + __this__success.add(new Virtualizer(other_element)); } this.success = __this__success; } } - public getOperatingSystems_result deepCopy() { - return new getOperatingSystems_result(this); + public getVirtualizers_result deepCopy() { + return new getVirtualizers_result(this); } @Override @@ -18914,22 +20020,22 @@ public class SatelliteServer { return (this.success == null) ? 0 : this.success.size(); } - public java.util.Iterator getSuccessIterator() { + public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } - public void addToSuccess(OperatingSystem elem) { + public void addToSuccess(Virtualizer elem) { if (this.success == null) { - this.success = new ArrayList(); + this.success = new ArrayList(); } this.success.add(elem); } - public List getSuccess() { + public List getSuccess() { return this.success; } - public getOperatingSystems_result setSuccess(List success) { + public getVirtualizers_result setSuccess(List success) { this.success = success; return this; } @@ -18955,7 +20061,7 @@ public class SatelliteServer { if (value == null) { unsetSuccess(); } else { - setSuccess((List)value); + setSuccess((List)value); } break; @@ -18988,12 +20094,12 @@ public class SatelliteServer { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof getOperatingSystems_result) - return this.equals((getOperatingSystems_result)that); + if (that instanceof getVirtualizers_result) + return this.equals((getVirtualizers_result)that); return false; } - public boolean equals(getOperatingSystems_result that) { + public boolean equals(getVirtualizers_result that) { if (that == null) return false; @@ -19011,11 +20117,18 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + return list.hashCode(); } @Override - public int compareTo(getOperatingSystems_result other) { + public int compareTo(getVirtualizers_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -19049,7 +20162,7 @@ public class SatelliteServer { @Override public String toString() { - StringBuilder sb = new StringBuilder("getOperatingSystems_result("); + StringBuilder sb = new StringBuilder("getVirtualizers_result("); boolean first = true; sb.append("success:"); @@ -19084,15 +20197,15 @@ public class SatelliteServer { } } - private static class getOperatingSystems_resultStandardSchemeFactory implements SchemeFactory { - public getOperatingSystems_resultStandardScheme getScheme() { - return new getOperatingSystems_resultStandardScheme(); + private static class getVirtualizers_resultStandardSchemeFactory implements SchemeFactory { + public getVirtualizers_resultStandardScheme getScheme() { + return new getVirtualizers_resultStandardScheme(); } } - private static class getOperatingSystems_resultStandardScheme extends StandardScheme { + private static class getVirtualizers_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getOperatingSystems_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, getVirtualizers_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -19105,14 +20218,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(_list178.size); - for (int _i179 = 0; _i179 < _list178.size; ++_i179) + org.apache.thrift.protocol.TList _list202 = iprot.readListBegin(); + struct.success = new ArrayList(_list202.size); + Virtualizer _elem203; + for (int _i204 = 0; _i204 < _list202.size; ++_i204) { - OperatingSystem _elem180; - _elem180 = new OperatingSystem(); - _elem180.read(iprot); - struct.success.add(_elem180); + _elem203 = new Virtualizer(); + _elem203.read(iprot); + struct.success.add(_elem203); } iprot.readListEnd(); } @@ -19132,7 +20245,7 @@ public class SatelliteServer { struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, getOperatingSystems_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, getVirtualizers_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -19140,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 (OperatingSystem _iter181 : struct.success) + for (Virtualizer _iter205 : struct.success) { - _iter181.write(oprot); + _iter205.write(oprot); } oprot.writeListEnd(); } @@ -19154,16 +20267,16 @@ public class SatelliteServer { } - private static class getOperatingSystems_resultTupleSchemeFactory implements SchemeFactory { - public getOperatingSystems_resultTupleScheme getScheme() { - return new getOperatingSystems_resultTupleScheme(); + private static class getVirtualizers_resultTupleSchemeFactory implements SchemeFactory { + public getVirtualizers_resultTupleScheme getScheme() { + return new getVirtualizers_resultTupleScheme(); } } - private static class getOperatingSystems_resultTupleScheme extends TupleScheme { + private static class getVirtualizers_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getOperatingSystems_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, getVirtualizers_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -19173,28 +20286,28 @@ public class SatelliteServer { if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (OperatingSystem _iter182 : struct.success) + for (Virtualizer _iter206 : struct.success) { - _iter182.write(oprot); + _iter206.write(oprot); } } } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getOperatingSystems_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, getVirtualizers_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 _list183 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list183.size); - for (int _i184 = 0; _i184 < _list183.size; ++_i184) + org.apache.thrift.protocol.TList _list207 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list207.size); + Virtualizer _elem208; + for (int _i209 = 0; _i209 < _list207.size; ++_i209) { - OperatingSystem _elem185; - _elem185 = new OperatingSystem(); - _elem185.read(iprot); - struct.success.add(_elem185); + _elem208 = new Virtualizer(); + _elem208.read(iprot); + struct.success.add(_elem208); } } struct.setSuccessIsSet(true); @@ -19204,14 +20317,14 @@ public class SatelliteServer { } - public static class getVirtualizers_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getVirtualizers_args"); + public static class getAllOrganizations_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllOrganizations_args"); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new getVirtualizers_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new getVirtualizers_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new getAllOrganizations_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new getAllOrganizations_argsTupleSchemeFactory()); } @@ -19274,20 +20387,20 @@ public class SatelliteServer { 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(getVirtualizers_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllOrganizations_args.class, metaDataMap); } - public getVirtualizers_args() { + public getAllOrganizations_args() { } /** * Performs a deep copy on other. */ - public getVirtualizers_args(getVirtualizers_args other) { + public getAllOrganizations_args(getAllOrganizations_args other) { } - public getVirtualizers_args deepCopy() { - return new getVirtualizers_args(this); + public getAllOrganizations_args deepCopy() { + return new getAllOrganizations_args(this); } @Override @@ -19320,12 +20433,12 @@ public class SatelliteServer { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof getVirtualizers_args) - return this.equals((getVirtualizers_args)that); + if (that instanceof getAllOrganizations_args) + return this.equals((getAllOrganizations_args)that); return false; } - public boolean equals(getVirtualizers_args that) { + public boolean equals(getAllOrganizations_args that) { if (that == null) return false; @@ -19334,11 +20447,13 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + return list.hashCode(); } @Override - public int compareTo(getVirtualizers_args other) { + public int compareTo(getAllOrganizations_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -19362,7 +20477,7 @@ public class SatelliteServer { @Override public String toString() { - StringBuilder sb = new StringBuilder("getVirtualizers_args("); + StringBuilder sb = new StringBuilder("getAllOrganizations_args("); boolean first = true; sb.append(")"); @@ -19390,15 +20505,15 @@ public class SatelliteServer { } } - private static class getVirtualizers_argsStandardSchemeFactory implements SchemeFactory { - public getVirtualizers_argsStandardScheme getScheme() { - return new getVirtualizers_argsStandardScheme(); + private static class getAllOrganizations_argsStandardSchemeFactory implements SchemeFactory { + public getAllOrganizations_argsStandardScheme getScheme() { + return new getAllOrganizations_argsStandardScheme(); } } - private static class getVirtualizers_argsStandardScheme extends StandardScheme { + private static class getAllOrganizations_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getVirtualizers_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, getAllOrganizations_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -19419,7 +20534,7 @@ public class SatelliteServer { struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, getVirtualizers_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, getAllOrganizations_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -19429,39 +20544,39 @@ public class SatelliteServer { } - private static class getVirtualizers_argsTupleSchemeFactory implements SchemeFactory { - public getVirtualizers_argsTupleScheme getScheme() { - return new getVirtualizers_argsTupleScheme(); + private static class getAllOrganizations_argsTupleSchemeFactory implements SchemeFactory { + public getAllOrganizations_argsTupleScheme getScheme() { + return new getAllOrganizations_argsTupleScheme(); } } - private static class getVirtualizers_argsTupleScheme extends TupleScheme { + private static class getAllOrganizations_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getVirtualizers_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, getAllOrganizations_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getVirtualizers_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, getAllOrganizations_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; } } } - public static class getVirtualizers_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getVirtualizers_result"); + public static class getAllOrganizations_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllOrganizations_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, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new getVirtualizers_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new getVirtualizers_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new getAllOrganizations_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new getAllOrganizations_resultTupleSchemeFactory()); } - public List success; // required + public List 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 { @@ -19527,16 +20642,16 @@ public class SatelliteServer { 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, Virtualizer.class)))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Organization.class)))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getVirtualizers_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllOrganizations_result.class, metaDataMap); } - public getVirtualizers_result() { + public getAllOrganizations_result() { } - public getVirtualizers_result( - List success) + public getAllOrganizations_result( + List success) { this(); this.success = success; @@ -19545,18 +20660,18 @@ public class SatelliteServer { /** * Performs a deep copy on other. */ - public getVirtualizers_result(getVirtualizers_result other) { + public getAllOrganizations_result(getAllOrganizations_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(other.success.size()); - for (Virtualizer other_element : other.success) { - __this__success.add(new Virtualizer(other_element)); + List __this__success = new ArrayList(other.success.size()); + for (Organization other_element : other.success) { + __this__success.add(new Organization(other_element)); } this.success = __this__success; } } - public getVirtualizers_result deepCopy() { - return new getVirtualizers_result(this); + public getAllOrganizations_result deepCopy() { + return new getAllOrganizations_result(this); } @Override @@ -19568,22 +20683,22 @@ public class SatelliteServer { return (this.success == null) ? 0 : this.success.size(); } - public java.util.Iterator getSuccessIterator() { + public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } - public void addToSuccess(Virtualizer elem) { + public void addToSuccess(Organization elem) { if (this.success == null) { - this.success = new ArrayList(); + this.success = new ArrayList(); } this.success.add(elem); } - public List getSuccess() { + public List getSuccess() { return this.success; } - public getVirtualizers_result setSuccess(List success) { + public getAllOrganizations_result setSuccess(List success) { this.success = success; return this; } @@ -19609,7 +20724,7 @@ public class SatelliteServer { if (value == null) { unsetSuccess(); } else { - setSuccess((List)value); + setSuccess((List)value); } break; @@ -19642,12 +20757,12 @@ public class SatelliteServer { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof getVirtualizers_result) - return this.equals((getVirtualizers_result)that); + if (that instanceof getAllOrganizations_result) + return this.equals((getAllOrganizations_result)that); return false; } - public boolean equals(getVirtualizers_result that) { + public boolean equals(getAllOrganizations_result that) { if (that == null) return false; @@ -19665,11 +20780,18 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + return list.hashCode(); } @Override - public int compareTo(getVirtualizers_result other) { + public int compareTo(getAllOrganizations_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -19703,7 +20825,7 @@ public class SatelliteServer { @Override public String toString() { - StringBuilder sb = new StringBuilder("getVirtualizers_result("); + StringBuilder sb = new StringBuilder("getAllOrganizations_result("); boolean first = true; sb.append("success:"); @@ -19738,15 +20860,15 @@ public class SatelliteServer { } } - private static class getVirtualizers_resultStandardSchemeFactory implements SchemeFactory { - public getVirtualizers_resultStandardScheme getScheme() { - return new getVirtualizers_resultStandardScheme(); + private static class getAllOrganizations_resultStandardSchemeFactory implements SchemeFactory { + public getAllOrganizations_resultStandardScheme getScheme() { + return new getAllOrganizations_resultStandardScheme(); } } - private static class getVirtualizers_resultStandardScheme extends StandardScheme { + private static class getAllOrganizations_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getVirtualizers_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, getAllOrganizations_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -19759,14 +20881,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(_list186.size); - for (int _i187 = 0; _i187 < _list186.size; ++_i187) + org.apache.thrift.protocol.TList _list210 = iprot.readListBegin(); + struct.success = new ArrayList(_list210.size); + Organization _elem211; + for (int _i212 = 0; _i212 < _list210.size; ++_i212) { - Virtualizer _elem188; - _elem188 = new Virtualizer(); - _elem188.read(iprot); - struct.success.add(_elem188); + _elem211 = new Organization(); + _elem211.read(iprot); + struct.success.add(_elem211); } iprot.readListEnd(); } @@ -19786,7 +20908,7 @@ public class SatelliteServer { struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, getVirtualizers_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, getAllOrganizations_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -19794,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 (Virtualizer _iter189 : struct.success) + for (Organization _iter213 : struct.success) { - _iter189.write(oprot); + _iter213.write(oprot); } oprot.writeListEnd(); } @@ -19808,16 +20930,16 @@ public class SatelliteServer { } - private static class getVirtualizers_resultTupleSchemeFactory implements SchemeFactory { - public getVirtualizers_resultTupleScheme getScheme() { - return new getVirtualizers_resultTupleScheme(); + private static class getAllOrganizations_resultTupleSchemeFactory implements SchemeFactory { + public getAllOrganizations_resultTupleScheme getScheme() { + return new getAllOrganizations_resultTupleScheme(); } } - private static class getVirtualizers_resultTupleScheme extends TupleScheme { + private static class getAllOrganizations_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getVirtualizers_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, getAllOrganizations_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -19827,28 +20949,28 @@ public class SatelliteServer { if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Virtualizer _iter190 : struct.success) + for (Organization _iter214 : struct.success) { - _iter190.write(oprot); + _iter214.write(oprot); } } } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getVirtualizers_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, getAllOrganizations_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 _list191 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list191.size); - for (int _i192 = 0; _i192 < _list191.size; ++_i192) + org.apache.thrift.protocol.TList _list215 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list215.size); + Organization _elem216; + for (int _i217 = 0; _i217 < _list215.size; ++_i217) { - Virtualizer _elem193; - _elem193 = new Virtualizer(); - _elem193.read(iprot); - struct.success.add(_elem193); + _elem216 = new Organization(); + _elem216.read(iprot); + struct.success.add(_elem216); } } struct.setSuccessIsSet(true); @@ -19858,14 +20980,14 @@ public class SatelliteServer { } - public static class getAllOrganizations_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllOrganizations_args"); + public static class getLocations_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getLocations_args"); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new getAllOrganizations_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new getAllOrganizations_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new getLocations_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new getLocations_argsTupleSchemeFactory()); } @@ -19928,20 +21050,20 @@ public class SatelliteServer { 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(getAllOrganizations_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getLocations_args.class, metaDataMap); } - public getAllOrganizations_args() { + public getLocations_args() { } /** * Performs a deep copy on other. */ - public getAllOrganizations_args(getAllOrganizations_args other) { + public getLocations_args(getLocations_args other) { } - public getAllOrganizations_args deepCopy() { - return new getAllOrganizations_args(this); + public getLocations_args deepCopy() { + return new getLocations_args(this); } @Override @@ -19974,12 +21096,12 @@ public class SatelliteServer { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof getAllOrganizations_args) - return this.equals((getAllOrganizations_args)that); + if (that instanceof getLocations_args) + return this.equals((getLocations_args)that); return false; } - public boolean equals(getAllOrganizations_args that) { + public boolean equals(getLocations_args that) { if (that == null) return false; @@ -19988,11 +21110,13 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + return list.hashCode(); } @Override - public int compareTo(getAllOrganizations_args other) { + public int compareTo(getLocations_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -20016,7 +21140,7 @@ public class SatelliteServer { @Override public String toString() { - StringBuilder sb = new StringBuilder("getAllOrganizations_args("); + StringBuilder sb = new StringBuilder("getLocations_args("); boolean first = true; sb.append(")"); @@ -20044,15 +21168,15 @@ public class SatelliteServer { } } - private static class getAllOrganizations_argsStandardSchemeFactory implements SchemeFactory { - public getAllOrganizations_argsStandardScheme getScheme() { - return new getAllOrganizations_argsStandardScheme(); + private static class getLocations_argsStandardSchemeFactory implements SchemeFactory { + public getLocations_argsStandardScheme getScheme() { + return new getLocations_argsStandardScheme(); } } - private static class getAllOrganizations_argsStandardScheme extends StandardScheme { + private static class getLocations_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getAllOrganizations_args struct) throws org.apache.thrift.TException { + 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) @@ -20073,7 +21197,7 @@ public class SatelliteServer { struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, getAllOrganizations_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, getLocations_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -20083,39 +21207,39 @@ public class SatelliteServer { } - private static class getAllOrganizations_argsTupleSchemeFactory implements SchemeFactory { - public getAllOrganizations_argsTupleScheme getScheme() { - return new getAllOrganizations_argsTupleScheme(); + private static class getLocations_argsTupleSchemeFactory implements SchemeFactory { + public getLocations_argsTupleScheme getScheme() { + return new getLocations_argsTupleScheme(); } } - private static class getAllOrganizations_argsTupleScheme extends TupleScheme { + private static class getLocations_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getAllOrganizations_args struct) throws org.apache.thrift.TException { + 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, getAllOrganizations_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, getLocations_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; } } } - public static class getAllOrganizations_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllOrganizations_result"); + public static class getLocations_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + 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, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new getAllOrganizations_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new getAllOrganizations_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new getLocations_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new getLocations_resultTupleSchemeFactory()); } - public List success; // required + public List 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 { @@ -20181,16 +21305,16 @@ public class SatelliteServer { 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, Organization.class)))); + 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(getAllOrganizations_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getLocations_result.class, metaDataMap); } - public getAllOrganizations_result() { + public getLocations_result() { } - public getAllOrganizations_result( - List success) + public getLocations_result( + List success) { this(); this.success = success; @@ -20199,18 +21323,18 @@ public class SatelliteServer { /** * Performs a deep copy on other. */ - public getAllOrganizations_result(getAllOrganizations_result other) { + public getLocations_result(getLocations_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(other.success.size()); - for (Organization other_element : other.success) { - __this__success.add(new Organization(other_element)); + List __this__success = new ArrayList(other.success.size()); + for (Location other_element : other.success) { + __this__success.add(new Location(other_element)); } this.success = __this__success; } } - public getAllOrganizations_result deepCopy() { - return new getAllOrganizations_result(this); + public getLocations_result deepCopy() { + return new getLocations_result(this); } @Override @@ -20222,22 +21346,22 @@ public class SatelliteServer { return (this.success == null) ? 0 : this.success.size(); } - public java.util.Iterator getSuccessIterator() { + public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } - public void addToSuccess(Organization elem) { + public void addToSuccess(Location elem) { if (this.success == null) { - this.success = new ArrayList(); + this.success = new ArrayList(); } this.success.add(elem); } - public List getSuccess() { + public List getSuccess() { return this.success; } - public getAllOrganizations_result setSuccess(List success) { + public getLocations_result setSuccess(List success) { this.success = success; return this; } @@ -20263,7 +21387,7 @@ public class SatelliteServer { if (value == null) { unsetSuccess(); } else { - setSuccess((List)value); + setSuccess((List)value); } break; @@ -20296,12 +21420,12 @@ public class SatelliteServer { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof getAllOrganizations_result) - return this.equals((getAllOrganizations_result)that); + if (that instanceof getLocations_result) + return this.equals((getLocations_result)that); return false; } - public boolean equals(getAllOrganizations_result that) { + public boolean equals(getLocations_result that) { if (that == null) return false; @@ -20319,11 +21443,18 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + return list.hashCode(); } @Override - public int compareTo(getAllOrganizations_result other) { + public int compareTo(getLocations_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -20357,7 +21488,7 @@ public class SatelliteServer { @Override public String toString() { - StringBuilder sb = new StringBuilder("getAllOrganizations_result("); + StringBuilder sb = new StringBuilder("getLocations_result("); boolean first = true; sb.append("success:"); @@ -20392,15 +21523,15 @@ public class SatelliteServer { } } - private static class getAllOrganizations_resultStandardSchemeFactory implements SchemeFactory { - public getAllOrganizations_resultStandardScheme getScheme() { - return new getAllOrganizations_resultStandardScheme(); + private static class getLocations_resultStandardSchemeFactory implements SchemeFactory { + public getLocations_resultStandardScheme getScheme() { + return new getLocations_resultStandardScheme(); } } - private static class getAllOrganizations_resultStandardScheme extends StandardScheme { + private static class getLocations_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, getAllOrganizations_result struct) throws org.apache.thrift.TException { + 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) @@ -20413,14 +21544,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(_list194.size); - for (int _i195 = 0; _i195 < _list194.size; ++_i195) + org.apache.thrift.protocol.TList _list218 = iprot.readListBegin(); + struct.success = new ArrayList(_list218.size); + Location _elem219; + for (int _i220 = 0; _i220 < _list218.size; ++_i220) { - Organization _elem196; - _elem196 = new Organization(); - _elem196.read(iprot); - struct.success.add(_elem196); + _elem219 = new Location(); + _elem219.read(iprot); + struct.success.add(_elem219); } iprot.readListEnd(); } @@ -20440,7 +21571,7 @@ public class SatelliteServer { struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, getAllOrganizations_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, getLocations_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -20448,9 +21579,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 (Location _iter221 : struct.success) { - _iter197.write(oprot); + _iter221.write(oprot); } oprot.writeListEnd(); } @@ -20462,16 +21593,16 @@ public class SatelliteServer { } - private static class getAllOrganizations_resultTupleSchemeFactory implements SchemeFactory { - public getAllOrganizations_resultTupleScheme getScheme() { - return new getAllOrganizations_resultTupleScheme(); + private static class getLocations_resultTupleSchemeFactory implements SchemeFactory { + public getLocations_resultTupleScheme getScheme() { + return new getLocations_resultTupleScheme(); } } - private static class getAllOrganizations_resultTupleScheme extends TupleScheme { + private static class getLocations_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getAllOrganizations_result struct) throws org.apache.thrift.TException { + 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()) { @@ -20481,28 +21612,28 @@ public class SatelliteServer { if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Organization _iter198 : struct.success) + for (Location _iter222 : struct.success) { - _iter198.write(oprot); + _iter222.write(oprot); } } } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getAllOrganizations_result struct) throws org.apache.thrift.TException { + 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 _list199 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list199.size); - for (int _i200 = 0; _i200 < _list199.size; ++_i200) + org.apache.thrift.protocol.TList _list223 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list223.size); + Location _elem224; + for (int _i225 = 0; _i225 < _list223.size; ++_i225) { - Organization _elem201; - _elem201 = new Organization(); - _elem201.read(iprot); - struct.success.add(_elem201); + _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 list = new ArrayList(); + + return list.hashCode(); } @Override @@ -20953,7 +22086,14 @@ public class SatelliteServer { @Override public int hashCode() { - return 0; + List list = new ArrayList(); + + 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 list = new ArrayList(); + + 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(_list202.size); - for (int _i203 = 0; _i203 < _list202.size; ++_i203) + org.apache.thrift.protocol.TList _list226 = iprot.readListBegin(); + struct.tagSearch = new ArrayList(_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(_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(_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 list = new ArrayList(); + + 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(_list210.size); - for (int _i211 = 0; _i211 < _list210.size; ++_i211) + org.apache.thrift.protocol.TList _list234 = iprot.readListBegin(); + struct.success = new ArrayList(_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(_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(_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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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(2*_map218.size); - for (int _i219 = 0; _i219 < _map218.size; ++_i219) + org.apache.thrift.protocol.TMap _map242 = iprot.readMapBegin(); + struct.permissions = new HashMap(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 _iter222 : struct.permissions.entrySet()) + for (Map.Entry _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 _iter223 : struct.permissions.entrySet()) + for (Map.Entry _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(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(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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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(2*_map228.size); - for (int _i229 = 0; _i229 < _map228.size; ++_i229) + org.apache.thrift.protocol.TMap _map252 = iprot.readMapBegin(); + struct.success = new HashMap(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 _iter232 : struct.success.entrySet()) + for (Map.Entry _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 _iter233 : struct.success.entrySet()) + for (Map.Entry _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(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(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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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(_list238.size); - for (int _i239 = 0; _i239 < _list238.size; ++_i239) + org.apache.thrift.protocol.TList _list262 = iprot.readListBegin(); + struct.success = new ArrayList(_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(_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(_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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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(2*_map246.size); - for (int _i247 = 0; _i247 < _map246.size; ++_i247) + org.apache.thrift.protocol.TMap _map270 = iprot.readMapBegin(); + struct.permissions = new HashMap(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 _iter250 : struct.permissions.entrySet()) + for (Map.Entry _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 _iter251 : struct.permissions.entrySet()) + for (Map.Entry _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(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(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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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(2*_map256.size); - for (int _i257 = 0; _i257 < _map256.size; ++_i257) + org.apache.thrift.protocol.TMap _map280 = iprot.readMapBegin(); + struct.success = new HashMap(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 _iter260 : struct.success.entrySet()) + for (Map.Entry _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 _iter261 : struct.success.entrySet()) + for (Map.Entry _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(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(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 list = new ArrayList(); + + 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 list = new ArrayList(); + + 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 -- cgit v1.2.3-55-g7522