Rev 2926 | Blame | Compare with Previous | Last modification | View Log | RSS feed
/*** Autogenerated by Thrift Compiler (0.7.0)** DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING*/package in.shop2020.config;import java.util.List;import java.util.ArrayList;import java.util.Map;import java.util.HashMap;import java.util.EnumMap;import java.util.Set;import java.util.HashSet;import java.util.EnumSet;import java.util.Collections;import java.util.BitSet;import java.nio.ByteBuffer;import java.util.Arrays;import org.slf4j.Logger;import org.slf4j.LoggerFactory;public class Configuration {public interface Iface {public String getPropetry(String propertyName) throws ConfigException, org.apache.thrift.TException;public void loadProperty(String propertyName, String propertyValue) throws org.apache.thrift.TException;public void reloadProperties() throws org.apache.thrift.TException;}public interface AsyncIface {public void getPropetry(String propertyName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getPropetry_call> resultHandler) throws org.apache.thrift.TException;public void loadProperty(String propertyName, String propertyValue, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.loadProperty_call> resultHandler) throws org.apache.thrift.TException;public void reloadProperties(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.reloadProperties_call> resultHandler) throws org.apache.thrift.TException;}public static class Client extends org.apache.thrift.TServiceClient implements Iface {public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {public Factory() {}public Client getClient(org.apache.thrift.protocol.TProtocol prot) {return new Client(prot);}public Client getClient(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) {return new Client(iprot, oprot);}}public Client(org.apache.thrift.protocol.TProtocol prot){super(prot, prot);}public Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) {super(iprot, oprot);}public String getPropetry(String propertyName) throws ConfigException, org.apache.thrift.TException{send_getPropetry(propertyName);return recv_getPropetry();}public void send_getPropetry(String propertyName) throws org.apache.thrift.TException{getPropetry_args args = new getPropetry_args();args.setPropertyName(propertyName);sendBase("getPropetry", args);}public String recv_getPropetry() throws ConfigException, org.apache.thrift.TException{getPropetry_result result = new getPropetry_result();receiveBase(result, "getPropetry");if (result.isSetSuccess()) {return result.success;}if (result.e != null) {throw result.e;}throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getPropetry failed: unknown result");}public void loadProperty(String propertyName, String propertyValue) throws org.apache.thrift.TException{send_loadProperty(propertyName, propertyValue);recv_loadProperty();}public void send_loadProperty(String propertyName, String propertyValue) throws org.apache.thrift.TException{loadProperty_args args = new loadProperty_args();args.setPropertyName(propertyName);args.setPropertyValue(propertyValue);sendBase("loadProperty", args);}public void recv_loadProperty() throws org.apache.thrift.TException{loadProperty_result result = new loadProperty_result();receiveBase(result, "loadProperty");return;}public void reloadProperties() throws org.apache.thrift.TException{send_reloadProperties();recv_reloadProperties();}public void send_reloadProperties() throws org.apache.thrift.TException{reloadProperties_args args = new reloadProperties_args();sendBase("reloadProperties", args);}public void recv_reloadProperties() throws org.apache.thrift.TException{reloadProperties_result result = new reloadProperties_result();receiveBase(result, "reloadProperties");return;}}public static class AsyncClient extends org.apache.thrift.async.TAsyncClient implements AsyncIface {public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {private org.apache.thrift.async.TAsyncClientManager clientManager;private org.apache.thrift.protocol.TProtocolFactory protocolFactory;public Factory(org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.protocol.TProtocolFactory protocolFactory) {this.clientManager = clientManager;this.protocolFactory = protocolFactory;}public AsyncClient getAsyncClient(org.apache.thrift.transport.TNonblockingTransport transport) {return new AsyncClient(protocolFactory, clientManager, transport);}}public AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport) {super(protocolFactory, clientManager, transport);}public void getPropetry(String propertyName, org.apache.thrift.async.AsyncMethodCallback<getPropetry_call> resultHandler) throws org.apache.thrift.TException {checkReady();getPropetry_call method_call = new getPropetry_call(propertyName, resultHandler, this, ___protocolFactory, ___transport);this.___currentMethod = method_call;___manager.call(method_call);}public static class getPropetry_call extends org.apache.thrift.async.TAsyncMethodCall {private String propertyName;public getPropetry_call(String propertyName, org.apache.thrift.async.AsyncMethodCallback<getPropetry_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {super(client, protocolFactory, transport, resultHandler, false);this.propertyName = propertyName;}public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getPropetry", org.apache.thrift.protocol.TMessageType.CALL, 0));getPropetry_args args = new getPropetry_args();args.setPropertyName(propertyName);args.write(prot);prot.writeMessageEnd();}public String getResult() throws ConfigException, org.apache.thrift.TException {if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {throw new IllegalStateException("Method call not finished!");}org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);return (new Client(prot)).recv_getPropetry();}}public void loadProperty(String propertyName, String propertyValue, org.apache.thrift.async.AsyncMethodCallback<loadProperty_call> resultHandler) throws org.apache.thrift.TException {checkReady();loadProperty_call method_call = new loadProperty_call(propertyName, propertyValue, resultHandler, this, ___protocolFactory, ___transport);this.___currentMethod = method_call;___manager.call(method_call);}public static class loadProperty_call extends org.apache.thrift.async.TAsyncMethodCall {private String propertyName;private String propertyValue;public loadProperty_call(String propertyName, String propertyValue, org.apache.thrift.async.AsyncMethodCallback<loadProperty_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {super(client, protocolFactory, transport, resultHandler, false);this.propertyName = propertyName;this.propertyValue = propertyValue;}public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("loadProperty", org.apache.thrift.protocol.TMessageType.CALL, 0));loadProperty_args args = new loadProperty_args();args.setPropertyName(propertyName);args.setPropertyValue(propertyValue);args.write(prot);prot.writeMessageEnd();}public void getResult() throws org.apache.thrift.TException {if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {throw new IllegalStateException("Method call not finished!");}org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);(new Client(prot)).recv_loadProperty();}}public void reloadProperties(org.apache.thrift.async.AsyncMethodCallback<reloadProperties_call> resultHandler) throws org.apache.thrift.TException {checkReady();reloadProperties_call method_call = new reloadProperties_call(resultHandler, this, ___protocolFactory, ___transport);this.___currentMethod = method_call;___manager.call(method_call);}public static class reloadProperties_call extends org.apache.thrift.async.TAsyncMethodCall {public reloadProperties_call(org.apache.thrift.async.AsyncMethodCallback<reloadProperties_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {super(client, protocolFactory, transport, resultHandler, false);}public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("reloadProperties", org.apache.thrift.protocol.TMessageType.CALL, 0));reloadProperties_args args = new reloadProperties_args();args.write(prot);prot.writeMessageEnd();}public void getResult() throws org.apache.thrift.TException {if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {throw new IllegalStateException("Method call not finished!");}org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);(new Client(prot)).recv_reloadProperties();}}}public static class Processor<I extends Iface> extends org.apache.thrift.TBaseProcessor implements org.apache.thrift.TProcessor {private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());public Processor(I iface) {super(iface, getProcessMap(new HashMap<String, org.apache.thrift.ProcessFunction<I, ? extends org.apache.thrift.TBase>>()));}protected Processor(I iface, Map<String, org.apache.thrift.ProcessFunction<I, ? extends org.apache.thrift.TBase>> processMap) {super(iface, getProcessMap(processMap));}private static <I extends Iface> Map<String, org.apache.thrift.ProcessFunction<I, ? extends org.apache.thrift.TBase>> getProcessMap(Map<String, org.apache.thrift.ProcessFunction<I, ? extends org.apache.thrift.TBase>> processMap) {processMap.put("getPropetry", new getPropetry());processMap.put("loadProperty", new loadProperty());processMap.put("reloadProperties", new reloadProperties());return processMap;}private static class getPropetry<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getPropetry_args> {public getPropetry() {super("getPropetry");}protected getPropetry_args getEmptyArgsInstance() {return new getPropetry_args();}protected getPropetry_result getResult(I iface, getPropetry_args args) throws org.apache.thrift.TException {getPropetry_result result = new getPropetry_result();try {result.success = iface.getPropetry(args.propertyName);} catch (ConfigException e) {result.e = e;}return result;}}private static class loadProperty<I extends Iface> extends org.apache.thrift.ProcessFunction<I, loadProperty_args> {public loadProperty() {super("loadProperty");}protected loadProperty_args getEmptyArgsInstance() {return new loadProperty_args();}protected loadProperty_result getResult(I iface, loadProperty_args args) throws org.apache.thrift.TException {loadProperty_result result = new loadProperty_result();iface.loadProperty(args.propertyName, args.propertyValue);return result;}}private static class reloadProperties<I extends Iface> extends org.apache.thrift.ProcessFunction<I, reloadProperties_args> {public reloadProperties() {super("reloadProperties");}protected reloadProperties_args getEmptyArgsInstance() {return new reloadProperties_args();}protected reloadProperties_result getResult(I iface, reloadProperties_args args) throws org.apache.thrift.TException {reloadProperties_result result = new reloadProperties_result();iface.reloadProperties();return result;}}}public static class getPropetry_args implements org.apache.thrift.TBase<getPropetry_args, getPropetry_args._Fields>, java.io.Serializable, Cloneable {private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getPropetry_args");private static final org.apache.thrift.protocol.TField PROPERTY_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("propertyName", org.apache.thrift.protocol.TType.STRING, (short)1);private String propertyName; // required/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */public enum _Fields implements org.apache.thrift.TFieldIdEnum {PROPERTY_NAME((short)1, "propertyName");private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();static {for (_Fields field : EnumSet.allOf(_Fields.class)) {byName.put(field.getFieldName(), field);}}/*** Find the _Fields constant that matches fieldId, or null if its not found.*/public static _Fields findByThriftId(int fieldId) {switch(fieldId) {case 1: // PROPERTY_NAMEreturn PROPERTY_NAME;default:return null;}}/*** Find the _Fields constant that matches fieldId, throwing an exception* if it is not found.*/public static _Fields findByThriftIdOrThrow(int fieldId) {_Fields fields = findByThriftId(fieldId);if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");return fields;}/*** Find the _Fields constant that matches name, or null if its not found.*/public static _Fields findByName(String name) {return byName.get(name);}private final short _thriftId;private final String _fieldName;_Fields(short thriftId, String fieldName) {_thriftId = thriftId;_fieldName = fieldName;}public short getThriftFieldId() {return _thriftId;}public String getFieldName() {return _fieldName;}}// isset id assignmentspublic static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;static {Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);tmpMap.put(_Fields.PROPERTY_NAME, new org.apache.thrift.meta_data.FieldMetaData("propertyName", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));metaDataMap = Collections.unmodifiableMap(tmpMap);org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getPropetry_args.class, metaDataMap);}public getPropetry_args() {}public getPropetry_args(String propertyName){this();this.propertyName = propertyName;}/*** Performs a deep copy on <i>other</i>.*/public getPropetry_args(getPropetry_args other) {if (other.isSetPropertyName()) {this.propertyName = other.propertyName;}}public getPropetry_args deepCopy() {return new getPropetry_args(this);}@Overridepublic void clear() {this.propertyName = null;}public String getPropertyName() {return this.propertyName;}public void setPropertyName(String propertyName) {this.propertyName = propertyName;}public void unsetPropertyName() {this.propertyName = null;}/** Returns true if field propertyName is set (has been assigned a value) and false otherwise */public boolean isSetPropertyName() {return this.propertyName != null;}public void setPropertyNameIsSet(boolean value) {if (!value) {this.propertyName = null;}}public void setFieldValue(_Fields field, Object value) {switch (field) {case PROPERTY_NAME:if (value == null) {unsetPropertyName();} else {setPropertyName((String)value);}break;}}public Object getFieldValue(_Fields field) {switch (field) {case PROPERTY_NAME:return getPropertyName();}throw new IllegalStateException();}/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */public boolean isSet(_Fields field) {if (field == null) {throw new IllegalArgumentException();}switch (field) {case PROPERTY_NAME:return isSetPropertyName();}throw new IllegalStateException();}@Overridepublic boolean equals(Object that) {if (that == null)return false;if (that instanceof getPropetry_args)return this.equals((getPropetry_args)that);return false;}public boolean equals(getPropetry_args that) {if (that == null)return false;boolean this_present_propertyName = true && this.isSetPropertyName();boolean that_present_propertyName = true && that.isSetPropertyName();if (this_present_propertyName || that_present_propertyName) {if (!(this_present_propertyName && that_present_propertyName))return false;if (!this.propertyName.equals(that.propertyName))return false;}return true;}@Overridepublic int hashCode() {return 0;}public int compareTo(getPropetry_args other) {if (!getClass().equals(other.getClass())) {return getClass().getName().compareTo(other.getClass().getName());}int lastComparison = 0;getPropetry_args typedOther = (getPropetry_args)other;lastComparison = Boolean.valueOf(isSetPropertyName()).compareTo(typedOther.isSetPropertyName());if (lastComparison != 0) {return lastComparison;}if (isSetPropertyName()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.propertyName, typedOther.propertyName);if (lastComparison != 0) {return lastComparison;}}return 0;}public _Fields fieldForId(int fieldId) {return _Fields.findByThriftId(fieldId);}public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {org.apache.thrift.protocol.TField field;iprot.readStructBegin();while (true){field = iprot.readFieldBegin();if (field.type == org.apache.thrift.protocol.TType.STOP) {break;}switch (field.id) {case 1: // PROPERTY_NAMEif (field.type == org.apache.thrift.protocol.TType.STRING) {this.propertyName = iprot.readString();} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;default:org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}iprot.readFieldEnd();}iprot.readStructEnd();validate();}public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {validate();oprot.writeStructBegin(STRUCT_DESC);if (this.propertyName != null) {oprot.writeFieldBegin(PROPERTY_NAME_FIELD_DESC);oprot.writeString(this.propertyName);oprot.writeFieldEnd();}oprot.writeFieldStop();oprot.writeStructEnd();}@Overridepublic String toString() {StringBuilder sb = new StringBuilder("getPropetry_args(");boolean first = true;sb.append("propertyName:");if (this.propertyName == null) {sb.append("null");} else {sb.append(this.propertyName);}first = false;sb.append(")");return sb.toString();}public void validate() throws org.apache.thrift.TException {// check for required fields}private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {try {write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));} catch (org.apache.thrift.TException te) {throw new java.io.IOException(te);}}private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {try {read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));} catch (org.apache.thrift.TException te) {throw new java.io.IOException(te);}}}public static class getPropetry_result implements org.apache.thrift.TBase<getPropetry_result, getPropetry_result._Fields>, java.io.Serializable, Cloneable {private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getPropetry_result");private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRING, (short)0);private static final org.apache.thrift.protocol.TField E_FIELD_DESC = new org.apache.thrift.protocol.TField("e", org.apache.thrift.protocol.TType.STRUCT, (short)1);private String success; // requiredprivate ConfigException e; // required/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */public enum _Fields implements org.apache.thrift.TFieldIdEnum {SUCCESS((short)0, "success"),E((short)1, "e");private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();static {for (_Fields field : EnumSet.allOf(_Fields.class)) {byName.put(field.getFieldName(), field);}}/*** Find the _Fields constant that matches fieldId, or null if its not found.*/public static _Fields findByThriftId(int fieldId) {switch(fieldId) {case 0: // SUCCESSreturn SUCCESS;case 1: // Ereturn E;default:return null;}}/*** Find the _Fields constant that matches fieldId, throwing an exception* if it is not found.*/public static _Fields findByThriftIdOrThrow(int fieldId) {_Fields fields = findByThriftId(fieldId);if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");return fields;}/*** Find the _Fields constant that matches name, or null if its not found.*/public static _Fields findByName(String name) {return byName.get(name);}private final short _thriftId;private final String _fieldName;_Fields(short thriftId, String fieldName) {_thriftId = thriftId;_fieldName = fieldName;}public short getThriftFieldId() {return _thriftId;}public String getFieldName() {return _fieldName;}}// isset id assignmentspublic static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;static {Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));tmpMap.put(_Fields.E, new org.apache.thrift.meta_data.FieldMetaData("e", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));metaDataMap = Collections.unmodifiableMap(tmpMap);org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getPropetry_result.class, metaDataMap);}public getPropetry_result() {}public getPropetry_result(String success,ConfigException e){this();this.success = success;this.e = e;}/*** Performs a deep copy on <i>other</i>.*/public getPropetry_result(getPropetry_result other) {if (other.isSetSuccess()) {this.success = other.success;}if (other.isSetE()) {this.e = new ConfigException(other.e);}}public getPropetry_result deepCopy() {return new getPropetry_result(this);}@Overridepublic void clear() {this.success = null;this.e = null;}public String getSuccess() {return this.success;}public void setSuccess(String success) {this.success = success;}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 ConfigException getE() {return this.e;}public void setE(ConfigException e) {this.e = e;}public void unsetE() {this.e = null;}/** Returns true if field e is set (has been assigned a value) and false otherwise */public boolean isSetE() {return this.e != null;}public void setEIsSet(boolean value) {if (!value) {this.e = null;}}public void setFieldValue(_Fields field, Object value) {switch (field) {case SUCCESS:if (value == null) {unsetSuccess();} else {setSuccess((String)value);}break;case E:if (value == null) {unsetE();} else {setE((ConfigException)value);}break;}}public Object getFieldValue(_Fields field) {switch (field) {case SUCCESS:return getSuccess();case E:return getE();}throw new IllegalStateException();}/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */public boolean isSet(_Fields field) {if (field == null) {throw new IllegalArgumentException();}switch (field) {case SUCCESS:return isSetSuccess();case E:return isSetE();}throw new IllegalStateException();}@Overridepublic boolean equals(Object that) {if (that == null)return false;if (that instanceof getPropetry_result)return this.equals((getPropetry_result)that);return false;}public boolean equals(getPropetry_result that) {if (that == null)return false;boolean this_present_success = true && this.isSetSuccess();boolean that_present_success = true && that.isSetSuccess();if (this_present_success || that_present_success) {if (!(this_present_success && that_present_success))return false;if (!this.success.equals(that.success))return false;}boolean this_present_e = true && this.isSetE();boolean that_present_e = true && that.isSetE();if (this_present_e || that_present_e) {if (!(this_present_e && that_present_e))return false;if (!this.e.equals(that.e))return false;}return true;}@Overridepublic int hashCode() {return 0;}public int compareTo(getPropetry_result other) {if (!getClass().equals(other.getClass())) {return getClass().getName().compareTo(other.getClass().getName());}int lastComparison = 0;getPropetry_result typedOther = (getPropetry_result)other;lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());if (lastComparison != 0) {return lastComparison;}if (isSetSuccess()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);if (lastComparison != 0) {return lastComparison;}}lastComparison = Boolean.valueOf(isSetE()).compareTo(typedOther.isSetE());if (lastComparison != 0) {return lastComparison;}if (isSetE()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.e, typedOther.e);if (lastComparison != 0) {return lastComparison;}}return 0;}public _Fields fieldForId(int fieldId) {return _Fields.findByThriftId(fieldId);}public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {org.apache.thrift.protocol.TField field;iprot.readStructBegin();while (true){field = iprot.readFieldBegin();if (field.type == org.apache.thrift.protocol.TType.STOP) {break;}switch (field.id) {case 0: // SUCCESSif (field.type == org.apache.thrift.protocol.TType.STRING) {this.success = iprot.readString();} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;case 1: // Eif (field.type == org.apache.thrift.protocol.TType.STRUCT) {this.e = new ConfigException();this.e.read(iprot);} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;default:org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}iprot.readFieldEnd();}iprot.readStructEnd();validate();}public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {oprot.writeStructBegin(STRUCT_DESC);if (this.isSetSuccess()) {oprot.writeFieldBegin(SUCCESS_FIELD_DESC);oprot.writeString(this.success);oprot.writeFieldEnd();} else if (this.isSetE()) {oprot.writeFieldBegin(E_FIELD_DESC);this.e.write(oprot);oprot.writeFieldEnd();}oprot.writeFieldStop();oprot.writeStructEnd();}@Overridepublic String toString() {StringBuilder sb = new StringBuilder("getPropetry_result(");boolean first = true;sb.append("success:");if (this.success == null) {sb.append("null");} else {sb.append(this.success);}first = false;if (!first) sb.append(", ");sb.append("e:");if (this.e == null) {sb.append("null");} else {sb.append(this.e);}first = false;sb.append(")");return sb.toString();}public void validate() throws org.apache.thrift.TException {// check for required fields}private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {try {write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));} catch (org.apache.thrift.TException te) {throw new java.io.IOException(te);}}private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {try {read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));} catch (org.apache.thrift.TException te) {throw new java.io.IOException(te);}}}public static class loadProperty_args implements org.apache.thrift.TBase<loadProperty_args, loadProperty_args._Fields>, java.io.Serializable, Cloneable {private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("loadProperty_args");private static final org.apache.thrift.protocol.TField PROPERTY_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("propertyName", org.apache.thrift.protocol.TType.STRING, (short)1);private static final org.apache.thrift.protocol.TField PROPERTY_VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("propertyValue", org.apache.thrift.protocol.TType.STRING, (short)2);private String propertyName; // requiredprivate String propertyValue; // required/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */public enum _Fields implements org.apache.thrift.TFieldIdEnum {PROPERTY_NAME((short)1, "propertyName"),PROPERTY_VALUE((short)2, "propertyValue");private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();static {for (_Fields field : EnumSet.allOf(_Fields.class)) {byName.put(field.getFieldName(), field);}}/*** Find the _Fields constant that matches fieldId, or null if its not found.*/public static _Fields findByThriftId(int fieldId) {switch(fieldId) {case 1: // PROPERTY_NAMEreturn PROPERTY_NAME;case 2: // PROPERTY_VALUEreturn PROPERTY_VALUE;default:return null;}}/*** Find the _Fields constant that matches fieldId, throwing an exception* if it is not found.*/public static _Fields findByThriftIdOrThrow(int fieldId) {_Fields fields = findByThriftId(fieldId);if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");return fields;}/*** Find the _Fields constant that matches name, or null if its not found.*/public static _Fields findByName(String name) {return byName.get(name);}private final short _thriftId;private final String _fieldName;_Fields(short thriftId, String fieldName) {_thriftId = thriftId;_fieldName = fieldName;}public short getThriftFieldId() {return _thriftId;}public String getFieldName() {return _fieldName;}}// isset id assignmentspublic static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;static {Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);tmpMap.put(_Fields.PROPERTY_NAME, new org.apache.thrift.meta_data.FieldMetaData("propertyName", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));tmpMap.put(_Fields.PROPERTY_VALUE, new org.apache.thrift.meta_data.FieldMetaData("propertyValue", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));metaDataMap = Collections.unmodifiableMap(tmpMap);org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(loadProperty_args.class, metaDataMap);}public loadProperty_args() {}public loadProperty_args(String propertyName,String propertyValue){this();this.propertyName = propertyName;this.propertyValue = propertyValue;}/*** Performs a deep copy on <i>other</i>.*/public loadProperty_args(loadProperty_args other) {if (other.isSetPropertyName()) {this.propertyName = other.propertyName;}if (other.isSetPropertyValue()) {this.propertyValue = other.propertyValue;}}public loadProperty_args deepCopy() {return new loadProperty_args(this);}@Overridepublic void clear() {this.propertyName = null;this.propertyValue = null;}public String getPropertyName() {return this.propertyName;}public void setPropertyName(String propertyName) {this.propertyName = propertyName;}public void unsetPropertyName() {this.propertyName = null;}/** Returns true if field propertyName is set (has been assigned a value) and false otherwise */public boolean isSetPropertyName() {return this.propertyName != null;}public void setPropertyNameIsSet(boolean value) {if (!value) {this.propertyName = null;}}public String getPropertyValue() {return this.propertyValue;}public void setPropertyValue(String propertyValue) {this.propertyValue = propertyValue;}public void unsetPropertyValue() {this.propertyValue = null;}/** Returns true if field propertyValue is set (has been assigned a value) and false otherwise */public boolean isSetPropertyValue() {return this.propertyValue != null;}public void setPropertyValueIsSet(boolean value) {if (!value) {this.propertyValue = null;}}public void setFieldValue(_Fields field, Object value) {switch (field) {case PROPERTY_NAME:if (value == null) {unsetPropertyName();} else {setPropertyName((String)value);}break;case PROPERTY_VALUE:if (value == null) {unsetPropertyValue();} else {setPropertyValue((String)value);}break;}}public Object getFieldValue(_Fields field) {switch (field) {case PROPERTY_NAME:return getPropertyName();case PROPERTY_VALUE:return getPropertyValue();}throw new IllegalStateException();}/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */public boolean isSet(_Fields field) {if (field == null) {throw new IllegalArgumentException();}switch (field) {case PROPERTY_NAME:return isSetPropertyName();case PROPERTY_VALUE:return isSetPropertyValue();}throw new IllegalStateException();}@Overridepublic boolean equals(Object that) {if (that == null)return false;if (that instanceof loadProperty_args)return this.equals((loadProperty_args)that);return false;}public boolean equals(loadProperty_args that) {if (that == null)return false;boolean this_present_propertyName = true && this.isSetPropertyName();boolean that_present_propertyName = true && that.isSetPropertyName();if (this_present_propertyName || that_present_propertyName) {if (!(this_present_propertyName && that_present_propertyName))return false;if (!this.propertyName.equals(that.propertyName))return false;}boolean this_present_propertyValue = true && this.isSetPropertyValue();boolean that_present_propertyValue = true && that.isSetPropertyValue();if (this_present_propertyValue || that_present_propertyValue) {if (!(this_present_propertyValue && that_present_propertyValue))return false;if (!this.propertyValue.equals(that.propertyValue))return false;}return true;}@Overridepublic int hashCode() {return 0;}public int compareTo(loadProperty_args other) {if (!getClass().equals(other.getClass())) {return getClass().getName().compareTo(other.getClass().getName());}int lastComparison = 0;loadProperty_args typedOther = (loadProperty_args)other;lastComparison = Boolean.valueOf(isSetPropertyName()).compareTo(typedOther.isSetPropertyName());if (lastComparison != 0) {return lastComparison;}if (isSetPropertyName()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.propertyName, typedOther.propertyName);if (lastComparison != 0) {return lastComparison;}}lastComparison = Boolean.valueOf(isSetPropertyValue()).compareTo(typedOther.isSetPropertyValue());if (lastComparison != 0) {return lastComparison;}if (isSetPropertyValue()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.propertyValue, typedOther.propertyValue);if (lastComparison != 0) {return lastComparison;}}return 0;}public _Fields fieldForId(int fieldId) {return _Fields.findByThriftId(fieldId);}public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {org.apache.thrift.protocol.TField field;iprot.readStructBegin();while (true){field = iprot.readFieldBegin();if (field.type == org.apache.thrift.protocol.TType.STOP) {break;}switch (field.id) {case 1: // PROPERTY_NAMEif (field.type == org.apache.thrift.protocol.TType.STRING) {this.propertyName = iprot.readString();} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;case 2: // PROPERTY_VALUEif (field.type == org.apache.thrift.protocol.TType.STRING) {this.propertyValue = iprot.readString();} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;default:org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}iprot.readFieldEnd();}iprot.readStructEnd();validate();}public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {validate();oprot.writeStructBegin(STRUCT_DESC);if (this.propertyName != null) {oprot.writeFieldBegin(PROPERTY_NAME_FIELD_DESC);oprot.writeString(this.propertyName);oprot.writeFieldEnd();}if (this.propertyValue != null) {oprot.writeFieldBegin(PROPERTY_VALUE_FIELD_DESC);oprot.writeString(this.propertyValue);oprot.writeFieldEnd();}oprot.writeFieldStop();oprot.writeStructEnd();}@Overridepublic String toString() {StringBuilder sb = new StringBuilder("loadProperty_args(");boolean first = true;sb.append("propertyName:");if (this.propertyName == null) {sb.append("null");} else {sb.append(this.propertyName);}first = false;if (!first) sb.append(", ");sb.append("propertyValue:");if (this.propertyValue == null) {sb.append("null");} else {sb.append(this.propertyValue);}first = false;sb.append(")");return sb.toString();}public void validate() throws org.apache.thrift.TException {// check for required fields}private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {try {write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));} catch (org.apache.thrift.TException te) {throw new java.io.IOException(te);}}private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {try {read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));} catch (org.apache.thrift.TException te) {throw new java.io.IOException(te);}}}public static class loadProperty_result implements org.apache.thrift.TBase<loadProperty_result, loadProperty_result._Fields>, java.io.Serializable, Cloneable {private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("loadProperty_result");/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */public enum _Fields implements org.apache.thrift.TFieldIdEnum {;private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();static {for (_Fields field : EnumSet.allOf(_Fields.class)) {byName.put(field.getFieldName(), field);}}/*** Find the _Fields constant that matches fieldId, or null if its not found.*/public static _Fields findByThriftId(int fieldId) {switch(fieldId) {default:return null;}}/*** Find the _Fields constant that matches fieldId, throwing an exception* if it is not found.*/public static _Fields findByThriftIdOrThrow(int fieldId) {_Fields fields = findByThriftId(fieldId);if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");return fields;}/*** Find the _Fields constant that matches name, or null if its not found.*/public static _Fields findByName(String name) {return byName.get(name);}private final short _thriftId;private final String _fieldName;_Fields(short thriftId, String fieldName) {_thriftId = thriftId;_fieldName = fieldName;}public short getThriftFieldId() {return _thriftId;}public String getFieldName() {return _fieldName;}}public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;static {Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);metaDataMap = Collections.unmodifiableMap(tmpMap);org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(loadProperty_result.class, metaDataMap);}public loadProperty_result() {}/*** Performs a deep copy on <i>other</i>.*/public loadProperty_result(loadProperty_result other) {}public loadProperty_result deepCopy() {return new loadProperty_result(this);}@Overridepublic void clear() {}public void setFieldValue(_Fields field, Object value) {switch (field) {}}public Object getFieldValue(_Fields field) {switch (field) {}throw new IllegalStateException();}/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */public boolean isSet(_Fields field) {if (field == null) {throw new IllegalArgumentException();}switch (field) {}throw new IllegalStateException();}@Overridepublic boolean equals(Object that) {if (that == null)return false;if (that instanceof loadProperty_result)return this.equals((loadProperty_result)that);return false;}public boolean equals(loadProperty_result that) {if (that == null)return false;return true;}@Overridepublic int hashCode() {return 0;}public int compareTo(loadProperty_result other) {if (!getClass().equals(other.getClass())) {return getClass().getName().compareTo(other.getClass().getName());}int lastComparison = 0;loadProperty_result typedOther = (loadProperty_result)other;return 0;}public _Fields fieldForId(int fieldId) {return _Fields.findByThriftId(fieldId);}public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {org.apache.thrift.protocol.TField field;iprot.readStructBegin();while (true){field = iprot.readFieldBegin();if (field.type == org.apache.thrift.protocol.TType.STOP) {break;}switch (field.id) {default:org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}iprot.readFieldEnd();}iprot.readStructEnd();validate();}public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {oprot.writeStructBegin(STRUCT_DESC);oprot.writeFieldStop();oprot.writeStructEnd();}@Overridepublic String toString() {StringBuilder sb = new StringBuilder("loadProperty_result(");boolean first = true;sb.append(")");return sb.toString();}public void validate() throws org.apache.thrift.TException {// check for required fields}private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {try {write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));} catch (org.apache.thrift.TException te) {throw new java.io.IOException(te);}}private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {try {read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));} catch (org.apache.thrift.TException te) {throw new java.io.IOException(te);}}}public static class reloadProperties_args implements org.apache.thrift.TBase<reloadProperties_args, reloadProperties_args._Fields>, java.io.Serializable, Cloneable {private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("reloadProperties_args");/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */public enum _Fields implements org.apache.thrift.TFieldIdEnum {;private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();static {for (_Fields field : EnumSet.allOf(_Fields.class)) {byName.put(field.getFieldName(), field);}}/*** Find the _Fields constant that matches fieldId, or null if its not found.*/public static _Fields findByThriftId(int fieldId) {switch(fieldId) {default:return null;}}/*** Find the _Fields constant that matches fieldId, throwing an exception* if it is not found.*/public static _Fields findByThriftIdOrThrow(int fieldId) {_Fields fields = findByThriftId(fieldId);if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");return fields;}/*** Find the _Fields constant that matches name, or null if its not found.*/public static _Fields findByName(String name) {return byName.get(name);}private final short _thriftId;private final String _fieldName;_Fields(short thriftId, String fieldName) {_thriftId = thriftId;_fieldName = fieldName;}public short getThriftFieldId() {return _thriftId;}public String getFieldName() {return _fieldName;}}public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;static {Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);metaDataMap = Collections.unmodifiableMap(tmpMap);org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(reloadProperties_args.class, metaDataMap);}public reloadProperties_args() {}/*** Performs a deep copy on <i>other</i>.*/public reloadProperties_args(reloadProperties_args other) {}public reloadProperties_args deepCopy() {return new reloadProperties_args(this);}@Overridepublic void clear() {}public void setFieldValue(_Fields field, Object value) {switch (field) {}}public Object getFieldValue(_Fields field) {switch (field) {}throw new IllegalStateException();}/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */public boolean isSet(_Fields field) {if (field == null) {throw new IllegalArgumentException();}switch (field) {}throw new IllegalStateException();}@Overridepublic boolean equals(Object that) {if (that == null)return false;if (that instanceof reloadProperties_args)return this.equals((reloadProperties_args)that);return false;}public boolean equals(reloadProperties_args that) {if (that == null)return false;return true;}@Overridepublic int hashCode() {return 0;}public int compareTo(reloadProperties_args other) {if (!getClass().equals(other.getClass())) {return getClass().getName().compareTo(other.getClass().getName());}int lastComparison = 0;reloadProperties_args typedOther = (reloadProperties_args)other;return 0;}public _Fields fieldForId(int fieldId) {return _Fields.findByThriftId(fieldId);}public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {org.apache.thrift.protocol.TField field;iprot.readStructBegin();while (true){field = iprot.readFieldBegin();if (field.type == org.apache.thrift.protocol.TType.STOP) {break;}switch (field.id) {default:org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}iprot.readFieldEnd();}iprot.readStructEnd();validate();}public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {validate();oprot.writeStructBegin(STRUCT_DESC);oprot.writeFieldStop();oprot.writeStructEnd();}@Overridepublic String toString() {StringBuilder sb = new StringBuilder("reloadProperties_args(");boolean first = true;sb.append(")");return sb.toString();}public void validate() throws org.apache.thrift.TException {// check for required fields}private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {try {write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));} catch (org.apache.thrift.TException te) {throw new java.io.IOException(te);}}private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {try {read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));} catch (org.apache.thrift.TException te) {throw new java.io.IOException(te);}}}public static class reloadProperties_result implements org.apache.thrift.TBase<reloadProperties_result, reloadProperties_result._Fields>, java.io.Serializable, Cloneable {private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("reloadProperties_result");/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */public enum _Fields implements org.apache.thrift.TFieldIdEnum {;private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();static {for (_Fields field : EnumSet.allOf(_Fields.class)) {byName.put(field.getFieldName(), field);}}/*** Find the _Fields constant that matches fieldId, or null if its not found.*/public static _Fields findByThriftId(int fieldId) {switch(fieldId) {default:return null;}}/*** Find the _Fields constant that matches fieldId, throwing an exception* if it is not found.*/public static _Fields findByThriftIdOrThrow(int fieldId) {_Fields fields = findByThriftId(fieldId);if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");return fields;}/*** Find the _Fields constant that matches name, or null if its not found.*/public static _Fields findByName(String name) {return byName.get(name);}private final short _thriftId;private final String _fieldName;_Fields(short thriftId, String fieldName) {_thriftId = thriftId;_fieldName = fieldName;}public short getThriftFieldId() {return _thriftId;}public String getFieldName() {return _fieldName;}}public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;static {Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);metaDataMap = Collections.unmodifiableMap(tmpMap);org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(reloadProperties_result.class, metaDataMap);}public reloadProperties_result() {}/*** Performs a deep copy on <i>other</i>.*/public reloadProperties_result(reloadProperties_result other) {}public reloadProperties_result deepCopy() {return new reloadProperties_result(this);}@Overridepublic void clear() {}public void setFieldValue(_Fields field, Object value) {switch (field) {}}public Object getFieldValue(_Fields field) {switch (field) {}throw new IllegalStateException();}/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */public boolean isSet(_Fields field) {if (field == null) {throw new IllegalArgumentException();}switch (field) {}throw new IllegalStateException();}@Overridepublic boolean equals(Object that) {if (that == null)return false;if (that instanceof reloadProperties_result)return this.equals((reloadProperties_result)that);return false;}public boolean equals(reloadProperties_result that) {if (that == null)return false;return true;}@Overridepublic int hashCode() {return 0;}public int compareTo(reloadProperties_result other) {if (!getClass().equals(other.getClass())) {return getClass().getName().compareTo(other.getClass().getName());}int lastComparison = 0;reloadProperties_result typedOther = (reloadProperties_result)other;return 0;}public _Fields fieldForId(int fieldId) {return _Fields.findByThriftId(fieldId);}public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {org.apache.thrift.protocol.TField field;iprot.readStructBegin();while (true){field = iprot.readFieldBegin();if (field.type == org.apache.thrift.protocol.TType.STOP) {break;}switch (field.id) {default:org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}iprot.readFieldEnd();}iprot.readStructEnd();validate();}public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {oprot.writeStructBegin(STRUCT_DESC);oprot.writeFieldStop();oprot.writeStructEnd();}@Overridepublic String toString() {StringBuilder sb = new StringBuilder("reloadProperties_result(");boolean first = true;sb.append(")");return sb.toString();}public void validate() throws org.apache.thrift.TException {// check for required fields}private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {try {write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));} catch (org.apache.thrift.TException te) {throw new java.io.IOException(te);}}private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {try {read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));} catch (org.apache.thrift.TException te) {throw new java.io.IOException(te);}}}}