Subversion Repositories SmartDukaan

Rev

Rev 2926 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2926 Rev 3430
Line 1... Line 1...
1
/**
1
/**
2
 * Autogenerated by Thrift
2
 * Autogenerated by Thrift Compiler (0.7.0)
3
 *
3
 *
4
 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
4
 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
 */
5
 */
6
package in.shop2020.config;
6
package in.shop2020.config;
7
 
7
 
Line 13... Line 13...
13
import java.util.Set;
13
import java.util.Set;
14
import java.util.HashSet;
14
import java.util.HashSet;
15
import java.util.EnumSet;
15
import java.util.EnumSet;
16
import java.util.Collections;
16
import java.util.Collections;
17
import java.util.BitSet;
17
import java.util.BitSet;
-
 
18
import java.nio.ByteBuffer;
18
import java.util.Arrays;
19
import java.util.Arrays;
19
import org.slf4j.Logger;
20
import org.slf4j.Logger;
20
import org.slf4j.LoggerFactory;
21
import org.slf4j.LoggerFactory;
21
 
22
 
22
import org.apache.thrift.*;
-
 
23
import org.apache.thrift.meta_data.*;
-
 
24
import org.apache.thrift.protocol.*;
-
 
25
 
-
 
26
public class Configuration {
23
public class Configuration {
27
 
24
 
28
  public interface Iface {
25
  public interface Iface {
29
 
26
 
30
    public String getPropetry(String propertyName) throws ConfigException, TException;
27
    public String getPropetry(String propertyName) throws ConfigException, org.apache.thrift.TException;
31
 
28
 
32
    public void loadProperty(String propertyName, String propertyValue) throws TException;
29
    public void loadProperty(String propertyName, String propertyValue) throws org.apache.thrift.TException;
33
 
30
 
34
    public void reloadProperties() throws TException;
31
    public void reloadProperties() throws org.apache.thrift.TException;
35
 
32
 
36
  }
33
  }
37
 
34
 
38
  public static class Client implements Iface {
35
  public interface AsyncIface {
39
    public Client(TProtocol prot)
-
 
40
    {
-
 
41
      this(prot, prot);
-
 
42
    }
-
 
43
 
36
 
44
    public Client(TProtocol iprot, TProtocol oprot)
37
    public void getPropetry(String propertyName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getPropetry_call> resultHandler) throws org.apache.thrift.TException;
45
    {
-
 
46
      iprot_ = iprot;
-
 
47
      oprot_ = oprot;
-
 
48
    }
-
 
49
 
38
 
50
    protected TProtocol iprot_;
-
 
51
    protected TProtocol oprot_;
39
    public void loadProperty(String propertyName, String propertyValue, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.loadProperty_call> resultHandler) throws org.apache.thrift.TException;
52
 
40
 
53
    protected int seqid_;
41
    public void reloadProperties(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.reloadProperties_call> resultHandler) throws org.apache.thrift.TException;
54
 
42
 
-
 
43
  }
-
 
44
 
-
 
45
  public static class Client extends org.apache.thrift.TServiceClient implements Iface {
-
 
46
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
-
 
47
      public Factory() {}
-
 
48
      public Client getClient(org.apache.thrift.protocol.TProtocol prot) {
55
    public TProtocol getInputProtocol()
49
        return new Client(prot);
56
    {
50
      }
-
 
51
      public Client getClient(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) {
57
      return this.iprot_;
52
        return new Client(iprot, oprot);
-
 
53
      }
58
    }
54
    }
59
 
55
 
60
    public TProtocol getOutputProtocol()
56
    public Client(org.apache.thrift.protocol.TProtocol prot)
61
    {
57
    {
-
 
58
      super(prot, prot);
-
 
59
    }
-
 
60
 
-
 
61
    public Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) {
62
      return this.oprot_;
62
      super(iprot, oprot);
63
    }
63
    }
64
 
64
 
65
    public String getPropetry(String propertyName) throws ConfigException, TException
65
    public String getPropetry(String propertyName) throws ConfigException, org.apache.thrift.TException
66
    {
66
    {
67
      send_getPropetry(propertyName);
67
      send_getPropetry(propertyName);
68
      return recv_getPropetry();
68
      return recv_getPropetry();
69
    }
69
    }
70
 
70
 
71
    public void send_getPropetry(String propertyName) throws TException
71
    public void send_getPropetry(String propertyName) throws org.apache.thrift.TException
72
    {
72
    {
73
      oprot_.writeMessageBegin(new TMessage("getPropetry", TMessageType.CALL, seqid_));
-
 
74
      getPropetry_args args = new getPropetry_args();
73
      getPropetry_args args = new getPropetry_args();
75
      args.propertyName = propertyName;
74
      args.setPropertyName(propertyName);
76
      args.write(oprot_);
-
 
77
      oprot_.writeMessageEnd();
-
 
78
      oprot_.getTransport().flush();
75
      sendBase("getPropetry", args);
79
    }
76
    }
80
 
77
 
81
    public String recv_getPropetry() throws ConfigException, TException
78
    public String recv_getPropetry() throws ConfigException, org.apache.thrift.TException
82
    {
79
    {
83
      TMessage msg = iprot_.readMessageBegin();
-
 
84
      if (msg.type == TMessageType.EXCEPTION) {
-
 
85
        TApplicationException x = TApplicationException.read(iprot_);
-
 
86
        iprot_.readMessageEnd();
-
 
87
        throw x;
-
 
88
      }
-
 
89
      getPropetry_result result = new getPropetry_result();
80
      getPropetry_result result = new getPropetry_result();
90
      result.read(iprot_);
81
      receiveBase(result, "getPropetry");
91
      iprot_.readMessageEnd();
-
 
92
      if (result.isSetSuccess()) {
82
      if (result.isSetSuccess()) {
93
        return result.success;
83
        return result.success;
94
      }
84
      }
95
      if (result.e != null) {
85
      if (result.e != null) {
96
        throw result.e;
86
        throw result.e;
97
      }
87
      }
98
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getPropetry failed: unknown result");
88
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getPropetry failed: unknown result");
99
    }
89
    }
100
 
90
 
101
    public void loadProperty(String propertyName, String propertyValue) throws TException
91
    public void loadProperty(String propertyName, String propertyValue) throws org.apache.thrift.TException
102
    {
92
    {
103
      send_loadProperty(propertyName, propertyValue);
93
      send_loadProperty(propertyName, propertyValue);
104
      recv_loadProperty();
94
      recv_loadProperty();
105
    }
95
    }
106
 
96
 
107
    public void send_loadProperty(String propertyName, String propertyValue) throws TException
97
    public void send_loadProperty(String propertyName, String propertyValue) throws org.apache.thrift.TException
108
    {
98
    {
109
      oprot_.writeMessageBegin(new TMessage("loadProperty", TMessageType.CALL, seqid_));
-
 
110
      loadProperty_args args = new loadProperty_args();
99
      loadProperty_args args = new loadProperty_args();
111
      args.propertyName = propertyName;
100
      args.setPropertyName(propertyName);
112
      args.propertyValue = propertyValue;
101
      args.setPropertyValue(propertyValue);
113
      args.write(oprot_);
-
 
114
      oprot_.writeMessageEnd();
-
 
115
      oprot_.getTransport().flush();
102
      sendBase("loadProperty", args);
116
    }
103
    }
117
 
104
 
118
    public void recv_loadProperty() throws TException
105
    public void recv_loadProperty() throws org.apache.thrift.TException
119
    {
106
    {
120
      TMessage msg = iprot_.readMessageBegin();
-
 
121
      if (msg.type == TMessageType.EXCEPTION) {
-
 
122
        TApplicationException x = TApplicationException.read(iprot_);
-
 
123
        iprot_.readMessageEnd();
-
 
124
        throw x;
-
 
125
      }
-
 
126
      loadProperty_result result = new loadProperty_result();
107
      loadProperty_result result = new loadProperty_result();
127
      result.read(iprot_);
108
      receiveBase(result, "loadProperty");
128
      iprot_.readMessageEnd();
-
 
129
      return;
109
      return;
130
    }
110
    }
131
 
111
 
132
    public void reloadProperties() throws TException
112
    public void reloadProperties() throws org.apache.thrift.TException
133
    {
113
    {
134
      send_reloadProperties();
114
      send_reloadProperties();
135
      recv_reloadProperties();
115
      recv_reloadProperties();
136
    }
116
    }
137
 
117
 
138
    public void send_reloadProperties() throws TException
118
    public void send_reloadProperties() throws org.apache.thrift.TException
139
    {
119
    {
140
      oprot_.writeMessageBegin(new TMessage("reloadProperties", TMessageType.CALL, seqid_));
-
 
141
      reloadProperties_args args = new reloadProperties_args();
120
      reloadProperties_args args = new reloadProperties_args();
142
      args.write(oprot_);
-
 
143
      oprot_.writeMessageEnd();
-
 
144
      oprot_.getTransport().flush();
121
      sendBase("reloadProperties", args);
145
    }
122
    }
146
 
123
 
147
    public void recv_reloadProperties() throws TException
124
    public void recv_reloadProperties() throws org.apache.thrift.TException
148
    {
125
    {
149
      TMessage msg = iprot_.readMessageBegin();
-
 
150
      if (msg.type == TMessageType.EXCEPTION) {
-
 
151
        TApplicationException x = TApplicationException.read(iprot_);
-
 
152
        iprot_.readMessageEnd();
-
 
153
        throw x;
-
 
154
      }
-
 
155
      reloadProperties_result result = new reloadProperties_result();
126
      reloadProperties_result result = new reloadProperties_result();
156
      result.read(iprot_);
127
      receiveBase(result, "reloadProperties");
157
      iprot_.readMessageEnd();
-
 
158
      return;
128
      return;
159
    }
129
    }
160
 
130
 
161
  }
131
  }
162
  public static class Processor implements TProcessor {
132
  public static class AsyncClient extends org.apache.thrift.async.TAsyncClient implements AsyncIface {
163
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
133
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
164
    public Processor(Iface iface)
134
      private org.apache.thrift.async.TAsyncClientManager clientManager;
165
    {
-
 
-
 
135
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
-
 
136
      public Factory(org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.protocol.TProtocolFactory protocolFactory) {
166
      iface_ = iface;
137
        this.clientManager = clientManager;
167
      processMap_.put("getPropetry", new getPropetry());
138
        this.protocolFactory = protocolFactory;
-
 
139
      }
168
      processMap_.put("loadProperty", new loadProperty());
140
      public AsyncClient getAsyncClient(org.apache.thrift.transport.TNonblockingTransport transport) {
169
      processMap_.put("reloadProperties", new reloadProperties());
141
        return new AsyncClient(protocolFactory, clientManager, transport);
-
 
142
      }
170
    }
143
    }
171
 
144
 
172
    protected static interface ProcessFunction {
145
    public AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport) {
173
      public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException;
146
      super(protocolFactory, clientManager, transport);
174
    }
147
    }
