diff --git a/client/src/main/generated/GetStateResponse.java b/client/src/main/generated/GetStateResponse.java index 2372057c0..1f5e81ed1 100644 --- a/client/src/main/generated/GetStateResponse.java +++ b/client/src/main/generated/GetStateResponse.java @@ -32,6 +32,7 @@ public class GetStateResponse implements TBase, java.io.Serializable, Cloneable, private static final TField LAST_LOG_ID_FIELD_DESC = new TField("last_log_id", TType.I64, (short)6); private static final TField LAST_LOG_TERM_FIELD_DESC = new TField("last_log_term", TType.I64, (short)7); private static final TField STATUS_FIELD_DESC = new TField("status", TType.I32, (short)8); + private static final TField PEERS_FIELD_DESC = new TField("peers", TType.LIST, (short)9); /** * @@ -53,6 +54,7 @@ public class GetStateResponse implements TBase, java.io.Serializable, Cloneable, * @see Status */ public Status status; + public List peers; public static final int ERROR_CODE = 1; public static final int ROLE = 2; public static final int TERM = 3; @@ -61,6 +63,7 @@ public class GetStateResponse implements TBase, java.io.Serializable, Cloneable, public static final int LAST_LOG_ID = 6; public static final int LAST_LOG_TERM = 7; public static final int STATUS = 8; + public static final int PEERS = 9; // isset id assignments private static final int __TERM_ISSET_ID = 0; @@ -90,6 +93,9 @@ public class GetStateResponse implements TBase, java.io.Serializable, Cloneable, new FieldValueMetaData(TType.I64))); tmpMetaDataMap.put(STATUS, new FieldMetaData("status", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.I32))); + tmpMetaDataMap.put(PEERS, new FieldMetaData("peers", TFieldRequirementType.DEFAULT, + new ListMetaData(TType.LIST, + new FieldValueMetaData(TType.STRING)))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } @@ -108,7 +114,8 @@ public GetStateResponse( long committed_log_id, long last_log_id, long last_log_term, - Status status) { + Status status, + List peers) { this(); this.error_code = error_code; this.role = role; @@ -123,6 +130,7 @@ public GetStateResponse( this.last_log_term = last_log_term; setLast_log_termIsSet(true); this.status = status; + this.peers = peers; } public static class Builder { @@ -134,6 +142,7 @@ public static class Builder { private long last_log_id; private long last_log_term; private Status status; + private List peers; BitSet __optional_isset = new BitSet(5); @@ -185,6 +194,11 @@ public Builder setStatus(final Status status) { return this; } + public Builder setPeers(final List peers) { + this.peers = peers; + return this; + } + public GetStateResponse build() { GetStateResponse result = new GetStateResponse(); result.setError_code(this.error_code); @@ -205,6 +219,7 @@ public GetStateResponse build() { result.setLast_log_term(this.last_log_term); } result.setStatus(this.status); + result.setPeers(this.peers); return result; } } @@ -233,6 +248,9 @@ public GetStateResponse(GetStateResponse other) { if (other.isSetStatus()) { this.status = TBaseHelper.deepCopy(other.status); } + if (other.isSetPeers()) { + this.peers = TBaseHelper.deepCopy(other.peers); + } } public GetStateResponse deepCopy() { @@ -450,6 +468,31 @@ public void setStatusIsSet(boolean __value) { } } + public List getPeers() { + return this.peers; + } + + public GetStateResponse setPeers(List peers) { + this.peers = peers; + return this; + } + + public void unsetPeers() { + this.peers = null; + } + + // Returns true if field peers is set (has been assigned a value) and false otherwise + public boolean isSetPeers() { + return this.peers != null; + } + + public void setPeersIsSet(boolean __value) { + if (!__value) { + this.peers = null; + } + } + + @SuppressWarnings("unchecked") public void setFieldValue(int fieldID, Object __value) { switch (fieldID) { case ERROR_CODE: @@ -516,6 +559,14 @@ public void setFieldValue(int fieldID, Object __value) { } break; + case PEERS: + if (__value == null) { + unsetPeers(); + } else { + setPeers((List)__value); + } + break; + default: throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); } @@ -547,6 +598,9 @@ public Object getFieldValue(int fieldID) { case STATUS: return getStatus(); + case PEERS: + return getPeers(); + default: throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); } @@ -578,12 +632,14 @@ public boolean equals(Object _that) { if (!TBaseHelper.equalsNobinary(this.isSetStatus(), that.isSetStatus(), this.status, that.status)) { return false; } + if (!TBaseHelper.equalsSlow(this.isSetPeers(), that.isSetPeers(), this.peers, that.peers)) { return false; } + return true; } @Override public int hashCode() { - return Arrays.deepHashCode(new Object[] {error_code, role, term, is_leader, committed_log_id, last_log_id, last_log_term, status}); + return Arrays.deepHashCode(new Object[] {error_code, role, term, is_leader, committed_log_id, last_log_id, last_log_term, status, peers}); } @Override @@ -662,6 +718,14 @@ public int compareTo(GetStateResponse other) { if (lastComparison != 0) { return lastComparison; } + lastComparison = Boolean.valueOf(isSetPeers()).compareTo(other.isSetPeers()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(peers, other.peers); + if (lastComparison != 0) { + return lastComparison; + } return 0; } @@ -737,6 +801,25 @@ public void read(TProtocol iprot) throws TException { TProtocolUtil.skip(iprot, __field.type); } break; + case PEERS: + if (__field.type == TType.LIST) { + { + TList _list8 = iprot.readListBegin(); + this.peers = new ArrayList(Math.max(0, _list8.size)); + for (int _i9 = 0; + (_list8.size < 0) ? iprot.peekList() : (_i9 < _list8.size); + ++_i9) + { + byte[] _elem10; + _elem10 = iprot.readBinary(); + this.peers.add(_elem10); + } + iprot.readListEnd(); + } + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; default: TProtocolUtil.skip(iprot, __field.type); break; @@ -784,6 +867,17 @@ public void write(TProtocol oprot) throws TException { oprot.writeI32(this.status == null ? 0 : this.status.getValue()); oprot.writeFieldEnd(); } + if (this.peers != null) { + oprot.writeFieldBegin(PEERS_FIELD_DESC); + { + oprot.writeListBegin(new TList(TType.STRING, this.peers.size())); + for (byte[] _iter11 : this.peers) { + oprot.writeBinary(_iter11); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -895,6 +989,17 @@ public String toString(int indent, boolean prettyPrint) { } } first = false; + if (!first) sb.append("," + newLine); + sb.append(indentStr); + sb.append("peers"); + sb.append(space); + sb.append(":").append(space); + if (this.getPeers() == null) { + sb.append("null"); + } else { + sb.append(TBaseHelper.toString(this.getPeers(), indent + 1, prettyPrint)); + } + first = false; sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); sb.append(")"); return sb.toString(); diff --git a/client/src/main/generated/RaftexService.java b/client/src/main/generated/RaftexService.java index f1d0a7fbc..6c7c23e13 100644 --- a/client/src/main/generated/RaftexService.java +++ b/client/src/main/generated/RaftexService.java @@ -327,17 +327,17 @@ public AsyncClient(TProtocolFactory protocolFactory, TAsyncClientManager clientM super(protocolFactory, clientManager, transport); } - public void askForVote(AskForVoteRequest req, AsyncMethodCallback resultHandler16) throws TException { + public void askForVote(AskForVoteRequest req, AsyncMethodCallback resultHandler20) throws TException { checkReady(); - askForVote_call method_call = new askForVote_call(req, resultHandler16, this, ___protocolFactory, ___transport); + askForVote_call method_call = new askForVote_call(req, resultHandler20, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class askForVote_call extends TAsyncMethodCall { private AskForVoteRequest req; - public askForVote_call(AskForVoteRequest req, AsyncMethodCallback resultHandler17, TAsyncClient client13, TProtocolFactory protocolFactory14, TNonblockingTransport transport15) throws TException { - super(client13, protocolFactory14, transport15, resultHandler17, false); + public askForVote_call(AskForVoteRequest req, AsyncMethodCallback resultHandler21, TAsyncClient client17, TProtocolFactory protocolFactory18, TNonblockingTransport transport19) throws TException { + super(client17, protocolFactory18, transport19, resultHandler21, false); this.req = req; } @@ -359,17 +359,17 @@ public AskForVoteResponse getResult() throws TException { } } - public void appendLog(AppendLogRequest req, AsyncMethodCallback resultHandler21) throws TException { + public void appendLog(AppendLogRequest req, AsyncMethodCallback resultHandler25) throws TException { checkReady(); - appendLog_call method_call = new appendLog_call(req, resultHandler21, this, ___protocolFactory, ___transport); + appendLog_call method_call = new appendLog_call(req, resultHandler25, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class appendLog_call extends TAsyncMethodCall { private AppendLogRequest req; - public appendLog_call(AppendLogRequest req, AsyncMethodCallback resultHandler22, TAsyncClient client18, TProtocolFactory protocolFactory19, TNonblockingTransport transport20) throws TException { - super(client18, protocolFactory19, transport20, resultHandler22, false); + public appendLog_call(AppendLogRequest req, AsyncMethodCallback resultHandler26, TAsyncClient client22, TProtocolFactory protocolFactory23, TNonblockingTransport transport24) throws TException { + super(client22, protocolFactory23, transport24, resultHandler26, false); this.req = req; } @@ -391,17 +391,17 @@ public AppendLogResponse getResult() throws TException { } } - public void sendSnapshot(SendSnapshotRequest req, AsyncMethodCallback resultHandler26) throws TException { + public void sendSnapshot(SendSnapshotRequest req, AsyncMethodCallback resultHandler30) throws TException { checkReady(); - sendSnapshot_call method_call = new sendSnapshot_call(req, resultHandler26, this, ___protocolFactory, ___transport); + sendSnapshot_call method_call = new sendSnapshot_call(req, resultHandler30, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class sendSnapshot_call extends TAsyncMethodCall { private SendSnapshotRequest req; - public sendSnapshot_call(SendSnapshotRequest req, AsyncMethodCallback resultHandler27, TAsyncClient client23, TProtocolFactory protocolFactory24, TNonblockingTransport transport25) throws TException { - super(client23, protocolFactory24, transport25, resultHandler27, false); + public sendSnapshot_call(SendSnapshotRequest req, AsyncMethodCallback resultHandler31, TAsyncClient client27, TProtocolFactory protocolFactory28, TNonblockingTransport transport29) throws TException { + super(client27, protocolFactory28, transport29, resultHandler31, false); this.req = req; } @@ -423,17 +423,17 @@ public SendSnapshotResponse getResult() throws TException { } } - public void heartbeat(HeartbeatRequest req, AsyncMethodCallback resultHandler31) throws TException { + public void heartbeat(HeartbeatRequest req, AsyncMethodCallback resultHandler35) throws TException { checkReady(); - heartbeat_call method_call = new heartbeat_call(req, resultHandler31, this, ___protocolFactory, ___transport); + heartbeat_call method_call = new heartbeat_call(req, resultHandler35, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class heartbeat_call extends TAsyncMethodCall { private HeartbeatRequest req; - public heartbeat_call(HeartbeatRequest req, AsyncMethodCallback resultHandler32, TAsyncClient client28, TProtocolFactory protocolFactory29, TNonblockingTransport transport30) throws TException { - super(client28, protocolFactory29, transport30, resultHandler32, false); + public heartbeat_call(HeartbeatRequest req, AsyncMethodCallback resultHandler36, TAsyncClient client32, TProtocolFactory protocolFactory33, TNonblockingTransport transport34) throws TException { + super(client32, protocolFactory33, transport34, resultHandler36, false); this.req = req; } @@ -455,17 +455,17 @@ public HeartbeatResponse getResult() throws TException { } } - public void getState(GetStateRequest req, AsyncMethodCallback resultHandler36) throws TException { + public void getState(GetStateRequest req, AsyncMethodCallback resultHandler40) throws TException { checkReady(); - getState_call method_call = new getState_call(req, resultHandler36, this, ___protocolFactory, ___transport); + getState_call method_call = new getState_call(req, resultHandler40, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class getState_call extends TAsyncMethodCall { private GetStateRequest req; - public getState_call(GetStateRequest req, AsyncMethodCallback resultHandler37, TAsyncClient client33, TProtocolFactory protocolFactory34, TNonblockingTransport transport35) throws TException { - super(client33, protocolFactory34, transport35, resultHandler37, false); + public getState_call(GetStateRequest req, AsyncMethodCallback resultHandler41, TAsyncClient client37, TProtocolFactory protocolFactory38, TNonblockingTransport transport39) throws TException { + super(client37, protocolFactory38, transport39, resultHandler41, false); this.req = req; } diff --git a/client/src/main/generated/SendSnapshotRequest.java b/client/src/main/generated/SendSnapshotRequest.java index fba18ea9e..925ed872d 100644 --- a/client/src/main/generated/SendSnapshotRequest.java +++ b/client/src/main/generated/SendSnapshotRequest.java @@ -26,7 +26,7 @@ public class SendSnapshotRequest implements TBase, java.io.Serializable, Cloneab private static final TStruct STRUCT_DESC = new TStruct("SendSnapshotRequest"); private static final TField SPACE_FIELD_DESC = new TField("space", TType.I32, (short)1); private static final TField PART_FIELD_DESC = new TField("part", TType.I32, (short)2); - private static final TField TERM_FIELD_DESC = new TField("term", TType.I64, (short)3); + private static final TField CURRENT_TERM_FIELD_DESC = new TField("current_term", TType.I64, (short)3); private static final TField COMMITTED_LOG_ID_FIELD_DESC = new TField("committed_log_id", TType.I64, (short)4); private static final TField COMMITTED_LOG_TERM_FIELD_DESC = new TField("committed_log_term", TType.I64, (short)5); private static final TField LEADER_ADDR_FIELD_DESC = new TField("leader_addr", TType.STRING, (short)6); @@ -38,7 +38,7 @@ public class SendSnapshotRequest implements TBase, java.io.Serializable, Cloneab public int space; public int part; - public long term; + public long current_term; public long committed_log_id; public long committed_log_term; public String leader_addr; @@ -49,7 +49,7 @@ public class SendSnapshotRequest implements TBase, java.io.Serializable, Cloneab public boolean done; public static final int SPACE = 1; public static final int PART = 2; - public static final int TERM = 3; + public static final int CURRENT_TERM = 3; public static final int COMMITTED_LOG_ID = 4; public static final int COMMITTED_LOG_TERM = 5; public static final int LEADER_ADDR = 6; @@ -62,7 +62,7 @@ public class SendSnapshotRequest implements TBase, java.io.Serializable, Cloneab // isset id assignments private static final int __SPACE_ISSET_ID = 0; private static final int __PART_ISSET_ID = 1; - private static final int __TERM_ISSET_ID = 2; + private static final int __CURRENT_TERM_ISSET_ID = 2; private static final int __COMMITTED_LOG_ID_ISSET_ID = 3; private static final int __COMMITTED_LOG_TERM_ISSET_ID = 4; private static final int __LEADER_PORT_ISSET_ID = 5; @@ -79,7 +79,7 @@ public class SendSnapshotRequest implements TBase, java.io.Serializable, Cloneab new FieldValueMetaData(TType.I32))); tmpMetaDataMap.put(PART, new FieldMetaData("part", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.I32))); - tmpMetaDataMap.put(TERM, new FieldMetaData("term", TFieldRequirementType.DEFAULT, + tmpMetaDataMap.put(CURRENT_TERM, new FieldMetaData("current_term", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.I64))); tmpMetaDataMap.put(COMMITTED_LOG_ID, new FieldMetaData("committed_log_id", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.I64))); @@ -111,7 +111,7 @@ public SendSnapshotRequest() { public SendSnapshotRequest( int space, int part, - long term, + long current_term, long committed_log_id, long committed_log_term, String leader_addr, @@ -125,8 +125,8 @@ public SendSnapshotRequest( setSpaceIsSet(true); this.part = part; setPartIsSet(true); - this.term = term; - setTermIsSet(true); + this.current_term = current_term; + setCurrent_termIsSet(true); this.committed_log_id = committed_log_id; setCommitted_log_idIsSet(true); this.committed_log_term = committed_log_term; @@ -146,7 +146,7 @@ public SendSnapshotRequest( public static class Builder { private int space; private int part; - private long term; + private long current_term; private long committed_log_id; private long committed_log_term; private String leader_addr; @@ -173,9 +173,9 @@ public Builder setPart(final int part) { return this; } - public Builder setTerm(final long term) { - this.term = term; - __optional_isset.set(__TERM_ISSET_ID, true); + public Builder setCurrent_term(final long current_term) { + this.current_term = current_term; + __optional_isset.set(__CURRENT_TERM_ISSET_ID, true); return this; } @@ -233,8 +233,8 @@ public SendSnapshotRequest build() { if (__optional_isset.get(__PART_ISSET_ID)) { result.setPart(this.part); } - if (__optional_isset.get(__TERM_ISSET_ID)) { - result.setTerm(this.term); + if (__optional_isset.get(__CURRENT_TERM_ISSET_ID)) { + result.setCurrent_term(this.current_term); } if (__optional_isset.get(__COMMITTED_LOG_ID_ISSET_ID)) { result.setCommitted_log_id(this.committed_log_id); @@ -272,7 +272,7 @@ public SendSnapshotRequest(SendSnapshotRequest other) { __isset_bit_vector.or(other.__isset_bit_vector); this.space = TBaseHelper.deepCopy(other.space); this.part = TBaseHelper.deepCopy(other.part); - this.term = TBaseHelper.deepCopy(other.term); + this.current_term = TBaseHelper.deepCopy(other.current_term); this.committed_log_id = TBaseHelper.deepCopy(other.committed_log_id); this.committed_log_term = TBaseHelper.deepCopy(other.committed_log_term); if (other.isSetLeader_addr()) { @@ -337,27 +337,27 @@ public void setPartIsSet(boolean __value) { __isset_bit_vector.set(__PART_ISSET_ID, __value); } - public long getTerm() { - return this.term; + public long getCurrent_term() { + return this.current_term; } - public SendSnapshotRequest setTerm(long term) { - this.term = term; - setTermIsSet(true); + public SendSnapshotRequest setCurrent_term(long current_term) { + this.current_term = current_term; + setCurrent_termIsSet(true); return this; } - public void unsetTerm() { - __isset_bit_vector.clear(__TERM_ISSET_ID); + public void unsetCurrent_term() { + __isset_bit_vector.clear(__CURRENT_TERM_ISSET_ID); } - // Returns true if field term is set (has been assigned a value) and false otherwise - public boolean isSetTerm() { - return __isset_bit_vector.get(__TERM_ISSET_ID); + // Returns true if field current_term is set (has been assigned a value) and false otherwise + public boolean isSetCurrent_term() { + return __isset_bit_vector.get(__CURRENT_TERM_ISSET_ID); } - public void setTermIsSet(boolean __value) { - __isset_bit_vector.set(__TERM_ISSET_ID, __value); + public void setCurrent_termIsSet(boolean __value) { + __isset_bit_vector.set(__CURRENT_TERM_ISSET_ID, __value); } public long getCommitted_log_id() { @@ -565,11 +565,11 @@ public void setFieldValue(int fieldID, Object __value) { } break; - case TERM: + case CURRENT_TERM: if (__value == null) { - unsetTerm(); + unsetCurrent_term(); } else { - setTerm((Long)__value); + setCurrent_term((Long)__value); } break; @@ -650,8 +650,8 @@ public Object getFieldValue(int fieldID) { case PART: return new Integer(getPart()); - case TERM: - return new Long(getTerm()); + case CURRENT_TERM: + return new Long(getCurrent_term()); case COMMITTED_LOG_ID: return new Long(getCommitted_log_id()); @@ -696,7 +696,7 @@ public boolean equals(Object _that) { if (!TBaseHelper.equalsNobinary(this.part, that.part)) { return false; } - if (!TBaseHelper.equalsNobinary(this.term, that.term)) { return false; } + if (!TBaseHelper.equalsNobinary(this.current_term, that.current_term)) { return false; } if (!TBaseHelper.equalsNobinary(this.committed_log_id, that.committed_log_id)) { return false; } @@ -719,7 +719,7 @@ public boolean equals(Object _that) { @Override public int hashCode() { - return Arrays.deepHashCode(new Object[] {space, part, term, committed_log_id, committed_log_term, leader_addr, leader_port, rows, total_size, total_count, done}); + return Arrays.deepHashCode(new Object[] {space, part, current_term, committed_log_id, committed_log_term, leader_addr, leader_port, rows, total_size, total_count, done}); } @Override @@ -750,11 +750,11 @@ public int compareTo(SendSnapshotRequest other) { if (lastComparison != 0) { return lastComparison; } - lastComparison = Boolean.valueOf(isSetTerm()).compareTo(other.isSetTerm()); + lastComparison = Boolean.valueOf(isSetCurrent_term()).compareTo(other.isSetCurrent_term()); if (lastComparison != 0) { return lastComparison; } - lastComparison = TBaseHelper.compareTo(term, other.term); + lastComparison = TBaseHelper.compareTo(current_term, other.current_term); if (lastComparison != 0) { return lastComparison; } @@ -852,10 +852,10 @@ public void read(TProtocol iprot) throws TException { TProtocolUtil.skip(iprot, __field.type); } break; - case TERM: + case CURRENT_TERM: if (__field.type == TType.I64) { - this.term = iprot.readI64(); - setTermIsSet(true); + this.current_term = iprot.readI64(); + setCurrent_termIsSet(true); } else { TProtocolUtil.skip(iprot, __field.type); } @@ -957,8 +957,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(PART_FIELD_DESC); oprot.writeI32(this.part); oprot.writeFieldEnd(); - oprot.writeFieldBegin(TERM_FIELD_DESC); - oprot.writeI64(this.term); + oprot.writeFieldBegin(CURRENT_TERM_FIELD_DESC); + oprot.writeI64(this.current_term); oprot.writeFieldEnd(); oprot.writeFieldBegin(COMMITTED_LOG_ID_FIELD_DESC); oprot.writeI64(this.committed_log_id); @@ -1029,10 +1029,10 @@ public String toString(int indent, boolean prettyPrint) { first = false; if (!first) sb.append("," + newLine); sb.append(indentStr); - sb.append("term"); + sb.append("current_term"); sb.append(space); sb.append(":").append(space); - sb.append(TBaseHelper.toString(this.getTerm(), indent + 1, prettyPrint)); + sb.append(TBaseHelper.toString(this.getCurrent_term(), indent + 1, prettyPrint)); first = false; if (!first) sb.append("," + newLine); sb.append(indentStr); diff --git a/client/src/main/generated/SendSnapshotResponse.java b/client/src/main/generated/SendSnapshotResponse.java index ca65d898d..d83113ab6 100644 --- a/client/src/main/generated/SendSnapshotResponse.java +++ b/client/src/main/generated/SendSnapshotResponse.java @@ -25,15 +25,20 @@ public class SendSnapshotResponse implements TBase, java.io.Serializable, Cloneable, Comparable { private static final TStruct STRUCT_DESC = new TStruct("SendSnapshotResponse"); private static final TField ERROR_CODE_FIELD_DESC = new TField("error_code", TType.I32, (short)1); + private static final TField CURRENT_TERM_FIELD_DESC = new TField("current_term", TType.I64, (short)2); /** * * @see com.vesoft.nebula.ErrorCode */ public com.vesoft.nebula.ErrorCode error_code; + public long current_term; public static final int ERROR_CODE = 1; + public static final int CURRENT_TERM = 2; // isset id assignments + private static final int __CURRENT_TERM_ISSET_ID = 0; + private BitSet __isset_bit_vector = new BitSet(1); public static final Map metaDataMap; @@ -41,6 +46,8 @@ public class SendSnapshotResponse implements TBase, java.io.Serializable, Clonea Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(ERROR_CODE, new FieldMetaData("error_code", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.I32))); + tmpMetaDataMap.put(CURRENT_TERM, new FieldMetaData("current_term", TFieldRequirementType.DEFAULT, + new FieldValueMetaData(TType.I64))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } @@ -52,13 +59,19 @@ public SendSnapshotResponse() { } public SendSnapshotResponse( - com.vesoft.nebula.ErrorCode error_code) { + com.vesoft.nebula.ErrorCode error_code, + long current_term) { this(); this.error_code = error_code; + this.current_term = current_term; + setCurrent_termIsSet(true); } public static class Builder { private com.vesoft.nebula.ErrorCode error_code; + private long current_term; + + BitSet __optional_isset = new BitSet(1); public Builder() { } @@ -68,9 +81,18 @@ public Builder setError_code(final com.vesoft.nebula.ErrorCode error_code) { return this; } + public Builder setCurrent_term(final long current_term) { + this.current_term = current_term; + __optional_isset.set(__CURRENT_TERM_ISSET_ID, true); + return this; + } + public SendSnapshotResponse build() { SendSnapshotResponse result = new SendSnapshotResponse(); result.setError_code(this.error_code); + if (__optional_isset.get(__CURRENT_TERM_ISSET_ID)) { + result.setCurrent_term(this.current_term); + } return result; } } @@ -83,9 +105,12 @@ public static Builder builder() { * Performs a deep copy on other. */ public SendSnapshotResponse(SendSnapshotResponse other) { + __isset_bit_vector.clear(); + __isset_bit_vector.or(other.__isset_bit_vector); if (other.isSetError_code()) { this.error_code = TBaseHelper.deepCopy(other.error_code); } + this.current_term = TBaseHelper.deepCopy(other.current_term); } public SendSnapshotResponse deepCopy() { @@ -124,6 +149,29 @@ public void setError_codeIsSet(boolean __value) { } } + public long getCurrent_term() { + return this.current_term; + } + + public SendSnapshotResponse setCurrent_term(long current_term) { + this.current_term = current_term; + setCurrent_termIsSet(true); + return this; + } + + public void unsetCurrent_term() { + __isset_bit_vector.clear(__CURRENT_TERM_ISSET_ID); + } + + // Returns true if field current_term is set (has been assigned a value) and false otherwise + public boolean isSetCurrent_term() { + return __isset_bit_vector.get(__CURRENT_TERM_ISSET_ID); + } + + public void setCurrent_termIsSet(boolean __value) { + __isset_bit_vector.set(__CURRENT_TERM_ISSET_ID, __value); + } + public void setFieldValue(int fieldID, Object __value) { switch (fieldID) { case ERROR_CODE: @@ -134,6 +182,14 @@ public void setFieldValue(int fieldID, Object __value) { } break; + case CURRENT_TERM: + if (__value == null) { + unsetCurrent_term(); + } else { + setCurrent_term((Long)__value); + } + break; + default: throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); } @@ -144,6 +200,9 @@ public Object getFieldValue(int fieldID) { case ERROR_CODE: return getError_code(); + case CURRENT_TERM: + return new Long(getCurrent_term()); + default: throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); } @@ -161,12 +220,14 @@ public boolean equals(Object _that) { if (!TBaseHelper.equalsNobinary(this.isSetError_code(), that.isSetError_code(), this.error_code, that.error_code)) { return false; } + if (!TBaseHelper.equalsNobinary(this.current_term, that.current_term)) { return false; } + return true; } @Override public int hashCode() { - return Arrays.deepHashCode(new Object[] {error_code}); + return Arrays.deepHashCode(new Object[] {error_code, current_term}); } @Override @@ -189,6 +250,14 @@ public int compareTo(SendSnapshotResponse other) { if (lastComparison != 0) { return lastComparison; } + lastComparison = Boolean.valueOf(isSetCurrent_term()).compareTo(other.isSetCurrent_term()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(current_term, other.current_term); + if (lastComparison != 0) { + return lastComparison; + } return 0; } @@ -210,6 +279,14 @@ public void read(TProtocol iprot) throws TException { TProtocolUtil.skip(iprot, __field.type); } break; + case CURRENT_TERM: + if (__field.type == TType.I64) { + this.current_term = iprot.readI64(); + setCurrent_termIsSet(true); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; default: TProtocolUtil.skip(iprot, __field.type); break; @@ -232,6 +309,9 @@ public void write(TProtocol oprot) throws TException { oprot.writeI32(this.error_code == null ? 0 : this.error_code.getValue()); oprot.writeFieldEnd(); } + oprot.writeFieldBegin(CURRENT_TERM_FIELD_DESC); + oprot.writeI64(this.current_term); + oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -270,6 +350,13 @@ public String toString(int indent, boolean prettyPrint) { } } first = false; + if (!first) sb.append("," + newLine); + sb.append(indentStr); + sb.append("current_term"); + sb.append(space); + sb.append(":").append(space); + sb.append(TBaseHelper.toString(this.getCurrent_term(), indent + 1, prettyPrint)); + first = false; sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); sb.append(")"); return sb.toString(); diff --git a/client/src/main/generated/com/vesoft/nebula/CheckpointInfo.java b/client/src/main/generated/com/vesoft/nebula/CheckpointInfo.java index ace305e36..10ba2581a 100644 --- a/client/src/main/generated/com/vesoft/nebula/CheckpointInfo.java +++ b/client/src/main/generated/com/vesoft/nebula/CheckpointInfo.java @@ -28,14 +28,14 @@ public class CheckpointInfo implements TBase, java.io.Serializable, Cloneable, C private static final TStruct STRUCT_DESC = new TStruct("CheckpointInfo"); private static final TField SPACE_ID_FIELD_DESC = new TField("space_id", TType.I32, (short)1); private static final TField PARTS_FIELD_DESC = new TField("parts", TType.MAP, (short)2); - private static final TField PATH_FIELD_DESC = new TField("path", TType.STRING, (short)3); + private static final TField DATA_PATH_FIELD_DESC = new TField("data_path", TType.STRING, (short)3); public int space_id; public Map parts; - public byte[] path; + public byte[] data_path; public static final int SPACE_ID = 1; public static final int PARTS = 2; - public static final int PATH = 3; + public static final int DATA_PATH = 3; // isset id assignments private static final int __SPACE_ID_ISSET_ID = 0; @@ -51,7 +51,7 @@ public class CheckpointInfo implements TBase, java.io.Serializable, Cloneable, C new MapMetaData(TType.MAP, new FieldValueMetaData(TType.I32), new StructMetaData(TType.STRUCT, LogInfo.class)))); - tmpMetaDataMap.put(PATH, new FieldMetaData("path", TFieldRequirementType.DEFAULT, + tmpMetaDataMap.put(DATA_PATH, new FieldMetaData("data_path", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } @@ -66,18 +66,18 @@ public CheckpointInfo() { public CheckpointInfo( int space_id, Map parts, - byte[] path) { + byte[] data_path) { this(); this.space_id = space_id; setSpace_idIsSet(true); this.parts = parts; - this.path = path; + this.data_path = data_path; } public static class Builder { private int space_id; private Map parts; - private byte[] path; + private byte[] data_path; BitSet __optional_isset = new BitSet(1); @@ -95,8 +95,8 @@ public Builder setParts(final Map parts) { return this; } - public Builder setPath(final byte[] path) { - this.path = path; + public Builder setData_path(final byte[] data_path) { + this.data_path = data_path; return this; } @@ -106,7 +106,7 @@ public CheckpointInfo build() { result.setSpace_id(this.space_id); } result.setParts(this.parts); - result.setPath(this.path); + result.setData_path(this.data_path); return result; } } @@ -125,8 +125,8 @@ public CheckpointInfo(CheckpointInfo other) { if (other.isSetParts()) { this.parts = TBaseHelper.deepCopy(other.parts); } - if (other.isSetPath()) { - this.path = TBaseHelper.deepCopy(other.path); + if (other.isSetData_path()) { + this.data_path = TBaseHelper.deepCopy(other.data_path); } } @@ -181,27 +181,27 @@ public void setPartsIsSet(boolean __value) { } } - public byte[] getPath() { - return this.path; + public byte[] getData_path() { + return this.data_path; } - public CheckpointInfo setPath(byte[] path) { - this.path = path; + public CheckpointInfo setData_path(byte[] data_path) { + this.data_path = data_path; return this; } - public void unsetPath() { - this.path = null; + public void unsetData_path() { + this.data_path = null; } - // Returns true if field path is set (has been assigned a value) and false otherwise - public boolean isSetPath() { - return this.path != null; + // Returns true if field data_path is set (has been assigned a value) and false otherwise + public boolean isSetData_path() { + return this.data_path != null; } - public void setPathIsSet(boolean __value) { + public void setData_pathIsSet(boolean __value) { if (!__value) { - this.path = null; + this.data_path = null; } } @@ -224,11 +224,11 @@ public void setFieldValue(int fieldID, Object __value) { } break; - case PATH: + case DATA_PATH: if (__value == null) { - unsetPath(); + unsetData_path(); } else { - setPath((byte[])__value); + setData_path((byte[])__value); } break; @@ -245,8 +245,8 @@ public Object getFieldValue(int fieldID) { case PARTS: return getParts(); - case PATH: - return getPath(); + case DATA_PATH: + return getData_path(); default: throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); @@ -267,14 +267,14 @@ public boolean equals(Object _that) { if (!TBaseHelper.equalsNobinary(this.isSetParts(), that.isSetParts(), this.parts, that.parts)) { return false; } - if (!TBaseHelper.equalsSlow(this.isSetPath(), that.isSetPath(), this.path, that.path)) { return false; } + if (!TBaseHelper.equalsSlow(this.isSetData_path(), that.isSetData_path(), this.data_path, that.data_path)) { return false; } return true; } @Override public int hashCode() { - return Arrays.deepHashCode(new Object[] {space_id, parts, path}); + return Arrays.deepHashCode(new Object[] {space_id, parts, data_path}); } @Override @@ -305,11 +305,11 @@ public int compareTo(CheckpointInfo other) { if (lastComparison != 0) { return lastComparison; } - lastComparison = Boolean.valueOf(isSetPath()).compareTo(other.isSetPath()); + lastComparison = Boolean.valueOf(isSetData_path()).compareTo(other.isSetData_path()); if (lastComparison != 0) { return lastComparison; } - lastComparison = TBaseHelper.compareTo(path, other.path); + lastComparison = TBaseHelper.compareTo(data_path, other.data_path); if (lastComparison != 0) { return lastComparison; } @@ -357,9 +357,9 @@ public void read(TProtocol iprot) throws TException { TProtocolUtil.skip(iprot, __field.type); } break; - case PATH: + case DATA_PATH: if (__field.type == TType.STRING) { - this.path = iprot.readBinary(); + this.data_path = iprot.readBinary(); } else { TProtocolUtil.skip(iprot, __field.type); } @@ -396,9 +396,9 @@ public void write(TProtocol oprot) throws TException { } oprot.writeFieldEnd(); } - if (this.path != null) { - oprot.writeFieldBegin(PATH_FIELD_DESC); - oprot.writeBinary(this.path); + if (this.data_path != null) { + oprot.writeFieldBegin(DATA_PATH_FIELD_DESC); + oprot.writeBinary(this.data_path); oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -440,18 +440,18 @@ public String toString(int indent, boolean prettyPrint) { first = false; if (!first) sb.append("," + newLine); sb.append(indentStr); - sb.append("path"); + sb.append("data_path"); sb.append(space); sb.append(":").append(space); - if (this.getPath() == null) { + if (this.getData_path() == null) { sb.append("null"); } else { - int __path_size = Math.min(this.getPath().length, 128); - for (int i = 0; i < __path_size; i++) { + int __data_path_size = Math.min(this.getData_path().length, 128); + for (int i = 0; i < __data_path_size; i++) { if (i != 0) sb.append(" "); - sb.append(Integer.toHexString(this.getPath()[i]).length() > 1 ? Integer.toHexString(this.getPath()[i]).substring(Integer.toHexString(this.getPath()[i]).length() - 2).toUpperCase() : "0" + Integer.toHexString(this.getPath()[i]).toUpperCase()); + sb.append(Integer.toHexString(this.getData_path()[i]).length() > 1 ? Integer.toHexString(this.getData_path()[i]).substring(Integer.toHexString(this.getData_path()[i]).length() - 2).toUpperCase() : "0" + Integer.toHexString(this.getData_path()[i]).toUpperCase()); } - if (this.getPath().length > 128) sb.append(" ..."); + if (this.getData_path().length > 128) sb.append(" ..."); } first = false; sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); diff --git a/client/src/main/generated/com/vesoft/nebula/ErrorCode.java b/client/src/main/generated/com/vesoft/nebula/ErrorCode.java index 594dfc52c..b96d78078 100644 --- a/client/src/main/generated/com/vesoft/nebula/ErrorCode.java +++ b/client/src/main/generated/com/vesoft/nebula/ErrorCode.java @@ -34,6 +34,9 @@ public enum ErrorCode implements com.facebook.thrift.TEnum { E_USER_NOT_FOUND(-18), E_STATS_NOT_FOUND(-19), E_SERVICE_NOT_FOUND(-20), + E_DRAINER_NOT_FOUND(-21), + E_DRAINER_CLIENT_NOT_FOUND(-22), + E_PART_STOPPED(-23), E_BACKUP_FAILED(-24), E_BACKUP_EMPTY_TABLE(-25), E_BACKUP_TABLE_FAILED(-26), @@ -41,6 +44,12 @@ public enum ErrorCode implements com.facebook.thrift.TEnum { E_REBUILD_INDEX_FAILED(-28), E_INVALID_PASSWORD(-29), E_FAILED_GET_ABS_PATH(-30), + E_LISTENER_PROGRESS_FAILED(-31), + E_SYNC_LISTENER_NOT_FOUND(-32), + E_DRAINER_PROGRESS_FAILED(-33), + E_PART_DISABLED(-34), + E_PART_ALREADY_STARTED(-35), + E_PART_ALREADY_STOPPED(-36), E_BAD_USERNAME_PASSWORD(-1001), E_SESSION_INVALID(-1002), E_SESSION_TIMEOUT(-1003), @@ -63,6 +72,12 @@ public enum ErrorCode implements com.facebook.thrift.TEnum { E_WRONGCLUSTER(-2010), E_ZONE_NOT_ENOUGH(-2011), E_ZONE_IS_EMPTY(-2012), + E_LISTENER_CONFLICT(-2013), + E_SCHEMA_NAME_EXISTS(-2014), + E_RELATED_INDEX_EXISTS(-2015), + E_RELATED_SPACE_EXISTS(-2016), + E_RELATED_FULLTEXT_INDEX_EXISTS(-2017), + E_HISTORY_CONFLICT(-2018), E_STORE_FAILURE(-2021), E_STORE_SEGMENT_ILLEGAL(-2022), E_BAD_BALANCE_PLAN(-2023), @@ -71,13 +86,20 @@ public enum ErrorCode implements com.facebook.thrift.TEnum { E_NO_VALID_HOST(-2026), E_CORRUPTED_BALANCE_PLAN(-2027), E_NO_INVALID_BALANCE_PLAN(-2028), + E_NO_VALID_DRAINER(-2029), E_IMPROPER_ROLE(-2030), E_INVALID_PARTITION_NUM(-2031), E_INVALID_REPLICA_FACTOR(-2032), E_INVALID_CHARSET(-2033), E_INVALID_COLLATE(-2034), E_CHARSET_COLLATE_NOT_MATCH(-2035), + E_PRIVILEGE_ALL_TAG_EDGE_SETTLED(-2036), + E_PRIVILEGE_NOT_EXIST(-2037), + E_PRIVILEGE_NEED_BASIC_ROLE(-2038), + E_PRIVILEGE_ACTION_INVALID(-2039), E_SNAPSHOT_FAILURE(-2040), + E_SNAPSHOT_RUNNING_JOBS(-2056), + E_SNAPSHOT_NOT_FOUND(-2057), E_BLOCK_WRITE_FAILURE(-2041), E_REBUILD_INDEX_FAILURE(-2042), E_INDEX_WITH_TTL(-2043), @@ -88,8 +110,13 @@ public enum ErrorCode implements com.facebook.thrift.TEnum { E_JOB_NOT_FINISHED(-2048), E_TASK_REPORT_OUT_DATE(-2049), E_JOB_NOT_IN_SPACE(-2050), + E_JOB_NEED_RECOVER(-2051), + E_JOB_ALREADY_FINISH(-2052), + E_JOB_SUBMITTED(-2053), + E_JOB_NOT_STOPPABLE(-2054), + E_JOB_HAS_NO_TARGET_STORAGE(-2055), E_INVALID_JOB(-2065), - E_BACKUP_BUILDING_INDEX(-2066), + E_BACKUP_RUNNING_JOBS(-2066), E_BACKUP_SPACE_NOT_FOUND(-2067), E_RESTORE_FAILURE(-2068), E_SESSION_NOT_FOUND(-2069), @@ -98,6 +125,11 @@ public enum ErrorCode implements com.facebook.thrift.TEnum { E_LIST_CLUSTER_NO_AGENT_FAILURE(-2072), E_QUERY_NOT_FOUND(-2073), E_AGENT_HB_FAILUE(-2074), + E_INVALID_VARIABLE(-2080), + E_VARIABLE_TYPE_VALUE_MISMATCH(-2081), + E_HOST_CAN_NOT_BE_ADDED(-2082), + E_ACCESS_ES_FAILURE(-2090), + E_GRAPH_MEMORY_EXCEEDED(-2600), E_CONSENSUS_ERROR(-3001), E_KEY_HAS_EXISTS(-3002), E_DATA_TYPE_MISMATCH(-3003), @@ -136,11 +168,12 @@ public enum ErrorCode implements com.facebook.thrift.TEnum { E_OUTDATED_EDGE(-3072), E_WRITE_WRITE_CONFLICT(-3073), E_CLIENT_SERVER_INCOMPATIBLE(-3061), - E_WORKER_ID_FAILED(-3062), + E_ID_FAILED(-3062), E_RAFT_UNKNOWN_PART(-3500), E_RAFT_LOG_GAP(-3501), E_RAFT_LOG_STALE(-3502), E_RAFT_TERM_OUT_OF_DATE(-3503), + E_RAFT_UNKNOWN_APPEND_LOG(-3504), E_RAFT_WAITING_SNAPSHOT(-3511), E_RAFT_SENDING_SNAPSHOT(-3512), E_RAFT_INVALID_PEER(-3513), @@ -158,6 +191,23 @@ public enum ErrorCode implements com.facebook.thrift.TEnum { E_RAFT_BUFFER_OVERFLOW(-3529), E_RAFT_ATOMIC_OP_FAILED(-3530), E_LEADER_LEASE_FAILED(-3531), + E_RAFT_CAUGHT_UP(-3532), + E_LOG_GAP(-4001), + E_LOG_STALE(-4002), + E_INVALID_DRAINER_STORE(-4003), + E_SPACE_MISMATCH(-4004), + E_PART_MISMATCH(-4005), + E_DATA_CONFLICT(-4006), + E_REQ_CONFLICT(-4007), + E_DATA_ILLEGAL(-4008), + E_CACHE_CONFIG_ERROR(-5001), + E_NOT_ENOUGH_SPACE(-5002), + E_CACHE_MISS(-5003), + E_POOL_NOT_FOUND(-5004), + E_CACHE_WRITE_FAILURE(-5005), + E_NODE_NUMBER_EXCEED_LIMIT(-7001), + E_PARSING_LICENSE_FAILURE(-7002), + E_STORAGE_MEMORY_EXCEEDED(-3600), E_UNKNOWN(-8000); private static final Map INDEXED_VALUES = new HashMap(); diff --git a/client/src/main/generated/com/vesoft/nebula/LogInfo.java b/client/src/main/generated/com/vesoft/nebula/LogInfo.java index d854e1cb8..1600e4483 100644 --- a/client/src/main/generated/com/vesoft/nebula/LogInfo.java +++ b/client/src/main/generated/com/vesoft/nebula/LogInfo.java @@ -28,16 +28,23 @@ public class LogInfo implements TBase, java.io.Serializable, Cloneable, Comparab private static final TStruct STRUCT_DESC = new TStruct("LogInfo"); private static final TField LOG_ID_FIELD_DESC = new TField("log_id", TType.I64, (short)1); private static final TField TERM_ID_FIELD_DESC = new TField("term_id", TType.I64, (short)2); + private static final TField COMMIT_LOG_ID_FIELD_DESC = new TField("commit_log_id", TType.I64, (short)3); + private static final TField CHECKPOINT_PATH_FIELD_DESC = new TField("checkpoint_path", TType.STRING, (short)4); public long log_id; public long term_id; + public long commit_log_id; + public byte[] checkpoint_path; public static final int LOG_ID = 1; public static final int TERM_ID = 2; + public static final int COMMIT_LOG_ID = 3; + public static final int CHECKPOINT_PATH = 4; // isset id assignments private static final int __LOG_ID_ISSET_ID = 0; private static final int __TERM_ID_ISSET_ID = 1; - private BitSet __isset_bit_vector = new BitSet(2); + private static final int __COMMIT_LOG_ID_ISSET_ID = 2; + private BitSet __isset_bit_vector = new BitSet(3); public static final Map metaDataMap; @@ -47,6 +54,10 @@ public class LogInfo implements TBase, java.io.Serializable, Cloneable, Comparab new FieldValueMetaData(TType.I64))); tmpMetaDataMap.put(TERM_ID, new FieldMetaData("term_id", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.I64))); + tmpMetaDataMap.put(COMMIT_LOG_ID, new FieldMetaData("commit_log_id", TFieldRequirementType.DEFAULT, + new FieldValueMetaData(TType.I64))); + tmpMetaDataMap.put(CHECKPOINT_PATH, new FieldMetaData("checkpoint_path", TFieldRequirementType.DEFAULT, + new FieldValueMetaData(TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } @@ -59,19 +70,26 @@ public LogInfo() { public LogInfo( long log_id, - long term_id) { + long term_id, + long commit_log_id, + byte[] checkpoint_path) { this(); this.log_id = log_id; setLog_idIsSet(true); this.term_id = term_id; setTerm_idIsSet(true); + this.commit_log_id = commit_log_id; + setCommit_log_idIsSet(true); + this.checkpoint_path = checkpoint_path; } public static class Builder { private long log_id; private long term_id; + private long commit_log_id; + private byte[] checkpoint_path; - BitSet __optional_isset = new BitSet(2); + BitSet __optional_isset = new BitSet(3); public Builder() { } @@ -88,6 +106,17 @@ public Builder setTerm_id(final long term_id) { return this; } + public Builder setCommit_log_id(final long commit_log_id) { + this.commit_log_id = commit_log_id; + __optional_isset.set(__COMMIT_LOG_ID_ISSET_ID, true); + return this; + } + + public Builder setCheckpoint_path(final byte[] checkpoint_path) { + this.checkpoint_path = checkpoint_path; + return this; + } + public LogInfo build() { LogInfo result = new LogInfo(); if (__optional_isset.get(__LOG_ID_ISSET_ID)) { @@ -96,6 +125,10 @@ public LogInfo build() { if (__optional_isset.get(__TERM_ID_ISSET_ID)) { result.setTerm_id(this.term_id); } + if (__optional_isset.get(__COMMIT_LOG_ID_ISSET_ID)) { + result.setCommit_log_id(this.commit_log_id); + } + result.setCheckpoint_path(this.checkpoint_path); return result; } } @@ -112,6 +145,10 @@ public LogInfo(LogInfo other) { __isset_bit_vector.or(other.__isset_bit_vector); this.log_id = TBaseHelper.deepCopy(other.log_id); this.term_id = TBaseHelper.deepCopy(other.term_id); + this.commit_log_id = TBaseHelper.deepCopy(other.commit_log_id); + if (other.isSetCheckpoint_path()) { + this.checkpoint_path = TBaseHelper.deepCopy(other.checkpoint_path); + } } public LogInfo deepCopy() { @@ -164,6 +201,53 @@ public void setTerm_idIsSet(boolean __value) { __isset_bit_vector.set(__TERM_ID_ISSET_ID, __value); } + public long getCommit_log_id() { + return this.commit_log_id; + } + + public LogInfo setCommit_log_id(long commit_log_id) { + this.commit_log_id = commit_log_id; + setCommit_log_idIsSet(true); + return this; + } + + public void unsetCommit_log_id() { + __isset_bit_vector.clear(__COMMIT_LOG_ID_ISSET_ID); + } + + // Returns true if field commit_log_id is set (has been assigned a value) and false otherwise + public boolean isSetCommit_log_id() { + return __isset_bit_vector.get(__COMMIT_LOG_ID_ISSET_ID); + } + + public void setCommit_log_idIsSet(boolean __value) { + __isset_bit_vector.set(__COMMIT_LOG_ID_ISSET_ID, __value); + } + + public byte[] getCheckpoint_path() { + return this.checkpoint_path; + } + + public LogInfo setCheckpoint_path(byte[] checkpoint_path) { + this.checkpoint_path = checkpoint_path; + return this; + } + + public void unsetCheckpoint_path() { + this.checkpoint_path = null; + } + + // Returns true if field checkpoint_path is set (has been assigned a value) and false otherwise + public boolean isSetCheckpoint_path() { + return this.checkpoint_path != null; + } + + public void setCheckpoint_pathIsSet(boolean __value) { + if (!__value) { + this.checkpoint_path = null; + } + } + public void setFieldValue(int fieldID, Object __value) { switch (fieldID) { case LOG_ID: @@ -182,6 +266,22 @@ public void setFieldValue(int fieldID, Object __value) { } break; + case COMMIT_LOG_ID: + if (__value == null) { + unsetCommit_log_id(); + } else { + setCommit_log_id((Long)__value); + } + break; + + case CHECKPOINT_PATH: + if (__value == null) { + unsetCheckpoint_path(); + } else { + setCheckpoint_path((byte[])__value); + } + break; + default: throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); } @@ -195,6 +295,12 @@ public Object getFieldValue(int fieldID) { case TERM_ID: return new Long(getTerm_id()); + case COMMIT_LOG_ID: + return new Long(getCommit_log_id()); + + case CHECKPOINT_PATH: + return getCheckpoint_path(); + default: throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); } @@ -214,12 +320,16 @@ public boolean equals(Object _that) { if (!TBaseHelper.equalsNobinary(this.term_id, that.term_id)) { return false; } + if (!TBaseHelper.equalsNobinary(this.commit_log_id, that.commit_log_id)) { return false; } + + if (!TBaseHelper.equalsSlow(this.isSetCheckpoint_path(), that.isSetCheckpoint_path(), this.checkpoint_path, that.checkpoint_path)) { return false; } + return true; } @Override public int hashCode() { - return Arrays.deepHashCode(new Object[] {log_id, term_id}); + return Arrays.deepHashCode(new Object[] {log_id, term_id, commit_log_id, checkpoint_path}); } @Override @@ -250,6 +360,22 @@ public int compareTo(LogInfo other) { if (lastComparison != 0) { return lastComparison; } + lastComparison = Boolean.valueOf(isSetCommit_log_id()).compareTo(other.isSetCommit_log_id()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(commit_log_id, other.commit_log_id); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = Boolean.valueOf(isSetCheckpoint_path()).compareTo(other.isSetCheckpoint_path()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(checkpoint_path, other.checkpoint_path); + if (lastComparison != 0) { + return lastComparison; + } return 0; } @@ -280,6 +406,21 @@ public void read(TProtocol iprot) throws TException { TProtocolUtil.skip(iprot, __field.type); } break; + case COMMIT_LOG_ID: + if (__field.type == TType.I64) { + this.commit_log_id = iprot.readI64(); + setCommit_log_idIsSet(true); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + case CHECKPOINT_PATH: + if (__field.type == TType.STRING) { + this.checkpoint_path = iprot.readBinary(); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; default: TProtocolUtil.skip(iprot, __field.type); break; @@ -303,6 +444,14 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(TERM_ID_FIELD_DESC); oprot.writeI64(this.term_id); oprot.writeFieldEnd(); + oprot.writeFieldBegin(COMMIT_LOG_ID_FIELD_DESC); + oprot.writeI64(this.commit_log_id); + oprot.writeFieldEnd(); + if (this.checkpoint_path != null) { + oprot.writeFieldBegin(CHECKPOINT_PATH_FIELD_DESC); + oprot.writeBinary(this.checkpoint_path); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -336,6 +485,29 @@ public String toString(int indent, boolean prettyPrint) { sb.append(":").append(space); sb.append(TBaseHelper.toString(this.getTerm_id(), indent + 1, prettyPrint)); first = false; + if (!first) sb.append("," + newLine); + sb.append(indentStr); + sb.append("commit_log_id"); + sb.append(space); + sb.append(":").append(space); + sb.append(TBaseHelper.toString(this.getCommit_log_id(), indent + 1, prettyPrint)); + first = false; + if (!first) sb.append("," + newLine); + sb.append(indentStr); + sb.append("checkpoint_path"); + sb.append(space); + sb.append(":").append(space); + if (this.getCheckpoint_path() == null) { + sb.append("null"); + } else { + int __checkpoint_path_size = Math.min(this.getCheckpoint_path().length, 128); + for (int i = 0; i < __checkpoint_path_size; i++) { + if (i != 0) sb.append(" "); + sb.append(Integer.toHexString(this.getCheckpoint_path()[i]).length() > 1 ? Integer.toHexString(this.getCheckpoint_path()[i]).substring(Integer.toHexString(this.getCheckpoint_path()[i]).length() - 2).toUpperCase() : "0" + Integer.toHexString(this.getCheckpoint_path()[i]).toUpperCase()); + } + if (this.getCheckpoint_path().length > 128) sb.append(" ..."); + } + first = false; sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); sb.append(")"); return sb.toString(); diff --git a/client/src/main/generated/com/vesoft/nebula/graph/GraphService.java b/client/src/main/generated/com/vesoft/nebula/graph/GraphService.java index 5df20749b..326abd953 100644 --- a/client/src/main/generated/com/vesoft/nebula/graph/GraphService.java +++ b/client/src/main/generated/com/vesoft/nebula/graph/GraphService.java @@ -6,7 +6,6 @@ */ package com.vesoft.nebula.graph; -import java.io.Serializable; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -66,7 +65,7 @@ public interface AsyncIface { } - public static class Client extends EventHandlerBase implements Iface, TClientIf, Serializable { + public static class Client extends EventHandlerBase implements Iface, TClientIf { public Client(TProtocol prot) { this(prot, prot); diff --git a/client/src/main/generated/com/vesoft/nebula/meta/AddHostsIntoZoneReq.java b/client/src/main/generated/com/vesoft/nebula/meta/AddHostsIntoZoneReq.java index 943330ca6..f8b90c575 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/AddHostsIntoZoneReq.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/AddHostsIntoZoneReq.java @@ -329,16 +329,16 @@ public void read(TProtocol iprot) throws TException { case HOSTS: if (__field.type == TType.LIST) { { - TList _list241 = iprot.readListBegin(); - this.hosts = new ArrayList(Math.max(0, _list241.size)); - for (int _i242 = 0; - (_list241.size < 0) ? iprot.peekList() : (_i242 < _list241.size); - ++_i242) + TList _list229 = iprot.readListBegin(); + this.hosts = new ArrayList(Math.max(0, _list229.size)); + for (int _i230 = 0; + (_list229.size < 0) ? iprot.peekList() : (_i230 < _list229.size); + ++_i230) { - com.vesoft.nebula.HostAddr _elem243; - _elem243 = new com.vesoft.nebula.HostAddr(); - _elem243.read(iprot); - this.hosts.add(_elem243); + com.vesoft.nebula.HostAddr _elem231; + _elem231 = new com.vesoft.nebula.HostAddr(); + _elem231.read(iprot); + this.hosts.add(_elem231); } iprot.readListEnd(); } @@ -382,8 +382,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(HOSTS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.hosts.size())); - for (com.vesoft.nebula.HostAddr _iter244 : this.hosts) { - _iter244.write(oprot); + for (com.vesoft.nebula.HostAddr _iter232 : this.hosts) { + _iter232.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/AddListenerReq.java b/client/src/main/generated/com/vesoft/nebula/meta/AddListenerReq.java index fe293374f..924eb74f0 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/AddListenerReq.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/AddListenerReq.java @@ -356,16 +356,16 @@ public void read(TProtocol iprot) throws TException { case HOSTS: if (__field.type == TType.LIST) { { - TList _list257 = iprot.readListBegin(); - this.hosts = new ArrayList(Math.max(0, _list257.size)); - for (int _i258 = 0; - (_list257.size < 0) ? iprot.peekList() : (_i258 < _list257.size); - ++_i258) + TList _list245 = iprot.readListBegin(); + this.hosts = new ArrayList(Math.max(0, _list245.size)); + for (int _i246 = 0; + (_list245.size < 0) ? iprot.peekList() : (_i246 < _list245.size); + ++_i246) { - com.vesoft.nebula.HostAddr _elem259; - _elem259 = new com.vesoft.nebula.HostAddr(); - _elem259.read(iprot); - this.hosts.add(_elem259); + com.vesoft.nebula.HostAddr _elem247; + _elem247 = new com.vesoft.nebula.HostAddr(); + _elem247.read(iprot); + this.hosts.add(_elem247); } iprot.readListEnd(); } @@ -402,8 +402,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(HOSTS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.hosts.size())); - for (com.vesoft.nebula.HostAddr _iter260 : this.hosts) { - _iter260.write(oprot); + for (com.vesoft.nebula.HostAddr _iter248 : this.hosts) { + _iter248.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/AdminJobReq.java b/client/src/main/generated/com/vesoft/nebula/meta/AdminJobReq.java index 1ce1529ad..69710d9af 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/AdminJobReq.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/AdminJobReq.java @@ -26,30 +26,41 @@ @SuppressWarnings({ "unused", "serial" }) public class AdminJobReq implements TBase, java.io.Serializable, Cloneable, Comparable { private static final TStruct STRUCT_DESC = new TStruct("AdminJobReq"); - private static final TField OP_FIELD_DESC = new TField("op", TType.I32, (short)1); - private static final TField CMD_FIELD_DESC = new TField("cmd", TType.I32, (short)2); - private static final TField PARAS_FIELD_DESC = new TField("paras", TType.LIST, (short)3); + private static final TField SPACE_ID_FIELD_DESC = new TField("space_id", TType.I32, (short)1); + private static final TField OP_FIELD_DESC = new TField("op", TType.I32, (short)2); + private static final TField TYPE_FIELD_DESC = new TField("type", TType.I32, (short)3); + private static final TField PARAS_FIELD_DESC = new TField("paras", TType.LIST, (short)4); + public int space_id; /** * - * @see AdminJobOp + * @see JobOp */ - public AdminJobOp op; - public AdminCmd cmd; + public JobOp op; + /** + * + * @see JobType + */ + public JobType type; public List paras; - public static final int OP = 1; - public static final int CMD = 2; - public static final int PARAS = 3; + public static final int SPACE_ID = 1; + public static final int OP = 2; + public static final int TYPE = 3; + public static final int PARAS = 4; // isset id assignments + private static final int __SPACE_ID_ISSET_ID = 0; + private BitSet __isset_bit_vector = new BitSet(1); public static final Map metaDataMap; static { Map tmpMetaDataMap = new HashMap(); + tmpMetaDataMap.put(SPACE_ID, new FieldMetaData("space_id", TFieldRequirementType.DEFAULT, + new FieldValueMetaData(TType.I32))); tmpMetaDataMap.put(OP, new FieldMetaData("op", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.I32))); - tmpMetaDataMap.put(CMD, new FieldMetaData("cmd", TFieldRequirementType.DEFAULT, + tmpMetaDataMap.put(TYPE, new FieldMetaData("type", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.I32))); tmpMetaDataMap.put(PARAS, new FieldMetaData("paras", TFieldRequirementType.DEFAULT, new ListMetaData(TType.LIST, @@ -65,30 +76,42 @@ public AdminJobReq() { } public AdminJobReq( - AdminJobOp op, - AdminCmd cmd, + int space_id, + JobOp op, + JobType type, List paras) { this(); + this.space_id = space_id; + setSpace_idIsSet(true); this.op = op; - this.cmd = cmd; + this.type = type; this.paras = paras; } public static class Builder { - private AdminJobOp op; - private AdminCmd cmd; + private int space_id; + private JobOp op; + private JobType type; private List paras; + BitSet __optional_isset = new BitSet(1); + public Builder() { } - public Builder setOp(final AdminJobOp op) { + public Builder setSpace_id(final int space_id) { + this.space_id = space_id; + __optional_isset.set(__SPACE_ID_ISSET_ID, true); + return this; + } + + public Builder setOp(final JobOp op) { this.op = op; return this; } - public Builder setCmd(final AdminCmd cmd) { - this.cmd = cmd; + public Builder setType(final JobType type) { + this.type = type; return this; } @@ -99,8 +122,11 @@ public Builder setParas(final List paras) { public AdminJobReq build() { AdminJobReq result = new AdminJobReq(); + if (__optional_isset.get(__SPACE_ID_ISSET_ID)) { + result.setSpace_id(this.space_id); + } result.setOp(this.op); - result.setCmd(this.cmd); + result.setType(this.type); result.setParas(this.paras); return result; } @@ -114,11 +140,14 @@ public static Builder builder() { * Performs a deep copy on other. */ public AdminJobReq(AdminJobReq other) { + __isset_bit_vector.clear(); + __isset_bit_vector.or(other.__isset_bit_vector); + this.space_id = TBaseHelper.deepCopy(other.space_id); if (other.isSetOp()) { this.op = TBaseHelper.deepCopy(other.op); } - if (other.isSetCmd()) { - this.cmd = TBaseHelper.deepCopy(other.cmd); + if (other.isSetType()) { + this.type = TBaseHelper.deepCopy(other.type); } if (other.isSetParas()) { this.paras = TBaseHelper.deepCopy(other.paras); @@ -129,19 +158,42 @@ public AdminJobReq deepCopy() { return new AdminJobReq(this); } + public int getSpace_id() { + return this.space_id; + } + + public AdminJobReq setSpace_id(int space_id) { + this.space_id = space_id; + setSpace_idIsSet(true); + return this; + } + + public void unsetSpace_id() { + __isset_bit_vector.clear(__SPACE_ID_ISSET_ID); + } + + // Returns true if field space_id is set (has been assigned a value) and false otherwise + public boolean isSetSpace_id() { + return __isset_bit_vector.get(__SPACE_ID_ISSET_ID); + } + + public void setSpace_idIsSet(boolean __value) { + __isset_bit_vector.set(__SPACE_ID_ISSET_ID, __value); + } + /** * - * @see AdminJobOp + * @see JobOp */ - public AdminJobOp getOp() { + public JobOp getOp() { return this.op; } /** * - * @see AdminJobOp + * @see JobOp */ - public AdminJobReq setOp(AdminJobOp op) { + public AdminJobReq setOp(JobOp op) { this.op = op; return this; } @@ -161,27 +213,35 @@ public void setOpIsSet(boolean __value) { } } - public AdminCmd getCmd() { - return this.cmd; + /** + * + * @see JobType + */ + public JobType getType() { + return this.type; } - public AdminJobReq setCmd(AdminCmd cmd) { - this.cmd = cmd; + /** + * + * @see JobType + */ + public AdminJobReq setType(JobType type) { + this.type = type; return this; } - public void unsetCmd() { - this.cmd = null; + public void unsetType() { + this.type = null; } - // Returns true if field cmd is set (has been assigned a value) and false otherwise - public boolean isSetCmd() { - return this.cmd != null; + // Returns true if field type is set (has been assigned a value) and false otherwise + public boolean isSetType() { + return this.type != null; } - public void setCmdIsSet(boolean __value) { + public void setTypeIsSet(boolean __value) { if (!__value) { - this.cmd = null; + this.type = null; } } @@ -212,19 +272,27 @@ public void setParasIsSet(boolean __value) { @SuppressWarnings("unchecked") public void setFieldValue(int fieldID, Object __value) { switch (fieldID) { + case SPACE_ID: + if (__value == null) { + unsetSpace_id(); + } else { + setSpace_id((Integer)__value); + } + break; + case OP: if (__value == null) { unsetOp(); } else { - setOp((AdminJobOp)__value); + setOp((JobOp)__value); } break; - case CMD: + case TYPE: if (__value == null) { - unsetCmd(); + unsetType(); } else { - setCmd((AdminCmd)__value); + setType((JobType)__value); } break; @@ -243,11 +311,14 @@ public void setFieldValue(int fieldID, Object __value) { public Object getFieldValue(int fieldID) { switch (fieldID) { + case SPACE_ID: + return new Integer(getSpace_id()); + case OP: return getOp(); - case CMD: - return getCmd(); + case TYPE: + return getType(); case PARAS: return getParas(); @@ -267,9 +338,11 @@ public boolean equals(Object _that) { return false; AdminJobReq that = (AdminJobReq)_that; + if (!TBaseHelper.equalsNobinary(this.space_id, that.space_id)) { return false; } + if (!TBaseHelper.equalsNobinary(this.isSetOp(), that.isSetOp(), this.op, that.op)) { return false; } - if (!TBaseHelper.equalsNobinary(this.isSetCmd(), that.isSetCmd(), this.cmd, that.cmd)) { return false; } + if (!TBaseHelper.equalsNobinary(this.isSetType(), that.isSetType(), this.type, that.type)) { return false; } if (!TBaseHelper.equalsSlow(this.isSetParas(), that.isSetParas(), this.paras, that.paras)) { return false; } @@ -278,7 +351,7 @@ public boolean equals(Object _that) { @Override public int hashCode() { - return Arrays.deepHashCode(new Object[] {op, cmd, paras}); + return Arrays.deepHashCode(new Object[] {space_id, op, type, paras}); } @Override @@ -293,6 +366,14 @@ public int compareTo(AdminJobReq other) { } int lastComparison = 0; + lastComparison = Boolean.valueOf(isSetSpace_id()).compareTo(other.isSetSpace_id()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(space_id, other.space_id); + if (lastComparison != 0) { + return lastComparison; + } lastComparison = Boolean.valueOf(isSetOp()).compareTo(other.isSetOp()); if (lastComparison != 0) { return lastComparison; @@ -301,11 +382,11 @@ public int compareTo(AdminJobReq other) { if (lastComparison != 0) { return lastComparison; } - lastComparison = Boolean.valueOf(isSetCmd()).compareTo(other.isSetCmd()); + lastComparison = Boolean.valueOf(isSetType()).compareTo(other.isSetType()); if (lastComparison != 0) { return lastComparison; } - lastComparison = TBaseHelper.compareTo(cmd, other.cmd); + lastComparison = TBaseHelper.compareTo(type, other.type); if (lastComparison != 0) { return lastComparison; } @@ -331,16 +412,24 @@ public void read(TProtocol iprot) throws TException { } switch (__field.id) { + case SPACE_ID: + if (__field.type == TType.I32) { + this.space_id = iprot.readI32(); + setSpace_idIsSet(true); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; case OP: if (__field.type == TType.I32) { - this.op = AdminJobOp.findByValue(iprot.readI32()); + this.op = JobOp.findByValue(iprot.readI32()); } else { TProtocolUtil.skip(iprot, __field.type); } break; - case CMD: + case TYPE: if (__field.type == TType.I32) { - this.cmd = AdminCmd.findByValue(iprot.readI32()); + this.type = JobType.findByValue(iprot.readI32()); } else { TProtocolUtil.skip(iprot, __field.type); } @@ -381,14 +470,17 @@ public void write(TProtocol oprot) throws TException { validate(); oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldBegin(SPACE_ID_FIELD_DESC); + oprot.writeI32(this.space_id); + oprot.writeFieldEnd(); if (this.op != null) { oprot.writeFieldBegin(OP_FIELD_DESC); oprot.writeI32(this.op == null ? 0 : this.op.getValue()); oprot.writeFieldEnd(); } - if (this.cmd != null) { - oprot.writeFieldBegin(CMD_FIELD_DESC); - oprot.writeI32(this.cmd == null ? 0 : this.cmd.getValue()); + if (this.type != null) { + oprot.writeFieldBegin(TYPE_FIELD_DESC); + oprot.writeI32(this.type == null ? 0 : this.type.getValue()); oprot.writeFieldEnd(); } if (this.paras != null) { @@ -422,6 +514,13 @@ public String toString(int indent, boolean prettyPrint) { sb.append(newLine); boolean first = true; + sb.append(indentStr); + sb.append("space_id"); + sb.append(space); + sb.append(":").append(space); + sb.append(TBaseHelper.toString(this.getSpace_id(), indent + 1, prettyPrint)); + first = false; + if (!first) sb.append("," + newLine); sb.append(indentStr); sb.append("op"); sb.append(space); @@ -442,19 +541,19 @@ public String toString(int indent, boolean prettyPrint) { first = false; if (!first) sb.append("," + newLine); sb.append(indentStr); - sb.append("cmd"); + sb.append("type"); sb.append(space); sb.append(":").append(space); - if (this.getCmd() == null) { + if (this.getType() == null) { sb.append("null"); } else { - String cmd_name = this.getCmd() == null ? "null" : this.getCmd().name(); - if (cmd_name != null) { - sb.append(cmd_name); + String type_name = this.getType() == null ? "null" : this.getType().name(); + if (type_name != null) { + sb.append(type_name); sb.append(" ("); } - sb.append(this.getCmd()); - if (cmd_name != null) { + sb.append(this.getType()); + if (type_name != null) { sb.append(")"); } } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/AgentHBResp.java b/client/src/main/generated/com/vesoft/nebula/meta/AgentHBResp.java index 2a64f1169..9f3161fe6 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/AgentHBResp.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/AgentHBResp.java @@ -349,16 +349,16 @@ public void read(TProtocol iprot) throws TException { case SERVICE_LIST: if (__field.type == TType.LIST) { { - TList _list179 = iprot.readListBegin(); - this.service_list = new ArrayList(Math.max(0, _list179.size)); - for (int _i180 = 0; - (_list179.size < 0) ? iprot.peekList() : (_i180 < _list179.size); - ++_i180) + TList _list163 = iprot.readListBegin(); + this.service_list = new ArrayList(Math.max(0, _list163.size)); + for (int _i164 = 0; + (_list163.size < 0) ? iprot.peekList() : (_i164 < _list163.size); + ++_i164) { - ServiceInfo _elem181; - _elem181 = new ServiceInfo(); - _elem181.read(iprot); - this.service_list.add(_elem181); + ServiceInfo _elem165; + _elem165 = new ServiceInfo(); + _elem165.read(iprot); + this.service_list.add(_elem165); } iprot.readListEnd(); } @@ -397,8 +397,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(SERVICE_LIST_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.service_list.size())); - for (ServiceInfo _iter182 : this.service_list) { - _iter182.write(oprot); + for (ServiceInfo _iter166 : this.service_list) { + _iter166.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/BackupMeta.java b/client/src/main/generated/com/vesoft/nebula/meta/BackupMeta.java index 744ebabdd..095fd5464 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/BackupMeta.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/BackupMeta.java @@ -32,6 +32,9 @@ public class BackupMeta implements TBase, java.io.Serializable, Cloneable, Compa private static final TField FULL_FIELD_DESC = new TField("full", TType.BOOL, (short)4); private static final TField ALL_SPACES_FIELD_DESC = new TField("all_spaces", TType.BOOL, (short)5); private static final TField CREATE_TIME_FIELD_DESC = new TField("create_time", TType.I64, (short)6); + private static final TField BASE_BACKUP_NAME_FIELD_DESC = new TField("base_backup_name", TType.STRING, (short)7); + private static final TField STORAGE_HOSTS_FIELD_DESC = new TField("storage_hosts", TType.LIST, (short)8); + private static final TField CLUSTER_ID_FIELD_DESC = new TField("cluster_id", TType.I64, (short)9); public Map space_backups; public List meta_files; @@ -39,18 +42,25 @@ public class BackupMeta implements TBase, java.io.Serializable, Cloneable, Compa public boolean full; public boolean all_spaces; public long create_time; + public byte[] base_backup_name; + public List storage_hosts; + public long cluster_id; public static final int SPACE_BACKUPS = 1; public static final int META_FILES = 2; public static final int BACKUP_NAME = 3; public static final int FULL = 4; public static final int ALL_SPACES = 5; public static final int CREATE_TIME = 6; + public static final int BASE_BACKUP_NAME = 7; + public static final int STORAGE_HOSTS = 8; + public static final int CLUSTER_ID = 9; // isset id assignments private static final int __FULL_ISSET_ID = 0; private static final int __ALL_SPACES_ISSET_ID = 1; private static final int __CREATE_TIME_ISSET_ID = 2; - private BitSet __isset_bit_vector = new BitSet(3); + private static final int __CLUSTER_ID_ISSET_ID = 3; + private BitSet __isset_bit_vector = new BitSet(4); public static final Map metaDataMap; @@ -71,6 +81,13 @@ public class BackupMeta implements TBase, java.io.Serializable, Cloneable, Compa new FieldValueMetaData(TType.BOOL))); tmpMetaDataMap.put(CREATE_TIME, new FieldMetaData("create_time", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.I64))); + tmpMetaDataMap.put(BASE_BACKUP_NAME, new FieldMetaData("base_backup_name", TFieldRequirementType.DEFAULT, + new FieldValueMetaData(TType.STRING))); + tmpMetaDataMap.put(STORAGE_HOSTS, new FieldMetaData("storage_hosts", TFieldRequirementType.DEFAULT, + new ListMetaData(TType.LIST, + new StructMetaData(TType.STRUCT, com.vesoft.nebula.HostAddr.class)))); + tmpMetaDataMap.put(CLUSTER_ID, new FieldMetaData("cluster_id", TFieldRequirementType.DEFAULT, + new FieldValueMetaData(TType.I64))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } @@ -87,7 +104,10 @@ public BackupMeta( byte[] backup_name, boolean full, boolean all_spaces, - long create_time) { + long create_time, + byte[] base_backup_name, + List storage_hosts, + long cluster_id) { this(); this.space_backups = space_backups; this.meta_files = meta_files; @@ -98,6 +118,10 @@ public BackupMeta( setAll_spacesIsSet(true); this.create_time = create_time; setCreate_timeIsSet(true); + this.base_backup_name = base_backup_name; + this.storage_hosts = storage_hosts; + this.cluster_id = cluster_id; + setCluster_idIsSet(true); } public static class Builder { @@ -107,8 +131,11 @@ public static class Builder { private boolean full; private boolean all_spaces; private long create_time; + private byte[] base_backup_name; + private List storage_hosts; + private long cluster_id; - BitSet __optional_isset = new BitSet(3); + BitSet __optional_isset = new BitSet(4); public Builder() { } @@ -146,6 +173,22 @@ public Builder setCreate_time(final long create_time) { return this; } + public Builder setBase_backup_name(final byte[] base_backup_name) { + this.base_backup_name = base_backup_name; + return this; + } + + public Builder setStorage_hosts(final List storage_hosts) { + this.storage_hosts = storage_hosts; + return this; + } + + public Builder setCluster_id(final long cluster_id) { + this.cluster_id = cluster_id; + __optional_isset.set(__CLUSTER_ID_ISSET_ID, true); + return this; + } + public BackupMeta build() { BackupMeta result = new BackupMeta(); result.setSpace_backups(this.space_backups); @@ -160,6 +203,11 @@ public BackupMeta build() { if (__optional_isset.get(__CREATE_TIME_ISSET_ID)) { result.setCreate_time(this.create_time); } + result.setBase_backup_name(this.base_backup_name); + result.setStorage_hosts(this.storage_hosts); + if (__optional_isset.get(__CLUSTER_ID_ISSET_ID)) { + result.setCluster_id(this.cluster_id); + } return result; } } @@ -186,6 +234,13 @@ public BackupMeta(BackupMeta other) { this.full = TBaseHelper.deepCopy(other.full); this.all_spaces = TBaseHelper.deepCopy(other.all_spaces); this.create_time = TBaseHelper.deepCopy(other.create_time); + if (other.isSetBase_backup_name()) { + this.base_backup_name = TBaseHelper.deepCopy(other.base_backup_name); + } + if (other.isSetStorage_hosts()) { + this.storage_hosts = TBaseHelper.deepCopy(other.storage_hosts); + } + this.cluster_id = TBaseHelper.deepCopy(other.cluster_id); } public BackupMeta deepCopy() { @@ -333,6 +388,77 @@ public void setCreate_timeIsSet(boolean __value) { __isset_bit_vector.set(__CREATE_TIME_ISSET_ID, __value); } + public byte[] getBase_backup_name() { + return this.base_backup_name; + } + + public BackupMeta setBase_backup_name(byte[] base_backup_name) { + this.base_backup_name = base_backup_name; + return this; + } + + public void unsetBase_backup_name() { + this.base_backup_name = null; + } + + // Returns true if field base_backup_name is set (has been assigned a value) and false otherwise + public boolean isSetBase_backup_name() { + return this.base_backup_name != null; + } + + public void setBase_backup_nameIsSet(boolean __value) { + if (!__value) { + this.base_backup_name = null; + } + } + + public List getStorage_hosts() { + return this.storage_hosts; + } + + public BackupMeta setStorage_hosts(List storage_hosts) { + this.storage_hosts = storage_hosts; + return this; + } + + public void unsetStorage_hosts() { + this.storage_hosts = null; + } + + // Returns true if field storage_hosts is set (has been assigned a value) and false otherwise + public boolean isSetStorage_hosts() { + return this.storage_hosts != null; + } + + public void setStorage_hostsIsSet(boolean __value) { + if (!__value) { + this.storage_hosts = null; + } + } + + public long getCluster_id() { + return this.cluster_id; + } + + public BackupMeta setCluster_id(long cluster_id) { + this.cluster_id = cluster_id; + setCluster_idIsSet(true); + return this; + } + + public void unsetCluster_id() { + __isset_bit_vector.clear(__CLUSTER_ID_ISSET_ID); + } + + // Returns true if field cluster_id is set (has been assigned a value) and false otherwise + public boolean isSetCluster_id() { + return __isset_bit_vector.get(__CLUSTER_ID_ISSET_ID); + } + + public void setCluster_idIsSet(boolean __value) { + __isset_bit_vector.set(__CLUSTER_ID_ISSET_ID, __value); + } + @SuppressWarnings("unchecked") public void setFieldValue(int fieldID, Object __value) { switch (fieldID) { @@ -384,6 +510,30 @@ public void setFieldValue(int fieldID, Object __value) { } break; + case BASE_BACKUP_NAME: + if (__value == null) { + unsetBase_backup_name(); + } else { + setBase_backup_name((byte[])__value); + } + break; + + case STORAGE_HOSTS: + if (__value == null) { + unsetStorage_hosts(); + } else { + setStorage_hosts((List)__value); + } + break; + + case CLUSTER_ID: + if (__value == null) { + unsetCluster_id(); + } else { + setCluster_id((Long)__value); + } + break; + default: throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); } @@ -409,6 +559,15 @@ public Object getFieldValue(int fieldID) { case CREATE_TIME: return new Long(getCreate_time()); + case BASE_BACKUP_NAME: + return getBase_backup_name(); + + case STORAGE_HOSTS: + return getStorage_hosts(); + + case CLUSTER_ID: + return new Long(getCluster_id()); + default: throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); } @@ -436,12 +595,18 @@ public boolean equals(Object _that) { if (!TBaseHelper.equalsNobinary(this.create_time, that.create_time)) { return false; } + if (!TBaseHelper.equalsSlow(this.isSetBase_backup_name(), that.isSetBase_backup_name(), this.base_backup_name, that.base_backup_name)) { return false; } + + if (!TBaseHelper.equalsNobinary(this.isSetStorage_hosts(), that.isSetStorage_hosts(), this.storage_hosts, that.storage_hosts)) { return false; } + + if (!TBaseHelper.equalsNobinary(this.cluster_id, that.cluster_id)) { return false; } + return true; } @Override public int hashCode() { - return Arrays.deepHashCode(new Object[] {space_backups, meta_files, backup_name, full, all_spaces, create_time}); + return Arrays.deepHashCode(new Object[] {space_backups, meta_files, backup_name, full, all_spaces, create_time, base_backup_name, storage_hosts, cluster_id}); } @Override @@ -504,6 +669,30 @@ public int compareTo(BackupMeta other) { if (lastComparison != 0) { return lastComparison; } + lastComparison = Boolean.valueOf(isSetBase_backup_name()).compareTo(other.isSetBase_backup_name()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(base_backup_name, other.base_backup_name); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = Boolean.valueOf(isSetStorage_hosts()).compareTo(other.isSetStorage_hosts()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(storage_hosts, other.storage_hosts); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = Boolean.valueOf(isSetCluster_id()).compareTo(other.isSetCluster_id()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(cluster_id, other.cluster_id); + if (lastComparison != 0) { + return lastComparison; + } return 0; } @@ -521,18 +710,18 @@ public void read(TProtocol iprot) throws TException { case SPACE_BACKUPS: if (__field.type == TType.MAP) { { - TMap _map273 = iprot.readMapBegin(); - this.space_backups = new HashMap(Math.max(0, 2*_map273.size)); - for (int _i274 = 0; - (_map273.size < 0) ? iprot.peekMap() : (_i274 < _map273.size); - ++_i274) + TMap _map261 = iprot.readMapBegin(); + this.space_backups = new HashMap(Math.max(0, 2*_map261.size)); + for (int _i262 = 0; + (_map261.size < 0) ? iprot.peekMap() : (_i262 < _map261.size); + ++_i262) { - int _key275; - SpaceBackupInfo _val276; - _key275 = iprot.readI32(); - _val276 = new SpaceBackupInfo(); - _val276.read(iprot); - this.space_backups.put(_key275, _val276); + int _key263; + SpaceBackupInfo _val264; + _key263 = iprot.readI32(); + _val264 = new SpaceBackupInfo(); + _val264.read(iprot); + this.space_backups.put(_key263, _val264); } iprot.readMapEnd(); } @@ -543,15 +732,15 @@ public void read(TProtocol iprot) throws TException { case META_FILES: if (__field.type == TType.LIST) { { - TList _list277 = iprot.readListBegin(); - this.meta_files = new ArrayList(Math.max(0, _list277.size)); - for (int _i278 = 0; - (_list277.size < 0) ? iprot.peekList() : (_i278 < _list277.size); - ++_i278) + TList _list265 = iprot.readListBegin(); + this.meta_files = new ArrayList(Math.max(0, _list265.size)); + for (int _i266 = 0; + (_list265.size < 0) ? iprot.peekList() : (_i266 < _list265.size); + ++_i266) { - byte[] _elem279; - _elem279 = iprot.readBinary(); - this.meta_files.add(_elem279); + byte[] _elem267; + _elem267 = iprot.readBinary(); + this.meta_files.add(_elem267); } iprot.readListEnd(); } @@ -590,6 +779,41 @@ public void read(TProtocol iprot) throws TException { TProtocolUtil.skip(iprot, __field.type); } break; + case BASE_BACKUP_NAME: + if (__field.type == TType.STRING) { + this.base_backup_name = iprot.readBinary(); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + case STORAGE_HOSTS: + if (__field.type == TType.LIST) { + { + TList _list268 = iprot.readListBegin(); + this.storage_hosts = new ArrayList(Math.max(0, _list268.size)); + for (int _i269 = 0; + (_list268.size < 0) ? iprot.peekList() : (_i269 < _list268.size); + ++_i269) + { + com.vesoft.nebula.HostAddr _elem270; + _elem270 = new com.vesoft.nebula.HostAddr(); + _elem270.read(iprot); + this.storage_hosts.add(_elem270); + } + iprot.readListEnd(); + } + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + case CLUSTER_ID: + if (__field.type == TType.I64) { + this.cluster_id = iprot.readI64(); + setCluster_idIsSet(true); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; default: TProtocolUtil.skip(iprot, __field.type); break; @@ -611,9 +835,9 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(SPACE_BACKUPS_FIELD_DESC); { oprot.writeMapBegin(new TMap(TType.I32, TType.STRUCT, this.space_backups.size())); - for (Map.Entry _iter280 : this.space_backups.entrySet()) { - oprot.writeI32(_iter280.getKey()); - _iter280.getValue().write(oprot); + for (Map.Entry _iter271 : this.space_backups.entrySet()) { + oprot.writeI32(_iter271.getKey()); + _iter271.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -623,8 +847,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(META_FILES_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRING, this.meta_files.size())); - for (byte[] _iter281 : this.meta_files) { - oprot.writeBinary(_iter281); + for (byte[] _iter272 : this.meta_files) { + oprot.writeBinary(_iter272); } oprot.writeListEnd(); } @@ -644,6 +868,25 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(CREATE_TIME_FIELD_DESC); oprot.writeI64(this.create_time); oprot.writeFieldEnd(); + if (this.base_backup_name != null) { + oprot.writeFieldBegin(BASE_BACKUP_NAME_FIELD_DESC); + oprot.writeBinary(this.base_backup_name); + oprot.writeFieldEnd(); + } + if (this.storage_hosts != null) { + oprot.writeFieldBegin(STORAGE_HOSTS_FIELD_DESC); + { + oprot.writeListBegin(new TList(TType.STRUCT, this.storage_hosts.size())); + for (com.vesoft.nebula.HostAddr _iter273 : this.storage_hosts) { + _iter273.write(oprot); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(CLUSTER_ID_FIELD_DESC); + oprot.writeI64(this.cluster_id); + oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -722,6 +965,40 @@ public String toString(int indent, boolean prettyPrint) { sb.append(":").append(space); sb.append(TBaseHelper.toString(this.getCreate_time(), indent + 1, prettyPrint)); first = false; + if (!first) sb.append("," + newLine); + sb.append(indentStr); + sb.append("base_backup_name"); + sb.append(space); + sb.append(":").append(space); + if (this.getBase_backup_name() == null) { + sb.append("null"); + } else { + int __base_backup_name_size = Math.min(this.getBase_backup_name().length, 128); + for (int i = 0; i < __base_backup_name_size; i++) { + if (i != 0) sb.append(" "); + sb.append(Integer.toHexString(this.getBase_backup_name()[i]).length() > 1 ? Integer.toHexString(this.getBase_backup_name()[i]).substring(Integer.toHexString(this.getBase_backup_name()[i]).length() - 2).toUpperCase() : "0" + Integer.toHexString(this.getBase_backup_name()[i]).toUpperCase()); + } + if (this.getBase_backup_name().length > 128) sb.append(" ..."); + } + first = false; + if (!first) sb.append("," + newLine); + sb.append(indentStr); + sb.append("storage_hosts"); + sb.append(space); + sb.append(":").append(space); + if (this.getStorage_hosts() == null) { + sb.append("null"); + } else { + sb.append(TBaseHelper.toString(this.getStorage_hosts(), indent + 1, prettyPrint)); + } + first = false; + if (!first) sb.append("," + newLine); + sb.append(indentStr); + sb.append("cluster_id"); + sb.append(space); + sb.append(":").append(space); + sb.append(TBaseHelper.toString(this.getCluster_id(), indent + 1, prettyPrint)); + first = false; sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); sb.append(")"); return sb.toString(); diff --git a/client/src/main/generated/com/vesoft/nebula/meta/ClearSpaceReq.java b/client/src/main/generated/com/vesoft/nebula/meta/ClearSpaceReq.java new file mode 100644 index 000000000..62f4bc899 --- /dev/null +++ b/client/src/main/generated/com/vesoft/nebula/meta/ClearSpaceReq.java @@ -0,0 +1,357 @@ +/** + * Autogenerated by Thrift + * + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * @generated + */ +package com.vesoft.nebula.meta; + +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.util.HashMap; +import java.util.Set; +import java.util.HashSet; +import java.util.Collections; +import java.util.BitSet; +import java.util.Arrays; +import com.facebook.thrift.*; +import com.facebook.thrift.annotations.*; +import com.facebook.thrift.async.*; +import com.facebook.thrift.meta_data.*; +import com.facebook.thrift.server.*; +import com.facebook.thrift.transport.*; +import com.facebook.thrift.protocol.*; + +@SuppressWarnings({ "unused", "serial" }) +public class ClearSpaceReq implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("ClearSpaceReq"); + private static final TField SPACE_NAME_FIELD_DESC = new TField("space_name", TType.STRING, (short)1); + private static final TField IF_EXISTS_FIELD_DESC = new TField("if_exists", TType.BOOL, (short)2); + + public byte[] space_name; + public boolean if_exists; + public static final int SPACE_NAME = 1; + public static final int IF_EXISTS = 2; + + // isset id assignments + private static final int __IF_EXISTS_ISSET_ID = 0; + private BitSet __isset_bit_vector = new BitSet(1); + + public static final Map metaDataMap; + + static { + Map tmpMetaDataMap = new HashMap(); + tmpMetaDataMap.put(SPACE_NAME, new FieldMetaData("space_name", TFieldRequirementType.DEFAULT, + new FieldValueMetaData(TType.STRING))); + tmpMetaDataMap.put(IF_EXISTS, new FieldMetaData("if_exists", TFieldRequirementType.DEFAULT, + new FieldValueMetaData(TType.BOOL))); + metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); + } + + static { + FieldMetaData.addStructMetaDataMap(ClearSpaceReq.class, metaDataMap); + } + + public ClearSpaceReq() { + } + + public ClearSpaceReq( + byte[] space_name, + boolean if_exists) { + this(); + this.space_name = space_name; + this.if_exists = if_exists; + setIf_existsIsSet(true); + } + + public static class Builder { + private byte[] space_name; + private boolean if_exists; + + BitSet __optional_isset = new BitSet(1); + + public Builder() { + } + + public Builder setSpace_name(final byte[] space_name) { + this.space_name = space_name; + return this; + } + + public Builder setIf_exists(final boolean if_exists) { + this.if_exists = if_exists; + __optional_isset.set(__IF_EXISTS_ISSET_ID, true); + return this; + } + + public ClearSpaceReq build() { + ClearSpaceReq result = new ClearSpaceReq(); + result.setSpace_name(this.space_name); + if (__optional_isset.get(__IF_EXISTS_ISSET_ID)) { + result.setIf_exists(this.if_exists); + } + return result; + } + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Performs a deep copy on other. + */ + public ClearSpaceReq(ClearSpaceReq other) { + __isset_bit_vector.clear(); + __isset_bit_vector.or(other.__isset_bit_vector); + if (other.isSetSpace_name()) { + this.space_name = TBaseHelper.deepCopy(other.space_name); + } + this.if_exists = TBaseHelper.deepCopy(other.if_exists); + } + + public ClearSpaceReq deepCopy() { + return new ClearSpaceReq(this); + } + + public byte[] getSpace_name() { + return this.space_name; + } + + public ClearSpaceReq setSpace_name(byte[] space_name) { + this.space_name = space_name; + return this; + } + + public void unsetSpace_name() { + this.space_name = null; + } + + // Returns true if field space_name is set (has been assigned a value) and false otherwise + public boolean isSetSpace_name() { + return this.space_name != null; + } + + public void setSpace_nameIsSet(boolean __value) { + if (!__value) { + this.space_name = null; + } + } + + public boolean isIf_exists() { + return this.if_exists; + } + + public ClearSpaceReq setIf_exists(boolean if_exists) { + this.if_exists = if_exists; + setIf_existsIsSet(true); + return this; + } + + public void unsetIf_exists() { + __isset_bit_vector.clear(__IF_EXISTS_ISSET_ID); + } + + // Returns true if field if_exists is set (has been assigned a value) and false otherwise + public boolean isSetIf_exists() { + return __isset_bit_vector.get(__IF_EXISTS_ISSET_ID); + } + + public void setIf_existsIsSet(boolean __value) { + __isset_bit_vector.set(__IF_EXISTS_ISSET_ID, __value); + } + + public void setFieldValue(int fieldID, Object __value) { + switch (fieldID) { + case SPACE_NAME: + if (__value == null) { + unsetSpace_name(); + } else { + setSpace_name((byte[])__value); + } + break; + + case IF_EXISTS: + if (__value == null) { + unsetIf_exists(); + } else { + setIf_exists((Boolean)__value); + } + break; + + default: + throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); + } + } + + public Object getFieldValue(int fieldID) { + switch (fieldID) { + case SPACE_NAME: + return getSpace_name(); + + case IF_EXISTS: + return new Boolean(isIf_exists()); + + default: + throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); + } + } + + @Override + public boolean equals(Object _that) { + if (_that == null) + return false; + if (this == _that) + return true; + if (!(_that instanceof ClearSpaceReq)) + return false; + ClearSpaceReq that = (ClearSpaceReq)_that; + + if (!TBaseHelper.equalsSlow(this.isSetSpace_name(), that.isSetSpace_name(), this.space_name, that.space_name)) { return false; } + + if (!TBaseHelper.equalsNobinary(this.if_exists, that.if_exists)) { return false; } + + return true; + } + + @Override + public int hashCode() { + return Arrays.deepHashCode(new Object[] {space_name, if_exists}); + } + + @Override + public int compareTo(ClearSpaceReq other) { + if (other == null) { + // See java.lang.Comparable docs + throw new NullPointerException(); + } + + if (other == this) { + return 0; + } + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSpace_name()).compareTo(other.isSetSpace_name()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(space_name, other.space_name); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = Boolean.valueOf(isSetIf_exists()).compareTo(other.isSetIf_exists()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(if_exists, other.if_exists); + if (lastComparison != 0) { + return lastComparison; + } + return 0; + } + + public void read(TProtocol iprot) throws TException { + TField __field; + iprot.readStructBegin(metaDataMap); + while (true) + { + __field = iprot.readFieldBegin(); + if (__field.type == TType.STOP) { + break; + } + switch (__field.id) + { + case SPACE_NAME: + if (__field.type == TType.STRING) { + this.space_name = iprot.readBinary(); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + case IF_EXISTS: + if (__field.type == TType.BOOL) { + this.if_exists = iprot.readBool(); + setIf_existsIsSet(true); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + default: + TProtocolUtil.skip(iprot, __field.type); + break; + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + + // check for required fields of primitive type, which can't be checked in the validate method + validate(); + } + + public void write(TProtocol oprot) throws TException { + validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (this.space_name != null) { + oprot.writeFieldBegin(SPACE_NAME_FIELD_DESC); + oprot.writeBinary(this.space_name); + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(IF_EXISTS_FIELD_DESC); + oprot.writeBool(this.if_exists); + oprot.writeFieldEnd(); + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + @Override + public String toString() { + return toString(1, true); + } + + @Override + public String toString(int indent, boolean prettyPrint) { + String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; + String newLine = prettyPrint ? "\n" : ""; + String space = prettyPrint ? " " : ""; + StringBuilder sb = new StringBuilder("ClearSpaceReq"); + sb.append(space); + sb.append("("); + sb.append(newLine); + boolean first = true; + + sb.append(indentStr); + sb.append("space_name"); + sb.append(space); + sb.append(":").append(space); + if (this.getSpace_name() == null) { + sb.append("null"); + } else { + int __space_name_size = Math.min(this.getSpace_name().length, 128); + for (int i = 0; i < __space_name_size; i++) { + if (i != 0) sb.append(" "); + sb.append(Integer.toHexString(this.getSpace_name()[i]).length() > 1 ? Integer.toHexString(this.getSpace_name()[i]).substring(Integer.toHexString(this.getSpace_name()[i]).length() - 2).toUpperCase() : "0" + Integer.toHexString(this.getSpace_name()[i]).toUpperCase()); + } + if (this.getSpace_name().length > 128) sb.append(" ..."); + } + first = false; + if (!first) sb.append("," + newLine); + sb.append(indentStr); + sb.append("if_exists"); + sb.append(space); + sb.append(":").append(space); + sb.append(TBaseHelper.toString(this.isIf_exists(), indent + 1, prettyPrint)); + first = false; + sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); + sb.append(")"); + return sb.toString(); + } + + public void validate() throws TException { + // check for required fields + } + +} + diff --git a/client/src/main/generated/com/vesoft/nebula/meta/CreateBackupReq.java b/client/src/main/generated/com/vesoft/nebula/meta/CreateBackupReq.java index a275067ff..3fe521ea4 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/CreateBackupReq.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/CreateBackupReq.java @@ -27,11 +27,19 @@ public class CreateBackupReq implements TBase, java.io.Serializable, Cloneable, Comparable { private static final TStruct STRUCT_DESC = new TStruct("CreateBackupReq"); private static final TField SPACES_FIELD_DESC = new TField("spaces", TType.LIST, (short)1); + private static final TField BASE_BACKUP_NAME_FIELD_DESC = new TField("base_backup_name", TType.STRING, (short)2); + private static final TField CLUSTER_ID_FIELD_DESC = new TField("cluster_id", TType.I64, (short)3); public List spaces; + public byte[] base_backup_name; + public long cluster_id; public static final int SPACES = 1; + public static final int BASE_BACKUP_NAME = 2; + public static final int CLUSTER_ID = 3; // isset id assignments + private static final int __CLUSTER_ID_ISSET_ID = 0; + private BitSet __isset_bit_vector = new BitSet(1); public static final Map metaDataMap; @@ -40,6 +48,10 @@ public class CreateBackupReq implements TBase, java.io.Serializable, Cloneable, tmpMetaDataMap.put(SPACES, new FieldMetaData("spaces", TFieldRequirementType.OPTIONAL, new ListMetaData(TType.LIST, new FieldValueMetaData(TType.STRING)))); + tmpMetaDataMap.put(BASE_BACKUP_NAME, new FieldMetaData("base_backup_name", TFieldRequirementType.OPTIONAL, + new FieldValueMetaData(TType.STRING))); + tmpMetaDataMap.put(CLUSTER_ID, new FieldMetaData("cluster_id", TFieldRequirementType.OPTIONAL, + new FieldValueMetaData(TType.I64))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } @@ -51,13 +63,22 @@ public CreateBackupReq() { } public CreateBackupReq( - List spaces) { + List spaces, + byte[] base_backup_name, + long cluster_id) { this(); this.spaces = spaces; + this.base_backup_name = base_backup_name; + this.cluster_id = cluster_id; + setCluster_idIsSet(true); } public static class Builder { private List spaces; + private byte[] base_backup_name; + private long cluster_id; + + BitSet __optional_isset = new BitSet(1); public Builder() { } @@ -67,9 +88,24 @@ public Builder setSpaces(final List spaces) { return this; } + public Builder setBase_backup_name(final byte[] base_backup_name) { + this.base_backup_name = base_backup_name; + return this; + } + + public Builder setCluster_id(final long cluster_id) { + this.cluster_id = cluster_id; + __optional_isset.set(__CLUSTER_ID_ISSET_ID, true); + return this; + } + public CreateBackupReq build() { CreateBackupReq result = new CreateBackupReq(); result.setSpaces(this.spaces); + result.setBase_backup_name(this.base_backup_name); + if (__optional_isset.get(__CLUSTER_ID_ISSET_ID)) { + result.setCluster_id(this.cluster_id); + } return result; } } @@ -82,9 +118,15 @@ public static Builder builder() { * Performs a deep copy on other. */ public CreateBackupReq(CreateBackupReq other) { + __isset_bit_vector.clear(); + __isset_bit_vector.or(other.__isset_bit_vector); if (other.isSetSpaces()) { this.spaces = TBaseHelper.deepCopy(other.spaces); } + if (other.isSetBase_backup_name()) { + this.base_backup_name = TBaseHelper.deepCopy(other.base_backup_name); + } + this.cluster_id = TBaseHelper.deepCopy(other.cluster_id); } public CreateBackupReq deepCopy() { @@ -115,6 +157,53 @@ public void setSpacesIsSet(boolean __value) { } } + public byte[] getBase_backup_name() { + return this.base_backup_name; + } + + public CreateBackupReq setBase_backup_name(byte[] base_backup_name) { + this.base_backup_name = base_backup_name; + return this; + } + + public void unsetBase_backup_name() { + this.base_backup_name = null; + } + + // Returns true if field base_backup_name is set (has been assigned a value) and false otherwise + public boolean isSetBase_backup_name() { + return this.base_backup_name != null; + } + + public void setBase_backup_nameIsSet(boolean __value) { + if (!__value) { + this.base_backup_name = null; + } + } + + public long getCluster_id() { + return this.cluster_id; + } + + public CreateBackupReq setCluster_id(long cluster_id) { + this.cluster_id = cluster_id; + setCluster_idIsSet(true); + return this; + } + + public void unsetCluster_id() { + __isset_bit_vector.clear(__CLUSTER_ID_ISSET_ID); + } + + // Returns true if field cluster_id is set (has been assigned a value) and false otherwise + public boolean isSetCluster_id() { + return __isset_bit_vector.get(__CLUSTER_ID_ISSET_ID); + } + + public void setCluster_idIsSet(boolean __value) { + __isset_bit_vector.set(__CLUSTER_ID_ISSET_ID, __value); + } + @SuppressWarnings("unchecked") public void setFieldValue(int fieldID, Object __value) { switch (fieldID) { @@ -126,6 +215,22 @@ public void setFieldValue(int fieldID, Object __value) { } break; + case BASE_BACKUP_NAME: + if (__value == null) { + unsetBase_backup_name(); + } else { + setBase_backup_name((byte[])__value); + } + break; + + case CLUSTER_ID: + if (__value == null) { + unsetCluster_id(); + } else { + setCluster_id((Long)__value); + } + break; + default: throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); } @@ -136,6 +241,12 @@ public Object getFieldValue(int fieldID) { case SPACES: return getSpaces(); + case BASE_BACKUP_NAME: + return getBase_backup_name(); + + case CLUSTER_ID: + return new Long(getCluster_id()); + default: throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); } @@ -153,12 +264,16 @@ public boolean equals(Object _that) { if (!TBaseHelper.equalsSlow(this.isSetSpaces(), that.isSetSpaces(), this.spaces, that.spaces)) { return false; } + if (!TBaseHelper.equalsSlow(this.isSetBase_backup_name(), that.isSetBase_backup_name(), this.base_backup_name, that.base_backup_name)) { return false; } + + if (!TBaseHelper.equalsNobinary(this.isSetCluster_id(), that.isSetCluster_id(), this.cluster_id, that.cluster_id)) { return false; } + return true; } @Override public int hashCode() { - return Arrays.deepHashCode(new Object[] {spaces}); + return Arrays.deepHashCode(new Object[] {spaces, base_backup_name, cluster_id}); } @Override @@ -181,6 +296,22 @@ public int compareTo(CreateBackupReq other) { if (lastComparison != 0) { return lastComparison; } + lastComparison = Boolean.valueOf(isSetBase_backup_name()).compareTo(other.isSetBase_backup_name()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(base_backup_name, other.base_backup_name); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = Boolean.valueOf(isSetCluster_id()).compareTo(other.isSetCluster_id()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(cluster_id, other.cluster_id); + if (lastComparison != 0) { + return lastComparison; + } return 0; } @@ -198,15 +329,15 @@ public void read(TProtocol iprot) throws TException { case SPACES: if (__field.type == TType.LIST) { { - TList _list282 = iprot.readListBegin(); - this.spaces = new ArrayList(Math.max(0, _list282.size)); - for (int _i283 = 0; - (_list282.size < 0) ? iprot.peekList() : (_i283 < _list282.size); - ++_i283) + TList _list274 = iprot.readListBegin(); + this.spaces = new ArrayList(Math.max(0, _list274.size)); + for (int _i275 = 0; + (_list274.size < 0) ? iprot.peekList() : (_i275 < _list274.size); + ++_i275) { - byte[] _elem284; - _elem284 = iprot.readBinary(); - this.spaces.add(_elem284); + byte[] _elem276; + _elem276 = iprot.readBinary(); + this.spaces.add(_elem276); } iprot.readListEnd(); } @@ -214,6 +345,21 @@ public void read(TProtocol iprot) throws TException { TProtocolUtil.skip(iprot, __field.type); } break; + case BASE_BACKUP_NAME: + if (__field.type == TType.STRING) { + this.base_backup_name = iprot.readBinary(); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + case CLUSTER_ID: + if (__field.type == TType.I64) { + this.cluster_id = iprot.readI64(); + setCluster_idIsSet(true); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; default: TProtocolUtil.skip(iprot, __field.type); break; @@ -236,14 +382,26 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(SPACES_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRING, this.spaces.size())); - for (byte[] _iter285 : this.spaces) { - oprot.writeBinary(_iter285); + for (byte[] _iter277 : this.spaces) { + oprot.writeBinary(_iter277); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } } + if (this.base_backup_name != null) { + if (isSetBase_backup_name()) { + oprot.writeFieldBegin(BASE_BACKUP_NAME_FIELD_DESC); + oprot.writeBinary(this.base_backup_name); + oprot.writeFieldEnd(); + } + } + if (isSetCluster_id()) { + oprot.writeFieldBegin(CLUSTER_ID_FIELD_DESC); + oprot.writeI64(this.cluster_id); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -277,6 +435,35 @@ public String toString(int indent, boolean prettyPrint) { } first = false; } + if (isSetBase_backup_name()) + { + if (!first) sb.append("," + newLine); + sb.append(indentStr); + sb.append("base_backup_name"); + sb.append(space); + sb.append(":").append(space); + if (this.getBase_backup_name() == null) { + sb.append("null"); + } else { + int __base_backup_name_size = Math.min(this.getBase_backup_name().length, 128); + for (int i = 0; i < __base_backup_name_size; i++) { + if (i != 0) sb.append(" "); + sb.append(Integer.toHexString(this.getBase_backup_name()[i]).length() > 1 ? Integer.toHexString(this.getBase_backup_name()[i]).substring(Integer.toHexString(this.getBase_backup_name()[i]).length() - 2).toUpperCase() : "0" + Integer.toHexString(this.getBase_backup_name()[i]).toUpperCase()); + } + if (this.getBase_backup_name().length > 128) sb.append(" ..."); + } + first = false; + } + if (isSetCluster_id()) + { + if (!first) sb.append("," + newLine); + sb.append(indentStr); + sb.append("cluster_id"); + sb.append(space); + sb.append(":").append(space); + sb.append(TBaseHelper.toString(this.getCluster_id(), indent + 1, prettyPrint)); + first = false; + } sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); sb.append(")"); return sb.toString(); diff --git a/client/src/main/generated/com/vesoft/nebula/meta/CreateEdgeIndexReq.java b/client/src/main/generated/com/vesoft/nebula/meta/CreateEdgeIndexReq.java index c1078430f..89d721e65 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/CreateEdgeIndexReq.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/CreateEdgeIndexReq.java @@ -617,16 +617,16 @@ public void read(TProtocol iprot) throws TException { case FIELDS: if (__field.type == TType.LIST) { { - TList _list191 = iprot.readListBegin(); - this.fields = new ArrayList(Math.max(0, _list191.size)); - for (int _i192 = 0; - (_list191.size < 0) ? iprot.peekList() : (_i192 < _list191.size); - ++_i192) + TList _list175 = iprot.readListBegin(); + this.fields = new ArrayList(Math.max(0, _list175.size)); + for (int _i176 = 0; + (_list175.size < 0) ? iprot.peekList() : (_i176 < _list175.size); + ++_i176) { - IndexFieldDef _elem193; - _elem193 = new IndexFieldDef(); - _elem193.read(iprot); - this.fields.add(_elem193); + IndexFieldDef _elem177; + _elem177 = new IndexFieldDef(); + _elem177.read(iprot); + this.fields.add(_elem177); } iprot.readListEnd(); } @@ -691,8 +691,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(FIELDS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.fields.size())); - for (IndexFieldDef _iter194 : this.fields) { - _iter194.write(oprot); + for (IndexFieldDef _iter178 : this.fields) { + _iter178.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/CreateTagIndexReq.java b/client/src/main/generated/com/vesoft/nebula/meta/CreateTagIndexReq.java index 4c5d24316..a7c54e028 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/CreateTagIndexReq.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/CreateTagIndexReq.java @@ -617,16 +617,16 @@ public void read(TProtocol iprot) throws TException { case FIELDS: if (__field.type == TType.LIST) { { - TList _list183 = iprot.readListBegin(); - this.fields = new ArrayList(Math.max(0, _list183.size)); - for (int _i184 = 0; - (_list183.size < 0) ? iprot.peekList() : (_i184 < _list183.size); - ++_i184) + TList _list167 = iprot.readListBegin(); + this.fields = new ArrayList(Math.max(0, _list167.size)); + for (int _i168 = 0; + (_list167.size < 0) ? iprot.peekList() : (_i168 < _list167.size); + ++_i168) { - IndexFieldDef _elem185; - _elem185 = new IndexFieldDef(); - _elem185.read(iprot); - this.fields.add(_elem185); + IndexFieldDef _elem169; + _elem169 = new IndexFieldDef(); + _elem169.read(iprot); + this.fields.add(_elem169); } iprot.readListEnd(); } @@ -691,8 +691,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(FIELDS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.fields.size())); - for (IndexFieldDef _iter186 : this.fields) { - _iter186.write(oprot); + for (IndexFieldDef _iter170 : this.fields) { + _iter170.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/DivideZoneReq.java b/client/src/main/generated/com/vesoft/nebula/meta/DivideZoneReq.java index 3d469048b..66e7252df 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/DivideZoneReq.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/DivideZoneReq.java @@ -269,30 +269,30 @@ public void read(TProtocol iprot) throws TException { case ZONE_ITEMS: if (__field.type == TType.MAP) { { - TMap _map232 = iprot.readMapBegin(); - this.zone_items = new HashMap>(Math.max(0, 2*_map232.size)); - for (int _i233 = 0; - (_map232.size < 0) ? iprot.peekMap() : (_i233 < _map232.size); - ++_i233) + TMap _map220 = iprot.readMapBegin(); + this.zone_items = new HashMap>(Math.max(0, 2*_map220.size)); + for (int _i221 = 0; + (_map220.size < 0) ? iprot.peekMap() : (_i221 < _map220.size); + ++_i221) { - byte[] _key234; - List _val235; - _key234 = iprot.readBinary(); + byte[] _key222; + List _val223; + _key222 = iprot.readBinary(); { - TList _list236 = iprot.readListBegin(); - _val235 = new ArrayList(Math.max(0, _list236.size)); - for (int _i237 = 0; - (_list236.size < 0) ? iprot.peekList() : (_i237 < _list236.size); - ++_i237) + TList _list224 = iprot.readListBegin(); + _val223 = new ArrayList(Math.max(0, _list224.size)); + for (int _i225 = 0; + (_list224.size < 0) ? iprot.peekList() : (_i225 < _list224.size); + ++_i225) { - com.vesoft.nebula.HostAddr _elem238; - _elem238 = new com.vesoft.nebula.HostAddr(); - _elem238.read(iprot); - _val235.add(_elem238); + com.vesoft.nebula.HostAddr _elem226; + _elem226 = new com.vesoft.nebula.HostAddr(); + _elem226.read(iprot); + _val223.add(_elem226); } iprot.readListEnd(); } - this.zone_items.put(_key234, _val235); + this.zone_items.put(_key222, _val223); } iprot.readMapEnd(); } @@ -326,12 +326,12 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(ZONE_ITEMS_FIELD_DESC); { oprot.writeMapBegin(new TMap(TType.STRING, TType.LIST, this.zone_items.size())); - for (Map.Entry> _iter239 : this.zone_items.entrySet()) { - oprot.writeBinary(_iter239.getKey()); + for (Map.Entry> _iter227 : this.zone_items.entrySet()) { + oprot.writeBinary(_iter227.getKey()); { - oprot.writeListBegin(new TList(TType.STRUCT, _iter239.getValue().size())); - for (com.vesoft.nebula.HostAddr _iter240 : _iter239.getValue()) { - _iter240.write(oprot); + oprot.writeListBegin(new TList(TType.STRUCT, _iter227.getValue().size())); + for (com.vesoft.nebula.HostAddr _iter228 : _iter227.getValue()) { + _iter228.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/DropSnapshotReq.java b/client/src/main/generated/com/vesoft/nebula/meta/DropSnapshotReq.java index d574c3591..afdafe9ef 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/DropSnapshotReq.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/DropSnapshotReq.java @@ -26,10 +26,10 @@ @SuppressWarnings({ "unused", "serial" }) public class DropSnapshotReq implements TBase, java.io.Serializable, Cloneable, Comparable { private static final TStruct STRUCT_DESC = new TStruct("DropSnapshotReq"); - private static final TField NAME_FIELD_DESC = new TField("name", TType.STRING, (short)1); + private static final TField NAMES_FIELD_DESC = new TField("names", TType.LIST, (short)1); - public byte[] name; - public static final int NAME = 1; + public List names; + public static final int NAMES = 1; // isset id assignments @@ -37,8 +37,9 @@ public class DropSnapshotReq implements TBase, java.io.Serializable, Cloneable, static { Map tmpMetaDataMap = new HashMap(); - tmpMetaDataMap.put(NAME, new FieldMetaData("name", TFieldRequirementType.DEFAULT, - new FieldValueMetaData(TType.STRING))); + tmpMetaDataMap.put(NAMES, new FieldMetaData("names", TFieldRequirementType.DEFAULT, + new ListMetaData(TType.LIST, + new FieldValueMetaData(TType.STRING)))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } @@ -50,25 +51,25 @@ public DropSnapshotReq() { } public DropSnapshotReq( - byte[] name) { + List names) { this(); - this.name = name; + this.names = names; } public static class Builder { - private byte[] name; + private List names; public Builder() { } - public Builder setName(final byte[] name) { - this.name = name; + public Builder setNames(final List names) { + this.names = names; return this; } public DropSnapshotReq build() { DropSnapshotReq result = new DropSnapshotReq(); - result.setName(this.name); + result.setNames(this.names); return result; } } @@ -81,8 +82,8 @@ public static Builder builder() { * Performs a deep copy on other. */ public DropSnapshotReq(DropSnapshotReq other) { - if (other.isSetName()) { - this.name = TBaseHelper.deepCopy(other.name); + if (other.isSetNames()) { + this.names = TBaseHelper.deepCopy(other.names); } } @@ -90,37 +91,38 @@ public DropSnapshotReq deepCopy() { return new DropSnapshotReq(this); } - public byte[] getName() { - return this.name; + public List getNames() { + return this.names; } - public DropSnapshotReq setName(byte[] name) { - this.name = name; + public DropSnapshotReq setNames(List names) { + this.names = names; return this; } - public void unsetName() { - this.name = null; + public void unsetNames() { + this.names = null; } - // Returns true if field name is set (has been assigned a value) and false otherwise - public boolean isSetName() { - return this.name != null; + // Returns true if field names is set (has been assigned a value) and false otherwise + public boolean isSetNames() { + return this.names != null; } - public void setNameIsSet(boolean __value) { + public void setNamesIsSet(boolean __value) { if (!__value) { - this.name = null; + this.names = null; } } + @SuppressWarnings("unchecked") public void setFieldValue(int fieldID, Object __value) { switch (fieldID) { - case NAME: + case NAMES: if (__value == null) { - unsetName(); + unsetNames(); } else { - setName((byte[])__value); + setNames((List)__value); } break; @@ -131,8 +133,8 @@ public void setFieldValue(int fieldID, Object __value) { public Object getFieldValue(int fieldID) { switch (fieldID) { - case NAME: - return getName(); + case NAMES: + return getNames(); default: throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); @@ -149,14 +151,14 @@ public boolean equals(Object _that) { return false; DropSnapshotReq that = (DropSnapshotReq)_that; - if (!TBaseHelper.equalsSlow(this.isSetName(), that.isSetName(), this.name, that.name)) { return false; } + if (!TBaseHelper.equalsSlow(this.isSetNames(), that.isSetNames(), this.names, that.names)) { return false; } return true; } @Override public int hashCode() { - return Arrays.deepHashCode(new Object[] {name}); + return Arrays.deepHashCode(new Object[] {names}); } @Override @@ -171,11 +173,11 @@ public int compareTo(DropSnapshotReq other) { } int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetName()).compareTo(other.isSetName()); + lastComparison = Boolean.valueOf(isSetNames()).compareTo(other.isSetNames()); if (lastComparison != 0) { return lastComparison; } - lastComparison = TBaseHelper.compareTo(name, other.name); + lastComparison = TBaseHelper.compareTo(names, other.names); if (lastComparison != 0) { return lastComparison; } @@ -193,9 +195,21 @@ public void read(TProtocol iprot) throws TException { } switch (__field.id) { - case NAME: - if (__field.type == TType.STRING) { - this.name = iprot.readBinary(); + case NAMES: + if (__field.type == TType.LIST) { + { + TList _list204 = iprot.readListBegin(); + this.names = new ArrayList(Math.max(0, _list204.size)); + for (int _i205 = 0; + (_list204.size < 0) ? iprot.peekList() : (_i205 < _list204.size); + ++_i205) + { + byte[] _elem206; + _elem206 = iprot.readBinary(); + this.names.add(_elem206); + } + iprot.readListEnd(); + } } else { TProtocolUtil.skip(iprot, __field.type); } @@ -217,9 +231,15 @@ public void write(TProtocol oprot) throws TException { validate(); oprot.writeStructBegin(STRUCT_DESC); - if (this.name != null) { - oprot.writeFieldBegin(NAME_FIELD_DESC); - oprot.writeBinary(this.name); + if (this.names != null) { + oprot.writeFieldBegin(NAMES_FIELD_DESC); + { + oprot.writeListBegin(new TList(TType.STRING, this.names.size())); + for (byte[] _iter207 : this.names) { + oprot.writeBinary(_iter207); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -243,18 +263,13 @@ public String toString(int indent, boolean prettyPrint) { boolean first = true; sb.append(indentStr); - sb.append("name"); + sb.append("names"); sb.append(space); sb.append(":").append(space); - if (this.getName() == null) { + if (this.getNames() == null) { sb.append("null"); } else { - int __name_size = Math.min(this.getName().length, 128); - for (int i = 0; i < __name_size; i++) { - if (i != 0) sb.append(" "); - sb.append(Integer.toHexString(this.getName()[i]).length() > 1 ? Integer.toHexString(this.getName()[i]).substring(Integer.toHexString(this.getName()[i]).length() - 2).toUpperCase() : "0" + Integer.toHexString(this.getName()[i]).toUpperCase()); - } - if (this.getName().length > 128) sb.append(" ..."); + sb.append(TBaseHelper.toString(this.getNames(), indent + 1, prettyPrint)); } first = false; sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); diff --git a/client/src/main/generated/com/vesoft/nebula/meta/FTIndex.java b/client/src/main/generated/com/vesoft/nebula/meta/FTIndex.java index 81ea2935d..639953918 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/FTIndex.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/FTIndex.java @@ -345,15 +345,15 @@ public void read(TProtocol iprot) throws TException { case FIELDS: if (__field.type == TType.LIST) { { - TList _list307 = iprot.readListBegin(); - this.fields = new ArrayList(Math.max(0, _list307.size)); - for (int _i308 = 0; - (_list307.size < 0) ? iprot.peekList() : (_i308 < _list307.size); - ++_i308) + TList _list312 = iprot.readListBegin(); + this.fields = new ArrayList(Math.max(0, _list312.size)); + for (int _i313 = 0; + (_list312.size < 0) ? iprot.peekList() : (_i313 < _list312.size); + ++_i313) { - byte[] _elem309; - _elem309 = iprot.readBinary(); - this.fields.add(_elem309); + byte[] _elem314; + _elem314 = iprot.readBinary(); + this.fields.add(_elem314); } iprot.readListEnd(); } @@ -390,8 +390,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(FIELDS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRING, this.fields.size())); - for (byte[] _iter310 : this.fields) { - oprot.writeBinary(_iter310); + for (byte[] _iter315 : this.fields) { + oprot.writeBinary(_iter315); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/GetConfigResp.java b/client/src/main/generated/com/vesoft/nebula/meta/GetConfigResp.java index ac94fcf81..4492222af 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/GetConfigResp.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/GetConfigResp.java @@ -310,16 +310,16 @@ public void read(TProtocol iprot) throws TException { case ITEMS: if (__field.type == TType.LIST) { { - TList _list212 = iprot.readListBegin(); - this.items = new ArrayList(Math.max(0, _list212.size)); - for (int _i213 = 0; - (_list212.size < 0) ? iprot.peekList() : (_i213 < _list212.size); - ++_i213) + TList _list196 = iprot.readListBegin(); + this.items = new ArrayList(Math.max(0, _list196.size)); + for (int _i197 = 0; + (_list196.size < 0) ? iprot.peekList() : (_i197 < _list196.size); + ++_i197) { - ConfigItem _elem214; - _elem214 = new ConfigItem(); - _elem214.read(iprot); - this.items.add(_elem214); + ConfigItem _elem198; + _elem198 = new ConfigItem(); + _elem198.read(iprot); + this.items.add(_elem198); } iprot.readListEnd(); } @@ -358,8 +358,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(ITEMS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.items.size())); - for (ConfigItem _iter215 : this.items) { - _iter215.write(oprot); + for (ConfigItem _iter199 : this.items) { + _iter199.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/GetReq.java b/client/src/main/generated/com/vesoft/nebula/meta/GetReq.java deleted file mode 100644 index b1085f27c..000000000 --- a/client/src/main/generated/com/vesoft/nebula/meta/GetReq.java +++ /dev/null @@ -1,360 +0,0 @@ -/** - * Autogenerated by Thrift - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -package com.vesoft.nebula.meta; - -import java.util.List; -import java.util.ArrayList; -import java.util.Map; -import java.util.HashMap; -import java.util.Set; -import java.util.HashSet; -import java.util.Collections; -import java.util.BitSet; -import java.util.Arrays; -import com.facebook.thrift.*; -import com.facebook.thrift.annotations.*; -import com.facebook.thrift.async.*; -import com.facebook.thrift.meta_data.*; -import com.facebook.thrift.server.*; -import com.facebook.thrift.transport.*; -import com.facebook.thrift.protocol.*; - -@SuppressWarnings({ "unused", "serial" }) -public class GetReq implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("GetReq"); - private static final TField SEGMENT_FIELD_DESC = new TField("segment", TType.STRING, (short)1); - private static final TField KEY_FIELD_DESC = new TField("key", TType.STRING, (short)2); - - public byte[] segment; - public byte[] key; - public static final int SEGMENT = 1; - public static final int KEY = 2; - - // isset id assignments - - public static final Map metaDataMap; - - static { - Map tmpMetaDataMap = new HashMap(); - tmpMetaDataMap.put(SEGMENT, new FieldMetaData("segment", TFieldRequirementType.DEFAULT, - new FieldValueMetaData(TType.STRING))); - tmpMetaDataMap.put(KEY, new FieldMetaData("key", TFieldRequirementType.DEFAULT, - new FieldValueMetaData(TType.STRING))); - metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); - } - - static { - FieldMetaData.addStructMetaDataMap(GetReq.class, metaDataMap); - } - - public GetReq() { - } - - public GetReq( - byte[] segment, - byte[] key) { - this(); - this.segment = segment; - this.key = key; - } - - public static class Builder { - private byte[] segment; - private byte[] key; - - public Builder() { - } - - public Builder setSegment(final byte[] segment) { - this.segment = segment; - return this; - } - - public Builder setKey(final byte[] key) { - this.key = key; - return this; - } - - public GetReq build() { - GetReq result = new GetReq(); - result.setSegment(this.segment); - result.setKey(this.key); - return result; - } - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Performs a deep copy on other. - */ - public GetReq(GetReq other) { - if (other.isSetSegment()) { - this.segment = TBaseHelper.deepCopy(other.segment); - } - if (other.isSetKey()) { - this.key = TBaseHelper.deepCopy(other.key); - } - } - - public GetReq deepCopy() { - return new GetReq(this); - } - - public byte[] getSegment() { - return this.segment; - } - - public GetReq setSegment(byte[] segment) { - this.segment = segment; - return this; - } - - public void unsetSegment() { - this.segment = null; - } - - // Returns true if field segment is set (has been assigned a value) and false otherwise - public boolean isSetSegment() { - return this.segment != null; - } - - public void setSegmentIsSet(boolean __value) { - if (!__value) { - this.segment = null; - } - } - - public byte[] getKey() { - return this.key; - } - - public GetReq setKey(byte[] key) { - this.key = key; - return this; - } - - public void unsetKey() { - this.key = null; - } - - // Returns true if field key is set (has been assigned a value) and false otherwise - public boolean isSetKey() { - return this.key != null; - } - - public void setKeyIsSet(boolean __value) { - if (!__value) { - this.key = null; - } - } - - public void setFieldValue(int fieldID, Object __value) { - switch (fieldID) { - case SEGMENT: - if (__value == null) { - unsetSegment(); - } else { - setSegment((byte[])__value); - } - break; - - case KEY: - if (__value == null) { - unsetKey(); - } else { - setKey((byte[])__value); - } - break; - - default: - throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); - } - } - - public Object getFieldValue(int fieldID) { - switch (fieldID) { - case SEGMENT: - return getSegment(); - - case KEY: - return getKey(); - - default: - throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); - } - } - - @Override - public boolean equals(Object _that) { - if (_that == null) - return false; - if (this == _that) - return true; - if (!(_that instanceof GetReq)) - return false; - GetReq that = (GetReq)_that; - - if (!TBaseHelper.equalsSlow(this.isSetSegment(), that.isSetSegment(), this.segment, that.segment)) { return false; } - - if (!TBaseHelper.equalsSlow(this.isSetKey(), that.isSetKey(), this.key, that.key)) { return false; } - - return true; - } - - @Override - public int hashCode() { - return Arrays.deepHashCode(new Object[] {segment, key}); - } - - @Override - public int compareTo(GetReq other) { - if (other == null) { - // See java.lang.Comparable docs - throw new NullPointerException(); - } - - if (other == this) { - return 0; - } - int lastComparison = 0; - - lastComparison = Boolean.valueOf(isSetSegment()).compareTo(other.isSetSegment()); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = TBaseHelper.compareTo(segment, other.segment); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = Boolean.valueOf(isSetKey()).compareTo(other.isSetKey()); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = TBaseHelper.compareTo(key, other.key); - if (lastComparison != 0) { - return lastComparison; - } - return 0; - } - - public void read(TProtocol iprot) throws TException { - TField __field; - iprot.readStructBegin(metaDataMap); - while (true) - { - __field = iprot.readFieldBegin(); - if (__field.type == TType.STOP) { - break; - } - switch (__field.id) - { - case SEGMENT: - if (__field.type == TType.STRING) { - this.segment = iprot.readBinary(); - } else { - TProtocolUtil.skip(iprot, __field.type); - } - break; - case KEY: - if (__field.type == TType.STRING) { - this.key = iprot.readBinary(); - } else { - TProtocolUtil.skip(iprot, __field.type); - } - break; - default: - TProtocolUtil.skip(iprot, __field.type); - break; - } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); - - - // check for required fields of primitive type, which can't be checked in the validate method - validate(); - } - - public void write(TProtocol oprot) throws TException { - validate(); - - oprot.writeStructBegin(STRUCT_DESC); - if (this.segment != null) { - oprot.writeFieldBegin(SEGMENT_FIELD_DESC); - oprot.writeBinary(this.segment); - oprot.writeFieldEnd(); - } - if (this.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeBinary(this.key); - oprot.writeFieldEnd(); - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - - @Override - public String toString() { - return toString(1, true); - } - - @Override - public String toString(int indent, boolean prettyPrint) { - String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; - String newLine = prettyPrint ? "\n" : ""; - String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("GetReq"); - sb.append(space); - sb.append("("); - sb.append(newLine); - boolean first = true; - - sb.append(indentStr); - sb.append("segment"); - sb.append(space); - sb.append(":").append(space); - if (this.getSegment() == null) { - sb.append("null"); - } else { - int __segment_size = Math.min(this.getSegment().length, 128); - for (int i = 0; i < __segment_size; i++) { - if (i != 0) sb.append(" "); - sb.append(Integer.toHexString(this.getSegment()[i]).length() > 1 ? Integer.toHexString(this.getSegment()[i]).substring(Integer.toHexString(this.getSegment()[i]).length() - 2).toUpperCase() : "0" + Integer.toHexString(this.getSegment()[i]).toUpperCase()); - } - if (this.getSegment().length > 128) sb.append(" ..."); - } - first = false; - if (!first) sb.append("," + newLine); - sb.append(indentStr); - sb.append("key"); - sb.append(space); - sb.append(":").append(space); - if (this.getKey() == null) { - sb.append("null"); - } else { - int __key_size = Math.min(this.getKey().length, 128); - for (int i = 0; i < __key_size; i++) { - if (i != 0) sb.append(" "); - sb.append(Integer.toHexString(this.getKey()[i]).length() > 1 ? Integer.toHexString(this.getKey()[i]).substring(Integer.toHexString(this.getKey()[i]).length() - 2).toUpperCase() : "0" + Integer.toHexString(this.getKey()[i]).toUpperCase()); - } - if (this.getKey().length > 128) sb.append(" ..."); - } - first = false; - sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); - sb.append(")"); - return sb.toString(); - } - - public void validate() throws TException { - // check for required fields - } - -} - diff --git a/client/src/main/generated/com/vesoft/nebula/meta/GetSegmentIdReq.java b/client/src/main/generated/com/vesoft/nebula/meta/GetSegmentIdReq.java new file mode 100644 index 000000000..986df1da8 --- /dev/null +++ b/client/src/main/generated/com/vesoft/nebula/meta/GetSegmentIdReq.java @@ -0,0 +1,267 @@ +/** + * Autogenerated by Thrift + * + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * @generated + */ +package com.vesoft.nebula.meta; + +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.util.HashMap; +import java.util.Set; +import java.util.HashSet; +import java.util.Collections; +import java.util.BitSet; +import java.util.Arrays; +import com.facebook.thrift.*; +import com.facebook.thrift.annotations.*; +import com.facebook.thrift.async.*; +import com.facebook.thrift.meta_data.*; +import com.facebook.thrift.server.*; +import com.facebook.thrift.transport.*; +import com.facebook.thrift.protocol.*; + +@SuppressWarnings({ "unused", "serial" }) +public class GetSegmentIdReq implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("GetSegmentIdReq"); + private static final TField LENGTH_FIELD_DESC = new TField("length", TType.I64, (short)1); + + public long length; + public static final int LENGTH = 1; + + // isset id assignments + private static final int __LENGTH_ISSET_ID = 0; + private BitSet __isset_bit_vector = new BitSet(1); + + public static final Map metaDataMap; + + static { + Map tmpMetaDataMap = new HashMap(); + tmpMetaDataMap.put(LENGTH, new FieldMetaData("length", TFieldRequirementType.DEFAULT, + new FieldValueMetaData(TType.I64))); + metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); + } + + static { + FieldMetaData.addStructMetaDataMap(GetSegmentIdReq.class, metaDataMap); + } + + public GetSegmentIdReq() { + } + + public GetSegmentIdReq( + long length) { + this(); + this.length = length; + setLengthIsSet(true); + } + + public static class Builder { + private long length; + + BitSet __optional_isset = new BitSet(1); + + public Builder() { + } + + public Builder setLength(final long length) { + this.length = length; + __optional_isset.set(__LENGTH_ISSET_ID, true); + return this; + } + + public GetSegmentIdReq build() { + GetSegmentIdReq result = new GetSegmentIdReq(); + if (__optional_isset.get(__LENGTH_ISSET_ID)) { + result.setLength(this.length); + } + return result; + } + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Performs a deep copy on other. + */ + public GetSegmentIdReq(GetSegmentIdReq other) { + __isset_bit_vector.clear(); + __isset_bit_vector.or(other.__isset_bit_vector); + this.length = TBaseHelper.deepCopy(other.length); + } + + public GetSegmentIdReq deepCopy() { + return new GetSegmentIdReq(this); + } + + public long getLength() { + return this.length; + } + + public GetSegmentIdReq setLength(long length) { + this.length = length; + setLengthIsSet(true); + return this; + } + + public void unsetLength() { + __isset_bit_vector.clear(__LENGTH_ISSET_ID); + } + + // Returns true if field length is set (has been assigned a value) and false otherwise + public boolean isSetLength() { + return __isset_bit_vector.get(__LENGTH_ISSET_ID); + } + + public void setLengthIsSet(boolean __value) { + __isset_bit_vector.set(__LENGTH_ISSET_ID, __value); + } + + public void setFieldValue(int fieldID, Object __value) { + switch (fieldID) { + case LENGTH: + if (__value == null) { + unsetLength(); + } else { + setLength((Long)__value); + } + break; + + default: + throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); + } + } + + public Object getFieldValue(int fieldID) { + switch (fieldID) { + case LENGTH: + return new Long(getLength()); + + default: + throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); + } + } + + @Override + public boolean equals(Object _that) { + if (_that == null) + return false; + if (this == _that) + return true; + if (!(_that instanceof GetSegmentIdReq)) + return false; + GetSegmentIdReq that = (GetSegmentIdReq)_that; + + if (!TBaseHelper.equalsNobinary(this.length, that.length)) { return false; } + + return true; + } + + @Override + public int hashCode() { + return Arrays.deepHashCode(new Object[] {length}); + } + + @Override + public int compareTo(GetSegmentIdReq other) { + if (other == null) { + // See java.lang.Comparable docs + throw new NullPointerException(); + } + + if (other == this) { + return 0; + } + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetLength()).compareTo(other.isSetLength()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(length, other.length); + if (lastComparison != 0) { + return lastComparison; + } + return 0; + } + + public void read(TProtocol iprot) throws TException { + TField __field; + iprot.readStructBegin(metaDataMap); + while (true) + { + __field = iprot.readFieldBegin(); + if (__field.type == TType.STOP) { + break; + } + switch (__field.id) + { + case LENGTH: + if (__field.type == TType.I64) { + this.length = iprot.readI64(); + setLengthIsSet(true); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + default: + TProtocolUtil.skip(iprot, __field.type); + break; + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + + // check for required fields of primitive type, which can't be checked in the validate method + validate(); + } + + public void write(TProtocol oprot) throws TException { + validate(); + + oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldBegin(LENGTH_FIELD_DESC); + oprot.writeI64(this.length); + oprot.writeFieldEnd(); + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + @Override + public String toString() { + return toString(1, true); + } + + @Override + public String toString(int indent, boolean prettyPrint) { + String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; + String newLine = prettyPrint ? "\n" : ""; + String space = prettyPrint ? " " : ""; + StringBuilder sb = new StringBuilder("GetSegmentIdReq"); + sb.append(space); + sb.append("("); + sb.append(newLine); + boolean first = true; + + sb.append(indentStr); + sb.append("length"); + sb.append(space); + sb.append(":").append(space); + sb.append(TBaseHelper.toString(this.getLength(), indent + 1, prettyPrint)); + first = false; + sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); + sb.append(")"); + return sb.toString(); + } + + public void validate() throws TException { + // check for required fields + } + +} + diff --git a/client/src/main/generated/com/vesoft/nebula/meta/GetResp.java b/client/src/main/generated/com/vesoft/nebula/meta/GetSegmentIdResp.java similarity index 73% rename from client/src/main/generated/com/vesoft/nebula/meta/GetResp.java rename to client/src/main/generated/com/vesoft/nebula/meta/GetSegmentIdResp.java index 9360c2528..6cebe614d 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/GetResp.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/GetSegmentIdResp.java @@ -24,11 +24,11 @@ import com.facebook.thrift.protocol.*; @SuppressWarnings({ "unused", "serial" }) -public class GetResp implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("GetResp"); +public class GetSegmentIdResp implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("GetSegmentIdResp"); private static final TField CODE_FIELD_DESC = new TField("code", TType.I32, (short)1); private static final TField LEADER_FIELD_DESC = new TField("leader", TType.STRUCT, (short)2); - private static final TField VALUE_FIELD_DESC = new TField("value", TType.STRING, (short)3); + private static final TField SEGMENT_ID_FIELD_DESC = new TField("segment_id", TType.I64, (short)3); /** * @@ -36,12 +36,14 @@ public class GetResp implements TBase, java.io.Serializable, Cloneable, Comparab */ public com.vesoft.nebula.ErrorCode code; public com.vesoft.nebula.HostAddr leader; - public byte[] value; + public long segment_id; public static final int CODE = 1; public static final int LEADER = 2; - public static final int VALUE = 3; + public static final int SEGMENT_ID = 3; // isset id assignments + private static final int __SEGMENT_ID_ISSET_ID = 0; + private BitSet __isset_bit_vector = new BitSet(1); public static final Map metaDataMap; @@ -51,32 +53,35 @@ public class GetResp implements TBase, java.io.Serializable, Cloneable, Comparab new FieldValueMetaData(TType.I32))); tmpMetaDataMap.put(LEADER, new FieldMetaData("leader", TFieldRequirementType.DEFAULT, new StructMetaData(TType.STRUCT, com.vesoft.nebula.HostAddr.class))); - tmpMetaDataMap.put(VALUE, new FieldMetaData("value", TFieldRequirementType.DEFAULT, - new FieldValueMetaData(TType.STRING))); + tmpMetaDataMap.put(SEGMENT_ID, new FieldMetaData("segment_id", TFieldRequirementType.DEFAULT, + new FieldValueMetaData(TType.I64))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(GetResp.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(GetSegmentIdResp.class, metaDataMap); } - public GetResp() { + public GetSegmentIdResp() { } - public GetResp( + public GetSegmentIdResp( com.vesoft.nebula.ErrorCode code, com.vesoft.nebula.HostAddr leader, - byte[] value) { + long segment_id) { this(); this.code = code; this.leader = leader; - this.value = value; + this.segment_id = segment_id; + setSegment_idIsSet(true); } public static class Builder { private com.vesoft.nebula.ErrorCode code; private com.vesoft.nebula.HostAddr leader; - private byte[] value; + private long segment_id; + + BitSet __optional_isset = new BitSet(1); public Builder() { } @@ -91,16 +96,19 @@ public Builder setLeader(final com.vesoft.nebula.HostAddr leader) { return this; } - public Builder setValue(final byte[] value) { - this.value = value; + public Builder setSegment_id(final long segment_id) { + this.segment_id = segment_id; + __optional_isset.set(__SEGMENT_ID_ISSET_ID, true); return this; } - public GetResp build() { - GetResp result = new GetResp(); + public GetSegmentIdResp build() { + GetSegmentIdResp result = new GetSegmentIdResp(); result.setCode(this.code); result.setLeader(this.leader); - result.setValue(this.value); + if (__optional_isset.get(__SEGMENT_ID_ISSET_ID)) { + result.setSegment_id(this.segment_id); + } return result; } } @@ -112,20 +120,20 @@ public static Builder builder() { /** * Performs a deep copy on other. */ - public GetResp(GetResp other) { + public GetSegmentIdResp(GetSegmentIdResp other) { + __isset_bit_vector.clear(); + __isset_bit_vector.or(other.__isset_bit_vector); if (other.isSetCode()) { this.code = TBaseHelper.deepCopy(other.code); } if (other.isSetLeader()) { this.leader = TBaseHelper.deepCopy(other.leader); } - if (other.isSetValue()) { - this.value = TBaseHelper.deepCopy(other.value); - } + this.segment_id = TBaseHelper.deepCopy(other.segment_id); } - public GetResp deepCopy() { - return new GetResp(this); + public GetSegmentIdResp deepCopy() { + return new GetSegmentIdResp(this); } /** @@ -140,7 +148,7 @@ public com.vesoft.nebula.ErrorCode getCode() { * * @see com.vesoft.nebula.ErrorCode */ - public GetResp setCode(com.vesoft.nebula.ErrorCode code) { + public GetSegmentIdResp setCode(com.vesoft.nebula.ErrorCode code) { this.code = code; return this; } @@ -164,7 +172,7 @@ public com.vesoft.nebula.HostAddr getLeader() { return this.leader; } - public GetResp setLeader(com.vesoft.nebula.HostAddr leader) { + public GetSegmentIdResp setLeader(com.vesoft.nebula.HostAddr leader) { this.leader = leader; return this; } @@ -184,28 +192,27 @@ public void setLeaderIsSet(boolean __value) { } } - public byte[] getValue() { - return this.value; + public long getSegment_id() { + return this.segment_id; } - public GetResp setValue(byte[] value) { - this.value = value; + public GetSegmentIdResp setSegment_id(long segment_id) { + this.segment_id = segment_id; + setSegment_idIsSet(true); return this; } - public void unsetValue() { - this.value = null; + public void unsetSegment_id() { + __isset_bit_vector.clear(__SEGMENT_ID_ISSET_ID); } - // Returns true if field value is set (has been assigned a value) and false otherwise - public boolean isSetValue() { - return this.value != null; + // Returns true if field segment_id is set (has been assigned a value) and false otherwise + public boolean isSetSegment_id() { + return __isset_bit_vector.get(__SEGMENT_ID_ISSET_ID); } - public void setValueIsSet(boolean __value) { - if (!__value) { - this.value = null; - } + public void setSegment_idIsSet(boolean __value) { + __isset_bit_vector.set(__SEGMENT_ID_ISSET_ID, __value); } public void setFieldValue(int fieldID, Object __value) { @@ -226,11 +233,11 @@ public void setFieldValue(int fieldID, Object __value) { } break; - case VALUE: + case SEGMENT_ID: if (__value == null) { - unsetValue(); + unsetSegment_id(); } else { - setValue((byte[])__value); + setSegment_id((Long)__value); } break; @@ -247,8 +254,8 @@ public Object getFieldValue(int fieldID) { case LEADER: return getLeader(); - case VALUE: - return getValue(); + case SEGMENT_ID: + return new Long(getSegment_id()); default: throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); @@ -261,26 +268,26 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof GetResp)) + if (!(_that instanceof GetSegmentIdResp)) return false; - GetResp that = (GetResp)_that; + GetSegmentIdResp that = (GetSegmentIdResp)_that; if (!TBaseHelper.equalsNobinary(this.isSetCode(), that.isSetCode(), this.code, that.code)) { return false; } if (!TBaseHelper.equalsNobinary(this.isSetLeader(), that.isSetLeader(), this.leader, that.leader)) { return false; } - if (!TBaseHelper.equalsSlow(this.isSetValue(), that.isSetValue(), this.value, that.value)) { return false; } + if (!TBaseHelper.equalsNobinary(this.segment_id, that.segment_id)) { return false; } return true; } @Override public int hashCode() { - return Arrays.deepHashCode(new Object[] {code, leader, value}); + return Arrays.deepHashCode(new Object[] {code, leader, segment_id}); } @Override - public int compareTo(GetResp other) { + public int compareTo(GetSegmentIdResp other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -307,11 +314,11 @@ public int compareTo(GetResp other) { if (lastComparison != 0) { return lastComparison; } - lastComparison = Boolean.valueOf(isSetValue()).compareTo(other.isSetValue()); + lastComparison = Boolean.valueOf(isSetSegment_id()).compareTo(other.isSetSegment_id()); if (lastComparison != 0) { return lastComparison; } - lastComparison = TBaseHelper.compareTo(value, other.value); + lastComparison = TBaseHelper.compareTo(segment_id, other.segment_id); if (lastComparison != 0) { return lastComparison; } @@ -344,9 +351,10 @@ public void read(TProtocol iprot) throws TException { TProtocolUtil.skip(iprot, __field.type); } break; - case VALUE: - if (__field.type == TType.STRING) { - this.value = iprot.readBinary(); + case SEGMENT_ID: + if (__field.type == TType.I64) { + this.segment_id = iprot.readI64(); + setSegment_idIsSet(true); } else { TProtocolUtil.skip(iprot, __field.type); } @@ -378,11 +386,9 @@ public void write(TProtocol oprot) throws TException { this.leader.write(oprot); oprot.writeFieldEnd(); } - if (this.value != null) { - oprot.writeFieldBegin(VALUE_FIELD_DESC); - oprot.writeBinary(this.value); - oprot.writeFieldEnd(); - } + oprot.writeFieldBegin(SEGMENT_ID_FIELD_DESC); + oprot.writeI64(this.segment_id); + oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -397,7 +403,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("GetResp"); + StringBuilder sb = new StringBuilder("GetSegmentIdResp"); sb.append(space); sb.append("("); sb.append(newLine); @@ -434,19 +440,10 @@ public String toString(int indent, boolean prettyPrint) { first = false; if (!first) sb.append("," + newLine); sb.append(indentStr); - sb.append("value"); + sb.append("segment_id"); sb.append(space); sb.append(":").append(space); - if (this.getValue() == null) { - sb.append("null"); - } else { - int __value_size = Math.min(this.getValue().length, 128); - for (int i = 0; i < __value_size; i++) { - if (i != 0) sb.append(" "); - sb.append(Integer.toHexString(this.getValue()[i]).length() > 1 ? Integer.toHexString(this.getValue()[i]).substring(Integer.toHexString(this.getValue()[i]).length() - 2).toUpperCase() : "0" + Integer.toHexString(this.getValue()[i]).toUpperCase()); - } - if (this.getValue().length > 128) sb.append(" ..."); - } + sb.append(TBaseHelper.toString(this.getSegment_id(), indent + 1, prettyPrint)); first = false; sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); sb.append(")"); diff --git a/client/src/main/generated/com/vesoft/nebula/meta/GetZoneResp.java b/client/src/main/generated/com/vesoft/nebula/meta/GetZoneResp.java index 6de56466c..05768da9e 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/GetZoneResp.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/GetZoneResp.java @@ -349,16 +349,16 @@ public void read(TProtocol iprot) throws TException { case HOSTS: if (__field.type == TType.LIST) { { - TList _list245 = iprot.readListBegin(); - this.hosts = new ArrayList(Math.max(0, _list245.size)); - for (int _i246 = 0; - (_list245.size < 0) ? iprot.peekList() : (_i246 < _list245.size); - ++_i246) + TList _list233 = iprot.readListBegin(); + this.hosts = new ArrayList(Math.max(0, _list233.size)); + for (int _i234 = 0; + (_list233.size < 0) ? iprot.peekList() : (_i234 < _list233.size); + ++_i234) { - com.vesoft.nebula.HostAddr _elem247; - _elem247 = new com.vesoft.nebula.HostAddr(); - _elem247.read(iprot); - this.hosts.add(_elem247); + com.vesoft.nebula.HostAddr _elem235; + _elem235 = new com.vesoft.nebula.HostAddr(); + _elem235.read(iprot); + this.hosts.add(_elem235); } iprot.readListEnd(); } @@ -397,8 +397,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(HOSTS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.hosts.size())); - for (com.vesoft.nebula.HostAddr _iter248 : this.hosts) { - _iter248.write(oprot); + for (com.vesoft.nebula.HostAddr _iter236 : this.hosts) { + _iter236.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/HBReq.java b/client/src/main/generated/com/vesoft/nebula/meta/HBReq.java index 1079c7ef5..197c949e8 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/HBReq.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/HBReq.java @@ -693,30 +693,30 @@ public void read(TProtocol iprot) throws TException { case LEADER_PARTIDS: if (__field.type == TType.MAP) { { - TMap _map160 = iprot.readMapBegin(); - this.leader_partIds = new HashMap>(Math.max(0, 2*_map160.size)); - for (int _i161 = 0; - (_map160.size < 0) ? iprot.peekMap() : (_i161 < _map160.size); - ++_i161) + TMap _map144 = iprot.readMapBegin(); + this.leader_partIds = new HashMap>(Math.max(0, 2*_map144.size)); + for (int _i145 = 0; + (_map144.size < 0) ? iprot.peekMap() : (_i145 < _map144.size); + ++_i145) { - int _key162; - List _val163; - _key162 = iprot.readI32(); + int _key146; + List _val147; + _key146 = iprot.readI32(); { - TList _list164 = iprot.readListBegin(); - _val163 = new ArrayList(Math.max(0, _list164.size)); - for (int _i165 = 0; - (_list164.size < 0) ? iprot.peekList() : (_i165 < _list164.size); - ++_i165) + TList _list148 = iprot.readListBegin(); + _val147 = new ArrayList(Math.max(0, _list148.size)); + for (int _i149 = 0; + (_list148.size < 0) ? iprot.peekList() : (_i149 < _list148.size); + ++_i149) { - LeaderInfo _elem166; - _elem166 = new LeaderInfo(); - _elem166.read(iprot); - _val163.add(_elem166); + LeaderInfo _elem150; + _elem150 = new LeaderInfo(); + _elem150.read(iprot); + _val147.add(_elem150); } iprot.readListEnd(); } - this.leader_partIds.put(_key162, _val163); + this.leader_partIds.put(_key146, _val147); } iprot.readMapEnd(); } @@ -734,32 +734,32 @@ public void read(TProtocol iprot) throws TException { case DISK_PARTS: if (__field.type == TType.MAP) { { - TMap _map167 = iprot.readMapBegin(); - this.disk_parts = new HashMap>(Math.max(0, 2*_map167.size)); - for (int _i168 = 0; - (_map167.size < 0) ? iprot.peekMap() : (_i168 < _map167.size); - ++_i168) + TMap _map151 = iprot.readMapBegin(); + this.disk_parts = new HashMap>(Math.max(0, 2*_map151.size)); + for (int _i152 = 0; + (_map151.size < 0) ? iprot.peekMap() : (_i152 < _map151.size); + ++_i152) { - int _key169; - Map _val170; - _key169 = iprot.readI32(); + int _key153; + Map _val154; + _key153 = iprot.readI32(); { - TMap _map171 = iprot.readMapBegin(); - _val170 = new HashMap(Math.max(0, 2*_map171.size)); - for (int _i172 = 0; - (_map171.size < 0) ? iprot.peekMap() : (_i172 < _map171.size); - ++_i172) + TMap _map155 = iprot.readMapBegin(); + _val154 = new HashMap(Math.max(0, 2*_map155.size)); + for (int _i156 = 0; + (_map155.size < 0) ? iprot.peekMap() : (_i156 < _map155.size); + ++_i156) { - byte[] _key173; - PartitionList _val174; - _key173 = iprot.readBinary(); - _val174 = new PartitionList(); - _val174.read(iprot); - _val170.put(_key173, _val174); + byte[] _key157; + PartitionList _val158; + _key157 = iprot.readBinary(); + _val158 = new PartitionList(); + _val158.read(iprot); + _val154.put(_key157, _val158); } iprot.readMapEnd(); } - this.disk_parts.put(_key169, _val170); + this.disk_parts.put(_key153, _val154); } iprot.readMapEnd(); } @@ -817,12 +817,12 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(LEADER_PART_IDS_FIELD_DESC); { oprot.writeMapBegin(new TMap(TType.I32, TType.LIST, this.leader_partIds.size())); - for (Map.Entry> _iter175 : this.leader_partIds.entrySet()) { - oprot.writeI32(_iter175.getKey()); + for (Map.Entry> _iter159 : this.leader_partIds.entrySet()) { + oprot.writeI32(_iter159.getKey()); { - oprot.writeListBegin(new TList(TType.STRUCT, _iter175.getValue().size())); - for (LeaderInfo _iter176 : _iter175.getValue()) { - _iter176.write(oprot); + oprot.writeListBegin(new TList(TType.STRUCT, _iter159.getValue().size())); + for (LeaderInfo _iter160 : _iter159.getValue()) { + _iter160.write(oprot); } oprot.writeListEnd(); } @@ -842,13 +842,13 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(DISK_PARTS_FIELD_DESC); { oprot.writeMapBegin(new TMap(TType.I32, TType.MAP, this.disk_parts.size())); - for (Map.Entry> _iter177 : this.disk_parts.entrySet()) { - oprot.writeI32(_iter177.getKey()); + for (Map.Entry> _iter161 : this.disk_parts.entrySet()) { + oprot.writeI32(_iter161.getKey()); { - oprot.writeMapBegin(new TMap(TType.STRING, TType.STRUCT, _iter177.getValue().size())); - for (Map.Entry _iter178 : _iter177.getValue().entrySet()) { - oprot.writeBinary(_iter178.getKey()); - _iter178.getValue().write(oprot); + oprot.writeMapBegin(new TMap(TType.STRING, TType.STRUCT, _iter161.getValue().size())); + for (Map.Entry _iter162 : _iter161.getValue().entrySet()) { + oprot.writeBinary(_iter162.getKey()); + _iter162.getValue().write(oprot); } oprot.writeMapEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/HostBackupInfo.java b/client/src/main/generated/com/vesoft/nebula/meta/HostBackupInfo.java index e1724f832..ad98756d4 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/HostBackupInfo.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/HostBackupInfo.java @@ -268,16 +268,16 @@ public void read(TProtocol iprot) throws TException { case CHECKPOINTS: if (__field.type == TType.LIST) { { - TList _list265 = iprot.readListBegin(); - this.checkpoints = new ArrayList(Math.max(0, _list265.size)); - for (int _i266 = 0; - (_list265.size < 0) ? iprot.peekList() : (_i266 < _list265.size); - ++_i266) + TList _list253 = iprot.readListBegin(); + this.checkpoints = new ArrayList(Math.max(0, _list253.size)); + for (int _i254 = 0; + (_list253.size < 0) ? iprot.peekList() : (_i254 < _list253.size); + ++_i254) { - com.vesoft.nebula.CheckpointInfo _elem267; - _elem267 = new com.vesoft.nebula.CheckpointInfo(); - _elem267.read(iprot); - this.checkpoints.add(_elem267); + com.vesoft.nebula.CheckpointInfo _elem255; + _elem255 = new com.vesoft.nebula.CheckpointInfo(); + _elem255.read(iprot); + this.checkpoints.add(_elem255); } iprot.readListEnd(); } @@ -311,8 +311,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(CHECKPOINTS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.checkpoints.size())); - for (com.vesoft.nebula.CheckpointInfo _iter268 : this.checkpoints) { - _iter268.write(oprot); + for (com.vesoft.nebula.CheckpointInfo _iter256 : this.checkpoints) { + _iter256.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/HostRole.java b/client/src/main/generated/com/vesoft/nebula/meta/HostRole.java index 5b3fdf29f..78ee0e2ec 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/HostRole.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/HostRole.java @@ -16,7 +16,7 @@ public enum HostRole implements com.facebook.thrift.TEnum { GRAPH(0), META(1), STORAGE(2), - LISTENER(3), + STORAGE_LISTENER(3), AGENT(4), UNKNOWN(5); @@ -46,7 +46,7 @@ public static HostRole findByValue(int value) { case 2: return STORAGE; case 3: - return LISTENER; + return STORAGE_LISTENER; case 4: return AGENT; case 5: diff --git a/client/src/main/generated/com/vesoft/nebula/meta/JobDesc.java b/client/src/main/generated/com/vesoft/nebula/meta/JobDesc.java index b962981a1..e89bf086b 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/JobDesc.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/JobDesc.java @@ -26,19 +26,22 @@ @SuppressWarnings({ "unused", "serial" }) public class JobDesc implements TBase, java.io.Serializable, Cloneable, Comparable { private static final TStruct STRUCT_DESC = new TStruct("JobDesc"); - private static final TField ID_FIELD_DESC = new TField("id", TType.I32, (short)1); - private static final TField CMD_FIELD_DESC = new TField("cmd", TType.I32, (short)2); - private static final TField PARAS_FIELD_DESC = new TField("paras", TType.LIST, (short)3); - private static final TField STATUS_FIELD_DESC = new TField("status", TType.I32, (short)4); - private static final TField START_TIME_FIELD_DESC = new TField("start_time", TType.I64, (short)5); - private static final TField STOP_TIME_FIELD_DESC = new TField("stop_time", TType.I64, (short)6); - - public int id; + private static final TField SPACE_ID_FIELD_DESC = new TField("space_id", TType.I32, (short)1); + private static final TField JOB_ID_FIELD_DESC = new TField("job_id", TType.I32, (short)2); + private static final TField TYPE_FIELD_DESC = new TField("type", TType.I32, (short)3); + private static final TField PARAS_FIELD_DESC = new TField("paras", TType.LIST, (short)4); + private static final TField STATUS_FIELD_DESC = new TField("status", TType.I32, (short)5); + private static final TField START_TIME_FIELD_DESC = new TField("start_time", TType.I64, (short)6); + private static final TField STOP_TIME_FIELD_DESC = new TField("stop_time", TType.I64, (short)7); + private static final TField CODE_FIELD_DESC = new TField("code", TType.I32, (short)8); + + public int space_id; + public int job_id; /** * - * @see AdminCmd + * @see JobType */ - public AdminCmd cmd; + public JobType type; public List paras; /** * @@ -47,26 +50,36 @@ public class JobDesc implements TBase, java.io.Serializable, Cloneable, Comparab public JobStatus status; public long start_time; public long stop_time; - public static final int ID = 1; - public static final int CMD = 2; - public static final int PARAS = 3; - public static final int STATUS = 4; - public static final int START_TIME = 5; - public static final int STOP_TIME = 6; + /** + * + * @see com.vesoft.nebula.ErrorCode + */ + public com.vesoft.nebula.ErrorCode code; + public static final int SPACE_ID = 1; + public static final int JOB_ID = 2; + public static final int TYPE = 3; + public static final int PARAS = 4; + public static final int STATUS = 5; + public static final int START_TIME = 6; + public static final int STOP_TIME = 7; + public static final int CODE = 8; // isset id assignments - private static final int __ID_ISSET_ID = 0; - private static final int __START_TIME_ISSET_ID = 1; - private static final int __STOP_TIME_ISSET_ID = 2; - private BitSet __isset_bit_vector = new BitSet(3); + private static final int __SPACE_ID_ISSET_ID = 0; + private static final int __JOB_ID_ISSET_ID = 1; + private static final int __START_TIME_ISSET_ID = 2; + private static final int __STOP_TIME_ISSET_ID = 3; + private BitSet __isset_bit_vector = new BitSet(4); public static final Map metaDataMap; static { Map tmpMetaDataMap = new HashMap(); - tmpMetaDataMap.put(ID, new FieldMetaData("id", TFieldRequirementType.DEFAULT, + tmpMetaDataMap.put(SPACE_ID, new FieldMetaData("space_id", TFieldRequirementType.DEFAULT, + new FieldValueMetaData(TType.I32))); + tmpMetaDataMap.put(JOB_ID, new FieldMetaData("job_id", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.I32))); - tmpMetaDataMap.put(CMD, new FieldMetaData("cmd", TFieldRequirementType.DEFAULT, + tmpMetaDataMap.put(TYPE, new FieldMetaData("type", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.I32))); tmpMetaDataMap.put(PARAS, new FieldMetaData("paras", TFieldRequirementType.DEFAULT, new ListMetaData(TType.LIST, @@ -77,6 +90,8 @@ public class JobDesc implements TBase, java.io.Serializable, Cloneable, Comparab new FieldValueMetaData(TType.I64))); tmpMetaDataMap.put(STOP_TIME, new FieldMetaData("stop_time", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.I64))); + tmpMetaDataMap.put(CODE, new FieldMetaData("code", TFieldRequirementType.DEFAULT, + new FieldValueMetaData(TType.I32))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } @@ -88,45 +103,58 @@ public JobDesc() { } public JobDesc( - int id, - AdminCmd cmd, + int space_id, + int job_id, + JobType type, List paras, JobStatus status, long start_time, - long stop_time) { + long stop_time, + com.vesoft.nebula.ErrorCode code) { this(); - this.id = id; - setIdIsSet(true); - this.cmd = cmd; + this.space_id = space_id; + setSpace_idIsSet(true); + this.job_id = job_id; + setJob_idIsSet(true); + this.type = type; this.paras = paras; this.status = status; this.start_time = start_time; setStart_timeIsSet(true); this.stop_time = stop_time; setStop_timeIsSet(true); + this.code = code; } public static class Builder { - private int id; - private AdminCmd cmd; + private int space_id; + private int job_id; + private JobType type; private List paras; private JobStatus status; private long start_time; private long stop_time; + private com.vesoft.nebula.ErrorCode code; - BitSet __optional_isset = new BitSet(3); + BitSet __optional_isset = new BitSet(4); public Builder() { } - public Builder setId(final int id) { - this.id = id; - __optional_isset.set(__ID_ISSET_ID, true); + public Builder setSpace_id(final int space_id) { + this.space_id = space_id; + __optional_isset.set(__SPACE_ID_ISSET_ID, true); return this; } - public Builder setCmd(final AdminCmd cmd) { - this.cmd = cmd; + public Builder setJob_id(final int job_id) { + this.job_id = job_id; + __optional_isset.set(__JOB_ID_ISSET_ID, true); + return this; + } + + public Builder setType(final JobType type) { + this.type = type; return this; } @@ -152,12 +180,20 @@ public Builder setStop_time(final long stop_time) { return this; } + public Builder setCode(final com.vesoft.nebula.ErrorCode code) { + this.code = code; + return this; + } + public JobDesc build() { JobDesc result = new JobDesc(); - if (__optional_isset.get(__ID_ISSET_ID)) { - result.setId(this.id); + if (__optional_isset.get(__SPACE_ID_ISSET_ID)) { + result.setSpace_id(this.space_id); + } + if (__optional_isset.get(__JOB_ID_ISSET_ID)) { + result.setJob_id(this.job_id); } - result.setCmd(this.cmd); + result.setType(this.type); result.setParas(this.paras); result.setStatus(this.status); if (__optional_isset.get(__START_TIME_ISSET_ID)) { @@ -166,6 +202,7 @@ public JobDesc build() { if (__optional_isset.get(__STOP_TIME_ISSET_ID)) { result.setStop_time(this.stop_time); } + result.setCode(this.code); return result; } } @@ -180,9 +217,10 @@ public static Builder builder() { public JobDesc(JobDesc other) { __isset_bit_vector.clear(); __isset_bit_vector.or(other.__isset_bit_vector); - this.id = TBaseHelper.deepCopy(other.id); - if (other.isSetCmd()) { - this.cmd = TBaseHelper.deepCopy(other.cmd); + this.space_id = TBaseHelper.deepCopy(other.space_id); + this.job_id = TBaseHelper.deepCopy(other.job_id); + if (other.isSetType()) { + this.type = TBaseHelper.deepCopy(other.type); } if (other.isSetParas()) { this.paras = TBaseHelper.deepCopy(other.paras); @@ -192,64 +230,90 @@ public JobDesc(JobDesc other) { } this.start_time = TBaseHelper.deepCopy(other.start_time); this.stop_time = TBaseHelper.deepCopy(other.stop_time); + if (other.isSetCode()) { + this.code = TBaseHelper.deepCopy(other.code); + } } public JobDesc deepCopy() { return new JobDesc(this); } - public int getId() { - return this.id; + public int getSpace_id() { + return this.space_id; } - public JobDesc setId(int id) { - this.id = id; - setIdIsSet(true); + public JobDesc setSpace_id(int space_id) { + this.space_id = space_id; + setSpace_idIsSet(true); return this; } - public void unsetId() { - __isset_bit_vector.clear(__ID_ISSET_ID); + public void unsetSpace_id() { + __isset_bit_vector.clear(__SPACE_ID_ISSET_ID); } - // Returns true if field id is set (has been assigned a value) and false otherwise - public boolean isSetId() { - return __isset_bit_vector.get(__ID_ISSET_ID); + // Returns true if field space_id is set (has been assigned a value) and false otherwise + public boolean isSetSpace_id() { + return __isset_bit_vector.get(__SPACE_ID_ISSET_ID); } - public void setIdIsSet(boolean __value) { - __isset_bit_vector.set(__ID_ISSET_ID, __value); + public void setSpace_idIsSet(boolean __value) { + __isset_bit_vector.set(__SPACE_ID_ISSET_ID, __value); + } + + public int getJob_id() { + return this.job_id; + } + + public JobDesc setJob_id(int job_id) { + this.job_id = job_id; + setJob_idIsSet(true); + return this; + } + + public void unsetJob_id() { + __isset_bit_vector.clear(__JOB_ID_ISSET_ID); + } + + // Returns true if field job_id is set (has been assigned a value) and false otherwise + public boolean isSetJob_id() { + return __isset_bit_vector.get(__JOB_ID_ISSET_ID); + } + + public void setJob_idIsSet(boolean __value) { + __isset_bit_vector.set(__JOB_ID_ISSET_ID, __value); } /** * - * @see AdminCmd + * @see JobType */ - public AdminCmd getCmd() { - return this.cmd; + public JobType getType() { + return this.type; } /** * - * @see AdminCmd + * @see JobType */ - public JobDesc setCmd(AdminCmd cmd) { - this.cmd = cmd; + public JobDesc setType(JobType type) { + this.type = type; return this; } - public void unsetCmd() { - this.cmd = null; + public void unsetType() { + this.type = null; } - // Returns true if field cmd is set (has been assigned a value) and false otherwise - public boolean isSetCmd() { - return this.cmd != null; + // Returns true if field type is set (has been assigned a value) and false otherwise + public boolean isSetType() { + return this.type != null; } - public void setCmdIsSet(boolean __value) { + public void setTypeIsSet(boolean __value) { if (!__value) { - this.cmd = null; + this.type = null; } } @@ -355,22 +419,62 @@ public void setStop_timeIsSet(boolean __value) { __isset_bit_vector.set(__STOP_TIME_ISSET_ID, __value); } + /** + * + * @see com.vesoft.nebula.ErrorCode + */ + public com.vesoft.nebula.ErrorCode getCode() { + return this.code; + } + + /** + * + * @see com.vesoft.nebula.ErrorCode + */ + public JobDesc setCode(com.vesoft.nebula.ErrorCode code) { + this.code = code; + return this; + } + + public void unsetCode() { + this.code = null; + } + + // Returns true if field code is set (has been assigned a value) and false otherwise + public boolean isSetCode() { + return this.code != null; + } + + public void setCodeIsSet(boolean __value) { + if (!__value) { + this.code = null; + } + } + @SuppressWarnings("unchecked") public void setFieldValue(int fieldID, Object __value) { switch (fieldID) { - case ID: + case SPACE_ID: + if (__value == null) { + unsetSpace_id(); + } else { + setSpace_id((Integer)__value); + } + break; + + case JOB_ID: if (__value == null) { - unsetId(); + unsetJob_id(); } else { - setId((Integer)__value); + setJob_id((Integer)__value); } break; - case CMD: + case TYPE: if (__value == null) { - unsetCmd(); + unsetType(); } else { - setCmd((AdminCmd)__value); + setType((JobType)__value); } break; @@ -406,6 +510,14 @@ public void setFieldValue(int fieldID, Object __value) { } break; + case CODE: + if (__value == null) { + unsetCode(); + } else { + setCode((com.vesoft.nebula.ErrorCode)__value); + } + break; + default: throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); } @@ -413,11 +525,14 @@ public void setFieldValue(int fieldID, Object __value) { public Object getFieldValue(int fieldID) { switch (fieldID) { - case ID: - return new Integer(getId()); + case SPACE_ID: + return new Integer(getSpace_id()); + + case JOB_ID: + return new Integer(getJob_id()); - case CMD: - return getCmd(); + case TYPE: + return getType(); case PARAS: return getParas(); @@ -431,6 +546,9 @@ public Object getFieldValue(int fieldID) { case STOP_TIME: return new Long(getStop_time()); + case CODE: + return getCode(); + default: throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); } @@ -446,9 +564,11 @@ public boolean equals(Object _that) { return false; JobDesc that = (JobDesc)_that; - if (!TBaseHelper.equalsNobinary(this.id, that.id)) { return false; } + if (!TBaseHelper.equalsNobinary(this.space_id, that.space_id)) { return false; } + + if (!TBaseHelper.equalsNobinary(this.job_id, that.job_id)) { return false; } - if (!TBaseHelper.equalsNobinary(this.isSetCmd(), that.isSetCmd(), this.cmd, that.cmd)) { return false; } + if (!TBaseHelper.equalsNobinary(this.isSetType(), that.isSetType(), this.type, that.type)) { return false; } if (!TBaseHelper.equalsNobinary(this.isSetParas(), that.isSetParas(), this.paras, that.paras)) { return false; } @@ -458,12 +578,14 @@ public boolean equals(Object _that) { if (!TBaseHelper.equalsNobinary(this.stop_time, that.stop_time)) { return false; } + if (!TBaseHelper.equalsNobinary(this.isSetCode(), that.isSetCode(), this.code, that.code)) { return false; } + return true; } @Override public int hashCode() { - return Arrays.deepHashCode(new Object[] {id, cmd, paras, status, start_time, stop_time}); + return Arrays.deepHashCode(new Object[] {space_id, job_id, type, paras, status, start_time, stop_time, code}); } @Override @@ -478,19 +600,27 @@ public int compareTo(JobDesc other) { } int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetId()).compareTo(other.isSetId()); + lastComparison = Boolean.valueOf(isSetSpace_id()).compareTo(other.isSetSpace_id()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(space_id, other.space_id); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = Boolean.valueOf(isSetJob_id()).compareTo(other.isSetJob_id()); if (lastComparison != 0) { return lastComparison; } - lastComparison = TBaseHelper.compareTo(id, other.id); + lastComparison = TBaseHelper.compareTo(job_id, other.job_id); if (lastComparison != 0) { return lastComparison; } - lastComparison = Boolean.valueOf(isSetCmd()).compareTo(other.isSetCmd()); + lastComparison = Boolean.valueOf(isSetType()).compareTo(other.isSetType()); if (lastComparison != 0) { return lastComparison; } - lastComparison = TBaseHelper.compareTo(cmd, other.cmd); + lastComparison = TBaseHelper.compareTo(type, other.type); if (lastComparison != 0) { return lastComparison; } @@ -526,6 +656,14 @@ public int compareTo(JobDesc other) { if (lastComparison != 0) { return lastComparison; } + lastComparison = Boolean.valueOf(isSetCode()).compareTo(other.isSetCode()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(code, other.code); + if (lastComparison != 0) { + return lastComparison; + } return 0; } @@ -540,17 +678,25 @@ public void read(TProtocol iprot) throws TException { } switch (__field.id) { - case ID: + case SPACE_ID: if (__field.type == TType.I32) { - this.id = iprot.readI32(); - setIdIsSet(true); + this.space_id = iprot.readI32(); + setSpace_idIsSet(true); } else { TProtocolUtil.skip(iprot, __field.type); } break; - case CMD: + case JOB_ID: if (__field.type == TType.I32) { - this.cmd = AdminCmd.findByValue(iprot.readI32()); + this.job_id = iprot.readI32(); + setJob_idIsSet(true); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + case TYPE: + if (__field.type == TType.I32) { + this.type = JobType.findByValue(iprot.readI32()); } else { TProtocolUtil.skip(iprot, __field.type); } @@ -597,6 +743,13 @@ public void read(TProtocol iprot) throws TException { TProtocolUtil.skip(iprot, __field.type); } break; + case CODE: + if (__field.type == TType.I32) { + this.code = com.vesoft.nebula.ErrorCode.findByValue(iprot.readI32()); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; default: TProtocolUtil.skip(iprot, __field.type); break; @@ -614,12 +767,15 @@ public void write(TProtocol oprot) throws TException { validate(); oprot.writeStructBegin(STRUCT_DESC); - oprot.writeFieldBegin(ID_FIELD_DESC); - oprot.writeI32(this.id); + oprot.writeFieldBegin(SPACE_ID_FIELD_DESC); + oprot.writeI32(this.space_id); + oprot.writeFieldEnd(); + oprot.writeFieldBegin(JOB_ID_FIELD_DESC); + oprot.writeI32(this.job_id); oprot.writeFieldEnd(); - if (this.cmd != null) { - oprot.writeFieldBegin(CMD_FIELD_DESC); - oprot.writeI32(this.cmd == null ? 0 : this.cmd.getValue()); + if (this.type != null) { + oprot.writeFieldBegin(TYPE_FIELD_DESC); + oprot.writeI32(this.type == null ? 0 : this.type.getValue()); oprot.writeFieldEnd(); } if (this.paras != null) { @@ -644,6 +800,11 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(STOP_TIME_FIELD_DESC); oprot.writeI64(this.stop_time); oprot.writeFieldEnd(); + if (this.code != null) { + oprot.writeFieldBegin(CODE_FIELD_DESC); + oprot.writeI32(this.code == null ? 0 : this.code.getValue()); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -665,26 +826,33 @@ public String toString(int indent, boolean prettyPrint) { boolean first = true; sb.append(indentStr); - sb.append("id"); + sb.append("space_id"); + sb.append(space); + sb.append(":").append(space); + sb.append(TBaseHelper.toString(this.getSpace_id(), indent + 1, prettyPrint)); + first = false; + if (!first) sb.append("," + newLine); + sb.append(indentStr); + sb.append("job_id"); sb.append(space); sb.append(":").append(space); - sb.append(TBaseHelper.toString(this.getId(), indent + 1, prettyPrint)); + sb.append(TBaseHelper.toString(this.getJob_id(), indent + 1, prettyPrint)); first = false; if (!first) sb.append("," + newLine); sb.append(indentStr); - sb.append("cmd"); + sb.append("type"); sb.append(space); sb.append(":").append(space); - if (this.getCmd() == null) { + if (this.getType() == null) { sb.append("null"); } else { - String cmd_name = this.getCmd() == null ? "null" : this.getCmd().name(); - if (cmd_name != null) { - sb.append(cmd_name); + String type_name = this.getType() == null ? "null" : this.getType().name(); + if (type_name != null) { + sb.append(type_name); sb.append(" ("); } - sb.append(this.getCmd()); - if (cmd_name != null) { + sb.append(this.getType()); + if (type_name != null) { sb.append(")"); } } @@ -733,6 +901,25 @@ public String toString(int indent, boolean prettyPrint) { sb.append(":").append(space); sb.append(TBaseHelper.toString(this.getStop_time(), indent + 1, prettyPrint)); first = false; + if (!first) sb.append("," + newLine); + sb.append(indentStr); + sb.append("code"); + sb.append(space); + sb.append(":").append(space); + if (this.getCode() == null) { + sb.append("null"); + } else { + String code_name = this.getCode() == null ? "null" : this.getCode().name(); + if (code_name != null) { + sb.append(code_name); + sb.append(" ("); + } + sb.append(this.getCode()); + if (code_name != null) { + sb.append(")"); + } + } + first = false; sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); sb.append(")"); return sb.toString(); diff --git a/client/src/main/generated/com/vesoft/nebula/meta/AdminJobOp.java b/client/src/main/generated/com/vesoft/nebula/meta/JobOp.java similarity index 86% rename from client/src/main/generated/com/vesoft/nebula/meta/AdminJobOp.java rename to client/src/main/generated/com/vesoft/nebula/meta/JobOp.java index 5b896bad6..316a6a5c1 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/AdminJobOp.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/JobOp.java @@ -12,7 +12,7 @@ import java.util.HashMap; @SuppressWarnings({ "unused" }) -public enum AdminJobOp implements com.facebook.thrift.TEnum { +public enum JobOp implements com.facebook.thrift.TEnum { ADD(1), SHOW_All(2), SHOW(3), @@ -21,7 +21,7 @@ public enum AdminJobOp implements com.facebook.thrift.TEnum { private final int value; - private AdminJobOp(int value) { + private JobOp(int value) { this.value = value; } @@ -36,7 +36,7 @@ public int getValue() { * Find a the enum type by its integer value, as defined in the Thrift IDL. * @return null if the value is not found. */ - public static AdminJobOp findByValue(int value) { + public static JobOp findByValue(int value) { switch (value) { case 1: return ADD; diff --git a/client/src/main/generated/com/vesoft/nebula/meta/AdminCmd.java b/client/src/main/generated/com/vesoft/nebula/meta/JobType.java similarity index 90% rename from client/src/main/generated/com/vesoft/nebula/meta/AdminCmd.java rename to client/src/main/generated/com/vesoft/nebula/meta/JobType.java index eda2d0e11..19a808cfb 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/AdminCmd.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/JobType.java @@ -12,7 +12,7 @@ import java.util.HashMap; @SuppressWarnings({ "unused" }) -public enum AdminCmd implements com.facebook.thrift.TEnum { +public enum JobType implements com.facebook.thrift.TEnum { COMPACT(0), FLUSH(1), REBUILD_TAG_INDEX(2), @@ -28,7 +28,7 @@ public enum AdminCmd implements com.facebook.thrift.TEnum { private final int value; - private AdminCmd(int value) { + private JobType(int value) { this.value = value; } @@ -43,7 +43,7 @@ public int getValue() { * Find a the enum type by its integer value, as defined in the Thrift IDL. * @return null if the value is not found. */ - public static AdminCmd findByValue(int value) { + public static JobType findByValue(int value) { switch (value) { case 0: return COMPACT; diff --git a/client/src/main/generated/com/vesoft/nebula/meta/KillQueryReq.java b/client/src/main/generated/com/vesoft/nebula/meta/KillQueryReq.java index b1a8aca99..aac9c00fb 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/KillQueryReq.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/KillQueryReq.java @@ -200,29 +200,29 @@ public void read(TProtocol iprot) throws TException { case KILL_QUERIES: if (__field.type == TType.MAP) { { - TMap _map344 = iprot.readMapBegin(); - this.kill_queries = new HashMap>(Math.max(0, 2*_map344.size)); - for (int _i345 = 0; - (_map344.size < 0) ? iprot.peekMap() : (_i345 < _map344.size); - ++_i345) + TMap _map361 = iprot.readMapBegin(); + this.kill_queries = new HashMap>(Math.max(0, 2*_map361.size)); + for (int _i362 = 0; + (_map361.size < 0) ? iprot.peekMap() : (_i362 < _map361.size); + ++_i362) { - long _key346; - Set _val347; - _key346 = iprot.readI64(); + long _key363; + Set _val364; + _key363 = iprot.readI64(); { - TSet _set348 = iprot.readSetBegin(); - _val347 = new HashSet(Math.max(0, 2*_set348.size)); - for (int _i349 = 0; - (_set348.size < 0) ? iprot.peekSet() : (_i349 < _set348.size); - ++_i349) + TSet _set365 = iprot.readSetBegin(); + _val364 = new HashSet(Math.max(0, 2*_set365.size)); + for (int _i366 = 0; + (_set365.size < 0) ? iprot.peekSet() : (_i366 < _set365.size); + ++_i366) { - long _elem350; - _elem350 = iprot.readI64(); - _val347.add(_elem350); + long _elem367; + _elem367 = iprot.readI64(); + _val364.add(_elem367); } iprot.readSetEnd(); } - this.kill_queries.put(_key346, _val347); + this.kill_queries.put(_key363, _val364); } iprot.readMapEnd(); } @@ -251,12 +251,12 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(KILL_QUERIES_FIELD_DESC); { oprot.writeMapBegin(new TMap(TType.I64, TType.SET, this.kill_queries.size())); - for (Map.Entry> _iter351 : this.kill_queries.entrySet()) { - oprot.writeI64(_iter351.getKey()); + for (Map.Entry> _iter368 : this.kill_queries.entrySet()) { + oprot.writeI64(_iter368.getKey()); { - oprot.writeSetBegin(new TSet(TType.I64, _iter351.getValue().size())); - for (long _iter352 : _iter351.getValue()) { - oprot.writeI64(_iter352); + oprot.writeSetBegin(new TSet(TType.I64, _iter368.getValue().size())); + for (long _iter369 : _iter368.getValue()) { + oprot.writeI64(_iter369); } oprot.writeSetEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/ListClusterInfoResp.java b/client/src/main/generated/com/vesoft/nebula/meta/ListClusterInfoResp.java index e4b60f5e1..b253bc700 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/ListClusterInfoResp.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/ListClusterInfoResp.java @@ -351,30 +351,30 @@ public void read(TProtocol iprot) throws TException { case HOST_SERVICES: if (__field.type == TType.MAP) { { - TMap _map353 = iprot.readMapBegin(); - this.host_services = new HashMap>(Math.max(0, 2*_map353.size)); - for (int _i354 = 0; - (_map353.size < 0) ? iprot.peekMap() : (_i354 < _map353.size); - ++_i354) + TMap _map370 = iprot.readMapBegin(); + this.host_services = new HashMap>(Math.max(0, 2*_map370.size)); + for (int _i371 = 0; + (_map370.size < 0) ? iprot.peekMap() : (_i371 < _map370.size); + ++_i371) { - String _key355; - List _val356; - _key355 = iprot.readString(); + String _key372; + List _val373; + _key372 = iprot.readString(); { - TList _list357 = iprot.readListBegin(); - _val356 = new ArrayList(Math.max(0, _list357.size)); - for (int _i358 = 0; - (_list357.size < 0) ? iprot.peekList() : (_i358 < _list357.size); - ++_i358) + TList _list374 = iprot.readListBegin(); + _val373 = new ArrayList(Math.max(0, _list374.size)); + for (int _i375 = 0; + (_list374.size < 0) ? iprot.peekList() : (_i375 < _list374.size); + ++_i375) { - ServiceInfo _elem359; - _elem359 = new ServiceInfo(); - _elem359.read(iprot); - _val356.add(_elem359); + ServiceInfo _elem376; + _elem376 = new ServiceInfo(); + _elem376.read(iprot); + _val373.add(_elem376); } iprot.readListEnd(); } - this.host_services.put(_key355, _val356); + this.host_services.put(_key372, _val373); } iprot.readMapEnd(); } @@ -413,12 +413,12 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(HOST_SERVICES_FIELD_DESC); { oprot.writeMapBegin(new TMap(TType.STRING, TType.LIST, this.host_services.size())); - for (Map.Entry> _iter360 : this.host_services.entrySet()) { - oprot.writeString(_iter360.getKey()); + for (Map.Entry> _iter377 : this.host_services.entrySet()) { + oprot.writeString(_iter377.getKey()); { - oprot.writeListBegin(new TList(TType.STRUCT, _iter360.getValue().size())); - for (ServiceInfo _iter361 : _iter360.getValue()) { - _iter361.write(oprot); + oprot.writeListBegin(new TList(TType.STRUCT, _iter377.getValue().size())); + for (ServiceInfo _iter378 : _iter377.getValue()) { + _iter378.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/ListConfigsResp.java b/client/src/main/generated/com/vesoft/nebula/meta/ListConfigsResp.java index 8e5a79268..294bcd5b6 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/ListConfigsResp.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/ListConfigsResp.java @@ -310,16 +310,16 @@ public void read(TProtocol iprot) throws TException { case ITEMS: if (__field.type == TType.LIST) { { - TList _list216 = iprot.readListBegin(); - this.items = new ArrayList(Math.max(0, _list216.size)); - for (int _i217 = 0; - (_list216.size < 0) ? iprot.peekList() : (_i217 < _list216.size); - ++_i217) + TList _list200 = iprot.readListBegin(); + this.items = new ArrayList(Math.max(0, _list200.size)); + for (int _i201 = 0; + (_list200.size < 0) ? iprot.peekList() : (_i201 < _list200.size); + ++_i201) { - ConfigItem _elem218; - _elem218 = new ConfigItem(); - _elem218.read(iprot); - this.items.add(_elem218); + ConfigItem _elem202; + _elem202 = new ConfigItem(); + _elem202.read(iprot); + this.items.add(_elem202); } iprot.readListEnd(); } @@ -358,8 +358,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(ITEMS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.items.size())); - for (ConfigItem _iter219 : this.items) { - _iter219.write(oprot); + for (ConfigItem _iter203 : this.items) { + _iter203.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/ListEdgeIndexesResp.java b/client/src/main/generated/com/vesoft/nebula/meta/ListEdgeIndexesResp.java index 3d1932f0f..595533fa9 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/ListEdgeIndexesResp.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/ListEdgeIndexesResp.java @@ -349,16 +349,16 @@ public void read(TProtocol iprot) throws TException { case ITEMS: if (__field.type == TType.LIST) { { - TList _list195 = iprot.readListBegin(); - this.items = new ArrayList(Math.max(0, _list195.size)); - for (int _i196 = 0; - (_list195.size < 0) ? iprot.peekList() : (_i196 < _list195.size); - ++_i196) + TList _list179 = iprot.readListBegin(); + this.items = new ArrayList(Math.max(0, _list179.size)); + for (int _i180 = 0; + (_list179.size < 0) ? iprot.peekList() : (_i180 < _list179.size); + ++_i180) { - IndexItem _elem197; - _elem197 = new IndexItem(); - _elem197.read(iprot); - this.items.add(_elem197); + IndexItem _elem181; + _elem181 = new IndexItem(); + _elem181.read(iprot); + this.items.add(_elem181); } iprot.readListEnd(); } @@ -397,8 +397,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(ITEMS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.items.size())); - for (IndexItem _iter198 : this.items) { - _iter198.write(oprot); + for (IndexItem _iter182 : this.items) { + _iter182.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/ListFTIndexesResp.java b/client/src/main/generated/com/vesoft/nebula/meta/ListFTIndexesResp.java index 2385418a8..ade2334f1 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/ListFTIndexesResp.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/ListFTIndexesResp.java @@ -350,18 +350,18 @@ public void read(TProtocol iprot) throws TException { case INDEXES: if (__field.type == TType.MAP) { { - TMap _map311 = iprot.readMapBegin(); - this.indexes = new HashMap(Math.max(0, 2*_map311.size)); - for (int _i312 = 0; - (_map311.size < 0) ? iprot.peekMap() : (_i312 < _map311.size); - ++_i312) + TMap _map316 = iprot.readMapBegin(); + this.indexes = new HashMap(Math.max(0, 2*_map316.size)); + for (int _i317 = 0; + (_map316.size < 0) ? iprot.peekMap() : (_i317 < _map316.size); + ++_i317) { - byte[] _key313; - FTIndex _val314; - _key313 = iprot.readBinary(); - _val314 = new FTIndex(); - _val314.read(iprot); - this.indexes.put(_key313, _val314); + byte[] _key318; + FTIndex _val319; + _key318 = iprot.readBinary(); + _val319 = new FTIndex(); + _val319.read(iprot); + this.indexes.put(_key318, _val319); } iprot.readMapEnd(); } @@ -400,9 +400,9 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(INDEXES_FIELD_DESC); { oprot.writeMapBegin(new TMap(TType.STRING, TType.STRUCT, this.indexes.size())); - for (Map.Entry _iter315 : this.indexes.entrySet()) { - oprot.writeBinary(_iter315.getKey()); - _iter315.getValue().write(oprot); + for (Map.Entry _iter320 : this.indexes.entrySet()) { + oprot.writeBinary(_iter320.getKey()); + _iter320.getValue().write(oprot); } oprot.writeMapEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/ListHostType.java b/client/src/main/generated/com/vesoft/nebula/meta/ListHostType.java index 5746a41e9..f2b3eb769 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/ListHostType.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/ListHostType.java @@ -17,7 +17,8 @@ public enum ListHostType implements com.facebook.thrift.TEnum { GRAPH(1), META(2), STORAGE(3), - AGENT(4); + AGENT(4), + STORAGE_LISTENER(5); private final int value; @@ -48,6 +49,8 @@ public static ListHostType findByValue(int value) { return STORAGE; case 4: return AGENT; + case 5: + return STORAGE_LISTENER; default: return null; } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/ListIndexStatusResp.java b/client/src/main/generated/com/vesoft/nebula/meta/ListIndexStatusResp.java index 2b7a9e69b..a75346c77 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/ListIndexStatusResp.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/ListIndexStatusResp.java @@ -349,16 +349,16 @@ public void read(TProtocol iprot) throws TException { case STATUSES: if (__field.type == TType.LIST) { { - TList _list224 = iprot.readListBegin(); - this.statuses = new ArrayList(Math.max(0, _list224.size)); - for (int _i225 = 0; - (_list224.size < 0) ? iprot.peekList() : (_i225 < _list224.size); - ++_i225) + TList _list212 = iprot.readListBegin(); + this.statuses = new ArrayList(Math.max(0, _list212.size)); + for (int _i213 = 0; + (_list212.size < 0) ? iprot.peekList() : (_i213 < _list212.size); + ++_i213) { - IndexStatus _elem226; - _elem226 = new IndexStatus(); - _elem226.read(iprot); - this.statuses.add(_elem226); + IndexStatus _elem214; + _elem214 = new IndexStatus(); + _elem214.read(iprot); + this.statuses.add(_elem214); } iprot.readListEnd(); } @@ -397,8 +397,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(STATUSES_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.statuses.size())); - for (IndexStatus _iter227 : this.statuses) { - _iter227.write(oprot); + for (IndexStatus _iter215 : this.statuses) { + _iter215.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/ListListenerResp.java b/client/src/main/generated/com/vesoft/nebula/meta/ListListenerResp.java index 7fa5f5b72..754cc8f3b 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/ListListenerResp.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/ListListenerResp.java @@ -349,16 +349,16 @@ public void read(TProtocol iprot) throws TException { case LISTENERS: if (__field.type == TType.LIST) { { - TList _list261 = iprot.readListBegin(); - this.listeners = new ArrayList(Math.max(0, _list261.size)); - for (int _i262 = 0; - (_list261.size < 0) ? iprot.peekList() : (_i262 < _list261.size); - ++_i262) + TList _list249 = iprot.readListBegin(); + this.listeners = new ArrayList(Math.max(0, _list249.size)); + for (int _i250 = 0; + (_list249.size < 0) ? iprot.peekList() : (_i250 < _list249.size); + ++_i250) { - ListenerInfo _elem263; - _elem263 = new ListenerInfo(); - _elem263.read(iprot); - this.listeners.add(_elem263); + ListenerInfo _elem251; + _elem251 = new ListenerInfo(); + _elem251.read(iprot); + this.listeners.add(_elem251); } iprot.readListEnd(); } @@ -397,8 +397,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(LISTENERS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.listeners.size())); - for (ListenerInfo _iter264 : this.listeners) { - _iter264.write(oprot); + for (ListenerInfo _iter252 : this.listeners) { + _iter252.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/ListRolesResp.java b/client/src/main/generated/com/vesoft/nebula/meta/ListRolesResp.java index b37db083a..4e74b3694 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/ListRolesResp.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/ListRolesResp.java @@ -349,16 +349,16 @@ public void read(TProtocol iprot) throws TException { case ROLES: if (__field.type == TType.LIST) { { - TList _list204 = iprot.readListBegin(); - this.roles = new ArrayList(Math.max(0, _list204.size)); - for (int _i205 = 0; - (_list204.size < 0) ? iprot.peekList() : (_i205 < _list204.size); - ++_i205) + TList _list188 = iprot.readListBegin(); + this.roles = new ArrayList(Math.max(0, _list188.size)); + for (int _i189 = 0; + (_list188.size < 0) ? iprot.peekList() : (_i189 < _list188.size); + ++_i189) { - RoleItem _elem206; - _elem206 = new RoleItem(); - _elem206.read(iprot); - this.roles.add(_elem206); + RoleItem _elem190; + _elem190 = new RoleItem(); + _elem190.read(iprot); + this.roles.add(_elem190); } iprot.readListEnd(); } @@ -397,8 +397,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(ROLES_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.roles.size())); - for (RoleItem _iter207 : this.roles) { - _iter207.write(oprot); + for (RoleItem _iter191 : this.roles) { + _iter191.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/ListServiceClientsResp.java b/client/src/main/generated/com/vesoft/nebula/meta/ListServiceClientsResp.java index 3705db38c..c2366f10f 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/ListServiceClientsResp.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/ListServiceClientsResp.java @@ -351,30 +351,30 @@ public void read(TProtocol iprot) throws TException { case CLIENTS: if (__field.type == TType.MAP) { { - TMap _map298 = iprot.readMapBegin(); - this.clients = new HashMap>(Math.max(0, 2*_map298.size)); - for (int _i299 = 0; - (_map298.size < 0) ? iprot.peekMap() : (_i299 < _map298.size); - ++_i299) + TMap _map303 = iprot.readMapBegin(); + this.clients = new HashMap>(Math.max(0, 2*_map303.size)); + for (int _i304 = 0; + (_map303.size < 0) ? iprot.peekMap() : (_i304 < _map303.size); + ++_i304) { - ExternalServiceType _key300; - List _val301; - _key300 = ExternalServiceType.findByValue(iprot.readI32()); + ExternalServiceType _key305; + List _val306; + _key305 = ExternalServiceType.findByValue(iprot.readI32()); { - TList _list302 = iprot.readListBegin(); - _val301 = new ArrayList(Math.max(0, _list302.size)); - for (int _i303 = 0; - (_list302.size < 0) ? iprot.peekList() : (_i303 < _list302.size); - ++_i303) + TList _list307 = iprot.readListBegin(); + _val306 = new ArrayList(Math.max(0, _list307.size)); + for (int _i308 = 0; + (_list307.size < 0) ? iprot.peekList() : (_i308 < _list307.size); + ++_i308) { - ServiceClient _elem304; - _elem304 = new ServiceClient(); - _elem304.read(iprot); - _val301.add(_elem304); + ServiceClient _elem309; + _elem309 = new ServiceClient(); + _elem309.read(iprot); + _val306.add(_elem309); } iprot.readListEnd(); } - this.clients.put(_key300, _val301); + this.clients.put(_key305, _val306); } iprot.readMapEnd(); } @@ -413,12 +413,12 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(CLIENTS_FIELD_DESC); { oprot.writeMapBegin(new TMap(TType.I32, TType.LIST, this.clients.size())); - for (Map.Entry> _iter305 : this.clients.entrySet()) { - oprot.writeI32(_iter305.getKey() == null ? 0 : _iter305.getKey().getValue()); + for (Map.Entry> _iter310 : this.clients.entrySet()) { + oprot.writeI32(_iter310.getKey() == null ? 0 : _iter310.getKey().getValue()); { - oprot.writeListBegin(new TList(TType.STRUCT, _iter305.getValue().size())); - for (ServiceClient _iter306 : _iter305.getValue()) { - _iter306.write(oprot); + oprot.writeListBegin(new TList(TType.STRUCT, _iter310.getValue().size())); + for (ServiceClient _iter311 : _iter310.getValue()) { + _iter311.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/ListSessionsResp.java b/client/src/main/generated/com/vesoft/nebula/meta/ListSessionsResp.java index 7dd541675..dc649a50b 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/ListSessionsResp.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/ListSessionsResp.java @@ -310,16 +310,16 @@ public void read(TProtocol iprot) throws TException { case SESSIONS: if (__field.type == TType.LIST) { { - TList _list340 = iprot.readListBegin(); - this.sessions = new ArrayList(Math.max(0, _list340.size)); - for (int _i341 = 0; - (_list340.size < 0) ? iprot.peekList() : (_i341 < _list340.size); - ++_i341) + TList _list349 = iprot.readListBegin(); + this.sessions = new ArrayList(Math.max(0, _list349.size)); + for (int _i350 = 0; + (_list349.size < 0) ? iprot.peekList() : (_i350 < _list349.size); + ++_i350) { - Session _elem342; - _elem342 = new Session(); - _elem342.read(iprot); - this.sessions.add(_elem342); + Session _elem351; + _elem351 = new Session(); + _elem351.read(iprot); + this.sessions.add(_elem351); } iprot.readListEnd(); } @@ -358,8 +358,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(SESSIONS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.sessions.size())); - for (Session _iter343 : this.sessions) { - _iter343.write(oprot); + for (Session _iter352 : this.sessions) { + _iter352.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/ListSnapshotsResp.java b/client/src/main/generated/com/vesoft/nebula/meta/ListSnapshotsResp.java index 2c6e80f1b..0a49b69f1 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/ListSnapshotsResp.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/ListSnapshotsResp.java @@ -349,16 +349,16 @@ public void read(TProtocol iprot) throws TException { case SNAPSHOTS: if (__field.type == TType.LIST) { { - TList _list220 = iprot.readListBegin(); - this.snapshots = new ArrayList(Math.max(0, _list220.size)); - for (int _i221 = 0; - (_list220.size < 0) ? iprot.peekList() : (_i221 < _list220.size); - ++_i221) + TList _list208 = iprot.readListBegin(); + this.snapshots = new ArrayList(Math.max(0, _list208.size)); + for (int _i209 = 0; + (_list208.size < 0) ? iprot.peekList() : (_i209 < _list208.size); + ++_i209) { - Snapshot _elem222; - _elem222 = new Snapshot(); - _elem222.read(iprot); - this.snapshots.add(_elem222); + Snapshot _elem210; + _elem210 = new Snapshot(); + _elem210.read(iprot); + this.snapshots.add(_elem210); } iprot.readListEnd(); } @@ -397,8 +397,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(SNAPSHOTS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.snapshots.size())); - for (Snapshot _iter223 : this.snapshots) { - _iter223.write(oprot); + for (Snapshot _iter211 : this.snapshots) { + _iter211.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/ListTagIndexesResp.java b/client/src/main/generated/com/vesoft/nebula/meta/ListTagIndexesResp.java index 1d23ea84a..3178e8543 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/ListTagIndexesResp.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/ListTagIndexesResp.java @@ -349,16 +349,16 @@ public void read(TProtocol iprot) throws TException { case ITEMS: if (__field.type == TType.LIST) { { - TList _list187 = iprot.readListBegin(); - this.items = new ArrayList(Math.max(0, _list187.size)); - for (int _i188 = 0; - (_list187.size < 0) ? iprot.peekList() : (_i188 < _list187.size); - ++_i188) + TList _list171 = iprot.readListBegin(); + this.items = new ArrayList(Math.max(0, _list171.size)); + for (int _i172 = 0; + (_list171.size < 0) ? iprot.peekList() : (_i172 < _list171.size); + ++_i172) { - IndexItem _elem189; - _elem189 = new IndexItem(); - _elem189.read(iprot); - this.items.add(_elem189); + IndexItem _elem173; + _elem173 = new IndexItem(); + _elem173.read(iprot); + this.items.add(_elem173); } iprot.readListEnd(); } @@ -397,8 +397,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(ITEMS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.items.size())); - for (IndexItem _iter190 : this.items) { - _iter190.write(oprot); + for (IndexItem _iter174 : this.items) { + _iter174.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/ListUsersResp.java b/client/src/main/generated/com/vesoft/nebula/meta/ListUsersResp.java index 85d1171d8..07fbaaa5a 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/ListUsersResp.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/ListUsersResp.java @@ -350,17 +350,17 @@ public void read(TProtocol iprot) throws TException { case USERS: if (__field.type == TType.MAP) { { - TMap _map199 = iprot.readMapBegin(); - this.users = new HashMap(Math.max(0, 2*_map199.size)); - for (int _i200 = 0; - (_map199.size < 0) ? iprot.peekMap() : (_i200 < _map199.size); - ++_i200) + TMap _map183 = iprot.readMapBegin(); + this.users = new HashMap(Math.max(0, 2*_map183.size)); + for (int _i184 = 0; + (_map183.size < 0) ? iprot.peekMap() : (_i184 < _map183.size); + ++_i184) { - byte[] _key201; - byte[] _val202; - _key201 = iprot.readBinary(); - _val202 = iprot.readBinary(); - this.users.put(_key201, _val202); + byte[] _key185; + byte[] _val186; + _key185 = iprot.readBinary(); + _val186 = iprot.readBinary(); + this.users.put(_key185, _val186); } iprot.readMapEnd(); } @@ -399,9 +399,9 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(USERS_FIELD_DESC); { oprot.writeMapBegin(new TMap(TType.STRING, TType.STRING, this.users.size())); - for (Map.Entry _iter203 : this.users.entrySet()) { - oprot.writeBinary(_iter203.getKey()); - oprot.writeBinary(_iter203.getValue()); + for (Map.Entry _iter187 : this.users.entrySet()) { + oprot.writeBinary(_iter187.getKey()); + oprot.writeBinary(_iter187.getValue()); } oprot.writeMapEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/ListZonesResp.java b/client/src/main/generated/com/vesoft/nebula/meta/ListZonesResp.java index c4f13df1b..496bc0204 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/ListZonesResp.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/ListZonesResp.java @@ -349,16 +349,16 @@ public void read(TProtocol iprot) throws TException { case ZONES: if (__field.type == TType.LIST) { { - TList _list253 = iprot.readListBegin(); - this.zones = new ArrayList(Math.max(0, _list253.size)); - for (int _i254 = 0; - (_list253.size < 0) ? iprot.peekList() : (_i254 < _list253.size); - ++_i254) + TList _list241 = iprot.readListBegin(); + this.zones = new ArrayList(Math.max(0, _list241.size)); + for (int _i242 = 0; + (_list241.size < 0) ? iprot.peekList() : (_i242 < _list241.size); + ++_i242) { - Zone _elem255; - _elem255 = new Zone(); - _elem255.read(iprot); - this.zones.add(_elem255); + Zone _elem243; + _elem243 = new Zone(); + _elem243.read(iprot); + this.zones.add(_elem243); } iprot.readListEnd(); } @@ -397,8 +397,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(ZONES_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.zones.size())); - for (Zone _iter256 : this.zones) { - _iter256.write(oprot); + for (Zone _iter244 : this.zones) { + _iter244.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/MergeZoneReq.java b/client/src/main/generated/com/vesoft/nebula/meta/MergeZoneReq.java index d96a039cd..3a23e0387 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/MergeZoneReq.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/MergeZoneReq.java @@ -260,15 +260,15 @@ public void read(TProtocol iprot) throws TException { case ZONES: if (__field.type == TType.LIST) { { - TList _list228 = iprot.readListBegin(); - this.zones = new ArrayList(Math.max(0, _list228.size)); - for (int _i229 = 0; - (_list228.size < 0) ? iprot.peekList() : (_i229 < _list228.size); - ++_i229) + TList _list216 = iprot.readListBegin(); + this.zones = new ArrayList(Math.max(0, _list216.size)); + for (int _i217 = 0; + (_list216.size < 0) ? iprot.peekList() : (_i217 < _list216.size); + ++_i217) { - byte[] _elem230; - _elem230 = iprot.readBinary(); - this.zones.add(_elem230); + byte[] _elem218; + _elem218 = iprot.readBinary(); + this.zones.add(_elem218); } iprot.readListEnd(); } @@ -304,8 +304,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(ZONES_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRING, this.zones.size())); - for (byte[] _iter231 : this.zones) { - oprot.writeBinary(_iter231); + for (byte[] _iter219 : this.zones) { + oprot.writeBinary(_iter219); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/MetaService.java b/client/src/main/generated/com/vesoft/nebula/meta/MetaService.java index 425542064..62f8171e0 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/MetaService.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/MetaService.java @@ -35,6 +35,8 @@ public interface Iface { public ExecResp dropSpace(DropSpaceReq req) throws TException; + public ExecResp clearSpace(ClearSpaceReq req) throws TException; + public GetSpaceResp getSpace(GetSpaceReq req) throws TException; public ListSpacesResp listSpaces(ListSpacesReq req) throws TException; @@ -77,18 +79,6 @@ public interface Iface { public GetWorkerIdResp getWorkerId(GetWorkerIdReq req) throws TException; - public ExecResp multiPut(MultiPutReq req) throws TException; - - public GetResp get(GetReq req) throws TException; - - public MultiGetResp multiGet(MultiGetReq req) throws TException; - - public ExecResp remove(RemoveReq req) throws TException; - - public ExecResp removeRange(RemoveRangeReq req) throws TException; - - public ScanResp scan(ScanReq req) throws TException; - public ExecResp createTagIndex(CreateTagIndexReq req) throws TException; public ExecResp dropTagIndex(DropTagIndexReq req) throws TException; @@ -191,7 +181,7 @@ public interface Iface { public GetSessionResp getSession(GetSessionReq req) throws TException; - public ExecResp removeSession(RemoveSessionReq req) throws TException; + public RemoveSessionResp removeSession(RemoveSessionReq req) throws TException; public ExecResp killQuery(KillQueryReq req) throws TException; @@ -199,7 +189,7 @@ public interface Iface { public CreateBackupResp createBackup(CreateBackupReq req) throws TException; - public ExecResp restoreMeta(RestoreMetaReq req) throws TException; + public RestoreMetaResp restoreMeta(RestoreMetaReq req) throws TException; public ListClusterInfoResp listCluster(ListClusterInfoReq req) throws TException; @@ -207,6 +197,10 @@ public interface Iface { public VerifyClientVersionResp verifyClientVersion(VerifyClientVersionReq req) throws TException; + public SaveGraphVersionResp saveGraphVersion(SaveGraphVersionReq req) throws TException; + + public GetSegmentIdResp getSegmentId(GetSegmentIdReq req) throws TException; + } public interface AsyncIface { @@ -215,6 +209,8 @@ public interface AsyncIface { public void dropSpace(DropSpaceReq req, AsyncMethodCallback resultHandler) throws TException; + public void clearSpace(ClearSpaceReq req, AsyncMethodCallback resultHandler) throws TException; + public void getSpace(GetSpaceReq req, AsyncMethodCallback resultHandler) throws TException; public void listSpaces(ListSpacesReq req, AsyncMethodCallback resultHandler) throws TException; @@ -257,18 +253,6 @@ public interface AsyncIface { public void getWorkerId(GetWorkerIdReq req, AsyncMethodCallback resultHandler) throws TException; - public void multiPut(MultiPutReq req, AsyncMethodCallback resultHandler) throws TException; - - public void get(GetReq req, AsyncMethodCallback resultHandler) throws TException; - - public void multiGet(MultiGetReq req, AsyncMethodCallback resultHandler) throws TException; - - public void remove(RemoveReq req, AsyncMethodCallback resultHandler) throws TException; - - public void removeRange(RemoveRangeReq req, AsyncMethodCallback resultHandler) throws TException; - - public void scan(ScanReq req, AsyncMethodCallback resultHandler) throws TException; - public void createTagIndex(CreateTagIndexReq req, AsyncMethodCallback resultHandler) throws TException; public void dropTagIndex(DropTagIndexReq req, AsyncMethodCallback resultHandler) throws TException; @@ -387,6 +371,10 @@ public interface AsyncIface { public void verifyClientVersion(VerifyClientVersionReq req, AsyncMethodCallback resultHandler) throws TException; + public void saveGraphVersion(SaveGraphVersionReq req, AsyncMethodCallback resultHandler) throws TException; + + public void getSegmentId(GetSegmentIdReq req, AsyncMethodCallback resultHandler) throws TException; + } public static class Client extends EventHandlerBase implements Iface, TClientIf { @@ -508,6 +496,51 @@ public ExecResp recv_dropSpace() throws TException throw new TApplicationException(TApplicationException.MISSING_RESULT, "dropSpace failed: unknown result"); } + public ExecResp clearSpace(ClearSpaceReq req) throws TException + { + ContextStack ctx = getContextStack("MetaService.clearSpace", null); + this.setContextStack(ctx); + send_clearSpace(req); + return recv_clearSpace(); + } + + public void send_clearSpace(ClearSpaceReq req) throws TException + { + ContextStack ctx = this.getContextStack(); + super.preWrite(ctx, "MetaService.clearSpace", null); + oprot_.writeMessageBegin(new TMessage("clearSpace", TMessageType.CALL, seqid_)); + clearSpace_args args = new clearSpace_args(); + args.req = req; + args.write(oprot_); + oprot_.writeMessageEnd(); + oprot_.getTransport().flush(); + super.postWrite(ctx, "MetaService.clearSpace", args); + return; + } + + public ExecResp recv_clearSpace() throws TException + { + ContextStack ctx = super.getContextStack(); + long bytes; + TMessageType mtype; + super.preRead(ctx, "MetaService.clearSpace"); + TMessage msg = iprot_.readMessageBegin(); + if (msg.type == TMessageType.EXCEPTION) { + TApplicationException x = TApplicationException.read(iprot_); + iprot_.readMessageEnd(); + throw x; + } + clearSpace_result result = new clearSpace_result(); + result.read(iprot_); + iprot_.readMessageEnd(); + super.postRead(ctx, "MetaService.clearSpace", result); + + if (result.isSetSuccess()) { + return result.success; + } + throw new TApplicationException(TApplicationException.MISSING_RESULT, "clearSpace failed: unknown result"); + } + public GetSpaceResp getSpace(GetSpaceReq req) throws TException { ContextStack ctx = getContextStack("MetaService.getSpace", null); @@ -1453,276 +1486,6 @@ public GetWorkerIdResp recv_getWorkerId() throws TException throw new TApplicationException(TApplicationException.MISSING_RESULT, "getWorkerId failed: unknown result"); } - public ExecResp multiPut(MultiPutReq req) throws TException - { - ContextStack ctx = getContextStack("MetaService.multiPut", null); - this.setContextStack(ctx); - send_multiPut(req); - return recv_multiPut(); - } - - public void send_multiPut(MultiPutReq req) throws TException - { - ContextStack ctx = this.getContextStack(); - super.preWrite(ctx, "MetaService.multiPut", null); - oprot_.writeMessageBegin(new TMessage("multiPut", TMessageType.CALL, seqid_)); - multiPut_args args = new multiPut_args(); - args.req = req; - args.write(oprot_); - oprot_.writeMessageEnd(); - oprot_.getTransport().flush(); - super.postWrite(ctx, "MetaService.multiPut", args); - return; - } - - public ExecResp recv_multiPut() throws TException - { - ContextStack ctx = super.getContextStack(); - long bytes; - TMessageType mtype; - super.preRead(ctx, "MetaService.multiPut"); - TMessage msg = iprot_.readMessageBegin(); - if (msg.type == TMessageType.EXCEPTION) { - TApplicationException x = TApplicationException.read(iprot_); - iprot_.readMessageEnd(); - throw x; - } - multiPut_result result = new multiPut_result(); - result.read(iprot_); - iprot_.readMessageEnd(); - super.postRead(ctx, "MetaService.multiPut", result); - - if (result.isSetSuccess()) { - return result.success; - } - throw new TApplicationException(TApplicationException.MISSING_RESULT, "multiPut failed: unknown result"); - } - - public GetResp get(GetReq req) throws TException - { - ContextStack ctx = getContextStack("MetaService.get", null); - this.setContextStack(ctx); - send_get(req); - return recv_get(); - } - - public void send_get(GetReq req) throws TException - { - ContextStack ctx = this.getContextStack(); - super.preWrite(ctx, "MetaService.get", null); - oprot_.writeMessageBegin(new TMessage("get", TMessageType.CALL, seqid_)); - get_args args = new get_args(); - args.req = req; - args.write(oprot_); - oprot_.writeMessageEnd(); - oprot_.getTransport().flush(); - super.postWrite(ctx, "MetaService.get", args); - return; - } - - public GetResp recv_get() throws TException - { - ContextStack ctx = super.getContextStack(); - long bytes; - TMessageType mtype; - super.preRead(ctx, "MetaService.get"); - TMessage msg = iprot_.readMessageBegin(); - if (msg.type == TMessageType.EXCEPTION) { - TApplicationException x = TApplicationException.read(iprot_); - iprot_.readMessageEnd(); - throw x; - } - get_result result = new get_result(); - result.read(iprot_); - iprot_.readMessageEnd(); - super.postRead(ctx, "MetaService.get", result); - - if (result.isSetSuccess()) { - return result.success; - } - throw new TApplicationException(TApplicationException.MISSING_RESULT, "get failed: unknown result"); - } - - public MultiGetResp multiGet(MultiGetReq req) throws TException - { - ContextStack ctx = getContextStack("MetaService.multiGet", null); - this.setContextStack(ctx); - send_multiGet(req); - return recv_multiGet(); - } - - public void send_multiGet(MultiGetReq req) throws TException - { - ContextStack ctx = this.getContextStack(); - super.preWrite(ctx, "MetaService.multiGet", null); - oprot_.writeMessageBegin(new TMessage("multiGet", TMessageType.CALL, seqid_)); - multiGet_args args = new multiGet_args(); - args.req = req; - args.write(oprot_); - oprot_.writeMessageEnd(); - oprot_.getTransport().flush(); - super.postWrite(ctx, "MetaService.multiGet", args); - return; - } - - public MultiGetResp recv_multiGet() throws TException - { - ContextStack ctx = super.getContextStack(); - long bytes; - TMessageType mtype; - super.preRead(ctx, "MetaService.multiGet"); - TMessage msg = iprot_.readMessageBegin(); - if (msg.type == TMessageType.EXCEPTION) { - TApplicationException x = TApplicationException.read(iprot_); - iprot_.readMessageEnd(); - throw x; - } - multiGet_result result = new multiGet_result(); - result.read(iprot_); - iprot_.readMessageEnd(); - super.postRead(ctx, "MetaService.multiGet", result); - - if (result.isSetSuccess()) { - return result.success; - } - throw new TApplicationException(TApplicationException.MISSING_RESULT, "multiGet failed: unknown result"); - } - - public ExecResp remove(RemoveReq req) throws TException - { - ContextStack ctx = getContextStack("MetaService.remove", null); - this.setContextStack(ctx); - send_remove(req); - return recv_remove(); - } - - public void send_remove(RemoveReq req) throws TException - { - ContextStack ctx = this.getContextStack(); - super.preWrite(ctx, "MetaService.remove", null); - oprot_.writeMessageBegin(new TMessage("remove", TMessageType.CALL, seqid_)); - remove_args args = new remove_args(); - args.req = req; - args.write(oprot_); - oprot_.writeMessageEnd(); - oprot_.getTransport().flush(); - super.postWrite(ctx, "MetaService.remove", args); - return; - } - - public ExecResp recv_remove() throws TException - { - ContextStack ctx = super.getContextStack(); - long bytes; - TMessageType mtype; - super.preRead(ctx, "MetaService.remove"); - TMessage msg = iprot_.readMessageBegin(); - if (msg.type == TMessageType.EXCEPTION) { - TApplicationException x = TApplicationException.read(iprot_); - iprot_.readMessageEnd(); - throw x; - } - remove_result result = new remove_result(); - result.read(iprot_); - iprot_.readMessageEnd(); - super.postRead(ctx, "MetaService.remove", result); - - if (result.isSetSuccess()) { - return result.success; - } - throw new TApplicationException(TApplicationException.MISSING_RESULT, "remove failed: unknown result"); - } - - public ExecResp removeRange(RemoveRangeReq req) throws TException - { - ContextStack ctx = getContextStack("MetaService.removeRange", null); - this.setContextStack(ctx); - send_removeRange(req); - return recv_removeRange(); - } - - public void send_removeRange(RemoveRangeReq req) throws TException - { - ContextStack ctx = this.getContextStack(); - super.preWrite(ctx, "MetaService.removeRange", null); - oprot_.writeMessageBegin(new TMessage("removeRange", TMessageType.CALL, seqid_)); - removeRange_args args = new removeRange_args(); - args.req = req; - args.write(oprot_); - oprot_.writeMessageEnd(); - oprot_.getTransport().flush(); - super.postWrite(ctx, "MetaService.removeRange", args); - return; - } - - public ExecResp recv_removeRange() throws TException - { - ContextStack ctx = super.getContextStack(); - long bytes; - TMessageType mtype; - super.preRead(ctx, "MetaService.removeRange"); - TMessage msg = iprot_.readMessageBegin(); - if (msg.type == TMessageType.EXCEPTION) { - TApplicationException x = TApplicationException.read(iprot_); - iprot_.readMessageEnd(); - throw x; - } - removeRange_result result = new removeRange_result(); - result.read(iprot_); - iprot_.readMessageEnd(); - super.postRead(ctx, "MetaService.removeRange", result); - - if (result.isSetSuccess()) { - return result.success; - } - throw new TApplicationException(TApplicationException.MISSING_RESULT, "removeRange failed: unknown result"); - } - - public ScanResp scan(ScanReq req) throws TException - { - ContextStack ctx = getContextStack("MetaService.scan", null); - this.setContextStack(ctx); - send_scan(req); - return recv_scan(); - } - - public void send_scan(ScanReq req) throws TException - { - ContextStack ctx = this.getContextStack(); - super.preWrite(ctx, "MetaService.scan", null); - oprot_.writeMessageBegin(new TMessage("scan", TMessageType.CALL, seqid_)); - scan_args args = new scan_args(); - args.req = req; - args.write(oprot_); - oprot_.writeMessageEnd(); - oprot_.getTransport().flush(); - super.postWrite(ctx, "MetaService.scan", args); - return; - } - - public ScanResp recv_scan() throws TException - { - ContextStack ctx = super.getContextStack(); - long bytes; - TMessageType mtype; - super.preRead(ctx, "MetaService.scan"); - TMessage msg = iprot_.readMessageBegin(); - if (msg.type == TMessageType.EXCEPTION) { - TApplicationException x = TApplicationException.read(iprot_); - iprot_.readMessageEnd(); - throw x; - } - scan_result result = new scan_result(); - result.read(iprot_); - iprot_.readMessageEnd(); - super.postRead(ctx, "MetaService.scan", result); - - if (result.isSetSuccess()) { - return result.success; - } - throw new TApplicationException(TApplicationException.MISSING_RESULT, "scan failed: unknown result"); - } - public ExecResp createTagIndex(CreateTagIndexReq req) throws TException { ContextStack ctx = getContextStack("MetaService.createTagIndex", null); @@ -4018,7 +3781,7 @@ public GetSessionResp recv_getSession() throws TException throw new TApplicationException(TApplicationException.MISSING_RESULT, "getSession failed: unknown result"); } - public ExecResp removeSession(RemoveSessionReq req) throws TException + public RemoveSessionResp removeSession(RemoveSessionReq req) throws TException { ContextStack ctx = getContextStack("MetaService.removeSession", null); this.setContextStack(ctx); @@ -4040,7 +3803,7 @@ public void send_removeSession(RemoveSessionReq req) throws TException return; } - public ExecResp recv_removeSession() throws TException + public RemoveSessionResp recv_removeSession() throws TException { ContextStack ctx = super.getContextStack(); long bytes; @@ -4198,7 +3961,7 @@ public CreateBackupResp recv_createBackup() throws TException throw new TApplicationException(TApplicationException.MISSING_RESULT, "createBackup failed: unknown result"); } - public ExecResp restoreMeta(RestoreMetaReq req) throws TException + public RestoreMetaResp restoreMeta(RestoreMetaReq req) throws TException { ContextStack ctx = getContextStack("MetaService.restoreMeta", null); this.setContextStack(ctx); @@ -4220,7 +3983,7 @@ public void send_restoreMeta(RestoreMetaReq req) throws TException return; } - public ExecResp recv_restoreMeta() throws TException + public RestoreMetaResp recv_restoreMeta() throws TException { ContextStack ctx = super.getContextStack(); long bytes; @@ -4378,6 +4141,96 @@ public VerifyClientVersionResp recv_verifyClientVersion() throws TException throw new TApplicationException(TApplicationException.MISSING_RESULT, "verifyClientVersion failed: unknown result"); } + public SaveGraphVersionResp saveGraphVersion(SaveGraphVersionReq req) throws TException + { + ContextStack ctx = getContextStack("MetaService.saveGraphVersion", null); + this.setContextStack(ctx); + send_saveGraphVersion(req); + return recv_saveGraphVersion(); + } + + public void send_saveGraphVersion(SaveGraphVersionReq req) throws TException + { + ContextStack ctx = this.getContextStack(); + super.preWrite(ctx, "MetaService.saveGraphVersion", null); + oprot_.writeMessageBegin(new TMessage("saveGraphVersion", TMessageType.CALL, seqid_)); + saveGraphVersion_args args = new saveGraphVersion_args(); + args.req = req; + args.write(oprot_); + oprot_.writeMessageEnd(); + oprot_.getTransport().flush(); + super.postWrite(ctx, "MetaService.saveGraphVersion", args); + return; + } + + public SaveGraphVersionResp recv_saveGraphVersion() throws TException + { + ContextStack ctx = super.getContextStack(); + long bytes; + TMessageType mtype; + super.preRead(ctx, "MetaService.saveGraphVersion"); + TMessage msg = iprot_.readMessageBegin(); + if (msg.type == TMessageType.EXCEPTION) { + TApplicationException x = TApplicationException.read(iprot_); + iprot_.readMessageEnd(); + throw x; + } + saveGraphVersion_result result = new saveGraphVersion_result(); + result.read(iprot_); + iprot_.readMessageEnd(); + super.postRead(ctx, "MetaService.saveGraphVersion", result); + + if (result.isSetSuccess()) { + return result.success; + } + throw new TApplicationException(TApplicationException.MISSING_RESULT, "saveGraphVersion failed: unknown result"); + } + + public GetSegmentIdResp getSegmentId(GetSegmentIdReq req) throws TException + { + ContextStack ctx = getContextStack("MetaService.getSegmentId", null); + this.setContextStack(ctx); + send_getSegmentId(req); + return recv_getSegmentId(); + } + + public void send_getSegmentId(GetSegmentIdReq req) throws TException + { + ContextStack ctx = this.getContextStack(); + super.preWrite(ctx, "MetaService.getSegmentId", null); + oprot_.writeMessageBegin(new TMessage("getSegmentId", TMessageType.CALL, seqid_)); + getSegmentId_args args = new getSegmentId_args(); + args.req = req; + args.write(oprot_); + oprot_.writeMessageEnd(); + oprot_.getTransport().flush(); + super.postWrite(ctx, "MetaService.getSegmentId", args); + return; + } + + public GetSegmentIdResp recv_getSegmentId() throws TException + { + ContextStack ctx = super.getContextStack(); + long bytes; + TMessageType mtype; + super.preRead(ctx, "MetaService.getSegmentId"); + TMessage msg = iprot_.readMessageBegin(); + if (msg.type == TMessageType.EXCEPTION) { + TApplicationException x = TApplicationException.read(iprot_); + iprot_.readMessageEnd(); + throw x; + } + getSegmentId_result result = new getSegmentId_result(); + result.read(iprot_); + iprot_.readMessageEnd(); + super.postRead(ctx, "MetaService.getSegmentId", result); + + if (result.isSetSuccess()) { + return result.success; + } + throw new TApplicationException(TApplicationException.MISSING_RESULT, "getSegmentId failed: unknown result"); + } + } public static class AsyncClient extends TAsyncClient implements AsyncIface { public static class Factory implements TAsyncClientFactory { @@ -4396,17 +4249,17 @@ public AsyncClient(TProtocolFactory protocolFactory, TAsyncClientManager clientM super(protocolFactory, clientManager, transport); } - public void createSpace(CreateSpaceReq req, AsyncMethodCallback resultHandler453) throws TException { + public void createSpace(CreateSpaceReq req, AsyncMethodCallback resultHandler467) throws TException { checkReady(); - createSpace_call method_call = new createSpace_call(req, resultHandler453, this, ___protocolFactory, ___transport); + createSpace_call method_call = new createSpace_call(req, resultHandler467, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class createSpace_call extends TAsyncMethodCall { private CreateSpaceReq req; - public createSpace_call(CreateSpaceReq req, AsyncMethodCallback resultHandler454, TAsyncClient client450, TProtocolFactory protocolFactory451, TNonblockingTransport transport452) throws TException { - super(client450, protocolFactory451, transport452, resultHandler454, false); + public createSpace_call(CreateSpaceReq req, AsyncMethodCallback resultHandler468, TAsyncClient client464, TProtocolFactory protocolFactory465, TNonblockingTransport transport466) throws TException { + super(client464, protocolFactory465, transport466, resultHandler468, false); this.req = req; } @@ -4428,17 +4281,17 @@ public ExecResp getResult() throws TException { } } - public void dropSpace(DropSpaceReq req, AsyncMethodCallback resultHandler458) throws TException { + public void dropSpace(DropSpaceReq req, AsyncMethodCallback resultHandler472) throws TException { checkReady(); - dropSpace_call method_call = new dropSpace_call(req, resultHandler458, this, ___protocolFactory, ___transport); + dropSpace_call method_call = new dropSpace_call(req, resultHandler472, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class dropSpace_call extends TAsyncMethodCall { private DropSpaceReq req; - public dropSpace_call(DropSpaceReq req, AsyncMethodCallback resultHandler459, TAsyncClient client455, TProtocolFactory protocolFactory456, TNonblockingTransport transport457) throws TException { - super(client455, protocolFactory456, transport457, resultHandler459, false); + public dropSpace_call(DropSpaceReq req, AsyncMethodCallback resultHandler473, TAsyncClient client469, TProtocolFactory protocolFactory470, TNonblockingTransport transport471) throws TException { + super(client469, protocolFactory470, transport471, resultHandler473, false); this.req = req; } @@ -4460,17 +4313,49 @@ public ExecResp getResult() throws TException { } } - public void getSpace(GetSpaceReq req, AsyncMethodCallback resultHandler463) throws TException { + public void clearSpace(ClearSpaceReq req, AsyncMethodCallback resultHandler477) throws TException { checkReady(); - getSpace_call method_call = new getSpace_call(req, resultHandler463, this, ___protocolFactory, ___transport); + clearSpace_call method_call = new clearSpace_call(req, resultHandler477, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class clearSpace_call extends TAsyncMethodCall { + private ClearSpaceReq req; + public clearSpace_call(ClearSpaceReq req, AsyncMethodCallback resultHandler478, TAsyncClient client474, TProtocolFactory protocolFactory475, TNonblockingTransport transport476) throws TException { + super(client474, protocolFactory475, transport476, resultHandler478, false); + this.req = req; + } + + public void write_args(TProtocol prot) throws TException { + prot.writeMessageBegin(new TMessage("clearSpace", TMessageType.CALL, 0)); + clearSpace_args args = new clearSpace_args(); + args.setReq(req); + args.write(prot); + prot.writeMessageEnd(); + } + + public ExecResp getResult() throws TException { + if (getState() != State.RESPONSE_READ) { + throw new IllegalStateException("Method call not finished!"); + } + TMemoryInputTransport memoryTransport = new TMemoryInputTransport(getFrameBuffer().array()); + TProtocol prot = super.client.getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_clearSpace(); + } + } + + public void getSpace(GetSpaceReq req, AsyncMethodCallback resultHandler482) throws TException { + checkReady(); + getSpace_call method_call = new getSpace_call(req, resultHandler482, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class getSpace_call extends TAsyncMethodCall { private GetSpaceReq req; - public getSpace_call(GetSpaceReq req, AsyncMethodCallback resultHandler464, TAsyncClient client460, TProtocolFactory protocolFactory461, TNonblockingTransport transport462) throws TException { - super(client460, protocolFactory461, transport462, resultHandler464, false); + public getSpace_call(GetSpaceReq req, AsyncMethodCallback resultHandler483, TAsyncClient client479, TProtocolFactory protocolFactory480, TNonblockingTransport transport481) throws TException { + super(client479, protocolFactory480, transport481, resultHandler483, false); this.req = req; } @@ -4492,17 +4377,17 @@ public GetSpaceResp getResult() throws TException { } } - public void listSpaces(ListSpacesReq req, AsyncMethodCallback resultHandler468) throws TException { + public void listSpaces(ListSpacesReq req, AsyncMethodCallback resultHandler487) throws TException { checkReady(); - listSpaces_call method_call = new listSpaces_call(req, resultHandler468, this, ___protocolFactory, ___transport); + listSpaces_call method_call = new listSpaces_call(req, resultHandler487, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class listSpaces_call extends TAsyncMethodCall { private ListSpacesReq req; - public listSpaces_call(ListSpacesReq req, AsyncMethodCallback resultHandler469, TAsyncClient client465, TProtocolFactory protocolFactory466, TNonblockingTransport transport467) throws TException { - super(client465, protocolFactory466, transport467, resultHandler469, false); + public listSpaces_call(ListSpacesReq req, AsyncMethodCallback resultHandler488, TAsyncClient client484, TProtocolFactory protocolFactory485, TNonblockingTransport transport486) throws TException { + super(client484, protocolFactory485, transport486, resultHandler488, false); this.req = req; } @@ -4524,17 +4409,17 @@ public ListSpacesResp getResult() throws TException { } } - public void alterSpace(AlterSpaceReq req, AsyncMethodCallback resultHandler473) throws TException { + public void alterSpace(AlterSpaceReq req, AsyncMethodCallback resultHandler492) throws TException { checkReady(); - alterSpace_call method_call = new alterSpace_call(req, resultHandler473, this, ___protocolFactory, ___transport); + alterSpace_call method_call = new alterSpace_call(req, resultHandler492, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class alterSpace_call extends TAsyncMethodCall { private AlterSpaceReq req; - public alterSpace_call(AlterSpaceReq req, AsyncMethodCallback resultHandler474, TAsyncClient client470, TProtocolFactory protocolFactory471, TNonblockingTransport transport472) throws TException { - super(client470, protocolFactory471, transport472, resultHandler474, false); + public alterSpace_call(AlterSpaceReq req, AsyncMethodCallback resultHandler493, TAsyncClient client489, TProtocolFactory protocolFactory490, TNonblockingTransport transport491) throws TException { + super(client489, protocolFactory490, transport491, resultHandler493, false); this.req = req; } @@ -4556,17 +4441,17 @@ public ExecResp getResult() throws TException { } } - public void createSpaceAs(CreateSpaceAsReq req, AsyncMethodCallback resultHandler478) throws TException { + public void createSpaceAs(CreateSpaceAsReq req, AsyncMethodCallback resultHandler497) throws TException { checkReady(); - createSpaceAs_call method_call = new createSpaceAs_call(req, resultHandler478, this, ___protocolFactory, ___transport); + createSpaceAs_call method_call = new createSpaceAs_call(req, resultHandler497, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class createSpaceAs_call extends TAsyncMethodCall { private CreateSpaceAsReq req; - public createSpaceAs_call(CreateSpaceAsReq req, AsyncMethodCallback resultHandler479, TAsyncClient client475, TProtocolFactory protocolFactory476, TNonblockingTransport transport477) throws TException { - super(client475, protocolFactory476, transport477, resultHandler479, false); + public createSpaceAs_call(CreateSpaceAsReq req, AsyncMethodCallback resultHandler498, TAsyncClient client494, TProtocolFactory protocolFactory495, TNonblockingTransport transport496) throws TException { + super(client494, protocolFactory495, transport496, resultHandler498, false); this.req = req; } @@ -4588,17 +4473,17 @@ public ExecResp getResult() throws TException { } } - public void createTag(CreateTagReq req, AsyncMethodCallback resultHandler483) throws TException { + public void createTag(CreateTagReq req, AsyncMethodCallback resultHandler502) throws TException { checkReady(); - createTag_call method_call = new createTag_call(req, resultHandler483, this, ___protocolFactory, ___transport); + createTag_call method_call = new createTag_call(req, resultHandler502, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class createTag_call extends TAsyncMethodCall { private CreateTagReq req; - public createTag_call(CreateTagReq req, AsyncMethodCallback resultHandler484, TAsyncClient client480, TProtocolFactory protocolFactory481, TNonblockingTransport transport482) throws TException { - super(client480, protocolFactory481, transport482, resultHandler484, false); + public createTag_call(CreateTagReq req, AsyncMethodCallback resultHandler503, TAsyncClient client499, TProtocolFactory protocolFactory500, TNonblockingTransport transport501) throws TException { + super(client499, protocolFactory500, transport501, resultHandler503, false); this.req = req; } @@ -4620,17 +4505,17 @@ public ExecResp getResult() throws TException { } } - public void alterTag(AlterTagReq req, AsyncMethodCallback resultHandler488) throws TException { + public void alterTag(AlterTagReq req, AsyncMethodCallback resultHandler507) throws TException { checkReady(); - alterTag_call method_call = new alterTag_call(req, resultHandler488, this, ___protocolFactory, ___transport); + alterTag_call method_call = new alterTag_call(req, resultHandler507, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class alterTag_call extends TAsyncMethodCall { private AlterTagReq req; - public alterTag_call(AlterTagReq req, AsyncMethodCallback resultHandler489, TAsyncClient client485, TProtocolFactory protocolFactory486, TNonblockingTransport transport487) throws TException { - super(client485, protocolFactory486, transport487, resultHandler489, false); + public alterTag_call(AlterTagReq req, AsyncMethodCallback resultHandler508, TAsyncClient client504, TProtocolFactory protocolFactory505, TNonblockingTransport transport506) throws TException { + super(client504, protocolFactory505, transport506, resultHandler508, false); this.req = req; } @@ -4652,17 +4537,17 @@ public ExecResp getResult() throws TException { } } - public void dropTag(DropTagReq req, AsyncMethodCallback resultHandler493) throws TException { + public void dropTag(DropTagReq req, AsyncMethodCallback resultHandler512) throws TException { checkReady(); - dropTag_call method_call = new dropTag_call(req, resultHandler493, this, ___protocolFactory, ___transport); + dropTag_call method_call = new dropTag_call(req, resultHandler512, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class dropTag_call extends TAsyncMethodCall { private DropTagReq req; - public dropTag_call(DropTagReq req, AsyncMethodCallback resultHandler494, TAsyncClient client490, TProtocolFactory protocolFactory491, TNonblockingTransport transport492) throws TException { - super(client490, protocolFactory491, transport492, resultHandler494, false); + public dropTag_call(DropTagReq req, AsyncMethodCallback resultHandler513, TAsyncClient client509, TProtocolFactory protocolFactory510, TNonblockingTransport transport511) throws TException { + super(client509, protocolFactory510, transport511, resultHandler513, false); this.req = req; } @@ -4684,17 +4569,17 @@ public ExecResp getResult() throws TException { } } - public void getTag(GetTagReq req, AsyncMethodCallback resultHandler498) throws TException { + public void getTag(GetTagReq req, AsyncMethodCallback resultHandler517) throws TException { checkReady(); - getTag_call method_call = new getTag_call(req, resultHandler498, this, ___protocolFactory, ___transport); + getTag_call method_call = new getTag_call(req, resultHandler517, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class getTag_call extends TAsyncMethodCall { private GetTagReq req; - public getTag_call(GetTagReq req, AsyncMethodCallback resultHandler499, TAsyncClient client495, TProtocolFactory protocolFactory496, TNonblockingTransport transport497) throws TException { - super(client495, protocolFactory496, transport497, resultHandler499, false); + public getTag_call(GetTagReq req, AsyncMethodCallback resultHandler518, TAsyncClient client514, TProtocolFactory protocolFactory515, TNonblockingTransport transport516) throws TException { + super(client514, protocolFactory515, transport516, resultHandler518, false); this.req = req; } @@ -4716,17 +4601,17 @@ public GetTagResp getResult() throws TException { } } - public void listTags(ListTagsReq req, AsyncMethodCallback resultHandler503) throws TException { + public void listTags(ListTagsReq req, AsyncMethodCallback resultHandler522) throws TException { checkReady(); - listTags_call method_call = new listTags_call(req, resultHandler503, this, ___protocolFactory, ___transport); + listTags_call method_call = new listTags_call(req, resultHandler522, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class listTags_call extends TAsyncMethodCall { private ListTagsReq req; - public listTags_call(ListTagsReq req, AsyncMethodCallback resultHandler504, TAsyncClient client500, TProtocolFactory protocolFactory501, TNonblockingTransport transport502) throws TException { - super(client500, protocolFactory501, transport502, resultHandler504, false); + public listTags_call(ListTagsReq req, AsyncMethodCallback resultHandler523, TAsyncClient client519, TProtocolFactory protocolFactory520, TNonblockingTransport transport521) throws TException { + super(client519, protocolFactory520, transport521, resultHandler523, false); this.req = req; } @@ -4748,17 +4633,17 @@ public ListTagsResp getResult() throws TException { } } - public void createEdge(CreateEdgeReq req, AsyncMethodCallback resultHandler508) throws TException { + public void createEdge(CreateEdgeReq req, AsyncMethodCallback resultHandler527) throws TException { checkReady(); - createEdge_call method_call = new createEdge_call(req, resultHandler508, this, ___protocolFactory, ___transport); + createEdge_call method_call = new createEdge_call(req, resultHandler527, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class createEdge_call extends TAsyncMethodCall { private CreateEdgeReq req; - public createEdge_call(CreateEdgeReq req, AsyncMethodCallback resultHandler509, TAsyncClient client505, TProtocolFactory protocolFactory506, TNonblockingTransport transport507) throws TException { - super(client505, protocolFactory506, transport507, resultHandler509, false); + public createEdge_call(CreateEdgeReq req, AsyncMethodCallback resultHandler528, TAsyncClient client524, TProtocolFactory protocolFactory525, TNonblockingTransport transport526) throws TException { + super(client524, protocolFactory525, transport526, resultHandler528, false); this.req = req; } @@ -4780,17 +4665,17 @@ public ExecResp getResult() throws TException { } } - public void alterEdge(AlterEdgeReq req, AsyncMethodCallback resultHandler513) throws TException { + public void alterEdge(AlterEdgeReq req, AsyncMethodCallback resultHandler532) throws TException { checkReady(); - alterEdge_call method_call = new alterEdge_call(req, resultHandler513, this, ___protocolFactory, ___transport); + alterEdge_call method_call = new alterEdge_call(req, resultHandler532, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class alterEdge_call extends TAsyncMethodCall { private AlterEdgeReq req; - public alterEdge_call(AlterEdgeReq req, AsyncMethodCallback resultHandler514, TAsyncClient client510, TProtocolFactory protocolFactory511, TNonblockingTransport transport512) throws TException { - super(client510, protocolFactory511, transport512, resultHandler514, false); + public alterEdge_call(AlterEdgeReq req, AsyncMethodCallback resultHandler533, TAsyncClient client529, TProtocolFactory protocolFactory530, TNonblockingTransport transport531) throws TException { + super(client529, protocolFactory530, transport531, resultHandler533, false); this.req = req; } @@ -4812,17 +4697,17 @@ public ExecResp getResult() throws TException { } } - public void dropEdge(DropEdgeReq req, AsyncMethodCallback resultHandler518) throws TException { + public void dropEdge(DropEdgeReq req, AsyncMethodCallback resultHandler537) throws TException { checkReady(); - dropEdge_call method_call = new dropEdge_call(req, resultHandler518, this, ___protocolFactory, ___transport); + dropEdge_call method_call = new dropEdge_call(req, resultHandler537, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class dropEdge_call extends TAsyncMethodCall { private DropEdgeReq req; - public dropEdge_call(DropEdgeReq req, AsyncMethodCallback resultHandler519, TAsyncClient client515, TProtocolFactory protocolFactory516, TNonblockingTransport transport517) throws TException { - super(client515, protocolFactory516, transport517, resultHandler519, false); + public dropEdge_call(DropEdgeReq req, AsyncMethodCallback resultHandler538, TAsyncClient client534, TProtocolFactory protocolFactory535, TNonblockingTransport transport536) throws TException { + super(client534, protocolFactory535, transport536, resultHandler538, false); this.req = req; } @@ -4844,17 +4729,17 @@ public ExecResp getResult() throws TException { } } - public void getEdge(GetEdgeReq req, AsyncMethodCallback resultHandler523) throws TException { + public void getEdge(GetEdgeReq req, AsyncMethodCallback resultHandler542) throws TException { checkReady(); - getEdge_call method_call = new getEdge_call(req, resultHandler523, this, ___protocolFactory, ___transport); + getEdge_call method_call = new getEdge_call(req, resultHandler542, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class getEdge_call extends TAsyncMethodCall { private GetEdgeReq req; - public getEdge_call(GetEdgeReq req, AsyncMethodCallback resultHandler524, TAsyncClient client520, TProtocolFactory protocolFactory521, TNonblockingTransport transport522) throws TException { - super(client520, protocolFactory521, transport522, resultHandler524, false); + public getEdge_call(GetEdgeReq req, AsyncMethodCallback resultHandler543, TAsyncClient client539, TProtocolFactory protocolFactory540, TNonblockingTransport transport541) throws TException { + super(client539, protocolFactory540, transport541, resultHandler543, false); this.req = req; } @@ -4876,17 +4761,17 @@ public GetEdgeResp getResult() throws TException { } } - public void listEdges(ListEdgesReq req, AsyncMethodCallback resultHandler528) throws TException { + public void listEdges(ListEdgesReq req, AsyncMethodCallback resultHandler547) throws TException { checkReady(); - listEdges_call method_call = new listEdges_call(req, resultHandler528, this, ___protocolFactory, ___transport); + listEdges_call method_call = new listEdges_call(req, resultHandler547, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class listEdges_call extends TAsyncMethodCall { private ListEdgesReq req; - public listEdges_call(ListEdgesReq req, AsyncMethodCallback resultHandler529, TAsyncClient client525, TProtocolFactory protocolFactory526, TNonblockingTransport transport527) throws TException { - super(client525, protocolFactory526, transport527, resultHandler529, false); + public listEdges_call(ListEdgesReq req, AsyncMethodCallback resultHandler548, TAsyncClient client544, TProtocolFactory protocolFactory545, TNonblockingTransport transport546) throws TException { + super(client544, protocolFactory545, transport546, resultHandler548, false); this.req = req; } @@ -4908,17 +4793,17 @@ public ListEdgesResp getResult() throws TException { } } - public void addHosts(AddHostsReq req, AsyncMethodCallback resultHandler533) throws TException { + public void addHosts(AddHostsReq req, AsyncMethodCallback resultHandler552) throws TException { checkReady(); - addHosts_call method_call = new addHosts_call(req, resultHandler533, this, ___protocolFactory, ___transport); + addHosts_call method_call = new addHosts_call(req, resultHandler552, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class addHosts_call extends TAsyncMethodCall { private AddHostsReq req; - public addHosts_call(AddHostsReq req, AsyncMethodCallback resultHandler534, TAsyncClient client530, TProtocolFactory protocolFactory531, TNonblockingTransport transport532) throws TException { - super(client530, protocolFactory531, transport532, resultHandler534, false); + public addHosts_call(AddHostsReq req, AsyncMethodCallback resultHandler553, TAsyncClient client549, TProtocolFactory protocolFactory550, TNonblockingTransport transport551) throws TException { + super(client549, protocolFactory550, transport551, resultHandler553, false); this.req = req; } @@ -4940,17 +4825,17 @@ public ExecResp getResult() throws TException { } } - public void addHostsIntoZone(AddHostsIntoZoneReq req, AsyncMethodCallback resultHandler538) throws TException { + public void addHostsIntoZone(AddHostsIntoZoneReq req, AsyncMethodCallback resultHandler557) throws TException { checkReady(); - addHostsIntoZone_call method_call = new addHostsIntoZone_call(req, resultHandler538, this, ___protocolFactory, ___transport); + addHostsIntoZone_call method_call = new addHostsIntoZone_call(req, resultHandler557, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class addHostsIntoZone_call extends TAsyncMethodCall { private AddHostsIntoZoneReq req; - public addHostsIntoZone_call(AddHostsIntoZoneReq req, AsyncMethodCallback resultHandler539, TAsyncClient client535, TProtocolFactory protocolFactory536, TNonblockingTransport transport537) throws TException { - super(client535, protocolFactory536, transport537, resultHandler539, false); + public addHostsIntoZone_call(AddHostsIntoZoneReq req, AsyncMethodCallback resultHandler558, TAsyncClient client554, TProtocolFactory protocolFactory555, TNonblockingTransport transport556) throws TException { + super(client554, protocolFactory555, transport556, resultHandler558, false); this.req = req; } @@ -4972,17 +4857,17 @@ public ExecResp getResult() throws TException { } } - public void dropHosts(DropHostsReq req, AsyncMethodCallback resultHandler543) throws TException { + public void dropHosts(DropHostsReq req, AsyncMethodCallback resultHandler562) throws TException { checkReady(); - dropHosts_call method_call = new dropHosts_call(req, resultHandler543, this, ___protocolFactory, ___transport); + dropHosts_call method_call = new dropHosts_call(req, resultHandler562, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class dropHosts_call extends TAsyncMethodCall { private DropHostsReq req; - public dropHosts_call(DropHostsReq req, AsyncMethodCallback resultHandler544, TAsyncClient client540, TProtocolFactory protocolFactory541, TNonblockingTransport transport542) throws TException { - super(client540, protocolFactory541, transport542, resultHandler544, false); + public dropHosts_call(DropHostsReq req, AsyncMethodCallback resultHandler563, TAsyncClient client559, TProtocolFactory protocolFactory560, TNonblockingTransport transport561) throws TException { + super(client559, protocolFactory560, transport561, resultHandler563, false); this.req = req; } @@ -5004,17 +4889,17 @@ public ExecResp getResult() throws TException { } } - public void listHosts(ListHostsReq req, AsyncMethodCallback resultHandler548) throws TException { + public void listHosts(ListHostsReq req, AsyncMethodCallback resultHandler567) throws TException { checkReady(); - listHosts_call method_call = new listHosts_call(req, resultHandler548, this, ___protocolFactory, ___transport); + listHosts_call method_call = new listHosts_call(req, resultHandler567, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class listHosts_call extends TAsyncMethodCall { private ListHostsReq req; - public listHosts_call(ListHostsReq req, AsyncMethodCallback resultHandler549, TAsyncClient client545, TProtocolFactory protocolFactory546, TNonblockingTransport transport547) throws TException { - super(client545, protocolFactory546, transport547, resultHandler549, false); + public listHosts_call(ListHostsReq req, AsyncMethodCallback resultHandler568, TAsyncClient client564, TProtocolFactory protocolFactory565, TNonblockingTransport transport566) throws TException { + super(client564, protocolFactory565, transport566, resultHandler568, false); this.req = req; } @@ -5036,17 +4921,17 @@ public ListHostsResp getResult() throws TException { } } - public void getPartsAlloc(GetPartsAllocReq req, AsyncMethodCallback resultHandler553) throws TException { + public void getPartsAlloc(GetPartsAllocReq req, AsyncMethodCallback resultHandler572) throws TException { checkReady(); - getPartsAlloc_call method_call = new getPartsAlloc_call(req, resultHandler553, this, ___protocolFactory, ___transport); + getPartsAlloc_call method_call = new getPartsAlloc_call(req, resultHandler572, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class getPartsAlloc_call extends TAsyncMethodCall { private GetPartsAllocReq req; - public getPartsAlloc_call(GetPartsAllocReq req, AsyncMethodCallback resultHandler554, TAsyncClient client550, TProtocolFactory protocolFactory551, TNonblockingTransport transport552) throws TException { - super(client550, protocolFactory551, transport552, resultHandler554, false); + public getPartsAlloc_call(GetPartsAllocReq req, AsyncMethodCallback resultHandler573, TAsyncClient client569, TProtocolFactory protocolFactory570, TNonblockingTransport transport571) throws TException { + super(client569, protocolFactory570, transport571, resultHandler573, false); this.req = req; } @@ -5068,17 +4953,17 @@ public GetPartsAllocResp getResult() throws TException { } } - public void listParts(ListPartsReq req, AsyncMethodCallback resultHandler558) throws TException { + public void listParts(ListPartsReq req, AsyncMethodCallback resultHandler577) throws TException { checkReady(); - listParts_call method_call = new listParts_call(req, resultHandler558, this, ___protocolFactory, ___transport); + listParts_call method_call = new listParts_call(req, resultHandler577, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class listParts_call extends TAsyncMethodCall { private ListPartsReq req; - public listParts_call(ListPartsReq req, AsyncMethodCallback resultHandler559, TAsyncClient client555, TProtocolFactory protocolFactory556, TNonblockingTransport transport557) throws TException { - super(client555, protocolFactory556, transport557, resultHandler559, false); + public listParts_call(ListPartsReq req, AsyncMethodCallback resultHandler578, TAsyncClient client574, TProtocolFactory protocolFactory575, TNonblockingTransport transport576) throws TException { + super(client574, protocolFactory575, transport576, resultHandler578, false); this.req = req; } @@ -5100,17 +4985,17 @@ public ListPartsResp getResult() throws TException { } } - public void getWorkerId(GetWorkerIdReq req, AsyncMethodCallback resultHandler563) throws TException { + public void getWorkerId(GetWorkerIdReq req, AsyncMethodCallback resultHandler582) throws TException { checkReady(); - getWorkerId_call method_call = new getWorkerId_call(req, resultHandler563, this, ___protocolFactory, ___transport); + getWorkerId_call method_call = new getWorkerId_call(req, resultHandler582, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class getWorkerId_call extends TAsyncMethodCall { private GetWorkerIdReq req; - public getWorkerId_call(GetWorkerIdReq req, AsyncMethodCallback resultHandler564, TAsyncClient client560, TProtocolFactory protocolFactory561, TNonblockingTransport transport562) throws TException { - super(client560, protocolFactory561, transport562, resultHandler564, false); + public getWorkerId_call(GetWorkerIdReq req, AsyncMethodCallback resultHandler583, TAsyncClient client579, TProtocolFactory protocolFactory580, TNonblockingTransport transport581) throws TException { + super(client579, protocolFactory580, transport581, resultHandler583, false); this.req = req; } @@ -5132,209 +5017,17 @@ public GetWorkerIdResp getResult() throws TException { } } - public void multiPut(MultiPutReq req, AsyncMethodCallback resultHandler568) throws TException { + public void createTagIndex(CreateTagIndexReq req, AsyncMethodCallback resultHandler587) throws TException { checkReady(); - multiPut_call method_call = new multiPut_call(req, resultHandler568, this, ___protocolFactory, ___transport); - this.___currentMethod = method_call; - ___manager.call(method_call); - } - - public static class multiPut_call extends TAsyncMethodCall { - private MultiPutReq req; - public multiPut_call(MultiPutReq req, AsyncMethodCallback resultHandler569, TAsyncClient client565, TProtocolFactory protocolFactory566, TNonblockingTransport transport567) throws TException { - super(client565, protocolFactory566, transport567, resultHandler569, false); - this.req = req; - } - - public void write_args(TProtocol prot) throws TException { - prot.writeMessageBegin(new TMessage("multiPut", TMessageType.CALL, 0)); - multiPut_args args = new multiPut_args(); - args.setReq(req); - args.write(prot); - prot.writeMessageEnd(); - } - - public ExecResp getResult() throws TException { - if (getState() != State.RESPONSE_READ) { - throw new IllegalStateException("Method call not finished!"); - } - TMemoryInputTransport memoryTransport = new TMemoryInputTransport(getFrameBuffer().array()); - TProtocol prot = super.client.getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_multiPut(); - } - } - - public void get(GetReq req, AsyncMethodCallback resultHandler573) throws TException { - checkReady(); - get_call method_call = new get_call(req, resultHandler573, this, ___protocolFactory, ___transport); - this.___currentMethod = method_call; - ___manager.call(method_call); - } - - public static class get_call extends TAsyncMethodCall { - private GetReq req; - public get_call(GetReq req, AsyncMethodCallback resultHandler574, TAsyncClient client570, TProtocolFactory protocolFactory571, TNonblockingTransport transport572) throws TException { - super(client570, protocolFactory571, transport572, resultHandler574, false); - this.req = req; - } - - public void write_args(TProtocol prot) throws TException { - prot.writeMessageBegin(new TMessage("get", TMessageType.CALL, 0)); - get_args args = new get_args(); - args.setReq(req); - args.write(prot); - prot.writeMessageEnd(); - } - - public GetResp getResult() throws TException { - if (getState() != State.RESPONSE_READ) { - throw new IllegalStateException("Method call not finished!"); - } - TMemoryInputTransport memoryTransport = new TMemoryInputTransport(getFrameBuffer().array()); - TProtocol prot = super.client.getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_get(); - } - } - - public void multiGet(MultiGetReq req, AsyncMethodCallback resultHandler578) throws TException { - checkReady(); - multiGet_call method_call = new multiGet_call(req, resultHandler578, this, ___protocolFactory, ___transport); - this.___currentMethod = method_call; - ___manager.call(method_call); - } - - public static class multiGet_call extends TAsyncMethodCall { - private MultiGetReq req; - public multiGet_call(MultiGetReq req, AsyncMethodCallback resultHandler579, TAsyncClient client575, TProtocolFactory protocolFactory576, TNonblockingTransport transport577) throws TException { - super(client575, protocolFactory576, transport577, resultHandler579, false); - this.req = req; - } - - public void write_args(TProtocol prot) throws TException { - prot.writeMessageBegin(new TMessage("multiGet", TMessageType.CALL, 0)); - multiGet_args args = new multiGet_args(); - args.setReq(req); - args.write(prot); - prot.writeMessageEnd(); - } - - public MultiGetResp getResult() throws TException { - if (getState() != State.RESPONSE_READ) { - throw new IllegalStateException("Method call not finished!"); - } - TMemoryInputTransport memoryTransport = new TMemoryInputTransport(getFrameBuffer().array()); - TProtocol prot = super.client.getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_multiGet(); - } - } - - public void remove(RemoveReq req, AsyncMethodCallback resultHandler583) throws TException { - checkReady(); - remove_call method_call = new remove_call(req, resultHandler583, this, ___protocolFactory, ___transport); - this.___currentMethod = method_call; - ___manager.call(method_call); - } - - public static class remove_call extends TAsyncMethodCall { - private RemoveReq req; - public remove_call(RemoveReq req, AsyncMethodCallback resultHandler584, TAsyncClient client580, TProtocolFactory protocolFactory581, TNonblockingTransport transport582) throws TException { - super(client580, protocolFactory581, transport582, resultHandler584, false); - this.req = req; - } - - public void write_args(TProtocol prot) throws TException { - prot.writeMessageBegin(new TMessage("remove", TMessageType.CALL, 0)); - remove_args args = new remove_args(); - args.setReq(req); - args.write(prot); - prot.writeMessageEnd(); - } - - public ExecResp getResult() throws TException { - if (getState() != State.RESPONSE_READ) { - throw new IllegalStateException("Method call not finished!"); - } - TMemoryInputTransport memoryTransport = new TMemoryInputTransport(getFrameBuffer().array()); - TProtocol prot = super.client.getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_remove(); - } - } - - public void removeRange(RemoveRangeReq req, AsyncMethodCallback resultHandler588) throws TException { - checkReady(); - removeRange_call method_call = new removeRange_call(req, resultHandler588, this, ___protocolFactory, ___transport); - this.___currentMethod = method_call; - ___manager.call(method_call); - } - - public static class removeRange_call extends TAsyncMethodCall { - private RemoveRangeReq req; - public removeRange_call(RemoveRangeReq req, AsyncMethodCallback resultHandler589, TAsyncClient client585, TProtocolFactory protocolFactory586, TNonblockingTransport transport587) throws TException { - super(client585, protocolFactory586, transport587, resultHandler589, false); - this.req = req; - } - - public void write_args(TProtocol prot) throws TException { - prot.writeMessageBegin(new TMessage("removeRange", TMessageType.CALL, 0)); - removeRange_args args = new removeRange_args(); - args.setReq(req); - args.write(prot); - prot.writeMessageEnd(); - } - - public ExecResp getResult() throws TException { - if (getState() != State.RESPONSE_READ) { - throw new IllegalStateException("Method call not finished!"); - } - TMemoryInputTransport memoryTransport = new TMemoryInputTransport(getFrameBuffer().array()); - TProtocol prot = super.client.getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_removeRange(); - } - } - - public void scan(ScanReq req, AsyncMethodCallback resultHandler593) throws TException { - checkReady(); - scan_call method_call = new scan_call(req, resultHandler593, this, ___protocolFactory, ___transport); - this.___currentMethod = method_call; - ___manager.call(method_call); - } - - public static class scan_call extends TAsyncMethodCall { - private ScanReq req; - public scan_call(ScanReq req, AsyncMethodCallback resultHandler594, TAsyncClient client590, TProtocolFactory protocolFactory591, TNonblockingTransport transport592) throws TException { - super(client590, protocolFactory591, transport592, resultHandler594, false); - this.req = req; - } - - public void write_args(TProtocol prot) throws TException { - prot.writeMessageBegin(new TMessage("scan", TMessageType.CALL, 0)); - scan_args args = new scan_args(); - args.setReq(req); - args.write(prot); - prot.writeMessageEnd(); - } - - public ScanResp getResult() throws TException { - if (getState() != State.RESPONSE_READ) { - throw new IllegalStateException("Method call not finished!"); - } - TMemoryInputTransport memoryTransport = new TMemoryInputTransport(getFrameBuffer().array()); - TProtocol prot = super.client.getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_scan(); - } - } - - public void createTagIndex(CreateTagIndexReq req, AsyncMethodCallback resultHandler598) throws TException { - checkReady(); - createTagIndex_call method_call = new createTagIndex_call(req, resultHandler598, this, ___protocolFactory, ___transport); + createTagIndex_call method_call = new createTagIndex_call(req, resultHandler587, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class createTagIndex_call extends TAsyncMethodCall { private CreateTagIndexReq req; - public createTagIndex_call(CreateTagIndexReq req, AsyncMethodCallback resultHandler599, TAsyncClient client595, TProtocolFactory protocolFactory596, TNonblockingTransport transport597) throws TException { - super(client595, protocolFactory596, transport597, resultHandler599, false); + public createTagIndex_call(CreateTagIndexReq req, AsyncMethodCallback resultHandler588, TAsyncClient client584, TProtocolFactory protocolFactory585, TNonblockingTransport transport586) throws TException { + super(client584, protocolFactory585, transport586, resultHandler588, false); this.req = req; } @@ -5356,17 +5049,17 @@ public ExecResp getResult() throws TException { } } - public void dropTagIndex(DropTagIndexReq req, AsyncMethodCallback resultHandler603) throws TException { + public void dropTagIndex(DropTagIndexReq req, AsyncMethodCallback resultHandler592) throws TException { checkReady(); - dropTagIndex_call method_call = new dropTagIndex_call(req, resultHandler603, this, ___protocolFactory, ___transport); + dropTagIndex_call method_call = new dropTagIndex_call(req, resultHandler592, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class dropTagIndex_call extends TAsyncMethodCall { private DropTagIndexReq req; - public dropTagIndex_call(DropTagIndexReq req, AsyncMethodCallback resultHandler604, TAsyncClient client600, TProtocolFactory protocolFactory601, TNonblockingTransport transport602) throws TException { - super(client600, protocolFactory601, transport602, resultHandler604, false); + public dropTagIndex_call(DropTagIndexReq req, AsyncMethodCallback resultHandler593, TAsyncClient client589, TProtocolFactory protocolFactory590, TNonblockingTransport transport591) throws TException { + super(client589, protocolFactory590, transport591, resultHandler593, false); this.req = req; } @@ -5388,17 +5081,17 @@ public ExecResp getResult() throws TException { } } - public void getTagIndex(GetTagIndexReq req, AsyncMethodCallback resultHandler608) throws TException { + public void getTagIndex(GetTagIndexReq req, AsyncMethodCallback resultHandler597) throws TException { checkReady(); - getTagIndex_call method_call = new getTagIndex_call(req, resultHandler608, this, ___protocolFactory, ___transport); + getTagIndex_call method_call = new getTagIndex_call(req, resultHandler597, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class getTagIndex_call extends TAsyncMethodCall { private GetTagIndexReq req; - public getTagIndex_call(GetTagIndexReq req, AsyncMethodCallback resultHandler609, TAsyncClient client605, TProtocolFactory protocolFactory606, TNonblockingTransport transport607) throws TException { - super(client605, protocolFactory606, transport607, resultHandler609, false); + public getTagIndex_call(GetTagIndexReq req, AsyncMethodCallback resultHandler598, TAsyncClient client594, TProtocolFactory protocolFactory595, TNonblockingTransport transport596) throws TException { + super(client594, protocolFactory595, transport596, resultHandler598, false); this.req = req; } @@ -5420,17 +5113,17 @@ public GetTagIndexResp getResult() throws TException { } } - public void listTagIndexes(ListTagIndexesReq req, AsyncMethodCallback resultHandler613) throws TException { + public void listTagIndexes(ListTagIndexesReq req, AsyncMethodCallback resultHandler602) throws TException { checkReady(); - listTagIndexes_call method_call = new listTagIndexes_call(req, resultHandler613, this, ___protocolFactory, ___transport); + listTagIndexes_call method_call = new listTagIndexes_call(req, resultHandler602, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class listTagIndexes_call extends TAsyncMethodCall { private ListTagIndexesReq req; - public listTagIndexes_call(ListTagIndexesReq req, AsyncMethodCallback resultHandler614, TAsyncClient client610, TProtocolFactory protocolFactory611, TNonblockingTransport transport612) throws TException { - super(client610, protocolFactory611, transport612, resultHandler614, false); + public listTagIndexes_call(ListTagIndexesReq req, AsyncMethodCallback resultHandler603, TAsyncClient client599, TProtocolFactory protocolFactory600, TNonblockingTransport transport601) throws TException { + super(client599, protocolFactory600, transport601, resultHandler603, false); this.req = req; } @@ -5452,17 +5145,17 @@ public ListTagIndexesResp getResult() throws TException { } } - public void rebuildTagIndex(RebuildIndexReq req, AsyncMethodCallback resultHandler618) throws TException { + public void rebuildTagIndex(RebuildIndexReq req, AsyncMethodCallback resultHandler607) throws TException { checkReady(); - rebuildTagIndex_call method_call = new rebuildTagIndex_call(req, resultHandler618, this, ___protocolFactory, ___transport); + rebuildTagIndex_call method_call = new rebuildTagIndex_call(req, resultHandler607, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class rebuildTagIndex_call extends TAsyncMethodCall { private RebuildIndexReq req; - public rebuildTagIndex_call(RebuildIndexReq req, AsyncMethodCallback resultHandler619, TAsyncClient client615, TProtocolFactory protocolFactory616, TNonblockingTransport transport617) throws TException { - super(client615, protocolFactory616, transport617, resultHandler619, false); + public rebuildTagIndex_call(RebuildIndexReq req, AsyncMethodCallback resultHandler608, TAsyncClient client604, TProtocolFactory protocolFactory605, TNonblockingTransport transport606) throws TException { + super(client604, protocolFactory605, transport606, resultHandler608, false); this.req = req; } @@ -5484,17 +5177,17 @@ public ExecResp getResult() throws TException { } } - public void listTagIndexStatus(ListIndexStatusReq req, AsyncMethodCallback resultHandler623) throws TException { + public void listTagIndexStatus(ListIndexStatusReq req, AsyncMethodCallback resultHandler612) throws TException { checkReady(); - listTagIndexStatus_call method_call = new listTagIndexStatus_call(req, resultHandler623, this, ___protocolFactory, ___transport); + listTagIndexStatus_call method_call = new listTagIndexStatus_call(req, resultHandler612, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class listTagIndexStatus_call extends TAsyncMethodCall { private ListIndexStatusReq req; - public listTagIndexStatus_call(ListIndexStatusReq req, AsyncMethodCallback resultHandler624, TAsyncClient client620, TProtocolFactory protocolFactory621, TNonblockingTransport transport622) throws TException { - super(client620, protocolFactory621, transport622, resultHandler624, false); + public listTagIndexStatus_call(ListIndexStatusReq req, AsyncMethodCallback resultHandler613, TAsyncClient client609, TProtocolFactory protocolFactory610, TNonblockingTransport transport611) throws TException { + super(client609, protocolFactory610, transport611, resultHandler613, false); this.req = req; } @@ -5516,17 +5209,17 @@ public ListIndexStatusResp getResult() throws TException { } } - public void createEdgeIndex(CreateEdgeIndexReq req, AsyncMethodCallback resultHandler628) throws TException { + public void createEdgeIndex(CreateEdgeIndexReq req, AsyncMethodCallback resultHandler617) throws TException { checkReady(); - createEdgeIndex_call method_call = new createEdgeIndex_call(req, resultHandler628, this, ___protocolFactory, ___transport); + createEdgeIndex_call method_call = new createEdgeIndex_call(req, resultHandler617, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class createEdgeIndex_call extends TAsyncMethodCall { private CreateEdgeIndexReq req; - public createEdgeIndex_call(CreateEdgeIndexReq req, AsyncMethodCallback resultHandler629, TAsyncClient client625, TProtocolFactory protocolFactory626, TNonblockingTransport transport627) throws TException { - super(client625, protocolFactory626, transport627, resultHandler629, false); + public createEdgeIndex_call(CreateEdgeIndexReq req, AsyncMethodCallback resultHandler618, TAsyncClient client614, TProtocolFactory protocolFactory615, TNonblockingTransport transport616) throws TException { + super(client614, protocolFactory615, transport616, resultHandler618, false); this.req = req; } @@ -5548,17 +5241,17 @@ public ExecResp getResult() throws TException { } } - public void dropEdgeIndex(DropEdgeIndexReq req, AsyncMethodCallback resultHandler633) throws TException { + public void dropEdgeIndex(DropEdgeIndexReq req, AsyncMethodCallback resultHandler622) throws TException { checkReady(); - dropEdgeIndex_call method_call = new dropEdgeIndex_call(req, resultHandler633, this, ___protocolFactory, ___transport); + dropEdgeIndex_call method_call = new dropEdgeIndex_call(req, resultHandler622, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class dropEdgeIndex_call extends TAsyncMethodCall { private DropEdgeIndexReq req; - public dropEdgeIndex_call(DropEdgeIndexReq req, AsyncMethodCallback resultHandler634, TAsyncClient client630, TProtocolFactory protocolFactory631, TNonblockingTransport transport632) throws TException { - super(client630, protocolFactory631, transport632, resultHandler634, false); + public dropEdgeIndex_call(DropEdgeIndexReq req, AsyncMethodCallback resultHandler623, TAsyncClient client619, TProtocolFactory protocolFactory620, TNonblockingTransport transport621) throws TException { + super(client619, protocolFactory620, transport621, resultHandler623, false); this.req = req; } @@ -5580,17 +5273,17 @@ public ExecResp getResult() throws TException { } } - public void getEdgeIndex(GetEdgeIndexReq req, AsyncMethodCallback resultHandler638) throws TException { + public void getEdgeIndex(GetEdgeIndexReq req, AsyncMethodCallback resultHandler627) throws TException { checkReady(); - getEdgeIndex_call method_call = new getEdgeIndex_call(req, resultHandler638, this, ___protocolFactory, ___transport); + getEdgeIndex_call method_call = new getEdgeIndex_call(req, resultHandler627, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class getEdgeIndex_call extends TAsyncMethodCall { private GetEdgeIndexReq req; - public getEdgeIndex_call(GetEdgeIndexReq req, AsyncMethodCallback resultHandler639, TAsyncClient client635, TProtocolFactory protocolFactory636, TNonblockingTransport transport637) throws TException { - super(client635, protocolFactory636, transport637, resultHandler639, false); + public getEdgeIndex_call(GetEdgeIndexReq req, AsyncMethodCallback resultHandler628, TAsyncClient client624, TProtocolFactory protocolFactory625, TNonblockingTransport transport626) throws TException { + super(client624, protocolFactory625, transport626, resultHandler628, false); this.req = req; } @@ -5612,17 +5305,17 @@ public GetEdgeIndexResp getResult() throws TException { } } - public void listEdgeIndexes(ListEdgeIndexesReq req, AsyncMethodCallback resultHandler643) throws TException { + public void listEdgeIndexes(ListEdgeIndexesReq req, AsyncMethodCallback resultHandler632) throws TException { checkReady(); - listEdgeIndexes_call method_call = new listEdgeIndexes_call(req, resultHandler643, this, ___protocolFactory, ___transport); + listEdgeIndexes_call method_call = new listEdgeIndexes_call(req, resultHandler632, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class listEdgeIndexes_call extends TAsyncMethodCall { private ListEdgeIndexesReq req; - public listEdgeIndexes_call(ListEdgeIndexesReq req, AsyncMethodCallback resultHandler644, TAsyncClient client640, TProtocolFactory protocolFactory641, TNonblockingTransport transport642) throws TException { - super(client640, protocolFactory641, transport642, resultHandler644, false); + public listEdgeIndexes_call(ListEdgeIndexesReq req, AsyncMethodCallback resultHandler633, TAsyncClient client629, TProtocolFactory protocolFactory630, TNonblockingTransport transport631) throws TException { + super(client629, protocolFactory630, transport631, resultHandler633, false); this.req = req; } @@ -5644,17 +5337,17 @@ public ListEdgeIndexesResp getResult() throws TException { } } - public void rebuildEdgeIndex(RebuildIndexReq req, AsyncMethodCallback resultHandler648) throws TException { + public void rebuildEdgeIndex(RebuildIndexReq req, AsyncMethodCallback resultHandler637) throws TException { checkReady(); - rebuildEdgeIndex_call method_call = new rebuildEdgeIndex_call(req, resultHandler648, this, ___protocolFactory, ___transport); + rebuildEdgeIndex_call method_call = new rebuildEdgeIndex_call(req, resultHandler637, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class rebuildEdgeIndex_call extends TAsyncMethodCall { private RebuildIndexReq req; - public rebuildEdgeIndex_call(RebuildIndexReq req, AsyncMethodCallback resultHandler649, TAsyncClient client645, TProtocolFactory protocolFactory646, TNonblockingTransport transport647) throws TException { - super(client645, protocolFactory646, transport647, resultHandler649, false); + public rebuildEdgeIndex_call(RebuildIndexReq req, AsyncMethodCallback resultHandler638, TAsyncClient client634, TProtocolFactory protocolFactory635, TNonblockingTransport transport636) throws TException { + super(client634, protocolFactory635, transport636, resultHandler638, false); this.req = req; } @@ -5676,17 +5369,17 @@ public ExecResp getResult() throws TException { } } - public void listEdgeIndexStatus(ListIndexStatusReq req, AsyncMethodCallback resultHandler653) throws TException { + public void listEdgeIndexStatus(ListIndexStatusReq req, AsyncMethodCallback resultHandler642) throws TException { checkReady(); - listEdgeIndexStatus_call method_call = new listEdgeIndexStatus_call(req, resultHandler653, this, ___protocolFactory, ___transport); + listEdgeIndexStatus_call method_call = new listEdgeIndexStatus_call(req, resultHandler642, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class listEdgeIndexStatus_call extends TAsyncMethodCall { private ListIndexStatusReq req; - public listEdgeIndexStatus_call(ListIndexStatusReq req, AsyncMethodCallback resultHandler654, TAsyncClient client650, TProtocolFactory protocolFactory651, TNonblockingTransport transport652) throws TException { - super(client650, protocolFactory651, transport652, resultHandler654, false); + public listEdgeIndexStatus_call(ListIndexStatusReq req, AsyncMethodCallback resultHandler643, TAsyncClient client639, TProtocolFactory protocolFactory640, TNonblockingTransport transport641) throws TException { + super(client639, protocolFactory640, transport641, resultHandler643, false); this.req = req; } @@ -5708,17 +5401,17 @@ public ListIndexStatusResp getResult() throws TException { } } - public void createUser(CreateUserReq req, AsyncMethodCallback resultHandler658) throws TException { + public void createUser(CreateUserReq req, AsyncMethodCallback resultHandler647) throws TException { checkReady(); - createUser_call method_call = new createUser_call(req, resultHandler658, this, ___protocolFactory, ___transport); + createUser_call method_call = new createUser_call(req, resultHandler647, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class createUser_call extends TAsyncMethodCall { private CreateUserReq req; - public createUser_call(CreateUserReq req, AsyncMethodCallback resultHandler659, TAsyncClient client655, TProtocolFactory protocolFactory656, TNonblockingTransport transport657) throws TException { - super(client655, protocolFactory656, transport657, resultHandler659, false); + public createUser_call(CreateUserReq req, AsyncMethodCallback resultHandler648, TAsyncClient client644, TProtocolFactory protocolFactory645, TNonblockingTransport transport646) throws TException { + super(client644, protocolFactory645, transport646, resultHandler648, false); this.req = req; } @@ -5740,17 +5433,17 @@ public ExecResp getResult() throws TException { } } - public void dropUser(DropUserReq req, AsyncMethodCallback resultHandler663) throws TException { + public void dropUser(DropUserReq req, AsyncMethodCallback resultHandler652) throws TException { checkReady(); - dropUser_call method_call = new dropUser_call(req, resultHandler663, this, ___protocolFactory, ___transport); + dropUser_call method_call = new dropUser_call(req, resultHandler652, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class dropUser_call extends TAsyncMethodCall { private DropUserReq req; - public dropUser_call(DropUserReq req, AsyncMethodCallback resultHandler664, TAsyncClient client660, TProtocolFactory protocolFactory661, TNonblockingTransport transport662) throws TException { - super(client660, protocolFactory661, transport662, resultHandler664, false); + public dropUser_call(DropUserReq req, AsyncMethodCallback resultHandler653, TAsyncClient client649, TProtocolFactory protocolFactory650, TNonblockingTransport transport651) throws TException { + super(client649, protocolFactory650, transport651, resultHandler653, false); this.req = req; } @@ -5772,17 +5465,17 @@ public ExecResp getResult() throws TException { } } - public void alterUser(AlterUserReq req, AsyncMethodCallback resultHandler668) throws TException { + public void alterUser(AlterUserReq req, AsyncMethodCallback resultHandler657) throws TException { checkReady(); - alterUser_call method_call = new alterUser_call(req, resultHandler668, this, ___protocolFactory, ___transport); + alterUser_call method_call = new alterUser_call(req, resultHandler657, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class alterUser_call extends TAsyncMethodCall { private AlterUserReq req; - public alterUser_call(AlterUserReq req, AsyncMethodCallback resultHandler669, TAsyncClient client665, TProtocolFactory protocolFactory666, TNonblockingTransport transport667) throws TException { - super(client665, protocolFactory666, transport667, resultHandler669, false); + public alterUser_call(AlterUserReq req, AsyncMethodCallback resultHandler658, TAsyncClient client654, TProtocolFactory protocolFactory655, TNonblockingTransport transport656) throws TException { + super(client654, protocolFactory655, transport656, resultHandler658, false); this.req = req; } @@ -5804,17 +5497,17 @@ public ExecResp getResult() throws TException { } } - public void grantRole(GrantRoleReq req, AsyncMethodCallback resultHandler673) throws TException { + public void grantRole(GrantRoleReq req, AsyncMethodCallback resultHandler662) throws TException { checkReady(); - grantRole_call method_call = new grantRole_call(req, resultHandler673, this, ___protocolFactory, ___transport); + grantRole_call method_call = new grantRole_call(req, resultHandler662, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class grantRole_call extends TAsyncMethodCall { private GrantRoleReq req; - public grantRole_call(GrantRoleReq req, AsyncMethodCallback resultHandler674, TAsyncClient client670, TProtocolFactory protocolFactory671, TNonblockingTransport transport672) throws TException { - super(client670, protocolFactory671, transport672, resultHandler674, false); + public grantRole_call(GrantRoleReq req, AsyncMethodCallback resultHandler663, TAsyncClient client659, TProtocolFactory protocolFactory660, TNonblockingTransport transport661) throws TException { + super(client659, protocolFactory660, transport661, resultHandler663, false); this.req = req; } @@ -5836,17 +5529,17 @@ public ExecResp getResult() throws TException { } } - public void revokeRole(RevokeRoleReq req, AsyncMethodCallback resultHandler678) throws TException { + public void revokeRole(RevokeRoleReq req, AsyncMethodCallback resultHandler667) throws TException { checkReady(); - revokeRole_call method_call = new revokeRole_call(req, resultHandler678, this, ___protocolFactory, ___transport); + revokeRole_call method_call = new revokeRole_call(req, resultHandler667, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class revokeRole_call extends TAsyncMethodCall { private RevokeRoleReq req; - public revokeRole_call(RevokeRoleReq req, AsyncMethodCallback resultHandler679, TAsyncClient client675, TProtocolFactory protocolFactory676, TNonblockingTransport transport677) throws TException { - super(client675, protocolFactory676, transport677, resultHandler679, false); + public revokeRole_call(RevokeRoleReq req, AsyncMethodCallback resultHandler668, TAsyncClient client664, TProtocolFactory protocolFactory665, TNonblockingTransport transport666) throws TException { + super(client664, protocolFactory665, transport666, resultHandler668, false); this.req = req; } @@ -5868,17 +5561,17 @@ public ExecResp getResult() throws TException { } } - public void listUsers(ListUsersReq req, AsyncMethodCallback resultHandler683) throws TException { + public void listUsers(ListUsersReq req, AsyncMethodCallback resultHandler672) throws TException { checkReady(); - listUsers_call method_call = new listUsers_call(req, resultHandler683, this, ___protocolFactory, ___transport); + listUsers_call method_call = new listUsers_call(req, resultHandler672, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class listUsers_call extends TAsyncMethodCall { private ListUsersReq req; - public listUsers_call(ListUsersReq req, AsyncMethodCallback resultHandler684, TAsyncClient client680, TProtocolFactory protocolFactory681, TNonblockingTransport transport682) throws TException { - super(client680, protocolFactory681, transport682, resultHandler684, false); + public listUsers_call(ListUsersReq req, AsyncMethodCallback resultHandler673, TAsyncClient client669, TProtocolFactory protocolFactory670, TNonblockingTransport transport671) throws TException { + super(client669, protocolFactory670, transport671, resultHandler673, false); this.req = req; } @@ -5900,17 +5593,17 @@ public ListUsersResp getResult() throws TException { } } - public void listRoles(ListRolesReq req, AsyncMethodCallback resultHandler688) throws TException { + public void listRoles(ListRolesReq req, AsyncMethodCallback resultHandler677) throws TException { checkReady(); - listRoles_call method_call = new listRoles_call(req, resultHandler688, this, ___protocolFactory, ___transport); + listRoles_call method_call = new listRoles_call(req, resultHandler677, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class listRoles_call extends TAsyncMethodCall { private ListRolesReq req; - public listRoles_call(ListRolesReq req, AsyncMethodCallback resultHandler689, TAsyncClient client685, TProtocolFactory protocolFactory686, TNonblockingTransport transport687) throws TException { - super(client685, protocolFactory686, transport687, resultHandler689, false); + public listRoles_call(ListRolesReq req, AsyncMethodCallback resultHandler678, TAsyncClient client674, TProtocolFactory protocolFactory675, TNonblockingTransport transport676) throws TException { + super(client674, protocolFactory675, transport676, resultHandler678, false); this.req = req; } @@ -5932,17 +5625,17 @@ public ListRolesResp getResult() throws TException { } } - public void getUserRoles(GetUserRolesReq req, AsyncMethodCallback resultHandler693) throws TException { + public void getUserRoles(GetUserRolesReq req, AsyncMethodCallback resultHandler682) throws TException { checkReady(); - getUserRoles_call method_call = new getUserRoles_call(req, resultHandler693, this, ___protocolFactory, ___transport); + getUserRoles_call method_call = new getUserRoles_call(req, resultHandler682, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class getUserRoles_call extends TAsyncMethodCall { private GetUserRolesReq req; - public getUserRoles_call(GetUserRolesReq req, AsyncMethodCallback resultHandler694, TAsyncClient client690, TProtocolFactory protocolFactory691, TNonblockingTransport transport692) throws TException { - super(client690, protocolFactory691, transport692, resultHandler694, false); + public getUserRoles_call(GetUserRolesReq req, AsyncMethodCallback resultHandler683, TAsyncClient client679, TProtocolFactory protocolFactory680, TNonblockingTransport transport681) throws TException { + super(client679, protocolFactory680, transport681, resultHandler683, false); this.req = req; } @@ -5964,17 +5657,17 @@ public ListRolesResp getResult() throws TException { } } - public void changePassword(ChangePasswordReq req, AsyncMethodCallback resultHandler698) throws TException { + public void changePassword(ChangePasswordReq req, AsyncMethodCallback resultHandler687) throws TException { checkReady(); - changePassword_call method_call = new changePassword_call(req, resultHandler698, this, ___protocolFactory, ___transport); + changePassword_call method_call = new changePassword_call(req, resultHandler687, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class changePassword_call extends TAsyncMethodCall { private ChangePasswordReq req; - public changePassword_call(ChangePasswordReq req, AsyncMethodCallback resultHandler699, TAsyncClient client695, TProtocolFactory protocolFactory696, TNonblockingTransport transport697) throws TException { - super(client695, protocolFactory696, transport697, resultHandler699, false); + public changePassword_call(ChangePasswordReq req, AsyncMethodCallback resultHandler688, TAsyncClient client684, TProtocolFactory protocolFactory685, TNonblockingTransport transport686) throws TException { + super(client684, protocolFactory685, transport686, resultHandler688, false); this.req = req; } @@ -5996,17 +5689,17 @@ public ExecResp getResult() throws TException { } } - public void heartBeat(HBReq req, AsyncMethodCallback resultHandler703) throws TException { + public void heartBeat(HBReq req, AsyncMethodCallback resultHandler692) throws TException { checkReady(); - heartBeat_call method_call = new heartBeat_call(req, resultHandler703, this, ___protocolFactory, ___transport); + heartBeat_call method_call = new heartBeat_call(req, resultHandler692, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class heartBeat_call extends TAsyncMethodCall { private HBReq req; - public heartBeat_call(HBReq req, AsyncMethodCallback resultHandler704, TAsyncClient client700, TProtocolFactory protocolFactory701, TNonblockingTransport transport702) throws TException { - super(client700, protocolFactory701, transport702, resultHandler704, false); + public heartBeat_call(HBReq req, AsyncMethodCallback resultHandler693, TAsyncClient client689, TProtocolFactory protocolFactory690, TNonblockingTransport transport691) throws TException { + super(client689, protocolFactory690, transport691, resultHandler693, false); this.req = req; } @@ -6028,17 +5721,17 @@ public HBResp getResult() throws TException { } } - public void agentHeartbeat(AgentHBReq req, AsyncMethodCallback resultHandler708) throws TException { + public void agentHeartbeat(AgentHBReq req, AsyncMethodCallback resultHandler697) throws TException { checkReady(); - agentHeartbeat_call method_call = new agentHeartbeat_call(req, resultHandler708, this, ___protocolFactory, ___transport); + agentHeartbeat_call method_call = new agentHeartbeat_call(req, resultHandler697, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class agentHeartbeat_call extends TAsyncMethodCall { private AgentHBReq req; - public agentHeartbeat_call(AgentHBReq req, AsyncMethodCallback resultHandler709, TAsyncClient client705, TProtocolFactory protocolFactory706, TNonblockingTransport transport707) throws TException { - super(client705, protocolFactory706, transport707, resultHandler709, false); + public agentHeartbeat_call(AgentHBReq req, AsyncMethodCallback resultHandler698, TAsyncClient client694, TProtocolFactory protocolFactory695, TNonblockingTransport transport696) throws TException { + super(client694, protocolFactory695, transport696, resultHandler698, false); this.req = req; } @@ -6060,17 +5753,17 @@ public AgentHBResp getResult() throws TException { } } - public void regConfig(RegConfigReq req, AsyncMethodCallback resultHandler713) throws TException { + public void regConfig(RegConfigReq req, AsyncMethodCallback resultHandler702) throws TException { checkReady(); - regConfig_call method_call = new regConfig_call(req, resultHandler713, this, ___protocolFactory, ___transport); + regConfig_call method_call = new regConfig_call(req, resultHandler702, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class regConfig_call extends TAsyncMethodCall { private RegConfigReq req; - public regConfig_call(RegConfigReq req, AsyncMethodCallback resultHandler714, TAsyncClient client710, TProtocolFactory protocolFactory711, TNonblockingTransport transport712) throws TException { - super(client710, protocolFactory711, transport712, resultHandler714, false); + public regConfig_call(RegConfigReq req, AsyncMethodCallback resultHandler703, TAsyncClient client699, TProtocolFactory protocolFactory700, TNonblockingTransport transport701) throws TException { + super(client699, protocolFactory700, transport701, resultHandler703, false); this.req = req; } @@ -6092,17 +5785,17 @@ public ExecResp getResult() throws TException { } } - public void getConfig(GetConfigReq req, AsyncMethodCallback resultHandler718) throws TException { + public void getConfig(GetConfigReq req, AsyncMethodCallback resultHandler707) throws TException { checkReady(); - getConfig_call method_call = new getConfig_call(req, resultHandler718, this, ___protocolFactory, ___transport); + getConfig_call method_call = new getConfig_call(req, resultHandler707, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class getConfig_call extends TAsyncMethodCall { private GetConfigReq req; - public getConfig_call(GetConfigReq req, AsyncMethodCallback resultHandler719, TAsyncClient client715, TProtocolFactory protocolFactory716, TNonblockingTransport transport717) throws TException { - super(client715, protocolFactory716, transport717, resultHandler719, false); + public getConfig_call(GetConfigReq req, AsyncMethodCallback resultHandler708, TAsyncClient client704, TProtocolFactory protocolFactory705, TNonblockingTransport transport706) throws TException { + super(client704, protocolFactory705, transport706, resultHandler708, false); this.req = req; } @@ -6124,17 +5817,17 @@ public GetConfigResp getResult() throws TException { } } - public void setConfig(SetConfigReq req, AsyncMethodCallback resultHandler723) throws TException { + public void setConfig(SetConfigReq req, AsyncMethodCallback resultHandler712) throws TException { checkReady(); - setConfig_call method_call = new setConfig_call(req, resultHandler723, this, ___protocolFactory, ___transport); + setConfig_call method_call = new setConfig_call(req, resultHandler712, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class setConfig_call extends TAsyncMethodCall { private SetConfigReq req; - public setConfig_call(SetConfigReq req, AsyncMethodCallback resultHandler724, TAsyncClient client720, TProtocolFactory protocolFactory721, TNonblockingTransport transport722) throws TException { - super(client720, protocolFactory721, transport722, resultHandler724, false); + public setConfig_call(SetConfigReq req, AsyncMethodCallback resultHandler713, TAsyncClient client709, TProtocolFactory protocolFactory710, TNonblockingTransport transport711) throws TException { + super(client709, protocolFactory710, transport711, resultHandler713, false); this.req = req; } @@ -6156,17 +5849,17 @@ public ExecResp getResult() throws TException { } } - public void listConfigs(ListConfigsReq req, AsyncMethodCallback resultHandler728) throws TException { + public void listConfigs(ListConfigsReq req, AsyncMethodCallback resultHandler717) throws TException { checkReady(); - listConfigs_call method_call = new listConfigs_call(req, resultHandler728, this, ___protocolFactory, ___transport); + listConfigs_call method_call = new listConfigs_call(req, resultHandler717, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class listConfigs_call extends TAsyncMethodCall { private ListConfigsReq req; - public listConfigs_call(ListConfigsReq req, AsyncMethodCallback resultHandler729, TAsyncClient client725, TProtocolFactory protocolFactory726, TNonblockingTransport transport727) throws TException { - super(client725, protocolFactory726, transport727, resultHandler729, false); + public listConfigs_call(ListConfigsReq req, AsyncMethodCallback resultHandler718, TAsyncClient client714, TProtocolFactory protocolFactory715, TNonblockingTransport transport716) throws TException { + super(client714, protocolFactory715, transport716, resultHandler718, false); this.req = req; } @@ -6188,17 +5881,17 @@ public ListConfigsResp getResult() throws TException { } } - public void createSnapshot(CreateSnapshotReq req, AsyncMethodCallback resultHandler733) throws TException { + public void createSnapshot(CreateSnapshotReq req, AsyncMethodCallback resultHandler722) throws TException { checkReady(); - createSnapshot_call method_call = new createSnapshot_call(req, resultHandler733, this, ___protocolFactory, ___transport); + createSnapshot_call method_call = new createSnapshot_call(req, resultHandler722, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class createSnapshot_call extends TAsyncMethodCall { private CreateSnapshotReq req; - public createSnapshot_call(CreateSnapshotReq req, AsyncMethodCallback resultHandler734, TAsyncClient client730, TProtocolFactory protocolFactory731, TNonblockingTransport transport732) throws TException { - super(client730, protocolFactory731, transport732, resultHandler734, false); + public createSnapshot_call(CreateSnapshotReq req, AsyncMethodCallback resultHandler723, TAsyncClient client719, TProtocolFactory protocolFactory720, TNonblockingTransport transport721) throws TException { + super(client719, protocolFactory720, transport721, resultHandler723, false); this.req = req; } @@ -6220,17 +5913,17 @@ public ExecResp getResult() throws TException { } } - public void dropSnapshot(DropSnapshotReq req, AsyncMethodCallback resultHandler738) throws TException { + public void dropSnapshot(DropSnapshotReq req, AsyncMethodCallback resultHandler727) throws TException { checkReady(); - dropSnapshot_call method_call = new dropSnapshot_call(req, resultHandler738, this, ___protocolFactory, ___transport); + dropSnapshot_call method_call = new dropSnapshot_call(req, resultHandler727, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class dropSnapshot_call extends TAsyncMethodCall { private DropSnapshotReq req; - public dropSnapshot_call(DropSnapshotReq req, AsyncMethodCallback resultHandler739, TAsyncClient client735, TProtocolFactory protocolFactory736, TNonblockingTransport transport737) throws TException { - super(client735, protocolFactory736, transport737, resultHandler739, false); + public dropSnapshot_call(DropSnapshotReq req, AsyncMethodCallback resultHandler728, TAsyncClient client724, TProtocolFactory protocolFactory725, TNonblockingTransport transport726) throws TException { + super(client724, protocolFactory725, transport726, resultHandler728, false); this.req = req; } @@ -6252,17 +5945,17 @@ public ExecResp getResult() throws TException { } } - public void listSnapshots(ListSnapshotsReq req, AsyncMethodCallback resultHandler743) throws TException { + public void listSnapshots(ListSnapshotsReq req, AsyncMethodCallback resultHandler732) throws TException { checkReady(); - listSnapshots_call method_call = new listSnapshots_call(req, resultHandler743, this, ___protocolFactory, ___transport); + listSnapshots_call method_call = new listSnapshots_call(req, resultHandler732, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class listSnapshots_call extends TAsyncMethodCall { private ListSnapshotsReq req; - public listSnapshots_call(ListSnapshotsReq req, AsyncMethodCallback resultHandler744, TAsyncClient client740, TProtocolFactory protocolFactory741, TNonblockingTransport transport742) throws TException { - super(client740, protocolFactory741, transport742, resultHandler744, false); + public listSnapshots_call(ListSnapshotsReq req, AsyncMethodCallback resultHandler733, TAsyncClient client729, TProtocolFactory protocolFactory730, TNonblockingTransport transport731) throws TException { + super(client729, protocolFactory730, transport731, resultHandler733, false); this.req = req; } @@ -6284,17 +5977,17 @@ public ListSnapshotsResp getResult() throws TException { } } - public void runAdminJob(AdminJobReq req, AsyncMethodCallback resultHandler748) throws TException { + public void runAdminJob(AdminJobReq req, AsyncMethodCallback resultHandler737) throws TException { checkReady(); - runAdminJob_call method_call = new runAdminJob_call(req, resultHandler748, this, ___protocolFactory, ___transport); + runAdminJob_call method_call = new runAdminJob_call(req, resultHandler737, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class runAdminJob_call extends TAsyncMethodCall { private AdminJobReq req; - public runAdminJob_call(AdminJobReq req, AsyncMethodCallback resultHandler749, TAsyncClient client745, TProtocolFactory protocolFactory746, TNonblockingTransport transport747) throws TException { - super(client745, protocolFactory746, transport747, resultHandler749, false); + public runAdminJob_call(AdminJobReq req, AsyncMethodCallback resultHandler738, TAsyncClient client734, TProtocolFactory protocolFactory735, TNonblockingTransport transport736) throws TException { + super(client734, protocolFactory735, transport736, resultHandler738, false); this.req = req; } @@ -6316,17 +6009,17 @@ public AdminJobResp getResult() throws TException { } } - public void mergeZone(MergeZoneReq req, AsyncMethodCallback resultHandler753) throws TException { + public void mergeZone(MergeZoneReq req, AsyncMethodCallback resultHandler742) throws TException { checkReady(); - mergeZone_call method_call = new mergeZone_call(req, resultHandler753, this, ___protocolFactory, ___transport); + mergeZone_call method_call = new mergeZone_call(req, resultHandler742, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class mergeZone_call extends TAsyncMethodCall { private MergeZoneReq req; - public mergeZone_call(MergeZoneReq req, AsyncMethodCallback resultHandler754, TAsyncClient client750, TProtocolFactory protocolFactory751, TNonblockingTransport transport752) throws TException { - super(client750, protocolFactory751, transport752, resultHandler754, false); + public mergeZone_call(MergeZoneReq req, AsyncMethodCallback resultHandler743, TAsyncClient client739, TProtocolFactory protocolFactory740, TNonblockingTransport transport741) throws TException { + super(client739, protocolFactory740, transport741, resultHandler743, false); this.req = req; } @@ -6348,17 +6041,17 @@ public ExecResp getResult() throws TException { } } - public void dropZone(DropZoneReq req, AsyncMethodCallback resultHandler758) throws TException { + public void dropZone(DropZoneReq req, AsyncMethodCallback resultHandler747) throws TException { checkReady(); - dropZone_call method_call = new dropZone_call(req, resultHandler758, this, ___protocolFactory, ___transport); + dropZone_call method_call = new dropZone_call(req, resultHandler747, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class dropZone_call extends TAsyncMethodCall { private DropZoneReq req; - public dropZone_call(DropZoneReq req, AsyncMethodCallback resultHandler759, TAsyncClient client755, TProtocolFactory protocolFactory756, TNonblockingTransport transport757) throws TException { - super(client755, protocolFactory756, transport757, resultHandler759, false); + public dropZone_call(DropZoneReq req, AsyncMethodCallback resultHandler748, TAsyncClient client744, TProtocolFactory protocolFactory745, TNonblockingTransport transport746) throws TException { + super(client744, protocolFactory745, transport746, resultHandler748, false); this.req = req; } @@ -6380,17 +6073,17 @@ public ExecResp getResult() throws TException { } } - public void divideZone(DivideZoneReq req, AsyncMethodCallback resultHandler763) throws TException { + public void divideZone(DivideZoneReq req, AsyncMethodCallback resultHandler752) throws TException { checkReady(); - divideZone_call method_call = new divideZone_call(req, resultHandler763, this, ___protocolFactory, ___transport); + divideZone_call method_call = new divideZone_call(req, resultHandler752, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class divideZone_call extends TAsyncMethodCall { private DivideZoneReq req; - public divideZone_call(DivideZoneReq req, AsyncMethodCallback resultHandler764, TAsyncClient client760, TProtocolFactory protocolFactory761, TNonblockingTransport transport762) throws TException { - super(client760, protocolFactory761, transport762, resultHandler764, false); + public divideZone_call(DivideZoneReq req, AsyncMethodCallback resultHandler753, TAsyncClient client749, TProtocolFactory protocolFactory750, TNonblockingTransport transport751) throws TException { + super(client749, protocolFactory750, transport751, resultHandler753, false); this.req = req; } @@ -6412,17 +6105,17 @@ public ExecResp getResult() throws TException { } } - public void renameZone(RenameZoneReq req, AsyncMethodCallback resultHandler768) throws TException { + public void renameZone(RenameZoneReq req, AsyncMethodCallback resultHandler757) throws TException { checkReady(); - renameZone_call method_call = new renameZone_call(req, resultHandler768, this, ___protocolFactory, ___transport); + renameZone_call method_call = new renameZone_call(req, resultHandler757, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class renameZone_call extends TAsyncMethodCall { private RenameZoneReq req; - public renameZone_call(RenameZoneReq req, AsyncMethodCallback resultHandler769, TAsyncClient client765, TProtocolFactory protocolFactory766, TNonblockingTransport transport767) throws TException { - super(client765, protocolFactory766, transport767, resultHandler769, false); + public renameZone_call(RenameZoneReq req, AsyncMethodCallback resultHandler758, TAsyncClient client754, TProtocolFactory protocolFactory755, TNonblockingTransport transport756) throws TException { + super(client754, protocolFactory755, transport756, resultHandler758, false); this.req = req; } @@ -6444,17 +6137,17 @@ public ExecResp getResult() throws TException { } } - public void getZone(GetZoneReq req, AsyncMethodCallback resultHandler773) throws TException { + public void getZone(GetZoneReq req, AsyncMethodCallback resultHandler762) throws TException { checkReady(); - getZone_call method_call = new getZone_call(req, resultHandler773, this, ___protocolFactory, ___transport); + getZone_call method_call = new getZone_call(req, resultHandler762, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class getZone_call extends TAsyncMethodCall { private GetZoneReq req; - public getZone_call(GetZoneReq req, AsyncMethodCallback resultHandler774, TAsyncClient client770, TProtocolFactory protocolFactory771, TNonblockingTransport transport772) throws TException { - super(client770, protocolFactory771, transport772, resultHandler774, false); + public getZone_call(GetZoneReq req, AsyncMethodCallback resultHandler763, TAsyncClient client759, TProtocolFactory protocolFactory760, TNonblockingTransport transport761) throws TException { + super(client759, protocolFactory760, transport761, resultHandler763, false); this.req = req; } @@ -6476,17 +6169,17 @@ public GetZoneResp getResult() throws TException { } } - public void listZones(ListZonesReq req, AsyncMethodCallback resultHandler778) throws TException { + public void listZones(ListZonesReq req, AsyncMethodCallback resultHandler767) throws TException { checkReady(); - listZones_call method_call = new listZones_call(req, resultHandler778, this, ___protocolFactory, ___transport); + listZones_call method_call = new listZones_call(req, resultHandler767, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class listZones_call extends TAsyncMethodCall { private ListZonesReq req; - public listZones_call(ListZonesReq req, AsyncMethodCallback resultHandler779, TAsyncClient client775, TProtocolFactory protocolFactory776, TNonblockingTransport transport777) throws TException { - super(client775, protocolFactory776, transport777, resultHandler779, false); + public listZones_call(ListZonesReq req, AsyncMethodCallback resultHandler768, TAsyncClient client764, TProtocolFactory protocolFactory765, TNonblockingTransport transport766) throws TException { + super(client764, protocolFactory765, transport766, resultHandler768, false); this.req = req; } @@ -6508,17 +6201,17 @@ public ListZonesResp getResult() throws TException { } } - public void addListener(AddListenerReq req, AsyncMethodCallback resultHandler783) throws TException { + public void addListener(AddListenerReq req, AsyncMethodCallback resultHandler772) throws TException { checkReady(); - addListener_call method_call = new addListener_call(req, resultHandler783, this, ___protocolFactory, ___transport); + addListener_call method_call = new addListener_call(req, resultHandler772, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class addListener_call extends TAsyncMethodCall { private AddListenerReq req; - public addListener_call(AddListenerReq req, AsyncMethodCallback resultHandler784, TAsyncClient client780, TProtocolFactory protocolFactory781, TNonblockingTransport transport782) throws TException { - super(client780, protocolFactory781, transport782, resultHandler784, false); + public addListener_call(AddListenerReq req, AsyncMethodCallback resultHandler773, TAsyncClient client769, TProtocolFactory protocolFactory770, TNonblockingTransport transport771) throws TException { + super(client769, protocolFactory770, transport771, resultHandler773, false); this.req = req; } @@ -6540,17 +6233,17 @@ public ExecResp getResult() throws TException { } } - public void removeListener(RemoveListenerReq req, AsyncMethodCallback resultHandler788) throws TException { + public void removeListener(RemoveListenerReq req, AsyncMethodCallback resultHandler777) throws TException { checkReady(); - removeListener_call method_call = new removeListener_call(req, resultHandler788, this, ___protocolFactory, ___transport); + removeListener_call method_call = new removeListener_call(req, resultHandler777, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class removeListener_call extends TAsyncMethodCall { private RemoveListenerReq req; - public removeListener_call(RemoveListenerReq req, AsyncMethodCallback resultHandler789, TAsyncClient client785, TProtocolFactory protocolFactory786, TNonblockingTransport transport787) throws TException { - super(client785, protocolFactory786, transport787, resultHandler789, false); + public removeListener_call(RemoveListenerReq req, AsyncMethodCallback resultHandler778, TAsyncClient client774, TProtocolFactory protocolFactory775, TNonblockingTransport transport776) throws TException { + super(client774, protocolFactory775, transport776, resultHandler778, false); this.req = req; } @@ -6572,17 +6265,17 @@ public ExecResp getResult() throws TException { } } - public void listListener(ListListenerReq req, AsyncMethodCallback resultHandler793) throws TException { + public void listListener(ListListenerReq req, AsyncMethodCallback resultHandler782) throws TException { checkReady(); - listListener_call method_call = new listListener_call(req, resultHandler793, this, ___protocolFactory, ___transport); + listListener_call method_call = new listListener_call(req, resultHandler782, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class listListener_call extends TAsyncMethodCall { private ListListenerReq req; - public listListener_call(ListListenerReq req, AsyncMethodCallback resultHandler794, TAsyncClient client790, TProtocolFactory protocolFactory791, TNonblockingTransport transport792) throws TException { - super(client790, protocolFactory791, transport792, resultHandler794, false); + public listListener_call(ListListenerReq req, AsyncMethodCallback resultHandler783, TAsyncClient client779, TProtocolFactory protocolFactory780, TNonblockingTransport transport781) throws TException { + super(client779, protocolFactory780, transport781, resultHandler783, false); this.req = req; } @@ -6604,17 +6297,17 @@ public ListListenerResp getResult() throws TException { } } - public void getStats(GetStatsReq req, AsyncMethodCallback resultHandler798) throws TException { + public void getStats(GetStatsReq req, AsyncMethodCallback resultHandler787) throws TException { checkReady(); - getStats_call method_call = new getStats_call(req, resultHandler798, this, ___protocolFactory, ___transport); + getStats_call method_call = new getStats_call(req, resultHandler787, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class getStats_call extends TAsyncMethodCall { private GetStatsReq req; - public getStats_call(GetStatsReq req, AsyncMethodCallback resultHandler799, TAsyncClient client795, TProtocolFactory protocolFactory796, TNonblockingTransport transport797) throws TException { - super(client795, protocolFactory796, transport797, resultHandler799, false); + public getStats_call(GetStatsReq req, AsyncMethodCallback resultHandler788, TAsyncClient client784, TProtocolFactory protocolFactory785, TNonblockingTransport transport786) throws TException { + super(client784, protocolFactory785, transport786, resultHandler788, false); this.req = req; } @@ -6636,17 +6329,17 @@ public GetStatsResp getResult() throws TException { } } - public void signInService(SignInServiceReq req, AsyncMethodCallback resultHandler803) throws TException { + public void signInService(SignInServiceReq req, AsyncMethodCallback resultHandler792) throws TException { checkReady(); - signInService_call method_call = new signInService_call(req, resultHandler803, this, ___protocolFactory, ___transport); + signInService_call method_call = new signInService_call(req, resultHandler792, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class signInService_call extends TAsyncMethodCall { private SignInServiceReq req; - public signInService_call(SignInServiceReq req, AsyncMethodCallback resultHandler804, TAsyncClient client800, TProtocolFactory protocolFactory801, TNonblockingTransport transport802) throws TException { - super(client800, protocolFactory801, transport802, resultHandler804, false); + public signInService_call(SignInServiceReq req, AsyncMethodCallback resultHandler793, TAsyncClient client789, TProtocolFactory protocolFactory790, TNonblockingTransport transport791) throws TException { + super(client789, protocolFactory790, transport791, resultHandler793, false); this.req = req; } @@ -6668,17 +6361,17 @@ public ExecResp getResult() throws TException { } } - public void signOutService(SignOutServiceReq req, AsyncMethodCallback resultHandler808) throws TException { + public void signOutService(SignOutServiceReq req, AsyncMethodCallback resultHandler797) throws TException { checkReady(); - signOutService_call method_call = new signOutService_call(req, resultHandler808, this, ___protocolFactory, ___transport); + signOutService_call method_call = new signOutService_call(req, resultHandler797, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class signOutService_call extends TAsyncMethodCall { private SignOutServiceReq req; - public signOutService_call(SignOutServiceReq req, AsyncMethodCallback resultHandler809, TAsyncClient client805, TProtocolFactory protocolFactory806, TNonblockingTransport transport807) throws TException { - super(client805, protocolFactory806, transport807, resultHandler809, false); + public signOutService_call(SignOutServiceReq req, AsyncMethodCallback resultHandler798, TAsyncClient client794, TProtocolFactory protocolFactory795, TNonblockingTransport transport796) throws TException { + super(client794, protocolFactory795, transport796, resultHandler798, false); this.req = req; } @@ -6700,17 +6393,17 @@ public ExecResp getResult() throws TException { } } - public void listServiceClients(ListServiceClientsReq req, AsyncMethodCallback resultHandler813) throws TException { + public void listServiceClients(ListServiceClientsReq req, AsyncMethodCallback resultHandler802) throws TException { checkReady(); - listServiceClients_call method_call = new listServiceClients_call(req, resultHandler813, this, ___protocolFactory, ___transport); + listServiceClients_call method_call = new listServiceClients_call(req, resultHandler802, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class listServiceClients_call extends TAsyncMethodCall { private ListServiceClientsReq req; - public listServiceClients_call(ListServiceClientsReq req, AsyncMethodCallback resultHandler814, TAsyncClient client810, TProtocolFactory protocolFactory811, TNonblockingTransport transport812) throws TException { - super(client810, protocolFactory811, transport812, resultHandler814, false); + public listServiceClients_call(ListServiceClientsReq req, AsyncMethodCallback resultHandler803, TAsyncClient client799, TProtocolFactory protocolFactory800, TNonblockingTransport transport801) throws TException { + super(client799, protocolFactory800, transport801, resultHandler803, false); this.req = req; } @@ -6732,17 +6425,17 @@ public ListServiceClientsResp getResult() throws TException { } } - public void createFTIndex(CreateFTIndexReq req, AsyncMethodCallback resultHandler818) throws TException { + public void createFTIndex(CreateFTIndexReq req, AsyncMethodCallback resultHandler807) throws TException { checkReady(); - createFTIndex_call method_call = new createFTIndex_call(req, resultHandler818, this, ___protocolFactory, ___transport); + createFTIndex_call method_call = new createFTIndex_call(req, resultHandler807, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class createFTIndex_call extends TAsyncMethodCall { private CreateFTIndexReq req; - public createFTIndex_call(CreateFTIndexReq req, AsyncMethodCallback resultHandler819, TAsyncClient client815, TProtocolFactory protocolFactory816, TNonblockingTransport transport817) throws TException { - super(client815, protocolFactory816, transport817, resultHandler819, false); + public createFTIndex_call(CreateFTIndexReq req, AsyncMethodCallback resultHandler808, TAsyncClient client804, TProtocolFactory protocolFactory805, TNonblockingTransport transport806) throws TException { + super(client804, protocolFactory805, transport806, resultHandler808, false); this.req = req; } @@ -6764,17 +6457,17 @@ public ExecResp getResult() throws TException { } } - public void dropFTIndex(DropFTIndexReq req, AsyncMethodCallback resultHandler823) throws TException { + public void dropFTIndex(DropFTIndexReq req, AsyncMethodCallback resultHandler812) throws TException { checkReady(); - dropFTIndex_call method_call = new dropFTIndex_call(req, resultHandler823, this, ___protocolFactory, ___transport); + dropFTIndex_call method_call = new dropFTIndex_call(req, resultHandler812, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class dropFTIndex_call extends TAsyncMethodCall { private DropFTIndexReq req; - public dropFTIndex_call(DropFTIndexReq req, AsyncMethodCallback resultHandler824, TAsyncClient client820, TProtocolFactory protocolFactory821, TNonblockingTransport transport822) throws TException { - super(client820, protocolFactory821, transport822, resultHandler824, false); + public dropFTIndex_call(DropFTIndexReq req, AsyncMethodCallback resultHandler813, TAsyncClient client809, TProtocolFactory protocolFactory810, TNonblockingTransport transport811) throws TException { + super(client809, protocolFactory810, transport811, resultHandler813, false); this.req = req; } @@ -6796,17 +6489,17 @@ public ExecResp getResult() throws TException { } } - public void listFTIndexes(ListFTIndexesReq req, AsyncMethodCallback resultHandler828) throws TException { + public void listFTIndexes(ListFTIndexesReq req, AsyncMethodCallback resultHandler817) throws TException { checkReady(); - listFTIndexes_call method_call = new listFTIndexes_call(req, resultHandler828, this, ___protocolFactory, ___transport); + listFTIndexes_call method_call = new listFTIndexes_call(req, resultHandler817, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class listFTIndexes_call extends TAsyncMethodCall { private ListFTIndexesReq req; - public listFTIndexes_call(ListFTIndexesReq req, AsyncMethodCallback resultHandler829, TAsyncClient client825, TProtocolFactory protocolFactory826, TNonblockingTransport transport827) throws TException { - super(client825, protocolFactory826, transport827, resultHandler829, false); + public listFTIndexes_call(ListFTIndexesReq req, AsyncMethodCallback resultHandler818, TAsyncClient client814, TProtocolFactory protocolFactory815, TNonblockingTransport transport816) throws TException { + super(client814, protocolFactory815, transport816, resultHandler818, false); this.req = req; } @@ -6828,17 +6521,17 @@ public ListFTIndexesResp getResult() throws TException { } } - public void createSession(CreateSessionReq req, AsyncMethodCallback resultHandler833) throws TException { + public void createSession(CreateSessionReq req, AsyncMethodCallback resultHandler822) throws TException { checkReady(); - createSession_call method_call = new createSession_call(req, resultHandler833, this, ___protocolFactory, ___transport); + createSession_call method_call = new createSession_call(req, resultHandler822, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class createSession_call extends TAsyncMethodCall { private CreateSessionReq req; - public createSession_call(CreateSessionReq req, AsyncMethodCallback resultHandler834, TAsyncClient client830, TProtocolFactory protocolFactory831, TNonblockingTransport transport832) throws TException { - super(client830, protocolFactory831, transport832, resultHandler834, false); + public createSession_call(CreateSessionReq req, AsyncMethodCallback resultHandler823, TAsyncClient client819, TProtocolFactory protocolFactory820, TNonblockingTransport transport821) throws TException { + super(client819, protocolFactory820, transport821, resultHandler823, false); this.req = req; } @@ -6860,17 +6553,17 @@ public CreateSessionResp getResult() throws TException { } } - public void updateSessions(UpdateSessionsReq req, AsyncMethodCallback resultHandler838) throws TException { + public void updateSessions(UpdateSessionsReq req, AsyncMethodCallback resultHandler827) throws TException { checkReady(); - updateSessions_call method_call = new updateSessions_call(req, resultHandler838, this, ___protocolFactory, ___transport); + updateSessions_call method_call = new updateSessions_call(req, resultHandler827, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class updateSessions_call extends TAsyncMethodCall { private UpdateSessionsReq req; - public updateSessions_call(UpdateSessionsReq req, AsyncMethodCallback resultHandler839, TAsyncClient client835, TProtocolFactory protocolFactory836, TNonblockingTransport transport837) throws TException { - super(client835, protocolFactory836, transport837, resultHandler839, false); + public updateSessions_call(UpdateSessionsReq req, AsyncMethodCallback resultHandler828, TAsyncClient client824, TProtocolFactory protocolFactory825, TNonblockingTransport transport826) throws TException { + super(client824, protocolFactory825, transport826, resultHandler828, false); this.req = req; } @@ -6892,17 +6585,17 @@ public UpdateSessionsResp getResult() throws TException { } } - public void listSessions(ListSessionsReq req, AsyncMethodCallback resultHandler843) throws TException { + public void listSessions(ListSessionsReq req, AsyncMethodCallback resultHandler832) throws TException { checkReady(); - listSessions_call method_call = new listSessions_call(req, resultHandler843, this, ___protocolFactory, ___transport); + listSessions_call method_call = new listSessions_call(req, resultHandler832, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class listSessions_call extends TAsyncMethodCall { private ListSessionsReq req; - public listSessions_call(ListSessionsReq req, AsyncMethodCallback resultHandler844, TAsyncClient client840, TProtocolFactory protocolFactory841, TNonblockingTransport transport842) throws TException { - super(client840, protocolFactory841, transport842, resultHandler844, false); + public listSessions_call(ListSessionsReq req, AsyncMethodCallback resultHandler833, TAsyncClient client829, TProtocolFactory protocolFactory830, TNonblockingTransport transport831) throws TException { + super(client829, protocolFactory830, transport831, resultHandler833, false); this.req = req; } @@ -6924,17 +6617,17 @@ public ListSessionsResp getResult() throws TException { } } - public void getSession(GetSessionReq req, AsyncMethodCallback resultHandler848) throws TException { + public void getSession(GetSessionReq req, AsyncMethodCallback resultHandler837) throws TException { checkReady(); - getSession_call method_call = new getSession_call(req, resultHandler848, this, ___protocolFactory, ___transport); + getSession_call method_call = new getSession_call(req, resultHandler837, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class getSession_call extends TAsyncMethodCall { private GetSessionReq req; - public getSession_call(GetSessionReq req, AsyncMethodCallback resultHandler849, TAsyncClient client845, TProtocolFactory protocolFactory846, TNonblockingTransport transport847) throws TException { - super(client845, protocolFactory846, transport847, resultHandler849, false); + public getSession_call(GetSessionReq req, AsyncMethodCallback resultHandler838, TAsyncClient client834, TProtocolFactory protocolFactory835, TNonblockingTransport transport836) throws TException { + super(client834, protocolFactory835, transport836, resultHandler838, false); this.req = req; } @@ -6956,17 +6649,17 @@ public GetSessionResp getResult() throws TException { } } - public void removeSession(RemoveSessionReq req, AsyncMethodCallback resultHandler853) throws TException { + public void removeSession(RemoveSessionReq req, AsyncMethodCallback resultHandler842) throws TException { checkReady(); - removeSession_call method_call = new removeSession_call(req, resultHandler853, this, ___protocolFactory, ___transport); + removeSession_call method_call = new removeSession_call(req, resultHandler842, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class removeSession_call extends TAsyncMethodCall { private RemoveSessionReq req; - public removeSession_call(RemoveSessionReq req, AsyncMethodCallback resultHandler854, TAsyncClient client850, TProtocolFactory protocolFactory851, TNonblockingTransport transport852) throws TException { - super(client850, protocolFactory851, transport852, resultHandler854, false); + public removeSession_call(RemoveSessionReq req, AsyncMethodCallback resultHandler843, TAsyncClient client839, TProtocolFactory protocolFactory840, TNonblockingTransport transport841) throws TException { + super(client839, protocolFactory840, transport841, resultHandler843, false); this.req = req; } @@ -6978,7 +6671,7 @@ public void write_args(TProtocol prot) throws TException { prot.writeMessageEnd(); } - public ExecResp getResult() throws TException { + public RemoveSessionResp getResult() throws TException { if (getState() != State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } @@ -6988,17 +6681,17 @@ public ExecResp getResult() throws TException { } } - public void killQuery(KillQueryReq req, AsyncMethodCallback resultHandler858) throws TException { + public void killQuery(KillQueryReq req, AsyncMethodCallback resultHandler847) throws TException { checkReady(); - killQuery_call method_call = new killQuery_call(req, resultHandler858, this, ___protocolFactory, ___transport); + killQuery_call method_call = new killQuery_call(req, resultHandler847, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class killQuery_call extends TAsyncMethodCall { private KillQueryReq req; - public killQuery_call(KillQueryReq req, AsyncMethodCallback resultHandler859, TAsyncClient client855, TProtocolFactory protocolFactory856, TNonblockingTransport transport857) throws TException { - super(client855, protocolFactory856, transport857, resultHandler859, false); + public killQuery_call(KillQueryReq req, AsyncMethodCallback resultHandler848, TAsyncClient client844, TProtocolFactory protocolFactory845, TNonblockingTransport transport846) throws TException { + super(client844, protocolFactory845, transport846, resultHandler848, false); this.req = req; } @@ -7020,17 +6713,17 @@ public ExecResp getResult() throws TException { } } - public void reportTaskFinish(ReportTaskReq req, AsyncMethodCallback resultHandler863) throws TException { + public void reportTaskFinish(ReportTaskReq req, AsyncMethodCallback resultHandler852) throws TException { checkReady(); - reportTaskFinish_call method_call = new reportTaskFinish_call(req, resultHandler863, this, ___protocolFactory, ___transport); + reportTaskFinish_call method_call = new reportTaskFinish_call(req, resultHandler852, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class reportTaskFinish_call extends TAsyncMethodCall { private ReportTaskReq req; - public reportTaskFinish_call(ReportTaskReq req, AsyncMethodCallback resultHandler864, TAsyncClient client860, TProtocolFactory protocolFactory861, TNonblockingTransport transport862) throws TException { - super(client860, protocolFactory861, transport862, resultHandler864, false); + public reportTaskFinish_call(ReportTaskReq req, AsyncMethodCallback resultHandler853, TAsyncClient client849, TProtocolFactory protocolFactory850, TNonblockingTransport transport851) throws TException { + super(client849, protocolFactory850, transport851, resultHandler853, false); this.req = req; } @@ -7052,17 +6745,17 @@ public ExecResp getResult() throws TException { } } - public void createBackup(CreateBackupReq req, AsyncMethodCallback resultHandler868) throws TException { + public void createBackup(CreateBackupReq req, AsyncMethodCallback resultHandler857) throws TException { checkReady(); - createBackup_call method_call = new createBackup_call(req, resultHandler868, this, ___protocolFactory, ___transport); + createBackup_call method_call = new createBackup_call(req, resultHandler857, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class createBackup_call extends TAsyncMethodCall { private CreateBackupReq req; - public createBackup_call(CreateBackupReq req, AsyncMethodCallback resultHandler869, TAsyncClient client865, TProtocolFactory protocolFactory866, TNonblockingTransport transport867) throws TException { - super(client865, protocolFactory866, transport867, resultHandler869, false); + public createBackup_call(CreateBackupReq req, AsyncMethodCallback resultHandler858, TAsyncClient client854, TProtocolFactory protocolFactory855, TNonblockingTransport transport856) throws TException { + super(client854, protocolFactory855, transport856, resultHandler858, false); this.req = req; } @@ -7084,17 +6777,17 @@ public CreateBackupResp getResult() throws TException { } } - public void restoreMeta(RestoreMetaReq req, AsyncMethodCallback resultHandler873) throws TException { + public void restoreMeta(RestoreMetaReq req, AsyncMethodCallback resultHandler862) throws TException { checkReady(); - restoreMeta_call method_call = new restoreMeta_call(req, resultHandler873, this, ___protocolFactory, ___transport); + restoreMeta_call method_call = new restoreMeta_call(req, resultHandler862, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class restoreMeta_call extends TAsyncMethodCall { private RestoreMetaReq req; - public restoreMeta_call(RestoreMetaReq req, AsyncMethodCallback resultHandler874, TAsyncClient client870, TProtocolFactory protocolFactory871, TNonblockingTransport transport872) throws TException { - super(client870, protocolFactory871, transport872, resultHandler874, false); + public restoreMeta_call(RestoreMetaReq req, AsyncMethodCallback resultHandler863, TAsyncClient client859, TProtocolFactory protocolFactory860, TNonblockingTransport transport861) throws TException { + super(client859, protocolFactory860, transport861, resultHandler863, false); this.req = req; } @@ -7106,7 +6799,7 @@ public void write_args(TProtocol prot) throws TException { prot.writeMessageEnd(); } - public ExecResp getResult() throws TException { + public RestoreMetaResp getResult() throws TException { if (getState() != State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } @@ -7116,17 +6809,17 @@ public ExecResp getResult() throws TException { } } - public void listCluster(ListClusterInfoReq req, AsyncMethodCallback resultHandler878) throws TException { + public void listCluster(ListClusterInfoReq req, AsyncMethodCallback resultHandler867) throws TException { checkReady(); - listCluster_call method_call = new listCluster_call(req, resultHandler878, this, ___protocolFactory, ___transport); + listCluster_call method_call = new listCluster_call(req, resultHandler867, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class listCluster_call extends TAsyncMethodCall { private ListClusterInfoReq req; - public listCluster_call(ListClusterInfoReq req, AsyncMethodCallback resultHandler879, TAsyncClient client875, TProtocolFactory protocolFactory876, TNonblockingTransport transport877) throws TException { - super(client875, protocolFactory876, transport877, resultHandler879, false); + public listCluster_call(ListClusterInfoReq req, AsyncMethodCallback resultHandler868, TAsyncClient client864, TProtocolFactory protocolFactory865, TNonblockingTransport transport866) throws TException { + super(client864, protocolFactory865, transport866, resultHandler868, false); this.req = req; } @@ -7148,17 +6841,17 @@ public ListClusterInfoResp getResult() throws TException { } } - public void getMetaDirInfo(GetMetaDirInfoReq req, AsyncMethodCallback resultHandler883) throws TException { + public void getMetaDirInfo(GetMetaDirInfoReq req, AsyncMethodCallback resultHandler872) throws TException { checkReady(); - getMetaDirInfo_call method_call = new getMetaDirInfo_call(req, resultHandler883, this, ___protocolFactory, ___transport); + getMetaDirInfo_call method_call = new getMetaDirInfo_call(req, resultHandler872, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class getMetaDirInfo_call extends TAsyncMethodCall { private GetMetaDirInfoReq req; - public getMetaDirInfo_call(GetMetaDirInfoReq req, AsyncMethodCallback resultHandler884, TAsyncClient client880, TProtocolFactory protocolFactory881, TNonblockingTransport transport882) throws TException { - super(client880, protocolFactory881, transport882, resultHandler884, false); + public getMetaDirInfo_call(GetMetaDirInfoReq req, AsyncMethodCallback resultHandler873, TAsyncClient client869, TProtocolFactory protocolFactory870, TNonblockingTransport transport871) throws TException { + super(client869, protocolFactory870, transport871, resultHandler873, false); this.req = req; } @@ -7180,17 +6873,17 @@ public GetMetaDirInfoResp getResult() throws TException { } } - public void verifyClientVersion(VerifyClientVersionReq req, AsyncMethodCallback resultHandler888) throws TException { + public void verifyClientVersion(VerifyClientVersionReq req, AsyncMethodCallback resultHandler877) throws TException { checkReady(); - verifyClientVersion_call method_call = new verifyClientVersion_call(req, resultHandler888, this, ___protocolFactory, ___transport); + verifyClientVersion_call method_call = new verifyClientVersion_call(req, resultHandler877, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class verifyClientVersion_call extends TAsyncMethodCall { private VerifyClientVersionReq req; - public verifyClientVersion_call(VerifyClientVersionReq req, AsyncMethodCallback resultHandler889, TAsyncClient client885, TProtocolFactory protocolFactory886, TNonblockingTransport transport887) throws TException { - super(client885, protocolFactory886, transport887, resultHandler889, false); + public verifyClientVersion_call(VerifyClientVersionReq req, AsyncMethodCallback resultHandler878, TAsyncClient client874, TProtocolFactory protocolFactory875, TNonblockingTransport transport876) throws TException { + super(client874, protocolFactory875, transport876, resultHandler878, false); this.req = req; } @@ -7212,6 +6905,70 @@ public VerifyClientVersionResp getResult() throws TException { } } + public void saveGraphVersion(SaveGraphVersionReq req, AsyncMethodCallback resultHandler882) throws TException { + checkReady(); + saveGraphVersion_call method_call = new saveGraphVersion_call(req, resultHandler882, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class saveGraphVersion_call extends TAsyncMethodCall { + private SaveGraphVersionReq req; + public saveGraphVersion_call(SaveGraphVersionReq req, AsyncMethodCallback resultHandler883, TAsyncClient client879, TProtocolFactory protocolFactory880, TNonblockingTransport transport881) throws TException { + super(client879, protocolFactory880, transport881, resultHandler883, false); + this.req = req; + } + + public void write_args(TProtocol prot) throws TException { + prot.writeMessageBegin(new TMessage("saveGraphVersion", TMessageType.CALL, 0)); + saveGraphVersion_args args = new saveGraphVersion_args(); + args.setReq(req); + args.write(prot); + prot.writeMessageEnd(); + } + + public SaveGraphVersionResp getResult() throws TException { + if (getState() != State.RESPONSE_READ) { + throw new IllegalStateException("Method call not finished!"); + } + TMemoryInputTransport memoryTransport = new TMemoryInputTransport(getFrameBuffer().array()); + TProtocol prot = super.client.getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_saveGraphVersion(); + } + } + + public void getSegmentId(GetSegmentIdReq req, AsyncMethodCallback resultHandler887) throws TException { + checkReady(); + getSegmentId_call method_call = new getSegmentId_call(req, resultHandler887, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class getSegmentId_call extends TAsyncMethodCall { + private GetSegmentIdReq req; + public getSegmentId_call(GetSegmentIdReq req, AsyncMethodCallback resultHandler888, TAsyncClient client884, TProtocolFactory protocolFactory885, TNonblockingTransport transport886) throws TException { + super(client884, protocolFactory885, transport886, resultHandler888, false); + this.req = req; + } + + public void write_args(TProtocol prot) throws TException { + prot.writeMessageBegin(new TMessage("getSegmentId", TMessageType.CALL, 0)); + getSegmentId_args args = new getSegmentId_args(); + args.setReq(req); + args.write(prot); + prot.writeMessageEnd(); + } + + public GetSegmentIdResp getResult() throws TException { + if (getState() != State.RESPONSE_READ) { + throw new IllegalStateException("Method call not finished!"); + } + TMemoryInputTransport memoryTransport = new TMemoryInputTransport(getFrameBuffer().array()); + TProtocol prot = super.client.getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_getSegmentId(); + } + } + } public static class Processor implements TProcessor { @@ -7222,6 +6979,7 @@ public Processor(Iface iface) event_handler_ = new TProcessorEventHandler(); // Empty handler processMap_.put("createSpace", new createSpace()); processMap_.put("dropSpace", new dropSpace()); + processMap_.put("clearSpace", new clearSpace()); processMap_.put("getSpace", new getSpace()); processMap_.put("listSpaces", new listSpaces()); processMap_.put("alterSpace", new alterSpace()); @@ -7243,12 +7001,6 @@ public Processor(Iface iface) processMap_.put("getPartsAlloc", new getPartsAlloc()); processMap_.put("listParts", new listParts()); processMap_.put("getWorkerId", new getWorkerId()); - processMap_.put("multiPut", new multiPut()); - processMap_.put("get", new get()); - processMap_.put("multiGet", new multiGet()); - processMap_.put("remove", new remove()); - processMap_.put("removeRange", new removeRange()); - processMap_.put("scan", new scan()); processMap_.put("createTagIndex", new createTagIndex()); processMap_.put("dropTagIndex", new dropTagIndex()); processMap_.put("getTagIndex", new getTagIndex()); @@ -7308,6 +7060,8 @@ public Processor(Iface iface) processMap_.put("listCluster", new listCluster()); processMap_.put("getMetaDirInfo", new getMetaDirInfo()); processMap_.put("verifyClientVersion", new verifyClientVersion()); + processMap_.put("saveGraphVersion", new saveGraphVersion()); + processMap_.put("getSegmentId", new getSegmentId()); } protected static interface ProcessFunction { @@ -7382,6 +7136,27 @@ public void process(int seqid, TProtocol iprot, TProtocol oprot, TConnectionCont } + private class clearSpace implements ProcessFunction { + public void process(int seqid, TProtocol iprot, TProtocol oprot, TConnectionContext server_ctx) throws TException + { + Object handler_ctx = event_handler_.getContext("MetaService.clearSpace", server_ctx); + clearSpace_args args = new clearSpace_args(); + event_handler_.preRead(handler_ctx, "MetaService.clearSpace"); + args.read(iprot); + iprot.readMessageEnd(); + event_handler_.postRead(handler_ctx, "MetaService.clearSpace", args); + clearSpace_result result = new clearSpace_result(); + result.success = iface_.clearSpace(args.req); + event_handler_.preWrite(handler_ctx, "MetaService.clearSpace", result); + oprot.writeMessageBegin(new TMessage("clearSpace", TMessageType.REPLY, seqid)); + result.write(oprot); + oprot.writeMessageEnd(); + oprot.getTransport().flush(); + event_handler_.postWrite(handler_ctx, "MetaService.clearSpace", result); + } + + } + private class getSpace implements ProcessFunction { public void process(int seqid, TProtocol iprot, TProtocol oprot, TConnectionContext server_ctx) throws TException { @@ -7823,132 +7598,6 @@ public void process(int seqid, TProtocol iprot, TProtocol oprot, TConnectionCont } - private class multiPut implements ProcessFunction { - public void process(int seqid, TProtocol iprot, TProtocol oprot, TConnectionContext server_ctx) throws TException - { - Object handler_ctx = event_handler_.getContext("MetaService.multiPut", server_ctx); - multiPut_args args = new multiPut_args(); - event_handler_.preRead(handler_ctx, "MetaService.multiPut"); - args.read(iprot); - iprot.readMessageEnd(); - event_handler_.postRead(handler_ctx, "MetaService.multiPut", args); - multiPut_result result = new multiPut_result(); - result.success = iface_.multiPut(args.req); - event_handler_.preWrite(handler_ctx, "MetaService.multiPut", result); - oprot.writeMessageBegin(new TMessage("multiPut", TMessageType.REPLY, seqid)); - result.write(oprot); - oprot.writeMessageEnd(); - oprot.getTransport().flush(); - event_handler_.postWrite(handler_ctx, "MetaService.multiPut", result); - } - - } - - private class get implements ProcessFunction { - public void process(int seqid, TProtocol iprot, TProtocol oprot, TConnectionContext server_ctx) throws TException - { - Object handler_ctx = event_handler_.getContext("MetaService.get", server_ctx); - get_args args = new get_args(); - event_handler_.preRead(handler_ctx, "MetaService.get"); - args.read(iprot); - iprot.readMessageEnd(); - event_handler_.postRead(handler_ctx, "MetaService.get", args); - get_result result = new get_result(); - result.success = iface_.get(args.req); - event_handler_.preWrite(handler_ctx, "MetaService.get", result); - oprot.writeMessageBegin(new TMessage("get", TMessageType.REPLY, seqid)); - result.write(oprot); - oprot.writeMessageEnd(); - oprot.getTransport().flush(); - event_handler_.postWrite(handler_ctx, "MetaService.get", result); - } - - } - - private class multiGet implements ProcessFunction { - public void process(int seqid, TProtocol iprot, TProtocol oprot, TConnectionContext server_ctx) throws TException - { - Object handler_ctx = event_handler_.getContext("MetaService.multiGet", server_ctx); - multiGet_args args = new multiGet_args(); - event_handler_.preRead(handler_ctx, "MetaService.multiGet"); - args.read(iprot); - iprot.readMessageEnd(); - event_handler_.postRead(handler_ctx, "MetaService.multiGet", args); - multiGet_result result = new multiGet_result(); - result.success = iface_.multiGet(args.req); - event_handler_.preWrite(handler_ctx, "MetaService.multiGet", result); - oprot.writeMessageBegin(new TMessage("multiGet", TMessageType.REPLY, seqid)); - result.write(oprot); - oprot.writeMessageEnd(); - oprot.getTransport().flush(); - event_handler_.postWrite(handler_ctx, "MetaService.multiGet", result); - } - - } - - private class remove implements ProcessFunction { - public void process(int seqid, TProtocol iprot, TProtocol oprot, TConnectionContext server_ctx) throws TException - { - Object handler_ctx = event_handler_.getContext("MetaService.remove", server_ctx); - remove_args args = new remove_args(); - event_handler_.preRead(handler_ctx, "MetaService.remove"); - args.read(iprot); - iprot.readMessageEnd(); - event_handler_.postRead(handler_ctx, "MetaService.remove", args); - remove_result result = new remove_result(); - result.success = iface_.remove(args.req); - event_handler_.preWrite(handler_ctx, "MetaService.remove", result); - oprot.writeMessageBegin(new TMessage("remove", TMessageType.REPLY, seqid)); - result.write(oprot); - oprot.writeMessageEnd(); - oprot.getTransport().flush(); - event_handler_.postWrite(handler_ctx, "MetaService.remove", result); - } - - } - - private class removeRange implements ProcessFunction { - public void process(int seqid, TProtocol iprot, TProtocol oprot, TConnectionContext server_ctx) throws TException - { - Object handler_ctx = event_handler_.getContext("MetaService.removeRange", server_ctx); - removeRange_args args = new removeRange_args(); - event_handler_.preRead(handler_ctx, "MetaService.removeRange"); - args.read(iprot); - iprot.readMessageEnd(); - event_handler_.postRead(handler_ctx, "MetaService.removeRange", args); - removeRange_result result = new removeRange_result(); - result.success = iface_.removeRange(args.req); - event_handler_.preWrite(handler_ctx, "MetaService.removeRange", result); - oprot.writeMessageBegin(new TMessage("removeRange", TMessageType.REPLY, seqid)); - result.write(oprot); - oprot.writeMessageEnd(); - oprot.getTransport().flush(); - event_handler_.postWrite(handler_ctx, "MetaService.removeRange", result); - } - - } - - private class scan implements ProcessFunction { - public void process(int seqid, TProtocol iprot, TProtocol oprot, TConnectionContext server_ctx) throws TException - { - Object handler_ctx = event_handler_.getContext("MetaService.scan", server_ctx); - scan_args args = new scan_args(); - event_handler_.preRead(handler_ctx, "MetaService.scan"); - args.read(iprot); - iprot.readMessageEnd(); - event_handler_.postRead(handler_ctx, "MetaService.scan", args); - scan_result result = new scan_result(); - result.success = iface_.scan(args.req); - event_handler_.preWrite(handler_ctx, "MetaService.scan", result); - oprot.writeMessageBegin(new TMessage("scan", TMessageType.REPLY, seqid)); - result.write(oprot); - oprot.writeMessageEnd(); - oprot.getTransport().flush(); - event_handler_.postWrite(handler_ctx, "MetaService.scan", result); - } - - } - private class createTagIndex implements ProcessFunction { public void process(int seqid, TProtocol iprot, TProtocol oprot, TConnectionContext server_ctx) throws TException { @@ -9188,6 +8837,48 @@ public void process(int seqid, TProtocol iprot, TProtocol oprot, TConnectionCont } + private class saveGraphVersion implements ProcessFunction { + public void process(int seqid, TProtocol iprot, TProtocol oprot, TConnectionContext server_ctx) throws TException + { + Object handler_ctx = event_handler_.getContext("MetaService.saveGraphVersion", server_ctx); + saveGraphVersion_args args = new saveGraphVersion_args(); + event_handler_.preRead(handler_ctx, "MetaService.saveGraphVersion"); + args.read(iprot); + iprot.readMessageEnd(); + event_handler_.postRead(handler_ctx, "MetaService.saveGraphVersion", args); + saveGraphVersion_result result = new saveGraphVersion_result(); + result.success = iface_.saveGraphVersion(args.req); + event_handler_.preWrite(handler_ctx, "MetaService.saveGraphVersion", result); + oprot.writeMessageBegin(new TMessage("saveGraphVersion", TMessageType.REPLY, seqid)); + result.write(oprot); + oprot.writeMessageEnd(); + oprot.getTransport().flush(); + event_handler_.postWrite(handler_ctx, "MetaService.saveGraphVersion", result); + } + + } + + private class getSegmentId implements ProcessFunction { + public void process(int seqid, TProtocol iprot, TProtocol oprot, TConnectionContext server_ctx) throws TException + { + Object handler_ctx = event_handler_.getContext("MetaService.getSegmentId", server_ctx); + getSegmentId_args args = new getSegmentId_args(); + event_handler_.preRead(handler_ctx, "MetaService.getSegmentId"); + args.read(iprot); + iprot.readMessageEnd(); + event_handler_.postRead(handler_ctx, "MetaService.getSegmentId", args); + getSegmentId_result result = new getSegmentId_result(); + result.success = iface_.getSegmentId(args.req); + event_handler_.preWrite(handler_ctx, "MetaService.getSegmentId", result); + oprot.writeMessageBegin(new TMessage("getSegmentId", TMessageType.REPLY, seqid)); + result.write(oprot); + oprot.writeMessageEnd(); + oprot.getTransport().flush(); + event_handler_.postWrite(handler_ctx, "MetaService.getSegmentId", result); + } + + } + } public static class createSpace_args implements TBase, java.io.Serializable, Cloneable, Comparable { @@ -10060,11 +9751,11 @@ public void validate() throws TException { } - public static class getSpace_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("getSpace_args"); + public static class clearSpace_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("clearSpace_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public GetSpaceReq req; + public ClearSpaceReq req; public static final int REQ = 1; // isset id assignments @@ -10074,19 +9765,19 @@ public static class getSpace_args implements TBase, java.io.Serializable, Clonea static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, GetSpaceReq.class))); + new StructMetaData(TType.STRUCT, ClearSpaceReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(getSpace_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(clearSpace_args.class, metaDataMap); } - public getSpace_args() { + public clearSpace_args() { } - public getSpace_args( - GetSpaceReq req) { + public clearSpace_args( + ClearSpaceReq req) { this(); this.req = req; } @@ -10094,21 +9785,21 @@ public getSpace_args( /** * Performs a deep copy on other. */ - public getSpace_args(getSpace_args other) { + public clearSpace_args(clearSpace_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public getSpace_args deepCopy() { - return new getSpace_args(this); + public clearSpace_args deepCopy() { + return new clearSpace_args(this); } - public GetSpaceReq getReq() { + public ClearSpaceReq getReq() { return this.req; } - public getSpace_args setReq(GetSpaceReq req) { + public clearSpace_args setReq(ClearSpaceReq req) { this.req = req; return this; } @@ -10134,7 +9825,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((GetSpaceReq)__value); + setReq((ClearSpaceReq)__value); } break; @@ -10159,9 +9850,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof getSpace_args)) + if (!(_that instanceof clearSpace_args)) return false; - getSpace_args that = (getSpace_args)_that; + clearSpace_args that = (clearSpace_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -10174,7 +9865,7 @@ public int hashCode() { } @Override - public int compareTo(getSpace_args other) { + public int compareTo(clearSpace_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -10209,7 +9900,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new GetSpaceReq(); + this.req = new ClearSpaceReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -10251,7 +9942,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("getSpace_args"); + StringBuilder sb = new StringBuilder("clearSpace_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -10278,446 +9969,11 @@ public void validate() throws TException { } - public static class getSpace_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("getSpace_result"); + public static class clearSpace_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("clearSpace_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public GetSpaceResp success; - public static final int SUCCESS = 0; - - // isset id assignments - - public static final Map metaDataMap; - - static { - Map tmpMetaDataMap = new HashMap(); - tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, GetSpaceResp.class))); - metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); - } - - static { - FieldMetaData.addStructMetaDataMap(getSpace_result.class, metaDataMap); - } - - public getSpace_result() { - } - - public getSpace_result( - GetSpaceResp success) { - this(); - this.success = success; - } - - /** - * Performs a deep copy on other. - */ - public getSpace_result(getSpace_result other) { - if (other.isSetSuccess()) { - this.success = TBaseHelper.deepCopy(other.success); - } - } - - public getSpace_result deepCopy() { - return new getSpace_result(this); - } - - public GetSpaceResp getSuccess() { - return this.success; - } - - public getSpace_result setSuccess(GetSpaceResp 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(int fieldID, Object __value) { - switch (fieldID) { - case SUCCESS: - if (__value == null) { - unsetSuccess(); - } else { - setSuccess((GetSpaceResp)__value); - } - break; - - default: - throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); - } - } - - public Object getFieldValue(int fieldID) { - switch (fieldID) { - case SUCCESS: - return getSuccess(); - - default: - throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); - } - } - - @Override - public boolean equals(Object _that) { - if (_that == null) - return false; - if (this == _that) - return true; - if (!(_that instanceof getSpace_result)) - return false; - getSpace_result that = (getSpace_result)_that; - - if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } - - return true; - } - - @Override - public int hashCode() { - return Arrays.deepHashCode(new Object[] {success}); - } - - @Override - public int compareTo(getSpace_result other) { - if (other == null) { - // See java.lang.Comparable docs - throw new NullPointerException(); - } - - if (other == this) { - return 0; - } - int lastComparison = 0; - - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = TBaseHelper.compareTo(success, other.success); - if (lastComparison != 0) { - return lastComparison; - } - return 0; - } - - public void read(TProtocol iprot) throws TException { - TField __field; - iprot.readStructBegin(metaDataMap); - while (true) - { - __field = iprot.readFieldBegin(); - if (__field.type == TType.STOP) { - break; - } - switch (__field.id) - { - case SUCCESS: - if (__field.type == TType.STRUCT) { - this.success = new GetSpaceResp(); - this.success.read(iprot); - } else { - TProtocolUtil.skip(iprot, __field.type); - } - break; - default: - TProtocolUtil.skip(iprot, __field.type); - break; - } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); - - - // check for required fields of primitive type, which can't be checked in the validate method - validate(); - } - - public void write(TProtocol oprot) throws TException { - oprot.writeStructBegin(STRUCT_DESC); - - if (this.isSetSuccess()) { - oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - this.success.write(oprot); - oprot.writeFieldEnd(); - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - - @Override - public String toString() { - return toString(1, true); - } - - @Override - public String toString(int indent, boolean prettyPrint) { - String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; - String newLine = prettyPrint ? "\n" : ""; - String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("getSpace_result"); - sb.append(space); - sb.append("("); - sb.append(newLine); - boolean first = true; - - sb.append(indentStr); - sb.append("success"); - sb.append(space); - sb.append(":").append(space); - if (this.getSuccess() == null) { - sb.append("null"); - } else { - sb.append(TBaseHelper.toString(this.getSuccess(), indent + 1, prettyPrint)); - } - first = false; - sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); - sb.append(")"); - return sb.toString(); - } - - public void validate() throws TException { - // check for required fields - } - - } - - public static class listSpaces_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listSpaces_args"); - private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - - public ListSpacesReq req; - public static final int REQ = 1; - - // isset id assignments - - public static final Map metaDataMap; - - static { - Map tmpMetaDataMap = new HashMap(); - tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListSpacesReq.class))); - metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); - } - - static { - FieldMetaData.addStructMetaDataMap(listSpaces_args.class, metaDataMap); - } - - public listSpaces_args() { - } - - public listSpaces_args( - ListSpacesReq req) { - this(); - this.req = req; - } - - /** - * Performs a deep copy on other. - */ - public listSpaces_args(listSpaces_args other) { - if (other.isSetReq()) { - this.req = TBaseHelper.deepCopy(other.req); - } - } - - public listSpaces_args deepCopy() { - return new listSpaces_args(this); - } - - public ListSpacesReq getReq() { - return this.req; - } - - public listSpaces_args setReq(ListSpacesReq req) { - this.req = req; - return this; - } - - public void unsetReq() { - this.req = null; - } - - // Returns true if field req is set (has been assigned a value) and false otherwise - public boolean isSetReq() { - return this.req != null; - } - - public void setReqIsSet(boolean __value) { - if (!__value) { - this.req = null; - } - } - - public void setFieldValue(int fieldID, Object __value) { - switch (fieldID) { - case REQ: - if (__value == null) { - unsetReq(); - } else { - setReq((ListSpacesReq)__value); - } - break; - - default: - throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); - } - } - - public Object getFieldValue(int fieldID) { - switch (fieldID) { - case REQ: - return getReq(); - - default: - throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); - } - } - - @Override - public boolean equals(Object _that) { - if (_that == null) - return false; - if (this == _that) - return true; - if (!(_that instanceof listSpaces_args)) - return false; - listSpaces_args that = (listSpaces_args)_that; - - if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } - - return true; - } - - @Override - public int hashCode() { - return Arrays.deepHashCode(new Object[] {req}); - } - - @Override - public int compareTo(listSpaces_args other) { - if (other == null) { - // See java.lang.Comparable docs - throw new NullPointerException(); - } - - if (other == this) { - return 0; - } - int lastComparison = 0; - - lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = TBaseHelper.compareTo(req, other.req); - if (lastComparison != 0) { - return lastComparison; - } - return 0; - } - - public void read(TProtocol iprot) throws TException { - TField __field; - iprot.readStructBegin(metaDataMap); - while (true) - { - __field = iprot.readFieldBegin(); - if (__field.type == TType.STOP) { - break; - } - switch (__field.id) - { - case REQ: - if (__field.type == TType.STRUCT) { - this.req = new ListSpacesReq(); - this.req.read(iprot); - } else { - TProtocolUtil.skip(iprot, __field.type); - } - break; - default: - TProtocolUtil.skip(iprot, __field.type); - break; - } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); - - - // check for required fields of primitive type, which can't be checked in the validate method - validate(); - } - - public void write(TProtocol oprot) throws TException { - validate(); - - oprot.writeStructBegin(STRUCT_DESC); - if (this.req != null) { - oprot.writeFieldBegin(REQ_FIELD_DESC); - this.req.write(oprot); - oprot.writeFieldEnd(); - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - - @Override - public String toString() { - return toString(1, true); - } - - @Override - public String toString(int indent, boolean prettyPrint) { - String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; - String newLine = prettyPrint ? "\n" : ""; - String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listSpaces_args"); - sb.append(space); - sb.append("("); - sb.append(newLine); - boolean first = true; - - sb.append(indentStr); - sb.append("req"); - sb.append(space); - sb.append(":").append(space); - if (this.getReq() == null) { - sb.append("null"); - } else { - sb.append(TBaseHelper.toString(this.getReq(), indent + 1, prettyPrint)); - } - first = false; - sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); - sb.append(")"); - return sb.toString(); - } - - public void validate() throws TException { - // check for required fields - } - - } - - public static class listSpaces_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listSpaces_result"); - private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - - public ListSpacesResp success; + public ExecResp success; public static final int SUCCESS = 0; // isset id assignments @@ -10727,19 +9983,19 @@ public static class listSpaces_result implements TBase, java.io.Serializable, Cl static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListSpacesResp.class))); + new StructMetaData(TType.STRUCT, ExecResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listSpaces_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(clearSpace_result.class, metaDataMap); } - public listSpaces_result() { + public clearSpace_result() { } - public listSpaces_result( - ListSpacesResp success) { + public clearSpace_result( + ExecResp success) { this(); this.success = success; } @@ -10747,891 +10003,21 @@ public listSpaces_result( /** * Performs a deep copy on other. */ - public listSpaces_result(listSpaces_result other) { + public clearSpace_result(clearSpace_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public listSpaces_result deepCopy() { - return new listSpaces_result(this); + public clearSpace_result deepCopy() { + return new clearSpace_result(this); } - public ListSpacesResp getSuccess() { + public ExecResp getSuccess() { return this.success; } - public listSpaces_result setSuccess(ListSpacesResp 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(int fieldID, Object __value) { - switch (fieldID) { - case SUCCESS: - if (__value == null) { - unsetSuccess(); - } else { - setSuccess((ListSpacesResp)__value); - } - break; - - default: - throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); - } - } - - public Object getFieldValue(int fieldID) { - switch (fieldID) { - case SUCCESS: - return getSuccess(); - - default: - throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); - } - } - - @Override - public boolean equals(Object _that) { - if (_that == null) - return false; - if (this == _that) - return true; - if (!(_that instanceof listSpaces_result)) - return false; - listSpaces_result that = (listSpaces_result)_that; - - if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } - - return true; - } - - @Override - public int hashCode() { - return Arrays.deepHashCode(new Object[] {success}); - } - - @Override - public int compareTo(listSpaces_result other) { - if (other == null) { - // See java.lang.Comparable docs - throw new NullPointerException(); - } - - if (other == this) { - return 0; - } - int lastComparison = 0; - - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = TBaseHelper.compareTo(success, other.success); - if (lastComparison != 0) { - return lastComparison; - } - return 0; - } - - public void read(TProtocol iprot) throws TException { - TField __field; - iprot.readStructBegin(metaDataMap); - while (true) - { - __field = iprot.readFieldBegin(); - if (__field.type == TType.STOP) { - break; - } - switch (__field.id) - { - case SUCCESS: - if (__field.type == TType.STRUCT) { - this.success = new ListSpacesResp(); - this.success.read(iprot); - } else { - TProtocolUtil.skip(iprot, __field.type); - } - break; - default: - TProtocolUtil.skip(iprot, __field.type); - break; - } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); - - - // check for required fields of primitive type, which can't be checked in the validate method - validate(); - } - - public void write(TProtocol oprot) throws TException { - oprot.writeStructBegin(STRUCT_DESC); - - if (this.isSetSuccess()) { - oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - this.success.write(oprot); - oprot.writeFieldEnd(); - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - - @Override - public String toString() { - return toString(1, true); - } - - @Override - public String toString(int indent, boolean prettyPrint) { - String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; - String newLine = prettyPrint ? "\n" : ""; - String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listSpaces_result"); - sb.append(space); - sb.append("("); - sb.append(newLine); - boolean first = true; - - sb.append(indentStr); - sb.append("success"); - sb.append(space); - sb.append(":").append(space); - if (this.getSuccess() == null) { - sb.append("null"); - } else { - sb.append(TBaseHelper.toString(this.getSuccess(), indent + 1, prettyPrint)); - } - first = false; - sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); - sb.append(")"); - return sb.toString(); - } - - public void validate() throws TException { - // check for required fields - } - - } - - public static class alterSpace_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("alterSpace_args"); - private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - - public AlterSpaceReq req; - public static final int REQ = 1; - - // isset id assignments - - public static final Map metaDataMap; - - static { - Map tmpMetaDataMap = new HashMap(); - tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, AlterSpaceReq.class))); - metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); - } - - static { - FieldMetaData.addStructMetaDataMap(alterSpace_args.class, metaDataMap); - } - - public alterSpace_args() { - } - - public alterSpace_args( - AlterSpaceReq req) { - this(); - this.req = req; - } - - /** - * Performs a deep copy on other. - */ - public alterSpace_args(alterSpace_args other) { - if (other.isSetReq()) { - this.req = TBaseHelper.deepCopy(other.req); - } - } - - public alterSpace_args deepCopy() { - return new alterSpace_args(this); - } - - public AlterSpaceReq getReq() { - return this.req; - } - - public alterSpace_args setReq(AlterSpaceReq req) { - this.req = req; - return this; - } - - public void unsetReq() { - this.req = null; - } - - // Returns true if field req is set (has been assigned a value) and false otherwise - public boolean isSetReq() { - return this.req != null; - } - - public void setReqIsSet(boolean __value) { - if (!__value) { - this.req = null; - } - } - - public void setFieldValue(int fieldID, Object __value) { - switch (fieldID) { - case REQ: - if (__value == null) { - unsetReq(); - } else { - setReq((AlterSpaceReq)__value); - } - break; - - default: - throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); - } - } - - public Object getFieldValue(int fieldID) { - switch (fieldID) { - case REQ: - return getReq(); - - default: - throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); - } - } - - @Override - public boolean equals(Object _that) { - if (_that == null) - return false; - if (this == _that) - return true; - if (!(_that instanceof alterSpace_args)) - return false; - alterSpace_args that = (alterSpace_args)_that; - - if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } - - return true; - } - - @Override - public int hashCode() { - return Arrays.deepHashCode(new Object[] {req}); - } - - @Override - public int compareTo(alterSpace_args other) { - if (other == null) { - // See java.lang.Comparable docs - throw new NullPointerException(); - } - - if (other == this) { - return 0; - } - int lastComparison = 0; - - lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = TBaseHelper.compareTo(req, other.req); - if (lastComparison != 0) { - return lastComparison; - } - return 0; - } - - public void read(TProtocol iprot) throws TException { - TField __field; - iprot.readStructBegin(metaDataMap); - while (true) - { - __field = iprot.readFieldBegin(); - if (__field.type == TType.STOP) { - break; - } - switch (__field.id) - { - case REQ: - if (__field.type == TType.STRUCT) { - this.req = new AlterSpaceReq(); - this.req.read(iprot); - } else { - TProtocolUtil.skip(iprot, __field.type); - } - break; - default: - TProtocolUtil.skip(iprot, __field.type); - break; - } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); - - - // check for required fields of primitive type, which can't be checked in the validate method - validate(); - } - - public void write(TProtocol oprot) throws TException { - validate(); - - oprot.writeStructBegin(STRUCT_DESC); - if (this.req != null) { - oprot.writeFieldBegin(REQ_FIELD_DESC); - this.req.write(oprot); - oprot.writeFieldEnd(); - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - - @Override - public String toString() { - return toString(1, true); - } - - @Override - public String toString(int indent, boolean prettyPrint) { - String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; - String newLine = prettyPrint ? "\n" : ""; - String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("alterSpace_args"); - sb.append(space); - sb.append("("); - sb.append(newLine); - boolean first = true; - - sb.append(indentStr); - sb.append("req"); - sb.append(space); - sb.append(":").append(space); - if (this.getReq() == null) { - sb.append("null"); - } else { - sb.append(TBaseHelper.toString(this.getReq(), indent + 1, prettyPrint)); - } - first = false; - sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); - sb.append(")"); - return sb.toString(); - } - - public void validate() throws TException { - // check for required fields - } - - } - - public static class alterSpace_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("alterSpace_result"); - private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - - public ExecResp success; - public static final int SUCCESS = 0; - - // isset id assignments - - public static final Map metaDataMap; - - static { - Map tmpMetaDataMap = new HashMap(); - tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ExecResp.class))); - metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); - } - - static { - FieldMetaData.addStructMetaDataMap(alterSpace_result.class, metaDataMap); - } - - public alterSpace_result() { - } - - public alterSpace_result( - ExecResp success) { - this(); - this.success = success; - } - - /** - * Performs a deep copy on other. - */ - public alterSpace_result(alterSpace_result other) { - if (other.isSetSuccess()) { - this.success = TBaseHelper.deepCopy(other.success); - } - } - - public alterSpace_result deepCopy() { - return new alterSpace_result(this); - } - - public ExecResp getSuccess() { - return this.success; - } - - public alterSpace_result setSuccess(ExecResp 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(int fieldID, Object __value) { - switch (fieldID) { - case SUCCESS: - if (__value == null) { - unsetSuccess(); - } else { - setSuccess((ExecResp)__value); - } - break; - - default: - throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); - } - } - - public Object getFieldValue(int fieldID) { - switch (fieldID) { - case SUCCESS: - return getSuccess(); - - default: - throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); - } - } - - @Override - public boolean equals(Object _that) { - if (_that == null) - return false; - if (this == _that) - return true; - if (!(_that instanceof alterSpace_result)) - return false; - alterSpace_result that = (alterSpace_result)_that; - - if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } - - return true; - } - - @Override - public int hashCode() { - return Arrays.deepHashCode(new Object[] {success}); - } - - @Override - public int compareTo(alterSpace_result other) { - if (other == null) { - // See java.lang.Comparable docs - throw new NullPointerException(); - } - - if (other == this) { - return 0; - } - int lastComparison = 0; - - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = TBaseHelper.compareTo(success, other.success); - if (lastComparison != 0) { - return lastComparison; - } - return 0; - } - - public void read(TProtocol iprot) throws TException { - TField __field; - iprot.readStructBegin(metaDataMap); - while (true) - { - __field = iprot.readFieldBegin(); - if (__field.type == TType.STOP) { - break; - } - switch (__field.id) - { - case SUCCESS: - if (__field.type == TType.STRUCT) { - this.success = new ExecResp(); - this.success.read(iprot); - } else { - TProtocolUtil.skip(iprot, __field.type); - } - break; - default: - TProtocolUtil.skip(iprot, __field.type); - break; - } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); - - - // check for required fields of primitive type, which can't be checked in the validate method - validate(); - } - - public void write(TProtocol oprot) throws TException { - oprot.writeStructBegin(STRUCT_DESC); - - if (this.isSetSuccess()) { - oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - this.success.write(oprot); - oprot.writeFieldEnd(); - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - - @Override - public String toString() { - return toString(1, true); - } - - @Override - public String toString(int indent, boolean prettyPrint) { - String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; - String newLine = prettyPrint ? "\n" : ""; - String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("alterSpace_result"); - sb.append(space); - sb.append("("); - sb.append(newLine); - boolean first = true; - - sb.append(indentStr); - sb.append("success"); - sb.append(space); - sb.append(":").append(space); - if (this.getSuccess() == null) { - sb.append("null"); - } else { - sb.append(TBaseHelper.toString(this.getSuccess(), indent + 1, prettyPrint)); - } - first = false; - sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); - sb.append(")"); - return sb.toString(); - } - - public void validate() throws TException { - // check for required fields - } - - } - - public static class createSpaceAs_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("createSpaceAs_args"); - private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - - public CreateSpaceAsReq req; - public static final int REQ = 1; - - // isset id assignments - - public static final Map metaDataMap; - - static { - Map tmpMetaDataMap = new HashMap(); - tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, CreateSpaceAsReq.class))); - metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); - } - - static { - FieldMetaData.addStructMetaDataMap(createSpaceAs_args.class, metaDataMap); - } - - public createSpaceAs_args() { - } - - public createSpaceAs_args( - CreateSpaceAsReq req) { - this(); - this.req = req; - } - - /** - * Performs a deep copy on other. - */ - public createSpaceAs_args(createSpaceAs_args other) { - if (other.isSetReq()) { - this.req = TBaseHelper.deepCopy(other.req); - } - } - - public createSpaceAs_args deepCopy() { - return new createSpaceAs_args(this); - } - - public CreateSpaceAsReq getReq() { - return this.req; - } - - public createSpaceAs_args setReq(CreateSpaceAsReq req) { - this.req = req; - return this; - } - - public void unsetReq() { - this.req = null; - } - - // Returns true if field req is set (has been assigned a value) and false otherwise - public boolean isSetReq() { - return this.req != null; - } - - public void setReqIsSet(boolean __value) { - if (!__value) { - this.req = null; - } - } - - public void setFieldValue(int fieldID, Object __value) { - switch (fieldID) { - case REQ: - if (__value == null) { - unsetReq(); - } else { - setReq((CreateSpaceAsReq)__value); - } - break; - - default: - throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); - } - } - - public Object getFieldValue(int fieldID) { - switch (fieldID) { - case REQ: - return getReq(); - - default: - throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); - } - } - - @Override - public boolean equals(Object _that) { - if (_that == null) - return false; - if (this == _that) - return true; - if (!(_that instanceof createSpaceAs_args)) - return false; - createSpaceAs_args that = (createSpaceAs_args)_that; - - if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } - - return true; - } - - @Override - public int hashCode() { - return Arrays.deepHashCode(new Object[] {req}); - } - - @Override - public int compareTo(createSpaceAs_args other) { - if (other == null) { - // See java.lang.Comparable docs - throw new NullPointerException(); - } - - if (other == this) { - return 0; - } - int lastComparison = 0; - - lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = TBaseHelper.compareTo(req, other.req); - if (lastComparison != 0) { - return lastComparison; - } - return 0; - } - - public void read(TProtocol iprot) throws TException { - TField __field; - iprot.readStructBegin(metaDataMap); - while (true) - { - __field = iprot.readFieldBegin(); - if (__field.type == TType.STOP) { - break; - } - switch (__field.id) - { - case REQ: - if (__field.type == TType.STRUCT) { - this.req = new CreateSpaceAsReq(); - this.req.read(iprot); - } else { - TProtocolUtil.skip(iprot, __field.type); - } - break; - default: - TProtocolUtil.skip(iprot, __field.type); - break; - } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); - - - // check for required fields of primitive type, which can't be checked in the validate method - validate(); - } - - public void write(TProtocol oprot) throws TException { - validate(); - - oprot.writeStructBegin(STRUCT_DESC); - if (this.req != null) { - oprot.writeFieldBegin(REQ_FIELD_DESC); - this.req.write(oprot); - oprot.writeFieldEnd(); - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - - @Override - public String toString() { - return toString(1, true); - } - - @Override - public String toString(int indent, boolean prettyPrint) { - String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; - String newLine = prettyPrint ? "\n" : ""; - String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("createSpaceAs_args"); - sb.append(space); - sb.append("("); - sb.append(newLine); - boolean first = true; - - sb.append(indentStr); - sb.append("req"); - sb.append(space); - sb.append(":").append(space); - if (this.getReq() == null) { - sb.append("null"); - } else { - sb.append(TBaseHelper.toString(this.getReq(), indent + 1, prettyPrint)); - } - first = false; - sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); - sb.append(")"); - return sb.toString(); - } - - public void validate() throws TException { - // check for required fields - } - - } - - public static class createSpaceAs_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("createSpaceAs_result"); - private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - - public ExecResp success; - public static final int SUCCESS = 0; - - // isset id assignments - - public static final Map metaDataMap; - - static { - Map tmpMetaDataMap = new HashMap(); - tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ExecResp.class))); - metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); - } - - static { - FieldMetaData.addStructMetaDataMap(createSpaceAs_result.class, metaDataMap); - } - - public createSpaceAs_result() { - } - - public createSpaceAs_result( - ExecResp success) { - this(); - this.success = success; - } - - /** - * Performs a deep copy on other. - */ - public createSpaceAs_result(createSpaceAs_result other) { - if (other.isSetSuccess()) { - this.success = TBaseHelper.deepCopy(other.success); - } - } - - public createSpaceAs_result deepCopy() { - return new createSpaceAs_result(this); - } - - public ExecResp getSuccess() { - return this.success; - } - - public createSpaceAs_result setSuccess(ExecResp success) { + public clearSpace_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -11682,9 +10068,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof createSpaceAs_result)) + if (!(_that instanceof clearSpace_result)) return false; - createSpaceAs_result that = (createSpaceAs_result)_that; + clearSpace_result that = (clearSpace_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -11697,7 +10083,7 @@ public int hashCode() { } @Override - public int compareTo(createSpaceAs_result other) { + public int compareTo(clearSpace_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -11773,7 +10159,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("createSpaceAs_result"); + StringBuilder sb = new StringBuilder("clearSpace_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -11800,11 +10186,11 @@ public void validate() throws TException { } - public static class createTag_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("createTag_args"); + public static class getSpace_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("getSpace_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public CreateTagReq req; + public GetSpaceReq req; public static final int REQ = 1; // isset id assignments @@ -11814,19 +10200,19 @@ public static class createTag_args implements TBase, java.io.Serializable, Clone static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, CreateTagReq.class))); + new StructMetaData(TType.STRUCT, GetSpaceReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(createTag_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(getSpace_args.class, metaDataMap); } - public createTag_args() { + public getSpace_args() { } - public createTag_args( - CreateTagReq req) { + public getSpace_args( + GetSpaceReq req) { this(); this.req = req; } @@ -11834,21 +10220,21 @@ public createTag_args( /** * Performs a deep copy on other. */ - public createTag_args(createTag_args other) { + public getSpace_args(getSpace_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public createTag_args deepCopy() { - return new createTag_args(this); + public getSpace_args deepCopy() { + return new getSpace_args(this); } - public CreateTagReq getReq() { + public GetSpaceReq getReq() { return this.req; } - public createTag_args setReq(CreateTagReq req) { + public getSpace_args setReq(GetSpaceReq req) { this.req = req; return this; } @@ -11874,7 +10260,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((CreateTagReq)__value); + setReq((GetSpaceReq)__value); } break; @@ -11899,9 +10285,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof createTag_args)) + if (!(_that instanceof getSpace_args)) return false; - createTag_args that = (createTag_args)_that; + getSpace_args that = (getSpace_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -11914,7 +10300,7 @@ public int hashCode() { } @Override - public int compareTo(createTag_args other) { + public int compareTo(getSpace_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -11949,7 +10335,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new CreateTagReq(); + this.req = new GetSpaceReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -11991,7 +10377,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("createTag_args"); + StringBuilder sb = new StringBuilder("getSpace_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -12018,11 +10404,11 @@ public void validate() throws TException { } - public static class createTag_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("createTag_result"); + public static class getSpace_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("getSpace_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ExecResp success; + public GetSpaceResp success; public static final int SUCCESS = 0; // isset id assignments @@ -12032,19 +10418,19 @@ public static class createTag_result implements TBase, java.io.Serializable, Clo static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ExecResp.class))); + new StructMetaData(TType.STRUCT, GetSpaceResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(createTag_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(getSpace_result.class, metaDataMap); } - public createTag_result() { + public getSpace_result() { } - public createTag_result( - ExecResp success) { + public getSpace_result( + GetSpaceResp success) { this(); this.success = success; } @@ -12052,21 +10438,21 @@ public createTag_result( /** * Performs a deep copy on other. */ - public createTag_result(createTag_result other) { + public getSpace_result(getSpace_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public createTag_result deepCopy() { - return new createTag_result(this); + public getSpace_result deepCopy() { + return new getSpace_result(this); } - public ExecResp getSuccess() { + public GetSpaceResp getSuccess() { return this.success; } - public createTag_result setSuccess(ExecResp success) { + public getSpace_result setSuccess(GetSpaceResp success) { this.success = success; return this; } @@ -12092,7 +10478,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ExecResp)__value); + setSuccess((GetSpaceResp)__value); } break; @@ -12117,9 +10503,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof createTag_result)) + if (!(_that instanceof getSpace_result)) return false; - createTag_result that = (createTag_result)_that; + getSpace_result that = (getSpace_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -12132,7 +10518,7 @@ public int hashCode() { } @Override - public int compareTo(createTag_result other) { + public int compareTo(getSpace_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -12167,7 +10553,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ExecResp(); + this.success = new GetSpaceResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -12208,7 +10594,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("createTag_result"); + StringBuilder sb = new StringBuilder("getSpace_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -12235,11 +10621,11 @@ public void validate() throws TException { } - public static class alterTag_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("alterTag_args"); + public static class listSpaces_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listSpaces_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public AlterTagReq req; + public ListSpacesReq req; public static final int REQ = 1; // isset id assignments @@ -12249,19 +10635,19 @@ public static class alterTag_args implements TBase, java.io.Serializable, Clonea static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, AlterTagReq.class))); + new StructMetaData(TType.STRUCT, ListSpacesReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(alterTag_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listSpaces_args.class, metaDataMap); } - public alterTag_args() { + public listSpaces_args() { } - public alterTag_args( - AlterTagReq req) { + public listSpaces_args( + ListSpacesReq req) { this(); this.req = req; } @@ -12269,21 +10655,21 @@ public alterTag_args( /** * Performs a deep copy on other. */ - public alterTag_args(alterTag_args other) { + public listSpaces_args(listSpaces_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public alterTag_args deepCopy() { - return new alterTag_args(this); + public listSpaces_args deepCopy() { + return new listSpaces_args(this); } - public AlterTagReq getReq() { + public ListSpacesReq getReq() { return this.req; } - public alterTag_args setReq(AlterTagReq req) { + public listSpaces_args setReq(ListSpacesReq req) { this.req = req; return this; } @@ -12309,7 +10695,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((AlterTagReq)__value); + setReq((ListSpacesReq)__value); } break; @@ -12334,9 +10720,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof alterTag_args)) + if (!(_that instanceof listSpaces_args)) return false; - alterTag_args that = (alterTag_args)_that; + listSpaces_args that = (listSpaces_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -12349,7 +10735,7 @@ public int hashCode() { } @Override - public int compareTo(alterTag_args other) { + public int compareTo(listSpaces_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -12384,7 +10770,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new AlterTagReq(); + this.req = new ListSpacesReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -12426,7 +10812,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("alterTag_args"); + StringBuilder sb = new StringBuilder("listSpaces_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -12453,11 +10839,11 @@ public void validate() throws TException { } - public static class alterTag_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("alterTag_result"); + public static class listSpaces_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listSpaces_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ExecResp success; + public ListSpacesResp success; public static final int SUCCESS = 0; // isset id assignments @@ -12467,19 +10853,19 @@ public static class alterTag_result implements TBase, java.io.Serializable, Clon static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ExecResp.class))); + new StructMetaData(TType.STRUCT, ListSpacesResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(alterTag_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listSpaces_result.class, metaDataMap); } - public alterTag_result() { + public listSpaces_result() { } - public alterTag_result( - ExecResp success) { + public listSpaces_result( + ListSpacesResp success) { this(); this.success = success; } @@ -12487,21 +10873,21 @@ public alterTag_result( /** * Performs a deep copy on other. */ - public alterTag_result(alterTag_result other) { + public listSpaces_result(listSpaces_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public alterTag_result deepCopy() { - return new alterTag_result(this); + public listSpaces_result deepCopy() { + return new listSpaces_result(this); } - public ExecResp getSuccess() { + public ListSpacesResp getSuccess() { return this.success; } - public alterTag_result setSuccess(ExecResp success) { + public listSpaces_result setSuccess(ListSpacesResp success) { this.success = success; return this; } @@ -12527,7 +10913,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ExecResp)__value); + setSuccess((ListSpacesResp)__value); } break; @@ -12552,9 +10938,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof alterTag_result)) + if (!(_that instanceof listSpaces_result)) return false; - alterTag_result that = (alterTag_result)_that; + listSpaces_result that = (listSpaces_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -12567,7 +10953,7 @@ public int hashCode() { } @Override - public int compareTo(alterTag_result other) { + public int compareTo(listSpaces_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -12602,7 +10988,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ExecResp(); + this.success = new ListSpacesResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -12643,7 +11029,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("alterTag_result"); + StringBuilder sb = new StringBuilder("listSpaces_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -12670,11 +11056,11 @@ public void validate() throws TException { } - public static class dropTag_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("dropTag_args"); + public static class alterSpace_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("alterSpace_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public DropTagReq req; + public AlterSpaceReq req; public static final int REQ = 1; // isset id assignments @@ -12684,19 +11070,19 @@ public static class dropTag_args implements TBase, java.io.Serializable, Cloneab static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, DropTagReq.class))); + new StructMetaData(TType.STRUCT, AlterSpaceReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(dropTag_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(alterSpace_args.class, metaDataMap); } - public dropTag_args() { + public alterSpace_args() { } - public dropTag_args( - DropTagReq req) { + public alterSpace_args( + AlterSpaceReq req) { this(); this.req = req; } @@ -12704,21 +11090,21 @@ public dropTag_args( /** * Performs a deep copy on other. */ - public dropTag_args(dropTag_args other) { + public alterSpace_args(alterSpace_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public dropTag_args deepCopy() { - return new dropTag_args(this); + public alterSpace_args deepCopy() { + return new alterSpace_args(this); } - public DropTagReq getReq() { + public AlterSpaceReq getReq() { return this.req; } - public dropTag_args setReq(DropTagReq req) { + public alterSpace_args setReq(AlterSpaceReq req) { this.req = req; return this; } @@ -12744,7 +11130,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((DropTagReq)__value); + setReq((AlterSpaceReq)__value); } break; @@ -12769,9 +11155,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof dropTag_args)) + if (!(_that instanceof alterSpace_args)) return false; - dropTag_args that = (dropTag_args)_that; + alterSpace_args that = (alterSpace_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -12784,7 +11170,7 @@ public int hashCode() { } @Override - public int compareTo(dropTag_args other) { + public int compareTo(alterSpace_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -12819,7 +11205,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new DropTagReq(); + this.req = new AlterSpaceReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -12861,7 +11247,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("dropTag_args"); + StringBuilder sb = new StringBuilder("alterSpace_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -12888,8 +11274,8 @@ public void validate() throws TException { } - public static class dropTag_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("dropTag_result"); + public static class alterSpace_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("alterSpace_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); public ExecResp success; @@ -12907,13 +11293,13 @@ public static class dropTag_result implements TBase, java.io.Serializable, Clone } static { - FieldMetaData.addStructMetaDataMap(dropTag_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(alterSpace_result.class, metaDataMap); } - public dropTag_result() { + public alterSpace_result() { } - public dropTag_result( + public alterSpace_result( ExecResp success) { this(); this.success = success; @@ -12922,21 +11308,21 @@ public dropTag_result( /** * Performs a deep copy on other. */ - public dropTag_result(dropTag_result other) { + public alterSpace_result(alterSpace_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public dropTag_result deepCopy() { - return new dropTag_result(this); + public alterSpace_result deepCopy() { + return new alterSpace_result(this); } public ExecResp getSuccess() { return this.success; } - public dropTag_result setSuccess(ExecResp success) { + public alterSpace_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -12987,9 +11373,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof dropTag_result)) + if (!(_that instanceof alterSpace_result)) return false; - dropTag_result that = (dropTag_result)_that; + alterSpace_result that = (alterSpace_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -13002,7 +11388,7 @@ public int hashCode() { } @Override - public int compareTo(dropTag_result other) { + public int compareTo(alterSpace_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -13078,7 +11464,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("dropTag_result"); + StringBuilder sb = new StringBuilder("alterSpace_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -13105,11 +11491,11 @@ public void validate() throws TException { } - public static class getTag_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("getTag_args"); + public static class createSpaceAs_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("createSpaceAs_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public GetTagReq req; + public CreateSpaceAsReq req; public static final int REQ = 1; // isset id assignments @@ -13119,19 +11505,19 @@ public static class getTag_args implements TBase, java.io.Serializable, Cloneabl static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, GetTagReq.class))); + new StructMetaData(TType.STRUCT, CreateSpaceAsReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(getTag_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(createSpaceAs_args.class, metaDataMap); } - public getTag_args() { + public createSpaceAs_args() { } - public getTag_args( - GetTagReq req) { + public createSpaceAs_args( + CreateSpaceAsReq req) { this(); this.req = req; } @@ -13139,21 +11525,21 @@ public getTag_args( /** * Performs a deep copy on other. */ - public getTag_args(getTag_args other) { + public createSpaceAs_args(createSpaceAs_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public getTag_args deepCopy() { - return new getTag_args(this); + public createSpaceAs_args deepCopy() { + return new createSpaceAs_args(this); } - public GetTagReq getReq() { + public CreateSpaceAsReq getReq() { return this.req; } - public getTag_args setReq(GetTagReq req) { + public createSpaceAs_args setReq(CreateSpaceAsReq req) { this.req = req; return this; } @@ -13179,7 +11565,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((GetTagReq)__value); + setReq((CreateSpaceAsReq)__value); } break; @@ -13204,9 +11590,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof getTag_args)) + if (!(_that instanceof createSpaceAs_args)) return false; - getTag_args that = (getTag_args)_that; + createSpaceAs_args that = (createSpaceAs_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -13219,7 +11605,7 @@ public int hashCode() { } @Override - public int compareTo(getTag_args other) { + public int compareTo(createSpaceAs_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -13254,7 +11640,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new GetTagReq(); + this.req = new CreateSpaceAsReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -13296,7 +11682,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("getTag_args"); + StringBuilder sb = new StringBuilder("createSpaceAs_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -13323,11 +11709,11 @@ public void validate() throws TException { } - public static class getTag_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("getTag_result"); + public static class createSpaceAs_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("createSpaceAs_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public GetTagResp success; + public ExecResp success; public static final int SUCCESS = 0; // isset id assignments @@ -13337,19 +11723,19 @@ public static class getTag_result implements TBase, java.io.Serializable, Clonea static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, GetTagResp.class))); + new StructMetaData(TType.STRUCT, ExecResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(getTag_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(createSpaceAs_result.class, metaDataMap); } - public getTag_result() { + public createSpaceAs_result() { } - public getTag_result( - GetTagResp success) { + public createSpaceAs_result( + ExecResp success) { this(); this.success = success; } @@ -13357,21 +11743,21 @@ public getTag_result( /** * Performs a deep copy on other. */ - public getTag_result(getTag_result other) { + public createSpaceAs_result(createSpaceAs_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public getTag_result deepCopy() { - return new getTag_result(this); + public createSpaceAs_result deepCopy() { + return new createSpaceAs_result(this); } - public GetTagResp getSuccess() { + public ExecResp getSuccess() { return this.success; } - public getTag_result setSuccess(GetTagResp success) { + public createSpaceAs_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -13397,7 +11783,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((GetTagResp)__value); + setSuccess((ExecResp)__value); } break; @@ -13422,9 +11808,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof getTag_result)) + if (!(_that instanceof createSpaceAs_result)) return false; - getTag_result that = (getTag_result)_that; + createSpaceAs_result that = (createSpaceAs_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -13437,7 +11823,7 @@ public int hashCode() { } @Override - public int compareTo(getTag_result other) { + public int compareTo(createSpaceAs_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -13472,7 +11858,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new GetTagResp(); + this.success = new ExecResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -13513,7 +11899,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("getTag_result"); + StringBuilder sb = new StringBuilder("createSpaceAs_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -13540,11 +11926,11 @@ public void validate() throws TException { } - public static class listTags_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listTags_args"); + public static class createTag_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("createTag_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public ListTagsReq req; + public CreateTagReq req; public static final int REQ = 1; // isset id assignments @@ -13554,19 +11940,19 @@ public static class listTags_args implements TBase, java.io.Serializable, Clonea static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListTagsReq.class))); + new StructMetaData(TType.STRUCT, CreateTagReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listTags_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(createTag_args.class, metaDataMap); } - public listTags_args() { + public createTag_args() { } - public listTags_args( - ListTagsReq req) { + public createTag_args( + CreateTagReq req) { this(); this.req = req; } @@ -13574,21 +11960,21 @@ public listTags_args( /** * Performs a deep copy on other. */ - public listTags_args(listTags_args other) { + public createTag_args(createTag_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public listTags_args deepCopy() { - return new listTags_args(this); + public createTag_args deepCopy() { + return new createTag_args(this); } - public ListTagsReq getReq() { + public CreateTagReq getReq() { return this.req; } - public listTags_args setReq(ListTagsReq req) { + public createTag_args setReq(CreateTagReq req) { this.req = req; return this; } @@ -13614,7 +12000,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((ListTagsReq)__value); + setReq((CreateTagReq)__value); } break; @@ -13639,9 +12025,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listTags_args)) + if (!(_that instanceof createTag_args)) return false; - listTags_args that = (listTags_args)_that; + createTag_args that = (createTag_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -13654,7 +12040,7 @@ public int hashCode() { } @Override - public int compareTo(listTags_args other) { + public int compareTo(createTag_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -13689,7 +12075,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new ListTagsReq(); + this.req = new CreateTagReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -13731,7 +12117,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listTags_args"); + StringBuilder sb = new StringBuilder("createTag_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -13758,11 +12144,11 @@ public void validate() throws TException { } - public static class listTags_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listTags_result"); + public static class createTag_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("createTag_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ListTagsResp success; + public ExecResp success; public static final int SUCCESS = 0; // isset id assignments @@ -13772,19 +12158,19 @@ public static class listTags_result implements TBase, java.io.Serializable, Clon static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListTagsResp.class))); + new StructMetaData(TType.STRUCT, ExecResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listTags_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(createTag_result.class, metaDataMap); } - public listTags_result() { + public createTag_result() { } - public listTags_result( - ListTagsResp success) { + public createTag_result( + ExecResp success) { this(); this.success = success; } @@ -13792,21 +12178,21 @@ public listTags_result( /** * Performs a deep copy on other. */ - public listTags_result(listTags_result other) { + public createTag_result(createTag_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public listTags_result deepCopy() { - return new listTags_result(this); + public createTag_result deepCopy() { + return new createTag_result(this); } - public ListTagsResp getSuccess() { + public ExecResp getSuccess() { return this.success; } - public listTags_result setSuccess(ListTagsResp success) { + public createTag_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -13832,7 +12218,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ListTagsResp)__value); + setSuccess((ExecResp)__value); } break; @@ -13857,9 +12243,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listTags_result)) + if (!(_that instanceof createTag_result)) return false; - listTags_result that = (listTags_result)_that; + createTag_result that = (createTag_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -13872,7 +12258,7 @@ public int hashCode() { } @Override - public int compareTo(listTags_result other) { + public int compareTo(createTag_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -13907,7 +12293,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ListTagsResp(); + this.success = new ExecResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -13948,7 +12334,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listTags_result"); + StringBuilder sb = new StringBuilder("createTag_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -13975,11 +12361,11 @@ public void validate() throws TException { } - public static class createEdge_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("createEdge_args"); + public static class alterTag_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("alterTag_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public CreateEdgeReq req; + public AlterTagReq req; public static final int REQ = 1; // isset id assignments @@ -13989,19 +12375,19 @@ public static class createEdge_args implements TBase, java.io.Serializable, Clon static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, CreateEdgeReq.class))); + new StructMetaData(TType.STRUCT, AlterTagReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(createEdge_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(alterTag_args.class, metaDataMap); } - public createEdge_args() { + public alterTag_args() { } - public createEdge_args( - CreateEdgeReq req) { + public alterTag_args( + AlterTagReq req) { this(); this.req = req; } @@ -14009,21 +12395,21 @@ public createEdge_args( /** * Performs a deep copy on other. */ - public createEdge_args(createEdge_args other) { + public alterTag_args(alterTag_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public createEdge_args deepCopy() { - return new createEdge_args(this); + public alterTag_args deepCopy() { + return new alterTag_args(this); } - public CreateEdgeReq getReq() { + public AlterTagReq getReq() { return this.req; } - public createEdge_args setReq(CreateEdgeReq req) { + public alterTag_args setReq(AlterTagReq req) { this.req = req; return this; } @@ -14049,7 +12435,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((CreateEdgeReq)__value); + setReq((AlterTagReq)__value); } break; @@ -14074,9 +12460,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof createEdge_args)) + if (!(_that instanceof alterTag_args)) return false; - createEdge_args that = (createEdge_args)_that; + alterTag_args that = (alterTag_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -14089,7 +12475,7 @@ public int hashCode() { } @Override - public int compareTo(createEdge_args other) { + public int compareTo(alterTag_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -14124,7 +12510,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new CreateEdgeReq(); + this.req = new AlterTagReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -14166,7 +12552,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("createEdge_args"); + StringBuilder sb = new StringBuilder("alterTag_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -14193,8 +12579,8 @@ public void validate() throws TException { } - public static class createEdge_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("createEdge_result"); + public static class alterTag_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("alterTag_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); public ExecResp success; @@ -14212,13 +12598,13 @@ public static class createEdge_result implements TBase, java.io.Serializable, Cl } static { - FieldMetaData.addStructMetaDataMap(createEdge_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(alterTag_result.class, metaDataMap); } - public createEdge_result() { + public alterTag_result() { } - public createEdge_result( + public alterTag_result( ExecResp success) { this(); this.success = success; @@ -14227,21 +12613,21 @@ public createEdge_result( /** * Performs a deep copy on other. */ - public createEdge_result(createEdge_result other) { + public alterTag_result(alterTag_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public createEdge_result deepCopy() { - return new createEdge_result(this); + public alterTag_result deepCopy() { + return new alterTag_result(this); } public ExecResp getSuccess() { return this.success; } - public createEdge_result setSuccess(ExecResp success) { + public alterTag_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -14292,9 +12678,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof createEdge_result)) + if (!(_that instanceof alterTag_result)) return false; - createEdge_result that = (createEdge_result)_that; + alterTag_result that = (alterTag_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -14307,7 +12693,7 @@ public int hashCode() { } @Override - public int compareTo(createEdge_result other) { + public int compareTo(alterTag_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -14383,7 +12769,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("createEdge_result"); + StringBuilder sb = new StringBuilder("alterTag_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -14410,11 +12796,11 @@ public void validate() throws TException { } - public static class alterEdge_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("alterEdge_args"); + public static class dropTag_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("dropTag_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public AlterEdgeReq req; + public DropTagReq req; public static final int REQ = 1; // isset id assignments @@ -14424,19 +12810,19 @@ public static class alterEdge_args implements TBase, java.io.Serializable, Clone static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, AlterEdgeReq.class))); + new StructMetaData(TType.STRUCT, DropTagReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(alterEdge_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(dropTag_args.class, metaDataMap); } - public alterEdge_args() { + public dropTag_args() { } - public alterEdge_args( - AlterEdgeReq req) { + public dropTag_args( + DropTagReq req) { this(); this.req = req; } @@ -14444,21 +12830,21 @@ public alterEdge_args( /** * Performs a deep copy on other. */ - public alterEdge_args(alterEdge_args other) { + public dropTag_args(dropTag_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public alterEdge_args deepCopy() { - return new alterEdge_args(this); + public dropTag_args deepCopy() { + return new dropTag_args(this); } - public AlterEdgeReq getReq() { + public DropTagReq getReq() { return this.req; } - public alterEdge_args setReq(AlterEdgeReq req) { + public dropTag_args setReq(DropTagReq req) { this.req = req; return this; } @@ -14484,7 +12870,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((AlterEdgeReq)__value); + setReq((DropTagReq)__value); } break; @@ -14509,9 +12895,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof alterEdge_args)) + if (!(_that instanceof dropTag_args)) return false; - alterEdge_args that = (alterEdge_args)_that; + dropTag_args that = (dropTag_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -14524,7 +12910,7 @@ public int hashCode() { } @Override - public int compareTo(alterEdge_args other) { + public int compareTo(dropTag_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -14559,7 +12945,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new AlterEdgeReq(); + this.req = new DropTagReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -14601,7 +12987,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("alterEdge_args"); + StringBuilder sb = new StringBuilder("dropTag_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -14628,8 +13014,8 @@ public void validate() throws TException { } - public static class alterEdge_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("alterEdge_result"); + public static class dropTag_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("dropTag_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); public ExecResp success; @@ -14647,13 +13033,13 @@ public static class alterEdge_result implements TBase, java.io.Serializable, Clo } static { - FieldMetaData.addStructMetaDataMap(alterEdge_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(dropTag_result.class, metaDataMap); } - public alterEdge_result() { + public dropTag_result() { } - public alterEdge_result( + public dropTag_result( ExecResp success) { this(); this.success = success; @@ -14662,21 +13048,21 @@ public alterEdge_result( /** * Performs a deep copy on other. */ - public alterEdge_result(alterEdge_result other) { + public dropTag_result(dropTag_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public alterEdge_result deepCopy() { - return new alterEdge_result(this); + public dropTag_result deepCopy() { + return new dropTag_result(this); } public ExecResp getSuccess() { return this.success; } - public alterEdge_result setSuccess(ExecResp success) { + public dropTag_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -14727,9 +13113,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof alterEdge_result)) + if (!(_that instanceof dropTag_result)) return false; - alterEdge_result that = (alterEdge_result)_that; + dropTag_result that = (dropTag_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -14742,7 +13128,7 @@ public int hashCode() { } @Override - public int compareTo(alterEdge_result other) { + public int compareTo(dropTag_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -14818,7 +13204,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("alterEdge_result"); + StringBuilder sb = new StringBuilder("dropTag_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -14845,11 +13231,11 @@ public void validate() throws TException { } - public static class dropEdge_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("dropEdge_args"); + public static class getTag_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("getTag_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public DropEdgeReq req; + public GetTagReq req; public static final int REQ = 1; // isset id assignments @@ -14859,19 +13245,19 @@ public static class dropEdge_args implements TBase, java.io.Serializable, Clonea static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, DropEdgeReq.class))); + new StructMetaData(TType.STRUCT, GetTagReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(dropEdge_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(getTag_args.class, metaDataMap); } - public dropEdge_args() { + public getTag_args() { } - public dropEdge_args( - DropEdgeReq req) { + public getTag_args( + GetTagReq req) { this(); this.req = req; } @@ -14879,21 +13265,21 @@ public dropEdge_args( /** * Performs a deep copy on other. */ - public dropEdge_args(dropEdge_args other) { + public getTag_args(getTag_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public dropEdge_args deepCopy() { - return new dropEdge_args(this); + public getTag_args deepCopy() { + return new getTag_args(this); } - public DropEdgeReq getReq() { + public GetTagReq getReq() { return this.req; } - public dropEdge_args setReq(DropEdgeReq req) { + public getTag_args setReq(GetTagReq req) { this.req = req; return this; } @@ -14919,7 +13305,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((DropEdgeReq)__value); + setReq((GetTagReq)__value); } break; @@ -14944,9 +13330,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof dropEdge_args)) + if (!(_that instanceof getTag_args)) return false; - dropEdge_args that = (dropEdge_args)_that; + getTag_args that = (getTag_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -14959,7 +13345,7 @@ public int hashCode() { } @Override - public int compareTo(dropEdge_args other) { + public int compareTo(getTag_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -14994,7 +13380,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new DropEdgeReq(); + this.req = new GetTagReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -15036,7 +13422,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("dropEdge_args"); + StringBuilder sb = new StringBuilder("getTag_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -15063,11 +13449,11 @@ public void validate() throws TException { } - public static class dropEdge_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("dropEdge_result"); + public static class getTag_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("getTag_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ExecResp success; + public GetTagResp success; public static final int SUCCESS = 0; // isset id assignments @@ -15077,19 +13463,19 @@ public static class dropEdge_result implements TBase, java.io.Serializable, Clon static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ExecResp.class))); + new StructMetaData(TType.STRUCT, GetTagResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(dropEdge_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(getTag_result.class, metaDataMap); } - public dropEdge_result() { + public getTag_result() { } - public dropEdge_result( - ExecResp success) { + public getTag_result( + GetTagResp success) { this(); this.success = success; } @@ -15097,21 +13483,21 @@ public dropEdge_result( /** * Performs a deep copy on other. */ - public dropEdge_result(dropEdge_result other) { + public getTag_result(getTag_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public dropEdge_result deepCopy() { - return new dropEdge_result(this); + public getTag_result deepCopy() { + return new getTag_result(this); } - public ExecResp getSuccess() { + public GetTagResp getSuccess() { return this.success; } - public dropEdge_result setSuccess(ExecResp success) { + public getTag_result setSuccess(GetTagResp success) { this.success = success; return this; } @@ -15137,7 +13523,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ExecResp)__value); + setSuccess((GetTagResp)__value); } break; @@ -15162,9 +13548,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof dropEdge_result)) + if (!(_that instanceof getTag_result)) return false; - dropEdge_result that = (dropEdge_result)_that; + getTag_result that = (getTag_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -15177,7 +13563,7 @@ public int hashCode() { } @Override - public int compareTo(dropEdge_result other) { + public int compareTo(getTag_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -15212,7 +13598,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ExecResp(); + this.success = new GetTagResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -15253,7 +13639,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("dropEdge_result"); + StringBuilder sb = new StringBuilder("getTag_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -15280,11 +13666,11 @@ public void validate() throws TException { } - public static class getEdge_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("getEdge_args"); + public static class listTags_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listTags_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public GetEdgeReq req; + public ListTagsReq req; public static final int REQ = 1; // isset id assignments @@ -15294,19 +13680,19 @@ public static class getEdge_args implements TBase, java.io.Serializable, Cloneab static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, GetEdgeReq.class))); + new StructMetaData(TType.STRUCT, ListTagsReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(getEdge_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listTags_args.class, metaDataMap); } - public getEdge_args() { + public listTags_args() { } - public getEdge_args( - GetEdgeReq req) { + public listTags_args( + ListTagsReq req) { this(); this.req = req; } @@ -15314,21 +13700,21 @@ public getEdge_args( /** * Performs a deep copy on other. */ - public getEdge_args(getEdge_args other) { + public listTags_args(listTags_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public getEdge_args deepCopy() { - return new getEdge_args(this); + public listTags_args deepCopy() { + return new listTags_args(this); } - public GetEdgeReq getReq() { + public ListTagsReq getReq() { return this.req; } - public getEdge_args setReq(GetEdgeReq req) { + public listTags_args setReq(ListTagsReq req) { this.req = req; return this; } @@ -15354,7 +13740,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((GetEdgeReq)__value); + setReq((ListTagsReq)__value); } break; @@ -15379,9 +13765,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof getEdge_args)) + if (!(_that instanceof listTags_args)) return false; - getEdge_args that = (getEdge_args)_that; + listTags_args that = (listTags_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -15394,7 +13780,7 @@ public int hashCode() { } @Override - public int compareTo(getEdge_args other) { + public int compareTo(listTags_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -15429,7 +13815,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new GetEdgeReq(); + this.req = new ListTagsReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -15471,7 +13857,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("getEdge_args"); + StringBuilder sb = new StringBuilder("listTags_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -15498,11 +13884,11 @@ public void validate() throws TException { } - public static class getEdge_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("getEdge_result"); + public static class listTags_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listTags_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public GetEdgeResp success; + public ListTagsResp success; public static final int SUCCESS = 0; // isset id assignments @@ -15512,19 +13898,19 @@ public static class getEdge_result implements TBase, java.io.Serializable, Clone static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, GetEdgeResp.class))); + new StructMetaData(TType.STRUCT, ListTagsResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(getEdge_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listTags_result.class, metaDataMap); } - public getEdge_result() { + public listTags_result() { } - public getEdge_result( - GetEdgeResp success) { + public listTags_result( + ListTagsResp success) { this(); this.success = success; } @@ -15532,21 +13918,21 @@ public getEdge_result( /** * Performs a deep copy on other. */ - public getEdge_result(getEdge_result other) { + public listTags_result(listTags_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public getEdge_result deepCopy() { - return new getEdge_result(this); + public listTags_result deepCopy() { + return new listTags_result(this); } - public GetEdgeResp getSuccess() { + public ListTagsResp getSuccess() { return this.success; } - public getEdge_result setSuccess(GetEdgeResp success) { + public listTags_result setSuccess(ListTagsResp success) { this.success = success; return this; } @@ -15572,7 +13958,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((GetEdgeResp)__value); + setSuccess((ListTagsResp)__value); } break; @@ -15597,9 +13983,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof getEdge_result)) + if (!(_that instanceof listTags_result)) return false; - getEdge_result that = (getEdge_result)_that; + listTags_result that = (listTags_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -15612,7 +13998,7 @@ public int hashCode() { } @Override - public int compareTo(getEdge_result other) { + public int compareTo(listTags_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -15647,7 +14033,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new GetEdgeResp(); + this.success = new ListTagsResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -15688,7 +14074,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("getEdge_result"); + StringBuilder sb = new StringBuilder("listTags_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -15715,11 +14101,11 @@ public void validate() throws TException { } - public static class listEdges_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listEdges_args"); + public static class createEdge_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("createEdge_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public ListEdgesReq req; + public CreateEdgeReq req; public static final int REQ = 1; // isset id assignments @@ -15729,19 +14115,19 @@ public static class listEdges_args implements TBase, java.io.Serializable, Clone static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListEdgesReq.class))); + new StructMetaData(TType.STRUCT, CreateEdgeReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listEdges_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(createEdge_args.class, metaDataMap); } - public listEdges_args() { + public createEdge_args() { } - public listEdges_args( - ListEdgesReq req) { + public createEdge_args( + CreateEdgeReq req) { this(); this.req = req; } @@ -15749,21 +14135,21 @@ public listEdges_args( /** * Performs a deep copy on other. */ - public listEdges_args(listEdges_args other) { + public createEdge_args(createEdge_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public listEdges_args deepCopy() { - return new listEdges_args(this); + public createEdge_args deepCopy() { + return new createEdge_args(this); } - public ListEdgesReq getReq() { + public CreateEdgeReq getReq() { return this.req; } - public listEdges_args setReq(ListEdgesReq req) { + public createEdge_args setReq(CreateEdgeReq req) { this.req = req; return this; } @@ -15789,7 +14175,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((ListEdgesReq)__value); + setReq((CreateEdgeReq)__value); } break; @@ -15814,9 +14200,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listEdges_args)) + if (!(_that instanceof createEdge_args)) return false; - listEdges_args that = (listEdges_args)_that; + createEdge_args that = (createEdge_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -15829,7 +14215,7 @@ public int hashCode() { } @Override - public int compareTo(listEdges_args other) { + public int compareTo(createEdge_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -15864,7 +14250,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new ListEdgesReq(); + this.req = new CreateEdgeReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -15906,7 +14292,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listEdges_args"); + StringBuilder sb = new StringBuilder("createEdge_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -15933,11 +14319,11 @@ public void validate() throws TException { } - public static class listEdges_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listEdges_result"); + public static class createEdge_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("createEdge_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ListEdgesResp success; + public ExecResp success; public static final int SUCCESS = 0; // isset id assignments @@ -15947,19 +14333,19 @@ public static class listEdges_result implements TBase, java.io.Serializable, Clo static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListEdgesResp.class))); + new StructMetaData(TType.STRUCT, ExecResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listEdges_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(createEdge_result.class, metaDataMap); } - public listEdges_result() { + public createEdge_result() { } - public listEdges_result( - ListEdgesResp success) { + public createEdge_result( + ExecResp success) { this(); this.success = success; } @@ -15967,21 +14353,21 @@ public listEdges_result( /** * Performs a deep copy on other. */ - public listEdges_result(listEdges_result other) { + public createEdge_result(createEdge_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public listEdges_result deepCopy() { - return new listEdges_result(this); + public createEdge_result deepCopy() { + return new createEdge_result(this); } - public ListEdgesResp getSuccess() { + public ExecResp getSuccess() { return this.success; } - public listEdges_result setSuccess(ListEdgesResp success) { + public createEdge_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -16007,7 +14393,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ListEdgesResp)__value); + setSuccess((ExecResp)__value); } break; @@ -16032,9 +14418,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listEdges_result)) + if (!(_that instanceof createEdge_result)) return false; - listEdges_result that = (listEdges_result)_that; + createEdge_result that = (createEdge_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -16047,7 +14433,7 @@ public int hashCode() { } @Override - public int compareTo(listEdges_result other) { + public int compareTo(createEdge_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -16082,7 +14468,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ListEdgesResp(); + this.success = new ExecResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -16123,7 +14509,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listEdges_result"); + StringBuilder sb = new StringBuilder("createEdge_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -16150,11 +14536,11 @@ public void validate() throws TException { } - public static class addHosts_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("addHosts_args"); + public static class alterEdge_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("alterEdge_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public AddHostsReq req; + public AlterEdgeReq req; public static final int REQ = 1; // isset id assignments @@ -16164,19 +14550,19 @@ public static class addHosts_args implements TBase, java.io.Serializable, Clonea static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, AddHostsReq.class))); + new StructMetaData(TType.STRUCT, AlterEdgeReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(addHosts_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(alterEdge_args.class, metaDataMap); } - public addHosts_args() { + public alterEdge_args() { } - public addHosts_args( - AddHostsReq req) { + public alterEdge_args( + AlterEdgeReq req) { this(); this.req = req; } @@ -16184,21 +14570,21 @@ public addHosts_args( /** * Performs a deep copy on other. */ - public addHosts_args(addHosts_args other) { + public alterEdge_args(alterEdge_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public addHosts_args deepCopy() { - return new addHosts_args(this); + public alterEdge_args deepCopy() { + return new alterEdge_args(this); } - public AddHostsReq getReq() { + public AlterEdgeReq getReq() { return this.req; } - public addHosts_args setReq(AddHostsReq req) { + public alterEdge_args setReq(AlterEdgeReq req) { this.req = req; return this; } @@ -16224,7 +14610,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((AddHostsReq)__value); + setReq((AlterEdgeReq)__value); } break; @@ -16249,9 +14635,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof addHosts_args)) + if (!(_that instanceof alterEdge_args)) return false; - addHosts_args that = (addHosts_args)_that; + alterEdge_args that = (alterEdge_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -16264,7 +14650,7 @@ public int hashCode() { } @Override - public int compareTo(addHosts_args other) { + public int compareTo(alterEdge_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -16299,7 +14685,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new AddHostsReq(); + this.req = new AlterEdgeReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -16341,7 +14727,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("addHosts_args"); + StringBuilder sb = new StringBuilder("alterEdge_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -16368,8 +14754,8 @@ public void validate() throws TException { } - public static class addHosts_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("addHosts_result"); + public static class alterEdge_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("alterEdge_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); public ExecResp success; @@ -16387,13 +14773,13 @@ public static class addHosts_result implements TBase, java.io.Serializable, Clon } static { - FieldMetaData.addStructMetaDataMap(addHosts_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(alterEdge_result.class, metaDataMap); } - public addHosts_result() { + public alterEdge_result() { } - public addHosts_result( + public alterEdge_result( ExecResp success) { this(); this.success = success; @@ -16402,21 +14788,21 @@ public addHosts_result( /** * Performs a deep copy on other. */ - public addHosts_result(addHosts_result other) { + public alterEdge_result(alterEdge_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public addHosts_result deepCopy() { - return new addHosts_result(this); + public alterEdge_result deepCopy() { + return new alterEdge_result(this); } public ExecResp getSuccess() { return this.success; } - public addHosts_result setSuccess(ExecResp success) { + public alterEdge_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -16467,9 +14853,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof addHosts_result)) + if (!(_that instanceof alterEdge_result)) return false; - addHosts_result that = (addHosts_result)_that; + alterEdge_result that = (alterEdge_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -16482,7 +14868,7 @@ public int hashCode() { } @Override - public int compareTo(addHosts_result other) { + public int compareTo(alterEdge_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -16558,7 +14944,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("addHosts_result"); + StringBuilder sb = new StringBuilder("alterEdge_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -16585,11 +14971,11 @@ public void validate() throws TException { } - public static class addHostsIntoZone_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("addHostsIntoZone_args"); + public static class dropEdge_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("dropEdge_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public AddHostsIntoZoneReq req; + public DropEdgeReq req; public static final int REQ = 1; // isset id assignments @@ -16599,19 +14985,19 @@ public static class addHostsIntoZone_args implements TBase, java.io.Serializable static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, AddHostsIntoZoneReq.class))); + new StructMetaData(TType.STRUCT, DropEdgeReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(addHostsIntoZone_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(dropEdge_args.class, metaDataMap); } - public addHostsIntoZone_args() { + public dropEdge_args() { } - public addHostsIntoZone_args( - AddHostsIntoZoneReq req) { + public dropEdge_args( + DropEdgeReq req) { this(); this.req = req; } @@ -16619,21 +15005,21 @@ public addHostsIntoZone_args( /** * Performs a deep copy on other. */ - public addHostsIntoZone_args(addHostsIntoZone_args other) { + public dropEdge_args(dropEdge_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public addHostsIntoZone_args deepCopy() { - return new addHostsIntoZone_args(this); + public dropEdge_args deepCopy() { + return new dropEdge_args(this); } - public AddHostsIntoZoneReq getReq() { + public DropEdgeReq getReq() { return this.req; } - public addHostsIntoZone_args setReq(AddHostsIntoZoneReq req) { + public dropEdge_args setReq(DropEdgeReq req) { this.req = req; return this; } @@ -16659,7 +15045,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((AddHostsIntoZoneReq)__value); + setReq((DropEdgeReq)__value); } break; @@ -16684,9 +15070,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof addHostsIntoZone_args)) + if (!(_that instanceof dropEdge_args)) return false; - addHostsIntoZone_args that = (addHostsIntoZone_args)_that; + dropEdge_args that = (dropEdge_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -16699,7 +15085,7 @@ public int hashCode() { } @Override - public int compareTo(addHostsIntoZone_args other) { + public int compareTo(dropEdge_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -16734,7 +15120,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new AddHostsIntoZoneReq(); + this.req = new DropEdgeReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -16776,7 +15162,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("addHostsIntoZone_args"); + StringBuilder sb = new StringBuilder("dropEdge_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -16803,8 +15189,8 @@ public void validate() throws TException { } - public static class addHostsIntoZone_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("addHostsIntoZone_result"); + public static class dropEdge_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("dropEdge_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); public ExecResp success; @@ -16822,13 +15208,13 @@ public static class addHostsIntoZone_result implements TBase, java.io.Serializab } static { - FieldMetaData.addStructMetaDataMap(addHostsIntoZone_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(dropEdge_result.class, metaDataMap); } - public addHostsIntoZone_result() { + public dropEdge_result() { } - public addHostsIntoZone_result( + public dropEdge_result( ExecResp success) { this(); this.success = success; @@ -16837,21 +15223,21 @@ public addHostsIntoZone_result( /** * Performs a deep copy on other. */ - public addHostsIntoZone_result(addHostsIntoZone_result other) { + public dropEdge_result(dropEdge_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public addHostsIntoZone_result deepCopy() { - return new addHostsIntoZone_result(this); + public dropEdge_result deepCopy() { + return new dropEdge_result(this); } public ExecResp getSuccess() { return this.success; } - public addHostsIntoZone_result setSuccess(ExecResp success) { + public dropEdge_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -16902,9 +15288,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof addHostsIntoZone_result)) + if (!(_that instanceof dropEdge_result)) return false; - addHostsIntoZone_result that = (addHostsIntoZone_result)_that; + dropEdge_result that = (dropEdge_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -16917,7 +15303,7 @@ public int hashCode() { } @Override - public int compareTo(addHostsIntoZone_result other) { + public int compareTo(dropEdge_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -16993,7 +15379,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("addHostsIntoZone_result"); + StringBuilder sb = new StringBuilder("dropEdge_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -17020,11 +15406,11 @@ public void validate() throws TException { } - public static class dropHosts_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("dropHosts_args"); + public static class getEdge_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("getEdge_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public DropHostsReq req; + public GetEdgeReq req; public static final int REQ = 1; // isset id assignments @@ -17034,19 +15420,19 @@ public static class dropHosts_args implements TBase, java.io.Serializable, Clone static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, DropHostsReq.class))); + new StructMetaData(TType.STRUCT, GetEdgeReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(dropHosts_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(getEdge_args.class, metaDataMap); } - public dropHosts_args() { + public getEdge_args() { } - public dropHosts_args( - DropHostsReq req) { + public getEdge_args( + GetEdgeReq req) { this(); this.req = req; } @@ -17054,21 +15440,21 @@ public dropHosts_args( /** * Performs a deep copy on other. */ - public dropHosts_args(dropHosts_args other) { + public getEdge_args(getEdge_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public dropHosts_args deepCopy() { - return new dropHosts_args(this); + public getEdge_args deepCopy() { + return new getEdge_args(this); } - public DropHostsReq getReq() { + public GetEdgeReq getReq() { return this.req; } - public dropHosts_args setReq(DropHostsReq req) { + public getEdge_args setReq(GetEdgeReq req) { this.req = req; return this; } @@ -17094,7 +15480,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((DropHostsReq)__value); + setReq((GetEdgeReq)__value); } break; @@ -17119,9 +15505,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof dropHosts_args)) + if (!(_that instanceof getEdge_args)) return false; - dropHosts_args that = (dropHosts_args)_that; + getEdge_args that = (getEdge_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -17134,7 +15520,7 @@ public int hashCode() { } @Override - public int compareTo(dropHosts_args other) { + public int compareTo(getEdge_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -17169,7 +15555,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new DropHostsReq(); + this.req = new GetEdgeReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -17211,7 +15597,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("dropHosts_args"); + StringBuilder sb = new StringBuilder("getEdge_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -17238,11 +15624,11 @@ public void validate() throws TException { } - public static class dropHosts_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("dropHosts_result"); + public static class getEdge_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("getEdge_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ExecResp success; + public GetEdgeResp success; public static final int SUCCESS = 0; // isset id assignments @@ -17252,19 +15638,19 @@ public static class dropHosts_result implements TBase, java.io.Serializable, Clo static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ExecResp.class))); + new StructMetaData(TType.STRUCT, GetEdgeResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(dropHosts_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(getEdge_result.class, metaDataMap); } - public dropHosts_result() { + public getEdge_result() { } - public dropHosts_result( - ExecResp success) { + public getEdge_result( + GetEdgeResp success) { this(); this.success = success; } @@ -17272,21 +15658,21 @@ public dropHosts_result( /** * Performs a deep copy on other. */ - public dropHosts_result(dropHosts_result other) { + public getEdge_result(getEdge_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public dropHosts_result deepCopy() { - return new dropHosts_result(this); + public getEdge_result deepCopy() { + return new getEdge_result(this); } - public ExecResp getSuccess() { + public GetEdgeResp getSuccess() { return this.success; } - public dropHosts_result setSuccess(ExecResp success) { + public getEdge_result setSuccess(GetEdgeResp success) { this.success = success; return this; } @@ -17312,7 +15698,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ExecResp)__value); + setSuccess((GetEdgeResp)__value); } break; @@ -17337,9 +15723,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof dropHosts_result)) + if (!(_that instanceof getEdge_result)) return false; - dropHosts_result that = (dropHosts_result)_that; + getEdge_result that = (getEdge_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -17352,7 +15738,7 @@ public int hashCode() { } @Override - public int compareTo(dropHosts_result other) { + public int compareTo(getEdge_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -17387,7 +15773,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ExecResp(); + this.success = new GetEdgeResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -17428,7 +15814,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("dropHosts_result"); + StringBuilder sb = new StringBuilder("getEdge_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -17455,11 +15841,11 @@ public void validate() throws TException { } - public static class listHosts_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listHosts_args"); + public static class listEdges_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listEdges_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public ListHostsReq req; + public ListEdgesReq req; public static final int REQ = 1; // isset id assignments @@ -17469,19 +15855,19 @@ public static class listHosts_args implements TBase, java.io.Serializable, Clone static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListHostsReq.class))); + new StructMetaData(TType.STRUCT, ListEdgesReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listHosts_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listEdges_args.class, metaDataMap); } - public listHosts_args() { + public listEdges_args() { } - public listHosts_args( - ListHostsReq req) { + public listEdges_args( + ListEdgesReq req) { this(); this.req = req; } @@ -17489,21 +15875,21 @@ public listHosts_args( /** * Performs a deep copy on other. */ - public listHosts_args(listHosts_args other) { + public listEdges_args(listEdges_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public listHosts_args deepCopy() { - return new listHosts_args(this); + public listEdges_args deepCopy() { + return new listEdges_args(this); } - public ListHostsReq getReq() { + public ListEdgesReq getReq() { return this.req; } - public listHosts_args setReq(ListHostsReq req) { + public listEdges_args setReq(ListEdgesReq req) { this.req = req; return this; } @@ -17529,7 +15915,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((ListHostsReq)__value); + setReq((ListEdgesReq)__value); } break; @@ -17554,9 +15940,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listHosts_args)) + if (!(_that instanceof listEdges_args)) return false; - listHosts_args that = (listHosts_args)_that; + listEdges_args that = (listEdges_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -17569,7 +15955,7 @@ public int hashCode() { } @Override - public int compareTo(listHosts_args other) { + public int compareTo(listEdges_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -17604,7 +15990,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new ListHostsReq(); + this.req = new ListEdgesReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -17646,7 +16032,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listHosts_args"); + StringBuilder sb = new StringBuilder("listEdges_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -17673,11 +16059,11 @@ public void validate() throws TException { } - public static class listHosts_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listHosts_result"); + public static class listEdges_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listEdges_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ListHostsResp success; + public ListEdgesResp success; public static final int SUCCESS = 0; // isset id assignments @@ -17687,19 +16073,19 @@ public static class listHosts_result implements TBase, java.io.Serializable, Clo static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListHostsResp.class))); + new StructMetaData(TType.STRUCT, ListEdgesResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listHosts_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listEdges_result.class, metaDataMap); } - public listHosts_result() { + public listEdges_result() { } - public listHosts_result( - ListHostsResp success) { + public listEdges_result( + ListEdgesResp success) { this(); this.success = success; } @@ -17707,21 +16093,21 @@ public listHosts_result( /** * Performs a deep copy on other. */ - public listHosts_result(listHosts_result other) { + public listEdges_result(listEdges_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public listHosts_result deepCopy() { - return new listHosts_result(this); + public listEdges_result deepCopy() { + return new listEdges_result(this); } - public ListHostsResp getSuccess() { + public ListEdgesResp getSuccess() { return this.success; } - public listHosts_result setSuccess(ListHostsResp success) { + public listEdges_result setSuccess(ListEdgesResp success) { this.success = success; return this; } @@ -17747,7 +16133,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ListHostsResp)__value); + setSuccess((ListEdgesResp)__value); } break; @@ -17772,9 +16158,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listHosts_result)) + if (!(_that instanceof listEdges_result)) return false; - listHosts_result that = (listHosts_result)_that; + listEdges_result that = (listEdges_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -17787,7 +16173,7 @@ public int hashCode() { } @Override - public int compareTo(listHosts_result other) { + public int compareTo(listEdges_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -17822,7 +16208,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ListHostsResp(); + this.success = new ListEdgesResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -17863,7 +16249,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listHosts_result"); + StringBuilder sb = new StringBuilder("listEdges_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -17890,11 +16276,11 @@ public void validate() throws TException { } - public static class getPartsAlloc_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("getPartsAlloc_args"); + public static class addHosts_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("addHosts_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public GetPartsAllocReq req; + public AddHostsReq req; public static final int REQ = 1; // isset id assignments @@ -17904,19 +16290,19 @@ public static class getPartsAlloc_args implements TBase, java.io.Serializable, C static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, GetPartsAllocReq.class))); + new StructMetaData(TType.STRUCT, AddHostsReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(getPartsAlloc_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(addHosts_args.class, metaDataMap); } - public getPartsAlloc_args() { + public addHosts_args() { } - public getPartsAlloc_args( - GetPartsAllocReq req) { + public addHosts_args( + AddHostsReq req) { this(); this.req = req; } @@ -17924,21 +16310,21 @@ public getPartsAlloc_args( /** * Performs a deep copy on other. */ - public getPartsAlloc_args(getPartsAlloc_args other) { + public addHosts_args(addHosts_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public getPartsAlloc_args deepCopy() { - return new getPartsAlloc_args(this); + public addHosts_args deepCopy() { + return new addHosts_args(this); } - public GetPartsAllocReq getReq() { + public AddHostsReq getReq() { return this.req; } - public getPartsAlloc_args setReq(GetPartsAllocReq req) { + public addHosts_args setReq(AddHostsReq req) { this.req = req; return this; } @@ -17964,7 +16350,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((GetPartsAllocReq)__value); + setReq((AddHostsReq)__value); } break; @@ -17989,9 +16375,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof getPartsAlloc_args)) + if (!(_that instanceof addHosts_args)) return false; - getPartsAlloc_args that = (getPartsAlloc_args)_that; + addHosts_args that = (addHosts_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -18004,7 +16390,7 @@ public int hashCode() { } @Override - public int compareTo(getPartsAlloc_args other) { + public int compareTo(addHosts_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -18039,7 +16425,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new GetPartsAllocReq(); + this.req = new AddHostsReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -18081,7 +16467,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("getPartsAlloc_args"); + StringBuilder sb = new StringBuilder("addHosts_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -18108,11 +16494,11 @@ public void validate() throws TException { } - public static class getPartsAlloc_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("getPartsAlloc_result"); + public static class addHosts_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("addHosts_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public GetPartsAllocResp success; + public ExecResp success; public static final int SUCCESS = 0; // isset id assignments @@ -18122,19 +16508,19 @@ public static class getPartsAlloc_result implements TBase, java.io.Serializable, static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, GetPartsAllocResp.class))); + new StructMetaData(TType.STRUCT, ExecResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(getPartsAlloc_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(addHosts_result.class, metaDataMap); } - public getPartsAlloc_result() { + public addHosts_result() { } - public getPartsAlloc_result( - GetPartsAllocResp success) { + public addHosts_result( + ExecResp success) { this(); this.success = success; } @@ -18142,21 +16528,21 @@ public getPartsAlloc_result( /** * Performs a deep copy on other. */ - public getPartsAlloc_result(getPartsAlloc_result other) { + public addHosts_result(addHosts_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public getPartsAlloc_result deepCopy() { - return new getPartsAlloc_result(this); + public addHosts_result deepCopy() { + return new addHosts_result(this); } - public GetPartsAllocResp getSuccess() { + public ExecResp getSuccess() { return this.success; } - public getPartsAlloc_result setSuccess(GetPartsAllocResp success) { + public addHosts_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -18182,7 +16568,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((GetPartsAllocResp)__value); + setSuccess((ExecResp)__value); } break; @@ -18207,9 +16593,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof getPartsAlloc_result)) + if (!(_that instanceof addHosts_result)) return false; - getPartsAlloc_result that = (getPartsAlloc_result)_that; + addHosts_result that = (addHosts_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -18222,7 +16608,7 @@ public int hashCode() { } @Override - public int compareTo(getPartsAlloc_result other) { + public int compareTo(addHosts_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -18257,7 +16643,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new GetPartsAllocResp(); + this.success = new ExecResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -18298,7 +16684,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("getPartsAlloc_result"); + StringBuilder sb = new StringBuilder("addHosts_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -18325,11 +16711,11 @@ public void validate() throws TException { } - public static class listParts_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listParts_args"); + public static class addHostsIntoZone_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("addHostsIntoZone_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public ListPartsReq req; + public AddHostsIntoZoneReq req; public static final int REQ = 1; // isset id assignments @@ -18339,19 +16725,19 @@ public static class listParts_args implements TBase, java.io.Serializable, Clone static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListPartsReq.class))); + new StructMetaData(TType.STRUCT, AddHostsIntoZoneReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listParts_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(addHostsIntoZone_args.class, metaDataMap); } - public listParts_args() { + public addHostsIntoZone_args() { } - public listParts_args( - ListPartsReq req) { + public addHostsIntoZone_args( + AddHostsIntoZoneReq req) { this(); this.req = req; } @@ -18359,21 +16745,21 @@ public listParts_args( /** * Performs a deep copy on other. */ - public listParts_args(listParts_args other) { + public addHostsIntoZone_args(addHostsIntoZone_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public listParts_args deepCopy() { - return new listParts_args(this); + public addHostsIntoZone_args deepCopy() { + return new addHostsIntoZone_args(this); } - public ListPartsReq getReq() { + public AddHostsIntoZoneReq getReq() { return this.req; } - public listParts_args setReq(ListPartsReq req) { + public addHostsIntoZone_args setReq(AddHostsIntoZoneReq req) { this.req = req; return this; } @@ -18399,7 +16785,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((ListPartsReq)__value); + setReq((AddHostsIntoZoneReq)__value); } break; @@ -18424,9 +16810,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listParts_args)) + if (!(_that instanceof addHostsIntoZone_args)) return false; - listParts_args that = (listParts_args)_that; + addHostsIntoZone_args that = (addHostsIntoZone_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -18439,7 +16825,7 @@ public int hashCode() { } @Override - public int compareTo(listParts_args other) { + public int compareTo(addHostsIntoZone_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -18474,7 +16860,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new ListPartsReq(); + this.req = new AddHostsIntoZoneReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -18516,7 +16902,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listParts_args"); + StringBuilder sb = new StringBuilder("addHostsIntoZone_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -18543,11 +16929,11 @@ public void validate() throws TException { } - public static class listParts_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listParts_result"); + public static class addHostsIntoZone_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("addHostsIntoZone_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ListPartsResp success; + public ExecResp success; public static final int SUCCESS = 0; // isset id assignments @@ -18557,19 +16943,19 @@ public static class listParts_result implements TBase, java.io.Serializable, Clo static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListPartsResp.class))); + new StructMetaData(TType.STRUCT, ExecResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listParts_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(addHostsIntoZone_result.class, metaDataMap); } - public listParts_result() { + public addHostsIntoZone_result() { } - public listParts_result( - ListPartsResp success) { + public addHostsIntoZone_result( + ExecResp success) { this(); this.success = success; } @@ -18577,21 +16963,21 @@ public listParts_result( /** * Performs a deep copy on other. */ - public listParts_result(listParts_result other) { + public addHostsIntoZone_result(addHostsIntoZone_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public listParts_result deepCopy() { - return new listParts_result(this); + public addHostsIntoZone_result deepCopy() { + return new addHostsIntoZone_result(this); } - public ListPartsResp getSuccess() { + public ExecResp getSuccess() { return this.success; } - public listParts_result setSuccess(ListPartsResp success) { + public addHostsIntoZone_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -18617,7 +17003,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ListPartsResp)__value); + setSuccess((ExecResp)__value); } break; @@ -18642,9 +17028,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listParts_result)) + if (!(_that instanceof addHostsIntoZone_result)) return false; - listParts_result that = (listParts_result)_that; + addHostsIntoZone_result that = (addHostsIntoZone_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -18657,7 +17043,7 @@ public int hashCode() { } @Override - public int compareTo(listParts_result other) { + public int compareTo(addHostsIntoZone_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -18692,7 +17078,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ListPartsResp(); + this.success = new ExecResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -18733,7 +17119,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listParts_result"); + StringBuilder sb = new StringBuilder("addHostsIntoZone_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -18760,11 +17146,11 @@ public void validate() throws TException { } - public static class getWorkerId_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("getWorkerId_args"); + public static class dropHosts_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("dropHosts_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public GetWorkerIdReq req; + public DropHostsReq req; public static final int REQ = 1; // isset id assignments @@ -18774,19 +17160,19 @@ public static class getWorkerId_args implements TBase, java.io.Serializable, Clo static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, GetWorkerIdReq.class))); + new StructMetaData(TType.STRUCT, DropHostsReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(getWorkerId_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(dropHosts_args.class, metaDataMap); } - public getWorkerId_args() { + public dropHosts_args() { } - public getWorkerId_args( - GetWorkerIdReq req) { + public dropHosts_args( + DropHostsReq req) { this(); this.req = req; } @@ -18794,21 +17180,21 @@ public getWorkerId_args( /** * Performs a deep copy on other. */ - public getWorkerId_args(getWorkerId_args other) { + public dropHosts_args(dropHosts_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public getWorkerId_args deepCopy() { - return new getWorkerId_args(this); + public dropHosts_args deepCopy() { + return new dropHosts_args(this); } - public GetWorkerIdReq getReq() { + public DropHostsReq getReq() { return this.req; } - public getWorkerId_args setReq(GetWorkerIdReq req) { + public dropHosts_args setReq(DropHostsReq req) { this.req = req; return this; } @@ -18834,7 +17220,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((GetWorkerIdReq)__value); + setReq((DropHostsReq)__value); } break; @@ -18859,9 +17245,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof getWorkerId_args)) + if (!(_that instanceof dropHosts_args)) return false; - getWorkerId_args that = (getWorkerId_args)_that; + dropHosts_args that = (dropHosts_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -18874,7 +17260,7 @@ public int hashCode() { } @Override - public int compareTo(getWorkerId_args other) { + public int compareTo(dropHosts_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -18909,7 +17295,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new GetWorkerIdReq(); + this.req = new DropHostsReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -18951,7 +17337,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("getWorkerId_args"); + StringBuilder sb = new StringBuilder("dropHosts_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -18978,11 +17364,11 @@ public void validate() throws TException { } - public static class getWorkerId_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("getWorkerId_result"); + public static class dropHosts_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("dropHosts_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public GetWorkerIdResp success; + public ExecResp success; public static final int SUCCESS = 0; // isset id assignments @@ -18992,19 +17378,19 @@ public static class getWorkerId_result implements TBase, java.io.Serializable, C static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, GetWorkerIdResp.class))); + new StructMetaData(TType.STRUCT, ExecResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(getWorkerId_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(dropHosts_result.class, metaDataMap); } - public getWorkerId_result() { + public dropHosts_result() { } - public getWorkerId_result( - GetWorkerIdResp success) { + public dropHosts_result( + ExecResp success) { this(); this.success = success; } @@ -19012,21 +17398,21 @@ public getWorkerId_result( /** * Performs a deep copy on other. */ - public getWorkerId_result(getWorkerId_result other) { + public dropHosts_result(dropHosts_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public getWorkerId_result deepCopy() { - return new getWorkerId_result(this); + public dropHosts_result deepCopy() { + return new dropHosts_result(this); } - public GetWorkerIdResp getSuccess() { + public ExecResp getSuccess() { return this.success; } - public getWorkerId_result setSuccess(GetWorkerIdResp success) { + public dropHosts_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -19052,7 +17438,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((GetWorkerIdResp)__value); + setSuccess((ExecResp)__value); } break; @@ -19077,9 +17463,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof getWorkerId_result)) + if (!(_that instanceof dropHosts_result)) return false; - getWorkerId_result that = (getWorkerId_result)_that; + dropHosts_result that = (dropHosts_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -19092,7 +17478,7 @@ public int hashCode() { } @Override - public int compareTo(getWorkerId_result other) { + public int compareTo(dropHosts_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -19127,7 +17513,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new GetWorkerIdResp(); + this.success = new ExecResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -19168,7 +17554,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("getWorkerId_result"); + StringBuilder sb = new StringBuilder("dropHosts_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -19195,11 +17581,11 @@ public void validate() throws TException { } - public static class multiPut_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("multiPut_args"); + public static class listHosts_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listHosts_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public MultiPutReq req; + public ListHostsReq req; public static final int REQ = 1; // isset id assignments @@ -19209,19 +17595,19 @@ public static class multiPut_args implements TBase, java.io.Serializable, Clonea static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, MultiPutReq.class))); + new StructMetaData(TType.STRUCT, ListHostsReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(multiPut_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listHosts_args.class, metaDataMap); } - public multiPut_args() { + public listHosts_args() { } - public multiPut_args( - MultiPutReq req) { + public listHosts_args( + ListHostsReq req) { this(); this.req = req; } @@ -19229,21 +17615,21 @@ public multiPut_args( /** * Performs a deep copy on other. */ - public multiPut_args(multiPut_args other) { + public listHosts_args(listHosts_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public multiPut_args deepCopy() { - return new multiPut_args(this); + public listHosts_args deepCopy() { + return new listHosts_args(this); } - public MultiPutReq getReq() { + public ListHostsReq getReq() { return this.req; } - public multiPut_args setReq(MultiPutReq req) { + public listHosts_args setReq(ListHostsReq req) { this.req = req; return this; } @@ -19269,7 +17655,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((MultiPutReq)__value); + setReq((ListHostsReq)__value); } break; @@ -19294,9 +17680,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof multiPut_args)) + if (!(_that instanceof listHosts_args)) return false; - multiPut_args that = (multiPut_args)_that; + listHosts_args that = (listHosts_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -19309,7 +17695,7 @@ public int hashCode() { } @Override - public int compareTo(multiPut_args other) { + public int compareTo(listHosts_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -19344,7 +17730,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new MultiPutReq(); + this.req = new ListHostsReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -19386,7 +17772,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("multiPut_args"); + StringBuilder sb = new StringBuilder("listHosts_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -19413,11 +17799,11 @@ public void validate() throws TException { } - public static class multiPut_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("multiPut_result"); + public static class listHosts_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listHosts_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ExecResp success; + public ListHostsResp success; public static final int SUCCESS = 0; // isset id assignments @@ -19427,19 +17813,19 @@ public static class multiPut_result implements TBase, java.io.Serializable, Clon static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ExecResp.class))); + new StructMetaData(TType.STRUCT, ListHostsResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(multiPut_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listHosts_result.class, metaDataMap); } - public multiPut_result() { + public listHosts_result() { } - public multiPut_result( - ExecResp success) { + public listHosts_result( + ListHostsResp success) { this(); this.success = success; } @@ -19447,21 +17833,21 @@ public multiPut_result( /** * Performs a deep copy on other. */ - public multiPut_result(multiPut_result other) { + public listHosts_result(listHosts_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public multiPut_result deepCopy() { - return new multiPut_result(this); + public listHosts_result deepCopy() { + return new listHosts_result(this); } - public ExecResp getSuccess() { + public ListHostsResp getSuccess() { return this.success; } - public multiPut_result setSuccess(ExecResp success) { + public listHosts_result setSuccess(ListHostsResp success) { this.success = success; return this; } @@ -19487,7 +17873,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ExecResp)__value); + setSuccess((ListHostsResp)__value); } break; @@ -19512,9 +17898,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof multiPut_result)) + if (!(_that instanceof listHosts_result)) return false; - multiPut_result that = (multiPut_result)_that; + listHosts_result that = (listHosts_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -19527,7 +17913,7 @@ public int hashCode() { } @Override - public int compareTo(multiPut_result other) { + public int compareTo(listHosts_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -19562,7 +17948,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ExecResp(); + this.success = new ListHostsResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -19603,7 +17989,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("multiPut_result"); + StringBuilder sb = new StringBuilder("listHosts_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -19630,11 +18016,11 @@ public void validate() throws TException { } - public static class get_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("get_args"); + public static class getPartsAlloc_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("getPartsAlloc_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public GetReq req; + public GetPartsAllocReq req; public static final int REQ = 1; // isset id assignments @@ -19644,19 +18030,19 @@ public static class get_args implements TBase, java.io.Serializable, Cloneable, static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, GetReq.class))); + new StructMetaData(TType.STRUCT, GetPartsAllocReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(get_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(getPartsAlloc_args.class, metaDataMap); } - public get_args() { + public getPartsAlloc_args() { } - public get_args( - GetReq req) { + public getPartsAlloc_args( + GetPartsAllocReq req) { this(); this.req = req; } @@ -19664,21 +18050,21 @@ public get_args( /** * Performs a deep copy on other. */ - public get_args(get_args other) { + public getPartsAlloc_args(getPartsAlloc_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public get_args deepCopy() { - return new get_args(this); + public getPartsAlloc_args deepCopy() { + return new getPartsAlloc_args(this); } - public GetReq getReq() { + public GetPartsAllocReq getReq() { return this.req; } - public get_args setReq(GetReq req) { + public getPartsAlloc_args setReq(GetPartsAllocReq req) { this.req = req; return this; } @@ -19704,7 +18090,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((GetReq)__value); + setReq((GetPartsAllocReq)__value); } break; @@ -19729,9 +18115,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof get_args)) + if (!(_that instanceof getPartsAlloc_args)) return false; - get_args that = (get_args)_that; + getPartsAlloc_args that = (getPartsAlloc_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -19744,7 +18130,7 @@ public int hashCode() { } @Override - public int compareTo(get_args other) { + public int compareTo(getPartsAlloc_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -19779,7 +18165,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new GetReq(); + this.req = new GetPartsAllocReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -19821,7 +18207,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("get_args"); + StringBuilder sb = new StringBuilder("getPartsAlloc_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -19848,11 +18234,11 @@ public void validate() throws TException { } - public static class get_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("get_result"); + public static class getPartsAlloc_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("getPartsAlloc_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public GetResp success; + public GetPartsAllocResp success; public static final int SUCCESS = 0; // isset id assignments @@ -19862,19 +18248,19 @@ public static class get_result implements TBase, java.io.Serializable, Cloneable static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, GetResp.class))); + new StructMetaData(TType.STRUCT, GetPartsAllocResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(get_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(getPartsAlloc_result.class, metaDataMap); } - public get_result() { + public getPartsAlloc_result() { } - public get_result( - GetResp success) { + public getPartsAlloc_result( + GetPartsAllocResp success) { this(); this.success = success; } @@ -19882,21 +18268,21 @@ public get_result( /** * Performs a deep copy on other. */ - public get_result(get_result other) { + public getPartsAlloc_result(getPartsAlloc_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public get_result deepCopy() { - return new get_result(this); + public getPartsAlloc_result deepCopy() { + return new getPartsAlloc_result(this); } - public GetResp getSuccess() { + public GetPartsAllocResp getSuccess() { return this.success; } - public get_result setSuccess(GetResp success) { + public getPartsAlloc_result setSuccess(GetPartsAllocResp success) { this.success = success; return this; } @@ -19922,7 +18308,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((GetResp)__value); + setSuccess((GetPartsAllocResp)__value); } break; @@ -19947,9 +18333,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof get_result)) + if (!(_that instanceof getPartsAlloc_result)) return false; - get_result that = (get_result)_that; + getPartsAlloc_result that = (getPartsAlloc_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -19962,7 +18348,7 @@ public int hashCode() { } @Override - public int compareTo(get_result other) { + public int compareTo(getPartsAlloc_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -19997,7 +18383,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new GetResp(); + this.success = new GetPartsAllocResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -20038,7 +18424,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("get_result"); + StringBuilder sb = new StringBuilder("getPartsAlloc_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -20065,11 +18451,11 @@ public void validate() throws TException { } - public static class multiGet_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("multiGet_args"); + public static class listParts_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listParts_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public MultiGetReq req; + public ListPartsReq req; public static final int REQ = 1; // isset id assignments @@ -20079,19 +18465,19 @@ public static class multiGet_args implements TBase, java.io.Serializable, Clonea static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, MultiGetReq.class))); + new StructMetaData(TType.STRUCT, ListPartsReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(multiGet_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listParts_args.class, metaDataMap); } - public multiGet_args() { + public listParts_args() { } - public multiGet_args( - MultiGetReq req) { + public listParts_args( + ListPartsReq req) { this(); this.req = req; } @@ -20099,21 +18485,21 @@ public multiGet_args( /** * Performs a deep copy on other. */ - public multiGet_args(multiGet_args other) { + public listParts_args(listParts_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public multiGet_args deepCopy() { - return new multiGet_args(this); + public listParts_args deepCopy() { + return new listParts_args(this); } - public MultiGetReq getReq() { + public ListPartsReq getReq() { return this.req; } - public multiGet_args setReq(MultiGetReq req) { + public listParts_args setReq(ListPartsReq req) { this.req = req; return this; } @@ -20139,7 +18525,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((MultiGetReq)__value); + setReq((ListPartsReq)__value); } break; @@ -20164,9 +18550,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof multiGet_args)) + if (!(_that instanceof listParts_args)) return false; - multiGet_args that = (multiGet_args)_that; + listParts_args that = (listParts_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -20179,7 +18565,7 @@ public int hashCode() { } @Override - public int compareTo(multiGet_args other) { + public int compareTo(listParts_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -20214,7 +18600,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new MultiGetReq(); + this.req = new ListPartsReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -20256,7 +18642,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("multiGet_args"); + StringBuilder sb = new StringBuilder("listParts_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -20283,11 +18669,11 @@ public void validate() throws TException { } - public static class multiGet_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("multiGet_result"); + public static class listParts_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listParts_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public MultiGetResp success; + public ListPartsResp success; public static final int SUCCESS = 0; // isset id assignments @@ -20297,19 +18683,19 @@ public static class multiGet_result implements TBase, java.io.Serializable, Clon static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, MultiGetResp.class))); + new StructMetaData(TType.STRUCT, ListPartsResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(multiGet_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listParts_result.class, metaDataMap); } - public multiGet_result() { + public listParts_result() { } - public multiGet_result( - MultiGetResp success) { + public listParts_result( + ListPartsResp success) { this(); this.success = success; } @@ -20317,21 +18703,21 @@ public multiGet_result( /** * Performs a deep copy on other. */ - public multiGet_result(multiGet_result other) { + public listParts_result(listParts_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public multiGet_result deepCopy() { - return new multiGet_result(this); + public listParts_result deepCopy() { + return new listParts_result(this); } - public MultiGetResp getSuccess() { + public ListPartsResp getSuccess() { return this.success; } - public multiGet_result setSuccess(MultiGetResp success) { + public listParts_result setSuccess(ListPartsResp success) { this.success = success; return this; } @@ -20357,7 +18743,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((MultiGetResp)__value); + setSuccess((ListPartsResp)__value); } break; @@ -20382,9 +18768,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof multiGet_result)) + if (!(_that instanceof listParts_result)) return false; - multiGet_result that = (multiGet_result)_that; + listParts_result that = (listParts_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -20397,7 +18783,7 @@ public int hashCode() { } @Override - public int compareTo(multiGet_result other) { + public int compareTo(listParts_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -20432,7 +18818,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new MultiGetResp(); + this.success = new ListPartsResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -20473,7 +18859,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("multiGet_result"); + StringBuilder sb = new StringBuilder("listParts_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -20500,11 +18886,11 @@ public void validate() throws TException { } - public static class remove_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("remove_args"); + public static class getWorkerId_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("getWorkerId_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public RemoveReq req; + public GetWorkerIdReq req; public static final int REQ = 1; // isset id assignments @@ -20514,19 +18900,19 @@ public static class remove_args implements TBase, java.io.Serializable, Cloneabl static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, RemoveReq.class))); + new StructMetaData(TType.STRUCT, GetWorkerIdReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(remove_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(getWorkerId_args.class, metaDataMap); } - public remove_args() { + public getWorkerId_args() { } - public remove_args( - RemoveReq req) { + public getWorkerId_args( + GetWorkerIdReq req) { this(); this.req = req; } @@ -20534,21 +18920,21 @@ public remove_args( /** * Performs a deep copy on other. */ - public remove_args(remove_args other) { + public getWorkerId_args(getWorkerId_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public remove_args deepCopy() { - return new remove_args(this); + public getWorkerId_args deepCopy() { + return new getWorkerId_args(this); } - public RemoveReq getReq() { + public GetWorkerIdReq getReq() { return this.req; } - public remove_args setReq(RemoveReq req) { + public getWorkerId_args setReq(GetWorkerIdReq req) { this.req = req; return this; } @@ -20574,7 +18960,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((RemoveReq)__value); + setReq((GetWorkerIdReq)__value); } break; @@ -20599,9 +18985,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof remove_args)) + if (!(_that instanceof getWorkerId_args)) return false; - remove_args that = (remove_args)_that; + getWorkerId_args that = (getWorkerId_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -20614,7 +19000,7 @@ public int hashCode() { } @Override - public int compareTo(remove_args other) { + public int compareTo(getWorkerId_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -20649,7 +19035,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new RemoveReq(); + this.req = new GetWorkerIdReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -20691,7 +19077,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("remove_args"); + StringBuilder sb = new StringBuilder("getWorkerId_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -20718,11 +19104,11 @@ public void validate() throws TException { } - public static class remove_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("remove_result"); + public static class getWorkerId_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("getWorkerId_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ExecResp success; + public GetWorkerIdResp success; public static final int SUCCESS = 0; // isset id assignments @@ -20732,19 +19118,19 @@ public static class remove_result implements TBase, java.io.Serializable, Clonea static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ExecResp.class))); + new StructMetaData(TType.STRUCT, GetWorkerIdResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(remove_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(getWorkerId_result.class, metaDataMap); } - public remove_result() { + public getWorkerId_result() { } - public remove_result( - ExecResp success) { + public getWorkerId_result( + GetWorkerIdResp success) { this(); this.success = success; } @@ -20752,21 +19138,21 @@ public remove_result( /** * Performs a deep copy on other. */ - public remove_result(remove_result other) { + public getWorkerId_result(getWorkerId_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public remove_result deepCopy() { - return new remove_result(this); + public getWorkerId_result deepCopy() { + return new getWorkerId_result(this); } - public ExecResp getSuccess() { + public GetWorkerIdResp getSuccess() { return this.success; } - public remove_result setSuccess(ExecResp success) { + public getWorkerId_result setSuccess(GetWorkerIdResp success) { this.success = success; return this; } @@ -20792,7 +19178,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ExecResp)__value); + setSuccess((GetWorkerIdResp)__value); } break; @@ -20817,9 +19203,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof remove_result)) + if (!(_that instanceof getWorkerId_result)) return false; - remove_result that = (remove_result)_that; + getWorkerId_result that = (getWorkerId_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -20832,7 +19218,7 @@ public int hashCode() { } @Override - public int compareTo(remove_result other) { + public int compareTo(getWorkerId_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -20867,7 +19253,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ExecResp(); + this.success = new GetWorkerIdResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -20908,7 +19294,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("remove_result"); + StringBuilder sb = new StringBuilder("getWorkerId_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -20935,11 +19321,11 @@ public void validate() throws TException { } - public static class removeRange_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("removeRange_args"); + public static class createTagIndex_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("createTagIndex_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public RemoveRangeReq req; + public CreateTagIndexReq req; public static final int REQ = 1; // isset id assignments @@ -20949,19 +19335,19 @@ public static class removeRange_args implements TBase, java.io.Serializable, Clo static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, RemoveRangeReq.class))); + new StructMetaData(TType.STRUCT, CreateTagIndexReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(removeRange_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(createTagIndex_args.class, metaDataMap); } - public removeRange_args() { + public createTagIndex_args() { } - public removeRange_args( - RemoveRangeReq req) { + public createTagIndex_args( + CreateTagIndexReq req) { this(); this.req = req; } @@ -20969,21 +19355,21 @@ public removeRange_args( /** * Performs a deep copy on other. */ - public removeRange_args(removeRange_args other) { + public createTagIndex_args(createTagIndex_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public removeRange_args deepCopy() { - return new removeRange_args(this); + public createTagIndex_args deepCopy() { + return new createTagIndex_args(this); } - public RemoveRangeReq getReq() { + public CreateTagIndexReq getReq() { return this.req; } - public removeRange_args setReq(RemoveRangeReq req) { + public createTagIndex_args setReq(CreateTagIndexReq req) { this.req = req; return this; } @@ -21009,7 +19395,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((RemoveRangeReq)__value); + setReq((CreateTagIndexReq)__value); } break; @@ -21034,9 +19420,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof removeRange_args)) + if (!(_that instanceof createTagIndex_args)) return false; - removeRange_args that = (removeRange_args)_that; + createTagIndex_args that = (createTagIndex_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -21049,7 +19435,7 @@ public int hashCode() { } @Override - public int compareTo(removeRange_args other) { + public int compareTo(createTagIndex_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -21084,7 +19470,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new RemoveRangeReq(); + this.req = new CreateTagIndexReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -21126,7 +19512,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("removeRange_args"); + StringBuilder sb = new StringBuilder("createTagIndex_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -21153,8 +19539,8 @@ public void validate() throws TException { } - public static class removeRange_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("removeRange_result"); + public static class createTagIndex_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("createTagIndex_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); public ExecResp success; @@ -21172,13 +19558,13 @@ public static class removeRange_result implements TBase, java.io.Serializable, C } static { - FieldMetaData.addStructMetaDataMap(removeRange_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(createTagIndex_result.class, metaDataMap); } - public removeRange_result() { + public createTagIndex_result() { } - public removeRange_result( + public createTagIndex_result( ExecResp success) { this(); this.success = success; @@ -21187,21 +19573,21 @@ public removeRange_result( /** * Performs a deep copy on other. */ - public removeRange_result(removeRange_result other) { + public createTagIndex_result(createTagIndex_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public removeRange_result deepCopy() { - return new removeRange_result(this); + public createTagIndex_result deepCopy() { + return new createTagIndex_result(this); } public ExecResp getSuccess() { return this.success; } - public removeRange_result setSuccess(ExecResp success) { + public createTagIndex_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -21252,9 +19638,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof removeRange_result)) + if (!(_that instanceof createTagIndex_result)) return false; - removeRange_result that = (removeRange_result)_that; + createTagIndex_result that = (createTagIndex_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -21267,7 +19653,7 @@ public int hashCode() { } @Override - public int compareTo(removeRange_result other) { + public int compareTo(createTagIndex_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -21343,7 +19729,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("removeRange_result"); + StringBuilder sb = new StringBuilder("createTagIndex_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -21370,11 +19756,11 @@ public void validate() throws TException { } - public static class scan_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("scan_args"); + public static class dropTagIndex_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("dropTagIndex_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public ScanReq req; + public DropTagIndexReq req; public static final int REQ = 1; // isset id assignments @@ -21384,19 +19770,19 @@ public static class scan_args implements TBase, java.io.Serializable, Cloneable, static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ScanReq.class))); + new StructMetaData(TType.STRUCT, DropTagIndexReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(scan_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(dropTagIndex_args.class, metaDataMap); } - public scan_args() { + public dropTagIndex_args() { } - public scan_args( - ScanReq req) { + public dropTagIndex_args( + DropTagIndexReq req) { this(); this.req = req; } @@ -21404,21 +19790,21 @@ public scan_args( /** * Performs a deep copy on other. */ - public scan_args(scan_args other) { + public dropTagIndex_args(dropTagIndex_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public scan_args deepCopy() { - return new scan_args(this); + public dropTagIndex_args deepCopy() { + return new dropTagIndex_args(this); } - public ScanReq getReq() { + public DropTagIndexReq getReq() { return this.req; } - public scan_args setReq(ScanReq req) { + public dropTagIndex_args setReq(DropTagIndexReq req) { this.req = req; return this; } @@ -21444,7 +19830,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((ScanReq)__value); + setReq((DropTagIndexReq)__value); } break; @@ -21469,9 +19855,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof scan_args)) + if (!(_that instanceof dropTagIndex_args)) return false; - scan_args that = (scan_args)_that; + dropTagIndex_args that = (dropTagIndex_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -21484,7 +19870,7 @@ public int hashCode() { } @Override - public int compareTo(scan_args other) { + public int compareTo(dropTagIndex_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -21519,7 +19905,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new ScanReq(); + this.req = new DropTagIndexReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -21561,7 +19947,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("scan_args"); + StringBuilder sb = new StringBuilder("dropTagIndex_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -21588,11 +19974,11 @@ public void validate() throws TException { } - public static class scan_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("scan_result"); + public static class dropTagIndex_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("dropTagIndex_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ScanResp success; + public ExecResp success; public static final int SUCCESS = 0; // isset id assignments @@ -21602,19 +19988,19 @@ public static class scan_result implements TBase, java.io.Serializable, Cloneabl static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ScanResp.class))); + new StructMetaData(TType.STRUCT, ExecResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(scan_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(dropTagIndex_result.class, metaDataMap); } - public scan_result() { + public dropTagIndex_result() { } - public scan_result( - ScanResp success) { + public dropTagIndex_result( + ExecResp success) { this(); this.success = success; } @@ -21622,21 +20008,21 @@ public scan_result( /** * Performs a deep copy on other. */ - public scan_result(scan_result other) { + public dropTagIndex_result(dropTagIndex_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public scan_result deepCopy() { - return new scan_result(this); + public dropTagIndex_result deepCopy() { + return new dropTagIndex_result(this); } - public ScanResp getSuccess() { + public ExecResp getSuccess() { return this.success; } - public scan_result setSuccess(ScanResp success) { + public dropTagIndex_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -21662,7 +20048,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ScanResp)__value); + setSuccess((ExecResp)__value); } break; @@ -21687,9 +20073,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof scan_result)) + if (!(_that instanceof dropTagIndex_result)) return false; - scan_result that = (scan_result)_that; + dropTagIndex_result that = (dropTagIndex_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -21702,7 +20088,7 @@ public int hashCode() { } @Override - public int compareTo(scan_result other) { + public int compareTo(dropTagIndex_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -21737,7 +20123,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ScanResp(); + this.success = new ExecResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -21778,7 +20164,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("scan_result"); + StringBuilder sb = new StringBuilder("dropTagIndex_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -21805,11 +20191,11 @@ public void validate() throws TException { } - public static class createTagIndex_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("createTagIndex_args"); + public static class getTagIndex_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("getTagIndex_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public CreateTagIndexReq req; + public GetTagIndexReq req; public static final int REQ = 1; // isset id assignments @@ -21819,19 +20205,19 @@ public static class createTagIndex_args implements TBase, java.io.Serializable, static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, CreateTagIndexReq.class))); + new StructMetaData(TType.STRUCT, GetTagIndexReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(createTagIndex_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(getTagIndex_args.class, metaDataMap); } - public createTagIndex_args() { + public getTagIndex_args() { } - public createTagIndex_args( - CreateTagIndexReq req) { + public getTagIndex_args( + GetTagIndexReq req) { this(); this.req = req; } @@ -21839,21 +20225,21 @@ public createTagIndex_args( /** * Performs a deep copy on other. */ - public createTagIndex_args(createTagIndex_args other) { + public getTagIndex_args(getTagIndex_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public createTagIndex_args deepCopy() { - return new createTagIndex_args(this); + public getTagIndex_args deepCopy() { + return new getTagIndex_args(this); } - public CreateTagIndexReq getReq() { + public GetTagIndexReq getReq() { return this.req; } - public createTagIndex_args setReq(CreateTagIndexReq req) { + public getTagIndex_args setReq(GetTagIndexReq req) { this.req = req; return this; } @@ -21879,7 +20265,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((CreateTagIndexReq)__value); + setReq((GetTagIndexReq)__value); } break; @@ -21904,9 +20290,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof createTagIndex_args)) + if (!(_that instanceof getTagIndex_args)) return false; - createTagIndex_args that = (createTagIndex_args)_that; + getTagIndex_args that = (getTagIndex_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -21919,7 +20305,7 @@ public int hashCode() { } @Override - public int compareTo(createTagIndex_args other) { + public int compareTo(getTagIndex_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -21954,7 +20340,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new CreateTagIndexReq(); + this.req = new GetTagIndexReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -21996,7 +20382,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("createTagIndex_args"); + StringBuilder sb = new StringBuilder("getTagIndex_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -22023,11 +20409,11 @@ public void validate() throws TException { } - public static class createTagIndex_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("createTagIndex_result"); + public static class getTagIndex_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("getTagIndex_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ExecResp success; + public GetTagIndexResp success; public static final int SUCCESS = 0; // isset id assignments @@ -22037,19 +20423,19 @@ public static class createTagIndex_result implements TBase, java.io.Serializable static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ExecResp.class))); + new StructMetaData(TType.STRUCT, GetTagIndexResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(createTagIndex_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(getTagIndex_result.class, metaDataMap); } - public createTagIndex_result() { + public getTagIndex_result() { } - public createTagIndex_result( - ExecResp success) { + public getTagIndex_result( + GetTagIndexResp success) { this(); this.success = success; } @@ -22057,21 +20443,21 @@ public createTagIndex_result( /** * Performs a deep copy on other. */ - public createTagIndex_result(createTagIndex_result other) { + public getTagIndex_result(getTagIndex_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public createTagIndex_result deepCopy() { - return new createTagIndex_result(this); + public getTagIndex_result deepCopy() { + return new getTagIndex_result(this); } - public ExecResp getSuccess() { + public GetTagIndexResp getSuccess() { return this.success; } - public createTagIndex_result setSuccess(ExecResp success) { + public getTagIndex_result setSuccess(GetTagIndexResp success) { this.success = success; return this; } @@ -22097,7 +20483,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ExecResp)__value); + setSuccess((GetTagIndexResp)__value); } break; @@ -22122,9 +20508,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof createTagIndex_result)) + if (!(_that instanceof getTagIndex_result)) return false; - createTagIndex_result that = (createTagIndex_result)_that; + getTagIndex_result that = (getTagIndex_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -22137,7 +20523,7 @@ public int hashCode() { } @Override - public int compareTo(createTagIndex_result other) { + public int compareTo(getTagIndex_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -22172,7 +20558,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ExecResp(); + this.success = new GetTagIndexResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -22213,7 +20599,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("createTagIndex_result"); + StringBuilder sb = new StringBuilder("getTagIndex_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -22240,11 +20626,11 @@ public void validate() throws TException { } - public static class dropTagIndex_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("dropTagIndex_args"); + public static class listTagIndexes_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listTagIndexes_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public DropTagIndexReq req; + public ListTagIndexesReq req; public static final int REQ = 1; // isset id assignments @@ -22254,19 +20640,19 @@ public static class dropTagIndex_args implements TBase, java.io.Serializable, Cl static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, DropTagIndexReq.class))); + new StructMetaData(TType.STRUCT, ListTagIndexesReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(dropTagIndex_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listTagIndexes_args.class, metaDataMap); } - public dropTagIndex_args() { + public listTagIndexes_args() { } - public dropTagIndex_args( - DropTagIndexReq req) { + public listTagIndexes_args( + ListTagIndexesReq req) { this(); this.req = req; } @@ -22274,21 +20660,21 @@ public dropTagIndex_args( /** * Performs a deep copy on other. */ - public dropTagIndex_args(dropTagIndex_args other) { + public listTagIndexes_args(listTagIndexes_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public dropTagIndex_args deepCopy() { - return new dropTagIndex_args(this); + public listTagIndexes_args deepCopy() { + return new listTagIndexes_args(this); } - public DropTagIndexReq getReq() { + public ListTagIndexesReq getReq() { return this.req; } - public dropTagIndex_args setReq(DropTagIndexReq req) { + public listTagIndexes_args setReq(ListTagIndexesReq req) { this.req = req; return this; } @@ -22314,7 +20700,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((DropTagIndexReq)__value); + setReq((ListTagIndexesReq)__value); } break; @@ -22339,9 +20725,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof dropTagIndex_args)) + if (!(_that instanceof listTagIndexes_args)) return false; - dropTagIndex_args that = (dropTagIndex_args)_that; + listTagIndexes_args that = (listTagIndexes_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -22354,7 +20740,7 @@ public int hashCode() { } @Override - public int compareTo(dropTagIndex_args other) { + public int compareTo(listTagIndexes_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -22389,7 +20775,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new DropTagIndexReq(); + this.req = new ListTagIndexesReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -22431,7 +20817,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("dropTagIndex_args"); + StringBuilder sb = new StringBuilder("listTagIndexes_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -22458,11 +20844,11 @@ public void validate() throws TException { } - public static class dropTagIndex_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("dropTagIndex_result"); + public static class listTagIndexes_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listTagIndexes_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ExecResp success; + public ListTagIndexesResp success; public static final int SUCCESS = 0; // isset id assignments @@ -22472,19 +20858,19 @@ public static class dropTagIndex_result implements TBase, java.io.Serializable, static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ExecResp.class))); + new StructMetaData(TType.STRUCT, ListTagIndexesResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(dropTagIndex_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listTagIndexes_result.class, metaDataMap); } - public dropTagIndex_result() { + public listTagIndexes_result() { } - public dropTagIndex_result( - ExecResp success) { + public listTagIndexes_result( + ListTagIndexesResp success) { this(); this.success = success; } @@ -22492,21 +20878,21 @@ public dropTagIndex_result( /** * Performs a deep copy on other. */ - public dropTagIndex_result(dropTagIndex_result other) { + public listTagIndexes_result(listTagIndexes_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public dropTagIndex_result deepCopy() { - return new dropTagIndex_result(this); + public listTagIndexes_result deepCopy() { + return new listTagIndexes_result(this); } - public ExecResp getSuccess() { + public ListTagIndexesResp getSuccess() { return this.success; } - public dropTagIndex_result setSuccess(ExecResp success) { + public listTagIndexes_result setSuccess(ListTagIndexesResp success) { this.success = success; return this; } @@ -22532,7 +20918,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ExecResp)__value); + setSuccess((ListTagIndexesResp)__value); } break; @@ -22557,9 +20943,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof dropTagIndex_result)) + if (!(_that instanceof listTagIndexes_result)) return false; - dropTagIndex_result that = (dropTagIndex_result)_that; + listTagIndexes_result that = (listTagIndexes_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -22572,7 +20958,7 @@ public int hashCode() { } @Override - public int compareTo(dropTagIndex_result other) { + public int compareTo(listTagIndexes_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -22607,7 +20993,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ExecResp(); + this.success = new ListTagIndexesResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -22648,7 +21034,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("dropTagIndex_result"); + StringBuilder sb = new StringBuilder("listTagIndexes_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -22675,11 +21061,11 @@ public void validate() throws TException { } - public static class getTagIndex_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("getTagIndex_args"); + public static class rebuildTagIndex_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("rebuildTagIndex_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public GetTagIndexReq req; + public RebuildIndexReq req; public static final int REQ = 1; // isset id assignments @@ -22689,19 +21075,19 @@ public static class getTagIndex_args implements TBase, java.io.Serializable, Clo static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, GetTagIndexReq.class))); + new StructMetaData(TType.STRUCT, RebuildIndexReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(getTagIndex_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(rebuildTagIndex_args.class, metaDataMap); } - public getTagIndex_args() { + public rebuildTagIndex_args() { } - public getTagIndex_args( - GetTagIndexReq req) { + public rebuildTagIndex_args( + RebuildIndexReq req) { this(); this.req = req; } @@ -22709,21 +21095,21 @@ public getTagIndex_args( /** * Performs a deep copy on other. */ - public getTagIndex_args(getTagIndex_args other) { + public rebuildTagIndex_args(rebuildTagIndex_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public getTagIndex_args deepCopy() { - return new getTagIndex_args(this); + public rebuildTagIndex_args deepCopy() { + return new rebuildTagIndex_args(this); } - public GetTagIndexReq getReq() { + public RebuildIndexReq getReq() { return this.req; } - public getTagIndex_args setReq(GetTagIndexReq req) { + public rebuildTagIndex_args setReq(RebuildIndexReq req) { this.req = req; return this; } @@ -22749,7 +21135,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((GetTagIndexReq)__value); + setReq((RebuildIndexReq)__value); } break; @@ -22774,9 +21160,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof getTagIndex_args)) + if (!(_that instanceof rebuildTagIndex_args)) return false; - getTagIndex_args that = (getTagIndex_args)_that; + rebuildTagIndex_args that = (rebuildTagIndex_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -22789,7 +21175,7 @@ public int hashCode() { } @Override - public int compareTo(getTagIndex_args other) { + public int compareTo(rebuildTagIndex_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -22824,7 +21210,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new GetTagIndexReq(); + this.req = new RebuildIndexReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -22866,7 +21252,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("getTagIndex_args"); + StringBuilder sb = new StringBuilder("rebuildTagIndex_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -22893,11 +21279,11 @@ public void validate() throws TException { } - public static class getTagIndex_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("getTagIndex_result"); + public static class rebuildTagIndex_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("rebuildTagIndex_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public GetTagIndexResp success; + public ExecResp success; public static final int SUCCESS = 0; // isset id assignments @@ -22907,19 +21293,19 @@ public static class getTagIndex_result implements TBase, java.io.Serializable, C static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, GetTagIndexResp.class))); + new StructMetaData(TType.STRUCT, ExecResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(getTagIndex_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(rebuildTagIndex_result.class, metaDataMap); } - public getTagIndex_result() { + public rebuildTagIndex_result() { } - public getTagIndex_result( - GetTagIndexResp success) { + public rebuildTagIndex_result( + ExecResp success) { this(); this.success = success; } @@ -22927,21 +21313,21 @@ public getTagIndex_result( /** * Performs a deep copy on other. */ - public getTagIndex_result(getTagIndex_result other) { + public rebuildTagIndex_result(rebuildTagIndex_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public getTagIndex_result deepCopy() { - return new getTagIndex_result(this); + public rebuildTagIndex_result deepCopy() { + return new rebuildTagIndex_result(this); } - public GetTagIndexResp getSuccess() { + public ExecResp getSuccess() { return this.success; } - public getTagIndex_result setSuccess(GetTagIndexResp success) { + public rebuildTagIndex_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -22967,7 +21353,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((GetTagIndexResp)__value); + setSuccess((ExecResp)__value); } break; @@ -22992,9 +21378,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof getTagIndex_result)) + if (!(_that instanceof rebuildTagIndex_result)) return false; - getTagIndex_result that = (getTagIndex_result)_that; + rebuildTagIndex_result that = (rebuildTagIndex_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -23007,7 +21393,7 @@ public int hashCode() { } @Override - public int compareTo(getTagIndex_result other) { + public int compareTo(rebuildTagIndex_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -23042,7 +21428,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new GetTagIndexResp(); + this.success = new ExecResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -23083,7 +21469,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("getTagIndex_result"); + StringBuilder sb = new StringBuilder("rebuildTagIndex_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -23110,11 +21496,11 @@ public void validate() throws TException { } - public static class listTagIndexes_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listTagIndexes_args"); + public static class listTagIndexStatus_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listTagIndexStatus_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public ListTagIndexesReq req; + public ListIndexStatusReq req; public static final int REQ = 1; // isset id assignments @@ -23124,19 +21510,19 @@ public static class listTagIndexes_args implements TBase, java.io.Serializable, static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListTagIndexesReq.class))); + new StructMetaData(TType.STRUCT, ListIndexStatusReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listTagIndexes_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listTagIndexStatus_args.class, metaDataMap); } - public listTagIndexes_args() { + public listTagIndexStatus_args() { } - public listTagIndexes_args( - ListTagIndexesReq req) { + public listTagIndexStatus_args( + ListIndexStatusReq req) { this(); this.req = req; } @@ -23144,21 +21530,21 @@ public listTagIndexes_args( /** * Performs a deep copy on other. */ - public listTagIndexes_args(listTagIndexes_args other) { + public listTagIndexStatus_args(listTagIndexStatus_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public listTagIndexes_args deepCopy() { - return new listTagIndexes_args(this); + public listTagIndexStatus_args deepCopy() { + return new listTagIndexStatus_args(this); } - public ListTagIndexesReq getReq() { + public ListIndexStatusReq getReq() { return this.req; } - public listTagIndexes_args setReq(ListTagIndexesReq req) { + public listTagIndexStatus_args setReq(ListIndexStatusReq req) { this.req = req; return this; } @@ -23184,7 +21570,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((ListTagIndexesReq)__value); + setReq((ListIndexStatusReq)__value); } break; @@ -23209,9 +21595,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listTagIndexes_args)) + if (!(_that instanceof listTagIndexStatus_args)) return false; - listTagIndexes_args that = (listTagIndexes_args)_that; + listTagIndexStatus_args that = (listTagIndexStatus_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -23224,7 +21610,7 @@ public int hashCode() { } @Override - public int compareTo(listTagIndexes_args other) { + public int compareTo(listTagIndexStatus_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -23259,7 +21645,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new ListTagIndexesReq(); + this.req = new ListIndexStatusReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -23301,7 +21687,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listTagIndexes_args"); + StringBuilder sb = new StringBuilder("listTagIndexStatus_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -23328,11 +21714,11 @@ public void validate() throws TException { } - public static class listTagIndexes_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listTagIndexes_result"); + public static class listTagIndexStatus_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listTagIndexStatus_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ListTagIndexesResp success; + public ListIndexStatusResp success; public static final int SUCCESS = 0; // isset id assignments @@ -23342,19 +21728,19 @@ public static class listTagIndexes_result implements TBase, java.io.Serializable static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListTagIndexesResp.class))); + new StructMetaData(TType.STRUCT, ListIndexStatusResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listTagIndexes_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listTagIndexStatus_result.class, metaDataMap); } - public listTagIndexes_result() { + public listTagIndexStatus_result() { } - public listTagIndexes_result( - ListTagIndexesResp success) { + public listTagIndexStatus_result( + ListIndexStatusResp success) { this(); this.success = success; } @@ -23362,21 +21748,21 @@ public listTagIndexes_result( /** * Performs a deep copy on other. */ - public listTagIndexes_result(listTagIndexes_result other) { + public listTagIndexStatus_result(listTagIndexStatus_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public listTagIndexes_result deepCopy() { - return new listTagIndexes_result(this); + public listTagIndexStatus_result deepCopy() { + return new listTagIndexStatus_result(this); } - public ListTagIndexesResp getSuccess() { + public ListIndexStatusResp getSuccess() { return this.success; } - public listTagIndexes_result setSuccess(ListTagIndexesResp success) { + public listTagIndexStatus_result setSuccess(ListIndexStatusResp success) { this.success = success; return this; } @@ -23402,7 +21788,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ListTagIndexesResp)__value); + setSuccess((ListIndexStatusResp)__value); } break; @@ -23427,9 +21813,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listTagIndexes_result)) + if (!(_that instanceof listTagIndexStatus_result)) return false; - listTagIndexes_result that = (listTagIndexes_result)_that; + listTagIndexStatus_result that = (listTagIndexStatus_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -23442,7 +21828,7 @@ public int hashCode() { } @Override - public int compareTo(listTagIndexes_result other) { + public int compareTo(listTagIndexStatus_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -23477,7 +21863,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ListTagIndexesResp(); + this.success = new ListIndexStatusResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -23518,7 +21904,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listTagIndexes_result"); + StringBuilder sb = new StringBuilder("listTagIndexStatus_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -23545,11 +21931,11 @@ public void validate() throws TException { } - public static class rebuildTagIndex_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("rebuildTagIndex_args"); + public static class createEdgeIndex_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("createEdgeIndex_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public RebuildIndexReq req; + public CreateEdgeIndexReq req; public static final int REQ = 1; // isset id assignments @@ -23559,19 +21945,19 @@ public static class rebuildTagIndex_args implements TBase, java.io.Serializable, static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, RebuildIndexReq.class))); + new StructMetaData(TType.STRUCT, CreateEdgeIndexReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(rebuildTagIndex_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(createEdgeIndex_args.class, metaDataMap); } - public rebuildTagIndex_args() { + public createEdgeIndex_args() { } - public rebuildTagIndex_args( - RebuildIndexReq req) { + public createEdgeIndex_args( + CreateEdgeIndexReq req) { this(); this.req = req; } @@ -23579,21 +21965,21 @@ public rebuildTagIndex_args( /** * Performs a deep copy on other. */ - public rebuildTagIndex_args(rebuildTagIndex_args other) { + public createEdgeIndex_args(createEdgeIndex_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public rebuildTagIndex_args deepCopy() { - return new rebuildTagIndex_args(this); + public createEdgeIndex_args deepCopy() { + return new createEdgeIndex_args(this); } - public RebuildIndexReq getReq() { + public CreateEdgeIndexReq getReq() { return this.req; } - public rebuildTagIndex_args setReq(RebuildIndexReq req) { + public createEdgeIndex_args setReq(CreateEdgeIndexReq req) { this.req = req; return this; } @@ -23619,7 +22005,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((RebuildIndexReq)__value); + setReq((CreateEdgeIndexReq)__value); } break; @@ -23644,9 +22030,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof rebuildTagIndex_args)) + if (!(_that instanceof createEdgeIndex_args)) return false; - rebuildTagIndex_args that = (rebuildTagIndex_args)_that; + createEdgeIndex_args that = (createEdgeIndex_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -23659,7 +22045,7 @@ public int hashCode() { } @Override - public int compareTo(rebuildTagIndex_args other) { + public int compareTo(createEdgeIndex_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -23694,7 +22080,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new RebuildIndexReq(); + this.req = new CreateEdgeIndexReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -23736,7 +22122,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("rebuildTagIndex_args"); + StringBuilder sb = new StringBuilder("createEdgeIndex_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -23763,8 +22149,8 @@ public void validate() throws TException { } - public static class rebuildTagIndex_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("rebuildTagIndex_result"); + public static class createEdgeIndex_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("createEdgeIndex_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); public ExecResp success; @@ -23782,13 +22168,13 @@ public static class rebuildTagIndex_result implements TBase, java.io.Serializabl } static { - FieldMetaData.addStructMetaDataMap(rebuildTagIndex_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(createEdgeIndex_result.class, metaDataMap); } - public rebuildTagIndex_result() { + public createEdgeIndex_result() { } - public rebuildTagIndex_result( + public createEdgeIndex_result( ExecResp success) { this(); this.success = success; @@ -23797,21 +22183,21 @@ public rebuildTagIndex_result( /** * Performs a deep copy on other. */ - public rebuildTagIndex_result(rebuildTagIndex_result other) { + public createEdgeIndex_result(createEdgeIndex_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public rebuildTagIndex_result deepCopy() { - return new rebuildTagIndex_result(this); + public createEdgeIndex_result deepCopy() { + return new createEdgeIndex_result(this); } public ExecResp getSuccess() { return this.success; } - public rebuildTagIndex_result setSuccess(ExecResp success) { + public createEdgeIndex_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -23862,9 +22248,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof rebuildTagIndex_result)) + if (!(_that instanceof createEdgeIndex_result)) return false; - rebuildTagIndex_result that = (rebuildTagIndex_result)_that; + createEdgeIndex_result that = (createEdgeIndex_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -23877,7 +22263,7 @@ public int hashCode() { } @Override - public int compareTo(rebuildTagIndex_result other) { + public int compareTo(createEdgeIndex_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -23953,7 +22339,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("rebuildTagIndex_result"); + StringBuilder sb = new StringBuilder("createEdgeIndex_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -23980,11 +22366,11 @@ public void validate() throws TException { } - public static class listTagIndexStatus_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listTagIndexStatus_args"); + public static class dropEdgeIndex_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("dropEdgeIndex_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public ListIndexStatusReq req; + public DropEdgeIndexReq req; public static final int REQ = 1; // isset id assignments @@ -23994,19 +22380,19 @@ public static class listTagIndexStatus_args implements TBase, java.io.Serializab static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListIndexStatusReq.class))); + new StructMetaData(TType.STRUCT, DropEdgeIndexReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listTagIndexStatus_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(dropEdgeIndex_args.class, metaDataMap); } - public listTagIndexStatus_args() { + public dropEdgeIndex_args() { } - public listTagIndexStatus_args( - ListIndexStatusReq req) { + public dropEdgeIndex_args( + DropEdgeIndexReq req) { this(); this.req = req; } @@ -24014,21 +22400,21 @@ public listTagIndexStatus_args( /** * Performs a deep copy on other. */ - public listTagIndexStatus_args(listTagIndexStatus_args other) { + public dropEdgeIndex_args(dropEdgeIndex_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public listTagIndexStatus_args deepCopy() { - return new listTagIndexStatus_args(this); + public dropEdgeIndex_args deepCopy() { + return new dropEdgeIndex_args(this); } - public ListIndexStatusReq getReq() { + public DropEdgeIndexReq getReq() { return this.req; } - public listTagIndexStatus_args setReq(ListIndexStatusReq req) { + public dropEdgeIndex_args setReq(DropEdgeIndexReq req) { this.req = req; return this; } @@ -24054,7 +22440,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((ListIndexStatusReq)__value); + setReq((DropEdgeIndexReq)__value); } break; @@ -24079,9 +22465,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listTagIndexStatus_args)) + if (!(_that instanceof dropEdgeIndex_args)) return false; - listTagIndexStatus_args that = (listTagIndexStatus_args)_that; + dropEdgeIndex_args that = (dropEdgeIndex_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -24094,7 +22480,7 @@ public int hashCode() { } @Override - public int compareTo(listTagIndexStatus_args other) { + public int compareTo(dropEdgeIndex_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -24129,7 +22515,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new ListIndexStatusReq(); + this.req = new DropEdgeIndexReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -24171,7 +22557,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listTagIndexStatus_args"); + StringBuilder sb = new StringBuilder("dropEdgeIndex_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -24198,11 +22584,11 @@ public void validate() throws TException { } - public static class listTagIndexStatus_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listTagIndexStatus_result"); + public static class dropEdgeIndex_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("dropEdgeIndex_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ListIndexStatusResp success; + public ExecResp success; public static final int SUCCESS = 0; // isset id assignments @@ -24212,19 +22598,19 @@ public static class listTagIndexStatus_result implements TBase, java.io.Serializ static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListIndexStatusResp.class))); + new StructMetaData(TType.STRUCT, ExecResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listTagIndexStatus_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(dropEdgeIndex_result.class, metaDataMap); } - public listTagIndexStatus_result() { + public dropEdgeIndex_result() { } - public listTagIndexStatus_result( - ListIndexStatusResp success) { + public dropEdgeIndex_result( + ExecResp success) { this(); this.success = success; } @@ -24232,21 +22618,21 @@ public listTagIndexStatus_result( /** * Performs a deep copy on other. */ - public listTagIndexStatus_result(listTagIndexStatus_result other) { + public dropEdgeIndex_result(dropEdgeIndex_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public listTagIndexStatus_result deepCopy() { - return new listTagIndexStatus_result(this); + public dropEdgeIndex_result deepCopy() { + return new dropEdgeIndex_result(this); } - public ListIndexStatusResp getSuccess() { + public ExecResp getSuccess() { return this.success; } - public listTagIndexStatus_result setSuccess(ListIndexStatusResp success) { + public dropEdgeIndex_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -24272,7 +22658,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ListIndexStatusResp)__value); + setSuccess((ExecResp)__value); } break; @@ -24297,9 +22683,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listTagIndexStatus_result)) + if (!(_that instanceof dropEdgeIndex_result)) return false; - listTagIndexStatus_result that = (listTagIndexStatus_result)_that; + dropEdgeIndex_result that = (dropEdgeIndex_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -24312,7 +22698,7 @@ public int hashCode() { } @Override - public int compareTo(listTagIndexStatus_result other) { + public int compareTo(dropEdgeIndex_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -24347,7 +22733,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ListIndexStatusResp(); + this.success = new ExecResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -24388,7 +22774,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listTagIndexStatus_result"); + StringBuilder sb = new StringBuilder("dropEdgeIndex_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -24415,11 +22801,11 @@ public void validate() throws TException { } - public static class createEdgeIndex_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("createEdgeIndex_args"); + public static class getEdgeIndex_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("getEdgeIndex_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public CreateEdgeIndexReq req; + public GetEdgeIndexReq req; public static final int REQ = 1; // isset id assignments @@ -24429,19 +22815,19 @@ public static class createEdgeIndex_args implements TBase, java.io.Serializable, static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, CreateEdgeIndexReq.class))); + new StructMetaData(TType.STRUCT, GetEdgeIndexReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(createEdgeIndex_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(getEdgeIndex_args.class, metaDataMap); } - public createEdgeIndex_args() { + public getEdgeIndex_args() { } - public createEdgeIndex_args( - CreateEdgeIndexReq req) { + public getEdgeIndex_args( + GetEdgeIndexReq req) { this(); this.req = req; } @@ -24449,21 +22835,21 @@ public createEdgeIndex_args( /** * Performs a deep copy on other. */ - public createEdgeIndex_args(createEdgeIndex_args other) { + public getEdgeIndex_args(getEdgeIndex_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public createEdgeIndex_args deepCopy() { - return new createEdgeIndex_args(this); + public getEdgeIndex_args deepCopy() { + return new getEdgeIndex_args(this); } - public CreateEdgeIndexReq getReq() { + public GetEdgeIndexReq getReq() { return this.req; } - public createEdgeIndex_args setReq(CreateEdgeIndexReq req) { + public getEdgeIndex_args setReq(GetEdgeIndexReq req) { this.req = req; return this; } @@ -24489,7 +22875,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((CreateEdgeIndexReq)__value); + setReq((GetEdgeIndexReq)__value); } break; @@ -24514,9 +22900,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof createEdgeIndex_args)) + if (!(_that instanceof getEdgeIndex_args)) return false; - createEdgeIndex_args that = (createEdgeIndex_args)_that; + getEdgeIndex_args that = (getEdgeIndex_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -24529,7 +22915,7 @@ public int hashCode() { } @Override - public int compareTo(createEdgeIndex_args other) { + public int compareTo(getEdgeIndex_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -24564,7 +22950,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new CreateEdgeIndexReq(); + this.req = new GetEdgeIndexReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -24606,7 +22992,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("createEdgeIndex_args"); + StringBuilder sb = new StringBuilder("getEdgeIndex_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -24633,11 +23019,11 @@ public void validate() throws TException { } - public static class createEdgeIndex_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("createEdgeIndex_result"); + public static class getEdgeIndex_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("getEdgeIndex_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ExecResp success; + public GetEdgeIndexResp success; public static final int SUCCESS = 0; // isset id assignments @@ -24647,19 +23033,19 @@ public static class createEdgeIndex_result implements TBase, java.io.Serializabl static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ExecResp.class))); + new StructMetaData(TType.STRUCT, GetEdgeIndexResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(createEdgeIndex_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(getEdgeIndex_result.class, metaDataMap); } - public createEdgeIndex_result() { + public getEdgeIndex_result() { } - public createEdgeIndex_result( - ExecResp success) { + public getEdgeIndex_result( + GetEdgeIndexResp success) { this(); this.success = success; } @@ -24667,21 +23053,21 @@ public createEdgeIndex_result( /** * Performs a deep copy on other. */ - public createEdgeIndex_result(createEdgeIndex_result other) { + public getEdgeIndex_result(getEdgeIndex_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public createEdgeIndex_result deepCopy() { - return new createEdgeIndex_result(this); + public getEdgeIndex_result deepCopy() { + return new getEdgeIndex_result(this); } - public ExecResp getSuccess() { + public GetEdgeIndexResp getSuccess() { return this.success; } - public createEdgeIndex_result setSuccess(ExecResp success) { + public getEdgeIndex_result setSuccess(GetEdgeIndexResp success) { this.success = success; return this; } @@ -24707,7 +23093,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ExecResp)__value); + setSuccess((GetEdgeIndexResp)__value); } break; @@ -24732,9 +23118,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof createEdgeIndex_result)) + if (!(_that instanceof getEdgeIndex_result)) return false; - createEdgeIndex_result that = (createEdgeIndex_result)_that; + getEdgeIndex_result that = (getEdgeIndex_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -24747,7 +23133,7 @@ public int hashCode() { } @Override - public int compareTo(createEdgeIndex_result other) { + public int compareTo(getEdgeIndex_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -24782,7 +23168,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ExecResp(); + this.success = new GetEdgeIndexResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -24823,7 +23209,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("createEdgeIndex_result"); + StringBuilder sb = new StringBuilder("getEdgeIndex_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -24850,11 +23236,11 @@ public void validate() throws TException { } - public static class dropEdgeIndex_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("dropEdgeIndex_args"); + public static class listEdgeIndexes_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listEdgeIndexes_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public DropEdgeIndexReq req; + public ListEdgeIndexesReq req; public static final int REQ = 1; // isset id assignments @@ -24864,19 +23250,19 @@ public static class dropEdgeIndex_args implements TBase, java.io.Serializable, C static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, DropEdgeIndexReq.class))); + new StructMetaData(TType.STRUCT, ListEdgeIndexesReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(dropEdgeIndex_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listEdgeIndexes_args.class, metaDataMap); } - public dropEdgeIndex_args() { + public listEdgeIndexes_args() { } - public dropEdgeIndex_args( - DropEdgeIndexReq req) { + public listEdgeIndexes_args( + ListEdgeIndexesReq req) { this(); this.req = req; } @@ -24884,21 +23270,21 @@ public dropEdgeIndex_args( /** * Performs a deep copy on other. */ - public dropEdgeIndex_args(dropEdgeIndex_args other) { + public listEdgeIndexes_args(listEdgeIndexes_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public dropEdgeIndex_args deepCopy() { - return new dropEdgeIndex_args(this); + public listEdgeIndexes_args deepCopy() { + return new listEdgeIndexes_args(this); } - public DropEdgeIndexReq getReq() { + public ListEdgeIndexesReq getReq() { return this.req; } - public dropEdgeIndex_args setReq(DropEdgeIndexReq req) { + public listEdgeIndexes_args setReq(ListEdgeIndexesReq req) { this.req = req; return this; } @@ -24924,7 +23310,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((DropEdgeIndexReq)__value); + setReq((ListEdgeIndexesReq)__value); } break; @@ -24949,9 +23335,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof dropEdgeIndex_args)) + if (!(_that instanceof listEdgeIndexes_args)) return false; - dropEdgeIndex_args that = (dropEdgeIndex_args)_that; + listEdgeIndexes_args that = (listEdgeIndexes_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -24964,7 +23350,7 @@ public int hashCode() { } @Override - public int compareTo(dropEdgeIndex_args other) { + public int compareTo(listEdgeIndexes_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -24999,7 +23385,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new DropEdgeIndexReq(); + this.req = new ListEdgeIndexesReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -25041,7 +23427,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("dropEdgeIndex_args"); + StringBuilder sb = new StringBuilder("listEdgeIndexes_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -25068,11 +23454,11 @@ public void validate() throws TException { } - public static class dropEdgeIndex_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("dropEdgeIndex_result"); + public static class listEdgeIndexes_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listEdgeIndexes_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ExecResp success; + public ListEdgeIndexesResp success; public static final int SUCCESS = 0; // isset id assignments @@ -25082,19 +23468,19 @@ public static class dropEdgeIndex_result implements TBase, java.io.Serializable, static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ExecResp.class))); + new StructMetaData(TType.STRUCT, ListEdgeIndexesResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(dropEdgeIndex_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listEdgeIndexes_result.class, metaDataMap); } - public dropEdgeIndex_result() { + public listEdgeIndexes_result() { } - public dropEdgeIndex_result( - ExecResp success) { + public listEdgeIndexes_result( + ListEdgeIndexesResp success) { this(); this.success = success; } @@ -25102,21 +23488,21 @@ public dropEdgeIndex_result( /** * Performs a deep copy on other. */ - public dropEdgeIndex_result(dropEdgeIndex_result other) { + public listEdgeIndexes_result(listEdgeIndexes_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public dropEdgeIndex_result deepCopy() { - return new dropEdgeIndex_result(this); + public listEdgeIndexes_result deepCopy() { + return new listEdgeIndexes_result(this); } - public ExecResp getSuccess() { + public ListEdgeIndexesResp getSuccess() { return this.success; } - public dropEdgeIndex_result setSuccess(ExecResp success) { + public listEdgeIndexes_result setSuccess(ListEdgeIndexesResp success) { this.success = success; return this; } @@ -25142,7 +23528,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ExecResp)__value); + setSuccess((ListEdgeIndexesResp)__value); } break; @@ -25167,9 +23553,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof dropEdgeIndex_result)) + if (!(_that instanceof listEdgeIndexes_result)) return false; - dropEdgeIndex_result that = (dropEdgeIndex_result)_that; + listEdgeIndexes_result that = (listEdgeIndexes_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -25182,7 +23568,7 @@ public int hashCode() { } @Override - public int compareTo(dropEdgeIndex_result other) { + public int compareTo(listEdgeIndexes_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -25217,7 +23603,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ExecResp(); + this.success = new ListEdgeIndexesResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -25258,7 +23644,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("dropEdgeIndex_result"); + StringBuilder sb = new StringBuilder("listEdgeIndexes_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -25285,11 +23671,11 @@ public void validate() throws TException { } - public static class getEdgeIndex_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("getEdgeIndex_args"); + public static class rebuildEdgeIndex_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("rebuildEdgeIndex_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public GetEdgeIndexReq req; + public RebuildIndexReq req; public static final int REQ = 1; // isset id assignments @@ -25299,19 +23685,19 @@ public static class getEdgeIndex_args implements TBase, java.io.Serializable, Cl static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, GetEdgeIndexReq.class))); + new StructMetaData(TType.STRUCT, RebuildIndexReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(getEdgeIndex_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(rebuildEdgeIndex_args.class, metaDataMap); } - public getEdgeIndex_args() { + public rebuildEdgeIndex_args() { } - public getEdgeIndex_args( - GetEdgeIndexReq req) { + public rebuildEdgeIndex_args( + RebuildIndexReq req) { this(); this.req = req; } @@ -25319,21 +23705,21 @@ public getEdgeIndex_args( /** * Performs a deep copy on other. */ - public getEdgeIndex_args(getEdgeIndex_args other) { + public rebuildEdgeIndex_args(rebuildEdgeIndex_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public getEdgeIndex_args deepCopy() { - return new getEdgeIndex_args(this); + public rebuildEdgeIndex_args deepCopy() { + return new rebuildEdgeIndex_args(this); } - public GetEdgeIndexReq getReq() { + public RebuildIndexReq getReq() { return this.req; } - public getEdgeIndex_args setReq(GetEdgeIndexReq req) { + public rebuildEdgeIndex_args setReq(RebuildIndexReq req) { this.req = req; return this; } @@ -25359,7 +23745,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((GetEdgeIndexReq)__value); + setReq((RebuildIndexReq)__value); } break; @@ -25384,9 +23770,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof getEdgeIndex_args)) + if (!(_that instanceof rebuildEdgeIndex_args)) return false; - getEdgeIndex_args that = (getEdgeIndex_args)_that; + rebuildEdgeIndex_args that = (rebuildEdgeIndex_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -25399,7 +23785,7 @@ public int hashCode() { } @Override - public int compareTo(getEdgeIndex_args other) { + public int compareTo(rebuildEdgeIndex_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -25434,7 +23820,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new GetEdgeIndexReq(); + this.req = new RebuildIndexReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -25476,7 +23862,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("getEdgeIndex_args"); + StringBuilder sb = new StringBuilder("rebuildEdgeIndex_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -25503,11 +23889,11 @@ public void validate() throws TException { } - public static class getEdgeIndex_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("getEdgeIndex_result"); + public static class rebuildEdgeIndex_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("rebuildEdgeIndex_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public GetEdgeIndexResp success; + public ExecResp success; public static final int SUCCESS = 0; // isset id assignments @@ -25517,19 +23903,19 @@ public static class getEdgeIndex_result implements TBase, java.io.Serializable, static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, GetEdgeIndexResp.class))); + new StructMetaData(TType.STRUCT, ExecResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(getEdgeIndex_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(rebuildEdgeIndex_result.class, metaDataMap); } - public getEdgeIndex_result() { + public rebuildEdgeIndex_result() { } - public getEdgeIndex_result( - GetEdgeIndexResp success) { + public rebuildEdgeIndex_result( + ExecResp success) { this(); this.success = success; } @@ -25537,21 +23923,21 @@ public getEdgeIndex_result( /** * Performs a deep copy on other. */ - public getEdgeIndex_result(getEdgeIndex_result other) { + public rebuildEdgeIndex_result(rebuildEdgeIndex_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public getEdgeIndex_result deepCopy() { - return new getEdgeIndex_result(this); + public rebuildEdgeIndex_result deepCopy() { + return new rebuildEdgeIndex_result(this); } - public GetEdgeIndexResp getSuccess() { + public ExecResp getSuccess() { return this.success; } - public getEdgeIndex_result setSuccess(GetEdgeIndexResp success) { + public rebuildEdgeIndex_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -25577,7 +23963,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((GetEdgeIndexResp)__value); + setSuccess((ExecResp)__value); } break; @@ -25602,9 +23988,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof getEdgeIndex_result)) + if (!(_that instanceof rebuildEdgeIndex_result)) return false; - getEdgeIndex_result that = (getEdgeIndex_result)_that; + rebuildEdgeIndex_result that = (rebuildEdgeIndex_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -25617,7 +24003,7 @@ public int hashCode() { } @Override - public int compareTo(getEdgeIndex_result other) { + public int compareTo(rebuildEdgeIndex_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -25652,7 +24038,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new GetEdgeIndexResp(); + this.success = new ExecResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -25693,7 +24079,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("getEdgeIndex_result"); + StringBuilder sb = new StringBuilder("rebuildEdgeIndex_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -25720,11 +24106,11 @@ public void validate() throws TException { } - public static class listEdgeIndexes_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listEdgeIndexes_args"); + public static class listEdgeIndexStatus_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listEdgeIndexStatus_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public ListEdgeIndexesReq req; + public ListIndexStatusReq req; public static final int REQ = 1; // isset id assignments @@ -25734,19 +24120,19 @@ public static class listEdgeIndexes_args implements TBase, java.io.Serializable, static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListEdgeIndexesReq.class))); + new StructMetaData(TType.STRUCT, ListIndexStatusReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listEdgeIndexes_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listEdgeIndexStatus_args.class, metaDataMap); } - public listEdgeIndexes_args() { + public listEdgeIndexStatus_args() { } - public listEdgeIndexes_args( - ListEdgeIndexesReq req) { + public listEdgeIndexStatus_args( + ListIndexStatusReq req) { this(); this.req = req; } @@ -25754,21 +24140,21 @@ public listEdgeIndexes_args( /** * Performs a deep copy on other. */ - public listEdgeIndexes_args(listEdgeIndexes_args other) { + public listEdgeIndexStatus_args(listEdgeIndexStatus_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public listEdgeIndexes_args deepCopy() { - return new listEdgeIndexes_args(this); + public listEdgeIndexStatus_args deepCopy() { + return new listEdgeIndexStatus_args(this); } - public ListEdgeIndexesReq getReq() { + public ListIndexStatusReq getReq() { return this.req; } - public listEdgeIndexes_args setReq(ListEdgeIndexesReq req) { + public listEdgeIndexStatus_args setReq(ListIndexStatusReq req) { this.req = req; return this; } @@ -25794,7 +24180,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((ListEdgeIndexesReq)__value); + setReq((ListIndexStatusReq)__value); } break; @@ -25819,9 +24205,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listEdgeIndexes_args)) + if (!(_that instanceof listEdgeIndexStatus_args)) return false; - listEdgeIndexes_args that = (listEdgeIndexes_args)_that; + listEdgeIndexStatus_args that = (listEdgeIndexStatus_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -25834,7 +24220,7 @@ public int hashCode() { } @Override - public int compareTo(listEdgeIndexes_args other) { + public int compareTo(listEdgeIndexStatus_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -25869,7 +24255,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new ListEdgeIndexesReq(); + this.req = new ListIndexStatusReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -25911,7 +24297,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listEdgeIndexes_args"); + StringBuilder sb = new StringBuilder("listEdgeIndexStatus_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -25938,11 +24324,11 @@ public void validate() throws TException { } - public static class listEdgeIndexes_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listEdgeIndexes_result"); + public static class listEdgeIndexStatus_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listEdgeIndexStatus_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ListEdgeIndexesResp success; + public ListIndexStatusResp success; public static final int SUCCESS = 0; // isset id assignments @@ -25952,19 +24338,19 @@ public static class listEdgeIndexes_result implements TBase, java.io.Serializabl static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListEdgeIndexesResp.class))); + new StructMetaData(TType.STRUCT, ListIndexStatusResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listEdgeIndexes_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listEdgeIndexStatus_result.class, metaDataMap); } - public listEdgeIndexes_result() { + public listEdgeIndexStatus_result() { } - public listEdgeIndexes_result( - ListEdgeIndexesResp success) { + public listEdgeIndexStatus_result( + ListIndexStatusResp success) { this(); this.success = success; } @@ -25972,21 +24358,21 @@ public listEdgeIndexes_result( /** * Performs a deep copy on other. */ - public listEdgeIndexes_result(listEdgeIndexes_result other) { + public listEdgeIndexStatus_result(listEdgeIndexStatus_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public listEdgeIndexes_result deepCopy() { - return new listEdgeIndexes_result(this); + public listEdgeIndexStatus_result deepCopy() { + return new listEdgeIndexStatus_result(this); } - public ListEdgeIndexesResp getSuccess() { + public ListIndexStatusResp getSuccess() { return this.success; } - public listEdgeIndexes_result setSuccess(ListEdgeIndexesResp success) { + public listEdgeIndexStatus_result setSuccess(ListIndexStatusResp success) { this.success = success; return this; } @@ -26012,7 +24398,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ListEdgeIndexesResp)__value); + setSuccess((ListIndexStatusResp)__value); } break; @@ -26037,9 +24423,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listEdgeIndexes_result)) + if (!(_that instanceof listEdgeIndexStatus_result)) return false; - listEdgeIndexes_result that = (listEdgeIndexes_result)_that; + listEdgeIndexStatus_result that = (listEdgeIndexStatus_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -26052,7 +24438,7 @@ public int hashCode() { } @Override - public int compareTo(listEdgeIndexes_result other) { + public int compareTo(listEdgeIndexStatus_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -26087,7 +24473,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ListEdgeIndexesResp(); + this.success = new ListIndexStatusResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -26128,7 +24514,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listEdgeIndexes_result"); + StringBuilder sb = new StringBuilder("listEdgeIndexStatus_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -26155,11 +24541,11 @@ public void validate() throws TException { } - public static class rebuildEdgeIndex_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("rebuildEdgeIndex_args"); + public static class createUser_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("createUser_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public RebuildIndexReq req; + public CreateUserReq req; public static final int REQ = 1; // isset id assignments @@ -26169,19 +24555,19 @@ public static class rebuildEdgeIndex_args implements TBase, java.io.Serializable static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, RebuildIndexReq.class))); + new StructMetaData(TType.STRUCT, CreateUserReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(rebuildEdgeIndex_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(createUser_args.class, metaDataMap); } - public rebuildEdgeIndex_args() { + public createUser_args() { } - public rebuildEdgeIndex_args( - RebuildIndexReq req) { + public createUser_args( + CreateUserReq req) { this(); this.req = req; } @@ -26189,21 +24575,21 @@ public rebuildEdgeIndex_args( /** * Performs a deep copy on other. */ - public rebuildEdgeIndex_args(rebuildEdgeIndex_args other) { + public createUser_args(createUser_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public rebuildEdgeIndex_args deepCopy() { - return new rebuildEdgeIndex_args(this); + public createUser_args deepCopy() { + return new createUser_args(this); } - public RebuildIndexReq getReq() { + public CreateUserReq getReq() { return this.req; } - public rebuildEdgeIndex_args setReq(RebuildIndexReq req) { + public createUser_args setReq(CreateUserReq req) { this.req = req; return this; } @@ -26229,7 +24615,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((RebuildIndexReq)__value); + setReq((CreateUserReq)__value); } break; @@ -26254,9 +24640,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof rebuildEdgeIndex_args)) + if (!(_that instanceof createUser_args)) return false; - rebuildEdgeIndex_args that = (rebuildEdgeIndex_args)_that; + createUser_args that = (createUser_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -26269,7 +24655,7 @@ public int hashCode() { } @Override - public int compareTo(rebuildEdgeIndex_args other) { + public int compareTo(createUser_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -26304,7 +24690,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new RebuildIndexReq(); + this.req = new CreateUserReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -26346,7 +24732,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("rebuildEdgeIndex_args"); + StringBuilder sb = new StringBuilder("createUser_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -26373,8 +24759,8 @@ public void validate() throws TException { } - public static class rebuildEdgeIndex_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("rebuildEdgeIndex_result"); + public static class createUser_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("createUser_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); public ExecResp success; @@ -26392,13 +24778,13 @@ public static class rebuildEdgeIndex_result implements TBase, java.io.Serializab } static { - FieldMetaData.addStructMetaDataMap(rebuildEdgeIndex_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(createUser_result.class, metaDataMap); } - public rebuildEdgeIndex_result() { + public createUser_result() { } - public rebuildEdgeIndex_result( + public createUser_result( ExecResp success) { this(); this.success = success; @@ -26407,21 +24793,21 @@ public rebuildEdgeIndex_result( /** * Performs a deep copy on other. */ - public rebuildEdgeIndex_result(rebuildEdgeIndex_result other) { + public createUser_result(createUser_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public rebuildEdgeIndex_result deepCopy() { - return new rebuildEdgeIndex_result(this); + public createUser_result deepCopy() { + return new createUser_result(this); } public ExecResp getSuccess() { return this.success; } - public rebuildEdgeIndex_result setSuccess(ExecResp success) { + public createUser_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -26472,9 +24858,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof rebuildEdgeIndex_result)) + if (!(_that instanceof createUser_result)) return false; - rebuildEdgeIndex_result that = (rebuildEdgeIndex_result)_that; + createUser_result that = (createUser_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -26487,7 +24873,7 @@ public int hashCode() { } @Override - public int compareTo(rebuildEdgeIndex_result other) { + public int compareTo(createUser_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -26563,7 +24949,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("rebuildEdgeIndex_result"); + StringBuilder sb = new StringBuilder("createUser_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -26590,11 +24976,11 @@ public void validate() throws TException { } - public static class listEdgeIndexStatus_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listEdgeIndexStatus_args"); + public static class dropUser_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("dropUser_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public ListIndexStatusReq req; + public DropUserReq req; public static final int REQ = 1; // isset id assignments @@ -26604,19 +24990,19 @@ public static class listEdgeIndexStatus_args implements TBase, java.io.Serializa static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListIndexStatusReq.class))); + new StructMetaData(TType.STRUCT, DropUserReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listEdgeIndexStatus_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(dropUser_args.class, metaDataMap); } - public listEdgeIndexStatus_args() { + public dropUser_args() { } - public listEdgeIndexStatus_args( - ListIndexStatusReq req) { + public dropUser_args( + DropUserReq req) { this(); this.req = req; } @@ -26624,21 +25010,21 @@ public listEdgeIndexStatus_args( /** * Performs a deep copy on other. */ - public listEdgeIndexStatus_args(listEdgeIndexStatus_args other) { + public dropUser_args(dropUser_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public listEdgeIndexStatus_args deepCopy() { - return new listEdgeIndexStatus_args(this); + public dropUser_args deepCopy() { + return new dropUser_args(this); } - public ListIndexStatusReq getReq() { + public DropUserReq getReq() { return this.req; } - public listEdgeIndexStatus_args setReq(ListIndexStatusReq req) { + public dropUser_args setReq(DropUserReq req) { this.req = req; return this; } @@ -26664,7 +25050,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((ListIndexStatusReq)__value); + setReq((DropUserReq)__value); } break; @@ -26689,9 +25075,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listEdgeIndexStatus_args)) + if (!(_that instanceof dropUser_args)) return false; - listEdgeIndexStatus_args that = (listEdgeIndexStatus_args)_that; + dropUser_args that = (dropUser_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -26704,7 +25090,7 @@ public int hashCode() { } @Override - public int compareTo(listEdgeIndexStatus_args other) { + public int compareTo(dropUser_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -26739,7 +25125,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new ListIndexStatusReq(); + this.req = new DropUserReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -26781,7 +25167,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listEdgeIndexStatus_args"); + StringBuilder sb = new StringBuilder("dropUser_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -26808,11 +25194,11 @@ public void validate() throws TException { } - public static class listEdgeIndexStatus_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listEdgeIndexStatus_result"); + public static class dropUser_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("dropUser_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ListIndexStatusResp success; + public ExecResp success; public static final int SUCCESS = 0; // isset id assignments @@ -26822,19 +25208,19 @@ public static class listEdgeIndexStatus_result implements TBase, java.io.Seriali static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListIndexStatusResp.class))); + new StructMetaData(TType.STRUCT, ExecResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listEdgeIndexStatus_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(dropUser_result.class, metaDataMap); } - public listEdgeIndexStatus_result() { + public dropUser_result() { } - public listEdgeIndexStatus_result( - ListIndexStatusResp success) { + public dropUser_result( + ExecResp success) { this(); this.success = success; } @@ -26842,21 +25228,21 @@ public listEdgeIndexStatus_result( /** * Performs a deep copy on other. */ - public listEdgeIndexStatus_result(listEdgeIndexStatus_result other) { + public dropUser_result(dropUser_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public listEdgeIndexStatus_result deepCopy() { - return new listEdgeIndexStatus_result(this); + public dropUser_result deepCopy() { + return new dropUser_result(this); } - public ListIndexStatusResp getSuccess() { + public ExecResp getSuccess() { return this.success; } - public listEdgeIndexStatus_result setSuccess(ListIndexStatusResp success) { + public dropUser_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -26882,7 +25268,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ListIndexStatusResp)__value); + setSuccess((ExecResp)__value); } break; @@ -26907,9 +25293,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listEdgeIndexStatus_result)) + if (!(_that instanceof dropUser_result)) return false; - listEdgeIndexStatus_result that = (listEdgeIndexStatus_result)_that; + dropUser_result that = (dropUser_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -26922,7 +25308,7 @@ public int hashCode() { } @Override - public int compareTo(listEdgeIndexStatus_result other) { + public int compareTo(dropUser_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -26957,7 +25343,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ListIndexStatusResp(); + this.success = new ExecResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -26998,7 +25384,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listEdgeIndexStatus_result"); + StringBuilder sb = new StringBuilder("dropUser_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -27025,11 +25411,11 @@ public void validate() throws TException { } - public static class createUser_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("createUser_args"); + public static class alterUser_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("alterUser_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public CreateUserReq req; + public AlterUserReq req; public static final int REQ = 1; // isset id assignments @@ -27039,19 +25425,19 @@ public static class createUser_args implements TBase, java.io.Serializable, Clon static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, CreateUserReq.class))); + new StructMetaData(TType.STRUCT, AlterUserReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(createUser_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(alterUser_args.class, metaDataMap); } - public createUser_args() { + public alterUser_args() { } - public createUser_args( - CreateUserReq req) { + public alterUser_args( + AlterUserReq req) { this(); this.req = req; } @@ -27059,21 +25445,21 @@ public createUser_args( /** * Performs a deep copy on other. */ - public createUser_args(createUser_args other) { + public alterUser_args(alterUser_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public createUser_args deepCopy() { - return new createUser_args(this); + public alterUser_args deepCopy() { + return new alterUser_args(this); } - public CreateUserReq getReq() { + public AlterUserReq getReq() { return this.req; } - public createUser_args setReq(CreateUserReq req) { + public alterUser_args setReq(AlterUserReq req) { this.req = req; return this; } @@ -27099,7 +25485,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((CreateUserReq)__value); + setReq((AlterUserReq)__value); } break; @@ -27124,9 +25510,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof createUser_args)) + if (!(_that instanceof alterUser_args)) return false; - createUser_args that = (createUser_args)_that; + alterUser_args that = (alterUser_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -27139,7 +25525,7 @@ public int hashCode() { } @Override - public int compareTo(createUser_args other) { + public int compareTo(alterUser_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -27174,7 +25560,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new CreateUserReq(); + this.req = new AlterUserReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -27216,7 +25602,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("createUser_args"); + StringBuilder sb = new StringBuilder("alterUser_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -27243,8 +25629,8 @@ public void validate() throws TException { } - public static class createUser_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("createUser_result"); + public static class alterUser_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("alterUser_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); public ExecResp success; @@ -27262,13 +25648,13 @@ public static class createUser_result implements TBase, java.io.Serializable, Cl } static { - FieldMetaData.addStructMetaDataMap(createUser_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(alterUser_result.class, metaDataMap); } - public createUser_result() { + public alterUser_result() { } - public createUser_result( + public alterUser_result( ExecResp success) { this(); this.success = success; @@ -27277,21 +25663,21 @@ public createUser_result( /** * Performs a deep copy on other. */ - public createUser_result(createUser_result other) { + public alterUser_result(alterUser_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public createUser_result deepCopy() { - return new createUser_result(this); + public alterUser_result deepCopy() { + return new alterUser_result(this); } public ExecResp getSuccess() { return this.success; } - public createUser_result setSuccess(ExecResp success) { + public alterUser_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -27342,9 +25728,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof createUser_result)) + if (!(_that instanceof alterUser_result)) return false; - createUser_result that = (createUser_result)_that; + alterUser_result that = (alterUser_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -27357,7 +25743,7 @@ public int hashCode() { } @Override - public int compareTo(createUser_result other) { + public int compareTo(alterUser_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -27433,7 +25819,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("createUser_result"); + StringBuilder sb = new StringBuilder("alterUser_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -27460,11 +25846,11 @@ public void validate() throws TException { } - public static class dropUser_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("dropUser_args"); + public static class grantRole_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("grantRole_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public DropUserReq req; + public GrantRoleReq req; public static final int REQ = 1; // isset id assignments @@ -27474,19 +25860,19 @@ public static class dropUser_args implements TBase, java.io.Serializable, Clonea static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, DropUserReq.class))); + new StructMetaData(TType.STRUCT, GrantRoleReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(dropUser_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(grantRole_args.class, metaDataMap); } - public dropUser_args() { + public grantRole_args() { } - public dropUser_args( - DropUserReq req) { + public grantRole_args( + GrantRoleReq req) { this(); this.req = req; } @@ -27494,21 +25880,21 @@ public dropUser_args( /** * Performs a deep copy on other. */ - public dropUser_args(dropUser_args other) { + public grantRole_args(grantRole_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public dropUser_args deepCopy() { - return new dropUser_args(this); + public grantRole_args deepCopy() { + return new grantRole_args(this); } - public DropUserReq getReq() { + public GrantRoleReq getReq() { return this.req; } - public dropUser_args setReq(DropUserReq req) { + public grantRole_args setReq(GrantRoleReq req) { this.req = req; return this; } @@ -27534,7 +25920,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((DropUserReq)__value); + setReq((GrantRoleReq)__value); } break; @@ -27559,9 +25945,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof dropUser_args)) + if (!(_that instanceof grantRole_args)) return false; - dropUser_args that = (dropUser_args)_that; + grantRole_args that = (grantRole_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -27574,7 +25960,7 @@ public int hashCode() { } @Override - public int compareTo(dropUser_args other) { + public int compareTo(grantRole_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -27609,7 +25995,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new DropUserReq(); + this.req = new GrantRoleReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -27651,7 +26037,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("dropUser_args"); + StringBuilder sb = new StringBuilder("grantRole_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -27678,8 +26064,8 @@ public void validate() throws TException { } - public static class dropUser_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("dropUser_result"); + public static class grantRole_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("grantRole_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); public ExecResp success; @@ -27697,13 +26083,13 @@ public static class dropUser_result implements TBase, java.io.Serializable, Clon } static { - FieldMetaData.addStructMetaDataMap(dropUser_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(grantRole_result.class, metaDataMap); } - public dropUser_result() { + public grantRole_result() { } - public dropUser_result( + public grantRole_result( ExecResp success) { this(); this.success = success; @@ -27712,21 +26098,21 @@ public dropUser_result( /** * Performs a deep copy on other. */ - public dropUser_result(dropUser_result other) { + public grantRole_result(grantRole_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public dropUser_result deepCopy() { - return new dropUser_result(this); + public grantRole_result deepCopy() { + return new grantRole_result(this); } public ExecResp getSuccess() { return this.success; } - public dropUser_result setSuccess(ExecResp success) { + public grantRole_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -27777,9 +26163,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof dropUser_result)) + if (!(_that instanceof grantRole_result)) return false; - dropUser_result that = (dropUser_result)_that; + grantRole_result that = (grantRole_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -27792,7 +26178,7 @@ public int hashCode() { } @Override - public int compareTo(dropUser_result other) { + public int compareTo(grantRole_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -27868,7 +26254,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("dropUser_result"); + StringBuilder sb = new StringBuilder("grantRole_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -27895,11 +26281,11 @@ public void validate() throws TException { } - public static class alterUser_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("alterUser_args"); + public static class revokeRole_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("revokeRole_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public AlterUserReq req; + public RevokeRoleReq req; public static final int REQ = 1; // isset id assignments @@ -27909,19 +26295,19 @@ public static class alterUser_args implements TBase, java.io.Serializable, Clone static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, AlterUserReq.class))); + new StructMetaData(TType.STRUCT, RevokeRoleReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(alterUser_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(revokeRole_args.class, metaDataMap); } - public alterUser_args() { + public revokeRole_args() { } - public alterUser_args( - AlterUserReq req) { + public revokeRole_args( + RevokeRoleReq req) { this(); this.req = req; } @@ -27929,21 +26315,21 @@ public alterUser_args( /** * Performs a deep copy on other. */ - public alterUser_args(alterUser_args other) { + public revokeRole_args(revokeRole_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public alterUser_args deepCopy() { - return new alterUser_args(this); + public revokeRole_args deepCopy() { + return new revokeRole_args(this); } - public AlterUserReq getReq() { + public RevokeRoleReq getReq() { return this.req; } - public alterUser_args setReq(AlterUserReq req) { + public revokeRole_args setReq(RevokeRoleReq req) { this.req = req; return this; } @@ -27969,7 +26355,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((AlterUserReq)__value); + setReq((RevokeRoleReq)__value); } break; @@ -27994,9 +26380,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof alterUser_args)) + if (!(_that instanceof revokeRole_args)) return false; - alterUser_args that = (alterUser_args)_that; + revokeRole_args that = (revokeRole_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -28009,7 +26395,7 @@ public int hashCode() { } @Override - public int compareTo(alterUser_args other) { + public int compareTo(revokeRole_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -28044,7 +26430,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new AlterUserReq(); + this.req = new RevokeRoleReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -28086,7 +26472,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("alterUser_args"); + StringBuilder sb = new StringBuilder("revokeRole_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -28113,8 +26499,8 @@ public void validate() throws TException { } - public static class alterUser_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("alterUser_result"); + public static class revokeRole_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("revokeRole_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); public ExecResp success; @@ -28132,13 +26518,13 @@ public static class alterUser_result implements TBase, java.io.Serializable, Clo } static { - FieldMetaData.addStructMetaDataMap(alterUser_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(revokeRole_result.class, metaDataMap); } - public alterUser_result() { + public revokeRole_result() { } - public alterUser_result( + public revokeRole_result( ExecResp success) { this(); this.success = success; @@ -28147,21 +26533,21 @@ public alterUser_result( /** * Performs a deep copy on other. */ - public alterUser_result(alterUser_result other) { + public revokeRole_result(revokeRole_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public alterUser_result deepCopy() { - return new alterUser_result(this); + public revokeRole_result deepCopy() { + return new revokeRole_result(this); } public ExecResp getSuccess() { return this.success; } - public alterUser_result setSuccess(ExecResp success) { + public revokeRole_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -28212,9 +26598,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof alterUser_result)) + if (!(_that instanceof revokeRole_result)) return false; - alterUser_result that = (alterUser_result)_that; + revokeRole_result that = (revokeRole_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -28227,7 +26613,7 @@ public int hashCode() { } @Override - public int compareTo(alterUser_result other) { + public int compareTo(revokeRole_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -28303,7 +26689,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("alterUser_result"); + StringBuilder sb = new StringBuilder("revokeRole_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -28330,11 +26716,11 @@ public void validate() throws TException { } - public static class grantRole_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("grantRole_args"); + public static class listUsers_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listUsers_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public GrantRoleReq req; + public ListUsersReq req; public static final int REQ = 1; // isset id assignments @@ -28344,19 +26730,19 @@ public static class grantRole_args implements TBase, java.io.Serializable, Clone static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, GrantRoleReq.class))); + new StructMetaData(TType.STRUCT, ListUsersReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(grantRole_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listUsers_args.class, metaDataMap); } - public grantRole_args() { + public listUsers_args() { } - public grantRole_args( - GrantRoleReq req) { + public listUsers_args( + ListUsersReq req) { this(); this.req = req; } @@ -28364,21 +26750,21 @@ public grantRole_args( /** * Performs a deep copy on other. */ - public grantRole_args(grantRole_args other) { + public listUsers_args(listUsers_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public grantRole_args deepCopy() { - return new grantRole_args(this); + public listUsers_args deepCopy() { + return new listUsers_args(this); } - public GrantRoleReq getReq() { + public ListUsersReq getReq() { return this.req; } - public grantRole_args setReq(GrantRoleReq req) { + public listUsers_args setReq(ListUsersReq req) { this.req = req; return this; } @@ -28404,7 +26790,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((GrantRoleReq)__value); + setReq((ListUsersReq)__value); } break; @@ -28429,9 +26815,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof grantRole_args)) + if (!(_that instanceof listUsers_args)) return false; - grantRole_args that = (grantRole_args)_that; + listUsers_args that = (listUsers_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -28444,7 +26830,7 @@ public int hashCode() { } @Override - public int compareTo(grantRole_args other) { + public int compareTo(listUsers_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -28479,7 +26865,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new GrantRoleReq(); + this.req = new ListUsersReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -28521,7 +26907,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("grantRole_args"); + StringBuilder sb = new StringBuilder("listUsers_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -28548,11 +26934,11 @@ public void validate() throws TException { } - public static class grantRole_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("grantRole_result"); + public static class listUsers_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listUsers_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ExecResp success; + public ListUsersResp success; public static final int SUCCESS = 0; // isset id assignments @@ -28562,19 +26948,19 @@ public static class grantRole_result implements TBase, java.io.Serializable, Clo static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ExecResp.class))); + new StructMetaData(TType.STRUCT, ListUsersResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(grantRole_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listUsers_result.class, metaDataMap); } - public grantRole_result() { + public listUsers_result() { } - public grantRole_result( - ExecResp success) { + public listUsers_result( + ListUsersResp success) { this(); this.success = success; } @@ -28582,21 +26968,21 @@ public grantRole_result( /** * Performs a deep copy on other. */ - public grantRole_result(grantRole_result other) { + public listUsers_result(listUsers_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public grantRole_result deepCopy() { - return new grantRole_result(this); + public listUsers_result deepCopy() { + return new listUsers_result(this); } - public ExecResp getSuccess() { + public ListUsersResp getSuccess() { return this.success; } - public grantRole_result setSuccess(ExecResp success) { + public listUsers_result setSuccess(ListUsersResp success) { this.success = success; return this; } @@ -28622,7 +27008,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ExecResp)__value); + setSuccess((ListUsersResp)__value); } break; @@ -28647,9 +27033,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof grantRole_result)) + if (!(_that instanceof listUsers_result)) return false; - grantRole_result that = (grantRole_result)_that; + listUsers_result that = (listUsers_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -28662,7 +27048,7 @@ public int hashCode() { } @Override - public int compareTo(grantRole_result other) { + public int compareTo(listUsers_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -28697,7 +27083,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ExecResp(); + this.success = new ListUsersResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -28738,7 +27124,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("grantRole_result"); + StringBuilder sb = new StringBuilder("listUsers_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -28765,11 +27151,11 @@ public void validate() throws TException { } - public static class revokeRole_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("revokeRole_args"); + public static class listRoles_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listRoles_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public RevokeRoleReq req; + public ListRolesReq req; public static final int REQ = 1; // isset id assignments @@ -28779,19 +27165,19 @@ public static class revokeRole_args implements TBase, java.io.Serializable, Clon static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, RevokeRoleReq.class))); + new StructMetaData(TType.STRUCT, ListRolesReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(revokeRole_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listRoles_args.class, metaDataMap); } - public revokeRole_args() { + public listRoles_args() { } - public revokeRole_args( - RevokeRoleReq req) { + public listRoles_args( + ListRolesReq req) { this(); this.req = req; } @@ -28799,21 +27185,21 @@ public revokeRole_args( /** * Performs a deep copy on other. */ - public revokeRole_args(revokeRole_args other) { + public listRoles_args(listRoles_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public revokeRole_args deepCopy() { - return new revokeRole_args(this); + public listRoles_args deepCopy() { + return new listRoles_args(this); } - public RevokeRoleReq getReq() { + public ListRolesReq getReq() { return this.req; } - public revokeRole_args setReq(RevokeRoleReq req) { + public listRoles_args setReq(ListRolesReq req) { this.req = req; return this; } @@ -28839,7 +27225,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((RevokeRoleReq)__value); + setReq((ListRolesReq)__value); } break; @@ -28864,9 +27250,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof revokeRole_args)) + if (!(_that instanceof listRoles_args)) return false; - revokeRole_args that = (revokeRole_args)_that; + listRoles_args that = (listRoles_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -28879,7 +27265,7 @@ public int hashCode() { } @Override - public int compareTo(revokeRole_args other) { + public int compareTo(listRoles_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -28914,7 +27300,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new RevokeRoleReq(); + this.req = new ListRolesReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -28956,7 +27342,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("revokeRole_args"); + StringBuilder sb = new StringBuilder("listRoles_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -28983,11 +27369,11 @@ public void validate() throws TException { } - public static class revokeRole_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("revokeRole_result"); + public static class listRoles_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listRoles_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ExecResp success; + public ListRolesResp success; public static final int SUCCESS = 0; // isset id assignments @@ -28997,19 +27383,19 @@ public static class revokeRole_result implements TBase, java.io.Serializable, Cl static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ExecResp.class))); + new StructMetaData(TType.STRUCT, ListRolesResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(revokeRole_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listRoles_result.class, metaDataMap); } - public revokeRole_result() { + public listRoles_result() { } - public revokeRole_result( - ExecResp success) { + public listRoles_result( + ListRolesResp success) { this(); this.success = success; } @@ -29017,21 +27403,21 @@ public revokeRole_result( /** * Performs a deep copy on other. */ - public revokeRole_result(revokeRole_result other) { + public listRoles_result(listRoles_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public revokeRole_result deepCopy() { - return new revokeRole_result(this); + public listRoles_result deepCopy() { + return new listRoles_result(this); } - public ExecResp getSuccess() { + public ListRolesResp getSuccess() { return this.success; } - public revokeRole_result setSuccess(ExecResp success) { + public listRoles_result setSuccess(ListRolesResp success) { this.success = success; return this; } @@ -29057,7 +27443,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ExecResp)__value); + setSuccess((ListRolesResp)__value); } break; @@ -29082,9 +27468,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof revokeRole_result)) + if (!(_that instanceof listRoles_result)) return false; - revokeRole_result that = (revokeRole_result)_that; + listRoles_result that = (listRoles_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -29097,7 +27483,7 @@ public int hashCode() { } @Override - public int compareTo(revokeRole_result other) { + public int compareTo(listRoles_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -29132,7 +27518,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ExecResp(); + this.success = new ListRolesResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -29173,7 +27559,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("revokeRole_result"); + StringBuilder sb = new StringBuilder("listRoles_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -29200,11 +27586,11 @@ public void validate() throws TException { } - public static class listUsers_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listUsers_args"); + public static class getUserRoles_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("getUserRoles_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public ListUsersReq req; + public GetUserRolesReq req; public static final int REQ = 1; // isset id assignments @@ -29214,19 +27600,19 @@ public static class listUsers_args implements TBase, java.io.Serializable, Clone static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListUsersReq.class))); + new StructMetaData(TType.STRUCT, GetUserRolesReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listUsers_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(getUserRoles_args.class, metaDataMap); } - public listUsers_args() { + public getUserRoles_args() { } - public listUsers_args( - ListUsersReq req) { + public getUserRoles_args( + GetUserRolesReq req) { this(); this.req = req; } @@ -29234,21 +27620,21 @@ public listUsers_args( /** * Performs a deep copy on other. */ - public listUsers_args(listUsers_args other) { + public getUserRoles_args(getUserRoles_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public listUsers_args deepCopy() { - return new listUsers_args(this); + public getUserRoles_args deepCopy() { + return new getUserRoles_args(this); } - public ListUsersReq getReq() { + public GetUserRolesReq getReq() { return this.req; } - public listUsers_args setReq(ListUsersReq req) { + public getUserRoles_args setReq(GetUserRolesReq req) { this.req = req; return this; } @@ -29274,7 +27660,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((ListUsersReq)__value); + setReq((GetUserRolesReq)__value); } break; @@ -29299,9 +27685,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listUsers_args)) + if (!(_that instanceof getUserRoles_args)) return false; - listUsers_args that = (listUsers_args)_that; + getUserRoles_args that = (getUserRoles_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -29314,7 +27700,7 @@ public int hashCode() { } @Override - public int compareTo(listUsers_args other) { + public int compareTo(getUserRoles_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -29349,7 +27735,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new ListUsersReq(); + this.req = new GetUserRolesReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -29391,7 +27777,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listUsers_args"); + StringBuilder sb = new StringBuilder("getUserRoles_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -29418,11 +27804,11 @@ public void validate() throws TException { } - public static class listUsers_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listUsers_result"); + public static class getUserRoles_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("getUserRoles_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ListUsersResp success; + public ListRolesResp success; public static final int SUCCESS = 0; // isset id assignments @@ -29432,19 +27818,19 @@ public static class listUsers_result implements TBase, java.io.Serializable, Clo static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListUsersResp.class))); + new StructMetaData(TType.STRUCT, ListRolesResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listUsers_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(getUserRoles_result.class, metaDataMap); } - public listUsers_result() { + public getUserRoles_result() { } - public listUsers_result( - ListUsersResp success) { + public getUserRoles_result( + ListRolesResp success) { this(); this.success = success; } @@ -29452,21 +27838,21 @@ public listUsers_result( /** * Performs a deep copy on other. */ - public listUsers_result(listUsers_result other) { + public getUserRoles_result(getUserRoles_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public listUsers_result deepCopy() { - return new listUsers_result(this); + public getUserRoles_result deepCopy() { + return new getUserRoles_result(this); } - public ListUsersResp getSuccess() { + public ListRolesResp getSuccess() { return this.success; } - public listUsers_result setSuccess(ListUsersResp success) { + public getUserRoles_result setSuccess(ListRolesResp success) { this.success = success; return this; } @@ -29492,7 +27878,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ListUsersResp)__value); + setSuccess((ListRolesResp)__value); } break; @@ -29517,9 +27903,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listUsers_result)) + if (!(_that instanceof getUserRoles_result)) return false; - listUsers_result that = (listUsers_result)_that; + getUserRoles_result that = (getUserRoles_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -29532,7 +27918,7 @@ public int hashCode() { } @Override - public int compareTo(listUsers_result other) { + public int compareTo(getUserRoles_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -29567,7 +27953,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ListUsersResp(); + this.success = new ListRolesResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -29608,7 +27994,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listUsers_result"); + StringBuilder sb = new StringBuilder("getUserRoles_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -29635,11 +28021,11 @@ public void validate() throws TException { } - public static class listRoles_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listRoles_args"); + public static class changePassword_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("changePassword_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public ListRolesReq req; + public ChangePasswordReq req; public static final int REQ = 1; // isset id assignments @@ -29649,19 +28035,19 @@ public static class listRoles_args implements TBase, java.io.Serializable, Clone static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListRolesReq.class))); + new StructMetaData(TType.STRUCT, ChangePasswordReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listRoles_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(changePassword_args.class, metaDataMap); } - public listRoles_args() { + public changePassword_args() { } - public listRoles_args( - ListRolesReq req) { + public changePassword_args( + ChangePasswordReq req) { this(); this.req = req; } @@ -29669,21 +28055,21 @@ public listRoles_args( /** * Performs a deep copy on other. */ - public listRoles_args(listRoles_args other) { + public changePassword_args(changePassword_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public listRoles_args deepCopy() { - return new listRoles_args(this); + public changePassword_args deepCopy() { + return new changePassword_args(this); } - public ListRolesReq getReq() { + public ChangePasswordReq getReq() { return this.req; } - public listRoles_args setReq(ListRolesReq req) { + public changePassword_args setReq(ChangePasswordReq req) { this.req = req; return this; } @@ -29709,7 +28095,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((ListRolesReq)__value); + setReq((ChangePasswordReq)__value); } break; @@ -29734,9 +28120,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listRoles_args)) + if (!(_that instanceof changePassword_args)) return false; - listRoles_args that = (listRoles_args)_that; + changePassword_args that = (changePassword_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -29749,7 +28135,7 @@ public int hashCode() { } @Override - public int compareTo(listRoles_args other) { + public int compareTo(changePassword_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -29784,7 +28170,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new ListRolesReq(); + this.req = new ChangePasswordReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -29826,7 +28212,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listRoles_args"); + StringBuilder sb = new StringBuilder("changePassword_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -29853,11 +28239,11 @@ public void validate() throws TException { } - public static class listRoles_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listRoles_result"); + public static class changePassword_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("changePassword_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ListRolesResp success; + public ExecResp success; public static final int SUCCESS = 0; // isset id assignments @@ -29867,19 +28253,19 @@ public static class listRoles_result implements TBase, java.io.Serializable, Clo static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListRolesResp.class))); + new StructMetaData(TType.STRUCT, ExecResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listRoles_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(changePassword_result.class, metaDataMap); } - public listRoles_result() { + public changePassword_result() { } - public listRoles_result( - ListRolesResp success) { + public changePassword_result( + ExecResp success) { this(); this.success = success; } @@ -29887,21 +28273,21 @@ public listRoles_result( /** * Performs a deep copy on other. */ - public listRoles_result(listRoles_result other) { + public changePassword_result(changePassword_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public listRoles_result deepCopy() { - return new listRoles_result(this); + public changePassword_result deepCopy() { + return new changePassword_result(this); } - public ListRolesResp getSuccess() { + public ExecResp getSuccess() { return this.success; } - public listRoles_result setSuccess(ListRolesResp success) { + public changePassword_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -29927,7 +28313,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ListRolesResp)__value); + setSuccess((ExecResp)__value); } break; @@ -29952,9 +28338,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listRoles_result)) + if (!(_that instanceof changePassword_result)) return false; - listRoles_result that = (listRoles_result)_that; + changePassword_result that = (changePassword_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -29967,7 +28353,7 @@ public int hashCode() { } @Override - public int compareTo(listRoles_result other) { + public int compareTo(changePassword_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -30002,7 +28388,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ListRolesResp(); + this.success = new ExecResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -30043,7 +28429,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listRoles_result"); + StringBuilder sb = new StringBuilder("changePassword_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -30070,11 +28456,11 @@ public void validate() throws TException { } - public static class getUserRoles_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("getUserRoles_args"); + public static class heartBeat_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("heartBeat_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public GetUserRolesReq req; + public HBReq req; public static final int REQ = 1; // isset id assignments @@ -30084,19 +28470,19 @@ public static class getUserRoles_args implements TBase, java.io.Serializable, Cl static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, GetUserRolesReq.class))); + new StructMetaData(TType.STRUCT, HBReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(getUserRoles_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(heartBeat_args.class, metaDataMap); } - public getUserRoles_args() { + public heartBeat_args() { } - public getUserRoles_args( - GetUserRolesReq req) { + public heartBeat_args( + HBReq req) { this(); this.req = req; } @@ -30104,21 +28490,21 @@ public getUserRoles_args( /** * Performs a deep copy on other. */ - public getUserRoles_args(getUserRoles_args other) { + public heartBeat_args(heartBeat_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public getUserRoles_args deepCopy() { - return new getUserRoles_args(this); + public heartBeat_args deepCopy() { + return new heartBeat_args(this); } - public GetUserRolesReq getReq() { + public HBReq getReq() { return this.req; } - public getUserRoles_args setReq(GetUserRolesReq req) { + public heartBeat_args setReq(HBReq req) { this.req = req; return this; } @@ -30144,7 +28530,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((GetUserRolesReq)__value); + setReq((HBReq)__value); } break; @@ -30169,9 +28555,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof getUserRoles_args)) + if (!(_that instanceof heartBeat_args)) return false; - getUserRoles_args that = (getUserRoles_args)_that; + heartBeat_args that = (heartBeat_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -30184,7 +28570,7 @@ public int hashCode() { } @Override - public int compareTo(getUserRoles_args other) { + public int compareTo(heartBeat_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -30219,7 +28605,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new GetUserRolesReq(); + this.req = new HBReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -30261,7 +28647,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("getUserRoles_args"); + StringBuilder sb = new StringBuilder("heartBeat_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -30288,11 +28674,11 @@ public void validate() throws TException { } - public static class getUserRoles_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("getUserRoles_result"); + public static class heartBeat_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("heartBeat_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ListRolesResp success; + public HBResp success; public static final int SUCCESS = 0; // isset id assignments @@ -30302,19 +28688,19 @@ public static class getUserRoles_result implements TBase, java.io.Serializable, static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListRolesResp.class))); + new StructMetaData(TType.STRUCT, HBResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(getUserRoles_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(heartBeat_result.class, metaDataMap); } - public getUserRoles_result() { + public heartBeat_result() { } - public getUserRoles_result( - ListRolesResp success) { + public heartBeat_result( + HBResp success) { this(); this.success = success; } @@ -30322,21 +28708,21 @@ public getUserRoles_result( /** * Performs a deep copy on other. */ - public getUserRoles_result(getUserRoles_result other) { + public heartBeat_result(heartBeat_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public getUserRoles_result deepCopy() { - return new getUserRoles_result(this); + public heartBeat_result deepCopy() { + return new heartBeat_result(this); } - public ListRolesResp getSuccess() { + public HBResp getSuccess() { return this.success; } - public getUserRoles_result setSuccess(ListRolesResp success) { + public heartBeat_result setSuccess(HBResp success) { this.success = success; return this; } @@ -30362,7 +28748,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ListRolesResp)__value); + setSuccess((HBResp)__value); } break; @@ -30387,9 +28773,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof getUserRoles_result)) + if (!(_that instanceof heartBeat_result)) return false; - getUserRoles_result that = (getUserRoles_result)_that; + heartBeat_result that = (heartBeat_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -30402,7 +28788,7 @@ public int hashCode() { } @Override - public int compareTo(getUserRoles_result other) { + public int compareTo(heartBeat_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -30437,7 +28823,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ListRolesResp(); + this.success = new HBResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -30478,7 +28864,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("getUserRoles_result"); + StringBuilder sb = new StringBuilder("heartBeat_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -30505,11 +28891,11 @@ public void validate() throws TException { } - public static class changePassword_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("changePassword_args"); + public static class agentHeartbeat_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("agentHeartbeat_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public ChangePasswordReq req; + public AgentHBReq req; public static final int REQ = 1; // isset id assignments @@ -30519,19 +28905,19 @@ public static class changePassword_args implements TBase, java.io.Serializable, static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ChangePasswordReq.class))); + new StructMetaData(TType.STRUCT, AgentHBReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(changePassword_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(agentHeartbeat_args.class, metaDataMap); } - public changePassword_args() { + public agentHeartbeat_args() { } - public changePassword_args( - ChangePasswordReq req) { + public agentHeartbeat_args( + AgentHBReq req) { this(); this.req = req; } @@ -30539,21 +28925,21 @@ public changePassword_args( /** * Performs a deep copy on other. */ - public changePassword_args(changePassword_args other) { + public agentHeartbeat_args(agentHeartbeat_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public changePassword_args deepCopy() { - return new changePassword_args(this); + public agentHeartbeat_args deepCopy() { + return new agentHeartbeat_args(this); } - public ChangePasswordReq getReq() { + public AgentHBReq getReq() { return this.req; } - public changePassword_args setReq(ChangePasswordReq req) { + public agentHeartbeat_args setReq(AgentHBReq req) { this.req = req; return this; } @@ -30579,7 +28965,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((ChangePasswordReq)__value); + setReq((AgentHBReq)__value); } break; @@ -30604,9 +28990,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof changePassword_args)) + if (!(_that instanceof agentHeartbeat_args)) return false; - changePassword_args that = (changePassword_args)_that; + agentHeartbeat_args that = (agentHeartbeat_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -30619,7 +29005,7 @@ public int hashCode() { } @Override - public int compareTo(changePassword_args other) { + public int compareTo(agentHeartbeat_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -30654,7 +29040,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new ChangePasswordReq(); + this.req = new AgentHBReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -30696,7 +29082,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("changePassword_args"); + StringBuilder sb = new StringBuilder("agentHeartbeat_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -30723,11 +29109,11 @@ public void validate() throws TException { } - public static class changePassword_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("changePassword_result"); + public static class agentHeartbeat_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("agentHeartbeat_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ExecResp success; + public AgentHBResp success; public static final int SUCCESS = 0; // isset id assignments @@ -30737,19 +29123,19 @@ public static class changePassword_result implements TBase, java.io.Serializable static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ExecResp.class))); + new StructMetaData(TType.STRUCT, AgentHBResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(changePassword_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(agentHeartbeat_result.class, metaDataMap); } - public changePassword_result() { + public agentHeartbeat_result() { } - public changePassword_result( - ExecResp success) { + public agentHeartbeat_result( + AgentHBResp success) { this(); this.success = success; } @@ -30757,21 +29143,21 @@ public changePassword_result( /** * Performs a deep copy on other. */ - public changePassword_result(changePassword_result other) { + public agentHeartbeat_result(agentHeartbeat_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public changePassword_result deepCopy() { - return new changePassword_result(this); + public agentHeartbeat_result deepCopy() { + return new agentHeartbeat_result(this); } - public ExecResp getSuccess() { + public AgentHBResp getSuccess() { return this.success; } - public changePassword_result setSuccess(ExecResp success) { + public agentHeartbeat_result setSuccess(AgentHBResp success) { this.success = success; return this; } @@ -30797,7 +29183,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ExecResp)__value); + setSuccess((AgentHBResp)__value); } break; @@ -30822,9 +29208,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof changePassword_result)) + if (!(_that instanceof agentHeartbeat_result)) return false; - changePassword_result that = (changePassword_result)_that; + agentHeartbeat_result that = (agentHeartbeat_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -30837,7 +29223,7 @@ public int hashCode() { } @Override - public int compareTo(changePassword_result other) { + public int compareTo(agentHeartbeat_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -30872,7 +29258,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ExecResp(); + this.success = new AgentHBResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -30913,7 +29299,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("changePassword_result"); + StringBuilder sb = new StringBuilder("agentHeartbeat_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -30940,11 +29326,11 @@ public void validate() throws TException { } - public static class heartBeat_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("heartBeat_args"); + public static class regConfig_args implements TBase, java.io.Serializable, Cloneable { + private static final TStruct STRUCT_DESC = new TStruct("regConfig_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public HBReq req; + public RegConfigReq req; public static final int REQ = 1; // isset id assignments @@ -30954,19 +29340,19 @@ public static class heartBeat_args implements TBase, java.io.Serializable, Clone static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, HBReq.class))); + new StructMetaData(TType.STRUCT, RegConfigReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(heartBeat_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(regConfig_args.class, metaDataMap); } - public heartBeat_args() { + public regConfig_args() { } - public heartBeat_args( - HBReq req) { + public regConfig_args( + RegConfigReq req) { this(); this.req = req; } @@ -30974,21 +29360,21 @@ public heartBeat_args( /** * Performs a deep copy on other. */ - public heartBeat_args(heartBeat_args other) { + public regConfig_args(regConfig_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public heartBeat_args deepCopy() { - return new heartBeat_args(this); + public regConfig_args deepCopy() { + return new regConfig_args(this); } - public HBReq getReq() { + public RegConfigReq getReq() { return this.req; } - public heartBeat_args setReq(HBReq req) { + public regConfig_args setReq(RegConfigReq req) { this.req = req; return this; } @@ -31014,7 +29400,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((HBReq)__value); + setReq((RegConfigReq)__value); } break; @@ -31039,9 +29425,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof heartBeat_args)) + if (!(_that instanceof regConfig_args)) return false; - heartBeat_args that = (heartBeat_args)_that; + regConfig_args that = (regConfig_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -31053,29 +29439,6 @@ public int hashCode() { return Arrays.deepHashCode(new Object[] {req}); } - @Override - public int compareTo(heartBeat_args other) { - if (other == null) { - // See java.lang.Comparable docs - throw new NullPointerException(); - } - - if (other == this) { - return 0; - } - int lastComparison = 0; - - lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = TBaseHelper.compareTo(req, other.req); - if (lastComparison != 0) { - return lastComparison; - } - return 0; - } - public void read(TProtocol iprot) throws TException { TField __field; iprot.readStructBegin(metaDataMap); @@ -31089,7 +29452,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new HBReq(); + this.req = new RegConfigReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -31131,7 +29494,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("heartBeat_args"); + StringBuilder sb = new StringBuilder("regConfig_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -31158,11 +29521,11 @@ public void validate() throws TException { } - public static class heartBeat_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("heartBeat_result"); + public static class regConfig_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("regConfig_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public HBResp success; + public ExecResp success; public static final int SUCCESS = 0; // isset id assignments @@ -31172,19 +29535,19 @@ public static class heartBeat_result implements TBase, java.io.Serializable, Clo static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, HBResp.class))); + new StructMetaData(TType.STRUCT, ExecResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(heartBeat_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(regConfig_result.class, metaDataMap); } - public heartBeat_result() { + public regConfig_result() { } - public heartBeat_result( - HBResp success) { + public regConfig_result( + ExecResp success) { this(); this.success = success; } @@ -31192,21 +29555,21 @@ public heartBeat_result( /** * Performs a deep copy on other. */ - public heartBeat_result(heartBeat_result other) { + public regConfig_result(regConfig_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public heartBeat_result deepCopy() { - return new heartBeat_result(this); + public regConfig_result deepCopy() { + return new regConfig_result(this); } - public HBResp getSuccess() { + public ExecResp getSuccess() { return this.success; } - public heartBeat_result setSuccess(HBResp success) { + public regConfig_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -31232,7 +29595,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((HBResp)__value); + setSuccess((ExecResp)__value); } break; @@ -31257,9 +29620,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof heartBeat_result)) + if (!(_that instanceof regConfig_result)) return false; - heartBeat_result that = (heartBeat_result)_that; + regConfig_result that = (regConfig_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -31272,7 +29635,7 @@ public int hashCode() { } @Override - public int compareTo(heartBeat_result other) { + public int compareTo(regConfig_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -31307,7 +29670,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new HBResp(); + this.success = new ExecResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -31348,7 +29711,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("heartBeat_result"); + StringBuilder sb = new StringBuilder("regConfig_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -31375,11 +29738,11 @@ public void validate() throws TException { } - public static class agentHeartbeat_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("agentHeartbeat_args"); + public static class getConfig_args implements TBase, java.io.Serializable, Cloneable { + private static final TStruct STRUCT_DESC = new TStruct("getConfig_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public AgentHBReq req; + public GetConfigReq req; public static final int REQ = 1; // isset id assignments @@ -31389,19 +29752,19 @@ public static class agentHeartbeat_args implements TBase, java.io.Serializable, static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, AgentHBReq.class))); + new StructMetaData(TType.STRUCT, GetConfigReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(agentHeartbeat_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(getConfig_args.class, metaDataMap); } - public agentHeartbeat_args() { + public getConfig_args() { } - public agentHeartbeat_args( - AgentHBReq req) { + public getConfig_args( + GetConfigReq req) { this(); this.req = req; } @@ -31409,21 +29772,21 @@ public agentHeartbeat_args( /** * Performs a deep copy on other. */ - public agentHeartbeat_args(agentHeartbeat_args other) { + public getConfig_args(getConfig_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public agentHeartbeat_args deepCopy() { - return new agentHeartbeat_args(this); + public getConfig_args deepCopy() { + return new getConfig_args(this); } - public AgentHBReq getReq() { + public GetConfigReq getReq() { return this.req; } - public agentHeartbeat_args setReq(AgentHBReq req) { + public getConfig_args setReq(GetConfigReq req) { this.req = req; return this; } @@ -31449,7 +29812,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((AgentHBReq)__value); + setReq((GetConfigReq)__value); } break; @@ -31474,9 +29837,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof agentHeartbeat_args)) + if (!(_that instanceof getConfig_args)) return false; - agentHeartbeat_args that = (agentHeartbeat_args)_that; + getConfig_args that = (getConfig_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -31488,29 +29851,6 @@ public int hashCode() { return Arrays.deepHashCode(new Object[] {req}); } - @Override - public int compareTo(agentHeartbeat_args other) { - if (other == null) { - // See java.lang.Comparable docs - throw new NullPointerException(); - } - - if (other == this) { - return 0; - } - int lastComparison = 0; - - lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = TBaseHelper.compareTo(req, other.req); - if (lastComparison != 0) { - return lastComparison; - } - return 0; - } - public void read(TProtocol iprot) throws TException { TField __field; iprot.readStructBegin(metaDataMap); @@ -31524,7 +29864,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new AgentHBReq(); + this.req = new GetConfigReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -31566,7 +29906,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("agentHeartbeat_args"); + StringBuilder sb = new StringBuilder("getConfig_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -31593,11 +29933,11 @@ public void validate() throws TException { } - public static class agentHeartbeat_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("agentHeartbeat_result"); + public static class getConfig_result implements TBase, java.io.Serializable, Cloneable { + private static final TStruct STRUCT_DESC = new TStruct("getConfig_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public AgentHBResp success; + public GetConfigResp success; public static final int SUCCESS = 0; // isset id assignments @@ -31607,19 +29947,19 @@ public static class agentHeartbeat_result implements TBase, java.io.Serializable static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, AgentHBResp.class))); + new StructMetaData(TType.STRUCT, GetConfigResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(agentHeartbeat_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(getConfig_result.class, metaDataMap); } - public agentHeartbeat_result() { + public getConfig_result() { } - public agentHeartbeat_result( - AgentHBResp success) { + public getConfig_result( + GetConfigResp success) { this(); this.success = success; } @@ -31627,21 +29967,21 @@ public agentHeartbeat_result( /** * Performs a deep copy on other. */ - public agentHeartbeat_result(agentHeartbeat_result other) { + public getConfig_result(getConfig_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public agentHeartbeat_result deepCopy() { - return new agentHeartbeat_result(this); + public getConfig_result deepCopy() { + return new getConfig_result(this); } - public AgentHBResp getSuccess() { + public GetConfigResp getSuccess() { return this.success; } - public agentHeartbeat_result setSuccess(AgentHBResp success) { + public getConfig_result setSuccess(GetConfigResp success) { this.success = success; return this; } @@ -31667,7 +30007,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((AgentHBResp)__value); + setSuccess((GetConfigResp)__value); } break; @@ -31692,9 +30032,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof agentHeartbeat_result)) + if (!(_that instanceof getConfig_result)) return false; - agentHeartbeat_result that = (agentHeartbeat_result)_that; + getConfig_result that = (getConfig_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -31706,29 +30046,6 @@ public int hashCode() { return Arrays.deepHashCode(new Object[] {success}); } - @Override - public int compareTo(agentHeartbeat_result other) { - if (other == null) { - // See java.lang.Comparable docs - throw new NullPointerException(); - } - - if (other == this) { - return 0; - } - int lastComparison = 0; - - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = TBaseHelper.compareTo(success, other.success); - if (lastComparison != 0) { - return lastComparison; - } - return 0; - } - public void read(TProtocol iprot) throws TException { TField __field; iprot.readStructBegin(metaDataMap); @@ -31742,7 +30059,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new AgentHBResp(); + this.success = new GetConfigResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -31783,7 +30100,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("agentHeartbeat_result"); + StringBuilder sb = new StringBuilder("getConfig_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -31810,11 +30127,11 @@ public void validate() throws TException { } - public static class regConfig_args implements TBase, java.io.Serializable, Cloneable { - private static final TStruct STRUCT_DESC = new TStruct("regConfig_args"); + public static class setConfig_args implements TBase, java.io.Serializable, Cloneable { + private static final TStruct STRUCT_DESC = new TStruct("setConfig_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public RegConfigReq req; + public SetConfigReq req; public static final int REQ = 1; // isset id assignments @@ -31824,19 +30141,19 @@ public static class regConfig_args implements TBase, java.io.Serializable, Clone static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, RegConfigReq.class))); + new StructMetaData(TType.STRUCT, SetConfigReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(regConfig_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(setConfig_args.class, metaDataMap); } - public regConfig_args() { + public setConfig_args() { } - public regConfig_args( - RegConfigReq req) { + public setConfig_args( + SetConfigReq req) { this(); this.req = req; } @@ -31844,21 +30161,21 @@ public regConfig_args( /** * Performs a deep copy on other. */ - public regConfig_args(regConfig_args other) { + public setConfig_args(setConfig_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public regConfig_args deepCopy() { - return new regConfig_args(this); + public setConfig_args deepCopy() { + return new setConfig_args(this); } - public RegConfigReq getReq() { + public SetConfigReq getReq() { return this.req; } - public regConfig_args setReq(RegConfigReq req) { + public setConfig_args setReq(SetConfigReq req) { this.req = req; return this; } @@ -31884,7 +30201,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((RegConfigReq)__value); + setReq((SetConfigReq)__value); } break; @@ -31909,9 +30226,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof regConfig_args)) + if (!(_that instanceof setConfig_args)) return false; - regConfig_args that = (regConfig_args)_that; + setConfig_args that = (setConfig_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -31936,7 +30253,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new RegConfigReq(); + this.req = new SetConfigReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -31978,7 +30295,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("regConfig_args"); + StringBuilder sb = new StringBuilder("setConfig_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -32005,8 +30322,8 @@ public void validate() throws TException { } - public static class regConfig_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("regConfig_result"); + public static class setConfig_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("setConfig_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); public ExecResp success; @@ -32024,13 +30341,13 @@ public static class regConfig_result implements TBase, java.io.Serializable, Clo } static { - FieldMetaData.addStructMetaDataMap(regConfig_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(setConfig_result.class, metaDataMap); } - public regConfig_result() { + public setConfig_result() { } - public regConfig_result( + public setConfig_result( ExecResp success) { this(); this.success = success; @@ -32039,21 +30356,21 @@ public regConfig_result( /** * Performs a deep copy on other. */ - public regConfig_result(regConfig_result other) { + public setConfig_result(setConfig_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public regConfig_result deepCopy() { - return new regConfig_result(this); + public setConfig_result deepCopy() { + return new setConfig_result(this); } public ExecResp getSuccess() { return this.success; } - public regConfig_result setSuccess(ExecResp success) { + public setConfig_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -32104,9 +30421,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof regConfig_result)) + if (!(_that instanceof setConfig_result)) return false; - regConfig_result that = (regConfig_result)_that; + setConfig_result that = (setConfig_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -32119,7 +30436,7 @@ public int hashCode() { } @Override - public int compareTo(regConfig_result other) { + public int compareTo(setConfig_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -32195,7 +30512,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("regConfig_result"); + StringBuilder sb = new StringBuilder("setConfig_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -32222,11 +30539,11 @@ public void validate() throws TException { } - public static class getConfig_args implements TBase, java.io.Serializable, Cloneable { - private static final TStruct STRUCT_DESC = new TStruct("getConfig_args"); + public static class listConfigs_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listConfigs_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public GetConfigReq req; + public ListConfigsReq req; public static final int REQ = 1; // isset id assignments @@ -32236,19 +30553,19 @@ public static class getConfig_args implements TBase, java.io.Serializable, Clone static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, GetConfigReq.class))); + new StructMetaData(TType.STRUCT, ListConfigsReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(getConfig_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listConfigs_args.class, metaDataMap); } - public getConfig_args() { + public listConfigs_args() { } - public getConfig_args( - GetConfigReq req) { + public listConfigs_args( + ListConfigsReq req) { this(); this.req = req; } @@ -32256,21 +30573,21 @@ public getConfig_args( /** * Performs a deep copy on other. */ - public getConfig_args(getConfig_args other) { + public listConfigs_args(listConfigs_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public getConfig_args deepCopy() { - return new getConfig_args(this); + public listConfigs_args deepCopy() { + return new listConfigs_args(this); } - public GetConfigReq getReq() { + public ListConfigsReq getReq() { return this.req; } - public getConfig_args setReq(GetConfigReq req) { + public listConfigs_args setReq(ListConfigsReq req) { this.req = req; return this; } @@ -32296,7 +30613,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((GetConfigReq)__value); + setReq((ListConfigsReq)__value); } break; @@ -32321,9 +30638,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof getConfig_args)) + if (!(_that instanceof listConfigs_args)) return false; - getConfig_args that = (getConfig_args)_that; + listConfigs_args that = (listConfigs_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -32335,6 +30652,29 @@ public int hashCode() { return Arrays.deepHashCode(new Object[] {req}); } + @Override + public int compareTo(listConfigs_args other) { + if (other == null) { + // See java.lang.Comparable docs + throw new NullPointerException(); + } + + if (other == this) { + return 0; + } + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(req, other.req); + if (lastComparison != 0) { + return lastComparison; + } + return 0; + } + public void read(TProtocol iprot) throws TException { TField __field; iprot.readStructBegin(metaDataMap); @@ -32348,7 +30688,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new GetConfigReq(); + this.req = new ListConfigsReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -32390,7 +30730,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("getConfig_args"); + StringBuilder sb = new StringBuilder("listConfigs_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -32417,11 +30757,11 @@ public void validate() throws TException { } - public static class getConfig_result implements TBase, java.io.Serializable, Cloneable { - private static final TStruct STRUCT_DESC = new TStruct("getConfig_result"); + public static class listConfigs_result implements TBase, java.io.Serializable, Cloneable { + private static final TStruct STRUCT_DESC = new TStruct("listConfigs_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public GetConfigResp success; + public ListConfigsResp success; public static final int SUCCESS = 0; // isset id assignments @@ -32431,19 +30771,19 @@ public static class getConfig_result implements TBase, java.io.Serializable, Clo static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, GetConfigResp.class))); + new StructMetaData(TType.STRUCT, ListConfigsResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(getConfig_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listConfigs_result.class, metaDataMap); } - public getConfig_result() { + public listConfigs_result() { } - public getConfig_result( - GetConfigResp success) { + public listConfigs_result( + ListConfigsResp success) { this(); this.success = success; } @@ -32451,21 +30791,21 @@ public getConfig_result( /** * Performs a deep copy on other. */ - public getConfig_result(getConfig_result other) { + public listConfigs_result(listConfigs_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public getConfig_result deepCopy() { - return new getConfig_result(this); + public listConfigs_result deepCopy() { + return new listConfigs_result(this); } - public GetConfigResp getSuccess() { + public ListConfigsResp getSuccess() { return this.success; } - public getConfig_result setSuccess(GetConfigResp success) { + public listConfigs_result setSuccess(ListConfigsResp success) { this.success = success; return this; } @@ -32491,7 +30831,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((GetConfigResp)__value); + setSuccess((ListConfigsResp)__value); } break; @@ -32516,9 +30856,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof getConfig_result)) + if (!(_that instanceof listConfigs_result)) return false; - getConfig_result that = (getConfig_result)_that; + listConfigs_result that = (listConfigs_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -32543,7 +30883,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new GetConfigResp(); + this.success = new ListConfigsResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -32584,7 +30924,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("getConfig_result"); + StringBuilder sb = new StringBuilder("listConfigs_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -32611,11 +30951,11 @@ public void validate() throws TException { } - public static class setConfig_args implements TBase, java.io.Serializable, Cloneable { - private static final TStruct STRUCT_DESC = new TStruct("setConfig_args"); + public static class createSnapshot_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("createSnapshot_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public SetConfigReq req; + public CreateSnapshotReq req; public static final int REQ = 1; // isset id assignments @@ -32625,19 +30965,19 @@ public static class setConfig_args implements TBase, java.io.Serializable, Clone static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, SetConfigReq.class))); + new StructMetaData(TType.STRUCT, CreateSnapshotReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(setConfig_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(createSnapshot_args.class, metaDataMap); } - public setConfig_args() { + public createSnapshot_args() { } - public setConfig_args( - SetConfigReq req) { + public createSnapshot_args( + CreateSnapshotReq req) { this(); this.req = req; } @@ -32645,21 +30985,21 @@ public setConfig_args( /** * Performs a deep copy on other. */ - public setConfig_args(setConfig_args other) { + public createSnapshot_args(createSnapshot_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public setConfig_args deepCopy() { - return new setConfig_args(this); + public createSnapshot_args deepCopy() { + return new createSnapshot_args(this); } - public SetConfigReq getReq() { + public CreateSnapshotReq getReq() { return this.req; } - public setConfig_args setReq(SetConfigReq req) { + public createSnapshot_args setReq(CreateSnapshotReq req) { this.req = req; return this; } @@ -32685,7 +31025,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((SetConfigReq)__value); + setReq((CreateSnapshotReq)__value); } break; @@ -32710,9 +31050,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof setConfig_args)) + if (!(_that instanceof createSnapshot_args)) return false; - setConfig_args that = (setConfig_args)_that; + createSnapshot_args that = (createSnapshot_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -32724,6 +31064,29 @@ public int hashCode() { return Arrays.deepHashCode(new Object[] {req}); } + @Override + public int compareTo(createSnapshot_args other) { + if (other == null) { + // See java.lang.Comparable docs + throw new NullPointerException(); + } + + if (other == this) { + return 0; + } + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(req, other.req); + if (lastComparison != 0) { + return lastComparison; + } + return 0; + } + public void read(TProtocol iprot) throws TException { TField __field; iprot.readStructBegin(metaDataMap); @@ -32737,7 +31100,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new SetConfigReq(); + this.req = new CreateSnapshotReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -32779,7 +31142,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("setConfig_args"); + StringBuilder sb = new StringBuilder("createSnapshot_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -32806,8 +31169,8 @@ public void validate() throws TException { } - public static class setConfig_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("setConfig_result"); + public static class createSnapshot_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("createSnapshot_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); public ExecResp success; @@ -32825,13 +31188,13 @@ public static class setConfig_result implements TBase, java.io.Serializable, Clo } static { - FieldMetaData.addStructMetaDataMap(setConfig_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(createSnapshot_result.class, metaDataMap); } - public setConfig_result() { + public createSnapshot_result() { } - public setConfig_result( + public createSnapshot_result( ExecResp success) { this(); this.success = success; @@ -32840,21 +31203,21 @@ public setConfig_result( /** * Performs a deep copy on other. */ - public setConfig_result(setConfig_result other) { + public createSnapshot_result(createSnapshot_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public setConfig_result deepCopy() { - return new setConfig_result(this); + public createSnapshot_result deepCopy() { + return new createSnapshot_result(this); } public ExecResp getSuccess() { return this.success; } - public setConfig_result setSuccess(ExecResp success) { + public createSnapshot_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -32905,9 +31268,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof setConfig_result)) + if (!(_that instanceof createSnapshot_result)) return false; - setConfig_result that = (setConfig_result)_that; + createSnapshot_result that = (createSnapshot_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -32920,7 +31283,7 @@ public int hashCode() { } @Override - public int compareTo(setConfig_result other) { + public int compareTo(createSnapshot_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -32996,7 +31359,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("setConfig_result"); + StringBuilder sb = new StringBuilder("createSnapshot_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -33023,11 +31386,11 @@ public void validate() throws TException { } - public static class listConfigs_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listConfigs_args"); + public static class dropSnapshot_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("dropSnapshot_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public ListConfigsReq req; + public DropSnapshotReq req; public static final int REQ = 1; // isset id assignments @@ -33037,19 +31400,19 @@ public static class listConfigs_args implements TBase, java.io.Serializable, Clo static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListConfigsReq.class))); + new StructMetaData(TType.STRUCT, DropSnapshotReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listConfigs_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(dropSnapshot_args.class, metaDataMap); } - public listConfigs_args() { + public dropSnapshot_args() { } - public listConfigs_args( - ListConfigsReq req) { + public dropSnapshot_args( + DropSnapshotReq req) { this(); this.req = req; } @@ -33057,21 +31420,21 @@ public listConfigs_args( /** * Performs a deep copy on other. */ - public listConfigs_args(listConfigs_args other) { + public dropSnapshot_args(dropSnapshot_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public listConfigs_args deepCopy() { - return new listConfigs_args(this); + public dropSnapshot_args deepCopy() { + return new dropSnapshot_args(this); } - public ListConfigsReq getReq() { + public DropSnapshotReq getReq() { return this.req; } - public listConfigs_args setReq(ListConfigsReq req) { + public dropSnapshot_args setReq(DropSnapshotReq req) { this.req = req; return this; } @@ -33097,7 +31460,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((ListConfigsReq)__value); + setReq((DropSnapshotReq)__value); } break; @@ -33122,9 +31485,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listConfigs_args)) + if (!(_that instanceof dropSnapshot_args)) return false; - listConfigs_args that = (listConfigs_args)_that; + dropSnapshot_args that = (dropSnapshot_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -33137,7 +31500,7 @@ public int hashCode() { } @Override - public int compareTo(listConfigs_args other) { + public int compareTo(dropSnapshot_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -33172,7 +31535,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new ListConfigsReq(); + this.req = new DropSnapshotReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -33214,7 +31577,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listConfigs_args"); + StringBuilder sb = new StringBuilder("dropSnapshot_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -33241,11 +31604,11 @@ public void validate() throws TException { } - public static class listConfigs_result implements TBase, java.io.Serializable, Cloneable { - private static final TStruct STRUCT_DESC = new TStruct("listConfigs_result"); + public static class dropSnapshot_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("dropSnapshot_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ListConfigsResp success; + public ExecResp success; public static final int SUCCESS = 0; // isset id assignments @@ -33255,19 +31618,19 @@ public static class listConfigs_result implements TBase, java.io.Serializable, C static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListConfigsResp.class))); + new StructMetaData(TType.STRUCT, ExecResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listConfigs_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(dropSnapshot_result.class, metaDataMap); } - public listConfigs_result() { + public dropSnapshot_result() { } - public listConfigs_result( - ListConfigsResp success) { + public dropSnapshot_result( + ExecResp success) { this(); this.success = success; } @@ -33275,21 +31638,21 @@ public listConfigs_result( /** * Performs a deep copy on other. */ - public listConfigs_result(listConfigs_result other) { + public dropSnapshot_result(dropSnapshot_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public listConfigs_result deepCopy() { - return new listConfigs_result(this); + public dropSnapshot_result deepCopy() { + return new dropSnapshot_result(this); } - public ListConfigsResp getSuccess() { + public ExecResp getSuccess() { return this.success; } - public listConfigs_result setSuccess(ListConfigsResp success) { + public dropSnapshot_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -33315,7 +31678,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ListConfigsResp)__value); + setSuccess((ExecResp)__value); } break; @@ -33340,9 +31703,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listConfigs_result)) + if (!(_that instanceof dropSnapshot_result)) return false; - listConfigs_result that = (listConfigs_result)_that; + dropSnapshot_result that = (dropSnapshot_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -33354,6 +31717,29 @@ public int hashCode() { return Arrays.deepHashCode(new Object[] {success}); } + @Override + public int compareTo(dropSnapshot_result other) { + if (other == null) { + // See java.lang.Comparable docs + throw new NullPointerException(); + } + + if (other == this) { + return 0; + } + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(success, other.success); + if (lastComparison != 0) { + return lastComparison; + } + return 0; + } + public void read(TProtocol iprot) throws TException { TField __field; iprot.readStructBegin(metaDataMap); @@ -33367,7 +31753,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ListConfigsResp(); + this.success = new ExecResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -33408,7 +31794,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listConfigs_result"); + StringBuilder sb = new StringBuilder("dropSnapshot_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -33435,11 +31821,11 @@ public void validate() throws TException { } - public static class createSnapshot_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("createSnapshot_args"); + public static class listSnapshots_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listSnapshots_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public CreateSnapshotReq req; + public ListSnapshotsReq req; public static final int REQ = 1; // isset id assignments @@ -33449,19 +31835,19 @@ public static class createSnapshot_args implements TBase, java.io.Serializable, static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, CreateSnapshotReq.class))); + new StructMetaData(TType.STRUCT, ListSnapshotsReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(createSnapshot_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listSnapshots_args.class, metaDataMap); } - public createSnapshot_args() { + public listSnapshots_args() { } - public createSnapshot_args( - CreateSnapshotReq req) { + public listSnapshots_args( + ListSnapshotsReq req) { this(); this.req = req; } @@ -33469,21 +31855,21 @@ public createSnapshot_args( /** * Performs a deep copy on other. */ - public createSnapshot_args(createSnapshot_args other) { + public listSnapshots_args(listSnapshots_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public createSnapshot_args deepCopy() { - return new createSnapshot_args(this); + public listSnapshots_args deepCopy() { + return new listSnapshots_args(this); } - public CreateSnapshotReq getReq() { + public ListSnapshotsReq getReq() { return this.req; } - public createSnapshot_args setReq(CreateSnapshotReq req) { + public listSnapshots_args setReq(ListSnapshotsReq req) { this.req = req; return this; } @@ -33509,7 +31895,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((CreateSnapshotReq)__value); + setReq((ListSnapshotsReq)__value); } break; @@ -33534,9 +31920,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof createSnapshot_args)) + if (!(_that instanceof listSnapshots_args)) return false; - createSnapshot_args that = (createSnapshot_args)_that; + listSnapshots_args that = (listSnapshots_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -33549,7 +31935,7 @@ public int hashCode() { } @Override - public int compareTo(createSnapshot_args other) { + public int compareTo(listSnapshots_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -33584,7 +31970,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new CreateSnapshotReq(); + this.req = new ListSnapshotsReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -33626,7 +32012,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("createSnapshot_args"); + StringBuilder sb = new StringBuilder("listSnapshots_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -33653,11 +32039,11 @@ public void validate() throws TException { } - public static class createSnapshot_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("createSnapshot_result"); + public static class listSnapshots_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listSnapshots_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ExecResp success; + public ListSnapshotsResp success; public static final int SUCCESS = 0; // isset id assignments @@ -33667,19 +32053,19 @@ public static class createSnapshot_result implements TBase, java.io.Serializable static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ExecResp.class))); + new StructMetaData(TType.STRUCT, ListSnapshotsResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(createSnapshot_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listSnapshots_result.class, metaDataMap); } - public createSnapshot_result() { + public listSnapshots_result() { } - public createSnapshot_result( - ExecResp success) { + public listSnapshots_result( + ListSnapshotsResp success) { this(); this.success = success; } @@ -33687,21 +32073,21 @@ public createSnapshot_result( /** * Performs a deep copy on other. */ - public createSnapshot_result(createSnapshot_result other) { + public listSnapshots_result(listSnapshots_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public createSnapshot_result deepCopy() { - return new createSnapshot_result(this); + public listSnapshots_result deepCopy() { + return new listSnapshots_result(this); } - public ExecResp getSuccess() { + public ListSnapshotsResp getSuccess() { return this.success; } - public createSnapshot_result setSuccess(ExecResp success) { + public listSnapshots_result setSuccess(ListSnapshotsResp success) { this.success = success; return this; } @@ -33727,7 +32113,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ExecResp)__value); + setSuccess((ListSnapshotsResp)__value); } break; @@ -33752,9 +32138,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof createSnapshot_result)) + if (!(_that instanceof listSnapshots_result)) return false; - createSnapshot_result that = (createSnapshot_result)_that; + listSnapshots_result that = (listSnapshots_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -33767,7 +32153,7 @@ public int hashCode() { } @Override - public int compareTo(createSnapshot_result other) { + public int compareTo(listSnapshots_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -33802,7 +32188,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ExecResp(); + this.success = new ListSnapshotsResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -33843,7 +32229,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("createSnapshot_result"); + StringBuilder sb = new StringBuilder("listSnapshots_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -33870,11 +32256,11 @@ public void validate() throws TException { } - public static class dropSnapshot_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("dropSnapshot_args"); + public static class runAdminJob_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("runAdminJob_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public DropSnapshotReq req; + public AdminJobReq req; public static final int REQ = 1; // isset id assignments @@ -33884,19 +32270,19 @@ public static class dropSnapshot_args implements TBase, java.io.Serializable, Cl static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, DropSnapshotReq.class))); + new StructMetaData(TType.STRUCT, AdminJobReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(dropSnapshot_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(runAdminJob_args.class, metaDataMap); } - public dropSnapshot_args() { + public runAdminJob_args() { } - public dropSnapshot_args( - DropSnapshotReq req) { + public runAdminJob_args( + AdminJobReq req) { this(); this.req = req; } @@ -33904,21 +32290,21 @@ public dropSnapshot_args( /** * Performs a deep copy on other. */ - public dropSnapshot_args(dropSnapshot_args other) { + public runAdminJob_args(runAdminJob_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public dropSnapshot_args deepCopy() { - return new dropSnapshot_args(this); + public runAdminJob_args deepCopy() { + return new runAdminJob_args(this); } - public DropSnapshotReq getReq() { + public AdminJobReq getReq() { return this.req; } - public dropSnapshot_args setReq(DropSnapshotReq req) { + public runAdminJob_args setReq(AdminJobReq req) { this.req = req; return this; } @@ -33944,7 +32330,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((DropSnapshotReq)__value); + setReq((AdminJobReq)__value); } break; @@ -33969,9 +32355,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof dropSnapshot_args)) + if (!(_that instanceof runAdminJob_args)) return false; - dropSnapshot_args that = (dropSnapshot_args)_that; + runAdminJob_args that = (runAdminJob_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -33984,7 +32370,7 @@ public int hashCode() { } @Override - public int compareTo(dropSnapshot_args other) { + public int compareTo(runAdminJob_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -34019,7 +32405,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new DropSnapshotReq(); + this.req = new AdminJobReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -34061,7 +32447,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("dropSnapshot_args"); + StringBuilder sb = new StringBuilder("runAdminJob_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -34088,11 +32474,11 @@ public void validate() throws TException { } - public static class dropSnapshot_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("dropSnapshot_result"); + public static class runAdminJob_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("runAdminJob_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ExecResp success; + public AdminJobResp success; public static final int SUCCESS = 0; // isset id assignments @@ -34102,19 +32488,19 @@ public static class dropSnapshot_result implements TBase, java.io.Serializable, static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ExecResp.class))); + new StructMetaData(TType.STRUCT, AdminJobResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(dropSnapshot_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(runAdminJob_result.class, metaDataMap); } - public dropSnapshot_result() { + public runAdminJob_result() { } - public dropSnapshot_result( - ExecResp success) { + public runAdminJob_result( + AdminJobResp success) { this(); this.success = success; } @@ -34122,21 +32508,21 @@ public dropSnapshot_result( /** * Performs a deep copy on other. */ - public dropSnapshot_result(dropSnapshot_result other) { + public runAdminJob_result(runAdminJob_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public dropSnapshot_result deepCopy() { - return new dropSnapshot_result(this); + public runAdminJob_result deepCopy() { + return new runAdminJob_result(this); } - public ExecResp getSuccess() { + public AdminJobResp getSuccess() { return this.success; } - public dropSnapshot_result setSuccess(ExecResp success) { + public runAdminJob_result setSuccess(AdminJobResp success) { this.success = success; return this; } @@ -34162,7 +32548,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ExecResp)__value); + setSuccess((AdminJobResp)__value); } break; @@ -34187,9 +32573,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof dropSnapshot_result)) + if (!(_that instanceof runAdminJob_result)) return false; - dropSnapshot_result that = (dropSnapshot_result)_that; + runAdminJob_result that = (runAdminJob_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -34202,7 +32588,7 @@ public int hashCode() { } @Override - public int compareTo(dropSnapshot_result other) { + public int compareTo(runAdminJob_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -34237,7 +32623,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ExecResp(); + this.success = new AdminJobResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -34278,7 +32664,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("dropSnapshot_result"); + StringBuilder sb = new StringBuilder("runAdminJob_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -34305,11 +32691,11 @@ public void validate() throws TException { } - public static class listSnapshots_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listSnapshots_args"); + public static class mergeZone_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("mergeZone_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public ListSnapshotsReq req; + public MergeZoneReq req; public static final int REQ = 1; // isset id assignments @@ -34319,19 +32705,19 @@ public static class listSnapshots_args implements TBase, java.io.Serializable, C static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListSnapshotsReq.class))); + new StructMetaData(TType.STRUCT, MergeZoneReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listSnapshots_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(mergeZone_args.class, metaDataMap); } - public listSnapshots_args() { + public mergeZone_args() { } - public listSnapshots_args( - ListSnapshotsReq req) { + public mergeZone_args( + MergeZoneReq req) { this(); this.req = req; } @@ -34339,21 +32725,21 @@ public listSnapshots_args( /** * Performs a deep copy on other. */ - public listSnapshots_args(listSnapshots_args other) { + public mergeZone_args(mergeZone_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public listSnapshots_args deepCopy() { - return new listSnapshots_args(this); + public mergeZone_args deepCopy() { + return new mergeZone_args(this); } - public ListSnapshotsReq getReq() { + public MergeZoneReq getReq() { return this.req; } - public listSnapshots_args setReq(ListSnapshotsReq req) { + public mergeZone_args setReq(MergeZoneReq req) { this.req = req; return this; } @@ -34379,7 +32765,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((ListSnapshotsReq)__value); + setReq((MergeZoneReq)__value); } break; @@ -34404,9 +32790,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listSnapshots_args)) + if (!(_that instanceof mergeZone_args)) return false; - listSnapshots_args that = (listSnapshots_args)_that; + mergeZone_args that = (mergeZone_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -34419,7 +32805,7 @@ public int hashCode() { } @Override - public int compareTo(listSnapshots_args other) { + public int compareTo(mergeZone_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -34454,7 +32840,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new ListSnapshotsReq(); + this.req = new MergeZoneReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -34496,7 +32882,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listSnapshots_args"); + StringBuilder sb = new StringBuilder("mergeZone_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -34523,11 +32909,11 @@ public void validate() throws TException { } - public static class listSnapshots_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listSnapshots_result"); + public static class mergeZone_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("mergeZone_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ListSnapshotsResp success; + public ExecResp success; public static final int SUCCESS = 0; // isset id assignments @@ -34537,19 +32923,19 @@ public static class listSnapshots_result implements TBase, java.io.Serializable, static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListSnapshotsResp.class))); + new StructMetaData(TType.STRUCT, ExecResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listSnapshots_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(mergeZone_result.class, metaDataMap); } - public listSnapshots_result() { + public mergeZone_result() { } - public listSnapshots_result( - ListSnapshotsResp success) { + public mergeZone_result( + ExecResp success) { this(); this.success = success; } @@ -34557,21 +32943,21 @@ public listSnapshots_result( /** * Performs a deep copy on other. */ - public listSnapshots_result(listSnapshots_result other) { + public mergeZone_result(mergeZone_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public listSnapshots_result deepCopy() { - return new listSnapshots_result(this); + public mergeZone_result deepCopy() { + return new mergeZone_result(this); } - public ListSnapshotsResp getSuccess() { + public ExecResp getSuccess() { return this.success; } - public listSnapshots_result setSuccess(ListSnapshotsResp success) { + public mergeZone_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -34597,7 +32983,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ListSnapshotsResp)__value); + setSuccess((ExecResp)__value); } break; @@ -34622,9 +33008,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listSnapshots_result)) + if (!(_that instanceof mergeZone_result)) return false; - listSnapshots_result that = (listSnapshots_result)_that; + mergeZone_result that = (mergeZone_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -34637,7 +33023,7 @@ public int hashCode() { } @Override - public int compareTo(listSnapshots_result other) { + public int compareTo(mergeZone_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -34672,7 +33058,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ListSnapshotsResp(); + this.success = new ExecResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -34713,7 +33099,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listSnapshots_result"); + StringBuilder sb = new StringBuilder("mergeZone_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -34740,11 +33126,11 @@ public void validate() throws TException { } - public static class runAdminJob_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("runAdminJob_args"); + public static class dropZone_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("dropZone_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public AdminJobReq req; + public DropZoneReq req; public static final int REQ = 1; // isset id assignments @@ -34754,19 +33140,19 @@ public static class runAdminJob_args implements TBase, java.io.Serializable, Clo static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, AdminJobReq.class))); + new StructMetaData(TType.STRUCT, DropZoneReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(runAdminJob_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(dropZone_args.class, metaDataMap); } - public runAdminJob_args() { + public dropZone_args() { } - public runAdminJob_args( - AdminJobReq req) { + public dropZone_args( + DropZoneReq req) { this(); this.req = req; } @@ -34774,21 +33160,21 @@ public runAdminJob_args( /** * Performs a deep copy on other. */ - public runAdminJob_args(runAdminJob_args other) { + public dropZone_args(dropZone_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public runAdminJob_args deepCopy() { - return new runAdminJob_args(this); + public dropZone_args deepCopy() { + return new dropZone_args(this); } - public AdminJobReq getReq() { + public DropZoneReq getReq() { return this.req; } - public runAdminJob_args setReq(AdminJobReq req) { + public dropZone_args setReq(DropZoneReq req) { this.req = req; return this; } @@ -34814,7 +33200,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((AdminJobReq)__value); + setReq((DropZoneReq)__value); } break; @@ -34839,9 +33225,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof runAdminJob_args)) + if (!(_that instanceof dropZone_args)) return false; - runAdminJob_args that = (runAdminJob_args)_that; + dropZone_args that = (dropZone_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -34854,7 +33240,7 @@ public int hashCode() { } @Override - public int compareTo(runAdminJob_args other) { + public int compareTo(dropZone_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -34889,7 +33275,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new AdminJobReq(); + this.req = new DropZoneReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -34931,7 +33317,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("runAdminJob_args"); + StringBuilder sb = new StringBuilder("dropZone_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -34958,11 +33344,11 @@ public void validate() throws TException { } - public static class runAdminJob_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("runAdminJob_result"); + public static class dropZone_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("dropZone_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public AdminJobResp success; + public ExecResp success; public static final int SUCCESS = 0; // isset id assignments @@ -34972,19 +33358,19 @@ public static class runAdminJob_result implements TBase, java.io.Serializable, C static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, AdminJobResp.class))); + new StructMetaData(TType.STRUCT, ExecResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(runAdminJob_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(dropZone_result.class, metaDataMap); } - public runAdminJob_result() { + public dropZone_result() { } - public runAdminJob_result( - AdminJobResp success) { + public dropZone_result( + ExecResp success) { this(); this.success = success; } @@ -34992,21 +33378,21 @@ public runAdminJob_result( /** * Performs a deep copy on other. */ - public runAdminJob_result(runAdminJob_result other) { + public dropZone_result(dropZone_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public runAdminJob_result deepCopy() { - return new runAdminJob_result(this); + public dropZone_result deepCopy() { + return new dropZone_result(this); } - public AdminJobResp getSuccess() { + public ExecResp getSuccess() { return this.success; } - public runAdminJob_result setSuccess(AdminJobResp success) { + public dropZone_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -35032,7 +33418,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((AdminJobResp)__value); + setSuccess((ExecResp)__value); } break; @@ -35057,9 +33443,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof runAdminJob_result)) + if (!(_that instanceof dropZone_result)) return false; - runAdminJob_result that = (runAdminJob_result)_that; + dropZone_result that = (dropZone_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -35072,7 +33458,7 @@ public int hashCode() { } @Override - public int compareTo(runAdminJob_result other) { + public int compareTo(dropZone_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -35107,7 +33493,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new AdminJobResp(); + this.success = new ExecResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -35148,7 +33534,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("runAdminJob_result"); + StringBuilder sb = new StringBuilder("dropZone_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -35175,11 +33561,11 @@ public void validate() throws TException { } - public static class mergeZone_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("mergeZone_args"); + public static class divideZone_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("divideZone_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public MergeZoneReq req; + public DivideZoneReq req; public static final int REQ = 1; // isset id assignments @@ -35189,19 +33575,19 @@ public static class mergeZone_args implements TBase, java.io.Serializable, Clone static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, MergeZoneReq.class))); + new StructMetaData(TType.STRUCT, DivideZoneReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(mergeZone_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(divideZone_args.class, metaDataMap); } - public mergeZone_args() { + public divideZone_args() { } - public mergeZone_args( - MergeZoneReq req) { + public divideZone_args( + DivideZoneReq req) { this(); this.req = req; } @@ -35209,21 +33595,21 @@ public mergeZone_args( /** * Performs a deep copy on other. */ - public mergeZone_args(mergeZone_args other) { + public divideZone_args(divideZone_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public mergeZone_args deepCopy() { - return new mergeZone_args(this); + public divideZone_args deepCopy() { + return new divideZone_args(this); } - public MergeZoneReq getReq() { + public DivideZoneReq getReq() { return this.req; } - public mergeZone_args setReq(MergeZoneReq req) { + public divideZone_args setReq(DivideZoneReq req) { this.req = req; return this; } @@ -35249,7 +33635,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((MergeZoneReq)__value); + setReq((DivideZoneReq)__value); } break; @@ -35274,9 +33660,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof mergeZone_args)) + if (!(_that instanceof divideZone_args)) return false; - mergeZone_args that = (mergeZone_args)_that; + divideZone_args that = (divideZone_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -35289,7 +33675,7 @@ public int hashCode() { } @Override - public int compareTo(mergeZone_args other) { + public int compareTo(divideZone_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -35324,7 +33710,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new MergeZoneReq(); + this.req = new DivideZoneReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -35366,7 +33752,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("mergeZone_args"); + StringBuilder sb = new StringBuilder("divideZone_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -35393,8 +33779,8 @@ public void validate() throws TException { } - public static class mergeZone_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("mergeZone_result"); + public static class divideZone_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("divideZone_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); public ExecResp success; @@ -35412,13 +33798,13 @@ public static class mergeZone_result implements TBase, java.io.Serializable, Clo } static { - FieldMetaData.addStructMetaDataMap(mergeZone_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(divideZone_result.class, metaDataMap); } - public mergeZone_result() { + public divideZone_result() { } - public mergeZone_result( + public divideZone_result( ExecResp success) { this(); this.success = success; @@ -35427,21 +33813,21 @@ public mergeZone_result( /** * Performs a deep copy on other. */ - public mergeZone_result(mergeZone_result other) { + public divideZone_result(divideZone_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public mergeZone_result deepCopy() { - return new mergeZone_result(this); + public divideZone_result deepCopy() { + return new divideZone_result(this); } public ExecResp getSuccess() { return this.success; } - public mergeZone_result setSuccess(ExecResp success) { + public divideZone_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -35492,9 +33878,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof mergeZone_result)) + if (!(_that instanceof divideZone_result)) return false; - mergeZone_result that = (mergeZone_result)_that; + divideZone_result that = (divideZone_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -35507,7 +33893,7 @@ public int hashCode() { } @Override - public int compareTo(mergeZone_result other) { + public int compareTo(divideZone_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -35583,7 +33969,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("mergeZone_result"); + StringBuilder sb = new StringBuilder("divideZone_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -35610,11 +33996,11 @@ public void validate() throws TException { } - public static class dropZone_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("dropZone_args"); + public static class renameZone_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("renameZone_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public DropZoneReq req; + public RenameZoneReq req; public static final int REQ = 1; // isset id assignments @@ -35624,19 +34010,19 @@ public static class dropZone_args implements TBase, java.io.Serializable, Clonea static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, DropZoneReq.class))); + new StructMetaData(TType.STRUCT, RenameZoneReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(dropZone_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(renameZone_args.class, metaDataMap); } - public dropZone_args() { + public renameZone_args() { } - public dropZone_args( - DropZoneReq req) { + public renameZone_args( + RenameZoneReq req) { this(); this.req = req; } @@ -35644,21 +34030,21 @@ public dropZone_args( /** * Performs a deep copy on other. */ - public dropZone_args(dropZone_args other) { + public renameZone_args(renameZone_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public dropZone_args deepCopy() { - return new dropZone_args(this); + public renameZone_args deepCopy() { + return new renameZone_args(this); } - public DropZoneReq getReq() { + public RenameZoneReq getReq() { return this.req; } - public dropZone_args setReq(DropZoneReq req) { + public renameZone_args setReq(RenameZoneReq req) { this.req = req; return this; } @@ -35684,7 +34070,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((DropZoneReq)__value); + setReq((RenameZoneReq)__value); } break; @@ -35709,9 +34095,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof dropZone_args)) + if (!(_that instanceof renameZone_args)) return false; - dropZone_args that = (dropZone_args)_that; + renameZone_args that = (renameZone_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -35724,7 +34110,7 @@ public int hashCode() { } @Override - public int compareTo(dropZone_args other) { + public int compareTo(renameZone_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -35759,7 +34145,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new DropZoneReq(); + this.req = new RenameZoneReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -35801,7 +34187,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("dropZone_args"); + StringBuilder sb = new StringBuilder("renameZone_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -35828,8 +34214,8 @@ public void validate() throws TException { } - public static class dropZone_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("dropZone_result"); + public static class renameZone_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("renameZone_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); public ExecResp success; @@ -35847,13 +34233,13 @@ public static class dropZone_result implements TBase, java.io.Serializable, Clon } static { - FieldMetaData.addStructMetaDataMap(dropZone_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(renameZone_result.class, metaDataMap); } - public dropZone_result() { + public renameZone_result() { } - public dropZone_result( + public renameZone_result( ExecResp success) { this(); this.success = success; @@ -35862,21 +34248,21 @@ public dropZone_result( /** * Performs a deep copy on other. */ - public dropZone_result(dropZone_result other) { + public renameZone_result(renameZone_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public dropZone_result deepCopy() { - return new dropZone_result(this); + public renameZone_result deepCopy() { + return new renameZone_result(this); } public ExecResp getSuccess() { return this.success; } - public dropZone_result setSuccess(ExecResp success) { + public renameZone_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -35927,9 +34313,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof dropZone_result)) + if (!(_that instanceof renameZone_result)) return false; - dropZone_result that = (dropZone_result)_that; + renameZone_result that = (renameZone_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -35942,7 +34328,7 @@ public int hashCode() { } @Override - public int compareTo(dropZone_result other) { + public int compareTo(renameZone_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -36018,7 +34404,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("dropZone_result"); + StringBuilder sb = new StringBuilder("renameZone_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -36045,11 +34431,11 @@ public void validate() throws TException { } - public static class divideZone_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("divideZone_args"); + public static class getZone_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("getZone_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public DivideZoneReq req; + public GetZoneReq req; public static final int REQ = 1; // isset id assignments @@ -36059,19 +34445,19 @@ public static class divideZone_args implements TBase, java.io.Serializable, Clon static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, DivideZoneReq.class))); + new StructMetaData(TType.STRUCT, GetZoneReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(divideZone_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(getZone_args.class, metaDataMap); } - public divideZone_args() { + public getZone_args() { } - public divideZone_args( - DivideZoneReq req) { + public getZone_args( + GetZoneReq req) { this(); this.req = req; } @@ -36079,21 +34465,21 @@ public divideZone_args( /** * Performs a deep copy on other. */ - public divideZone_args(divideZone_args other) { + public getZone_args(getZone_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public divideZone_args deepCopy() { - return new divideZone_args(this); + public getZone_args deepCopy() { + return new getZone_args(this); } - public DivideZoneReq getReq() { + public GetZoneReq getReq() { return this.req; } - public divideZone_args setReq(DivideZoneReq req) { + public getZone_args setReq(GetZoneReq req) { this.req = req; return this; } @@ -36119,7 +34505,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((DivideZoneReq)__value); + setReq((GetZoneReq)__value); } break; @@ -36144,9 +34530,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof divideZone_args)) + if (!(_that instanceof getZone_args)) return false; - divideZone_args that = (divideZone_args)_that; + getZone_args that = (getZone_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -36159,7 +34545,7 @@ public int hashCode() { } @Override - public int compareTo(divideZone_args other) { + public int compareTo(getZone_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -36194,7 +34580,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new DivideZoneReq(); + this.req = new GetZoneReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -36236,7 +34622,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("divideZone_args"); + StringBuilder sb = new StringBuilder("getZone_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -36263,11 +34649,11 @@ public void validate() throws TException { } - public static class divideZone_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("divideZone_result"); + public static class getZone_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("getZone_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ExecResp success; + public GetZoneResp success; public static final int SUCCESS = 0; // isset id assignments @@ -36277,19 +34663,19 @@ public static class divideZone_result implements TBase, java.io.Serializable, Cl static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ExecResp.class))); + new StructMetaData(TType.STRUCT, GetZoneResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(divideZone_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(getZone_result.class, metaDataMap); } - public divideZone_result() { + public getZone_result() { } - public divideZone_result( - ExecResp success) { + public getZone_result( + GetZoneResp success) { this(); this.success = success; } @@ -36297,21 +34683,21 @@ public divideZone_result( /** * Performs a deep copy on other. */ - public divideZone_result(divideZone_result other) { + public getZone_result(getZone_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public divideZone_result deepCopy() { - return new divideZone_result(this); + public getZone_result deepCopy() { + return new getZone_result(this); } - public ExecResp getSuccess() { + public GetZoneResp getSuccess() { return this.success; } - public divideZone_result setSuccess(ExecResp success) { + public getZone_result setSuccess(GetZoneResp success) { this.success = success; return this; } @@ -36337,7 +34723,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ExecResp)__value); + setSuccess((GetZoneResp)__value); } break; @@ -36362,9 +34748,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof divideZone_result)) + if (!(_that instanceof getZone_result)) return false; - divideZone_result that = (divideZone_result)_that; + getZone_result that = (getZone_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -36377,7 +34763,7 @@ public int hashCode() { } @Override - public int compareTo(divideZone_result other) { + public int compareTo(getZone_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -36412,7 +34798,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ExecResp(); + this.success = new GetZoneResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -36453,7 +34839,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("divideZone_result"); + StringBuilder sb = new StringBuilder("getZone_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -36480,11 +34866,11 @@ public void validate() throws TException { } - public static class renameZone_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("renameZone_args"); + public static class listZones_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listZones_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public RenameZoneReq req; + public ListZonesReq req; public static final int REQ = 1; // isset id assignments @@ -36494,19 +34880,19 @@ public static class renameZone_args implements TBase, java.io.Serializable, Clon static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, RenameZoneReq.class))); + new StructMetaData(TType.STRUCT, ListZonesReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(renameZone_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listZones_args.class, metaDataMap); } - public renameZone_args() { + public listZones_args() { } - public renameZone_args( - RenameZoneReq req) { + public listZones_args( + ListZonesReq req) { this(); this.req = req; } @@ -36514,21 +34900,21 @@ public renameZone_args( /** * Performs a deep copy on other. */ - public renameZone_args(renameZone_args other) { + public listZones_args(listZones_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public renameZone_args deepCopy() { - return new renameZone_args(this); + public listZones_args deepCopy() { + return new listZones_args(this); } - public RenameZoneReq getReq() { + public ListZonesReq getReq() { return this.req; } - public renameZone_args setReq(RenameZoneReq req) { + public listZones_args setReq(ListZonesReq req) { this.req = req; return this; } @@ -36554,7 +34940,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((RenameZoneReq)__value); + setReq((ListZonesReq)__value); } break; @@ -36579,9 +34965,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof renameZone_args)) + if (!(_that instanceof listZones_args)) return false; - renameZone_args that = (renameZone_args)_that; + listZones_args that = (listZones_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -36594,7 +34980,7 @@ public int hashCode() { } @Override - public int compareTo(renameZone_args other) { + public int compareTo(listZones_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -36629,7 +35015,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new RenameZoneReq(); + this.req = new ListZonesReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -36671,7 +35057,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("renameZone_args"); + StringBuilder sb = new StringBuilder("listZones_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -36698,11 +35084,11 @@ public void validate() throws TException { } - public static class renameZone_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("renameZone_result"); + public static class listZones_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listZones_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ExecResp success; + public ListZonesResp success; public static final int SUCCESS = 0; // isset id assignments @@ -36712,19 +35098,19 @@ public static class renameZone_result implements TBase, java.io.Serializable, Cl static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ExecResp.class))); + new StructMetaData(TType.STRUCT, ListZonesResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(renameZone_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listZones_result.class, metaDataMap); } - public renameZone_result() { + public listZones_result() { } - public renameZone_result( - ExecResp success) { + public listZones_result( + ListZonesResp success) { this(); this.success = success; } @@ -36732,21 +35118,21 @@ public renameZone_result( /** * Performs a deep copy on other. */ - public renameZone_result(renameZone_result other) { + public listZones_result(listZones_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public renameZone_result deepCopy() { - return new renameZone_result(this); + public listZones_result deepCopy() { + return new listZones_result(this); } - public ExecResp getSuccess() { + public ListZonesResp getSuccess() { return this.success; } - public renameZone_result setSuccess(ExecResp success) { + public listZones_result setSuccess(ListZonesResp success) { this.success = success; return this; } @@ -36772,7 +35158,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ExecResp)__value); + setSuccess((ListZonesResp)__value); } break; @@ -36797,9 +35183,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof renameZone_result)) + if (!(_that instanceof listZones_result)) return false; - renameZone_result that = (renameZone_result)_that; + listZones_result that = (listZones_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -36812,7 +35198,7 @@ public int hashCode() { } @Override - public int compareTo(renameZone_result other) { + public int compareTo(listZones_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -36847,7 +35233,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ExecResp(); + this.success = new ListZonesResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -36888,7 +35274,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("renameZone_result"); + StringBuilder sb = new StringBuilder("listZones_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -36915,11 +35301,11 @@ public void validate() throws TException { } - public static class getZone_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("getZone_args"); + public static class addListener_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("addListener_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public GetZoneReq req; + public AddListenerReq req; public static final int REQ = 1; // isset id assignments @@ -36929,19 +35315,19 @@ public static class getZone_args implements TBase, java.io.Serializable, Cloneab static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, GetZoneReq.class))); + new StructMetaData(TType.STRUCT, AddListenerReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(getZone_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(addListener_args.class, metaDataMap); } - public getZone_args() { + public addListener_args() { } - public getZone_args( - GetZoneReq req) { + public addListener_args( + AddListenerReq req) { this(); this.req = req; } @@ -36949,21 +35335,21 @@ public getZone_args( /** * Performs a deep copy on other. */ - public getZone_args(getZone_args other) { + public addListener_args(addListener_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public getZone_args deepCopy() { - return new getZone_args(this); + public addListener_args deepCopy() { + return new addListener_args(this); } - public GetZoneReq getReq() { + public AddListenerReq getReq() { return this.req; } - public getZone_args setReq(GetZoneReq req) { + public addListener_args setReq(AddListenerReq req) { this.req = req; return this; } @@ -36989,7 +35375,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((GetZoneReq)__value); + setReq((AddListenerReq)__value); } break; @@ -37014,9 +35400,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof getZone_args)) + if (!(_that instanceof addListener_args)) return false; - getZone_args that = (getZone_args)_that; + addListener_args that = (addListener_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -37029,7 +35415,7 @@ public int hashCode() { } @Override - public int compareTo(getZone_args other) { + public int compareTo(addListener_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -37064,7 +35450,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new GetZoneReq(); + this.req = new AddListenerReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -37106,7 +35492,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("getZone_args"); + StringBuilder sb = new StringBuilder("addListener_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -37133,11 +35519,11 @@ public void validate() throws TException { } - public static class getZone_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("getZone_result"); + public static class addListener_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("addListener_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public GetZoneResp success; + public ExecResp success; public static final int SUCCESS = 0; // isset id assignments @@ -37147,19 +35533,19 @@ public static class getZone_result implements TBase, java.io.Serializable, Clone static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, GetZoneResp.class))); + new StructMetaData(TType.STRUCT, ExecResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(getZone_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(addListener_result.class, metaDataMap); } - public getZone_result() { + public addListener_result() { } - public getZone_result( - GetZoneResp success) { + public addListener_result( + ExecResp success) { this(); this.success = success; } @@ -37167,21 +35553,21 @@ public getZone_result( /** * Performs a deep copy on other. */ - public getZone_result(getZone_result other) { + public addListener_result(addListener_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public getZone_result deepCopy() { - return new getZone_result(this); + public addListener_result deepCopy() { + return new addListener_result(this); } - public GetZoneResp getSuccess() { + public ExecResp getSuccess() { return this.success; } - public getZone_result setSuccess(GetZoneResp success) { + public addListener_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -37207,7 +35593,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((GetZoneResp)__value); + setSuccess((ExecResp)__value); } break; @@ -37232,9 +35618,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof getZone_result)) + if (!(_that instanceof addListener_result)) return false; - getZone_result that = (getZone_result)_that; + addListener_result that = (addListener_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -37247,7 +35633,7 @@ public int hashCode() { } @Override - public int compareTo(getZone_result other) { + public int compareTo(addListener_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -37282,7 +35668,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new GetZoneResp(); + this.success = new ExecResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -37323,7 +35709,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("getZone_result"); + StringBuilder sb = new StringBuilder("addListener_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -37350,11 +35736,11 @@ public void validate() throws TException { } - public static class listZones_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listZones_args"); + public static class removeListener_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("removeListener_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public ListZonesReq req; + public RemoveListenerReq req; public static final int REQ = 1; // isset id assignments @@ -37364,19 +35750,19 @@ public static class listZones_args implements TBase, java.io.Serializable, Clone static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListZonesReq.class))); + new StructMetaData(TType.STRUCT, RemoveListenerReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listZones_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(removeListener_args.class, metaDataMap); } - public listZones_args() { + public removeListener_args() { } - public listZones_args( - ListZonesReq req) { + public removeListener_args( + RemoveListenerReq req) { this(); this.req = req; } @@ -37384,21 +35770,21 @@ public listZones_args( /** * Performs a deep copy on other. */ - public listZones_args(listZones_args other) { + public removeListener_args(removeListener_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public listZones_args deepCopy() { - return new listZones_args(this); + public removeListener_args deepCopy() { + return new removeListener_args(this); } - public ListZonesReq getReq() { + public RemoveListenerReq getReq() { return this.req; } - public listZones_args setReq(ListZonesReq req) { + public removeListener_args setReq(RemoveListenerReq req) { this.req = req; return this; } @@ -37424,7 +35810,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((ListZonesReq)__value); + setReq((RemoveListenerReq)__value); } break; @@ -37449,9 +35835,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listZones_args)) + if (!(_that instanceof removeListener_args)) return false; - listZones_args that = (listZones_args)_that; + removeListener_args that = (removeListener_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -37464,7 +35850,7 @@ public int hashCode() { } @Override - public int compareTo(listZones_args other) { + public int compareTo(removeListener_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -37499,7 +35885,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new ListZonesReq(); + this.req = new RemoveListenerReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -37541,7 +35927,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listZones_args"); + StringBuilder sb = new StringBuilder("removeListener_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -37568,11 +35954,11 @@ public void validate() throws TException { } - public static class listZones_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listZones_result"); + public static class removeListener_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("removeListener_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ListZonesResp success; + public ExecResp success; public static final int SUCCESS = 0; // isset id assignments @@ -37582,19 +35968,19 @@ public static class listZones_result implements TBase, java.io.Serializable, Clo static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListZonesResp.class))); + new StructMetaData(TType.STRUCT, ExecResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listZones_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(removeListener_result.class, metaDataMap); } - public listZones_result() { + public removeListener_result() { } - public listZones_result( - ListZonesResp success) { + public removeListener_result( + ExecResp success) { this(); this.success = success; } @@ -37602,21 +35988,21 @@ public listZones_result( /** * Performs a deep copy on other. */ - public listZones_result(listZones_result other) { + public removeListener_result(removeListener_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public listZones_result deepCopy() { - return new listZones_result(this); + public removeListener_result deepCopy() { + return new removeListener_result(this); } - public ListZonesResp getSuccess() { + public ExecResp getSuccess() { return this.success; } - public listZones_result setSuccess(ListZonesResp success) { + public removeListener_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -37642,7 +36028,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ListZonesResp)__value); + setSuccess((ExecResp)__value); } break; @@ -37667,9 +36053,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listZones_result)) + if (!(_that instanceof removeListener_result)) return false; - listZones_result that = (listZones_result)_that; + removeListener_result that = (removeListener_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -37682,7 +36068,7 @@ public int hashCode() { } @Override - public int compareTo(listZones_result other) { + public int compareTo(removeListener_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -37717,7 +36103,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ListZonesResp(); + this.success = new ExecResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -37758,7 +36144,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listZones_result"); + StringBuilder sb = new StringBuilder("removeListener_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -37785,11 +36171,11 @@ public void validate() throws TException { } - public static class addListener_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("addListener_args"); + public static class listListener_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listListener_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public AddListenerReq req; + public ListListenerReq req; public static final int REQ = 1; // isset id assignments @@ -37799,19 +36185,19 @@ public static class addListener_args implements TBase, java.io.Serializable, Clo static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, AddListenerReq.class))); + new StructMetaData(TType.STRUCT, ListListenerReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(addListener_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listListener_args.class, metaDataMap); } - public addListener_args() { + public listListener_args() { } - public addListener_args( - AddListenerReq req) { + public listListener_args( + ListListenerReq req) { this(); this.req = req; } @@ -37819,21 +36205,21 @@ public addListener_args( /** * Performs a deep copy on other. */ - public addListener_args(addListener_args other) { + public listListener_args(listListener_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public addListener_args deepCopy() { - return new addListener_args(this); + public listListener_args deepCopy() { + return new listListener_args(this); } - public AddListenerReq getReq() { + public ListListenerReq getReq() { return this.req; } - public addListener_args setReq(AddListenerReq req) { + public listListener_args setReq(ListListenerReq req) { this.req = req; return this; } @@ -37859,7 +36245,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((AddListenerReq)__value); + setReq((ListListenerReq)__value); } break; @@ -37884,9 +36270,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof addListener_args)) + if (!(_that instanceof listListener_args)) return false; - addListener_args that = (addListener_args)_that; + listListener_args that = (listListener_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -37899,7 +36285,7 @@ public int hashCode() { } @Override - public int compareTo(addListener_args other) { + public int compareTo(listListener_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -37934,7 +36320,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new AddListenerReq(); + this.req = new ListListenerReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -37976,7 +36362,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("addListener_args"); + StringBuilder sb = new StringBuilder("listListener_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -38003,11 +36389,11 @@ public void validate() throws TException { } - public static class addListener_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("addListener_result"); + public static class listListener_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listListener_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ExecResp success; + public ListListenerResp success; public static final int SUCCESS = 0; // isset id assignments @@ -38017,19 +36403,19 @@ public static class addListener_result implements TBase, java.io.Serializable, C static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ExecResp.class))); + new StructMetaData(TType.STRUCT, ListListenerResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(addListener_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listListener_result.class, metaDataMap); } - public addListener_result() { + public listListener_result() { } - public addListener_result( - ExecResp success) { + public listListener_result( + ListListenerResp success) { this(); this.success = success; } @@ -38037,21 +36423,21 @@ public addListener_result( /** * Performs a deep copy on other. */ - public addListener_result(addListener_result other) { + public listListener_result(listListener_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public addListener_result deepCopy() { - return new addListener_result(this); + public listListener_result deepCopy() { + return new listListener_result(this); } - public ExecResp getSuccess() { + public ListListenerResp getSuccess() { return this.success; } - public addListener_result setSuccess(ExecResp success) { + public listListener_result setSuccess(ListListenerResp success) { this.success = success; return this; } @@ -38077,7 +36463,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ExecResp)__value); + setSuccess((ListListenerResp)__value); } break; @@ -38102,9 +36488,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof addListener_result)) + if (!(_that instanceof listListener_result)) return false; - addListener_result that = (addListener_result)_that; + listListener_result that = (listListener_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -38117,7 +36503,7 @@ public int hashCode() { } @Override - public int compareTo(addListener_result other) { + public int compareTo(listListener_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -38152,7 +36538,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ExecResp(); + this.success = new ListListenerResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -38193,7 +36579,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("addListener_result"); + StringBuilder sb = new StringBuilder("listListener_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -38220,11 +36606,11 @@ public void validate() throws TException { } - public static class removeListener_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("removeListener_args"); + public static class getStats_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("getStats_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public RemoveListenerReq req; + public GetStatsReq req; public static final int REQ = 1; // isset id assignments @@ -38234,19 +36620,19 @@ public static class removeListener_args implements TBase, java.io.Serializable, static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, RemoveListenerReq.class))); + new StructMetaData(TType.STRUCT, GetStatsReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(removeListener_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(getStats_args.class, metaDataMap); } - public removeListener_args() { + public getStats_args() { } - public removeListener_args( - RemoveListenerReq req) { + public getStats_args( + GetStatsReq req) { this(); this.req = req; } @@ -38254,21 +36640,21 @@ public removeListener_args( /** * Performs a deep copy on other. */ - public removeListener_args(removeListener_args other) { + public getStats_args(getStats_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public removeListener_args deepCopy() { - return new removeListener_args(this); + public getStats_args deepCopy() { + return new getStats_args(this); } - public RemoveListenerReq getReq() { + public GetStatsReq getReq() { return this.req; } - public removeListener_args setReq(RemoveListenerReq req) { + public getStats_args setReq(GetStatsReq req) { this.req = req; return this; } @@ -38294,7 +36680,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((RemoveListenerReq)__value); + setReq((GetStatsReq)__value); } break; @@ -38319,9 +36705,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof removeListener_args)) + if (!(_that instanceof getStats_args)) return false; - removeListener_args that = (removeListener_args)_that; + getStats_args that = (getStats_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -38334,7 +36720,7 @@ public int hashCode() { } @Override - public int compareTo(removeListener_args other) { + public int compareTo(getStats_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -38369,7 +36755,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new RemoveListenerReq(); + this.req = new GetStatsReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -38411,7 +36797,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("removeListener_args"); + StringBuilder sb = new StringBuilder("getStats_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -38438,11 +36824,11 @@ public void validate() throws TException { } - public static class removeListener_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("removeListener_result"); + public static class getStats_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("getStats_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ExecResp success; + public GetStatsResp success; public static final int SUCCESS = 0; // isset id assignments @@ -38452,19 +36838,19 @@ public static class removeListener_result implements TBase, java.io.Serializable static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ExecResp.class))); + new StructMetaData(TType.STRUCT, GetStatsResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(removeListener_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(getStats_result.class, metaDataMap); } - public removeListener_result() { + public getStats_result() { } - public removeListener_result( - ExecResp success) { + public getStats_result( + GetStatsResp success) { this(); this.success = success; } @@ -38472,21 +36858,21 @@ public removeListener_result( /** * Performs a deep copy on other. */ - public removeListener_result(removeListener_result other) { + public getStats_result(getStats_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public removeListener_result deepCopy() { - return new removeListener_result(this); + public getStats_result deepCopy() { + return new getStats_result(this); } - public ExecResp getSuccess() { + public GetStatsResp getSuccess() { return this.success; } - public removeListener_result setSuccess(ExecResp success) { + public getStats_result setSuccess(GetStatsResp success) { this.success = success; return this; } @@ -38512,7 +36898,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ExecResp)__value); + setSuccess((GetStatsResp)__value); } break; @@ -38537,9 +36923,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof removeListener_result)) + if (!(_that instanceof getStats_result)) return false; - removeListener_result that = (removeListener_result)_that; + getStats_result that = (getStats_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -38552,7 +36938,7 @@ public int hashCode() { } @Override - public int compareTo(removeListener_result other) { + public int compareTo(getStats_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -38587,7 +36973,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ExecResp(); + this.success = new GetStatsResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -38628,7 +37014,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("removeListener_result"); + StringBuilder sb = new StringBuilder("getStats_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -38655,11 +37041,11 @@ public void validate() throws TException { } - public static class listListener_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listListener_args"); + public static class signInService_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("signInService_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public ListListenerReq req; + public SignInServiceReq req; public static final int REQ = 1; // isset id assignments @@ -38669,19 +37055,19 @@ public static class listListener_args implements TBase, java.io.Serializable, Cl static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListListenerReq.class))); + new StructMetaData(TType.STRUCT, SignInServiceReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listListener_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(signInService_args.class, metaDataMap); } - public listListener_args() { + public signInService_args() { } - public listListener_args( - ListListenerReq req) { + public signInService_args( + SignInServiceReq req) { this(); this.req = req; } @@ -38689,21 +37075,21 @@ public listListener_args( /** * Performs a deep copy on other. */ - public listListener_args(listListener_args other) { + public signInService_args(signInService_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public listListener_args deepCopy() { - return new listListener_args(this); + public signInService_args deepCopy() { + return new signInService_args(this); } - public ListListenerReq getReq() { + public SignInServiceReq getReq() { return this.req; } - public listListener_args setReq(ListListenerReq req) { + public signInService_args setReq(SignInServiceReq req) { this.req = req; return this; } @@ -38729,7 +37115,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((ListListenerReq)__value); + setReq((SignInServiceReq)__value); } break; @@ -38754,9 +37140,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listListener_args)) + if (!(_that instanceof signInService_args)) return false; - listListener_args that = (listListener_args)_that; + signInService_args that = (signInService_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -38769,7 +37155,7 @@ public int hashCode() { } @Override - public int compareTo(listListener_args other) { + public int compareTo(signInService_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -38804,7 +37190,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new ListListenerReq(); + this.req = new SignInServiceReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -38846,7 +37232,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listListener_args"); + StringBuilder sb = new StringBuilder("signInService_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -38873,11 +37259,11 @@ public void validate() throws TException { } - public static class listListener_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listListener_result"); + public static class signInService_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("signInService_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ListListenerResp success; + public ExecResp success; public static final int SUCCESS = 0; // isset id assignments @@ -38887,19 +37273,19 @@ public static class listListener_result implements TBase, java.io.Serializable, static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListListenerResp.class))); + new StructMetaData(TType.STRUCT, ExecResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listListener_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(signInService_result.class, metaDataMap); } - public listListener_result() { + public signInService_result() { } - public listListener_result( - ListListenerResp success) { + public signInService_result( + ExecResp success) { this(); this.success = success; } @@ -38907,21 +37293,21 @@ public listListener_result( /** * Performs a deep copy on other. */ - public listListener_result(listListener_result other) { + public signInService_result(signInService_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public listListener_result deepCopy() { - return new listListener_result(this); + public signInService_result deepCopy() { + return new signInService_result(this); } - public ListListenerResp getSuccess() { + public ExecResp getSuccess() { return this.success; } - public listListener_result setSuccess(ListListenerResp success) { + public signInService_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -38947,7 +37333,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ListListenerResp)__value); + setSuccess((ExecResp)__value); } break; @@ -38972,9 +37358,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listListener_result)) + if (!(_that instanceof signInService_result)) return false; - listListener_result that = (listListener_result)_that; + signInService_result that = (signInService_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -38987,7 +37373,7 @@ public int hashCode() { } @Override - public int compareTo(listListener_result other) { + public int compareTo(signInService_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -39022,7 +37408,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ListListenerResp(); + this.success = new ExecResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -39063,7 +37449,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listListener_result"); + StringBuilder sb = new StringBuilder("signInService_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -39090,11 +37476,11 @@ public void validate() throws TException { } - public static class getStats_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("getStats_args"); + public static class signOutService_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("signOutService_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public GetStatsReq req; + public SignOutServiceReq req; public static final int REQ = 1; // isset id assignments @@ -39104,19 +37490,19 @@ public static class getStats_args implements TBase, java.io.Serializable, Clonea static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, GetStatsReq.class))); + new StructMetaData(TType.STRUCT, SignOutServiceReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(getStats_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(signOutService_args.class, metaDataMap); } - public getStats_args() { + public signOutService_args() { } - public getStats_args( - GetStatsReq req) { + public signOutService_args( + SignOutServiceReq req) { this(); this.req = req; } @@ -39124,21 +37510,21 @@ public getStats_args( /** * Performs a deep copy on other. */ - public getStats_args(getStats_args other) { + public signOutService_args(signOutService_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public getStats_args deepCopy() { - return new getStats_args(this); + public signOutService_args deepCopy() { + return new signOutService_args(this); } - public GetStatsReq getReq() { + public SignOutServiceReq getReq() { return this.req; } - public getStats_args setReq(GetStatsReq req) { + public signOutService_args setReq(SignOutServiceReq req) { this.req = req; return this; } @@ -39164,7 +37550,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((GetStatsReq)__value); + setReq((SignOutServiceReq)__value); } break; @@ -39189,9 +37575,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof getStats_args)) + if (!(_that instanceof signOutService_args)) return false; - getStats_args that = (getStats_args)_that; + signOutService_args that = (signOutService_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -39204,7 +37590,7 @@ public int hashCode() { } @Override - public int compareTo(getStats_args other) { + public int compareTo(signOutService_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -39239,7 +37625,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new GetStatsReq(); + this.req = new SignOutServiceReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -39281,7 +37667,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("getStats_args"); + StringBuilder sb = new StringBuilder("signOutService_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -39308,11 +37694,11 @@ public void validate() throws TException { } - public static class getStats_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("getStats_result"); + public static class signOutService_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("signOutService_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public GetStatsResp success; + public ExecResp success; public static final int SUCCESS = 0; // isset id assignments @@ -39322,19 +37708,19 @@ public static class getStats_result implements TBase, java.io.Serializable, Clon static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, GetStatsResp.class))); + new StructMetaData(TType.STRUCT, ExecResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(getStats_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(signOutService_result.class, metaDataMap); } - public getStats_result() { + public signOutService_result() { } - public getStats_result( - GetStatsResp success) { + public signOutService_result( + ExecResp success) { this(); this.success = success; } @@ -39342,21 +37728,21 @@ public getStats_result( /** * Performs a deep copy on other. */ - public getStats_result(getStats_result other) { + public signOutService_result(signOutService_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public getStats_result deepCopy() { - return new getStats_result(this); + public signOutService_result deepCopy() { + return new signOutService_result(this); } - public GetStatsResp getSuccess() { + public ExecResp getSuccess() { return this.success; } - public getStats_result setSuccess(GetStatsResp success) { + public signOutService_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -39382,7 +37768,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((GetStatsResp)__value); + setSuccess((ExecResp)__value); } break; @@ -39407,9 +37793,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof getStats_result)) + if (!(_that instanceof signOutService_result)) return false; - getStats_result that = (getStats_result)_that; + signOutService_result that = (signOutService_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -39422,7 +37808,7 @@ public int hashCode() { } @Override - public int compareTo(getStats_result other) { + public int compareTo(signOutService_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -39457,7 +37843,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new GetStatsResp(); + this.success = new ExecResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -39498,7 +37884,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("getStats_result"); + StringBuilder sb = new StringBuilder("signOutService_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -39525,11 +37911,11 @@ public void validate() throws TException { } - public static class signInService_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("signInService_args"); + public static class listServiceClients_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listServiceClients_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public SignInServiceReq req; + public ListServiceClientsReq req; public static final int REQ = 1; // isset id assignments @@ -39539,19 +37925,19 @@ public static class signInService_args implements TBase, java.io.Serializable, C static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, SignInServiceReq.class))); + new StructMetaData(TType.STRUCT, ListServiceClientsReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(signInService_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listServiceClients_args.class, metaDataMap); } - public signInService_args() { + public listServiceClients_args() { } - public signInService_args( - SignInServiceReq req) { + public listServiceClients_args( + ListServiceClientsReq req) { this(); this.req = req; } @@ -39559,21 +37945,21 @@ public signInService_args( /** * Performs a deep copy on other. */ - public signInService_args(signInService_args other) { + public listServiceClients_args(listServiceClients_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public signInService_args deepCopy() { - return new signInService_args(this); + public listServiceClients_args deepCopy() { + return new listServiceClients_args(this); } - public SignInServiceReq getReq() { + public ListServiceClientsReq getReq() { return this.req; } - public signInService_args setReq(SignInServiceReq req) { + public listServiceClients_args setReq(ListServiceClientsReq req) { this.req = req; return this; } @@ -39599,7 +37985,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((SignInServiceReq)__value); + setReq((ListServiceClientsReq)__value); } break; @@ -39624,9 +38010,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof signInService_args)) + if (!(_that instanceof listServiceClients_args)) return false; - signInService_args that = (signInService_args)_that; + listServiceClients_args that = (listServiceClients_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -39639,7 +38025,7 @@ public int hashCode() { } @Override - public int compareTo(signInService_args other) { + public int compareTo(listServiceClients_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -39674,7 +38060,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new SignInServiceReq(); + this.req = new ListServiceClientsReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -39716,7 +38102,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("signInService_args"); + StringBuilder sb = new StringBuilder("listServiceClients_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -39743,11 +38129,11 @@ public void validate() throws TException { } - public static class signInService_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("signInService_result"); + public static class listServiceClients_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listServiceClients_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ExecResp success; + public ListServiceClientsResp success; public static final int SUCCESS = 0; // isset id assignments @@ -39757,19 +38143,19 @@ public static class signInService_result implements TBase, java.io.Serializable, static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ExecResp.class))); + new StructMetaData(TType.STRUCT, ListServiceClientsResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(signInService_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listServiceClients_result.class, metaDataMap); } - public signInService_result() { + public listServiceClients_result() { } - public signInService_result( - ExecResp success) { + public listServiceClients_result( + ListServiceClientsResp success) { this(); this.success = success; } @@ -39777,21 +38163,21 @@ public signInService_result( /** * Performs a deep copy on other. */ - public signInService_result(signInService_result other) { + public listServiceClients_result(listServiceClients_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public signInService_result deepCopy() { - return new signInService_result(this); + public listServiceClients_result deepCopy() { + return new listServiceClients_result(this); } - public ExecResp getSuccess() { + public ListServiceClientsResp getSuccess() { return this.success; } - public signInService_result setSuccess(ExecResp success) { + public listServiceClients_result setSuccess(ListServiceClientsResp success) { this.success = success; return this; } @@ -39817,7 +38203,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ExecResp)__value); + setSuccess((ListServiceClientsResp)__value); } break; @@ -39842,9 +38228,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof signInService_result)) + if (!(_that instanceof listServiceClients_result)) return false; - signInService_result that = (signInService_result)_that; + listServiceClients_result that = (listServiceClients_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -39857,7 +38243,7 @@ public int hashCode() { } @Override - public int compareTo(signInService_result other) { + public int compareTo(listServiceClients_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -39892,7 +38278,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ExecResp(); + this.success = new ListServiceClientsResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -39933,7 +38319,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("signInService_result"); + StringBuilder sb = new StringBuilder("listServiceClients_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -39960,11 +38346,11 @@ public void validate() throws TException { } - public static class signOutService_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("signOutService_args"); + public static class createFTIndex_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("createFTIndex_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public SignOutServiceReq req; + public CreateFTIndexReq req; public static final int REQ = 1; // isset id assignments @@ -39974,19 +38360,19 @@ public static class signOutService_args implements TBase, java.io.Serializable, static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, SignOutServiceReq.class))); + new StructMetaData(TType.STRUCT, CreateFTIndexReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(signOutService_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(createFTIndex_args.class, metaDataMap); } - public signOutService_args() { + public createFTIndex_args() { } - public signOutService_args( - SignOutServiceReq req) { + public createFTIndex_args( + CreateFTIndexReq req) { this(); this.req = req; } @@ -39994,21 +38380,21 @@ public signOutService_args( /** * Performs a deep copy on other. */ - public signOutService_args(signOutService_args other) { + public createFTIndex_args(createFTIndex_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public signOutService_args deepCopy() { - return new signOutService_args(this); + public createFTIndex_args deepCopy() { + return new createFTIndex_args(this); } - public SignOutServiceReq getReq() { + public CreateFTIndexReq getReq() { return this.req; } - public signOutService_args setReq(SignOutServiceReq req) { + public createFTIndex_args setReq(CreateFTIndexReq req) { this.req = req; return this; } @@ -40034,7 +38420,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((SignOutServiceReq)__value); + setReq((CreateFTIndexReq)__value); } break; @@ -40059,9 +38445,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof signOutService_args)) + if (!(_that instanceof createFTIndex_args)) return false; - signOutService_args that = (signOutService_args)_that; + createFTIndex_args that = (createFTIndex_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -40074,7 +38460,7 @@ public int hashCode() { } @Override - public int compareTo(signOutService_args other) { + public int compareTo(createFTIndex_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -40109,7 +38495,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new SignOutServiceReq(); + this.req = new CreateFTIndexReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -40151,7 +38537,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("signOutService_args"); + StringBuilder sb = new StringBuilder("createFTIndex_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -40178,8 +38564,8 @@ public void validate() throws TException { } - public static class signOutService_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("signOutService_result"); + public static class createFTIndex_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("createFTIndex_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); public ExecResp success; @@ -40197,13 +38583,13 @@ public static class signOutService_result implements TBase, java.io.Serializable } static { - FieldMetaData.addStructMetaDataMap(signOutService_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(createFTIndex_result.class, metaDataMap); } - public signOutService_result() { + public createFTIndex_result() { } - public signOutService_result( + public createFTIndex_result( ExecResp success) { this(); this.success = success; @@ -40212,21 +38598,21 @@ public signOutService_result( /** * Performs a deep copy on other. */ - public signOutService_result(signOutService_result other) { + public createFTIndex_result(createFTIndex_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public signOutService_result deepCopy() { - return new signOutService_result(this); + public createFTIndex_result deepCopy() { + return new createFTIndex_result(this); } public ExecResp getSuccess() { return this.success; } - public signOutService_result setSuccess(ExecResp success) { + public createFTIndex_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -40277,9 +38663,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof signOutService_result)) + if (!(_that instanceof createFTIndex_result)) return false; - signOutService_result that = (signOutService_result)_that; + createFTIndex_result that = (createFTIndex_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -40292,7 +38678,7 @@ public int hashCode() { } @Override - public int compareTo(signOutService_result other) { + public int compareTo(createFTIndex_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -40368,7 +38754,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("signOutService_result"); + StringBuilder sb = new StringBuilder("createFTIndex_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -40395,11 +38781,11 @@ public void validate() throws TException { } - public static class listServiceClients_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listServiceClients_args"); + public static class dropFTIndex_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("dropFTIndex_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public ListServiceClientsReq req; + public DropFTIndexReq req; public static final int REQ = 1; // isset id assignments @@ -40409,19 +38795,19 @@ public static class listServiceClients_args implements TBase, java.io.Serializab static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListServiceClientsReq.class))); + new StructMetaData(TType.STRUCT, DropFTIndexReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listServiceClients_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(dropFTIndex_args.class, metaDataMap); } - public listServiceClients_args() { + public dropFTIndex_args() { } - public listServiceClients_args( - ListServiceClientsReq req) { + public dropFTIndex_args( + DropFTIndexReq req) { this(); this.req = req; } @@ -40429,21 +38815,21 @@ public listServiceClients_args( /** * Performs a deep copy on other. */ - public listServiceClients_args(listServiceClients_args other) { + public dropFTIndex_args(dropFTIndex_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public listServiceClients_args deepCopy() { - return new listServiceClients_args(this); + public dropFTIndex_args deepCopy() { + return new dropFTIndex_args(this); } - public ListServiceClientsReq getReq() { + public DropFTIndexReq getReq() { return this.req; } - public listServiceClients_args setReq(ListServiceClientsReq req) { + public dropFTIndex_args setReq(DropFTIndexReq req) { this.req = req; return this; } @@ -40469,7 +38855,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((ListServiceClientsReq)__value); + setReq((DropFTIndexReq)__value); } break; @@ -40494,9 +38880,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listServiceClients_args)) + if (!(_that instanceof dropFTIndex_args)) return false; - listServiceClients_args that = (listServiceClients_args)_that; + dropFTIndex_args that = (dropFTIndex_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -40509,7 +38895,7 @@ public int hashCode() { } @Override - public int compareTo(listServiceClients_args other) { + public int compareTo(dropFTIndex_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -40544,7 +38930,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new ListServiceClientsReq(); + this.req = new DropFTIndexReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -40586,7 +38972,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listServiceClients_args"); + StringBuilder sb = new StringBuilder("dropFTIndex_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -40613,11 +38999,11 @@ public void validate() throws TException { } - public static class listServiceClients_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listServiceClients_result"); + public static class dropFTIndex_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("dropFTIndex_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ListServiceClientsResp success; + public ExecResp success; public static final int SUCCESS = 0; // isset id assignments @@ -40627,19 +39013,19 @@ public static class listServiceClients_result implements TBase, java.io.Serializ static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListServiceClientsResp.class))); + new StructMetaData(TType.STRUCT, ExecResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listServiceClients_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(dropFTIndex_result.class, metaDataMap); } - public listServiceClients_result() { + public dropFTIndex_result() { } - public listServiceClients_result( - ListServiceClientsResp success) { + public dropFTIndex_result( + ExecResp success) { this(); this.success = success; } @@ -40647,21 +39033,21 @@ public listServiceClients_result( /** * Performs a deep copy on other. */ - public listServiceClients_result(listServiceClients_result other) { + public dropFTIndex_result(dropFTIndex_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public listServiceClients_result deepCopy() { - return new listServiceClients_result(this); + public dropFTIndex_result deepCopy() { + return new dropFTIndex_result(this); } - public ListServiceClientsResp getSuccess() { + public ExecResp getSuccess() { return this.success; } - public listServiceClients_result setSuccess(ListServiceClientsResp success) { + public dropFTIndex_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -40687,7 +39073,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ListServiceClientsResp)__value); + setSuccess((ExecResp)__value); } break; @@ -40712,9 +39098,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listServiceClients_result)) + if (!(_that instanceof dropFTIndex_result)) return false; - listServiceClients_result that = (listServiceClients_result)_that; + dropFTIndex_result that = (dropFTIndex_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -40727,7 +39113,7 @@ public int hashCode() { } @Override - public int compareTo(listServiceClients_result other) { + public int compareTo(dropFTIndex_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -40762,7 +39148,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ListServiceClientsResp(); + this.success = new ExecResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -40803,7 +39189,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listServiceClients_result"); + StringBuilder sb = new StringBuilder("dropFTIndex_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -40830,11 +39216,11 @@ public void validate() throws TException { } - public static class createFTIndex_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("createFTIndex_args"); + public static class listFTIndexes_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listFTIndexes_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public CreateFTIndexReq req; + public ListFTIndexesReq req; public static final int REQ = 1; // isset id assignments @@ -40844,19 +39230,19 @@ public static class createFTIndex_args implements TBase, java.io.Serializable, C static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, CreateFTIndexReq.class))); + new StructMetaData(TType.STRUCT, ListFTIndexesReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(createFTIndex_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listFTIndexes_args.class, metaDataMap); } - public createFTIndex_args() { + public listFTIndexes_args() { } - public createFTIndex_args( - CreateFTIndexReq req) { + public listFTIndexes_args( + ListFTIndexesReq req) { this(); this.req = req; } @@ -40864,21 +39250,21 @@ public createFTIndex_args( /** * Performs a deep copy on other. */ - public createFTIndex_args(createFTIndex_args other) { + public listFTIndexes_args(listFTIndexes_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public createFTIndex_args deepCopy() { - return new createFTIndex_args(this); + public listFTIndexes_args deepCopy() { + return new listFTIndexes_args(this); } - public CreateFTIndexReq getReq() { + public ListFTIndexesReq getReq() { return this.req; } - public createFTIndex_args setReq(CreateFTIndexReq req) { + public listFTIndexes_args setReq(ListFTIndexesReq req) { this.req = req; return this; } @@ -40904,7 +39290,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((CreateFTIndexReq)__value); + setReq((ListFTIndexesReq)__value); } break; @@ -40929,9 +39315,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof createFTIndex_args)) + if (!(_that instanceof listFTIndexes_args)) return false; - createFTIndex_args that = (createFTIndex_args)_that; + listFTIndexes_args that = (listFTIndexes_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -40944,7 +39330,7 @@ public int hashCode() { } @Override - public int compareTo(createFTIndex_args other) { + public int compareTo(listFTIndexes_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -40979,7 +39365,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new CreateFTIndexReq(); + this.req = new ListFTIndexesReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -41021,7 +39407,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("createFTIndex_args"); + StringBuilder sb = new StringBuilder("listFTIndexes_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -41048,11 +39434,11 @@ public void validate() throws TException { } - public static class createFTIndex_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("createFTIndex_result"); + public static class listFTIndexes_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listFTIndexes_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ExecResp success; + public ListFTIndexesResp success; public static final int SUCCESS = 0; // isset id assignments @@ -41062,19 +39448,19 @@ public static class createFTIndex_result implements TBase, java.io.Serializable, static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ExecResp.class))); + new StructMetaData(TType.STRUCT, ListFTIndexesResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(createFTIndex_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listFTIndexes_result.class, metaDataMap); } - public createFTIndex_result() { + public listFTIndexes_result() { } - public createFTIndex_result( - ExecResp success) { + public listFTIndexes_result( + ListFTIndexesResp success) { this(); this.success = success; } @@ -41082,21 +39468,21 @@ public createFTIndex_result( /** * Performs a deep copy on other. */ - public createFTIndex_result(createFTIndex_result other) { + public listFTIndexes_result(listFTIndexes_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public createFTIndex_result deepCopy() { - return new createFTIndex_result(this); + public listFTIndexes_result deepCopy() { + return new listFTIndexes_result(this); } - public ExecResp getSuccess() { + public ListFTIndexesResp getSuccess() { return this.success; } - public createFTIndex_result setSuccess(ExecResp success) { + public listFTIndexes_result setSuccess(ListFTIndexesResp success) { this.success = success; return this; } @@ -41122,7 +39508,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ExecResp)__value); + setSuccess((ListFTIndexesResp)__value); } break; @@ -41147,9 +39533,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof createFTIndex_result)) + if (!(_that instanceof listFTIndexes_result)) return false; - createFTIndex_result that = (createFTIndex_result)_that; + listFTIndexes_result that = (listFTIndexes_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -41162,7 +39548,7 @@ public int hashCode() { } @Override - public int compareTo(createFTIndex_result other) { + public int compareTo(listFTIndexes_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -41197,7 +39583,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ExecResp(); + this.success = new ListFTIndexesResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -41238,7 +39624,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("createFTIndex_result"); + StringBuilder sb = new StringBuilder("listFTIndexes_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -41265,11 +39651,11 @@ public void validate() throws TException { } - public static class dropFTIndex_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("dropFTIndex_args"); + public static class createSession_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("createSession_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public DropFTIndexReq req; + public CreateSessionReq req; public static final int REQ = 1; // isset id assignments @@ -41279,19 +39665,19 @@ public static class dropFTIndex_args implements TBase, java.io.Serializable, Clo static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, DropFTIndexReq.class))); + new StructMetaData(TType.STRUCT, CreateSessionReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(dropFTIndex_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(createSession_args.class, metaDataMap); } - public dropFTIndex_args() { + public createSession_args() { } - public dropFTIndex_args( - DropFTIndexReq req) { + public createSession_args( + CreateSessionReq req) { this(); this.req = req; } @@ -41299,21 +39685,21 @@ public dropFTIndex_args( /** * Performs a deep copy on other. */ - public dropFTIndex_args(dropFTIndex_args other) { + public createSession_args(createSession_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public dropFTIndex_args deepCopy() { - return new dropFTIndex_args(this); + public createSession_args deepCopy() { + return new createSession_args(this); } - public DropFTIndexReq getReq() { + public CreateSessionReq getReq() { return this.req; } - public dropFTIndex_args setReq(DropFTIndexReq req) { + public createSession_args setReq(CreateSessionReq req) { this.req = req; return this; } @@ -41339,7 +39725,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((DropFTIndexReq)__value); + setReq((CreateSessionReq)__value); } break; @@ -41364,9 +39750,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof dropFTIndex_args)) + if (!(_that instanceof createSession_args)) return false; - dropFTIndex_args that = (dropFTIndex_args)_that; + createSession_args that = (createSession_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -41379,7 +39765,7 @@ public int hashCode() { } @Override - public int compareTo(dropFTIndex_args other) { + public int compareTo(createSession_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -41414,7 +39800,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new DropFTIndexReq(); + this.req = new CreateSessionReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -41456,7 +39842,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("dropFTIndex_args"); + StringBuilder sb = new StringBuilder("createSession_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -41483,11 +39869,11 @@ public void validate() throws TException { } - public static class dropFTIndex_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("dropFTIndex_result"); + public static class createSession_result implements TBase, java.io.Serializable, Cloneable { + private static final TStruct STRUCT_DESC = new TStruct("createSession_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ExecResp success; + public CreateSessionResp success; public static final int SUCCESS = 0; // isset id assignments @@ -41497,19 +39883,19 @@ public static class dropFTIndex_result implements TBase, java.io.Serializable, C static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ExecResp.class))); + new StructMetaData(TType.STRUCT, CreateSessionResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(dropFTIndex_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(createSession_result.class, metaDataMap); } - public dropFTIndex_result() { + public createSession_result() { } - public dropFTIndex_result( - ExecResp success) { + public createSession_result( + CreateSessionResp success) { this(); this.success = success; } @@ -41517,21 +39903,21 @@ public dropFTIndex_result( /** * Performs a deep copy on other. */ - public dropFTIndex_result(dropFTIndex_result other) { + public createSession_result(createSession_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public dropFTIndex_result deepCopy() { - return new dropFTIndex_result(this); + public createSession_result deepCopy() { + return new createSession_result(this); } - public ExecResp getSuccess() { + public CreateSessionResp getSuccess() { return this.success; } - public dropFTIndex_result setSuccess(ExecResp success) { + public createSession_result setSuccess(CreateSessionResp success) { this.success = success; return this; } @@ -41557,7 +39943,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ExecResp)__value); + setSuccess((CreateSessionResp)__value); } break; @@ -41582,9 +39968,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof dropFTIndex_result)) + if (!(_that instanceof createSession_result)) return false; - dropFTIndex_result that = (dropFTIndex_result)_that; + createSession_result that = (createSession_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -41596,29 +39982,6 @@ public int hashCode() { return Arrays.deepHashCode(new Object[] {success}); } - @Override - public int compareTo(dropFTIndex_result other) { - if (other == null) { - // See java.lang.Comparable docs - throw new NullPointerException(); - } - - if (other == this) { - return 0; - } - int lastComparison = 0; - - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = TBaseHelper.compareTo(success, other.success); - if (lastComparison != 0) { - return lastComparison; - } - return 0; - } - public void read(TProtocol iprot) throws TException { TField __field; iprot.readStructBegin(metaDataMap); @@ -41632,7 +39995,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ExecResp(); + this.success = new CreateSessionResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -41673,7 +40036,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("dropFTIndex_result"); + StringBuilder sb = new StringBuilder("createSession_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -41700,11 +40063,11 @@ public void validate() throws TException { } - public static class listFTIndexes_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listFTIndexes_args"); + public static class updateSessions_args implements TBase, java.io.Serializable, Cloneable { + private static final TStruct STRUCT_DESC = new TStruct("updateSessions_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public ListFTIndexesReq req; + public UpdateSessionsReq req; public static final int REQ = 1; // isset id assignments @@ -41714,19 +40077,19 @@ public static class listFTIndexes_args implements TBase, java.io.Serializable, C static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListFTIndexesReq.class))); + new StructMetaData(TType.STRUCT, UpdateSessionsReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listFTIndexes_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(updateSessions_args.class, metaDataMap); } - public listFTIndexes_args() { + public updateSessions_args() { } - public listFTIndexes_args( - ListFTIndexesReq req) { + public updateSessions_args( + UpdateSessionsReq req) { this(); this.req = req; } @@ -41734,21 +40097,21 @@ public listFTIndexes_args( /** * Performs a deep copy on other. */ - public listFTIndexes_args(listFTIndexes_args other) { + public updateSessions_args(updateSessions_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public listFTIndexes_args deepCopy() { - return new listFTIndexes_args(this); + public updateSessions_args deepCopy() { + return new updateSessions_args(this); } - public ListFTIndexesReq getReq() { + public UpdateSessionsReq getReq() { return this.req; } - public listFTIndexes_args setReq(ListFTIndexesReq req) { + public updateSessions_args setReq(UpdateSessionsReq req) { this.req = req; return this; } @@ -41774,7 +40137,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((ListFTIndexesReq)__value); + setReq((UpdateSessionsReq)__value); } break; @@ -41799,9 +40162,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listFTIndexes_args)) + if (!(_that instanceof updateSessions_args)) return false; - listFTIndexes_args that = (listFTIndexes_args)_that; + updateSessions_args that = (updateSessions_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -41813,29 +40176,6 @@ public int hashCode() { return Arrays.deepHashCode(new Object[] {req}); } - @Override - public int compareTo(listFTIndexes_args other) { - if (other == null) { - // See java.lang.Comparable docs - throw new NullPointerException(); - } - - if (other == this) { - return 0; - } - int lastComparison = 0; - - lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = TBaseHelper.compareTo(req, other.req); - if (lastComparison != 0) { - return lastComparison; - } - return 0; - } - public void read(TProtocol iprot) throws TException { TField __field; iprot.readStructBegin(metaDataMap); @@ -41849,7 +40189,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new ListFTIndexesReq(); + this.req = new UpdateSessionsReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -41891,7 +40231,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listFTIndexes_args"); + StringBuilder sb = new StringBuilder("updateSessions_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -41918,11 +40258,11 @@ public void validate() throws TException { } - public static class listFTIndexes_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listFTIndexes_result"); + public static class updateSessions_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("updateSessions_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ListFTIndexesResp success; + public UpdateSessionsResp success; public static final int SUCCESS = 0; // isset id assignments @@ -41932,19 +40272,19 @@ public static class listFTIndexes_result implements TBase, java.io.Serializable, static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListFTIndexesResp.class))); + new StructMetaData(TType.STRUCT, UpdateSessionsResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listFTIndexes_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(updateSessions_result.class, metaDataMap); } - public listFTIndexes_result() { + public updateSessions_result() { } - public listFTIndexes_result( - ListFTIndexesResp success) { + public updateSessions_result( + UpdateSessionsResp success) { this(); this.success = success; } @@ -41952,21 +40292,21 @@ public listFTIndexes_result( /** * Performs a deep copy on other. */ - public listFTIndexes_result(listFTIndexes_result other) { + public updateSessions_result(updateSessions_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public listFTIndexes_result deepCopy() { - return new listFTIndexes_result(this); + public updateSessions_result deepCopy() { + return new updateSessions_result(this); } - public ListFTIndexesResp getSuccess() { + public UpdateSessionsResp getSuccess() { return this.success; } - public listFTIndexes_result setSuccess(ListFTIndexesResp success) { + public updateSessions_result setSuccess(UpdateSessionsResp success) { this.success = success; return this; } @@ -41992,7 +40332,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ListFTIndexesResp)__value); + setSuccess((UpdateSessionsResp)__value); } break; @@ -42017,9 +40357,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listFTIndexes_result)) + if (!(_that instanceof updateSessions_result)) return false; - listFTIndexes_result that = (listFTIndexes_result)_that; + updateSessions_result that = (updateSessions_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -42032,7 +40372,7 @@ public int hashCode() { } @Override - public int compareTo(listFTIndexes_result other) { + public int compareTo(updateSessions_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -42067,7 +40407,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ListFTIndexesResp(); + this.success = new UpdateSessionsResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -42108,7 +40448,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listFTIndexes_result"); + StringBuilder sb = new StringBuilder("updateSessions_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -42135,11 +40475,11 @@ public void validate() throws TException { } - public static class createSession_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("createSession_args"); + public static class listSessions_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listSessions_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public CreateSessionReq req; + public ListSessionsReq req; public static final int REQ = 1; // isset id assignments @@ -42149,19 +40489,19 @@ public static class createSession_args implements TBase, java.io.Serializable, C static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, CreateSessionReq.class))); + new StructMetaData(TType.STRUCT, ListSessionsReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(createSession_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listSessions_args.class, metaDataMap); } - public createSession_args() { + public listSessions_args() { } - public createSession_args( - CreateSessionReq req) { + public listSessions_args( + ListSessionsReq req) { this(); this.req = req; } @@ -42169,21 +40509,21 @@ public createSession_args( /** * Performs a deep copy on other. */ - public createSession_args(createSession_args other) { + public listSessions_args(listSessions_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public createSession_args deepCopy() { - return new createSession_args(this); + public listSessions_args deepCopy() { + return new listSessions_args(this); } - public CreateSessionReq getReq() { + public ListSessionsReq getReq() { return this.req; } - public createSession_args setReq(CreateSessionReq req) { + public listSessions_args setReq(ListSessionsReq req) { this.req = req; return this; } @@ -42209,7 +40549,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((CreateSessionReq)__value); + setReq((ListSessionsReq)__value); } break; @@ -42234,9 +40574,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof createSession_args)) + if (!(_that instanceof listSessions_args)) return false; - createSession_args that = (createSession_args)_that; + listSessions_args that = (listSessions_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -42249,7 +40589,7 @@ public int hashCode() { } @Override - public int compareTo(createSession_args other) { + public int compareTo(listSessions_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -42284,7 +40624,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new CreateSessionReq(); + this.req = new ListSessionsReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -42326,7 +40666,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("createSession_args"); + StringBuilder sb = new StringBuilder("listSessions_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -42353,11 +40693,11 @@ public void validate() throws TException { } - public static class createSession_result implements TBase, java.io.Serializable, Cloneable { - private static final TStruct STRUCT_DESC = new TStruct("createSession_result"); + public static class listSessions_result implements TBase, java.io.Serializable, Cloneable { + private static final TStruct STRUCT_DESC = new TStruct("listSessions_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public CreateSessionResp success; + public ListSessionsResp success; public static final int SUCCESS = 0; // isset id assignments @@ -42367,19 +40707,19 @@ public static class createSession_result implements TBase, java.io.Serializable, static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, CreateSessionResp.class))); + new StructMetaData(TType.STRUCT, ListSessionsResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(createSession_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listSessions_result.class, metaDataMap); } - public createSession_result() { + public listSessions_result() { } - public createSession_result( - CreateSessionResp success) { + public listSessions_result( + ListSessionsResp success) { this(); this.success = success; } @@ -42387,21 +40727,21 @@ public createSession_result( /** * Performs a deep copy on other. */ - public createSession_result(createSession_result other) { + public listSessions_result(listSessions_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public createSession_result deepCopy() { - return new createSession_result(this); + public listSessions_result deepCopy() { + return new listSessions_result(this); } - public CreateSessionResp getSuccess() { + public ListSessionsResp getSuccess() { return this.success; } - public createSession_result setSuccess(CreateSessionResp success) { + public listSessions_result setSuccess(ListSessionsResp success) { this.success = success; return this; } @@ -42427,7 +40767,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((CreateSessionResp)__value); + setSuccess((ListSessionsResp)__value); } break; @@ -42452,9 +40792,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof createSession_result)) + if (!(_that instanceof listSessions_result)) return false; - createSession_result that = (createSession_result)_that; + listSessions_result that = (listSessions_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -42479,7 +40819,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new CreateSessionResp(); + this.success = new ListSessionsResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -42520,7 +40860,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("createSession_result"); + StringBuilder sb = new StringBuilder("listSessions_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -42547,11 +40887,11 @@ public void validate() throws TException { } - public static class updateSessions_args implements TBase, java.io.Serializable, Cloneable { - private static final TStruct STRUCT_DESC = new TStruct("updateSessions_args"); + public static class getSession_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("getSession_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public UpdateSessionsReq req; + public GetSessionReq req; public static final int REQ = 1; // isset id assignments @@ -42561,19 +40901,19 @@ public static class updateSessions_args implements TBase, java.io.Serializable, static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, UpdateSessionsReq.class))); + new StructMetaData(TType.STRUCT, GetSessionReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(updateSessions_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(getSession_args.class, metaDataMap); } - public updateSessions_args() { + public getSession_args() { } - public updateSessions_args( - UpdateSessionsReq req) { + public getSession_args( + GetSessionReq req) { this(); this.req = req; } @@ -42581,21 +40921,21 @@ public updateSessions_args( /** * Performs a deep copy on other. */ - public updateSessions_args(updateSessions_args other) { + public getSession_args(getSession_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public updateSessions_args deepCopy() { - return new updateSessions_args(this); + public getSession_args deepCopy() { + return new getSession_args(this); } - public UpdateSessionsReq getReq() { + public GetSessionReq getReq() { return this.req; } - public updateSessions_args setReq(UpdateSessionsReq req) { + public getSession_args setReq(GetSessionReq req) { this.req = req; return this; } @@ -42621,7 +40961,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((UpdateSessionsReq)__value); + setReq((GetSessionReq)__value); } break; @@ -42646,9 +40986,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof updateSessions_args)) + if (!(_that instanceof getSession_args)) return false; - updateSessions_args that = (updateSessions_args)_that; + getSession_args that = (getSession_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -42660,6 +41000,29 @@ public int hashCode() { return Arrays.deepHashCode(new Object[] {req}); } + @Override + public int compareTo(getSession_args other) { + if (other == null) { + // See java.lang.Comparable docs + throw new NullPointerException(); + } + + if (other == this) { + return 0; + } + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(req, other.req); + if (lastComparison != 0) { + return lastComparison; + } + return 0; + } + public void read(TProtocol iprot) throws TException { TField __field; iprot.readStructBegin(metaDataMap); @@ -42673,7 +41036,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new UpdateSessionsReq(); + this.req = new GetSessionReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -42715,7 +41078,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("updateSessions_args"); + StringBuilder sb = new StringBuilder("getSession_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -42742,11 +41105,11 @@ public void validate() throws TException { } - public static class updateSessions_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("updateSessions_result"); + public static class getSession_result implements TBase, java.io.Serializable, Cloneable { + private static final TStruct STRUCT_DESC = new TStruct("getSession_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public UpdateSessionsResp success; + public GetSessionResp success; public static final int SUCCESS = 0; // isset id assignments @@ -42756,19 +41119,19 @@ public static class updateSessions_result implements TBase, java.io.Serializable static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, UpdateSessionsResp.class))); + new StructMetaData(TType.STRUCT, GetSessionResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(updateSessions_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(getSession_result.class, metaDataMap); } - public updateSessions_result() { + public getSession_result() { } - public updateSessions_result( - UpdateSessionsResp success) { + public getSession_result( + GetSessionResp success) { this(); this.success = success; } @@ -42776,21 +41139,21 @@ public updateSessions_result( /** * Performs a deep copy on other. */ - public updateSessions_result(updateSessions_result other) { + public getSession_result(getSession_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public updateSessions_result deepCopy() { - return new updateSessions_result(this); + public getSession_result deepCopy() { + return new getSession_result(this); } - public UpdateSessionsResp getSuccess() { + public GetSessionResp getSuccess() { return this.success; } - public updateSessions_result setSuccess(UpdateSessionsResp success) { + public getSession_result setSuccess(GetSessionResp success) { this.success = success; return this; } @@ -42816,7 +41179,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((UpdateSessionsResp)__value); + setSuccess((GetSessionResp)__value); } break; @@ -42841,9 +41204,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof updateSessions_result)) + if (!(_that instanceof getSession_result)) return false; - updateSessions_result that = (updateSessions_result)_that; + getSession_result that = (getSession_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -42855,29 +41218,6 @@ public int hashCode() { return Arrays.deepHashCode(new Object[] {success}); } - @Override - public int compareTo(updateSessions_result other) { - if (other == null) { - // See java.lang.Comparable docs - throw new NullPointerException(); - } - - if (other == this) { - return 0; - } - int lastComparison = 0; - - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = TBaseHelper.compareTo(success, other.success); - if (lastComparison != 0) { - return lastComparison; - } - return 0; - } - public void read(TProtocol iprot) throws TException { TField __field; iprot.readStructBegin(metaDataMap); @@ -42891,7 +41231,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new UpdateSessionsResp(); + this.success = new GetSessionResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -42932,7 +41272,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("updateSessions_result"); + StringBuilder sb = new StringBuilder("getSession_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -42959,11 +41299,11 @@ public void validate() throws TException { } - public static class listSessions_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listSessions_args"); + public static class removeSession_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("removeSession_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public ListSessionsReq req; + public RemoveSessionReq req; public static final int REQ = 1; // isset id assignments @@ -42973,19 +41313,19 @@ public static class listSessions_args implements TBase, java.io.Serializable, Cl static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListSessionsReq.class))); + new StructMetaData(TType.STRUCT, RemoveSessionReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listSessions_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(removeSession_args.class, metaDataMap); } - public listSessions_args() { + public removeSession_args() { } - public listSessions_args( - ListSessionsReq req) { + public removeSession_args( + RemoveSessionReq req) { this(); this.req = req; } @@ -42993,21 +41333,21 @@ public listSessions_args( /** * Performs a deep copy on other. */ - public listSessions_args(listSessions_args other) { + public removeSession_args(removeSession_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public listSessions_args deepCopy() { - return new listSessions_args(this); + public removeSession_args deepCopy() { + return new removeSession_args(this); } - public ListSessionsReq getReq() { + public RemoveSessionReq getReq() { return this.req; } - public listSessions_args setReq(ListSessionsReq req) { + public removeSession_args setReq(RemoveSessionReq req) { this.req = req; return this; } @@ -43033,7 +41373,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((ListSessionsReq)__value); + setReq((RemoveSessionReq)__value); } break; @@ -43058,9 +41398,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listSessions_args)) + if (!(_that instanceof removeSession_args)) return false; - listSessions_args that = (listSessions_args)_that; + removeSession_args that = (removeSession_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -43073,7 +41413,7 @@ public int hashCode() { } @Override - public int compareTo(listSessions_args other) { + public int compareTo(removeSession_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -43108,7 +41448,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new ListSessionsReq(); + this.req = new RemoveSessionReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -43150,7 +41490,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listSessions_args"); + StringBuilder sb = new StringBuilder("removeSession_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -43177,11 +41517,11 @@ public void validate() throws TException { } - public static class listSessions_result implements TBase, java.io.Serializable, Cloneable { - private static final TStruct STRUCT_DESC = new TStruct("listSessions_result"); + public static class removeSession_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("removeSession_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ListSessionsResp success; + public RemoveSessionResp success; public static final int SUCCESS = 0; // isset id assignments @@ -43191,19 +41531,19 @@ public static class listSessions_result implements TBase, java.io.Serializable, static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListSessionsResp.class))); + new StructMetaData(TType.STRUCT, RemoveSessionResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listSessions_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(removeSession_result.class, metaDataMap); } - public listSessions_result() { + public removeSession_result() { } - public listSessions_result( - ListSessionsResp success) { + public removeSession_result( + RemoveSessionResp success) { this(); this.success = success; } @@ -43211,21 +41551,21 @@ public listSessions_result( /** * Performs a deep copy on other. */ - public listSessions_result(listSessions_result other) { + public removeSession_result(removeSession_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public listSessions_result deepCopy() { - return new listSessions_result(this); + public removeSession_result deepCopy() { + return new removeSession_result(this); } - public ListSessionsResp getSuccess() { + public RemoveSessionResp getSuccess() { return this.success; } - public listSessions_result setSuccess(ListSessionsResp success) { + public removeSession_result setSuccess(RemoveSessionResp success) { this.success = success; return this; } @@ -43251,7 +41591,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ListSessionsResp)__value); + setSuccess((RemoveSessionResp)__value); } break; @@ -43276,9 +41616,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listSessions_result)) + if (!(_that instanceof removeSession_result)) return false; - listSessions_result that = (listSessions_result)_that; + removeSession_result that = (removeSession_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -43290,6 +41630,29 @@ public int hashCode() { return Arrays.deepHashCode(new Object[] {success}); } + @Override + public int compareTo(removeSession_result other) { + if (other == null) { + // See java.lang.Comparable docs + throw new NullPointerException(); + } + + if (other == this) { + return 0; + } + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(success, other.success); + if (lastComparison != 0) { + return lastComparison; + } + return 0; + } + public void read(TProtocol iprot) throws TException { TField __field; iprot.readStructBegin(metaDataMap); @@ -43303,7 +41666,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ListSessionsResp(); + this.success = new RemoveSessionResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -43344,7 +41707,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listSessions_result"); + StringBuilder sb = new StringBuilder("removeSession_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -43371,11 +41734,11 @@ public void validate() throws TException { } - public static class getSession_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("getSession_args"); + public static class killQuery_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("killQuery_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public GetSessionReq req; + public KillQueryReq req; public static final int REQ = 1; // isset id assignments @@ -43385,19 +41748,19 @@ public static class getSession_args implements TBase, java.io.Serializable, Clon static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, GetSessionReq.class))); + new StructMetaData(TType.STRUCT, KillQueryReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(getSession_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(killQuery_args.class, metaDataMap); } - public getSession_args() { + public killQuery_args() { } - public getSession_args( - GetSessionReq req) { + public killQuery_args( + KillQueryReq req) { this(); this.req = req; } @@ -43405,21 +41768,21 @@ public getSession_args( /** * Performs a deep copy on other. */ - public getSession_args(getSession_args other) { + public killQuery_args(killQuery_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public getSession_args deepCopy() { - return new getSession_args(this); + public killQuery_args deepCopy() { + return new killQuery_args(this); } - public GetSessionReq getReq() { + public KillQueryReq getReq() { return this.req; } - public getSession_args setReq(GetSessionReq req) { + public killQuery_args setReq(KillQueryReq req) { this.req = req; return this; } @@ -43445,7 +41808,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((GetSessionReq)__value); + setReq((KillQueryReq)__value); } break; @@ -43470,9 +41833,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof getSession_args)) + if (!(_that instanceof killQuery_args)) return false; - getSession_args that = (getSession_args)_that; + killQuery_args that = (killQuery_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -43485,7 +41848,7 @@ public int hashCode() { } @Override - public int compareTo(getSession_args other) { + public int compareTo(killQuery_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -43520,7 +41883,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new GetSessionReq(); + this.req = new KillQueryReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -43562,7 +41925,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("getSession_args"); + StringBuilder sb = new StringBuilder("killQuery_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -43589,11 +41952,11 @@ public void validate() throws TException { } - public static class getSession_result implements TBase, java.io.Serializable, Cloneable { - private static final TStruct STRUCT_DESC = new TStruct("getSession_result"); + public static class killQuery_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("killQuery_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public GetSessionResp success; + public ExecResp success; public static final int SUCCESS = 0; // isset id assignments @@ -43603,19 +41966,19 @@ public static class getSession_result implements TBase, java.io.Serializable, Cl static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, GetSessionResp.class))); + new StructMetaData(TType.STRUCT, ExecResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(getSession_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(killQuery_result.class, metaDataMap); } - public getSession_result() { + public killQuery_result() { } - public getSession_result( - GetSessionResp success) { + public killQuery_result( + ExecResp success) { this(); this.success = success; } @@ -43623,21 +41986,21 @@ public getSession_result( /** * Performs a deep copy on other. */ - public getSession_result(getSession_result other) { + public killQuery_result(killQuery_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public getSession_result deepCopy() { - return new getSession_result(this); + public killQuery_result deepCopy() { + return new killQuery_result(this); } - public GetSessionResp getSuccess() { + public ExecResp getSuccess() { return this.success; } - public getSession_result setSuccess(GetSessionResp success) { + public killQuery_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -43663,7 +42026,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((GetSessionResp)__value); + setSuccess((ExecResp)__value); } break; @@ -43688,9 +42051,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof getSession_result)) + if (!(_that instanceof killQuery_result)) return false; - getSession_result that = (getSession_result)_that; + killQuery_result that = (killQuery_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -43702,6 +42065,29 @@ public int hashCode() { return Arrays.deepHashCode(new Object[] {success}); } + @Override + public int compareTo(killQuery_result other) { + if (other == null) { + // See java.lang.Comparable docs + throw new NullPointerException(); + } + + if (other == this) { + return 0; + } + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(success, other.success); + if (lastComparison != 0) { + return lastComparison; + } + return 0; + } + public void read(TProtocol iprot) throws TException { TField __field; iprot.readStructBegin(metaDataMap); @@ -43715,7 +42101,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new GetSessionResp(); + this.success = new ExecResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -43756,7 +42142,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("getSession_result"); + StringBuilder sb = new StringBuilder("killQuery_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -43783,11 +42169,11 @@ public void validate() throws TException { } - public static class removeSession_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("removeSession_args"); + public static class reportTaskFinish_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("reportTaskFinish_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public RemoveSessionReq req; + public ReportTaskReq req; public static final int REQ = 1; // isset id assignments @@ -43797,19 +42183,19 @@ public static class removeSession_args implements TBase, java.io.Serializable, C static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, RemoveSessionReq.class))); + new StructMetaData(TType.STRUCT, ReportTaskReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(removeSession_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(reportTaskFinish_args.class, metaDataMap); } - public removeSession_args() { + public reportTaskFinish_args() { } - public removeSession_args( - RemoveSessionReq req) { + public reportTaskFinish_args( + ReportTaskReq req) { this(); this.req = req; } @@ -43817,21 +42203,21 @@ public removeSession_args( /** * Performs a deep copy on other. */ - public removeSession_args(removeSession_args other) { + public reportTaskFinish_args(reportTaskFinish_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public removeSession_args deepCopy() { - return new removeSession_args(this); + public reportTaskFinish_args deepCopy() { + return new reportTaskFinish_args(this); } - public RemoveSessionReq getReq() { + public ReportTaskReq getReq() { return this.req; } - public removeSession_args setReq(RemoveSessionReq req) { + public reportTaskFinish_args setReq(ReportTaskReq req) { this.req = req; return this; } @@ -43857,7 +42243,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((RemoveSessionReq)__value); + setReq((ReportTaskReq)__value); } break; @@ -43882,9 +42268,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof removeSession_args)) + if (!(_that instanceof reportTaskFinish_args)) return false; - removeSession_args that = (removeSession_args)_that; + reportTaskFinish_args that = (reportTaskFinish_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -43897,7 +42283,7 @@ public int hashCode() { } @Override - public int compareTo(removeSession_args other) { + public int compareTo(reportTaskFinish_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -43932,7 +42318,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new RemoveSessionReq(); + this.req = new ReportTaskReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -43974,7 +42360,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("removeSession_args"); + StringBuilder sb = new StringBuilder("reportTaskFinish_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -44001,8 +42387,8 @@ public void validate() throws TException { } - public static class removeSession_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("removeSession_result"); + public static class reportTaskFinish_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("reportTaskFinish_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); public ExecResp success; @@ -44020,13 +42406,13 @@ public static class removeSession_result implements TBase, java.io.Serializable, } static { - FieldMetaData.addStructMetaDataMap(removeSession_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(reportTaskFinish_result.class, metaDataMap); } - public removeSession_result() { + public reportTaskFinish_result() { } - public removeSession_result( + public reportTaskFinish_result( ExecResp success) { this(); this.success = success; @@ -44035,21 +42421,21 @@ public removeSession_result( /** * Performs a deep copy on other. */ - public removeSession_result(removeSession_result other) { + public reportTaskFinish_result(reportTaskFinish_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public removeSession_result deepCopy() { - return new removeSession_result(this); + public reportTaskFinish_result deepCopy() { + return new reportTaskFinish_result(this); } public ExecResp getSuccess() { return this.success; } - public removeSession_result setSuccess(ExecResp success) { + public reportTaskFinish_result setSuccess(ExecResp success) { this.success = success; return this; } @@ -44100,9 +42486,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof removeSession_result)) + if (!(_that instanceof reportTaskFinish_result)) return false; - removeSession_result that = (removeSession_result)_that; + reportTaskFinish_result that = (reportTaskFinish_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -44115,7 +42501,7 @@ public int hashCode() { } @Override - public int compareTo(removeSession_result other) { + public int compareTo(reportTaskFinish_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -44191,7 +42577,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("removeSession_result"); + StringBuilder sb = new StringBuilder("reportTaskFinish_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -44218,11 +42604,11 @@ public void validate() throws TException { } - public static class killQuery_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("killQuery_args"); + public static class createBackup_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("createBackup_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public KillQueryReq req; + public CreateBackupReq req; public static final int REQ = 1; // isset id assignments @@ -44232,19 +42618,19 @@ public static class killQuery_args implements TBase, java.io.Serializable, Clone static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, KillQueryReq.class))); + new StructMetaData(TType.STRUCT, CreateBackupReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(killQuery_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(createBackup_args.class, metaDataMap); } - public killQuery_args() { + public createBackup_args() { } - public killQuery_args( - KillQueryReq req) { + public createBackup_args( + CreateBackupReq req) { this(); this.req = req; } @@ -44252,21 +42638,21 @@ public killQuery_args( /** * Performs a deep copy on other. */ - public killQuery_args(killQuery_args other) { + public createBackup_args(createBackup_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public killQuery_args deepCopy() { - return new killQuery_args(this); + public createBackup_args deepCopy() { + return new createBackup_args(this); } - public KillQueryReq getReq() { + public CreateBackupReq getReq() { return this.req; } - public killQuery_args setReq(KillQueryReq req) { + public createBackup_args setReq(CreateBackupReq req) { this.req = req; return this; } @@ -44292,7 +42678,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((KillQueryReq)__value); + setReq((CreateBackupReq)__value); } break; @@ -44317,9 +42703,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof killQuery_args)) + if (!(_that instanceof createBackup_args)) return false; - killQuery_args that = (killQuery_args)_that; + createBackup_args that = (createBackup_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -44332,7 +42718,7 @@ public int hashCode() { } @Override - public int compareTo(killQuery_args other) { + public int compareTo(createBackup_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -44367,7 +42753,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new KillQueryReq(); + this.req = new CreateBackupReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -44409,7 +42795,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("killQuery_args"); + StringBuilder sb = new StringBuilder("createBackup_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -44436,11 +42822,11 @@ public void validate() throws TException { } - public static class killQuery_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("killQuery_result"); + public static class createBackup_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("createBackup_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ExecResp success; + public CreateBackupResp success; public static final int SUCCESS = 0; // isset id assignments @@ -44450,19 +42836,19 @@ public static class killQuery_result implements TBase, java.io.Serializable, Clo static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ExecResp.class))); + new StructMetaData(TType.STRUCT, CreateBackupResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(killQuery_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(createBackup_result.class, metaDataMap); } - public killQuery_result() { + public createBackup_result() { } - public killQuery_result( - ExecResp success) { + public createBackup_result( + CreateBackupResp success) { this(); this.success = success; } @@ -44470,21 +42856,21 @@ public killQuery_result( /** * Performs a deep copy on other. */ - public killQuery_result(killQuery_result other) { + public createBackup_result(createBackup_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public killQuery_result deepCopy() { - return new killQuery_result(this); + public createBackup_result deepCopy() { + return new createBackup_result(this); } - public ExecResp getSuccess() { + public CreateBackupResp getSuccess() { return this.success; } - public killQuery_result setSuccess(ExecResp success) { + public createBackup_result setSuccess(CreateBackupResp success) { this.success = success; return this; } @@ -44510,7 +42896,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ExecResp)__value); + setSuccess((CreateBackupResp)__value); } break; @@ -44535,9 +42921,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof killQuery_result)) + if (!(_that instanceof createBackup_result)) return false; - killQuery_result that = (killQuery_result)_that; + createBackup_result that = (createBackup_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -44550,7 +42936,7 @@ public int hashCode() { } @Override - public int compareTo(killQuery_result other) { + public int compareTo(createBackup_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -44585,7 +42971,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ExecResp(); + this.success = new CreateBackupResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -44626,7 +43012,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("killQuery_result"); + StringBuilder sb = new StringBuilder("createBackup_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -44653,11 +43039,11 @@ public void validate() throws TException { } - public static class reportTaskFinish_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("reportTaskFinish_args"); + public static class restoreMeta_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("restoreMeta_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public ReportTaskReq req; + public RestoreMetaReq req; public static final int REQ = 1; // isset id assignments @@ -44667,19 +43053,19 @@ public static class reportTaskFinish_args implements TBase, java.io.Serializable static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ReportTaskReq.class))); + new StructMetaData(TType.STRUCT, RestoreMetaReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(reportTaskFinish_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(restoreMeta_args.class, metaDataMap); } - public reportTaskFinish_args() { + public restoreMeta_args() { } - public reportTaskFinish_args( - ReportTaskReq req) { + public restoreMeta_args( + RestoreMetaReq req) { this(); this.req = req; } @@ -44687,21 +43073,21 @@ public reportTaskFinish_args( /** * Performs a deep copy on other. */ - public reportTaskFinish_args(reportTaskFinish_args other) { + public restoreMeta_args(restoreMeta_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public reportTaskFinish_args deepCopy() { - return new reportTaskFinish_args(this); + public restoreMeta_args deepCopy() { + return new restoreMeta_args(this); } - public ReportTaskReq getReq() { + public RestoreMetaReq getReq() { return this.req; } - public reportTaskFinish_args setReq(ReportTaskReq req) { + public restoreMeta_args setReq(RestoreMetaReq req) { this.req = req; return this; } @@ -44727,7 +43113,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((ReportTaskReq)__value); + setReq((RestoreMetaReq)__value); } break; @@ -44752,9 +43138,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof reportTaskFinish_args)) + if (!(_that instanceof restoreMeta_args)) return false; - reportTaskFinish_args that = (reportTaskFinish_args)_that; + restoreMeta_args that = (restoreMeta_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -44767,7 +43153,7 @@ public int hashCode() { } @Override - public int compareTo(reportTaskFinish_args other) { + public int compareTo(restoreMeta_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -44802,7 +43188,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new ReportTaskReq(); + this.req = new RestoreMetaReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -44844,7 +43230,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("reportTaskFinish_args"); + StringBuilder sb = new StringBuilder("restoreMeta_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -44871,11 +43257,11 @@ public void validate() throws TException { } - public static class reportTaskFinish_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("reportTaskFinish_result"); + public static class restoreMeta_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("restoreMeta_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ExecResp success; + public RestoreMetaResp success; public static final int SUCCESS = 0; // isset id assignments @@ -44885,19 +43271,19 @@ public static class reportTaskFinish_result implements TBase, java.io.Serializab static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ExecResp.class))); + new StructMetaData(TType.STRUCT, RestoreMetaResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(reportTaskFinish_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(restoreMeta_result.class, metaDataMap); } - public reportTaskFinish_result() { + public restoreMeta_result() { } - public reportTaskFinish_result( - ExecResp success) { + public restoreMeta_result( + RestoreMetaResp success) { this(); this.success = success; } @@ -44905,21 +43291,21 @@ public reportTaskFinish_result( /** * Performs a deep copy on other. */ - public reportTaskFinish_result(reportTaskFinish_result other) { + public restoreMeta_result(restoreMeta_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public reportTaskFinish_result deepCopy() { - return new reportTaskFinish_result(this); + public restoreMeta_result deepCopy() { + return new restoreMeta_result(this); } - public ExecResp getSuccess() { + public RestoreMetaResp getSuccess() { return this.success; } - public reportTaskFinish_result setSuccess(ExecResp success) { + public restoreMeta_result setSuccess(RestoreMetaResp success) { this.success = success; return this; } @@ -44945,7 +43331,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ExecResp)__value); + setSuccess((RestoreMetaResp)__value); } break; @@ -44970,9 +43356,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof reportTaskFinish_result)) + if (!(_that instanceof restoreMeta_result)) return false; - reportTaskFinish_result that = (reportTaskFinish_result)_that; + restoreMeta_result that = (restoreMeta_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -44985,7 +43371,7 @@ public int hashCode() { } @Override - public int compareTo(reportTaskFinish_result other) { + public int compareTo(restoreMeta_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -45020,7 +43406,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ExecResp(); + this.success = new RestoreMetaResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -45061,7 +43447,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("reportTaskFinish_result"); + StringBuilder sb = new StringBuilder("restoreMeta_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -45088,11 +43474,11 @@ public void validate() throws TException { } - public static class createBackup_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("createBackup_args"); + public static class listCluster_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listCluster_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public CreateBackupReq req; + public ListClusterInfoReq req; public static final int REQ = 1; // isset id assignments @@ -45102,19 +43488,19 @@ public static class createBackup_args implements TBase, java.io.Serializable, Cl static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, CreateBackupReq.class))); + new StructMetaData(TType.STRUCT, ListClusterInfoReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(createBackup_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listCluster_args.class, metaDataMap); } - public createBackup_args() { + public listCluster_args() { } - public createBackup_args( - CreateBackupReq req) { + public listCluster_args( + ListClusterInfoReq req) { this(); this.req = req; } @@ -45122,21 +43508,21 @@ public createBackup_args( /** * Performs a deep copy on other. */ - public createBackup_args(createBackup_args other) { + public listCluster_args(listCluster_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public createBackup_args deepCopy() { - return new createBackup_args(this); + public listCluster_args deepCopy() { + return new listCluster_args(this); } - public CreateBackupReq getReq() { + public ListClusterInfoReq getReq() { return this.req; } - public createBackup_args setReq(CreateBackupReq req) { + public listCluster_args setReq(ListClusterInfoReq req) { this.req = req; return this; } @@ -45162,7 +43548,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((CreateBackupReq)__value); + setReq((ListClusterInfoReq)__value); } break; @@ -45187,9 +43573,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof createBackup_args)) + if (!(_that instanceof listCluster_args)) return false; - createBackup_args that = (createBackup_args)_that; + listCluster_args that = (listCluster_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -45202,7 +43588,7 @@ public int hashCode() { } @Override - public int compareTo(createBackup_args other) { + public int compareTo(listCluster_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -45237,7 +43623,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new CreateBackupReq(); + this.req = new ListClusterInfoReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -45279,7 +43665,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("createBackup_args"); + StringBuilder sb = new StringBuilder("listCluster_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -45306,11 +43692,11 @@ public void validate() throws TException { } - public static class createBackup_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("createBackup_result"); + public static class listCluster_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("listCluster_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public CreateBackupResp success; + public ListClusterInfoResp success; public static final int SUCCESS = 0; // isset id assignments @@ -45320,19 +43706,19 @@ public static class createBackup_result implements TBase, java.io.Serializable, static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, CreateBackupResp.class))); + new StructMetaData(TType.STRUCT, ListClusterInfoResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(createBackup_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(listCluster_result.class, metaDataMap); } - public createBackup_result() { + public listCluster_result() { } - public createBackup_result( - CreateBackupResp success) { + public listCluster_result( + ListClusterInfoResp success) { this(); this.success = success; } @@ -45340,21 +43726,21 @@ public createBackup_result( /** * Performs a deep copy on other. */ - public createBackup_result(createBackup_result other) { + public listCluster_result(listCluster_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public createBackup_result deepCopy() { - return new createBackup_result(this); + public listCluster_result deepCopy() { + return new listCluster_result(this); } - public CreateBackupResp getSuccess() { + public ListClusterInfoResp getSuccess() { return this.success; } - public createBackup_result setSuccess(CreateBackupResp success) { + public listCluster_result setSuccess(ListClusterInfoResp success) { this.success = success; return this; } @@ -45380,7 +43766,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((CreateBackupResp)__value); + setSuccess((ListClusterInfoResp)__value); } break; @@ -45405,9 +43791,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof createBackup_result)) + if (!(_that instanceof listCluster_result)) return false; - createBackup_result that = (createBackup_result)_that; + listCluster_result that = (listCluster_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -45420,7 +43806,7 @@ public int hashCode() { } @Override - public int compareTo(createBackup_result other) { + public int compareTo(listCluster_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -45455,7 +43841,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new CreateBackupResp(); + this.success = new ListClusterInfoResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -45496,7 +43882,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("createBackup_result"); + StringBuilder sb = new StringBuilder("listCluster_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -45523,11 +43909,11 @@ public void validate() throws TException { } - public static class restoreMeta_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("restoreMeta_args"); + public static class getMetaDirInfo_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("getMetaDirInfo_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public RestoreMetaReq req; + public GetMetaDirInfoReq req; public static final int REQ = 1; // isset id assignments @@ -45537,19 +43923,19 @@ public static class restoreMeta_args implements TBase, java.io.Serializable, Clo static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, RestoreMetaReq.class))); + new StructMetaData(TType.STRUCT, GetMetaDirInfoReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(restoreMeta_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(getMetaDirInfo_args.class, metaDataMap); } - public restoreMeta_args() { + public getMetaDirInfo_args() { } - public restoreMeta_args( - RestoreMetaReq req) { + public getMetaDirInfo_args( + GetMetaDirInfoReq req) { this(); this.req = req; } @@ -45557,21 +43943,21 @@ public restoreMeta_args( /** * Performs a deep copy on other. */ - public restoreMeta_args(restoreMeta_args other) { + public getMetaDirInfo_args(getMetaDirInfo_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public restoreMeta_args deepCopy() { - return new restoreMeta_args(this); + public getMetaDirInfo_args deepCopy() { + return new getMetaDirInfo_args(this); } - public RestoreMetaReq getReq() { + public GetMetaDirInfoReq getReq() { return this.req; } - public restoreMeta_args setReq(RestoreMetaReq req) { + public getMetaDirInfo_args setReq(GetMetaDirInfoReq req) { this.req = req; return this; } @@ -45597,7 +43983,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((RestoreMetaReq)__value); + setReq((GetMetaDirInfoReq)__value); } break; @@ -45622,9 +44008,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof restoreMeta_args)) + if (!(_that instanceof getMetaDirInfo_args)) return false; - restoreMeta_args that = (restoreMeta_args)_that; + getMetaDirInfo_args that = (getMetaDirInfo_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -45637,7 +44023,7 @@ public int hashCode() { } @Override - public int compareTo(restoreMeta_args other) { + public int compareTo(getMetaDirInfo_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -45672,7 +44058,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new RestoreMetaReq(); + this.req = new GetMetaDirInfoReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -45714,7 +44100,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("restoreMeta_args"); + StringBuilder sb = new StringBuilder("getMetaDirInfo_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -45741,11 +44127,11 @@ public void validate() throws TException { } - public static class restoreMeta_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("restoreMeta_result"); + public static class getMetaDirInfo_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("getMetaDirInfo_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ExecResp success; + public GetMetaDirInfoResp success; public static final int SUCCESS = 0; // isset id assignments @@ -45755,19 +44141,19 @@ public static class restoreMeta_result implements TBase, java.io.Serializable, C static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ExecResp.class))); + new StructMetaData(TType.STRUCT, GetMetaDirInfoResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(restoreMeta_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(getMetaDirInfo_result.class, metaDataMap); } - public restoreMeta_result() { + public getMetaDirInfo_result() { } - public restoreMeta_result( - ExecResp success) { + public getMetaDirInfo_result( + GetMetaDirInfoResp success) { this(); this.success = success; } @@ -45775,21 +44161,21 @@ public restoreMeta_result( /** * Performs a deep copy on other. */ - public restoreMeta_result(restoreMeta_result other) { + public getMetaDirInfo_result(getMetaDirInfo_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public restoreMeta_result deepCopy() { - return new restoreMeta_result(this); + public getMetaDirInfo_result deepCopy() { + return new getMetaDirInfo_result(this); } - public ExecResp getSuccess() { + public GetMetaDirInfoResp getSuccess() { return this.success; } - public restoreMeta_result setSuccess(ExecResp success) { + public getMetaDirInfo_result setSuccess(GetMetaDirInfoResp success) { this.success = success; return this; } @@ -45815,7 +44201,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ExecResp)__value); + setSuccess((GetMetaDirInfoResp)__value); } break; @@ -45840,9 +44226,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof restoreMeta_result)) + if (!(_that instanceof getMetaDirInfo_result)) return false; - restoreMeta_result that = (restoreMeta_result)_that; + getMetaDirInfo_result that = (getMetaDirInfo_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -45855,7 +44241,7 @@ public int hashCode() { } @Override - public int compareTo(restoreMeta_result other) { + public int compareTo(getMetaDirInfo_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -45890,7 +44276,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ExecResp(); + this.success = new GetMetaDirInfoResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -45931,7 +44317,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("restoreMeta_result"); + StringBuilder sb = new StringBuilder("getMetaDirInfo_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -45958,11 +44344,11 @@ public void validate() throws TException { } - public static class listCluster_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listCluster_args"); + public static class verifyClientVersion_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("verifyClientVersion_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public ListClusterInfoReq req; + public VerifyClientVersionReq req; public static final int REQ = 1; // isset id assignments @@ -45972,19 +44358,19 @@ public static class listCluster_args implements TBase, java.io.Serializable, Clo static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListClusterInfoReq.class))); + new StructMetaData(TType.STRUCT, VerifyClientVersionReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listCluster_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(verifyClientVersion_args.class, metaDataMap); } - public listCluster_args() { + public verifyClientVersion_args() { } - public listCluster_args( - ListClusterInfoReq req) { + public verifyClientVersion_args( + VerifyClientVersionReq req) { this(); this.req = req; } @@ -45992,21 +44378,21 @@ public listCluster_args( /** * Performs a deep copy on other. */ - public listCluster_args(listCluster_args other) { + public verifyClientVersion_args(verifyClientVersion_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public listCluster_args deepCopy() { - return new listCluster_args(this); + public verifyClientVersion_args deepCopy() { + return new verifyClientVersion_args(this); } - public ListClusterInfoReq getReq() { + public VerifyClientVersionReq getReq() { return this.req; } - public listCluster_args setReq(ListClusterInfoReq req) { + public verifyClientVersion_args setReq(VerifyClientVersionReq req) { this.req = req; return this; } @@ -46032,7 +44418,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((ListClusterInfoReq)__value); + setReq((VerifyClientVersionReq)__value); } break; @@ -46057,9 +44443,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listCluster_args)) + if (!(_that instanceof verifyClientVersion_args)) return false; - listCluster_args that = (listCluster_args)_that; + verifyClientVersion_args that = (verifyClientVersion_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -46072,7 +44458,7 @@ public int hashCode() { } @Override - public int compareTo(listCluster_args other) { + public int compareTo(verifyClientVersion_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -46107,7 +44493,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new ListClusterInfoReq(); + this.req = new VerifyClientVersionReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -46149,7 +44535,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listCluster_args"); + StringBuilder sb = new StringBuilder("verifyClientVersion_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -46176,11 +44562,11 @@ public void validate() throws TException { } - public static class listCluster_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("listCluster_result"); + public static class verifyClientVersion_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("verifyClientVersion_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public ListClusterInfoResp success; + public VerifyClientVersionResp success; public static final int SUCCESS = 0; // isset id assignments @@ -46190,19 +44576,19 @@ public static class listCluster_result implements TBase, java.io.Serializable, C static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, ListClusterInfoResp.class))); + new StructMetaData(TType.STRUCT, VerifyClientVersionResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(listCluster_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(verifyClientVersion_result.class, metaDataMap); } - public listCluster_result() { + public verifyClientVersion_result() { } - public listCluster_result( - ListClusterInfoResp success) { + public verifyClientVersion_result( + VerifyClientVersionResp success) { this(); this.success = success; } @@ -46210,21 +44596,21 @@ public listCluster_result( /** * Performs a deep copy on other. */ - public listCluster_result(listCluster_result other) { + public verifyClientVersion_result(verifyClientVersion_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public listCluster_result deepCopy() { - return new listCluster_result(this); + public verifyClientVersion_result deepCopy() { + return new verifyClientVersion_result(this); } - public ListClusterInfoResp getSuccess() { + public VerifyClientVersionResp getSuccess() { return this.success; } - public listCluster_result setSuccess(ListClusterInfoResp success) { + public verifyClientVersion_result setSuccess(VerifyClientVersionResp success) { this.success = success; return this; } @@ -46250,7 +44636,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((ListClusterInfoResp)__value); + setSuccess((VerifyClientVersionResp)__value); } break; @@ -46275,9 +44661,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof listCluster_result)) + if (!(_that instanceof verifyClientVersion_result)) return false; - listCluster_result that = (listCluster_result)_that; + verifyClientVersion_result that = (verifyClientVersion_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -46290,7 +44676,7 @@ public int hashCode() { } @Override - public int compareTo(listCluster_result other) { + public int compareTo(verifyClientVersion_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -46325,7 +44711,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new ListClusterInfoResp(); + this.success = new VerifyClientVersionResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -46366,7 +44752,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("listCluster_result"); + StringBuilder sb = new StringBuilder("verifyClientVersion_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -46393,11 +44779,11 @@ public void validate() throws TException { } - public static class getMetaDirInfo_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("getMetaDirInfo_args"); + public static class saveGraphVersion_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("saveGraphVersion_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public GetMetaDirInfoReq req; + public SaveGraphVersionReq req; public static final int REQ = 1; // isset id assignments @@ -46407,19 +44793,19 @@ public static class getMetaDirInfo_args implements TBase, java.io.Serializable, static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, GetMetaDirInfoReq.class))); + new StructMetaData(TType.STRUCT, SaveGraphVersionReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(getMetaDirInfo_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(saveGraphVersion_args.class, metaDataMap); } - public getMetaDirInfo_args() { + public saveGraphVersion_args() { } - public getMetaDirInfo_args( - GetMetaDirInfoReq req) { + public saveGraphVersion_args( + SaveGraphVersionReq req) { this(); this.req = req; } @@ -46427,21 +44813,21 @@ public getMetaDirInfo_args( /** * Performs a deep copy on other. */ - public getMetaDirInfo_args(getMetaDirInfo_args other) { + public saveGraphVersion_args(saveGraphVersion_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public getMetaDirInfo_args deepCopy() { - return new getMetaDirInfo_args(this); + public saveGraphVersion_args deepCopy() { + return new saveGraphVersion_args(this); } - public GetMetaDirInfoReq getReq() { + public SaveGraphVersionReq getReq() { return this.req; } - public getMetaDirInfo_args setReq(GetMetaDirInfoReq req) { + public saveGraphVersion_args setReq(SaveGraphVersionReq req) { this.req = req; return this; } @@ -46467,7 +44853,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((GetMetaDirInfoReq)__value); + setReq((SaveGraphVersionReq)__value); } break; @@ -46492,9 +44878,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof getMetaDirInfo_args)) + if (!(_that instanceof saveGraphVersion_args)) return false; - getMetaDirInfo_args that = (getMetaDirInfo_args)_that; + saveGraphVersion_args that = (saveGraphVersion_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -46507,7 +44893,7 @@ public int hashCode() { } @Override - public int compareTo(getMetaDirInfo_args other) { + public int compareTo(saveGraphVersion_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -46542,7 +44928,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new GetMetaDirInfoReq(); + this.req = new SaveGraphVersionReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -46584,7 +44970,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("getMetaDirInfo_args"); + StringBuilder sb = new StringBuilder("saveGraphVersion_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -46611,11 +44997,11 @@ public void validate() throws TException { } - public static class getMetaDirInfo_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("getMetaDirInfo_result"); + public static class saveGraphVersion_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("saveGraphVersion_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public GetMetaDirInfoResp success; + public SaveGraphVersionResp success; public static final int SUCCESS = 0; // isset id assignments @@ -46625,19 +45011,19 @@ public static class getMetaDirInfo_result implements TBase, java.io.Serializable static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, GetMetaDirInfoResp.class))); + new StructMetaData(TType.STRUCT, SaveGraphVersionResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(getMetaDirInfo_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(saveGraphVersion_result.class, metaDataMap); } - public getMetaDirInfo_result() { + public saveGraphVersion_result() { } - public getMetaDirInfo_result( - GetMetaDirInfoResp success) { + public saveGraphVersion_result( + SaveGraphVersionResp success) { this(); this.success = success; } @@ -46645,21 +45031,21 @@ public getMetaDirInfo_result( /** * Performs a deep copy on other. */ - public getMetaDirInfo_result(getMetaDirInfo_result other) { + public saveGraphVersion_result(saveGraphVersion_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public getMetaDirInfo_result deepCopy() { - return new getMetaDirInfo_result(this); + public saveGraphVersion_result deepCopy() { + return new saveGraphVersion_result(this); } - public GetMetaDirInfoResp getSuccess() { + public SaveGraphVersionResp getSuccess() { return this.success; } - public getMetaDirInfo_result setSuccess(GetMetaDirInfoResp success) { + public saveGraphVersion_result setSuccess(SaveGraphVersionResp success) { this.success = success; return this; } @@ -46685,7 +45071,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((GetMetaDirInfoResp)__value); + setSuccess((SaveGraphVersionResp)__value); } break; @@ -46710,9 +45096,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof getMetaDirInfo_result)) + if (!(_that instanceof saveGraphVersion_result)) return false; - getMetaDirInfo_result that = (getMetaDirInfo_result)_that; + saveGraphVersion_result that = (saveGraphVersion_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -46725,7 +45111,7 @@ public int hashCode() { } @Override - public int compareTo(getMetaDirInfo_result other) { + public int compareTo(saveGraphVersion_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -46760,7 +45146,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new GetMetaDirInfoResp(); + this.success = new SaveGraphVersionResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -46801,7 +45187,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("getMetaDirInfo_result"); + StringBuilder sb = new StringBuilder("saveGraphVersion_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -46828,11 +45214,11 @@ public void validate() throws TException { } - public static class verifyClientVersion_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("verifyClientVersion_args"); + public static class getSegmentId_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("getSegmentId_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public VerifyClientVersionReq req; + public GetSegmentIdReq req; public static final int REQ = 1; // isset id assignments @@ -46842,19 +45228,19 @@ public static class verifyClientVersion_args implements TBase, java.io.Serializa static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, VerifyClientVersionReq.class))); + new StructMetaData(TType.STRUCT, GetSegmentIdReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(verifyClientVersion_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(getSegmentId_args.class, metaDataMap); } - public verifyClientVersion_args() { + public getSegmentId_args() { } - public verifyClientVersion_args( - VerifyClientVersionReq req) { + public getSegmentId_args( + GetSegmentIdReq req) { this(); this.req = req; } @@ -46862,21 +45248,21 @@ public verifyClientVersion_args( /** * Performs a deep copy on other. */ - public verifyClientVersion_args(verifyClientVersion_args other) { + public getSegmentId_args(getSegmentId_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public verifyClientVersion_args deepCopy() { - return new verifyClientVersion_args(this); + public getSegmentId_args deepCopy() { + return new getSegmentId_args(this); } - public VerifyClientVersionReq getReq() { + public GetSegmentIdReq getReq() { return this.req; } - public verifyClientVersion_args setReq(VerifyClientVersionReq req) { + public getSegmentId_args setReq(GetSegmentIdReq req) { this.req = req; return this; } @@ -46902,7 +45288,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((VerifyClientVersionReq)__value); + setReq((GetSegmentIdReq)__value); } break; @@ -46927,9 +45313,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof verifyClientVersion_args)) + if (!(_that instanceof getSegmentId_args)) return false; - verifyClientVersion_args that = (verifyClientVersion_args)_that; + getSegmentId_args that = (getSegmentId_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -46942,7 +45328,7 @@ public int hashCode() { } @Override - public int compareTo(verifyClientVersion_args other) { + public int compareTo(getSegmentId_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -46977,7 +45363,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new VerifyClientVersionReq(); + this.req = new GetSegmentIdReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -47019,7 +45405,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("verifyClientVersion_args"); + StringBuilder sb = new StringBuilder("getSegmentId_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -47046,11 +45432,11 @@ public void validate() throws TException { } - public static class verifyClientVersion_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("verifyClientVersion_result"); + public static class getSegmentId_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("getSegmentId_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public VerifyClientVersionResp success; + public GetSegmentIdResp success; public static final int SUCCESS = 0; // isset id assignments @@ -47060,19 +45446,19 @@ public static class verifyClientVersion_result implements TBase, java.io.Seriali static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, VerifyClientVersionResp.class))); + new StructMetaData(TType.STRUCT, GetSegmentIdResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(verifyClientVersion_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(getSegmentId_result.class, metaDataMap); } - public verifyClientVersion_result() { + public getSegmentId_result() { } - public verifyClientVersion_result( - VerifyClientVersionResp success) { + public getSegmentId_result( + GetSegmentIdResp success) { this(); this.success = success; } @@ -47080,21 +45466,21 @@ public verifyClientVersion_result( /** * Performs a deep copy on other. */ - public verifyClientVersion_result(verifyClientVersion_result other) { + public getSegmentId_result(getSegmentId_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public verifyClientVersion_result deepCopy() { - return new verifyClientVersion_result(this); + public getSegmentId_result deepCopy() { + return new getSegmentId_result(this); } - public VerifyClientVersionResp getSuccess() { + public GetSegmentIdResp getSuccess() { return this.success; } - public verifyClientVersion_result setSuccess(VerifyClientVersionResp success) { + public getSegmentId_result setSuccess(GetSegmentIdResp success) { this.success = success; return this; } @@ -47120,7 +45506,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((VerifyClientVersionResp)__value); + setSuccess((GetSegmentIdResp)__value); } break; @@ -47145,9 +45531,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof verifyClientVersion_result)) + if (!(_that instanceof getSegmentId_result)) return false; - verifyClientVersion_result that = (verifyClientVersion_result)_that; + getSegmentId_result that = (getSegmentId_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -47160,7 +45546,7 @@ public int hashCode() { } @Override - public int compareTo(verifyClientVersion_result other) { + public int compareTo(getSegmentId_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -47195,7 +45581,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new VerifyClientVersionResp(); + this.success = new GetSegmentIdResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -47236,7 +45622,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("verifyClientVersion_result"); + StringBuilder sb = new StringBuilder("getSegmentId_result"); sb.append(space); sb.append("("); sb.append(newLine); diff --git a/client/src/main/generated/com/vesoft/nebula/meta/MultiGetReq.java b/client/src/main/generated/com/vesoft/nebula/meta/MultiGetReq.java deleted file mode 100644 index d766101b4..000000000 --- a/client/src/main/generated/com/vesoft/nebula/meta/MultiGetReq.java +++ /dev/null @@ -1,375 +0,0 @@ -/** - * Autogenerated by Thrift - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -package com.vesoft.nebula.meta; - -import java.util.List; -import java.util.ArrayList; -import java.util.Map; -import java.util.HashMap; -import java.util.Set; -import java.util.HashSet; -import java.util.Collections; -import java.util.BitSet; -import java.util.Arrays; -import com.facebook.thrift.*; -import com.facebook.thrift.annotations.*; -import com.facebook.thrift.async.*; -import com.facebook.thrift.meta_data.*; -import com.facebook.thrift.server.*; -import com.facebook.thrift.transport.*; -import com.facebook.thrift.protocol.*; - -@SuppressWarnings({ "unused", "serial" }) -public class MultiGetReq implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("MultiGetReq"); - private static final TField SEGMENT_FIELD_DESC = new TField("segment", TType.STRING, (short)1); - private static final TField KEYS_FIELD_DESC = new TField("keys", TType.LIST, (short)2); - - public byte[] segment; - public List keys; - public static final int SEGMENT = 1; - public static final int KEYS = 2; - - // isset id assignments - - public static final Map metaDataMap; - - static { - Map tmpMetaDataMap = new HashMap(); - tmpMetaDataMap.put(SEGMENT, new FieldMetaData("segment", TFieldRequirementType.DEFAULT, - new FieldValueMetaData(TType.STRING))); - tmpMetaDataMap.put(KEYS, new FieldMetaData("keys", TFieldRequirementType.DEFAULT, - new ListMetaData(TType.LIST, - new FieldValueMetaData(TType.STRING)))); - metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); - } - - static { - FieldMetaData.addStructMetaDataMap(MultiGetReq.class, metaDataMap); - } - - public MultiGetReq() { - } - - public MultiGetReq( - byte[] segment, - List keys) { - this(); - this.segment = segment; - this.keys = keys; - } - - public static class Builder { - private byte[] segment; - private List keys; - - public Builder() { - } - - public Builder setSegment(final byte[] segment) { - this.segment = segment; - return this; - } - - public Builder setKeys(final List keys) { - this.keys = keys; - return this; - } - - public MultiGetReq build() { - MultiGetReq result = new MultiGetReq(); - result.setSegment(this.segment); - result.setKeys(this.keys); - return result; - } - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Performs a deep copy on other. - */ - public MultiGetReq(MultiGetReq other) { - if (other.isSetSegment()) { - this.segment = TBaseHelper.deepCopy(other.segment); - } - if (other.isSetKeys()) { - this.keys = TBaseHelper.deepCopy(other.keys); - } - } - - public MultiGetReq deepCopy() { - return new MultiGetReq(this); - } - - public byte[] getSegment() { - return this.segment; - } - - public MultiGetReq setSegment(byte[] segment) { - this.segment = segment; - return this; - } - - public void unsetSegment() { - this.segment = null; - } - - // Returns true if field segment is set (has been assigned a value) and false otherwise - public boolean isSetSegment() { - return this.segment != null; - } - - public void setSegmentIsSet(boolean __value) { - if (!__value) { - this.segment = null; - } - } - - public List getKeys() { - return this.keys; - } - - public MultiGetReq setKeys(List keys) { - this.keys = keys; - return this; - } - - public void unsetKeys() { - this.keys = null; - } - - // Returns true if field keys is set (has been assigned a value) and false otherwise - public boolean isSetKeys() { - return this.keys != null; - } - - public void setKeysIsSet(boolean __value) { - if (!__value) { - this.keys = null; - } - } - - @SuppressWarnings("unchecked") - public void setFieldValue(int fieldID, Object __value) { - switch (fieldID) { - case SEGMENT: - if (__value == null) { - unsetSegment(); - } else { - setSegment((byte[])__value); - } - break; - - case KEYS: - if (__value == null) { - unsetKeys(); - } else { - setKeys((List)__value); - } - break; - - default: - throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); - } - } - - public Object getFieldValue(int fieldID) { - switch (fieldID) { - case SEGMENT: - return getSegment(); - - case KEYS: - return getKeys(); - - default: - throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); - } - } - - @Override - public boolean equals(Object _that) { - if (_that == null) - return false; - if (this == _that) - return true; - if (!(_that instanceof MultiGetReq)) - return false; - MultiGetReq that = (MultiGetReq)_that; - - if (!TBaseHelper.equalsSlow(this.isSetSegment(), that.isSetSegment(), this.segment, that.segment)) { return false; } - - if (!TBaseHelper.equalsSlow(this.isSetKeys(), that.isSetKeys(), this.keys, that.keys)) { return false; } - - return true; - } - - @Override - public int hashCode() { - return Arrays.deepHashCode(new Object[] {segment, keys}); - } - - @Override - public int compareTo(MultiGetReq other) { - if (other == null) { - // See java.lang.Comparable docs - throw new NullPointerException(); - } - - if (other == this) { - return 0; - } - int lastComparison = 0; - - lastComparison = Boolean.valueOf(isSetSegment()).compareTo(other.isSetSegment()); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = TBaseHelper.compareTo(segment, other.segment); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = Boolean.valueOf(isSetKeys()).compareTo(other.isSetKeys()); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = TBaseHelper.compareTo(keys, other.keys); - if (lastComparison != 0) { - return lastComparison; - } - return 0; - } - - public void read(TProtocol iprot) throws TException { - TField __field; - iprot.readStructBegin(metaDataMap); - while (true) - { - __field = iprot.readFieldBegin(); - if (__field.type == TType.STOP) { - break; - } - switch (__field.id) - { - case SEGMENT: - if (__field.type == TType.STRING) { - this.segment = iprot.readBinary(); - } else { - TProtocolUtil.skip(iprot, __field.type); - } - break; - case KEYS: - if (__field.type == TType.LIST) { - { - TList _list144 = iprot.readListBegin(); - this.keys = new ArrayList(Math.max(0, _list144.size)); - for (int _i145 = 0; - (_list144.size < 0) ? iprot.peekList() : (_i145 < _list144.size); - ++_i145) - { - byte[] _elem146; - _elem146 = iprot.readBinary(); - this.keys.add(_elem146); - } - iprot.readListEnd(); - } - } else { - TProtocolUtil.skip(iprot, __field.type); - } - break; - default: - TProtocolUtil.skip(iprot, __field.type); - break; - } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); - - - // check for required fields of primitive type, which can't be checked in the validate method - validate(); - } - - public void write(TProtocol oprot) throws TException { - validate(); - - oprot.writeStructBegin(STRUCT_DESC); - if (this.segment != null) { - oprot.writeFieldBegin(SEGMENT_FIELD_DESC); - oprot.writeBinary(this.segment); - oprot.writeFieldEnd(); - } - if (this.keys != null) { - oprot.writeFieldBegin(KEYS_FIELD_DESC); - { - oprot.writeListBegin(new TList(TType.STRING, this.keys.size())); - for (byte[] _iter147 : this.keys) { - oprot.writeBinary(_iter147); - } - oprot.writeListEnd(); - } - oprot.writeFieldEnd(); - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - - @Override - public String toString() { - return toString(1, true); - } - - @Override - public String toString(int indent, boolean prettyPrint) { - String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; - String newLine = prettyPrint ? "\n" : ""; - String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("MultiGetReq"); - sb.append(space); - sb.append("("); - sb.append(newLine); - boolean first = true; - - sb.append(indentStr); - sb.append("segment"); - sb.append(space); - sb.append(":").append(space); - if (this.getSegment() == null) { - sb.append("null"); - } else { - int __segment_size = Math.min(this.getSegment().length, 128); - for (int i = 0; i < __segment_size; i++) { - if (i != 0) sb.append(" "); - sb.append(Integer.toHexString(this.getSegment()[i]).length() > 1 ? Integer.toHexString(this.getSegment()[i]).substring(Integer.toHexString(this.getSegment()[i]).length() - 2).toUpperCase() : "0" + Integer.toHexString(this.getSegment()[i]).toUpperCase()); - } - if (this.getSegment().length > 128) sb.append(" ..."); - } - first = false; - if (!first) sb.append("," + newLine); - sb.append(indentStr); - sb.append("keys"); - sb.append(space); - sb.append(":").append(space); - if (this.getKeys() == null) { - sb.append("null"); - } else { - sb.append(TBaseHelper.toString(this.getKeys(), indent + 1, prettyPrint)); - } - first = false; - sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); - sb.append(")"); - return sb.toString(); - } - - public void validate() throws TException { - // check for required fields - } - -} - diff --git a/client/src/main/generated/com/vesoft/nebula/meta/MultiPutReq.java b/client/src/main/generated/com/vesoft/nebula/meta/MultiPutReq.java deleted file mode 100644 index d17dc98d9..000000000 --- a/client/src/main/generated/com/vesoft/nebula/meta/MultiPutReq.java +++ /dev/null @@ -1,376 +0,0 @@ -/** - * Autogenerated by Thrift - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -package com.vesoft.nebula.meta; - -import java.util.List; -import java.util.ArrayList; -import java.util.Map; -import java.util.HashMap; -import java.util.Set; -import java.util.HashSet; -import java.util.Collections; -import java.util.BitSet; -import java.util.Arrays; -import com.facebook.thrift.*; -import com.facebook.thrift.annotations.*; -import com.facebook.thrift.async.*; -import com.facebook.thrift.meta_data.*; -import com.facebook.thrift.server.*; -import com.facebook.thrift.transport.*; -import com.facebook.thrift.protocol.*; - -@SuppressWarnings({ "unused", "serial" }) -public class MultiPutReq implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("MultiPutReq"); - private static final TField SEGMENT_FIELD_DESC = new TField("segment", TType.STRING, (short)1); - private static final TField PAIRS_FIELD_DESC = new TField("pairs", TType.LIST, (short)2); - - public byte[] segment; - public List pairs; - public static final int SEGMENT = 1; - public static final int PAIRS = 2; - - // isset id assignments - - public static final Map metaDataMap; - - static { - Map tmpMetaDataMap = new HashMap(); - tmpMetaDataMap.put(SEGMENT, new FieldMetaData("segment", TFieldRequirementType.DEFAULT, - new FieldValueMetaData(TType.STRING))); - tmpMetaDataMap.put(PAIRS, new FieldMetaData("pairs", TFieldRequirementType.DEFAULT, - new ListMetaData(TType.LIST, - new StructMetaData(TType.STRUCT, com.vesoft.nebula.KeyValue.class)))); - metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); - } - - static { - FieldMetaData.addStructMetaDataMap(MultiPutReq.class, metaDataMap); - } - - public MultiPutReq() { - } - - public MultiPutReq( - byte[] segment, - List pairs) { - this(); - this.segment = segment; - this.pairs = pairs; - } - - public static class Builder { - private byte[] segment; - private List pairs; - - public Builder() { - } - - public Builder setSegment(final byte[] segment) { - this.segment = segment; - return this; - } - - public Builder setPairs(final List pairs) { - this.pairs = pairs; - return this; - } - - public MultiPutReq build() { - MultiPutReq result = new MultiPutReq(); - result.setSegment(this.segment); - result.setPairs(this.pairs); - return result; - } - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Performs a deep copy on other. - */ - public MultiPutReq(MultiPutReq other) { - if (other.isSetSegment()) { - this.segment = TBaseHelper.deepCopy(other.segment); - } - if (other.isSetPairs()) { - this.pairs = TBaseHelper.deepCopy(other.pairs); - } - } - - public MultiPutReq deepCopy() { - return new MultiPutReq(this); - } - - public byte[] getSegment() { - return this.segment; - } - - public MultiPutReq setSegment(byte[] segment) { - this.segment = segment; - return this; - } - - public void unsetSegment() { - this.segment = null; - } - - // Returns true if field segment is set (has been assigned a value) and false otherwise - public boolean isSetSegment() { - return this.segment != null; - } - - public void setSegmentIsSet(boolean __value) { - if (!__value) { - this.segment = null; - } - } - - public List getPairs() { - return this.pairs; - } - - public MultiPutReq setPairs(List pairs) { - this.pairs = pairs; - return this; - } - - public void unsetPairs() { - this.pairs = null; - } - - // Returns true if field pairs is set (has been assigned a value) and false otherwise - public boolean isSetPairs() { - return this.pairs != null; - } - - public void setPairsIsSet(boolean __value) { - if (!__value) { - this.pairs = null; - } - } - - @SuppressWarnings("unchecked") - public void setFieldValue(int fieldID, Object __value) { - switch (fieldID) { - case SEGMENT: - if (__value == null) { - unsetSegment(); - } else { - setSegment((byte[])__value); - } - break; - - case PAIRS: - if (__value == null) { - unsetPairs(); - } else { - setPairs((List)__value); - } - break; - - default: - throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); - } - } - - public Object getFieldValue(int fieldID) { - switch (fieldID) { - case SEGMENT: - return getSegment(); - - case PAIRS: - return getPairs(); - - default: - throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); - } - } - - @Override - public boolean equals(Object _that) { - if (_that == null) - return false; - if (this == _that) - return true; - if (!(_that instanceof MultiPutReq)) - return false; - MultiPutReq that = (MultiPutReq)_that; - - if (!TBaseHelper.equalsSlow(this.isSetSegment(), that.isSetSegment(), this.segment, that.segment)) { return false; } - - if (!TBaseHelper.equalsNobinary(this.isSetPairs(), that.isSetPairs(), this.pairs, that.pairs)) { return false; } - - return true; - } - - @Override - public int hashCode() { - return Arrays.deepHashCode(new Object[] {segment, pairs}); - } - - @Override - public int compareTo(MultiPutReq other) { - if (other == null) { - // See java.lang.Comparable docs - throw new NullPointerException(); - } - - if (other == this) { - return 0; - } - int lastComparison = 0; - - lastComparison = Boolean.valueOf(isSetSegment()).compareTo(other.isSetSegment()); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = TBaseHelper.compareTo(segment, other.segment); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = Boolean.valueOf(isSetPairs()).compareTo(other.isSetPairs()); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = TBaseHelper.compareTo(pairs, other.pairs); - if (lastComparison != 0) { - return lastComparison; - } - return 0; - } - - public void read(TProtocol iprot) throws TException { - TField __field; - iprot.readStructBegin(metaDataMap); - while (true) - { - __field = iprot.readFieldBegin(); - if (__field.type == TType.STOP) { - break; - } - switch (__field.id) - { - case SEGMENT: - if (__field.type == TType.STRING) { - this.segment = iprot.readBinary(); - } else { - TProtocolUtil.skip(iprot, __field.type); - } - break; - case PAIRS: - if (__field.type == TType.LIST) { - { - TList _list140 = iprot.readListBegin(); - this.pairs = new ArrayList(Math.max(0, _list140.size)); - for (int _i141 = 0; - (_list140.size < 0) ? iprot.peekList() : (_i141 < _list140.size); - ++_i141) - { - com.vesoft.nebula.KeyValue _elem142; - _elem142 = new com.vesoft.nebula.KeyValue(); - _elem142.read(iprot); - this.pairs.add(_elem142); - } - iprot.readListEnd(); - } - } else { - TProtocolUtil.skip(iprot, __field.type); - } - break; - default: - TProtocolUtil.skip(iprot, __field.type); - break; - } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); - - - // check for required fields of primitive type, which can't be checked in the validate method - validate(); - } - - public void write(TProtocol oprot) throws TException { - validate(); - - oprot.writeStructBegin(STRUCT_DESC); - if (this.segment != null) { - oprot.writeFieldBegin(SEGMENT_FIELD_DESC); - oprot.writeBinary(this.segment); - oprot.writeFieldEnd(); - } - if (this.pairs != null) { - oprot.writeFieldBegin(PAIRS_FIELD_DESC); - { - oprot.writeListBegin(new TList(TType.STRUCT, this.pairs.size())); - for (com.vesoft.nebula.KeyValue _iter143 : this.pairs) { - _iter143.write(oprot); - } - oprot.writeListEnd(); - } - oprot.writeFieldEnd(); - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - - @Override - public String toString() { - return toString(1, true); - } - - @Override - public String toString(int indent, boolean prettyPrint) { - String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; - String newLine = prettyPrint ? "\n" : ""; - String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("MultiPutReq"); - sb.append(space); - sb.append("("); - sb.append(newLine); - boolean first = true; - - sb.append(indentStr); - sb.append("segment"); - sb.append(space); - sb.append(":").append(space); - if (this.getSegment() == null) { - sb.append("null"); - } else { - int __segment_size = Math.min(this.getSegment().length, 128); - for (int i = 0; i < __segment_size; i++) { - if (i != 0) sb.append(" "); - sb.append(Integer.toHexString(this.getSegment()[i]).length() > 1 ? Integer.toHexString(this.getSegment()[i]).substring(Integer.toHexString(this.getSegment()[i]).length() - 2).toUpperCase() : "0" + Integer.toHexString(this.getSegment()[i]).toUpperCase()); - } - if (this.getSegment().length > 128) sb.append(" ..."); - } - first = false; - if (!first) sb.append("," + newLine); - sb.append(indentStr); - sb.append("pairs"); - sb.append(space); - sb.append(":").append(space); - if (this.getPairs() == null) { - sb.append("null"); - } else { - sb.append(TBaseHelper.toString(this.getPairs(), indent + 1, prettyPrint)); - } - first = false; - sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); - sb.append(")"); - return sb.toString(); - } - - public void validate() throws TException { - // check for required fields - } - -} - diff --git a/client/src/main/generated/com/vesoft/nebula/meta/PartInfo.java b/client/src/main/generated/com/vesoft/nebula/meta/PartInfo.java new file mode 100644 index 000000000..9aa1a2a1f --- /dev/null +++ b/client/src/main/generated/com/vesoft/nebula/meta/PartInfo.java @@ -0,0 +1,373 @@ +/** + * Autogenerated by Thrift + * + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * @generated + */ +package com.vesoft.nebula.meta; + +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.util.HashMap; +import java.util.Set; +import java.util.HashSet; +import java.util.Collections; +import java.util.BitSet; +import java.util.Arrays; +import com.facebook.thrift.*; +import com.facebook.thrift.annotations.*; +import com.facebook.thrift.async.*; +import com.facebook.thrift.meta_data.*; +import com.facebook.thrift.server.*; +import com.facebook.thrift.transport.*; +import com.facebook.thrift.protocol.*; + +@SuppressWarnings({ "unused", "serial" }) +public class PartInfo implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("PartInfo"); + private static final TField PART_ID_FIELD_DESC = new TField("part_id", TType.I32, (short)1); + private static final TField HOSTS_FIELD_DESC = new TField("hosts", TType.LIST, (short)2); + + public int part_id; + public List hosts; + public static final int PART_ID = 1; + public static final int HOSTS = 2; + + // isset id assignments + private static final int __PART_ID_ISSET_ID = 0; + private BitSet __isset_bit_vector = new BitSet(1); + + public static final Map metaDataMap; + + static { + Map tmpMetaDataMap = new HashMap(); + tmpMetaDataMap.put(PART_ID, new FieldMetaData("part_id", TFieldRequirementType.DEFAULT, + new FieldValueMetaData(TType.I32))); + tmpMetaDataMap.put(HOSTS, new FieldMetaData("hosts", TFieldRequirementType.DEFAULT, + new ListMetaData(TType.LIST, + new StructMetaData(TType.STRUCT, com.vesoft.nebula.HostAddr.class)))); + metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); + } + + static { + FieldMetaData.addStructMetaDataMap(PartInfo.class, metaDataMap); + } + + public PartInfo() { + } + + public PartInfo( + int part_id, + List hosts) { + this(); + this.part_id = part_id; + setPart_idIsSet(true); + this.hosts = hosts; + } + + public static class Builder { + private int part_id; + private List hosts; + + BitSet __optional_isset = new BitSet(1); + + public Builder() { + } + + public Builder setPart_id(final int part_id) { + this.part_id = part_id; + __optional_isset.set(__PART_ID_ISSET_ID, true); + return this; + } + + public Builder setHosts(final List hosts) { + this.hosts = hosts; + return this; + } + + public PartInfo build() { + PartInfo result = new PartInfo(); + if (__optional_isset.get(__PART_ID_ISSET_ID)) { + result.setPart_id(this.part_id); + } + result.setHosts(this.hosts); + return result; + } + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Performs a deep copy on other. + */ + public PartInfo(PartInfo other) { + __isset_bit_vector.clear(); + __isset_bit_vector.or(other.__isset_bit_vector); + this.part_id = TBaseHelper.deepCopy(other.part_id); + if (other.isSetHosts()) { + this.hosts = TBaseHelper.deepCopy(other.hosts); + } + } + + public PartInfo deepCopy() { + return new PartInfo(this); + } + + public int getPart_id() { + return this.part_id; + } + + public PartInfo setPart_id(int part_id) { + this.part_id = part_id; + setPart_idIsSet(true); + return this; + } + + public void unsetPart_id() { + __isset_bit_vector.clear(__PART_ID_ISSET_ID); + } + + // Returns true if field part_id is set (has been assigned a value) and false otherwise + public boolean isSetPart_id() { + return __isset_bit_vector.get(__PART_ID_ISSET_ID); + } + + public void setPart_idIsSet(boolean __value) { + __isset_bit_vector.set(__PART_ID_ISSET_ID, __value); + } + + public List getHosts() { + return this.hosts; + } + + public PartInfo setHosts(List hosts) { + this.hosts = hosts; + return this; + } + + public void unsetHosts() { + this.hosts = null; + } + + // Returns true if field hosts is set (has been assigned a value) and false otherwise + public boolean isSetHosts() { + return this.hosts != null; + } + + public void setHostsIsSet(boolean __value) { + if (!__value) { + this.hosts = null; + } + } + + @SuppressWarnings("unchecked") + public void setFieldValue(int fieldID, Object __value) { + switch (fieldID) { + case PART_ID: + if (__value == null) { + unsetPart_id(); + } else { + setPart_id((Integer)__value); + } + break; + + case HOSTS: + if (__value == null) { + unsetHosts(); + } else { + setHosts((List)__value); + } + break; + + default: + throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); + } + } + + public Object getFieldValue(int fieldID) { + switch (fieldID) { + case PART_ID: + return new Integer(getPart_id()); + + case HOSTS: + return getHosts(); + + default: + throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); + } + } + + @Override + public boolean equals(Object _that) { + if (_that == null) + return false; + if (this == _that) + return true; + if (!(_that instanceof PartInfo)) + return false; + PartInfo that = (PartInfo)_that; + + if (!TBaseHelper.equalsNobinary(this.part_id, that.part_id)) { return false; } + + if (!TBaseHelper.equalsNobinary(this.isSetHosts(), that.isSetHosts(), this.hosts, that.hosts)) { return false; } + + return true; + } + + @Override + public int hashCode() { + return Arrays.deepHashCode(new Object[] {part_id, hosts}); + } + + @Override + public int compareTo(PartInfo other) { + if (other == null) { + // See java.lang.Comparable docs + throw new NullPointerException(); + } + + if (other == this) { + return 0; + } + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetPart_id()).compareTo(other.isSetPart_id()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(part_id, other.part_id); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = Boolean.valueOf(isSetHosts()).compareTo(other.isSetHosts()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(hosts, other.hosts); + if (lastComparison != 0) { + return lastComparison; + } + return 0; + } + + public void read(TProtocol iprot) throws TException { + TField __field; + iprot.readStructBegin(metaDataMap); + while (true) + { + __field = iprot.readFieldBegin(); + if (__field.type == TType.STOP) { + break; + } + switch (__field.id) + { + case PART_ID: + if (__field.type == TType.I32) { + this.part_id = iprot.readI32(); + setPart_idIsSet(true); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + case HOSTS: + if (__field.type == TType.LIST) { + { + TList _list286 = iprot.readListBegin(); + this.hosts = new ArrayList(Math.max(0, _list286.size)); + for (int _i287 = 0; + (_list286.size < 0) ? iprot.peekList() : (_i287 < _list286.size); + ++_i287) + { + com.vesoft.nebula.HostAddr _elem288; + _elem288 = new com.vesoft.nebula.HostAddr(); + _elem288.read(iprot); + this.hosts.add(_elem288); + } + iprot.readListEnd(); + } + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + default: + TProtocolUtil.skip(iprot, __field.type); + break; + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + + // check for required fields of primitive type, which can't be checked in the validate method + validate(); + } + + public void write(TProtocol oprot) throws TException { + validate(); + + oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldBegin(PART_ID_FIELD_DESC); + oprot.writeI32(this.part_id); + oprot.writeFieldEnd(); + if (this.hosts != null) { + oprot.writeFieldBegin(HOSTS_FIELD_DESC); + { + oprot.writeListBegin(new TList(TType.STRUCT, this.hosts.size())); + for (com.vesoft.nebula.HostAddr _iter289 : this.hosts) { + _iter289.write(oprot); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + @Override + public String toString() { + return toString(1, true); + } + + @Override + public String toString(int indent, boolean prettyPrint) { + String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; + String newLine = prettyPrint ? "\n" : ""; + String space = prettyPrint ? " " : ""; + StringBuilder sb = new StringBuilder("PartInfo"); + sb.append(space); + sb.append("("); + sb.append(newLine); + boolean first = true; + + sb.append(indentStr); + sb.append("part_id"); + sb.append(space); + sb.append(":").append(space); + sb.append(TBaseHelper.toString(this.getPart_id(), indent + 1, prettyPrint)); + first = false; + if (!first) sb.append("," + newLine); + sb.append(indentStr); + sb.append("hosts"); + sb.append(space); + sb.append(":").append(space); + if (this.getHosts() == null) { + sb.append("null"); + } else { + sb.append(TBaseHelper.toString(this.getHosts(), indent + 1, prettyPrint)); + } + first = false; + sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); + sb.append(")"); + return sb.toString(); + } + + public void validate() throws TException { + // check for required fields + } + +} + diff --git a/client/src/main/generated/com/vesoft/nebula/meta/PartitionList.java b/client/src/main/generated/com/vesoft/nebula/meta/PartitionList.java index f9e98a266..8ef493cd1 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/PartitionList.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/PartitionList.java @@ -198,15 +198,15 @@ public void read(TProtocol iprot) throws TException { case PART_LIST: if (__field.type == TType.LIST) { { - TList _list156 = iprot.readListBegin(); - this.part_list = new ArrayList(Math.max(0, _list156.size)); - for (int _i157 = 0; - (_list156.size < 0) ? iprot.peekList() : (_i157 < _list156.size); - ++_i157) + TList _list140 = iprot.readListBegin(); + this.part_list = new ArrayList(Math.max(0, _list140.size)); + for (int _i141 = 0; + (_list140.size < 0) ? iprot.peekList() : (_i141 < _list140.size); + ++_i141) { - int _elem158; - _elem158 = iprot.readI32(); - this.part_list.add(_elem158); + int _elem142; + _elem142 = iprot.readI32(); + this.part_list.add(_elem142); } iprot.readListEnd(); } @@ -235,8 +235,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(PART_LIST_FIELD_DESC); { oprot.writeListBegin(new TList(TType.I32, this.part_list.size())); - for (int _iter159 : this.part_list) { - oprot.writeI32(_iter159); + for (int _iter143 : this.part_list) { + oprot.writeI32(_iter143); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/RegConfigReq.java b/client/src/main/generated/com/vesoft/nebula/meta/RegConfigReq.java index dd50e2121..6cd9988c6 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/RegConfigReq.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/RegConfigReq.java @@ -175,16 +175,16 @@ public void read(TProtocol iprot) throws TException { case ITEMS: if (__field.type == TType.LIST) { { - TList _list208 = iprot.readListBegin(); - this.items = new ArrayList(Math.max(0, _list208.size)); - for (int _i209 = 0; - (_list208.size < 0) ? iprot.peekList() : (_i209 < _list208.size); - ++_i209) + TList _list192 = iprot.readListBegin(); + this.items = new ArrayList(Math.max(0, _list192.size)); + for (int _i193 = 0; + (_list192.size < 0) ? iprot.peekList() : (_i193 < _list192.size); + ++_i193) { - ConfigItem _elem210; - _elem210 = new ConfigItem(); - _elem210.read(iprot); - this.items.add(_elem210); + ConfigItem _elem194; + _elem194 = new ConfigItem(); + _elem194.read(iprot); + this.items.add(_elem194); } iprot.readListEnd(); } @@ -213,8 +213,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(ITEMS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.items.size())); - for (ConfigItem _iter211 : this.items) { - _iter211.write(oprot); + for (ConfigItem _iter195 : this.items) { + _iter195.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/RemoveRangeReq.java b/client/src/main/generated/com/vesoft/nebula/meta/RemoveRangeReq.java deleted file mode 100644 index ef722b153..000000000 --- a/client/src/main/generated/com/vesoft/nebula/meta/RemoveRangeReq.java +++ /dev/null @@ -1,450 +0,0 @@ -/** - * Autogenerated by Thrift - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -package com.vesoft.nebula.meta; - -import java.util.List; -import java.util.ArrayList; -import java.util.Map; -import java.util.HashMap; -import java.util.Set; -import java.util.HashSet; -import java.util.Collections; -import java.util.BitSet; -import java.util.Arrays; -import com.facebook.thrift.*; -import com.facebook.thrift.annotations.*; -import com.facebook.thrift.async.*; -import com.facebook.thrift.meta_data.*; -import com.facebook.thrift.server.*; -import com.facebook.thrift.transport.*; -import com.facebook.thrift.protocol.*; - -@SuppressWarnings({ "unused", "serial" }) -public class RemoveRangeReq implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("RemoveRangeReq"); - private static final TField SEGMENT_FIELD_DESC = new TField("segment", TType.STRING, (short)1); - private static final TField START_FIELD_DESC = new TField("start", TType.STRING, (short)2); - private static final TField END_FIELD_DESC = new TField("end", TType.STRING, (short)3); - - public byte[] segment; - public byte[] start; - public byte[] end; - public static final int SEGMENT = 1; - public static final int START = 2; - public static final int END = 3; - - // isset id assignments - - public static final Map metaDataMap; - - static { - Map tmpMetaDataMap = new HashMap(); - tmpMetaDataMap.put(SEGMENT, new FieldMetaData("segment", TFieldRequirementType.DEFAULT, - new FieldValueMetaData(TType.STRING))); - tmpMetaDataMap.put(START, new FieldMetaData("start", TFieldRequirementType.DEFAULT, - new FieldValueMetaData(TType.STRING))); - tmpMetaDataMap.put(END, new FieldMetaData("end", TFieldRequirementType.DEFAULT, - new FieldValueMetaData(TType.STRING))); - metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); - } - - static { - FieldMetaData.addStructMetaDataMap(RemoveRangeReq.class, metaDataMap); - } - - public RemoveRangeReq() { - } - - public RemoveRangeReq( - byte[] segment, - byte[] start, - byte[] end) { - this(); - this.segment = segment; - this.start = start; - this.end = end; - } - - public static class Builder { - private byte[] segment; - private byte[] start; - private byte[] end; - - public Builder() { - } - - public Builder setSegment(final byte[] segment) { - this.segment = segment; - return this; - } - - public Builder setStart(final byte[] start) { - this.start = start; - return this; - } - - public Builder setEnd(final byte[] end) { - this.end = end; - return this; - } - - public RemoveRangeReq build() { - RemoveRangeReq result = new RemoveRangeReq(); - result.setSegment(this.segment); - result.setStart(this.start); - result.setEnd(this.end); - return result; - } - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Performs a deep copy on other. - */ - public RemoveRangeReq(RemoveRangeReq other) { - if (other.isSetSegment()) { - this.segment = TBaseHelper.deepCopy(other.segment); - } - if (other.isSetStart()) { - this.start = TBaseHelper.deepCopy(other.start); - } - if (other.isSetEnd()) { - this.end = TBaseHelper.deepCopy(other.end); - } - } - - public RemoveRangeReq deepCopy() { - return new RemoveRangeReq(this); - } - - public byte[] getSegment() { - return this.segment; - } - - public RemoveRangeReq setSegment(byte[] segment) { - this.segment = segment; - return this; - } - - public void unsetSegment() { - this.segment = null; - } - - // Returns true if field segment is set (has been assigned a value) and false otherwise - public boolean isSetSegment() { - return this.segment != null; - } - - public void setSegmentIsSet(boolean __value) { - if (!__value) { - this.segment = null; - } - } - - public byte[] getStart() { - return this.start; - } - - public RemoveRangeReq setStart(byte[] start) { - this.start = start; - return this; - } - - public void unsetStart() { - this.start = null; - } - - // Returns true if field start is set (has been assigned a value) and false otherwise - public boolean isSetStart() { - return this.start != null; - } - - public void setStartIsSet(boolean __value) { - if (!__value) { - this.start = null; - } - } - - public byte[] getEnd() { - return this.end; - } - - public RemoveRangeReq setEnd(byte[] end) { - this.end = end; - return this; - } - - public void unsetEnd() { - this.end = null; - } - - // Returns true if field end is set (has been assigned a value) and false otherwise - public boolean isSetEnd() { - return this.end != null; - } - - public void setEndIsSet(boolean __value) { - if (!__value) { - this.end = null; - } - } - - public void setFieldValue(int fieldID, Object __value) { - switch (fieldID) { - case SEGMENT: - if (__value == null) { - unsetSegment(); - } else { - setSegment((byte[])__value); - } - break; - - case START: - if (__value == null) { - unsetStart(); - } else { - setStart((byte[])__value); - } - break; - - case END: - if (__value == null) { - unsetEnd(); - } else { - setEnd((byte[])__value); - } - break; - - default: - throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); - } - } - - public Object getFieldValue(int fieldID) { - switch (fieldID) { - case SEGMENT: - return getSegment(); - - case START: - return getStart(); - - case END: - return getEnd(); - - default: - throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); - } - } - - @Override - public boolean equals(Object _that) { - if (_that == null) - return false; - if (this == _that) - return true; - if (!(_that instanceof RemoveRangeReq)) - return false; - RemoveRangeReq that = (RemoveRangeReq)_that; - - if (!TBaseHelper.equalsSlow(this.isSetSegment(), that.isSetSegment(), this.segment, that.segment)) { return false; } - - if (!TBaseHelper.equalsSlow(this.isSetStart(), that.isSetStart(), this.start, that.start)) { return false; } - - if (!TBaseHelper.equalsSlow(this.isSetEnd(), that.isSetEnd(), this.end, that.end)) { return false; } - - return true; - } - - @Override - public int hashCode() { - return Arrays.deepHashCode(new Object[] {segment, start, end}); - } - - @Override - public int compareTo(RemoveRangeReq other) { - if (other == null) { - // See java.lang.Comparable docs - throw new NullPointerException(); - } - - if (other == this) { - return 0; - } - int lastComparison = 0; - - lastComparison = Boolean.valueOf(isSetSegment()).compareTo(other.isSetSegment()); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = TBaseHelper.compareTo(segment, other.segment); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = Boolean.valueOf(isSetStart()).compareTo(other.isSetStart()); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = TBaseHelper.compareTo(start, other.start); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = Boolean.valueOf(isSetEnd()).compareTo(other.isSetEnd()); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = TBaseHelper.compareTo(end, other.end); - if (lastComparison != 0) { - return lastComparison; - } - return 0; - } - - public void read(TProtocol iprot) throws TException { - TField __field; - iprot.readStructBegin(metaDataMap); - while (true) - { - __field = iprot.readFieldBegin(); - if (__field.type == TType.STOP) { - break; - } - switch (__field.id) - { - case SEGMENT: - if (__field.type == TType.STRING) { - this.segment = iprot.readBinary(); - } else { - TProtocolUtil.skip(iprot, __field.type); - } - break; - case START: - if (__field.type == TType.STRING) { - this.start = iprot.readBinary(); - } else { - TProtocolUtil.skip(iprot, __field.type); - } - break; - case END: - if (__field.type == TType.STRING) { - this.end = iprot.readBinary(); - } else { - TProtocolUtil.skip(iprot, __field.type); - } - break; - default: - TProtocolUtil.skip(iprot, __field.type); - break; - } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); - - - // check for required fields of primitive type, which can't be checked in the validate method - validate(); - } - - public void write(TProtocol oprot) throws TException { - validate(); - - oprot.writeStructBegin(STRUCT_DESC); - if (this.segment != null) { - oprot.writeFieldBegin(SEGMENT_FIELD_DESC); - oprot.writeBinary(this.segment); - oprot.writeFieldEnd(); - } - if (this.start != null) { - oprot.writeFieldBegin(START_FIELD_DESC); - oprot.writeBinary(this.start); - oprot.writeFieldEnd(); - } - if (this.end != null) { - oprot.writeFieldBegin(END_FIELD_DESC); - oprot.writeBinary(this.end); - oprot.writeFieldEnd(); - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - - @Override - public String toString() { - return toString(1, true); - } - - @Override - public String toString(int indent, boolean prettyPrint) { - String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; - String newLine = prettyPrint ? "\n" : ""; - String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("RemoveRangeReq"); - sb.append(space); - sb.append("("); - sb.append(newLine); - boolean first = true; - - sb.append(indentStr); - sb.append("segment"); - sb.append(space); - sb.append(":").append(space); - if (this.getSegment() == null) { - sb.append("null"); - } else { - int __segment_size = Math.min(this.getSegment().length, 128); - for (int i = 0; i < __segment_size; i++) { - if (i != 0) sb.append(" "); - sb.append(Integer.toHexString(this.getSegment()[i]).length() > 1 ? Integer.toHexString(this.getSegment()[i]).substring(Integer.toHexString(this.getSegment()[i]).length() - 2).toUpperCase() : "0" + Integer.toHexString(this.getSegment()[i]).toUpperCase()); - } - if (this.getSegment().length > 128) sb.append(" ..."); - } - first = false; - if (!first) sb.append("," + newLine); - sb.append(indentStr); - sb.append("start"); - sb.append(space); - sb.append(":").append(space); - if (this.getStart() == null) { - sb.append("null"); - } else { - int __start_size = Math.min(this.getStart().length, 128); - for (int i = 0; i < __start_size; i++) { - if (i != 0) sb.append(" "); - sb.append(Integer.toHexString(this.getStart()[i]).length() > 1 ? Integer.toHexString(this.getStart()[i]).substring(Integer.toHexString(this.getStart()[i]).length() - 2).toUpperCase() : "0" + Integer.toHexString(this.getStart()[i]).toUpperCase()); - } - if (this.getStart().length > 128) sb.append(" ..."); - } - first = false; - if (!first) sb.append("," + newLine); - sb.append(indentStr); - sb.append("end"); - sb.append(space); - sb.append(":").append(space); - if (this.getEnd() == null) { - sb.append("null"); - } else { - int __end_size = Math.min(this.getEnd().length, 128); - for (int i = 0; i < __end_size; i++) { - if (i != 0) sb.append(" "); - sb.append(Integer.toHexString(this.getEnd()[i]).length() > 1 ? Integer.toHexString(this.getEnd()[i]).substring(Integer.toHexString(this.getEnd()[i]).length() - 2).toUpperCase() : "0" + Integer.toHexString(this.getEnd()[i]).toUpperCase()); - } - if (this.getEnd().length > 128) sb.append(" ..."); - } - first = false; - sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); - sb.append(")"); - return sb.toString(); - } - - public void validate() throws TException { - // check for required fields - } - -} - diff --git a/client/src/main/generated/com/vesoft/nebula/meta/RemoveReq.java b/client/src/main/generated/com/vesoft/nebula/meta/RemoveReq.java deleted file mode 100644 index a3d2a2b97..000000000 --- a/client/src/main/generated/com/vesoft/nebula/meta/RemoveReq.java +++ /dev/null @@ -1,360 +0,0 @@ -/** - * Autogenerated by Thrift - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -package com.vesoft.nebula.meta; - -import java.util.List; -import java.util.ArrayList; -import java.util.Map; -import java.util.HashMap; -import java.util.Set; -import java.util.HashSet; -import java.util.Collections; -import java.util.BitSet; -import java.util.Arrays; -import com.facebook.thrift.*; -import com.facebook.thrift.annotations.*; -import com.facebook.thrift.async.*; -import com.facebook.thrift.meta_data.*; -import com.facebook.thrift.server.*; -import com.facebook.thrift.transport.*; -import com.facebook.thrift.protocol.*; - -@SuppressWarnings({ "unused", "serial" }) -public class RemoveReq implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("RemoveReq"); - private static final TField SEGMENT_FIELD_DESC = new TField("segment", TType.STRING, (short)1); - private static final TField KEY_FIELD_DESC = new TField("key", TType.STRING, (short)2); - - public byte[] segment; - public byte[] key; - public static final int SEGMENT = 1; - public static final int KEY = 2; - - // isset id assignments - - public static final Map metaDataMap; - - static { - Map tmpMetaDataMap = new HashMap(); - tmpMetaDataMap.put(SEGMENT, new FieldMetaData("segment", TFieldRequirementType.DEFAULT, - new FieldValueMetaData(TType.STRING))); - tmpMetaDataMap.put(KEY, new FieldMetaData("key", TFieldRequirementType.DEFAULT, - new FieldValueMetaData(TType.STRING))); - metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); - } - - static { - FieldMetaData.addStructMetaDataMap(RemoveReq.class, metaDataMap); - } - - public RemoveReq() { - } - - public RemoveReq( - byte[] segment, - byte[] key) { - this(); - this.segment = segment; - this.key = key; - } - - public static class Builder { - private byte[] segment; - private byte[] key; - - public Builder() { - } - - public Builder setSegment(final byte[] segment) { - this.segment = segment; - return this; - } - - public Builder setKey(final byte[] key) { - this.key = key; - return this; - } - - public RemoveReq build() { - RemoveReq result = new RemoveReq(); - result.setSegment(this.segment); - result.setKey(this.key); - return result; - } - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Performs a deep copy on other. - */ - public RemoveReq(RemoveReq other) { - if (other.isSetSegment()) { - this.segment = TBaseHelper.deepCopy(other.segment); - } - if (other.isSetKey()) { - this.key = TBaseHelper.deepCopy(other.key); - } - } - - public RemoveReq deepCopy() { - return new RemoveReq(this); - } - - public byte[] getSegment() { - return this.segment; - } - - public RemoveReq setSegment(byte[] segment) { - this.segment = segment; - return this; - } - - public void unsetSegment() { - this.segment = null; - } - - // Returns true if field segment is set (has been assigned a value) and false otherwise - public boolean isSetSegment() { - return this.segment != null; - } - - public void setSegmentIsSet(boolean __value) { - if (!__value) { - this.segment = null; - } - } - - public byte[] getKey() { - return this.key; - } - - public RemoveReq setKey(byte[] key) { - this.key = key; - return this; - } - - public void unsetKey() { - this.key = null; - } - - // Returns true if field key is set (has been assigned a value) and false otherwise - public boolean isSetKey() { - return this.key != null; - } - - public void setKeyIsSet(boolean __value) { - if (!__value) { - this.key = null; - } - } - - public void setFieldValue(int fieldID, Object __value) { - switch (fieldID) { - case SEGMENT: - if (__value == null) { - unsetSegment(); - } else { - setSegment((byte[])__value); - } - break; - - case KEY: - if (__value == null) { - unsetKey(); - } else { - setKey((byte[])__value); - } - break; - - default: - throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); - } - } - - public Object getFieldValue(int fieldID) { - switch (fieldID) { - case SEGMENT: - return getSegment(); - - case KEY: - return getKey(); - - default: - throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); - } - } - - @Override - public boolean equals(Object _that) { - if (_that == null) - return false; - if (this == _that) - return true; - if (!(_that instanceof RemoveReq)) - return false; - RemoveReq that = (RemoveReq)_that; - - if (!TBaseHelper.equalsSlow(this.isSetSegment(), that.isSetSegment(), this.segment, that.segment)) { return false; } - - if (!TBaseHelper.equalsSlow(this.isSetKey(), that.isSetKey(), this.key, that.key)) { return false; } - - return true; - } - - @Override - public int hashCode() { - return Arrays.deepHashCode(new Object[] {segment, key}); - } - - @Override - public int compareTo(RemoveReq other) { - if (other == null) { - // See java.lang.Comparable docs - throw new NullPointerException(); - } - - if (other == this) { - return 0; - } - int lastComparison = 0; - - lastComparison = Boolean.valueOf(isSetSegment()).compareTo(other.isSetSegment()); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = TBaseHelper.compareTo(segment, other.segment); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = Boolean.valueOf(isSetKey()).compareTo(other.isSetKey()); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = TBaseHelper.compareTo(key, other.key); - if (lastComparison != 0) { - return lastComparison; - } - return 0; - } - - public void read(TProtocol iprot) throws TException { - TField __field; - iprot.readStructBegin(metaDataMap); - while (true) - { - __field = iprot.readFieldBegin(); - if (__field.type == TType.STOP) { - break; - } - switch (__field.id) - { - case SEGMENT: - if (__field.type == TType.STRING) { - this.segment = iprot.readBinary(); - } else { - TProtocolUtil.skip(iprot, __field.type); - } - break; - case KEY: - if (__field.type == TType.STRING) { - this.key = iprot.readBinary(); - } else { - TProtocolUtil.skip(iprot, __field.type); - } - break; - default: - TProtocolUtil.skip(iprot, __field.type); - break; - } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); - - - // check for required fields of primitive type, which can't be checked in the validate method - validate(); - } - - public void write(TProtocol oprot) throws TException { - validate(); - - oprot.writeStructBegin(STRUCT_DESC); - if (this.segment != null) { - oprot.writeFieldBegin(SEGMENT_FIELD_DESC); - oprot.writeBinary(this.segment); - oprot.writeFieldEnd(); - } - if (this.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeBinary(this.key); - oprot.writeFieldEnd(); - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - - @Override - public String toString() { - return toString(1, true); - } - - @Override - public String toString(int indent, boolean prettyPrint) { - String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; - String newLine = prettyPrint ? "\n" : ""; - String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("RemoveReq"); - sb.append(space); - sb.append("("); - sb.append(newLine); - boolean first = true; - - sb.append(indentStr); - sb.append("segment"); - sb.append(space); - sb.append(":").append(space); - if (this.getSegment() == null) { - sb.append("null"); - } else { - int __segment_size = Math.min(this.getSegment().length, 128); - for (int i = 0; i < __segment_size; i++) { - if (i != 0) sb.append(" "); - sb.append(Integer.toHexString(this.getSegment()[i]).length() > 1 ? Integer.toHexString(this.getSegment()[i]).substring(Integer.toHexString(this.getSegment()[i]).length() - 2).toUpperCase() : "0" + Integer.toHexString(this.getSegment()[i]).toUpperCase()); - } - if (this.getSegment().length > 128) sb.append(" ..."); - } - first = false; - if (!first) sb.append("," + newLine); - sb.append(indentStr); - sb.append("key"); - sb.append(space); - sb.append(":").append(space); - if (this.getKey() == null) { - sb.append("null"); - } else { - int __key_size = Math.min(this.getKey().length, 128); - for (int i = 0; i < __key_size; i++) { - if (i != 0) sb.append(" "); - sb.append(Integer.toHexString(this.getKey()[i]).length() > 1 ? Integer.toHexString(this.getKey()[i]).substring(Integer.toHexString(this.getKey()[i]).length() - 2).toUpperCase() : "0" + Integer.toHexString(this.getKey()[i]).toUpperCase()); - } - if (this.getKey().length > 128) sb.append(" ..."); - } - first = false; - sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); - sb.append(")"); - return sb.toString(); - } - - public void validate() throws TException { - // check for required fields - } - -} - diff --git a/client/src/main/generated/com/vesoft/nebula/meta/RemoveSessionReq.java b/client/src/main/generated/com/vesoft/nebula/meta/RemoveSessionReq.java index 1a4d78c1c..40a708c57 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/RemoveSessionReq.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/RemoveSessionReq.java @@ -26,21 +26,20 @@ @SuppressWarnings({ "unused", "serial" }) public class RemoveSessionReq implements TBase, java.io.Serializable, Cloneable, Comparable { private static final TStruct STRUCT_DESC = new TStruct("RemoveSessionReq"); - private static final TField SESSION_ID_FIELD_DESC = new TField("session_id", TType.I64, (short)1); + private static final TField SESSION_IDS_FIELD_DESC = new TField("session_ids", TType.LIST, (short)1); - public long session_id; - public static final int SESSION_ID = 1; + public List session_ids; + public static final int SESSION_IDS = 1; // isset id assignments - private static final int __SESSION_ID_ISSET_ID = 0; - private BitSet __isset_bit_vector = new BitSet(1); public static final Map metaDataMap; static { Map tmpMetaDataMap = new HashMap(); - tmpMetaDataMap.put(SESSION_ID, new FieldMetaData("session_id", TFieldRequirementType.DEFAULT, - new FieldValueMetaData(TType.I64))); + tmpMetaDataMap.put(SESSION_IDS, new FieldMetaData("session_ids", TFieldRequirementType.DEFAULT, + new ListMetaData(TType.LIST, + new FieldValueMetaData(TType.I64)))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } @@ -52,31 +51,25 @@ public RemoveSessionReq() { } public RemoveSessionReq( - long session_id) { + List session_ids) { this(); - this.session_id = session_id; - setSession_idIsSet(true); + this.session_ids = session_ids; } public static class Builder { - private long session_id; - - BitSet __optional_isset = new BitSet(1); + private List session_ids; public Builder() { } - public Builder setSession_id(final long session_id) { - this.session_id = session_id; - __optional_isset.set(__SESSION_ID_ISSET_ID, true); + public Builder setSession_ids(final List session_ids) { + this.session_ids = session_ids; return this; } public RemoveSessionReq build() { RemoveSessionReq result = new RemoveSessionReq(); - if (__optional_isset.get(__SESSION_ID_ISSET_ID)) { - result.setSession_id(this.session_id); - } + result.setSession_ids(this.session_ids); return result; } } @@ -89,45 +82,47 @@ public static Builder builder() { * Performs a deep copy on other. */ public RemoveSessionReq(RemoveSessionReq other) { - __isset_bit_vector.clear(); - __isset_bit_vector.or(other.__isset_bit_vector); - this.session_id = TBaseHelper.deepCopy(other.session_id); + if (other.isSetSession_ids()) { + this.session_ids = TBaseHelper.deepCopy(other.session_ids); + } } public RemoveSessionReq deepCopy() { return new RemoveSessionReq(this); } - public long getSession_id() { - return this.session_id; + public List getSession_ids() { + return this.session_ids; } - public RemoveSessionReq setSession_id(long session_id) { - this.session_id = session_id; - setSession_idIsSet(true); + public RemoveSessionReq setSession_ids(List session_ids) { + this.session_ids = session_ids; return this; } - public void unsetSession_id() { - __isset_bit_vector.clear(__SESSION_ID_ISSET_ID); + public void unsetSession_ids() { + this.session_ids = null; } - // Returns true if field session_id is set (has been assigned a value) and false otherwise - public boolean isSetSession_id() { - return __isset_bit_vector.get(__SESSION_ID_ISSET_ID); + // Returns true if field session_ids is set (has been assigned a value) and false otherwise + public boolean isSetSession_ids() { + return this.session_ids != null; } - public void setSession_idIsSet(boolean __value) { - __isset_bit_vector.set(__SESSION_ID_ISSET_ID, __value); + public void setSession_idsIsSet(boolean __value) { + if (!__value) { + this.session_ids = null; + } } + @SuppressWarnings("unchecked") public void setFieldValue(int fieldID, Object __value) { switch (fieldID) { - case SESSION_ID: + case SESSION_IDS: if (__value == null) { - unsetSession_id(); + unsetSession_ids(); } else { - setSession_id((Long)__value); + setSession_ids((List)__value); } break; @@ -138,8 +133,8 @@ public void setFieldValue(int fieldID, Object __value) { public Object getFieldValue(int fieldID) { switch (fieldID) { - case SESSION_ID: - return new Long(getSession_id()); + case SESSION_IDS: + return getSession_ids(); default: throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); @@ -156,14 +151,14 @@ public boolean equals(Object _that) { return false; RemoveSessionReq that = (RemoveSessionReq)_that; - if (!TBaseHelper.equalsNobinary(this.session_id, that.session_id)) { return false; } + if (!TBaseHelper.equalsNobinary(this.isSetSession_ids(), that.isSetSession_ids(), this.session_ids, that.session_ids)) { return false; } return true; } @Override public int hashCode() { - return Arrays.deepHashCode(new Object[] {session_id}); + return Arrays.deepHashCode(new Object[] {session_ids}); } @Override @@ -178,11 +173,11 @@ public int compareTo(RemoveSessionReq other) { } int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetSession_id()).compareTo(other.isSetSession_id()); + lastComparison = Boolean.valueOf(isSetSession_ids()).compareTo(other.isSetSession_ids()); if (lastComparison != 0) { return lastComparison; } - lastComparison = TBaseHelper.compareTo(session_id, other.session_id); + lastComparison = TBaseHelper.compareTo(session_ids, other.session_ids); if (lastComparison != 0) { return lastComparison; } @@ -200,10 +195,21 @@ public void read(TProtocol iprot) throws TException { } switch (__field.id) { - case SESSION_ID: - if (__field.type == TType.I64) { - this.session_id = iprot.readI64(); - setSession_idIsSet(true); + case SESSION_IDS: + if (__field.type == TType.LIST) { + { + TList _list353 = iprot.readListBegin(); + this.session_ids = new ArrayList(Math.max(0, _list353.size)); + for (int _i354 = 0; + (_list353.size < 0) ? iprot.peekList() : (_i354 < _list353.size); + ++_i354) + { + long _elem355; + _elem355 = iprot.readI64(); + this.session_ids.add(_elem355); + } + iprot.readListEnd(); + } } else { TProtocolUtil.skip(iprot, __field.type); } @@ -225,9 +231,17 @@ public void write(TProtocol oprot) throws TException { validate(); oprot.writeStructBegin(STRUCT_DESC); - oprot.writeFieldBegin(SESSION_ID_FIELD_DESC); - oprot.writeI64(this.session_id); - oprot.writeFieldEnd(); + if (this.session_ids != null) { + oprot.writeFieldBegin(SESSION_IDS_FIELD_DESC); + { + oprot.writeListBegin(new TList(TType.I64, this.session_ids.size())); + for (long _iter356 : this.session_ids) { + oprot.writeI64(_iter356); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -249,10 +263,14 @@ public String toString(int indent, boolean prettyPrint) { boolean first = true; sb.append(indentStr); - sb.append("session_id"); + sb.append("session_ids"); sb.append(space); sb.append(":").append(space); - sb.append(TBaseHelper.toString(this.getSession_id(), indent + 1, prettyPrint)); + if (this.getSession_ids() == null) { + sb.append("null"); + } else { + sb.append(TBaseHelper.toString(this.getSession_ids(), indent + 1, prettyPrint)); + } first = false; sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); sb.append(")"); diff --git a/client/src/main/generated/com/vesoft/nebula/meta/ScanResp.java b/client/src/main/generated/com/vesoft/nebula/meta/RemoveSessionResp.java similarity index 70% rename from client/src/main/generated/com/vesoft/nebula/meta/ScanResp.java rename to client/src/main/generated/com/vesoft/nebula/meta/RemoveSessionResp.java index 6bc97cba1..7b99b4799 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/ScanResp.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/RemoveSessionResp.java @@ -24,11 +24,11 @@ import com.facebook.thrift.protocol.*; @SuppressWarnings({ "unused", "serial" }) -public class ScanResp implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("ScanResp"); +public class RemoveSessionResp implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("RemoveSessionResp"); private static final TField CODE_FIELD_DESC = new TField("code", TType.I32, (short)1); private static final TField LEADER_FIELD_DESC = new TField("leader", TType.STRUCT, (short)2); - private static final TField VALUES_FIELD_DESC = new TField("values", TType.LIST, (short)3); + private static final TField REMOVED_SESSION_IDS_FIELD_DESC = new TField("removed_session_ids", TType.LIST, (short)3); /** * @@ -36,10 +36,10 @@ public class ScanResp implements TBase, java.io.Serializable, Cloneable, Compara */ public com.vesoft.nebula.ErrorCode code; public com.vesoft.nebula.HostAddr leader; - public List values; + public List removed_session_ids; public static final int CODE = 1; public static final int LEADER = 2; - public static final int VALUES = 3; + public static final int REMOVED_SESSION_IDS = 3; // isset id assignments @@ -51,33 +51,33 @@ public class ScanResp implements TBase, java.io.Serializable, Cloneable, Compara new FieldValueMetaData(TType.I32))); tmpMetaDataMap.put(LEADER, new FieldMetaData("leader", TFieldRequirementType.DEFAULT, new StructMetaData(TType.STRUCT, com.vesoft.nebula.HostAddr.class))); - tmpMetaDataMap.put(VALUES, new FieldMetaData("values", TFieldRequirementType.DEFAULT, + tmpMetaDataMap.put(REMOVED_SESSION_IDS, new FieldMetaData("removed_session_ids", TFieldRequirementType.DEFAULT, new ListMetaData(TType.LIST, - new FieldValueMetaData(TType.STRING)))); + new FieldValueMetaData(TType.I64)))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(ScanResp.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(RemoveSessionResp.class, metaDataMap); } - public ScanResp() { + public RemoveSessionResp() { } - public ScanResp( + public RemoveSessionResp( com.vesoft.nebula.ErrorCode code, com.vesoft.nebula.HostAddr leader, - List values) { + List removed_session_ids) { this(); this.code = code; this.leader = leader; - this.values = values; + this.removed_session_ids = removed_session_ids; } public static class Builder { private com.vesoft.nebula.ErrorCode code; private com.vesoft.nebula.HostAddr leader; - private List values; + private List removed_session_ids; public Builder() { } @@ -92,16 +92,16 @@ public Builder setLeader(final com.vesoft.nebula.HostAddr leader) { return this; } - public Builder setValues(final List values) { - this.values = values; + public Builder setRemoved_session_ids(final List removed_session_ids) { + this.removed_session_ids = removed_session_ids; return this; } - public ScanResp build() { - ScanResp result = new ScanResp(); + public RemoveSessionResp build() { + RemoveSessionResp result = new RemoveSessionResp(); result.setCode(this.code); result.setLeader(this.leader); - result.setValues(this.values); + result.setRemoved_session_ids(this.removed_session_ids); return result; } } @@ -113,20 +113,20 @@ public static Builder builder() { /** * Performs a deep copy on other. */ - public ScanResp(ScanResp other) { + public RemoveSessionResp(RemoveSessionResp other) { if (other.isSetCode()) { this.code = TBaseHelper.deepCopy(other.code); } if (other.isSetLeader()) { this.leader = TBaseHelper.deepCopy(other.leader); } - if (other.isSetValues()) { - this.values = TBaseHelper.deepCopy(other.values); + if (other.isSetRemoved_session_ids()) { + this.removed_session_ids = TBaseHelper.deepCopy(other.removed_session_ids); } } - public ScanResp deepCopy() { - return new ScanResp(this); + public RemoveSessionResp deepCopy() { + return new RemoveSessionResp(this); } /** @@ -141,7 +141,7 @@ public com.vesoft.nebula.ErrorCode getCode() { * * @see com.vesoft.nebula.ErrorCode */ - public ScanResp setCode(com.vesoft.nebula.ErrorCode code) { + public RemoveSessionResp setCode(com.vesoft.nebula.ErrorCode code) { this.code = code; return this; } @@ -165,7 +165,7 @@ public com.vesoft.nebula.HostAddr getLeader() { return this.leader; } - public ScanResp setLeader(com.vesoft.nebula.HostAddr leader) { + public RemoveSessionResp setLeader(com.vesoft.nebula.HostAddr leader) { this.leader = leader; return this; } @@ -185,27 +185,27 @@ public void setLeaderIsSet(boolean __value) { } } - public List getValues() { - return this.values; + public List getRemoved_session_ids() { + return this.removed_session_ids; } - public ScanResp setValues(List values) { - this.values = values; + public RemoveSessionResp setRemoved_session_ids(List removed_session_ids) { + this.removed_session_ids = removed_session_ids; return this; } - public void unsetValues() { - this.values = null; + public void unsetRemoved_session_ids() { + this.removed_session_ids = null; } - // Returns true if field values is set (has been assigned a value) and false otherwise - public boolean isSetValues() { - return this.values != null; + // Returns true if field removed_session_ids is set (has been assigned a value) and false otherwise + public boolean isSetRemoved_session_ids() { + return this.removed_session_ids != null; } - public void setValuesIsSet(boolean __value) { + public void setRemoved_session_idsIsSet(boolean __value) { if (!__value) { - this.values = null; + this.removed_session_ids = null; } } @@ -228,11 +228,11 @@ public void setFieldValue(int fieldID, Object __value) { } break; - case VALUES: + case REMOVED_SESSION_IDS: if (__value == null) { - unsetValues(); + unsetRemoved_session_ids(); } else { - setValues((List)__value); + setRemoved_session_ids((List)__value); } break; @@ -249,8 +249,8 @@ public Object getFieldValue(int fieldID) { case LEADER: return getLeader(); - case VALUES: - return getValues(); + case REMOVED_SESSION_IDS: + return getRemoved_session_ids(); default: throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); @@ -263,26 +263,26 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof ScanResp)) + if (!(_that instanceof RemoveSessionResp)) return false; - ScanResp that = (ScanResp)_that; + RemoveSessionResp that = (RemoveSessionResp)_that; if (!TBaseHelper.equalsNobinary(this.isSetCode(), that.isSetCode(), this.code, that.code)) { return false; } if (!TBaseHelper.equalsNobinary(this.isSetLeader(), that.isSetLeader(), this.leader, that.leader)) { return false; } - if (!TBaseHelper.equalsSlow(this.isSetValues(), that.isSetValues(), this.values, that.values)) { return false; } + if (!TBaseHelper.equalsNobinary(this.isSetRemoved_session_ids(), that.isSetRemoved_session_ids(), this.removed_session_ids, that.removed_session_ids)) { return false; } return true; } @Override public int hashCode() { - return Arrays.deepHashCode(new Object[] {code, leader, values}); + return Arrays.deepHashCode(new Object[] {code, leader, removed_session_ids}); } @Override - public int compareTo(ScanResp other) { + public int compareTo(RemoveSessionResp other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -309,11 +309,11 @@ public int compareTo(ScanResp other) { if (lastComparison != 0) { return lastComparison; } - lastComparison = Boolean.valueOf(isSetValues()).compareTo(other.isSetValues()); + lastComparison = Boolean.valueOf(isSetRemoved_session_ids()).compareTo(other.isSetRemoved_session_ids()); if (lastComparison != 0) { return lastComparison; } - lastComparison = TBaseHelper.compareTo(values, other.values); + lastComparison = TBaseHelper.compareTo(removed_session_ids, other.removed_session_ids); if (lastComparison != 0) { return lastComparison; } @@ -346,18 +346,18 @@ public void read(TProtocol iprot) throws TException { TProtocolUtil.skip(iprot, __field.type); } break; - case VALUES: + case REMOVED_SESSION_IDS: if (__field.type == TType.LIST) { { - TList _list152 = iprot.readListBegin(); - this.values = new ArrayList(Math.max(0, _list152.size)); - for (int _i153 = 0; - (_list152.size < 0) ? iprot.peekList() : (_i153 < _list152.size); - ++_i153) + TList _list357 = iprot.readListBegin(); + this.removed_session_ids = new ArrayList(Math.max(0, _list357.size)); + for (int _i358 = 0; + (_list357.size < 0) ? iprot.peekList() : (_i358 < _list357.size); + ++_i358) { - byte[] _elem154; - _elem154 = iprot.readBinary(); - this.values.add(_elem154); + long _elem359; + _elem359 = iprot.readI64(); + this.removed_session_ids.add(_elem359); } iprot.readListEnd(); } @@ -392,12 +392,12 @@ public void write(TProtocol oprot) throws TException { this.leader.write(oprot); oprot.writeFieldEnd(); } - if (this.values != null) { - oprot.writeFieldBegin(VALUES_FIELD_DESC); + if (this.removed_session_ids != null) { + oprot.writeFieldBegin(REMOVED_SESSION_IDS_FIELD_DESC); { - oprot.writeListBegin(new TList(TType.STRING, this.values.size())); - for (byte[] _iter155 : this.values) { - oprot.writeBinary(_iter155); + oprot.writeListBegin(new TList(TType.I64, this.removed_session_ids.size())); + for (long _iter360 : this.removed_session_ids) { + oprot.writeI64(_iter360); } oprot.writeListEnd(); } @@ -417,7 +417,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("ScanResp"); + StringBuilder sb = new StringBuilder("RemoveSessionResp"); sb.append(space); sb.append("("); sb.append(newLine); @@ -454,13 +454,13 @@ public String toString(int indent, boolean prettyPrint) { first = false; if (!first) sb.append("," + newLine); sb.append(indentStr); - sb.append("values"); + sb.append("removed_session_ids"); sb.append(space); sb.append(":").append(space); - if (this.getValues() == null) { + if (this.getRemoved_session_ids() == null) { sb.append("null"); } else { - sb.append(TBaseHelper.toString(this.getValues(), indent + 1, prettyPrint)); + sb.append(TBaseHelper.toString(this.getRemoved_session_ids(), indent + 1, prettyPrint)); } first = false; sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); diff --git a/client/src/main/generated/com/vesoft/nebula/meta/ReportTaskReq.java b/client/src/main/generated/com/vesoft/nebula/meta/ReportTaskReq.java index 148d04980..4016ddc17 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/ReportTaskReq.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/ReportTaskReq.java @@ -27,27 +27,31 @@ public class ReportTaskReq implements TBase, java.io.Serializable, Cloneable, Comparable { private static final TStruct STRUCT_DESC = new TStruct("ReportTaskReq"); private static final TField CODE_FIELD_DESC = new TField("code", TType.I32, (short)1); - private static final TField JOB_ID_FIELD_DESC = new TField("job_id", TType.I32, (short)2); - private static final TField TASK_ID_FIELD_DESC = new TField("task_id", TType.I32, (short)3); - private static final TField STATS_FIELD_DESC = new TField("stats", TType.STRUCT, (short)4); + private static final TField SPACE_ID_FIELD_DESC = new TField("space_id", TType.I32, (short)2); + private static final TField JOB_ID_FIELD_DESC = new TField("job_id", TType.I32, (short)3); + private static final TField TASK_ID_FIELD_DESC = new TField("task_id", TType.I32, (short)4); + private static final TField STATS_FIELD_DESC = new TField("stats", TType.STRUCT, (short)5); /** * * @see com.vesoft.nebula.ErrorCode */ public com.vesoft.nebula.ErrorCode code; + public int space_id; public int job_id; public int task_id; public StatsItem stats; public static final int CODE = 1; - public static final int JOB_ID = 2; - public static final int TASK_ID = 3; - public static final int STATS = 4; + public static final int SPACE_ID = 2; + public static final int JOB_ID = 3; + public static final int TASK_ID = 4; + public static final int STATS = 5; // isset id assignments - private static final int __JOB_ID_ISSET_ID = 0; - private static final int __TASK_ID_ISSET_ID = 1; - private BitSet __isset_bit_vector = new BitSet(2); + private static final int __SPACE_ID_ISSET_ID = 0; + private static final int __JOB_ID_ISSET_ID = 1; + private static final int __TASK_ID_ISSET_ID = 2; + private BitSet __isset_bit_vector = new BitSet(3); public static final Map metaDataMap; @@ -55,6 +59,8 @@ public class ReportTaskReq implements TBase, java.io.Serializable, Cloneable, Co Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(CODE, new FieldMetaData("code", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.I32))); + tmpMetaDataMap.put(SPACE_ID, new FieldMetaData("space_id", TFieldRequirementType.DEFAULT, + new FieldValueMetaData(TType.I32))); tmpMetaDataMap.put(JOB_ID, new FieldMetaData("job_id", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.I32))); tmpMetaDataMap.put(TASK_ID, new FieldMetaData("task_id", TFieldRequirementType.DEFAULT, @@ -73,10 +79,13 @@ public ReportTaskReq() { public ReportTaskReq( com.vesoft.nebula.ErrorCode code, + int space_id, int job_id, int task_id) { this(); this.code = code; + this.space_id = space_id; + setSpace_idIsSet(true); this.job_id = job_id; setJob_idIsSet(true); this.task_id = task_id; @@ -85,11 +94,14 @@ public ReportTaskReq( public ReportTaskReq( com.vesoft.nebula.ErrorCode code, + int space_id, int job_id, int task_id, StatsItem stats) { this(); this.code = code; + this.space_id = space_id; + setSpace_idIsSet(true); this.job_id = job_id; setJob_idIsSet(true); this.task_id = task_id; @@ -99,11 +111,12 @@ public ReportTaskReq( public static class Builder { private com.vesoft.nebula.ErrorCode code; + private int space_id; private int job_id; private int task_id; private StatsItem stats; - BitSet __optional_isset = new BitSet(2); + BitSet __optional_isset = new BitSet(3); public Builder() { } @@ -113,6 +126,12 @@ public Builder setCode(final com.vesoft.nebula.ErrorCode code) { return this; } + public Builder setSpace_id(final int space_id) { + this.space_id = space_id; + __optional_isset.set(__SPACE_ID_ISSET_ID, true); + return this; + } + public Builder setJob_id(final int job_id) { this.job_id = job_id; __optional_isset.set(__JOB_ID_ISSET_ID, true); @@ -133,6 +152,9 @@ public Builder setStats(final StatsItem stats) { public ReportTaskReq build() { ReportTaskReq result = new ReportTaskReq(); result.setCode(this.code); + if (__optional_isset.get(__SPACE_ID_ISSET_ID)) { + result.setSpace_id(this.space_id); + } if (__optional_isset.get(__JOB_ID_ISSET_ID)) { result.setJob_id(this.job_id); } @@ -157,6 +179,7 @@ public ReportTaskReq(ReportTaskReq other) { if (other.isSetCode()) { this.code = TBaseHelper.deepCopy(other.code); } + this.space_id = TBaseHelper.deepCopy(other.space_id); this.job_id = TBaseHelper.deepCopy(other.job_id); this.task_id = TBaseHelper.deepCopy(other.task_id); if (other.isSetStats()) { @@ -200,6 +223,29 @@ public void setCodeIsSet(boolean __value) { } } + public int getSpace_id() { + return this.space_id; + } + + public ReportTaskReq setSpace_id(int space_id) { + this.space_id = space_id; + setSpace_idIsSet(true); + return this; + } + + public void unsetSpace_id() { + __isset_bit_vector.clear(__SPACE_ID_ISSET_ID); + } + + // Returns true if field space_id is set (has been assigned a value) and false otherwise + public boolean isSetSpace_id() { + return __isset_bit_vector.get(__SPACE_ID_ISSET_ID); + } + + public void setSpace_idIsSet(boolean __value) { + __isset_bit_vector.set(__SPACE_ID_ISSET_ID, __value); + } + public int getJob_id() { return this.job_id; } @@ -280,6 +326,14 @@ public void setFieldValue(int fieldID, Object __value) { } break; + case SPACE_ID: + if (__value == null) { + unsetSpace_id(); + } else { + setSpace_id((Integer)__value); + } + break; + case JOB_ID: if (__value == null) { unsetJob_id(); @@ -314,6 +368,9 @@ public Object getFieldValue(int fieldID) { case CODE: return getCode(); + case SPACE_ID: + return new Integer(getSpace_id()); + case JOB_ID: return new Integer(getJob_id()); @@ -340,6 +397,8 @@ public boolean equals(Object _that) { if (!TBaseHelper.equalsNobinary(this.isSetCode(), that.isSetCode(), this.code, that.code)) { return false; } + if (!TBaseHelper.equalsNobinary(this.space_id, that.space_id)) { return false; } + if (!TBaseHelper.equalsNobinary(this.job_id, that.job_id)) { return false; } if (!TBaseHelper.equalsNobinary(this.task_id, that.task_id)) { return false; } @@ -351,7 +410,7 @@ public boolean equals(Object _that) { @Override public int hashCode() { - return Arrays.deepHashCode(new Object[] {code, job_id, task_id, stats}); + return Arrays.deepHashCode(new Object[] {code, space_id, job_id, task_id, stats}); } @Override @@ -374,6 +433,14 @@ public int compareTo(ReportTaskReq other) { if (lastComparison != 0) { return lastComparison; } + lastComparison = Boolean.valueOf(isSetSpace_id()).compareTo(other.isSetSpace_id()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(space_id, other.space_id); + if (lastComparison != 0) { + return lastComparison; + } lastComparison = Boolean.valueOf(isSetJob_id()).compareTo(other.isSetJob_id()); if (lastComparison != 0) { return lastComparison; @@ -419,6 +486,14 @@ public void read(TProtocol iprot) throws TException { TProtocolUtil.skip(iprot, __field.type); } break; + case SPACE_ID: + if (__field.type == TType.I32) { + this.space_id = iprot.readI32(); + setSpace_idIsSet(true); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; case JOB_ID: if (__field.type == TType.I32) { this.job_id = iprot.readI32(); @@ -465,6 +540,9 @@ public void write(TProtocol oprot) throws TException { oprot.writeI32(this.code == null ? 0 : this.code.getValue()); oprot.writeFieldEnd(); } + oprot.writeFieldBegin(SPACE_ID_FIELD_DESC); + oprot.writeI32(this.space_id); + oprot.writeFieldEnd(); oprot.writeFieldBegin(JOB_ID_FIELD_DESC); oprot.writeI32(this.job_id); oprot.writeFieldEnd(); @@ -518,6 +596,13 @@ public String toString(int indent, boolean prettyPrint) { first = false; if (!first) sb.append("," + newLine); sb.append(indentStr); + sb.append("space_id"); + sb.append(space); + sb.append(":").append(space); + sb.append(TBaseHelper.toString(this.getSpace_id(), indent + 1, prettyPrint)); + first = false; + if (!first) sb.append("," + newLine); + sb.append(indentStr); sb.append("job_id"); sb.append(space); sb.append(":").append(space); diff --git a/client/src/main/generated/com/vesoft/nebula/meta/RestoreMetaReq.java b/client/src/main/generated/com/vesoft/nebula/meta/RestoreMetaReq.java index 88d8d3c70..1a46bf410 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/RestoreMetaReq.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/RestoreMetaReq.java @@ -261,15 +261,15 @@ public void read(TProtocol iprot) throws TException { case FILES: if (__field.type == TType.LIST) { { - TList _list286 = iprot.readListBegin(); - this.files = new ArrayList(Math.max(0, _list286.size)); - for (int _i287 = 0; - (_list286.size < 0) ? iprot.peekList() : (_i287 < _list286.size); - ++_i287) + TList _list278 = iprot.readListBegin(); + this.files = new ArrayList(Math.max(0, _list278.size)); + for (int _i279 = 0; + (_list278.size < 0) ? iprot.peekList() : (_i279 < _list278.size); + ++_i279) { - byte[] _elem288; - _elem288 = iprot.readBinary(); - this.files.add(_elem288); + byte[] _elem280; + _elem280 = iprot.readBinary(); + this.files.add(_elem280); } iprot.readListEnd(); } @@ -280,16 +280,16 @@ public void read(TProtocol iprot) throws TException { case HOSTS: if (__field.type == TType.LIST) { { - TList _list289 = iprot.readListBegin(); - this.hosts = new ArrayList(Math.max(0, _list289.size)); - for (int _i290 = 0; - (_list289.size < 0) ? iprot.peekList() : (_i290 < _list289.size); - ++_i290) + TList _list281 = iprot.readListBegin(); + this.hosts = new ArrayList(Math.max(0, _list281.size)); + for (int _i282 = 0; + (_list281.size < 0) ? iprot.peekList() : (_i282 < _list281.size); + ++_i282) { - HostPair _elem291; - _elem291 = new HostPair(); - _elem291.read(iprot); - this.hosts.add(_elem291); + HostPair _elem283; + _elem283 = new HostPair(); + _elem283.read(iprot); + this.hosts.add(_elem283); } iprot.readListEnd(); } @@ -318,8 +318,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(FILES_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRING, this.files.size())); - for (byte[] _iter292 : this.files) { - oprot.writeBinary(_iter292); + for (byte[] _iter284 : this.files) { + oprot.writeBinary(_iter284); } oprot.writeListEnd(); } @@ -329,8 +329,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(HOSTS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.hosts.size())); - for (HostPair _iter293 : this.hosts) { - _iter293.write(oprot); + for (HostPair _iter285 : this.hosts) { + _iter285.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/RestoreMetaResp.java b/client/src/main/generated/com/vesoft/nebula/meta/RestoreMetaResp.java new file mode 100644 index 000000000..d8a14212a --- /dev/null +++ b/client/src/main/generated/com/vesoft/nebula/meta/RestoreMetaResp.java @@ -0,0 +1,500 @@ +/** + * Autogenerated by Thrift + * + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * @generated + */ +package com.vesoft.nebula.meta; + +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.util.HashMap; +import java.util.Set; +import java.util.HashSet; +import java.util.Collections; +import java.util.BitSet; +import java.util.Arrays; +import com.facebook.thrift.*; +import com.facebook.thrift.annotations.*; +import com.facebook.thrift.async.*; +import com.facebook.thrift.meta_data.*; +import com.facebook.thrift.server.*; +import com.facebook.thrift.transport.*; +import com.facebook.thrift.protocol.*; + +@SuppressWarnings({ "unused", "serial" }) +public class RestoreMetaResp implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("RestoreMetaResp"); + private static final TField CODE_FIELD_DESC = new TField("code", TType.I32, (short)1); + private static final TField LEADER_FIELD_DESC = new TField("leader", TType.STRUCT, (short)2); + private static final TField PART_HOSTS_FIELD_DESC = new TField("part_hosts", TType.MAP, (short)3); + + /** + * + * @see com.vesoft.nebula.ErrorCode + */ + public com.vesoft.nebula.ErrorCode code; + public com.vesoft.nebula.HostAddr leader; + public Map> part_hosts; + public static final int CODE = 1; + public static final int LEADER = 2; + public static final int PART_HOSTS = 3; + + // isset id assignments + + public static final Map metaDataMap; + + static { + Map tmpMetaDataMap = new HashMap(); + tmpMetaDataMap.put(CODE, new FieldMetaData("code", TFieldRequirementType.DEFAULT, + new FieldValueMetaData(TType.I32))); + tmpMetaDataMap.put(LEADER, new FieldMetaData("leader", TFieldRequirementType.DEFAULT, + new StructMetaData(TType.STRUCT, com.vesoft.nebula.HostAddr.class))); + tmpMetaDataMap.put(PART_HOSTS, new FieldMetaData("part_hosts", TFieldRequirementType.DEFAULT, + new MapMetaData(TType.MAP, + new FieldValueMetaData(TType.I32), + new ListMetaData(TType.LIST, + new StructMetaData(TType.STRUCT, PartInfo.class))))); + metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); + } + + static { + FieldMetaData.addStructMetaDataMap(RestoreMetaResp.class, metaDataMap); + } + + public RestoreMetaResp() { + } + + public RestoreMetaResp( + com.vesoft.nebula.ErrorCode code, + com.vesoft.nebula.HostAddr leader, + Map> part_hosts) { + this(); + this.code = code; + this.leader = leader; + this.part_hosts = part_hosts; + } + + public static class Builder { + private com.vesoft.nebula.ErrorCode code; + private com.vesoft.nebula.HostAddr leader; + private Map> part_hosts; + + public Builder() { + } + + public Builder setCode(final com.vesoft.nebula.ErrorCode code) { + this.code = code; + return this; + } + + public Builder setLeader(final com.vesoft.nebula.HostAddr leader) { + this.leader = leader; + return this; + } + + public Builder setPart_hosts(final Map> part_hosts) { + this.part_hosts = part_hosts; + return this; + } + + public RestoreMetaResp build() { + RestoreMetaResp result = new RestoreMetaResp(); + result.setCode(this.code); + result.setLeader(this.leader); + result.setPart_hosts(this.part_hosts); + return result; + } + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Performs a deep copy on other. + */ + public RestoreMetaResp(RestoreMetaResp other) { + if (other.isSetCode()) { + this.code = TBaseHelper.deepCopy(other.code); + } + if (other.isSetLeader()) { + this.leader = TBaseHelper.deepCopy(other.leader); + } + if (other.isSetPart_hosts()) { + this.part_hosts = TBaseHelper.deepCopy(other.part_hosts); + } + } + + public RestoreMetaResp deepCopy() { + return new RestoreMetaResp(this); + } + + /** + * + * @see com.vesoft.nebula.ErrorCode + */ + public com.vesoft.nebula.ErrorCode getCode() { + return this.code; + } + + /** + * + * @see com.vesoft.nebula.ErrorCode + */ + public RestoreMetaResp setCode(com.vesoft.nebula.ErrorCode code) { + this.code = code; + return this; + } + + public void unsetCode() { + this.code = null; + } + + // Returns true if field code is set (has been assigned a value) and false otherwise + public boolean isSetCode() { + return this.code != null; + } + + public void setCodeIsSet(boolean __value) { + if (!__value) { + this.code = null; + } + } + + public com.vesoft.nebula.HostAddr getLeader() { + return this.leader; + } + + public RestoreMetaResp setLeader(com.vesoft.nebula.HostAddr leader) { + this.leader = leader; + return this; + } + + public void unsetLeader() { + this.leader = null; + } + + // Returns true if field leader is set (has been assigned a value) and false otherwise + public boolean isSetLeader() { + return this.leader != null; + } + + public void setLeaderIsSet(boolean __value) { + if (!__value) { + this.leader = null; + } + } + + public Map> getPart_hosts() { + return this.part_hosts; + } + + public RestoreMetaResp setPart_hosts(Map> part_hosts) { + this.part_hosts = part_hosts; + return this; + } + + public void unsetPart_hosts() { + this.part_hosts = null; + } + + // Returns true if field part_hosts is set (has been assigned a value) and false otherwise + public boolean isSetPart_hosts() { + return this.part_hosts != null; + } + + public void setPart_hostsIsSet(boolean __value) { + if (!__value) { + this.part_hosts = null; + } + } + + @SuppressWarnings("unchecked") + public void setFieldValue(int fieldID, Object __value) { + switch (fieldID) { + case CODE: + if (__value == null) { + unsetCode(); + } else { + setCode((com.vesoft.nebula.ErrorCode)__value); + } + break; + + case LEADER: + if (__value == null) { + unsetLeader(); + } else { + setLeader((com.vesoft.nebula.HostAddr)__value); + } + break; + + case PART_HOSTS: + if (__value == null) { + unsetPart_hosts(); + } else { + setPart_hosts((Map>)__value); + } + break; + + default: + throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); + } + } + + public Object getFieldValue(int fieldID) { + switch (fieldID) { + case CODE: + return getCode(); + + case LEADER: + return getLeader(); + + case PART_HOSTS: + return getPart_hosts(); + + default: + throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); + } + } + + @Override + public boolean equals(Object _that) { + if (_that == null) + return false; + if (this == _that) + return true; + if (!(_that instanceof RestoreMetaResp)) + return false; + RestoreMetaResp that = (RestoreMetaResp)_that; + + if (!TBaseHelper.equalsNobinary(this.isSetCode(), that.isSetCode(), this.code, that.code)) { return false; } + + if (!TBaseHelper.equalsNobinary(this.isSetLeader(), that.isSetLeader(), this.leader, that.leader)) { return false; } + + if (!TBaseHelper.equalsNobinary(this.isSetPart_hosts(), that.isSetPart_hosts(), this.part_hosts, that.part_hosts)) { return false; } + + return true; + } + + @Override + public int hashCode() { + return Arrays.deepHashCode(new Object[] {code, leader, part_hosts}); + } + + @Override + public int compareTo(RestoreMetaResp other) { + if (other == null) { + // See java.lang.Comparable docs + throw new NullPointerException(); + } + + if (other == this) { + return 0; + } + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetCode()).compareTo(other.isSetCode()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(code, other.code); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = Boolean.valueOf(isSetLeader()).compareTo(other.isSetLeader()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(leader, other.leader); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = Boolean.valueOf(isSetPart_hosts()).compareTo(other.isSetPart_hosts()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(part_hosts, other.part_hosts); + if (lastComparison != 0) { + return lastComparison; + } + return 0; + } + + public void read(TProtocol iprot) throws TException { + TField __field; + iprot.readStructBegin(metaDataMap); + while (true) + { + __field = iprot.readFieldBegin(); + if (__field.type == TType.STOP) { + break; + } + switch (__field.id) + { + case CODE: + if (__field.type == TType.I32) { + this.code = com.vesoft.nebula.ErrorCode.findByValue(iprot.readI32()); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + case LEADER: + if (__field.type == TType.STRUCT) { + this.leader = new com.vesoft.nebula.HostAddr(); + this.leader.read(iprot); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + case PART_HOSTS: + if (__field.type == TType.MAP) { + { + TMap _map290 = iprot.readMapBegin(); + this.part_hosts = new HashMap>(Math.max(0, 2*_map290.size)); + for (int _i291 = 0; + (_map290.size < 0) ? iprot.peekMap() : (_i291 < _map290.size); + ++_i291) + { + int _key292; + List _val293; + _key292 = iprot.readI32(); + { + TList _list294 = iprot.readListBegin(); + _val293 = new ArrayList(Math.max(0, _list294.size)); + for (int _i295 = 0; + (_list294.size < 0) ? iprot.peekList() : (_i295 < _list294.size); + ++_i295) + { + PartInfo _elem296; + _elem296 = new PartInfo(); + _elem296.read(iprot); + _val293.add(_elem296); + } + iprot.readListEnd(); + } + this.part_hosts.put(_key292, _val293); + } + iprot.readMapEnd(); + } + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + default: + TProtocolUtil.skip(iprot, __field.type); + break; + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + + // check for required fields of primitive type, which can't be checked in the validate method + validate(); + } + + public void write(TProtocol oprot) throws TException { + validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (this.code != null) { + oprot.writeFieldBegin(CODE_FIELD_DESC); + oprot.writeI32(this.code == null ? 0 : this.code.getValue()); + oprot.writeFieldEnd(); + } + if (this.leader != null) { + oprot.writeFieldBegin(LEADER_FIELD_DESC); + this.leader.write(oprot); + oprot.writeFieldEnd(); + } + if (this.part_hosts != null) { + oprot.writeFieldBegin(PART_HOSTS_FIELD_DESC); + { + oprot.writeMapBegin(new TMap(TType.I32, TType.LIST, this.part_hosts.size())); + for (Map.Entry> _iter297 : this.part_hosts.entrySet()) { + oprot.writeI32(_iter297.getKey()); + { + oprot.writeListBegin(new TList(TType.STRUCT, _iter297.getValue().size())); + for (PartInfo _iter298 : _iter297.getValue()) { + _iter298.write(oprot); + } + oprot.writeListEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + @Override + public String toString() { + return toString(1, true); + } + + @Override + public String toString(int indent, boolean prettyPrint) { + String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; + String newLine = prettyPrint ? "\n" : ""; + String space = prettyPrint ? " " : ""; + StringBuilder sb = new StringBuilder("RestoreMetaResp"); + sb.append(space); + sb.append("("); + sb.append(newLine); + boolean first = true; + + sb.append(indentStr); + sb.append("code"); + sb.append(space); + sb.append(":").append(space); + if (this.getCode() == null) { + sb.append("null"); + } else { + String code_name = this.getCode() == null ? "null" : this.getCode().name(); + if (code_name != null) { + sb.append(code_name); + sb.append(" ("); + } + sb.append(this.getCode()); + if (code_name != null) { + sb.append(")"); + } + } + first = false; + if (!first) sb.append("," + newLine); + sb.append(indentStr); + sb.append("leader"); + sb.append(space); + sb.append(":").append(space); + if (this.getLeader() == null) { + sb.append("null"); + } else { + sb.append(TBaseHelper.toString(this.getLeader(), indent + 1, prettyPrint)); + } + first = false; + if (!first) sb.append("," + newLine); + sb.append(indentStr); + sb.append("part_hosts"); + sb.append(space); + sb.append(":").append(space); + if (this.getPart_hosts() == null) { + sb.append("null"); + } else { + sb.append(TBaseHelper.toString(this.getPart_hosts(), indent + 1, prettyPrint)); + } + first = false; + sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); + sb.append(")"); + return sb.toString(); + } + + public void validate() throws TException { + // check for required fields + } + +} + diff --git a/client/src/main/generated/com/vesoft/nebula/meta/SaveGraphVersionReq.java b/client/src/main/generated/com/vesoft/nebula/meta/SaveGraphVersionReq.java new file mode 100644 index 000000000..85dee1b44 --- /dev/null +++ b/client/src/main/generated/com/vesoft/nebula/meta/SaveGraphVersionReq.java @@ -0,0 +1,457 @@ +/** + * Autogenerated by Thrift + * + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * @generated + */ +package com.vesoft.nebula.meta; + +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.util.HashMap; +import java.util.Set; +import java.util.HashSet; +import java.util.Collections; +import java.util.BitSet; +import java.util.Arrays; +import com.facebook.thrift.*; +import com.facebook.thrift.annotations.*; +import com.facebook.thrift.async.*; +import com.facebook.thrift.meta_data.*; +import com.facebook.thrift.server.*; +import com.facebook.thrift.transport.*; +import com.facebook.thrift.protocol.*; + +@SuppressWarnings({ "unused", "serial" }) +public class SaveGraphVersionReq implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("SaveGraphVersionReq"); + private static final TField CLIENT_VERSION_FIELD_DESC = new TField("client_version", TType.STRING, (short)1); + private static final TField HOST_FIELD_DESC = new TField("host", TType.STRUCT, (short)2); + private static final TField BUILD_VERSION_FIELD_DESC = new TField("build_version", TType.STRING, (short)3); + + public byte[] client_version; + public com.vesoft.nebula.HostAddr host; + public byte[] build_version; + public static final int CLIENT_VERSION = 1; + public static final int HOST = 2; + public static final int BUILD_VERSION = 3; + + // isset id assignments + + public static final Map metaDataMap; + + static { + Map tmpMetaDataMap = new HashMap(); + tmpMetaDataMap.put(CLIENT_VERSION, new FieldMetaData("client_version", TFieldRequirementType.REQUIRED, + new FieldValueMetaData(TType.STRING))); + tmpMetaDataMap.put(HOST, new FieldMetaData("host", TFieldRequirementType.DEFAULT, + new StructMetaData(TType.STRUCT, com.vesoft.nebula.HostAddr.class))); + tmpMetaDataMap.put(BUILD_VERSION, new FieldMetaData("build_version", TFieldRequirementType.DEFAULT, + new FieldValueMetaData(TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); + } + + static { + FieldMetaData.addStructMetaDataMap(SaveGraphVersionReq.class, metaDataMap); + } + + public SaveGraphVersionReq() { + this.client_version = "3.0.0".getBytes(); + + } + + public SaveGraphVersionReq( + byte[] client_version) { + this(); + this.client_version = client_version; + } + + public SaveGraphVersionReq( + byte[] client_version, + com.vesoft.nebula.HostAddr host, + byte[] build_version) { + this(); + this.client_version = client_version; + this.host = host; + this.build_version = build_version; + } + + public static class Builder { + private byte[] client_version; + private com.vesoft.nebula.HostAddr host; + private byte[] build_version; + + public Builder() { + } + + public Builder setClient_version(final byte[] client_version) { + this.client_version = client_version; + return this; + } + + public Builder setHost(final com.vesoft.nebula.HostAddr host) { + this.host = host; + return this; + } + + public Builder setBuild_version(final byte[] build_version) { + this.build_version = build_version; + return this; + } + + public SaveGraphVersionReq build() { + SaveGraphVersionReq result = new SaveGraphVersionReq(); + result.setClient_version(this.client_version); + result.setHost(this.host); + result.setBuild_version(this.build_version); + return result; + } + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Performs a deep copy on other. + */ + public SaveGraphVersionReq(SaveGraphVersionReq other) { + if (other.isSetClient_version()) { + this.client_version = TBaseHelper.deepCopy(other.client_version); + } + if (other.isSetHost()) { + this.host = TBaseHelper.deepCopy(other.host); + } + if (other.isSetBuild_version()) { + this.build_version = TBaseHelper.deepCopy(other.build_version); + } + } + + public SaveGraphVersionReq deepCopy() { + return new SaveGraphVersionReq(this); + } + + public byte[] getClient_version() { + return this.client_version; + } + + public SaveGraphVersionReq setClient_version(byte[] client_version) { + this.client_version = client_version; + return this; + } + + public void unsetClient_version() { + this.client_version = null; + } + + // Returns true if field client_version is set (has been assigned a value) and false otherwise + public boolean isSetClient_version() { + return this.client_version != null; + } + + public void setClient_versionIsSet(boolean __value) { + if (!__value) { + this.client_version = null; + } + } + + public com.vesoft.nebula.HostAddr getHost() { + return this.host; + } + + public SaveGraphVersionReq setHost(com.vesoft.nebula.HostAddr host) { + this.host = host; + return this; + } + + public void unsetHost() { + this.host = null; + } + + // Returns true if field host is set (has been assigned a value) and false otherwise + public boolean isSetHost() { + return this.host != null; + } + + public void setHostIsSet(boolean __value) { + if (!__value) { + this.host = null; + } + } + + public byte[] getBuild_version() { + return this.build_version; + } + + public SaveGraphVersionReq setBuild_version(byte[] build_version) { + this.build_version = build_version; + return this; + } + + public void unsetBuild_version() { + this.build_version = null; + } + + // Returns true if field build_version is set (has been assigned a value) and false otherwise + public boolean isSetBuild_version() { + return this.build_version != null; + } + + public void setBuild_versionIsSet(boolean __value) { + if (!__value) { + this.build_version = null; + } + } + + public void setFieldValue(int fieldID, Object __value) { + switch (fieldID) { + case CLIENT_VERSION: + if (__value == null) { + unsetClient_version(); + } else { + setClient_version((byte[])__value); + } + break; + + case HOST: + if (__value == null) { + unsetHost(); + } else { + setHost((com.vesoft.nebula.HostAddr)__value); + } + break; + + case BUILD_VERSION: + if (__value == null) { + unsetBuild_version(); + } else { + setBuild_version((byte[])__value); + } + break; + + default: + throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); + } + } + + public Object getFieldValue(int fieldID) { + switch (fieldID) { + case CLIENT_VERSION: + return getClient_version(); + + case HOST: + return getHost(); + + case BUILD_VERSION: + return getBuild_version(); + + default: + throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); + } + } + + @Override + public boolean equals(Object _that) { + if (_that == null) + return false; + if (this == _that) + return true; + if (!(_that instanceof SaveGraphVersionReq)) + return false; + SaveGraphVersionReq that = (SaveGraphVersionReq)_that; + + if (!TBaseHelper.equalsSlow(this.isSetClient_version(), that.isSetClient_version(), this.client_version, that.client_version)) { return false; } + + if (!TBaseHelper.equalsNobinary(this.isSetHost(), that.isSetHost(), this.host, that.host)) { return false; } + + if (!TBaseHelper.equalsSlow(this.isSetBuild_version(), that.isSetBuild_version(), this.build_version, that.build_version)) { return false; } + + return true; + } + + @Override + public int hashCode() { + return Arrays.deepHashCode(new Object[] {client_version, host, build_version}); + } + + @Override + public int compareTo(SaveGraphVersionReq other) { + if (other == null) { + // See java.lang.Comparable docs + throw new NullPointerException(); + } + + if (other == this) { + return 0; + } + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetClient_version()).compareTo(other.isSetClient_version()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(client_version, other.client_version); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = Boolean.valueOf(isSetHost()).compareTo(other.isSetHost()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(host, other.host); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = Boolean.valueOf(isSetBuild_version()).compareTo(other.isSetBuild_version()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(build_version, other.build_version); + if (lastComparison != 0) { + return lastComparison; + } + return 0; + } + + public void read(TProtocol iprot) throws TException { + TField __field; + iprot.readStructBegin(metaDataMap); + while (true) + { + __field = iprot.readFieldBegin(); + if (__field.type == TType.STOP) { + break; + } + switch (__field.id) + { + case CLIENT_VERSION: + if (__field.type == TType.STRING) { + this.client_version = iprot.readBinary(); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + case HOST: + if (__field.type == TType.STRUCT) { + this.host = new com.vesoft.nebula.HostAddr(); + this.host.read(iprot); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + case BUILD_VERSION: + if (__field.type == TType.STRING) { + this.build_version = iprot.readBinary(); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + default: + TProtocolUtil.skip(iprot, __field.type); + break; + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + + // check for required fields of primitive type, which can't be checked in the validate method + validate(); + } + + public void write(TProtocol oprot) throws TException { + validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (this.client_version != null) { + oprot.writeFieldBegin(CLIENT_VERSION_FIELD_DESC); + oprot.writeBinary(this.client_version); + oprot.writeFieldEnd(); + } + if (this.host != null) { + oprot.writeFieldBegin(HOST_FIELD_DESC); + this.host.write(oprot); + oprot.writeFieldEnd(); + } + if (this.build_version != null) { + oprot.writeFieldBegin(BUILD_VERSION_FIELD_DESC); + oprot.writeBinary(this.build_version); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + @Override + public String toString() { + return toString(1, true); + } + + @Override + public String toString(int indent, boolean prettyPrint) { + String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; + String newLine = prettyPrint ? "\n" : ""; + String space = prettyPrint ? " " : ""; + StringBuilder sb = new StringBuilder("SaveGraphVersionReq"); + sb.append(space); + sb.append("("); + sb.append(newLine); + boolean first = true; + + sb.append(indentStr); + sb.append("client_version"); + sb.append(space); + sb.append(":").append(space); + if (this.getClient_version() == null) { + sb.append("null"); + } else { + int __client_version_size = Math.min(this.getClient_version().length, 128); + for (int i = 0; i < __client_version_size; i++) { + if (i != 0) sb.append(" "); + sb.append(Integer.toHexString(this.getClient_version()[i]).length() > 1 ? Integer.toHexString(this.getClient_version()[i]).substring(Integer.toHexString(this.getClient_version()[i]).length() - 2).toUpperCase() : "0" + Integer.toHexString(this.getClient_version()[i]).toUpperCase()); + } + if (this.getClient_version().length > 128) sb.append(" ..."); + } + first = false; + if (!first) sb.append("," + newLine); + sb.append(indentStr); + sb.append("host"); + sb.append(space); + sb.append(":").append(space); + if (this.getHost() == null) { + sb.append("null"); + } else { + sb.append(TBaseHelper.toString(this.getHost(), indent + 1, prettyPrint)); + } + first = false; + if (!first) sb.append("," + newLine); + sb.append(indentStr); + sb.append("build_version"); + sb.append(space); + sb.append(":").append(space); + if (this.getBuild_version() == null) { + sb.append("null"); + } else { + int __build_version_size = Math.min(this.getBuild_version().length, 128); + for (int i = 0; i < __build_version_size; i++) { + if (i != 0) sb.append(" "); + sb.append(Integer.toHexString(this.getBuild_version()[i]).length() > 1 ? Integer.toHexString(this.getBuild_version()[i]).substring(Integer.toHexString(this.getBuild_version()[i]).length() - 2).toUpperCase() : "0" + Integer.toHexString(this.getBuild_version()[i]).toUpperCase()); + } + if (this.getBuild_version().length > 128) sb.append(" ..."); + } + first = false; + sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); + sb.append(")"); + return sb.toString(); + } + + public void validate() throws TException { + // check for required fields + if (client_version == null) { + throw new TProtocolException(TProtocolException.MISSING_REQUIRED_FIELD, "Required field 'client_version' was not present! Struct: " + toString()); + } + } + +} + diff --git a/client/src/main/generated/com/vesoft/nebula/meta/MultiGetResp.java b/client/src/main/generated/com/vesoft/nebula/meta/SaveGraphVersionResp.java similarity index 70% rename from client/src/main/generated/com/vesoft/nebula/meta/MultiGetResp.java rename to client/src/main/generated/com/vesoft/nebula/meta/SaveGraphVersionResp.java index eda2328df..fbaa86322 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/MultiGetResp.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/SaveGraphVersionResp.java @@ -24,11 +24,11 @@ import com.facebook.thrift.protocol.*; @SuppressWarnings({ "unused", "serial" }) -public class MultiGetResp implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("MultiGetResp"); +public class SaveGraphVersionResp implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("SaveGraphVersionResp"); private static final TField CODE_FIELD_DESC = new TField("code", TType.I32, (short)1); private static final TField LEADER_FIELD_DESC = new TField("leader", TType.STRUCT, (short)2); - private static final TField VALUES_FIELD_DESC = new TField("values", TType.LIST, (short)3); + private static final TField ERROR_MSG_FIELD_DESC = new TField("error_msg", TType.STRING, (short)3); /** * @@ -36,10 +36,10 @@ public class MultiGetResp implements TBase, java.io.Serializable, Cloneable, Com */ public com.vesoft.nebula.ErrorCode code; public com.vesoft.nebula.HostAddr leader; - public List values; + public byte[] error_msg; public static final int CODE = 1; public static final int LEADER = 2; - public static final int VALUES = 3; + public static final int ERROR_MSG = 3; // isset id assignments @@ -51,33 +51,40 @@ public class MultiGetResp implements TBase, java.io.Serializable, Cloneable, Com new FieldValueMetaData(TType.I32))); tmpMetaDataMap.put(LEADER, new FieldMetaData("leader", TFieldRequirementType.DEFAULT, new StructMetaData(TType.STRUCT, com.vesoft.nebula.HostAddr.class))); - tmpMetaDataMap.put(VALUES, new FieldMetaData("values", TFieldRequirementType.DEFAULT, - new ListMetaData(TType.LIST, - new FieldValueMetaData(TType.STRING)))); + tmpMetaDataMap.put(ERROR_MSG, new FieldMetaData("error_msg", TFieldRequirementType.OPTIONAL, + new FieldValueMetaData(TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(MultiGetResp.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(SaveGraphVersionResp.class, metaDataMap); } - public MultiGetResp() { + public SaveGraphVersionResp() { } - public MultiGetResp( + public SaveGraphVersionResp( + com.vesoft.nebula.ErrorCode code, + com.vesoft.nebula.HostAddr leader) { + this(); + this.code = code; + this.leader = leader; + } + + public SaveGraphVersionResp( com.vesoft.nebula.ErrorCode code, com.vesoft.nebula.HostAddr leader, - List values) { + byte[] error_msg) { this(); this.code = code; this.leader = leader; - this.values = values; + this.error_msg = error_msg; } public static class Builder { private com.vesoft.nebula.ErrorCode code; private com.vesoft.nebula.HostAddr leader; - private List values; + private byte[] error_msg; public Builder() { } @@ -92,16 +99,16 @@ public Builder setLeader(final com.vesoft.nebula.HostAddr leader) { return this; } - public Builder setValues(final List values) { - this.values = values; + public Builder setError_msg(final byte[] error_msg) { + this.error_msg = error_msg; return this; } - public MultiGetResp build() { - MultiGetResp result = new MultiGetResp(); + public SaveGraphVersionResp build() { + SaveGraphVersionResp result = new SaveGraphVersionResp(); result.setCode(this.code); result.setLeader(this.leader); - result.setValues(this.values); + result.setError_msg(this.error_msg); return result; } } @@ -113,20 +120,20 @@ public static Builder builder() { /** * Performs a deep copy on other. */ - public MultiGetResp(MultiGetResp other) { + public SaveGraphVersionResp(SaveGraphVersionResp other) { if (other.isSetCode()) { this.code = TBaseHelper.deepCopy(other.code); } if (other.isSetLeader()) { this.leader = TBaseHelper.deepCopy(other.leader); } - if (other.isSetValues()) { - this.values = TBaseHelper.deepCopy(other.values); + if (other.isSetError_msg()) { + this.error_msg = TBaseHelper.deepCopy(other.error_msg); } } - public MultiGetResp deepCopy() { - return new MultiGetResp(this); + public SaveGraphVersionResp deepCopy() { + return new SaveGraphVersionResp(this); } /** @@ -141,7 +148,7 @@ public com.vesoft.nebula.ErrorCode getCode() { * * @see com.vesoft.nebula.ErrorCode */ - public MultiGetResp setCode(com.vesoft.nebula.ErrorCode code) { + public SaveGraphVersionResp setCode(com.vesoft.nebula.ErrorCode code) { this.code = code; return this; } @@ -165,7 +172,7 @@ public com.vesoft.nebula.HostAddr getLeader() { return this.leader; } - public MultiGetResp setLeader(com.vesoft.nebula.HostAddr leader) { + public SaveGraphVersionResp setLeader(com.vesoft.nebula.HostAddr leader) { this.leader = leader; return this; } @@ -185,31 +192,30 @@ public void setLeaderIsSet(boolean __value) { } } - public List getValues() { - return this.values; + public byte[] getError_msg() { + return this.error_msg; } - public MultiGetResp setValues(List values) { - this.values = values; + public SaveGraphVersionResp setError_msg(byte[] error_msg) { + this.error_msg = error_msg; return this; } - public void unsetValues() { - this.values = null; + public void unsetError_msg() { + this.error_msg = null; } - // Returns true if field values is set (has been assigned a value) and false otherwise - public boolean isSetValues() { - return this.values != null; + // Returns true if field error_msg is set (has been assigned a value) and false otherwise + public boolean isSetError_msg() { + return this.error_msg != null; } - public void setValuesIsSet(boolean __value) { + public void setError_msgIsSet(boolean __value) { if (!__value) { - this.values = null; + this.error_msg = null; } } - @SuppressWarnings("unchecked") public void setFieldValue(int fieldID, Object __value) { switch (fieldID) { case CODE: @@ -228,11 +234,11 @@ public void setFieldValue(int fieldID, Object __value) { } break; - case VALUES: + case ERROR_MSG: if (__value == null) { - unsetValues(); + unsetError_msg(); } else { - setValues((List)__value); + setError_msg((byte[])__value); } break; @@ -249,8 +255,8 @@ public Object getFieldValue(int fieldID) { case LEADER: return getLeader(); - case VALUES: - return getValues(); + case ERROR_MSG: + return getError_msg(); default: throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); @@ -263,26 +269,26 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof MultiGetResp)) + if (!(_that instanceof SaveGraphVersionResp)) return false; - MultiGetResp that = (MultiGetResp)_that; + SaveGraphVersionResp that = (SaveGraphVersionResp)_that; if (!TBaseHelper.equalsNobinary(this.isSetCode(), that.isSetCode(), this.code, that.code)) { return false; } if (!TBaseHelper.equalsNobinary(this.isSetLeader(), that.isSetLeader(), this.leader, that.leader)) { return false; } - if (!TBaseHelper.equalsSlow(this.isSetValues(), that.isSetValues(), this.values, that.values)) { return false; } + if (!TBaseHelper.equalsSlow(this.isSetError_msg(), that.isSetError_msg(), this.error_msg, that.error_msg)) { return false; } return true; } @Override public int hashCode() { - return Arrays.deepHashCode(new Object[] {code, leader, values}); + return Arrays.deepHashCode(new Object[] {code, leader, error_msg}); } @Override - public int compareTo(MultiGetResp other) { + public int compareTo(SaveGraphVersionResp other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -309,11 +315,11 @@ public int compareTo(MultiGetResp other) { if (lastComparison != 0) { return lastComparison; } - lastComparison = Boolean.valueOf(isSetValues()).compareTo(other.isSetValues()); + lastComparison = Boolean.valueOf(isSetError_msg()).compareTo(other.isSetError_msg()); if (lastComparison != 0) { return lastComparison; } - lastComparison = TBaseHelper.compareTo(values, other.values); + lastComparison = TBaseHelper.compareTo(error_msg, other.error_msg); if (lastComparison != 0) { return lastComparison; } @@ -346,21 +352,9 @@ public void read(TProtocol iprot) throws TException { TProtocolUtil.skip(iprot, __field.type); } break; - case VALUES: - if (__field.type == TType.LIST) { - { - TList _list148 = iprot.readListBegin(); - this.values = new ArrayList(Math.max(0, _list148.size)); - for (int _i149 = 0; - (_list148.size < 0) ? iprot.peekList() : (_i149 < _list148.size); - ++_i149) - { - byte[] _elem150; - _elem150 = iprot.readBinary(); - this.values.add(_elem150); - } - iprot.readListEnd(); - } + case ERROR_MSG: + if (__field.type == TType.STRING) { + this.error_msg = iprot.readBinary(); } else { TProtocolUtil.skip(iprot, __field.type); } @@ -392,16 +386,12 @@ public void write(TProtocol oprot) throws TException { this.leader.write(oprot); oprot.writeFieldEnd(); } - if (this.values != null) { - oprot.writeFieldBegin(VALUES_FIELD_DESC); - { - oprot.writeListBegin(new TList(TType.STRING, this.values.size())); - for (byte[] _iter151 : this.values) { - oprot.writeBinary(_iter151); - } - oprot.writeListEnd(); + if (this.error_msg != null) { + if (isSetError_msg()) { + oprot.writeFieldBegin(ERROR_MSG_FIELD_DESC); + oprot.writeBinary(this.error_msg); + oprot.writeFieldEnd(); } - oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); @@ -417,7 +407,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("MultiGetResp"); + StringBuilder sb = new StringBuilder("SaveGraphVersionResp"); sb.append(space); sb.append("("); sb.append(newLine); @@ -452,17 +442,25 @@ public String toString(int indent, boolean prettyPrint) { sb.append(TBaseHelper.toString(this.getLeader(), indent + 1, prettyPrint)); } first = false; - if (!first) sb.append("," + newLine); - sb.append(indentStr); - sb.append("values"); - sb.append(space); - sb.append(":").append(space); - if (this.getValues() == null) { - sb.append("null"); - } else { - sb.append(TBaseHelper.toString(this.getValues(), indent + 1, prettyPrint)); + if (isSetError_msg()) + { + if (!first) sb.append("," + newLine); + sb.append(indentStr); + sb.append("error_msg"); + sb.append(space); + sb.append(":").append(space); + if (this.getError_msg() == null) { + sb.append("null"); + } else { + int __error_msg_size = Math.min(this.getError_msg().length, 128); + for (int i = 0; i < __error_msg_size; i++) { + if (i != 0) sb.append(" "); + sb.append(Integer.toHexString(this.getError_msg()[i]).length() > 1 ? Integer.toHexString(this.getError_msg()[i]).substring(Integer.toHexString(this.getError_msg()[i]).length() - 2).toUpperCase() : "0" + Integer.toHexString(this.getError_msg()[i]).toUpperCase()); + } + if (this.getError_msg().length > 128) sb.append(" ..."); + } + first = false; } - first = false; sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); sb.append(")"); return sb.toString(); diff --git a/client/src/main/generated/com/vesoft/nebula/meta/ScanReq.java b/client/src/main/generated/com/vesoft/nebula/meta/ScanReq.java deleted file mode 100644 index dc2f5ea16..000000000 --- a/client/src/main/generated/com/vesoft/nebula/meta/ScanReq.java +++ /dev/null @@ -1,450 +0,0 @@ -/** - * Autogenerated by Thrift - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -package com.vesoft.nebula.meta; - -import java.util.List; -import java.util.ArrayList; -import java.util.Map; -import java.util.HashMap; -import java.util.Set; -import java.util.HashSet; -import java.util.Collections; -import java.util.BitSet; -import java.util.Arrays; -import com.facebook.thrift.*; -import com.facebook.thrift.annotations.*; -import com.facebook.thrift.async.*; -import com.facebook.thrift.meta_data.*; -import com.facebook.thrift.server.*; -import com.facebook.thrift.transport.*; -import com.facebook.thrift.protocol.*; - -@SuppressWarnings({ "unused", "serial" }) -public class ScanReq implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("ScanReq"); - private static final TField SEGMENT_FIELD_DESC = new TField("segment", TType.STRING, (short)1); - private static final TField START_FIELD_DESC = new TField("start", TType.STRING, (short)2); - private static final TField END_FIELD_DESC = new TField("end", TType.STRING, (short)3); - - public byte[] segment; - public byte[] start; - public byte[] end; - public static final int SEGMENT = 1; - public static final int START = 2; - public static final int END = 3; - - // isset id assignments - - public static final Map metaDataMap; - - static { - Map tmpMetaDataMap = new HashMap(); - tmpMetaDataMap.put(SEGMENT, new FieldMetaData("segment", TFieldRequirementType.DEFAULT, - new FieldValueMetaData(TType.STRING))); - tmpMetaDataMap.put(START, new FieldMetaData("start", TFieldRequirementType.DEFAULT, - new FieldValueMetaData(TType.STRING))); - tmpMetaDataMap.put(END, new FieldMetaData("end", TFieldRequirementType.DEFAULT, - new FieldValueMetaData(TType.STRING))); - metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); - } - - static { - FieldMetaData.addStructMetaDataMap(ScanReq.class, metaDataMap); - } - - public ScanReq() { - } - - public ScanReq( - byte[] segment, - byte[] start, - byte[] end) { - this(); - this.segment = segment; - this.start = start; - this.end = end; - } - - public static class Builder { - private byte[] segment; - private byte[] start; - private byte[] end; - - public Builder() { - } - - public Builder setSegment(final byte[] segment) { - this.segment = segment; - return this; - } - - public Builder setStart(final byte[] start) { - this.start = start; - return this; - } - - public Builder setEnd(final byte[] end) { - this.end = end; - return this; - } - - public ScanReq build() { - ScanReq result = new ScanReq(); - result.setSegment(this.segment); - result.setStart(this.start); - result.setEnd(this.end); - return result; - } - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Performs a deep copy on other. - */ - public ScanReq(ScanReq other) { - if (other.isSetSegment()) { - this.segment = TBaseHelper.deepCopy(other.segment); - } - if (other.isSetStart()) { - this.start = TBaseHelper.deepCopy(other.start); - } - if (other.isSetEnd()) { - this.end = TBaseHelper.deepCopy(other.end); - } - } - - public ScanReq deepCopy() { - return new ScanReq(this); - } - - public byte[] getSegment() { - return this.segment; - } - - public ScanReq setSegment(byte[] segment) { - this.segment = segment; - return this; - } - - public void unsetSegment() { - this.segment = null; - } - - // Returns true if field segment is set (has been assigned a value) and false otherwise - public boolean isSetSegment() { - return this.segment != null; - } - - public void setSegmentIsSet(boolean __value) { - if (!__value) { - this.segment = null; - } - } - - public byte[] getStart() { - return this.start; - } - - public ScanReq setStart(byte[] start) { - this.start = start; - return this; - } - - public void unsetStart() { - this.start = null; - } - - // Returns true if field start is set (has been assigned a value) and false otherwise - public boolean isSetStart() { - return this.start != null; - } - - public void setStartIsSet(boolean __value) { - if (!__value) { - this.start = null; - } - } - - public byte[] getEnd() { - return this.end; - } - - public ScanReq setEnd(byte[] end) { - this.end = end; - return this; - } - - public void unsetEnd() { - this.end = null; - } - - // Returns true if field end is set (has been assigned a value) and false otherwise - public boolean isSetEnd() { - return this.end != null; - } - - public void setEndIsSet(boolean __value) { - if (!__value) { - this.end = null; - } - } - - public void setFieldValue(int fieldID, Object __value) { - switch (fieldID) { - case SEGMENT: - if (__value == null) { - unsetSegment(); - } else { - setSegment((byte[])__value); - } - break; - - case START: - if (__value == null) { - unsetStart(); - } else { - setStart((byte[])__value); - } - break; - - case END: - if (__value == null) { - unsetEnd(); - } else { - setEnd((byte[])__value); - } - break; - - default: - throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); - } - } - - public Object getFieldValue(int fieldID) { - switch (fieldID) { - case SEGMENT: - return getSegment(); - - case START: - return getStart(); - - case END: - return getEnd(); - - default: - throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); - } - } - - @Override - public boolean equals(Object _that) { - if (_that == null) - return false; - if (this == _that) - return true; - if (!(_that instanceof ScanReq)) - return false; - ScanReq that = (ScanReq)_that; - - if (!TBaseHelper.equalsSlow(this.isSetSegment(), that.isSetSegment(), this.segment, that.segment)) { return false; } - - if (!TBaseHelper.equalsSlow(this.isSetStart(), that.isSetStart(), this.start, that.start)) { return false; } - - if (!TBaseHelper.equalsSlow(this.isSetEnd(), that.isSetEnd(), this.end, that.end)) { return false; } - - return true; - } - - @Override - public int hashCode() { - return Arrays.deepHashCode(new Object[] {segment, start, end}); - } - - @Override - public int compareTo(ScanReq other) { - if (other == null) { - // See java.lang.Comparable docs - throw new NullPointerException(); - } - - if (other == this) { - return 0; - } - int lastComparison = 0; - - lastComparison = Boolean.valueOf(isSetSegment()).compareTo(other.isSetSegment()); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = TBaseHelper.compareTo(segment, other.segment); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = Boolean.valueOf(isSetStart()).compareTo(other.isSetStart()); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = TBaseHelper.compareTo(start, other.start); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = Boolean.valueOf(isSetEnd()).compareTo(other.isSetEnd()); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = TBaseHelper.compareTo(end, other.end); - if (lastComparison != 0) { - return lastComparison; - } - return 0; - } - - public void read(TProtocol iprot) throws TException { - TField __field; - iprot.readStructBegin(metaDataMap); - while (true) - { - __field = iprot.readFieldBegin(); - if (__field.type == TType.STOP) { - break; - } - switch (__field.id) - { - case SEGMENT: - if (__field.type == TType.STRING) { - this.segment = iprot.readBinary(); - } else { - TProtocolUtil.skip(iprot, __field.type); - } - break; - case START: - if (__field.type == TType.STRING) { - this.start = iprot.readBinary(); - } else { - TProtocolUtil.skip(iprot, __field.type); - } - break; - case END: - if (__field.type == TType.STRING) { - this.end = iprot.readBinary(); - } else { - TProtocolUtil.skip(iprot, __field.type); - } - break; - default: - TProtocolUtil.skip(iprot, __field.type); - break; - } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); - - - // check for required fields of primitive type, which can't be checked in the validate method - validate(); - } - - public void write(TProtocol oprot) throws TException { - validate(); - - oprot.writeStructBegin(STRUCT_DESC); - if (this.segment != null) { - oprot.writeFieldBegin(SEGMENT_FIELD_DESC); - oprot.writeBinary(this.segment); - oprot.writeFieldEnd(); - } - if (this.start != null) { - oprot.writeFieldBegin(START_FIELD_DESC); - oprot.writeBinary(this.start); - oprot.writeFieldEnd(); - } - if (this.end != null) { - oprot.writeFieldBegin(END_FIELD_DESC); - oprot.writeBinary(this.end); - oprot.writeFieldEnd(); - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - - @Override - public String toString() { - return toString(1, true); - } - - @Override - public String toString(int indent, boolean prettyPrint) { - String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; - String newLine = prettyPrint ? "\n" : ""; - String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("ScanReq"); - sb.append(space); - sb.append("("); - sb.append(newLine); - boolean first = true; - - sb.append(indentStr); - sb.append("segment"); - sb.append(space); - sb.append(":").append(space); - if (this.getSegment() == null) { - sb.append("null"); - } else { - int __segment_size = Math.min(this.getSegment().length, 128); - for (int i = 0; i < __segment_size; i++) { - if (i != 0) sb.append(" "); - sb.append(Integer.toHexString(this.getSegment()[i]).length() > 1 ? Integer.toHexString(this.getSegment()[i]).substring(Integer.toHexString(this.getSegment()[i]).length() - 2).toUpperCase() : "0" + Integer.toHexString(this.getSegment()[i]).toUpperCase()); - } - if (this.getSegment().length > 128) sb.append(" ..."); - } - first = false; - if (!first) sb.append("," + newLine); - sb.append(indentStr); - sb.append("start"); - sb.append(space); - sb.append(":").append(space); - if (this.getStart() == null) { - sb.append("null"); - } else { - int __start_size = Math.min(this.getStart().length, 128); - for (int i = 0; i < __start_size; i++) { - if (i != 0) sb.append(" "); - sb.append(Integer.toHexString(this.getStart()[i]).length() > 1 ? Integer.toHexString(this.getStart()[i]).substring(Integer.toHexString(this.getStart()[i]).length() - 2).toUpperCase() : "0" + Integer.toHexString(this.getStart()[i]).toUpperCase()); - } - if (this.getStart().length > 128) sb.append(" ..."); - } - first = false; - if (!first) sb.append("," + newLine); - sb.append(indentStr); - sb.append("end"); - sb.append(space); - sb.append(":").append(space); - if (this.getEnd() == null) { - sb.append("null"); - } else { - int __end_size = Math.min(this.getEnd().length, 128); - for (int i = 0; i < __end_size; i++) { - if (i != 0) sb.append(" "); - sb.append(Integer.toHexString(this.getEnd()[i]).length() > 1 ? Integer.toHexString(this.getEnd()[i]).substring(Integer.toHexString(this.getEnd()[i]).length() - 2).toUpperCase() : "0" + Integer.toHexString(this.getEnd()[i]).toUpperCase()); - } - if (this.getEnd().length > 128) sb.append(" ..."); - } - first = false; - sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); - sb.append(")"); - return sb.toString(); - } - - public void validate() throws TException { - // check for required fields - } - -} - diff --git a/client/src/main/generated/com/vesoft/nebula/meta/Session.java b/client/src/main/generated/com/vesoft/nebula/meta/Session.java index 8960f48c4..93849285e 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/Session.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/Session.java @@ -738,18 +738,18 @@ public void read(TProtocol iprot) throws TException { case CONFIGS: if (__field.type == TType.MAP) { { - TMap _map316 = iprot.readMapBegin(); - this.configs = new HashMap(Math.max(0, 2*_map316.size)); - for (int _i317 = 0; - (_map316.size < 0) ? iprot.peekMap() : (_i317 < _map316.size); - ++_i317) + TMap _map321 = iprot.readMapBegin(); + this.configs = new HashMap(Math.max(0, 2*_map321.size)); + for (int _i322 = 0; + (_map321.size < 0) ? iprot.peekMap() : (_i322 < _map321.size); + ++_i322) { - byte[] _key318; - com.vesoft.nebula.Value _val319; - _key318 = iprot.readBinary(); - _val319 = new com.vesoft.nebula.Value(); - _val319.read(iprot); - this.configs.put(_key318, _val319); + byte[] _key323; + com.vesoft.nebula.Value _val324; + _key323 = iprot.readBinary(); + _val324 = new com.vesoft.nebula.Value(); + _val324.read(iprot); + this.configs.put(_key323, _val324); } iprot.readMapEnd(); } @@ -760,18 +760,18 @@ public void read(TProtocol iprot) throws TException { case QUERIES: if (__field.type == TType.MAP) { { - TMap _map320 = iprot.readMapBegin(); - this.queries = new HashMap(Math.max(0, 2*_map320.size)); - for (int _i321 = 0; - (_map320.size < 0) ? iprot.peekMap() : (_i321 < _map320.size); - ++_i321) + TMap _map325 = iprot.readMapBegin(); + this.queries = new HashMap(Math.max(0, 2*_map325.size)); + for (int _i326 = 0; + (_map325.size < 0) ? iprot.peekMap() : (_i326 < _map325.size); + ++_i326) { - long _key322; - QueryDesc _val323; - _key322 = iprot.readI64(); - _val323 = new QueryDesc(); - _val323.read(iprot); - this.queries.put(_key322, _val323); + long _key327; + QueryDesc _val328; + _key327 = iprot.readI64(); + _val328 = new QueryDesc(); + _val328.read(iprot); + this.queries.put(_key327, _val328); } iprot.readMapEnd(); } @@ -832,9 +832,9 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(CONFIGS_FIELD_DESC); { oprot.writeMapBegin(new TMap(TType.STRING, TType.STRUCT, this.configs.size())); - for (Map.Entry _iter324 : this.configs.entrySet()) { - oprot.writeBinary(_iter324.getKey()); - _iter324.getValue().write(oprot); + for (Map.Entry _iter329 : this.configs.entrySet()) { + oprot.writeBinary(_iter329.getKey()); + _iter329.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -844,9 +844,9 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(QUERIES_FIELD_DESC); { oprot.writeMapBegin(new TMap(TType.I64, TType.STRUCT, this.queries.size())); - for (Map.Entry _iter325 : this.queries.entrySet()) { - oprot.writeI64(_iter325.getKey()); - _iter325.getValue().write(oprot); + for (Map.Entry _iter330 : this.queries.entrySet()) { + oprot.writeI64(_iter330.getKey()); + _iter330.getValue().write(oprot); } oprot.writeMapEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/SignInServiceReq.java b/client/src/main/generated/com/vesoft/nebula/meta/SignInServiceReq.java index c0e585be3..5744a7657 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/SignInServiceReq.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/SignInServiceReq.java @@ -279,16 +279,16 @@ public void read(TProtocol iprot) throws TException { case CLIENTS: if (__field.type == TType.LIST) { { - TList _list294 = iprot.readListBegin(); - this.clients = new ArrayList(Math.max(0, _list294.size)); - for (int _i295 = 0; - (_list294.size < 0) ? iprot.peekList() : (_i295 < _list294.size); - ++_i295) + TList _list299 = iprot.readListBegin(); + this.clients = new ArrayList(Math.max(0, _list299.size)); + for (int _i300 = 0; + (_list299.size < 0) ? iprot.peekList() : (_i300 < _list299.size); + ++_i300) { - ServiceClient _elem296; - _elem296 = new ServiceClient(); - _elem296.read(iprot); - this.clients.add(_elem296); + ServiceClient _elem301; + _elem301 = new ServiceClient(); + _elem301.read(iprot); + this.clients.add(_elem301); } iprot.readListEnd(); } @@ -322,8 +322,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(CLIENTS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.clients.size())); - for (ServiceClient _iter297 : this.clients) { - _iter297.write(oprot); + for (ServiceClient _iter302 : this.clients) { + _iter302.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/SpaceBackupInfo.java b/client/src/main/generated/com/vesoft/nebula/meta/SpaceBackupInfo.java index 878ce154c..84a34a564 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/SpaceBackupInfo.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/SpaceBackupInfo.java @@ -268,16 +268,16 @@ public void read(TProtocol iprot) throws TException { case HOST_BACKUPS: if (__field.type == TType.LIST) { { - TList _list269 = iprot.readListBegin(); - this.host_backups = new ArrayList(Math.max(0, _list269.size)); - for (int _i270 = 0; - (_list269.size < 0) ? iprot.peekList() : (_i270 < _list269.size); - ++_i270) + TList _list257 = iprot.readListBegin(); + this.host_backups = new ArrayList(Math.max(0, _list257.size)); + for (int _i258 = 0; + (_list257.size < 0) ? iprot.peekList() : (_i258 < _list257.size); + ++_i258) { - HostBackupInfo _elem271; - _elem271 = new HostBackupInfo(); - _elem271.read(iprot); - this.host_backups.add(_elem271); + HostBackupInfo _elem259; + _elem259 = new HostBackupInfo(); + _elem259.read(iprot); + this.host_backups.add(_elem259); } iprot.readListEnd(); } @@ -311,8 +311,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(HOST_BACKUPS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.host_backups.size())); - for (HostBackupInfo _iter272 : this.host_backups) { - _iter272.write(oprot); + for (HostBackupInfo _iter260 : this.host_backups) { + _iter260.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/TaskDesc.java b/client/src/main/generated/com/vesoft/nebula/meta/TaskDesc.java index a10209f41..aa65a4e8f 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/TaskDesc.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/TaskDesc.java @@ -26,13 +26,17 @@ @SuppressWarnings({ "unused", "serial" }) public class TaskDesc implements TBase, java.io.Serializable, Cloneable, Comparable { private static final TStruct STRUCT_DESC = new TStruct("TaskDesc"); - private static final TField TASK_ID_FIELD_DESC = new TField("task_id", TType.I32, (short)1); - private static final TField HOST_FIELD_DESC = new TField("host", TType.STRUCT, (short)2); - private static final TField STATUS_FIELD_DESC = new TField("status", TType.I32, (short)3); - private static final TField START_TIME_FIELD_DESC = new TField("start_time", TType.I64, (short)4); - private static final TField STOP_TIME_FIELD_DESC = new TField("stop_time", TType.I64, (short)5); - private static final TField JOB_ID_FIELD_DESC = new TField("job_id", TType.I32, (short)6); - + private static final TField SPACE_ID_FIELD_DESC = new TField("space_id", TType.I32, (short)1); + private static final TField JOB_ID_FIELD_DESC = new TField("job_id", TType.I32, (short)2); + private static final TField TASK_ID_FIELD_DESC = new TField("task_id", TType.I32, (short)3); + private static final TField HOST_FIELD_DESC = new TField("host", TType.STRUCT, (short)4); + private static final TField STATUS_FIELD_DESC = new TField("status", TType.I32, (short)5); + private static final TField START_TIME_FIELD_DESC = new TField("start_time", TType.I64, (short)6); + private static final TField STOP_TIME_FIELD_DESC = new TField("stop_time", TType.I64, (short)7); + private static final TField CODE_FIELD_DESC = new TField("code", TType.I32, (short)8); + + public int space_id; + public int job_id; public int task_id; public com.vesoft.nebula.HostAddr host; /** @@ -42,25 +46,36 @@ public class TaskDesc implements TBase, java.io.Serializable, Cloneable, Compara public JobStatus status; public long start_time; public long stop_time; - public int job_id; - public static final int TASK_ID = 1; - public static final int HOST = 2; - public static final int STATUS = 3; - public static final int START_TIME = 4; - public static final int STOP_TIME = 5; - public static final int JOB_ID = 6; + /** + * + * @see com.vesoft.nebula.ErrorCode + */ + public com.vesoft.nebula.ErrorCode code; + public static final int SPACE_ID = 1; + public static final int JOB_ID = 2; + public static final int TASK_ID = 3; + public static final int HOST = 4; + public static final int STATUS = 5; + public static final int START_TIME = 6; + public static final int STOP_TIME = 7; + public static final int CODE = 8; // isset id assignments - private static final int __TASK_ID_ISSET_ID = 0; - private static final int __START_TIME_ISSET_ID = 1; - private static final int __STOP_TIME_ISSET_ID = 2; - private static final int __JOB_ID_ISSET_ID = 3; - private BitSet __isset_bit_vector = new BitSet(4); + private static final int __SPACE_ID_ISSET_ID = 0; + private static final int __JOB_ID_ISSET_ID = 1; + private static final int __TASK_ID_ISSET_ID = 2; + private static final int __START_TIME_ISSET_ID = 3; + private static final int __STOP_TIME_ISSET_ID = 4; + private BitSet __isset_bit_vector = new BitSet(5); public static final Map metaDataMap; static { Map tmpMetaDataMap = new HashMap(); + tmpMetaDataMap.put(SPACE_ID, new FieldMetaData("space_id", TFieldRequirementType.DEFAULT, + new FieldValueMetaData(TType.I32))); + tmpMetaDataMap.put(JOB_ID, new FieldMetaData("job_id", TFieldRequirementType.DEFAULT, + new FieldValueMetaData(TType.I32))); tmpMetaDataMap.put(TASK_ID, new FieldMetaData("task_id", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.I32))); tmpMetaDataMap.put(HOST, new FieldMetaData("host", TFieldRequirementType.DEFAULT, @@ -71,7 +86,7 @@ public class TaskDesc implements TBase, java.io.Serializable, Cloneable, Compara new FieldValueMetaData(TType.I64))); tmpMetaDataMap.put(STOP_TIME, new FieldMetaData("stop_time", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.I64))); - tmpMetaDataMap.put(JOB_ID, new FieldMetaData("job_id", TFieldRequirementType.DEFAULT, + tmpMetaDataMap.put(CODE, new FieldMetaData("code", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.I32))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } @@ -84,13 +99,19 @@ public TaskDesc() { } public TaskDesc( + int space_id, + int job_id, int task_id, com.vesoft.nebula.HostAddr host, JobStatus status, long start_time, long stop_time, - int job_id) { + com.vesoft.nebula.ErrorCode code) { this(); + this.space_id = space_id; + setSpace_idIsSet(true); + this.job_id = job_id; + setJob_idIsSet(true); this.task_id = task_id; setTask_idIsSet(true); this.host = host; @@ -99,23 +120,36 @@ public TaskDesc( setStart_timeIsSet(true); this.stop_time = stop_time; setStop_timeIsSet(true); - this.job_id = job_id; - setJob_idIsSet(true); + this.code = code; } public static class Builder { + private int space_id; + private int job_id; private int task_id; private com.vesoft.nebula.HostAddr host; private JobStatus status; private long start_time; private long stop_time; - private int job_id; + private com.vesoft.nebula.ErrorCode code; - BitSet __optional_isset = new BitSet(4); + BitSet __optional_isset = new BitSet(5); public Builder() { } + public Builder setSpace_id(final int space_id) { + this.space_id = space_id; + __optional_isset.set(__SPACE_ID_ISSET_ID, true); + return this; + } + + public Builder setJob_id(final int job_id) { + this.job_id = job_id; + __optional_isset.set(__JOB_ID_ISSET_ID, true); + return this; + } + public Builder setTask_id(final int task_id) { this.task_id = task_id; __optional_isset.set(__TASK_ID_ISSET_ID, true); @@ -144,14 +178,19 @@ public Builder setStop_time(final long stop_time) { return this; } - public Builder setJob_id(final int job_id) { - this.job_id = job_id; - __optional_isset.set(__JOB_ID_ISSET_ID, true); + public Builder setCode(final com.vesoft.nebula.ErrorCode code) { + this.code = code; return this; } public TaskDesc build() { TaskDesc result = new TaskDesc(); + if (__optional_isset.get(__SPACE_ID_ISSET_ID)) { + result.setSpace_id(this.space_id); + } + if (__optional_isset.get(__JOB_ID_ISSET_ID)) { + result.setJob_id(this.job_id); + } if (__optional_isset.get(__TASK_ID_ISSET_ID)) { result.setTask_id(this.task_id); } @@ -163,9 +202,7 @@ public TaskDesc build() { if (__optional_isset.get(__STOP_TIME_ISSET_ID)) { result.setStop_time(this.stop_time); } - if (__optional_isset.get(__JOB_ID_ISSET_ID)) { - result.setJob_id(this.job_id); - } + result.setCode(this.code); return result; } } @@ -180,6 +217,8 @@ public static Builder builder() { public TaskDesc(TaskDesc other) { __isset_bit_vector.clear(); __isset_bit_vector.or(other.__isset_bit_vector); + this.space_id = TBaseHelper.deepCopy(other.space_id); + this.job_id = TBaseHelper.deepCopy(other.job_id); this.task_id = TBaseHelper.deepCopy(other.task_id); if (other.isSetHost()) { this.host = TBaseHelper.deepCopy(other.host); @@ -189,13 +228,61 @@ public TaskDesc(TaskDesc other) { } this.start_time = TBaseHelper.deepCopy(other.start_time); this.stop_time = TBaseHelper.deepCopy(other.stop_time); - this.job_id = TBaseHelper.deepCopy(other.job_id); + if (other.isSetCode()) { + this.code = TBaseHelper.deepCopy(other.code); + } } public TaskDesc deepCopy() { return new TaskDesc(this); } + public int getSpace_id() { + return this.space_id; + } + + public TaskDesc setSpace_id(int space_id) { + this.space_id = space_id; + setSpace_idIsSet(true); + return this; + } + + public void unsetSpace_id() { + __isset_bit_vector.clear(__SPACE_ID_ISSET_ID); + } + + // Returns true if field space_id is set (has been assigned a value) and false otherwise + public boolean isSetSpace_id() { + return __isset_bit_vector.get(__SPACE_ID_ISSET_ID); + } + + public void setSpace_idIsSet(boolean __value) { + __isset_bit_vector.set(__SPACE_ID_ISSET_ID, __value); + } + + public int getJob_id() { + return this.job_id; + } + + public TaskDesc setJob_id(int job_id) { + this.job_id = job_id; + setJob_idIsSet(true); + return this; + } + + public void unsetJob_id() { + __isset_bit_vector.clear(__JOB_ID_ISSET_ID); + } + + // Returns true if field job_id is set (has been assigned a value) and false otherwise + public boolean isSetJob_id() { + return __isset_bit_vector.get(__JOB_ID_ISSET_ID); + } + + public void setJob_idIsSet(boolean __value) { + __isset_bit_vector.set(__JOB_ID_ISSET_ID, __value); + } + public int getTask_id() { return this.task_id; } @@ -321,31 +408,56 @@ public void setStop_timeIsSet(boolean __value) { __isset_bit_vector.set(__STOP_TIME_ISSET_ID, __value); } - public int getJob_id() { - return this.job_id; + /** + * + * @see com.vesoft.nebula.ErrorCode + */ + public com.vesoft.nebula.ErrorCode getCode() { + return this.code; } - public TaskDesc setJob_id(int job_id) { - this.job_id = job_id; - setJob_idIsSet(true); + /** + * + * @see com.vesoft.nebula.ErrorCode + */ + public TaskDesc setCode(com.vesoft.nebula.ErrorCode code) { + this.code = code; return this; } - public void unsetJob_id() { - __isset_bit_vector.clear(__JOB_ID_ISSET_ID); + public void unsetCode() { + this.code = null; } - // Returns true if field job_id is set (has been assigned a value) and false otherwise - public boolean isSetJob_id() { - return __isset_bit_vector.get(__JOB_ID_ISSET_ID); + // Returns true if field code is set (has been assigned a value) and false otherwise + public boolean isSetCode() { + return this.code != null; } - public void setJob_idIsSet(boolean __value) { - __isset_bit_vector.set(__JOB_ID_ISSET_ID, __value); + public void setCodeIsSet(boolean __value) { + if (!__value) { + this.code = null; + } } public void setFieldValue(int fieldID, Object __value) { switch (fieldID) { + case SPACE_ID: + if (__value == null) { + unsetSpace_id(); + } else { + setSpace_id((Integer)__value); + } + break; + + case JOB_ID: + if (__value == null) { + unsetJob_id(); + } else { + setJob_id((Integer)__value); + } + break; + case TASK_ID: if (__value == null) { unsetTask_id(); @@ -386,11 +498,11 @@ public void setFieldValue(int fieldID, Object __value) { } break; - case JOB_ID: + case CODE: if (__value == null) { - unsetJob_id(); + unsetCode(); } else { - setJob_id((Integer)__value); + setCode((com.vesoft.nebula.ErrorCode)__value); } break; @@ -401,6 +513,12 @@ public void setFieldValue(int fieldID, Object __value) { public Object getFieldValue(int fieldID) { switch (fieldID) { + case SPACE_ID: + return new Integer(getSpace_id()); + + case JOB_ID: + return new Integer(getJob_id()); + case TASK_ID: return new Integer(getTask_id()); @@ -416,8 +534,8 @@ public Object getFieldValue(int fieldID) { case STOP_TIME: return new Long(getStop_time()); - case JOB_ID: - return new Integer(getJob_id()); + case CODE: + return getCode(); default: throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); @@ -434,6 +552,10 @@ public boolean equals(Object _that) { return false; TaskDesc that = (TaskDesc)_that; + if (!TBaseHelper.equalsNobinary(this.space_id, that.space_id)) { return false; } + + if (!TBaseHelper.equalsNobinary(this.job_id, that.job_id)) { return false; } + if (!TBaseHelper.equalsNobinary(this.task_id, that.task_id)) { return false; } if (!TBaseHelper.equalsNobinary(this.isSetHost(), that.isSetHost(), this.host, that.host)) { return false; } @@ -444,14 +566,14 @@ public boolean equals(Object _that) { if (!TBaseHelper.equalsNobinary(this.stop_time, that.stop_time)) { return false; } - if (!TBaseHelper.equalsNobinary(this.job_id, that.job_id)) { return false; } + if (!TBaseHelper.equalsNobinary(this.isSetCode(), that.isSetCode(), this.code, that.code)) { return false; } return true; } @Override public int hashCode() { - return Arrays.deepHashCode(new Object[] {task_id, host, status, start_time, stop_time, job_id}); + return Arrays.deepHashCode(new Object[] {space_id, job_id, task_id, host, status, start_time, stop_time, code}); } @Override @@ -466,6 +588,22 @@ public int compareTo(TaskDesc other) { } int lastComparison = 0; + lastComparison = Boolean.valueOf(isSetSpace_id()).compareTo(other.isSetSpace_id()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(space_id, other.space_id); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = Boolean.valueOf(isSetJob_id()).compareTo(other.isSetJob_id()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(job_id, other.job_id); + if (lastComparison != 0) { + return lastComparison; + } lastComparison = Boolean.valueOf(isSetTask_id()).compareTo(other.isSetTask_id()); if (lastComparison != 0) { return lastComparison; @@ -506,11 +644,11 @@ public int compareTo(TaskDesc other) { if (lastComparison != 0) { return lastComparison; } - lastComparison = Boolean.valueOf(isSetJob_id()).compareTo(other.isSetJob_id()); + lastComparison = Boolean.valueOf(isSetCode()).compareTo(other.isSetCode()); if (lastComparison != 0) { return lastComparison; } - lastComparison = TBaseHelper.compareTo(job_id, other.job_id); + lastComparison = TBaseHelper.compareTo(code, other.code); if (lastComparison != 0) { return lastComparison; } @@ -528,6 +666,22 @@ public void read(TProtocol iprot) throws TException { } switch (__field.id) { + case SPACE_ID: + if (__field.type == TType.I32) { + this.space_id = iprot.readI32(); + setSpace_idIsSet(true); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + case JOB_ID: + if (__field.type == TType.I32) { + this.job_id = iprot.readI32(); + setJob_idIsSet(true); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; case TASK_ID: if (__field.type == TType.I32) { this.task_id = iprot.readI32(); @@ -567,10 +721,9 @@ public void read(TProtocol iprot) throws TException { TProtocolUtil.skip(iprot, __field.type); } break; - case JOB_ID: + case CODE: if (__field.type == TType.I32) { - this.job_id = iprot.readI32(); - setJob_idIsSet(true); + this.code = com.vesoft.nebula.ErrorCode.findByValue(iprot.readI32()); } else { TProtocolUtil.skip(iprot, __field.type); } @@ -592,6 +745,12 @@ public void write(TProtocol oprot) throws TException { validate(); oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldBegin(SPACE_ID_FIELD_DESC); + oprot.writeI32(this.space_id); + oprot.writeFieldEnd(); + oprot.writeFieldBegin(JOB_ID_FIELD_DESC); + oprot.writeI32(this.job_id); + oprot.writeFieldEnd(); oprot.writeFieldBegin(TASK_ID_FIELD_DESC); oprot.writeI32(this.task_id); oprot.writeFieldEnd(); @@ -611,9 +770,11 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(STOP_TIME_FIELD_DESC); oprot.writeI64(this.stop_time); oprot.writeFieldEnd(); - oprot.writeFieldBegin(JOB_ID_FIELD_DESC); - oprot.writeI32(this.job_id); - oprot.writeFieldEnd(); + if (this.code != null) { + oprot.writeFieldBegin(CODE_FIELD_DESC); + oprot.writeI32(this.code == null ? 0 : this.code.getValue()); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -634,6 +795,20 @@ public String toString(int indent, boolean prettyPrint) { sb.append(newLine); boolean first = true; + sb.append(indentStr); + sb.append("space_id"); + sb.append(space); + sb.append(":").append(space); + sb.append(TBaseHelper.toString(this.getSpace_id(), indent + 1, prettyPrint)); + first = false; + if (!first) sb.append("," + newLine); + sb.append(indentStr); + sb.append("job_id"); + sb.append(space); + sb.append(":").append(space); + sb.append(TBaseHelper.toString(this.getJob_id(), indent + 1, prettyPrint)); + first = false; + if (!first) sb.append("," + newLine); sb.append(indentStr); sb.append("task_id"); sb.append(space); @@ -686,10 +861,22 @@ public String toString(int indent, boolean prettyPrint) { first = false; if (!first) sb.append("," + newLine); sb.append(indentStr); - sb.append("job_id"); + sb.append("code"); sb.append(space); sb.append(":").append(space); - sb.append(TBaseHelper.toString(this.getJob_id(), indent + 1, prettyPrint)); + if (this.getCode() == null) { + sb.append("null"); + } else { + String code_name = this.getCode() == null ? "null" : this.getCode().name(); + if (code_name != null) { + sb.append(code_name); + sb.append(" ("); + } + sb.append(this.getCode()); + if (code_name != null) { + sb.append(")"); + } + } first = false; sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); sb.append(")"); diff --git a/client/src/main/generated/com/vesoft/nebula/meta/UpdateSessionsReq.java b/client/src/main/generated/com/vesoft/nebula/meta/UpdateSessionsReq.java index af015503c..c581fb02a 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/UpdateSessionsReq.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/UpdateSessionsReq.java @@ -175,16 +175,16 @@ public void read(TProtocol iprot) throws TException { case SESSIONS: if (__field.type == TType.LIST) { { - TList _list326 = iprot.readListBegin(); - this.sessions = new ArrayList(Math.max(0, _list326.size)); - for (int _i327 = 0; - (_list326.size < 0) ? iprot.peekList() : (_i327 < _list326.size); - ++_i327) + TList _list331 = iprot.readListBegin(); + this.sessions = new ArrayList(Math.max(0, _list331.size)); + for (int _i332 = 0; + (_list331.size < 0) ? iprot.peekList() : (_i332 < _list331.size); + ++_i332) { - Session _elem328; - _elem328 = new Session(); - _elem328.read(iprot); - this.sessions.add(_elem328); + Session _elem333; + _elem333 = new Session(); + _elem333.read(iprot); + this.sessions.add(_elem333); } iprot.readListEnd(); } @@ -213,8 +213,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(SESSIONS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.sessions.size())); - for (Session _iter329 : this.sessions) { - _iter329.write(oprot); + for (Session _iter334 : this.sessions) { + _iter334.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/meta/UpdateSessionsResp.java b/client/src/main/generated/com/vesoft/nebula/meta/UpdateSessionsResp.java index 83415d068..4e253b6e5 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/UpdateSessionsResp.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/UpdateSessionsResp.java @@ -29,6 +29,7 @@ public class UpdateSessionsResp implements TBase, java.io.Serializable, Cloneabl private static final TField CODE_FIELD_DESC = new TField("code", TType.I32, (short)1); private static final TField LEADER_FIELD_DESC = new TField("leader", TType.STRUCT, (short)2); private static final TField KILLED_QUERIES_FIELD_DESC = new TField("killed_queries", TType.MAP, (short)3); + private static final TField KILLED_SESSIONS_FIELD_DESC = new TField("killed_sessions", TType.LIST, (short)4); /** * @@ -37,9 +38,11 @@ public class UpdateSessionsResp implements TBase, java.io.Serializable, Cloneabl public com.vesoft.nebula.ErrorCode code; public com.vesoft.nebula.HostAddr leader; public Map> killed_queries; + public List killed_sessions; public static final int CODE = 1; public static final int LEADER = 2; public static final int KILLED_QUERIES = 3; + public static final int KILLED_SESSIONS = 4; // isset id assignments @@ -57,6 +60,9 @@ public class UpdateSessionsResp implements TBase, java.io.Serializable, Cloneabl new MapMetaData(TType.MAP, new FieldValueMetaData(TType.I64), new StructMetaData(TType.STRUCT, QueryDesc.class))))); + tmpMetaDataMap.put(KILLED_SESSIONS, new FieldMetaData("killed_sessions", TFieldRequirementType.DEFAULT, + new ListMetaData(TType.LIST, + new FieldValueMetaData(TType.I64)))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } @@ -70,17 +76,20 @@ public UpdateSessionsResp() { public UpdateSessionsResp( com.vesoft.nebula.ErrorCode code, com.vesoft.nebula.HostAddr leader, - Map> killed_queries) { + Map> killed_queries, + List killed_sessions) { this(); this.code = code; this.leader = leader; this.killed_queries = killed_queries; + this.killed_sessions = killed_sessions; } public static class Builder { private com.vesoft.nebula.ErrorCode code; private com.vesoft.nebula.HostAddr leader; private Map> killed_queries; + private List killed_sessions; public Builder() { } @@ -100,11 +109,17 @@ public Builder setKilled_queries(final Map> killed_quer return this; } + public Builder setKilled_sessions(final List killed_sessions) { + this.killed_sessions = killed_sessions; + return this; + } + public UpdateSessionsResp build() { UpdateSessionsResp result = new UpdateSessionsResp(); result.setCode(this.code); result.setLeader(this.leader); result.setKilled_queries(this.killed_queries); + result.setKilled_sessions(this.killed_sessions); return result; } } @@ -126,6 +141,9 @@ public UpdateSessionsResp(UpdateSessionsResp other) { if (other.isSetKilled_queries()) { this.killed_queries = TBaseHelper.deepCopy(other.killed_queries); } + if (other.isSetKilled_sessions()) { + this.killed_sessions = TBaseHelper.deepCopy(other.killed_sessions); + } } public UpdateSessionsResp deepCopy() { @@ -212,6 +230,30 @@ public void setKilled_queriesIsSet(boolean __value) { } } + public List getKilled_sessions() { + return this.killed_sessions; + } + + public UpdateSessionsResp setKilled_sessions(List killed_sessions) { + this.killed_sessions = killed_sessions; + return this; + } + + public void unsetKilled_sessions() { + this.killed_sessions = null; + } + + // Returns true if field killed_sessions is set (has been assigned a value) and false otherwise + public boolean isSetKilled_sessions() { + return this.killed_sessions != null; + } + + public void setKilled_sessionsIsSet(boolean __value) { + if (!__value) { + this.killed_sessions = null; + } + } + @SuppressWarnings("unchecked") public void setFieldValue(int fieldID, Object __value) { switch (fieldID) { @@ -239,6 +281,14 @@ public void setFieldValue(int fieldID, Object __value) { } break; + case KILLED_SESSIONS: + if (__value == null) { + unsetKilled_sessions(); + } else { + setKilled_sessions((List)__value); + } + break; + default: throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); } @@ -255,6 +305,9 @@ public Object getFieldValue(int fieldID) { case KILLED_QUERIES: return getKilled_queries(); + case KILLED_SESSIONS: + return getKilled_sessions(); + default: throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); } @@ -276,12 +329,14 @@ public boolean equals(Object _that) { if (!TBaseHelper.equalsNobinary(this.isSetKilled_queries(), that.isSetKilled_queries(), this.killed_queries, that.killed_queries)) { return false; } + if (!TBaseHelper.equalsNobinary(this.isSetKilled_sessions(), that.isSetKilled_sessions(), this.killed_sessions, that.killed_sessions)) { return false; } + return true; } @Override public int hashCode() { - return Arrays.deepHashCode(new Object[] {code, leader, killed_queries}); + return Arrays.deepHashCode(new Object[] {code, leader, killed_queries, killed_sessions}); } @Override @@ -320,6 +375,14 @@ public int compareTo(UpdateSessionsResp other) { if (lastComparison != 0) { return lastComparison; } + lastComparison = Boolean.valueOf(isSetKilled_sessions()).compareTo(other.isSetKilled_sessions()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(killed_sessions, other.killed_sessions); + if (lastComparison != 0) { + return lastComparison; + } return 0; } @@ -352,32 +415,32 @@ public void read(TProtocol iprot) throws TException { case KILLED_QUERIES: if (__field.type == TType.MAP) { { - TMap _map330 = iprot.readMapBegin(); - this.killed_queries = new HashMap>(Math.max(0, 2*_map330.size)); - for (int _i331 = 0; - (_map330.size < 0) ? iprot.peekMap() : (_i331 < _map330.size); - ++_i331) + TMap _map335 = iprot.readMapBegin(); + this.killed_queries = new HashMap>(Math.max(0, 2*_map335.size)); + for (int _i336 = 0; + (_map335.size < 0) ? iprot.peekMap() : (_i336 < _map335.size); + ++_i336) { - long _key332; - Map _val333; - _key332 = iprot.readI64(); + long _key337; + Map _val338; + _key337 = iprot.readI64(); { - TMap _map334 = iprot.readMapBegin(); - _val333 = new HashMap(Math.max(0, 2*_map334.size)); - for (int _i335 = 0; - (_map334.size < 0) ? iprot.peekMap() : (_i335 < _map334.size); - ++_i335) + TMap _map339 = iprot.readMapBegin(); + _val338 = new HashMap(Math.max(0, 2*_map339.size)); + for (int _i340 = 0; + (_map339.size < 0) ? iprot.peekMap() : (_i340 < _map339.size); + ++_i340) { - long _key336; - QueryDesc _val337; - _key336 = iprot.readI64(); - _val337 = new QueryDesc(); - _val337.read(iprot); - _val333.put(_key336, _val337); + long _key341; + QueryDesc _val342; + _key341 = iprot.readI64(); + _val342 = new QueryDesc(); + _val342.read(iprot); + _val338.put(_key341, _val342); } iprot.readMapEnd(); } - this.killed_queries.put(_key332, _val333); + this.killed_queries.put(_key337, _val338); } iprot.readMapEnd(); } @@ -385,6 +448,25 @@ public void read(TProtocol iprot) throws TException { TProtocolUtil.skip(iprot, __field.type); } break; + case KILLED_SESSIONS: + if (__field.type == TType.LIST) { + { + TList _list343 = iprot.readListBegin(); + this.killed_sessions = new ArrayList(Math.max(0, _list343.size)); + for (int _i344 = 0; + (_list343.size < 0) ? iprot.peekList() : (_i344 < _list343.size); + ++_i344) + { + long _elem345; + _elem345 = iprot.readI64(); + this.killed_sessions.add(_elem345); + } + iprot.readListEnd(); + } + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; default: TProtocolUtil.skip(iprot, __field.type); break; @@ -416,13 +498,13 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(KILLED_QUERIES_FIELD_DESC); { oprot.writeMapBegin(new TMap(TType.I64, TType.MAP, this.killed_queries.size())); - for (Map.Entry> _iter338 : this.killed_queries.entrySet()) { - oprot.writeI64(_iter338.getKey()); + for (Map.Entry> _iter346 : this.killed_queries.entrySet()) { + oprot.writeI64(_iter346.getKey()); { - oprot.writeMapBegin(new TMap(TType.I64, TType.STRUCT, _iter338.getValue().size())); - for (Map.Entry _iter339 : _iter338.getValue().entrySet()) { - oprot.writeI64(_iter339.getKey()); - _iter339.getValue().write(oprot); + oprot.writeMapBegin(new TMap(TType.I64, TType.STRUCT, _iter346.getValue().size())); + for (Map.Entry _iter347 : _iter346.getValue().entrySet()) { + oprot.writeI64(_iter347.getKey()); + _iter347.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -431,6 +513,17 @@ public void write(TProtocol oprot) throws TException { } oprot.writeFieldEnd(); } + if (this.killed_sessions != null) { + oprot.writeFieldBegin(KILLED_SESSIONS_FIELD_DESC); + { + oprot.writeListBegin(new TList(TType.I64, this.killed_sessions.size())); + for (long _iter348 : this.killed_sessions) { + oprot.writeI64(_iter348); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -491,6 +584,17 @@ public String toString(int indent, boolean prettyPrint) { sb.append(TBaseHelper.toString(this.getKilled_queries(), indent + 1, prettyPrint)); } first = false; + if (!first) sb.append("," + newLine); + sb.append(indentStr); + sb.append("killed_sessions"); + sb.append(space); + sb.append(":").append(space); + if (this.getKilled_sessions() == null) { + sb.append("null"); + } else { + sb.append(TBaseHelper.toString(this.getKilled_sessions(), indent + 1, prettyPrint)); + } + first = false; sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); sb.append(")"); return sb.toString(); diff --git a/client/src/main/generated/com/vesoft/nebula/meta/Zone.java b/client/src/main/generated/com/vesoft/nebula/meta/Zone.java index ec2df7fe7..1196a30db 100644 --- a/client/src/main/generated/com/vesoft/nebula/meta/Zone.java +++ b/client/src/main/generated/com/vesoft/nebula/meta/Zone.java @@ -267,16 +267,16 @@ public void read(TProtocol iprot) throws TException { case NODES: if (__field.type == TType.LIST) { { - TList _list249 = iprot.readListBegin(); - this.nodes = new ArrayList(Math.max(0, _list249.size)); - for (int _i250 = 0; - (_list249.size < 0) ? iprot.peekList() : (_i250 < _list249.size); - ++_i250) + TList _list237 = iprot.readListBegin(); + this.nodes = new ArrayList(Math.max(0, _list237.size)); + for (int _i238 = 0; + (_list237.size < 0) ? iprot.peekList() : (_i238 < _list237.size); + ++_i238) { - com.vesoft.nebula.HostAddr _elem251; - _elem251 = new com.vesoft.nebula.HostAddr(); - _elem251.read(iprot); - this.nodes.add(_elem251); + com.vesoft.nebula.HostAddr _elem239; + _elem239 = new com.vesoft.nebula.HostAddr(); + _elem239.read(iprot); + this.nodes.add(_elem239); } iprot.readListEnd(); } @@ -310,8 +310,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(NODES_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.nodes.size())); - for (com.vesoft.nebula.HostAddr _iter252 : this.nodes) { - _iter252.write(oprot); + for (com.vesoft.nebula.HostAddr _iter240 : this.nodes) { + _iter240.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/AddEdgesRequest.java b/client/src/main/generated/com/vesoft/nebula/storage/AddEdgesRequest.java index 62ef38b47..f4d9f2e9d 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/AddEdgesRequest.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/AddEdgesRequest.java @@ -486,30 +486,30 @@ public void read(TProtocol iprot) throws TException { case PARTS: if (__field.type == TType.MAP) { { - TMap _map109 = iprot.readMapBegin(); - this.parts = new HashMap>(Math.max(0, 2*_map109.size)); - for (int _i110 = 0; - (_map109.size < 0) ? iprot.peekMap() : (_i110 < _map109.size); - ++_i110) + TMap _map122 = iprot.readMapBegin(); + this.parts = new HashMap>(Math.max(0, 2*_map122.size)); + for (int _i123 = 0; + (_map122.size < 0) ? iprot.peekMap() : (_i123 < _map122.size); + ++_i123) { - int _key111; - List _val112; - _key111 = iprot.readI32(); + int _key124; + List _val125; + _key124 = iprot.readI32(); { - TList _list113 = iprot.readListBegin(); - _val112 = new ArrayList(Math.max(0, _list113.size)); - for (int _i114 = 0; - (_list113.size < 0) ? iprot.peekList() : (_i114 < _list113.size); - ++_i114) + TList _list126 = iprot.readListBegin(); + _val125 = new ArrayList(Math.max(0, _list126.size)); + for (int _i127 = 0; + (_list126.size < 0) ? iprot.peekList() : (_i127 < _list126.size); + ++_i127) { - NewEdge _elem115; - _elem115 = new NewEdge(); - _elem115.read(iprot); - _val112.add(_elem115); + NewEdge _elem128; + _elem128 = new NewEdge(); + _elem128.read(iprot); + _val125.add(_elem128); } iprot.readListEnd(); } - this.parts.put(_key111, _val112); + this.parts.put(_key124, _val125); } iprot.readMapEnd(); } @@ -520,15 +520,15 @@ public void read(TProtocol iprot) throws TException { case PROP_NAMES: if (__field.type == TType.LIST) { { - TList _list116 = iprot.readListBegin(); - this.prop_names = new ArrayList(Math.max(0, _list116.size)); - for (int _i117 = 0; - (_list116.size < 0) ? iprot.peekList() : (_i117 < _list116.size); - ++_i117) + TList _list129 = iprot.readListBegin(); + this.prop_names = new ArrayList(Math.max(0, _list129.size)); + for (int _i130 = 0; + (_list129.size < 0) ? iprot.peekList() : (_i130 < _list129.size); + ++_i130) { - byte[] _elem118; - _elem118 = iprot.readBinary(); - this.prop_names.add(_elem118); + byte[] _elem131; + _elem131 = iprot.readBinary(); + this.prop_names.add(_elem131); } iprot.readListEnd(); } @@ -584,12 +584,12 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(PARTS_FIELD_DESC); { oprot.writeMapBegin(new TMap(TType.I32, TType.LIST, this.parts.size())); - for (Map.Entry> _iter119 : this.parts.entrySet()) { - oprot.writeI32(_iter119.getKey()); + for (Map.Entry> _iter132 : this.parts.entrySet()) { + oprot.writeI32(_iter132.getKey()); { - oprot.writeListBegin(new TList(TType.STRUCT, _iter119.getValue().size())); - for (NewEdge _iter120 : _iter119.getValue()) { - _iter120.write(oprot); + oprot.writeListBegin(new TList(TType.STRUCT, _iter132.getValue().size())); + for (NewEdge _iter133 : _iter132.getValue()) { + _iter133.write(oprot); } oprot.writeListEnd(); } @@ -602,8 +602,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(PROP_NAMES_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRING, this.prop_names.size())); - for (byte[] _iter121 : this.prop_names) { - oprot.writeBinary(_iter121); + for (byte[] _iter134 : this.prop_names) { + oprot.writeBinary(_iter134); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/AddPartReq.java b/client/src/main/generated/com/vesoft/nebula/storage/AddPartReq.java index 9b92b38a5..603789f21 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/AddPartReq.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/AddPartReq.java @@ -419,16 +419,16 @@ public void read(TProtocol iprot) throws TException { case PEERS: if (__field.type == TType.LIST) { { - TList _list256 = iprot.readListBegin(); - this.peers = new ArrayList(Math.max(0, _list256.size)); - for (int _i257 = 0; - (_list256.size < 0) ? iprot.peekList() : (_i257 < _list256.size); - ++_i257) + TList _list273 = iprot.readListBegin(); + this.peers = new ArrayList(Math.max(0, _list273.size)); + for (int _i274 = 0; + (_list273.size < 0) ? iprot.peekList() : (_i274 < _list273.size); + ++_i274) { - com.vesoft.nebula.HostAddr _elem258; - _elem258 = new com.vesoft.nebula.HostAddr(); - _elem258.read(iprot); - this.peers.add(_elem258); + com.vesoft.nebula.HostAddr _elem275; + _elem275 = new com.vesoft.nebula.HostAddr(); + _elem275.read(iprot); + this.peers.add(_elem275); } iprot.readListEnd(); } @@ -466,8 +466,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(PEERS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.peers.size())); - for (com.vesoft.nebula.HostAddr _iter259 : this.peers) { - _iter259.write(oprot); + for (com.vesoft.nebula.HostAddr _iter276 : this.peers) { + _iter276.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/AddAdminTaskRequest.java b/client/src/main/generated/com/vesoft/nebula/storage/AddTaskRequest.java similarity index 64% rename from client/src/main/generated/com/vesoft/nebula/storage/AddAdminTaskRequest.java rename to client/src/main/generated/com/vesoft/nebula/storage/AddTaskRequest.java index 07e8f4317..f6815bcb7 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/AddAdminTaskRequest.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/AddTaskRequest.java @@ -24,40 +24,36 @@ import com.facebook.thrift.protocol.*; @SuppressWarnings({ "unused", "serial" }) -public class AddAdminTaskRequest implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("AddAdminTaskRequest"); - private static final TField CMD_FIELD_DESC = new TField("cmd", TType.I32, (short)1); +public class AddTaskRequest implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("AddTaskRequest"); + private static final TField JOB_TYPE_FIELD_DESC = new TField("job_type", TType.I32, (short)1); private static final TField JOB_ID_FIELD_DESC = new TField("job_id", TType.I32, (short)2); private static final TField TASK_ID_FIELD_DESC = new TField("task_id", TType.I32, (short)3); private static final TField PARA_FIELD_DESC = new TField("para", TType.STRUCT, (short)4); - private static final TField CONCURRENCY_FIELD_DESC = new TField("concurrency", TType.I32, (short)5); /** * - * @see com.vesoft.nebula.meta.AdminCmd + * @see com.vesoft.nebula.meta.JobType */ - public com.vesoft.nebula.meta.AdminCmd cmd; + public com.vesoft.nebula.meta.JobType job_type; public int job_id; public int task_id; public TaskPara para; - public int concurrency; - public static final int CMD = 1; + public static final int JOB_TYPE = 1; public static final int JOB_ID = 2; public static final int TASK_ID = 3; public static final int PARA = 4; - public static final int CONCURRENCY = 5; // isset id assignments private static final int __JOB_ID_ISSET_ID = 0; private static final int __TASK_ID_ISSET_ID = 1; - private static final int __CONCURRENCY_ISSET_ID = 2; - private BitSet __isset_bit_vector = new BitSet(3); + private BitSet __isset_bit_vector = new BitSet(2); public static final Map metaDataMap; static { Map tmpMetaDataMap = new HashMap(); - tmpMetaDataMap.put(CMD, new FieldMetaData("cmd", TFieldRequirementType.DEFAULT, + tmpMetaDataMap.put(JOB_TYPE, new FieldMetaData("job_type", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.I32))); tmpMetaDataMap.put(JOB_ID, new FieldMetaData("job_id", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.I32))); @@ -65,63 +61,43 @@ public class AddAdminTaskRequest implements TBase, java.io.Serializable, Cloneab new FieldValueMetaData(TType.I32))); tmpMetaDataMap.put(PARA, new FieldMetaData("para", TFieldRequirementType.DEFAULT, new StructMetaData(TType.STRUCT, TaskPara.class))); - tmpMetaDataMap.put(CONCURRENCY, new FieldMetaData("concurrency", TFieldRequirementType.OPTIONAL, - new FieldValueMetaData(TType.I32))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(AddAdminTaskRequest.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(AddTaskRequest.class, metaDataMap); } - public AddAdminTaskRequest() { + public AddTaskRequest() { } - public AddAdminTaskRequest( - com.vesoft.nebula.meta.AdminCmd cmd, + public AddTaskRequest( + com.vesoft.nebula.meta.JobType job_type, int job_id, int task_id, TaskPara para) { this(); - this.cmd = cmd; - this.job_id = job_id; - setJob_idIsSet(true); - this.task_id = task_id; - setTask_idIsSet(true); - this.para = para; - } - - public AddAdminTaskRequest( - com.vesoft.nebula.meta.AdminCmd cmd, - int job_id, - int task_id, - TaskPara para, - int concurrency) { - this(); - this.cmd = cmd; + this.job_type = job_type; this.job_id = job_id; setJob_idIsSet(true); this.task_id = task_id; setTask_idIsSet(true); this.para = para; - this.concurrency = concurrency; - setConcurrencyIsSet(true); } public static class Builder { - private com.vesoft.nebula.meta.AdminCmd cmd; + private com.vesoft.nebula.meta.JobType job_type; private int job_id; private int task_id; private TaskPara para; - private int concurrency; - BitSet __optional_isset = new BitSet(3); + BitSet __optional_isset = new BitSet(2); public Builder() { } - public Builder setCmd(final com.vesoft.nebula.meta.AdminCmd cmd) { - this.cmd = cmd; + public Builder setJob_type(final com.vesoft.nebula.meta.JobType job_type) { + this.job_type = job_type; return this; } @@ -142,15 +118,9 @@ public Builder setPara(final TaskPara para) { return this; } - public Builder setConcurrency(final int concurrency) { - this.concurrency = concurrency; - __optional_isset.set(__CONCURRENCY_ISSET_ID, true); - return this; - } - - public AddAdminTaskRequest build() { - AddAdminTaskRequest result = new AddAdminTaskRequest(); - result.setCmd(this.cmd); + public AddTaskRequest build() { + AddTaskRequest result = new AddTaskRequest(); + result.setJob_type(this.job_type); if (__optional_isset.get(__JOB_ID_ISSET_ID)) { result.setJob_id(this.job_id); } @@ -158,9 +128,6 @@ public AddAdminTaskRequest build() { result.setTask_id(this.task_id); } result.setPara(this.para); - if (__optional_isset.get(__CONCURRENCY_ISSET_ID)) { - result.setConcurrency(this.concurrency); - } return result; } } @@ -172,53 +139,52 @@ public static Builder builder() { /** * Performs a deep copy on other. */ - public AddAdminTaskRequest(AddAdminTaskRequest other) { + public AddTaskRequest(AddTaskRequest other) { __isset_bit_vector.clear(); __isset_bit_vector.or(other.__isset_bit_vector); - if (other.isSetCmd()) { - this.cmd = TBaseHelper.deepCopy(other.cmd); + if (other.isSetJob_type()) { + this.job_type = TBaseHelper.deepCopy(other.job_type); } this.job_id = TBaseHelper.deepCopy(other.job_id); this.task_id = TBaseHelper.deepCopy(other.task_id); if (other.isSetPara()) { this.para = TBaseHelper.deepCopy(other.para); } - this.concurrency = TBaseHelper.deepCopy(other.concurrency); } - public AddAdminTaskRequest deepCopy() { - return new AddAdminTaskRequest(this); + public AddTaskRequest deepCopy() { + return new AddTaskRequest(this); } /** * - * @see com.vesoft.nebula.meta.AdminCmd + * @see com.vesoft.nebula.meta.JobType */ - public com.vesoft.nebula.meta.AdminCmd getCmd() { - return this.cmd; + public com.vesoft.nebula.meta.JobType getJob_type() { + return this.job_type; } /** * - * @see com.vesoft.nebula.meta.AdminCmd + * @see com.vesoft.nebula.meta.JobType */ - public AddAdminTaskRequest setCmd(com.vesoft.nebula.meta.AdminCmd cmd) { - this.cmd = cmd; + public AddTaskRequest setJob_type(com.vesoft.nebula.meta.JobType job_type) { + this.job_type = job_type; return this; } - public void unsetCmd() { - this.cmd = null; + public void unsetJob_type() { + this.job_type = null; } - // Returns true if field cmd is set (has been assigned a value) and false otherwise - public boolean isSetCmd() { - return this.cmd != null; + // Returns true if field job_type is set (has been assigned a value) and false otherwise + public boolean isSetJob_type() { + return this.job_type != null; } - public void setCmdIsSet(boolean __value) { + public void setJob_typeIsSet(boolean __value) { if (!__value) { - this.cmd = null; + this.job_type = null; } } @@ -226,7 +192,7 @@ public int getJob_id() { return this.job_id; } - public AddAdminTaskRequest setJob_id(int job_id) { + public AddTaskRequest setJob_id(int job_id) { this.job_id = job_id; setJob_idIsSet(true); return this; @@ -249,7 +215,7 @@ public int getTask_id() { return this.task_id; } - public AddAdminTaskRequest setTask_id(int task_id) { + public AddTaskRequest setTask_id(int task_id) { this.task_id = task_id; setTask_idIsSet(true); return this; @@ -272,7 +238,7 @@ public TaskPara getPara() { return this.para; } - public AddAdminTaskRequest setPara(TaskPara para) { + public AddTaskRequest setPara(TaskPara para) { this.para = para; return this; } @@ -292,36 +258,13 @@ public void setParaIsSet(boolean __value) { } } - public int getConcurrency() { - return this.concurrency; - } - - public AddAdminTaskRequest setConcurrency(int concurrency) { - this.concurrency = concurrency; - setConcurrencyIsSet(true); - return this; - } - - public void unsetConcurrency() { - __isset_bit_vector.clear(__CONCURRENCY_ISSET_ID); - } - - // Returns true if field concurrency is set (has been assigned a value) and false otherwise - public boolean isSetConcurrency() { - return __isset_bit_vector.get(__CONCURRENCY_ISSET_ID); - } - - public void setConcurrencyIsSet(boolean __value) { - __isset_bit_vector.set(__CONCURRENCY_ISSET_ID, __value); - } - public void setFieldValue(int fieldID, Object __value) { switch (fieldID) { - case CMD: + case JOB_TYPE: if (__value == null) { - unsetCmd(); + unsetJob_type(); } else { - setCmd((com.vesoft.nebula.meta.AdminCmd)__value); + setJob_type((com.vesoft.nebula.meta.JobType)__value); } break; @@ -349,14 +292,6 @@ public void setFieldValue(int fieldID, Object __value) { } break; - case CONCURRENCY: - if (__value == null) { - unsetConcurrency(); - } else { - setConcurrency((Integer)__value); - } - break; - default: throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); } @@ -364,8 +299,8 @@ public void setFieldValue(int fieldID, Object __value) { public Object getFieldValue(int fieldID) { switch (fieldID) { - case CMD: - return getCmd(); + case JOB_TYPE: + return getJob_type(); case JOB_ID: return new Integer(getJob_id()); @@ -376,9 +311,6 @@ public Object getFieldValue(int fieldID) { case PARA: return getPara(); - case CONCURRENCY: - return new Integer(getConcurrency()); - default: throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); } @@ -390,11 +322,11 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof AddAdminTaskRequest)) + if (!(_that instanceof AddTaskRequest)) return false; - AddAdminTaskRequest that = (AddAdminTaskRequest)_that; + AddTaskRequest that = (AddTaskRequest)_that; - if (!TBaseHelper.equalsNobinary(this.isSetCmd(), that.isSetCmd(), this.cmd, that.cmd)) { return false; } + if (!TBaseHelper.equalsNobinary(this.isSetJob_type(), that.isSetJob_type(), this.job_type, that.job_type)) { return false; } if (!TBaseHelper.equalsNobinary(this.job_id, that.job_id)) { return false; } @@ -402,18 +334,16 @@ public boolean equals(Object _that) { if (!TBaseHelper.equalsNobinary(this.isSetPara(), that.isSetPara(), this.para, that.para)) { return false; } - if (!TBaseHelper.equalsNobinary(this.isSetConcurrency(), that.isSetConcurrency(), this.concurrency, that.concurrency)) { return false; } - return true; } @Override public int hashCode() { - return Arrays.deepHashCode(new Object[] {cmd, job_id, task_id, para, concurrency}); + return Arrays.deepHashCode(new Object[] {job_type, job_id, task_id, para}); } @Override - public int compareTo(AddAdminTaskRequest other) { + public int compareTo(AddTaskRequest other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -424,11 +354,11 @@ public int compareTo(AddAdminTaskRequest other) { } int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetCmd()).compareTo(other.isSetCmd()); + lastComparison = Boolean.valueOf(isSetJob_type()).compareTo(other.isSetJob_type()); if (lastComparison != 0) { return lastComparison; } - lastComparison = TBaseHelper.compareTo(cmd, other.cmd); + lastComparison = TBaseHelper.compareTo(job_type, other.job_type); if (lastComparison != 0) { return lastComparison; } @@ -456,14 +386,6 @@ public int compareTo(AddAdminTaskRequest other) { if (lastComparison != 0) { return lastComparison; } - lastComparison = Boolean.valueOf(isSetConcurrency()).compareTo(other.isSetConcurrency()); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = TBaseHelper.compareTo(concurrency, other.concurrency); - if (lastComparison != 0) { - return lastComparison; - } return 0; } @@ -478,9 +400,9 @@ public void read(TProtocol iprot) throws TException { } switch (__field.id) { - case CMD: + case JOB_TYPE: if (__field.type == TType.I32) { - this.cmd = com.vesoft.nebula.meta.AdminCmd.findByValue(iprot.readI32()); + this.job_type = com.vesoft.nebula.meta.JobType.findByValue(iprot.readI32()); } else { TProtocolUtil.skip(iprot, __field.type); } @@ -509,14 +431,6 @@ public void read(TProtocol iprot) throws TException { TProtocolUtil.skip(iprot, __field.type); } break; - case CONCURRENCY: - if (__field.type == TType.I32) { - this.concurrency = iprot.readI32(); - setConcurrencyIsSet(true); - } else { - TProtocolUtil.skip(iprot, __field.type); - } - break; default: TProtocolUtil.skip(iprot, __field.type); break; @@ -534,9 +448,9 @@ public void write(TProtocol oprot) throws TException { validate(); oprot.writeStructBegin(STRUCT_DESC); - if (this.cmd != null) { - oprot.writeFieldBegin(CMD_FIELD_DESC); - oprot.writeI32(this.cmd == null ? 0 : this.cmd.getValue()); + if (this.job_type != null) { + oprot.writeFieldBegin(JOB_TYPE_FIELD_DESC); + oprot.writeI32(this.job_type == null ? 0 : this.job_type.getValue()); oprot.writeFieldEnd(); } oprot.writeFieldBegin(JOB_ID_FIELD_DESC); @@ -550,11 +464,6 @@ public void write(TProtocol oprot) throws TException { this.para.write(oprot); oprot.writeFieldEnd(); } - if (isSetConcurrency()) { - oprot.writeFieldBegin(CONCURRENCY_FIELD_DESC); - oprot.writeI32(this.concurrency); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -569,26 +478,26 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("AddAdminTaskRequest"); + StringBuilder sb = new StringBuilder("AddTaskRequest"); sb.append(space); sb.append("("); sb.append(newLine); boolean first = true; sb.append(indentStr); - sb.append("cmd"); + sb.append("job_type"); sb.append(space); sb.append(":").append(space); - if (this.getCmd() == null) { + if (this.getJob_type() == null) { sb.append("null"); } else { - String cmd_name = this.getCmd() == null ? "null" : this.getCmd().name(); - if (cmd_name != null) { - sb.append(cmd_name); + String job_type_name = this.getJob_type() == null ? "null" : this.getJob_type().name(); + if (job_type_name != null) { + sb.append(job_type_name); sb.append(" ("); } - sb.append(this.getCmd()); - if (cmd_name != null) { + sb.append(this.getJob_type()); + if (job_type_name != null) { sb.append(")"); } } @@ -618,16 +527,6 @@ public String toString(int indent, boolean prettyPrint) { sb.append(TBaseHelper.toString(this.getPara(), indent + 1, prettyPrint)); } first = false; - if (isSetConcurrency()) - { - if (!first) sb.append("," + newLine); - sb.append(indentStr); - sb.append("concurrency"); - sb.append(space); - sb.append(":").append(space); - sb.append(TBaseHelper.toString(this.getConcurrency(), indent + 1, prettyPrint)); - first = false; - } sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); sb.append(")"); return sb.toString(); diff --git a/client/src/main/generated/com/vesoft/nebula/storage/AddTaskResp.java b/client/src/main/generated/com/vesoft/nebula/storage/AddTaskResp.java new file mode 100644 index 000000000..947069803 --- /dev/null +++ b/client/src/main/generated/com/vesoft/nebula/storage/AddTaskResp.java @@ -0,0 +1,285 @@ +/** + * Autogenerated by Thrift + * + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * @generated + */ +package com.vesoft.nebula.storage; + +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.util.HashMap; +import java.util.Set; +import java.util.HashSet; +import java.util.Collections; +import java.util.BitSet; +import java.util.Arrays; +import com.facebook.thrift.*; +import com.facebook.thrift.annotations.*; +import com.facebook.thrift.async.*; +import com.facebook.thrift.meta_data.*; +import com.facebook.thrift.server.*; +import com.facebook.thrift.transport.*; +import com.facebook.thrift.protocol.*; + +@SuppressWarnings({ "unused", "serial" }) +public class AddTaskResp implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("AddTaskResp"); + private static final TField CODE_FIELD_DESC = new TField("code", TType.I32, (short)1); + + /** + * + * @see com.vesoft.nebula.ErrorCode + */ + public com.vesoft.nebula.ErrorCode code; + public static final int CODE = 1; + + // isset id assignments + + public static final Map metaDataMap; + + static { + Map tmpMetaDataMap = new HashMap(); + tmpMetaDataMap.put(CODE, new FieldMetaData("code", TFieldRequirementType.DEFAULT, + new FieldValueMetaData(TType.I32))); + metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); + } + + static { + FieldMetaData.addStructMetaDataMap(AddTaskResp.class, metaDataMap); + } + + public AddTaskResp() { + } + + public AddTaskResp( + com.vesoft.nebula.ErrorCode code) { + this(); + this.code = code; + } + + public static class Builder { + private com.vesoft.nebula.ErrorCode code; + + public Builder() { + } + + public Builder setCode(final com.vesoft.nebula.ErrorCode code) { + this.code = code; + return this; + } + + public AddTaskResp build() { + AddTaskResp result = new AddTaskResp(); + result.setCode(this.code); + return result; + } + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Performs a deep copy on other. + */ + public AddTaskResp(AddTaskResp other) { + if (other.isSetCode()) { + this.code = TBaseHelper.deepCopy(other.code); + } + } + + public AddTaskResp deepCopy() { + return new AddTaskResp(this); + } + + /** + * + * @see com.vesoft.nebula.ErrorCode + */ + public com.vesoft.nebula.ErrorCode getCode() { + return this.code; + } + + /** + * + * @see com.vesoft.nebula.ErrorCode + */ + public AddTaskResp setCode(com.vesoft.nebula.ErrorCode code) { + this.code = code; + return this; + } + + public void unsetCode() { + this.code = null; + } + + // Returns true if field code is set (has been assigned a value) and false otherwise + public boolean isSetCode() { + return this.code != null; + } + + public void setCodeIsSet(boolean __value) { + if (!__value) { + this.code = null; + } + } + + public void setFieldValue(int fieldID, Object __value) { + switch (fieldID) { + case CODE: + if (__value == null) { + unsetCode(); + } else { + setCode((com.vesoft.nebula.ErrorCode)__value); + } + break; + + default: + throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); + } + } + + public Object getFieldValue(int fieldID) { + switch (fieldID) { + case CODE: + return getCode(); + + default: + throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); + } + } + + @Override + public boolean equals(Object _that) { + if (_that == null) + return false; + if (this == _that) + return true; + if (!(_that instanceof AddTaskResp)) + return false; + AddTaskResp that = (AddTaskResp)_that; + + if (!TBaseHelper.equalsNobinary(this.isSetCode(), that.isSetCode(), this.code, that.code)) { return false; } + + return true; + } + + @Override + public int hashCode() { + return Arrays.deepHashCode(new Object[] {code}); + } + + @Override + public int compareTo(AddTaskResp other) { + if (other == null) { + // See java.lang.Comparable docs + throw new NullPointerException(); + } + + if (other == this) { + return 0; + } + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetCode()).compareTo(other.isSetCode()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(code, other.code); + if (lastComparison != 0) { + return lastComparison; + } + return 0; + } + + public void read(TProtocol iprot) throws TException { + TField __field; + iprot.readStructBegin(metaDataMap); + while (true) + { + __field = iprot.readFieldBegin(); + if (__field.type == TType.STOP) { + break; + } + switch (__field.id) + { + case CODE: + if (__field.type == TType.I32) { + this.code = com.vesoft.nebula.ErrorCode.findByValue(iprot.readI32()); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + default: + TProtocolUtil.skip(iprot, __field.type); + break; + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + + // check for required fields of primitive type, which can't be checked in the validate method + validate(); + } + + public void write(TProtocol oprot) throws TException { + validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (this.code != null) { + oprot.writeFieldBegin(CODE_FIELD_DESC); + oprot.writeI32(this.code == null ? 0 : this.code.getValue()); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + @Override + public String toString() { + return toString(1, true); + } + + @Override + public String toString(int indent, boolean prettyPrint) { + String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; + String newLine = prettyPrint ? "\n" : ""; + String space = prettyPrint ? " " : ""; + StringBuilder sb = new StringBuilder("AddTaskResp"); + sb.append(space); + sb.append("("); + sb.append(newLine); + boolean first = true; + + sb.append(indentStr); + sb.append("code"); + sb.append(space); + sb.append(":").append(space); + if (this.getCode() == null) { + sb.append("null"); + } else { + String code_name = this.getCode() == null ? "null" : this.getCode().name(); + if (code_name != null) { + sb.append(code_name); + sb.append(" ("); + } + sb.append(this.getCode()); + if (code_name != null) { + sb.append(")"); + } + } + first = false; + sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); + sb.append(")"); + return sb.toString(); + } + + public void validate() throws TException { + // check for required fields + } + +} + diff --git a/client/src/main/generated/com/vesoft/nebula/storage/AddVerticesRequest.java b/client/src/main/generated/com/vesoft/nebula/storage/AddVerticesRequest.java index e7af80f5b..e326af9f9 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/AddVerticesRequest.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/AddVerticesRequest.java @@ -488,30 +488,30 @@ public void read(TProtocol iprot) throws TException { case PARTS: if (__field.type == TType.MAP) { { - TMap _map91 = iprot.readMapBegin(); - this.parts = new HashMap>(Math.max(0, 2*_map91.size)); - for (int _i92 = 0; - (_map91.size < 0) ? iprot.peekMap() : (_i92 < _map91.size); - ++_i92) + TMap _map104 = iprot.readMapBegin(); + this.parts = new HashMap>(Math.max(0, 2*_map104.size)); + for (int _i105 = 0; + (_map104.size < 0) ? iprot.peekMap() : (_i105 < _map104.size); + ++_i105) { - int _key93; - List _val94; - _key93 = iprot.readI32(); + int _key106; + List _val107; + _key106 = iprot.readI32(); { - TList _list95 = iprot.readListBegin(); - _val94 = new ArrayList(Math.max(0, _list95.size)); - for (int _i96 = 0; - (_list95.size < 0) ? iprot.peekList() : (_i96 < _list95.size); - ++_i96) + TList _list108 = iprot.readListBegin(); + _val107 = new ArrayList(Math.max(0, _list108.size)); + for (int _i109 = 0; + (_list108.size < 0) ? iprot.peekList() : (_i109 < _list108.size); + ++_i109) { - NewVertex _elem97; - _elem97 = new NewVertex(); - _elem97.read(iprot); - _val94.add(_elem97); + NewVertex _elem110; + _elem110 = new NewVertex(); + _elem110.read(iprot); + _val107.add(_elem110); } iprot.readListEnd(); } - this.parts.put(_key93, _val94); + this.parts.put(_key106, _val107); } iprot.readMapEnd(); } @@ -522,29 +522,29 @@ public void read(TProtocol iprot) throws TException { case PROP_NAMES: if (__field.type == TType.MAP) { { - TMap _map98 = iprot.readMapBegin(); - this.prop_names = new HashMap>(Math.max(0, 2*_map98.size)); - for (int _i99 = 0; - (_map98.size < 0) ? iprot.peekMap() : (_i99 < _map98.size); - ++_i99) + TMap _map111 = iprot.readMapBegin(); + this.prop_names = new HashMap>(Math.max(0, 2*_map111.size)); + for (int _i112 = 0; + (_map111.size < 0) ? iprot.peekMap() : (_i112 < _map111.size); + ++_i112) { - int _key100; - List _val101; - _key100 = iprot.readI32(); + int _key113; + List _val114; + _key113 = iprot.readI32(); { - TList _list102 = iprot.readListBegin(); - _val101 = new ArrayList(Math.max(0, _list102.size)); - for (int _i103 = 0; - (_list102.size < 0) ? iprot.peekList() : (_i103 < _list102.size); - ++_i103) + TList _list115 = iprot.readListBegin(); + _val114 = new ArrayList(Math.max(0, _list115.size)); + for (int _i116 = 0; + (_list115.size < 0) ? iprot.peekList() : (_i116 < _list115.size); + ++_i116) { - byte[] _elem104; - _elem104 = iprot.readBinary(); - _val101.add(_elem104); + byte[] _elem117; + _elem117 = iprot.readBinary(); + _val114.add(_elem117); } iprot.readListEnd(); } - this.prop_names.put(_key100, _val101); + this.prop_names.put(_key113, _val114); } iprot.readMapEnd(); } @@ -600,12 +600,12 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(PARTS_FIELD_DESC); { oprot.writeMapBegin(new TMap(TType.I32, TType.LIST, this.parts.size())); - for (Map.Entry> _iter105 : this.parts.entrySet()) { - oprot.writeI32(_iter105.getKey()); + for (Map.Entry> _iter118 : this.parts.entrySet()) { + oprot.writeI32(_iter118.getKey()); { - oprot.writeListBegin(new TList(TType.STRUCT, _iter105.getValue().size())); - for (NewVertex _iter106 : _iter105.getValue()) { - _iter106.write(oprot); + oprot.writeListBegin(new TList(TType.STRUCT, _iter118.getValue().size())); + for (NewVertex _iter119 : _iter118.getValue()) { + _iter119.write(oprot); } oprot.writeListEnd(); } @@ -618,12 +618,12 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(PROP_NAMES_FIELD_DESC); { oprot.writeMapBegin(new TMap(TType.I32, TType.LIST, this.prop_names.size())); - for (Map.Entry> _iter107 : this.prop_names.entrySet()) { - oprot.writeI32(_iter107.getKey()); + for (Map.Entry> _iter120 : this.prop_names.entrySet()) { + oprot.writeI32(_iter120.getKey()); { - oprot.writeListBegin(new TList(TType.STRING, _iter107.getValue().size())); - for (byte[] _iter108 : _iter107.getValue()) { - oprot.writeBinary(_iter108); + oprot.writeListBegin(new TList(TType.STRING, _iter120.getValue().size())); + for (byte[] _iter121 : _iter120.getValue()) { + oprot.writeBinary(_iter121); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/BlockingSignRequest.java b/client/src/main/generated/com/vesoft/nebula/storage/BlockingSignRequest.java index f6a9cc5ad..dee841a7e 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/BlockingSignRequest.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/BlockingSignRequest.java @@ -278,15 +278,15 @@ public void read(TProtocol iprot) throws TException { case SPACE_IDS: if (__field.type == TType.LIST) { { - TList _list268 = iprot.readListBegin(); - this.space_ids = new ArrayList(Math.max(0, _list268.size)); - for (int _i269 = 0; - (_list268.size < 0) ? iprot.peekList() : (_i269 < _list268.size); - ++_i269) + TList _list289 = iprot.readListBegin(); + this.space_ids = new ArrayList(Math.max(0, _list289.size)); + for (int _i290 = 0; + (_list289.size < 0) ? iprot.peekList() : (_i290 < _list289.size); + ++_i290) { - int _elem270; - _elem270 = iprot.readI32(); - this.space_ids.add(_elem270); + int _elem291; + _elem291 = iprot.readI32(); + this.space_ids.add(_elem291); } iprot.readListEnd(); } @@ -322,8 +322,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(SPACE_IDS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.I32, this.space_ids.size())); - for (int _iter271 : this.space_ids) { - oprot.writeI32(_iter271); + for (int _iter292 : this.space_ids) { + oprot.writeI32(_iter292); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/BlockingSignResp.java b/client/src/main/generated/com/vesoft/nebula/storage/BlockingSignResp.java new file mode 100644 index 000000000..31f26503b --- /dev/null +++ b/client/src/main/generated/com/vesoft/nebula/storage/BlockingSignResp.java @@ -0,0 +1,285 @@ +/** + * Autogenerated by Thrift + * + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * @generated + */ +package com.vesoft.nebula.storage; + +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.util.HashMap; +import java.util.Set; +import java.util.HashSet; +import java.util.Collections; +import java.util.BitSet; +import java.util.Arrays; +import com.facebook.thrift.*; +import com.facebook.thrift.annotations.*; +import com.facebook.thrift.async.*; +import com.facebook.thrift.meta_data.*; +import com.facebook.thrift.server.*; +import com.facebook.thrift.transport.*; +import com.facebook.thrift.protocol.*; + +@SuppressWarnings({ "unused", "serial" }) +public class BlockingSignResp implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("BlockingSignResp"); + private static final TField CODE_FIELD_DESC = new TField("code", TType.I32, (short)1); + + /** + * + * @see com.vesoft.nebula.ErrorCode + */ + public com.vesoft.nebula.ErrorCode code; + public static final int CODE = 1; + + // isset id assignments + + public static final Map metaDataMap; + + static { + Map tmpMetaDataMap = new HashMap(); + tmpMetaDataMap.put(CODE, new FieldMetaData("code", TFieldRequirementType.DEFAULT, + new FieldValueMetaData(TType.I32))); + metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); + } + + static { + FieldMetaData.addStructMetaDataMap(BlockingSignResp.class, metaDataMap); + } + + public BlockingSignResp() { + } + + public BlockingSignResp( + com.vesoft.nebula.ErrorCode code) { + this(); + this.code = code; + } + + public static class Builder { + private com.vesoft.nebula.ErrorCode code; + + public Builder() { + } + + public Builder setCode(final com.vesoft.nebula.ErrorCode code) { + this.code = code; + return this; + } + + public BlockingSignResp build() { + BlockingSignResp result = new BlockingSignResp(); + result.setCode(this.code); + return result; + } + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Performs a deep copy on other. + */ + public BlockingSignResp(BlockingSignResp other) { + if (other.isSetCode()) { + this.code = TBaseHelper.deepCopy(other.code); + } + } + + public BlockingSignResp deepCopy() { + return new BlockingSignResp(this); + } + + /** + * + * @see com.vesoft.nebula.ErrorCode + */ + public com.vesoft.nebula.ErrorCode getCode() { + return this.code; + } + + /** + * + * @see com.vesoft.nebula.ErrorCode + */ + public BlockingSignResp setCode(com.vesoft.nebula.ErrorCode code) { + this.code = code; + return this; + } + + public void unsetCode() { + this.code = null; + } + + // Returns true if field code is set (has been assigned a value) and false otherwise + public boolean isSetCode() { + return this.code != null; + } + + public void setCodeIsSet(boolean __value) { + if (!__value) { + this.code = null; + } + } + + public void setFieldValue(int fieldID, Object __value) { + switch (fieldID) { + case CODE: + if (__value == null) { + unsetCode(); + } else { + setCode((com.vesoft.nebula.ErrorCode)__value); + } + break; + + default: + throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); + } + } + + public Object getFieldValue(int fieldID) { + switch (fieldID) { + case CODE: + return getCode(); + + default: + throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); + } + } + + @Override + public boolean equals(Object _that) { + if (_that == null) + return false; + if (this == _that) + return true; + if (!(_that instanceof BlockingSignResp)) + return false; + BlockingSignResp that = (BlockingSignResp)_that; + + if (!TBaseHelper.equalsNobinary(this.isSetCode(), that.isSetCode(), this.code, that.code)) { return false; } + + return true; + } + + @Override + public int hashCode() { + return Arrays.deepHashCode(new Object[] {code}); + } + + @Override + public int compareTo(BlockingSignResp other) { + if (other == null) { + // See java.lang.Comparable docs + throw new NullPointerException(); + } + + if (other == this) { + return 0; + } + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetCode()).compareTo(other.isSetCode()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(code, other.code); + if (lastComparison != 0) { + return lastComparison; + } + return 0; + } + + public void read(TProtocol iprot) throws TException { + TField __field; + iprot.readStructBegin(metaDataMap); + while (true) + { + __field = iprot.readFieldBegin(); + if (__field.type == TType.STOP) { + break; + } + switch (__field.id) + { + case CODE: + if (__field.type == TType.I32) { + this.code = com.vesoft.nebula.ErrorCode.findByValue(iprot.readI32()); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + default: + TProtocolUtil.skip(iprot, __field.type); + break; + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + + // check for required fields of primitive type, which can't be checked in the validate method + validate(); + } + + public void write(TProtocol oprot) throws TException { + validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (this.code != null) { + oprot.writeFieldBegin(CODE_FIELD_DESC); + oprot.writeI32(this.code == null ? 0 : this.code.getValue()); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + @Override + public String toString() { + return toString(1, true); + } + + @Override + public String toString(int indent, boolean prettyPrint) { + String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; + String newLine = prettyPrint ? "\n" : ""; + String space = prettyPrint ? " " : ""; + StringBuilder sb = new StringBuilder("BlockingSignResp"); + sb.append(space); + sb.append("("); + sb.append(newLine); + boolean first = true; + + sb.append(indentStr); + sb.append("code"); + sb.append(space); + sb.append(":").append(space); + if (this.getCode() == null) { + sb.append("null"); + } else { + String code_name = this.getCode() == null ? "null" : this.getCode().name(); + if (code_name != null) { + sb.append(code_name); + sb.append(" ("); + } + sb.append(this.getCode()); + if (code_name != null) { + sb.append(")"); + } + } + first = false; + sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); + sb.append(")"); + return sb.toString(); + } + + public void validate() throws TException { + // check for required fields + } + +} + diff --git a/client/src/main/generated/com/vesoft/nebula/storage/ChainAddEdgesRequest.java b/client/src/main/generated/com/vesoft/nebula/storage/ChainAddEdgesRequest.java index c0fd5b0da..2a981759c 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/ChainAddEdgesRequest.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/ChainAddEdgesRequest.java @@ -486,30 +486,30 @@ public void read(TProtocol iprot) throws TException { case PARTS: if (__field.type == TType.MAP) { { - TMap _map293 = iprot.readMapBegin(); - this.parts = new HashMap>(Math.max(0, 2*_map293.size)); - for (int _i294 = 0; - (_map293.size < 0) ? iprot.peekMap() : (_i294 < _map293.size); - ++_i294) + TMap _map310 = iprot.readMapBegin(); + this.parts = new HashMap>(Math.max(0, 2*_map310.size)); + for (int _i311 = 0; + (_map310.size < 0) ? iprot.peekMap() : (_i311 < _map310.size); + ++_i311) { - int _key295; - List _val296; - _key295 = iprot.readI32(); + int _key312; + List _val313; + _key312 = iprot.readI32(); { - TList _list297 = iprot.readListBegin(); - _val296 = new ArrayList(Math.max(0, _list297.size)); - for (int _i298 = 0; - (_list297.size < 0) ? iprot.peekList() : (_i298 < _list297.size); - ++_i298) + TList _list314 = iprot.readListBegin(); + _val313 = new ArrayList(Math.max(0, _list314.size)); + for (int _i315 = 0; + (_list314.size < 0) ? iprot.peekList() : (_i315 < _list314.size); + ++_i315) { - NewEdge _elem299; - _elem299 = new NewEdge(); - _elem299.read(iprot); - _val296.add(_elem299); + NewEdge _elem316; + _elem316 = new NewEdge(); + _elem316.read(iprot); + _val313.add(_elem316); } iprot.readListEnd(); } - this.parts.put(_key295, _val296); + this.parts.put(_key312, _val313); } iprot.readMapEnd(); } @@ -520,15 +520,15 @@ public void read(TProtocol iprot) throws TException { case PROP_NAMES: if (__field.type == TType.LIST) { { - TList _list300 = iprot.readListBegin(); - this.prop_names = new ArrayList(Math.max(0, _list300.size)); - for (int _i301 = 0; - (_list300.size < 0) ? iprot.peekList() : (_i301 < _list300.size); - ++_i301) + TList _list317 = iprot.readListBegin(); + this.prop_names = new ArrayList(Math.max(0, _list317.size)); + for (int _i318 = 0; + (_list317.size < 0) ? iprot.peekList() : (_i318 < _list317.size); + ++_i318) { - byte[] _elem302; - _elem302 = iprot.readBinary(); - this.prop_names.add(_elem302); + byte[] _elem319; + _elem319 = iprot.readBinary(); + this.prop_names.add(_elem319); } iprot.readListEnd(); } @@ -584,12 +584,12 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(PARTS_FIELD_DESC); { oprot.writeMapBegin(new TMap(TType.I32, TType.LIST, this.parts.size())); - for (Map.Entry> _iter303 : this.parts.entrySet()) { - oprot.writeI32(_iter303.getKey()); + for (Map.Entry> _iter320 : this.parts.entrySet()) { + oprot.writeI32(_iter320.getKey()); { - oprot.writeListBegin(new TList(TType.STRUCT, _iter303.getValue().size())); - for (NewEdge _iter304 : _iter303.getValue()) { - _iter304.write(oprot); + oprot.writeListBegin(new TList(TType.STRUCT, _iter320.getValue().size())); + for (NewEdge _iter321 : _iter320.getValue()) { + _iter321.write(oprot); } oprot.writeListEnd(); } @@ -602,8 +602,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(PROP_NAMES_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRING, this.prop_names.size())); - for (byte[] _iter305 : this.prop_names) { - oprot.writeBinary(_iter305); + for (byte[] _iter322 : this.prop_names) { + oprot.writeBinary(_iter322); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/ChainDeleteEdgesRequest.java b/client/src/main/generated/com/vesoft/nebula/storage/ChainDeleteEdgesRequest.java index 5496fddeb..a5892129c 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/ChainDeleteEdgesRequest.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/ChainDeleteEdgesRequest.java @@ -356,30 +356,30 @@ public void read(TProtocol iprot) throws TException { case PARTS: if (__field.type == TType.MAP) { { - TMap _map310 = iprot.readMapBegin(); - this.parts = new HashMap>(Math.max(0, 2*_map310.size)); - for (int _i311 = 0; - (_map310.size < 0) ? iprot.peekMap() : (_i311 < _map310.size); - ++_i311) + TMap _map327 = iprot.readMapBegin(); + this.parts = new HashMap>(Math.max(0, 2*_map327.size)); + for (int _i328 = 0; + (_map327.size < 0) ? iprot.peekMap() : (_i328 < _map327.size); + ++_i328) { - int _key312; - List _val313; - _key312 = iprot.readI32(); + int _key329; + List _val330; + _key329 = iprot.readI32(); { - TList _list314 = iprot.readListBegin(); - _val313 = new ArrayList(Math.max(0, _list314.size)); - for (int _i315 = 0; - (_list314.size < 0) ? iprot.peekList() : (_i315 < _list314.size); - ++_i315) + TList _list331 = iprot.readListBegin(); + _val330 = new ArrayList(Math.max(0, _list331.size)); + for (int _i332 = 0; + (_list331.size < 0) ? iprot.peekList() : (_i332 < _list331.size); + ++_i332) { - EdgeKey _elem316; - _elem316 = new EdgeKey(); - _elem316.read(iprot); - _val313.add(_elem316); + EdgeKey _elem333; + _elem333 = new EdgeKey(); + _elem333.read(iprot); + _val330.add(_elem333); } iprot.readListEnd(); } - this.parts.put(_key312, _val313); + this.parts.put(_key329, _val330); } iprot.readMapEnd(); } @@ -426,12 +426,12 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(PARTS_FIELD_DESC); { oprot.writeMapBegin(new TMap(TType.I32, TType.LIST, this.parts.size())); - for (Map.Entry> _iter317 : this.parts.entrySet()) { - oprot.writeI32(_iter317.getKey()); + for (Map.Entry> _iter334 : this.parts.entrySet()) { + oprot.writeI32(_iter334.getKey()); { - oprot.writeListBegin(new TList(TType.STRUCT, _iter317.getValue().size())); - for (EdgeKey _iter318 : _iter317.getValue()) { - _iter318.write(oprot); + oprot.writeListBegin(new TList(TType.STRUCT, _iter334.getValue().size())); + for (EdgeKey _iter335 : _iter334.getValue()) { + _iter335.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/ChainUpdateEdgeRequest.java b/client/src/main/generated/com/vesoft/nebula/storage/ChainUpdateEdgeRequest.java index 924c7179a..a3abfe050 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/ChainUpdateEdgeRequest.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/ChainUpdateEdgeRequest.java @@ -454,15 +454,15 @@ public void read(TProtocol iprot) throws TException { case PARTS: if (__field.type == TType.LIST) { { - TList _list306 = iprot.readListBegin(); - this.parts = new ArrayList(Math.max(0, _list306.size)); - for (int _i307 = 0; - (_list306.size < 0) ? iprot.peekList() : (_i307 < _list306.size); - ++_i307) + TList _list323 = iprot.readListBegin(); + this.parts = new ArrayList(Math.max(0, _list323.size)); + for (int _i324 = 0; + (_list323.size < 0) ? iprot.peekList() : (_i324 < _list323.size); + ++_i324) { - int _elem308; - _elem308 = iprot.readI32(); - this.parts.add(_elem308); + int _elem325; + _elem325 = iprot.readI32(); + this.parts.add(_elem325); } iprot.readListEnd(); } @@ -507,8 +507,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(PARTS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.I32, this.parts.size())); - for (int _iter309 : this.parts) { - oprot.writeI32(_iter309); + for (int _iter326 : this.parts) { + oprot.writeI32(_iter326); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/CheckPeersReq.java b/client/src/main/generated/com/vesoft/nebula/storage/CheckPeersReq.java index c7ca5e08e..83f57e53a 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/CheckPeersReq.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/CheckPeersReq.java @@ -347,16 +347,16 @@ public void read(TProtocol iprot) throws TException { case PEERS: if (__field.type == TType.LIST) { { - TList _list281 = iprot.readListBegin(); - this.peers = new ArrayList(Math.max(0, _list281.size)); - for (int _i282 = 0; - (_list281.size < 0) ? iprot.peekList() : (_i282 < _list281.size); - ++_i282) + TList _list302 = iprot.readListBegin(); + this.peers = new ArrayList(Math.max(0, _list302.size)); + for (int _i303 = 0; + (_list302.size < 0) ? iprot.peekList() : (_i303 < _list302.size); + ++_i303) { - com.vesoft.nebula.HostAddr _elem283; - _elem283 = new com.vesoft.nebula.HostAddr(); - _elem283.read(iprot); - this.peers.add(_elem283); + com.vesoft.nebula.HostAddr _elem304; + _elem304 = new com.vesoft.nebula.HostAddr(); + _elem304.read(iprot); + this.peers.add(_elem304); } iprot.readListEnd(); } @@ -391,8 +391,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(PEERS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.peers.size())); - for (com.vesoft.nebula.HostAddr _iter284 : this.peers) { - _iter284.write(oprot); + for (com.vesoft.nebula.HostAddr _iter305 : this.peers) { + _iter305.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/ClearSpaceReq.java b/client/src/main/generated/com/vesoft/nebula/storage/ClearSpaceReq.java new file mode 100644 index 000000000..f0f32c3f1 --- /dev/null +++ b/client/src/main/generated/com/vesoft/nebula/storage/ClearSpaceReq.java @@ -0,0 +1,267 @@ +/** + * Autogenerated by Thrift + * + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * @generated + */ +package com.vesoft.nebula.storage; + +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.util.HashMap; +import java.util.Set; +import java.util.HashSet; +import java.util.Collections; +import java.util.BitSet; +import java.util.Arrays; +import com.facebook.thrift.*; +import com.facebook.thrift.annotations.*; +import com.facebook.thrift.async.*; +import com.facebook.thrift.meta_data.*; +import com.facebook.thrift.server.*; +import com.facebook.thrift.transport.*; +import com.facebook.thrift.protocol.*; + +@SuppressWarnings({ "unused", "serial" }) +public class ClearSpaceReq implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("ClearSpaceReq"); + private static final TField SPACE_ID_FIELD_DESC = new TField("space_id", TType.I32, (short)1); + + public int space_id; + public static final int SPACE_ID = 1; + + // isset id assignments + private static final int __SPACE_ID_ISSET_ID = 0; + private BitSet __isset_bit_vector = new BitSet(1); + + public static final Map metaDataMap; + + static { + Map tmpMetaDataMap = new HashMap(); + tmpMetaDataMap.put(SPACE_ID, new FieldMetaData("space_id", TFieldRequirementType.DEFAULT, + new FieldValueMetaData(TType.I32))); + metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); + } + + static { + FieldMetaData.addStructMetaDataMap(ClearSpaceReq.class, metaDataMap); + } + + public ClearSpaceReq() { + } + + public ClearSpaceReq( + int space_id) { + this(); + this.space_id = space_id; + setSpace_idIsSet(true); + } + + public static class Builder { + private int space_id; + + BitSet __optional_isset = new BitSet(1); + + public Builder() { + } + + public Builder setSpace_id(final int space_id) { + this.space_id = space_id; + __optional_isset.set(__SPACE_ID_ISSET_ID, true); + return this; + } + + public ClearSpaceReq build() { + ClearSpaceReq result = new ClearSpaceReq(); + if (__optional_isset.get(__SPACE_ID_ISSET_ID)) { + result.setSpace_id(this.space_id); + } + return result; + } + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Performs a deep copy on other. + */ + public ClearSpaceReq(ClearSpaceReq other) { + __isset_bit_vector.clear(); + __isset_bit_vector.or(other.__isset_bit_vector); + this.space_id = TBaseHelper.deepCopy(other.space_id); + } + + public ClearSpaceReq deepCopy() { + return new ClearSpaceReq(this); + } + + public int getSpace_id() { + return this.space_id; + } + + public ClearSpaceReq setSpace_id(int space_id) { + this.space_id = space_id; + setSpace_idIsSet(true); + return this; + } + + public void unsetSpace_id() { + __isset_bit_vector.clear(__SPACE_ID_ISSET_ID); + } + + // Returns true if field space_id is set (has been assigned a value) and false otherwise + public boolean isSetSpace_id() { + return __isset_bit_vector.get(__SPACE_ID_ISSET_ID); + } + + public void setSpace_idIsSet(boolean __value) { + __isset_bit_vector.set(__SPACE_ID_ISSET_ID, __value); + } + + public void setFieldValue(int fieldID, Object __value) { + switch (fieldID) { + case SPACE_ID: + if (__value == null) { + unsetSpace_id(); + } else { + setSpace_id((Integer)__value); + } + break; + + default: + throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); + } + } + + public Object getFieldValue(int fieldID) { + switch (fieldID) { + case SPACE_ID: + return new Integer(getSpace_id()); + + default: + throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); + } + } + + @Override + public boolean equals(Object _that) { + if (_that == null) + return false; + if (this == _that) + return true; + if (!(_that instanceof ClearSpaceReq)) + return false; + ClearSpaceReq that = (ClearSpaceReq)_that; + + if (!TBaseHelper.equalsNobinary(this.space_id, that.space_id)) { return false; } + + return true; + } + + @Override + public int hashCode() { + return Arrays.deepHashCode(new Object[] {space_id}); + } + + @Override + public int compareTo(ClearSpaceReq other) { + if (other == null) { + // See java.lang.Comparable docs + throw new NullPointerException(); + } + + if (other == this) { + return 0; + } + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSpace_id()).compareTo(other.isSetSpace_id()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(space_id, other.space_id); + if (lastComparison != 0) { + return lastComparison; + } + return 0; + } + + public void read(TProtocol iprot) throws TException { + TField __field; + iprot.readStructBegin(metaDataMap); + while (true) + { + __field = iprot.readFieldBegin(); + if (__field.type == TType.STOP) { + break; + } + switch (__field.id) + { + case SPACE_ID: + if (__field.type == TType.I32) { + this.space_id = iprot.readI32(); + setSpace_idIsSet(true); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + default: + TProtocolUtil.skip(iprot, __field.type); + break; + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + + // check for required fields of primitive type, which can't be checked in the validate method + validate(); + } + + public void write(TProtocol oprot) throws TException { + validate(); + + oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldBegin(SPACE_ID_FIELD_DESC); + oprot.writeI32(this.space_id); + oprot.writeFieldEnd(); + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + @Override + public String toString() { + return toString(1, true); + } + + @Override + public String toString(int indent, boolean prettyPrint) { + String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; + String newLine = prettyPrint ? "\n" : ""; + String space = prettyPrint ? " " : ""; + StringBuilder sb = new StringBuilder("ClearSpaceReq"); + sb.append(space); + sb.append("("); + sb.append(newLine); + boolean first = true; + + sb.append(indentStr); + sb.append("space_id"); + sb.append(space); + sb.append(":").append(space); + sb.append(TBaseHelper.toString(this.getSpace_id(), indent + 1, prettyPrint)); + first = false; + sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); + sb.append(")"); + return sb.toString(); + } + + public void validate() throws TException { + // check for required fields + } + +} + diff --git a/client/src/main/generated/com/vesoft/nebula/storage/ClearSpaceResp.java b/client/src/main/generated/com/vesoft/nebula/storage/ClearSpaceResp.java new file mode 100644 index 000000000..e57cf84e4 --- /dev/null +++ b/client/src/main/generated/com/vesoft/nebula/storage/ClearSpaceResp.java @@ -0,0 +1,285 @@ +/** + * Autogenerated by Thrift + * + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * @generated + */ +package com.vesoft.nebula.storage; + +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.util.HashMap; +import java.util.Set; +import java.util.HashSet; +import java.util.Collections; +import java.util.BitSet; +import java.util.Arrays; +import com.facebook.thrift.*; +import com.facebook.thrift.annotations.*; +import com.facebook.thrift.async.*; +import com.facebook.thrift.meta_data.*; +import com.facebook.thrift.server.*; +import com.facebook.thrift.transport.*; +import com.facebook.thrift.protocol.*; + +@SuppressWarnings({ "unused", "serial" }) +public class ClearSpaceResp implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("ClearSpaceResp"); + private static final TField CODE_FIELD_DESC = new TField("code", TType.I32, (short)1); + + /** + * + * @see com.vesoft.nebula.ErrorCode + */ + public com.vesoft.nebula.ErrorCode code; + public static final int CODE = 1; + + // isset id assignments + + public static final Map metaDataMap; + + static { + Map tmpMetaDataMap = new HashMap(); + tmpMetaDataMap.put(CODE, new FieldMetaData("code", TFieldRequirementType.DEFAULT, + new FieldValueMetaData(TType.I32))); + metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); + } + + static { + FieldMetaData.addStructMetaDataMap(ClearSpaceResp.class, metaDataMap); + } + + public ClearSpaceResp() { + } + + public ClearSpaceResp( + com.vesoft.nebula.ErrorCode code) { + this(); + this.code = code; + } + + public static class Builder { + private com.vesoft.nebula.ErrorCode code; + + public Builder() { + } + + public Builder setCode(final com.vesoft.nebula.ErrorCode code) { + this.code = code; + return this; + } + + public ClearSpaceResp build() { + ClearSpaceResp result = new ClearSpaceResp(); + result.setCode(this.code); + return result; + } + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Performs a deep copy on other. + */ + public ClearSpaceResp(ClearSpaceResp other) { + if (other.isSetCode()) { + this.code = TBaseHelper.deepCopy(other.code); + } + } + + public ClearSpaceResp deepCopy() { + return new ClearSpaceResp(this); + } + + /** + * + * @see com.vesoft.nebula.ErrorCode + */ + public com.vesoft.nebula.ErrorCode getCode() { + return this.code; + } + + /** + * + * @see com.vesoft.nebula.ErrorCode + */ + public ClearSpaceResp setCode(com.vesoft.nebula.ErrorCode code) { + this.code = code; + return this; + } + + public void unsetCode() { + this.code = null; + } + + // Returns true if field code is set (has been assigned a value) and false otherwise + public boolean isSetCode() { + return this.code != null; + } + + public void setCodeIsSet(boolean __value) { + if (!__value) { + this.code = null; + } + } + + public void setFieldValue(int fieldID, Object __value) { + switch (fieldID) { + case CODE: + if (__value == null) { + unsetCode(); + } else { + setCode((com.vesoft.nebula.ErrorCode)__value); + } + break; + + default: + throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); + } + } + + public Object getFieldValue(int fieldID) { + switch (fieldID) { + case CODE: + return getCode(); + + default: + throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); + } + } + + @Override + public boolean equals(Object _that) { + if (_that == null) + return false; + if (this == _that) + return true; + if (!(_that instanceof ClearSpaceResp)) + return false; + ClearSpaceResp that = (ClearSpaceResp)_that; + + if (!TBaseHelper.equalsNobinary(this.isSetCode(), that.isSetCode(), this.code, that.code)) { return false; } + + return true; + } + + @Override + public int hashCode() { + return Arrays.deepHashCode(new Object[] {code}); + } + + @Override + public int compareTo(ClearSpaceResp other) { + if (other == null) { + // See java.lang.Comparable docs + throw new NullPointerException(); + } + + if (other == this) { + return 0; + } + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetCode()).compareTo(other.isSetCode()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(code, other.code); + if (lastComparison != 0) { + return lastComparison; + } + return 0; + } + + public void read(TProtocol iprot) throws TException { + TField __field; + iprot.readStructBegin(metaDataMap); + while (true) + { + __field = iprot.readFieldBegin(); + if (__field.type == TType.STOP) { + break; + } + switch (__field.id) + { + case CODE: + if (__field.type == TType.I32) { + this.code = com.vesoft.nebula.ErrorCode.findByValue(iprot.readI32()); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + default: + TProtocolUtil.skip(iprot, __field.type); + break; + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + + // check for required fields of primitive type, which can't be checked in the validate method + validate(); + } + + public void write(TProtocol oprot) throws TException { + validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (this.code != null) { + oprot.writeFieldBegin(CODE_FIELD_DESC); + oprot.writeI32(this.code == null ? 0 : this.code.getValue()); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + @Override + public String toString() { + return toString(1, true); + } + + @Override + public String toString(int indent, boolean prettyPrint) { + String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; + String newLine = prettyPrint ? "\n" : ""; + String space = prettyPrint ? " " : ""; + StringBuilder sb = new StringBuilder("ClearSpaceResp"); + sb.append(space); + sb.append("("); + sb.append(newLine); + boolean first = true; + + sb.append(indentStr); + sb.append("code"); + sb.append(space); + sb.append(":").append(space); + if (this.getCode() == null) { + sb.append("null"); + } else { + String code_name = this.getCode() == null ? "null" : this.getCode().name(); + if (code_name != null) { + sb.append(code_name); + sb.append(" ("); + } + sb.append(this.getCode()); + if (code_name != null) { + sb.append(")"); + } + } + first = false; + sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); + sb.append(")"); + return sb.toString(); + } + + public void validate() throws TException { + // check for required fields + } + +} + diff --git a/client/src/main/generated/com/vesoft/nebula/storage/CreateCPRequest.java b/client/src/main/generated/com/vesoft/nebula/storage/CreateCPRequest.java index 6af9a4140..a9564cd17 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/CreateCPRequest.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/CreateCPRequest.java @@ -260,15 +260,15 @@ public void read(TProtocol iprot) throws TException { case SPACE_IDS: if (__field.type == TType.LIST) { { - TList _list260 = iprot.readListBegin(); - this.space_ids = new ArrayList(Math.max(0, _list260.size)); - for (int _i261 = 0; - (_list260.size < 0) ? iprot.peekList() : (_i261 < _list260.size); - ++_i261) + TList _list277 = iprot.readListBegin(); + this.space_ids = new ArrayList(Math.max(0, _list277.size)); + for (int _i278 = 0; + (_list277.size < 0) ? iprot.peekList() : (_i278 < _list277.size); + ++_i278) { - int _elem262; - _elem262 = iprot.readI32(); - this.space_ids.add(_elem262); + int _elem279; + _elem279 = iprot.readI32(); + this.space_ids.add(_elem279); } iprot.readListEnd(); } @@ -304,8 +304,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(SPACE_IDS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.I32, this.space_ids.size())); - for (int _iter263 : this.space_ids) { - oprot.writeI32(_iter263); + for (int _iter280 : this.space_ids) { + oprot.writeI32(_iter280); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/CreateCPResp.java b/client/src/main/generated/com/vesoft/nebula/storage/CreateCPResp.java index 92cc241b2..c47d9bf90 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/CreateCPResp.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/CreateCPResp.java @@ -26,12 +26,16 @@ @SuppressWarnings({ "unused", "serial" }) public class CreateCPResp implements TBase, java.io.Serializable, Cloneable, Comparable { private static final TStruct STRUCT_DESC = new TStruct("CreateCPResp"); - private static final TField RESULT_FIELD_DESC = new TField("result", TType.STRUCT, (short)1); + private static final TField CODE_FIELD_DESC = new TField("code", TType.I32, (short)1); private static final TField INFO_FIELD_DESC = new TField("info", TType.LIST, (short)2); - public ResponseCommon result; + /** + * + * @see com.vesoft.nebula.ErrorCode + */ + public com.vesoft.nebula.ErrorCode code; public List info; - public static final int RESULT = 1; + public static final int CODE = 1; public static final int INFO = 2; // isset id assignments @@ -40,8 +44,8 @@ public class CreateCPResp implements TBase, java.io.Serializable, Cloneable, Com static { Map tmpMetaDataMap = new HashMap(); - tmpMetaDataMap.put(RESULT, new FieldMetaData("result", TFieldRequirementType.REQUIRED, - new StructMetaData(TType.STRUCT, ResponseCommon.class))); + tmpMetaDataMap.put(CODE, new FieldMetaData("code", TFieldRequirementType.DEFAULT, + new FieldValueMetaData(TType.I32))); tmpMetaDataMap.put(INFO, new FieldMetaData("info", TFieldRequirementType.DEFAULT, new ListMetaData(TType.LIST, new StructMetaData(TType.STRUCT, com.vesoft.nebula.CheckpointInfo.class)))); @@ -56,28 +60,22 @@ public CreateCPResp() { } public CreateCPResp( - ResponseCommon result) { - this(); - this.result = result; - } - - public CreateCPResp( - ResponseCommon result, + com.vesoft.nebula.ErrorCode code, List info) { this(); - this.result = result; + this.code = code; this.info = info; } public static class Builder { - private ResponseCommon result; + private com.vesoft.nebula.ErrorCode code; private List info; public Builder() { } - public Builder setResult(final ResponseCommon result) { - this.result = result; + public Builder setCode(final com.vesoft.nebula.ErrorCode code) { + this.code = code; return this; } @@ -88,7 +86,7 @@ public Builder setInfo(final List info) { public CreateCPResp build() { CreateCPResp result = new CreateCPResp(); - result.setResult(this.result); + result.setCode(this.code); result.setInfo(this.info); return result; } @@ -102,8 +100,8 @@ public static Builder builder() { * Performs a deep copy on other. */ public CreateCPResp(CreateCPResp other) { - if (other.isSetResult()) { - this.result = TBaseHelper.deepCopy(other.result); + if (other.isSetCode()) { + this.code = TBaseHelper.deepCopy(other.code); } if (other.isSetInfo()) { this.info = TBaseHelper.deepCopy(other.info); @@ -114,27 +112,35 @@ public CreateCPResp deepCopy() { return new CreateCPResp(this); } - public ResponseCommon getResult() { - return this.result; + /** + * + * @see com.vesoft.nebula.ErrorCode + */ + public com.vesoft.nebula.ErrorCode getCode() { + return this.code; } - public CreateCPResp setResult(ResponseCommon result) { - this.result = result; + /** + * + * @see com.vesoft.nebula.ErrorCode + */ + public CreateCPResp setCode(com.vesoft.nebula.ErrorCode code) { + this.code = code; return this; } - public void unsetResult() { - this.result = null; + public void unsetCode() { + this.code = null; } - // Returns true if field result is set (has been assigned a value) and false otherwise - public boolean isSetResult() { - return this.result != null; + // Returns true if field code is set (has been assigned a value) and false otherwise + public boolean isSetCode() { + return this.code != null; } - public void setResultIsSet(boolean __value) { + public void setCodeIsSet(boolean __value) { if (!__value) { - this.result = null; + this.code = null; } } @@ -165,11 +171,11 @@ public void setInfoIsSet(boolean __value) { @SuppressWarnings("unchecked") public void setFieldValue(int fieldID, Object __value) { switch (fieldID) { - case RESULT: + case CODE: if (__value == null) { - unsetResult(); + unsetCode(); } else { - setResult((ResponseCommon)__value); + setCode((com.vesoft.nebula.ErrorCode)__value); } break; @@ -188,8 +194,8 @@ public void setFieldValue(int fieldID, Object __value) { public Object getFieldValue(int fieldID) { switch (fieldID) { - case RESULT: - return getResult(); + case CODE: + return getCode(); case INFO: return getInfo(); @@ -209,7 +215,7 @@ public boolean equals(Object _that) { return false; CreateCPResp that = (CreateCPResp)_that; - if (!TBaseHelper.equalsNobinary(this.isSetResult(), that.isSetResult(), this.result, that.result)) { return false; } + if (!TBaseHelper.equalsNobinary(this.isSetCode(), that.isSetCode(), this.code, that.code)) { return false; } if (!TBaseHelper.equalsNobinary(this.isSetInfo(), that.isSetInfo(), this.info, that.info)) { return false; } @@ -218,7 +224,7 @@ public boolean equals(Object _that) { @Override public int hashCode() { - return Arrays.deepHashCode(new Object[] {result, info}); + return Arrays.deepHashCode(new Object[] {code, info}); } @Override @@ -233,11 +239,11 @@ public int compareTo(CreateCPResp other) { } int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetResult()).compareTo(other.isSetResult()); + lastComparison = Boolean.valueOf(isSetCode()).compareTo(other.isSetCode()); if (lastComparison != 0) { return lastComparison; } - lastComparison = TBaseHelper.compareTo(result, other.result); + lastComparison = TBaseHelper.compareTo(code, other.code); if (lastComparison != 0) { return lastComparison; } @@ -263,10 +269,9 @@ public void read(TProtocol iprot) throws TException { } switch (__field.id) { - case RESULT: - if (__field.type == TType.STRUCT) { - this.result = new ResponseCommon(); - this.result.read(iprot); + case CODE: + if (__field.type == TType.I32) { + this.code = com.vesoft.nebula.ErrorCode.findByValue(iprot.readI32()); } else { TProtocolUtil.skip(iprot, __field.type); } @@ -274,16 +279,16 @@ public void read(TProtocol iprot) throws TException { case INFO: if (__field.type == TType.LIST) { { - TList _list289 = iprot.readListBegin(); - this.info = new ArrayList(Math.max(0, _list289.size)); - for (int _i290 = 0; - (_list289.size < 0) ? iprot.peekList() : (_i290 < _list289.size); - ++_i290) + TList _list281 = iprot.readListBegin(); + this.info = new ArrayList(Math.max(0, _list281.size)); + for (int _i282 = 0; + (_list281.size < 0) ? iprot.peekList() : (_i282 < _list281.size); + ++_i282) { - com.vesoft.nebula.CheckpointInfo _elem291; - _elem291 = new com.vesoft.nebula.CheckpointInfo(); - _elem291.read(iprot); - this.info.add(_elem291); + com.vesoft.nebula.CheckpointInfo _elem283; + _elem283 = new com.vesoft.nebula.CheckpointInfo(); + _elem283.read(iprot); + this.info.add(_elem283); } iprot.readListEnd(); } @@ -308,17 +313,17 @@ public void write(TProtocol oprot) throws TException { validate(); oprot.writeStructBegin(STRUCT_DESC); - if (this.result != null) { - oprot.writeFieldBegin(RESULT_FIELD_DESC); - this.result.write(oprot); + if (this.code != null) { + oprot.writeFieldBegin(CODE_FIELD_DESC); + oprot.writeI32(this.code == null ? 0 : this.code.getValue()); oprot.writeFieldEnd(); } if (this.info != null) { oprot.writeFieldBegin(INFO_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.info.size())); - for (com.vesoft.nebula.CheckpointInfo _iter292 : this.info) { - _iter292.write(oprot); + for (com.vesoft.nebula.CheckpointInfo _iter284 : this.info) { + _iter284.write(oprot); } oprot.writeListEnd(); } @@ -345,13 +350,21 @@ public String toString(int indent, boolean prettyPrint) { boolean first = true; sb.append(indentStr); - sb.append("result"); + sb.append("code"); sb.append(space); sb.append(":").append(space); - if (this.getResult() == null) { + if (this.getCode() == null) { sb.append("null"); } else { - sb.append(TBaseHelper.toString(this.getResult(), indent + 1, prettyPrint)); + String code_name = this.getCode() == null ? "null" : this.getCode().name(); + if (code_name != null) { + sb.append(code_name); + sb.append(" ("); + } + sb.append(this.getCode()); + if (code_name != null) { + sb.append(")"); + } } first = false; if (!first) sb.append("," + newLine); @@ -372,9 +385,6 @@ public String toString(int indent, boolean prettyPrint) { public void validate() throws TException { // check for required fields - if (result == null) { - throw new TProtocolException(TProtocolException.MISSING_REQUIRED_FIELD, "Required field 'result' was not present! Struct: " + toString()); - } } } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/DelTags.java b/client/src/main/generated/com/vesoft/nebula/storage/DelTags.java index 0fcd2f118..10d1498fd 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/DelTags.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/DelTags.java @@ -237,15 +237,15 @@ public void read(TProtocol iprot) throws TException { case TAGS: if (__field.type == TType.LIST) { { - TList _list140 = iprot.readListBegin(); - this.tags = new ArrayList(Math.max(0, _list140.size)); - for (int _i141 = 0; - (_list140.size < 0) ? iprot.peekList() : (_i141 < _list140.size); - ++_i141) + TList _list153 = iprot.readListBegin(); + this.tags = new ArrayList(Math.max(0, _list153.size)); + for (int _i154 = 0; + (_list153.size < 0) ? iprot.peekList() : (_i154 < _list153.size); + ++_i154) { - int _elem142; - _elem142 = iprot.readI32(); - this.tags.add(_elem142); + int _elem155; + _elem155 = iprot.readI32(); + this.tags.add(_elem155); } iprot.readListEnd(); } @@ -279,8 +279,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(TAGS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.I32, this.tags.size())); - for (int _iter143 : this.tags) { - oprot.writeI32(_iter143); + for (int _iter156 : this.tags) { + oprot.writeI32(_iter156); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/DeleteEdgesRequest.java b/client/src/main/generated/com/vesoft/nebula/storage/DeleteEdgesRequest.java index e2b906471..88ebf920e 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/DeleteEdgesRequest.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/DeleteEdgesRequest.java @@ -309,30 +309,30 @@ public void read(TProtocol iprot) throws TException { case PARTS: if (__field.type == TType.MAP) { { - TMap _map131 = iprot.readMapBegin(); - this.parts = new HashMap>(Math.max(0, 2*_map131.size)); - for (int _i132 = 0; - (_map131.size < 0) ? iprot.peekMap() : (_i132 < _map131.size); - ++_i132) + TMap _map144 = iprot.readMapBegin(); + this.parts = new HashMap>(Math.max(0, 2*_map144.size)); + for (int _i145 = 0; + (_map144.size < 0) ? iprot.peekMap() : (_i145 < _map144.size); + ++_i145) { - int _key133; - List _val134; - _key133 = iprot.readI32(); + int _key146; + List _val147; + _key146 = iprot.readI32(); { - TList _list135 = iprot.readListBegin(); - _val134 = new ArrayList(Math.max(0, _list135.size)); - for (int _i136 = 0; - (_list135.size < 0) ? iprot.peekList() : (_i136 < _list135.size); - ++_i136) + TList _list148 = iprot.readListBegin(); + _val147 = new ArrayList(Math.max(0, _list148.size)); + for (int _i149 = 0; + (_list148.size < 0) ? iprot.peekList() : (_i149 < _list148.size); + ++_i149) { - EdgeKey _elem137; - _elem137 = new EdgeKey(); - _elem137.read(iprot); - _val134.add(_elem137); + EdgeKey _elem150; + _elem150 = new EdgeKey(); + _elem150.read(iprot); + _val147.add(_elem150); } iprot.readListEnd(); } - this.parts.put(_key133, _val134); + this.parts.put(_key146, _val147); } iprot.readMapEnd(); } @@ -372,12 +372,12 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(PARTS_FIELD_DESC); { oprot.writeMapBegin(new TMap(TType.I32, TType.LIST, this.parts.size())); - for (Map.Entry> _iter138 : this.parts.entrySet()) { - oprot.writeI32(_iter138.getKey()); + for (Map.Entry> _iter151 : this.parts.entrySet()) { + oprot.writeI32(_iter151.getKey()); { - oprot.writeListBegin(new TList(TType.STRUCT, _iter138.getValue().size())); - for (EdgeKey _iter139 : _iter138.getValue()) { - _iter139.write(oprot); + oprot.writeListBegin(new TList(TType.STRUCT, _iter151.getValue().size())); + for (EdgeKey _iter152 : _iter151.getValue()) { + _iter152.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/DeleteTagsRequest.java b/client/src/main/generated/com/vesoft/nebula/storage/DeleteTagsRequest.java index 964d9d0ef..c55339cfa 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/DeleteTagsRequest.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/DeleteTagsRequest.java @@ -309,30 +309,30 @@ public void read(TProtocol iprot) throws TException { case PARTS: if (__field.type == TType.MAP) { { - TMap _map144 = iprot.readMapBegin(); - this.parts = new HashMap>(Math.max(0, 2*_map144.size)); - for (int _i145 = 0; - (_map144.size < 0) ? iprot.peekMap() : (_i145 < _map144.size); - ++_i145) + TMap _map157 = iprot.readMapBegin(); + this.parts = new HashMap>(Math.max(0, 2*_map157.size)); + for (int _i158 = 0; + (_map157.size < 0) ? iprot.peekMap() : (_i158 < _map157.size); + ++_i158) { - int _key146; - List _val147; - _key146 = iprot.readI32(); + int _key159; + List _val160; + _key159 = iprot.readI32(); { - TList _list148 = iprot.readListBegin(); - _val147 = new ArrayList(Math.max(0, _list148.size)); - for (int _i149 = 0; - (_list148.size < 0) ? iprot.peekList() : (_i149 < _list148.size); - ++_i149) + TList _list161 = iprot.readListBegin(); + _val160 = new ArrayList(Math.max(0, _list161.size)); + for (int _i162 = 0; + (_list161.size < 0) ? iprot.peekList() : (_i162 < _list161.size); + ++_i162) { - DelTags _elem150; - _elem150 = new DelTags(); - _elem150.read(iprot); - _val147.add(_elem150); + DelTags _elem163; + _elem163 = new DelTags(); + _elem163.read(iprot); + _val160.add(_elem163); } iprot.readListEnd(); } - this.parts.put(_key146, _val147); + this.parts.put(_key159, _val160); } iprot.readMapEnd(); } @@ -372,12 +372,12 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(PARTS_FIELD_DESC); { oprot.writeMapBegin(new TMap(TType.I32, TType.LIST, this.parts.size())); - for (Map.Entry> _iter151 : this.parts.entrySet()) { - oprot.writeI32(_iter151.getKey()); + for (Map.Entry> _iter164 : this.parts.entrySet()) { + oprot.writeI32(_iter164.getKey()); { - oprot.writeListBegin(new TList(TType.STRUCT, _iter151.getValue().size())); - for (DelTags _iter152 : _iter151.getValue()) { - _iter152.write(oprot); + oprot.writeListBegin(new TList(TType.STRUCT, _iter164.getValue().size())); + for (DelTags _iter165 : _iter164.getValue()) { + _iter165.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/DeleteVerticesRequest.java b/client/src/main/generated/com/vesoft/nebula/storage/DeleteVerticesRequest.java index cac3ac295..8364f8fdd 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/DeleteVerticesRequest.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/DeleteVerticesRequest.java @@ -309,30 +309,30 @@ public void read(TProtocol iprot) throws TException { case PARTS: if (__field.type == TType.MAP) { { - TMap _map122 = iprot.readMapBegin(); - this.parts = new HashMap>(Math.max(0, 2*_map122.size)); - for (int _i123 = 0; - (_map122.size < 0) ? iprot.peekMap() : (_i123 < _map122.size); - ++_i123) + TMap _map135 = iprot.readMapBegin(); + this.parts = new HashMap>(Math.max(0, 2*_map135.size)); + for (int _i136 = 0; + (_map135.size < 0) ? iprot.peekMap() : (_i136 < _map135.size); + ++_i136) { - int _key124; - List _val125; - _key124 = iprot.readI32(); + int _key137; + List _val138; + _key137 = iprot.readI32(); { - TList _list126 = iprot.readListBegin(); - _val125 = new ArrayList(Math.max(0, _list126.size)); - for (int _i127 = 0; - (_list126.size < 0) ? iprot.peekList() : (_i127 < _list126.size); - ++_i127) + TList _list139 = iprot.readListBegin(); + _val138 = new ArrayList(Math.max(0, _list139.size)); + for (int _i140 = 0; + (_list139.size < 0) ? iprot.peekList() : (_i140 < _list139.size); + ++_i140) { - com.vesoft.nebula.Value _elem128; - _elem128 = new com.vesoft.nebula.Value(); - _elem128.read(iprot); - _val125.add(_elem128); + com.vesoft.nebula.Value _elem141; + _elem141 = new com.vesoft.nebula.Value(); + _elem141.read(iprot); + _val138.add(_elem141); } iprot.readListEnd(); } - this.parts.put(_key124, _val125); + this.parts.put(_key137, _val138); } iprot.readMapEnd(); } @@ -372,12 +372,12 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(PARTS_FIELD_DESC); { oprot.writeMapBegin(new TMap(TType.I32, TType.LIST, this.parts.size())); - for (Map.Entry> _iter129 : this.parts.entrySet()) { - oprot.writeI32(_iter129.getKey()); + for (Map.Entry> _iter142 : this.parts.entrySet()) { + oprot.writeI32(_iter142.getKey()); { - oprot.writeListBegin(new TList(TType.STRUCT, _iter129.getValue().size())); - for (com.vesoft.nebula.Value _iter130 : _iter129.getValue()) { - _iter130.write(oprot); + oprot.writeListBegin(new TList(TType.STRUCT, _iter142.getValue().size())); + for (com.vesoft.nebula.Value _iter143 : _iter142.getValue()) { + _iter143.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/DropCPRequest.java b/client/src/main/generated/com/vesoft/nebula/storage/DropCPRequest.java index bdc696007..d30c88fac 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/DropCPRequest.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/DropCPRequest.java @@ -260,15 +260,15 @@ public void read(TProtocol iprot) throws TException { case SPACE_IDS: if (__field.type == TType.LIST) { { - TList _list264 = iprot.readListBegin(); - this.space_ids = new ArrayList(Math.max(0, _list264.size)); - for (int _i265 = 0; - (_list264.size < 0) ? iprot.peekList() : (_i265 < _list264.size); - ++_i265) + TList _list285 = iprot.readListBegin(); + this.space_ids = new ArrayList(Math.max(0, _list285.size)); + for (int _i286 = 0; + (_list285.size < 0) ? iprot.peekList() : (_i286 < _list285.size); + ++_i286) { - int _elem266; - _elem266 = iprot.readI32(); - this.space_ids.add(_elem266); + int _elem287; + _elem287 = iprot.readI32(); + this.space_ids.add(_elem287); } iprot.readListEnd(); } @@ -304,8 +304,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(SPACE_IDS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.I32, this.space_ids.size())); - for (int _iter267 : this.space_ids) { - oprot.writeI32(_iter267); + for (int _iter288 : this.space_ids) { + oprot.writeI32(_iter288); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/DropCPResp.java b/client/src/main/generated/com/vesoft/nebula/storage/DropCPResp.java new file mode 100644 index 000000000..42f93add8 --- /dev/null +++ b/client/src/main/generated/com/vesoft/nebula/storage/DropCPResp.java @@ -0,0 +1,285 @@ +/** + * Autogenerated by Thrift + * + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * @generated + */ +package com.vesoft.nebula.storage; + +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.util.HashMap; +import java.util.Set; +import java.util.HashSet; +import java.util.Collections; +import java.util.BitSet; +import java.util.Arrays; +import com.facebook.thrift.*; +import com.facebook.thrift.annotations.*; +import com.facebook.thrift.async.*; +import com.facebook.thrift.meta_data.*; +import com.facebook.thrift.server.*; +import com.facebook.thrift.transport.*; +import com.facebook.thrift.protocol.*; + +@SuppressWarnings({ "unused", "serial" }) +public class DropCPResp implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("DropCPResp"); + private static final TField CODE_FIELD_DESC = new TField("code", TType.I32, (short)1); + + /** + * + * @see com.vesoft.nebula.ErrorCode + */ + public com.vesoft.nebula.ErrorCode code; + public static final int CODE = 1; + + // isset id assignments + + public static final Map metaDataMap; + + static { + Map tmpMetaDataMap = new HashMap(); + tmpMetaDataMap.put(CODE, new FieldMetaData("code", TFieldRequirementType.DEFAULT, + new FieldValueMetaData(TType.I32))); + metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); + } + + static { + FieldMetaData.addStructMetaDataMap(DropCPResp.class, metaDataMap); + } + + public DropCPResp() { + } + + public DropCPResp( + com.vesoft.nebula.ErrorCode code) { + this(); + this.code = code; + } + + public static class Builder { + private com.vesoft.nebula.ErrorCode code; + + public Builder() { + } + + public Builder setCode(final com.vesoft.nebula.ErrorCode code) { + this.code = code; + return this; + } + + public DropCPResp build() { + DropCPResp result = new DropCPResp(); + result.setCode(this.code); + return result; + } + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Performs a deep copy on other. + */ + public DropCPResp(DropCPResp other) { + if (other.isSetCode()) { + this.code = TBaseHelper.deepCopy(other.code); + } + } + + public DropCPResp deepCopy() { + return new DropCPResp(this); + } + + /** + * + * @see com.vesoft.nebula.ErrorCode + */ + public com.vesoft.nebula.ErrorCode getCode() { + return this.code; + } + + /** + * + * @see com.vesoft.nebula.ErrorCode + */ + public DropCPResp setCode(com.vesoft.nebula.ErrorCode code) { + this.code = code; + return this; + } + + public void unsetCode() { + this.code = null; + } + + // Returns true if field code is set (has been assigned a value) and false otherwise + public boolean isSetCode() { + return this.code != null; + } + + public void setCodeIsSet(boolean __value) { + if (!__value) { + this.code = null; + } + } + + public void setFieldValue(int fieldID, Object __value) { + switch (fieldID) { + case CODE: + if (__value == null) { + unsetCode(); + } else { + setCode((com.vesoft.nebula.ErrorCode)__value); + } + break; + + default: + throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); + } + } + + public Object getFieldValue(int fieldID) { + switch (fieldID) { + case CODE: + return getCode(); + + default: + throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); + } + } + + @Override + public boolean equals(Object _that) { + if (_that == null) + return false; + if (this == _that) + return true; + if (!(_that instanceof DropCPResp)) + return false; + DropCPResp that = (DropCPResp)_that; + + if (!TBaseHelper.equalsNobinary(this.isSetCode(), that.isSetCode(), this.code, that.code)) { return false; } + + return true; + } + + @Override + public int hashCode() { + return Arrays.deepHashCode(new Object[] {code}); + } + + @Override + public int compareTo(DropCPResp other) { + if (other == null) { + // See java.lang.Comparable docs + throw new NullPointerException(); + } + + if (other == this) { + return 0; + } + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetCode()).compareTo(other.isSetCode()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(code, other.code); + if (lastComparison != 0) { + return lastComparison; + } + return 0; + } + + public void read(TProtocol iprot) throws TException { + TField __field; + iprot.readStructBegin(metaDataMap); + while (true) + { + __field = iprot.readFieldBegin(); + if (__field.type == TType.STOP) { + break; + } + switch (__field.id) + { + case CODE: + if (__field.type == TType.I32) { + this.code = com.vesoft.nebula.ErrorCode.findByValue(iprot.readI32()); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + default: + TProtocolUtil.skip(iprot, __field.type); + break; + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + + // check for required fields of primitive type, which can't be checked in the validate method + validate(); + } + + public void write(TProtocol oprot) throws TException { + validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (this.code != null) { + oprot.writeFieldBegin(CODE_FIELD_DESC); + oprot.writeI32(this.code == null ? 0 : this.code.getValue()); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + @Override + public String toString() { + return toString(1, true); + } + + @Override + public String toString(int indent, boolean prettyPrint) { + String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; + String newLine = prettyPrint ? "\n" : ""; + String space = prettyPrint ? " " : ""; + StringBuilder sb = new StringBuilder("DropCPResp"); + sb.append(space); + sb.append("("); + sb.append(newLine); + boolean first = true; + + sb.append(indentStr); + sb.append("code"); + sb.append(space); + sb.append(":").append(space); + if (this.getCode() == null) { + sb.append("null"); + } else { + String code_name = this.getCode() == null ? "null" : this.getCode().name(); + if (code_name != null) { + sb.append(code_name); + sb.append(" ("); + } + sb.append(this.getCode()); + if (code_name != null) { + sb.append(")"); + } + } + first = false; + sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); + sb.append(")"); + return sb.toString(); + } + + public void validate() throws TException { + // check for required fields + } + +} + diff --git a/client/src/main/generated/com/vesoft/nebula/storage/GetDstBySrcRequest.java b/client/src/main/generated/com/vesoft/nebula/storage/GetDstBySrcRequest.java new file mode 100644 index 000000000..912736c46 --- /dev/null +++ b/client/src/main/generated/com/vesoft/nebula/storage/GetDstBySrcRequest.java @@ -0,0 +1,555 @@ +/** + * Autogenerated by Thrift + * + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * @generated + */ +package com.vesoft.nebula.storage; + +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.util.HashMap; +import java.util.Set; +import java.util.HashSet; +import java.util.Collections; +import java.util.BitSet; +import java.util.Arrays; +import com.facebook.thrift.*; +import com.facebook.thrift.annotations.*; +import com.facebook.thrift.async.*; +import com.facebook.thrift.meta_data.*; +import com.facebook.thrift.server.*; +import com.facebook.thrift.transport.*; +import com.facebook.thrift.protocol.*; + +@SuppressWarnings({ "unused", "serial" }) +public class GetDstBySrcRequest implements TBase, java.io.Serializable, Cloneable { + private static final TStruct STRUCT_DESC = new TStruct("GetDstBySrcRequest"); + private static final TField SPACE_ID_FIELD_DESC = new TField("space_id", TType.I32, (short)1); + private static final TField PARTS_FIELD_DESC = new TField("parts", TType.MAP, (short)2); + private static final TField EDGE_TYPES_FIELD_DESC = new TField("edge_types", TType.LIST, (short)3); + private static final TField COMMON_FIELD_DESC = new TField("common", TType.STRUCT, (short)4); + + public int space_id; + public Map> parts; + public List edge_types; + public RequestCommon common; + public static final int SPACE_ID = 1; + public static final int PARTS = 2; + public static final int EDGE_TYPES = 3; + public static final int COMMON = 4; + + // isset id assignments + private static final int __SPACE_ID_ISSET_ID = 0; + private BitSet __isset_bit_vector = new BitSet(1); + + public static final Map metaDataMap; + + static { + Map tmpMetaDataMap = new HashMap(); + tmpMetaDataMap.put(SPACE_ID, new FieldMetaData("space_id", TFieldRequirementType.DEFAULT, + new FieldValueMetaData(TType.I32))); + tmpMetaDataMap.put(PARTS, new FieldMetaData("parts", TFieldRequirementType.DEFAULT, + new MapMetaData(TType.MAP, + new FieldValueMetaData(TType.I32), + new ListMetaData(TType.LIST, + new StructMetaData(TType.STRUCT, com.vesoft.nebula.Value.class))))); + tmpMetaDataMap.put(EDGE_TYPES, new FieldMetaData("edge_types", TFieldRequirementType.DEFAULT, + new ListMetaData(TType.LIST, + new FieldValueMetaData(TType.I32)))); + tmpMetaDataMap.put(COMMON, new FieldMetaData("common", TFieldRequirementType.OPTIONAL, + new StructMetaData(TType.STRUCT, RequestCommon.class))); + metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); + } + + static { + FieldMetaData.addStructMetaDataMap(GetDstBySrcRequest.class, metaDataMap); + } + + public GetDstBySrcRequest() { + } + + public GetDstBySrcRequest( + int space_id, + Map> parts, + List edge_types) { + this(); + this.space_id = space_id; + setSpace_idIsSet(true); + this.parts = parts; + this.edge_types = edge_types; + } + + public GetDstBySrcRequest( + int space_id, + Map> parts, + List edge_types, + RequestCommon common) { + this(); + this.space_id = space_id; + setSpace_idIsSet(true); + this.parts = parts; + this.edge_types = edge_types; + this.common = common; + } + + public static class Builder { + private int space_id; + private Map> parts; + private List edge_types; + private RequestCommon common; + + BitSet __optional_isset = new BitSet(1); + + public Builder() { + } + + public Builder setSpace_id(final int space_id) { + this.space_id = space_id; + __optional_isset.set(__SPACE_ID_ISSET_ID, true); + return this; + } + + public Builder setParts(final Map> parts) { + this.parts = parts; + return this; + } + + public Builder setEdge_types(final List edge_types) { + this.edge_types = edge_types; + return this; + } + + public Builder setCommon(final RequestCommon common) { + this.common = common; + return this; + } + + public GetDstBySrcRequest build() { + GetDstBySrcRequest result = new GetDstBySrcRequest(); + if (__optional_isset.get(__SPACE_ID_ISSET_ID)) { + result.setSpace_id(this.space_id); + } + result.setParts(this.parts); + result.setEdge_types(this.edge_types); + result.setCommon(this.common); + return result; + } + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Performs a deep copy on other. + */ + public GetDstBySrcRequest(GetDstBySrcRequest other) { + __isset_bit_vector.clear(); + __isset_bit_vector.or(other.__isset_bit_vector); + this.space_id = TBaseHelper.deepCopy(other.space_id); + if (other.isSetParts()) { + this.parts = TBaseHelper.deepCopy(other.parts); + } + if (other.isSetEdge_types()) { + this.edge_types = TBaseHelper.deepCopy(other.edge_types); + } + if (other.isSetCommon()) { + this.common = TBaseHelper.deepCopy(other.common); + } + } + + public GetDstBySrcRequest deepCopy() { + return new GetDstBySrcRequest(this); + } + + public int getSpace_id() { + return this.space_id; + } + + public GetDstBySrcRequest setSpace_id(int space_id) { + this.space_id = space_id; + setSpace_idIsSet(true); + return this; + } + + public void unsetSpace_id() { + __isset_bit_vector.clear(__SPACE_ID_ISSET_ID); + } + + // Returns true if field space_id is set (has been assigned a value) and false otherwise + public boolean isSetSpace_id() { + return __isset_bit_vector.get(__SPACE_ID_ISSET_ID); + } + + public void setSpace_idIsSet(boolean __value) { + __isset_bit_vector.set(__SPACE_ID_ISSET_ID, __value); + } + + public Map> getParts() { + return this.parts; + } + + public GetDstBySrcRequest setParts(Map> parts) { + this.parts = parts; + return this; + } + + public void unsetParts() { + this.parts = null; + } + + // Returns true if field parts is set (has been assigned a value) and false otherwise + public boolean isSetParts() { + return this.parts != null; + } + + public void setPartsIsSet(boolean __value) { + if (!__value) { + this.parts = null; + } + } + + public List getEdge_types() { + return this.edge_types; + } + + public GetDstBySrcRequest setEdge_types(List edge_types) { + this.edge_types = edge_types; + return this; + } + + public void unsetEdge_types() { + this.edge_types = null; + } + + // Returns true if field edge_types is set (has been assigned a value) and false otherwise + public boolean isSetEdge_types() { + return this.edge_types != null; + } + + public void setEdge_typesIsSet(boolean __value) { + if (!__value) { + this.edge_types = null; + } + } + + public RequestCommon getCommon() { + return this.common; + } + + public GetDstBySrcRequest setCommon(RequestCommon common) { + this.common = common; + return this; + } + + public void unsetCommon() { + this.common = null; + } + + // Returns true if field common is set (has been assigned a value) and false otherwise + public boolean isSetCommon() { + return this.common != null; + } + + public void setCommonIsSet(boolean __value) { + if (!__value) { + this.common = null; + } + } + + @SuppressWarnings("unchecked") + public void setFieldValue(int fieldID, Object __value) { + switch (fieldID) { + case SPACE_ID: + if (__value == null) { + unsetSpace_id(); + } else { + setSpace_id((Integer)__value); + } + break; + + case PARTS: + if (__value == null) { + unsetParts(); + } else { + setParts((Map>)__value); + } + break; + + case EDGE_TYPES: + if (__value == null) { + unsetEdge_types(); + } else { + setEdge_types((List)__value); + } + break; + + case COMMON: + if (__value == null) { + unsetCommon(); + } else { + setCommon((RequestCommon)__value); + } + break; + + default: + throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); + } + } + + public Object getFieldValue(int fieldID) { + switch (fieldID) { + case SPACE_ID: + return new Integer(getSpace_id()); + + case PARTS: + return getParts(); + + case EDGE_TYPES: + return getEdge_types(); + + case COMMON: + return getCommon(); + + default: + throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); + } + } + + @Override + public boolean equals(Object _that) { + if (_that == null) + return false; + if (this == _that) + return true; + if (!(_that instanceof GetDstBySrcRequest)) + return false; + GetDstBySrcRequest that = (GetDstBySrcRequest)_that; + + if (!TBaseHelper.equalsNobinary(this.space_id, that.space_id)) { return false; } + + if (!TBaseHelper.equalsNobinary(this.isSetParts(), that.isSetParts(), this.parts, that.parts)) { return false; } + + if (!TBaseHelper.equalsNobinary(this.isSetEdge_types(), that.isSetEdge_types(), this.edge_types, that.edge_types)) { return false; } + + if (!TBaseHelper.equalsNobinary(this.isSetCommon(), that.isSetCommon(), this.common, that.common)) { return false; } + + return true; + } + + @Override + public int hashCode() { + return Arrays.deepHashCode(new Object[] {space_id, parts, edge_types, common}); + } + + public void read(TProtocol iprot) throws TException { + TField __field; + iprot.readStructBegin(metaDataMap); + while (true) + { + __field = iprot.readFieldBegin(); + if (__field.type == TType.STOP) { + break; + } + switch (__field.id) + { + case SPACE_ID: + if (__field.type == TType.I32) { + this.space_id = iprot.readI32(); + setSpace_idIsSet(true); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + case PARTS: + if (__field.type == TType.MAP) { + { + TMap _map54 = iprot.readMapBegin(); + this.parts = new HashMap>(Math.max(0, 2*_map54.size)); + for (int _i55 = 0; + (_map54.size < 0) ? iprot.peekMap() : (_i55 < _map54.size); + ++_i55) + { + int _key56; + List _val57; + _key56 = iprot.readI32(); + { + TList _list58 = iprot.readListBegin(); + _val57 = new ArrayList(Math.max(0, _list58.size)); + for (int _i59 = 0; + (_list58.size < 0) ? iprot.peekList() : (_i59 < _list58.size); + ++_i59) + { + com.vesoft.nebula.Value _elem60; + _elem60 = new com.vesoft.nebula.Value(); + _elem60.read(iprot); + _val57.add(_elem60); + } + iprot.readListEnd(); + } + this.parts.put(_key56, _val57); + } + iprot.readMapEnd(); + } + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + case EDGE_TYPES: + if (__field.type == TType.LIST) { + { + TList _list61 = iprot.readListBegin(); + this.edge_types = new ArrayList(Math.max(0, _list61.size)); + for (int _i62 = 0; + (_list61.size < 0) ? iprot.peekList() : (_i62 < _list61.size); + ++_i62) + { + int _elem63; + _elem63 = iprot.readI32(); + this.edge_types.add(_elem63); + } + iprot.readListEnd(); + } + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + case COMMON: + if (__field.type == TType.STRUCT) { + this.common = new RequestCommon(); + this.common.read(iprot); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + default: + TProtocolUtil.skip(iprot, __field.type); + break; + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + + // check for required fields of primitive type, which can't be checked in the validate method + validate(); + } + + public void write(TProtocol oprot) throws TException { + validate(); + + oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldBegin(SPACE_ID_FIELD_DESC); + oprot.writeI32(this.space_id); + oprot.writeFieldEnd(); + if (this.parts != null) { + oprot.writeFieldBegin(PARTS_FIELD_DESC); + { + oprot.writeMapBegin(new TMap(TType.I32, TType.LIST, this.parts.size())); + for (Map.Entry> _iter64 : this.parts.entrySet()) { + oprot.writeI32(_iter64.getKey()); + { + oprot.writeListBegin(new TList(TType.STRUCT, _iter64.getValue().size())); + for (com.vesoft.nebula.Value _iter65 : _iter64.getValue()) { + _iter65.write(oprot); + } + oprot.writeListEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if (this.edge_types != null) { + oprot.writeFieldBegin(EDGE_TYPES_FIELD_DESC); + { + oprot.writeListBegin(new TList(TType.I32, this.edge_types.size())); + for (int _iter66 : this.edge_types) { + oprot.writeI32(_iter66); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if (this.common != null) { + if (isSetCommon()) { + oprot.writeFieldBegin(COMMON_FIELD_DESC); + this.common.write(oprot); + oprot.writeFieldEnd(); + } + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + @Override + public String toString() { + return toString(1, true); + } + + @Override + public String toString(int indent, boolean prettyPrint) { + String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; + String newLine = prettyPrint ? "\n" : ""; + String space = prettyPrint ? " " : ""; + StringBuilder sb = new StringBuilder("GetDstBySrcRequest"); + sb.append(space); + sb.append("("); + sb.append(newLine); + boolean first = true; + + sb.append(indentStr); + sb.append("space_id"); + sb.append(space); + sb.append(":").append(space); + sb.append(TBaseHelper.toString(this.getSpace_id(), indent + 1, prettyPrint)); + first = false; + if (!first) sb.append("," + newLine); + sb.append(indentStr); + sb.append("parts"); + sb.append(space); + sb.append(":").append(space); + if (this.getParts() == null) { + sb.append("null"); + } else { + sb.append(TBaseHelper.toString(this.getParts(), indent + 1, prettyPrint)); + } + first = false; + if (!first) sb.append("," + newLine); + sb.append(indentStr); + sb.append("edge_types"); + sb.append(space); + sb.append(":").append(space); + if (this.getEdge_types() == null) { + sb.append("null"); + } else { + sb.append(TBaseHelper.toString(this.getEdge_types(), indent + 1, prettyPrint)); + } + first = false; + if (isSetCommon()) + { + if (!first) sb.append("," + newLine); + sb.append(indentStr); + sb.append("common"); + sb.append(space); + sb.append(":").append(space); + if (this.getCommon() == null) { + sb.append("null"); + } else { + sb.append(TBaseHelper.toString(this.getCommon(), indent + 1, prettyPrint)); + } + first = false; + } + sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); + sb.append(")"); + return sb.toString(); + } + + public void validate() throws TException { + // check for required fields + } + +} + diff --git a/client/src/main/generated/com/vesoft/nebula/storage/GetDstBySrcResponse.java b/client/src/main/generated/com/vesoft/nebula/storage/GetDstBySrcResponse.java new file mode 100644 index 000000000..c38f19961 --- /dev/null +++ b/client/src/main/generated/com/vesoft/nebula/storage/GetDstBySrcResponse.java @@ -0,0 +1,335 @@ +/** + * Autogenerated by Thrift + * + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * @generated + */ +package com.vesoft.nebula.storage; + +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.util.HashMap; +import java.util.Set; +import java.util.HashSet; +import java.util.Collections; +import java.util.BitSet; +import java.util.Arrays; +import com.facebook.thrift.*; +import com.facebook.thrift.annotations.*; +import com.facebook.thrift.async.*; +import com.facebook.thrift.meta_data.*; +import com.facebook.thrift.server.*; +import com.facebook.thrift.transport.*; +import com.facebook.thrift.protocol.*; + +@SuppressWarnings({ "unused", "serial" }) +public class GetDstBySrcResponse implements TBase, java.io.Serializable, Cloneable { + private static final TStruct STRUCT_DESC = new TStruct("GetDstBySrcResponse"); + private static final TField RESULT_FIELD_DESC = new TField("result", TType.STRUCT, (short)1); + private static final TField DSTS_FIELD_DESC = new TField("dsts", TType.STRUCT, (short)2); + + public ResponseCommon result; + public com.vesoft.nebula.DataSet dsts; + public static final int RESULT = 1; + public static final int DSTS = 2; + + // isset id assignments + + public static final Map metaDataMap; + + static { + Map tmpMetaDataMap = new HashMap(); + tmpMetaDataMap.put(RESULT, new FieldMetaData("result", TFieldRequirementType.REQUIRED, + new StructMetaData(TType.STRUCT, ResponseCommon.class))); + tmpMetaDataMap.put(DSTS, new FieldMetaData("dsts", TFieldRequirementType.OPTIONAL, + new StructMetaData(TType.STRUCT, com.vesoft.nebula.DataSet.class))); + metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); + } + + static { + FieldMetaData.addStructMetaDataMap(GetDstBySrcResponse.class, metaDataMap); + } + + public GetDstBySrcResponse() { + } + + public GetDstBySrcResponse( + ResponseCommon result) { + this(); + this.result = result; + } + + public GetDstBySrcResponse( + ResponseCommon result, + com.vesoft.nebula.DataSet dsts) { + this(); + this.result = result; + this.dsts = dsts; + } + + public static class Builder { + private ResponseCommon result; + private com.vesoft.nebula.DataSet dsts; + + public Builder() { + } + + public Builder setResult(final ResponseCommon result) { + this.result = result; + return this; + } + + public Builder setDsts(final com.vesoft.nebula.DataSet dsts) { + this.dsts = dsts; + return this; + } + + public GetDstBySrcResponse build() { + GetDstBySrcResponse result = new GetDstBySrcResponse(); + result.setResult(this.result); + result.setDsts(this.dsts); + return result; + } + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Performs a deep copy on other. + */ + public GetDstBySrcResponse(GetDstBySrcResponse other) { + if (other.isSetResult()) { + this.result = TBaseHelper.deepCopy(other.result); + } + if (other.isSetDsts()) { + this.dsts = TBaseHelper.deepCopy(other.dsts); + } + } + + public GetDstBySrcResponse deepCopy() { + return new GetDstBySrcResponse(this); + } + + public ResponseCommon getResult() { + return this.result; + } + + public GetDstBySrcResponse setResult(ResponseCommon result) { + this.result = result; + return this; + } + + public void unsetResult() { + this.result = null; + } + + // Returns true if field result is set (has been assigned a value) and false otherwise + public boolean isSetResult() { + return this.result != null; + } + + public void setResultIsSet(boolean __value) { + if (!__value) { + this.result = null; + } + } + + public com.vesoft.nebula.DataSet getDsts() { + return this.dsts; + } + + public GetDstBySrcResponse setDsts(com.vesoft.nebula.DataSet dsts) { + this.dsts = dsts; + return this; + } + + public void unsetDsts() { + this.dsts = null; + } + + // Returns true if field dsts is set (has been assigned a value) and false otherwise + public boolean isSetDsts() { + return this.dsts != null; + } + + public void setDstsIsSet(boolean __value) { + if (!__value) { + this.dsts = null; + } + } + + public void setFieldValue(int fieldID, Object __value) { + switch (fieldID) { + case RESULT: + if (__value == null) { + unsetResult(); + } else { + setResult((ResponseCommon)__value); + } + break; + + case DSTS: + if (__value == null) { + unsetDsts(); + } else { + setDsts((com.vesoft.nebula.DataSet)__value); + } + break; + + default: + throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); + } + } + + public Object getFieldValue(int fieldID) { + switch (fieldID) { + case RESULT: + return getResult(); + + case DSTS: + return getDsts(); + + default: + throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); + } + } + + @Override + public boolean equals(Object _that) { + if (_that == null) + return false; + if (this == _that) + return true; + if (!(_that instanceof GetDstBySrcResponse)) + return false; + GetDstBySrcResponse that = (GetDstBySrcResponse)_that; + + if (!TBaseHelper.equalsNobinary(this.isSetResult(), that.isSetResult(), this.result, that.result)) { return false; } + + if (!TBaseHelper.equalsNobinary(this.isSetDsts(), that.isSetDsts(), this.dsts, that.dsts)) { return false; } + + return true; + } + + @Override + public int hashCode() { + return Arrays.deepHashCode(new Object[] {result, dsts}); + } + + public void read(TProtocol iprot) throws TException { + TField __field; + iprot.readStructBegin(metaDataMap); + while (true) + { + __field = iprot.readFieldBegin(); + if (__field.type == TType.STOP) { + break; + } + switch (__field.id) + { + case RESULT: + if (__field.type == TType.STRUCT) { + this.result = new ResponseCommon(); + this.result.read(iprot); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + case DSTS: + if (__field.type == TType.STRUCT) { + this.dsts = new com.vesoft.nebula.DataSet(); + this.dsts.read(iprot); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + default: + TProtocolUtil.skip(iprot, __field.type); + break; + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + + // check for required fields of primitive type, which can't be checked in the validate method + validate(); + } + + public void write(TProtocol oprot) throws TException { + validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (this.result != null) { + oprot.writeFieldBegin(RESULT_FIELD_DESC); + this.result.write(oprot); + oprot.writeFieldEnd(); + } + if (this.dsts != null) { + if (isSetDsts()) { + oprot.writeFieldBegin(DSTS_FIELD_DESC); + this.dsts.write(oprot); + oprot.writeFieldEnd(); + } + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + @Override + public String toString() { + return toString(1, true); + } + + @Override + public String toString(int indent, boolean prettyPrint) { + String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; + String newLine = prettyPrint ? "\n" : ""; + String space = prettyPrint ? " " : ""; + StringBuilder sb = new StringBuilder("GetDstBySrcResponse"); + sb.append(space); + sb.append("("); + sb.append(newLine); + boolean first = true; + + sb.append(indentStr); + sb.append("result"); + sb.append(space); + sb.append(":").append(space); + if (this.getResult() == null) { + sb.append("null"); + } else { + sb.append(TBaseHelper.toString(this.getResult(), indent + 1, prettyPrint)); + } + first = false; + if (isSetDsts()) + { + if (!first) sb.append("," + newLine); + sb.append(indentStr); + sb.append("dsts"); + sb.append(space); + sb.append(":").append(space); + if (this.getDsts() == null) { + sb.append("null"); + } else { + sb.append(TBaseHelper.toString(this.getDsts(), indent + 1, prettyPrint)); + } + first = false; + } + sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); + sb.append(")"); + return sb.toString(); + } + + public void validate() throws TException { + // check for required fields + if (result == null) { + throw new TProtocolException(TProtocolException.MISSING_REQUIRED_FIELD, "Required field 'result' was not present! Struct: " + toString()); + } + } + +} + diff --git a/client/src/main/generated/com/vesoft/nebula/storage/GetLeaderPartsResp.java b/client/src/main/generated/com/vesoft/nebula/storage/GetLeaderPartsResp.java index a8d2b8460..dab48cd3a 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/GetLeaderPartsResp.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/GetLeaderPartsResp.java @@ -26,12 +26,16 @@ @SuppressWarnings({ "unused", "serial" }) public class GetLeaderPartsResp implements TBase, java.io.Serializable, Cloneable, Comparable { private static final TStruct STRUCT_DESC = new TStruct("GetLeaderPartsResp"); - private static final TField RESULT_FIELD_DESC = new TField("result", TType.STRUCT, (short)1); + private static final TField CODE_FIELD_DESC = new TField("code", TType.I32, (short)1); private static final TField LEADER_PARTS_FIELD_DESC = new TField("leader_parts", TType.MAP, (short)2); - public ResponseCommon result; + /** + * + * @see com.vesoft.nebula.ErrorCode + */ + public com.vesoft.nebula.ErrorCode code; public Map> leader_parts; - public static final int RESULT = 1; + public static final int CODE = 1; public static final int LEADER_PARTS = 2; // isset id assignments @@ -40,8 +44,8 @@ public class GetLeaderPartsResp implements TBase, java.io.Serializable, Cloneabl static { Map tmpMetaDataMap = new HashMap(); - tmpMetaDataMap.put(RESULT, new FieldMetaData("result", TFieldRequirementType.REQUIRED, - new StructMetaData(TType.STRUCT, ResponseCommon.class))); + tmpMetaDataMap.put(CODE, new FieldMetaData("code", TFieldRequirementType.DEFAULT, + new FieldValueMetaData(TType.I32))); tmpMetaDataMap.put(LEADER_PARTS, new FieldMetaData("leader_parts", TFieldRequirementType.DEFAULT, new MapMetaData(TType.MAP, new FieldValueMetaData(TType.I32), @@ -58,28 +62,22 @@ public GetLeaderPartsResp() { } public GetLeaderPartsResp( - ResponseCommon result) { - this(); - this.result = result; - } - - public GetLeaderPartsResp( - ResponseCommon result, + com.vesoft.nebula.ErrorCode code, Map> leader_parts) { this(); - this.result = result; + this.code = code; this.leader_parts = leader_parts; } public static class Builder { - private ResponseCommon result; + private com.vesoft.nebula.ErrorCode code; private Map> leader_parts; public Builder() { } - public Builder setResult(final ResponseCommon result) { - this.result = result; + public Builder setCode(final com.vesoft.nebula.ErrorCode code) { + this.code = code; return this; } @@ -90,7 +88,7 @@ public Builder setLeader_parts(final Map> leader_parts) { public GetLeaderPartsResp build() { GetLeaderPartsResp result = new GetLeaderPartsResp(); - result.setResult(this.result); + result.setCode(this.code); result.setLeader_parts(this.leader_parts); return result; } @@ -104,8 +102,8 @@ public static Builder builder() { * Performs a deep copy on other. */ public GetLeaderPartsResp(GetLeaderPartsResp other) { - if (other.isSetResult()) { - this.result = TBaseHelper.deepCopy(other.result); + if (other.isSetCode()) { + this.code = TBaseHelper.deepCopy(other.code); } if (other.isSetLeader_parts()) { this.leader_parts = TBaseHelper.deepCopy(other.leader_parts); @@ -116,27 +114,35 @@ public GetLeaderPartsResp deepCopy() { return new GetLeaderPartsResp(this); } - public ResponseCommon getResult() { - return this.result; + /** + * + * @see com.vesoft.nebula.ErrorCode + */ + public com.vesoft.nebula.ErrorCode getCode() { + return this.code; } - public GetLeaderPartsResp setResult(ResponseCommon result) { - this.result = result; + /** + * + * @see com.vesoft.nebula.ErrorCode + */ + public GetLeaderPartsResp setCode(com.vesoft.nebula.ErrorCode code) { + this.code = code; return this; } - public void unsetResult() { - this.result = null; + public void unsetCode() { + this.code = null; } - // Returns true if field result is set (has been assigned a value) and false otherwise - public boolean isSetResult() { - return this.result != null; + // Returns true if field code is set (has been assigned a value) and false otherwise + public boolean isSetCode() { + return this.code != null; } - public void setResultIsSet(boolean __value) { + public void setCodeIsSet(boolean __value) { if (!__value) { - this.result = null; + this.code = null; } } @@ -167,11 +173,11 @@ public void setLeader_partsIsSet(boolean __value) { @SuppressWarnings("unchecked") public void setFieldValue(int fieldID, Object __value) { switch (fieldID) { - case RESULT: + case CODE: if (__value == null) { - unsetResult(); + unsetCode(); } else { - setResult((ResponseCommon)__value); + setCode((com.vesoft.nebula.ErrorCode)__value); } break; @@ -190,8 +196,8 @@ public void setFieldValue(int fieldID, Object __value) { public Object getFieldValue(int fieldID) { switch (fieldID) { - case RESULT: - return getResult(); + case CODE: + return getCode(); case LEADER_PARTS: return getLeader_parts(); @@ -211,7 +217,7 @@ public boolean equals(Object _that) { return false; GetLeaderPartsResp that = (GetLeaderPartsResp)_that; - if (!TBaseHelper.equalsNobinary(this.isSetResult(), that.isSetResult(), this.result, that.result)) { return false; } + if (!TBaseHelper.equalsNobinary(this.isSetCode(), that.isSetCode(), this.code, that.code)) { return false; } if (!TBaseHelper.equalsNobinary(this.isSetLeader_parts(), that.isSetLeader_parts(), this.leader_parts, that.leader_parts)) { return false; } @@ -220,7 +226,7 @@ public boolean equals(Object _that) { @Override public int hashCode() { - return Arrays.deepHashCode(new Object[] {result, leader_parts}); + return Arrays.deepHashCode(new Object[] {code, leader_parts}); } @Override @@ -235,11 +241,11 @@ public int compareTo(GetLeaderPartsResp other) { } int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetResult()).compareTo(other.isSetResult()); + lastComparison = Boolean.valueOf(isSetCode()).compareTo(other.isSetCode()); if (lastComparison != 0) { return lastComparison; } - lastComparison = TBaseHelper.compareTo(result, other.result); + lastComparison = TBaseHelper.compareTo(code, other.code); if (lastComparison != 0) { return lastComparison; } @@ -265,10 +271,9 @@ public void read(TProtocol iprot) throws TException { } switch (__field.id) { - case RESULT: - if (__field.type == TType.STRUCT) { - this.result = new ResponseCommon(); - this.result.read(iprot); + case CODE: + if (__field.type == TType.I32) { + this.code = com.vesoft.nebula.ErrorCode.findByValue(iprot.readI32()); } else { TProtocolUtil.skip(iprot, __field.type); } @@ -276,29 +281,29 @@ public void read(TProtocol iprot) throws TException { case LEADER_PARTS: if (__field.type == TType.MAP) { { - TMap _map272 = iprot.readMapBegin(); - this.leader_parts = new HashMap>(Math.max(0, 2*_map272.size)); - for (int _i273 = 0; - (_map272.size < 0) ? iprot.peekMap() : (_i273 < _map272.size); - ++_i273) + TMap _map293 = iprot.readMapBegin(); + this.leader_parts = new HashMap>(Math.max(0, 2*_map293.size)); + for (int _i294 = 0; + (_map293.size < 0) ? iprot.peekMap() : (_i294 < _map293.size); + ++_i294) { - int _key274; - List _val275; - _key274 = iprot.readI32(); + int _key295; + List _val296; + _key295 = iprot.readI32(); { - TList _list276 = iprot.readListBegin(); - _val275 = new ArrayList(Math.max(0, _list276.size)); - for (int _i277 = 0; - (_list276.size < 0) ? iprot.peekList() : (_i277 < _list276.size); - ++_i277) + TList _list297 = iprot.readListBegin(); + _val296 = new ArrayList(Math.max(0, _list297.size)); + for (int _i298 = 0; + (_list297.size < 0) ? iprot.peekList() : (_i298 < _list297.size); + ++_i298) { - int _elem278; - _elem278 = iprot.readI32(); - _val275.add(_elem278); + int _elem299; + _elem299 = iprot.readI32(); + _val296.add(_elem299); } iprot.readListEnd(); } - this.leader_parts.put(_key274, _val275); + this.leader_parts.put(_key295, _val296); } iprot.readMapEnd(); } @@ -323,21 +328,21 @@ public void write(TProtocol oprot) throws TException { validate(); oprot.writeStructBegin(STRUCT_DESC); - if (this.result != null) { - oprot.writeFieldBegin(RESULT_FIELD_DESC); - this.result.write(oprot); + if (this.code != null) { + oprot.writeFieldBegin(CODE_FIELD_DESC); + oprot.writeI32(this.code == null ? 0 : this.code.getValue()); oprot.writeFieldEnd(); } if (this.leader_parts != null) { oprot.writeFieldBegin(LEADER_PARTS_FIELD_DESC); { oprot.writeMapBegin(new TMap(TType.I32, TType.LIST, this.leader_parts.size())); - for (Map.Entry> _iter279 : this.leader_parts.entrySet()) { - oprot.writeI32(_iter279.getKey()); + for (Map.Entry> _iter300 : this.leader_parts.entrySet()) { + oprot.writeI32(_iter300.getKey()); { - oprot.writeListBegin(new TList(TType.I32, _iter279.getValue().size())); - for (int _iter280 : _iter279.getValue()) { - oprot.writeI32(_iter280); + oprot.writeListBegin(new TList(TType.I32, _iter300.getValue().size())); + for (int _iter301 : _iter300.getValue()) { + oprot.writeI32(_iter301); } oprot.writeListEnd(); } @@ -367,13 +372,21 @@ public String toString(int indent, boolean prettyPrint) { boolean first = true; sb.append(indentStr); - sb.append("result"); + sb.append("code"); sb.append(space); sb.append(":").append(space); - if (this.getResult() == null) { + if (this.getCode() == null) { sb.append("null"); } else { - sb.append(TBaseHelper.toString(this.getResult(), indent + 1, prettyPrint)); + String code_name = this.getCode() == null ? "null" : this.getCode().name(); + if (code_name != null) { + sb.append(code_name); + sb.append(" ("); + } + sb.append(this.getCode()); + if (code_name != null) { + sb.append(")"); + } } first = false; if (!first) sb.append("," + newLine); @@ -394,9 +407,6 @@ public String toString(int indent, boolean prettyPrint) { public void validate() throws TException { // check for required fields - if (result == null) { - throw new TProtocolException(TProtocolException.MISSING_REQUIRED_FIELD, "Required field 'result' was not present! Struct: " + toString()); - } } } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/GetNeighborsRequest.java b/client/src/main/generated/com/vesoft/nebula/storage/GetNeighborsRequest.java index f19285912..7c5d0d9a0 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/GetNeighborsRequest.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/GetNeighborsRequest.java @@ -34,7 +34,7 @@ public class GetNeighborsRequest implements TBase, java.io.Serializable, Cloneab public int space_id; public List column_names; - public Map> parts; + public Map> parts; public TraverseSpec traverse_spec; public RequestCommon common; public static final int SPACE_ID = 1; @@ -60,7 +60,7 @@ public class GetNeighborsRequest implements TBase, java.io.Serializable, Cloneab new MapMetaData(TType.MAP, new FieldValueMetaData(TType.I32), new ListMetaData(TType.LIST, - new StructMetaData(TType.STRUCT, com.vesoft.nebula.Row.class))))); + new StructMetaData(TType.STRUCT, com.vesoft.nebula.Value.class))))); tmpMetaDataMap.put(TRAVERSE_SPEC, new FieldMetaData("traverse_spec", TFieldRequirementType.DEFAULT, new StructMetaData(TType.STRUCT, TraverseSpec.class))); tmpMetaDataMap.put(COMMON, new FieldMetaData("common", TFieldRequirementType.OPTIONAL, @@ -78,7 +78,7 @@ public GetNeighborsRequest() { public GetNeighborsRequest( int space_id, List column_names, - Map> parts, + Map> parts, TraverseSpec traverse_spec) { this(); this.space_id = space_id; @@ -91,7 +91,7 @@ public GetNeighborsRequest( public GetNeighborsRequest( int space_id, List column_names, - Map> parts, + Map> parts, TraverseSpec traverse_spec, RequestCommon common) { this(); @@ -106,7 +106,7 @@ public GetNeighborsRequest( public static class Builder { private int space_id; private List column_names; - private Map> parts; + private Map> parts; private TraverseSpec traverse_spec; private RequestCommon common; @@ -126,7 +126,7 @@ public Builder setColumn_names(final List column_names) { return this; } - public Builder setParts(final Map> parts) { + public Builder setParts(final Map> parts) { this.parts = parts; return this; } @@ -230,11 +230,11 @@ public void setColumn_namesIsSet(boolean __value) { } } - public Map> getParts() { + public Map> getParts() { return this.parts; } - public GetNeighborsRequest setParts(Map> parts) { + public GetNeighborsRequest setParts(Map> parts) { this.parts = parts; return this; } @@ -325,7 +325,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetParts(); } else { - setParts((Map>)__value); + setParts((Map>)__value); } break; @@ -442,23 +442,23 @@ public void read(TProtocol iprot) throws TException { if (__field.type == TType.MAP) { { TMap _map44 = iprot.readMapBegin(); - this.parts = new HashMap>(Math.max(0, 2*_map44.size)); + this.parts = new HashMap>(Math.max(0, 2*_map44.size)); for (int _i45 = 0; (_map44.size < 0) ? iprot.peekMap() : (_i45 < _map44.size); ++_i45) { int _key46; - List _val47; + List _val47; _key46 = iprot.readI32(); { TList _list48 = iprot.readListBegin(); - _val47 = new ArrayList(Math.max(0, _list48.size)); + _val47 = new ArrayList(Math.max(0, _list48.size)); for (int _i49 = 0; (_list48.size < 0) ? iprot.peekList() : (_i49 < _list48.size); ++_i49) { - com.vesoft.nebula.Row _elem50; - _elem50 = new com.vesoft.nebula.Row(); + com.vesoft.nebula.Value _elem50; + _elem50 = new com.vesoft.nebula.Value(); _elem50.read(iprot); _val47.add(_elem50); } @@ -523,11 +523,11 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(PARTS_FIELD_DESC); { oprot.writeMapBegin(new TMap(TType.I32, TType.LIST, this.parts.size())); - for (Map.Entry> _iter52 : this.parts.entrySet()) { + for (Map.Entry> _iter52 : this.parts.entrySet()) { oprot.writeI32(_iter52.getKey()); { oprot.writeListBegin(new TList(TType.STRUCT, _iter52.getValue().size())); - for (com.vesoft.nebula.Row _iter53 : _iter52.getValue()) { + for (com.vesoft.nebula.Value _iter53 : _iter52.getValue()) { _iter53.write(oprot); } oprot.writeListEnd(); diff --git a/client/src/main/generated/com/vesoft/nebula/storage/GetPropRequest.java b/client/src/main/generated/com/vesoft/nebula/storage/GetPropRequest.java index b4cd88135..5d516458a 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/GetPropRequest.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/GetPropRequest.java @@ -700,30 +700,30 @@ public void read(TProtocol iprot) throws TException { case PARTS: if (__field.type == TType.MAP) { { - TMap _map54 = iprot.readMapBegin(); - this.parts = new HashMap>(Math.max(0, 2*_map54.size)); - for (int _i55 = 0; - (_map54.size < 0) ? iprot.peekMap() : (_i55 < _map54.size); - ++_i55) + TMap _map67 = iprot.readMapBegin(); + this.parts = new HashMap>(Math.max(0, 2*_map67.size)); + for (int _i68 = 0; + (_map67.size < 0) ? iprot.peekMap() : (_i68 < _map67.size); + ++_i68) { - int _key56; - List _val57; - _key56 = iprot.readI32(); + int _key69; + List _val70; + _key69 = iprot.readI32(); { - TList _list58 = iprot.readListBegin(); - _val57 = new ArrayList(Math.max(0, _list58.size)); - for (int _i59 = 0; - (_list58.size < 0) ? iprot.peekList() : (_i59 < _list58.size); - ++_i59) + TList _list71 = iprot.readListBegin(); + _val70 = new ArrayList(Math.max(0, _list71.size)); + for (int _i72 = 0; + (_list71.size < 0) ? iprot.peekList() : (_i72 < _list71.size); + ++_i72) { - com.vesoft.nebula.Row _elem60; - _elem60 = new com.vesoft.nebula.Row(); - _elem60.read(iprot); - _val57.add(_elem60); + com.vesoft.nebula.Row _elem73; + _elem73 = new com.vesoft.nebula.Row(); + _elem73.read(iprot); + _val70.add(_elem73); } iprot.readListEnd(); } - this.parts.put(_key56, _val57); + this.parts.put(_key69, _val70); } iprot.readMapEnd(); } @@ -734,16 +734,16 @@ public void read(TProtocol iprot) throws TException { case VERTEX_PROPS: if (__field.type == TType.LIST) { { - TList _list61 = iprot.readListBegin(); - this.vertex_props = new ArrayList(Math.max(0, _list61.size)); - for (int _i62 = 0; - (_list61.size < 0) ? iprot.peekList() : (_i62 < _list61.size); - ++_i62) + TList _list74 = iprot.readListBegin(); + this.vertex_props = new ArrayList(Math.max(0, _list74.size)); + for (int _i75 = 0; + (_list74.size < 0) ? iprot.peekList() : (_i75 < _list74.size); + ++_i75) { - VertexProp _elem63; - _elem63 = new VertexProp(); - _elem63.read(iprot); - this.vertex_props.add(_elem63); + VertexProp _elem76; + _elem76 = new VertexProp(); + _elem76.read(iprot); + this.vertex_props.add(_elem76); } iprot.readListEnd(); } @@ -754,16 +754,16 @@ public void read(TProtocol iprot) throws TException { case EDGE_PROPS: if (__field.type == TType.LIST) { { - TList _list64 = iprot.readListBegin(); - this.edge_props = new ArrayList(Math.max(0, _list64.size)); - for (int _i65 = 0; - (_list64.size < 0) ? iprot.peekList() : (_i65 < _list64.size); - ++_i65) + TList _list77 = iprot.readListBegin(); + this.edge_props = new ArrayList(Math.max(0, _list77.size)); + for (int _i78 = 0; + (_list77.size < 0) ? iprot.peekList() : (_i78 < _list77.size); + ++_i78) { - EdgeProp _elem66; - _elem66 = new EdgeProp(); - _elem66.read(iprot); - this.edge_props.add(_elem66); + EdgeProp _elem79; + _elem79 = new EdgeProp(); + _elem79.read(iprot); + this.edge_props.add(_elem79); } iprot.readListEnd(); } @@ -774,16 +774,16 @@ public void read(TProtocol iprot) throws TException { case EXPRESSIONS: if (__field.type == TType.LIST) { { - TList _list67 = iprot.readListBegin(); - this.expressions = new ArrayList(Math.max(0, _list67.size)); - for (int _i68 = 0; - (_list67.size < 0) ? iprot.peekList() : (_i68 < _list67.size); - ++_i68) + TList _list80 = iprot.readListBegin(); + this.expressions = new ArrayList(Math.max(0, _list80.size)); + for (int _i81 = 0; + (_list80.size < 0) ? iprot.peekList() : (_i81 < _list80.size); + ++_i81) { - Expr _elem69; - _elem69 = new Expr(); - _elem69.read(iprot); - this.expressions.add(_elem69); + Expr _elem82; + _elem82 = new Expr(); + _elem82.read(iprot); + this.expressions.add(_elem82); } iprot.readListEnd(); } @@ -802,16 +802,16 @@ public void read(TProtocol iprot) throws TException { case ORDER_BY: if (__field.type == TType.LIST) { { - TList _list70 = iprot.readListBegin(); - this.order_by = new ArrayList(Math.max(0, _list70.size)); - for (int _i71 = 0; - (_list70.size < 0) ? iprot.peekList() : (_i71 < _list70.size); - ++_i71) + TList _list83 = iprot.readListBegin(); + this.order_by = new ArrayList(Math.max(0, _list83.size)); + for (int _i84 = 0; + (_list83.size < 0) ? iprot.peekList() : (_i84 < _list83.size); + ++_i84) { - OrderBy _elem72; - _elem72 = new OrderBy(); - _elem72.read(iprot); - this.order_by.add(_elem72); + OrderBy _elem85; + _elem85 = new OrderBy(); + _elem85.read(iprot); + this.order_by.add(_elem85); } iprot.readListEnd(); } @@ -866,12 +866,12 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(PARTS_FIELD_DESC); { oprot.writeMapBegin(new TMap(TType.I32, TType.LIST, this.parts.size())); - for (Map.Entry> _iter73 : this.parts.entrySet()) { - oprot.writeI32(_iter73.getKey()); + for (Map.Entry> _iter86 : this.parts.entrySet()) { + oprot.writeI32(_iter86.getKey()); { - oprot.writeListBegin(new TList(TType.STRUCT, _iter73.getValue().size())); - for (com.vesoft.nebula.Row _iter74 : _iter73.getValue()) { - _iter74.write(oprot); + oprot.writeListBegin(new TList(TType.STRUCT, _iter86.getValue().size())); + for (com.vesoft.nebula.Row _iter87 : _iter86.getValue()) { + _iter87.write(oprot); } oprot.writeListEnd(); } @@ -885,8 +885,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(VERTEX_PROPS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.vertex_props.size())); - for (VertexProp _iter75 : this.vertex_props) { - _iter75.write(oprot); + for (VertexProp _iter88 : this.vertex_props) { + _iter88.write(oprot); } oprot.writeListEnd(); } @@ -898,8 +898,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(EDGE_PROPS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.edge_props.size())); - for (EdgeProp _iter76 : this.edge_props) { - _iter76.write(oprot); + for (EdgeProp _iter89 : this.edge_props) { + _iter89.write(oprot); } oprot.writeListEnd(); } @@ -911,8 +911,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(EXPRESSIONS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.expressions.size())); - for (Expr _iter77 : this.expressions) { - _iter77.write(oprot); + for (Expr _iter90 : this.expressions) { + _iter90.write(oprot); } oprot.writeListEnd(); } @@ -927,8 +927,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(ORDER_BY_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.order_by.size())); - for (OrderBy _iter78 : this.order_by) { - _iter78.write(oprot); + for (OrderBy _iter91 : this.order_by) { + _iter91.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/GraphStorageService.java b/client/src/main/generated/com/vesoft/nebula/storage/GraphStorageService.java index e78379632..b0771b56f 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/GraphStorageService.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/GraphStorageService.java @@ -33,6 +33,8 @@ public interface Iface { public GetNeighborsResponse getNeighbors(GetNeighborsRequest req) throws TException; + public GetDstBySrcResponse getDstBySrc(GetDstBySrcRequest req) throws TException; + public GetPropResponse getProps(GetPropRequest req) throws TException; public ExecResponse addVertices(AddVerticesRequest req) throws TException; @@ -77,6 +79,8 @@ public interface AsyncIface { public void getNeighbors(GetNeighborsRequest req, AsyncMethodCallback resultHandler) throws TException; + public void getDstBySrc(GetDstBySrcRequest req, AsyncMethodCallback resultHandler) throws TException; + public void getProps(GetPropRequest req, AsyncMethodCallback resultHandler) throws TException; public void addVertices(AddVerticesRequest req, AsyncMethodCallback resultHandler) throws TException; @@ -191,6 +195,51 @@ public GetNeighborsResponse recv_getNeighbors() throws TException throw new TApplicationException(TApplicationException.MISSING_RESULT, "getNeighbors failed: unknown result"); } + public GetDstBySrcResponse getDstBySrc(GetDstBySrcRequest req) throws TException + { + ContextStack ctx = getContextStack("GraphStorageService.getDstBySrc", null); + this.setContextStack(ctx); + send_getDstBySrc(req); + return recv_getDstBySrc(); + } + + public void send_getDstBySrc(GetDstBySrcRequest req) throws TException + { + ContextStack ctx = this.getContextStack(); + super.preWrite(ctx, "GraphStorageService.getDstBySrc", null); + oprot_.writeMessageBegin(new TMessage("getDstBySrc", TMessageType.CALL, seqid_)); + getDstBySrc_args args = new getDstBySrc_args(); + args.req = req; + args.write(oprot_); + oprot_.writeMessageEnd(); + oprot_.getTransport().flush(); + super.postWrite(ctx, "GraphStorageService.getDstBySrc", args); + return; + } + + public GetDstBySrcResponse recv_getDstBySrc() throws TException + { + ContextStack ctx = super.getContextStack(); + long bytes; + TMessageType mtype; + super.preRead(ctx, "GraphStorageService.getDstBySrc"); + TMessage msg = iprot_.readMessageBegin(); + if (msg.type == TMessageType.EXCEPTION) { + TApplicationException x = TApplicationException.read(iprot_); + iprot_.readMessageEnd(); + throw x; + } + getDstBySrc_result result = new getDstBySrc_result(); + result.read(iprot_); + iprot_.readMessageEnd(); + super.postRead(ctx, "GraphStorageService.getDstBySrc", result); + + if (result.isSetSuccess()) { + return result.success; + } + throw new TApplicationException(TApplicationException.MISSING_RESULT, "getDstBySrc failed: unknown result"); + } + public GetPropResponse getProps(GetPropRequest req) throws TException { ContextStack ctx = getContextStack("GraphStorageService.getProps", null); @@ -1064,17 +1113,17 @@ public AsyncClient(TProtocolFactory protocolFactory, TAsyncClientManager clientM super(protocolFactory, clientManager, transport); } - public void getNeighbors(GetNeighborsRequest req, AsyncMethodCallback resultHandler342) throws TException { + public void getNeighbors(GetNeighborsRequest req, AsyncMethodCallback resultHandler360) throws TException { checkReady(); - getNeighbors_call method_call = new getNeighbors_call(req, resultHandler342, this, ___protocolFactory, ___transport); + getNeighbors_call method_call = new getNeighbors_call(req, resultHandler360, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class getNeighbors_call extends TAsyncMethodCall { private GetNeighborsRequest req; - public getNeighbors_call(GetNeighborsRequest req, AsyncMethodCallback resultHandler343, TAsyncClient client339, TProtocolFactory protocolFactory340, TNonblockingTransport transport341) throws TException { - super(client339, protocolFactory340, transport341, resultHandler343, false); + public getNeighbors_call(GetNeighborsRequest req, AsyncMethodCallback resultHandler361, TAsyncClient client357, TProtocolFactory protocolFactory358, TNonblockingTransport transport359) throws TException { + super(client357, protocolFactory358, transport359, resultHandler361, false); this.req = req; } @@ -1096,17 +1145,49 @@ public GetNeighborsResponse getResult() throws TException { } } - public void getProps(GetPropRequest req, AsyncMethodCallback resultHandler347) throws TException { + public void getDstBySrc(GetDstBySrcRequest req, AsyncMethodCallback resultHandler365) throws TException { checkReady(); - getProps_call method_call = new getProps_call(req, resultHandler347, this, ___protocolFactory, ___transport); + getDstBySrc_call method_call = new getDstBySrc_call(req, resultHandler365, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class getDstBySrc_call extends TAsyncMethodCall { + private GetDstBySrcRequest req; + public getDstBySrc_call(GetDstBySrcRequest req, AsyncMethodCallback resultHandler366, TAsyncClient client362, TProtocolFactory protocolFactory363, TNonblockingTransport transport364) throws TException { + super(client362, protocolFactory363, transport364, resultHandler366, false); + this.req = req; + } + + public void write_args(TProtocol prot) throws TException { + prot.writeMessageBegin(new TMessage("getDstBySrc", TMessageType.CALL, 0)); + getDstBySrc_args args = new getDstBySrc_args(); + args.setReq(req); + args.write(prot); + prot.writeMessageEnd(); + } + + public GetDstBySrcResponse getResult() throws TException { + if (getState() != State.RESPONSE_READ) { + throw new IllegalStateException("Method call not finished!"); + } + TMemoryInputTransport memoryTransport = new TMemoryInputTransport(getFrameBuffer().array()); + TProtocol prot = super.client.getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_getDstBySrc(); + } + } + + public void getProps(GetPropRequest req, AsyncMethodCallback resultHandler370) throws TException { + checkReady(); + getProps_call method_call = new getProps_call(req, resultHandler370, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class getProps_call extends TAsyncMethodCall { private GetPropRequest req; - public getProps_call(GetPropRequest req, AsyncMethodCallback resultHandler348, TAsyncClient client344, TProtocolFactory protocolFactory345, TNonblockingTransport transport346) throws TException { - super(client344, protocolFactory345, transport346, resultHandler348, false); + public getProps_call(GetPropRequest req, AsyncMethodCallback resultHandler371, TAsyncClient client367, TProtocolFactory protocolFactory368, TNonblockingTransport transport369) throws TException { + super(client367, protocolFactory368, transport369, resultHandler371, false); this.req = req; } @@ -1128,17 +1209,17 @@ public GetPropResponse getResult() throws TException { } } - public void addVertices(AddVerticesRequest req, AsyncMethodCallback resultHandler352) throws TException { + public void addVertices(AddVerticesRequest req, AsyncMethodCallback resultHandler375) throws TException { checkReady(); - addVertices_call method_call = new addVertices_call(req, resultHandler352, this, ___protocolFactory, ___transport); + addVertices_call method_call = new addVertices_call(req, resultHandler375, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class addVertices_call extends TAsyncMethodCall { private AddVerticesRequest req; - public addVertices_call(AddVerticesRequest req, AsyncMethodCallback resultHandler353, TAsyncClient client349, TProtocolFactory protocolFactory350, TNonblockingTransport transport351) throws TException { - super(client349, protocolFactory350, transport351, resultHandler353, false); + public addVertices_call(AddVerticesRequest req, AsyncMethodCallback resultHandler376, TAsyncClient client372, TProtocolFactory protocolFactory373, TNonblockingTransport transport374) throws TException { + super(client372, protocolFactory373, transport374, resultHandler376, false); this.req = req; } @@ -1160,17 +1241,17 @@ public ExecResponse getResult() throws TException { } } - public void addEdges(AddEdgesRequest req, AsyncMethodCallback resultHandler357) throws TException { + public void addEdges(AddEdgesRequest req, AsyncMethodCallback resultHandler380) throws TException { checkReady(); - addEdges_call method_call = new addEdges_call(req, resultHandler357, this, ___protocolFactory, ___transport); + addEdges_call method_call = new addEdges_call(req, resultHandler380, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class addEdges_call extends TAsyncMethodCall { private AddEdgesRequest req; - public addEdges_call(AddEdgesRequest req, AsyncMethodCallback resultHandler358, TAsyncClient client354, TProtocolFactory protocolFactory355, TNonblockingTransport transport356) throws TException { - super(client354, protocolFactory355, transport356, resultHandler358, false); + public addEdges_call(AddEdgesRequest req, AsyncMethodCallback resultHandler381, TAsyncClient client377, TProtocolFactory protocolFactory378, TNonblockingTransport transport379) throws TException { + super(client377, protocolFactory378, transport379, resultHandler381, false); this.req = req; } @@ -1192,17 +1273,17 @@ public ExecResponse getResult() throws TException { } } - public void deleteEdges(DeleteEdgesRequest req, AsyncMethodCallback resultHandler362) throws TException { + public void deleteEdges(DeleteEdgesRequest req, AsyncMethodCallback resultHandler385) throws TException { checkReady(); - deleteEdges_call method_call = new deleteEdges_call(req, resultHandler362, this, ___protocolFactory, ___transport); + deleteEdges_call method_call = new deleteEdges_call(req, resultHandler385, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class deleteEdges_call extends TAsyncMethodCall { private DeleteEdgesRequest req; - public deleteEdges_call(DeleteEdgesRequest req, AsyncMethodCallback resultHandler363, TAsyncClient client359, TProtocolFactory protocolFactory360, TNonblockingTransport transport361) throws TException { - super(client359, protocolFactory360, transport361, resultHandler363, false); + public deleteEdges_call(DeleteEdgesRequest req, AsyncMethodCallback resultHandler386, TAsyncClient client382, TProtocolFactory protocolFactory383, TNonblockingTransport transport384) throws TException { + super(client382, protocolFactory383, transport384, resultHandler386, false); this.req = req; } @@ -1224,17 +1305,17 @@ public ExecResponse getResult() throws TException { } } - public void deleteVertices(DeleteVerticesRequest req, AsyncMethodCallback resultHandler367) throws TException { + public void deleteVertices(DeleteVerticesRequest req, AsyncMethodCallback resultHandler390) throws TException { checkReady(); - deleteVertices_call method_call = new deleteVertices_call(req, resultHandler367, this, ___protocolFactory, ___transport); + deleteVertices_call method_call = new deleteVertices_call(req, resultHandler390, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class deleteVertices_call extends TAsyncMethodCall { private DeleteVerticesRequest req; - public deleteVertices_call(DeleteVerticesRequest req, AsyncMethodCallback resultHandler368, TAsyncClient client364, TProtocolFactory protocolFactory365, TNonblockingTransport transport366) throws TException { - super(client364, protocolFactory365, transport366, resultHandler368, false); + public deleteVertices_call(DeleteVerticesRequest req, AsyncMethodCallback resultHandler391, TAsyncClient client387, TProtocolFactory protocolFactory388, TNonblockingTransport transport389) throws TException { + super(client387, protocolFactory388, transport389, resultHandler391, false); this.req = req; } @@ -1256,17 +1337,17 @@ public ExecResponse getResult() throws TException { } } - public void deleteTags(DeleteTagsRequest req, AsyncMethodCallback resultHandler372) throws TException { + public void deleteTags(DeleteTagsRequest req, AsyncMethodCallback resultHandler395) throws TException { checkReady(); - deleteTags_call method_call = new deleteTags_call(req, resultHandler372, this, ___protocolFactory, ___transport); + deleteTags_call method_call = new deleteTags_call(req, resultHandler395, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class deleteTags_call extends TAsyncMethodCall { private DeleteTagsRequest req; - public deleteTags_call(DeleteTagsRequest req, AsyncMethodCallback resultHandler373, TAsyncClient client369, TProtocolFactory protocolFactory370, TNonblockingTransport transport371) throws TException { - super(client369, protocolFactory370, transport371, resultHandler373, false); + public deleteTags_call(DeleteTagsRequest req, AsyncMethodCallback resultHandler396, TAsyncClient client392, TProtocolFactory protocolFactory393, TNonblockingTransport transport394) throws TException { + super(client392, protocolFactory393, transport394, resultHandler396, false); this.req = req; } @@ -1288,17 +1369,17 @@ public ExecResponse getResult() throws TException { } } - public void updateVertex(UpdateVertexRequest req, AsyncMethodCallback resultHandler377) throws TException { + public void updateVertex(UpdateVertexRequest req, AsyncMethodCallback resultHandler400) throws TException { checkReady(); - updateVertex_call method_call = new updateVertex_call(req, resultHandler377, this, ___protocolFactory, ___transport); + updateVertex_call method_call = new updateVertex_call(req, resultHandler400, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class updateVertex_call extends TAsyncMethodCall { private UpdateVertexRequest req; - public updateVertex_call(UpdateVertexRequest req, AsyncMethodCallback resultHandler378, TAsyncClient client374, TProtocolFactory protocolFactory375, TNonblockingTransport transport376) throws TException { - super(client374, protocolFactory375, transport376, resultHandler378, false); + public updateVertex_call(UpdateVertexRequest req, AsyncMethodCallback resultHandler401, TAsyncClient client397, TProtocolFactory protocolFactory398, TNonblockingTransport transport399) throws TException { + super(client397, protocolFactory398, transport399, resultHandler401, false); this.req = req; } @@ -1320,17 +1401,17 @@ public UpdateResponse getResult() throws TException { } } - public void updateEdge(UpdateEdgeRequest req, AsyncMethodCallback resultHandler382) throws TException { + public void updateEdge(UpdateEdgeRequest req, AsyncMethodCallback resultHandler405) throws TException { checkReady(); - updateEdge_call method_call = new updateEdge_call(req, resultHandler382, this, ___protocolFactory, ___transport); + updateEdge_call method_call = new updateEdge_call(req, resultHandler405, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class updateEdge_call extends TAsyncMethodCall { private UpdateEdgeRequest req; - public updateEdge_call(UpdateEdgeRequest req, AsyncMethodCallback resultHandler383, TAsyncClient client379, TProtocolFactory protocolFactory380, TNonblockingTransport transport381) throws TException { - super(client379, protocolFactory380, transport381, resultHandler383, false); + public updateEdge_call(UpdateEdgeRequest req, AsyncMethodCallback resultHandler406, TAsyncClient client402, TProtocolFactory protocolFactory403, TNonblockingTransport transport404) throws TException { + super(client402, protocolFactory403, transport404, resultHandler406, false); this.req = req; } @@ -1352,17 +1433,17 @@ public UpdateResponse getResult() throws TException { } } - public void scanVertex(ScanVertexRequest req, AsyncMethodCallback resultHandler387) throws TException { + public void scanVertex(ScanVertexRequest req, AsyncMethodCallback resultHandler410) throws TException { checkReady(); - scanVertex_call method_call = new scanVertex_call(req, resultHandler387, this, ___protocolFactory, ___transport); + scanVertex_call method_call = new scanVertex_call(req, resultHandler410, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class scanVertex_call extends TAsyncMethodCall { private ScanVertexRequest req; - public scanVertex_call(ScanVertexRequest req, AsyncMethodCallback resultHandler388, TAsyncClient client384, TProtocolFactory protocolFactory385, TNonblockingTransport transport386) throws TException { - super(client384, protocolFactory385, transport386, resultHandler388, false); + public scanVertex_call(ScanVertexRequest req, AsyncMethodCallback resultHandler411, TAsyncClient client407, TProtocolFactory protocolFactory408, TNonblockingTransport transport409) throws TException { + super(client407, protocolFactory408, transport409, resultHandler411, false); this.req = req; } @@ -1384,17 +1465,17 @@ public ScanResponse getResult() throws TException { } } - public void scanEdge(ScanEdgeRequest req, AsyncMethodCallback resultHandler392) throws TException { + public void scanEdge(ScanEdgeRequest req, AsyncMethodCallback resultHandler415) throws TException { checkReady(); - scanEdge_call method_call = new scanEdge_call(req, resultHandler392, this, ___protocolFactory, ___transport); + scanEdge_call method_call = new scanEdge_call(req, resultHandler415, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class scanEdge_call extends TAsyncMethodCall { private ScanEdgeRequest req; - public scanEdge_call(ScanEdgeRequest req, AsyncMethodCallback resultHandler393, TAsyncClient client389, TProtocolFactory protocolFactory390, TNonblockingTransport transport391) throws TException { - super(client389, protocolFactory390, transport391, resultHandler393, false); + public scanEdge_call(ScanEdgeRequest req, AsyncMethodCallback resultHandler416, TAsyncClient client412, TProtocolFactory protocolFactory413, TNonblockingTransport transport414) throws TException { + super(client412, protocolFactory413, transport414, resultHandler416, false); this.req = req; } @@ -1416,17 +1497,17 @@ public ScanResponse getResult() throws TException { } } - public void getUUID(GetUUIDReq req, AsyncMethodCallback resultHandler397) throws TException { + public void getUUID(GetUUIDReq req, AsyncMethodCallback resultHandler420) throws TException { checkReady(); - getUUID_call method_call = new getUUID_call(req, resultHandler397, this, ___protocolFactory, ___transport); + getUUID_call method_call = new getUUID_call(req, resultHandler420, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class getUUID_call extends TAsyncMethodCall { private GetUUIDReq req; - public getUUID_call(GetUUIDReq req, AsyncMethodCallback resultHandler398, TAsyncClient client394, TProtocolFactory protocolFactory395, TNonblockingTransport transport396) throws TException { - super(client394, protocolFactory395, transport396, resultHandler398, false); + public getUUID_call(GetUUIDReq req, AsyncMethodCallback resultHandler421, TAsyncClient client417, TProtocolFactory protocolFactory418, TNonblockingTransport transport419) throws TException { + super(client417, protocolFactory418, transport419, resultHandler421, false); this.req = req; } @@ -1448,17 +1529,17 @@ public GetUUIDResp getResult() throws TException { } } - public void lookupIndex(LookupIndexRequest req, AsyncMethodCallback resultHandler402) throws TException { + public void lookupIndex(LookupIndexRequest req, AsyncMethodCallback resultHandler425) throws TException { checkReady(); - lookupIndex_call method_call = new lookupIndex_call(req, resultHandler402, this, ___protocolFactory, ___transport); + lookupIndex_call method_call = new lookupIndex_call(req, resultHandler425, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class lookupIndex_call extends TAsyncMethodCall { private LookupIndexRequest req; - public lookupIndex_call(LookupIndexRequest req, AsyncMethodCallback resultHandler403, TAsyncClient client399, TProtocolFactory protocolFactory400, TNonblockingTransport transport401) throws TException { - super(client399, protocolFactory400, transport401, resultHandler403, false); + public lookupIndex_call(LookupIndexRequest req, AsyncMethodCallback resultHandler426, TAsyncClient client422, TProtocolFactory protocolFactory423, TNonblockingTransport transport424) throws TException { + super(client422, protocolFactory423, transport424, resultHandler426, false); this.req = req; } @@ -1480,17 +1561,17 @@ public LookupIndexResp getResult() throws TException { } } - public void lookupAndTraverse(LookupAndTraverseRequest req, AsyncMethodCallback resultHandler407) throws TException { + public void lookupAndTraverse(LookupAndTraverseRequest req, AsyncMethodCallback resultHandler430) throws TException { checkReady(); - lookupAndTraverse_call method_call = new lookupAndTraverse_call(req, resultHandler407, this, ___protocolFactory, ___transport); + lookupAndTraverse_call method_call = new lookupAndTraverse_call(req, resultHandler430, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class lookupAndTraverse_call extends TAsyncMethodCall { private LookupAndTraverseRequest req; - public lookupAndTraverse_call(LookupAndTraverseRequest req, AsyncMethodCallback resultHandler408, TAsyncClient client404, TProtocolFactory protocolFactory405, TNonblockingTransport transport406) throws TException { - super(client404, protocolFactory405, transport406, resultHandler408, false); + public lookupAndTraverse_call(LookupAndTraverseRequest req, AsyncMethodCallback resultHandler431, TAsyncClient client427, TProtocolFactory protocolFactory428, TNonblockingTransport transport429) throws TException { + super(client427, protocolFactory428, transport429, resultHandler431, false); this.req = req; } @@ -1512,17 +1593,17 @@ public GetNeighborsResponse getResult() throws TException { } } - public void chainUpdateEdge(UpdateEdgeRequest req, AsyncMethodCallback resultHandler412) throws TException { + public void chainUpdateEdge(UpdateEdgeRequest req, AsyncMethodCallback resultHandler435) throws TException { checkReady(); - chainUpdateEdge_call method_call = new chainUpdateEdge_call(req, resultHandler412, this, ___protocolFactory, ___transport); + chainUpdateEdge_call method_call = new chainUpdateEdge_call(req, resultHandler435, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class chainUpdateEdge_call extends TAsyncMethodCall { private UpdateEdgeRequest req; - public chainUpdateEdge_call(UpdateEdgeRequest req, AsyncMethodCallback resultHandler413, TAsyncClient client409, TProtocolFactory protocolFactory410, TNonblockingTransport transport411) throws TException { - super(client409, protocolFactory410, transport411, resultHandler413, false); + public chainUpdateEdge_call(UpdateEdgeRequest req, AsyncMethodCallback resultHandler436, TAsyncClient client432, TProtocolFactory protocolFactory433, TNonblockingTransport transport434) throws TException { + super(client432, protocolFactory433, transport434, resultHandler436, false); this.req = req; } @@ -1544,17 +1625,17 @@ public UpdateResponse getResult() throws TException { } } - public void chainAddEdges(AddEdgesRequest req, AsyncMethodCallback resultHandler417) throws TException { + public void chainAddEdges(AddEdgesRequest req, AsyncMethodCallback resultHandler440) throws TException { checkReady(); - chainAddEdges_call method_call = new chainAddEdges_call(req, resultHandler417, this, ___protocolFactory, ___transport); + chainAddEdges_call method_call = new chainAddEdges_call(req, resultHandler440, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class chainAddEdges_call extends TAsyncMethodCall { private AddEdgesRequest req; - public chainAddEdges_call(AddEdgesRequest req, AsyncMethodCallback resultHandler418, TAsyncClient client414, TProtocolFactory protocolFactory415, TNonblockingTransport transport416) throws TException { - super(client414, protocolFactory415, transport416, resultHandler418, false); + public chainAddEdges_call(AddEdgesRequest req, AsyncMethodCallback resultHandler441, TAsyncClient client437, TProtocolFactory protocolFactory438, TNonblockingTransport transport439) throws TException { + super(client437, protocolFactory438, transport439, resultHandler441, false); this.req = req; } @@ -1576,17 +1657,17 @@ public ExecResponse getResult() throws TException { } } - public void chainDeleteEdges(DeleteEdgesRequest req, AsyncMethodCallback resultHandler422) throws TException { + public void chainDeleteEdges(DeleteEdgesRequest req, AsyncMethodCallback resultHandler445) throws TException { checkReady(); - chainDeleteEdges_call method_call = new chainDeleteEdges_call(req, resultHandler422, this, ___protocolFactory, ___transport); + chainDeleteEdges_call method_call = new chainDeleteEdges_call(req, resultHandler445, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class chainDeleteEdges_call extends TAsyncMethodCall { private DeleteEdgesRequest req; - public chainDeleteEdges_call(DeleteEdgesRequest req, AsyncMethodCallback resultHandler423, TAsyncClient client419, TProtocolFactory protocolFactory420, TNonblockingTransport transport421) throws TException { - super(client419, protocolFactory420, transport421, resultHandler423, false); + public chainDeleteEdges_call(DeleteEdgesRequest req, AsyncMethodCallback resultHandler446, TAsyncClient client442, TProtocolFactory protocolFactory443, TNonblockingTransport transport444) throws TException { + super(client442, protocolFactory443, transport444, resultHandler446, false); this.req = req; } @@ -1608,17 +1689,17 @@ public ExecResponse getResult() throws TException { } } - public void get(KVGetRequest req, AsyncMethodCallback resultHandler427) throws TException { + public void get(KVGetRequest req, AsyncMethodCallback resultHandler450) throws TException { checkReady(); - get_call method_call = new get_call(req, resultHandler427, this, ___protocolFactory, ___transport); + get_call method_call = new get_call(req, resultHandler450, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class get_call extends TAsyncMethodCall { private KVGetRequest req; - public get_call(KVGetRequest req, AsyncMethodCallback resultHandler428, TAsyncClient client424, TProtocolFactory protocolFactory425, TNonblockingTransport transport426) throws TException { - super(client424, protocolFactory425, transport426, resultHandler428, false); + public get_call(KVGetRequest req, AsyncMethodCallback resultHandler451, TAsyncClient client447, TProtocolFactory protocolFactory448, TNonblockingTransport transport449) throws TException { + super(client447, protocolFactory448, transport449, resultHandler451, false); this.req = req; } @@ -1640,17 +1721,17 @@ public KVGetResponse getResult() throws TException { } } - public void put(KVPutRequest req, AsyncMethodCallback resultHandler432) throws TException { + public void put(KVPutRequest req, AsyncMethodCallback resultHandler455) throws TException { checkReady(); - put_call method_call = new put_call(req, resultHandler432, this, ___protocolFactory, ___transport); + put_call method_call = new put_call(req, resultHandler455, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class put_call extends TAsyncMethodCall { private KVPutRequest req; - public put_call(KVPutRequest req, AsyncMethodCallback resultHandler433, TAsyncClient client429, TProtocolFactory protocolFactory430, TNonblockingTransport transport431) throws TException { - super(client429, protocolFactory430, transport431, resultHandler433, false); + public put_call(KVPutRequest req, AsyncMethodCallback resultHandler456, TAsyncClient client452, TProtocolFactory protocolFactory453, TNonblockingTransport transport454) throws TException { + super(client452, protocolFactory453, transport454, resultHandler456, false); this.req = req; } @@ -1672,17 +1753,17 @@ public ExecResponse getResult() throws TException { } } - public void remove(KVRemoveRequest req, AsyncMethodCallback resultHandler437) throws TException { + public void remove(KVRemoveRequest req, AsyncMethodCallback resultHandler460) throws TException { checkReady(); - remove_call method_call = new remove_call(req, resultHandler437, this, ___protocolFactory, ___transport); + remove_call method_call = new remove_call(req, resultHandler460, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class remove_call extends TAsyncMethodCall { private KVRemoveRequest req; - public remove_call(KVRemoveRequest req, AsyncMethodCallback resultHandler438, TAsyncClient client434, TProtocolFactory protocolFactory435, TNonblockingTransport transport436) throws TException { - super(client434, protocolFactory435, transport436, resultHandler438, false); + public remove_call(KVRemoveRequest req, AsyncMethodCallback resultHandler461, TAsyncClient client457, TProtocolFactory protocolFactory458, TNonblockingTransport transport459) throws TException { + super(client457, protocolFactory458, transport459, resultHandler461, false); this.req = req; } @@ -1713,6 +1794,7 @@ public Processor(Iface iface) iface_ = iface; event_handler_ = new TProcessorEventHandler(); // Empty handler processMap_.put("getNeighbors", new getNeighbors()); + processMap_.put("getDstBySrc", new getDstBySrc()); processMap_.put("getProps", new getProps()); processMap_.put("addVertices", new addVertices()); processMap_.put("addEdges", new addEdges()); @@ -1785,6 +1867,27 @@ public void process(int seqid, TProtocol iprot, TProtocol oprot, TConnectionCont } + private class getDstBySrc implements ProcessFunction { + public void process(int seqid, TProtocol iprot, TProtocol oprot, TConnectionContext server_ctx) throws TException + { + Object handler_ctx = event_handler_.getContext("GraphStorageService.getDstBySrc", server_ctx); + getDstBySrc_args args = new getDstBySrc_args(); + event_handler_.preRead(handler_ctx, "GraphStorageService.getDstBySrc"); + args.read(iprot); + iprot.readMessageEnd(); + event_handler_.postRead(handler_ctx, "GraphStorageService.getDstBySrc", args); + getDstBySrc_result result = new getDstBySrc_result(); + result.success = iface_.getDstBySrc(args.req); + event_handler_.preWrite(handler_ctx, "GraphStorageService.getDstBySrc", result); + oprot.writeMessageBegin(new TMessage("getDstBySrc", TMessageType.REPLY, seqid)); + result.write(oprot); + oprot.writeMessageEnd(); + oprot.getTransport().flush(); + event_handler_.postWrite(handler_ctx, "GraphStorageService.getDstBySrc", result); + } + + } + private class getProps implements ProcessFunction { public void process(int seqid, TProtocol iprot, TProtocol oprot, TConnectionContext server_ctx) throws TException { @@ -2575,6 +2678,395 @@ public void validate() throws TException { } + public static class getDstBySrc_args implements TBase, java.io.Serializable, Cloneable { + private static final TStruct STRUCT_DESC = new TStruct("getDstBySrc_args"); + private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); + + public GetDstBySrcRequest req; + public static final int REQ = 1; + + // isset id assignments + + public static final Map metaDataMap; + + static { + Map tmpMetaDataMap = new HashMap(); + tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, + new StructMetaData(TType.STRUCT, GetDstBySrcRequest.class))); + metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); + } + + static { + FieldMetaData.addStructMetaDataMap(getDstBySrc_args.class, metaDataMap); + } + + public getDstBySrc_args() { + } + + public getDstBySrc_args( + GetDstBySrcRequest req) { + this(); + this.req = req; + } + + /** + * Performs a deep copy on other. + */ + public getDstBySrc_args(getDstBySrc_args other) { + if (other.isSetReq()) { + this.req = TBaseHelper.deepCopy(other.req); + } + } + + public getDstBySrc_args deepCopy() { + return new getDstBySrc_args(this); + } + + public GetDstBySrcRequest getReq() { + return this.req; + } + + public getDstBySrc_args setReq(GetDstBySrcRequest req) { + this.req = req; + return this; + } + + public void unsetReq() { + this.req = null; + } + + // Returns true if field req is set (has been assigned a value) and false otherwise + public boolean isSetReq() { + return this.req != null; + } + + public void setReqIsSet(boolean __value) { + if (!__value) { + this.req = null; + } + } + + public void setFieldValue(int fieldID, Object __value) { + switch (fieldID) { + case REQ: + if (__value == null) { + unsetReq(); + } else { + setReq((GetDstBySrcRequest)__value); + } + break; + + default: + throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); + } + } + + public Object getFieldValue(int fieldID) { + switch (fieldID) { + case REQ: + return getReq(); + + default: + throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); + } + } + + @Override + public boolean equals(Object _that) { + if (_that == null) + return false; + if (this == _that) + return true; + if (!(_that instanceof getDstBySrc_args)) + return false; + getDstBySrc_args that = (getDstBySrc_args)_that; + + if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } + + return true; + } + + @Override + public int hashCode() { + return Arrays.deepHashCode(new Object[] {req}); + } + + public void read(TProtocol iprot) throws TException { + TField __field; + iprot.readStructBegin(metaDataMap); + while (true) + { + __field = iprot.readFieldBegin(); + if (__field.type == TType.STOP) { + break; + } + switch (__field.id) + { + case REQ: + if (__field.type == TType.STRUCT) { + this.req = new GetDstBySrcRequest(); + this.req.read(iprot); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + default: + TProtocolUtil.skip(iprot, __field.type); + break; + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + + // check for required fields of primitive type, which can't be checked in the validate method + validate(); + } + + public void write(TProtocol oprot) throws TException { + validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (this.req != null) { + oprot.writeFieldBegin(REQ_FIELD_DESC); + this.req.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + @Override + public String toString() { + return toString(1, true); + } + + @Override + public String toString(int indent, boolean prettyPrint) { + String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; + String newLine = prettyPrint ? "\n" : ""; + String space = prettyPrint ? " " : ""; + StringBuilder sb = new StringBuilder("getDstBySrc_args"); + sb.append(space); + sb.append("("); + sb.append(newLine); + boolean first = true; + + sb.append(indentStr); + sb.append("req"); + sb.append(space); + sb.append(":").append(space); + if (this.getReq() == null) { + sb.append("null"); + } else { + sb.append(TBaseHelper.toString(this.getReq(), indent + 1, prettyPrint)); + } + first = false; + sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); + sb.append(")"); + return sb.toString(); + } + + public void validate() throws TException { + // check for required fields + } + + } + + public static class getDstBySrc_result implements TBase, java.io.Serializable, Cloneable { + private static final TStruct STRUCT_DESC = new TStruct("getDstBySrc_result"); + private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); + + public GetDstBySrcResponse success; + public static final int SUCCESS = 0; + + // isset id assignments + + public static final Map metaDataMap; + + static { + Map tmpMetaDataMap = new HashMap(); + tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, + new StructMetaData(TType.STRUCT, GetDstBySrcResponse.class))); + metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); + } + + static { + FieldMetaData.addStructMetaDataMap(getDstBySrc_result.class, metaDataMap); + } + + public getDstBySrc_result() { + } + + public getDstBySrc_result( + GetDstBySrcResponse success) { + this(); + this.success = success; + } + + /** + * Performs a deep copy on other. + */ + public getDstBySrc_result(getDstBySrc_result other) { + if (other.isSetSuccess()) { + this.success = TBaseHelper.deepCopy(other.success); + } + } + + public getDstBySrc_result deepCopy() { + return new getDstBySrc_result(this); + } + + public GetDstBySrcResponse getSuccess() { + return this.success; + } + + public getDstBySrc_result setSuccess(GetDstBySrcResponse 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(int fieldID, Object __value) { + switch (fieldID) { + case SUCCESS: + if (__value == null) { + unsetSuccess(); + } else { + setSuccess((GetDstBySrcResponse)__value); + } + break; + + default: + throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); + } + } + + public Object getFieldValue(int fieldID) { + switch (fieldID) { + case SUCCESS: + return getSuccess(); + + default: + throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); + } + } + + @Override + public boolean equals(Object _that) { + if (_that == null) + return false; + if (this == _that) + return true; + if (!(_that instanceof getDstBySrc_result)) + return false; + getDstBySrc_result that = (getDstBySrc_result)_that; + + if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } + + return true; + } + + @Override + public int hashCode() { + return Arrays.deepHashCode(new Object[] {success}); + } + + public void read(TProtocol iprot) throws TException { + TField __field; + iprot.readStructBegin(metaDataMap); + while (true) + { + __field = iprot.readFieldBegin(); + if (__field.type == TType.STOP) { + break; + } + switch (__field.id) + { + case SUCCESS: + if (__field.type == TType.STRUCT) { + this.success = new GetDstBySrcResponse(); + this.success.read(iprot); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + default: + TProtocolUtil.skip(iprot, __field.type); + break; + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + + // check for required fields of primitive type, which can't be checked in the validate method + validate(); + } + + public void write(TProtocol oprot) throws TException { + oprot.writeStructBegin(STRUCT_DESC); + + if (this.isSetSuccess()) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + this.success.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + @Override + public String toString() { + return toString(1, true); + } + + @Override + public String toString(int indent, boolean prettyPrint) { + String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; + String newLine = prettyPrint ? "\n" : ""; + String space = prettyPrint ? " " : ""; + StringBuilder sb = new StringBuilder("getDstBySrc_result"); + sb.append(space); + sb.append("("); + sb.append(newLine); + boolean first = true; + + sb.append(indentStr); + sb.append("success"); + sb.append(space); + sb.append(":").append(space); + if (this.getSuccess() == null) { + sb.append("null"); + } else { + sb.append(TBaseHelper.toString(this.getSuccess(), indent + 1, prettyPrint)); + } + first = false; + sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); + sb.append(")"); + return sb.toString(); + } + + public void validate() throws TException { + // check for required fields + } + + } + public static class getProps_args implements TBase, java.io.Serializable, Cloneable { private static final TStruct STRUCT_DESC = new TStruct("getProps_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); diff --git a/client/src/main/generated/com/vesoft/nebula/storage/IndexQueryContext.java b/client/src/main/generated/com/vesoft/nebula/storage/IndexQueryContext.java index c3b2bab3c..4bb51b0b4 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/IndexQueryContext.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/IndexQueryContext.java @@ -305,16 +305,16 @@ public void read(TProtocol iprot) throws TException { case COLUMN_HINTS: if (__field.type == TType.LIST) { { - TList _list169 = iprot.readListBegin(); - this.column_hints = new ArrayList(Math.max(0, _list169.size)); - for (int _i170 = 0; - (_list169.size < 0) ? iprot.peekList() : (_i170 < _list169.size); - ++_i170) + TList _list182 = iprot.readListBegin(); + this.column_hints = new ArrayList(Math.max(0, _list182.size)); + for (int _i183 = 0; + (_list182.size < 0) ? iprot.peekList() : (_i183 < _list182.size); + ++_i183) { - IndexColumnHint _elem171; - _elem171 = new IndexColumnHint(); - _elem171.read(iprot); - this.column_hints.add(_elem171); + IndexColumnHint _elem184; + _elem184 = new IndexColumnHint(); + _elem184.read(iprot); + this.column_hints.add(_elem184); } iprot.readListEnd(); } @@ -351,8 +351,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(COLUMN_HINTS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.column_hints.size())); - for (IndexColumnHint _iter172 : this.column_hints) { - _iter172.write(oprot); + for (IndexColumnHint _iter185 : this.column_hints) { + _iter185.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/IndexSpec.java b/client/src/main/generated/com/vesoft/nebula/storage/IndexSpec.java index d5af1c80d..098f01d35 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/IndexSpec.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/IndexSpec.java @@ -235,16 +235,16 @@ public void read(TProtocol iprot) throws TException { case CONTEXTS: if (__field.type == TType.LIST) { { - TList _list173 = iprot.readListBegin(); - this.contexts = new ArrayList(Math.max(0, _list173.size)); - for (int _i174 = 0; - (_list173.size < 0) ? iprot.peekList() : (_i174 < _list173.size); - ++_i174) + TList _list186 = iprot.readListBegin(); + this.contexts = new ArrayList(Math.max(0, _list186.size)); + for (int _i187 = 0; + (_list186.size < 0) ? iprot.peekList() : (_i187 < _list186.size); + ++_i187) { - IndexQueryContext _elem175; - _elem175 = new IndexQueryContext(); - _elem175.read(iprot); - this.contexts.add(_elem175); + IndexQueryContext _elem188; + _elem188 = new IndexQueryContext(); + _elem188.read(iprot); + this.contexts.add(_elem188); } iprot.readListEnd(); } @@ -281,8 +281,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(CONTEXTS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.contexts.size())); - for (IndexQueryContext _iter176 : this.contexts) { - _iter176.write(oprot); + for (IndexQueryContext _iter189 : this.contexts) { + _iter189.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/InternalStorageService.java b/client/src/main/generated/com/vesoft/nebula/storage/InternalStorageService.java index 66db941f1..f8bd1e579 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/InternalStorageService.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/InternalStorageService.java @@ -231,17 +231,17 @@ public AsyncClient(TProtocolFactory protocolFactory, TAsyncClientManager clientM super(protocolFactory, clientManager, transport); } - public void chainAddEdges(ChainAddEdgesRequest req, AsyncMethodCallback resultHandler535) throws TException { + public void chainAddEdges(ChainAddEdgesRequest req, AsyncMethodCallback resultHandler552) throws TException { checkReady(); - chainAddEdges_call method_call = new chainAddEdges_call(req, resultHandler535, this, ___protocolFactory, ___transport); + chainAddEdges_call method_call = new chainAddEdges_call(req, resultHandler552, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class chainAddEdges_call extends TAsyncMethodCall { private ChainAddEdgesRequest req; - public chainAddEdges_call(ChainAddEdgesRequest req, AsyncMethodCallback resultHandler536, TAsyncClient client532, TProtocolFactory protocolFactory533, TNonblockingTransport transport534) throws TException { - super(client532, protocolFactory533, transport534, resultHandler536, false); + public chainAddEdges_call(ChainAddEdgesRequest req, AsyncMethodCallback resultHandler553, TAsyncClient client549, TProtocolFactory protocolFactory550, TNonblockingTransport transport551) throws TException { + super(client549, protocolFactory550, transport551, resultHandler553, false); this.req = req; } @@ -263,17 +263,17 @@ public ExecResponse getResult() throws TException { } } - public void chainUpdateEdge(ChainUpdateEdgeRequest req, AsyncMethodCallback resultHandler540) throws TException { + public void chainUpdateEdge(ChainUpdateEdgeRequest req, AsyncMethodCallback resultHandler557) throws TException { checkReady(); - chainUpdateEdge_call method_call = new chainUpdateEdge_call(req, resultHandler540, this, ___protocolFactory, ___transport); + chainUpdateEdge_call method_call = new chainUpdateEdge_call(req, resultHandler557, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class chainUpdateEdge_call extends TAsyncMethodCall { private ChainUpdateEdgeRequest req; - public chainUpdateEdge_call(ChainUpdateEdgeRequest req, AsyncMethodCallback resultHandler541, TAsyncClient client537, TProtocolFactory protocolFactory538, TNonblockingTransport transport539) throws TException { - super(client537, protocolFactory538, transport539, resultHandler541, false); + public chainUpdateEdge_call(ChainUpdateEdgeRequest req, AsyncMethodCallback resultHandler558, TAsyncClient client554, TProtocolFactory protocolFactory555, TNonblockingTransport transport556) throws TException { + super(client554, protocolFactory555, transport556, resultHandler558, false); this.req = req; } @@ -295,17 +295,17 @@ public UpdateResponse getResult() throws TException { } } - public void chainDeleteEdges(ChainDeleteEdgesRequest req, AsyncMethodCallback resultHandler545) throws TException { + public void chainDeleteEdges(ChainDeleteEdgesRequest req, AsyncMethodCallback resultHandler562) throws TException { checkReady(); - chainDeleteEdges_call method_call = new chainDeleteEdges_call(req, resultHandler545, this, ___protocolFactory, ___transport); + chainDeleteEdges_call method_call = new chainDeleteEdges_call(req, resultHandler562, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class chainDeleteEdges_call extends TAsyncMethodCall { private ChainDeleteEdgesRequest req; - public chainDeleteEdges_call(ChainDeleteEdgesRequest req, AsyncMethodCallback resultHandler546, TAsyncClient client542, TProtocolFactory protocolFactory543, TNonblockingTransport transport544) throws TException { - super(client542, protocolFactory543, transport544, resultHandler546, false); + public chainDeleteEdges_call(ChainDeleteEdgesRequest req, AsyncMethodCallback resultHandler563, TAsyncClient client559, TProtocolFactory protocolFactory560, TNonblockingTransport transport561) throws TException { + super(client559, protocolFactory560, transport561, resultHandler563, false); this.req = req; } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/KVGetRequest.java b/client/src/main/generated/com/vesoft/nebula/storage/KVGetRequest.java index 88d1e1b57..39b7ec03b 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/KVGetRequest.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/KVGetRequest.java @@ -341,29 +341,29 @@ public void read(TProtocol iprot) throws TException { case PARTS: if (__field.type == TType.MAP) { { - TMap _map224 = iprot.readMapBegin(); - this.parts = new HashMap>(Math.max(0, 2*_map224.size)); - for (int _i225 = 0; - (_map224.size < 0) ? iprot.peekMap() : (_i225 < _map224.size); - ++_i225) + TMap _map241 = iprot.readMapBegin(); + this.parts = new HashMap>(Math.max(0, 2*_map241.size)); + for (int _i242 = 0; + (_map241.size < 0) ? iprot.peekMap() : (_i242 < _map241.size); + ++_i242) { - int _key226; - List _val227; - _key226 = iprot.readI32(); + int _key243; + List _val244; + _key243 = iprot.readI32(); { - TList _list228 = iprot.readListBegin(); - _val227 = new ArrayList(Math.max(0, _list228.size)); - for (int _i229 = 0; - (_list228.size < 0) ? iprot.peekList() : (_i229 < _list228.size); - ++_i229) + TList _list245 = iprot.readListBegin(); + _val244 = new ArrayList(Math.max(0, _list245.size)); + for (int _i246 = 0; + (_list245.size < 0) ? iprot.peekList() : (_i246 < _list245.size); + ++_i246) { - byte[] _elem230; - _elem230 = iprot.readBinary(); - _val227.add(_elem230); + byte[] _elem247; + _elem247 = iprot.readBinary(); + _val244.add(_elem247); } iprot.readListEnd(); } - this.parts.put(_key226, _val227); + this.parts.put(_key243, _val244); } iprot.readMapEnd(); } @@ -403,12 +403,12 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(PARTS_FIELD_DESC); { oprot.writeMapBegin(new TMap(TType.I32, TType.LIST, this.parts.size())); - for (Map.Entry> _iter231 : this.parts.entrySet()) { - oprot.writeI32(_iter231.getKey()); + for (Map.Entry> _iter248 : this.parts.entrySet()) { + oprot.writeI32(_iter248.getKey()); { - oprot.writeListBegin(new TList(TType.STRING, _iter231.getValue().size())); - for (byte[] _iter232 : _iter231.getValue()) { - oprot.writeBinary(_iter232); + oprot.writeListBegin(new TList(TType.STRING, _iter248.getValue().size())); + for (byte[] _iter249 : _iter248.getValue()) { + oprot.writeBinary(_iter249); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/KVGetResponse.java b/client/src/main/generated/com/vesoft/nebula/storage/KVGetResponse.java index c5df8b506..952be169b 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/KVGetResponse.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/KVGetResponse.java @@ -275,17 +275,17 @@ public void read(TProtocol iprot) throws TException { case KEY_VALUES: if (__field.type == TType.MAP) { { - TMap _map233 = iprot.readMapBegin(); - this.key_values = new HashMap(Math.max(0, 2*_map233.size)); - for (int _i234 = 0; - (_map233.size < 0) ? iprot.peekMap() : (_i234 < _map233.size); - ++_i234) + TMap _map250 = iprot.readMapBegin(); + this.key_values = new HashMap(Math.max(0, 2*_map250.size)); + for (int _i251 = 0; + (_map250.size < 0) ? iprot.peekMap() : (_i251 < _map250.size); + ++_i251) { - byte[] _key235; - byte[] _val236; - _key235 = iprot.readBinary(); - _val236 = iprot.readBinary(); - this.key_values.put(_key235, _val236); + byte[] _key252; + byte[] _val253; + _key252 = iprot.readBinary(); + _val253 = iprot.readBinary(); + this.key_values.put(_key252, _val253); } iprot.readMapEnd(); } @@ -319,9 +319,9 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(KEY_VALUES_FIELD_DESC); { oprot.writeMapBegin(new TMap(TType.STRING, TType.STRING, this.key_values.size())); - for (Map.Entry _iter237 : this.key_values.entrySet()) { - oprot.writeBinary(_iter237.getKey()); - oprot.writeBinary(_iter237.getValue()); + for (Map.Entry _iter254 : this.key_values.entrySet()) { + oprot.writeBinary(_iter254.getKey()); + oprot.writeBinary(_iter254.getValue()); } oprot.writeMapEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/KVPutRequest.java b/client/src/main/generated/com/vesoft/nebula/storage/KVPutRequest.java index 6b2e7bb2d..c6e44f3c7 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/KVPutRequest.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/KVPutRequest.java @@ -277,30 +277,30 @@ public void read(TProtocol iprot) throws TException { case PARTS: if (__field.type == TType.MAP) { { - TMap _map238 = iprot.readMapBegin(); - this.parts = new HashMap>(Math.max(0, 2*_map238.size)); - for (int _i239 = 0; - (_map238.size < 0) ? iprot.peekMap() : (_i239 < _map238.size); - ++_i239) + TMap _map255 = iprot.readMapBegin(); + this.parts = new HashMap>(Math.max(0, 2*_map255.size)); + for (int _i256 = 0; + (_map255.size < 0) ? iprot.peekMap() : (_i256 < _map255.size); + ++_i256) { - int _key240; - List _val241; - _key240 = iprot.readI32(); + int _key257; + List _val258; + _key257 = iprot.readI32(); { - TList _list242 = iprot.readListBegin(); - _val241 = new ArrayList(Math.max(0, _list242.size)); - for (int _i243 = 0; - (_list242.size < 0) ? iprot.peekList() : (_i243 < _list242.size); - ++_i243) + TList _list259 = iprot.readListBegin(); + _val258 = new ArrayList(Math.max(0, _list259.size)); + for (int _i260 = 0; + (_list259.size < 0) ? iprot.peekList() : (_i260 < _list259.size); + ++_i260) { - com.vesoft.nebula.KeyValue _elem244; - _elem244 = new com.vesoft.nebula.KeyValue(); - _elem244.read(iprot); - _val241.add(_elem244); + com.vesoft.nebula.KeyValue _elem261; + _elem261 = new com.vesoft.nebula.KeyValue(); + _elem261.read(iprot); + _val258.add(_elem261); } iprot.readListEnd(); } - this.parts.put(_key240, _val241); + this.parts.put(_key257, _val258); } iprot.readMapEnd(); } @@ -332,12 +332,12 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(PARTS_FIELD_DESC); { oprot.writeMapBegin(new TMap(TType.I32, TType.LIST, this.parts.size())); - for (Map.Entry> _iter245 : this.parts.entrySet()) { - oprot.writeI32(_iter245.getKey()); + for (Map.Entry> _iter262 : this.parts.entrySet()) { + oprot.writeI32(_iter262.getKey()); { - oprot.writeListBegin(new TList(TType.STRUCT, _iter245.getValue().size())); - for (com.vesoft.nebula.KeyValue _iter246 : _iter245.getValue()) { - _iter246.write(oprot); + oprot.writeListBegin(new TList(TType.STRUCT, _iter262.getValue().size())); + for (com.vesoft.nebula.KeyValue _iter263 : _iter262.getValue()) { + _iter263.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/KVRemoveRequest.java b/client/src/main/generated/com/vesoft/nebula/storage/KVRemoveRequest.java index 90741c00b..6f199899a 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/KVRemoveRequest.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/KVRemoveRequest.java @@ -277,29 +277,29 @@ public void read(TProtocol iprot) throws TException { case PARTS: if (__field.type == TType.MAP) { { - TMap _map247 = iprot.readMapBegin(); - this.parts = new HashMap>(Math.max(0, 2*_map247.size)); - for (int _i248 = 0; - (_map247.size < 0) ? iprot.peekMap() : (_i248 < _map247.size); - ++_i248) + TMap _map264 = iprot.readMapBegin(); + this.parts = new HashMap>(Math.max(0, 2*_map264.size)); + for (int _i265 = 0; + (_map264.size < 0) ? iprot.peekMap() : (_i265 < _map264.size); + ++_i265) { - int _key249; - List _val250; - _key249 = iprot.readI32(); + int _key266; + List _val267; + _key266 = iprot.readI32(); { - TList _list251 = iprot.readListBegin(); - _val250 = new ArrayList(Math.max(0, _list251.size)); - for (int _i252 = 0; - (_list251.size < 0) ? iprot.peekList() : (_i252 < _list251.size); - ++_i252) + TList _list268 = iprot.readListBegin(); + _val267 = new ArrayList(Math.max(0, _list268.size)); + for (int _i269 = 0; + (_list268.size < 0) ? iprot.peekList() : (_i269 < _list268.size); + ++_i269) { - byte[] _elem253; - _elem253 = iprot.readBinary(); - _val250.add(_elem253); + byte[] _elem270; + _elem270 = iprot.readBinary(); + _val267.add(_elem270); } iprot.readListEnd(); } - this.parts.put(_key249, _val250); + this.parts.put(_key266, _val267); } iprot.readMapEnd(); } @@ -331,12 +331,12 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(PARTS_FIELD_DESC); { oprot.writeMapBegin(new TMap(TType.I32, TType.LIST, this.parts.size())); - for (Map.Entry> _iter254 : this.parts.entrySet()) { - oprot.writeI32(_iter254.getKey()); + for (Map.Entry> _iter271 : this.parts.entrySet()) { + oprot.writeI32(_iter271.getKey()); { - oprot.writeListBegin(new TList(TType.STRING, _iter254.getValue().size())); - for (byte[] _iter255 : _iter254.getValue()) { - oprot.writeBinary(_iter255); + oprot.writeListBegin(new TList(TType.STRING, _iter271.getValue().size())); + for (byte[] _iter272 : _iter271.getValue()) { + oprot.writeBinary(_iter272); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/LookupAndTraverseRequest.java b/client/src/main/generated/com/vesoft/nebula/storage/LookupAndTraverseRequest.java index 8ce8d47b4..1dd9e70d1 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/LookupAndTraverseRequest.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/LookupAndTraverseRequest.java @@ -428,15 +428,15 @@ public void read(TProtocol iprot) throws TException { case PARTS: if (__field.type == TType.LIST) { { - TList _list189 = iprot.readListBegin(); - this.parts = new ArrayList(Math.max(0, _list189.size)); - for (int _i190 = 0; - (_list189.size < 0) ? iprot.peekList() : (_i190 < _list189.size); - ++_i190) + TList _list206 = iprot.readListBegin(); + this.parts = new ArrayList(Math.max(0, _list206.size)); + for (int _i207 = 0; + (_list206.size < 0) ? iprot.peekList() : (_i207 < _list206.size); + ++_i207) { - int _elem191; - _elem191 = iprot.readI32(); - this.parts.add(_elem191); + int _elem208; + _elem208 = iprot.readI32(); + this.parts.add(_elem208); } iprot.readListEnd(); } @@ -495,8 +495,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(PARTS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.I32, this.parts.size())); - for (int _iter192 : this.parts) { - oprot.writeI32(_iter192); + for (int _iter209 : this.parts) { + oprot.writeI32(_iter209); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/LookupIndexRequest.java b/client/src/main/generated/com/vesoft/nebula/storage/LookupIndexRequest.java index d31c73daa..238bd5a97 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/LookupIndexRequest.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/LookupIndexRequest.java @@ -33,6 +33,7 @@ public class LookupIndexRequest implements TBase, java.io.Serializable, Cloneabl private static final TField COMMON_FIELD_DESC = new TField("common", TType.STRUCT, (short)5); private static final TField LIMIT_FIELD_DESC = new TField("limit", TType.I64, (short)6); private static final TField ORDER_BY_FIELD_DESC = new TField("order_by", TType.LIST, (short)7); + private static final TField STAT_COLUMNS_FIELD_DESC = new TField("stat_columns", TType.LIST, (short)8); public int space_id; public List parts; @@ -41,6 +42,7 @@ public class LookupIndexRequest implements TBase, java.io.Serializable, Cloneabl public RequestCommon common; public long limit; public List order_by; + public List stat_columns; public static final int SPACE_ID = 1; public static final int PARTS = 2; public static final int INDICES = 3; @@ -48,6 +50,7 @@ public class LookupIndexRequest implements TBase, java.io.Serializable, Cloneabl public static final int COMMON = 5; public static final int LIMIT = 6; public static final int ORDER_BY = 7; + public static final int STAT_COLUMNS = 8; // isset id assignments private static final int __SPACE_ID_ISSET_ID = 0; @@ -75,6 +78,9 @@ public class LookupIndexRequest implements TBase, java.io.Serializable, Cloneabl tmpMetaDataMap.put(ORDER_BY, new FieldMetaData("order_by", TFieldRequirementType.OPTIONAL, new ListMetaData(TType.LIST, new StructMetaData(TType.STRUCT, OrderBy.class)))); + tmpMetaDataMap.put(STAT_COLUMNS, new FieldMetaData("stat_columns", TFieldRequirementType.OPTIONAL, + new ListMetaData(TType.LIST, + new StructMetaData(TType.STRUCT, StatProp.class)))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } @@ -112,7 +118,8 @@ public LookupIndexRequest( List return_columns, RequestCommon common, long limit, - List order_by) { + List order_by, + List stat_columns) { this(); this.space_id = space_id; setSpace_idIsSet(true); @@ -123,6 +130,7 @@ public LookupIndexRequest( this.limit = limit; setLimitIsSet(true); this.order_by = order_by; + this.stat_columns = stat_columns; } public static class Builder { @@ -133,6 +141,7 @@ public static class Builder { private RequestCommon common; private long limit; private List order_by; + private List stat_columns; BitSet __optional_isset = new BitSet(2); @@ -176,6 +185,11 @@ public Builder setOrder_by(final List order_by) { return this; } + public Builder setStat_columns(final List stat_columns) { + this.stat_columns = stat_columns; + return this; + } + public LookupIndexRequest build() { LookupIndexRequest result = new LookupIndexRequest(); if (__optional_isset.get(__SPACE_ID_ISSET_ID)) { @@ -189,6 +203,7 @@ public LookupIndexRequest build() { result.setLimit(this.limit); } result.setOrder_by(this.order_by); + result.setStat_columns(this.stat_columns); return result; } } @@ -220,6 +235,9 @@ public LookupIndexRequest(LookupIndexRequest other) { if (other.isSetOrder_by()) { this.order_by = TBaseHelper.deepCopy(other.order_by); } + if (other.isSetStat_columns()) { + this.stat_columns = TBaseHelper.deepCopy(other.stat_columns); + } } public LookupIndexRequest deepCopy() { @@ -392,6 +410,30 @@ public void setOrder_byIsSet(boolean __value) { } } + public List getStat_columns() { + return this.stat_columns; + } + + public LookupIndexRequest setStat_columns(List stat_columns) { + this.stat_columns = stat_columns; + return this; + } + + public void unsetStat_columns() { + this.stat_columns = null; + } + + // Returns true if field stat_columns is set (has been assigned a value) and false otherwise + public boolean isSetStat_columns() { + return this.stat_columns != null; + } + + public void setStat_columnsIsSet(boolean __value) { + if (!__value) { + this.stat_columns = null; + } + } + @SuppressWarnings("unchecked") public void setFieldValue(int fieldID, Object __value) { switch (fieldID) { @@ -451,6 +493,14 @@ public void setFieldValue(int fieldID, Object __value) { } break; + case STAT_COLUMNS: + if (__value == null) { + unsetStat_columns(); + } else { + setStat_columns((List)__value); + } + break; + default: throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); } @@ -479,6 +529,9 @@ public Object getFieldValue(int fieldID) { case ORDER_BY: return getOrder_by(); + case STAT_COLUMNS: + return getStat_columns(); + default: throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); } @@ -508,12 +561,14 @@ public boolean equals(Object _that) { if (!TBaseHelper.equalsNobinary(this.isSetOrder_by(), that.isSetOrder_by(), this.order_by, that.order_by)) { return false; } + if (!TBaseHelper.equalsNobinary(this.isSetStat_columns(), that.isSetStat_columns(), this.stat_columns, that.stat_columns)) { return false; } + return true; } @Override public int hashCode() { - return Arrays.deepHashCode(new Object[] {space_id, parts, indices, return_columns, common, limit, order_by}); + return Arrays.deepHashCode(new Object[] {space_id, parts, indices, return_columns, common, limit, order_by, stat_columns}); } public void read(TProtocol iprot) throws TException { @@ -538,15 +593,15 @@ public void read(TProtocol iprot) throws TException { case PARTS: if (__field.type == TType.LIST) { { - TList _list177 = iprot.readListBegin(); - this.parts = new ArrayList(Math.max(0, _list177.size)); - for (int _i178 = 0; - (_list177.size < 0) ? iprot.peekList() : (_i178 < _list177.size); - ++_i178) + TList _list190 = iprot.readListBegin(); + this.parts = new ArrayList(Math.max(0, _list190.size)); + for (int _i191 = 0; + (_list190.size < 0) ? iprot.peekList() : (_i191 < _list190.size); + ++_i191) { - int _elem179; - _elem179 = iprot.readI32(); - this.parts.add(_elem179); + int _elem192; + _elem192 = iprot.readI32(); + this.parts.add(_elem192); } iprot.readListEnd(); } @@ -565,15 +620,15 @@ public void read(TProtocol iprot) throws TException { case RETURN_COLUMNS: if (__field.type == TType.LIST) { { - TList _list180 = iprot.readListBegin(); - this.return_columns = new ArrayList(Math.max(0, _list180.size)); - for (int _i181 = 0; - (_list180.size < 0) ? iprot.peekList() : (_i181 < _list180.size); - ++_i181) + TList _list193 = iprot.readListBegin(); + this.return_columns = new ArrayList(Math.max(0, _list193.size)); + for (int _i194 = 0; + (_list193.size < 0) ? iprot.peekList() : (_i194 < _list193.size); + ++_i194) { - byte[] _elem182; - _elem182 = iprot.readBinary(); - this.return_columns.add(_elem182); + byte[] _elem195; + _elem195 = iprot.readBinary(); + this.return_columns.add(_elem195); } iprot.readListEnd(); } @@ -600,16 +655,36 @@ public void read(TProtocol iprot) throws TException { case ORDER_BY: if (__field.type == TType.LIST) { { - TList _list183 = iprot.readListBegin(); - this.order_by = new ArrayList(Math.max(0, _list183.size)); - for (int _i184 = 0; - (_list183.size < 0) ? iprot.peekList() : (_i184 < _list183.size); - ++_i184) + TList _list196 = iprot.readListBegin(); + this.order_by = new ArrayList(Math.max(0, _list196.size)); + for (int _i197 = 0; + (_list196.size < 0) ? iprot.peekList() : (_i197 < _list196.size); + ++_i197) + { + OrderBy _elem198; + _elem198 = new OrderBy(); + _elem198.read(iprot); + this.order_by.add(_elem198); + } + iprot.readListEnd(); + } + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + case STAT_COLUMNS: + if (__field.type == TType.LIST) { + { + TList _list199 = iprot.readListBegin(); + this.stat_columns = new ArrayList(Math.max(0, _list199.size)); + for (int _i200 = 0; + (_list199.size < 0) ? iprot.peekList() : (_i200 < _list199.size); + ++_i200) { - OrderBy _elem185; - _elem185 = new OrderBy(); - _elem185.read(iprot); - this.order_by.add(_elem185); + StatProp _elem201; + _elem201 = new StatProp(); + _elem201.read(iprot); + this.stat_columns.add(_elem201); } iprot.readListEnd(); } @@ -644,8 +719,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(PARTS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.I32, this.parts.size())); - for (int _iter186 : this.parts) { - oprot.writeI32(_iter186); + for (int _iter202 : this.parts) { + oprot.writeI32(_iter202); } oprot.writeListEnd(); } @@ -661,8 +736,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(RETURN_COLUMNS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRING, this.return_columns.size())); - for (byte[] _iter187 : this.return_columns) { - oprot.writeBinary(_iter187); + for (byte[] _iter203 : this.return_columns) { + oprot.writeBinary(_iter203); } oprot.writeListEnd(); } @@ -686,8 +761,21 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(ORDER_BY_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.order_by.size())); - for (OrderBy _iter188 : this.order_by) { - _iter188.write(oprot); + for (OrderBy _iter204 : this.order_by) { + _iter204.write(oprot); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + } + if (this.stat_columns != null) { + if (isSetStat_columns()) { + oprot.writeFieldBegin(STAT_COLUMNS_FIELD_DESC); + { + oprot.writeListBegin(new TList(TType.STRUCT, this.stat_columns.size())); + for (StatProp _iter205 : this.stat_columns) { + _iter205.write(oprot); } oprot.writeListEnd(); } @@ -794,6 +882,20 @@ public String toString(int indent, boolean prettyPrint) { } first = false; } + if (isSetStat_columns()) + { + if (!first) sb.append("," + newLine); + sb.append(indentStr); + sb.append("stat_columns"); + sb.append(space); + sb.append(":").append(space); + if (this.getStat_columns() == null) { + sb.append("null"); + } else { + sb.append(TBaseHelper.toString(this.getStat_columns(), indent + 1, prettyPrint)); + } + first = false; + } sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); sb.append(")"); return sb.toString(); diff --git a/client/src/main/generated/com/vesoft/nebula/storage/LookupIndexResp.java b/client/src/main/generated/com/vesoft/nebula/storage/LookupIndexResp.java index aee880133..7c701d002 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/LookupIndexResp.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/LookupIndexResp.java @@ -28,11 +28,14 @@ public class LookupIndexResp implements TBase, java.io.Serializable, Cloneable { private static final TStruct STRUCT_DESC = new TStruct("LookupIndexResp"); private static final TField RESULT_FIELD_DESC = new TField("result", TType.STRUCT, (short)1); private static final TField DATA_FIELD_DESC = new TField("data", TType.STRUCT, (short)2); + private static final TField STAT_DATA_FIELD_DESC = new TField("stat_data", TType.STRUCT, (short)3); public ResponseCommon result; public com.vesoft.nebula.DataSet data; + public com.vesoft.nebula.DataSet stat_data; public static final int RESULT = 1; public static final int DATA = 2; + public static final int STAT_DATA = 3; // isset id assignments @@ -44,6 +47,8 @@ public class LookupIndexResp implements TBase, java.io.Serializable, Cloneable { new StructMetaData(TType.STRUCT, ResponseCommon.class))); tmpMetaDataMap.put(DATA, new FieldMetaData("data", TFieldRequirementType.OPTIONAL, new StructMetaData(TType.STRUCT, com.vesoft.nebula.DataSet.class))); + tmpMetaDataMap.put(STAT_DATA, new FieldMetaData("stat_data", TFieldRequirementType.OPTIONAL, + new StructMetaData(TType.STRUCT, com.vesoft.nebula.DataSet.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } @@ -62,15 +67,18 @@ public LookupIndexResp( public LookupIndexResp( ResponseCommon result, - com.vesoft.nebula.DataSet data) { + com.vesoft.nebula.DataSet data, + com.vesoft.nebula.DataSet stat_data) { this(); this.result = result; this.data = data; + this.stat_data = stat_data; } public static class Builder { private ResponseCommon result; private com.vesoft.nebula.DataSet data; + private com.vesoft.nebula.DataSet stat_data; public Builder() { } @@ -85,10 +93,16 @@ public Builder setData(final com.vesoft.nebula.DataSet data) { return this; } + public Builder setStat_data(final com.vesoft.nebula.DataSet stat_data) { + this.stat_data = stat_data; + return this; + } + public LookupIndexResp build() { LookupIndexResp result = new LookupIndexResp(); result.setResult(this.result); result.setData(this.data); + result.setStat_data(this.stat_data); return result; } } @@ -107,6 +121,9 @@ public LookupIndexResp(LookupIndexResp other) { if (other.isSetData()) { this.data = TBaseHelper.deepCopy(other.data); } + if (other.isSetStat_data()) { + this.stat_data = TBaseHelper.deepCopy(other.stat_data); + } } public LookupIndexResp deepCopy() { @@ -161,6 +178,30 @@ public void setDataIsSet(boolean __value) { } } + public com.vesoft.nebula.DataSet getStat_data() { + return this.stat_data; + } + + public LookupIndexResp setStat_data(com.vesoft.nebula.DataSet stat_data) { + this.stat_data = stat_data; + return this; + } + + public void unsetStat_data() { + this.stat_data = null; + } + + // Returns true if field stat_data is set (has been assigned a value) and false otherwise + public boolean isSetStat_data() { + return this.stat_data != null; + } + + public void setStat_dataIsSet(boolean __value) { + if (!__value) { + this.stat_data = null; + } + } + public void setFieldValue(int fieldID, Object __value) { switch (fieldID) { case RESULT: @@ -179,6 +220,14 @@ public void setFieldValue(int fieldID, Object __value) { } break; + case STAT_DATA: + if (__value == null) { + unsetStat_data(); + } else { + setStat_data((com.vesoft.nebula.DataSet)__value); + } + break; + default: throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); } @@ -192,6 +241,9 @@ public Object getFieldValue(int fieldID) { case DATA: return getData(); + case STAT_DATA: + return getStat_data(); + default: throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); } @@ -211,12 +263,14 @@ public boolean equals(Object _that) { if (!TBaseHelper.equalsNobinary(this.isSetData(), that.isSetData(), this.data, that.data)) { return false; } + if (!TBaseHelper.equalsNobinary(this.isSetStat_data(), that.isSetStat_data(), this.stat_data, that.stat_data)) { return false; } + return true; } @Override public int hashCode() { - return Arrays.deepHashCode(new Object[] {result, data}); + return Arrays.deepHashCode(new Object[] {result, data, stat_data}); } public void read(TProtocol iprot) throws TException { @@ -246,6 +300,14 @@ public void read(TProtocol iprot) throws TException { TProtocolUtil.skip(iprot, __field.type); } break; + case STAT_DATA: + if (__field.type == TType.STRUCT) { + this.stat_data = new com.vesoft.nebula.DataSet(); + this.stat_data.read(iprot); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; default: TProtocolUtil.skip(iprot, __field.type); break; @@ -275,6 +337,13 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldEnd(); } } + if (this.stat_data != null) { + if (isSetStat_data()) { + oprot.writeFieldBegin(STAT_DATA_FIELD_DESC); + this.stat_data.write(oprot); + oprot.writeFieldEnd(); + } + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -319,6 +388,20 @@ public String toString(int indent, boolean prettyPrint) { } first = false; } + if (isSetStat_data()) + { + if (!first) sb.append("," + newLine); + sb.append(indentStr); + sb.append("stat_data"); + sb.append(space); + sb.append(":").append(space); + if (this.getStat_data() == null) { + sb.append("null"); + } else { + sb.append(TBaseHelper.toString(this.getStat_data(), indent + 1, prettyPrint)); + } + first = false; + } sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); sb.append(")"); return sb.toString(); diff --git a/client/src/main/generated/com/vesoft/nebula/storage/NewEdge.java b/client/src/main/generated/com/vesoft/nebula/storage/NewEdge.java index 6c9c63f88..1bbebc796 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/NewEdge.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/NewEdge.java @@ -237,16 +237,16 @@ public void read(TProtocol iprot) throws TException { case PROPS: if (__field.type == TType.LIST) { { - TList _list87 = iprot.readListBegin(); - this.props = new ArrayList(Math.max(0, _list87.size)); - for (int _i88 = 0; - (_list87.size < 0) ? iprot.peekList() : (_i88 < _list87.size); - ++_i88) + TList _list100 = iprot.readListBegin(); + this.props = new ArrayList(Math.max(0, _list100.size)); + for (int _i101 = 0; + (_list100.size < 0) ? iprot.peekList() : (_i101 < _list100.size); + ++_i101) { - com.vesoft.nebula.Value _elem89; - _elem89 = new com.vesoft.nebula.Value(); - _elem89.read(iprot); - this.props.add(_elem89); + com.vesoft.nebula.Value _elem102; + _elem102 = new com.vesoft.nebula.Value(); + _elem102.read(iprot); + this.props.add(_elem102); } iprot.readListEnd(); } @@ -280,8 +280,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(PROPS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.props.size())); - for (com.vesoft.nebula.Value _iter90 : this.props) { - _iter90.write(oprot); + for (com.vesoft.nebula.Value _iter103 : this.props) { + _iter103.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/NewTag.java b/client/src/main/generated/com/vesoft/nebula/storage/NewTag.java index c9bba4b8e..3cf08071c 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/NewTag.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/NewTag.java @@ -244,16 +244,16 @@ public void read(TProtocol iprot) throws TException { case PROPS: if (__field.type == TType.LIST) { { - TList _list79 = iprot.readListBegin(); - this.props = new ArrayList(Math.max(0, _list79.size)); - for (int _i80 = 0; - (_list79.size < 0) ? iprot.peekList() : (_i80 < _list79.size); - ++_i80) + TList _list92 = iprot.readListBegin(); + this.props = new ArrayList(Math.max(0, _list92.size)); + for (int _i93 = 0; + (_list92.size < 0) ? iprot.peekList() : (_i93 < _list92.size); + ++_i93) { - com.vesoft.nebula.Value _elem81; - _elem81 = new com.vesoft.nebula.Value(); - _elem81.read(iprot); - this.props.add(_elem81); + com.vesoft.nebula.Value _elem94; + _elem94 = new com.vesoft.nebula.Value(); + _elem94.read(iprot); + this.props.add(_elem94); } iprot.readListEnd(); } @@ -285,8 +285,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(PROPS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.props.size())); - for (com.vesoft.nebula.Value _iter82 : this.props) { - _iter82.write(oprot); + for (com.vesoft.nebula.Value _iter95 : this.props) { + _iter95.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/NewVertex.java b/client/src/main/generated/com/vesoft/nebula/storage/NewVertex.java index 620e70486..b3f71b6c2 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/NewVertex.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/NewVertex.java @@ -237,16 +237,16 @@ public void read(TProtocol iprot) throws TException { case TAGS: if (__field.type == TType.LIST) { { - TList _list83 = iprot.readListBegin(); - this.tags = new ArrayList(Math.max(0, _list83.size)); - for (int _i84 = 0; - (_list83.size < 0) ? iprot.peekList() : (_i84 < _list83.size); - ++_i84) + TList _list96 = iprot.readListBegin(); + this.tags = new ArrayList(Math.max(0, _list96.size)); + for (int _i97 = 0; + (_list96.size < 0) ? iprot.peekList() : (_i97 < _list96.size); + ++_i97) { - NewTag _elem85; - _elem85 = new NewTag(); - _elem85.read(iprot); - this.tags.add(_elem85); + NewTag _elem98; + _elem98 = new NewTag(); + _elem98.read(iprot); + this.tags.add(_elem98); } iprot.readListEnd(); } @@ -280,8 +280,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(TAGS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.tags.size())); - for (NewTag _iter86 : this.tags) { - _iter86.write(oprot); + for (NewTag _iter99 : this.tags) { + _iter99.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/RebuildIndexRequest.java b/client/src/main/generated/com/vesoft/nebula/storage/RebuildIndexRequest.java index 6e7b8b496..43424a546 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/RebuildIndexRequest.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/RebuildIndexRequest.java @@ -339,15 +339,15 @@ public void read(TProtocol iprot) throws TException { case PARTS: if (__field.type == TType.LIST) { { - TList _list285 = iprot.readListBegin(); - this.parts = new ArrayList(Math.max(0, _list285.size)); - for (int _i286 = 0; - (_list285.size < 0) ? iprot.peekList() : (_i286 < _list285.size); - ++_i286) + TList _list306 = iprot.readListBegin(); + this.parts = new ArrayList(Math.max(0, _list306.size)); + for (int _i307 = 0; + (_list306.size < 0) ? iprot.peekList() : (_i307 < _list306.size); + ++_i307) { - int _elem287; - _elem287 = iprot.readI32(); - this.parts.add(_elem287); + int _elem308; + _elem308 = iprot.readI32(); + this.parts.add(_elem308); } iprot.readListEnd(); } @@ -387,8 +387,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(PARTS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.I32, this.parts.size())); - for (int _iter288 : this.parts) { - oprot.writeI32(_iter288); + for (int _iter309 : this.parts) { + oprot.writeI32(_iter309); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/ScanEdgeRequest.java b/client/src/main/generated/com/vesoft/nebula/storage/ScanEdgeRequest.java index 00f3ca327..f40b6c844 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/ScanEdgeRequest.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/ScanEdgeRequest.java @@ -807,18 +807,18 @@ public void read(TProtocol iprot) throws TException { case PARTS: if (__field.type == TType.MAP) { { - TMap _map202 = iprot.readMapBegin(); - this.parts = new HashMap(Math.max(0, 2*_map202.size)); - for (int _i203 = 0; - (_map202.size < 0) ? iprot.peekMap() : (_i203 < _map202.size); - ++_i203) + TMap _map219 = iprot.readMapBegin(); + this.parts = new HashMap(Math.max(0, 2*_map219.size)); + for (int _i220 = 0; + (_map219.size < 0) ? iprot.peekMap() : (_i220 < _map219.size); + ++_i220) { - int _key204; - ScanCursor _val205; - _key204 = iprot.readI32(); - _val205 = new ScanCursor(); - _val205.read(iprot); - this.parts.put(_key204, _val205); + int _key221; + ScanCursor _val222; + _key221 = iprot.readI32(); + _val222 = new ScanCursor(); + _val222.read(iprot); + this.parts.put(_key221, _val222); } iprot.readMapEnd(); } @@ -829,16 +829,16 @@ public void read(TProtocol iprot) throws TException { case RETURN_COLUMNS: if (__field.type == TType.LIST) { { - TList _list206 = iprot.readListBegin(); - this.return_columns = new ArrayList(Math.max(0, _list206.size)); - for (int _i207 = 0; - (_list206.size < 0) ? iprot.peekList() : (_i207 < _list206.size); - ++_i207) + TList _list223 = iprot.readListBegin(); + this.return_columns = new ArrayList(Math.max(0, _list223.size)); + for (int _i224 = 0; + (_list223.size < 0) ? iprot.peekList() : (_i224 < _list223.size); + ++_i224) { - EdgeProp _elem208; - _elem208 = new EdgeProp(); - _elem208.read(iprot); - this.return_columns.add(_elem208); + EdgeProp _elem225; + _elem225 = new EdgeProp(); + _elem225.read(iprot); + this.return_columns.add(_elem225); } iprot.readListEnd(); } @@ -925,9 +925,9 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(PARTS_FIELD_DESC); { oprot.writeMapBegin(new TMap(TType.I32, TType.STRUCT, this.parts.size())); - for (Map.Entry _iter209 : this.parts.entrySet()) { - oprot.writeI32(_iter209.getKey()); - _iter209.getValue().write(oprot); + for (Map.Entry _iter226 : this.parts.entrySet()) { + oprot.writeI32(_iter226.getKey()); + _iter226.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -937,8 +937,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(RETURN_COLUMNS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.return_columns.size())); - for (EdgeProp _iter210 : this.return_columns) { - _iter210.write(oprot); + for (EdgeProp _iter227 : this.return_columns) { + _iter227.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/ScanResponse.java b/client/src/main/generated/com/vesoft/nebula/storage/ScanResponse.java index b0ca09772..17dc5c26f 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/ScanResponse.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/ScanResponse.java @@ -314,18 +314,18 @@ public void read(TProtocol iprot) throws TException { case CURSORS: if (__field.type == TType.MAP) { { - TMap _map211 = iprot.readMapBegin(); - this.cursors = new HashMap(Math.max(0, 2*_map211.size)); - for (int _i212 = 0; - (_map211.size < 0) ? iprot.peekMap() : (_i212 < _map211.size); - ++_i212) + TMap _map228 = iprot.readMapBegin(); + this.cursors = new HashMap(Math.max(0, 2*_map228.size)); + for (int _i229 = 0; + (_map228.size < 0) ? iprot.peekMap() : (_i229 < _map228.size); + ++_i229) { - int _key213; - ScanCursor _val214; - _key213 = iprot.readI32(); - _val214 = new ScanCursor(); - _val214.read(iprot); - this.cursors.put(_key213, _val214); + int _key230; + ScanCursor _val231; + _key230 = iprot.readI32(); + _val231 = new ScanCursor(); + _val231.read(iprot); + this.cursors.put(_key230, _val231); } iprot.readMapEnd(); } @@ -366,9 +366,9 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(CURSORS_FIELD_DESC); { oprot.writeMapBegin(new TMap(TType.I32, TType.STRUCT, this.cursors.size())); - for (Map.Entry _iter215 : this.cursors.entrySet()) { - oprot.writeI32(_iter215.getKey()); - _iter215.getValue().write(oprot); + for (Map.Entry _iter232 : this.cursors.entrySet()) { + oprot.writeI32(_iter232.getKey()); + _iter232.getValue().write(oprot); } oprot.writeMapEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/ScanVertexRequest.java b/client/src/main/generated/com/vesoft/nebula/storage/ScanVertexRequest.java index 18ba9be4e..ec3424de1 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/ScanVertexRequest.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/ScanVertexRequest.java @@ -807,18 +807,18 @@ public void read(TProtocol iprot) throws TException { case PARTS: if (__field.type == TType.MAP) { { - TMap _map193 = iprot.readMapBegin(); - this.parts = new HashMap(Math.max(0, 2*_map193.size)); - for (int _i194 = 0; - (_map193.size < 0) ? iprot.peekMap() : (_i194 < _map193.size); - ++_i194) + TMap _map210 = iprot.readMapBegin(); + this.parts = new HashMap(Math.max(0, 2*_map210.size)); + for (int _i211 = 0; + (_map210.size < 0) ? iprot.peekMap() : (_i211 < _map210.size); + ++_i211) { - int _key195; - ScanCursor _val196; - _key195 = iprot.readI32(); - _val196 = new ScanCursor(); - _val196.read(iprot); - this.parts.put(_key195, _val196); + int _key212; + ScanCursor _val213; + _key212 = iprot.readI32(); + _val213 = new ScanCursor(); + _val213.read(iprot); + this.parts.put(_key212, _val213); } iprot.readMapEnd(); } @@ -829,16 +829,16 @@ public void read(TProtocol iprot) throws TException { case RETURN_COLUMNS: if (__field.type == TType.LIST) { { - TList _list197 = iprot.readListBegin(); - this.return_columns = new ArrayList(Math.max(0, _list197.size)); - for (int _i198 = 0; - (_list197.size < 0) ? iprot.peekList() : (_i198 < _list197.size); - ++_i198) + TList _list214 = iprot.readListBegin(); + this.return_columns = new ArrayList(Math.max(0, _list214.size)); + for (int _i215 = 0; + (_list214.size < 0) ? iprot.peekList() : (_i215 < _list214.size); + ++_i215) { - VertexProp _elem199; - _elem199 = new VertexProp(); - _elem199.read(iprot); - this.return_columns.add(_elem199); + VertexProp _elem216; + _elem216 = new VertexProp(); + _elem216.read(iprot); + this.return_columns.add(_elem216); } iprot.readListEnd(); } @@ -925,9 +925,9 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(PARTS_FIELD_DESC); { oprot.writeMapBegin(new TMap(TType.I32, TType.STRUCT, this.parts.size())); - for (Map.Entry _iter200 : this.parts.entrySet()) { - oprot.writeI32(_iter200.getKey()); - _iter200.getValue().write(oprot); + for (Map.Entry _iter217 : this.parts.entrySet()) { + oprot.writeI32(_iter217.getKey()); + _iter217.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -937,8 +937,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(RETURN_COLUMNS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.return_columns.size())); - for (VertexProp _iter201 : this.return_columns) { - _iter201.write(oprot); + for (VertexProp _iter218 : this.return_columns) { + _iter218.write(oprot); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/StopAdminTaskRequest.java b/client/src/main/generated/com/vesoft/nebula/storage/StopTaskRequest.java similarity index 89% rename from client/src/main/generated/com/vesoft/nebula/storage/StopAdminTaskRequest.java rename to client/src/main/generated/com/vesoft/nebula/storage/StopTaskRequest.java index 4babcfa51..925ca3f9b 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/StopAdminTaskRequest.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/StopTaskRequest.java @@ -24,8 +24,8 @@ import com.facebook.thrift.protocol.*; @SuppressWarnings({ "unused", "serial" }) -public class StopAdminTaskRequest implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("StopAdminTaskRequest"); +public class StopTaskRequest implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("StopTaskRequest"); private static final TField JOB_ID_FIELD_DESC = new TField("job_id", TType.I32, (short)1); private static final TField TASK_ID_FIELD_DESC = new TField("task_id", TType.I32, (short)2); @@ -51,13 +51,13 @@ public class StopAdminTaskRequest implements TBase, java.io.Serializable, Clonea } static { - FieldMetaData.addStructMetaDataMap(StopAdminTaskRequest.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(StopTaskRequest.class, metaDataMap); } - public StopAdminTaskRequest() { + public StopTaskRequest() { } - public StopAdminTaskRequest( + public StopTaskRequest( int job_id, int task_id) { this(); @@ -88,8 +88,8 @@ public Builder setTask_id(final int task_id) { return this; } - public StopAdminTaskRequest build() { - StopAdminTaskRequest result = new StopAdminTaskRequest(); + public StopTaskRequest build() { + StopTaskRequest result = new StopTaskRequest(); if (__optional_isset.get(__JOB_ID_ISSET_ID)) { result.setJob_id(this.job_id); } @@ -107,22 +107,22 @@ public static Builder builder() { /** * Performs a deep copy on other. */ - public StopAdminTaskRequest(StopAdminTaskRequest other) { + public StopTaskRequest(StopTaskRequest other) { __isset_bit_vector.clear(); __isset_bit_vector.or(other.__isset_bit_vector); this.job_id = TBaseHelper.deepCopy(other.job_id); this.task_id = TBaseHelper.deepCopy(other.task_id); } - public StopAdminTaskRequest deepCopy() { - return new StopAdminTaskRequest(this); + public StopTaskRequest deepCopy() { + return new StopTaskRequest(this); } public int getJob_id() { return this.job_id; } - public StopAdminTaskRequest setJob_id(int job_id) { + public StopTaskRequest setJob_id(int job_id) { this.job_id = job_id; setJob_idIsSet(true); return this; @@ -145,7 +145,7 @@ public int getTask_id() { return this.task_id; } - public StopAdminTaskRequest setTask_id(int task_id) { + public StopTaskRequest setTask_id(int task_id) { this.task_id = task_id; setTask_idIsSet(true); return this; @@ -206,9 +206,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof StopAdminTaskRequest)) + if (!(_that instanceof StopTaskRequest)) return false; - StopAdminTaskRequest that = (StopAdminTaskRequest)_that; + StopTaskRequest that = (StopTaskRequest)_that; if (!TBaseHelper.equalsNobinary(this.job_id, that.job_id)) { return false; } @@ -223,7 +223,7 @@ public int hashCode() { } @Override - public int compareTo(StopAdminTaskRequest other) { + public int compareTo(StopTaskRequest other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -317,7 +317,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("StopAdminTaskRequest"); + StringBuilder sb = new StringBuilder("StopTaskRequest"); sb.append(space); sb.append("("); sb.append(newLine); diff --git a/client/src/main/generated/com/vesoft/nebula/storage/StopTaskResp.java b/client/src/main/generated/com/vesoft/nebula/storage/StopTaskResp.java new file mode 100644 index 000000000..f40d3623f --- /dev/null +++ b/client/src/main/generated/com/vesoft/nebula/storage/StopTaskResp.java @@ -0,0 +1,285 @@ +/** + * Autogenerated by Thrift + * + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * @generated + */ +package com.vesoft.nebula.storage; + +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.util.HashMap; +import java.util.Set; +import java.util.HashSet; +import java.util.Collections; +import java.util.BitSet; +import java.util.Arrays; +import com.facebook.thrift.*; +import com.facebook.thrift.annotations.*; +import com.facebook.thrift.async.*; +import com.facebook.thrift.meta_data.*; +import com.facebook.thrift.server.*; +import com.facebook.thrift.transport.*; +import com.facebook.thrift.protocol.*; + +@SuppressWarnings({ "unused", "serial" }) +public class StopTaskResp implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("StopTaskResp"); + private static final TField CODE_FIELD_DESC = new TField("code", TType.I32, (short)1); + + /** + * + * @see com.vesoft.nebula.ErrorCode + */ + public com.vesoft.nebula.ErrorCode code; + public static final int CODE = 1; + + // isset id assignments + + public static final Map metaDataMap; + + static { + Map tmpMetaDataMap = new HashMap(); + tmpMetaDataMap.put(CODE, new FieldMetaData("code", TFieldRequirementType.DEFAULT, + new FieldValueMetaData(TType.I32))); + metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); + } + + static { + FieldMetaData.addStructMetaDataMap(StopTaskResp.class, metaDataMap); + } + + public StopTaskResp() { + } + + public StopTaskResp( + com.vesoft.nebula.ErrorCode code) { + this(); + this.code = code; + } + + public static class Builder { + private com.vesoft.nebula.ErrorCode code; + + public Builder() { + } + + public Builder setCode(final com.vesoft.nebula.ErrorCode code) { + this.code = code; + return this; + } + + public StopTaskResp build() { + StopTaskResp result = new StopTaskResp(); + result.setCode(this.code); + return result; + } + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Performs a deep copy on other. + */ + public StopTaskResp(StopTaskResp other) { + if (other.isSetCode()) { + this.code = TBaseHelper.deepCopy(other.code); + } + } + + public StopTaskResp deepCopy() { + return new StopTaskResp(this); + } + + /** + * + * @see com.vesoft.nebula.ErrorCode + */ + public com.vesoft.nebula.ErrorCode getCode() { + return this.code; + } + + /** + * + * @see com.vesoft.nebula.ErrorCode + */ + public StopTaskResp setCode(com.vesoft.nebula.ErrorCode code) { + this.code = code; + return this; + } + + public void unsetCode() { + this.code = null; + } + + // Returns true if field code is set (has been assigned a value) and false otherwise + public boolean isSetCode() { + return this.code != null; + } + + public void setCodeIsSet(boolean __value) { + if (!__value) { + this.code = null; + } + } + + public void setFieldValue(int fieldID, Object __value) { + switch (fieldID) { + case CODE: + if (__value == null) { + unsetCode(); + } else { + setCode((com.vesoft.nebula.ErrorCode)__value); + } + break; + + default: + throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); + } + } + + public Object getFieldValue(int fieldID) { + switch (fieldID) { + case CODE: + return getCode(); + + default: + throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); + } + } + + @Override + public boolean equals(Object _that) { + if (_that == null) + return false; + if (this == _that) + return true; + if (!(_that instanceof StopTaskResp)) + return false; + StopTaskResp that = (StopTaskResp)_that; + + if (!TBaseHelper.equalsNobinary(this.isSetCode(), that.isSetCode(), this.code, that.code)) { return false; } + + return true; + } + + @Override + public int hashCode() { + return Arrays.deepHashCode(new Object[] {code}); + } + + @Override + public int compareTo(StopTaskResp other) { + if (other == null) { + // See java.lang.Comparable docs + throw new NullPointerException(); + } + + if (other == this) { + return 0; + } + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetCode()).compareTo(other.isSetCode()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(code, other.code); + if (lastComparison != 0) { + return lastComparison; + } + return 0; + } + + public void read(TProtocol iprot) throws TException { + TField __field; + iprot.readStructBegin(metaDataMap); + while (true) + { + __field = iprot.readFieldBegin(); + if (__field.type == TType.STOP) { + break; + } + switch (__field.id) + { + case CODE: + if (__field.type == TType.I32) { + this.code = com.vesoft.nebula.ErrorCode.findByValue(iprot.readI32()); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; + default: + TProtocolUtil.skip(iprot, __field.type); + break; + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + + // check for required fields of primitive type, which can't be checked in the validate method + validate(); + } + + public void write(TProtocol oprot) throws TException { + validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (this.code != null) { + oprot.writeFieldBegin(CODE_FIELD_DESC); + oprot.writeI32(this.code == null ? 0 : this.code.getValue()); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + @Override + public String toString() { + return toString(1, true); + } + + @Override + public String toString(int indent, boolean prettyPrint) { + String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; + String newLine = prettyPrint ? "\n" : ""; + String space = prettyPrint ? " " : ""; + StringBuilder sb = new StringBuilder("StopTaskResp"); + sb.append(space); + sb.append("("); + sb.append(newLine); + boolean first = true; + + sb.append(indentStr); + sb.append("code"); + sb.append(space); + sb.append(":").append(space); + if (this.getCode() == null) { + sb.append("null"); + } else { + String code_name = this.getCode() == null ? "null" : this.getCode().name(); + if (code_name != null) { + sb.append(code_name); + sb.append(" ("); + } + sb.append(this.getCode()); + if (code_name != null) { + sb.append(")"); + } + } + first = false; + sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); + sb.append(")"); + return sb.toString(); + } + + public void validate() throws TException { + // check for required fields + } + +} + diff --git a/client/src/main/generated/com/vesoft/nebula/storage/StorageAdminService.java b/client/src/main/generated/com/vesoft/nebula/storage/StorageAdminService.java index 412a8f3b4..3db7b24ef 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/StorageAdminService.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/StorageAdminService.java @@ -45,21 +45,19 @@ public interface Iface { public CreateCPResp createCheckpoint(CreateCPRequest req) throws TException; - public AdminExecResp dropCheckpoint(DropCPRequest req) throws TException; + public DropCPResp dropCheckpoint(DropCPRequest req) throws TException; - public AdminExecResp blockingWrites(BlockingSignRequest req) throws TException; - - public AdminExecResp rebuildTagIndex(RebuildIndexRequest req) throws TException; - - public AdminExecResp rebuildEdgeIndex(RebuildIndexRequest req) throws TException; + public BlockingSignResp blockingWrites(BlockingSignRequest req) throws TException; public GetLeaderPartsResp getLeaderParts(GetLeaderReq req) throws TException; public AdminExecResp checkPeers(CheckPeersReq req) throws TException; - public AdminExecResp addAdminTask(AddAdminTaskRequest req) throws TException; + public AddTaskResp addAdminTask(AddTaskRequest req) throws TException; - public AdminExecResp stopAdminTask(StopAdminTaskRequest req) throws TException; + public StopTaskResp stopAdminTask(StopTaskRequest req) throws TException; + + public ClearSpaceResp clearSpace(ClearSpaceReq req) throws TException; } @@ -83,17 +81,15 @@ public interface AsyncIface { public void blockingWrites(BlockingSignRequest req, AsyncMethodCallback resultHandler) throws TException; - public void rebuildTagIndex(RebuildIndexRequest req, AsyncMethodCallback resultHandler) throws TException; - - public void rebuildEdgeIndex(RebuildIndexRequest req, AsyncMethodCallback resultHandler) throws TException; - public void getLeaderParts(GetLeaderReq req, AsyncMethodCallback resultHandler) throws TException; public void checkPeers(CheckPeersReq req, AsyncMethodCallback resultHandler) throws TException; - public void addAdminTask(AddAdminTaskRequest req, AsyncMethodCallback resultHandler) throws TException; + public void addAdminTask(AddTaskRequest req, AsyncMethodCallback resultHandler) throws TException; + + public void stopAdminTask(StopTaskRequest req, AsyncMethodCallback resultHandler) throws TException; - public void stopAdminTask(StopAdminTaskRequest req, AsyncMethodCallback resultHandler) throws TException; + public void clearSpace(ClearSpaceReq req, AsyncMethodCallback resultHandler) throws TException; } @@ -441,7 +437,7 @@ public CreateCPResp recv_createCheckpoint() throws TException throw new TApplicationException(TApplicationException.MISSING_RESULT, "createCheckpoint failed: unknown result"); } - public AdminExecResp dropCheckpoint(DropCPRequest req) throws TException + public DropCPResp dropCheckpoint(DropCPRequest req) throws TException { ContextStack ctx = getContextStack("StorageAdminService.dropCheckpoint", null); this.setContextStack(ctx); @@ -463,7 +459,7 @@ public void send_dropCheckpoint(DropCPRequest req) throws TException return; } - public AdminExecResp recv_dropCheckpoint() throws TException + public DropCPResp recv_dropCheckpoint() throws TException { ContextStack ctx = super.getContextStack(); long bytes; @@ -486,7 +482,7 @@ public AdminExecResp recv_dropCheckpoint() throws TException throw new TApplicationException(TApplicationException.MISSING_RESULT, "dropCheckpoint failed: unknown result"); } - public AdminExecResp blockingWrites(BlockingSignRequest req) throws TException + public BlockingSignResp blockingWrites(BlockingSignRequest req) throws TException { ContextStack ctx = getContextStack("StorageAdminService.blockingWrites", null); this.setContextStack(ctx); @@ -508,7 +504,7 @@ public void send_blockingWrites(BlockingSignRequest req) throws TException return; } - public AdminExecResp recv_blockingWrites() throws TException + public BlockingSignResp recv_blockingWrites() throws TException { ContextStack ctx = super.getContextStack(); long bytes; @@ -531,96 +527,6 @@ public AdminExecResp recv_blockingWrites() throws TException throw new TApplicationException(TApplicationException.MISSING_RESULT, "blockingWrites failed: unknown result"); } - public AdminExecResp rebuildTagIndex(RebuildIndexRequest req) throws TException - { - ContextStack ctx = getContextStack("StorageAdminService.rebuildTagIndex", null); - this.setContextStack(ctx); - send_rebuildTagIndex(req); - return recv_rebuildTagIndex(); - } - - public void send_rebuildTagIndex(RebuildIndexRequest req) throws TException - { - ContextStack ctx = this.getContextStack(); - super.preWrite(ctx, "StorageAdminService.rebuildTagIndex", null); - oprot_.writeMessageBegin(new TMessage("rebuildTagIndex", TMessageType.CALL, seqid_)); - rebuildTagIndex_args args = new rebuildTagIndex_args(); - args.req = req; - args.write(oprot_); - oprot_.writeMessageEnd(); - oprot_.getTransport().flush(); - super.postWrite(ctx, "StorageAdminService.rebuildTagIndex", args); - return; - } - - public AdminExecResp recv_rebuildTagIndex() throws TException - { - ContextStack ctx = super.getContextStack(); - long bytes; - TMessageType mtype; - super.preRead(ctx, "StorageAdminService.rebuildTagIndex"); - TMessage msg = iprot_.readMessageBegin(); - if (msg.type == TMessageType.EXCEPTION) { - TApplicationException x = TApplicationException.read(iprot_); - iprot_.readMessageEnd(); - throw x; - } - rebuildTagIndex_result result = new rebuildTagIndex_result(); - result.read(iprot_); - iprot_.readMessageEnd(); - super.postRead(ctx, "StorageAdminService.rebuildTagIndex", result); - - if (result.isSetSuccess()) { - return result.success; - } - throw new TApplicationException(TApplicationException.MISSING_RESULT, "rebuildTagIndex failed: unknown result"); - } - - public AdminExecResp rebuildEdgeIndex(RebuildIndexRequest req) throws TException - { - ContextStack ctx = getContextStack("StorageAdminService.rebuildEdgeIndex", null); - this.setContextStack(ctx); - send_rebuildEdgeIndex(req); - return recv_rebuildEdgeIndex(); - } - - public void send_rebuildEdgeIndex(RebuildIndexRequest req) throws TException - { - ContextStack ctx = this.getContextStack(); - super.preWrite(ctx, "StorageAdminService.rebuildEdgeIndex", null); - oprot_.writeMessageBegin(new TMessage("rebuildEdgeIndex", TMessageType.CALL, seqid_)); - rebuildEdgeIndex_args args = new rebuildEdgeIndex_args(); - args.req = req; - args.write(oprot_); - oprot_.writeMessageEnd(); - oprot_.getTransport().flush(); - super.postWrite(ctx, "StorageAdminService.rebuildEdgeIndex", args); - return; - } - - public AdminExecResp recv_rebuildEdgeIndex() throws TException - { - ContextStack ctx = super.getContextStack(); - long bytes; - TMessageType mtype; - super.preRead(ctx, "StorageAdminService.rebuildEdgeIndex"); - TMessage msg = iprot_.readMessageBegin(); - if (msg.type == TMessageType.EXCEPTION) { - TApplicationException x = TApplicationException.read(iprot_); - iprot_.readMessageEnd(); - throw x; - } - rebuildEdgeIndex_result result = new rebuildEdgeIndex_result(); - result.read(iprot_); - iprot_.readMessageEnd(); - super.postRead(ctx, "StorageAdminService.rebuildEdgeIndex", result); - - if (result.isSetSuccess()) { - return result.success; - } - throw new TApplicationException(TApplicationException.MISSING_RESULT, "rebuildEdgeIndex failed: unknown result"); - } - public GetLeaderPartsResp getLeaderParts(GetLeaderReq req) throws TException { ContextStack ctx = getContextStack("StorageAdminService.getLeaderParts", null); @@ -711,7 +617,7 @@ public AdminExecResp recv_checkPeers() throws TException throw new TApplicationException(TApplicationException.MISSING_RESULT, "checkPeers failed: unknown result"); } - public AdminExecResp addAdminTask(AddAdminTaskRequest req) throws TException + public AddTaskResp addAdminTask(AddTaskRequest req) throws TException { ContextStack ctx = getContextStack("StorageAdminService.addAdminTask", null); this.setContextStack(ctx); @@ -719,7 +625,7 @@ public AdminExecResp addAdminTask(AddAdminTaskRequest req) throws TException return recv_addAdminTask(); } - public void send_addAdminTask(AddAdminTaskRequest req) throws TException + public void send_addAdminTask(AddTaskRequest req) throws TException { ContextStack ctx = this.getContextStack(); super.preWrite(ctx, "StorageAdminService.addAdminTask", null); @@ -733,7 +639,7 @@ public void send_addAdminTask(AddAdminTaskRequest req) throws TException return; } - public AdminExecResp recv_addAdminTask() throws TException + public AddTaskResp recv_addAdminTask() throws TException { ContextStack ctx = super.getContextStack(); long bytes; @@ -756,7 +662,7 @@ public AdminExecResp recv_addAdminTask() throws TException throw new TApplicationException(TApplicationException.MISSING_RESULT, "addAdminTask failed: unknown result"); } - public AdminExecResp stopAdminTask(StopAdminTaskRequest req) throws TException + public StopTaskResp stopAdminTask(StopTaskRequest req) throws TException { ContextStack ctx = getContextStack("StorageAdminService.stopAdminTask", null); this.setContextStack(ctx); @@ -764,7 +670,7 @@ public AdminExecResp stopAdminTask(StopAdminTaskRequest req) throws TException return recv_stopAdminTask(); } - public void send_stopAdminTask(StopAdminTaskRequest req) throws TException + public void send_stopAdminTask(StopTaskRequest req) throws TException { ContextStack ctx = this.getContextStack(); super.preWrite(ctx, "StorageAdminService.stopAdminTask", null); @@ -778,7 +684,7 @@ public void send_stopAdminTask(StopAdminTaskRequest req) throws TException return; } - public AdminExecResp recv_stopAdminTask() throws TException + public StopTaskResp recv_stopAdminTask() throws TException { ContextStack ctx = super.getContextStack(); long bytes; @@ -801,6 +707,51 @@ public AdminExecResp recv_stopAdminTask() throws TException throw new TApplicationException(TApplicationException.MISSING_RESULT, "stopAdminTask failed: unknown result"); } + public ClearSpaceResp clearSpace(ClearSpaceReq req) throws TException + { + ContextStack ctx = getContextStack("StorageAdminService.clearSpace", null); + this.setContextStack(ctx); + send_clearSpace(req); + return recv_clearSpace(); + } + + public void send_clearSpace(ClearSpaceReq req) throws TException + { + ContextStack ctx = this.getContextStack(); + super.preWrite(ctx, "StorageAdminService.clearSpace", null); + oprot_.writeMessageBegin(new TMessage("clearSpace", TMessageType.CALL, seqid_)); + clearSpace_args args = new clearSpace_args(); + args.req = req; + args.write(oprot_); + oprot_.writeMessageEnd(); + oprot_.getTransport().flush(); + super.postWrite(ctx, "StorageAdminService.clearSpace", args); + return; + } + + public ClearSpaceResp recv_clearSpace() throws TException + { + ContextStack ctx = super.getContextStack(); + long bytes; + TMessageType mtype; + super.preRead(ctx, "StorageAdminService.clearSpace"); + TMessage msg = iprot_.readMessageBegin(); + if (msg.type == TMessageType.EXCEPTION) { + TApplicationException x = TApplicationException.read(iprot_); + iprot_.readMessageEnd(); + throw x; + } + clearSpace_result result = new clearSpace_result(); + result.read(iprot_); + iprot_.readMessageEnd(); + super.postRead(ctx, "StorageAdminService.clearSpace", result); + + if (result.isSetSuccess()) { + return result.success; + } + throw new TApplicationException(TApplicationException.MISSING_RESULT, "clearSpace failed: unknown result"); + } + } public static class AsyncClient extends TAsyncClient implements AsyncIface { public static class Factory implements TAsyncClientFactory { @@ -819,17 +770,17 @@ public AsyncClient(TProtocolFactory protocolFactory, TAsyncClientManager clientM super(protocolFactory, clientManager, transport); } - public void transLeader(TransLeaderReq req, AsyncMethodCallback resultHandler457) throws TException { + public void transLeader(TransLeaderReq req, AsyncMethodCallback resultHandler479) throws TException { checkReady(); - transLeader_call method_call = new transLeader_call(req, resultHandler457, this, ___protocolFactory, ___transport); + transLeader_call method_call = new transLeader_call(req, resultHandler479, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class transLeader_call extends TAsyncMethodCall { private TransLeaderReq req; - public transLeader_call(TransLeaderReq req, AsyncMethodCallback resultHandler458, TAsyncClient client454, TProtocolFactory protocolFactory455, TNonblockingTransport transport456) throws TException { - super(client454, protocolFactory455, transport456, resultHandler458, false); + public transLeader_call(TransLeaderReq req, AsyncMethodCallback resultHandler480, TAsyncClient client476, TProtocolFactory protocolFactory477, TNonblockingTransport transport478) throws TException { + super(client476, protocolFactory477, transport478, resultHandler480, false); this.req = req; } @@ -851,17 +802,17 @@ public AdminExecResp getResult() throws TException { } } - public void addPart(AddPartReq req, AsyncMethodCallback resultHandler462) throws TException { + public void addPart(AddPartReq req, AsyncMethodCallback resultHandler484) throws TException { checkReady(); - addPart_call method_call = new addPart_call(req, resultHandler462, this, ___protocolFactory, ___transport); + addPart_call method_call = new addPart_call(req, resultHandler484, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class addPart_call extends TAsyncMethodCall { private AddPartReq req; - public addPart_call(AddPartReq req, AsyncMethodCallback resultHandler463, TAsyncClient client459, TProtocolFactory protocolFactory460, TNonblockingTransport transport461) throws TException { - super(client459, protocolFactory460, transport461, resultHandler463, false); + public addPart_call(AddPartReq req, AsyncMethodCallback resultHandler485, TAsyncClient client481, TProtocolFactory protocolFactory482, TNonblockingTransport transport483) throws TException { + super(client481, protocolFactory482, transport483, resultHandler485, false); this.req = req; } @@ -883,17 +834,17 @@ public AdminExecResp getResult() throws TException { } } - public void addLearner(AddLearnerReq req, AsyncMethodCallback resultHandler467) throws TException { + public void addLearner(AddLearnerReq req, AsyncMethodCallback resultHandler489) throws TException { checkReady(); - addLearner_call method_call = new addLearner_call(req, resultHandler467, this, ___protocolFactory, ___transport); + addLearner_call method_call = new addLearner_call(req, resultHandler489, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class addLearner_call extends TAsyncMethodCall { private AddLearnerReq req; - public addLearner_call(AddLearnerReq req, AsyncMethodCallback resultHandler468, TAsyncClient client464, TProtocolFactory protocolFactory465, TNonblockingTransport transport466) throws TException { - super(client464, protocolFactory465, transport466, resultHandler468, false); + public addLearner_call(AddLearnerReq req, AsyncMethodCallback resultHandler490, TAsyncClient client486, TProtocolFactory protocolFactory487, TNonblockingTransport transport488) throws TException { + super(client486, protocolFactory487, transport488, resultHandler490, false); this.req = req; } @@ -915,17 +866,17 @@ public AdminExecResp getResult() throws TException { } } - public void removePart(RemovePartReq req, AsyncMethodCallback resultHandler472) throws TException { + public void removePart(RemovePartReq req, AsyncMethodCallback resultHandler494) throws TException { checkReady(); - removePart_call method_call = new removePart_call(req, resultHandler472, this, ___protocolFactory, ___transport); + removePart_call method_call = new removePart_call(req, resultHandler494, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class removePart_call extends TAsyncMethodCall { private RemovePartReq req; - public removePart_call(RemovePartReq req, AsyncMethodCallback resultHandler473, TAsyncClient client469, TProtocolFactory protocolFactory470, TNonblockingTransport transport471) throws TException { - super(client469, protocolFactory470, transport471, resultHandler473, false); + public removePart_call(RemovePartReq req, AsyncMethodCallback resultHandler495, TAsyncClient client491, TProtocolFactory protocolFactory492, TNonblockingTransport transport493) throws TException { + super(client491, protocolFactory492, transport493, resultHandler495, false); this.req = req; } @@ -947,17 +898,17 @@ public AdminExecResp getResult() throws TException { } } - public void memberChange(MemberChangeReq req, AsyncMethodCallback resultHandler477) throws TException { + public void memberChange(MemberChangeReq req, AsyncMethodCallback resultHandler499) throws TException { checkReady(); - memberChange_call method_call = new memberChange_call(req, resultHandler477, this, ___protocolFactory, ___transport); + memberChange_call method_call = new memberChange_call(req, resultHandler499, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class memberChange_call extends TAsyncMethodCall { private MemberChangeReq req; - public memberChange_call(MemberChangeReq req, AsyncMethodCallback resultHandler478, TAsyncClient client474, TProtocolFactory protocolFactory475, TNonblockingTransport transport476) throws TException { - super(client474, protocolFactory475, transport476, resultHandler478, false); + public memberChange_call(MemberChangeReq req, AsyncMethodCallback resultHandler500, TAsyncClient client496, TProtocolFactory protocolFactory497, TNonblockingTransport transport498) throws TException { + super(client496, protocolFactory497, transport498, resultHandler500, false); this.req = req; } @@ -979,17 +930,17 @@ public AdminExecResp getResult() throws TException { } } - public void waitingForCatchUpData(CatchUpDataReq req, AsyncMethodCallback resultHandler482) throws TException { + public void waitingForCatchUpData(CatchUpDataReq req, AsyncMethodCallback resultHandler504) throws TException { checkReady(); - waitingForCatchUpData_call method_call = new waitingForCatchUpData_call(req, resultHandler482, this, ___protocolFactory, ___transport); + waitingForCatchUpData_call method_call = new waitingForCatchUpData_call(req, resultHandler504, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class waitingForCatchUpData_call extends TAsyncMethodCall { private CatchUpDataReq req; - public waitingForCatchUpData_call(CatchUpDataReq req, AsyncMethodCallback resultHandler483, TAsyncClient client479, TProtocolFactory protocolFactory480, TNonblockingTransport transport481) throws TException { - super(client479, protocolFactory480, transport481, resultHandler483, false); + public waitingForCatchUpData_call(CatchUpDataReq req, AsyncMethodCallback resultHandler505, TAsyncClient client501, TProtocolFactory protocolFactory502, TNonblockingTransport transport503) throws TException { + super(client501, protocolFactory502, transport503, resultHandler505, false); this.req = req; } @@ -1011,17 +962,17 @@ public AdminExecResp getResult() throws TException { } } - public void createCheckpoint(CreateCPRequest req, AsyncMethodCallback resultHandler487) throws TException { + public void createCheckpoint(CreateCPRequest req, AsyncMethodCallback resultHandler509) throws TException { checkReady(); - createCheckpoint_call method_call = new createCheckpoint_call(req, resultHandler487, this, ___protocolFactory, ___transport); + createCheckpoint_call method_call = new createCheckpoint_call(req, resultHandler509, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class createCheckpoint_call extends TAsyncMethodCall { private CreateCPRequest req; - public createCheckpoint_call(CreateCPRequest req, AsyncMethodCallback resultHandler488, TAsyncClient client484, TProtocolFactory protocolFactory485, TNonblockingTransport transport486) throws TException { - super(client484, protocolFactory485, transport486, resultHandler488, false); + public createCheckpoint_call(CreateCPRequest req, AsyncMethodCallback resultHandler510, TAsyncClient client506, TProtocolFactory protocolFactory507, TNonblockingTransport transport508) throws TException { + super(client506, protocolFactory507, transport508, resultHandler510, false); this.req = req; } @@ -1043,17 +994,17 @@ public CreateCPResp getResult() throws TException { } } - public void dropCheckpoint(DropCPRequest req, AsyncMethodCallback resultHandler492) throws TException { + public void dropCheckpoint(DropCPRequest req, AsyncMethodCallback resultHandler514) throws TException { checkReady(); - dropCheckpoint_call method_call = new dropCheckpoint_call(req, resultHandler492, this, ___protocolFactory, ___transport); + dropCheckpoint_call method_call = new dropCheckpoint_call(req, resultHandler514, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class dropCheckpoint_call extends TAsyncMethodCall { private DropCPRequest req; - public dropCheckpoint_call(DropCPRequest req, AsyncMethodCallback resultHandler493, TAsyncClient client489, TProtocolFactory protocolFactory490, TNonblockingTransport transport491) throws TException { - super(client489, protocolFactory490, transport491, resultHandler493, false); + public dropCheckpoint_call(DropCPRequest req, AsyncMethodCallback resultHandler515, TAsyncClient client511, TProtocolFactory protocolFactory512, TNonblockingTransport transport513) throws TException { + super(client511, protocolFactory512, transport513, resultHandler515, false); this.req = req; } @@ -1065,7 +1016,7 @@ public void write_args(TProtocol prot) throws TException { prot.writeMessageEnd(); } - public AdminExecResp getResult() throws TException { + public DropCPResp getResult() throws TException { if (getState() != State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } @@ -1075,17 +1026,17 @@ public AdminExecResp getResult() throws TException { } } - public void blockingWrites(BlockingSignRequest req, AsyncMethodCallback resultHandler497) throws TException { + public void blockingWrites(BlockingSignRequest req, AsyncMethodCallback resultHandler519) throws TException { checkReady(); - blockingWrites_call method_call = new blockingWrites_call(req, resultHandler497, this, ___protocolFactory, ___transport); + blockingWrites_call method_call = new blockingWrites_call(req, resultHandler519, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } public static class blockingWrites_call extends TAsyncMethodCall { private BlockingSignRequest req; - public blockingWrites_call(BlockingSignRequest req, AsyncMethodCallback resultHandler498, TAsyncClient client494, TProtocolFactory protocolFactory495, TNonblockingTransport transport496) throws TException { - super(client494, protocolFactory495, transport496, resultHandler498, false); + public blockingWrites_call(BlockingSignRequest req, AsyncMethodCallback resultHandler520, TAsyncClient client516, TProtocolFactory protocolFactory517, TNonblockingTransport transport518) throws TException { + super(client516, protocolFactory517, transport518, resultHandler520, false); this.req = req; } @@ -1097,7 +1048,7 @@ public void write_args(TProtocol prot) throws TException { prot.writeMessageEnd(); } - public AdminExecResp getResult() throws TException { + public BlockingSignResp getResult() throws TException { if (getState() != State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } @@ -1107,55 +1058,55 @@ public AdminExecResp getResult() throws TException { } } - public void rebuildTagIndex(RebuildIndexRequest req, AsyncMethodCallback resultHandler502) throws TException { + public void getLeaderParts(GetLeaderReq req, AsyncMethodCallback resultHandler524) throws TException { checkReady(); - rebuildTagIndex_call method_call = new rebuildTagIndex_call(req, resultHandler502, this, ___protocolFactory, ___transport); + getLeaderParts_call method_call = new getLeaderParts_call(req, resultHandler524, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class rebuildTagIndex_call extends TAsyncMethodCall { - private RebuildIndexRequest req; - public rebuildTagIndex_call(RebuildIndexRequest req, AsyncMethodCallback resultHandler503, TAsyncClient client499, TProtocolFactory protocolFactory500, TNonblockingTransport transport501) throws TException { - super(client499, protocolFactory500, transport501, resultHandler503, false); + public static class getLeaderParts_call extends TAsyncMethodCall { + private GetLeaderReq req; + public getLeaderParts_call(GetLeaderReq req, AsyncMethodCallback resultHandler525, TAsyncClient client521, TProtocolFactory protocolFactory522, TNonblockingTransport transport523) throws TException { + super(client521, protocolFactory522, transport523, resultHandler525, false); this.req = req; } public void write_args(TProtocol prot) throws TException { - prot.writeMessageBegin(new TMessage("rebuildTagIndex", TMessageType.CALL, 0)); - rebuildTagIndex_args args = new rebuildTagIndex_args(); + prot.writeMessageBegin(new TMessage("getLeaderParts", TMessageType.CALL, 0)); + getLeaderParts_args args = new getLeaderParts_args(); args.setReq(req); args.write(prot); prot.writeMessageEnd(); } - public AdminExecResp getResult() throws TException { + public GetLeaderPartsResp getResult() throws TException { if (getState() != State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } TMemoryInputTransport memoryTransport = new TMemoryInputTransport(getFrameBuffer().array()); TProtocol prot = super.client.getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_rebuildTagIndex(); + return (new Client(prot)).recv_getLeaderParts(); } } - public void rebuildEdgeIndex(RebuildIndexRequest req, AsyncMethodCallback resultHandler507) throws TException { + public void checkPeers(CheckPeersReq req, AsyncMethodCallback resultHandler529) throws TException { checkReady(); - rebuildEdgeIndex_call method_call = new rebuildEdgeIndex_call(req, resultHandler507, this, ___protocolFactory, ___transport); + checkPeers_call method_call = new checkPeers_call(req, resultHandler529, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class rebuildEdgeIndex_call extends TAsyncMethodCall { - private RebuildIndexRequest req; - public rebuildEdgeIndex_call(RebuildIndexRequest req, AsyncMethodCallback resultHandler508, TAsyncClient client504, TProtocolFactory protocolFactory505, TNonblockingTransport transport506) throws TException { - super(client504, protocolFactory505, transport506, resultHandler508, false); + public static class checkPeers_call extends TAsyncMethodCall { + private CheckPeersReq req; + public checkPeers_call(CheckPeersReq req, AsyncMethodCallback resultHandler530, TAsyncClient client526, TProtocolFactory protocolFactory527, TNonblockingTransport transport528) throws TException { + super(client526, protocolFactory527, transport528, resultHandler530, false); this.req = req; } public void write_args(TProtocol prot) throws TException { - prot.writeMessageBegin(new TMessage("rebuildEdgeIndex", TMessageType.CALL, 0)); - rebuildEdgeIndex_args args = new rebuildEdgeIndex_args(); + prot.writeMessageBegin(new TMessage("checkPeers", TMessageType.CALL, 0)); + checkPeers_args args = new checkPeers_args(); args.setReq(req); args.write(prot); prot.writeMessageEnd(); @@ -1167,135 +1118,103 @@ public AdminExecResp getResult() throws TException { } TMemoryInputTransport memoryTransport = new TMemoryInputTransport(getFrameBuffer().array()); TProtocol prot = super.client.getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_rebuildEdgeIndex(); - } - } - - public void getLeaderParts(GetLeaderReq req, AsyncMethodCallback resultHandler512) throws TException { - checkReady(); - getLeaderParts_call method_call = new getLeaderParts_call(req, resultHandler512, this, ___protocolFactory, ___transport); - this.___currentMethod = method_call; - ___manager.call(method_call); - } - - public static class getLeaderParts_call extends TAsyncMethodCall { - private GetLeaderReq req; - public getLeaderParts_call(GetLeaderReq req, AsyncMethodCallback resultHandler513, TAsyncClient client509, TProtocolFactory protocolFactory510, TNonblockingTransport transport511) throws TException { - super(client509, protocolFactory510, transport511, resultHandler513, false); - this.req = req; - } - - public void write_args(TProtocol prot) throws TException { - prot.writeMessageBegin(new TMessage("getLeaderParts", TMessageType.CALL, 0)); - getLeaderParts_args args = new getLeaderParts_args(); - args.setReq(req); - args.write(prot); - prot.writeMessageEnd(); - } - - public GetLeaderPartsResp getResult() throws TException { - if (getState() != State.RESPONSE_READ) { - throw new IllegalStateException("Method call not finished!"); - } - TMemoryInputTransport memoryTransport = new TMemoryInputTransport(getFrameBuffer().array()); - TProtocol prot = super.client.getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getLeaderParts(); + return (new Client(prot)).recv_checkPeers(); } } - public void checkPeers(CheckPeersReq req, AsyncMethodCallback resultHandler517) throws TException { + public void addAdminTask(AddTaskRequest req, AsyncMethodCallback resultHandler534) throws TException { checkReady(); - checkPeers_call method_call = new checkPeers_call(req, resultHandler517, this, ___protocolFactory, ___transport); + addAdminTask_call method_call = new addAdminTask_call(req, resultHandler534, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class checkPeers_call extends TAsyncMethodCall { - private CheckPeersReq req; - public checkPeers_call(CheckPeersReq req, AsyncMethodCallback resultHandler518, TAsyncClient client514, TProtocolFactory protocolFactory515, TNonblockingTransport transport516) throws TException { - super(client514, protocolFactory515, transport516, resultHandler518, false); + public static class addAdminTask_call extends TAsyncMethodCall { + private AddTaskRequest req; + public addAdminTask_call(AddTaskRequest req, AsyncMethodCallback resultHandler535, TAsyncClient client531, TProtocolFactory protocolFactory532, TNonblockingTransport transport533) throws TException { + super(client531, protocolFactory532, transport533, resultHandler535, false); this.req = req; } public void write_args(TProtocol prot) throws TException { - prot.writeMessageBegin(new TMessage("checkPeers", TMessageType.CALL, 0)); - checkPeers_args args = new checkPeers_args(); + prot.writeMessageBegin(new TMessage("addAdminTask", TMessageType.CALL, 0)); + addAdminTask_args args = new addAdminTask_args(); args.setReq(req); args.write(prot); prot.writeMessageEnd(); } - public AdminExecResp getResult() throws TException { + public AddTaskResp getResult() throws TException { if (getState() != State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } TMemoryInputTransport memoryTransport = new TMemoryInputTransport(getFrameBuffer().array()); TProtocol prot = super.client.getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_checkPeers(); + return (new Client(prot)).recv_addAdminTask(); } } - public void addAdminTask(AddAdminTaskRequest req, AsyncMethodCallback resultHandler522) throws TException { + public void stopAdminTask(StopTaskRequest req, AsyncMethodCallback resultHandler539) throws TException { checkReady(); - addAdminTask_call method_call = new addAdminTask_call(req, resultHandler522, this, ___protocolFactory, ___transport); + stopAdminTask_call method_call = new stopAdminTask_call(req, resultHandler539, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class addAdminTask_call extends TAsyncMethodCall { - private AddAdminTaskRequest req; - public addAdminTask_call(AddAdminTaskRequest req, AsyncMethodCallback resultHandler523, TAsyncClient client519, TProtocolFactory protocolFactory520, TNonblockingTransport transport521) throws TException { - super(client519, protocolFactory520, transport521, resultHandler523, false); + public static class stopAdminTask_call extends TAsyncMethodCall { + private StopTaskRequest req; + public stopAdminTask_call(StopTaskRequest req, AsyncMethodCallback resultHandler540, TAsyncClient client536, TProtocolFactory protocolFactory537, TNonblockingTransport transport538) throws TException { + super(client536, protocolFactory537, transport538, resultHandler540, false); this.req = req; } public void write_args(TProtocol prot) throws TException { - prot.writeMessageBegin(new TMessage("addAdminTask", TMessageType.CALL, 0)); - addAdminTask_args args = new addAdminTask_args(); + prot.writeMessageBegin(new TMessage("stopAdminTask", TMessageType.CALL, 0)); + stopAdminTask_args args = new stopAdminTask_args(); args.setReq(req); args.write(prot); prot.writeMessageEnd(); } - public AdminExecResp getResult() throws TException { + public StopTaskResp getResult() throws TException { if (getState() != State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } TMemoryInputTransport memoryTransport = new TMemoryInputTransport(getFrameBuffer().array()); TProtocol prot = super.client.getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_addAdminTask(); + return (new Client(prot)).recv_stopAdminTask(); } } - public void stopAdminTask(StopAdminTaskRequest req, AsyncMethodCallback resultHandler527) throws TException { + public void clearSpace(ClearSpaceReq req, AsyncMethodCallback resultHandler544) throws TException { checkReady(); - stopAdminTask_call method_call = new stopAdminTask_call(req, resultHandler527, this, ___protocolFactory, ___transport); + clearSpace_call method_call = new clearSpace_call(req, resultHandler544, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class stopAdminTask_call extends TAsyncMethodCall { - private StopAdminTaskRequest req; - public stopAdminTask_call(StopAdminTaskRequest req, AsyncMethodCallback resultHandler528, TAsyncClient client524, TProtocolFactory protocolFactory525, TNonblockingTransport transport526) throws TException { - super(client524, protocolFactory525, transport526, resultHandler528, false); + public static class clearSpace_call extends TAsyncMethodCall { + private ClearSpaceReq req; + public clearSpace_call(ClearSpaceReq req, AsyncMethodCallback resultHandler545, TAsyncClient client541, TProtocolFactory protocolFactory542, TNonblockingTransport transport543) throws TException { + super(client541, protocolFactory542, transport543, resultHandler545, false); this.req = req; } public void write_args(TProtocol prot) throws TException { - prot.writeMessageBegin(new TMessage("stopAdminTask", TMessageType.CALL, 0)); - stopAdminTask_args args = new stopAdminTask_args(); + prot.writeMessageBegin(new TMessage("clearSpace", TMessageType.CALL, 0)); + clearSpace_args args = new clearSpace_args(); args.setReq(req); args.write(prot); prot.writeMessageEnd(); } - public AdminExecResp getResult() throws TException { + public ClearSpaceResp getResult() throws TException { if (getState() != State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } TMemoryInputTransport memoryTransport = new TMemoryInputTransport(getFrameBuffer().array()); TProtocol prot = super.client.getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_stopAdminTask(); + return (new Client(prot)).recv_clearSpace(); } } @@ -1316,12 +1235,11 @@ public Processor(Iface iface) processMap_.put("createCheckpoint", new createCheckpoint()); processMap_.put("dropCheckpoint", new dropCheckpoint()); processMap_.put("blockingWrites", new blockingWrites()); - processMap_.put("rebuildTagIndex", new rebuildTagIndex()); - processMap_.put("rebuildEdgeIndex", new rebuildEdgeIndex()); processMap_.put("getLeaderParts", new getLeaderParts()); processMap_.put("checkPeers", new checkPeers()); processMap_.put("addAdminTask", new addAdminTask()); processMap_.put("stopAdminTask", new stopAdminTask()); + processMap_.put("clearSpace", new clearSpace()); } protected static interface ProcessFunction { @@ -1543,48 +1461,6 @@ public void process(int seqid, TProtocol iprot, TProtocol oprot, TConnectionCont } - private class rebuildTagIndex implements ProcessFunction { - public void process(int seqid, TProtocol iprot, TProtocol oprot, TConnectionContext server_ctx) throws TException - { - Object handler_ctx = event_handler_.getContext("StorageAdminService.rebuildTagIndex", server_ctx); - rebuildTagIndex_args args = new rebuildTagIndex_args(); - event_handler_.preRead(handler_ctx, "StorageAdminService.rebuildTagIndex"); - args.read(iprot); - iprot.readMessageEnd(); - event_handler_.postRead(handler_ctx, "StorageAdminService.rebuildTagIndex", args); - rebuildTagIndex_result result = new rebuildTagIndex_result(); - result.success = iface_.rebuildTagIndex(args.req); - event_handler_.preWrite(handler_ctx, "StorageAdminService.rebuildTagIndex", result); - oprot.writeMessageBegin(new TMessage("rebuildTagIndex", TMessageType.REPLY, seqid)); - result.write(oprot); - oprot.writeMessageEnd(); - oprot.getTransport().flush(); - event_handler_.postWrite(handler_ctx, "StorageAdminService.rebuildTagIndex", result); - } - - } - - private class rebuildEdgeIndex implements ProcessFunction { - public void process(int seqid, TProtocol iprot, TProtocol oprot, TConnectionContext server_ctx) throws TException - { - Object handler_ctx = event_handler_.getContext("StorageAdminService.rebuildEdgeIndex", server_ctx); - rebuildEdgeIndex_args args = new rebuildEdgeIndex_args(); - event_handler_.preRead(handler_ctx, "StorageAdminService.rebuildEdgeIndex"); - args.read(iprot); - iprot.readMessageEnd(); - event_handler_.postRead(handler_ctx, "StorageAdminService.rebuildEdgeIndex", args); - rebuildEdgeIndex_result result = new rebuildEdgeIndex_result(); - result.success = iface_.rebuildEdgeIndex(args.req); - event_handler_.preWrite(handler_ctx, "StorageAdminService.rebuildEdgeIndex", result); - oprot.writeMessageBegin(new TMessage("rebuildEdgeIndex", TMessageType.REPLY, seqid)); - result.write(oprot); - oprot.writeMessageEnd(); - oprot.getTransport().flush(); - event_handler_.postWrite(handler_ctx, "StorageAdminService.rebuildEdgeIndex", result); - } - - } - private class getLeaderParts implements ProcessFunction { public void process(int seqid, TProtocol iprot, TProtocol oprot, TConnectionContext server_ctx) throws TException { @@ -1669,6 +1545,27 @@ public void process(int seqid, TProtocol iprot, TProtocol oprot, TConnectionCont } + private class clearSpace implements ProcessFunction { + public void process(int seqid, TProtocol iprot, TProtocol oprot, TConnectionContext server_ctx) throws TException + { + Object handler_ctx = event_handler_.getContext("StorageAdminService.clearSpace", server_ctx); + clearSpace_args args = new clearSpace_args(); + event_handler_.preRead(handler_ctx, "StorageAdminService.clearSpace"); + args.read(iprot); + iprot.readMessageEnd(); + event_handler_.postRead(handler_ctx, "StorageAdminService.clearSpace", args); + clearSpace_result result = new clearSpace_result(); + result.success = iface_.clearSpace(args.req); + event_handler_.preWrite(handler_ctx, "StorageAdminService.clearSpace", result); + oprot.writeMessageBegin(new TMessage("clearSpace", TMessageType.REPLY, seqid)); + result.write(oprot); + oprot.writeMessageEnd(); + oprot.getTransport().flush(); + event_handler_.postWrite(handler_ctx, "StorageAdminService.clearSpace", result); + } + + } + } public static class transLeader_args implements TBase, java.io.Serializable, Cloneable, Comparable { @@ -4938,7 +4835,7 @@ public static class dropCheckpoint_result implements TBase, java.io.Serializable private static final TStruct STRUCT_DESC = new TStruct("dropCheckpoint_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public AdminExecResp success; + public DropCPResp success; public static final int SUCCESS = 0; // isset id assignments @@ -4948,7 +4845,7 @@ public static class dropCheckpoint_result implements TBase, java.io.Serializable static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, AdminExecResp.class))); + new StructMetaData(TType.STRUCT, DropCPResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } @@ -4960,7 +4857,7 @@ public dropCheckpoint_result() { } public dropCheckpoint_result( - AdminExecResp success) { + DropCPResp success) { this(); this.success = success; } @@ -4978,11 +4875,11 @@ public dropCheckpoint_result deepCopy() { return new dropCheckpoint_result(this); } - public AdminExecResp getSuccess() { + public DropCPResp getSuccess() { return this.success; } - public dropCheckpoint_result setSuccess(AdminExecResp success) { + public dropCheckpoint_result setSuccess(DropCPResp success) { this.success = success; return this; } @@ -5008,7 +4905,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((AdminExecResp)__value); + setSuccess((DropCPResp)__value); } break; @@ -5083,7 +4980,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new AdminExecResp(); + this.success = new DropCPResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -5373,7 +5270,7 @@ public static class blockingWrites_result implements TBase, java.io.Serializable private static final TStruct STRUCT_DESC = new TStruct("blockingWrites_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public AdminExecResp success; + public BlockingSignResp success; public static final int SUCCESS = 0; // isset id assignments @@ -5383,7 +5280,7 @@ public static class blockingWrites_result implements TBase, java.io.Serializable static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, AdminExecResp.class))); + new StructMetaData(TType.STRUCT, BlockingSignResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } @@ -5395,7 +5292,7 @@ public blockingWrites_result() { } public blockingWrites_result( - AdminExecResp success) { + BlockingSignResp success) { this(); this.success = success; } @@ -5413,11 +5310,11 @@ public blockingWrites_result deepCopy() { return new blockingWrites_result(this); } - public AdminExecResp getSuccess() { + public BlockingSignResp getSuccess() { return this.success; } - public blockingWrites_result setSuccess(AdminExecResp success) { + public blockingWrites_result setSuccess(BlockingSignResp success) { this.success = success; return this; } @@ -5443,7 +5340,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((AdminExecResp)__value); + setSuccess((BlockingSignResp)__value); } break; @@ -5518,7 +5415,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new AdminExecResp(); + this.success = new BlockingSignResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -5586,11 +5483,11 @@ public void validate() throws TException { } - public static class rebuildTagIndex_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("rebuildTagIndex_args"); + public static class getLeaderParts_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("getLeaderParts_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public RebuildIndexRequest req; + public GetLeaderReq req; public static final int REQ = 1; // isset id assignments @@ -5600,19 +5497,19 @@ public static class rebuildTagIndex_args implements TBase, java.io.Serializable, static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, RebuildIndexRequest.class))); + new StructMetaData(TType.STRUCT, GetLeaderReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(rebuildTagIndex_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(getLeaderParts_args.class, metaDataMap); } - public rebuildTagIndex_args() { + public getLeaderParts_args() { } - public rebuildTagIndex_args( - RebuildIndexRequest req) { + public getLeaderParts_args( + GetLeaderReq req) { this(); this.req = req; } @@ -5620,21 +5517,21 @@ public rebuildTagIndex_args( /** * Performs a deep copy on other. */ - public rebuildTagIndex_args(rebuildTagIndex_args other) { + public getLeaderParts_args(getLeaderParts_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public rebuildTagIndex_args deepCopy() { - return new rebuildTagIndex_args(this); + public getLeaderParts_args deepCopy() { + return new getLeaderParts_args(this); } - public RebuildIndexRequest getReq() { + public GetLeaderReq getReq() { return this.req; } - public rebuildTagIndex_args setReq(RebuildIndexRequest req) { + public getLeaderParts_args setReq(GetLeaderReq req) { this.req = req; return this; } @@ -5660,7 +5557,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((RebuildIndexRequest)__value); + setReq((GetLeaderReq)__value); } break; @@ -5685,9 +5582,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof rebuildTagIndex_args)) + if (!(_that instanceof getLeaderParts_args)) return false; - rebuildTagIndex_args that = (rebuildTagIndex_args)_that; + getLeaderParts_args that = (getLeaderParts_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -5700,7 +5597,7 @@ public int hashCode() { } @Override - public int compareTo(rebuildTagIndex_args other) { + public int compareTo(getLeaderParts_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -5735,7 +5632,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new RebuildIndexRequest(); + this.req = new GetLeaderReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -5777,7 +5674,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("rebuildTagIndex_args"); + StringBuilder sb = new StringBuilder("getLeaderParts_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -5804,11 +5701,11 @@ public void validate() throws TException { } - public static class rebuildTagIndex_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("rebuildTagIndex_result"); + public static class getLeaderParts_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("getLeaderParts_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public AdminExecResp success; + public GetLeaderPartsResp success; public static final int SUCCESS = 0; // isset id assignments @@ -5818,19 +5715,19 @@ public static class rebuildTagIndex_result implements TBase, java.io.Serializabl static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, AdminExecResp.class))); + new StructMetaData(TType.STRUCT, GetLeaderPartsResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(rebuildTagIndex_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(getLeaderParts_result.class, metaDataMap); } - public rebuildTagIndex_result() { + public getLeaderParts_result() { } - public rebuildTagIndex_result( - AdminExecResp success) { + public getLeaderParts_result( + GetLeaderPartsResp success) { this(); this.success = success; } @@ -5838,21 +5735,21 @@ public rebuildTagIndex_result( /** * Performs a deep copy on other. */ - public rebuildTagIndex_result(rebuildTagIndex_result other) { + public getLeaderParts_result(getLeaderParts_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public rebuildTagIndex_result deepCopy() { - return new rebuildTagIndex_result(this); + public getLeaderParts_result deepCopy() { + return new getLeaderParts_result(this); } - public AdminExecResp getSuccess() { + public GetLeaderPartsResp getSuccess() { return this.success; } - public rebuildTagIndex_result setSuccess(AdminExecResp success) { + public getLeaderParts_result setSuccess(GetLeaderPartsResp success) { this.success = success; return this; } @@ -5878,7 +5775,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((AdminExecResp)__value); + setSuccess((GetLeaderPartsResp)__value); } break; @@ -5903,9 +5800,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof rebuildTagIndex_result)) + if (!(_that instanceof getLeaderParts_result)) return false; - rebuildTagIndex_result that = (rebuildTagIndex_result)_that; + getLeaderParts_result that = (getLeaderParts_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -5918,7 +5815,7 @@ public int hashCode() { } @Override - public int compareTo(rebuildTagIndex_result other) { + public int compareTo(getLeaderParts_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -5953,7 +5850,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new AdminExecResp(); + this.success = new GetLeaderPartsResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -5994,7 +5891,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("rebuildTagIndex_result"); + StringBuilder sb = new StringBuilder("getLeaderParts_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -6021,11 +5918,11 @@ public void validate() throws TException { } - public static class rebuildEdgeIndex_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("rebuildEdgeIndex_args"); + public static class checkPeers_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("checkPeers_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public RebuildIndexRequest req; + public CheckPeersReq req; public static final int REQ = 1; // isset id assignments @@ -6035,19 +5932,19 @@ public static class rebuildEdgeIndex_args implements TBase, java.io.Serializable static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, RebuildIndexRequest.class))); + new StructMetaData(TType.STRUCT, CheckPeersReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(rebuildEdgeIndex_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(checkPeers_args.class, metaDataMap); } - public rebuildEdgeIndex_args() { + public checkPeers_args() { } - public rebuildEdgeIndex_args( - RebuildIndexRequest req) { + public checkPeers_args( + CheckPeersReq req) { this(); this.req = req; } @@ -6055,21 +5952,21 @@ public rebuildEdgeIndex_args( /** * Performs a deep copy on other. */ - public rebuildEdgeIndex_args(rebuildEdgeIndex_args other) { + public checkPeers_args(checkPeers_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public rebuildEdgeIndex_args deepCopy() { - return new rebuildEdgeIndex_args(this); + public checkPeers_args deepCopy() { + return new checkPeers_args(this); } - public RebuildIndexRequest getReq() { + public CheckPeersReq getReq() { return this.req; } - public rebuildEdgeIndex_args setReq(RebuildIndexRequest req) { + public checkPeers_args setReq(CheckPeersReq req) { this.req = req; return this; } @@ -6095,7 +5992,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((RebuildIndexRequest)__value); + setReq((CheckPeersReq)__value); } break; @@ -6120,9 +6017,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof rebuildEdgeIndex_args)) + if (!(_that instanceof checkPeers_args)) return false; - rebuildEdgeIndex_args that = (rebuildEdgeIndex_args)_that; + checkPeers_args that = (checkPeers_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -6135,7 +6032,7 @@ public int hashCode() { } @Override - public int compareTo(rebuildEdgeIndex_args other) { + public int compareTo(checkPeers_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -6170,7 +6067,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new RebuildIndexRequest(); + this.req = new CheckPeersReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -6212,7 +6109,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("rebuildEdgeIndex_args"); + StringBuilder sb = new StringBuilder("checkPeers_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -6239,8 +6136,8 @@ public void validate() throws TException { } - public static class rebuildEdgeIndex_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("rebuildEdgeIndex_result"); + public static class checkPeers_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("checkPeers_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); public AdminExecResp success; @@ -6258,13 +6155,13 @@ public static class rebuildEdgeIndex_result implements TBase, java.io.Serializab } static { - FieldMetaData.addStructMetaDataMap(rebuildEdgeIndex_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(checkPeers_result.class, metaDataMap); } - public rebuildEdgeIndex_result() { + public checkPeers_result() { } - public rebuildEdgeIndex_result( + public checkPeers_result( AdminExecResp success) { this(); this.success = success; @@ -6273,21 +6170,21 @@ public rebuildEdgeIndex_result( /** * Performs a deep copy on other. */ - public rebuildEdgeIndex_result(rebuildEdgeIndex_result other) { + public checkPeers_result(checkPeers_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public rebuildEdgeIndex_result deepCopy() { - return new rebuildEdgeIndex_result(this); + public checkPeers_result deepCopy() { + return new checkPeers_result(this); } public AdminExecResp getSuccess() { return this.success; } - public rebuildEdgeIndex_result setSuccess(AdminExecResp success) { + public checkPeers_result setSuccess(AdminExecResp success) { this.success = success; return this; } @@ -6338,9 +6235,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof rebuildEdgeIndex_result)) + if (!(_that instanceof checkPeers_result)) return false; - rebuildEdgeIndex_result that = (rebuildEdgeIndex_result)_that; + checkPeers_result that = (checkPeers_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -6353,7 +6250,7 @@ public int hashCode() { } @Override - public int compareTo(rebuildEdgeIndex_result other) { + public int compareTo(checkPeers_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -6429,7 +6326,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("rebuildEdgeIndex_result"); + StringBuilder sb = new StringBuilder("checkPeers_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -6456,11 +6353,11 @@ public void validate() throws TException { } - public static class getLeaderParts_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("getLeaderParts_args"); + public static class addAdminTask_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("addAdminTask_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public GetLeaderReq req; + public AddTaskRequest req; public static final int REQ = 1; // isset id assignments @@ -6470,19 +6367,19 @@ public static class getLeaderParts_args implements TBase, java.io.Serializable, static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, GetLeaderReq.class))); + new StructMetaData(TType.STRUCT, AddTaskRequest.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(getLeaderParts_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(addAdminTask_args.class, metaDataMap); } - public getLeaderParts_args() { + public addAdminTask_args() { } - public getLeaderParts_args( - GetLeaderReq req) { + public addAdminTask_args( + AddTaskRequest req) { this(); this.req = req; } @@ -6490,21 +6387,21 @@ public getLeaderParts_args( /** * Performs a deep copy on other. */ - public getLeaderParts_args(getLeaderParts_args other) { + public addAdminTask_args(addAdminTask_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public getLeaderParts_args deepCopy() { - return new getLeaderParts_args(this); + public addAdminTask_args deepCopy() { + return new addAdminTask_args(this); } - public GetLeaderReq getReq() { + public AddTaskRequest getReq() { return this.req; } - public getLeaderParts_args setReq(GetLeaderReq req) { + public addAdminTask_args setReq(AddTaskRequest req) { this.req = req; return this; } @@ -6530,7 +6427,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((GetLeaderReq)__value); + setReq((AddTaskRequest)__value); } break; @@ -6555,9 +6452,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof getLeaderParts_args)) + if (!(_that instanceof addAdminTask_args)) return false; - getLeaderParts_args that = (getLeaderParts_args)_that; + addAdminTask_args that = (addAdminTask_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -6570,7 +6467,7 @@ public int hashCode() { } @Override - public int compareTo(getLeaderParts_args other) { + public int compareTo(addAdminTask_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -6605,7 +6502,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new GetLeaderReq(); + this.req = new AddTaskRequest(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -6647,7 +6544,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("getLeaderParts_args"); + StringBuilder sb = new StringBuilder("addAdminTask_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -6674,11 +6571,11 @@ public void validate() throws TException { } - public static class getLeaderParts_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("getLeaderParts_result"); + public static class addAdminTask_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("addAdminTask_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public GetLeaderPartsResp success; + public AddTaskResp success; public static final int SUCCESS = 0; // isset id assignments @@ -6688,19 +6585,19 @@ public static class getLeaderParts_result implements TBase, java.io.Serializable static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, GetLeaderPartsResp.class))); + new StructMetaData(TType.STRUCT, AddTaskResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(getLeaderParts_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(addAdminTask_result.class, metaDataMap); } - public getLeaderParts_result() { + public addAdminTask_result() { } - public getLeaderParts_result( - GetLeaderPartsResp success) { + public addAdminTask_result( + AddTaskResp success) { this(); this.success = success; } @@ -6708,21 +6605,21 @@ public getLeaderParts_result( /** * Performs a deep copy on other. */ - public getLeaderParts_result(getLeaderParts_result other) { + public addAdminTask_result(addAdminTask_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public getLeaderParts_result deepCopy() { - return new getLeaderParts_result(this); + public addAdminTask_result deepCopy() { + return new addAdminTask_result(this); } - public GetLeaderPartsResp getSuccess() { + public AddTaskResp getSuccess() { return this.success; } - public getLeaderParts_result setSuccess(GetLeaderPartsResp success) { + public addAdminTask_result setSuccess(AddTaskResp success) { this.success = success; return this; } @@ -6748,7 +6645,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((GetLeaderPartsResp)__value); + setSuccess((AddTaskResp)__value); } break; @@ -6773,9 +6670,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof getLeaderParts_result)) + if (!(_that instanceof addAdminTask_result)) return false; - getLeaderParts_result that = (getLeaderParts_result)_that; + addAdminTask_result that = (addAdminTask_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -6788,7 +6685,7 @@ public int hashCode() { } @Override - public int compareTo(getLeaderParts_result other) { + public int compareTo(addAdminTask_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -6823,7 +6720,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new GetLeaderPartsResp(); + this.success = new AddTaskResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -6864,7 +6761,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("getLeaderParts_result"); + StringBuilder sb = new StringBuilder("addAdminTask_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -6891,11 +6788,11 @@ public void validate() throws TException { } - public static class checkPeers_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("checkPeers_args"); + public static class stopAdminTask_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("stopAdminTask_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public CheckPeersReq req; + public StopTaskRequest req; public static final int REQ = 1; // isset id assignments @@ -6905,19 +6802,19 @@ public static class checkPeers_args implements TBase, java.io.Serializable, Clon static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, CheckPeersReq.class))); + new StructMetaData(TType.STRUCT, StopTaskRequest.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(checkPeers_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(stopAdminTask_args.class, metaDataMap); } - public checkPeers_args() { + public stopAdminTask_args() { } - public checkPeers_args( - CheckPeersReq req) { + public stopAdminTask_args( + StopTaskRequest req) { this(); this.req = req; } @@ -6925,21 +6822,21 @@ public checkPeers_args( /** * Performs a deep copy on other. */ - public checkPeers_args(checkPeers_args other) { + public stopAdminTask_args(stopAdminTask_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public checkPeers_args deepCopy() { - return new checkPeers_args(this); + public stopAdminTask_args deepCopy() { + return new stopAdminTask_args(this); } - public CheckPeersReq getReq() { + public StopTaskRequest getReq() { return this.req; } - public checkPeers_args setReq(CheckPeersReq req) { + public stopAdminTask_args setReq(StopTaskRequest req) { this.req = req; return this; } @@ -6965,7 +6862,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((CheckPeersReq)__value); + setReq((StopTaskRequest)__value); } break; @@ -6990,9 +6887,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof checkPeers_args)) + if (!(_that instanceof stopAdminTask_args)) return false; - checkPeers_args that = (checkPeers_args)_that; + stopAdminTask_args that = (stopAdminTask_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -7005,7 +6902,7 @@ public int hashCode() { } @Override - public int compareTo(checkPeers_args other) { + public int compareTo(stopAdminTask_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -7040,7 +6937,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new CheckPeersReq(); + this.req = new StopTaskRequest(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -7082,7 +6979,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("checkPeers_args"); + StringBuilder sb = new StringBuilder("stopAdminTask_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -7109,11 +7006,11 @@ public void validate() throws TException { } - public static class checkPeers_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("checkPeers_result"); + public static class stopAdminTask_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("stopAdminTask_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public AdminExecResp success; + public StopTaskResp success; public static final int SUCCESS = 0; // isset id assignments @@ -7123,19 +7020,19 @@ public static class checkPeers_result implements TBase, java.io.Serializable, Cl static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, AdminExecResp.class))); + new StructMetaData(TType.STRUCT, StopTaskResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(checkPeers_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(stopAdminTask_result.class, metaDataMap); } - public checkPeers_result() { + public stopAdminTask_result() { } - public checkPeers_result( - AdminExecResp success) { + public stopAdminTask_result( + StopTaskResp success) { this(); this.success = success; } @@ -7143,21 +7040,21 @@ public checkPeers_result( /** * Performs a deep copy on other. */ - public checkPeers_result(checkPeers_result other) { + public stopAdminTask_result(stopAdminTask_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public checkPeers_result deepCopy() { - return new checkPeers_result(this); + public stopAdminTask_result deepCopy() { + return new stopAdminTask_result(this); } - public AdminExecResp getSuccess() { + public StopTaskResp getSuccess() { return this.success; } - public checkPeers_result setSuccess(AdminExecResp success) { + public stopAdminTask_result setSuccess(StopTaskResp success) { this.success = success; return this; } @@ -7183,7 +7080,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((AdminExecResp)__value); + setSuccess((StopTaskResp)__value); } break; @@ -7208,9 +7105,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof checkPeers_result)) + if (!(_that instanceof stopAdminTask_result)) return false; - checkPeers_result that = (checkPeers_result)_that; + stopAdminTask_result that = (stopAdminTask_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -7223,7 +7120,7 @@ public int hashCode() { } @Override - public int compareTo(checkPeers_result other) { + public int compareTo(stopAdminTask_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -7258,7 +7155,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new AdminExecResp(); + this.success = new StopTaskResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -7299,7 +7196,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("checkPeers_result"); + StringBuilder sb = new StringBuilder("stopAdminTask_result"); sb.append(space); sb.append("("); sb.append(newLine); @@ -7326,11 +7223,11 @@ public void validate() throws TException { } - public static class addAdminTask_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("addAdminTask_args"); + public static class clearSpace_args implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("clearSpace_args"); private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - public AddAdminTaskRequest req; + public ClearSpaceReq req; public static final int REQ = 1; // isset id assignments @@ -7340,19 +7237,19 @@ public static class addAdminTask_args implements TBase, java.io.Serializable, Cl static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, AddAdminTaskRequest.class))); + new StructMetaData(TType.STRUCT, ClearSpaceReq.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(addAdminTask_args.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(clearSpace_args.class, metaDataMap); } - public addAdminTask_args() { + public clearSpace_args() { } - public addAdminTask_args( - AddAdminTaskRequest req) { + public clearSpace_args( + ClearSpaceReq req) { this(); this.req = req; } @@ -7360,21 +7257,21 @@ public addAdminTask_args( /** * Performs a deep copy on other. */ - public addAdminTask_args(addAdminTask_args other) { + public clearSpace_args(clearSpace_args other) { if (other.isSetReq()) { this.req = TBaseHelper.deepCopy(other.req); } } - public addAdminTask_args deepCopy() { - return new addAdminTask_args(this); + public clearSpace_args deepCopy() { + return new clearSpace_args(this); } - public AddAdminTaskRequest getReq() { + public ClearSpaceReq getReq() { return this.req; } - public addAdminTask_args setReq(AddAdminTaskRequest req) { + public clearSpace_args setReq(ClearSpaceReq req) { this.req = req; return this; } @@ -7400,7 +7297,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetReq(); } else { - setReq((AddAdminTaskRequest)__value); + setReq((ClearSpaceReq)__value); } break; @@ -7425,9 +7322,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof addAdminTask_args)) + if (!(_that instanceof clearSpace_args)) return false; - addAdminTask_args that = (addAdminTask_args)_that; + clearSpace_args that = (clearSpace_args)_that; if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } @@ -7440,7 +7337,7 @@ public int hashCode() { } @Override - public int compareTo(addAdminTask_args other) { + public int compareTo(clearSpace_args other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -7475,7 +7372,7 @@ public void read(TProtocol iprot) throws TException { { case REQ: if (__field.type == TType.STRUCT) { - this.req = new AddAdminTaskRequest(); + this.req = new ClearSpaceReq(); this.req.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -7517,7 +7414,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("addAdminTask_args"); + StringBuilder sb = new StringBuilder("clearSpace_args"); sb.append(space); sb.append("("); sb.append(newLine); @@ -7544,11 +7441,11 @@ public void validate() throws TException { } - public static class addAdminTask_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("addAdminTask_result"); + public static class clearSpace_result implements TBase, java.io.Serializable, Cloneable, Comparable { + private static final TStruct STRUCT_DESC = new TStruct("clearSpace_result"); private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - public AdminExecResp success; + public ClearSpaceResp success; public static final int SUCCESS = 0; // isset id assignments @@ -7558,19 +7455,19 @@ public static class addAdminTask_result implements TBase, java.io.Serializable, static { Map tmpMetaDataMap = new HashMap(); tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, AdminExecResp.class))); + new StructMetaData(TType.STRUCT, ClearSpaceResp.class))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } static { - FieldMetaData.addStructMetaDataMap(addAdminTask_result.class, metaDataMap); + FieldMetaData.addStructMetaDataMap(clearSpace_result.class, metaDataMap); } - public addAdminTask_result() { + public clearSpace_result() { } - public addAdminTask_result( - AdminExecResp success) { + public clearSpace_result( + ClearSpaceResp success) { this(); this.success = success; } @@ -7578,21 +7475,21 @@ public addAdminTask_result( /** * Performs a deep copy on other. */ - public addAdminTask_result(addAdminTask_result other) { + public clearSpace_result(clearSpace_result other) { if (other.isSetSuccess()) { this.success = TBaseHelper.deepCopy(other.success); } } - public addAdminTask_result deepCopy() { - return new addAdminTask_result(this); + public clearSpace_result deepCopy() { + return new clearSpace_result(this); } - public AdminExecResp getSuccess() { + public ClearSpaceResp getSuccess() { return this.success; } - public addAdminTask_result setSuccess(AdminExecResp success) { + public clearSpace_result setSuccess(ClearSpaceResp success) { this.success = success; return this; } @@ -7618,7 +7515,7 @@ public void setFieldValue(int fieldID, Object __value) { if (__value == null) { unsetSuccess(); } else { - setSuccess((AdminExecResp)__value); + setSuccess((ClearSpaceResp)__value); } break; @@ -7643,9 +7540,9 @@ public boolean equals(Object _that) { return false; if (this == _that) return true; - if (!(_that instanceof addAdminTask_result)) + if (!(_that instanceof clearSpace_result)) return false; - addAdminTask_result that = (addAdminTask_result)_that; + clearSpace_result that = (clearSpace_result)_that; if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } @@ -7658,7 +7555,7 @@ public int hashCode() { } @Override - public int compareTo(addAdminTask_result other) { + public int compareTo(clearSpace_result other) { if (other == null) { // See java.lang.Comparable docs throw new NullPointerException(); @@ -7693,7 +7590,7 @@ public void read(TProtocol iprot) throws TException { { case SUCCESS: if (__field.type == TType.STRUCT) { - this.success = new AdminExecResp(); + this.success = new ClearSpaceResp(); this.success.read(iprot); } else { TProtocolUtil.skip(iprot, __field.type); @@ -7734,442 +7631,7 @@ public String toString(int indent, boolean prettyPrint) { String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; String newLine = prettyPrint ? "\n" : ""; String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("addAdminTask_result"); - sb.append(space); - sb.append("("); - sb.append(newLine); - boolean first = true; - - sb.append(indentStr); - sb.append("success"); - sb.append(space); - sb.append(":").append(space); - if (this.getSuccess() == null) { - sb.append("null"); - } else { - sb.append(TBaseHelper.toString(this.getSuccess(), indent + 1, prettyPrint)); - } - first = false; - sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); - sb.append(")"); - return sb.toString(); - } - - public void validate() throws TException { - // check for required fields - } - - } - - public static class stopAdminTask_args implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("stopAdminTask_args"); - private static final TField REQ_FIELD_DESC = new TField("req", TType.STRUCT, (short)1); - - public StopAdminTaskRequest req; - public static final int REQ = 1; - - // isset id assignments - - public static final Map metaDataMap; - - static { - Map tmpMetaDataMap = new HashMap(); - tmpMetaDataMap.put(REQ, new FieldMetaData("req", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, StopAdminTaskRequest.class))); - metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); - } - - static { - FieldMetaData.addStructMetaDataMap(stopAdminTask_args.class, metaDataMap); - } - - public stopAdminTask_args() { - } - - public stopAdminTask_args( - StopAdminTaskRequest req) { - this(); - this.req = req; - } - - /** - * Performs a deep copy on other. - */ - public stopAdminTask_args(stopAdminTask_args other) { - if (other.isSetReq()) { - this.req = TBaseHelper.deepCopy(other.req); - } - } - - public stopAdminTask_args deepCopy() { - return new stopAdminTask_args(this); - } - - public StopAdminTaskRequest getReq() { - return this.req; - } - - public stopAdminTask_args setReq(StopAdminTaskRequest req) { - this.req = req; - return this; - } - - public void unsetReq() { - this.req = null; - } - - // Returns true if field req is set (has been assigned a value) and false otherwise - public boolean isSetReq() { - return this.req != null; - } - - public void setReqIsSet(boolean __value) { - if (!__value) { - this.req = null; - } - } - - public void setFieldValue(int fieldID, Object __value) { - switch (fieldID) { - case REQ: - if (__value == null) { - unsetReq(); - } else { - setReq((StopAdminTaskRequest)__value); - } - break; - - default: - throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); - } - } - - public Object getFieldValue(int fieldID) { - switch (fieldID) { - case REQ: - return getReq(); - - default: - throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); - } - } - - @Override - public boolean equals(Object _that) { - if (_that == null) - return false; - if (this == _that) - return true; - if (!(_that instanceof stopAdminTask_args)) - return false; - stopAdminTask_args that = (stopAdminTask_args)_that; - - if (!TBaseHelper.equalsNobinary(this.isSetReq(), that.isSetReq(), this.req, that.req)) { return false; } - - return true; - } - - @Override - public int hashCode() { - return Arrays.deepHashCode(new Object[] {req}); - } - - @Override - public int compareTo(stopAdminTask_args other) { - if (other == null) { - // See java.lang.Comparable docs - throw new NullPointerException(); - } - - if (other == this) { - return 0; - } - int lastComparison = 0; - - lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = TBaseHelper.compareTo(req, other.req); - if (lastComparison != 0) { - return lastComparison; - } - return 0; - } - - public void read(TProtocol iprot) throws TException { - TField __field; - iprot.readStructBegin(metaDataMap); - while (true) - { - __field = iprot.readFieldBegin(); - if (__field.type == TType.STOP) { - break; - } - switch (__field.id) - { - case REQ: - if (__field.type == TType.STRUCT) { - this.req = new StopAdminTaskRequest(); - this.req.read(iprot); - } else { - TProtocolUtil.skip(iprot, __field.type); - } - break; - default: - TProtocolUtil.skip(iprot, __field.type); - break; - } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); - - - // check for required fields of primitive type, which can't be checked in the validate method - validate(); - } - - public void write(TProtocol oprot) throws TException { - validate(); - - oprot.writeStructBegin(STRUCT_DESC); - if (this.req != null) { - oprot.writeFieldBegin(REQ_FIELD_DESC); - this.req.write(oprot); - oprot.writeFieldEnd(); - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - - @Override - public String toString() { - return toString(1, true); - } - - @Override - public String toString(int indent, boolean prettyPrint) { - String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; - String newLine = prettyPrint ? "\n" : ""; - String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("stopAdminTask_args"); - sb.append(space); - sb.append("("); - sb.append(newLine); - boolean first = true; - - sb.append(indentStr); - sb.append("req"); - sb.append(space); - sb.append(":").append(space); - if (this.getReq() == null) { - sb.append("null"); - } else { - sb.append(TBaseHelper.toString(this.getReq(), indent + 1, prettyPrint)); - } - first = false; - sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); - sb.append(")"); - return sb.toString(); - } - - public void validate() throws TException { - // check for required fields - } - - } - - public static class stopAdminTask_result implements TBase, java.io.Serializable, Cloneable, Comparable { - private static final TStruct STRUCT_DESC = new TStruct("stopAdminTask_result"); - private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0); - - public AdminExecResp success; - public static final int SUCCESS = 0; - - // isset id assignments - - public static final Map metaDataMap; - - static { - Map tmpMetaDataMap = new HashMap(); - tmpMetaDataMap.put(SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, - new StructMetaData(TType.STRUCT, AdminExecResp.class))); - metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); - } - - static { - FieldMetaData.addStructMetaDataMap(stopAdminTask_result.class, metaDataMap); - } - - public stopAdminTask_result() { - } - - public stopAdminTask_result( - AdminExecResp success) { - this(); - this.success = success; - } - - /** - * Performs a deep copy on other. - */ - public stopAdminTask_result(stopAdminTask_result other) { - if (other.isSetSuccess()) { - this.success = TBaseHelper.deepCopy(other.success); - } - } - - public stopAdminTask_result deepCopy() { - return new stopAdminTask_result(this); - } - - public AdminExecResp getSuccess() { - return this.success; - } - - public stopAdminTask_result setSuccess(AdminExecResp 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(int fieldID, Object __value) { - switch (fieldID) { - case SUCCESS: - if (__value == null) { - unsetSuccess(); - } else { - setSuccess((AdminExecResp)__value); - } - break; - - default: - throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); - } - } - - public Object getFieldValue(int fieldID) { - switch (fieldID) { - case SUCCESS: - return getSuccess(); - - default: - throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); - } - } - - @Override - public boolean equals(Object _that) { - if (_that == null) - return false; - if (this == _that) - return true; - if (!(_that instanceof stopAdminTask_result)) - return false; - stopAdminTask_result that = (stopAdminTask_result)_that; - - if (!TBaseHelper.equalsNobinary(this.isSetSuccess(), that.isSetSuccess(), this.success, that.success)) { return false; } - - return true; - } - - @Override - public int hashCode() { - return Arrays.deepHashCode(new Object[] {success}); - } - - @Override - public int compareTo(stopAdminTask_result other) { - if (other == null) { - // See java.lang.Comparable docs - throw new NullPointerException(); - } - - if (other == this) { - return 0; - } - int lastComparison = 0; - - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); - if (lastComparison != 0) { - return lastComparison; - } - lastComparison = TBaseHelper.compareTo(success, other.success); - if (lastComparison != 0) { - return lastComparison; - } - return 0; - } - - public void read(TProtocol iprot) throws TException { - TField __field; - iprot.readStructBegin(metaDataMap); - while (true) - { - __field = iprot.readFieldBegin(); - if (__field.type == TType.STOP) { - break; - } - switch (__field.id) - { - case SUCCESS: - if (__field.type == TType.STRUCT) { - this.success = new AdminExecResp(); - this.success.read(iprot); - } else { - TProtocolUtil.skip(iprot, __field.type); - } - break; - default: - TProtocolUtil.skip(iprot, __field.type); - break; - } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); - - - // check for required fields of primitive type, which can't be checked in the validate method - validate(); - } - - public void write(TProtocol oprot) throws TException { - oprot.writeStructBegin(STRUCT_DESC); - - if (this.isSetSuccess()) { - oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - this.success.write(oprot); - oprot.writeFieldEnd(); - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - - @Override - public String toString() { - return toString(1, true); - } - - @Override - public String toString(int indent, boolean prettyPrint) { - String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; - String newLine = prettyPrint ? "\n" : ""; - String space = prettyPrint ? " " : ""; - StringBuilder sb = new StringBuilder("stopAdminTask_result"); + StringBuilder sb = new StringBuilder("clearSpace_result"); sb.append(space); sb.append("("); sb.append(newLine); diff --git a/client/src/main/generated/com/vesoft/nebula/storage/TaskPara.java b/client/src/main/generated/com/vesoft/nebula/storage/TaskPara.java index 6c66648d5..708c45a3f 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/TaskPara.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/TaskPara.java @@ -345,15 +345,15 @@ public void read(TProtocol iprot) throws TException { case PARTS: if (__field.type == TType.LIST) { { - TList _list216 = iprot.readListBegin(); - this.parts = new ArrayList(Math.max(0, _list216.size)); - for (int _i217 = 0; - (_list216.size < 0) ? iprot.peekList() : (_i217 < _list216.size); - ++_i217) + TList _list233 = iprot.readListBegin(); + this.parts = new ArrayList(Math.max(0, _list233.size)); + for (int _i234 = 0; + (_list233.size < 0) ? iprot.peekList() : (_i234 < _list233.size); + ++_i234) { - int _elem218; - _elem218 = iprot.readI32(); - this.parts.add(_elem218); + int _elem235; + _elem235 = iprot.readI32(); + this.parts.add(_elem235); } iprot.readListEnd(); } @@ -364,15 +364,15 @@ public void read(TProtocol iprot) throws TException { case TASK_SPECIFIC_PARAS: if (__field.type == TType.LIST) { { - TList _list219 = iprot.readListBegin(); - this.task_specific_paras = new ArrayList(Math.max(0, _list219.size)); - for (int _i220 = 0; - (_list219.size < 0) ? iprot.peekList() : (_i220 < _list219.size); - ++_i220) + TList _list236 = iprot.readListBegin(); + this.task_specific_paras = new ArrayList(Math.max(0, _list236.size)); + for (int _i237 = 0; + (_list236.size < 0) ? iprot.peekList() : (_i237 < _list236.size); + ++_i237) { - byte[] _elem221; - _elem221 = iprot.readBinary(); - this.task_specific_paras.add(_elem221); + byte[] _elem238; + _elem238 = iprot.readBinary(); + this.task_specific_paras.add(_elem238); } iprot.readListEnd(); } @@ -405,8 +405,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(PARTS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.I32, this.parts.size())); - for (int _iter222 : this.parts) { - oprot.writeI32(_iter222); + for (int _iter239 : this.parts) { + oprot.writeI32(_iter239); } oprot.writeListEnd(); } @@ -418,8 +418,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(TASK_SPECIFIC_PARAS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRING, this.task_specific_paras.size())); - for (byte[] _iter223 : this.task_specific_paras) { - oprot.writeBinary(_iter223); + for (byte[] _iter240 : this.task_specific_paras) { + oprot.writeBinary(_iter240); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/TraverseSpec.java b/client/src/main/generated/com/vesoft/nebula/storage/TraverseSpec.java index be79d3797..ce28a980e 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/TraverseSpec.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/TraverseSpec.java @@ -37,6 +37,7 @@ public class TraverseSpec implements TBase, java.io.Serializable, Cloneable, Com private static final TField RANDOM_FIELD_DESC = new TField("random", TType.BOOL, (short)9); private static final TField LIMIT_FIELD_DESC = new TField("limit", TType.I64, (short)10); private static final TField FILTER_FIELD_DESC = new TField("filter", TType.STRING, (short)11); + private static final TField TAG_FILTER_FIELD_DESC = new TField("tag_filter", TType.STRING, (short)12); public List edge_types; /** @@ -53,6 +54,7 @@ public class TraverseSpec implements TBase, java.io.Serializable, Cloneable, Com public boolean random; public long limit; public byte[] filter; + public byte[] tag_filter; public static final int EDGE_TYPES = 1; public static final int EDGE_DIRECTION = 2; public static final int DEDUP = 3; @@ -64,6 +66,7 @@ public class TraverseSpec implements TBase, java.io.Serializable, Cloneable, Com public static final int RANDOM = 9; public static final int LIMIT = 10; public static final int FILTER = 11; + public static final int TAG_FILTER = 12; // isset id assignments private static final int __DEDUP_ISSET_ID = 0; @@ -103,6 +106,8 @@ public class TraverseSpec implements TBase, java.io.Serializable, Cloneable, Com new FieldValueMetaData(TType.I64))); tmpMetaDataMap.put(FILTER, new FieldMetaData("filter", TFieldRequirementType.OPTIONAL, new FieldValueMetaData(TType.STRING))); + tmpMetaDataMap.put(TAG_FILTER, new FieldMetaData("tag_filter", TFieldRequirementType.OPTIONAL, + new FieldValueMetaData(TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); } @@ -139,7 +144,8 @@ public TraverseSpec( List order_by, boolean random, long limit, - byte[] filter) { + byte[] filter, + byte[] tag_filter) { this(); this.edge_types = edge_types; this.edge_direction = edge_direction; @@ -155,6 +161,7 @@ public TraverseSpec( this.limit = limit; setLimitIsSet(true); this.filter = filter; + this.tag_filter = tag_filter; } public static class Builder { @@ -169,6 +176,7 @@ public static class Builder { private boolean random; private long limit; private byte[] filter; + private byte[] tag_filter; BitSet __optional_isset = new BitSet(3); @@ -233,6 +241,11 @@ public Builder setFilter(final byte[] filter) { return this; } + public Builder setTag_filter(final byte[] tag_filter) { + this.tag_filter = tag_filter; + return this; + } + public TraverseSpec build() { TraverseSpec result = new TraverseSpec(); result.setEdge_types(this.edge_types); @@ -252,6 +265,7 @@ public TraverseSpec build() { result.setLimit(this.limit); } result.setFilter(this.filter); + result.setTag_filter(this.tag_filter); return result; } } @@ -293,6 +307,9 @@ public TraverseSpec(TraverseSpec other) { if (other.isSetFilter()) { this.filter = TBaseHelper.deepCopy(other.filter); } + if (other.isSetTag_filter()) { + this.tag_filter = TBaseHelper.deepCopy(other.tag_filter); + } } public TraverseSpec deepCopy() { @@ -568,6 +585,30 @@ public void setFilterIsSet(boolean __value) { } } + public byte[] getTag_filter() { + return this.tag_filter; + } + + public TraverseSpec setTag_filter(byte[] tag_filter) { + this.tag_filter = tag_filter; + return this; + } + + public void unsetTag_filter() { + this.tag_filter = null; + } + + // Returns true if field tag_filter is set (has been assigned a value) and false otherwise + public boolean isSetTag_filter() { + return this.tag_filter != null; + } + + public void setTag_filterIsSet(boolean __value) { + if (!__value) { + this.tag_filter = null; + } + } + @SuppressWarnings("unchecked") public void setFieldValue(int fieldID, Object __value) { switch (fieldID) { @@ -659,6 +700,14 @@ public void setFieldValue(int fieldID, Object __value) { } break; + case TAG_FILTER: + if (__value == null) { + unsetTag_filter(); + } else { + setTag_filter((byte[])__value); + } + break; + default: throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); } @@ -699,6 +748,9 @@ public Object getFieldValue(int fieldID) { case FILTER: return getFilter(); + case TAG_FILTER: + return getTag_filter(); + default: throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); } @@ -736,12 +788,14 @@ public boolean equals(Object _that) { if (!TBaseHelper.equalsSlow(this.isSetFilter(), that.isSetFilter(), this.filter, that.filter)) { return false; } + if (!TBaseHelper.equalsSlow(this.isSetTag_filter(), that.isSetTag_filter(), this.tag_filter, that.tag_filter)) { return false; } + return true; } @Override public int hashCode() { - return Arrays.deepHashCode(new Object[] {edge_types, edge_direction, dedup, stat_props, vertex_props, edge_props, expressions, order_by, random, limit, filter}); + return Arrays.deepHashCode(new Object[] {edge_types, edge_direction, dedup, stat_props, vertex_props, edge_props, expressions, order_by, random, limit, filter, tag_filter}); } @Override @@ -844,6 +898,14 @@ public int compareTo(TraverseSpec other) { if (lastComparison != 0) { return lastComparison; } + lastComparison = Boolean.valueOf(isSetTag_filter()).compareTo(other.isSetTag_filter()); + if (lastComparison != 0) { + return lastComparison; + } + lastComparison = TBaseHelper.compareTo(tag_filter, other.tag_filter); + if (lastComparison != 0) { + return lastComparison; + } return 0; } @@ -1015,6 +1077,13 @@ public void read(TProtocol iprot) throws TException { TProtocolUtil.skip(iprot, __field.type); } break; + case TAG_FILTER: + if (__field.type == TType.STRING) { + this.tag_filter = iprot.readBinary(); + } else { + TProtocolUtil.skip(iprot, __field.type); + } + break; default: TProtocolUtil.skip(iprot, __field.type); break; @@ -1133,6 +1202,13 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldEnd(); } } + if (this.tag_filter != null) { + if (isSetTag_filter()) { + oprot.writeFieldBegin(TAG_FILTER_FIELD_DESC); + oprot.writeBinary(this.tag_filter); + oprot.writeFieldEnd(); + } + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -1298,6 +1374,25 @@ public String toString(int indent, boolean prettyPrint) { } first = false; } + if (isSetTag_filter()) + { + if (!first) sb.append("," + newLine); + sb.append(indentStr); + sb.append("tag_filter"); + sb.append(space); + sb.append(":").append(space); + if (this.getTag_filter() == null) { + sb.append("null"); + } else { + int __tag_filter_size = Math.min(this.getTag_filter().length, 128); + for (int i = 0; i < __tag_filter_size; i++) { + if (i != 0) sb.append(" "); + sb.append(Integer.toHexString(this.getTag_filter()[i]).length() > 1 ? Integer.toHexString(this.getTag_filter()[i]).substring(Integer.toHexString(this.getTag_filter()[i]).length() - 2).toUpperCase() : "0" + Integer.toHexString(this.getTag_filter()[i]).toUpperCase()); + } + if (this.getTag_filter().length > 128) sb.append(" ..."); + } + first = false; + } sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); sb.append(")"); return sb.toString(); diff --git a/client/src/main/generated/com/vesoft/nebula/storage/UpdateEdgeRequest.java b/client/src/main/generated/com/vesoft/nebula/storage/UpdateEdgeRequest.java index 2e3a4345e..01ec03e08 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/UpdateEdgeRequest.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/UpdateEdgeRequest.java @@ -605,16 +605,16 @@ public void read(TProtocol iprot) throws TException { case UPDATED_PROPS: if (__field.type == TType.LIST) { { - TList _list161 = iprot.readListBegin(); - this.updated_props = new ArrayList(Math.max(0, _list161.size)); - for (int _i162 = 0; - (_list161.size < 0) ? iprot.peekList() : (_i162 < _list161.size); - ++_i162) + TList _list174 = iprot.readListBegin(); + this.updated_props = new ArrayList(Math.max(0, _list174.size)); + for (int _i175 = 0; + (_list174.size < 0) ? iprot.peekList() : (_i175 < _list174.size); + ++_i175) { - UpdatedProp _elem163; - _elem163 = new UpdatedProp(); - _elem163.read(iprot); - this.updated_props.add(_elem163); + UpdatedProp _elem176; + _elem176 = new UpdatedProp(); + _elem176.read(iprot); + this.updated_props.add(_elem176); } iprot.readListEnd(); } @@ -633,15 +633,15 @@ public void read(TProtocol iprot) throws TException { case RETURN_PROPS: if (__field.type == TType.LIST) { { - TList _list164 = iprot.readListBegin(); - this.return_props = new ArrayList(Math.max(0, _list164.size)); - for (int _i165 = 0; - (_list164.size < 0) ? iprot.peekList() : (_i165 < _list164.size); - ++_i165) + TList _list177 = iprot.readListBegin(); + this.return_props = new ArrayList(Math.max(0, _list177.size)); + for (int _i178 = 0; + (_list177.size < 0) ? iprot.peekList() : (_i178 < _list177.size); + ++_i178) { - byte[] _elem166; - _elem166 = iprot.readBinary(); - this.return_props.add(_elem166); + byte[] _elem179; + _elem179 = iprot.readBinary(); + this.return_props.add(_elem179); } iprot.readListEnd(); } @@ -696,8 +696,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(UPDATED_PROPS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.updated_props.size())); - for (UpdatedProp _iter167 : this.updated_props) { - _iter167.write(oprot); + for (UpdatedProp _iter180 : this.updated_props) { + _iter180.write(oprot); } oprot.writeListEnd(); } @@ -713,8 +713,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(RETURN_PROPS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRING, this.return_props.size())); - for (byte[] _iter168 : this.return_props) { - oprot.writeBinary(_iter168); + for (byte[] _iter181 : this.return_props) { + oprot.writeBinary(_iter181); } oprot.writeListEnd(); } diff --git a/client/src/main/generated/com/vesoft/nebula/storage/UpdateVertexRequest.java b/client/src/main/generated/com/vesoft/nebula/storage/UpdateVertexRequest.java index f763de60f..bf5b01810 100644 --- a/client/src/main/generated/com/vesoft/nebula/storage/UpdateVertexRequest.java +++ b/client/src/main/generated/com/vesoft/nebula/storage/UpdateVertexRequest.java @@ -679,16 +679,16 @@ public void read(TProtocol iprot) throws TException { case UPDATED_PROPS: if (__field.type == TType.LIST) { { - TList _list153 = iprot.readListBegin(); - this.updated_props = new ArrayList(Math.max(0, _list153.size)); - for (int _i154 = 0; - (_list153.size < 0) ? iprot.peekList() : (_i154 < _list153.size); - ++_i154) + TList _list166 = iprot.readListBegin(); + this.updated_props = new ArrayList(Math.max(0, _list166.size)); + for (int _i167 = 0; + (_list166.size < 0) ? iprot.peekList() : (_i167 < _list166.size); + ++_i167) { - UpdatedProp _elem155; - _elem155 = new UpdatedProp(); - _elem155.read(iprot); - this.updated_props.add(_elem155); + UpdatedProp _elem168; + _elem168 = new UpdatedProp(); + _elem168.read(iprot); + this.updated_props.add(_elem168); } iprot.readListEnd(); } @@ -707,15 +707,15 @@ public void read(TProtocol iprot) throws TException { case RETURN_PROPS: if (__field.type == TType.LIST) { { - TList _list156 = iprot.readListBegin(); - this.return_props = new ArrayList(Math.max(0, _list156.size)); - for (int _i157 = 0; - (_list156.size < 0) ? iprot.peekList() : (_i157 < _list156.size); - ++_i157) + TList _list169 = iprot.readListBegin(); + this.return_props = new ArrayList(Math.max(0, _list169.size)); + for (int _i170 = 0; + (_list169.size < 0) ? iprot.peekList() : (_i170 < _list169.size); + ++_i170) { - byte[] _elem158; - _elem158 = iprot.readBinary(); - this.return_props.add(_elem158); + byte[] _elem171; + _elem171 = iprot.readBinary(); + this.return_props.add(_elem171); } iprot.readListEnd(); } @@ -776,8 +776,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(UPDATED_PROPS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.updated_props.size())); - for (UpdatedProp _iter159 : this.updated_props) { - _iter159.write(oprot); + for (UpdatedProp _iter172 : this.updated_props) { + _iter172.write(oprot); } oprot.writeListEnd(); } @@ -793,8 +793,8 @@ public void write(TProtocol oprot) throws TException { oprot.writeFieldBegin(RETURN_PROPS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRING, this.return_props.size())); - for (byte[] _iter160 : this.return_props) { - oprot.writeBinary(_iter160); + for (byte[] _iter173 : this.return_props) { + oprot.writeBinary(_iter173); } oprot.writeListEnd(); }