summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/openslx/bwlp/thrift/iface/MasterServer.java
diff options
context:
space:
mode:
authorJonathan Bauer2016-01-07 13:55:40 +0100
committerJonathan Bauer2016-01-07 13:55:40 +0100
commit5ba446543184d5af8185da23b9a5fd28133d5513 (patch)
tree5f0dc18ddee5ee2370f6c0226e5337987d393428 /src/main/java/org/openslx/bwlp/thrift/iface/MasterServer.java
parent[thrift] added generated Location class (diff)
downloadmaster-sync-shared-5ba446543184d5af8185da23b9a5fd28133d5513.tar.gz
master-sync-shared-5ba446543184d5af8185da23b9a5fd28133d5513.tar.xz
master-sync-shared-5ba446543184d5af8185da23b9a5fd28133d5513.zip
added "onlyInLocations" flag for LectureWrite
update thrift files to 0.9.3
Diffstat (limited to 'src/main/java/org/openslx/bwlp/thrift/iface/MasterServer.java')
-rw-r--r--src/main/java/org/openslx/bwlp/thrift/iface/MasterServer.java975
1 files changed, 735 insertions, 240 deletions
diff --git a/src/main/java/org/openslx/bwlp/thrift/iface/MasterServer.java b/src/main/java/org/openslx/bwlp/thrift/iface/MasterServer.java
index a4b0238..1635f58 100644
--- a/src/main/java/org/openslx/bwlp/thrift/iface/MasterServer.java
+++ b/src/main/java/org/openslx/bwlp/thrift/iface/MasterServer.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 MasterServer {
public interface Iface {
@@ -3304,7 +3307,9 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ return list.hashCode();
}
@Override
@@ -3571,7 +3576,7 @@ public class MasterServer {
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
- return Boolean.valueOf(isSuccess());
+ return isSuccess();
}
throw new IllegalStateException();
@@ -3617,7 +3622,14 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_success = true;
+ list.add(present_success);
+ if (present_success)
+ list.add(success);
+
+ return list.hashCode();
}
@Override
@@ -4028,7 +4040,19 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_login = true && (isSetLogin());
+ list.add(present_login);
+ if (present_login)
+ list.add(login);
+
+ boolean present_password = true && (isSetPassword());
+ list.add(present_password);
+ if (present_password)
+ list.add(password);
+
+ return list.hashCode();
}
@Override
@@ -4541,7 +4565,24 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_success = true && (isSetSuccess());
+ list.add(present_success);
+ if (present_success)
+ list.add(success);
+
+ boolean present_failure = true && (isSetFailure());
+ list.add(present_failure);
+ if (present_failure)
+ list.add(failure);
+
+ boolean present_error = true && (isSetError());
+ list.add(present_error);
+ if (present_error)
+ list.add(error);
+
+ return list.hashCode();
}
@Override
@@ -5045,7 +5086,19 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_login = true && (isSetLogin());
+ list.add(present_login);
+ if (present_login)
+ list.add(login);
+
+ boolean present_password = true && (isSetPassword());
+ list.add(present_password);
+ if (present_password)
+ list.add(password);
+
+ return list.hashCode();
}
@Override
@@ -5558,7 +5611,24 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_success = true && (isSetSuccess());
+ list.add(present_success);
+ if (present_success)
+ list.add(success);
+
+ boolean present_failure = true && (isSetFailure());
+ list.add(present_failure);
+ if (present_failure)
+ list.add(failure);
+
+ boolean present_error = true && (isSetError());
+ list.add(present_error);
+ if (present_error)
+ list.add(error);
+
+ return list.hashCode();
}
@Override
@@ -6121,7 +6191,24 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_sessionId = true && (isSetSessionId());
+ list.add(present_sessionId);
+ if (present_sessionId)
+ list.add(sessionId);
+
+ boolean present_organizationId = true && (isSetOrganizationId());
+ list.add(present_organizationId);
+ if (present_organizationId)
+ list.add(organizationId);
+
+ boolean present_searchTerm = true && (isSetSearchTerm());
+ list.add(present_searchTerm);
+ if (present_searchTerm)
+ list.add(searchTerm);
+
+ return list.hashCode();
}
@Override
@@ -6695,7 +6782,24 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_success = true && (isSetSuccess());
+ list.add(present_success);
+ if (present_success)
+ list.add(success);
+
+ boolean present_failure = true && (isSetFailure());
+ list.add(present_failure);
+ if (present_failure)
+ list.add(failure);
+
+ boolean present_error = true && (isSetError());
+ list.add(present_error);
+ if (present_error)
+ list.add(error);
+
+ return list.hashCode();
}
@Override
@@ -6825,14 +6929,14 @@ public class MasterServer {
case 0: // SUCCESS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list266 = iprot.readListBegin();
- struct.success = new ArrayList<UserInfo>(_list266.size);
- for (int _i267 = 0; _i267 < _list266.size; ++_i267)
+ org.apache.thrift.protocol.TList _list290 = iprot.readListBegin();
+ struct.success = new ArrayList<UserInfo>(_list290.size);
+ UserInfo _elem291;
+ for (int _i292 = 0; _i292 < _list290.size; ++_i292)
{
- UserInfo _elem268;
- _elem268 = new UserInfo();
- _elem268.read(iprot);
- struct.success.add(_elem268);
+ _elem291 = new UserInfo();
+ _elem291.read(iprot);
+ struct.success.add(_elem291);
}
iprot.readListEnd();
}
@@ -6878,9 +6982,9 @@ public class MasterServer {
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size()));
- for (UserInfo _iter269 : struct.success)
+ for (UserInfo _iter293 : struct.success)
{
- _iter269.write(oprot);
+ _iter293.write(oprot);
}
oprot.writeListEnd();
}
@@ -6927,9 +7031,9 @@ public class MasterServer {
if (struct.isSetSuccess()) {
{
oprot.writeI32(struct.success.size());
- for (UserInfo _iter270 : struct.success)
+ for (UserInfo _iter294 : struct.success)
{
- _iter270.write(oprot);
+ _iter294.write(oprot);
}
}
}
@@ -6947,14 +7051,14 @@ public class MasterServer {
BitSet incoming = iprot.readBitSet(3);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list271 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.success = new ArrayList<UserInfo>(_list271.size);
- for (int _i272 = 0; _i272 < _list271.size; ++_i272)
+ org.apache.thrift.protocol.TList _list295 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.success = new ArrayList<UserInfo>(_list295.size);
+ UserInfo _elem296;
+ for (int _i297 = 0; _i297 < _list295.size; ++_i297)
{
- UserInfo _elem273;
- _elem273 = new UserInfo();
- _elem273.read(iprot);
- struct.success.add(_elem273);
+ _elem296 = new UserInfo();
+ _elem296.read(iprot);
+ struct.success.add(_elem296);
}
}
struct.setSuccessIsSet(true);
@@ -7173,7 +7277,7 @@ public class MasterServer {
return getSessionId();
case PAGE:
- return Integer.valueOf(getPage());
+ return getPage();
}
throw new IllegalStateException();
@@ -7230,7 +7334,19 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_sessionId = true && (isSetSessionId());
+ list.add(present_sessionId);
+ if (present_sessionId)
+ list.add(sessionId);
+
+ boolean present_page = true;
+ list.add(present_page);
+ if (present_page)
+ list.add(page);
+
+ return list.hashCode();
}
@Override
@@ -7759,7 +7875,24 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_success = true && (isSetSuccess());
+ list.add(present_success);
+ if (present_success)
+ list.add(success);
+
+ boolean present_failure = true && (isSetFailure());
+ list.add(present_failure);
+ if (present_failure)
+ list.add(failure);
+
+ boolean present_error = true && (isSetError());
+ list.add(present_error);
+ if (present_error)
+ list.add(error);
+
+ return list.hashCode();
}
@Override
@@ -7889,14 +8022,14 @@ public class MasterServer {
case 0: // SUCCESS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list274 = iprot.readListBegin();
- struct.success = new ArrayList<ImagePublishData>(_list274.size);
- for (int _i275 = 0; _i275 < _list274.size; ++_i275)
+ org.apache.thrift.protocol.TList _list298 = iprot.readListBegin();
+ struct.success = new ArrayList<ImagePublishData>(_list298.size);
+ ImagePublishData _elem299;
+ for (int _i300 = 0; _i300 < _list298.size; ++_i300)
{
- ImagePublishData _elem276;
- _elem276 = new ImagePublishData();
- _elem276.read(iprot);
- struct.success.add(_elem276);
+ _elem299 = new ImagePublishData();
+ _elem299.read(iprot);
+ struct.success.add(_elem299);
}
iprot.readListEnd();
}
@@ -7942,9 +8075,9 @@ public class MasterServer {
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size()));
- for (ImagePublishData _iter277 : struct.success)
+ for (ImagePublishData _iter301 : struct.success)
{
- _iter277.write(oprot);
+ _iter301.write(oprot);
}
oprot.writeListEnd();
}
@@ -7991,9 +8124,9 @@ public class MasterServer {
if (struct.isSetSuccess()) {
{
oprot.writeI32(struct.success.size());
- for (ImagePublishData _iter278 : struct.success)
+ for (ImagePublishData _iter302 : struct.success)
{
- _iter278.write(oprot);
+ _iter302.write(oprot);
}
}
}
@@ -8011,14 +8144,14 @@ public class MasterServer {
BitSet incoming = iprot.readBitSet(3);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list279 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.success = new ArrayList<ImagePublishData>(_list279.size);
- for (int _i280 = 0; _i280 < _list279.size; ++_i280)
+ org.apache.thrift.protocol.TList _list303 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.success = new ArrayList<ImagePublishData>(_list303.size);
+ ImagePublishData _elem304;
+ for (int _i305 = 0; _i305 < _list303.size; ++_i305)
{
- ImagePublishData _elem281;
- _elem281 = new ImagePublishData();
- _elem281.read(iprot);
- struct.success.add(_elem281);
+ _elem304 = new ImagePublishData();
+ _elem304.read(iprot);
+ struct.success.add(_elem304);
}
}
struct.setSuccessIsSet(true);
@@ -8233,7 +8366,14 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_sessionId = true && (isSetSessionId());
+ list.add(present_sessionId);
+ if (present_sessionId)
+ list.add(sessionId);
+
+ return list.hashCode();
}
@Override
@@ -8587,7 +8727,14 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_ex = true && (isSetEx());
+ list.add(present_ex);
+ if (present_ex)
+ list.add(ex);
+
+ return list.hashCode();
}
@Override
@@ -8943,7 +9090,14 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_token = true && (isSetToken());
+ list.add(present_token);
+ if (present_token)
+ list.add(token);
+
+ return list.hashCode();
}
@Override
@@ -9356,7 +9510,19 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_success = true && (isSetSuccess());
+ list.add(present_success);
+ if (present_success)
+ list.add(success);
+
+ boolean present_failure = true && (isSetFailure());
+ list.add(present_failure);
+ if (present_failure)
+ list.add(failure);
+
+ return list.hashCode();
}
@Override
@@ -9758,7 +9924,14 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_serverSessionId = true && (isSetServerSessionId());
+ list.add(present_serverSessionId);
+ if (present_serverSessionId)
+ list.add(serverSessionId);
+
+ return list.hashCode();
}
@Override
@@ -10068,7 +10241,7 @@ public class MasterServer {
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
- return Boolean.valueOf(isSuccess());
+ return isSuccess();
}
throw new IllegalStateException();
@@ -10114,7 +10287,14 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_success = true;
+ list.add(present_success);
+ if (present_success)
+ list.add(success);
+
+ return list.hashCode();
}
@Override
@@ -10422,7 +10602,7 @@ public class MasterServer {
public Object getFieldValue(_Fields field) {
switch (field) {
case SATELLITE_ID:
- return Integer.valueOf(getSatelliteId());
+ return getSatelliteId();
}
throw new IllegalStateException();
@@ -10468,7 +10648,14 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_satelliteId = true;
+ list.add(present_satelliteId);
+ if (present_satelliteId)
+ list.add(satelliteId);
+
+ return list.hashCode();
}
@Override
@@ -10727,7 +10914,7 @@ public class MasterServer {
TInvocationException error)
{
this();
- this.success = success;
+ this.success = org.apache.thrift.TBaseHelper.copyBinary(success);
this.failure = failure;
this.error = error;
}
@@ -10738,7 +10925,6 @@ public class MasterServer {
public startServerAuthentication_result(startServerAuthentication_result other) {
if (other.isSetSuccess()) {
this.success = org.apache.thrift.TBaseHelper.copyBinary(other.success);
-;
}
if (other.isSetFailure()) {
this.failure = new TAuthorizationException(other.failure);
@@ -10765,16 +10951,16 @@ public class MasterServer {
}
public ByteBuffer bufferForSuccess() {
- return success;
+ return org.apache.thrift.TBaseHelper.copyBinary(success);
}
public startServerAuthentication_result setSuccess(byte[] success) {
- setSuccess(success == null ? (ByteBuffer)null : ByteBuffer.wrap(success));
+ this.success = success == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(success, success.length));
return this;
}
public startServerAuthentication_result setSuccess(ByteBuffer success) {
- this.success = success;
+ this.success = org.apache.thrift.TBaseHelper.copyBinary(success);
return this;
}
@@ -10947,7 +11133,24 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_success = true && (isSetSuccess());
+ list.add(present_success);
+ if (present_success)
+ list.add(success);
+
+ boolean present_failure = true && (isSetFailure());
+ list.add(present_failure);
+ if (present_failure)
+ list.add(failure);
+
+ boolean present_error = true && (isSetError());
+ list.add(present_error);
+ if (present_error)
+ list.add(error);
+
+ return list.hashCode();
}
@Override
@@ -11292,7 +11495,7 @@ public class MasterServer {
this();
this.satelliteId = satelliteId;
setSatelliteIdIsSet(true);
- this.challengeResponse = challengeResponse;
+ this.challengeResponse = org.apache.thrift.TBaseHelper.copyBinary(challengeResponse);
}
/**
@@ -11303,7 +11506,6 @@ public class MasterServer {
this.satelliteId = other.satelliteId;
if (other.isSetChallengeResponse()) {
this.challengeResponse = org.apache.thrift.TBaseHelper.copyBinary(other.challengeResponse);
-;
}
}
@@ -11347,16 +11549,16 @@ public class MasterServer {
}
public ByteBuffer bufferForChallengeResponse() {
- return challengeResponse;
+ return org.apache.thrift.TBaseHelper.copyBinary(challengeResponse);
}
public serverAuthenticate_args setChallengeResponse(byte[] challengeResponse) {
- setChallengeResponse(challengeResponse == null ? (ByteBuffer)null : ByteBuffer.wrap(challengeResponse));
+ this.challengeResponse = challengeResponse == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(challengeResponse, challengeResponse.length));
return this;
}
public serverAuthenticate_args setChallengeResponse(ByteBuffer challengeResponse) {
- this.challengeResponse = challengeResponse;
+ this.challengeResponse = org.apache.thrift.TBaseHelper.copyBinary(challengeResponse);
return this;
}
@@ -11399,7 +11601,7 @@ public class MasterServer {
public Object getFieldValue(_Fields field) {
switch (field) {
case SATELLITE_ID:
- return Integer.valueOf(getSatelliteId());
+ return getSatelliteId();
case CHALLENGE_RESPONSE:
return getChallengeResponse();
@@ -11459,7 +11661,19 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_satelliteId = true;
+ list.add(present_satelliteId);
+ if (present_satelliteId)
+ list.add(satelliteId);
+
+ boolean present_challengeResponse = true && (isSetChallengeResponse());
+ list.add(present_challengeResponse);
+ if (present_challengeResponse)
+ list.add(challengeResponse);
+
+ return list.hashCode();
}
@Override
@@ -11968,7 +12182,24 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_success = true && (isSetSuccess());
+ list.add(present_success);
+ if (present_success)
+ list.add(success);
+
+ boolean present_failure = true && (isSetFailure());
+ list.add(present_failure);
+ if (present_failure)
+ list.add(failure);
+
+ boolean present_errr = true && (isSetErrr());
+ list.add(present_errr);
+ if (present_errr)
+ list.add(errr);
+
+ return list.hashCode();
}
@Override
@@ -12472,7 +12703,19 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_serverSessionId = true && (isSetServerSessionId());
+ list.add(present_serverSessionId);
+ if (present_serverSessionId)
+ list.add(serverSessionId);
+
+ boolean present_imageVersionId = true && (isSetImageVersionId());
+ list.add(present_imageVersionId);
+ if (present_imageVersionId)
+ list.add(imageVersionId);
+
+ return list.hashCode();
}
@Override
@@ -13044,7 +13287,29 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_success = true && (isSetSuccess());
+ list.add(present_success);
+ if (present_success)
+ list.add(success);
+
+ boolean present_failure = true && (isSetFailure());
+ list.add(present_failure);
+ if (present_failure)
+ list.add(failure);
+
+ boolean present_failure2 = true && (isSetFailure2());
+ list.add(present_failure2);
+ if (present_failure2)
+ list.add(failure2);
+
+ boolean present_f3 = true && (isSetF3());
+ list.add(present_f3);
+ if (present_f3)
+ list.add(f3);
+
+ return list.hashCode();
}
@Override
@@ -13667,7 +13932,24 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_serverSessionId = true && (isSetServerSessionId());
+ list.add(present_serverSessionId);
+ if (present_serverSessionId)
+ list.add(serverSessionId);
+
+ boolean present_imageDescription = true && (isSetImageDescription());
+ list.add(present_imageDescription);
+ if (present_imageDescription)
+ list.add(imageDescription);
+
+ boolean present_blockHashes = true && (isSetBlockHashes());
+ list.add(present_blockHashes);
+ if (present_blockHashes)
+ list.add(blockHashes);
+
+ return list.hashCode();
}
@Override
@@ -13748,7 +14030,7 @@ public class MasterServer {
if (this.blockHashes == null) {
sb.append("null");
} else {
- sb.append(this.blockHashes);
+ org.apache.thrift.TBaseHelper.toString(this.blockHashes, sb);
}
first = false;
sb.append(")");
@@ -13817,13 +14099,13 @@ public class MasterServer {
case 3: // BLOCK_HASHES
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list282 = iprot.readListBegin();
- struct.blockHashes = new ArrayList<ByteBuffer>(_list282.size);
- for (int _i283 = 0; _i283 < _list282.size; ++_i283)
+ org.apache.thrift.protocol.TList _list306 = iprot.readListBegin();
+ struct.blockHashes = new ArrayList<ByteBuffer>(_list306.size);
+ ByteBuffer _elem307;
+ for (int _i308 = 0; _i308 < _list306.size; ++_i308)
{
- ByteBuffer _elem284;
- _elem284 = iprot.readBinary();
- struct.blockHashes.add(_elem284);
+ _elem307 = iprot.readBinary();
+ struct.blockHashes.add(_elem307);
}
iprot.readListEnd();
}
@@ -13861,9 +14143,9 @@ public class MasterServer {
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 _iter285 : struct.blockHashes)
+ for (ByteBuffer _iter309 : struct.blockHashes)
{
- oprot.writeBinary(_iter285);
+ oprot.writeBinary(_iter309);
}
oprot.writeListEnd();
}
@@ -13906,9 +14188,9 @@ public class MasterServer {
if (struct.isSetBlockHashes()) {
{
oprot.writeI32(struct.blockHashes.size());
- for (ByteBuffer _iter286 : struct.blockHashes)
+ for (ByteBuffer _iter310 : struct.blockHashes)
{
- oprot.writeBinary(_iter286);
+ oprot.writeBinary(_iter310);
}
}
}
@@ -13929,13 +14211,13 @@ public class MasterServer {
}
if (incoming.get(2)) {
{
- org.apache.thrift.protocol.TList _list287 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.blockHashes = new ArrayList<ByteBuffer>(_list287.size);
- for (int _i288 = 0; _i288 < _list287.size; ++_i288)
+ org.apache.thrift.protocol.TList _list311 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.blockHashes = new ArrayList<ByteBuffer>(_list311.size);
+ ByteBuffer _elem312;
+ for (int _i313 = 0; _i313 < _list311.size; ++_i313)
{
- ByteBuffer _elem289;
- _elem289 = iprot.readBinary();
- struct.blockHashes.add(_elem289);
+ _elem312 = iprot.readBinary();
+ struct.blockHashes.add(_elem312);
}
}
struct.setBlockHashesIsSet(true);
@@ -14317,7 +14599,29 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_success = true && (isSetSuccess());
+ list.add(present_success);
+ if (present_success)
+ list.add(success);
+
+ boolean present_failure = true && (isSetFailure());
+ list.add(present_failure);
+ if (present_failure)
+ list.add(failure);
+
+ boolean present_failure2 = true && (isSetFailure2());
+ list.add(present_failure2);
+ if (present_failure2)
+ list.add(failure2);
+
+ boolean present_failure3 = true && (isSetFailure3());
+ list.add(present_failure3);
+ if (present_failure3)
+ list.add(failure3);
+
+ return list.hashCode();
}
@Override
@@ -14744,7 +15048,7 @@ public class MasterServer {
this.addresses = addresses;
this.modulus = modulus;
this.exponent = exponent;
- this.certsha256 = certsha256;
+ this.certsha256 = org.apache.thrift.TBaseHelper.copyBinary(certsha256);
}
/**
@@ -14769,7 +15073,6 @@ public class MasterServer {
}
if (other.isSetCertsha256()) {
this.certsha256 = org.apache.thrift.TBaseHelper.copyBinary(other.certsha256);
-;
}
}
@@ -14928,16 +15231,16 @@ public class MasterServer {
}
public ByteBuffer bufferForCertsha256() {
- return certsha256;
+ return org.apache.thrift.TBaseHelper.copyBinary(certsha256);
}
public registerSatellite_args setCertsha256(byte[] certsha256) {
- setCertsha256(certsha256 == null ? (ByteBuffer)null : ByteBuffer.wrap(certsha256));
+ this.certsha256 = certsha256 == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(certsha256, certsha256.length));
return this;
}
public registerSatellite_args setCertsha256(ByteBuffer certsha256) {
- this.certsha256 = certsha256;
+ this.certsha256 = org.apache.thrift.TBaseHelper.copyBinary(certsha256);
return this;
}
@@ -15128,7 +15431,39 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_userToken = true && (isSetUserToken());
+ list.add(present_userToken);
+ if (present_userToken)
+ list.add(userToken);
+
+ boolean present_displayName = true && (isSetDisplayName());
+ list.add(present_displayName);
+ if (present_displayName)
+ list.add(displayName);
+
+ boolean present_addresses = true && (isSetAddresses());
+ list.add(present_addresses);
+ if (present_addresses)
+ list.add(addresses);
+
+ boolean present_modulus = true && (isSetModulus());
+ list.add(present_modulus);
+ if (present_modulus)
+ list.add(modulus);
+
+ boolean present_exponent = true && (isSetExponent());
+ list.add(present_exponent);
+ if (present_exponent)
+ list.add(exponent);
+
+ boolean present_certsha256 = true && (isSetCertsha256());
+ list.add(present_certsha256);
+ if (present_certsha256)
+ list.add(certsha256);
+
+ return list.hashCode();
}
@Override
@@ -15328,13 +15663,13 @@ public class MasterServer {
case 2: // ADDRESSES
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list290 = iprot.readListBegin();
- struct.addresses = new ArrayList<String>(_list290.size);
- for (int _i291 = 0; _i291 < _list290.size; ++_i291)
+ org.apache.thrift.protocol.TList _list314 = iprot.readListBegin();
+ struct.addresses = new ArrayList<String>(_list314.size);
+ String _elem315;
+ for (int _i316 = 0; _i316 < _list314.size; ++_i316)
{
- String _elem292;
- _elem292 = iprot.readString();
- struct.addresses.add(_elem292);
+ _elem315 = iprot.readString();
+ struct.addresses.add(_elem315);
}
iprot.readListEnd();
}
@@ -15391,9 +15726,9 @@ public class MasterServer {
oprot.writeFieldBegin(ADDRESSES_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.addresses.size()));
- for (String _iter293 : struct.addresses)
+ for (String _iter317 : struct.addresses)
{
- oprot.writeString(_iter293);
+ oprot.writeString(_iter317);
}
oprot.writeListEnd();
}
@@ -15465,9 +15800,9 @@ public class MasterServer {
if (struct.isSetAddresses()) {
{
oprot.writeI32(struct.addresses.size());
- for (String _iter294 : struct.addresses)
+ for (String _iter318 : struct.addresses)
{
- oprot.writeString(_iter294);
+ oprot.writeString(_iter318);
}
}
}
@@ -15496,13 +15831,13 @@ public class MasterServer {
}
if (incoming.get(2)) {
{
- org.apache.thrift.protocol.TList _list295 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.addresses = new ArrayList<String>(_list295.size);
- for (int _i296 = 0; _i296 < _list295.size; ++_i296)
+ org.apache.thrift.protocol.TList _list319 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.addresses = new ArrayList<String>(_list319.size);
+ String _elem320;
+ for (int _i321 = 0; _i321 < _list319.size; ++_i321)
{
- String _elem297;
- _elem297 = iprot.readString();
- struct.addresses.add(_elem297);
+ _elem320 = iprot.readString();
+ struct.addresses.add(_elem320);
}
}
struct.setAddressesIsSet(true);
@@ -15720,7 +16055,7 @@ public class MasterServer {
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
- return Integer.valueOf(getSuccess());
+ return getSuccess();
case ERROR:
return getError();
@@ -15780,7 +16115,19 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_success = true;
+ list.add(present_success);
+ if (present_success)
+ list.add(success);
+
+ boolean present_error = true && (isSetError());
+ list.add(present_error);
+ if (present_error)
+ list.add(error);
+
+ return list.hashCode();
}
@Override
@@ -16310,7 +16657,24 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_serverSessionId = true && (isSetServerSessionId());
+ list.add(present_serverSessionId);
+ if (present_serverSessionId)
+ list.add(serverSessionId);
+
+ boolean present_displayName = true && (isSetDisplayName());
+ list.add(present_displayName);
+ if (present_displayName)
+ list.add(displayName);
+
+ boolean present_addresses = true && (isSetAddresses());
+ list.add(present_addresses);
+ if (present_addresses)
+ list.add(addresses);
+
+ return list.hashCode();
}
@Override
@@ -16456,13 +16820,13 @@ public class MasterServer {
case 3: // ADDRESSES
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list298 = iprot.readListBegin();
- struct.addresses = new ArrayList<String>(_list298.size);
- for (int _i299 = 0; _i299 < _list298.size; ++_i299)
+ org.apache.thrift.protocol.TList _list322 = iprot.readListBegin();
+ struct.addresses = new ArrayList<String>(_list322.size);
+ String _elem323;
+ for (int _i324 = 0; _i324 < _list322.size; ++_i324)
{
- String _elem300;
- _elem300 = iprot.readString();
- struct.addresses.add(_elem300);
+ _elem323 = iprot.readString();
+ struct.addresses.add(_elem323);
}
iprot.readListEnd();
}
@@ -16500,9 +16864,9 @@ public class MasterServer {
oprot.writeFieldBegin(ADDRESSES_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.addresses.size()));
- for (String _iter301 : struct.addresses)
+ for (String _iter325 : struct.addresses)
{
- oprot.writeString(_iter301);
+ oprot.writeString(_iter325);
}
oprot.writeListEnd();
}
@@ -16545,9 +16909,9 @@ public class MasterServer {
if (struct.isSetAddresses()) {
{
oprot.writeI32(struct.addresses.size());
- for (String _iter302 : struct.addresses)
+ for (String _iter326 : struct.addresses)
{
- oprot.writeString(_iter302);
+ oprot.writeString(_iter326);
}
}
}
@@ -16567,13 +16931,13 @@ public class MasterServer {
}
if (incoming.get(2)) {
{
- org.apache.thrift.protocol.TList _list303 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.addresses = new ArrayList<String>(_list303.size);
- for (int _i304 = 0; _i304 < _list303.size; ++_i304)
+ org.apache.thrift.protocol.TList _list327 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.addresses = new ArrayList<String>(_list327.size);
+ String _elem328;
+ for (int _i329 = 0; _i329 < _list327.size; ++_i329)
{
- String _elem305;
- _elem305 = iprot.readString();
- struct.addresses.add(_elem305);
+ _elem328 = iprot.readString();
+ struct.addresses.add(_elem328);
}
}
struct.setAddressesIsSet(true);
@@ -16824,7 +17188,7 @@ public class MasterServer {
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
- return Boolean.valueOf(isSuccess());
+ return isSuccess();
case FAILURE:
return getFailure();
@@ -16898,7 +17262,24 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_success = true;
+ list.add(present_success);
+ if (present_success)
+ list.add(success);
+
+ boolean present_failure = true && (isSetFailure());
+ list.add(present_failure);
+ if (present_failure)
+ list.add(failure);
+
+ boolean present_error = true && (isSetError());
+ list.add(present_error);
+ if (present_error)
+ list.add(error);
+
+ return list.hashCode();
}
@Override
@@ -17395,7 +17776,19 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_sessionId = true && (isSetSessionId());
+ list.add(present_sessionId);
+ if (present_sessionId)
+ list.add(sessionId);
+
+ boolean present_imageVersionId = true && (isSetImageVersionId());
+ list.add(present_imageVersionId);
+ if (present_imageVersionId)
+ list.add(imageVersionId);
+
+ return list.hashCode();
}
@Override
@@ -17967,7 +18360,29 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_success = true && (isSetSuccess());
+ list.add(present_success);
+ if (present_success)
+ list.add(success);
+
+ boolean present_failure = true && (isSetFailure());
+ list.add(present_failure);
+ if (present_failure)
+ list.add(failure);
+
+ boolean present_failure2 = true && (isSetFailure2());
+ list.add(present_failure2);
+ if (present_failure2)
+ list.add(failure2);
+
+ boolean present_f3 = true && (isSetF3());
+ list.add(present_f3);
+ if (present_f3)
+ list.add(f3);
+
+ return list.hashCode();
}
@Override
@@ -18390,7 +18805,9 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ return list.hashCode();
}
@Override
@@ -18780,7 +19197,19 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_success = true && (isSetSuccess());
+ list.add(present_success);
+ if (present_success)
+ list.add(success);
+
+ boolean present_serverError = true && (isSetServerError());
+ list.add(present_serverError);
+ if (present_serverError)
+ list.add(serverError);
+
+ return list.hashCode();
}
@Override
@@ -18892,14 +19321,14 @@ public class MasterServer {
case 0: // SUCCESS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list306 = iprot.readListBegin();
- struct.success = new ArrayList<Organization>(_list306.size);
- for (int _i307 = 0; _i307 < _list306.size; ++_i307)
+ org.apache.thrift.protocol.TList _list330 = iprot.readListBegin();
+ struct.success = new ArrayList<Organization>(_list330.size);
+ Organization _elem331;
+ for (int _i332 = 0; _i332 < _list330.size; ++_i332)
{
- Organization _elem308;
- _elem308 = new Organization();
- _elem308.read(iprot);
- struct.success.add(_elem308);
+ _elem331 = new Organization();
+ _elem331.read(iprot);
+ struct.success.add(_elem331);
}
iprot.readListEnd();
}
@@ -18936,9 +19365,9 @@ public class MasterServer {
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size()));
- for (Organization _iter309 : struct.success)
+ for (Organization _iter333 : struct.success)
{
- _iter309.write(oprot);
+ _iter333.write(oprot);
}
oprot.writeListEnd();
}
@@ -18977,9 +19406,9 @@ public class MasterServer {
if (struct.isSetSuccess()) {
{
oprot.writeI32(struct.success.size());
- for (Organization _iter310 : struct.success)
+ for (Organization _iter334 : struct.success)
{
- _iter310.write(oprot);
+ _iter334.write(oprot);
}
}
}
@@ -18994,14 +19423,14 @@ public class MasterServer {
BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list311 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.success = new ArrayList<Organization>(_list311.size);
- for (int _i312 = 0; _i312 < _list311.size; ++_i312)
+ org.apache.thrift.protocol.TList _list335 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.success = new ArrayList<Organization>(_list335.size);
+ Organization _elem336;
+ for (int _i337 = 0; _i337 < _list335.size; ++_i337)
{
- Organization _elem313;
- _elem313 = new Organization();
- _elem313.read(iprot);
- struct.success.add(_elem313);
+ _elem336 = new Organization();
+ _elem336.read(iprot);
+ struct.success.add(_elem336);
}
}
struct.setSuccessIsSet(true);
@@ -19146,7 +19575,9 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ return list.hashCode();
}
@Override
@@ -19536,7 +19967,19 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_success = true && (isSetSuccess());
+ list.add(present_success);
+ if (present_success)
+ list.add(success);
+
+ boolean present_serverError = true && (isSetServerError());
+ list.add(present_serverError);
+ if (present_serverError)
+ list.add(serverError);
+
+ return list.hashCode();
}
@Override
@@ -19648,14 +20091,14 @@ public class MasterServer {
case 0: // SUCCESS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list314 = iprot.readListBegin();
- struct.success = new ArrayList<OperatingSystem>(_list314.size);
- for (int _i315 = 0; _i315 < _list314.size; ++_i315)
+ org.apache.thrift.protocol.TList _list338 = iprot.readListBegin();
+ struct.success = new ArrayList<OperatingSystem>(_list338.size);
+ OperatingSystem _elem339;
+ for (int _i340 = 0; _i340 < _list338.size; ++_i340)
{
- OperatingSystem _elem316;
- _elem316 = new OperatingSystem();
- _elem316.read(iprot);
- struct.success.add(_elem316);
+ _elem339 = new OperatingSystem();
+ _elem339.read(iprot);
+ struct.success.add(_elem339);
}
iprot.readListEnd();
}
@@ -19692,9 +20135,9 @@ public class MasterServer {
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size()));
- for (OperatingSystem _iter317 : struct.success)
+ for (OperatingSystem _iter341 : struct.success)
{
- _iter317.write(oprot);
+ _iter341.write(oprot);
}
oprot.writeListEnd();
}
@@ -19733,9 +20176,9 @@ public class MasterServer {
if (struct.isSetSuccess()) {
{
oprot.writeI32(struct.success.size());
- for (OperatingSystem _iter318 : struct.success)
+ for (OperatingSystem _iter342 : struct.success)
{
- _iter318.write(oprot);
+ _iter342.write(oprot);
}
}
}
@@ -19750,14 +20193,14 @@ public class MasterServer {
BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list319 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.success = new ArrayList<OperatingSystem>(_list319.size);
- for (int _i320 = 0; _i320 < _list319.size; ++_i320)
+ org.apache.thrift.protocol.TList _list343 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.success = new ArrayList<OperatingSystem>(_list343.size);
+ OperatingSystem _elem344;
+ for (int _i345 = 0; _i345 < _list343.size; ++_i345)
{
- OperatingSystem _elem321;
- _elem321 = new OperatingSystem();
- _elem321.read(iprot);
- struct.success.add(_elem321);
+ _elem344 = new OperatingSystem();
+ _elem344.read(iprot);
+ struct.success.add(_elem344);
}
}
struct.setSuccessIsSet(true);
@@ -19902,7 +20345,9 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ return list.hashCode();
}
@Override
@@ -20292,7 +20737,19 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_success = true && (isSetSuccess());
+ list.add(present_success);
+ if (present_success)
+ list.add(success);
+
+ boolean present_serverError = true && (isSetServerError());
+ list.add(present_serverError);
+ if (present_serverError)
+ list.add(serverError);
+
+ return list.hashCode();
}
@Override
@@ -20404,14 +20861,14 @@ public class MasterServer {
case 0: // SUCCESS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list322 = iprot.readListBegin();
- struct.success = new ArrayList<Virtualizer>(_list322.size);
- for (int _i323 = 0; _i323 < _list322.size; ++_i323)
+ org.apache.thrift.protocol.TList _list346 = iprot.readListBegin();
+ struct.success = new ArrayList<Virtualizer>(_list346.size);
+ Virtualizer _elem347;
+ for (int _i348 = 0; _i348 < _list346.size; ++_i348)
{
- Virtualizer _elem324;
- _elem324 = new Virtualizer();
- _elem324.read(iprot);
- struct.success.add(_elem324);
+ _elem347 = new Virtualizer();
+ _elem347.read(iprot);
+ struct.success.add(_elem347);
}
iprot.readListEnd();
}
@@ -20448,9 +20905,9 @@ public class MasterServer {
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size()));
- for (Virtualizer _iter325 : struct.success)
+ for (Virtualizer _iter349 : struct.success)
{
- _iter325.write(oprot);
+ _iter349.write(oprot);
}
oprot.writeListEnd();
}
@@ -20489,9 +20946,9 @@ public class MasterServer {
if (struct.isSetSuccess()) {
{
oprot.writeI32(struct.success.size());
- for (Virtualizer _iter326 : struct.success)
+ for (Virtualizer _iter350 : struct.success)
{
- _iter326.write(oprot);
+ _iter350.write(oprot);
}
}
}
@@ -20506,14 +20963,14 @@ public class MasterServer {
BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list327 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.success = new ArrayList<Virtualizer>(_list327.size);
- for (int _i328 = 0; _i328 < _list327.size; ++_i328)
+ org.apache.thrift.protocol.TList _list351 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.success = new ArrayList<Virtualizer>(_list351.size);
+ Virtualizer _elem352;
+ for (int _i353 = 0; _i353 < _list351.size; ++_i353)
{
- Virtualizer _elem329;
- _elem329 = new Virtualizer();
- _elem329.read(iprot);
- struct.success.add(_elem329);
+ _elem352 = new Virtualizer();
+ _elem352.read(iprot);
+ struct.success.add(_elem352);
}
}
struct.setSuccessIsSet(true);
@@ -20679,7 +21136,7 @@ public class MasterServer {
public Object getFieldValue(_Fields field) {
switch (field) {
case START_DATE:
- return Long.valueOf(getStartDate());
+ return getStartDate();
}
throw new IllegalStateException();
@@ -20725,7 +21182,14 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_startDate = true;
+ list.add(present_startDate);
+ if (present_startDate)
+ list.add(startDate);
+
+ return list.hashCode();
}
@Override
@@ -21154,7 +21618,19 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_success = true && (isSetSuccess());
+ list.add(present_success);
+ if (present_success)
+ list.add(success);
+
+ boolean present_serverError = true && (isSetServerError());
+ list.add(present_serverError);
+ if (present_serverError)
+ list.add(serverError);
+
+ return list.hashCode();
}
@Override
@@ -21266,14 +21742,14 @@ public class MasterServer {
case 0: // SUCCESS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list330 = iprot.readListBegin();
- struct.success = new ArrayList<MasterTag>(_list330.size);
- for (int _i331 = 0; _i331 < _list330.size; ++_i331)
+ org.apache.thrift.protocol.TList _list354 = iprot.readListBegin();
+ struct.success = new ArrayList<MasterTag>(_list354.size);
+ MasterTag _elem355;
+ for (int _i356 = 0; _i356 < _list354.size; ++_i356)
{
- MasterTag _elem332;
- _elem332 = new MasterTag();
- _elem332.read(iprot);
- struct.success.add(_elem332);
+ _elem355 = new MasterTag();
+ _elem355.read(iprot);
+ struct.success.add(_elem355);
}
iprot.readListEnd();
}
@@ -21310,9 +21786,9 @@ public class MasterServer {
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size()));
- for (MasterTag _iter333 : struct.success)
+ for (MasterTag _iter357 : struct.success)
{
- _iter333.write(oprot);
+ _iter357.write(oprot);
}
oprot.writeListEnd();
}
@@ -21351,9 +21827,9 @@ public class MasterServer {
if (struct.isSetSuccess()) {
{
oprot.writeI32(struct.success.size());
- for (MasterTag _iter334 : struct.success)
+ for (MasterTag _iter358 : struct.success)
{
- _iter334.write(oprot);
+ _iter358.write(oprot);
}
}
}
@@ -21368,14 +21844,14 @@ public class MasterServer {
BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list335 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.success = new ArrayList<MasterTag>(_list335.size);
- for (int _i336 = 0; _i336 < _list335.size; ++_i336)
+ org.apache.thrift.protocol.TList _list359 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.success = new ArrayList<MasterTag>(_list359.size);
+ MasterTag _elem360;
+ for (int _i361 = 0; _i361 < _list359.size; ++_i361)
{
- MasterTag _elem337;
- _elem337 = new MasterTag();
- _elem337.read(iprot);
- struct.success.add(_elem337);
+ _elem360 = new MasterTag();
+ _elem360.read(iprot);
+ struct.success.add(_elem360);
}
}
struct.setSuccessIsSet(true);
@@ -21541,7 +22017,7 @@ public class MasterServer {
public Object getFieldValue(_Fields field) {
switch (field) {
case START_DATE:
- return Long.valueOf(getStartDate());
+ return getStartDate();
}
throw new IllegalStateException();
@@ -21587,7 +22063,14 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_startDate = true;
+ list.add(present_startDate);
+ if (present_startDate)
+ list.add(startDate);
+
+ return list.hashCode();
}
@Override
@@ -22016,7 +22499,19 @@ public class MasterServer {
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_success = true && (isSetSuccess());
+ list.add(present_success);
+ if (present_success)
+ list.add(success);
+
+ boolean present_serverError = true && (isSetServerError());
+ list.add(present_serverError);
+ if (present_serverError)
+ list.add(serverError);
+
+ return list.hashCode();
}
@Override
@@ -22128,14 +22623,14 @@ public class MasterServer {
case 0: // SUCCESS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list338 = iprot.readListBegin();
- struct.success = new ArrayList<MasterSoftware>(_list338.size);
- for (int _i339 = 0; _i339 < _list338.size; ++_i339)
+ org.apache.thrift.protocol.TList _list362 = iprot.readListBegin();
+ struct.success = new ArrayList<MasterSoftware>(_list362.size);
+ MasterSoftware _elem363;
+ for (int _i364 = 0; _i364 < _list362.size; ++_i364)
{
- MasterSoftware _elem340;
- _elem340 = new MasterSoftware();
- _elem340.read(iprot);
- struct.success.add(_elem340);
+ _elem363 = new MasterSoftware();
+ _elem363.read(iprot);
+ struct.success.add(_elem363);
}
iprot.readListEnd();
}
@@ -22172,9 +22667,9 @@ public class MasterServer {
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size()));
- for (MasterSoftware _iter341 : struct.success)
+ for (MasterSoftware _iter365 : struct.success)
{
- _iter341.write(oprot);
+ _iter365.write(oprot);
}
oprot.writeListEnd();
}
@@ -22213,9 +22708,9 @@ public class MasterServer {
if (struct.isSetSuccess()) {
{
oprot.writeI32(struct.success.size());
- for (MasterSoftware _iter342 : struct.success)
+ for (MasterSoftware _iter366 : struct.success)
{
- _iter342.write(oprot);
+ _iter366.write(oprot);
}
}
}
@@ -22230,14 +22725,14 @@ public class MasterServer {
BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list343 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.success = new ArrayList<MasterSoftware>(_list343.size);
- for (int _i344 = 0; _i344 < _list343.size; ++_i344)
+ org.apache.thrift.protocol.TList _list367 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.success = new ArrayList<MasterSoftware>(_list367.size);
+ MasterSoftware _elem368;
+ for (int _i369 = 0; _i369 < _list367.size; ++_i369)
{
- MasterSoftware _elem345;
- _elem345 = new MasterSoftware();
- _elem345.read(iprot);
- struct.success.add(_elem345);
+ _elem368 = new MasterSoftware();
+ _elem368.read(iprot);
+ struct.success.add(_elem368);
}
}
struct.setSuccessIsSet(true);