175
 
148
 
-
 
149
    public void getPropetry(String propertyName, org.apache.thrift.async.AsyncMethodCallback<getPropetry_call> resultHandler) throws org.apache.thrift.TException {
176
    private Iface iface_;
150
      checkReady();
177
    protected final HashMap<String,ProcessFunction> processMap_ = new HashMap<String,ProcessFunction>();
151
      getPropetry_call method_call = new getPropetry_call(propertyName, resultHandler, this, ___protocolFactory, ___transport);
-
 
152
      this.___currentMethod = method_call;
-
 
153
      ___manager.call(method_call);
-
 
154
    }
178
 
155
 
179
    public boolean process(TProtocol iprot, TProtocol oprot) throws TException
156
    public static class getPropetry_call extends org.apache.thrift.async.TAsyncMethodCall {
180
    {
-
 
181
      TMessage msg = iprot.readMessageBegin();
157
      private String propertyName;
182
      ProcessFunction fn = processMap_.get(msg.name);
158
      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 {
183
      if (fn == null) {
-
 
184
        TProtocolUtil.skip(iprot, TType.STRUCT);
159
        super(client, protocolFactory, transport, resultHandler, false);
185
        iprot.readMessageEnd();
160
        this.propertyName = propertyName;
186
        TApplicationException x = new TApplicationException(TApplicationException.UNKNOWN_METHOD, "Invalid method name: '"+msg.name+"'");
-
 
187
        oprot.writeMessageBegin(new TMessage(msg.name, TMessageType.EXCEPTION, msg.seqid));
-
 
188
        x.write(oprot);
-
 
189
        oprot.writeMessageEnd();
-
 
190
        oprot.getTransport().flush();
-
 
191
        return true;
-
 
192
      }
161
      }
193
      fn.process(msg.seqid, iprot, oprot);
-
 
194
      return true;
-
 
195
    }
-
 
196
 
162
 
197
    private class getPropetry implements ProcessFunction {
163
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
198
      public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException
164
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getPropetry", org.apache.thrift.protocol.TMessageType.CALL, 0));
199
      {
-
 
200
        getPropetry_args args = new getPropetry_args();
165
        getPropetry_args args = new getPropetry_args();
-
 
166
        args.setPropertyName(propertyName);
-
 
167
        args.write(prot);
-
 
168
        prot.writeMessageEnd();
-
 
169
      }
-
 
170
 
-
 
171
      public String getResult() throws ConfigException, org.apache.thrift.TException {
-
 
172
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
173
          throw new IllegalStateException("Method call not finished!");
-
 
174
        }
-
 
175
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
176
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
177
        return (new Client(prot)).recv_getPropetry();
-
 
178
      }
-
 
179
    }
-
 
180
 
-
 
181
    public void loadProperty(String propertyName, String propertyValue, org.apache.thrift.async.AsyncMethodCallback<loadProperty_call> resultHandler) throws org.apache.thrift.TException {
-
 
182
      checkReady();
-
 
183
      loadProperty_call method_call = new loadProperty_call(propertyName, propertyValue, resultHandler, this, ___protocolFactory, ___transport);
-
 
184
      this.___currentMethod = method_call;
-
 
185
      ___manager.call(method_call);
-
 
186
    }
-
 
187
 
-
 
188
    public static class loadProperty_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
189
      private String propertyName;
-
 
190
      private String propertyValue;
201
        args.read(iprot);
191
      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 {
-
 
192
        super(client, protocolFactory, transport, resultHandler, false);
-
 
193
        this.propertyName = propertyName;
-
 
194
        this.propertyValue = propertyValue;
-
 
195
      }
-
 
196
 
-
 
197
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
198
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("loadProperty", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
199
        loadProperty_args args = new loadProperty_args();
-
 
200
        args.setPropertyName(propertyName);
-
 
201
        args.setPropertyValue(propertyValue);
-
 
202
        args.write(prot);
-
 
203
        prot.writeMessageEnd();
-
 
204
      }
-
 
205
 
-
 
206
      public void getResult() throws org.apache.thrift.TException {
-
 
207
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
208
          throw new IllegalStateException("Method call not finished!");
-
 
209
        }
-
 
210
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
211
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
212
        (new Client(prot)).recv_loadProperty();
-
 
213
      }
-
 
214
    }
-
 
215
 
-
 
216
    public void reloadProperties(org.apache.thrift.async.AsyncMethodCallback<reloadProperties_call> resultHandler) throws org.apache.thrift.TException {
-
 
217
      checkReady();
-
 
218
      reloadProperties_call method_call = new reloadProperties_call(resultHandler, this, ___protocolFactory, ___transport);
-
 
219
      this.___currentMethod = method_call;
-
 
220
      ___manager.call(method_call);
-
 
221
    }
-
 
222
 
-
 
223
    public static class reloadProperties_call extends org.apache.thrift.async.TAsyncMethodCall {
202
        iprot.readMessageEnd();
224
      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 {
-
 
225
        super(client, protocolFactory, transport, resultHandler, false);
-
 
226
      }
-
 
227
 
-
 
228
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
229
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("reloadProperties", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
230
        reloadProperties_args args = new reloadProperties_args();
-
 
231
        args.write(prot);
-
 
232
        prot.writeMessageEnd();
-
 
233
      }
-
 
234
 
-
 
235
      public void getResult() throws org.apache.thrift.TException {
-
 
236
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
237
          throw new IllegalStateException("Method call not finished!");
-
 
238
        }
-
 
239
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
240
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
241
        (new Client(prot)).recv_reloadProperties();
-
 
242
      }
-
 
243
    }
-
 
244
 
-
 
245
  }
-
 
246
 
-
 
247
  public static class Processor<I extends Iface> extends org.apache.thrift.TBaseProcessor implements org.apache.thrift.TProcessor {
-
 
248
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
-
 
249
    public Processor(I iface) {
-
 
250
      super(iface, getProcessMap(new HashMap<String, org.apache.thrift.ProcessFunction<I, ? extends org.apache.thrift.TBase>>()));
-
 
251
    }
-
 
252
 
-
 
253
    protected Processor(I iface, Map<String,  org.apache.thrift.ProcessFunction<I, ? extends  org.apache.thrift.TBase>> processMap) {
-
 
254
      super(iface, getProcessMap(processMap));
-
 
255
    }
-
 
256
 
-
 
257
    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) {
-
 
258
      processMap.put("getPropetry", new getPropetry());
-
 
259
      processMap.put("loadProperty", new loadProperty());
-
 
260
      processMap.put("reloadProperties", new reloadProperties());
-
 
261
      return processMap;
-
 
262
    }
-
 
263
 
-
 
264
    private static class getPropetry<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getPropetry_args> {
-
 
265
      public getPropetry() {
-
 
266
        super("getPropetry");
-
 
267
      }
-
 
268
 
-
 
269
      protected getPropetry_args getEmptyArgsInstance() {
-
 
270
        return new getPropetry_args();
-
 
271
      }
-
 
272
 
-
 
273
      protected getPropetry_result getResult(I iface, getPropetry_args args) throws org.apache.thrift.TException {
203
        getPropetry_result result = new getPropetry_result();
274
        getPropetry_result result = new getPropetry_result();
204
        try {
275
        try {
205
          result.success = iface_.getPropetry(args.propertyName);
276
          result.success = iface.getPropetry(args.propertyName);
206
        } catch (ConfigException e) {
277
        } catch (ConfigException e) {
207
          result.e = e;
278
          result.e = e;
208
        } catch (Throwable th) {
-
 
209
          LOGGER.error("Internal error processing getPropetry", th);
-
 
210
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing getPropetry");
-
 
211
          oprot.writeMessageBegin(new TMessage("getPropetry", TMessageType.EXCEPTION, seqid));
-
 
212
          x.write(oprot);
-
 
213
          oprot.writeMessageEnd();
-
 
214
          oprot.getTransport().flush();
-
 
215
          return;
-
 
216
        }
279
        }
217
        oprot.writeMessageBegin(new TMessage("getPropetry", TMessageType.REPLY, seqid));
-
 
218
        result.write(oprot);
280
        return result;
219
        oprot.writeMessageEnd();
-
 
220
        oprot.getTransport().flush();
-
 
221
      }
281
      }
222
 
-
 
223
    }
282
    }
224
 
283
 
225
    private class loadProperty implements ProcessFunction {
284
    private static class loadProperty<I extends Iface> extends org.apache.thrift.ProcessFunction<I, loadProperty_args> {
226
      public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException
-
 
227
      {
-
 
228
        loadProperty_args args = new loadProperty_args();
285
      public loadProperty() {
229
        args.read(iprot);
286
        super("loadProperty");
230
        iprot.readMessageEnd();
287
      }
231
        loadProperty_result result = new loadProperty_result();
-
 
-
 
288
 
232
        iface_.loadProperty(args.propertyName, args.propertyValue);
289
      protected loadProperty_args getEmptyArgsInstance() {
233
        oprot.writeMessageBegin(new TMessage("loadProperty", TMessageType.REPLY, seqid));
-
 
234
        result.write(oprot);
-
 
235
        oprot.writeMessageEnd();
-
 
236
        oprot.getTransport().flush();
290
        return new loadProperty_args();
237
      }
291
      }
238
 
292
 
-
 
293
      protected loadProperty_result getResult(I iface, loadProperty_args args) throws org.apache.thrift.TException {
-
 
294
        loadProperty_result result = new loadProperty_result();
-
 
295
        iface.loadProperty(args.propertyName, args.propertyValue);
-
 
296
        return result;
-
 
297
      }
239
    }
298
    }
240
 
299
 
241
    private class reloadProperties implements ProcessFunction {
300
    private static class reloadProperties<I extends Iface> extends org.apache.thrift.ProcessFunction<I, reloadProperties_args> {
242
      public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException
-
 
243
      {
-
 
244
        reloadProperties_args args = new reloadProperties_args();
-
 
245
        args.read(iprot);
301
      public reloadProperties() {
246
        iprot.readMessageEnd();
-
 
247
        reloadProperties_result result = new reloadProperties_result();
-
 
248
        iface_.reloadProperties();
302
        super("reloadProperties");
249
        oprot.writeMessageBegin(new TMessage("reloadProperties", TMessageType.REPLY, seqid));
-
 
250
        result.write(oprot);
303
      }
-
 
304
 
251
        oprot.writeMessageEnd();
305
      protected reloadProperties_args getEmptyArgsInstance() {
252
        oprot.getTransport().flush();
306
        return new reloadProperties_args();
253
      }
307
      }
254
 
308
 
-
 
309
      protected reloadProperties_result getResult(I iface, reloadProperties_args args) throws org.apache.thrift.TException {
-
 
310
        reloadProperties_result result = new reloadProperties_result();
-
 
311
        iface.reloadProperties();
-
 
312
        return result;
-
 
313
      }
255
    }
314
    }
256
 
315
 
257
  }
316
  }
258
 
317
 
259
  public static class getPropetry_args implements TBase<getPropetry_args._Fields>, java.io.Serializable, Cloneable, Comparable<getPropetry_args>   {
318
  public static class getPropetry_args implements org.apache.thrift.TBase<getPropetry_args, getPropetry_args._Fields>, java.io.Serializable, Cloneable   {
260
    private static final TStruct STRUCT_DESC = new TStruct("getPropetry_args");
319
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getPropetry_args");
261
 
320
 
262
    private static final TField PROPERTY_NAME_FIELD_DESC = new TField("propertyName", TType.STRING, (short)1);
321
    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);
263
 
322
 
264
    private String propertyName;
323
    private String propertyName; // required
265
 
324
 
266
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
325
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
267
    public enum _Fields implements TFieldIdEnum {
326
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
268
      PROPERTY_NAME((short)1, "propertyName");
327
      PROPERTY_NAME((short)1, "propertyName");
269
 
328
 
270
      private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
-
 
271
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
329
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
272
 
330
 
273
      static {
331
      static {
274
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
332
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
275
          byId.put((int)field._thriftId, field);
-
 
276
          byName.put(field.getFieldName(), field);
333
          byName.put(field.getFieldName(), field);
277
        }
334
        }
278
      }
335
      }
279
 
336
 
280
      /**
337
      /**
281
       * Find the _Fields constant that matches fieldId, or null if its not found.
338
       * Find the _Fields constant that matches fieldId, or null if its not found.
282
       */
339
       */
283
      public static _Fields findByThriftId(int fieldId) {
340
      public static _Fields findByThriftId(int fieldId) {
284
        return byId.get(fieldId);
341
        switch(fieldId) {
-
 
342
          case 1: // PROPERTY_NAME
-
 
343
            return PROPERTY_NAME;
-
 
344
          default:
-
 
345
            return null;
-
 
346
        }
285
      }
347
      }
286
 
348
 
287
      /**
349
      /**
288
       * Find the _Fields constant that matches fieldId, throwing an exception
350
       * Find the _Fields constant that matches fieldId, throwing an exception
289
       * if it is not found.
351
       * if it is not found.
Line 318... Line 380...
318
      }
380
      }
319
    }
381
    }
320
 
382
 
321
    // isset id assignments
383
    // isset id assignments
322
 
384
 
323
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
385
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
324
      put(_Fields.PROPERTY_NAME, new FieldMetaData("propertyName", TFieldRequirementType.DEFAULT, 
-
 
325
          new FieldValueMetaData(TType.STRING)));
-
 
326
    }});
-
 
327
 
-
 
328
    static {
386
    static {
-
 
387
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
388
      tmpMap.put(_Fields.PROPERTY_NAME, new org.apache.thrift.meta_data.FieldMetaData("propertyName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
389
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
390
      metaDataMap = Collections.unmodifiableMap(tmpMap);
329
      FieldMetaData.addStructMetaDataMap(getPropetry_args.class, metaDataMap);
391
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getPropetry_args.class, metaDataMap);
330
    }
392
    }
331
 
393
 
332
    public getPropetry_args() {
394
    public getPropetry_args() {
333
    }
395
    }
334
 
396
 
Line 350... Line 412...
350
 
412
 
351
    public getPropetry_args deepCopy() {
413
    public getPropetry_args deepCopy() {
352
      return new getPropetry_args(this);
414
      return new getPropetry_args(this);
353
    }
415
    }
354
 
416
 
355
    @Deprecated
417
    @Override
356
    public getPropetry_args clone() {
418
    public void clear() {
357
      return new getPropetry_args(this);
419
      this.propertyName = null;
358
    }
420
    }
359
 
421
 
360
    public String getPropertyName() {
422
    public String getPropertyName() {
361
      return this.propertyName;
423
      return this.propertyName;
362
    }
424
    }
363
 
425
 
364
    public getPropetry_args setPropertyName(String propertyName) {
426
    public void setPropertyName(String propertyName) {
365
      this.propertyName = propertyName;
427
      this.propertyName = propertyName;
366
      return this;
-
 
367
    }
428
    }
368
 
429
 
369
    public void unsetPropertyName() {
430
    public void unsetPropertyName() {
370
      this.propertyName = null;
431
      this.propertyName = null;
371
    }
432
    }
372
 
433
 
373
    /** Returns true if field propertyName is set (has been asigned a value) and false otherwise */
434
    /** Returns true if field propertyName is set (has been assigned a value) and false otherwise */
374
    public boolean isSetPropertyName() {
435
    public boolean isSetPropertyName() {
375
      return this.propertyName != null;
436
      return this.propertyName != null;
376
    }
437
    }
377
 
438
 
378
    public void setPropertyNameIsSet(boolean value) {
439
    public void setPropertyNameIsSet(boolean value) {
Line 392... Line 453...
392
        break;
453
        break;
393
 
454
 
394
      }
455
      }
395
    }
456
    }
396
 
457
 
397
    public void setFieldValue(int fieldID, Object value) {
-
 
398
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
-
 
399
    }
-
 
400
 
-
 
401
    public Object getFieldValue(_Fields field) {
458
    public Object getFieldValue(_Fields field) {
402
      switch (field) {
459
      switch (field) {
403
      case PROPERTY_NAME:
460
      case PROPERTY_NAME:
404
        return getPropertyName();
461
        return getPropertyName();
405
 
462
 
406
      }
463
      }
407
      throw new IllegalStateException();
464
      throw new IllegalStateException();
408
    }
465
    }
409
 
466
 
410
    public Object getFieldValue(int fieldId) {
-
 
411
      return getFieldValue(_Fields.findByThriftIdOrThrow(fieldId));
-
 
412
    }
-
 
413
 
-
 
414
    /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
467
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
415
    public boolean isSet(_Fields field) {
468
    public boolean isSet(_Fields field) {
-
 
469
      if (field == null) {
-
 
470
        throw new IllegalArgumentException();
-
 
471
      }
-
 
472
 
416
      switch (field) {
473
      switch (field) {
417
      case PROPERTY_NAME:
474
      case PROPERTY_NAME:
418
        return isSetPropertyName();
475
        return isSetPropertyName();
419
      }
476
      }
420
      throw new IllegalStateException();
477
      throw new IllegalStateException();
421
    }
478
    }
422
 
479
 
423
    public boolean isSet(int fieldID) {
-
 
424
      return isSet(_Fields.findByThriftIdOrThrow(fieldID));
-
 
425
    }
-
 
426
 
-
 
427
    @Override
480
    @Override
428
    public boolean equals(Object that) {
481
    public boolean equals(Object that) {
429
      if (that == null)
482
      if (that == null)
430
        return false;
483
        return false;
431
      if (that instanceof getPropetry_args)
484
      if (that instanceof getPropetry_args)
Line 460... Line 513...
460
      }
513
      }
461
 
514
 
462
      int lastComparison = 0;
515
      int lastComparison = 0;
463
      getPropetry_args typedOther = (getPropetry_args)other;
516
      getPropetry_args typedOther = (getPropetry_args)other;
464
 
517
 
465
      lastComparison = Boolean.valueOf(isSetPropertyName()).compareTo(isSetPropertyName());
518
      lastComparison = Boolean.valueOf(isSetPropertyName()).compareTo(typedOther.isSetPropertyName());
466
      if (lastComparison != 0) {
519
      if (lastComparison != 0) {
467
        return lastComparison;
520
        return lastComparison;
468
      }
521
      }
-
 
522
      if (isSetPropertyName()) {
469
      lastComparison = TBaseHelper.compareTo(propertyName, typedOther.propertyName);
523
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.propertyName, typedOther.propertyName);
470
      if (lastComparison != 0) {
524
        if (lastComparison != 0) {
471
        return lastComparison;
525
          return lastComparison;
-
 
526
        }
472
      }
527
      }
473
      return 0;
528
      return 0;
474
    }
529
    }
475
 
530
 
-
 
531
    public _Fields fieldForId(int fieldId) {
-
 
532
      return _Fields.findByThriftId(fieldId);
-
 
533
    }
-
 
534
 
476
    public void read(TProtocol iprot) throws TException {
535
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
477
      TField field;
536
      org.apache.thrift.protocol.TField field;
478
      iprot.readStructBegin();
537
      iprot.readStructBegin();
479
      while (true)
538
      while (true)
480
      {
539
      {
481
        field = iprot.readFieldBegin();
540
        field = iprot.readFieldBegin();
482
        if (field.type == TType.STOP) { 
541
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
483
          break;
542
          break;
484
        }
543
        }
485
        _Fields fieldId = _Fields.findByThriftId(field.id);
-
 
486
        if (fieldId == null) {
-
 
487
          TProtocolUtil.skip(iprot, field.type);
-
 
488
        } else {
-
 
489
          switch (fieldId) {
544
        switch (field.id) {
490
            case PROPERTY_NAME:
545
          case 1: // PROPERTY_NAME
491
              if (field.type == TType.STRING) {
546
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
492
                this.propertyName = iprot.readString();
547
              this.propertyName = iprot.readString();
493
              } else { 
548
            } else { 
494
                TProtocolUtil.skip(iprot, field.type);
549
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
495
              }
550
            }
496
              break;
551
            break;
497
          }
552
          default:
498
          iprot.readFieldEnd();
553
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
499
        }
554
        }
-
 
555
        iprot.readFieldEnd();
500
      }
556
      }
501
      iprot.readStructEnd();
557
      iprot.readStructEnd();
502
      validate();
558
      validate();
503
    }
559
    }
504
 
560
 
505
    public void write(TProtocol oprot) throws TException {
561
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
506
      validate();
562
      validate();
507
 
563
 
508
      oprot.writeStructBegin(STRUCT_DESC);
564
      oprot.writeStructBegin(STRUCT_DESC);
509
      if (this.propertyName != null) {
565
      if (this.propertyName != null) {
510
        oprot.writeFieldBegin(PROPERTY_NAME_FIELD_DESC);
566
        oprot.writeFieldBegin(PROPERTY_NAME_FIELD_DESC);
Line 529... Line 585...
529
      first = false;
585
      first = false;
530
      sb.append(")");
586
      sb.append(")");
531
      return sb.toString();
587
      return sb.toString();
532
    }
588
    }
533
 
589
 
534
    public void validate() throws TException {
590
    public void validate() throws org.apache.thrift.TException {
535
      // check for required fields
591
      // check for required fields
536
    }
592
    }
537
 
593
 
-
 
594
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
595
      try {
-
 
596
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
597
      } catch (org.apache.thrift.TException te) {
-
 
598
        throw new java.io.IOException(te);
-
 
599
      }
-
 
600
    }
-
 
601
 
-
 
602
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
603
      try {
-
 
604
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
605
      } catch (org.apache.thrift.TException te) {
-
 
606
        throw new java.io.IOException(te);
-
 
607
      }
-
 
608
    }
-
 
609
 
538
  }
610
  }
539
 
611
 
540
  public static class getPropetry_result implements TBase<getPropetry_result._Fields>, java.io.Serializable, Cloneable, Comparable<getPropetry_result>   {
612
  public static class getPropetry_result implements org.apache.thrift.TBase<getPropetry_result, getPropetry_result._Fields>, java.io.Serializable, Cloneable   {
541
    private static final TStruct STRUCT_DESC = new TStruct("getPropetry_result");
613
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getPropetry_result");
542
 
614
 
543
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRING, (short)0);
615
    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);
544
    private static final TField E_FIELD_DESC = new TField("e", TType.STRUCT, (short)1);
616
    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);
545
 
617
 
546
    private String success;
618
    private String success; // required
547
    private ConfigException e;
619
    private ConfigException e; // required
548
 
620
 
549
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
621
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
550
    public enum _Fields implements TFieldIdEnum {
622
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
551
      SUCCESS((short)0, "success"),
623
      SUCCESS((short)0, "success"),
552
      E((short)1, "e");
624
      E((short)1, "e");
553
 
625
 
554
      private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
-
 
555
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
626
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
556
 
627
 
557
      static {
628
      static {
558
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
629
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
559
          byId.put((int)field._thriftId, field);
-
 
560
          byName.put(field.getFieldName(), field);
630
          byName.put(field.getFieldName(), field);
561
        }
631
        }
562
      }
632
      }
563
 
633
 
564
      /**
634
      /**
565
       * Find the _Fields constant that matches fieldId, or null if its not found.
635
       * Find the _Fields constant that matches fieldId, or null if its not found.
566
       */
636
       */
567
      public static _Fields findByThriftId(int fieldId) {
637
      public static _Fields findByThriftId(int fieldId) {
568
        return byId.get(fieldId);
638
        switch(fieldId) {
-
 
639
          case 0: // SUCCESS
-
 
640
            return SUCCESS;
-
 
641
          case 1: // E
-
 
642
            return E;
-
 
643
          default:
-
 
644
            return null;
-
 
645
        }
569
      }
646
      }
570
 
647
 
571
      /**
648
      /**
572
       * Find the _Fields constant that matches fieldId, throwing an exception
649
       * Find the _Fields constant that matches fieldId, throwing an exception
573
       * if it is not found.
650
       * if it is not found.
Line 602... Line 679...
602
      }
679
      }
603
    }
680
    }
604
 
681
 
605
    // isset id assignments
682
    // isset id assignments
606
 
683
 
607
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
684
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
608
      put(_Fields.SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, 
-
 
609
          new FieldValueMetaData(TType.STRING)));
-
 
610
      put(_Fields.E, new FieldMetaData("e", TFieldRequirementType.DEFAULT, 
-
 
611
          new FieldValueMetaData(TType.STRUCT)));
-
 
612
    }});
-
 
613
 
-
 
614
    static {
685
    static {
-
 
686
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
687
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
688
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
689
      tmpMap.put(_Fields.E, new org.apache.thrift.meta_data.FieldMetaData("e", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
690
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
691
      metaDataMap = Collections.unmodifiableMap(tmpMap);
615
      FieldMetaData.addStructMetaDataMap(getPropetry_result.class, metaDataMap);
692
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getPropetry_result.class, metaDataMap);
616
    }
693
    }
617
 
694
 
618
    public getPropetry_result() {
695
    public getPropetry_result() {
619
    }
696
    }
620
 
697
 
Line 641... Line 718...
641
 
718
 
642
    public getPropetry_result deepCopy() {
719
    public getPropetry_result deepCopy() {
643
      return new getPropetry_result(this);
720
      return new getPropetry_result(this);
644
    }
721
    }
645
 
722
 
646
    @Deprecated
723
    @Override
647
    public getPropetry_result clone() {
724
    public void clear() {
648
      return new getPropetry_result(this);
725
      this.success = null;
-
 
726
      this.e = null;
649
    }
727
    }
650
 
728
 
651
    public String getSuccess() {
729
    public String getSuccess() {
652
      return this.success;
730
      return this.success;
653
    }
731
    }
654
 
732
 
655
    public getPropetry_result setSuccess(String success) {
733
    public void setSuccess(String success) {
656
      this.success = success;
734
      this.success = success;
657
      return this;
-
 
658
    }
735
    }
659
 
736
 
660
    public void unsetSuccess() {
737
    public void unsetSuccess() {
661
      this.success = null;
738
      this.success = null;
662
    }
739
    }
663
 
740
 
664
    /** Returns true if field success is set (has been asigned a value) and false otherwise */
741
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
665
    public boolean isSetSuccess() {
742
    public boolean isSetSuccess() {
666
      return this.success != null;
743
      return this.success != null;
667
    }
744
    }
668
 
745
 
669
    public void setSuccessIsSet(boolean value) {
746
    public void setSuccessIsSet(boolean value) {
Line 674... Line 751...
674
 
751
 
675
    public ConfigException getE() {
752
    public ConfigException getE() {
676
      return this.e;
753
      return this.e;
677
    }
754
    }
678
 
755
 
679
    public getPropetry_result setE(ConfigException e) {
756
    public void setE(ConfigException e) {
680
      this.e = e;
757
      this.e = e;
681
      return this;
-
 
682
    }
758
    }
683
 
759
 
684
    public void unsetE() {
760
    public void unsetE() {
685
      this.e = null;
761
      this.e = null;
686
    }
762
    }
687
 
763
 
688
    /** Returns true if field e is set (has been asigned a value) and false otherwise */
764
    /** Returns true if field e is set (has been assigned a value) and false otherwise */
689
    public boolean isSetE() {
765
    public boolean isSetE() {
690
      return this.e != null;
766
      return this.e != null;
691
    }
767
    }
692
 
768
 
693
    public void setEIsSet(boolean value) {
769
    public void setEIsSet(boolean value) {
Line 715... Line 791...
715
        break;
791
        break;
716
 
792
 
717
      }
793
      }
718
    }
794
    }
719
 
795
 
720
    public void setFieldValue(int fieldID, Object value) {
-
 
721
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
-
 
722
    }
-
 
723
 
-
 
724
    public Object getFieldValue(_Fields field) {
796
    public Object getFieldValue(_Fields field) {
725
      switch (field) {
797
      switch (field) {
726
      case SUCCESS:
798
      case SUCCESS:
727
        return getSuccess();
799
        return getSuccess();
728
 
800
 
Line 731... Line 803...
731
 
803
 
732
      }
804
      }
733
      throw new IllegalStateException();
805
      throw new IllegalStateException();
734
    }
806
    }
735
 
807
 
736
    public Object getFieldValue(int fieldId) {
-
 
737
      return getFieldValue(_Fields.findByThriftIdOrThrow(fieldId));
-
 
738
    }
-
 
739
 
-
 
740
    /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
808
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
741
    public boolean isSet(_Fields field) {
809
    public boolean isSet(_Fields field) {
-
 
810
      if (field == null) {
-
 
811
        throw new IllegalArgumentException();
-
 
812
      }
-
 
813
 
742
      switch (field) {
814
      switch (field) {
743
      case SUCCESS:
815
      case SUCCESS:
744
        return isSetSuccess();
816
        return isSetSuccess();
745
      case E:
817
      case E:
746
        return isSetE();
818
        return isSetE();
747
      }
819
      }
748
      throw new IllegalStateException();
820
      throw new IllegalStateException();
749
    }
821
    }
750
 
822
 
751
    public boolean isSet(int fieldID) {
-
 
752
      return isSet(_Fields.findByThriftIdOrThrow(fieldID));
-
 
753
    }
-
 
754
 
-
 
755
    @Override
823
    @Override
756
    public boolean equals(Object that) {
824
    public boolean equals(Object that) {
757
      if (that == null)
825
      if (that == null)
758
        return false;
826
        return false;
759
      if (that instanceof getPropetry_result)
827
      if (that instanceof getPropetry_result)
Line 797... Line 865...
797
      }
865
      }
798
 
866
 
799
      int lastComparison = 0;
867
      int lastComparison = 0;
800
      getPropetry_result typedOther = (getPropetry_result)other;
868
      getPropetry_result typedOther = (getPropetry_result)other;
801
 
869
 
802
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(isSetSuccess());
870
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
803
      if (lastComparison != 0) {
871
      if (lastComparison != 0) {
804
        return lastComparison;
872
        return lastComparison;
805
      }
873
      }
-
 
874
      if (isSetSuccess()) {
806
      lastComparison = TBaseHelper.compareTo(success, typedOther.success);
875
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
807
      if (lastComparison != 0) {
876
        if (lastComparison != 0) {
808
        return lastComparison;
877
          return lastComparison;
-
 
878
        }
809
      }
879
      }
810
      lastComparison = Boolean.valueOf(isSetE()).compareTo(isSetE());
880
      lastComparison = Boolean.valueOf(isSetE()).compareTo(typedOther.isSetE());
811
      if (lastComparison != 0) {
881
      if (lastComparison != 0) {
812
        return lastComparison;
882
        return lastComparison;
813
      }
883
      }
-
 
884
      if (isSetE()) {
814
      lastComparison = TBaseHelper.compareTo(e, typedOther.e);
885
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.e, typedOther.e);
815
      if (lastComparison != 0) {
886
        if (lastComparison != 0) {
816
        return lastComparison;
887
          return lastComparison;
-
 
888
        }
817
      }
889
      }
818
      return 0;
890
      return 0;
819
    }
891
    }
820
 
892
 
-
 
893
    public _Fields fieldForId(int fieldId) {
-
 
894
      return _Fields.findByThriftId(fieldId);
-
 
895
    }
-
 
896
 
821
    public void read(TProtocol iprot) throws TException {
897
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
822
      TField field;
898
      org.apache.thrift.protocol.TField field;
823
      iprot.readStructBegin();
899
      iprot.readStructBegin();
824
      while (true)
900
      while (true)
825
      {
901
      {
826
        field = iprot.readFieldBegin();
902
        field = iprot.readFieldBegin();
827
        if (field.type == TType.STOP) { 
903
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
828
          break;
904
          break;
829
        }
905
        }
830
        _Fields fieldId = _Fields.findByThriftId(field.id);
-
 
831
        if (fieldId == null) {
-
 
832
          TProtocolUtil.skip(iprot, field.type);
-
 
833
        } else {
-
 
834
          switch (fieldId) {
906
        switch (field.id) {
835
            case SUCCESS:
907
          case 0: // SUCCESS
836
              if (field.type == TType.STRING) {
908
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
837
                this.success = iprot.readString();
909
              this.success = iprot.readString();
838
              } else { 
910
            } else { 
839
                TProtocolUtil.skip(iprot, field.type);
911
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
840
              }
912
            }
841
              break;
913
            break;
842
            case E:
914
          case 1: // E
843
              if (field.type == TType.STRUCT) {
915
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
844
                this.e = new ConfigException();
916
              this.e = new ConfigException();
845
                this.e.read(iprot);
917
              this.e.read(iprot);
846
              } else { 
918
            } else { 
847
                TProtocolUtil.skip(iprot, field.type);
919
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
848
              }
920
            }
849
              break;
921
            break;
850
          }
922
          default:
851
          iprot.readFieldEnd();
923
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
852
        }
924
        }
-
 
925
        iprot.readFieldEnd();
853
      }
926
      }
854
      iprot.readStructEnd();
927
      iprot.readStructEnd();
855
      validate();
928
      validate();
856
    }
929
    }
857
 
930
 
858
    public void write(TProtocol oprot) throws TException {
931
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
859
      oprot.writeStructBegin(STRUCT_DESC);
932
      oprot.writeStructBegin(STRUCT_DESC);
860
 
933
 
861
      if (this.isSetSuccess()) {
934
      if (this.isSetSuccess()) {
862
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
935
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
863
        oprot.writeString(this.success);
936
        oprot.writeString(this.success);
Line 893... Line 966...
893
      first = false;
966
      first = false;
894
      sb.append(")");
967
      sb.append(")");
895
      return sb.toString();
968
      return sb.toString();
896
    }
969
    }
897
 
970
 
898
    public void validate() throws TException {
971
    public void validate() throws org.apache.thrift.TException {
899
      // check for required fields
972
      // check for required fields
900
    }
973
    }
901
 
974
 
-
 
975
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
976
      try {
-
 
977
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
978
      } catch (org.apache.thrift.TException te) {
-
 
979
        throw new java.io.IOException(te);
-
 
980
      }
-
 
981
    }
-
 
982
 
-
 
983
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
984
      try {
-
 
985
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
986
      } catch (org.apache.thrift.TException te) {
-
 
987
        throw new java.io.IOException(te);
-
 
988
      }
-
 
989
    }
-
 
990
 
902
  }
991
  }
903
 
992
 
904
  public static class loadProperty_args implements TBase<loadProperty_args._Fields>, java.io.Serializable, Cloneable, Comparable<loadProperty_args>   {
993
  public static class loadProperty_args implements org.apache.thrift.TBase<loadProperty_args, loadProperty_args._Fields>, java.io.Serializable, Cloneable   {
905
    private static final TStruct STRUCT_DESC = new TStruct("loadProperty_args");
994
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("loadProperty_args");
906
 
995
 
907
    private static final TField PROPERTY_NAME_FIELD_DESC = new TField("propertyName", TType.STRING, (short)1);
996
    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);
908
    private static final TField PROPERTY_VALUE_FIELD_DESC = new TField("propertyValue", TType.STRING, (short)2);
997
    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);
909
 
998
 
910
    private String propertyName;
999
    private String propertyName; // required
911
    private String propertyValue;
1000
    private String propertyValue; // required
912
 
1001
 
913
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
1002
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
914
    public enum _Fields implements TFieldIdEnum {
1003
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
915
      PROPERTY_NAME((short)1, "propertyName"),
1004
      PROPERTY_NAME((short)1, "propertyName"),
916
      PROPERTY_VALUE((short)2, "propertyValue");
1005
      PROPERTY_VALUE((short)2, "propertyValue");
917
 
1006
 
918
      private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
-
 
919
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
1007
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
920
 
1008
 
921
      static {
1009
      static {
922
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
1010
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
923
          byId.put((int)field._thriftId, field);
-
 
924
          byName.put(field.getFieldName(), field);
1011
          byName.put(field.getFieldName(), field);
925
        }
1012
        }
926
      }
1013
      }
927
 
1014
 
928
      /**
1015
      /**
929
       * Find the _Fields constant that matches fieldId, or null if its not found.
1016
       * Find the _Fields constant that matches fieldId, or null if its not found.
930
       */
1017
       */
931
      public static _Fields findByThriftId(int fieldId) {
1018
      public static _Fields findByThriftId(int fieldId) {
932
        return byId.get(fieldId);
1019
        switch(fieldId) {
-
 
1020
          case 1: // PROPERTY_NAME
-
 
1021
            return PROPERTY_NAME;
-
 
1022
          case 2: // PROPERTY_VALUE
-
 
1023
            return PROPERTY_VALUE;
-
 
1024
          default:
-
 
1025
            return null;
-
 
1026
        }
933
      }
1027
      }
934
 
1028
 
935
      /**
1029
      /**
936
       * Find the _Fields constant that matches fieldId, throwing an exception
1030
       * Find the _Fields constant that matches fieldId, throwing an exception
937
       * if it is not found.
1031
       * if it is not found.
Line 966... Line 1060...
966
      }
1060
      }
967
    }
1061
    }
968
 
1062
 
969
    // isset id assignments
1063
    // isset id assignments
970
 
1064
 
971
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
1065
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
972
      put(_Fields.PROPERTY_NAME, new FieldMetaData("propertyName", TFieldRequirementType.DEFAULT, 
-
 
973
          new FieldValueMetaData(TType.STRING)));
-
 
974
      put(_Fields.PROPERTY_VALUE, new FieldMetaData("propertyValue", TFieldRequirementType.DEFAULT, 
-
 
975
          new FieldValueMetaData(TType.STRING)));
-
 
976
    }});
-
 
977
 
-
 
978
    static {
1066
    static {
-
 
1067
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
1068
      tmpMap.put(_Fields.PROPERTY_NAME, new org.apache.thrift.meta_data.FieldMetaData("propertyName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
1069
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
1070
      tmpMap.put(_Fields.PROPERTY_VALUE, new org.apache.thrift.meta_data.FieldMetaData("propertyValue", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
1071
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
1072
      metaDataMap = Collections.unmodifiableMap(tmpMap);
979
      FieldMetaData.addStructMetaDataMap(loadProperty_args.class, metaDataMap);
1073
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(loadProperty_args.class, metaDataMap);
980
    }
1074
    }
981
 
1075
 
982
    public loadProperty_args() {
1076
    public loadProperty_args() {
983
    }
1077
    }
984
 
1078
 
Line 1005... Line 1099...
1005
 
1099
 
1006
    public loadProperty_args deepCopy() {
1100
    public loadProperty_args deepCopy() {
1007
      return new loadProperty_args(this);
1101
      return new loadProperty_args(this);
1008
    }
1102
    }
1009
 
1103
 
1010
    @Deprecated
1104
    @Override
1011
    public loadProperty_args clone() {
1105
    public void clear() {
1012
      return new loadProperty_args(this);
1106
      this.propertyName = null;
-
 
1107
      this.propertyValue = null;
1013
    }
1108
    }
1014
 
1109
 
1015
    public String getPropertyName() {
1110
    public String getPropertyName() {
1016
      return this.propertyName;
1111
      return this.propertyName;
1017
    }
1112
    }
1018
 
1113
 
1019
    public loadProperty_args setPropertyName(String propertyName) {
1114
    public void setPropertyName(String propertyName) {
1020
      this.propertyName = propertyName;
1115
      this.propertyName = propertyName;
1021
      return this;
-
 
1022
    }
1116
    }
1023
 
1117
 
1024
    public void unsetPropertyName() {
1118
    public void unsetPropertyName() {
1025
      this.propertyName = null;
1119
      this.propertyName = null;
1026
    }
1120
    }
1027
 
1121
 
1028
    /** Returns true if field propertyName is set (has been asigned a value) and false otherwise */
1122
    /** Returns true if field propertyName is set (has been assigned a value) and false otherwise */
1029
    public boolean isSetPropertyName() {
1123
    public boolean isSetPropertyName() {
1030
      return this.propertyName != null;
1124
      return this.propertyName != null;
1031
    }
1125
    }
1032
 
1126
 
1033
    public void setPropertyNameIsSet(boolean value) {
1127
    public void setPropertyNameIsSet(boolean value) {
Line 1038... Line 1132...
1038
 
1132
 
1039
    public String getPropertyValue() {
1133
    public String getPropertyValue() {
1040
      return this.propertyValue;
1134
      return this.propertyValue;
1041
    }
1135
    }
1042
 
1136
 
1043
    public loadProperty_args setPropertyValue(String propertyValue) {
1137
    public void setPropertyValue(String propertyValue) {
1044
      this.propertyValue = propertyValue;
1138
      this.propertyValue = propertyValue;
1045
      return this;
-
 
1046
    }
1139
    }
1047
 
1140
 
1048
    public void unsetPropertyValue() {
1141
    public void unsetPropertyValue() {
1049
      this.propertyValue = null;
1142
      this.propertyValue = null;
1050
    }
1143
    }
1051
 
1144
 
1052
    /** Returns true if field propertyValue is set (has been asigned a value) and false otherwise */
1145
    /** Returns true if field propertyValue is set (has been assigned a value) and false otherwise */
1053
    public boolean isSetPropertyValue() {
1146
    public boolean isSetPropertyValue() {
1054
      return this.propertyValue != null;
1147
      return this.propertyValue != null;
1055
    }
1148
    }
1056
 
1149
 
1057
    public void setPropertyValueIsSet(boolean value) {
1150
    public void setPropertyValueIsSet(boolean value) {
Line 1079... Line 1172...
1079
        break;
1172
        break;
1080
 
1173
 
1081
      }
1174
      }
1082
    }
1175
    }
1083
 
1176
 
1084
    public void setFieldValue(int fieldID, Object value) {
-
 
1085
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
-
 
1086
    }
-
 
1087
 
-
 
1088
    public Object getFieldValue(_Fields field) {
1177
    public Object getFieldValue(_Fields field) {
1089
      switch (field) {
1178
      switch (field) {
1090
      case PROPERTY_NAME:
1179
      case PROPERTY_NAME:
1091
        return getPropertyName();
1180
        return getPropertyName();
1092
 
1181
 
Line 1095... Line 1184...
1095
 
1184
 
1096
      }
1185
      }
1097
      throw new IllegalStateException();
1186
      throw new IllegalStateException();
1098
    }
1187
    }
1099
 
1188
 
1100
    public Object getFieldValue(int fieldId) {
-
 
1101
      return getFieldValue(_Fields.findByThriftIdOrThrow(fieldId));
-
 
1102
    }
-
 
1103
 
-
 
1104
    /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
1189
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
1105
    public boolean isSet(_Fields field) {
1190
    public boolean isSet(_Fields field) {
-
 
1191
      if (field == null) {
-
 
1192
        throw new IllegalArgumentException();
-
 
1193
      }
-
 
1194
 
1106
      switch (field) {
1195
      switch (field) {
1107
      case PROPERTY_NAME:
1196
      case PROPERTY_NAME:
1108
        return isSetPropertyName();
1197
        return isSetPropertyName();
1109
      case PROPERTY_VALUE:
1198
      case PROPERTY_VALUE:
1110
        return isSetPropertyValue();
1199
        return isSetPropertyValue();
1111
      }
1200
      }
1112
      throw new IllegalStateException();
1201
      throw new IllegalStateException();
1113
    }
1202
    }
1114
 
1203
 
1115
    public boolean isSet(int fieldID) {
-
 
1116
      return isSet(_Fields.findByThriftIdOrThrow(fieldID));
-
 
1117
    }
-
 
1118
 
-
 
1119
    @Override
1204
    @Override
1120
    public boolean equals(Object that) {
1205
    public boolean equals(Object that) {
1121
      if (that == null)
1206
      if (that == null)
1122
        return false;
1207
        return false;
1123
      if (that instanceof loadProperty_args)
1208
      if (that instanceof loadProperty_args)
Line 1161... Line 1246...
1161
      }
1246
      }
1162
 
1247
 
1163
      int lastComparison = 0;
1248
      int lastComparison = 0;
1164
      loadProperty_args typedOther = (loadProperty_args)other;
1249
      loadProperty_args typedOther = (loadProperty_args)other;
1165
 
1250
 
1166
      lastComparison = Boolean.valueOf(isSetPropertyName()).compareTo(isSetPropertyName());
1251
      lastComparison = Boolean.valueOf(isSetPropertyName()).compareTo(typedOther.isSetPropertyName());
1167
      if (lastComparison != 0) {
1252
      if (lastComparison != 0) {
1168
        return lastComparison;
1253
        return lastComparison;
1169
      }
1254
      }
-
 
1255
      if (isSetPropertyName()) {
1170
      lastComparison = TBaseHelper.compareTo(propertyName, typedOther.propertyName);
1256
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.propertyName, typedOther.propertyName);
1171
      if (lastComparison != 0) {
1257
        if (lastComparison != 0) {
1172
        return lastComparison;
1258
          return lastComparison;
-
 
1259
        }
1173
      }
1260
      }
1174
      lastComparison = Boolean.valueOf(isSetPropertyValue()).compareTo(isSetPropertyValue());
1261
      lastComparison = Boolean.valueOf(isSetPropertyValue()).compareTo(typedOther.isSetPropertyValue());
1175
      if (lastComparison != 0) {
1262
      if (lastComparison != 0) {
1176
        return lastComparison;
1263
        return lastComparison;
1177
      }
1264
      }
-
 
1265
      if (isSetPropertyValue()) {
1178
      lastComparison = TBaseHelper.compareTo(propertyValue, typedOther.propertyValue);
1266
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.propertyValue, typedOther.propertyValue);
1179
      if (lastComparison != 0) {
1267
        if (lastComparison != 0) {
1180
        return lastComparison;
1268
          return lastComparison;
-
 
1269
        }
1181
      }
1270
      }
1182
      return 0;
1271
      return 0;
1183
    }
1272
    }
1184
 
1273
 
-
 
1274
    public _Fields fieldForId(int fieldId) {
-
 
1275
      return _Fields.findByThriftId(fieldId);
-
 
1276
    }
-
 
1277
 
1185
    public void read(TProtocol iprot) throws TException {
1278
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
1186
      TField field;
1279
      org.apache.thrift.protocol.TField field;
1187
      iprot.readStructBegin();
1280
      iprot.readStructBegin();
1188
      while (true)
1281
      while (true)
1189
      {
1282
      {
1190
        field = iprot.readFieldBegin();
1283
        field = iprot.readFieldBegin();
1191
        if (field.type == TType.STOP) { 
1284
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
1192
          break;
1285
          break;
1193
        }
1286
        }
1194
        _Fields fieldId = _Fields.findByThriftId(field.id);
-
 
1195
        if (fieldId == null) {
-
 
1196
          TProtocolUtil.skip(iprot, field.type);
-
 
1197
        } else {
-
 
1198
          switch (fieldId) {
1287
        switch (field.id) {
1199
            case PROPERTY_NAME:
1288
          case 1: // PROPERTY_NAME
1200
              if (field.type == TType.STRING) {
1289
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
1201
                this.propertyName = iprot.readString();
1290
              this.propertyName = iprot.readString();
1202
              } else { 
1291
            } else { 
1203
                TProtocolUtil.skip(iprot, field.type);
1292
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1204
              }
1293
            }
1205
              break;
1294
            break;
1206
            case PROPERTY_VALUE:
1295
          case 2: // PROPERTY_VALUE
1207
              if (field.type == TType.STRING) {
1296
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
1208
                this.propertyValue = iprot.readString();
1297
              this.propertyValue = iprot.readString();
1209
              } else { 
1298
            } else { 
1210
                TProtocolUtil.skip(iprot, field.type);
1299
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1211
              }
1300
            }
1212
              break;
1301
            break;
1213
          }
1302
          default:
1214
          iprot.readFieldEnd();
1303
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1215
        }
1304
        }
-
 
1305
        iprot.readFieldEnd();
1216
      }
1306
      }
1217
      iprot.readStructEnd();
1307
      iprot.readStructEnd();
1218
      validate();
1308
      validate();
1219
    }
1309
    }
1220
 
1310
 
1221
    public void write(TProtocol oprot) throws TException {
1311
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
1222
      validate();
1312
      validate();
1223
 
1313
 
1224
      oprot.writeStructBegin(STRUCT_DESC);
1314
      oprot.writeStructBegin(STRUCT_DESC);
1225
      if (this.propertyName != null) {
1315
      if (this.propertyName != null) {
1226
        oprot.writeFieldBegin(PROPERTY_NAME_FIELD_DESC);
1316
        oprot.writeFieldBegin(PROPERTY_NAME_FIELD_DESC);
Line 1258... Line 1348...
1258
      first = false;
1348
      first = false;
1259
      sb.append(")");
1349
      sb.append(")");
1260
      return sb.toString();
1350
      return sb.toString();
1261
    }
1351
    }
1262
 
1352
 
1263
    public void validate() throws TException {
1353
    public void validate() throws org.apache.thrift.TException {
1264
      // check for required fields
1354
      // check for required fields
1265
    }
1355
    }
1266
 
1356
 
-
 
1357
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
1358
      try {
-
 
1359
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
1360
      } catch (org.apache.thrift.TException te) {
-
 
1361
        throw new java.io.IOException(te);
-
 
1362
      }
-
 
1363
    }
-
 
1364
 
-
 
1365
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
1366
      try {
-
 
1367
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
1368
      } catch (org.apache.thrift.TException te) {
-
 
1369
        throw new java.io.IOException(te);
-
 
1370
      }
-
 
1371
    }
-
 
1372
 
1267
  }
1373
  }
1268
 
1374
 
1269
  public static class loadProperty_result implements TBase<loadProperty_result._Fields>, java.io.Serializable, Cloneable, Comparable<loadProperty_result>   {
1375
  public static class loadProperty_result implements org.apache.thrift.TBase<loadProperty_result, loadProperty_result._Fields>, java.io.Serializable, Cloneable   {
1270
    private static final TStruct STRUCT_DESC = new TStruct("loadProperty_result");
1376
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("loadProperty_result");
1271
 
1377
 
1272
 
1378
 
1273
 
1379
 
1274
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
1380
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
1275
    public enum _Fields implements TFieldIdEnum {
1381
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
1276
;
1382
;
1277
 
1383
 
1278
      private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
-
 
1279
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
1384
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
1280
 
1385
 
1281
      static {
1386
      static {
1282
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
1387
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
1283
          byId.put((int)field._thriftId, field);
-
 
1284
          byName.put(field.getFieldName(), field);
1388
          byName.put(field.getFieldName(), field);
1285
        }
1389
        }
1286
      }
1390
      }
1287
 
1391
 
1288
      /**
1392
      /**
1289
       * Find the _Fields constant that matches fieldId, or null if its not found.
1393
       * Find the _Fields constant that matches fieldId, or null if its not found.
1290
       */
1394
       */
1291
      public static _Fields findByThriftId(int fieldId) {
1395
      public static _Fields findByThriftId(int fieldId) {
1292
        return byId.get(fieldId);
1396
        switch(fieldId) {
-
 
1397
          default:
-
 
1398
            return null;
-
 
1399
        }
1293
      }
1400
      }
1294
 
1401
 
1295
      /**
1402
      /**
1296
       * Find the _Fields constant that matches fieldId, throwing an exception
1403
       * Find the _Fields constant that matches fieldId, throwing an exception
1297
       * if it is not found.
1404
       * if it is not found.
Line 1323... Line 1430...
1323
 
1430
 
1324
      public String getFieldName() {
1431
      public String getFieldName() {
1325
        return _fieldName;
1432
        return _fieldName;
1326
      }
1433
      }
1327
    }
1434
    }
1328
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
1435
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
1329
    }});
-
 
1330
 
-
 
1331
    static {
1436
    static {
-
 
1437
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
1438
      metaDataMap = Collections.unmodifiableMap(tmpMap);
1332
      FieldMetaData.addStructMetaDataMap(loadProperty_result.class, metaDataMap);
1439
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(loadProperty_result.class, metaDataMap);
1333
    }
1440
    }
1334
 
1441
 
1335
    public loadProperty_result() {
1442
    public loadProperty_result() {
1336
    }
1443
    }
1337
 
1444
 
Line 1343... Line 1450...
1343
 
1450
 
1344
    public loadProperty_result deepCopy() {
1451
    public loadProperty_result deepCopy() {
1345
      return new loadProperty_result(this);
1452
      return new loadProperty_result(this);
1346
    }
1453
    }
1347
 
1454
 
1348
    @Deprecated
1455
    @Override
1349
    public loadProperty_result clone() {
1456
    public void clear() {
1350
      return new loadProperty_result(this);
-
 
1351
    }
1457
    }
1352
 
1458
 
1353
    public void setFieldValue(_Fields field, Object value) {
1459
    public void setFieldValue(_Fields field, Object value) {
1354
      switch (field) {
1460
      switch (field) {
1355
      }
1461
      }
1356
    }
1462
    }
1357
 
1463
 
1358
    public void setFieldValue(int fieldID, Object value) {
-
 
1359
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
-
 
1360
    }
-
 
1361
 
-
 
1362
    public Object getFieldValue(_Fields field) {
1464
    public Object getFieldValue(_Fields field) {
1363
      switch (field) {
1465
      switch (field) {
1364
      }
1466
      }
1365
      throw new IllegalStateException();
1467
      throw new IllegalStateException();
1366
    }
1468
    }
1367
 
1469
 
1368
    public Object getFieldValue(int fieldId) {
-
 
1369
      return getFieldValue(_Fields.findByThriftIdOrThrow(fieldId));
-
 
1370
    }
-
 
1371
 
-
 
1372
    /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
1470
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
1373
    public boolean isSet(_Fields field) {
1471
    public boolean isSet(_Fields field) {
-
 
1472
      if (field == null) {
-
 
1473
        throw new IllegalArgumentException();
-
 
1474
      }
-
 
1475
 
1374
      switch (field) {
1476
      switch (field) {
1375
      }
1477
      }
1376
      throw new IllegalStateException();
1478
      throw new IllegalStateException();
1377
    }
1479
    }
1378
 
1480
 
1379
    public boolean isSet(int fieldID) {
-
 
1380
      return isSet(_Fields.findByThriftIdOrThrow(fieldID));
-
 
1381
    }
-
 
1382
 
-
 
1383
    @Override
1481
    @Override
1384
    public boolean equals(Object that) {
1482
    public boolean equals(Object that) {
1385
      if (that == null)
1483
      if (that == null)
1386
        return false;
1484
        return false;
1387
      if (that instanceof loadProperty_result)
1485
      if (that instanceof loadProperty_result)
Line 1410... Line 1508...
1410
      loadProperty_result typedOther = (loadProperty_result)other;
1508
      loadProperty_result typedOther = (loadProperty_result)other;
1411
 
1509
 
1412
      return 0;
1510
      return 0;
1413
    }
1511
    }
1414
 
1512
 
-
 
1513
    public _Fields fieldForId(int fieldId) {
-
 
1514
      return _Fields.findByThriftId(fieldId);
-
 
1515
    }
-
 
1516
 
1415
    public void read(TProtocol iprot) throws TException {
1517
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
1416
      TField field;
1518
      org.apache.thrift.protocol.TField field;
1417
      iprot.readStructBegin();
1519
      iprot.readStructBegin();
1418
      while (true)
1520
      while (true)
1419
      {
1521
      {
1420
        field = iprot.readFieldBegin();
1522
        field = iprot.readFieldBegin();
1421
        if (field.type == TType.STOP) { 
1523
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
1422
          break;
1524
          break;
1423
        }
1525
        }
1424
        _Fields fieldId = _Fields.findByThriftId(field.id);
-
 
1425
        if (fieldId == null) {
-
 
1426
          TProtocolUtil.skip(iprot, field.type);
-
 
1427
        } else {
-
 
1428
          switch (fieldId) {
1526
        switch (field.id) {
1429
          }
1527
          default:
1430
          iprot.readFieldEnd();
1528
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1431
        }
1529
        }
-
 
1530
        iprot.readFieldEnd();
1432
      }
1531
      }
1433
      iprot.readStructEnd();
1532
      iprot.readStructEnd();
1434
      validate();
1533
      validate();
1435
    }
1534
    }
1436
 
1535
 
1437
    public void write(TProtocol oprot) throws TException {
1536
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
1438
      oprot.writeStructBegin(STRUCT_DESC);
1537
      oprot.writeStructBegin(STRUCT_DESC);
1439
 
1538
 
1440
      oprot.writeFieldStop();
1539
      oprot.writeFieldStop();
1441
      oprot.writeStructEnd();
1540
      oprot.writeStructEnd();
1442
    }
1541
    }
Line 1448... Line 1547...
1448
 
1547
 
1449
      sb.append(")");
1548
      sb.append(")");
1450
      return sb.toString();
1549
      return sb.toString();
1451
    }
1550
    }
1452
 
1551
 
1453
    public void validate() throws TException {
1552
    public void validate() throws org.apache.thrift.TException {
1454
      // check for required fields
1553
      // check for required fields
1455
    }
1554
    }
1456
 
1555
 
-
 
1556
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
1557
      try {
-
 
1558
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
1559
      } catch (org.apache.thrift.TException te) {
-
 
1560
        throw new java.io.IOException(te);
-
 
1561
      }
-
 
1562
    }
-
 
1563
 
-
 
1564
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
1565
      try {
-
 
1566
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
1567
      } catch (org.apache.thrift.TException te) {
-
 
1568
        throw new java.io.IOException(te);
-
 
1569
      }
-
 
1570
    }
-
 
1571
 
1457
  }
1572
  }
1458
 
1573
 
1459
  public static class reloadProperties_args implements TBase<reloadProperties_args._Fields>, java.io.Serializable, Cloneable, Comparable<reloadProperties_args>   {
1574
  public static class reloadProperties_args implements org.apache.thrift.TBase<reloadProperties_args, reloadProperties_args._Fields>, java.io.Serializable, Cloneable   {
1460
    private static final TStruct STRUCT_DESC = new TStruct("reloadProperties_args");
1575
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("reloadProperties_args");
1461
 
1576
 
1462
 
1577
 
1463
 
1578
 
1464
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
1579
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
1465
    public enum _Fields implements TFieldIdEnum {
1580
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
1466
;
1581
;
1467
 
1582
 
1468
      private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
-
 
1469
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
1583
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
1470
 
1584
 
1471
      static {
1585
      static {
1472
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
1586
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
1473
          byId.put((int)field._thriftId, field);
-
 
1474
          byName.put(field.getFieldName(), field);
1587
          byName.put(field.getFieldName(), field);
1475
        }
1588
        }
1476
      }
1589
      }
1477
 
1590
 
1478
      /**
1591
      /**
1479
       * Find the _Fields constant that matches fieldId, or null if its not found.
1592
       * Find the _Fields constant that matches fieldId, or null if its not found.
1480
       */
1593
       */
1481
      public static _Fields findByThriftId(int fieldId) {
1594
      public static _Fields findByThriftId(int fieldId) {
1482
        return byId.get(fieldId);
1595
        switch(fieldId) {
-
 
1596
          default:
-
 
1597
            return null;
-
 
1598
        }
1483
      }
1599
      }
1484
 
1600
 
1485
      /**
1601
      /**
1486
       * Find the _Fields constant that matches fieldId, throwing an exception
1602
       * Find the _Fields constant that matches fieldId, throwing an exception
1487
       * if it is not found.
1603
       * if it is not found.
Line 1513... Line 1629...
1513
 
1629
 
1514
      public String getFieldName() {
1630
      public String getFieldName() {
1515
        return _fieldName;
1631
        return _fieldName;
1516
      }
1632
      }
1517
    }
1633
    }
1518
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
1634
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
1519
    }});
-
 
1520
 
-
 
1521
    static {
1635
    static {
-
 
1636
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
1637
      metaDataMap = Collections.unmodifiableMap(tmpMap);
1522
      FieldMetaData.addStructMetaDataMap(reloadProperties_args.class, metaDataMap);
1638
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(reloadProperties_args.class, metaDataMap);
1523
    }
1639
    }
1524
 
1640
 
1525
    public reloadProperties_args() {
1641
    public reloadProperties_args() {
1526
    }
1642
    }
1527
 
1643
 
Line 1533... Line 1649...
1533
 
1649
 
1534
    public reloadProperties_args deepCopy() {
1650
    public reloadProperties_args deepCopy() {
1535
      return new reloadProperties_args(this);
1651
      return new reloadProperties_args(this);
1536
    }
1652
    }
1537
 
1653
 
1538
    @Deprecated
1654
    @Override
1539
    public reloadProperties_args clone() {
1655
    public void clear() {
1540
      return new reloadProperties_args(this);
-
 
1541
    }
1656
    }
1542
 
1657
 
1543
    public void setFieldValue(_Fields field, Object value) {
1658
    public void setFieldValue(_Fields field, Object value) {
1544
      switch (field) {
1659
      switch (field) {
1545
      }
1660
      }
1546
    }
1661
    }
1547
 
1662
 
1548
    public void setFieldValue(int fieldID, Object value) {
-
 
1549
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
-
 
1550
    }
-
 
1551
 
-
 
1552
    public Object getFieldValue(_Fields field) {
1663
    public Object getFieldValue(_Fields field) {
1553
      switch (field) {
1664
      switch (field) {
1554
      }
1665
      }
1555
      throw new IllegalStateException();
1666
      throw new IllegalStateException();
1556
    }
1667
    }
1557
 
1668
 
1558
    public Object getFieldValue(int fieldId) {
-
 
1559
      return getFieldValue(_Fields.findByThriftIdOrThrow(fieldId));
-
 
1560
    }
-
 
1561
 
-
 
1562
    /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
1669
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
1563
    public boolean isSet(_Fields field) {
1670
    public boolean isSet(_Fields field) {
-
 
1671
      if (field == null) {
-
 
1672
        throw new IllegalArgumentException();
-
 
1673
      }
-
 
1674
 
1564
      switch (field) {
1675
      switch (field) {
1565
      }
1676
      }
1566
      throw new IllegalStateException();
1677
      throw new IllegalStateException();
1567
    }
1678
    }
1568
 
1679
 
1569
    public boolean isSet(int fieldID) {
-
 
1570
      return isSet(_Fields.findByThriftIdOrThrow(fieldID));
-
 
1571
    }
-
 
1572
 
-
 
1573
    @Override
1680
    @Override
1574
    public boolean equals(Object that) {
1681
    public boolean equals(Object that) {
1575
      if (that == null)
1682
      if (that == null)
1576
        return false;
1683
        return false;
1577
      if (that instanceof reloadProperties_args)
1684
      if (that instanceof reloadProperties_args)
Line 1600... Line 1707...
1600
      reloadProperties_args typedOther = (reloadProperties_args)other;
1707
      reloadProperties_args typedOther = (reloadProperties_args)other;
1601
 
1708
 
1602
      return 0;
1709
      return 0;
1603
    }
1710
    }
1604
 
1711
 
-
 
1712
    public _Fields fieldForId(int fieldId) {
-
 
1713
      return _Fields.findByThriftId(fieldId);
-
 
1714
    }
-
 
1715
 
1605
    public void read(TProtocol iprot) throws TException {
1716
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
1606
      TField field;
1717
      org.apache.thrift.protocol.TField field;
1607
      iprot.readStructBegin();
1718
      iprot.readStructBegin();
1608
      while (true)
1719
      while (true)
1609
      {
1720
      {
1610
        field = iprot.readFieldBegin();
1721
        field = iprot.readFieldBegin();
1611
        if (field.type == TType.STOP) { 
1722
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
1612
          break;
1723
          break;
1613
        }
1724
        }
1614
        _Fields fieldId = _Fields.findByThriftId(field.id);
-
 
1615
        if (fieldId == null) {
-
 
1616
          TProtocolUtil.skip(iprot, field.type);
-
 
1617
        } else {
-
 
1618
          switch (fieldId) {
1725
        switch (field.id) {
1619
          }
1726
          default:
1620
          iprot.readFieldEnd();
1727
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1621
        }
1728
        }
-
 
1729
        iprot.readFieldEnd();
1622
      }
1730
      }
1623
      iprot.readStructEnd();
1731
      iprot.readStructEnd();
1624
      validate();
1732
      validate();
1625
    }
1733
    }
1626
 
1734
 
1627
    public void write(TProtocol oprot) throws TException {
1735
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
1628
      validate();
1736
      validate();
1629
 
1737
 
1630
      oprot.writeStructBegin(STRUCT_DESC);
1738
      oprot.writeStructBegin(STRUCT_DESC);
1631
      oprot.writeFieldStop();
1739
      oprot.writeFieldStop();
1632
      oprot.writeStructEnd();
1740
      oprot.writeStructEnd();
Line 1639... Line 1747...
1639
 
1747
 
1640
      sb.append(")");
1748
      sb.append(")");
1641
      return sb.toString();
1749
      return sb.toString();
1642
    }
1750
    }
1643
 
1751
 
1644
    public void validate() throws TException {
1752
    public void validate() throws org.apache.thrift.TException {
1645
      // check for required fields
1753
      // check for required fields
1646
    }
1754
    }
1647
 
1755
 
-
 
1756
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
1757
      try {
-
 
1758
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
1759
      } catch (org.apache.thrift.TException te) {
-
 
1760
        throw new java.io.IOException(te);
-
 
1761
      }
-
 
1762
    }
-
 
1763
 
-
 
1764
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
1765
      try {
-
 
1766
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
1767
      } catch (org.apache.thrift.TException te) {
-
 
1768
        throw new java.io.IOException(te);
-
 
1769
      }
-
 
1770
    }
-
 
1771
 
1648
  }
1772
  }
1649
 
1773
 
1650
  public static class reloadProperties_result implements TBase<reloadProperties_result._Fields>, java.io.Serializable, Cloneable, Comparable<reloadProperties_result>   {
1774
  public static class reloadProperties_result implements org.apache.thrift.TBase<reloadProperties_result, reloadProperties_result._Fields>, java.io.Serializable, Cloneable   {
1651
    private static final TStruct STRUCT_DESC = new TStruct("reloadProperties_result");
1775
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("reloadProperties_result");
1652
 
1776
 
1653
 
1777
 
1654
 
1778
 
1655
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
1779
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
1656
    public enum _Fields implements TFieldIdEnum {
1780
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
1657
;
1781
;
1658
 
1782
 
1659
      private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
-
 
1660
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
1783
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
1661
 
1784
 
1662
      static {
1785
      static {
1663
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
1786
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
1664
          byId.put((int)field._thriftId, field);
-
 
1665
          byName.put(field.getFieldName(), field);
1787
          byName.put(field.getFieldName(), field);
1666
        }
1788
        }
1667
      }
1789
      }
1668
 
1790
 
1669
      /**
1791
      /**
1670
       * Find the _Fields constant that matches fieldId, or null if its not found.
1792
       * Find the _Fields constant that matches fieldId, or null if its not found.
1671
       */
1793
       */
1672
      public static _Fields findByThriftId(int fieldId) {
1794
      public static _Fields findByThriftId(int fieldId) {
1673
        return byId.get(fieldId);
1795
        switch(fieldId) {
-
 
1796
          default:
-
 
1797
            return null;
-
 
1798
        }
1674
      }
1799
      }
1675
 
1800
 
1676
      /**
1801
      /**
1677
       * Find the _Fields constant that matches fieldId, throwing an exception
1802
       * Find the _Fields constant that matches fieldId, throwing an exception
1678
       * if it is not found.
1803
       * if it is not found.
Line 1704... Line 1829...
1704
 
1829
 
1705
      public String getFieldName() {
1830
      public String getFieldName() {
1706
        return _fieldName;
1831
        return _fieldName;
1707
      }
1832
      }
1708
    }
1833
    }
1709
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
1834
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
1710
    }});
-
 
1711
 
-
 
1712
    static {
1835
    static {
-
 
1836
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
1837
      metaDataMap = Collections.unmodifiableMap(tmpMap);
1713
      FieldMetaData.addStructMetaDataMap(reloadProperties_result.class, metaDataMap);
1838
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(reloadProperties_result.class, metaDataMap);
1714
    }
1839
    }
1715
 
1840
 
1716
    public reloadProperties_result() {
1841
    public reloadProperties_result() {
1717
    }
1842
    }
1718
 
1843
 
Line 1724... Line 1849...
1724
 
1849
 
1725
    public reloadProperties_result deepCopy() {
1850
    public reloadProperties_result deepCopy() {
1726
      return new reloadProperties_result(this);
1851
      return new reloadProperties_result(this);
1727
    }
1852
    }
1728
 
1853
 
1729
    @Deprecated
1854
    @Override
1730
    public reloadProperties_result clone() {
1855
    public void clear() {
1731
      return new reloadProperties_result(this);
-
 
1732
    }
1856
    }
1733
 
1857
 
1734
    public void setFieldValue(_Fields field, Object value) {
1858
    public void setFieldValue(_Fields field, Object value) {
1735
      switch (field) {
1859
      switch (field) {
1736
      }
1860
      }
1737
    }
1861
    }
1738
 
1862
 
1739
    public void setFieldValue(int fieldID, Object value) {
-
 
1740
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
-
 
1741
    }
-
 
1742
 
-
 
1743
    public Object getFieldValue(_Fields field) {
1863
    public Object getFieldValue(_Fields field) {
1744
      switch (field) {
1864
      switch (field) {
1745
      }
1865
      }
1746
      throw new IllegalStateException();
1866
      throw new IllegalStateException();
1747
    }
1867
    }
1748
 
1868
 
1749
    public Object getFieldValue(int fieldId) {
-
 
1750
      return getFieldValue(_Fields.findByThriftIdOrThrow(fieldId));
-
 
1751
    }
-
 
1752
 
-
 
1753
    /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
1869
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
1754
    public boolean isSet(_Fields field) {
1870
    public boolean isSet(_Fields field) {
-
 
1871
      if (field == null) {
-
 
1872
        throw new IllegalArgumentException();
-
 
1873
      }
-
 
1874
 
1755
      switch (field) {
1875
      switch (field) {
1756
      }
1876
      }
1757
      throw new IllegalStateException();
1877
      throw new IllegalStateException();
1758
    }
1878
    }
1759
 
1879
 
1760
    public boolean isSet(int fieldID) {
-
 
1761
      return isSet(_Fields.findByThriftIdOrThrow(fieldID));
-
 
1762
    }
-
 
1763
 
-
 
1764
    @Override
1880
    @Override
1765
    public boolean equals(Object that) {
1881
    public boolean equals(Object that) {
1766
      if (that == null)
1882
      if (that == null)
1767
        return false;
1883
        return false;
1768
      if (that instanceof reloadProperties_result)
1884
      if (that instanceof reloadProperties_result)
Line 1791... Line 1907...
1791
      reloadProperties_result typedOther = (reloadProperties_result)other;
1907
      reloadProperties_result typedOther = (reloadProperties_result)other;
1792
 
1908
 
1793
      return 0;
1909
      return 0;
1794
    }
1910
    }
1795
 
1911
 
-
 
1912
    public _Fields fieldForId(int fieldId) {
-
 
1913
      return _Fields.findByThriftId(fieldId);
-
 
1914
    }
-
 
1915
 
1796
    public void read(TProtocol iprot) throws TException {
1916
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
1797
      TField field;
1917
      org.apache.thrift.protocol.TField field;
1798
      iprot.readStructBegin();
1918
      iprot.readStructBegin();
1799
      while (true)
1919
      while (true)
1800
      {
1920
      {
1801
        field = iprot.readFieldBegin();
1921
        field = iprot.readFieldBegin();
1802
        if (field.type == TType.STOP) { 
1922
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
1803
          break;
1923
          break;
1804
        }
1924
        }
1805
        _Fields fieldId = _Fields.findByThriftId(field.id);
-
 
1806
        if (fieldId == null) {
-
 
1807
          TProtocolUtil.skip(iprot, field.type);
-
 
1808
        } else {
-
 
1809
          switch (fieldId) {
1925
        switch (field.id) {
1810
          }
1926
          default:
1811
          iprot.readFieldEnd();
1927
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1812
        }
1928
        }
-
 
1929
        iprot.readFieldEnd();
1813
      }
1930
      }
1814
      iprot.readStructEnd();
1931
      iprot.readStructEnd();
1815
      validate();
1932
      validate();
1816
    }
1933
    }
1817
 
1934
 
1818
    public void write(TProtocol oprot) throws TException {
1935
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
1819
      oprot.writeStructBegin(STRUCT_DESC);
1936
      oprot.writeStructBegin(STRUCT_DESC);
1820
 
1937
 
1821
      oprot.writeFieldStop();
1938
      oprot.writeFieldStop();
1822
      oprot.writeStructEnd();
1939
      oprot.writeStructEnd();
1823
    }
1940
    }
Line 1829... Line 1946...
1829
 
1946
 
1830
      sb.append(")");
1947
      sb.append(")");
1831
      return sb.toString();
1948
      return sb.toString();
1832
    }
1949
    }
1833
 
1950
 
1834
    public void validate() throws TException {
1951
    public void validate() throws org.apache.thrift.TException {
1835
      // check for required fields
1952
      // check for required fields
1836
    }
1953
    }
1837
 
1954
 
-
 
1955
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
1956
      try {
-
 
1957
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
1958
      } catch (org.apache.thrift.TException te) {
-
 
1959
        throw new java.io.IOException(te);
-
 
1960
      }
-
 
1961
    }
-
 
1962
 
-
 
1963
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
1964
      try {
-
 
1965
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
1966
      } catch (org.apache.thrift.TException te) {
-
 
1967
        throw new java.io.IOException(te);
-
 
1968
      }
-
 
1969
    }
-
 
1970
 
1838
  }
1971
  }
1839
 
1972
 
1840
}
1973
}