View Javadoc

1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one or more
3    * contributor license agreements.  See the NOTICE file distributed with
4    * this work for additional information regarding copyright ownership.
5    * The ASF licenses this file to You under the Apache License, Version 2.0
6    * (the "License"); you may not use this file except in compliance with
7    * the License.  You may obtain a copy of the License at
8    *
9    *     http://www.apache.org/licenses/LICENSE-2.0
10   *
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS,
13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   * See the License for the specific language governing permissions and
15   * limitations under the License.
16   */
17  /**
18   * Autogenerated by Thrift Compiler (0.9.0)
19   *
20   * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
21   *  @generated
22   */
23  package org.apache.accumulo.core.master.thrift;
24  
25  import org.apache.thrift.scheme.IScheme;
26  import org.apache.thrift.scheme.SchemeFactory;
27  import org.apache.thrift.scheme.StandardScheme;
28  
29  import org.apache.thrift.scheme.TupleScheme;
30  import org.apache.thrift.protocol.TTupleProtocol;
31  import org.apache.thrift.protocol.TProtocolException;
32  import org.apache.thrift.EncodingUtils;
33  import org.apache.thrift.TException;
34  import java.util.List;
35  import java.util.ArrayList;
36  import java.util.Map;
37  import java.util.HashMap;
38  import java.util.EnumMap;
39  import java.util.Set;
40  import java.util.HashSet;
41  import java.util.EnumSet;
42  import java.util.Collections;
43  import java.util.BitSet;
44  import java.nio.ByteBuffer;
45  import java.util.Arrays;
46  import org.slf4j.Logger;
47  import org.slf4j.LoggerFactory;
48  
49  @SuppressWarnings("all") public class MasterClientService {
50  
51    public interface Iface {
52  
53      public long initiateFlush(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tableName) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException, org.apache.thrift.TException;
54  
55      public void waitForFlush(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tableName, ByteBuffer startRow, ByteBuffer endRow, long flushID, long maxLoops) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException, org.apache.thrift.TException;
56  
57      public void setTableProperty(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tableName, String property, String value) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException, org.apache.thrift.TException;
58  
59      public void removeTableProperty(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tableName, String property) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException, org.apache.thrift.TException;
60  
61      public void setMasterGoalState(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, MasterGoalState state) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException;
62  
63      public void shutdown(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, boolean stopTabletServers) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException;
64  
65      public void shutdownTabletServer(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tabletServer, boolean force) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException;
66  
67      public void setSystemProperty(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String property, String value) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException;
68  
69      public void removeSystemProperty(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String property) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException;
70  
71      public MasterMonitorInfo getMasterStats(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException;
72  
73      public void reportSplitExtent(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String serverName, TabletSplit split) throws org.apache.thrift.TException;
74  
75      public void reportTabletStatus(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String serverName, TabletLoadState status, org.apache.accumulo.core.data.thrift.TKeyExtent tablet) throws org.apache.thrift.TException;
76  
77      public long beginTableOperation(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException;
78  
79      public void executeTableOperation(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, long opid, TableOperation op, List<ByteBuffer> arguments, Map<String,String> options, boolean autoClean) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException, org.apache.thrift.TException;
80  
81      public String waitForTableOperation(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, long opid) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException, org.apache.thrift.TException;
82  
83      public void finishTableOperation(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, long opid) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException;
84  
85      public String getAuthenticatorClassName() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException;
86  
87    }
88  
89    public interface AsyncIface {
90  
91      public void initiateFlush(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tableName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.initiateFlush_call> resultHandler) throws org.apache.thrift.TException;
92  
93      public void waitForFlush(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tableName, ByteBuffer startRow, ByteBuffer endRow, long flushID, long maxLoops, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.waitForFlush_call> resultHandler) throws org.apache.thrift.TException;
94  
95      public void setTableProperty(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tableName, String property, String value, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.setTableProperty_call> resultHandler) throws org.apache.thrift.TException;
96  
97      public void removeTableProperty(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tableName, String property, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.removeTableProperty_call> resultHandler) throws org.apache.thrift.TException;
98  
99      public void setMasterGoalState(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, MasterGoalState state, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.setMasterGoalState_call> resultHandler) throws org.apache.thrift.TException;
100 
101     public void shutdown(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, boolean stopTabletServers, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.shutdown_call> resultHandler) throws org.apache.thrift.TException;
102 
103     public void shutdownTabletServer(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tabletServer, boolean force, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.shutdownTabletServer_call> resultHandler) throws org.apache.thrift.TException;
104 
105     public void setSystemProperty(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String property, String value, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.setSystemProperty_call> resultHandler) throws org.apache.thrift.TException;
106 
107     public void removeSystemProperty(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String property, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.removeSystemProperty_call> resultHandler) throws org.apache.thrift.TException;
108 
109     public void getMasterStats(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getMasterStats_call> resultHandler) throws org.apache.thrift.TException;
110 
111     public void reportSplitExtent(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String serverName, TabletSplit split, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.reportSplitExtent_call> resultHandler) throws org.apache.thrift.TException;
112 
113     public void reportTabletStatus(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String serverName, TabletLoadState status, org.apache.accumulo.core.data.thrift.TKeyExtent tablet, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.reportTabletStatus_call> resultHandler) throws org.apache.thrift.TException;
114 
115     public void beginTableOperation(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.beginTableOperation_call> resultHandler) throws org.apache.thrift.TException;
116 
117     public void executeTableOperation(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, long opid, TableOperation op, List<ByteBuffer> arguments, Map<String,String> options, boolean autoClean, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.executeTableOperation_call> resultHandler) throws org.apache.thrift.TException;
118 
119     public void waitForTableOperation(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, long opid, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.waitForTableOperation_call> resultHandler) throws org.apache.thrift.TException;
120 
121     public void finishTableOperation(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, long opid, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.finishTableOperation_call> resultHandler) throws org.apache.thrift.TException;
122 
123     public void getAuthenticatorClassName(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAuthenticatorClassName_call> resultHandler) throws org.apache.thrift.TException;
124 
125   }
126 
127   public static class Client extends org.apache.thrift.TServiceClient implements Iface {
128     public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
129       public Factory() {}
130       public Client getClient(org.apache.thrift.protocol.TProtocol prot) {
131         return new Client(prot);
132       }
133       public Client getClient(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) {
134         return new Client(iprot, oprot);
135       }
136     }
137 
138     public Client(org.apache.thrift.protocol.TProtocol prot)
139     {
140       super(prot, prot);
141     }
142 
143     public Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) {
144       super(iprot, oprot);
145     }
146 
147     public long initiateFlush(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tableName) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException, org.apache.thrift.TException
148     {
149       send_initiateFlush(tinfo, credential, tableName);
150       return recv_initiateFlush();
151     }
152 
153     public void send_initiateFlush(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tableName) throws org.apache.thrift.TException
154     {
155       initiateFlush_args args = new initiateFlush_args();
156       args.setTinfo(tinfo);
157       args.setCredential(credential);
158       args.setTableName(tableName);
159       sendBase("initiateFlush", args);
160     }
161 
162     public long recv_initiateFlush() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException, org.apache.thrift.TException
163     {
164       initiateFlush_result result = new initiateFlush_result();
165       receiveBase(result, "initiateFlush");
166       if (result.isSetSuccess()) {
167         return result.success;
168       }
169       if (result.sec != null) {
170         throw result.sec;
171       }
172       if (result.tope != null) {
173         throw result.tope;
174       }
175       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "initiateFlush failed: unknown result");
176     }
177 
178     public void waitForFlush(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tableName, ByteBuffer startRow, ByteBuffer endRow, long flushID, long maxLoops) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException, org.apache.thrift.TException
179     {
180       send_waitForFlush(tinfo, credential, tableName, startRow, endRow, flushID, maxLoops);
181       recv_waitForFlush();
182     }
183 
184     public void send_waitForFlush(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tableName, ByteBuffer startRow, ByteBuffer endRow, long flushID, long maxLoops) throws org.apache.thrift.TException
185     {
186       waitForFlush_args args = new waitForFlush_args();
187       args.setTinfo(tinfo);
188       args.setCredential(credential);
189       args.setTableName(tableName);
190       args.setStartRow(startRow);
191       args.setEndRow(endRow);
192       args.setFlushID(flushID);
193       args.setMaxLoops(maxLoops);
194       sendBase("waitForFlush", args);
195     }
196 
197     public void recv_waitForFlush() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException, org.apache.thrift.TException
198     {
199       waitForFlush_result result = new waitForFlush_result();
200       receiveBase(result, "waitForFlush");
201       if (result.sec != null) {
202         throw result.sec;
203       }
204       if (result.tope != null) {
205         throw result.tope;
206       }
207       return;
208     }
209 
210     public void setTableProperty(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tableName, String property, String value) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException, org.apache.thrift.TException
211     {
212       send_setTableProperty(tinfo, credential, tableName, property, value);
213       recv_setTableProperty();
214     }
215 
216     public void send_setTableProperty(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tableName, String property, String value) throws org.apache.thrift.TException
217     {
218       setTableProperty_args args = new setTableProperty_args();
219       args.setTinfo(tinfo);
220       args.setCredential(credential);
221       args.setTableName(tableName);
222       args.setProperty(property);
223       args.setValue(value);
224       sendBase("setTableProperty", args);
225     }
226 
227     public void recv_setTableProperty() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException, org.apache.thrift.TException
228     {
229       setTableProperty_result result = new setTableProperty_result();
230       receiveBase(result, "setTableProperty");
231       if (result.sec != null) {
232         throw result.sec;
233       }
234       if (result.tope != null) {
235         throw result.tope;
236       }
237       return;
238     }
239 
240     public void removeTableProperty(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tableName, String property) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException, org.apache.thrift.TException
241     {
242       send_removeTableProperty(tinfo, credential, tableName, property);
243       recv_removeTableProperty();
244     }
245 
246     public void send_removeTableProperty(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tableName, String property) throws org.apache.thrift.TException
247     {
248       removeTableProperty_args args = new removeTableProperty_args();
249       args.setTinfo(tinfo);
250       args.setCredential(credential);
251       args.setTableName(tableName);
252       args.setProperty(property);
253       sendBase("removeTableProperty", args);
254     }
255 
256     public void recv_removeTableProperty() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException, org.apache.thrift.TException
257     {
258       removeTableProperty_result result = new removeTableProperty_result();
259       receiveBase(result, "removeTableProperty");
260       if (result.sec != null) {
261         throw result.sec;
262       }
263       if (result.tope != null) {
264         throw result.tope;
265       }
266       return;
267     }
268 
269     public void setMasterGoalState(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, MasterGoalState state) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException
270     {
271       send_setMasterGoalState(tinfo, credential, state);
272       recv_setMasterGoalState();
273     }
274 
275     public void send_setMasterGoalState(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, MasterGoalState state) throws org.apache.thrift.TException
276     {
277       setMasterGoalState_args args = new setMasterGoalState_args();
278       args.setTinfo(tinfo);
279       args.setCredential(credential);
280       args.setState(state);
281       sendBase("setMasterGoalState", args);
282     }
283 
284     public void recv_setMasterGoalState() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException
285     {
286       setMasterGoalState_result result = new setMasterGoalState_result();
287       receiveBase(result, "setMasterGoalState");
288       if (result.sec != null) {
289         throw result.sec;
290       }
291       return;
292     }
293 
294     public void shutdown(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, boolean stopTabletServers) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException
295     {
296       send_shutdown(tinfo, credential, stopTabletServers);
297       recv_shutdown();
298     }
299 
300     public void send_shutdown(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, boolean stopTabletServers) throws org.apache.thrift.TException
301     {
302       shutdown_args args = new shutdown_args();
303       args.setTinfo(tinfo);
304       args.setCredential(credential);
305       args.setStopTabletServers(stopTabletServers);
306       sendBase("shutdown", args);
307     }
308 
309     public void recv_shutdown() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException
310     {
311       shutdown_result result = new shutdown_result();
312       receiveBase(result, "shutdown");
313       if (result.sec != null) {
314         throw result.sec;
315       }
316       return;
317     }
318 
319     public void shutdownTabletServer(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tabletServer, boolean force) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException
320     {
321       send_shutdownTabletServer(tinfo, credential, tabletServer, force);
322       recv_shutdownTabletServer();
323     }
324 
325     public void send_shutdownTabletServer(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tabletServer, boolean force) throws org.apache.thrift.TException
326     {
327       shutdownTabletServer_args args = new shutdownTabletServer_args();
328       args.setTinfo(tinfo);
329       args.setCredential(credential);
330       args.setTabletServer(tabletServer);
331       args.setForce(force);
332       sendBase("shutdownTabletServer", args);
333     }
334 
335     public void recv_shutdownTabletServer() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException
336     {
337       shutdownTabletServer_result result = new shutdownTabletServer_result();
338       receiveBase(result, "shutdownTabletServer");
339       if (result.sec != null) {
340         throw result.sec;
341       }
342       return;
343     }
344 
345     public void setSystemProperty(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String property, String value) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException
346     {
347       send_setSystemProperty(tinfo, credential, property, value);
348       recv_setSystemProperty();
349     }
350 
351     public void send_setSystemProperty(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String property, String value) throws org.apache.thrift.TException
352     {
353       setSystemProperty_args args = new setSystemProperty_args();
354       args.setTinfo(tinfo);
355       args.setCredential(credential);
356       args.setProperty(property);
357       args.setValue(value);
358       sendBase("setSystemProperty", args);
359     }
360 
361     public void recv_setSystemProperty() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException
362     {
363       setSystemProperty_result result = new setSystemProperty_result();
364       receiveBase(result, "setSystemProperty");
365       if (result.sec != null) {
366         throw result.sec;
367       }
368       return;
369     }
370 
371     public void removeSystemProperty(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String property) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException
372     {
373       send_removeSystemProperty(tinfo, credential, property);
374       recv_removeSystemProperty();
375     }
376 
377     public void send_removeSystemProperty(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String property) throws org.apache.thrift.TException
378     {
379       removeSystemProperty_args args = new removeSystemProperty_args();
380       args.setTinfo(tinfo);
381       args.setCredential(credential);
382       args.setProperty(property);
383       sendBase("removeSystemProperty", args);
384     }
385 
386     public void recv_removeSystemProperty() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException
387     {
388       removeSystemProperty_result result = new removeSystemProperty_result();
389       receiveBase(result, "removeSystemProperty");
390       if (result.sec != null) {
391         throw result.sec;
392       }
393       return;
394     }
395 
396     public MasterMonitorInfo getMasterStats(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException
397     {
398       send_getMasterStats(tinfo, credential);
399       return recv_getMasterStats();
400     }
401 
402     public void send_getMasterStats(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential) throws org.apache.thrift.TException
403     {
404       getMasterStats_args args = new getMasterStats_args();
405       args.setTinfo(tinfo);
406       args.setCredential(credential);
407       sendBase("getMasterStats", args);
408     }
409 
410     public MasterMonitorInfo recv_getMasterStats() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException
411     {
412       getMasterStats_result result = new getMasterStats_result();
413       receiveBase(result, "getMasterStats");
414       if (result.isSetSuccess()) {
415         return result.success;
416       }
417       if (result.sec != null) {
418         throw result.sec;
419       }
420       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getMasterStats failed: unknown result");
421     }
422 
423     public void reportSplitExtent(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String serverName, TabletSplit split) throws org.apache.thrift.TException
424     {
425       send_reportSplitExtent(tinfo, credential, serverName, split);
426     }
427 
428     public void send_reportSplitExtent(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String serverName, TabletSplit split) throws org.apache.thrift.TException
429     {
430       reportSplitExtent_args args = new reportSplitExtent_args();
431       args.setTinfo(tinfo);
432       args.setCredential(credential);
433       args.setServerName(serverName);
434       args.setSplit(split);
435       sendBase("reportSplitExtent", args);
436     }
437 
438     public void reportTabletStatus(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String serverName, TabletLoadState status, org.apache.accumulo.core.data.thrift.TKeyExtent tablet) throws org.apache.thrift.TException
439     {
440       send_reportTabletStatus(tinfo, credential, serverName, status, tablet);
441     }
442 
443     public void send_reportTabletStatus(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String serverName, TabletLoadState status, org.apache.accumulo.core.data.thrift.TKeyExtent tablet) throws org.apache.thrift.TException
444     {
445       reportTabletStatus_args args = new reportTabletStatus_args();
446       args.setTinfo(tinfo);
447       args.setCredential(credential);
448       args.setServerName(serverName);
449       args.setStatus(status);
450       args.setTablet(tablet);
451       sendBase("reportTabletStatus", args);
452     }
453 
454     public long beginTableOperation(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException
455     {
456       send_beginTableOperation(tinfo, credential);
457       return recv_beginTableOperation();
458     }
459 
460     public void send_beginTableOperation(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential) throws org.apache.thrift.TException
461     {
462       beginTableOperation_args args = new beginTableOperation_args();
463       args.setTinfo(tinfo);
464       args.setCredential(credential);
465       sendBase("beginTableOperation", args);
466     }
467 
468     public long recv_beginTableOperation() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException
469     {
470       beginTableOperation_result result = new beginTableOperation_result();
471       receiveBase(result, "beginTableOperation");
472       if (result.isSetSuccess()) {
473         return result.success;
474       }
475       if (result.sec != null) {
476         throw result.sec;
477       }
478       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "beginTableOperation failed: unknown result");
479     }
480 
481     public void executeTableOperation(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, long opid, TableOperation op, List<ByteBuffer> arguments, Map<String,String> options, boolean autoClean) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException, org.apache.thrift.TException
482     {
483       send_executeTableOperation(tinfo, credential, opid, op, arguments, options, autoClean);
484       recv_executeTableOperation();
485     }
486 
487     public void send_executeTableOperation(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, long opid, TableOperation op, List<ByteBuffer> arguments, Map<String,String> options, boolean autoClean) throws org.apache.thrift.TException
488     {
489       executeTableOperation_args args = new executeTableOperation_args();
490       args.setTinfo(tinfo);
491       args.setCredential(credential);
492       args.setOpid(opid);
493       args.setOp(op);
494       args.setArguments(arguments);
495       args.setOptions(options);
496       args.setAutoClean(autoClean);
497       sendBase("executeTableOperation", args);
498     }
499 
500     public void recv_executeTableOperation() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException, org.apache.thrift.TException
501     {
502       executeTableOperation_result result = new executeTableOperation_result();
503       receiveBase(result, "executeTableOperation");
504       if (result.sec != null) {
505         throw result.sec;
506       }
507       if (result.tope != null) {
508         throw result.tope;
509       }
510       return;
511     }
512 
513     public String waitForTableOperation(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, long opid) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException, org.apache.thrift.TException
514     {
515       send_waitForTableOperation(tinfo, credential, opid);
516       return recv_waitForTableOperation();
517     }
518 
519     public void send_waitForTableOperation(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, long opid) throws org.apache.thrift.TException
520     {
521       waitForTableOperation_args args = new waitForTableOperation_args();
522       args.setTinfo(tinfo);
523       args.setCredential(credential);
524       args.setOpid(opid);
525       sendBase("waitForTableOperation", args);
526     }
527 
528     public String recv_waitForTableOperation() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException, org.apache.thrift.TException
529     {
530       waitForTableOperation_result result = new waitForTableOperation_result();
531       receiveBase(result, "waitForTableOperation");
532       if (result.isSetSuccess()) {
533         return result.success;
534       }
535       if (result.sec != null) {
536         throw result.sec;
537       }
538       if (result.tope != null) {
539         throw result.tope;
540       }
541       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "waitForTableOperation failed: unknown result");
542     }
543 
544     public void finishTableOperation(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, long opid) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException
545     {
546       send_finishTableOperation(tinfo, credential, opid);
547       recv_finishTableOperation();
548     }
549 
550     public void send_finishTableOperation(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, long opid) throws org.apache.thrift.TException
551     {
552       finishTableOperation_args args = new finishTableOperation_args();
553       args.setTinfo(tinfo);
554       args.setCredential(credential);
555       args.setOpid(opid);
556       sendBase("finishTableOperation", args);
557     }
558 
559     public void recv_finishTableOperation() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException
560     {
561       finishTableOperation_result result = new finishTableOperation_result();
562       receiveBase(result, "finishTableOperation");
563       if (result.sec != null) {
564         throw result.sec;
565       }
566       return;
567     }
568 
569     public String getAuthenticatorClassName() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException
570     {
571       send_getAuthenticatorClassName();
572       return recv_getAuthenticatorClassName();
573     }
574 
575     public void send_getAuthenticatorClassName() throws org.apache.thrift.TException
576     {
577       getAuthenticatorClassName_args args = new getAuthenticatorClassName_args();
578       sendBase("getAuthenticatorClassName", args);
579     }
580 
581     public String recv_getAuthenticatorClassName() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException
582     {
583       getAuthenticatorClassName_result result = new getAuthenticatorClassName_result();
584       receiveBase(result, "getAuthenticatorClassName");
585       if (result.isSetSuccess()) {
586         return result.success;
587       }
588       if (result.tse != null) {
589         throw result.tse;
590       }
591       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAuthenticatorClassName failed: unknown result");
592     }
593 
594   }
595   public static class AsyncClient extends org.apache.thrift.async.TAsyncClient implements AsyncIface {
596     public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
597       private org.apache.thrift.async.TAsyncClientManager clientManager;
598       private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
599       public Factory(org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.protocol.TProtocolFactory protocolFactory) {
600         this.clientManager = clientManager;
601         this.protocolFactory = protocolFactory;
602       }
603       public AsyncClient getAsyncClient(org.apache.thrift.transport.TNonblockingTransport transport) {
604         return new AsyncClient(protocolFactory, clientManager, transport);
605       }
606     }
607 
608     public AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport) {
609       super(protocolFactory, clientManager, transport);
610     }
611 
612     public void initiateFlush(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tableName, org.apache.thrift.async.AsyncMethodCallback<initiateFlush_call> resultHandler) throws org.apache.thrift.TException {
613       checkReady();
614       initiateFlush_call method_call = new initiateFlush_call(tinfo, credential, tableName, resultHandler, this, ___protocolFactory, ___transport);
615       this.___currentMethod = method_call;
616       ___manager.call(method_call);
617     }
618 
619     public static class initiateFlush_call extends org.apache.thrift.async.TAsyncMethodCall {
620       private org.apache.accumulo.trace.thrift.TInfo tinfo;
621       private org.apache.accumulo.core.security.thrift.Credential credential;
622       private String tableName;
623       public initiateFlush_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tableName, org.apache.thrift.async.AsyncMethodCallback<initiateFlush_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 {
624         super(client, protocolFactory, transport, resultHandler, false);
625         this.tinfo = tinfo;
626         this.credential = credential;
627         this.tableName = tableName;
628       }
629 
630       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
631         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("initiateFlush", org.apache.thrift.protocol.TMessageType.CALL, 0));
632         initiateFlush_args args = new initiateFlush_args();
633         args.setTinfo(tinfo);
634         args.setCredential(credential);
635         args.setTableName(tableName);
636         args.write(prot);
637         prot.writeMessageEnd();
638       }
639 
640       public long getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException, org.apache.thrift.TException {
641         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
642           throw new IllegalStateException("Method call not finished!");
643         }
644         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
645         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
646         return (new Client(prot)).recv_initiateFlush();
647       }
648     }
649 
650     public void waitForFlush(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tableName, ByteBuffer startRow, ByteBuffer endRow, long flushID, long maxLoops, org.apache.thrift.async.AsyncMethodCallback<waitForFlush_call> resultHandler) throws org.apache.thrift.TException {
651       checkReady();
652       waitForFlush_call method_call = new waitForFlush_call(tinfo, credential, tableName, startRow, endRow, flushID, maxLoops, resultHandler, this, ___protocolFactory, ___transport);
653       this.___currentMethod = method_call;
654       ___manager.call(method_call);
655     }
656 
657     public static class waitForFlush_call extends org.apache.thrift.async.TAsyncMethodCall {
658       private org.apache.accumulo.trace.thrift.TInfo tinfo;
659       private org.apache.accumulo.core.security.thrift.Credential credential;
660       private String tableName;
661       private ByteBuffer startRow;
662       private ByteBuffer endRow;
663       private long flushID;
664       private long maxLoops;
665       public waitForFlush_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tableName, ByteBuffer startRow, ByteBuffer endRow, long flushID, long maxLoops, org.apache.thrift.async.AsyncMethodCallback<waitForFlush_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 {
666         super(client, protocolFactory, transport, resultHandler, false);
667         this.tinfo = tinfo;
668         this.credential = credential;
669         this.tableName = tableName;
670         this.startRow = startRow;
671         this.endRow = endRow;
672         this.flushID = flushID;
673         this.maxLoops = maxLoops;
674       }
675 
676       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
677         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("waitForFlush", org.apache.thrift.protocol.TMessageType.CALL, 0));
678         waitForFlush_args args = new waitForFlush_args();
679         args.setTinfo(tinfo);
680         args.setCredential(credential);
681         args.setTableName(tableName);
682         args.setStartRow(startRow);
683         args.setEndRow(endRow);
684         args.setFlushID(flushID);
685         args.setMaxLoops(maxLoops);
686         args.write(prot);
687         prot.writeMessageEnd();
688       }
689 
690       public void getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException, org.apache.thrift.TException {
691         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
692           throw new IllegalStateException("Method call not finished!");
693         }
694         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
695         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
696         (new Client(prot)).recv_waitForFlush();
697       }
698     }
699 
700     public void setTableProperty(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tableName, String property, String value, org.apache.thrift.async.AsyncMethodCallback<setTableProperty_call> resultHandler) throws org.apache.thrift.TException {
701       checkReady();
702       setTableProperty_call method_call = new setTableProperty_call(tinfo, credential, tableName, property, value, resultHandler, this, ___protocolFactory, ___transport);
703       this.___currentMethod = method_call;
704       ___manager.call(method_call);
705     }
706 
707     public static class setTableProperty_call extends org.apache.thrift.async.TAsyncMethodCall {
708       private org.apache.accumulo.trace.thrift.TInfo tinfo;
709       private org.apache.accumulo.core.security.thrift.Credential credential;
710       private String tableName;
711       private String property;
712       private String value;
713       public setTableProperty_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tableName, String property, String value, org.apache.thrift.async.AsyncMethodCallback<setTableProperty_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 {
714         super(client, protocolFactory, transport, resultHandler, false);
715         this.tinfo = tinfo;
716         this.credential = credential;
717         this.tableName = tableName;
718         this.property = property;
719         this.value = value;
720       }
721 
722       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
723         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("setTableProperty", org.apache.thrift.protocol.TMessageType.CALL, 0));
724         setTableProperty_args args = new setTableProperty_args();
725         args.setTinfo(tinfo);
726         args.setCredential(credential);
727         args.setTableName(tableName);
728         args.setProperty(property);
729         args.setValue(value);
730         args.write(prot);
731         prot.writeMessageEnd();
732       }
733 
734       public void getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException, org.apache.thrift.TException {
735         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
736           throw new IllegalStateException("Method call not finished!");
737         }
738         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
739         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
740         (new Client(prot)).recv_setTableProperty();
741       }
742     }
743 
744     public void removeTableProperty(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tableName, String property, org.apache.thrift.async.AsyncMethodCallback<removeTableProperty_call> resultHandler) throws org.apache.thrift.TException {
745       checkReady();
746       removeTableProperty_call method_call = new removeTableProperty_call(tinfo, credential, tableName, property, resultHandler, this, ___protocolFactory, ___transport);
747       this.___currentMethod = method_call;
748       ___manager.call(method_call);
749     }
750 
751     public static class removeTableProperty_call extends org.apache.thrift.async.TAsyncMethodCall {
752       private org.apache.accumulo.trace.thrift.TInfo tinfo;
753       private org.apache.accumulo.core.security.thrift.Credential credential;
754       private String tableName;
755       private String property;
756       public removeTableProperty_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tableName, String property, org.apache.thrift.async.AsyncMethodCallback<removeTableProperty_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 {
757         super(client, protocolFactory, transport, resultHandler, false);
758         this.tinfo = tinfo;
759         this.credential = credential;
760         this.tableName = tableName;
761         this.property = property;
762       }
763 
764       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
765         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("removeTableProperty", org.apache.thrift.protocol.TMessageType.CALL, 0));
766         removeTableProperty_args args = new removeTableProperty_args();
767         args.setTinfo(tinfo);
768         args.setCredential(credential);
769         args.setTableName(tableName);
770         args.setProperty(property);
771         args.write(prot);
772         prot.writeMessageEnd();
773       }
774 
775       public void getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException, org.apache.thrift.TException {
776         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
777           throw new IllegalStateException("Method call not finished!");
778         }
779         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
780         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
781         (new Client(prot)).recv_removeTableProperty();
782       }
783     }
784 
785     public void setMasterGoalState(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, MasterGoalState state, org.apache.thrift.async.AsyncMethodCallback<setMasterGoalState_call> resultHandler) throws org.apache.thrift.TException {
786       checkReady();
787       setMasterGoalState_call method_call = new setMasterGoalState_call(tinfo, credential, state, resultHandler, this, ___protocolFactory, ___transport);
788       this.___currentMethod = method_call;
789       ___manager.call(method_call);
790     }
791 
792     public static class setMasterGoalState_call extends org.apache.thrift.async.TAsyncMethodCall {
793       private org.apache.accumulo.trace.thrift.TInfo tinfo;
794       private org.apache.accumulo.core.security.thrift.Credential credential;
795       private MasterGoalState state;
796       public setMasterGoalState_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, MasterGoalState state, org.apache.thrift.async.AsyncMethodCallback<setMasterGoalState_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 {
797         super(client, protocolFactory, transport, resultHandler, false);
798         this.tinfo = tinfo;
799         this.credential = credential;
800         this.state = state;
801       }
802 
803       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
804         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("setMasterGoalState", org.apache.thrift.protocol.TMessageType.CALL, 0));
805         setMasterGoalState_args args = new setMasterGoalState_args();
806         args.setTinfo(tinfo);
807         args.setCredential(credential);
808         args.setState(state);
809         args.write(prot);
810         prot.writeMessageEnd();
811       }
812 
813       public void getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException {
814         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
815           throw new IllegalStateException("Method call not finished!");
816         }
817         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
818         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
819         (new Client(prot)).recv_setMasterGoalState();
820       }
821     }
822 
823     public void shutdown(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, boolean stopTabletServers, org.apache.thrift.async.AsyncMethodCallback<shutdown_call> resultHandler) throws org.apache.thrift.TException {
824       checkReady();
825       shutdown_call method_call = new shutdown_call(tinfo, credential, stopTabletServers, resultHandler, this, ___protocolFactory, ___transport);
826       this.___currentMethod = method_call;
827       ___manager.call(method_call);
828     }
829 
830     public static class shutdown_call extends org.apache.thrift.async.TAsyncMethodCall {
831       private org.apache.accumulo.trace.thrift.TInfo tinfo;
832       private org.apache.accumulo.core.security.thrift.Credential credential;
833       private boolean stopTabletServers;
834       public shutdown_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, boolean stopTabletServers, org.apache.thrift.async.AsyncMethodCallback<shutdown_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 {
835         super(client, protocolFactory, transport, resultHandler, false);
836         this.tinfo = tinfo;
837         this.credential = credential;
838         this.stopTabletServers = stopTabletServers;
839       }
840 
841       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
842         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("shutdown", org.apache.thrift.protocol.TMessageType.CALL, 0));
843         shutdown_args args = new shutdown_args();
844         args.setTinfo(tinfo);
845         args.setCredential(credential);
846         args.setStopTabletServers(stopTabletServers);
847         args.write(prot);
848         prot.writeMessageEnd();
849       }
850 
851       public void getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException {
852         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
853           throw new IllegalStateException("Method call not finished!");
854         }
855         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
856         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
857         (new Client(prot)).recv_shutdown();
858       }
859     }
860 
861     public void shutdownTabletServer(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tabletServer, boolean force, org.apache.thrift.async.AsyncMethodCallback<shutdownTabletServer_call> resultHandler) throws org.apache.thrift.TException {
862       checkReady();
863       shutdownTabletServer_call method_call = new shutdownTabletServer_call(tinfo, credential, tabletServer, force, resultHandler, this, ___protocolFactory, ___transport);
864       this.___currentMethod = method_call;
865       ___manager.call(method_call);
866     }
867 
868     public static class shutdownTabletServer_call extends org.apache.thrift.async.TAsyncMethodCall {
869       private org.apache.accumulo.trace.thrift.TInfo tinfo;
870       private org.apache.accumulo.core.security.thrift.Credential credential;
871       private String tabletServer;
872       private boolean force;
873       public shutdownTabletServer_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tabletServer, boolean force, org.apache.thrift.async.AsyncMethodCallback<shutdownTabletServer_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 {
874         super(client, protocolFactory, transport, resultHandler, false);
875         this.tinfo = tinfo;
876         this.credential = credential;
877         this.tabletServer = tabletServer;
878         this.force = force;
879       }
880 
881       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
882         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("shutdownTabletServer", org.apache.thrift.protocol.TMessageType.CALL, 0));
883         shutdownTabletServer_args args = new shutdownTabletServer_args();
884         args.setTinfo(tinfo);
885         args.setCredential(credential);
886         args.setTabletServer(tabletServer);
887         args.setForce(force);
888         args.write(prot);
889         prot.writeMessageEnd();
890       }
891 
892       public void getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException {
893         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
894           throw new IllegalStateException("Method call not finished!");
895         }
896         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
897         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
898         (new Client(prot)).recv_shutdownTabletServer();
899       }
900     }
901 
902     public void setSystemProperty(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String property, String value, org.apache.thrift.async.AsyncMethodCallback<setSystemProperty_call> resultHandler) throws org.apache.thrift.TException {
903       checkReady();
904       setSystemProperty_call method_call = new setSystemProperty_call(tinfo, credential, property, value, resultHandler, this, ___protocolFactory, ___transport);
905       this.___currentMethod = method_call;
906       ___manager.call(method_call);
907     }
908 
909     public static class setSystemProperty_call extends org.apache.thrift.async.TAsyncMethodCall {
910       private org.apache.accumulo.trace.thrift.TInfo tinfo;
911       private org.apache.accumulo.core.security.thrift.Credential credential;
912       private String property;
913       private String value;
914       public setSystemProperty_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String property, String value, org.apache.thrift.async.AsyncMethodCallback<setSystemProperty_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 {
915         super(client, protocolFactory, transport, resultHandler, false);
916         this.tinfo = tinfo;
917         this.credential = credential;
918         this.property = property;
919         this.value = value;
920       }
921 
922       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
923         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("setSystemProperty", org.apache.thrift.protocol.TMessageType.CALL, 0));
924         setSystemProperty_args args = new setSystemProperty_args();
925         args.setTinfo(tinfo);
926         args.setCredential(credential);
927         args.setProperty(property);
928         args.setValue(value);
929         args.write(prot);
930         prot.writeMessageEnd();
931       }
932 
933       public void getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException {
934         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
935           throw new IllegalStateException("Method call not finished!");
936         }
937         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
938         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
939         (new Client(prot)).recv_setSystemProperty();
940       }
941     }
942 
943     public void removeSystemProperty(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String property, org.apache.thrift.async.AsyncMethodCallback<removeSystemProperty_call> resultHandler) throws org.apache.thrift.TException {
944       checkReady();
945       removeSystemProperty_call method_call = new removeSystemProperty_call(tinfo, credential, property, resultHandler, this, ___protocolFactory, ___transport);
946       this.___currentMethod = method_call;
947       ___manager.call(method_call);
948     }
949 
950     public static class removeSystemProperty_call extends org.apache.thrift.async.TAsyncMethodCall {
951       private org.apache.accumulo.trace.thrift.TInfo tinfo;
952       private org.apache.accumulo.core.security.thrift.Credential credential;
953       private String property;
954       public removeSystemProperty_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String property, org.apache.thrift.async.AsyncMethodCallback<removeSystemProperty_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 {
955         super(client, protocolFactory, transport, resultHandler, false);
956         this.tinfo = tinfo;
957         this.credential = credential;
958         this.property = property;
959       }
960 
961       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
962         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("removeSystemProperty", org.apache.thrift.protocol.TMessageType.CALL, 0));
963         removeSystemProperty_args args = new removeSystemProperty_args();
964         args.setTinfo(tinfo);
965         args.setCredential(credential);
966         args.setProperty(property);
967         args.write(prot);
968         prot.writeMessageEnd();
969       }
970 
971       public void getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException {
972         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
973           throw new IllegalStateException("Method call not finished!");
974         }
975         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
976         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
977         (new Client(prot)).recv_removeSystemProperty();
978       }
979     }
980 
981     public void getMasterStats(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.thrift.async.AsyncMethodCallback<getMasterStats_call> resultHandler) throws org.apache.thrift.TException {
982       checkReady();
983       getMasterStats_call method_call = new getMasterStats_call(tinfo, credential, resultHandler, this, ___protocolFactory, ___transport);
984       this.___currentMethod = method_call;
985       ___manager.call(method_call);
986     }
987 
988     public static class getMasterStats_call extends org.apache.thrift.async.TAsyncMethodCall {
989       private org.apache.accumulo.trace.thrift.TInfo tinfo;
990       private org.apache.accumulo.core.security.thrift.Credential credential;
991       public getMasterStats_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.thrift.async.AsyncMethodCallback<getMasterStats_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 {
992         super(client, protocolFactory, transport, resultHandler, false);
993         this.tinfo = tinfo;
994         this.credential = credential;
995       }
996 
997       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
998         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getMasterStats", org.apache.thrift.protocol.TMessageType.CALL, 0));
999         getMasterStats_args args = new getMasterStats_args();
1000         args.setTinfo(tinfo);
1001         args.setCredential(credential);
1002         args.write(prot);
1003         prot.writeMessageEnd();
1004       }
1005 
1006       public MasterMonitorInfo getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException {
1007         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1008           throw new IllegalStateException("Method call not finished!");
1009         }
1010         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1011         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1012         return (new Client(prot)).recv_getMasterStats();
1013       }
1014     }
1015 
1016     public void reportSplitExtent(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String serverName, TabletSplit split, org.apache.thrift.async.AsyncMethodCallback<reportSplitExtent_call> resultHandler) throws org.apache.thrift.TException {
1017       checkReady();
1018       reportSplitExtent_call method_call = new reportSplitExtent_call(tinfo, credential, serverName, split, resultHandler, this, ___protocolFactory, ___transport);
1019       this.___currentMethod = method_call;
1020       ___manager.call(method_call);
1021     }
1022 
1023     public static class reportSplitExtent_call extends org.apache.thrift.async.TAsyncMethodCall {
1024       private org.apache.accumulo.trace.thrift.TInfo tinfo;
1025       private org.apache.accumulo.core.security.thrift.Credential credential;
1026       private String serverName;
1027       private TabletSplit split;
1028       public reportSplitExtent_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String serverName, TabletSplit split, org.apache.thrift.async.AsyncMethodCallback<reportSplitExtent_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 {
1029         super(client, protocolFactory, transport, resultHandler, true);
1030         this.tinfo = tinfo;
1031         this.credential = credential;
1032         this.serverName = serverName;
1033         this.split = split;
1034       }
1035 
1036       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1037         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("reportSplitExtent", org.apache.thrift.protocol.TMessageType.CALL, 0));
1038         reportSplitExtent_args args = new reportSplitExtent_args();
1039         args.setTinfo(tinfo);
1040         args.setCredential(credential);
1041         args.setServerName(serverName);
1042         args.setSplit(split);
1043         args.write(prot);
1044         prot.writeMessageEnd();
1045       }
1046 
1047       public void getResult() throws org.apache.thrift.TException {
1048         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1049           throw new IllegalStateException("Method call not finished!");
1050         }
1051         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1052         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1053       }
1054     }
1055 
1056     public void reportTabletStatus(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String serverName, TabletLoadState status, org.apache.accumulo.core.data.thrift.TKeyExtent tablet, org.apache.thrift.async.AsyncMethodCallback<reportTabletStatus_call> resultHandler) throws org.apache.thrift.TException {
1057       checkReady();
1058       reportTabletStatus_call method_call = new reportTabletStatus_call(tinfo, credential, serverName, status, tablet, resultHandler, this, ___protocolFactory, ___transport);
1059       this.___currentMethod = method_call;
1060       ___manager.call(method_call);
1061     }
1062 
1063     public static class reportTabletStatus_call extends org.apache.thrift.async.TAsyncMethodCall {
1064       private org.apache.accumulo.trace.thrift.TInfo tinfo;
1065       private org.apache.accumulo.core.security.thrift.Credential credential;
1066       private String serverName;
1067       private TabletLoadState status;
1068       private org.apache.accumulo.core.data.thrift.TKeyExtent tablet;
1069       public reportTabletStatus_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String serverName, TabletLoadState status, org.apache.accumulo.core.data.thrift.TKeyExtent tablet, org.apache.thrift.async.AsyncMethodCallback<reportTabletStatus_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 {
1070         super(client, protocolFactory, transport, resultHandler, true);
1071         this.tinfo = tinfo;
1072         this.credential = credential;
1073         this.serverName = serverName;
1074         this.status = status;
1075         this.tablet = tablet;
1076       }
1077 
1078       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1079         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("reportTabletStatus", org.apache.thrift.protocol.TMessageType.CALL, 0));
1080         reportTabletStatus_args args = new reportTabletStatus_args();
1081         args.setTinfo(tinfo);
1082         args.setCredential(credential);
1083         args.setServerName(serverName);
1084         args.setStatus(status);
1085         args.setTablet(tablet);
1086         args.write(prot);
1087         prot.writeMessageEnd();
1088       }
1089 
1090       public void getResult() throws org.apache.thrift.TException {
1091         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1092           throw new IllegalStateException("Method call not finished!");
1093         }
1094         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1095         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1096       }
1097     }
1098 
1099     public void beginTableOperation(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.thrift.async.AsyncMethodCallback<beginTableOperation_call> resultHandler) throws org.apache.thrift.TException {
1100       checkReady();
1101       beginTableOperation_call method_call = new beginTableOperation_call(tinfo, credential, resultHandler, this, ___protocolFactory, ___transport);
1102       this.___currentMethod = method_call;
1103       ___manager.call(method_call);
1104     }
1105 
1106     public static class beginTableOperation_call extends org.apache.thrift.async.TAsyncMethodCall {
1107       private org.apache.accumulo.trace.thrift.TInfo tinfo;
1108       private org.apache.accumulo.core.security.thrift.Credential credential;
1109       public beginTableOperation_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.thrift.async.AsyncMethodCallback<beginTableOperation_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 {
1110         super(client, protocolFactory, transport, resultHandler, false);
1111         this.tinfo = tinfo;
1112         this.credential = credential;
1113       }
1114 
1115       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1116         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("beginTableOperation", org.apache.thrift.protocol.TMessageType.CALL, 0));
1117         beginTableOperation_args args = new beginTableOperation_args();
1118         args.setTinfo(tinfo);
1119         args.setCredential(credential);
1120         args.write(prot);
1121         prot.writeMessageEnd();
1122       }
1123 
1124       public long getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException {
1125         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1126           throw new IllegalStateException("Method call not finished!");
1127         }
1128         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1129         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1130         return (new Client(prot)).recv_beginTableOperation();
1131       }
1132     }
1133 
1134     public void executeTableOperation(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, long opid, TableOperation op, List<ByteBuffer> arguments, Map<String,String> options, boolean autoClean, org.apache.thrift.async.AsyncMethodCallback<executeTableOperation_call> resultHandler) throws org.apache.thrift.TException {
1135       checkReady();
1136       executeTableOperation_call method_call = new executeTableOperation_call(tinfo, credential, opid, op, arguments, options, autoClean, resultHandler, this, ___protocolFactory, ___transport);
1137       this.___currentMethod = method_call;
1138       ___manager.call(method_call);
1139     }
1140 
1141     public static class executeTableOperation_call extends org.apache.thrift.async.TAsyncMethodCall {
1142       private org.apache.accumulo.trace.thrift.TInfo tinfo;
1143       private org.apache.accumulo.core.security.thrift.Credential credential;
1144       private long opid;
1145       private TableOperation op;
1146       private List<ByteBuffer> arguments;
1147       private Map<String,String> options;
1148       private boolean autoClean;
1149       public executeTableOperation_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, long opid, TableOperation op, List<ByteBuffer> arguments, Map<String,String> options, boolean autoClean, org.apache.thrift.async.AsyncMethodCallback<executeTableOperation_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 {
1150         super(client, protocolFactory, transport, resultHandler, false);
1151         this.tinfo = tinfo;
1152         this.credential = credential;
1153         this.opid = opid;
1154         this.op = op;
1155         this.arguments = arguments;
1156         this.options = options;
1157         this.autoClean = autoClean;
1158       }
1159 
1160       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1161         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("executeTableOperation", org.apache.thrift.protocol.TMessageType.CALL, 0));
1162         executeTableOperation_args args = new executeTableOperation_args();
1163         args.setTinfo(tinfo);
1164         args.setCredential(credential);
1165         args.setOpid(opid);
1166         args.setOp(op);
1167         args.setArguments(arguments);
1168         args.setOptions(options);
1169         args.setAutoClean(autoClean);
1170         args.write(prot);
1171         prot.writeMessageEnd();
1172       }
1173 
1174       public void getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException, org.apache.thrift.TException {
1175         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1176           throw new IllegalStateException("Method call not finished!");
1177         }
1178         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1179         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1180         (new Client(prot)).recv_executeTableOperation();
1181       }
1182     }
1183 
1184     public void waitForTableOperation(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, long opid, org.apache.thrift.async.AsyncMethodCallback<waitForTableOperation_call> resultHandler) throws org.apache.thrift.TException {
1185       checkReady();
1186       waitForTableOperation_call method_call = new waitForTableOperation_call(tinfo, credential, opid, resultHandler, this, ___protocolFactory, ___transport);
1187       this.___currentMethod = method_call;
1188       ___manager.call(method_call);
1189     }
1190 
1191     public static class waitForTableOperation_call extends org.apache.thrift.async.TAsyncMethodCall {
1192       private org.apache.accumulo.trace.thrift.TInfo tinfo;
1193       private org.apache.accumulo.core.security.thrift.Credential credential;
1194       private long opid;
1195       public waitForTableOperation_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, long opid, org.apache.thrift.async.AsyncMethodCallback<waitForTableOperation_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 {
1196         super(client, protocolFactory, transport, resultHandler, false);
1197         this.tinfo = tinfo;
1198         this.credential = credential;
1199         this.opid = opid;
1200       }
1201 
1202       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1203         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("waitForTableOperation", org.apache.thrift.protocol.TMessageType.CALL, 0));
1204         waitForTableOperation_args args = new waitForTableOperation_args();
1205         args.setTinfo(tinfo);
1206         args.setCredential(credential);
1207         args.setOpid(opid);
1208         args.write(prot);
1209         prot.writeMessageEnd();
1210       }
1211 
1212       public String getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException, org.apache.thrift.TException {
1213         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1214           throw new IllegalStateException("Method call not finished!");
1215         }
1216         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1217         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1218         return (new Client(prot)).recv_waitForTableOperation();
1219       }
1220     }
1221 
1222     public void finishTableOperation(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, long opid, org.apache.thrift.async.AsyncMethodCallback<finishTableOperation_call> resultHandler) throws org.apache.thrift.TException {
1223       checkReady();
1224       finishTableOperation_call method_call = new finishTableOperation_call(tinfo, credential, opid, resultHandler, this, ___protocolFactory, ___transport);
1225       this.___currentMethod = method_call;
1226       ___manager.call(method_call);
1227     }
1228 
1229     public static class finishTableOperation_call extends org.apache.thrift.async.TAsyncMethodCall {
1230       private org.apache.accumulo.trace.thrift.TInfo tinfo;
1231       private org.apache.accumulo.core.security.thrift.Credential credential;
1232       private long opid;
1233       public finishTableOperation_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, long opid, org.apache.thrift.async.AsyncMethodCallback<finishTableOperation_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 {
1234         super(client, protocolFactory, transport, resultHandler, false);
1235         this.tinfo = tinfo;
1236         this.credential = credential;
1237         this.opid = opid;
1238       }
1239 
1240       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1241         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("finishTableOperation", org.apache.thrift.protocol.TMessageType.CALL, 0));
1242         finishTableOperation_args args = new finishTableOperation_args();
1243         args.setTinfo(tinfo);
1244         args.setCredential(credential);
1245         args.setOpid(opid);
1246         args.write(prot);
1247         prot.writeMessageEnd();
1248       }
1249 
1250       public void getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException {
1251         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1252           throw new IllegalStateException("Method call not finished!");
1253         }
1254         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1255         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1256         (new Client(prot)).recv_finishTableOperation();
1257       }
1258     }
1259 
1260     public void getAuthenticatorClassName(org.apache.thrift.async.AsyncMethodCallback<getAuthenticatorClassName_call> resultHandler) throws org.apache.thrift.TException {
1261       checkReady();
1262       getAuthenticatorClassName_call method_call = new getAuthenticatorClassName_call(resultHandler, this, ___protocolFactory, ___transport);
1263       this.___currentMethod = method_call;
1264       ___manager.call(method_call);
1265     }
1266 
1267     public static class getAuthenticatorClassName_call extends org.apache.thrift.async.TAsyncMethodCall {
1268       public getAuthenticatorClassName_call(org.apache.thrift.async.AsyncMethodCallback<getAuthenticatorClassName_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 {
1269         super(client, protocolFactory, transport, resultHandler, false);
1270       }
1271 
1272       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1273         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAuthenticatorClassName", org.apache.thrift.protocol.TMessageType.CALL, 0));
1274         getAuthenticatorClassName_args args = new getAuthenticatorClassName_args();
1275         args.write(prot);
1276         prot.writeMessageEnd();
1277       }
1278 
1279       public String getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException {
1280         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1281           throw new IllegalStateException("Method call not finished!");
1282         }
1283         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1284         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1285         return (new Client(prot)).recv_getAuthenticatorClassName();
1286       }
1287     }
1288 
1289   }
1290 
1291   public static class Processor<I extends Iface> extends org.apache.thrift.TBaseProcessor<I> implements org.apache.thrift.TProcessor {
1292     private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
1293     public Processor(I iface) {
1294       super(iface, getProcessMap(new HashMap<String, org.apache.thrift.ProcessFunction<I, ? extends org.apache.thrift.TBase>>()));
1295     }
1296 
1297     protected Processor(I iface, Map<String,  org.apache.thrift.ProcessFunction<I, ? extends  org.apache.thrift.TBase>> processMap) {
1298       super(iface, getProcessMap(processMap));
1299     }
1300 
1301     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) {
1302       processMap.put("initiateFlush", new initiateFlush());
1303       processMap.put("waitForFlush", new waitForFlush());
1304       processMap.put("setTableProperty", new setTableProperty());
1305       processMap.put("removeTableProperty", new removeTableProperty());
1306       processMap.put("setMasterGoalState", new setMasterGoalState());
1307       processMap.put("shutdown", new shutdown());
1308       processMap.put("shutdownTabletServer", new shutdownTabletServer());
1309       processMap.put("setSystemProperty", new setSystemProperty());
1310       processMap.put("removeSystemProperty", new removeSystemProperty());
1311       processMap.put("getMasterStats", new getMasterStats());
1312       processMap.put("reportSplitExtent", new reportSplitExtent());
1313       processMap.put("reportTabletStatus", new reportTabletStatus());
1314       processMap.put("beginTableOperation", new beginTableOperation());
1315       processMap.put("executeTableOperation", new executeTableOperation());
1316       processMap.put("waitForTableOperation", new waitForTableOperation());
1317       processMap.put("finishTableOperation", new finishTableOperation());
1318       processMap.put("getAuthenticatorClassName", new getAuthenticatorClassName());
1319       return processMap;
1320     }
1321 
1322     public static class initiateFlush<I extends Iface> extends org.apache.thrift.ProcessFunction<I, initiateFlush_args> {
1323       public initiateFlush() {
1324         super("initiateFlush");
1325       }
1326 
1327       public initiateFlush_args getEmptyArgsInstance() {
1328         return new initiateFlush_args();
1329       }
1330 
1331       protected boolean isOneway() {
1332         return false;
1333       }
1334 
1335       public initiateFlush_result getResult(I iface, initiateFlush_args args) throws org.apache.thrift.TException {
1336         initiateFlush_result result = new initiateFlush_result();
1337         try {
1338           result.success = iface.initiateFlush(args.tinfo, args.credential, args.tableName);
1339           result.setSuccessIsSet(true);
1340         } catch (org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
1341           result.sec = sec;
1342         } catch (org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException tope) {
1343           result.tope = tope;
1344         }
1345         return result;
1346       }
1347     }
1348 
1349     public static class waitForFlush<I extends Iface> extends org.apache.thrift.ProcessFunction<I, waitForFlush_args> {
1350       public waitForFlush() {
1351         super("waitForFlush");
1352       }
1353 
1354       public waitForFlush_args getEmptyArgsInstance() {
1355         return new waitForFlush_args();
1356       }
1357 
1358       protected boolean isOneway() {
1359         return false;
1360       }
1361 
1362       public waitForFlush_result getResult(I iface, waitForFlush_args args) throws org.apache.thrift.TException {
1363         waitForFlush_result result = new waitForFlush_result();
1364         try {
1365           iface.waitForFlush(args.tinfo, args.credential, args.tableName, args.startRow, args.endRow, args.flushID, args.maxLoops);
1366         } catch (org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
1367           result.sec = sec;
1368         } catch (org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException tope) {
1369           result.tope = tope;
1370         }
1371         return result;
1372       }
1373     }
1374 
1375     public static class setTableProperty<I extends Iface> extends org.apache.thrift.ProcessFunction<I, setTableProperty_args> {
1376       public setTableProperty() {
1377         super("setTableProperty");
1378       }
1379 
1380       public setTableProperty_args getEmptyArgsInstance() {
1381         return new setTableProperty_args();
1382       }
1383 
1384       protected boolean isOneway() {
1385         return false;
1386       }
1387 
1388       public setTableProperty_result getResult(I iface, setTableProperty_args args) throws org.apache.thrift.TException {
1389         setTableProperty_result result = new setTableProperty_result();
1390         try {
1391           iface.setTableProperty(args.tinfo, args.credential, args.tableName, args.property, args.value);
1392         } catch (org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
1393           result.sec = sec;
1394         } catch (org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException tope) {
1395           result.tope = tope;
1396         }
1397         return result;
1398       }
1399     }
1400 
1401     public static class removeTableProperty<I extends Iface> extends org.apache.thrift.ProcessFunction<I, removeTableProperty_args> {
1402       public removeTableProperty() {
1403         super("removeTableProperty");
1404       }
1405 
1406       public removeTableProperty_args getEmptyArgsInstance() {
1407         return new removeTableProperty_args();
1408       }
1409 
1410       protected boolean isOneway() {
1411         return false;
1412       }
1413 
1414       public removeTableProperty_result getResult(I iface, removeTableProperty_args args) throws org.apache.thrift.TException {
1415         removeTableProperty_result result = new removeTableProperty_result();
1416         try {
1417           iface.removeTableProperty(args.tinfo, args.credential, args.tableName, args.property);
1418         } catch (org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
1419           result.sec = sec;
1420         } catch (org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException tope) {
1421           result.tope = tope;
1422         }
1423         return result;
1424       }
1425     }
1426 
1427     public static class setMasterGoalState<I extends Iface> extends org.apache.thrift.ProcessFunction<I, setMasterGoalState_args> {
1428       public setMasterGoalState() {
1429         super("setMasterGoalState");
1430       }
1431 
1432       public setMasterGoalState_args getEmptyArgsInstance() {
1433         return new setMasterGoalState_args();
1434       }
1435 
1436       protected boolean isOneway() {
1437         return false;
1438       }
1439 
1440       public setMasterGoalState_result getResult(I iface, setMasterGoalState_args args) throws org.apache.thrift.TException {
1441         setMasterGoalState_result result = new setMasterGoalState_result();
1442         try {
1443           iface.setMasterGoalState(args.tinfo, args.credential, args.state);
1444         } catch (org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
1445           result.sec = sec;
1446         }
1447         return result;
1448       }
1449     }
1450 
1451     public static class shutdown<I extends Iface> extends org.apache.thrift.ProcessFunction<I, shutdown_args> {
1452       public shutdown() {
1453         super("shutdown");
1454       }
1455 
1456       public shutdown_args getEmptyArgsInstance() {
1457         return new shutdown_args();
1458       }
1459 
1460       protected boolean isOneway() {
1461         return false;
1462       }
1463 
1464       public shutdown_result getResult(I iface, shutdown_args args) throws org.apache.thrift.TException {
1465         shutdown_result result = new shutdown_result();
1466         try {
1467           iface.shutdown(args.tinfo, args.credential, args.stopTabletServers);
1468         } catch (org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
1469           result.sec = sec;
1470         }
1471         return result;
1472       }
1473     }
1474 
1475     public static class shutdownTabletServer<I extends Iface> extends org.apache.thrift.ProcessFunction<I, shutdownTabletServer_args> {
1476       public shutdownTabletServer() {
1477         super("shutdownTabletServer");
1478       }
1479 
1480       public shutdownTabletServer_args getEmptyArgsInstance() {
1481         return new shutdownTabletServer_args();
1482       }
1483 
1484       protected boolean isOneway() {
1485         return false;
1486       }
1487 
1488       public shutdownTabletServer_result getResult(I iface, shutdownTabletServer_args args) throws org.apache.thrift.TException {
1489         shutdownTabletServer_result result = new shutdownTabletServer_result();
1490         try {
1491           iface.shutdownTabletServer(args.tinfo, args.credential, args.tabletServer, args.force);
1492         } catch (org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
1493           result.sec = sec;
1494         }
1495         return result;
1496       }
1497     }
1498 
1499     public static class setSystemProperty<I extends Iface> extends org.apache.thrift.ProcessFunction<I, setSystemProperty_args> {
1500       public setSystemProperty() {
1501         super("setSystemProperty");
1502       }
1503 
1504       public setSystemProperty_args getEmptyArgsInstance() {
1505         return new setSystemProperty_args();
1506       }
1507 
1508       protected boolean isOneway() {
1509         return false;
1510       }
1511 
1512       public setSystemProperty_result getResult(I iface, setSystemProperty_args args) throws org.apache.thrift.TException {
1513         setSystemProperty_result result = new setSystemProperty_result();
1514         try {
1515           iface.setSystemProperty(args.tinfo, args.credential, args.property, args.value);
1516         } catch (org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
1517           result.sec = sec;
1518         }
1519         return result;
1520       }
1521     }
1522 
1523     public static class removeSystemProperty<I extends Iface> extends org.apache.thrift.ProcessFunction<I, removeSystemProperty_args> {
1524       public removeSystemProperty() {
1525         super("removeSystemProperty");
1526       }
1527 
1528       public removeSystemProperty_args getEmptyArgsInstance() {
1529         return new removeSystemProperty_args();
1530       }
1531 
1532       protected boolean isOneway() {
1533         return false;
1534       }
1535 
1536       public removeSystemProperty_result getResult(I iface, removeSystemProperty_args args) throws org.apache.thrift.TException {
1537         removeSystemProperty_result result = new removeSystemProperty_result();
1538         try {
1539           iface.removeSystemProperty(args.tinfo, args.credential, args.property);
1540         } catch (org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
1541           result.sec = sec;
1542         }
1543         return result;
1544       }
1545     }
1546 
1547     public static class getMasterStats<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getMasterStats_args> {
1548       public getMasterStats() {
1549         super("getMasterStats");
1550       }
1551 
1552       public getMasterStats_args getEmptyArgsInstance() {
1553         return new getMasterStats_args();
1554       }
1555 
1556       protected boolean isOneway() {
1557         return false;
1558       }
1559 
1560       public getMasterStats_result getResult(I iface, getMasterStats_args args) throws org.apache.thrift.TException {
1561         getMasterStats_result result = new getMasterStats_result();
1562         try {
1563           result.success = iface.getMasterStats(args.tinfo, args.credential);
1564         } catch (org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
1565           result.sec = sec;
1566         }
1567         return result;
1568       }
1569     }
1570 
1571     public static class reportSplitExtent<I extends Iface> extends org.apache.thrift.ProcessFunction<I, reportSplitExtent_args> {
1572       public reportSplitExtent() {
1573         super("reportSplitExtent");
1574       }
1575 
1576       public reportSplitExtent_args getEmptyArgsInstance() {
1577         return new reportSplitExtent_args();
1578       }
1579 
1580       protected boolean isOneway() {
1581         return true;
1582       }
1583 
1584       public org.apache.thrift.TBase getResult(I iface, reportSplitExtent_args args) throws org.apache.thrift.TException {
1585         iface.reportSplitExtent(args.tinfo, args.credential, args.serverName, args.split);
1586         return null;
1587       }
1588     }
1589 
1590     public static class reportTabletStatus<I extends Iface> extends org.apache.thrift.ProcessFunction<I, reportTabletStatus_args> {
1591       public reportTabletStatus() {
1592         super("reportTabletStatus");
1593       }
1594 
1595       public reportTabletStatus_args getEmptyArgsInstance() {
1596         return new reportTabletStatus_args();
1597       }
1598 
1599       protected boolean isOneway() {
1600         return true;
1601       }
1602 
1603       public org.apache.thrift.TBase getResult(I iface, reportTabletStatus_args args) throws org.apache.thrift.TException {
1604         iface.reportTabletStatus(args.tinfo, args.credential, args.serverName, args.status, args.tablet);
1605         return null;
1606       }
1607     }
1608 
1609     public static class beginTableOperation<I extends Iface> extends org.apache.thrift.ProcessFunction<I, beginTableOperation_args> {
1610       public beginTableOperation() {
1611         super("beginTableOperation");
1612       }
1613 
1614       public beginTableOperation_args getEmptyArgsInstance() {
1615         return new beginTableOperation_args();
1616       }
1617 
1618       protected boolean isOneway() {
1619         return false;
1620       }
1621 
1622       public beginTableOperation_result getResult(I iface, beginTableOperation_args args) throws org.apache.thrift.TException {
1623         beginTableOperation_result result = new beginTableOperation_result();
1624         try {
1625           result.success = iface.beginTableOperation(args.tinfo, args.credential);
1626           result.setSuccessIsSet(true);
1627         } catch (org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
1628           result.sec = sec;
1629         }
1630         return result;
1631       }
1632     }
1633 
1634     public static class executeTableOperation<I extends Iface> extends org.apache.thrift.ProcessFunction<I, executeTableOperation_args> {
1635       public executeTableOperation() {
1636         super("executeTableOperation");
1637       }
1638 
1639       public executeTableOperation_args getEmptyArgsInstance() {
1640         return new executeTableOperation_args();
1641       }
1642 
1643       protected boolean isOneway() {
1644         return false;
1645       }
1646 
1647       public executeTableOperation_result getResult(I iface, executeTableOperation_args args) throws org.apache.thrift.TException {
1648         executeTableOperation_result result = new executeTableOperation_result();
1649         try {
1650           iface.executeTableOperation(args.tinfo, args.credential, args.opid, args.op, args.arguments, args.options, args.autoClean);
1651         } catch (org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
1652           result.sec = sec;
1653         } catch (org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException tope) {
1654           result.tope = tope;
1655         }
1656         return result;
1657       }
1658     }
1659 
1660     public static class waitForTableOperation<I extends Iface> extends org.apache.thrift.ProcessFunction<I, waitForTableOperation_args> {
1661       public waitForTableOperation() {
1662         super("waitForTableOperation");
1663       }
1664 
1665       public waitForTableOperation_args getEmptyArgsInstance() {
1666         return new waitForTableOperation_args();
1667       }
1668 
1669       protected boolean isOneway() {
1670         return false;
1671       }
1672 
1673       public waitForTableOperation_result getResult(I iface, waitForTableOperation_args args) throws org.apache.thrift.TException {
1674         waitForTableOperation_result result = new waitForTableOperation_result();
1675         try {
1676           result.success = iface.waitForTableOperation(args.tinfo, args.credential, args.opid);
1677         } catch (org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
1678           result.sec = sec;
1679         } catch (org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException tope) {
1680           result.tope = tope;
1681         }
1682         return result;
1683       }
1684     }
1685 
1686     public static class finishTableOperation<I extends Iface> extends org.apache.thrift.ProcessFunction<I, finishTableOperation_args> {
1687       public finishTableOperation() {
1688         super("finishTableOperation");
1689       }
1690 
1691       public finishTableOperation_args getEmptyArgsInstance() {
1692         return new finishTableOperation_args();
1693       }
1694 
1695       protected boolean isOneway() {
1696         return false;
1697       }
1698 
1699       public finishTableOperation_result getResult(I iface, finishTableOperation_args args) throws org.apache.thrift.TException {
1700         finishTableOperation_result result = new finishTableOperation_result();
1701         try {
1702           iface.finishTableOperation(args.tinfo, args.credential, args.opid);
1703         } catch (org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
1704           result.sec = sec;
1705         }
1706         return result;
1707       }
1708     }
1709 
1710     public static class getAuthenticatorClassName<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAuthenticatorClassName_args> {
1711       public getAuthenticatorClassName() {
1712         super("getAuthenticatorClassName");
1713       }
1714 
1715       public getAuthenticatorClassName_args getEmptyArgsInstance() {
1716         return new getAuthenticatorClassName_args();
1717       }
1718 
1719       protected boolean isOneway() {
1720         return false;
1721       }
1722 
1723       public getAuthenticatorClassName_result getResult(I iface, getAuthenticatorClassName_args args) throws org.apache.thrift.TException {
1724         getAuthenticatorClassName_result result = new getAuthenticatorClassName_result();
1725         try {
1726           result.success = iface.getAuthenticatorClassName();
1727         } catch (org.apache.accumulo.core.security.thrift.ThriftSecurityException tse) {
1728           result.tse = tse;
1729         }
1730         return result;
1731       }
1732     }
1733 
1734   }
1735 
1736   public static class initiateFlush_args implements org.apache.thrift.TBase<initiateFlush_args, initiateFlush_args._Fields>, java.io.Serializable, Cloneable   {
1737     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("initiateFlush_args");
1738 
1739     private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)3);
1740     private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1);
1741     private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)2);
1742 
1743     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
1744     static {
1745       schemes.put(StandardScheme.class, new initiateFlush_argsStandardSchemeFactory());
1746       schemes.put(TupleScheme.class, new initiateFlush_argsTupleSchemeFactory());
1747     }
1748 
1749     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
1750     public org.apache.accumulo.core.security.thrift.Credential credential; // required
1751     public String tableName; // required
1752 
1753     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
1754     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
1755       TINFO((short)3, "tinfo"),
1756       CREDENTIAL((short)1, "credential"),
1757       TABLE_NAME((short)2, "tableName");
1758 
1759       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
1760 
1761       static {
1762         for (_Fields field : EnumSet.allOf(_Fields.class)) {
1763           byName.put(field.getFieldName(), field);
1764         }
1765       }
1766 
1767       /**
1768        * Find the _Fields constant that matches fieldId, or null if its not found.
1769        */
1770       public static _Fields findByThriftId(int fieldId) {
1771         switch(fieldId) {
1772           case 3: // TINFO
1773             return TINFO;
1774           case 1: // CREDENTIAL
1775             return CREDENTIAL;
1776           case 2: // TABLE_NAME
1777             return TABLE_NAME;
1778           default:
1779             return null;
1780         }
1781       }
1782 
1783       /**
1784        * Find the _Fields constant that matches fieldId, throwing an exception
1785        * if it is not found.
1786        */
1787       public static _Fields findByThriftIdOrThrow(int fieldId) {
1788         _Fields fields = findByThriftId(fieldId);
1789         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
1790         return fields;
1791       }
1792 
1793       /**
1794        * Find the _Fields constant that matches name, or null if its not found.
1795        */
1796       public static _Fields findByName(String name) {
1797         return byName.get(name);
1798       }
1799 
1800       private final short _thriftId;
1801       private final String _fieldName;
1802 
1803       _Fields(short thriftId, String fieldName) {
1804         _thriftId = thriftId;
1805         _fieldName = fieldName;
1806       }
1807 
1808       public short getThriftFieldId() {
1809         return _thriftId;
1810       }
1811 
1812       public String getFieldName() {
1813         return _fieldName;
1814       }
1815     }
1816 
1817     // isset id assignments
1818     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
1819     static {
1820       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
1821       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
1822           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
1823       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
1824           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
1825       tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
1826           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
1827       metaDataMap = Collections.unmodifiableMap(tmpMap);
1828       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(initiateFlush_args.class, metaDataMap);
1829     }
1830 
1831     public initiateFlush_args() {
1832     }
1833 
1834     public initiateFlush_args(
1835       org.apache.accumulo.trace.thrift.TInfo tinfo,
1836       org.apache.accumulo.core.security.thrift.Credential credential,
1837       String tableName)
1838     {
1839       this();
1840       this.tinfo = tinfo;
1841       this.credential = credential;
1842       this.tableName = tableName;
1843     }
1844 
1845     /**
1846      * Performs a deep copy on <i>other</i>.
1847      */
1848     public initiateFlush_args(initiateFlush_args other) {
1849       if (other.isSetTinfo()) {
1850         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
1851       }
1852       if (other.isSetCredential()) {
1853         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
1854       }
1855       if (other.isSetTableName()) {
1856         this.tableName = other.tableName;
1857       }
1858     }
1859 
1860     public initiateFlush_args deepCopy() {
1861       return new initiateFlush_args(this);
1862     }
1863 
1864     @Override
1865     public void clear() {
1866       this.tinfo = null;
1867       this.credential = null;
1868       this.tableName = null;
1869     }
1870 
1871     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
1872       return this.tinfo;
1873     }
1874 
1875     public initiateFlush_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
1876       this.tinfo = tinfo;
1877       return this;
1878     }
1879 
1880     public void unsetTinfo() {
1881       this.tinfo = null;
1882     }
1883 
1884     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
1885     public boolean isSetTinfo() {
1886       return this.tinfo != null;
1887     }
1888 
1889     public void setTinfoIsSet(boolean value) {
1890       if (!value) {
1891         this.tinfo = null;
1892       }
1893     }
1894 
1895     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
1896       return this.credential;
1897     }
1898 
1899     public initiateFlush_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
1900       this.credential = credential;
1901       return this;
1902     }
1903 
1904     public void unsetCredential() {
1905       this.credential = null;
1906     }
1907 
1908     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
1909     public boolean isSetCredential() {
1910       return this.credential != null;
1911     }
1912 
1913     public void setCredentialIsSet(boolean value) {
1914       if (!value) {
1915         this.credential = null;
1916       }
1917     }
1918 
1919     public String getTableName() {
1920       return this.tableName;
1921     }
1922 
1923     public initiateFlush_args setTableName(String tableName) {
1924       this.tableName = tableName;
1925       return this;
1926     }
1927 
1928     public void unsetTableName() {
1929       this.tableName = null;
1930     }
1931 
1932     /** Returns true if field tableName is set (has been assigned a value) and false otherwise */
1933     public boolean isSetTableName() {
1934       return this.tableName != null;
1935     }
1936 
1937     public void setTableNameIsSet(boolean value) {
1938       if (!value) {
1939         this.tableName = null;
1940       }
1941     }
1942 
1943     public void setFieldValue(_Fields field, Object value) {
1944       switch (field) {
1945       case TINFO:
1946         if (value == null) {
1947           unsetTinfo();
1948         } else {
1949           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
1950         }
1951         break;
1952 
1953       case CREDENTIAL:
1954         if (value == null) {
1955           unsetCredential();
1956         } else {
1957           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
1958         }
1959         break;
1960 
1961       case TABLE_NAME:
1962         if (value == null) {
1963           unsetTableName();
1964         } else {
1965           setTableName((String)value);
1966         }
1967         break;
1968 
1969       }
1970     }
1971 
1972     public Object getFieldValue(_Fields field) {
1973       switch (field) {
1974       case TINFO:
1975         return getTinfo();
1976 
1977       case CREDENTIAL:
1978         return getCredential();
1979 
1980       case TABLE_NAME:
1981         return getTableName();
1982 
1983       }
1984       throw new IllegalStateException();
1985     }
1986 
1987     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
1988     public boolean isSet(_Fields field) {
1989       if (field == null) {
1990         throw new IllegalArgumentException();
1991       }
1992 
1993       switch (field) {
1994       case TINFO:
1995         return isSetTinfo();
1996       case CREDENTIAL:
1997         return isSetCredential();
1998       case TABLE_NAME:
1999         return isSetTableName();
2000       }
2001       throw new IllegalStateException();
2002     }
2003 
2004     @Override
2005     public boolean equals(Object that) {
2006       if (that == null)
2007         return false;
2008       if (that instanceof initiateFlush_args)
2009         return this.equals((initiateFlush_args)that);
2010       return false;
2011     }
2012 
2013     public boolean equals(initiateFlush_args that) {
2014       if (that == null)
2015         return false;
2016 
2017       boolean this_present_tinfo = true && this.isSetTinfo();
2018       boolean that_present_tinfo = true && that.isSetTinfo();
2019       if (this_present_tinfo || that_present_tinfo) {
2020         if (!(this_present_tinfo && that_present_tinfo))
2021           return false;
2022         if (!this.tinfo.equals(that.tinfo))
2023           return false;
2024       }
2025 
2026       boolean this_present_credential = true && this.isSetCredential();
2027       boolean that_present_credential = true && that.isSetCredential();
2028       if (this_present_credential || that_present_credential) {
2029         if (!(this_present_credential && that_present_credential))
2030           return false;
2031         if (!this.credential.equals(that.credential))
2032           return false;
2033       }
2034 
2035       boolean this_present_tableName = true && this.isSetTableName();
2036       boolean that_present_tableName = true && that.isSetTableName();
2037       if (this_present_tableName || that_present_tableName) {
2038         if (!(this_present_tableName && that_present_tableName))
2039           return false;
2040         if (!this.tableName.equals(that.tableName))
2041           return false;
2042       }
2043 
2044       return true;
2045     }
2046 
2047     @Override
2048     public int hashCode() {
2049       return 0;
2050     }
2051 
2052     public int compareTo(initiateFlush_args other) {
2053       if (!getClass().equals(other.getClass())) {
2054         return getClass().getName().compareTo(other.getClass().getName());
2055       }
2056 
2057       int lastComparison = 0;
2058       initiateFlush_args typedOther = (initiateFlush_args)other;
2059 
2060       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
2061       if (lastComparison != 0) {
2062         return lastComparison;
2063       }
2064       if (isSetTinfo()) {
2065         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
2066         if (lastComparison != 0) {
2067           return lastComparison;
2068         }
2069       }
2070       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
2071       if (lastComparison != 0) {
2072         return lastComparison;
2073       }
2074       if (isSetCredential()) {
2075         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
2076         if (lastComparison != 0) {
2077           return lastComparison;
2078         }
2079       }
2080       lastComparison = Boolean.valueOf(isSetTableName()).compareTo(typedOther.isSetTableName());
2081       if (lastComparison != 0) {
2082         return lastComparison;
2083       }
2084       if (isSetTableName()) {
2085         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, typedOther.tableName);
2086         if (lastComparison != 0) {
2087           return lastComparison;
2088         }
2089       }
2090       return 0;
2091     }
2092 
2093     public _Fields fieldForId(int fieldId) {
2094       return _Fields.findByThriftId(fieldId);
2095     }
2096 
2097     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
2098       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
2099     }
2100 
2101     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
2102       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
2103     }
2104 
2105     @Override
2106     public String toString() {
2107       StringBuilder sb = new StringBuilder("initiateFlush_args(");
2108       boolean first = true;
2109 
2110       sb.append("tinfo:");
2111       if (this.tinfo == null) {
2112         sb.append("null");
2113       } else {
2114         sb.append(this.tinfo);
2115       }
2116       first = false;
2117       if (!first) sb.append(", ");
2118       sb.append("credential:");
2119       if (this.credential == null) {
2120         sb.append("null");
2121       } else {
2122         sb.append(this.credential);
2123       }
2124       first = false;
2125       if (!first) sb.append(", ");
2126       sb.append("tableName:");
2127       if (this.tableName == null) {
2128         sb.append("null");
2129       } else {
2130         sb.append(this.tableName);
2131       }
2132       first = false;
2133       sb.append(")");
2134       return sb.toString();
2135     }
2136 
2137     public void validate() throws org.apache.thrift.TException {
2138       // check for required fields
2139       // check for sub-struct validity
2140       if (tinfo != null) {
2141         tinfo.validate();
2142       }
2143       if (credential != null) {
2144         credential.validate();
2145       }
2146     }
2147 
2148     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
2149       try {
2150         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
2151       } catch (org.apache.thrift.TException te) {
2152         throw new java.io.IOException(te);
2153       }
2154     }
2155 
2156     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
2157       try {
2158         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
2159       } catch (org.apache.thrift.TException te) {
2160         throw new java.io.IOException(te);
2161       }
2162     }
2163 
2164     private static class initiateFlush_argsStandardSchemeFactory implements SchemeFactory {
2165       public initiateFlush_argsStandardScheme getScheme() {
2166         return new initiateFlush_argsStandardScheme();
2167       }
2168     }
2169 
2170     private static class initiateFlush_argsStandardScheme extends StandardScheme<initiateFlush_args> {
2171 
2172       public void read(org.apache.thrift.protocol.TProtocol iprot, initiateFlush_args struct) throws org.apache.thrift.TException {
2173         org.apache.thrift.protocol.TField schemeField;
2174         iprot.readStructBegin();
2175         while (true)
2176         {
2177           schemeField = iprot.readFieldBegin();
2178           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
2179             break;
2180           }
2181           switch (schemeField.id) {
2182             case 3: // TINFO
2183               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
2184                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
2185                 struct.tinfo.read(iprot);
2186                 struct.setTinfoIsSet(true);
2187               } else { 
2188                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
2189               }
2190               break;
2191             case 1: // CREDENTIAL
2192               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
2193                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
2194                 struct.credential.read(iprot);
2195                 struct.setCredentialIsSet(true);
2196               } else { 
2197                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
2198               }
2199               break;
2200             case 2: // TABLE_NAME
2201               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
2202                 struct.tableName = iprot.readString();
2203                 struct.setTableNameIsSet(true);
2204               } else { 
2205                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
2206               }
2207               break;
2208             default:
2209               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
2210           }
2211           iprot.readFieldEnd();
2212         }
2213         iprot.readStructEnd();
2214 
2215         // check for required fields of primitive type, which can't be checked in the validate method
2216         struct.validate();
2217       }
2218 
2219       public void write(org.apache.thrift.protocol.TProtocol oprot, initiateFlush_args struct) throws org.apache.thrift.TException {
2220         struct.validate();
2221 
2222         oprot.writeStructBegin(STRUCT_DESC);
2223         if (struct.credential != null) {
2224           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
2225           struct.credential.write(oprot);
2226           oprot.writeFieldEnd();
2227         }
2228         if (struct.tableName != null) {
2229           oprot.writeFieldBegin(TABLE_NAME_FIELD_DESC);
2230           oprot.writeString(struct.tableName);
2231           oprot.writeFieldEnd();
2232         }
2233         if (struct.tinfo != null) {
2234           oprot.writeFieldBegin(TINFO_FIELD_DESC);
2235           struct.tinfo.write(oprot);
2236           oprot.writeFieldEnd();
2237         }
2238         oprot.writeFieldStop();
2239         oprot.writeStructEnd();
2240       }
2241 
2242     }
2243 
2244     private static class initiateFlush_argsTupleSchemeFactory implements SchemeFactory {
2245       public initiateFlush_argsTupleScheme getScheme() {
2246         return new initiateFlush_argsTupleScheme();
2247       }
2248     }
2249 
2250     private static class initiateFlush_argsTupleScheme extends TupleScheme<initiateFlush_args> {
2251 
2252       @Override
2253       public void write(org.apache.thrift.protocol.TProtocol prot, initiateFlush_args struct) throws org.apache.thrift.TException {
2254         TTupleProtocol oprot = (TTupleProtocol) prot;
2255         BitSet optionals = new BitSet();
2256         if (struct.isSetTinfo()) {
2257           optionals.set(0);
2258         }
2259         if (struct.isSetCredential()) {
2260           optionals.set(1);
2261         }
2262         if (struct.isSetTableName()) {
2263           optionals.set(2);
2264         }
2265         oprot.writeBitSet(optionals, 3);
2266         if (struct.isSetTinfo()) {
2267           struct.tinfo.write(oprot);
2268         }
2269         if (struct.isSetCredential()) {
2270           struct.credential.write(oprot);
2271         }
2272         if (struct.isSetTableName()) {
2273           oprot.writeString(struct.tableName);
2274         }
2275       }
2276 
2277       @Override
2278       public void read(org.apache.thrift.protocol.TProtocol prot, initiateFlush_args struct) throws org.apache.thrift.TException {
2279         TTupleProtocol iprot = (TTupleProtocol) prot;
2280         BitSet incoming = iprot.readBitSet(3);
2281         if (incoming.get(0)) {
2282           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
2283           struct.tinfo.read(iprot);
2284           struct.setTinfoIsSet(true);
2285         }
2286         if (incoming.get(1)) {
2287           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
2288           struct.credential.read(iprot);
2289           struct.setCredentialIsSet(true);
2290         }
2291         if (incoming.get(2)) {
2292           struct.tableName = iprot.readString();
2293           struct.setTableNameIsSet(true);
2294         }
2295       }
2296     }
2297 
2298   }
2299 
2300   public static class initiateFlush_result implements org.apache.thrift.TBase<initiateFlush_result, initiateFlush_result._Fields>, java.io.Serializable, Cloneable   {
2301     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("initiateFlush_result");
2302 
2303     private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.I64, (short)0);
2304     private static final org.apache.thrift.protocol.TField SEC_FIELD_DESC = new org.apache.thrift.protocol.TField("sec", org.apache.thrift.protocol.TType.STRUCT, (short)1);
2305     private static final org.apache.thrift.protocol.TField TOPE_FIELD_DESC = new org.apache.thrift.protocol.TField("tope", org.apache.thrift.protocol.TType.STRUCT, (short)2);
2306 
2307     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
2308     static {
2309       schemes.put(StandardScheme.class, new initiateFlush_resultStandardSchemeFactory());
2310       schemes.put(TupleScheme.class, new initiateFlush_resultTupleSchemeFactory());
2311     }
2312 
2313     public long success; // required
2314     public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required
2315     public org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException tope; // required
2316 
2317     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
2318     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
2319       SUCCESS((short)0, "success"),
2320       SEC((short)1, "sec"),
2321       TOPE((short)2, "tope");
2322 
2323       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
2324 
2325       static {
2326         for (_Fields field : EnumSet.allOf(_Fields.class)) {
2327           byName.put(field.getFieldName(), field);
2328         }
2329       }
2330 
2331       /**
2332        * Find the _Fields constant that matches fieldId, or null if its not found.
2333        */
2334       public static _Fields findByThriftId(int fieldId) {
2335         switch(fieldId) {
2336           case 0: // SUCCESS
2337             return SUCCESS;
2338           case 1: // SEC
2339             return SEC;
2340           case 2: // TOPE
2341             return TOPE;
2342           default:
2343             return null;
2344         }
2345       }
2346 
2347       /**
2348        * Find the _Fields constant that matches fieldId, throwing an exception
2349        * if it is not found.
2350        */
2351       public static _Fields findByThriftIdOrThrow(int fieldId) {
2352         _Fields fields = findByThriftId(fieldId);
2353         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
2354         return fields;
2355       }
2356 
2357       /**
2358        * Find the _Fields constant that matches name, or null if its not found.
2359        */
2360       public static _Fields findByName(String name) {
2361         return byName.get(name);
2362       }
2363 
2364       private final short _thriftId;
2365       private final String _fieldName;
2366 
2367       _Fields(short thriftId, String fieldName) {
2368         _thriftId = thriftId;
2369         _fieldName = fieldName;
2370       }
2371 
2372       public short getThriftFieldId() {
2373         return _thriftId;
2374       }
2375 
2376       public String getFieldName() {
2377         return _fieldName;
2378       }
2379     }
2380 
2381     // isset id assignments
2382     private static final int __SUCCESS_ISSET_ID = 0;
2383     private byte __isset_bitfield = 0;
2384     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
2385     static {
2386       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
2387       tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
2388           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
2389       tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, 
2390           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
2391       tmpMap.put(_Fields.TOPE, new org.apache.thrift.meta_data.FieldMetaData("tope", org.apache.thrift.TFieldRequirementType.DEFAULT, 
2392           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
2393       metaDataMap = Collections.unmodifiableMap(tmpMap);
2394       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(initiateFlush_result.class, metaDataMap);
2395     }
2396 
2397     public initiateFlush_result() {
2398     }
2399 
2400     public initiateFlush_result(
2401       long success,
2402       org.apache.accumulo.core.security.thrift.ThriftSecurityException sec,
2403       org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException tope)
2404     {
2405       this();
2406       this.success = success;
2407       setSuccessIsSet(true);
2408       this.sec = sec;
2409       this.tope = tope;
2410     }
2411 
2412     /**
2413      * Performs a deep copy on <i>other</i>.
2414      */
2415     public initiateFlush_result(initiateFlush_result other) {
2416       __isset_bitfield = other.__isset_bitfield;
2417       this.success = other.success;
2418       if (other.isSetSec()) {
2419         this.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(other.sec);
2420       }
2421       if (other.isSetTope()) {
2422         this.tope = new org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException(other.tope);
2423       }
2424     }
2425 
2426     public initiateFlush_result deepCopy() {
2427       return new initiateFlush_result(this);
2428     }
2429 
2430     @Override
2431     public void clear() {
2432       setSuccessIsSet(false);
2433       this.success = 0;
2434       this.sec = null;
2435       this.tope = null;
2436     }
2437 
2438     public long getSuccess() {
2439       return this.success;
2440     }
2441 
2442     public initiateFlush_result setSuccess(long success) {
2443       this.success = success;
2444       setSuccessIsSet(true);
2445       return this;
2446     }
2447 
2448     public void unsetSuccess() {
2449       __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID);
2450     }
2451 
2452     /** Returns true if field success is set (has been assigned a value) and false otherwise */
2453     public boolean isSetSuccess() {
2454       return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID);
2455     }
2456 
2457     public void setSuccessIsSet(boolean value) {
2458       __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value);
2459     }
2460 
2461     public org.apache.accumulo.core.security.thrift.ThriftSecurityException getSec() {
2462       return this.sec;
2463     }
2464 
2465     public initiateFlush_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
2466       this.sec = sec;
2467       return this;
2468     }
2469 
2470     public void unsetSec() {
2471       this.sec = null;
2472     }
2473 
2474     /** Returns true if field sec is set (has been assigned a value) and false otherwise */
2475     public boolean isSetSec() {
2476       return this.sec != null;
2477     }
2478 
2479     public void setSecIsSet(boolean value) {
2480       if (!value) {
2481         this.sec = null;
2482       }
2483     }
2484 
2485     public org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException getTope() {
2486       return this.tope;
2487     }
2488 
2489     public initiateFlush_result setTope(org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException tope) {
2490       this.tope = tope;
2491       return this;
2492     }
2493 
2494     public void unsetTope() {
2495       this.tope = null;
2496     }
2497 
2498     /** Returns true if field tope is set (has been assigned a value) and false otherwise */
2499     public boolean isSetTope() {
2500       return this.tope != null;
2501     }
2502 
2503     public void setTopeIsSet(boolean value) {
2504       if (!value) {
2505         this.tope = null;
2506       }
2507     }
2508 
2509     public void setFieldValue(_Fields field, Object value) {
2510       switch (field) {
2511       case SUCCESS:
2512         if (value == null) {
2513           unsetSuccess();
2514         } else {
2515           setSuccess((Long)value);
2516         }
2517         break;
2518 
2519       case SEC:
2520         if (value == null) {
2521           unsetSec();
2522         } else {
2523           setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value);
2524         }
2525         break;
2526 
2527       case TOPE:
2528         if (value == null) {
2529           unsetTope();
2530         } else {
2531           setTope((org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException)value);
2532         }
2533         break;
2534 
2535       }
2536     }
2537 
2538     public Object getFieldValue(_Fields field) {
2539       switch (field) {
2540       case SUCCESS:
2541         return Long.valueOf(getSuccess());
2542 
2543       case SEC:
2544         return getSec();
2545 
2546       case TOPE:
2547         return getTope();
2548 
2549       }
2550       throw new IllegalStateException();
2551     }
2552 
2553     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
2554     public boolean isSet(_Fields field) {
2555       if (field == null) {
2556         throw new IllegalArgumentException();
2557       }
2558 
2559       switch (field) {
2560       case SUCCESS:
2561         return isSetSuccess();
2562       case SEC:
2563         return isSetSec();
2564       case TOPE:
2565         return isSetTope();
2566       }
2567       throw new IllegalStateException();
2568     }
2569 
2570     @Override
2571     public boolean equals(Object that) {
2572       if (that == null)
2573         return false;
2574       if (that instanceof initiateFlush_result)
2575         return this.equals((initiateFlush_result)that);
2576       return false;
2577     }
2578 
2579     public boolean equals(initiateFlush_result that) {
2580       if (that == null)
2581         return false;
2582 
2583       boolean this_present_success = true;
2584       boolean that_present_success = true;
2585       if (this_present_success || that_present_success) {
2586         if (!(this_present_success && that_present_success))
2587           return false;
2588         if (this.success != that.success)
2589           return false;
2590       }
2591 
2592       boolean this_present_sec = true && this.isSetSec();
2593       boolean that_present_sec = true && that.isSetSec();
2594       if (this_present_sec || that_present_sec) {
2595         if (!(this_present_sec && that_present_sec))
2596           return false;
2597         if (!this.sec.equals(that.sec))
2598           return false;
2599       }
2600 
2601       boolean this_present_tope = true && this.isSetTope();
2602       boolean that_present_tope = true && that.isSetTope();
2603       if (this_present_tope || that_present_tope) {
2604         if (!(this_present_tope && that_present_tope))
2605           return false;
2606         if (!this.tope.equals(that.tope))
2607           return false;
2608       }
2609 
2610       return true;
2611     }
2612 
2613     @Override
2614     public int hashCode() {
2615       return 0;
2616     }
2617 
2618     public int compareTo(initiateFlush_result other) {
2619       if (!getClass().equals(other.getClass())) {
2620         return getClass().getName().compareTo(other.getClass().getName());
2621       }
2622 
2623       int lastComparison = 0;
2624       initiateFlush_result typedOther = (initiateFlush_result)other;
2625 
2626       lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
2627       if (lastComparison != 0) {
2628         return lastComparison;
2629       }
2630       if (isSetSuccess()) {
2631         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
2632         if (lastComparison != 0) {
2633           return lastComparison;
2634         }
2635       }
2636       lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec());
2637       if (lastComparison != 0) {
2638         return lastComparison;
2639       }
2640       if (isSetSec()) {
2641         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec);
2642         if (lastComparison != 0) {
2643           return lastComparison;
2644         }
2645       }
2646       lastComparison = Boolean.valueOf(isSetTope()).compareTo(typedOther.isSetTope());
2647       if (lastComparison != 0) {
2648         return lastComparison;
2649       }
2650       if (isSetTope()) {
2651         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tope, typedOther.tope);
2652         if (lastComparison != 0) {
2653           return lastComparison;
2654         }
2655       }
2656       return 0;
2657     }
2658 
2659     public _Fields fieldForId(int fieldId) {
2660       return _Fields.findByThriftId(fieldId);
2661     }
2662 
2663     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
2664       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
2665     }
2666 
2667     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
2668       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
2669       }
2670 
2671     @Override
2672     public String toString() {
2673       StringBuilder sb = new StringBuilder("initiateFlush_result(");
2674       boolean first = true;
2675 
2676       sb.append("success:");
2677       sb.append(this.success);
2678       first = false;
2679       if (!first) sb.append(", ");
2680       sb.append("sec:");
2681       if (this.sec == null) {
2682         sb.append("null");
2683       } else {
2684         sb.append(this.sec);
2685       }
2686       first = false;
2687       if (!first) sb.append(", ");
2688       sb.append("tope:");
2689       if (this.tope == null) {
2690         sb.append("null");
2691       } else {
2692         sb.append(this.tope);
2693       }
2694       first = false;
2695       sb.append(")");
2696       return sb.toString();
2697     }
2698 
2699     public void validate() throws org.apache.thrift.TException {
2700       // check for required fields
2701       // check for sub-struct validity
2702     }
2703 
2704     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
2705       try {
2706         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
2707       } catch (org.apache.thrift.TException te) {
2708         throw new java.io.IOException(te);
2709       }
2710     }
2711 
2712     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
2713       try {
2714         // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
2715         __isset_bitfield = 0;
2716         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
2717       } catch (org.apache.thrift.TException te) {
2718         throw new java.io.IOException(te);
2719       }
2720     }
2721 
2722     private static class initiateFlush_resultStandardSchemeFactory implements SchemeFactory {
2723       public initiateFlush_resultStandardScheme getScheme() {
2724         return new initiateFlush_resultStandardScheme();
2725       }
2726     }
2727 
2728     private static class initiateFlush_resultStandardScheme extends StandardScheme<initiateFlush_result> {
2729 
2730       public void read(org.apache.thrift.protocol.TProtocol iprot, initiateFlush_result struct) throws org.apache.thrift.TException {
2731         org.apache.thrift.protocol.TField schemeField;
2732         iprot.readStructBegin();
2733         while (true)
2734         {
2735           schemeField = iprot.readFieldBegin();
2736           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
2737             break;
2738           }
2739           switch (schemeField.id) {
2740             case 0: // SUCCESS
2741               if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
2742                 struct.success = iprot.readI64();
2743                 struct.setSuccessIsSet(true);
2744               } else { 
2745                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
2746               }
2747               break;
2748             case 1: // SEC
2749               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
2750                 struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
2751                 struct.sec.read(iprot);
2752                 struct.setSecIsSet(true);
2753               } else { 
2754                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
2755               }
2756               break;
2757             case 2: // TOPE
2758               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
2759                 struct.tope = new org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException();
2760                 struct.tope.read(iprot);
2761                 struct.setTopeIsSet(true);
2762               } else { 
2763                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
2764               }
2765               break;
2766             default:
2767               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
2768           }
2769           iprot.readFieldEnd();
2770         }
2771         iprot.readStructEnd();
2772 
2773         // check for required fields of primitive type, which can't be checked in the validate method
2774         struct.validate();
2775       }
2776 
2777       public void write(org.apache.thrift.protocol.TProtocol oprot, initiateFlush_result struct) throws org.apache.thrift.TException {
2778         struct.validate();
2779 
2780         oprot.writeStructBegin(STRUCT_DESC);
2781         if (struct.isSetSuccess()) {
2782           oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
2783           oprot.writeI64(struct.success);
2784           oprot.writeFieldEnd();
2785         }
2786         if (struct.sec != null) {
2787           oprot.writeFieldBegin(SEC_FIELD_DESC);
2788           struct.sec.write(oprot);
2789           oprot.writeFieldEnd();
2790         }
2791         if (struct.tope != null) {
2792           oprot.writeFieldBegin(TOPE_FIELD_DESC);
2793           struct.tope.write(oprot);
2794           oprot.writeFieldEnd();
2795         }
2796         oprot.writeFieldStop();
2797         oprot.writeStructEnd();
2798       }
2799 
2800     }
2801 
2802     private static class initiateFlush_resultTupleSchemeFactory implements SchemeFactory {
2803       public initiateFlush_resultTupleScheme getScheme() {
2804         return new initiateFlush_resultTupleScheme();
2805       }
2806     }
2807 
2808     private static class initiateFlush_resultTupleScheme extends TupleScheme<initiateFlush_result> {
2809 
2810       @Override
2811       public void write(org.apache.thrift.protocol.TProtocol prot, initiateFlush_result struct) throws org.apache.thrift.TException {
2812         TTupleProtocol oprot = (TTupleProtocol) prot;
2813         BitSet optionals = new BitSet();
2814         if (struct.isSetSuccess()) {
2815           optionals.set(0);
2816         }
2817         if (struct.isSetSec()) {
2818           optionals.set(1);
2819         }
2820         if (struct.isSetTope()) {
2821           optionals.set(2);
2822         }
2823         oprot.writeBitSet(optionals, 3);
2824         if (struct.isSetSuccess()) {
2825           oprot.writeI64(struct.success);
2826         }
2827         if (struct.isSetSec()) {
2828           struct.sec.write(oprot);
2829         }
2830         if (struct.isSetTope()) {
2831           struct.tope.write(oprot);
2832         }
2833       }
2834 
2835       @Override
2836       public void read(org.apache.thrift.protocol.TProtocol prot, initiateFlush_result struct) throws org.apache.thrift.TException {
2837         TTupleProtocol iprot = (TTupleProtocol) prot;
2838         BitSet incoming = iprot.readBitSet(3);
2839         if (incoming.get(0)) {
2840           struct.success = iprot.readI64();
2841           struct.setSuccessIsSet(true);
2842         }
2843         if (incoming.get(1)) {
2844           struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
2845           struct.sec.read(iprot);
2846           struct.setSecIsSet(true);
2847         }
2848         if (incoming.get(2)) {
2849           struct.tope = new org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException();
2850           struct.tope.read(iprot);
2851           struct.setTopeIsSet(true);
2852         }
2853       }
2854     }
2855 
2856   }
2857 
2858   public static class waitForFlush_args implements org.apache.thrift.TBase<waitForFlush_args, waitForFlush_args._Fields>, java.io.Serializable, Cloneable   {
2859     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("waitForFlush_args");
2860 
2861     private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)5);
2862     private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1);
2863     private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)2);
2864     private static final org.apache.thrift.protocol.TField START_ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("startRow", org.apache.thrift.protocol.TType.STRING, (short)6);
2865     private static final org.apache.thrift.protocol.TField END_ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("endRow", org.apache.thrift.protocol.TType.STRING, (short)7);
2866     private static final org.apache.thrift.protocol.TField FLUSH_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("flushID", org.apache.thrift.protocol.TType.I64, (short)3);
2867     private static final org.apache.thrift.protocol.TField MAX_LOOPS_FIELD_DESC = new org.apache.thrift.protocol.TField("maxLoops", org.apache.thrift.protocol.TType.I64, (short)4);
2868 
2869     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
2870     static {
2871       schemes.put(StandardScheme.class, new waitForFlush_argsStandardSchemeFactory());
2872       schemes.put(TupleScheme.class, new waitForFlush_argsTupleSchemeFactory());
2873     }
2874 
2875     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
2876     public org.apache.accumulo.core.security.thrift.Credential credential; // required
2877     public String tableName; // required
2878     public ByteBuffer startRow; // required
2879     public ByteBuffer endRow; // required
2880     public long flushID; // required
2881     public long maxLoops; // required
2882 
2883     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
2884     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
2885       TINFO((short)5, "tinfo"),
2886       CREDENTIAL((short)1, "credential"),
2887       TABLE_NAME((short)2, "tableName"),
2888       START_ROW((short)6, "startRow"),
2889       END_ROW((short)7, "endRow"),
2890       FLUSH_ID((short)3, "flushID"),
2891       MAX_LOOPS((short)4, "maxLoops");
2892 
2893       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
2894 
2895       static {
2896         for (_Fields field : EnumSet.allOf(_Fields.class)) {
2897           byName.put(field.getFieldName(), field);
2898         }
2899       }
2900 
2901       /**
2902        * Find the _Fields constant that matches fieldId, or null if its not found.
2903        */
2904       public static _Fields findByThriftId(int fieldId) {
2905         switch(fieldId) {
2906           case 5: // TINFO
2907             return TINFO;
2908           case 1: // CREDENTIAL
2909             return CREDENTIAL;
2910           case 2: // TABLE_NAME
2911             return TABLE_NAME;
2912           case 6: // START_ROW
2913             return START_ROW;
2914           case 7: // END_ROW
2915             return END_ROW;
2916           case 3: // FLUSH_ID
2917             return FLUSH_ID;
2918           case 4: // MAX_LOOPS
2919             return MAX_LOOPS;
2920           default:
2921             return null;
2922         }
2923       }
2924 
2925       /**
2926        * Find the _Fields constant that matches fieldId, throwing an exception
2927        * if it is not found.
2928        */
2929       public static _Fields findByThriftIdOrThrow(int fieldId) {
2930         _Fields fields = findByThriftId(fieldId);
2931         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
2932         return fields;
2933       }
2934 
2935       /**
2936        * Find the _Fields constant that matches name, or null if its not found.
2937        */
2938       public static _Fields findByName(String name) {
2939         return byName.get(name);
2940       }
2941 
2942       private final short _thriftId;
2943       private final String _fieldName;
2944 
2945       _Fields(short thriftId, String fieldName) {
2946         _thriftId = thriftId;
2947         _fieldName = fieldName;
2948       }
2949 
2950       public short getThriftFieldId() {
2951         return _thriftId;
2952       }
2953 
2954       public String getFieldName() {
2955         return _fieldName;
2956       }
2957     }
2958 
2959     // isset id assignments
2960     private static final int __FLUSHID_ISSET_ID = 0;
2961     private static final int __MAXLOOPS_ISSET_ID = 1;
2962     private byte __isset_bitfield = 0;
2963     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
2964     static {
2965       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
2966       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
2967           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
2968       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
2969           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
2970       tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
2971           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
2972       tmpMap.put(_Fields.START_ROW, new org.apache.thrift.meta_data.FieldMetaData("startRow", org.apache.thrift.TFieldRequirementType.DEFAULT, 
2973           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING          , true)));
2974       tmpMap.put(_Fields.END_ROW, new org.apache.thrift.meta_data.FieldMetaData("endRow", org.apache.thrift.TFieldRequirementType.DEFAULT, 
2975           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING          , true)));
2976       tmpMap.put(_Fields.FLUSH_ID, new org.apache.thrift.meta_data.FieldMetaData("flushID", org.apache.thrift.TFieldRequirementType.DEFAULT, 
2977           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
2978       tmpMap.put(_Fields.MAX_LOOPS, new org.apache.thrift.meta_data.FieldMetaData("maxLoops", org.apache.thrift.TFieldRequirementType.DEFAULT, 
2979           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
2980       metaDataMap = Collections.unmodifiableMap(tmpMap);
2981       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(waitForFlush_args.class, metaDataMap);
2982     }
2983 
2984     public waitForFlush_args() {
2985     }
2986 
2987     public waitForFlush_args(
2988       org.apache.accumulo.trace.thrift.TInfo tinfo,
2989       org.apache.accumulo.core.security.thrift.Credential credential,
2990       String tableName,
2991       ByteBuffer startRow,
2992       ByteBuffer endRow,
2993       long flushID,
2994       long maxLoops)
2995     {
2996       this();
2997       this.tinfo = tinfo;
2998       this.credential = credential;
2999       this.tableName = tableName;
3000       this.startRow = startRow;
3001       this.endRow = endRow;
3002       this.flushID = flushID;
3003       setFlushIDIsSet(true);
3004       this.maxLoops = maxLoops;
3005       setMaxLoopsIsSet(true);
3006     }
3007 
3008     /**
3009      * Performs a deep copy on <i>other</i>.
3010      */
3011     public waitForFlush_args(waitForFlush_args other) {
3012       __isset_bitfield = other.__isset_bitfield;
3013       if (other.isSetTinfo()) {
3014         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
3015       }
3016       if (other.isSetCredential()) {
3017         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
3018       }
3019       if (other.isSetTableName()) {
3020         this.tableName = other.tableName;
3021       }
3022       if (other.isSetStartRow()) {
3023         this.startRow = org.apache.thrift.TBaseHelper.copyBinary(other.startRow);
3024 ;
3025       }
3026       if (other.isSetEndRow()) {
3027         this.endRow = org.apache.thrift.TBaseHelper.copyBinary(other.endRow);
3028 ;
3029       }
3030       this.flushID = other.flushID;
3031       this.maxLoops = other.maxLoops;
3032     }
3033 
3034     public waitForFlush_args deepCopy() {
3035       return new waitForFlush_args(this);
3036     }
3037 
3038     @Override
3039     public void clear() {
3040       this.tinfo = null;
3041       this.credential = null;
3042       this.tableName = null;
3043       this.startRow = null;
3044       this.endRow = null;
3045       setFlushIDIsSet(false);
3046       this.flushID = 0;
3047       setMaxLoopsIsSet(false);
3048       this.maxLoops = 0;
3049     }
3050 
3051     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
3052       return this.tinfo;
3053     }
3054 
3055     public waitForFlush_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
3056       this.tinfo = tinfo;
3057       return this;
3058     }
3059 
3060     public void unsetTinfo() {
3061       this.tinfo = null;
3062     }
3063 
3064     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
3065     public boolean isSetTinfo() {
3066       return this.tinfo != null;
3067     }
3068 
3069     public void setTinfoIsSet(boolean value) {
3070       if (!value) {
3071         this.tinfo = null;
3072       }
3073     }
3074 
3075     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
3076       return this.credential;
3077     }
3078 
3079     public waitForFlush_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
3080       this.credential = credential;
3081       return this;
3082     }
3083 
3084     public void unsetCredential() {
3085       this.credential = null;
3086     }
3087 
3088     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
3089     public boolean isSetCredential() {
3090       return this.credential != null;
3091     }
3092 
3093     public void setCredentialIsSet(boolean value) {
3094       if (!value) {
3095         this.credential = null;
3096       }
3097     }
3098 
3099     public String getTableName() {
3100       return this.tableName;
3101     }
3102 
3103     public waitForFlush_args setTableName(String tableName) {
3104       this.tableName = tableName;
3105       return this;
3106     }
3107 
3108     public void unsetTableName() {
3109       this.tableName = null;
3110     }
3111 
3112     /** Returns true if field tableName is set (has been assigned a value) and false otherwise */
3113     public boolean isSetTableName() {
3114       return this.tableName != null;
3115     }
3116 
3117     public void setTableNameIsSet(boolean value) {
3118       if (!value) {
3119         this.tableName = null;
3120       }
3121     }
3122 
3123     public byte[] getStartRow() {
3124       setStartRow(org.apache.thrift.TBaseHelper.rightSize(startRow));
3125       return startRow == null ? null : startRow.array();
3126     }
3127 
3128     public ByteBuffer bufferForStartRow() {
3129       return startRow;
3130     }
3131 
3132     public waitForFlush_args setStartRow(byte[] startRow) {
3133       setStartRow(startRow == null ? (ByteBuffer)null : ByteBuffer.wrap(startRow));
3134       return this;
3135     }
3136 
3137     public waitForFlush_args setStartRow(ByteBuffer startRow) {
3138       this.startRow = startRow;
3139       return this;
3140     }
3141 
3142     public void unsetStartRow() {
3143       this.startRow = null;
3144     }
3145 
3146     /** Returns true if field startRow is set (has been assigned a value) and false otherwise */
3147     public boolean isSetStartRow() {
3148       return this.startRow != null;
3149     }
3150 
3151     public void setStartRowIsSet(boolean value) {
3152       if (!value) {
3153         this.startRow = null;
3154       }
3155     }
3156 
3157     public byte[] getEndRow() {
3158       setEndRow(org.apache.thrift.TBaseHelper.rightSize(endRow));
3159       return endRow == null ? null : endRow.array();
3160     }
3161 
3162     public ByteBuffer bufferForEndRow() {
3163       return endRow;
3164     }
3165 
3166     public waitForFlush_args setEndRow(byte[] endRow) {
3167       setEndRow(endRow == null ? (ByteBuffer)null : ByteBuffer.wrap(endRow));
3168       return this;
3169     }
3170 
3171     public waitForFlush_args setEndRow(ByteBuffer endRow) {
3172       this.endRow = endRow;
3173       return this;
3174     }
3175 
3176     public void unsetEndRow() {
3177       this.endRow = null;
3178     }
3179 
3180     /** Returns true if field endRow is set (has been assigned a value) and false otherwise */
3181     public boolean isSetEndRow() {
3182       return this.endRow != null;
3183     }
3184 
3185     public void setEndRowIsSet(boolean value) {
3186       if (!value) {
3187         this.endRow = null;
3188       }
3189     }
3190 
3191     public long getFlushID() {
3192       return this.flushID;
3193     }
3194 
3195     public waitForFlush_args setFlushID(long flushID) {
3196       this.flushID = flushID;
3197       setFlushIDIsSet(true);
3198       return this;
3199     }
3200 
3201     public void unsetFlushID() {
3202       __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __FLUSHID_ISSET_ID);
3203     }
3204 
3205     /** Returns true if field flushID is set (has been assigned a value) and false otherwise */
3206     public boolean isSetFlushID() {
3207       return EncodingUtils.testBit(__isset_bitfield, __FLUSHID_ISSET_ID);
3208     }
3209 
3210     public void setFlushIDIsSet(boolean value) {
3211       __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __FLUSHID_ISSET_ID, value);
3212     }
3213 
3214     public long getMaxLoops() {
3215       return this.maxLoops;
3216     }
3217 
3218     public waitForFlush_args setMaxLoops(long maxLoops) {
3219       this.maxLoops = maxLoops;
3220       setMaxLoopsIsSet(true);
3221       return this;
3222     }
3223 
3224     public void unsetMaxLoops() {
3225       __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __MAXLOOPS_ISSET_ID);
3226     }
3227 
3228     /** Returns true if field maxLoops is set (has been assigned a value) and false otherwise */
3229     public boolean isSetMaxLoops() {
3230       return EncodingUtils.testBit(__isset_bitfield, __MAXLOOPS_ISSET_ID);
3231     }
3232 
3233     public void setMaxLoopsIsSet(boolean value) {
3234       __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __MAXLOOPS_ISSET_ID, value);
3235     }
3236 
3237     public void setFieldValue(_Fields field, Object value) {
3238       switch (field) {
3239       case TINFO:
3240         if (value == null) {
3241           unsetTinfo();
3242         } else {
3243           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
3244         }
3245         break;
3246 
3247       case CREDENTIAL:
3248         if (value == null) {
3249           unsetCredential();
3250         } else {
3251           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
3252         }
3253         break;
3254 
3255       case TABLE_NAME:
3256         if (value == null) {
3257           unsetTableName();
3258         } else {
3259           setTableName((String)value);
3260         }
3261         break;
3262 
3263       case START_ROW:
3264         if (value == null) {
3265           unsetStartRow();
3266         } else {
3267           setStartRow((ByteBuffer)value);
3268         }
3269         break;
3270 
3271       case END_ROW:
3272         if (value == null) {
3273           unsetEndRow();
3274         } else {
3275           setEndRow((ByteBuffer)value);
3276         }
3277         break;
3278 
3279       case FLUSH_ID:
3280         if (value == null) {
3281           unsetFlushID();
3282         } else {
3283           setFlushID((Long)value);
3284         }
3285         break;
3286 
3287       case MAX_LOOPS:
3288         if (value == null) {
3289           unsetMaxLoops();
3290         } else {
3291           setMaxLoops((Long)value);
3292         }
3293         break;
3294 
3295       }
3296     }
3297 
3298     public Object getFieldValue(_Fields field) {
3299       switch (field) {
3300       case TINFO:
3301         return getTinfo();
3302 
3303       case CREDENTIAL:
3304         return getCredential();
3305 
3306       case TABLE_NAME:
3307         return getTableName();
3308 
3309       case START_ROW:
3310         return getStartRow();
3311 
3312       case END_ROW:
3313         return getEndRow();
3314 
3315       case FLUSH_ID:
3316         return Long.valueOf(getFlushID());
3317 
3318       case MAX_LOOPS:
3319         return Long.valueOf(getMaxLoops());
3320 
3321       }
3322       throw new IllegalStateException();
3323     }
3324 
3325     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
3326     public boolean isSet(_Fields field) {
3327       if (field == null) {
3328         throw new IllegalArgumentException();
3329       }
3330 
3331       switch (field) {
3332       case TINFO:
3333         return isSetTinfo();
3334       case CREDENTIAL:
3335         return isSetCredential();
3336       case TABLE_NAME:
3337         return isSetTableName();
3338       case START_ROW:
3339         return isSetStartRow();
3340       case END_ROW:
3341         return isSetEndRow();
3342       case FLUSH_ID:
3343         return isSetFlushID();
3344       case MAX_LOOPS:
3345         return isSetMaxLoops();
3346       }
3347       throw new IllegalStateException();
3348     }
3349 
3350     @Override
3351     public boolean equals(Object that) {
3352       if (that == null)
3353         return false;
3354       if (that instanceof waitForFlush_args)
3355         return this.equals((waitForFlush_args)that);
3356       return false;
3357     }
3358 
3359     public boolean equals(waitForFlush_args that) {
3360       if (that == null)
3361         return false;
3362 
3363       boolean this_present_tinfo = true && this.isSetTinfo();
3364       boolean that_present_tinfo = true && that.isSetTinfo();
3365       if (this_present_tinfo || that_present_tinfo) {
3366         if (!(this_present_tinfo && that_present_tinfo))
3367           return false;
3368         if (!this.tinfo.equals(that.tinfo))
3369           return false;
3370       }
3371 
3372       boolean this_present_credential = true && this.isSetCredential();
3373       boolean that_present_credential = true && that.isSetCredential();
3374       if (this_present_credential || that_present_credential) {
3375         if (!(this_present_credential && that_present_credential))
3376           return false;
3377         if (!this.credential.equals(that.credential))
3378           return false;
3379       }
3380 
3381       boolean this_present_tableName = true && this.isSetTableName();
3382       boolean that_present_tableName = true && that.isSetTableName();
3383       if (this_present_tableName || that_present_tableName) {
3384         if (!(this_present_tableName && that_present_tableName))
3385           return false;
3386         if (!this.tableName.equals(that.tableName))
3387           return false;
3388       }
3389 
3390       boolean this_present_startRow = true && this.isSetStartRow();
3391       boolean that_present_startRow = true && that.isSetStartRow();
3392       if (this_present_startRow || that_present_startRow) {
3393         if (!(this_present_startRow && that_present_startRow))
3394           return false;
3395         if (!this.startRow.equals(that.startRow))
3396           return false;
3397       }
3398 
3399       boolean this_present_endRow = true && this.isSetEndRow();
3400       boolean that_present_endRow = true && that.isSetEndRow();
3401       if (this_present_endRow || that_present_endRow) {
3402         if (!(this_present_endRow && that_present_endRow))
3403           return false;
3404         if (!this.endRow.equals(that.endRow))
3405           return false;
3406       }
3407 
3408       boolean this_present_flushID = true;
3409       boolean that_present_flushID = true;
3410       if (this_present_flushID || that_present_flushID) {
3411         if (!(this_present_flushID && that_present_flushID))
3412           return false;
3413         if (this.flushID != that.flushID)
3414           return false;
3415       }
3416 
3417       boolean this_present_maxLoops = true;
3418       boolean that_present_maxLoops = true;
3419       if (this_present_maxLoops || that_present_maxLoops) {
3420         if (!(this_present_maxLoops && that_present_maxLoops))
3421           return false;
3422         if (this.maxLoops != that.maxLoops)
3423           return false;
3424       }
3425 
3426       return true;
3427     }
3428 
3429     @Override
3430     public int hashCode() {
3431       return 0;
3432     }
3433 
3434     public int compareTo(waitForFlush_args other) {
3435       if (!getClass().equals(other.getClass())) {
3436         return getClass().getName().compareTo(other.getClass().getName());
3437       }
3438 
3439       int lastComparison = 0;
3440       waitForFlush_args typedOther = (waitForFlush_args)other;
3441 
3442       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
3443       if (lastComparison != 0) {
3444         return lastComparison;
3445       }
3446       if (isSetTinfo()) {
3447         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
3448         if (lastComparison != 0) {
3449           return lastComparison;
3450         }
3451       }
3452       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
3453       if (lastComparison != 0) {
3454         return lastComparison;
3455       }
3456       if (isSetCredential()) {
3457         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
3458         if (lastComparison != 0) {
3459           return lastComparison;
3460         }
3461       }
3462       lastComparison = Boolean.valueOf(isSetTableName()).compareTo(typedOther.isSetTableName());
3463       if (lastComparison != 0) {
3464         return lastComparison;
3465       }
3466       if (isSetTableName()) {
3467         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, typedOther.tableName);
3468         if (lastComparison != 0) {
3469           return lastComparison;
3470         }
3471       }
3472       lastComparison = Boolean.valueOf(isSetStartRow()).compareTo(typedOther.isSetStartRow());
3473       if (lastComparison != 0) {
3474         return lastComparison;
3475       }
3476       if (isSetStartRow()) {
3477         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startRow, typedOther.startRow);
3478         if (lastComparison != 0) {
3479           return lastComparison;
3480         }
3481       }
3482       lastComparison = Boolean.valueOf(isSetEndRow()).compareTo(typedOther.isSetEndRow());
3483       if (lastComparison != 0) {
3484         return lastComparison;
3485       }
3486       if (isSetEndRow()) {
3487         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.endRow, typedOther.endRow);
3488         if (lastComparison != 0) {
3489           return lastComparison;
3490         }
3491       }
3492       lastComparison = Boolean.valueOf(isSetFlushID()).compareTo(typedOther.isSetFlushID());
3493       if (lastComparison != 0) {
3494         return lastComparison;
3495       }
3496       if (isSetFlushID()) {
3497         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.flushID, typedOther.flushID);
3498         if (lastComparison != 0) {
3499           return lastComparison;
3500         }
3501       }
3502       lastComparison = Boolean.valueOf(isSetMaxLoops()).compareTo(typedOther.isSetMaxLoops());
3503       if (lastComparison != 0) {
3504         return lastComparison;
3505       }
3506       if (isSetMaxLoops()) {
3507         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxLoops, typedOther.maxLoops);
3508         if (lastComparison != 0) {
3509           return lastComparison;
3510         }
3511       }
3512       return 0;
3513     }
3514 
3515     public _Fields fieldForId(int fieldId) {
3516       return _Fields.findByThriftId(fieldId);
3517     }
3518 
3519     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
3520       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
3521     }
3522 
3523     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
3524       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
3525     }
3526 
3527     @Override
3528     public String toString() {
3529       StringBuilder sb = new StringBuilder("waitForFlush_args(");
3530       boolean first = true;
3531 
3532       sb.append("tinfo:");
3533       if (this.tinfo == null) {
3534         sb.append("null");
3535       } else {
3536         sb.append(this.tinfo);
3537       }
3538       first = false;
3539       if (!first) sb.append(", ");
3540       sb.append("credential:");
3541       if (this.credential == null) {
3542         sb.append("null");
3543       } else {
3544         sb.append(this.credential);
3545       }
3546       first = false;
3547       if (!first) sb.append(", ");
3548       sb.append("tableName:");
3549       if (this.tableName == null) {
3550         sb.append("null");
3551       } else {
3552         sb.append(this.tableName);
3553       }
3554       first = false;
3555       if (!first) sb.append(", ");
3556       sb.append("startRow:");
3557       if (this.startRow == null) {
3558         sb.append("null");
3559       } else {
3560         org.apache.thrift.TBaseHelper.toString(this.startRow, sb);
3561       }
3562       first = false;
3563       if (!first) sb.append(", ");
3564       sb.append("endRow:");
3565       if (this.endRow == null) {
3566         sb.append("null");
3567       } else {
3568         org.apache.thrift.TBaseHelper.toString(this.endRow, sb);
3569       }
3570       first = false;
3571       if (!first) sb.append(", ");
3572       sb.append("flushID:");
3573       sb.append(this.flushID);
3574       first = false;
3575       if (!first) sb.append(", ");
3576       sb.append("maxLoops:");
3577       sb.append(this.maxLoops);
3578       first = false;
3579       sb.append(")");
3580       return sb.toString();
3581     }
3582 
3583     public void validate() throws org.apache.thrift.TException {
3584       // check for required fields
3585       // check for sub-struct validity
3586       if (tinfo != null) {
3587         tinfo.validate();
3588       }
3589       if (credential != null) {
3590         credential.validate();
3591       }
3592     }
3593 
3594     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
3595       try {
3596         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
3597       } catch (org.apache.thrift.TException te) {
3598         throw new java.io.IOException(te);
3599       }
3600     }
3601 
3602     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
3603       try {
3604         // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
3605         __isset_bitfield = 0;
3606         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
3607       } catch (org.apache.thrift.TException te) {
3608         throw new java.io.IOException(te);
3609       }
3610     }
3611 
3612     private static class waitForFlush_argsStandardSchemeFactory implements SchemeFactory {
3613       public waitForFlush_argsStandardScheme getScheme() {
3614         return new waitForFlush_argsStandardScheme();
3615       }
3616     }
3617 
3618     private static class waitForFlush_argsStandardScheme extends StandardScheme<waitForFlush_args> {
3619 
3620       public void read(org.apache.thrift.protocol.TProtocol iprot, waitForFlush_args struct) throws org.apache.thrift.TException {
3621         org.apache.thrift.protocol.TField schemeField;
3622         iprot.readStructBegin();
3623         while (true)
3624         {
3625           schemeField = iprot.readFieldBegin();
3626           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
3627             break;
3628           }
3629           switch (schemeField.id) {
3630             case 5: // TINFO
3631               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
3632                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
3633                 struct.tinfo.read(iprot);
3634                 struct.setTinfoIsSet(true);
3635               } else { 
3636                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
3637               }
3638               break;
3639             case 1: // CREDENTIAL
3640               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
3641                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
3642                 struct.credential.read(iprot);
3643                 struct.setCredentialIsSet(true);
3644               } else { 
3645                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
3646               }
3647               break;
3648             case 2: // TABLE_NAME
3649               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
3650                 struct.tableName = iprot.readString();
3651                 struct.setTableNameIsSet(true);
3652               } else { 
3653                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
3654               }
3655               break;
3656             case 6: // START_ROW
3657               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
3658                 struct.startRow = iprot.readBinary();
3659                 struct.setStartRowIsSet(true);
3660               } else { 
3661                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
3662               }
3663               break;
3664             case 7: // END_ROW
3665               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
3666                 struct.endRow = iprot.readBinary();
3667                 struct.setEndRowIsSet(true);
3668               } else { 
3669                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
3670               }
3671               break;
3672             case 3: // FLUSH_ID
3673               if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
3674                 struct.flushID = iprot.readI64();
3675                 struct.setFlushIDIsSet(true);
3676               } else { 
3677                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
3678               }
3679               break;
3680             case 4: // MAX_LOOPS
3681               if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
3682                 struct.maxLoops = iprot.readI64();
3683                 struct.setMaxLoopsIsSet(true);
3684               } else { 
3685                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
3686               }
3687               break;
3688             default:
3689               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
3690           }
3691           iprot.readFieldEnd();
3692         }
3693         iprot.readStructEnd();
3694 
3695         // check for required fields of primitive type, which can't be checked in the validate method
3696         struct.validate();
3697       }
3698 
3699       public void write(org.apache.thrift.protocol.TProtocol oprot, waitForFlush_args struct) throws org.apache.thrift.TException {
3700         struct.validate();
3701 
3702         oprot.writeStructBegin(STRUCT_DESC);
3703         if (struct.credential != null) {
3704           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
3705           struct.credential.write(oprot);
3706           oprot.writeFieldEnd();
3707         }
3708         if (struct.tableName != null) {
3709           oprot.writeFieldBegin(TABLE_NAME_FIELD_DESC);
3710           oprot.writeString(struct.tableName);
3711           oprot.writeFieldEnd();
3712         }
3713         oprot.writeFieldBegin(FLUSH_ID_FIELD_DESC);
3714         oprot.writeI64(struct.flushID);
3715         oprot.writeFieldEnd();
3716         oprot.writeFieldBegin(MAX_LOOPS_FIELD_DESC);
3717         oprot.writeI64(struct.maxLoops);
3718         oprot.writeFieldEnd();
3719         if (struct.tinfo != null) {
3720           oprot.writeFieldBegin(TINFO_FIELD_DESC);
3721           struct.tinfo.write(oprot);
3722           oprot.writeFieldEnd();
3723         }
3724         if (struct.startRow != null) {
3725           oprot.writeFieldBegin(START_ROW_FIELD_DESC);
3726           oprot.writeBinary(struct.startRow);
3727           oprot.writeFieldEnd();
3728         }
3729         if (struct.endRow != null) {
3730           oprot.writeFieldBegin(END_ROW_FIELD_DESC);
3731           oprot.writeBinary(struct.endRow);
3732           oprot.writeFieldEnd();
3733         }
3734         oprot.writeFieldStop();
3735         oprot.writeStructEnd();
3736       }
3737 
3738     }
3739 
3740     private static class waitForFlush_argsTupleSchemeFactory implements SchemeFactory {
3741       public waitForFlush_argsTupleScheme getScheme() {
3742         return new waitForFlush_argsTupleScheme();
3743       }
3744     }
3745 
3746     private static class waitForFlush_argsTupleScheme extends TupleScheme<waitForFlush_args> {
3747 
3748       @Override
3749       public void write(org.apache.thrift.protocol.TProtocol prot, waitForFlush_args struct) throws org.apache.thrift.TException {
3750         TTupleProtocol oprot = (TTupleProtocol) prot;
3751         BitSet optionals = new BitSet();
3752         if (struct.isSetTinfo()) {
3753           optionals.set(0);
3754         }
3755         if (struct.isSetCredential()) {
3756           optionals.set(1);
3757         }
3758         if (struct.isSetTableName()) {
3759           optionals.set(2);
3760         }
3761         if (struct.isSetStartRow()) {
3762           optionals.set(3);
3763         }
3764         if (struct.isSetEndRow()) {
3765           optionals.set(4);
3766         }
3767         if (struct.isSetFlushID()) {
3768           optionals.set(5);
3769         }
3770         if (struct.isSetMaxLoops()) {
3771           optionals.set(6);
3772         }
3773         oprot.writeBitSet(optionals, 7);
3774         if (struct.isSetTinfo()) {
3775           struct.tinfo.write(oprot);
3776         }
3777         if (struct.isSetCredential()) {
3778           struct.credential.write(oprot);
3779         }
3780         if (struct.isSetTableName()) {
3781           oprot.writeString(struct.tableName);
3782         }
3783         if (struct.isSetStartRow()) {
3784           oprot.writeBinary(struct.startRow);
3785         }
3786         if (struct.isSetEndRow()) {
3787           oprot.writeBinary(struct.endRow);
3788         }
3789         if (struct.isSetFlushID()) {
3790           oprot.writeI64(struct.flushID);
3791         }
3792         if (struct.isSetMaxLoops()) {
3793           oprot.writeI64(struct.maxLoops);
3794         }
3795       }
3796 
3797       @Override
3798       public void read(org.apache.thrift.protocol.TProtocol prot, waitForFlush_args struct) throws org.apache.thrift.TException {
3799         TTupleProtocol iprot = (TTupleProtocol) prot;
3800         BitSet incoming = iprot.readBitSet(7);
3801         if (incoming.get(0)) {
3802           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
3803           struct.tinfo.read(iprot);
3804           struct.setTinfoIsSet(true);
3805         }
3806         if (incoming.get(1)) {
3807           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
3808           struct.credential.read(iprot);
3809           struct.setCredentialIsSet(true);
3810         }
3811         if (incoming.get(2)) {
3812           struct.tableName = iprot.readString();
3813           struct.setTableNameIsSet(true);
3814         }
3815         if (incoming.get(3)) {
3816           struct.startRow = iprot.readBinary();
3817           struct.setStartRowIsSet(true);
3818         }
3819         if (incoming.get(4)) {
3820           struct.endRow = iprot.readBinary();
3821           struct.setEndRowIsSet(true);
3822         }
3823         if (incoming.get(5)) {
3824           struct.flushID = iprot.readI64();
3825           struct.setFlushIDIsSet(true);
3826         }
3827         if (incoming.get(6)) {
3828           struct.maxLoops = iprot.readI64();
3829           struct.setMaxLoopsIsSet(true);
3830         }
3831       }
3832     }
3833 
3834   }
3835 
3836   public static class waitForFlush_result implements org.apache.thrift.TBase<waitForFlush_result, waitForFlush_result._Fields>, java.io.Serializable, Cloneable   {
3837     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("waitForFlush_result");
3838 
3839     private static final org.apache.thrift.protocol.TField SEC_FIELD_DESC = new org.apache.thrift.protocol.TField("sec", org.apache.thrift.protocol.TType.STRUCT, (short)1);
3840     private static final org.apache.thrift.protocol.TField TOPE_FIELD_DESC = new org.apache.thrift.protocol.TField("tope", org.apache.thrift.protocol.TType.STRUCT, (short)2);
3841 
3842     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
3843     static {
3844       schemes.put(StandardScheme.class, new waitForFlush_resultStandardSchemeFactory());
3845       schemes.put(TupleScheme.class, new waitForFlush_resultTupleSchemeFactory());
3846     }
3847 
3848     public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required
3849     public org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException tope; // required
3850 
3851     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
3852     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
3853       SEC((short)1, "sec"),
3854       TOPE((short)2, "tope");
3855 
3856       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
3857 
3858       static {
3859         for (_Fields field : EnumSet.allOf(_Fields.class)) {
3860           byName.put(field.getFieldName(), field);
3861         }
3862       }
3863 
3864       /**
3865        * Find the _Fields constant that matches fieldId, or null if its not found.
3866        */
3867       public static _Fields findByThriftId(int fieldId) {
3868         switch(fieldId) {
3869           case 1: // SEC
3870             return SEC;
3871           case 2: // TOPE
3872             return TOPE;
3873           default:
3874             return null;
3875         }
3876       }
3877 
3878       /**
3879        * Find the _Fields constant that matches fieldId, throwing an exception
3880        * if it is not found.
3881        */
3882       public static _Fields findByThriftIdOrThrow(int fieldId) {
3883         _Fields fields = findByThriftId(fieldId);
3884         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
3885         return fields;
3886       }
3887 
3888       /**
3889        * Find the _Fields constant that matches name, or null if its not found.
3890        */
3891       public static _Fields findByName(String name) {
3892         return byName.get(name);
3893       }
3894 
3895       private final short _thriftId;
3896       private final String _fieldName;
3897 
3898       _Fields(short thriftId, String fieldName) {
3899         _thriftId = thriftId;
3900         _fieldName = fieldName;
3901       }
3902 
3903       public short getThriftFieldId() {
3904         return _thriftId;
3905       }
3906 
3907       public String getFieldName() {
3908         return _fieldName;
3909       }
3910     }
3911 
3912     // isset id assignments
3913     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
3914     static {
3915       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
3916       tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, 
3917           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
3918       tmpMap.put(_Fields.TOPE, new org.apache.thrift.meta_data.FieldMetaData("tope", org.apache.thrift.TFieldRequirementType.DEFAULT, 
3919           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
3920       metaDataMap = Collections.unmodifiableMap(tmpMap);
3921       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(waitForFlush_result.class, metaDataMap);
3922     }
3923 
3924     public waitForFlush_result() {
3925     }
3926 
3927     public waitForFlush_result(
3928       org.apache.accumulo.core.security.thrift.ThriftSecurityException sec,
3929       org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException tope)
3930     {
3931       this();
3932       this.sec = sec;
3933       this.tope = tope;
3934     }
3935 
3936     /**
3937      * Performs a deep copy on <i>other</i>.
3938      */
3939     public waitForFlush_result(waitForFlush_result other) {
3940       if (other.isSetSec()) {
3941         this.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(other.sec);
3942       }
3943       if (other.isSetTope()) {
3944         this.tope = new org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException(other.tope);
3945       }
3946     }
3947 
3948     public waitForFlush_result deepCopy() {
3949       return new waitForFlush_result(this);
3950     }
3951 
3952     @Override
3953     public void clear() {
3954       this.sec = null;
3955       this.tope = null;
3956     }
3957 
3958     public org.apache.accumulo.core.security.thrift.ThriftSecurityException getSec() {
3959       return this.sec;
3960     }
3961 
3962     public waitForFlush_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
3963       this.sec = sec;
3964       return this;
3965     }
3966 
3967     public void unsetSec() {
3968       this.sec = null;
3969     }
3970 
3971     /** Returns true if field sec is set (has been assigned a value) and false otherwise */
3972     public boolean isSetSec() {
3973       return this.sec != null;
3974     }
3975 
3976     public void setSecIsSet(boolean value) {
3977       if (!value) {
3978         this.sec = null;
3979       }
3980     }
3981 
3982     public org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException getTope() {
3983       return this.tope;
3984     }
3985 
3986     public waitForFlush_result setTope(org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException tope) {
3987       this.tope = tope;
3988       return this;
3989     }
3990 
3991     public void unsetTope() {
3992       this.tope = null;
3993     }
3994 
3995     /** Returns true if field tope is set (has been assigned a value) and false otherwise */
3996     public boolean isSetTope() {
3997       return this.tope != null;
3998     }
3999 
4000     public void setTopeIsSet(boolean value) {
4001       if (!value) {
4002         this.tope = null;
4003       }
4004     }
4005 
4006     public void setFieldValue(_Fields field, Object value) {
4007       switch (field) {
4008       case SEC:
4009         if (value == null) {
4010           unsetSec();
4011         } else {
4012           setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value);
4013         }
4014         break;
4015 
4016       case TOPE:
4017         if (value == null) {
4018           unsetTope();
4019         } else {
4020           setTope((org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException)value);
4021         }
4022         break;
4023 
4024       }
4025     }
4026 
4027     public Object getFieldValue(_Fields field) {
4028       switch (field) {
4029       case SEC:
4030         return getSec();
4031 
4032       case TOPE:
4033         return getTope();
4034 
4035       }
4036       throw new IllegalStateException();
4037     }
4038 
4039     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
4040     public boolean isSet(_Fields field) {
4041       if (field == null) {
4042         throw new IllegalArgumentException();
4043       }
4044 
4045       switch (field) {
4046       case SEC:
4047         return isSetSec();
4048       case TOPE:
4049         return isSetTope();
4050       }
4051       throw new IllegalStateException();
4052     }
4053 
4054     @Override
4055     public boolean equals(Object that) {
4056       if (that == null)
4057         return false;
4058       if (that instanceof waitForFlush_result)
4059         return this.equals((waitForFlush_result)that);
4060       return false;
4061     }
4062 
4063     public boolean equals(waitForFlush_result that) {
4064       if (that == null)
4065         return false;
4066 
4067       boolean this_present_sec = true && this.isSetSec();
4068       boolean that_present_sec = true && that.isSetSec();
4069       if (this_present_sec || that_present_sec) {
4070         if (!(this_present_sec && that_present_sec))
4071           return false;
4072         if (!this.sec.equals(that.sec))
4073           return false;
4074       }
4075 
4076       boolean this_present_tope = true && this.isSetTope();
4077       boolean that_present_tope = true && that.isSetTope();
4078       if (this_present_tope || that_present_tope) {
4079         if (!(this_present_tope && that_present_tope))
4080           return false;
4081         if (!this.tope.equals(that.tope))
4082           return false;
4083       }
4084 
4085       return true;
4086     }
4087 
4088     @Override
4089     public int hashCode() {
4090       return 0;
4091     }
4092 
4093     public int compareTo(waitForFlush_result other) {
4094       if (!getClass().equals(other.getClass())) {
4095         return getClass().getName().compareTo(other.getClass().getName());
4096       }
4097 
4098       int lastComparison = 0;
4099       waitForFlush_result typedOther = (waitForFlush_result)other;
4100 
4101       lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec());
4102       if (lastComparison != 0) {
4103         return lastComparison;
4104       }
4105       if (isSetSec()) {
4106         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec);
4107         if (lastComparison != 0) {
4108           return lastComparison;
4109         }
4110       }
4111       lastComparison = Boolean.valueOf(isSetTope()).compareTo(typedOther.isSetTope());
4112       if (lastComparison != 0) {
4113         return lastComparison;
4114       }
4115       if (isSetTope()) {
4116         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tope, typedOther.tope);
4117         if (lastComparison != 0) {
4118           return lastComparison;
4119         }
4120       }
4121       return 0;
4122     }
4123 
4124     public _Fields fieldForId(int fieldId) {
4125       return _Fields.findByThriftId(fieldId);
4126     }
4127 
4128     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
4129       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
4130     }
4131 
4132     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
4133       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
4134       }
4135 
4136     @Override
4137     public String toString() {
4138       StringBuilder sb = new StringBuilder("waitForFlush_result(");
4139       boolean first = true;
4140 
4141       sb.append("sec:");
4142       if (this.sec == null) {
4143         sb.append("null");
4144       } else {
4145         sb.append(this.sec);
4146       }
4147       first = false;
4148       if (!first) sb.append(", ");
4149       sb.append("tope:");
4150       if (this.tope == null) {
4151         sb.append("null");
4152       } else {
4153         sb.append(this.tope);
4154       }
4155       first = false;
4156       sb.append(")");
4157       return sb.toString();
4158     }
4159 
4160     public void validate() throws org.apache.thrift.TException {
4161       // check for required fields
4162       // check for sub-struct validity
4163     }
4164 
4165     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
4166       try {
4167         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
4168       } catch (org.apache.thrift.TException te) {
4169         throw new java.io.IOException(te);
4170       }
4171     }
4172 
4173     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
4174       try {
4175         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
4176       } catch (org.apache.thrift.TException te) {
4177         throw new java.io.IOException(te);
4178       }
4179     }
4180 
4181     private static class waitForFlush_resultStandardSchemeFactory implements SchemeFactory {
4182       public waitForFlush_resultStandardScheme getScheme() {
4183         return new waitForFlush_resultStandardScheme();
4184       }
4185     }
4186 
4187     private static class waitForFlush_resultStandardScheme extends StandardScheme<waitForFlush_result> {
4188 
4189       public void read(org.apache.thrift.protocol.TProtocol iprot, waitForFlush_result struct) throws org.apache.thrift.TException {
4190         org.apache.thrift.protocol.TField schemeField;
4191         iprot.readStructBegin();
4192         while (true)
4193         {
4194           schemeField = iprot.readFieldBegin();
4195           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
4196             break;
4197           }
4198           switch (schemeField.id) {
4199             case 1: // SEC
4200               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
4201                 struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
4202                 struct.sec.read(iprot);
4203                 struct.setSecIsSet(true);
4204               } else { 
4205                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
4206               }
4207               break;
4208             case 2: // TOPE
4209               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
4210                 struct.tope = new org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException();
4211                 struct.tope.read(iprot);
4212                 struct.setTopeIsSet(true);
4213               } else { 
4214                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
4215               }
4216               break;
4217             default:
4218               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
4219           }
4220           iprot.readFieldEnd();
4221         }
4222         iprot.readStructEnd();
4223 
4224         // check for required fields of primitive type, which can't be checked in the validate method
4225         struct.validate();
4226       }
4227 
4228       public void write(org.apache.thrift.protocol.TProtocol oprot, waitForFlush_result struct) throws org.apache.thrift.TException {
4229         struct.validate();
4230 
4231         oprot.writeStructBegin(STRUCT_DESC);
4232         if (struct.sec != null) {
4233           oprot.writeFieldBegin(SEC_FIELD_DESC);
4234           struct.sec.write(oprot);
4235           oprot.writeFieldEnd();
4236         }
4237         if (struct.tope != null) {
4238           oprot.writeFieldBegin(TOPE_FIELD_DESC);
4239           struct.tope.write(oprot);
4240           oprot.writeFieldEnd();
4241         }
4242         oprot.writeFieldStop();
4243         oprot.writeStructEnd();
4244       }
4245 
4246     }
4247 
4248     private static class waitForFlush_resultTupleSchemeFactory implements SchemeFactory {
4249       public waitForFlush_resultTupleScheme getScheme() {
4250         return new waitForFlush_resultTupleScheme();
4251       }
4252     }
4253 
4254     private static class waitForFlush_resultTupleScheme extends TupleScheme<waitForFlush_result> {
4255 
4256       @Override
4257       public void write(org.apache.thrift.protocol.TProtocol prot, waitForFlush_result struct) throws org.apache.thrift.TException {
4258         TTupleProtocol oprot = (TTupleProtocol) prot;
4259         BitSet optionals = new BitSet();
4260         if (struct.isSetSec()) {
4261           optionals.set(0);
4262         }
4263         if (struct.isSetTope()) {
4264           optionals.set(1);
4265         }
4266         oprot.writeBitSet(optionals, 2);
4267         if (struct.isSetSec()) {
4268           struct.sec.write(oprot);
4269         }
4270         if (struct.isSetTope()) {
4271           struct.tope.write(oprot);
4272         }
4273       }
4274 
4275       @Override
4276       public void read(org.apache.thrift.protocol.TProtocol prot, waitForFlush_result struct) throws org.apache.thrift.TException {
4277         TTupleProtocol iprot = (TTupleProtocol) prot;
4278         BitSet incoming = iprot.readBitSet(2);
4279         if (incoming.get(0)) {
4280           struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
4281           struct.sec.read(iprot);
4282           struct.setSecIsSet(true);
4283         }
4284         if (incoming.get(1)) {
4285           struct.tope = new org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException();
4286           struct.tope.read(iprot);
4287           struct.setTopeIsSet(true);
4288         }
4289       }
4290     }
4291 
4292   }
4293 
4294   public static class setTableProperty_args implements org.apache.thrift.TBase<setTableProperty_args, setTableProperty_args._Fields>, java.io.Serializable, Cloneable   {
4295     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("setTableProperty_args");
4296 
4297     private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)5);
4298     private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1);
4299     private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)2);
4300     private static final org.apache.thrift.protocol.TField PROPERTY_FIELD_DESC = new org.apache.thrift.protocol.TField("property", org.apache.thrift.protocol.TType.STRING, (short)3);
4301     private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("value", org.apache.thrift.protocol.TType.STRING, (short)4);
4302 
4303     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
4304     static {
4305       schemes.put(StandardScheme.class, new setTableProperty_argsStandardSchemeFactory());
4306       schemes.put(TupleScheme.class, new setTableProperty_argsTupleSchemeFactory());
4307     }
4308 
4309     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
4310     public org.apache.accumulo.core.security.thrift.Credential credential; // required
4311     public String tableName; // required
4312     public String property; // required
4313     public String value; // required
4314 
4315     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
4316     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
4317       TINFO((short)5, "tinfo"),
4318       CREDENTIAL((short)1, "credential"),
4319       TABLE_NAME((short)2, "tableName"),
4320       PROPERTY((short)3, "property"),
4321       VALUE((short)4, "value");
4322 
4323       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
4324 
4325       static {
4326         for (_Fields field : EnumSet.allOf(_Fields.class)) {
4327           byName.put(field.getFieldName(), field);
4328         }
4329       }
4330 
4331       /**
4332        * Find the _Fields constant that matches fieldId, or null if its not found.
4333        */
4334       public static _Fields findByThriftId(int fieldId) {
4335         switch(fieldId) {
4336           case 5: // TINFO
4337             return TINFO;
4338           case 1: // CREDENTIAL
4339             return CREDENTIAL;
4340           case 2: // TABLE_NAME
4341             return TABLE_NAME;
4342           case 3: // PROPERTY
4343             return PROPERTY;
4344           case 4: // VALUE
4345             return VALUE;
4346           default:
4347             return null;
4348         }
4349       }
4350 
4351       /**
4352        * Find the _Fields constant that matches fieldId, throwing an exception
4353        * if it is not found.
4354        */
4355       public static _Fields findByThriftIdOrThrow(int fieldId) {
4356         _Fields fields = findByThriftId(fieldId);
4357         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
4358         return fields;
4359       }
4360 
4361       /**
4362        * Find the _Fields constant that matches name, or null if its not found.
4363        */
4364       public static _Fields findByName(String name) {
4365         return byName.get(name);
4366       }
4367 
4368       private final short _thriftId;
4369       private final String _fieldName;
4370 
4371       _Fields(short thriftId, String fieldName) {
4372         _thriftId = thriftId;
4373         _fieldName = fieldName;
4374       }
4375 
4376       public short getThriftFieldId() {
4377         return _thriftId;
4378       }
4379 
4380       public String getFieldName() {
4381         return _fieldName;
4382       }
4383     }
4384 
4385     // isset id assignments
4386     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
4387     static {
4388       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
4389       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
4390           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
4391       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
4392           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
4393       tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
4394           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
4395       tmpMap.put(_Fields.PROPERTY, new org.apache.thrift.meta_data.FieldMetaData("property", org.apache.thrift.TFieldRequirementType.DEFAULT, 
4396           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
4397       tmpMap.put(_Fields.VALUE, new org.apache.thrift.meta_data.FieldMetaData("value", org.apache.thrift.TFieldRequirementType.DEFAULT, 
4398           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
4399       metaDataMap = Collections.unmodifiableMap(tmpMap);
4400       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(setTableProperty_args.class, metaDataMap);
4401     }
4402 
4403     public setTableProperty_args() {
4404     }
4405 
4406     public setTableProperty_args(
4407       org.apache.accumulo.trace.thrift.TInfo tinfo,
4408       org.apache.accumulo.core.security.thrift.Credential credential,
4409       String tableName,
4410       String property,
4411       String value)
4412     {
4413       this();
4414       this.tinfo = tinfo;
4415       this.credential = credential;
4416       this.tableName = tableName;
4417       this.property = property;
4418       this.value = value;
4419     }
4420 
4421     /**
4422      * Performs a deep copy on <i>other</i>.
4423      */
4424     public setTableProperty_args(setTableProperty_args other) {
4425       if (other.isSetTinfo()) {
4426         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
4427       }
4428       if (other.isSetCredential()) {
4429         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
4430       }
4431       if (other.isSetTableName()) {
4432         this.tableName = other.tableName;
4433       }
4434       if (other.isSetProperty()) {
4435         this.property = other.property;
4436       }
4437       if (other.isSetValue()) {
4438         this.value = other.value;
4439       }
4440     }
4441 
4442     public setTableProperty_args deepCopy() {
4443       return new setTableProperty_args(this);
4444     }
4445 
4446     @Override
4447     public void clear() {
4448       this.tinfo = null;
4449       this.credential = null;
4450       this.tableName = null;
4451       this.property = null;
4452       this.value = null;
4453     }
4454 
4455     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
4456       return this.tinfo;
4457     }
4458 
4459     public setTableProperty_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
4460       this.tinfo = tinfo;
4461       return this;
4462     }
4463 
4464     public void unsetTinfo() {
4465       this.tinfo = null;
4466     }
4467 
4468     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
4469     public boolean isSetTinfo() {
4470       return this.tinfo != null;
4471     }
4472 
4473     public void setTinfoIsSet(boolean value) {
4474       if (!value) {
4475         this.tinfo = null;
4476       }
4477     }
4478 
4479     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
4480       return this.credential;
4481     }
4482 
4483     public setTableProperty_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
4484       this.credential = credential;
4485       return this;
4486     }
4487 
4488     public void unsetCredential() {
4489       this.credential = null;
4490     }
4491 
4492     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
4493     public boolean isSetCredential() {
4494       return this.credential != null;
4495     }
4496 
4497     public void setCredentialIsSet(boolean value) {
4498       if (!value) {
4499         this.credential = null;
4500       }
4501     }
4502 
4503     public String getTableName() {
4504       return this.tableName;
4505     }
4506 
4507     public setTableProperty_args setTableName(String tableName) {
4508       this.tableName = tableName;
4509       return this;
4510     }
4511 
4512     public void unsetTableName() {
4513       this.tableName = null;
4514     }
4515 
4516     /** Returns true if field tableName is set (has been assigned a value) and false otherwise */
4517     public boolean isSetTableName() {
4518       return this.tableName != null;
4519     }
4520 
4521     public void setTableNameIsSet(boolean value) {
4522       if (!value) {
4523         this.tableName = null;
4524       }
4525     }
4526 
4527     public String getProperty() {
4528       return this.property;
4529     }
4530 
4531     public setTableProperty_args setProperty(String property) {
4532       this.property = property;
4533       return this;
4534     }
4535 
4536     public void unsetProperty() {
4537       this.property = null;
4538     }
4539 
4540     /** Returns true if field property is set (has been assigned a value) and false otherwise */
4541     public boolean isSetProperty() {
4542       return this.property != null;
4543     }
4544 
4545     public void setPropertyIsSet(boolean value) {
4546       if (!value) {
4547         this.property = null;
4548       }
4549     }
4550 
4551     public String getValue() {
4552       return this.value;
4553     }
4554 
4555     public setTableProperty_args setValue(String value) {
4556       this.value = value;
4557       return this;
4558     }
4559 
4560     public void unsetValue() {
4561       this.value = null;
4562     }
4563 
4564     /** Returns true if field value is set (has been assigned a value) and false otherwise */
4565     public boolean isSetValue() {
4566       return this.value != null;
4567     }
4568 
4569     public void setValueIsSet(boolean value) {
4570       if (!value) {
4571         this.value = null;
4572       }
4573     }
4574 
4575     public void setFieldValue(_Fields field, Object value) {
4576       switch (field) {
4577       case TINFO:
4578         if (value == null) {
4579           unsetTinfo();
4580         } else {
4581           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
4582         }
4583         break;
4584 
4585       case CREDENTIAL:
4586         if (value == null) {
4587           unsetCredential();
4588         } else {
4589           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
4590         }
4591         break;
4592 
4593       case TABLE_NAME:
4594         if (value == null) {
4595           unsetTableName();
4596         } else {
4597           setTableName((String)value);
4598         }
4599         break;
4600 
4601       case PROPERTY:
4602         if (value == null) {
4603           unsetProperty();
4604         } else {
4605           setProperty((String)value);
4606         }
4607         break;
4608 
4609       case VALUE:
4610         if (value == null) {
4611           unsetValue();
4612         } else {
4613           setValue((String)value);
4614         }
4615         break;
4616 
4617       }
4618     }
4619 
4620     public Object getFieldValue(_Fields field) {
4621       switch (field) {
4622       case TINFO:
4623         return getTinfo();
4624 
4625       case CREDENTIAL:
4626         return getCredential();
4627 
4628       case TABLE_NAME:
4629         return getTableName();
4630 
4631       case PROPERTY:
4632         return getProperty();
4633 
4634       case VALUE:
4635         return getValue();
4636 
4637       }
4638       throw new IllegalStateException();
4639     }
4640 
4641     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
4642     public boolean isSet(_Fields field) {
4643       if (field == null) {
4644         throw new IllegalArgumentException();
4645       }
4646 
4647       switch (field) {
4648       case TINFO:
4649         return isSetTinfo();
4650       case CREDENTIAL:
4651         return isSetCredential();
4652       case TABLE_NAME:
4653         return isSetTableName();
4654       case PROPERTY:
4655         return isSetProperty();
4656       case VALUE:
4657         return isSetValue();
4658       }
4659       throw new IllegalStateException();
4660     }
4661 
4662     @Override
4663     public boolean equals(Object that) {
4664       if (that == null)
4665         return false;
4666       if (that instanceof setTableProperty_args)
4667         return this.equals((setTableProperty_args)that);
4668       return false;
4669     }
4670 
4671     public boolean equals(setTableProperty_args that) {
4672       if (that == null)
4673         return false;
4674 
4675       boolean this_present_tinfo = true && this.isSetTinfo();
4676       boolean that_present_tinfo = true && that.isSetTinfo();
4677       if (this_present_tinfo || that_present_tinfo) {
4678         if (!(this_present_tinfo && that_present_tinfo))
4679           return false;
4680         if (!this.tinfo.equals(that.tinfo))
4681           return false;
4682       }
4683 
4684       boolean this_present_credential = true && this.isSetCredential();
4685       boolean that_present_credential = true && that.isSetCredential();
4686       if (this_present_credential || that_present_credential) {
4687         if (!(this_present_credential && that_present_credential))
4688           return false;
4689         if (!this.credential.equals(that.credential))
4690           return false;
4691       }
4692 
4693       boolean this_present_tableName = true && this.isSetTableName();
4694       boolean that_present_tableName = true && that.isSetTableName();
4695       if (this_present_tableName || that_present_tableName) {
4696         if (!(this_present_tableName && that_present_tableName))
4697           return false;
4698         if (!this.tableName.equals(that.tableName))
4699           return false;
4700       }
4701 
4702       boolean this_present_property = true && this.isSetProperty();
4703       boolean that_present_property = true && that.isSetProperty();
4704       if (this_present_property || that_present_property) {
4705         if (!(this_present_property && that_present_property))
4706           return false;
4707         if (!this.property.equals(that.property))
4708           return false;
4709       }
4710 
4711       boolean this_present_value = true && this.isSetValue();
4712       boolean that_present_value = true && that.isSetValue();
4713       if (this_present_value || that_present_value) {
4714         if (!(this_present_value && that_present_value))
4715           return false;
4716         if (!this.value.equals(that.value))
4717           return false;
4718       }
4719 
4720       return true;
4721     }
4722 
4723     @Override
4724     public int hashCode() {
4725       return 0;
4726     }
4727 
4728     public int compareTo(setTableProperty_args other) {
4729       if (!getClass().equals(other.getClass())) {
4730         return getClass().getName().compareTo(other.getClass().getName());
4731       }
4732 
4733       int lastComparison = 0;
4734       setTableProperty_args typedOther = (setTableProperty_args)other;
4735 
4736       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
4737       if (lastComparison != 0) {
4738         return lastComparison;
4739       }
4740       if (isSetTinfo()) {
4741         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
4742         if (lastComparison != 0) {
4743           return lastComparison;
4744         }
4745       }
4746       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
4747       if (lastComparison != 0) {
4748         return lastComparison;
4749       }
4750       if (isSetCredential()) {
4751         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
4752         if (lastComparison != 0) {
4753           return lastComparison;
4754         }
4755       }
4756       lastComparison = Boolean.valueOf(isSetTableName()).compareTo(typedOther.isSetTableName());
4757       if (lastComparison != 0) {
4758         return lastComparison;
4759       }
4760       if (isSetTableName()) {
4761         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, typedOther.tableName);
4762         if (lastComparison != 0) {
4763           return lastComparison;
4764         }
4765       }
4766       lastComparison = Boolean.valueOf(isSetProperty()).compareTo(typedOther.isSetProperty());
4767       if (lastComparison != 0) {
4768         return lastComparison;
4769       }
4770       if (isSetProperty()) {
4771         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.property, typedOther.property);
4772         if (lastComparison != 0) {
4773           return lastComparison;
4774         }
4775       }
4776       lastComparison = Boolean.valueOf(isSetValue()).compareTo(typedOther.isSetValue());
4777       if (lastComparison != 0) {
4778         return lastComparison;
4779       }
4780       if (isSetValue()) {
4781         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, typedOther.value);
4782         if (lastComparison != 0) {
4783           return lastComparison;
4784         }
4785       }
4786       return 0;
4787     }
4788 
4789     public _Fields fieldForId(int fieldId) {
4790       return _Fields.findByThriftId(fieldId);
4791     }
4792 
4793     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
4794       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
4795     }
4796 
4797     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
4798       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
4799     }
4800 
4801     @Override
4802     public String toString() {
4803       StringBuilder sb = new StringBuilder("setTableProperty_args(");
4804       boolean first = true;
4805 
4806       sb.append("tinfo:");
4807       if (this.tinfo == null) {
4808         sb.append("null");
4809       } else {
4810         sb.append(this.tinfo);
4811       }
4812       first = false;
4813       if (!first) sb.append(", ");
4814       sb.append("credential:");
4815       if (this.credential == null) {
4816         sb.append("null");
4817       } else {
4818         sb.append(this.credential);
4819       }
4820       first = false;
4821       if (!first) sb.append(", ");
4822       sb.append("tableName:");
4823       if (this.tableName == null) {
4824         sb.append("null");
4825       } else {
4826         sb.append(this.tableName);
4827       }
4828       first = false;
4829       if (!first) sb.append(", ");
4830       sb.append("property:");
4831       if (this.property == null) {
4832         sb.append("null");
4833       } else {
4834         sb.append(this.property);
4835       }
4836       first = false;
4837       if (!first) sb.append(", ");
4838       sb.append("value:");
4839       if (this.value == null) {
4840         sb.append("null");
4841       } else {
4842         sb.append(this.value);
4843       }
4844       first = false;
4845       sb.append(")");
4846       return sb.toString();
4847     }
4848 
4849     public void validate() throws org.apache.thrift.TException {
4850       // check for required fields
4851       // check for sub-struct validity
4852       if (tinfo != null) {
4853         tinfo.validate();
4854       }
4855       if (credential != null) {
4856         credential.validate();
4857       }
4858     }
4859 
4860     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
4861       try {
4862         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
4863       } catch (org.apache.thrift.TException te) {
4864         throw new java.io.IOException(te);
4865       }
4866     }
4867 
4868     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
4869       try {
4870         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
4871       } catch (org.apache.thrift.TException te) {
4872         throw new java.io.IOException(te);
4873       }
4874     }
4875 
4876     private static class setTableProperty_argsStandardSchemeFactory implements SchemeFactory {
4877       public setTableProperty_argsStandardScheme getScheme() {
4878         return new setTableProperty_argsStandardScheme();
4879       }
4880     }
4881 
4882     private static class setTableProperty_argsStandardScheme extends StandardScheme<setTableProperty_args> {
4883 
4884       public void read(org.apache.thrift.protocol.TProtocol iprot, setTableProperty_args struct) throws org.apache.thrift.TException {
4885         org.apache.thrift.protocol.TField schemeField;
4886         iprot.readStructBegin();
4887         while (true)
4888         {
4889           schemeField = iprot.readFieldBegin();
4890           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
4891             break;
4892           }
4893           switch (schemeField.id) {
4894             case 5: // TINFO
4895               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
4896                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
4897                 struct.tinfo.read(iprot);
4898                 struct.setTinfoIsSet(true);
4899               } else { 
4900                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
4901               }
4902               break;
4903             case 1: // CREDENTIAL
4904               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
4905                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
4906                 struct.credential.read(iprot);
4907                 struct.setCredentialIsSet(true);
4908               } else { 
4909                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
4910               }
4911               break;
4912             case 2: // TABLE_NAME
4913               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
4914                 struct.tableName = iprot.readString();
4915                 struct.setTableNameIsSet(true);
4916               } else { 
4917                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
4918               }
4919               break;
4920             case 3: // PROPERTY
4921               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
4922                 struct.property = iprot.readString();
4923                 struct.setPropertyIsSet(true);
4924               } else { 
4925                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
4926               }
4927               break;
4928             case 4: // VALUE
4929               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
4930                 struct.value = iprot.readString();
4931                 struct.setValueIsSet(true);
4932               } else { 
4933                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
4934               }
4935               break;
4936             default:
4937               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
4938           }
4939           iprot.readFieldEnd();
4940         }
4941         iprot.readStructEnd();
4942 
4943         // check for required fields of primitive type, which can't be checked in the validate method
4944         struct.validate();
4945       }
4946 
4947       public void write(org.apache.thrift.protocol.TProtocol oprot, setTableProperty_args struct) throws org.apache.thrift.TException {
4948         struct.validate();
4949 
4950         oprot.writeStructBegin(STRUCT_DESC);
4951         if (struct.credential != null) {
4952           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
4953           struct.credential.write(oprot);
4954           oprot.writeFieldEnd();
4955         }
4956         if (struct.tableName != null) {
4957           oprot.writeFieldBegin(TABLE_NAME_FIELD_DESC);
4958           oprot.writeString(struct.tableName);
4959           oprot.writeFieldEnd();
4960         }
4961         if (struct.property != null) {
4962           oprot.writeFieldBegin(PROPERTY_FIELD_DESC);
4963           oprot.writeString(struct.property);
4964           oprot.writeFieldEnd();
4965         }
4966         if (struct.value != null) {
4967           oprot.writeFieldBegin(VALUE_FIELD_DESC);
4968           oprot.writeString(struct.value);
4969           oprot.writeFieldEnd();
4970         }
4971         if (struct.tinfo != null) {
4972           oprot.writeFieldBegin(TINFO_FIELD_DESC);
4973           struct.tinfo.write(oprot);
4974           oprot.writeFieldEnd();
4975         }
4976         oprot.writeFieldStop();
4977         oprot.writeStructEnd();
4978       }
4979 
4980     }
4981 
4982     private static class setTableProperty_argsTupleSchemeFactory implements SchemeFactory {
4983       public setTableProperty_argsTupleScheme getScheme() {
4984         return new setTableProperty_argsTupleScheme();
4985       }
4986     }
4987 
4988     private static class setTableProperty_argsTupleScheme extends TupleScheme<setTableProperty_args> {
4989 
4990       @Override
4991       public void write(org.apache.thrift.protocol.TProtocol prot, setTableProperty_args struct) throws org.apache.thrift.TException {
4992         TTupleProtocol oprot = (TTupleProtocol) prot;
4993         BitSet optionals = new BitSet();
4994         if (struct.isSetTinfo()) {
4995           optionals.set(0);
4996         }
4997         if (struct.isSetCredential()) {
4998           optionals.set(1);
4999         }
5000         if (struct.isSetTableName()) {
5001           optionals.set(2);
5002         }
5003         if (struct.isSetProperty()) {
5004           optionals.set(3);
5005         }
5006         if (struct.isSetValue()) {
5007           optionals.set(4);
5008         }
5009         oprot.writeBitSet(optionals, 5);
5010         if (struct.isSetTinfo()) {
5011           struct.tinfo.write(oprot);
5012         }
5013         if (struct.isSetCredential()) {
5014           struct.credential.write(oprot);
5015         }
5016         if (struct.isSetTableName()) {
5017           oprot.writeString(struct.tableName);
5018         }
5019         if (struct.isSetProperty()) {
5020           oprot.writeString(struct.property);
5021         }
5022         if (struct.isSetValue()) {
5023           oprot.writeString(struct.value);
5024         }
5025       }
5026 
5027       @Override
5028       public void read(org.apache.thrift.protocol.TProtocol prot, setTableProperty_args struct) throws org.apache.thrift.TException {
5029         TTupleProtocol iprot = (TTupleProtocol) prot;
5030         BitSet incoming = iprot.readBitSet(5);
5031         if (incoming.get(0)) {
5032           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
5033           struct.tinfo.read(iprot);
5034           struct.setTinfoIsSet(true);
5035         }
5036         if (incoming.get(1)) {
5037           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
5038           struct.credential.read(iprot);
5039           struct.setCredentialIsSet(true);
5040         }
5041         if (incoming.get(2)) {
5042           struct.tableName = iprot.readString();
5043           struct.setTableNameIsSet(true);
5044         }
5045         if (incoming.get(3)) {
5046           struct.property = iprot.readString();
5047           struct.setPropertyIsSet(true);
5048         }
5049         if (incoming.get(4)) {
5050           struct.value = iprot.readString();
5051           struct.setValueIsSet(true);
5052         }
5053       }
5054     }
5055 
5056   }
5057 
5058   public static class setTableProperty_result implements org.apache.thrift.TBase<setTableProperty_result, setTableProperty_result._Fields>, java.io.Serializable, Cloneable   {
5059     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("setTableProperty_result");
5060 
5061     private static final org.apache.thrift.protocol.TField SEC_FIELD_DESC = new org.apache.thrift.protocol.TField("sec", org.apache.thrift.protocol.TType.STRUCT, (short)1);
5062     private static final org.apache.thrift.protocol.TField TOPE_FIELD_DESC = new org.apache.thrift.protocol.TField("tope", org.apache.thrift.protocol.TType.STRUCT, (short)2);
5063 
5064     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
5065     static {
5066       schemes.put(StandardScheme.class, new setTableProperty_resultStandardSchemeFactory());
5067       schemes.put(TupleScheme.class, new setTableProperty_resultTupleSchemeFactory());
5068     }
5069 
5070     public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required
5071     public org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException tope; // required
5072 
5073     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
5074     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
5075       SEC((short)1, "sec"),
5076       TOPE((short)2, "tope");
5077 
5078       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
5079 
5080       static {
5081         for (_Fields field : EnumSet.allOf(_Fields.class)) {
5082           byName.put(field.getFieldName(), field);
5083         }
5084       }
5085 
5086       /**
5087        * Find the _Fields constant that matches fieldId, or null if its not found.
5088        */
5089       public static _Fields findByThriftId(int fieldId) {
5090         switch(fieldId) {
5091           case 1: // SEC
5092             return SEC;
5093           case 2: // TOPE
5094             return TOPE;
5095           default:
5096             return null;
5097         }
5098       }
5099 
5100       /**
5101        * Find the _Fields constant that matches fieldId, throwing an exception
5102        * if it is not found.
5103        */
5104       public static _Fields findByThriftIdOrThrow(int fieldId) {
5105         _Fields fields = findByThriftId(fieldId);
5106         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
5107         return fields;
5108       }
5109 
5110       /**
5111        * Find the _Fields constant that matches name, or null if its not found.
5112        */
5113       public static _Fields findByName(String name) {
5114         return byName.get(name);
5115       }
5116 
5117       private final short _thriftId;
5118       private final String _fieldName;
5119 
5120       _Fields(short thriftId, String fieldName) {
5121         _thriftId = thriftId;
5122         _fieldName = fieldName;
5123       }
5124 
5125       public short getThriftFieldId() {
5126         return _thriftId;
5127       }
5128 
5129       public String getFieldName() {
5130         return _fieldName;
5131       }
5132     }
5133 
5134     // isset id assignments
5135     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
5136     static {
5137       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
5138       tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, 
5139           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
5140       tmpMap.put(_Fields.TOPE, new org.apache.thrift.meta_data.FieldMetaData("tope", org.apache.thrift.TFieldRequirementType.DEFAULT, 
5141           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
5142       metaDataMap = Collections.unmodifiableMap(tmpMap);
5143       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(setTableProperty_result.class, metaDataMap);
5144     }
5145 
5146     public setTableProperty_result() {
5147     }
5148 
5149     public setTableProperty_result(
5150       org.apache.accumulo.core.security.thrift.ThriftSecurityException sec,
5151       org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException tope)
5152     {
5153       this();
5154       this.sec = sec;
5155       this.tope = tope;
5156     }
5157 
5158     /**
5159      * Performs a deep copy on <i>other</i>.
5160      */
5161     public setTableProperty_result(setTableProperty_result other) {
5162       if (other.isSetSec()) {
5163         this.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(other.sec);
5164       }
5165       if (other.isSetTope()) {
5166         this.tope = new org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException(other.tope);
5167       }
5168     }
5169 
5170     public setTableProperty_result deepCopy() {
5171       return new setTableProperty_result(this);
5172     }
5173 
5174     @Override
5175     public void clear() {
5176       this.sec = null;
5177       this.tope = null;
5178     }
5179 
5180     public org.apache.accumulo.core.security.thrift.ThriftSecurityException getSec() {
5181       return this.sec;
5182     }
5183 
5184     public setTableProperty_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
5185       this.sec = sec;
5186       return this;
5187     }
5188 
5189     public void unsetSec() {
5190       this.sec = null;
5191     }
5192 
5193     /** Returns true if field sec is set (has been assigned a value) and false otherwise */
5194     public boolean isSetSec() {
5195       return this.sec != null;
5196     }
5197 
5198     public void setSecIsSet(boolean value) {
5199       if (!value) {
5200         this.sec = null;
5201       }
5202     }
5203 
5204     public org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException getTope() {
5205       return this.tope;
5206     }
5207 
5208     public setTableProperty_result setTope(org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException tope) {
5209       this.tope = tope;
5210       return this;
5211     }
5212 
5213     public void unsetTope() {
5214       this.tope = null;
5215     }
5216 
5217     /** Returns true if field tope is set (has been assigned a value) and false otherwise */
5218     public boolean isSetTope() {
5219       return this.tope != null;
5220     }
5221 
5222     public void setTopeIsSet(boolean value) {
5223       if (!value) {
5224         this.tope = null;
5225       }
5226     }
5227 
5228     public void setFieldValue(_Fields field, Object value) {
5229       switch (field) {
5230       case SEC:
5231         if (value == null) {
5232           unsetSec();
5233         } else {
5234           setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value);
5235         }
5236         break;
5237 
5238       case TOPE:
5239         if (value == null) {
5240           unsetTope();
5241         } else {
5242           setTope((org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException)value);
5243         }
5244         break;
5245 
5246       }
5247     }
5248 
5249     public Object getFieldValue(_Fields field) {
5250       switch (field) {
5251       case SEC:
5252         return getSec();
5253 
5254       case TOPE:
5255         return getTope();
5256 
5257       }
5258       throw new IllegalStateException();
5259     }
5260 
5261     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
5262     public boolean isSet(_Fields field) {
5263       if (field == null) {
5264         throw new IllegalArgumentException();
5265       }
5266 
5267       switch (field) {
5268       case SEC:
5269         return isSetSec();
5270       case TOPE:
5271         return isSetTope();
5272       }
5273       throw new IllegalStateException();
5274     }
5275 
5276     @Override
5277     public boolean equals(Object that) {
5278       if (that == null)
5279         return false;
5280       if (that instanceof setTableProperty_result)
5281         return this.equals((setTableProperty_result)that);
5282       return false;
5283     }
5284 
5285     public boolean equals(setTableProperty_result that) {
5286       if (that == null)
5287         return false;
5288 
5289       boolean this_present_sec = true && this.isSetSec();
5290       boolean that_present_sec = true && that.isSetSec();
5291       if (this_present_sec || that_present_sec) {
5292         if (!(this_present_sec && that_present_sec))
5293           return false;
5294         if (!this.sec.equals(that.sec))
5295           return false;
5296       }
5297 
5298       boolean this_present_tope = true && this.isSetTope();
5299       boolean that_present_tope = true && that.isSetTope();
5300       if (this_present_tope || that_present_tope) {
5301         if (!(this_present_tope && that_present_tope))
5302           return false;
5303         if (!this.tope.equals(that.tope))
5304           return false;
5305       }
5306 
5307       return true;
5308     }
5309 
5310     @Override
5311     public int hashCode() {
5312       return 0;
5313     }
5314 
5315     public int compareTo(setTableProperty_result other) {
5316       if (!getClass().equals(other.getClass())) {
5317         return getClass().getName().compareTo(other.getClass().getName());
5318       }
5319 
5320       int lastComparison = 0;
5321       setTableProperty_result typedOther = (setTableProperty_result)other;
5322 
5323       lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec());
5324       if (lastComparison != 0) {
5325         return lastComparison;
5326       }
5327       if (isSetSec()) {
5328         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec);
5329         if (lastComparison != 0) {
5330           return lastComparison;
5331         }
5332       }
5333       lastComparison = Boolean.valueOf(isSetTope()).compareTo(typedOther.isSetTope());
5334       if (lastComparison != 0) {
5335         return lastComparison;
5336       }
5337       if (isSetTope()) {
5338         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tope, typedOther.tope);
5339         if (lastComparison != 0) {
5340           return lastComparison;
5341         }
5342       }
5343       return 0;
5344     }
5345 
5346     public _Fields fieldForId(int fieldId) {
5347       return _Fields.findByThriftId(fieldId);
5348     }
5349 
5350     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
5351       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
5352     }
5353 
5354     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
5355       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
5356       }
5357 
5358     @Override
5359     public String toString() {
5360       StringBuilder sb = new StringBuilder("setTableProperty_result(");
5361       boolean first = true;
5362 
5363       sb.append("sec:");
5364       if (this.sec == null) {
5365         sb.append("null");
5366       } else {
5367         sb.append(this.sec);
5368       }
5369       first = false;
5370       if (!first) sb.append(", ");
5371       sb.append("tope:");
5372       if (this.tope == null) {
5373         sb.append("null");
5374       } else {
5375         sb.append(this.tope);
5376       }
5377       first = false;
5378       sb.append(")");
5379       return sb.toString();
5380     }
5381 
5382     public void validate() throws org.apache.thrift.TException {
5383       // check for required fields
5384       // check for sub-struct validity
5385     }
5386 
5387     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
5388       try {
5389         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
5390       } catch (org.apache.thrift.TException te) {
5391         throw new java.io.IOException(te);
5392       }
5393     }
5394 
5395     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
5396       try {
5397         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
5398       } catch (org.apache.thrift.TException te) {
5399         throw new java.io.IOException(te);
5400       }
5401     }
5402 
5403     private static class setTableProperty_resultStandardSchemeFactory implements SchemeFactory {
5404       public setTableProperty_resultStandardScheme getScheme() {
5405         return new setTableProperty_resultStandardScheme();
5406       }
5407     }
5408 
5409     private static class setTableProperty_resultStandardScheme extends StandardScheme<setTableProperty_result> {
5410 
5411       public void read(org.apache.thrift.protocol.TProtocol iprot, setTableProperty_result struct) throws org.apache.thrift.TException {
5412         org.apache.thrift.protocol.TField schemeField;
5413         iprot.readStructBegin();
5414         while (true)
5415         {
5416           schemeField = iprot.readFieldBegin();
5417           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
5418             break;
5419           }
5420           switch (schemeField.id) {
5421             case 1: // SEC
5422               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
5423                 struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
5424                 struct.sec.read(iprot);
5425                 struct.setSecIsSet(true);
5426               } else { 
5427                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
5428               }
5429               break;
5430             case 2: // TOPE
5431               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
5432                 struct.tope = new org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException();
5433                 struct.tope.read(iprot);
5434                 struct.setTopeIsSet(true);
5435               } else { 
5436                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
5437               }
5438               break;
5439             default:
5440               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
5441           }
5442           iprot.readFieldEnd();
5443         }
5444         iprot.readStructEnd();
5445 
5446         // check for required fields of primitive type, which can't be checked in the validate method
5447         struct.validate();
5448       }
5449 
5450       public void write(org.apache.thrift.protocol.TProtocol oprot, setTableProperty_result struct) throws org.apache.thrift.TException {
5451         struct.validate();
5452 
5453         oprot.writeStructBegin(STRUCT_DESC);
5454         if (struct.sec != null) {
5455           oprot.writeFieldBegin(SEC_FIELD_DESC);
5456           struct.sec.write(oprot);
5457           oprot.writeFieldEnd();
5458         }
5459         if (struct.tope != null) {
5460           oprot.writeFieldBegin(TOPE_FIELD_DESC);
5461           struct.tope.write(oprot);
5462           oprot.writeFieldEnd();
5463         }
5464         oprot.writeFieldStop();
5465         oprot.writeStructEnd();
5466       }
5467 
5468     }
5469 
5470     private static class setTableProperty_resultTupleSchemeFactory implements SchemeFactory {
5471       public setTableProperty_resultTupleScheme getScheme() {
5472         return new setTableProperty_resultTupleScheme();
5473       }
5474     }
5475 
5476     private static class setTableProperty_resultTupleScheme extends TupleScheme<setTableProperty_result> {
5477 
5478       @Override
5479       public void write(org.apache.thrift.protocol.TProtocol prot, setTableProperty_result struct) throws org.apache.thrift.TException {
5480         TTupleProtocol oprot = (TTupleProtocol) prot;
5481         BitSet optionals = new BitSet();
5482         if (struct.isSetSec()) {
5483           optionals.set(0);
5484         }
5485         if (struct.isSetTope()) {
5486           optionals.set(1);
5487         }
5488         oprot.writeBitSet(optionals, 2);
5489         if (struct.isSetSec()) {
5490           struct.sec.write(oprot);
5491         }
5492         if (struct.isSetTope()) {
5493           struct.tope.write(oprot);
5494         }
5495       }
5496 
5497       @Override
5498       public void read(org.apache.thrift.protocol.TProtocol prot, setTableProperty_result struct) throws org.apache.thrift.TException {
5499         TTupleProtocol iprot = (TTupleProtocol) prot;
5500         BitSet incoming = iprot.readBitSet(2);
5501         if (incoming.get(0)) {
5502           struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
5503           struct.sec.read(iprot);
5504           struct.setSecIsSet(true);
5505         }
5506         if (incoming.get(1)) {
5507           struct.tope = new org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException();
5508           struct.tope.read(iprot);
5509           struct.setTopeIsSet(true);
5510         }
5511       }
5512     }
5513 
5514   }
5515 
5516   public static class removeTableProperty_args implements org.apache.thrift.TBase<removeTableProperty_args, removeTableProperty_args._Fields>, java.io.Serializable, Cloneable   {
5517     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("removeTableProperty_args");
5518 
5519     private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)4);
5520     private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1);
5521     private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)2);
5522     private static final org.apache.thrift.protocol.TField PROPERTY_FIELD_DESC = new org.apache.thrift.protocol.TField("property", org.apache.thrift.protocol.TType.STRING, (short)3);
5523 
5524     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
5525     static {
5526       schemes.put(StandardScheme.class, new removeTableProperty_argsStandardSchemeFactory());
5527       schemes.put(TupleScheme.class, new removeTableProperty_argsTupleSchemeFactory());
5528     }
5529 
5530     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
5531     public org.apache.accumulo.core.security.thrift.Credential credential; // required
5532     public String tableName; // required
5533     public String property; // required
5534 
5535     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
5536     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
5537       TINFO((short)4, "tinfo"),
5538       CREDENTIAL((short)1, "credential"),
5539       TABLE_NAME((short)2, "tableName"),
5540       PROPERTY((short)3, "property");
5541 
5542       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
5543 
5544       static {
5545         for (_Fields field : EnumSet.allOf(_Fields.class)) {
5546           byName.put(field.getFieldName(), field);
5547         }
5548       }
5549 
5550       /**
5551        * Find the _Fields constant that matches fieldId, or null if its not found.
5552        */
5553       public static _Fields findByThriftId(int fieldId) {
5554         switch(fieldId) {
5555           case 4: // TINFO
5556             return TINFO;
5557           case 1: // CREDENTIAL
5558             return CREDENTIAL;
5559           case 2: // TABLE_NAME
5560             return TABLE_NAME;
5561           case 3: // PROPERTY
5562             return PROPERTY;
5563           default:
5564             return null;
5565         }
5566       }
5567 
5568       /**
5569        * Find the _Fields constant that matches fieldId, throwing an exception
5570        * if it is not found.
5571        */
5572       public static _Fields findByThriftIdOrThrow(int fieldId) {
5573         _Fields fields = findByThriftId(fieldId);
5574         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
5575         return fields;
5576       }
5577 
5578       /**
5579        * Find the _Fields constant that matches name, or null if its not found.
5580        */
5581       public static _Fields findByName(String name) {
5582         return byName.get(name);
5583       }
5584 
5585       private final short _thriftId;
5586       private final String _fieldName;
5587 
5588       _Fields(short thriftId, String fieldName) {
5589         _thriftId = thriftId;
5590         _fieldName = fieldName;
5591       }
5592 
5593       public short getThriftFieldId() {
5594         return _thriftId;
5595       }
5596 
5597       public String getFieldName() {
5598         return _fieldName;
5599       }
5600     }
5601 
5602     // isset id assignments
5603     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
5604     static {
5605       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
5606       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
5607           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
5608       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
5609           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
5610       tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
5611           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
5612       tmpMap.put(_Fields.PROPERTY, new org.apache.thrift.meta_data.FieldMetaData("property", org.apache.thrift.TFieldRequirementType.DEFAULT, 
5613           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
5614       metaDataMap = Collections.unmodifiableMap(tmpMap);
5615       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(removeTableProperty_args.class, metaDataMap);
5616     }
5617 
5618     public removeTableProperty_args() {
5619     }
5620 
5621     public removeTableProperty_args(
5622       org.apache.accumulo.trace.thrift.TInfo tinfo,
5623       org.apache.accumulo.core.security.thrift.Credential credential,
5624       String tableName,
5625       String property)
5626     {
5627       this();
5628       this.tinfo = tinfo;
5629       this.credential = credential;
5630       this.tableName = tableName;
5631       this.property = property;
5632     }
5633 
5634     /**
5635      * Performs a deep copy on <i>other</i>.
5636      */
5637     public removeTableProperty_args(removeTableProperty_args other) {
5638       if (other.isSetTinfo()) {
5639         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
5640       }
5641       if (other.isSetCredential()) {
5642         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
5643       }
5644       if (other.isSetTableName()) {
5645         this.tableName = other.tableName;
5646       }
5647       if (other.isSetProperty()) {
5648         this.property = other.property;
5649       }
5650     }
5651 
5652     public removeTableProperty_args deepCopy() {
5653       return new removeTableProperty_args(this);
5654     }
5655 
5656     @Override
5657     public void clear() {
5658       this.tinfo = null;
5659       this.credential = null;
5660       this.tableName = null;
5661       this.property = null;
5662     }
5663 
5664     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
5665       return this.tinfo;
5666     }
5667 
5668     public removeTableProperty_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
5669       this.tinfo = tinfo;
5670       return this;
5671     }
5672 
5673     public void unsetTinfo() {
5674       this.tinfo = null;
5675     }
5676 
5677     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
5678     public boolean isSetTinfo() {
5679       return this.tinfo != null;
5680     }
5681 
5682     public void setTinfoIsSet(boolean value) {
5683       if (!value) {
5684         this.tinfo = null;
5685       }
5686     }
5687 
5688     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
5689       return this.credential;
5690     }
5691 
5692     public removeTableProperty_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
5693       this.credential = credential;
5694       return this;
5695     }
5696 
5697     public void unsetCredential() {
5698       this.credential = null;
5699     }
5700 
5701     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
5702     public boolean isSetCredential() {
5703       return this.credential != null;
5704     }
5705 
5706     public void setCredentialIsSet(boolean value) {
5707       if (!value) {
5708         this.credential = null;
5709       }
5710     }
5711 
5712     public String getTableName() {
5713       return this.tableName;
5714     }
5715 
5716     public removeTableProperty_args setTableName(String tableName) {
5717       this.tableName = tableName;
5718       return this;
5719     }
5720 
5721     public void unsetTableName() {
5722       this.tableName = null;
5723     }
5724 
5725     /** Returns true if field tableName is set (has been assigned a value) and false otherwise */
5726     public boolean isSetTableName() {
5727       return this.tableName != null;
5728     }
5729 
5730     public void setTableNameIsSet(boolean value) {
5731       if (!value) {
5732         this.tableName = null;
5733       }
5734     }
5735 
5736     public String getProperty() {
5737       return this.property;
5738     }
5739 
5740     public removeTableProperty_args setProperty(String property) {
5741       this.property = property;
5742       return this;
5743     }
5744 
5745     public void unsetProperty() {
5746       this.property = null;
5747     }
5748 
5749     /** Returns true if field property is set (has been assigned a value) and false otherwise */
5750     public boolean isSetProperty() {
5751       return this.property != null;
5752     }
5753 
5754     public void setPropertyIsSet(boolean value) {
5755       if (!value) {
5756         this.property = null;
5757       }
5758     }
5759 
5760     public void setFieldValue(_Fields field, Object value) {
5761       switch (field) {
5762       case TINFO:
5763         if (value == null) {
5764           unsetTinfo();
5765         } else {
5766           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
5767         }
5768         break;
5769 
5770       case CREDENTIAL:
5771         if (value == null) {
5772           unsetCredential();
5773         } else {
5774           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
5775         }
5776         break;
5777 
5778       case TABLE_NAME:
5779         if (value == null) {
5780           unsetTableName();
5781         } else {
5782           setTableName((String)value);
5783         }
5784         break;
5785 
5786       case PROPERTY:
5787         if (value == null) {
5788           unsetProperty();
5789         } else {
5790           setProperty((String)value);
5791         }
5792         break;
5793 
5794       }
5795     }
5796 
5797     public Object getFieldValue(_Fields field) {
5798       switch (field) {
5799       case TINFO:
5800         return getTinfo();
5801 
5802       case CREDENTIAL:
5803         return getCredential();
5804 
5805       case TABLE_NAME:
5806         return getTableName();
5807 
5808       case PROPERTY:
5809         return getProperty();
5810 
5811       }
5812       throw new IllegalStateException();
5813     }
5814 
5815     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
5816     public boolean isSet(_Fields field) {
5817       if (field == null) {
5818         throw new IllegalArgumentException();
5819       }
5820 
5821       switch (field) {
5822       case TINFO:
5823         return isSetTinfo();
5824       case CREDENTIAL:
5825         return isSetCredential();
5826       case TABLE_NAME:
5827         return isSetTableName();
5828       case PROPERTY:
5829         return isSetProperty();
5830       }
5831       throw new IllegalStateException();
5832     }
5833 
5834     @Override
5835     public boolean equals(Object that) {
5836       if (that == null)
5837         return false;
5838       if (that instanceof removeTableProperty_args)
5839         return this.equals((removeTableProperty_args)that);
5840       return false;
5841     }
5842 
5843     public boolean equals(removeTableProperty_args that) {
5844       if (that == null)
5845         return false;
5846 
5847       boolean this_present_tinfo = true && this.isSetTinfo();
5848       boolean that_present_tinfo = true && that.isSetTinfo();
5849       if (this_present_tinfo || that_present_tinfo) {
5850         if (!(this_present_tinfo && that_present_tinfo))
5851           return false;
5852         if (!this.tinfo.equals(that.tinfo))
5853           return false;
5854       }
5855 
5856       boolean this_present_credential = true && this.isSetCredential();
5857       boolean that_present_credential = true && that.isSetCredential();
5858       if (this_present_credential || that_present_credential) {
5859         if (!(this_present_credential && that_present_credential))
5860           return false;
5861         if (!this.credential.equals(that.credential))
5862           return false;
5863       }
5864 
5865       boolean this_present_tableName = true && this.isSetTableName();
5866       boolean that_present_tableName = true && that.isSetTableName();
5867       if (this_present_tableName || that_present_tableName) {
5868         if (!(this_present_tableName && that_present_tableName))
5869           return false;
5870         if (!this.tableName.equals(that.tableName))
5871           return false;
5872       }
5873 
5874       boolean this_present_property = true && this.isSetProperty();
5875       boolean that_present_property = true && that.isSetProperty();
5876       if (this_present_property || that_present_property) {
5877         if (!(this_present_property && that_present_property))
5878           return false;
5879         if (!this.property.equals(that.property))
5880           return false;
5881       }
5882 
5883       return true;
5884     }
5885 
5886     @Override
5887     public int hashCode() {
5888       return 0;
5889     }
5890 
5891     public int compareTo(removeTableProperty_args other) {
5892       if (!getClass().equals(other.getClass())) {
5893         return getClass().getName().compareTo(other.getClass().getName());
5894       }
5895 
5896       int lastComparison = 0;
5897       removeTableProperty_args typedOther = (removeTableProperty_args)other;
5898 
5899       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
5900       if (lastComparison != 0) {
5901         return lastComparison;
5902       }
5903       if (isSetTinfo()) {
5904         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
5905         if (lastComparison != 0) {
5906           return lastComparison;
5907         }
5908       }
5909       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
5910       if (lastComparison != 0) {
5911         return lastComparison;
5912       }
5913       if (isSetCredential()) {
5914         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
5915         if (lastComparison != 0) {
5916           return lastComparison;
5917         }
5918       }
5919       lastComparison = Boolean.valueOf(isSetTableName()).compareTo(typedOther.isSetTableName());
5920       if (lastComparison != 0) {
5921         return lastComparison;
5922       }
5923       if (isSetTableName()) {
5924         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, typedOther.tableName);
5925         if (lastComparison != 0) {
5926           return lastComparison;
5927         }
5928       }
5929       lastComparison = Boolean.valueOf(isSetProperty()).compareTo(typedOther.isSetProperty());
5930       if (lastComparison != 0) {
5931         return lastComparison;
5932       }
5933       if (isSetProperty()) {
5934         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.property, typedOther.property);
5935         if (lastComparison != 0) {
5936           return lastComparison;
5937         }
5938       }
5939       return 0;
5940     }
5941 
5942     public _Fields fieldForId(int fieldId) {
5943       return _Fields.findByThriftId(fieldId);
5944     }
5945 
5946     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
5947       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
5948     }
5949 
5950     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
5951       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
5952     }
5953 
5954     @Override
5955     public String toString() {
5956       StringBuilder sb = new StringBuilder("removeTableProperty_args(");
5957       boolean first = true;
5958 
5959       sb.append("tinfo:");
5960       if (this.tinfo == null) {
5961         sb.append("null");
5962       } else {
5963         sb.append(this.tinfo);
5964       }
5965       first = false;
5966       if (!first) sb.append(", ");
5967       sb.append("credential:");
5968       if (this.credential == null) {
5969         sb.append("null");
5970       } else {
5971         sb.append(this.credential);
5972       }
5973       first = false;
5974       if (!first) sb.append(", ");
5975       sb.append("tableName:");
5976       if (this.tableName == null) {
5977         sb.append("null");
5978       } else {
5979         sb.append(this.tableName);
5980       }
5981       first = false;
5982       if (!first) sb.append(", ");
5983       sb.append("property:");
5984       if (this.property == null) {
5985         sb.append("null");
5986       } else {
5987         sb.append(this.property);
5988       }
5989       first = false;
5990       sb.append(")");
5991       return sb.toString();
5992     }
5993 
5994     public void validate() throws org.apache.thrift.TException {
5995       // check for required fields
5996       // check for sub-struct validity
5997       if (tinfo != null) {
5998         tinfo.validate();
5999       }
6000       if (credential != null) {
6001         credential.validate();
6002       }
6003     }
6004 
6005     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
6006       try {
6007         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
6008       } catch (org.apache.thrift.TException te) {
6009         throw new java.io.IOException(te);
6010       }
6011     }
6012 
6013     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
6014       try {
6015         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
6016       } catch (org.apache.thrift.TException te) {
6017         throw new java.io.IOException(te);
6018       }
6019     }
6020 
6021     private static class removeTableProperty_argsStandardSchemeFactory implements SchemeFactory {
6022       public removeTableProperty_argsStandardScheme getScheme() {
6023         return new removeTableProperty_argsStandardScheme();
6024       }
6025     }
6026 
6027     private static class removeTableProperty_argsStandardScheme extends StandardScheme<removeTableProperty_args> {
6028 
6029       public void read(org.apache.thrift.protocol.TProtocol iprot, removeTableProperty_args struct) throws org.apache.thrift.TException {
6030         org.apache.thrift.protocol.TField schemeField;
6031         iprot.readStructBegin();
6032         while (true)
6033         {
6034           schemeField = iprot.readFieldBegin();
6035           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
6036             break;
6037           }
6038           switch (schemeField.id) {
6039             case 4: // TINFO
6040               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
6041                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
6042                 struct.tinfo.read(iprot);
6043                 struct.setTinfoIsSet(true);
6044               } else { 
6045                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
6046               }
6047               break;
6048             case 1: // CREDENTIAL
6049               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
6050                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
6051                 struct.credential.read(iprot);
6052                 struct.setCredentialIsSet(true);
6053               } else { 
6054                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
6055               }
6056               break;
6057             case 2: // TABLE_NAME
6058               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
6059                 struct.tableName = iprot.readString();
6060                 struct.setTableNameIsSet(true);
6061               } else { 
6062                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
6063               }
6064               break;
6065             case 3: // PROPERTY
6066               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
6067                 struct.property = iprot.readString();
6068                 struct.setPropertyIsSet(true);
6069               } else { 
6070                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
6071               }
6072               break;
6073             default:
6074               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
6075           }
6076           iprot.readFieldEnd();
6077         }
6078         iprot.readStructEnd();
6079 
6080         // check for required fields of primitive type, which can't be checked in the validate method
6081         struct.validate();
6082       }
6083 
6084       public void write(org.apache.thrift.protocol.TProtocol oprot, removeTableProperty_args struct) throws org.apache.thrift.TException {
6085         struct.validate();
6086 
6087         oprot.writeStructBegin(STRUCT_DESC);
6088         if (struct.credential != null) {
6089           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
6090           struct.credential.write(oprot);
6091           oprot.writeFieldEnd();
6092         }
6093         if (struct.tableName != null) {
6094           oprot.writeFieldBegin(TABLE_NAME_FIELD_DESC);
6095           oprot.writeString(struct.tableName);
6096           oprot.writeFieldEnd();
6097         }
6098         if (struct.property != null) {
6099           oprot.writeFieldBegin(PROPERTY_FIELD_DESC);
6100           oprot.writeString(struct.property);
6101           oprot.writeFieldEnd();
6102         }
6103         if (struct.tinfo != null) {
6104           oprot.writeFieldBegin(TINFO_FIELD_DESC);
6105           struct.tinfo.write(oprot);
6106           oprot.writeFieldEnd();
6107         }
6108         oprot.writeFieldStop();
6109         oprot.writeStructEnd();
6110       }
6111 
6112     }
6113 
6114     private static class removeTableProperty_argsTupleSchemeFactory implements SchemeFactory {
6115       public removeTableProperty_argsTupleScheme getScheme() {
6116         return new removeTableProperty_argsTupleScheme();
6117       }
6118     }
6119 
6120     private static class removeTableProperty_argsTupleScheme extends TupleScheme<removeTableProperty_args> {
6121 
6122       @Override
6123       public void write(org.apache.thrift.protocol.TProtocol prot, removeTableProperty_args struct) throws org.apache.thrift.TException {
6124         TTupleProtocol oprot = (TTupleProtocol) prot;
6125         BitSet optionals = new BitSet();
6126         if (struct.isSetTinfo()) {
6127           optionals.set(0);
6128         }
6129         if (struct.isSetCredential()) {
6130           optionals.set(1);
6131         }
6132         if (struct.isSetTableName()) {
6133           optionals.set(2);
6134         }
6135         if (struct.isSetProperty()) {
6136           optionals.set(3);
6137         }
6138         oprot.writeBitSet(optionals, 4);
6139         if (struct.isSetTinfo()) {
6140           struct.tinfo.write(oprot);
6141         }
6142         if (struct.isSetCredential()) {
6143           struct.credential.write(oprot);
6144         }
6145         if (struct.isSetTableName()) {
6146           oprot.writeString(struct.tableName);
6147         }
6148         if (struct.isSetProperty()) {
6149           oprot.writeString(struct.property);
6150         }
6151       }
6152 
6153       @Override
6154       public void read(org.apache.thrift.protocol.TProtocol prot, removeTableProperty_args struct) throws org.apache.thrift.TException {
6155         TTupleProtocol iprot = (TTupleProtocol) prot;
6156         BitSet incoming = iprot.readBitSet(4);
6157         if (incoming.get(0)) {
6158           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
6159           struct.tinfo.read(iprot);
6160           struct.setTinfoIsSet(true);
6161         }
6162         if (incoming.get(1)) {
6163           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
6164           struct.credential.read(iprot);
6165           struct.setCredentialIsSet(true);
6166         }
6167         if (incoming.get(2)) {
6168           struct.tableName = iprot.readString();
6169           struct.setTableNameIsSet(true);
6170         }
6171         if (incoming.get(3)) {
6172           struct.property = iprot.readString();
6173           struct.setPropertyIsSet(true);
6174         }
6175       }
6176     }
6177 
6178   }
6179 
6180   public static class removeTableProperty_result implements org.apache.thrift.TBase<removeTableProperty_result, removeTableProperty_result._Fields>, java.io.Serializable, Cloneable   {
6181     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("removeTableProperty_result");
6182 
6183     private static final org.apache.thrift.protocol.TField SEC_FIELD_DESC = new org.apache.thrift.protocol.TField("sec", org.apache.thrift.protocol.TType.STRUCT, (short)1);
6184     private static final org.apache.thrift.protocol.TField TOPE_FIELD_DESC = new org.apache.thrift.protocol.TField("tope", org.apache.thrift.protocol.TType.STRUCT, (short)2);
6185 
6186     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
6187     static {
6188       schemes.put(StandardScheme.class, new removeTableProperty_resultStandardSchemeFactory());
6189       schemes.put(TupleScheme.class, new removeTableProperty_resultTupleSchemeFactory());
6190     }
6191 
6192     public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required
6193     public org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException tope; // required
6194 
6195     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
6196     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
6197       SEC((short)1, "sec"),
6198       TOPE((short)2, "tope");
6199 
6200       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
6201 
6202       static {
6203         for (_Fields field : EnumSet.allOf(_Fields.class)) {
6204           byName.put(field.getFieldName(), field);
6205         }
6206       }
6207 
6208       /**
6209        * Find the _Fields constant that matches fieldId, or null if its not found.
6210        */
6211       public static _Fields findByThriftId(int fieldId) {
6212         switch(fieldId) {
6213           case 1: // SEC
6214             return SEC;
6215           case 2: // TOPE
6216             return TOPE;
6217           default:
6218             return null;
6219         }
6220       }
6221 
6222       /**
6223        * Find the _Fields constant that matches fieldId, throwing an exception
6224        * if it is not found.
6225        */
6226       public static _Fields findByThriftIdOrThrow(int fieldId) {
6227         _Fields fields = findByThriftId(fieldId);
6228         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
6229         return fields;
6230       }
6231 
6232       /**
6233        * Find the _Fields constant that matches name, or null if its not found.
6234        */
6235       public static _Fields findByName(String name) {
6236         return byName.get(name);
6237       }
6238 
6239       private final short _thriftId;
6240       private final String _fieldName;
6241 
6242       _Fields(short thriftId, String fieldName) {
6243         _thriftId = thriftId;
6244         _fieldName = fieldName;
6245       }
6246 
6247       public short getThriftFieldId() {
6248         return _thriftId;
6249       }
6250 
6251       public String getFieldName() {
6252         return _fieldName;
6253       }
6254     }
6255 
6256     // isset id assignments
6257     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
6258     static {
6259       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
6260       tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, 
6261           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
6262       tmpMap.put(_Fields.TOPE, new org.apache.thrift.meta_data.FieldMetaData("tope", org.apache.thrift.TFieldRequirementType.DEFAULT, 
6263           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
6264       metaDataMap = Collections.unmodifiableMap(tmpMap);
6265       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(removeTableProperty_result.class, metaDataMap);
6266     }
6267 
6268     public removeTableProperty_result() {
6269     }
6270 
6271     public removeTableProperty_result(
6272       org.apache.accumulo.core.security.thrift.ThriftSecurityException sec,
6273       org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException tope)
6274     {
6275       this();
6276       this.sec = sec;
6277       this.tope = tope;
6278     }
6279 
6280     /**
6281      * Performs a deep copy on <i>other</i>.
6282      */
6283     public removeTableProperty_result(removeTableProperty_result other) {
6284       if (other.isSetSec()) {
6285         this.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(other.sec);
6286       }
6287       if (other.isSetTope()) {
6288         this.tope = new org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException(other.tope);
6289       }
6290     }
6291 
6292     public removeTableProperty_result deepCopy() {
6293       return new removeTableProperty_result(this);
6294     }
6295 
6296     @Override
6297     public void clear() {
6298       this.sec = null;
6299       this.tope = null;
6300     }
6301 
6302     public org.apache.accumulo.core.security.thrift.ThriftSecurityException getSec() {
6303       return this.sec;
6304     }
6305 
6306     public removeTableProperty_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
6307       this.sec = sec;
6308       return this;
6309     }
6310 
6311     public void unsetSec() {
6312       this.sec = null;
6313     }
6314 
6315     /** Returns true if field sec is set (has been assigned a value) and false otherwise */
6316     public boolean isSetSec() {
6317       return this.sec != null;
6318     }
6319 
6320     public void setSecIsSet(boolean value) {
6321       if (!value) {
6322         this.sec = null;
6323       }
6324     }
6325 
6326     public org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException getTope() {
6327       return this.tope;
6328     }
6329 
6330     public removeTableProperty_result setTope(org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException tope) {
6331       this.tope = tope;
6332       return this;
6333     }
6334 
6335     public void unsetTope() {
6336       this.tope = null;
6337     }
6338 
6339     /** Returns true if field tope is set (has been assigned a value) and false otherwise */
6340     public boolean isSetTope() {
6341       return this.tope != null;
6342     }
6343 
6344     public void setTopeIsSet(boolean value) {
6345       if (!value) {
6346         this.tope = null;
6347       }
6348     }
6349 
6350     public void setFieldValue(_Fields field, Object value) {
6351       switch (field) {
6352       case SEC:
6353         if (value == null) {
6354           unsetSec();
6355         } else {
6356           setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value);
6357         }
6358         break;
6359 
6360       case TOPE:
6361         if (value == null) {
6362           unsetTope();
6363         } else {
6364           setTope((org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException)value);
6365         }
6366         break;
6367 
6368       }
6369     }
6370 
6371     public Object getFieldValue(_Fields field) {
6372       switch (field) {
6373       case SEC:
6374         return getSec();
6375 
6376       case TOPE:
6377         return getTope();
6378 
6379       }
6380       throw new IllegalStateException();
6381     }
6382 
6383     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
6384     public boolean isSet(_Fields field) {
6385       if (field == null) {
6386         throw new IllegalArgumentException();
6387       }
6388 
6389       switch (field) {
6390       case SEC:
6391         return isSetSec();
6392       case TOPE:
6393         return isSetTope();
6394       }
6395       throw new IllegalStateException();
6396     }
6397 
6398     @Override
6399     public boolean equals(Object that) {
6400       if (that == null)
6401         return false;
6402       if (that instanceof removeTableProperty_result)
6403         return this.equals((removeTableProperty_result)that);
6404       return false;
6405     }
6406 
6407     public boolean equals(removeTableProperty_result that) {
6408       if (that == null)
6409         return false;
6410 
6411       boolean this_present_sec = true && this.isSetSec();
6412       boolean that_present_sec = true && that.isSetSec();
6413       if (this_present_sec || that_present_sec) {
6414         if (!(this_present_sec && that_present_sec))
6415           return false;
6416         if (!this.sec.equals(that.sec))
6417           return false;
6418       }
6419 
6420       boolean this_present_tope = true && this.isSetTope();
6421       boolean that_present_tope = true && that.isSetTope();
6422       if (this_present_tope || that_present_tope) {
6423         if (!(this_present_tope && that_present_tope))
6424           return false;
6425         if (!this.tope.equals(that.tope))
6426           return false;
6427       }
6428 
6429       return true;
6430     }
6431 
6432     @Override
6433     public int hashCode() {
6434       return 0;
6435     }
6436 
6437     public int compareTo(removeTableProperty_result other) {
6438       if (!getClass().equals(other.getClass())) {
6439         return getClass().getName().compareTo(other.getClass().getName());
6440       }
6441 
6442       int lastComparison = 0;
6443       removeTableProperty_result typedOther = (removeTableProperty_result)other;
6444 
6445       lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec());
6446       if (lastComparison != 0) {
6447         return lastComparison;
6448       }
6449       if (isSetSec()) {
6450         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec);
6451         if (lastComparison != 0) {
6452           return lastComparison;
6453         }
6454       }
6455       lastComparison = Boolean.valueOf(isSetTope()).compareTo(typedOther.isSetTope());
6456       if (lastComparison != 0) {
6457         return lastComparison;
6458       }
6459       if (isSetTope()) {
6460         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tope, typedOther.tope);
6461         if (lastComparison != 0) {
6462           return lastComparison;
6463         }
6464       }
6465       return 0;
6466     }
6467 
6468     public _Fields fieldForId(int fieldId) {
6469       return _Fields.findByThriftId(fieldId);
6470     }
6471 
6472     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
6473       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
6474     }
6475 
6476     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
6477       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
6478       }
6479 
6480     @Override
6481     public String toString() {
6482       StringBuilder sb = new StringBuilder("removeTableProperty_result(");
6483       boolean first = true;
6484 
6485       sb.append("sec:");
6486       if (this.sec == null) {
6487         sb.append("null");
6488       } else {
6489         sb.append(this.sec);
6490       }
6491       first = false;
6492       if (!first) sb.append(", ");
6493       sb.append("tope:");
6494       if (this.tope == null) {
6495         sb.append("null");
6496       } else {
6497         sb.append(this.tope);
6498       }
6499       first = false;
6500       sb.append(")");
6501       return sb.toString();
6502     }
6503 
6504     public void validate() throws org.apache.thrift.TException {
6505       // check for required fields
6506       // check for sub-struct validity
6507     }
6508 
6509     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
6510       try {
6511         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
6512       } catch (org.apache.thrift.TException te) {
6513         throw new java.io.IOException(te);
6514       }
6515     }
6516 
6517     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
6518       try {
6519         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
6520       } catch (org.apache.thrift.TException te) {
6521         throw new java.io.IOException(te);
6522       }
6523     }
6524 
6525     private static class removeTableProperty_resultStandardSchemeFactory implements SchemeFactory {
6526       public removeTableProperty_resultStandardScheme getScheme() {
6527         return new removeTableProperty_resultStandardScheme();
6528       }
6529     }
6530 
6531     private static class removeTableProperty_resultStandardScheme extends StandardScheme<removeTableProperty_result> {
6532 
6533       public void read(org.apache.thrift.protocol.TProtocol iprot, removeTableProperty_result struct) throws org.apache.thrift.TException {
6534         org.apache.thrift.protocol.TField schemeField;
6535         iprot.readStructBegin();
6536         while (true)
6537         {
6538           schemeField = iprot.readFieldBegin();
6539           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
6540             break;
6541           }
6542           switch (schemeField.id) {
6543             case 1: // SEC
6544               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
6545                 struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
6546                 struct.sec.read(iprot);
6547                 struct.setSecIsSet(true);
6548               } else { 
6549                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
6550               }
6551               break;
6552             case 2: // TOPE
6553               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
6554                 struct.tope = new org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException();
6555                 struct.tope.read(iprot);
6556                 struct.setTopeIsSet(true);
6557               } else { 
6558                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
6559               }
6560               break;
6561             default:
6562               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
6563           }
6564           iprot.readFieldEnd();
6565         }
6566         iprot.readStructEnd();
6567 
6568         // check for required fields of primitive type, which can't be checked in the validate method
6569         struct.validate();
6570       }
6571 
6572       public void write(org.apache.thrift.protocol.TProtocol oprot, removeTableProperty_result struct) throws org.apache.thrift.TException {
6573         struct.validate();
6574 
6575         oprot.writeStructBegin(STRUCT_DESC);
6576         if (struct.sec != null) {
6577           oprot.writeFieldBegin(SEC_FIELD_DESC);
6578           struct.sec.write(oprot);
6579           oprot.writeFieldEnd();
6580         }
6581         if (struct.tope != null) {
6582           oprot.writeFieldBegin(TOPE_FIELD_DESC);
6583           struct.tope.write(oprot);
6584           oprot.writeFieldEnd();
6585         }
6586         oprot.writeFieldStop();
6587         oprot.writeStructEnd();
6588       }
6589 
6590     }
6591 
6592     private static class removeTableProperty_resultTupleSchemeFactory implements SchemeFactory {
6593       public removeTableProperty_resultTupleScheme getScheme() {
6594         return new removeTableProperty_resultTupleScheme();
6595       }
6596     }
6597 
6598     private static class removeTableProperty_resultTupleScheme extends TupleScheme<removeTableProperty_result> {
6599 
6600       @Override
6601       public void write(org.apache.thrift.protocol.TProtocol prot, removeTableProperty_result struct) throws org.apache.thrift.TException {
6602         TTupleProtocol oprot = (TTupleProtocol) prot;
6603         BitSet optionals = new BitSet();
6604         if (struct.isSetSec()) {
6605           optionals.set(0);
6606         }
6607         if (struct.isSetTope()) {
6608           optionals.set(1);
6609         }
6610         oprot.writeBitSet(optionals, 2);
6611         if (struct.isSetSec()) {
6612           struct.sec.write(oprot);
6613         }
6614         if (struct.isSetTope()) {
6615           struct.tope.write(oprot);
6616         }
6617       }
6618 
6619       @Override
6620       public void read(org.apache.thrift.protocol.TProtocol prot, removeTableProperty_result struct) throws org.apache.thrift.TException {
6621         TTupleProtocol iprot = (TTupleProtocol) prot;
6622         BitSet incoming = iprot.readBitSet(2);
6623         if (incoming.get(0)) {
6624           struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
6625           struct.sec.read(iprot);
6626           struct.setSecIsSet(true);
6627         }
6628         if (incoming.get(1)) {
6629           struct.tope = new org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException();
6630           struct.tope.read(iprot);
6631           struct.setTopeIsSet(true);
6632         }
6633       }
6634     }
6635 
6636   }
6637 
6638   public static class setMasterGoalState_args implements org.apache.thrift.TBase<setMasterGoalState_args, setMasterGoalState_args._Fields>, java.io.Serializable, Cloneable   {
6639     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("setMasterGoalState_args");
6640 
6641     private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)3);
6642     private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1);
6643     private static final org.apache.thrift.protocol.TField STATE_FIELD_DESC = new org.apache.thrift.protocol.TField("state", org.apache.thrift.protocol.TType.I32, (short)2);
6644 
6645     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
6646     static {
6647       schemes.put(StandardScheme.class, new setMasterGoalState_argsStandardSchemeFactory());
6648       schemes.put(TupleScheme.class, new setMasterGoalState_argsTupleSchemeFactory());
6649     }
6650 
6651     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
6652     public org.apache.accumulo.core.security.thrift.Credential credential; // required
6653     /**
6654      * 
6655      * @see MasterGoalState
6656      */
6657     public MasterGoalState state; // required
6658 
6659     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
6660     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
6661       TINFO((short)3, "tinfo"),
6662       CREDENTIAL((short)1, "credential"),
6663       /**
6664        * 
6665        * @see MasterGoalState
6666        */
6667       STATE((short)2, "state");
6668 
6669       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
6670 
6671       static {
6672         for (_Fields field : EnumSet.allOf(_Fields.class)) {
6673           byName.put(field.getFieldName(), field);
6674         }
6675       }
6676 
6677       /**
6678        * Find the _Fields constant that matches fieldId, or null if its not found.
6679        */
6680       public static _Fields findByThriftId(int fieldId) {
6681         switch(fieldId) {
6682           case 3: // TINFO
6683             return TINFO;
6684           case 1: // CREDENTIAL
6685             return CREDENTIAL;
6686           case 2: // STATE
6687             return STATE;
6688           default:
6689             return null;
6690         }
6691       }
6692 
6693       /**
6694        * Find the _Fields constant that matches fieldId, throwing an exception
6695        * if it is not found.
6696        */
6697       public static _Fields findByThriftIdOrThrow(int fieldId) {
6698         _Fields fields = findByThriftId(fieldId);
6699         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
6700         return fields;
6701       }
6702 
6703       /**
6704        * Find the _Fields constant that matches name, or null if its not found.
6705        */
6706       public static _Fields findByName(String name) {
6707         return byName.get(name);
6708       }
6709 
6710       private final short _thriftId;
6711       private final String _fieldName;
6712 
6713       _Fields(short thriftId, String fieldName) {
6714         _thriftId = thriftId;
6715         _fieldName = fieldName;
6716       }
6717 
6718       public short getThriftFieldId() {
6719         return _thriftId;
6720       }
6721 
6722       public String getFieldName() {
6723         return _fieldName;
6724       }
6725     }
6726 
6727     // isset id assignments
6728     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
6729     static {
6730       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
6731       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
6732           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
6733       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
6734           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
6735       tmpMap.put(_Fields.STATE, new org.apache.thrift.meta_data.FieldMetaData("state", org.apache.thrift.TFieldRequirementType.DEFAULT, 
6736           new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, MasterGoalState.class)));
6737       metaDataMap = Collections.unmodifiableMap(tmpMap);
6738       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(setMasterGoalState_args.class, metaDataMap);
6739     }
6740 
6741     public setMasterGoalState_args() {
6742     }
6743 
6744     public setMasterGoalState_args(
6745       org.apache.accumulo.trace.thrift.TInfo tinfo,
6746       org.apache.accumulo.core.security.thrift.Credential credential,
6747       MasterGoalState state)
6748     {
6749       this();
6750       this.tinfo = tinfo;
6751       this.credential = credential;
6752       this.state = state;
6753     }
6754 
6755     /**
6756      * Performs a deep copy on <i>other</i>.
6757      */
6758     public setMasterGoalState_args(setMasterGoalState_args other) {
6759       if (other.isSetTinfo()) {
6760         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
6761       }
6762       if (other.isSetCredential()) {
6763         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
6764       }
6765       if (other.isSetState()) {
6766         this.state = other.state;
6767       }
6768     }
6769 
6770     public setMasterGoalState_args deepCopy() {
6771       return new setMasterGoalState_args(this);
6772     }
6773 
6774     @Override
6775     public void clear() {
6776       this.tinfo = null;
6777       this.credential = null;
6778       this.state = null;
6779     }
6780 
6781     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
6782       return this.tinfo;
6783     }
6784 
6785     public setMasterGoalState_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
6786       this.tinfo = tinfo;
6787       return this;
6788     }
6789 
6790     public void unsetTinfo() {
6791       this.tinfo = null;
6792     }
6793 
6794     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
6795     public boolean isSetTinfo() {
6796       return this.tinfo != null;
6797     }
6798 
6799     public void setTinfoIsSet(boolean value) {
6800       if (!value) {
6801         this.tinfo = null;
6802       }
6803     }
6804 
6805     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
6806       return this.credential;
6807     }
6808 
6809     public setMasterGoalState_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
6810       this.credential = credential;
6811       return this;
6812     }
6813 
6814     public void unsetCredential() {
6815       this.credential = null;
6816     }
6817 
6818     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
6819     public boolean isSetCredential() {
6820       return this.credential != null;
6821     }
6822 
6823     public void setCredentialIsSet(boolean value) {
6824       if (!value) {
6825         this.credential = null;
6826       }
6827     }
6828 
6829     /**
6830      * 
6831      * @see MasterGoalState
6832      */
6833     public MasterGoalState getState() {
6834       return this.state;
6835     }
6836 
6837     /**
6838      * 
6839      * @see MasterGoalState
6840      */
6841     public setMasterGoalState_args setState(MasterGoalState state) {
6842       this.state = state;
6843       return this;
6844     }
6845 
6846     public void unsetState() {
6847       this.state = null;
6848     }
6849 
6850     /** Returns true if field state is set (has been assigned a value) and false otherwise */
6851     public boolean isSetState() {
6852       return this.state != null;
6853     }
6854 
6855     public void setStateIsSet(boolean value) {
6856       if (!value) {
6857         this.state = null;
6858       }
6859     }
6860 
6861     public void setFieldValue(_Fields field, Object value) {
6862       switch (field) {
6863       case TINFO:
6864         if (value == null) {
6865           unsetTinfo();
6866         } else {
6867           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
6868         }
6869         break;
6870 
6871       case CREDENTIAL:
6872         if (value == null) {
6873           unsetCredential();
6874         } else {
6875           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
6876         }
6877         break;
6878 
6879       case STATE:
6880         if (value == null) {
6881           unsetState();
6882         } else {
6883           setState((MasterGoalState)value);
6884         }
6885         break;
6886 
6887       }
6888     }
6889 
6890     public Object getFieldValue(_Fields field) {
6891       switch (field) {
6892       case TINFO:
6893         return getTinfo();
6894 
6895       case CREDENTIAL:
6896         return getCredential();
6897 
6898       case STATE:
6899         return getState();
6900 
6901       }
6902       throw new IllegalStateException();
6903     }
6904 
6905     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
6906     public boolean isSet(_Fields field) {
6907       if (field == null) {
6908         throw new IllegalArgumentException();
6909       }
6910 
6911       switch (field) {
6912       case TINFO:
6913         return isSetTinfo();
6914       case CREDENTIAL:
6915         return isSetCredential();
6916       case STATE:
6917         return isSetState();
6918       }
6919       throw new IllegalStateException();
6920     }
6921 
6922     @Override
6923     public boolean equals(Object that) {
6924       if (that == null)
6925         return false;
6926       if (that instanceof setMasterGoalState_args)
6927         return this.equals((setMasterGoalState_args)that);
6928       return false;
6929     }
6930 
6931     public boolean equals(setMasterGoalState_args that) {
6932       if (that == null)
6933         return false;
6934 
6935       boolean this_present_tinfo = true && this.isSetTinfo();
6936       boolean that_present_tinfo = true && that.isSetTinfo();
6937       if (this_present_tinfo || that_present_tinfo) {
6938         if (!(this_present_tinfo && that_present_tinfo))
6939           return false;
6940         if (!this.tinfo.equals(that.tinfo))
6941           return false;
6942       }
6943 
6944       boolean this_present_credential = true && this.isSetCredential();
6945       boolean that_present_credential = true && that.isSetCredential();
6946       if (this_present_credential || that_present_credential) {
6947         if (!(this_present_credential && that_present_credential))
6948           return false;
6949         if (!this.credential.equals(that.credential))
6950           return false;
6951       }
6952 
6953       boolean this_present_state = true && this.isSetState();
6954       boolean that_present_state = true && that.isSetState();
6955       if (this_present_state || that_present_state) {
6956         if (!(this_present_state && that_present_state))
6957           return false;
6958         if (!this.state.equals(that.state))
6959           return false;
6960       }
6961 
6962       return true;
6963     }
6964 
6965     @Override
6966     public int hashCode() {
6967       return 0;
6968     }
6969 
6970     public int compareTo(setMasterGoalState_args other) {
6971       if (!getClass().equals(other.getClass())) {
6972         return getClass().getName().compareTo(other.getClass().getName());
6973       }
6974 
6975       int lastComparison = 0;
6976       setMasterGoalState_args typedOther = (setMasterGoalState_args)other;
6977 
6978       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
6979       if (lastComparison != 0) {
6980         return lastComparison;
6981       }
6982       if (isSetTinfo()) {
6983         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
6984         if (lastComparison != 0) {
6985           return lastComparison;
6986         }
6987       }
6988       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
6989       if (lastComparison != 0) {
6990         return lastComparison;
6991       }
6992       if (isSetCredential()) {
6993         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
6994         if (lastComparison != 0) {
6995           return lastComparison;
6996         }
6997       }
6998       lastComparison = Boolean.valueOf(isSetState()).compareTo(typedOther.isSetState());
6999       if (lastComparison != 0) {
7000         return lastComparison;
7001       }
7002       if (isSetState()) {
7003         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.state, typedOther.state);
7004         if (lastComparison != 0) {
7005           return lastComparison;
7006         }
7007       }
7008       return 0;
7009     }
7010 
7011     public _Fields fieldForId(int fieldId) {
7012       return _Fields.findByThriftId(fieldId);
7013     }
7014 
7015     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
7016       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
7017     }
7018 
7019     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
7020       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
7021     }
7022 
7023     @Override
7024     public String toString() {
7025       StringBuilder sb = new StringBuilder("setMasterGoalState_args(");
7026       boolean first = true;
7027 
7028       sb.append("tinfo:");
7029       if (this.tinfo == null) {
7030         sb.append("null");
7031       } else {
7032         sb.append(this.tinfo);
7033       }
7034       first = false;
7035       if (!first) sb.append(", ");
7036       sb.append("credential:");
7037       if (this.credential == null) {
7038         sb.append("null");
7039       } else {
7040         sb.append(this.credential);
7041       }
7042       first = false;
7043       if (!first) sb.append(", ");
7044       sb.append("state:");
7045       if (this.state == null) {
7046         sb.append("null");
7047       } else {
7048         sb.append(this.state);
7049       }
7050       first = false;
7051       sb.append(")");
7052       return sb.toString();
7053     }
7054 
7055     public void validate() throws org.apache.thrift.TException {
7056       // check for required fields
7057       // check for sub-struct validity
7058       if (tinfo != null) {
7059         tinfo.validate();
7060       }
7061       if (credential != null) {
7062         credential.validate();
7063       }
7064     }
7065 
7066     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
7067       try {
7068         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
7069       } catch (org.apache.thrift.TException te) {
7070         throw new java.io.IOException(te);
7071       }
7072     }
7073 
7074     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
7075       try {
7076         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
7077       } catch (org.apache.thrift.TException te) {
7078         throw new java.io.IOException(te);
7079       }
7080     }
7081 
7082     private static class setMasterGoalState_argsStandardSchemeFactory implements SchemeFactory {
7083       public setMasterGoalState_argsStandardScheme getScheme() {
7084         return new setMasterGoalState_argsStandardScheme();
7085       }
7086     }
7087 
7088     private static class setMasterGoalState_argsStandardScheme extends StandardScheme<setMasterGoalState_args> {
7089 
7090       public void read(org.apache.thrift.protocol.TProtocol iprot, setMasterGoalState_args struct) throws org.apache.thrift.TException {
7091         org.apache.thrift.protocol.TField schemeField;
7092         iprot.readStructBegin();
7093         while (true)
7094         {
7095           schemeField = iprot.readFieldBegin();
7096           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
7097             break;
7098           }
7099           switch (schemeField.id) {
7100             case 3: // TINFO
7101               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
7102                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
7103                 struct.tinfo.read(iprot);
7104                 struct.setTinfoIsSet(true);
7105               } else { 
7106                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
7107               }
7108               break;
7109             case 1: // CREDENTIAL
7110               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
7111                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
7112                 struct.credential.read(iprot);
7113                 struct.setCredentialIsSet(true);
7114               } else { 
7115                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
7116               }
7117               break;
7118             case 2: // STATE
7119               if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
7120                 struct.state = MasterGoalState.findByValue(iprot.readI32());
7121                 struct.setStateIsSet(true);
7122               } else { 
7123                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
7124               }
7125               break;
7126             default:
7127               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
7128           }
7129           iprot.readFieldEnd();
7130         }
7131         iprot.readStructEnd();
7132 
7133         // check for required fields of primitive type, which can't be checked in the validate method
7134         struct.validate();
7135       }
7136 
7137       public void write(org.apache.thrift.protocol.TProtocol oprot, setMasterGoalState_args struct) throws org.apache.thrift.TException {
7138         struct.validate();
7139 
7140         oprot.writeStructBegin(STRUCT_DESC);
7141         if (struct.credential != null) {
7142           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
7143           struct.credential.write(oprot);
7144           oprot.writeFieldEnd();
7145         }
7146         if (struct.state != null) {
7147           oprot.writeFieldBegin(STATE_FIELD_DESC);
7148           oprot.writeI32(struct.state.getValue());
7149           oprot.writeFieldEnd();
7150         }
7151         if (struct.tinfo != null) {
7152           oprot.writeFieldBegin(TINFO_FIELD_DESC);
7153           struct.tinfo.write(oprot);
7154           oprot.writeFieldEnd();
7155         }
7156         oprot.writeFieldStop();
7157         oprot.writeStructEnd();
7158       }
7159 
7160     }
7161 
7162     private static class setMasterGoalState_argsTupleSchemeFactory implements SchemeFactory {
7163       public setMasterGoalState_argsTupleScheme getScheme() {
7164         return new setMasterGoalState_argsTupleScheme();
7165       }
7166     }
7167 
7168     private static class setMasterGoalState_argsTupleScheme extends TupleScheme<setMasterGoalState_args> {
7169 
7170       @Override
7171       public void write(org.apache.thrift.protocol.TProtocol prot, setMasterGoalState_args struct) throws org.apache.thrift.TException {
7172         TTupleProtocol oprot = (TTupleProtocol) prot;
7173         BitSet optionals = new BitSet();
7174         if (struct.isSetTinfo()) {
7175           optionals.set(0);
7176         }
7177         if (struct.isSetCredential()) {
7178           optionals.set(1);
7179         }
7180         if (struct.isSetState()) {
7181           optionals.set(2);
7182         }
7183         oprot.writeBitSet(optionals, 3);
7184         if (struct.isSetTinfo()) {
7185           struct.tinfo.write(oprot);
7186         }
7187         if (struct.isSetCredential()) {
7188           struct.credential.write(oprot);
7189         }
7190         if (struct.isSetState()) {
7191           oprot.writeI32(struct.state.getValue());
7192         }
7193       }
7194 
7195       @Override
7196       public void read(org.apache.thrift.protocol.TProtocol prot, setMasterGoalState_args struct) throws org.apache.thrift.TException {
7197         TTupleProtocol iprot = (TTupleProtocol) prot;
7198         BitSet incoming = iprot.readBitSet(3);
7199         if (incoming.get(0)) {
7200           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
7201           struct.tinfo.read(iprot);
7202           struct.setTinfoIsSet(true);
7203         }
7204         if (incoming.get(1)) {
7205           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
7206           struct.credential.read(iprot);
7207           struct.setCredentialIsSet(true);
7208         }
7209         if (incoming.get(2)) {
7210           struct.state = MasterGoalState.findByValue(iprot.readI32());
7211           struct.setStateIsSet(true);
7212         }
7213       }
7214     }
7215 
7216   }
7217 
7218   public static class setMasterGoalState_result implements org.apache.thrift.TBase<setMasterGoalState_result, setMasterGoalState_result._Fields>, java.io.Serializable, Cloneable   {
7219     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("setMasterGoalState_result");
7220 
7221     private static final org.apache.thrift.protocol.TField SEC_FIELD_DESC = new org.apache.thrift.protocol.TField("sec", org.apache.thrift.protocol.TType.STRUCT, (short)1);
7222 
7223     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
7224     static {
7225       schemes.put(StandardScheme.class, new setMasterGoalState_resultStandardSchemeFactory());
7226       schemes.put(TupleScheme.class, new setMasterGoalState_resultTupleSchemeFactory());
7227     }
7228 
7229     public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required
7230 
7231     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
7232     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
7233       SEC((short)1, "sec");
7234 
7235       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
7236 
7237       static {
7238         for (_Fields field : EnumSet.allOf(_Fields.class)) {
7239           byName.put(field.getFieldName(), field);
7240         }
7241       }
7242 
7243       /**
7244        * Find the _Fields constant that matches fieldId, or null if its not found.
7245        */
7246       public static _Fields findByThriftId(int fieldId) {
7247         switch(fieldId) {
7248           case 1: // SEC
7249             return SEC;
7250           default:
7251             return null;
7252         }
7253       }
7254 
7255       /**
7256        * Find the _Fields constant that matches fieldId, throwing an exception
7257        * if it is not found.
7258        */
7259       public static _Fields findByThriftIdOrThrow(int fieldId) {
7260         _Fields fields = findByThriftId(fieldId);
7261         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
7262         return fields;
7263       }
7264 
7265       /**
7266        * Find the _Fields constant that matches name, or null if its not found.
7267        */
7268       public static _Fields findByName(String name) {
7269         return byName.get(name);
7270       }
7271 
7272       private final short _thriftId;
7273       private final String _fieldName;
7274 
7275       _Fields(short thriftId, String fieldName) {
7276         _thriftId = thriftId;
7277         _fieldName = fieldName;
7278       }
7279 
7280       public short getThriftFieldId() {
7281         return _thriftId;
7282       }
7283 
7284       public String getFieldName() {
7285         return _fieldName;
7286       }
7287     }
7288 
7289     // isset id assignments
7290     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
7291     static {
7292       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
7293       tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, 
7294           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
7295       metaDataMap = Collections.unmodifiableMap(tmpMap);
7296       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(setMasterGoalState_result.class, metaDataMap);
7297     }
7298 
7299     public setMasterGoalState_result() {
7300     }
7301 
7302     public setMasterGoalState_result(
7303       org.apache.accumulo.core.security.thrift.ThriftSecurityException sec)
7304     {
7305       this();
7306       this.sec = sec;
7307     }
7308 
7309     /**
7310      * Performs a deep copy on <i>other</i>.
7311      */
7312     public setMasterGoalState_result(setMasterGoalState_result other) {
7313       if (other.isSetSec()) {
7314         this.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(other.sec);
7315       }
7316     }
7317 
7318     public setMasterGoalState_result deepCopy() {
7319       return new setMasterGoalState_result(this);
7320     }
7321 
7322     @Override
7323     public void clear() {
7324       this.sec = null;
7325     }
7326 
7327     public org.apache.accumulo.core.security.thrift.ThriftSecurityException getSec() {
7328       return this.sec;
7329     }
7330 
7331     public setMasterGoalState_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
7332       this.sec = sec;
7333       return this;
7334     }
7335 
7336     public void unsetSec() {
7337       this.sec = null;
7338     }
7339 
7340     /** Returns true if field sec is set (has been assigned a value) and false otherwise */
7341     public boolean isSetSec() {
7342       return this.sec != null;
7343     }
7344 
7345     public void setSecIsSet(boolean value) {
7346       if (!value) {
7347         this.sec = null;
7348       }
7349     }
7350 
7351     public void setFieldValue(_Fields field, Object value) {
7352       switch (field) {
7353       case SEC:
7354         if (value == null) {
7355           unsetSec();
7356         } else {
7357           setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value);
7358         }
7359         break;
7360 
7361       }
7362     }
7363 
7364     public Object getFieldValue(_Fields field) {
7365       switch (field) {
7366       case SEC:
7367         return getSec();
7368 
7369       }
7370       throw new IllegalStateException();
7371     }
7372 
7373     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
7374     public boolean isSet(_Fields field) {
7375       if (field == null) {
7376         throw new IllegalArgumentException();
7377       }
7378 
7379       switch (field) {
7380       case SEC:
7381         return isSetSec();
7382       }
7383       throw new IllegalStateException();
7384     }
7385 
7386     @Override
7387     public boolean equals(Object that) {
7388       if (that == null)
7389         return false;
7390       if (that instanceof setMasterGoalState_result)
7391         return this.equals((setMasterGoalState_result)that);
7392       return false;
7393     }
7394 
7395     public boolean equals(setMasterGoalState_result that) {
7396       if (that == null)
7397         return false;
7398 
7399       boolean this_present_sec = true && this.isSetSec();
7400       boolean that_present_sec = true && that.isSetSec();
7401       if (this_present_sec || that_present_sec) {
7402         if (!(this_present_sec && that_present_sec))
7403           return false;
7404         if (!this.sec.equals(that.sec))
7405           return false;
7406       }
7407 
7408       return true;
7409     }
7410 
7411     @Override
7412     public int hashCode() {
7413       return 0;
7414     }
7415 
7416     public int compareTo(setMasterGoalState_result other) {
7417       if (!getClass().equals(other.getClass())) {
7418         return getClass().getName().compareTo(other.getClass().getName());
7419       }
7420 
7421       int lastComparison = 0;
7422       setMasterGoalState_result typedOther = (setMasterGoalState_result)other;
7423 
7424       lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec());
7425       if (lastComparison != 0) {
7426         return lastComparison;
7427       }
7428       if (isSetSec()) {
7429         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec);
7430         if (lastComparison != 0) {
7431           return lastComparison;
7432         }
7433       }
7434       return 0;
7435     }
7436 
7437     public _Fields fieldForId(int fieldId) {
7438       return _Fields.findByThriftId(fieldId);
7439     }
7440 
7441     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
7442       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
7443     }
7444 
7445     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
7446       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
7447       }
7448 
7449     @Override
7450     public String toString() {
7451       StringBuilder sb = new StringBuilder("setMasterGoalState_result(");
7452       boolean first = true;
7453 
7454       sb.append("sec:");
7455       if (this.sec == null) {
7456         sb.append("null");
7457       } else {
7458         sb.append(this.sec);
7459       }
7460       first = false;
7461       sb.append(")");
7462       return sb.toString();
7463     }
7464 
7465     public void validate() throws org.apache.thrift.TException {
7466       // check for required fields
7467       // check for sub-struct validity
7468     }
7469 
7470     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
7471       try {
7472         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
7473       } catch (org.apache.thrift.TException te) {
7474         throw new java.io.IOException(te);
7475       }
7476     }
7477 
7478     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
7479       try {
7480         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
7481       } catch (org.apache.thrift.TException te) {
7482         throw new java.io.IOException(te);
7483       }
7484     }
7485 
7486     private static class setMasterGoalState_resultStandardSchemeFactory implements SchemeFactory {
7487       public setMasterGoalState_resultStandardScheme getScheme() {
7488         return new setMasterGoalState_resultStandardScheme();
7489       }
7490     }
7491 
7492     private static class setMasterGoalState_resultStandardScheme extends StandardScheme<setMasterGoalState_result> {
7493 
7494       public void read(org.apache.thrift.protocol.TProtocol iprot, setMasterGoalState_result struct) throws org.apache.thrift.TException {
7495         org.apache.thrift.protocol.TField schemeField;
7496         iprot.readStructBegin();
7497         while (true)
7498         {
7499           schemeField = iprot.readFieldBegin();
7500           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
7501             break;
7502           }
7503           switch (schemeField.id) {
7504             case 1: // SEC
7505               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
7506                 struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
7507                 struct.sec.read(iprot);
7508                 struct.setSecIsSet(true);
7509               } else { 
7510                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
7511               }
7512               break;
7513             default:
7514               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
7515           }
7516           iprot.readFieldEnd();
7517         }
7518         iprot.readStructEnd();
7519 
7520         // check for required fields of primitive type, which can't be checked in the validate method
7521         struct.validate();
7522       }
7523 
7524       public void write(org.apache.thrift.protocol.TProtocol oprot, setMasterGoalState_result struct) throws org.apache.thrift.TException {
7525         struct.validate();
7526 
7527         oprot.writeStructBegin(STRUCT_DESC);
7528         if (struct.sec != null) {
7529           oprot.writeFieldBegin(SEC_FIELD_DESC);
7530           struct.sec.write(oprot);
7531           oprot.writeFieldEnd();
7532         }
7533         oprot.writeFieldStop();
7534         oprot.writeStructEnd();
7535       }
7536 
7537     }
7538 
7539     private static class setMasterGoalState_resultTupleSchemeFactory implements SchemeFactory {
7540       public setMasterGoalState_resultTupleScheme getScheme() {
7541         return new setMasterGoalState_resultTupleScheme();
7542       }
7543     }
7544 
7545     private static class setMasterGoalState_resultTupleScheme extends TupleScheme<setMasterGoalState_result> {
7546 
7547       @Override
7548       public void write(org.apache.thrift.protocol.TProtocol prot, setMasterGoalState_result struct) throws org.apache.thrift.TException {
7549         TTupleProtocol oprot = (TTupleProtocol) prot;
7550         BitSet optionals = new BitSet();
7551         if (struct.isSetSec()) {
7552           optionals.set(0);
7553         }
7554         oprot.writeBitSet(optionals, 1);
7555         if (struct.isSetSec()) {
7556           struct.sec.write(oprot);
7557         }
7558       }
7559 
7560       @Override
7561       public void read(org.apache.thrift.protocol.TProtocol prot, setMasterGoalState_result struct) throws org.apache.thrift.TException {
7562         TTupleProtocol iprot = (TTupleProtocol) prot;
7563         BitSet incoming = iprot.readBitSet(1);
7564         if (incoming.get(0)) {
7565           struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
7566           struct.sec.read(iprot);
7567           struct.setSecIsSet(true);
7568         }
7569       }
7570     }
7571 
7572   }
7573 
7574   public static class shutdown_args implements org.apache.thrift.TBase<shutdown_args, shutdown_args._Fields>, java.io.Serializable, Cloneable   {
7575     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("shutdown_args");
7576 
7577     private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)3);
7578     private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1);
7579     private static final org.apache.thrift.protocol.TField STOP_TABLET_SERVERS_FIELD_DESC = new org.apache.thrift.protocol.TField("stopTabletServers", org.apache.thrift.protocol.TType.BOOL, (short)2);
7580 
7581     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
7582     static {
7583       schemes.put(StandardScheme.class, new shutdown_argsStandardSchemeFactory());
7584       schemes.put(TupleScheme.class, new shutdown_argsTupleSchemeFactory());
7585     }
7586 
7587     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
7588     public org.apache.accumulo.core.security.thrift.Credential credential; // required
7589     public boolean stopTabletServers; // required
7590 
7591     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
7592     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
7593       TINFO((short)3, "tinfo"),
7594       CREDENTIAL((short)1, "credential"),
7595       STOP_TABLET_SERVERS((short)2, "stopTabletServers");
7596 
7597       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
7598 
7599       static {
7600         for (_Fields field : EnumSet.allOf(_Fields.class)) {
7601           byName.put(field.getFieldName(), field);
7602         }
7603       }
7604 
7605       /**
7606        * Find the _Fields constant that matches fieldId, or null if its not found.
7607        */
7608       public static _Fields findByThriftId(int fieldId) {
7609         switch(fieldId) {
7610           case 3: // TINFO
7611             return TINFO;
7612           case 1: // CREDENTIAL
7613             return CREDENTIAL;
7614           case 2: // STOP_TABLET_SERVERS
7615             return STOP_TABLET_SERVERS;
7616           default:
7617             return null;
7618         }
7619       }
7620 
7621       /**
7622        * Find the _Fields constant that matches fieldId, throwing an exception
7623        * if it is not found.
7624        */
7625       public static _Fields findByThriftIdOrThrow(int fieldId) {
7626         _Fields fields = findByThriftId(fieldId);
7627         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
7628         return fields;
7629       }
7630 
7631       /**
7632        * Find the _Fields constant that matches name, or null if its not found.
7633        */
7634       public static _Fields findByName(String name) {
7635         return byName.get(name);
7636       }
7637 
7638       private final short _thriftId;
7639       private final String _fieldName;
7640 
7641       _Fields(short thriftId, String fieldName) {
7642         _thriftId = thriftId;
7643         _fieldName = fieldName;
7644       }
7645 
7646       public short getThriftFieldId() {
7647         return _thriftId;
7648       }
7649 
7650       public String getFieldName() {
7651         return _fieldName;
7652       }
7653     }
7654 
7655     // isset id assignments
7656     private static final int __STOPTABLETSERVERS_ISSET_ID = 0;
7657     private byte __isset_bitfield = 0;
7658     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
7659     static {
7660       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
7661       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
7662           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
7663       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
7664           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
7665       tmpMap.put(_Fields.STOP_TABLET_SERVERS, new org.apache.thrift.meta_data.FieldMetaData("stopTabletServers", org.apache.thrift.TFieldRequirementType.DEFAULT, 
7666           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
7667       metaDataMap = Collections.unmodifiableMap(tmpMap);
7668       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(shutdown_args.class, metaDataMap);
7669     }
7670 
7671     public shutdown_args() {
7672     }
7673 
7674     public shutdown_args(
7675       org.apache.accumulo.trace.thrift.TInfo tinfo,
7676       org.apache.accumulo.core.security.thrift.Credential credential,
7677       boolean stopTabletServers)
7678     {
7679       this();
7680       this.tinfo = tinfo;
7681       this.credential = credential;
7682       this.stopTabletServers = stopTabletServers;
7683       setStopTabletServersIsSet(true);
7684     }
7685 
7686     /**
7687      * Performs a deep copy on <i>other</i>.
7688      */
7689     public shutdown_args(shutdown_args other) {
7690       __isset_bitfield = other.__isset_bitfield;
7691       if (other.isSetTinfo()) {
7692         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
7693       }
7694       if (other.isSetCredential()) {
7695         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
7696       }
7697       this.stopTabletServers = other.stopTabletServers;
7698     }
7699 
7700     public shutdown_args deepCopy() {
7701       return new shutdown_args(this);
7702     }
7703 
7704     @Override
7705     public void clear() {
7706       this.tinfo = null;
7707       this.credential = null;
7708       setStopTabletServersIsSet(false);
7709       this.stopTabletServers = false;
7710     }
7711 
7712     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
7713       return this.tinfo;
7714     }
7715 
7716     public shutdown_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
7717       this.tinfo = tinfo;
7718       return this;
7719     }
7720 
7721     public void unsetTinfo() {
7722       this.tinfo = null;
7723     }
7724 
7725     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
7726     public boolean isSetTinfo() {
7727       return this.tinfo != null;
7728     }
7729 
7730     public void setTinfoIsSet(boolean value) {
7731       if (!value) {
7732         this.tinfo = null;
7733       }
7734     }
7735 
7736     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
7737       return this.credential;
7738     }
7739 
7740     public shutdown_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
7741       this.credential = credential;
7742       return this;
7743     }
7744 
7745     public void unsetCredential() {
7746       this.credential = null;
7747     }
7748 
7749     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
7750     public boolean isSetCredential() {
7751       return this.credential != null;
7752     }
7753 
7754     public void setCredentialIsSet(boolean value) {
7755       if (!value) {
7756         this.credential = null;
7757       }
7758     }
7759 
7760     public boolean isStopTabletServers() {
7761       return this.stopTabletServers;
7762     }
7763 
7764     public shutdown_args setStopTabletServers(boolean stopTabletServers) {
7765       this.stopTabletServers = stopTabletServers;
7766       setStopTabletServersIsSet(true);
7767       return this;
7768     }
7769 
7770     public void unsetStopTabletServers() {
7771       __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __STOPTABLETSERVERS_ISSET_ID);
7772     }
7773 
7774     /** Returns true if field stopTabletServers is set (has been assigned a value) and false otherwise */
7775     public boolean isSetStopTabletServers() {
7776       return EncodingUtils.testBit(__isset_bitfield, __STOPTABLETSERVERS_ISSET_ID);
7777     }
7778 
7779     public void setStopTabletServersIsSet(boolean value) {
7780       __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __STOPTABLETSERVERS_ISSET_ID, value);
7781     }
7782 
7783     public void setFieldValue(_Fields field, Object value) {
7784       switch (field) {
7785       case TINFO:
7786         if (value == null) {
7787           unsetTinfo();
7788         } else {
7789           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
7790         }
7791         break;
7792 
7793       case CREDENTIAL:
7794         if (value == null) {
7795           unsetCredential();
7796         } else {
7797           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
7798         }
7799         break;
7800 
7801       case STOP_TABLET_SERVERS:
7802         if (value == null) {
7803           unsetStopTabletServers();
7804         } else {
7805           setStopTabletServers((Boolean)value);
7806         }
7807         break;
7808 
7809       }
7810     }
7811 
7812     public Object getFieldValue(_Fields field) {
7813       switch (field) {
7814       case TINFO:
7815         return getTinfo();
7816 
7817       case CREDENTIAL:
7818         return getCredential();
7819 
7820       case STOP_TABLET_SERVERS:
7821         return Boolean.valueOf(isStopTabletServers());
7822 
7823       }
7824       throw new IllegalStateException();
7825     }
7826 
7827     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
7828     public boolean isSet(_Fields field) {
7829       if (field == null) {
7830         throw new IllegalArgumentException();
7831       }
7832 
7833       switch (field) {
7834       case TINFO:
7835         return isSetTinfo();
7836       case CREDENTIAL:
7837         return isSetCredential();
7838       case STOP_TABLET_SERVERS:
7839         return isSetStopTabletServers();
7840       }
7841       throw new IllegalStateException();
7842     }
7843 
7844     @Override
7845     public boolean equals(Object that) {
7846       if (that == null)
7847         return false;
7848       if (that instanceof shutdown_args)
7849         return this.equals((shutdown_args)that);
7850       return false;
7851     }
7852 
7853     public boolean equals(shutdown_args that) {
7854       if (that == null)
7855         return false;
7856 
7857       boolean this_present_tinfo = true && this.isSetTinfo();
7858       boolean that_present_tinfo = true && that.isSetTinfo();
7859       if (this_present_tinfo || that_present_tinfo) {
7860         if (!(this_present_tinfo && that_present_tinfo))
7861           return false;
7862         if (!this.tinfo.equals(that.tinfo))
7863           return false;
7864       }
7865 
7866       boolean this_present_credential = true && this.isSetCredential();
7867       boolean that_present_credential = true && that.isSetCredential();
7868       if (this_present_credential || that_present_credential) {
7869         if (!(this_present_credential && that_present_credential))
7870           return false;
7871         if (!this.credential.equals(that.credential))
7872           return false;
7873       }
7874 
7875       boolean this_present_stopTabletServers = true;
7876       boolean that_present_stopTabletServers = true;
7877       if (this_present_stopTabletServers || that_present_stopTabletServers) {
7878         if (!(this_present_stopTabletServers && that_present_stopTabletServers))
7879           return false;
7880         if (this.stopTabletServers != that.stopTabletServers)
7881           return false;
7882       }
7883 
7884       return true;
7885     }
7886 
7887     @Override
7888     public int hashCode() {
7889       return 0;
7890     }
7891 
7892     public int compareTo(shutdown_args other) {
7893       if (!getClass().equals(other.getClass())) {
7894         return getClass().getName().compareTo(other.getClass().getName());
7895       }
7896 
7897       int lastComparison = 0;
7898       shutdown_args typedOther = (shutdown_args)other;
7899 
7900       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
7901       if (lastComparison != 0) {
7902         return lastComparison;
7903       }
7904       if (isSetTinfo()) {
7905         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
7906         if (lastComparison != 0) {
7907           return lastComparison;
7908         }
7909       }
7910       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
7911       if (lastComparison != 0) {
7912         return lastComparison;
7913       }
7914       if (isSetCredential()) {
7915         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
7916         if (lastComparison != 0) {
7917           return lastComparison;
7918         }
7919       }
7920       lastComparison = Boolean.valueOf(isSetStopTabletServers()).compareTo(typedOther.isSetStopTabletServers());
7921       if (lastComparison != 0) {
7922         return lastComparison;
7923       }
7924       if (isSetStopTabletServers()) {
7925         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.stopTabletServers, typedOther.stopTabletServers);
7926         if (lastComparison != 0) {
7927           return lastComparison;
7928         }
7929       }
7930       return 0;
7931     }
7932 
7933     public _Fields fieldForId(int fieldId) {
7934       return _Fields.findByThriftId(fieldId);
7935     }
7936 
7937     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
7938       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
7939     }
7940 
7941     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
7942       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
7943     }
7944 
7945     @Override
7946     public String toString() {
7947       StringBuilder sb = new StringBuilder("shutdown_args(");
7948       boolean first = true;
7949 
7950       sb.append("tinfo:");
7951       if (this.tinfo == null) {
7952         sb.append("null");
7953       } else {
7954         sb.append(this.tinfo);
7955       }
7956       first = false;
7957       if (!first) sb.append(", ");
7958       sb.append("credential:");
7959       if (this.credential == null) {
7960         sb.append("null");
7961       } else {
7962         sb.append(this.credential);
7963       }
7964       first = false;
7965       if (!first) sb.append(", ");
7966       sb.append("stopTabletServers:");
7967       sb.append(this.stopTabletServers);
7968       first = false;
7969       sb.append(")");
7970       return sb.toString();
7971     }
7972 
7973     public void validate() throws org.apache.thrift.TException {
7974       // check for required fields
7975       // check for sub-struct validity
7976       if (tinfo != null) {
7977         tinfo.validate();
7978       }
7979       if (credential != null) {
7980         credential.validate();
7981       }
7982     }
7983 
7984     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
7985       try {
7986         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
7987       } catch (org.apache.thrift.TException te) {
7988         throw new java.io.IOException(te);
7989       }
7990     }
7991 
7992     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
7993       try {
7994         // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
7995         __isset_bitfield = 0;
7996         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
7997       } catch (org.apache.thrift.TException te) {
7998         throw new java.io.IOException(te);
7999       }
8000     }
8001 
8002     private static class shutdown_argsStandardSchemeFactory implements SchemeFactory {
8003       public shutdown_argsStandardScheme getScheme() {
8004         return new shutdown_argsStandardScheme();
8005       }
8006     }
8007 
8008     private static class shutdown_argsStandardScheme extends StandardScheme<shutdown_args> {
8009 
8010       public void read(org.apache.thrift.protocol.TProtocol iprot, shutdown_args struct) throws org.apache.thrift.TException {
8011         org.apache.thrift.protocol.TField schemeField;
8012         iprot.readStructBegin();
8013         while (true)
8014         {
8015           schemeField = iprot.readFieldBegin();
8016           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
8017             break;
8018           }
8019           switch (schemeField.id) {
8020             case 3: // TINFO
8021               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
8022                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
8023                 struct.tinfo.read(iprot);
8024                 struct.setTinfoIsSet(true);
8025               } else { 
8026                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
8027               }
8028               break;
8029             case 1: // CREDENTIAL
8030               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
8031                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
8032                 struct.credential.read(iprot);
8033                 struct.setCredentialIsSet(true);
8034               } else { 
8035                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
8036               }
8037               break;
8038             case 2: // STOP_TABLET_SERVERS
8039               if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
8040                 struct.stopTabletServers = iprot.readBool();
8041                 struct.setStopTabletServersIsSet(true);
8042               } else { 
8043                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
8044               }
8045               break;
8046             default:
8047               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
8048           }
8049           iprot.readFieldEnd();
8050         }
8051         iprot.readStructEnd();
8052 
8053         // check for required fields of primitive type, which can't be checked in the validate method
8054         struct.validate();
8055       }
8056 
8057       public void write(org.apache.thrift.protocol.TProtocol oprot, shutdown_args struct) throws org.apache.thrift.TException {
8058         struct.validate();
8059 
8060         oprot.writeStructBegin(STRUCT_DESC);
8061         if (struct.credential != null) {
8062           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
8063           struct.credential.write(oprot);
8064           oprot.writeFieldEnd();
8065         }
8066         oprot.writeFieldBegin(STOP_TABLET_SERVERS_FIELD_DESC);
8067         oprot.writeBool(struct.stopTabletServers);
8068         oprot.writeFieldEnd();
8069         if (struct.tinfo != null) {
8070           oprot.writeFieldBegin(TINFO_FIELD_DESC);
8071           struct.tinfo.write(oprot);
8072           oprot.writeFieldEnd();
8073         }
8074         oprot.writeFieldStop();
8075         oprot.writeStructEnd();
8076       }
8077 
8078     }
8079 
8080     private static class shutdown_argsTupleSchemeFactory implements SchemeFactory {
8081       public shutdown_argsTupleScheme getScheme() {
8082         return new shutdown_argsTupleScheme();
8083       }
8084     }
8085 
8086     private static class shutdown_argsTupleScheme extends TupleScheme<shutdown_args> {
8087 
8088       @Override
8089       public void write(org.apache.thrift.protocol.TProtocol prot, shutdown_args struct) throws org.apache.thrift.TException {
8090         TTupleProtocol oprot = (TTupleProtocol) prot;
8091         BitSet optionals = new BitSet();
8092         if (struct.isSetTinfo()) {
8093           optionals.set(0);
8094         }
8095         if (struct.isSetCredential()) {
8096           optionals.set(1);
8097         }
8098         if (struct.isSetStopTabletServers()) {
8099           optionals.set(2);
8100         }
8101         oprot.writeBitSet(optionals, 3);
8102         if (struct.isSetTinfo()) {
8103           struct.tinfo.write(oprot);
8104         }
8105         if (struct.isSetCredential()) {
8106           struct.credential.write(oprot);
8107         }
8108         if (struct.isSetStopTabletServers()) {
8109           oprot.writeBool(struct.stopTabletServers);
8110         }
8111       }
8112 
8113       @Override
8114       public void read(org.apache.thrift.protocol.TProtocol prot, shutdown_args struct) throws org.apache.thrift.TException {
8115         TTupleProtocol iprot = (TTupleProtocol) prot;
8116         BitSet incoming = iprot.readBitSet(3);
8117         if (incoming.get(0)) {
8118           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
8119           struct.tinfo.read(iprot);
8120           struct.setTinfoIsSet(true);
8121         }
8122         if (incoming.get(1)) {
8123           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
8124           struct.credential.read(iprot);
8125           struct.setCredentialIsSet(true);
8126         }
8127         if (incoming.get(2)) {
8128           struct.stopTabletServers = iprot.readBool();
8129           struct.setStopTabletServersIsSet(true);
8130         }
8131       }
8132     }
8133 
8134   }
8135 
8136   public static class shutdown_result implements org.apache.thrift.TBase<shutdown_result, shutdown_result._Fields>, java.io.Serializable, Cloneable   {
8137     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("shutdown_result");
8138 
8139     private static final org.apache.thrift.protocol.TField SEC_FIELD_DESC = new org.apache.thrift.protocol.TField("sec", org.apache.thrift.protocol.TType.STRUCT, (short)1);
8140 
8141     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
8142     static {
8143       schemes.put(StandardScheme.class, new shutdown_resultStandardSchemeFactory());
8144       schemes.put(TupleScheme.class, new shutdown_resultTupleSchemeFactory());
8145     }
8146 
8147     public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required
8148 
8149     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
8150     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
8151       SEC((short)1, "sec");
8152 
8153       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
8154 
8155       static {
8156         for (_Fields field : EnumSet.allOf(_Fields.class)) {
8157           byName.put(field.getFieldName(), field);
8158         }
8159       }
8160 
8161       /**
8162        * Find the _Fields constant that matches fieldId, or null if its not found.
8163        */
8164       public static _Fields findByThriftId(int fieldId) {
8165         switch(fieldId) {
8166           case 1: // SEC
8167             return SEC;
8168           default:
8169             return null;
8170         }
8171       }
8172 
8173       /**
8174        * Find the _Fields constant that matches fieldId, throwing an exception
8175        * if it is not found.
8176        */
8177       public static _Fields findByThriftIdOrThrow(int fieldId) {
8178         _Fields fields = findByThriftId(fieldId);
8179         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
8180         return fields;
8181       }
8182 
8183       /**
8184        * Find the _Fields constant that matches name, or null if its not found.
8185        */
8186       public static _Fields findByName(String name) {
8187         return byName.get(name);
8188       }
8189 
8190       private final short _thriftId;
8191       private final String _fieldName;
8192 
8193       _Fields(short thriftId, String fieldName) {
8194         _thriftId = thriftId;
8195         _fieldName = fieldName;
8196       }
8197 
8198       public short getThriftFieldId() {
8199         return _thriftId;
8200       }
8201 
8202       public String getFieldName() {
8203         return _fieldName;
8204       }
8205     }
8206 
8207     // isset id assignments
8208     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
8209     static {
8210       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
8211       tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, 
8212           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
8213       metaDataMap = Collections.unmodifiableMap(tmpMap);
8214       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(shutdown_result.class, metaDataMap);
8215     }
8216 
8217     public shutdown_result() {
8218     }
8219 
8220     public shutdown_result(
8221       org.apache.accumulo.core.security.thrift.ThriftSecurityException sec)
8222     {
8223       this();
8224       this.sec = sec;
8225     }
8226 
8227     /**
8228      * Performs a deep copy on <i>other</i>.
8229      */
8230     public shutdown_result(shutdown_result other) {
8231       if (other.isSetSec()) {
8232         this.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(other.sec);
8233       }
8234     }
8235 
8236     public shutdown_result deepCopy() {
8237       return new shutdown_result(this);
8238     }
8239 
8240     @Override
8241     public void clear() {
8242       this.sec = null;
8243     }
8244 
8245     public org.apache.accumulo.core.security.thrift.ThriftSecurityException getSec() {
8246       return this.sec;
8247     }
8248 
8249     public shutdown_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
8250       this.sec = sec;
8251       return this;
8252     }
8253 
8254     public void unsetSec() {
8255       this.sec = null;
8256     }
8257 
8258     /** Returns true if field sec is set (has been assigned a value) and false otherwise */
8259     public boolean isSetSec() {
8260       return this.sec != null;
8261     }
8262 
8263     public void setSecIsSet(boolean value) {
8264       if (!value) {
8265         this.sec = null;
8266       }
8267     }
8268 
8269     public void setFieldValue(_Fields field, Object value) {
8270       switch (field) {
8271       case SEC:
8272         if (value == null) {
8273           unsetSec();
8274         } else {
8275           setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value);
8276         }
8277         break;
8278 
8279       }
8280     }
8281 
8282     public Object getFieldValue(_Fields field) {
8283       switch (field) {
8284       case SEC:
8285         return getSec();
8286 
8287       }
8288       throw new IllegalStateException();
8289     }
8290 
8291     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
8292     public boolean isSet(_Fields field) {
8293       if (field == null) {
8294         throw new IllegalArgumentException();
8295       }
8296 
8297       switch (field) {
8298       case SEC:
8299         return isSetSec();
8300       }
8301       throw new IllegalStateException();
8302     }
8303 
8304     @Override
8305     public boolean equals(Object that) {
8306       if (that == null)
8307         return false;
8308       if (that instanceof shutdown_result)
8309         return this.equals((shutdown_result)that);
8310       return false;
8311     }
8312 
8313     public boolean equals(shutdown_result that) {
8314       if (that == null)
8315         return false;
8316 
8317       boolean this_present_sec = true && this.isSetSec();
8318       boolean that_present_sec = true && that.isSetSec();
8319       if (this_present_sec || that_present_sec) {
8320         if (!(this_present_sec && that_present_sec))
8321           return false;
8322         if (!this.sec.equals(that.sec))
8323           return false;
8324       }
8325 
8326       return true;
8327     }
8328 
8329     @Override
8330     public int hashCode() {
8331       return 0;
8332     }
8333 
8334     public int compareTo(shutdown_result other) {
8335       if (!getClass().equals(other.getClass())) {
8336         return getClass().getName().compareTo(other.getClass().getName());
8337       }
8338 
8339       int lastComparison = 0;
8340       shutdown_result typedOther = (shutdown_result)other;
8341 
8342       lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec());
8343       if (lastComparison != 0) {
8344         return lastComparison;
8345       }
8346       if (isSetSec()) {
8347         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec);
8348         if (lastComparison != 0) {
8349           return lastComparison;
8350         }
8351       }
8352       return 0;
8353     }
8354 
8355     public _Fields fieldForId(int fieldId) {
8356       return _Fields.findByThriftId(fieldId);
8357     }
8358 
8359     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
8360       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
8361     }
8362 
8363     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
8364       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
8365       }
8366 
8367     @Override
8368     public String toString() {
8369       StringBuilder sb = new StringBuilder("shutdown_result(");
8370       boolean first = true;
8371 
8372       sb.append("sec:");
8373       if (this.sec == null) {
8374         sb.append("null");
8375       } else {
8376         sb.append(this.sec);
8377       }
8378       first = false;
8379       sb.append(")");
8380       return sb.toString();
8381     }
8382 
8383     public void validate() throws org.apache.thrift.TException {
8384       // check for required fields
8385       // check for sub-struct validity
8386     }
8387 
8388     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
8389       try {
8390         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
8391       } catch (org.apache.thrift.TException te) {
8392         throw new java.io.IOException(te);
8393       }
8394     }
8395 
8396     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
8397       try {
8398         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
8399       } catch (org.apache.thrift.TException te) {
8400         throw new java.io.IOException(te);
8401       }
8402     }
8403 
8404     private static class shutdown_resultStandardSchemeFactory implements SchemeFactory {
8405       public shutdown_resultStandardScheme getScheme() {
8406         return new shutdown_resultStandardScheme();
8407       }
8408     }
8409 
8410     private static class shutdown_resultStandardScheme extends StandardScheme<shutdown_result> {
8411 
8412       public void read(org.apache.thrift.protocol.TProtocol iprot, shutdown_result struct) throws org.apache.thrift.TException {
8413         org.apache.thrift.protocol.TField schemeField;
8414         iprot.readStructBegin();
8415         while (true)
8416         {
8417           schemeField = iprot.readFieldBegin();
8418           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
8419             break;
8420           }
8421           switch (schemeField.id) {
8422             case 1: // SEC
8423               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
8424                 struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
8425                 struct.sec.read(iprot);
8426                 struct.setSecIsSet(true);
8427               } else { 
8428                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
8429               }
8430               break;
8431             default:
8432               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
8433           }
8434           iprot.readFieldEnd();
8435         }
8436         iprot.readStructEnd();
8437 
8438         // check for required fields of primitive type, which can't be checked in the validate method
8439         struct.validate();
8440       }
8441 
8442       public void write(org.apache.thrift.protocol.TProtocol oprot, shutdown_result struct) throws org.apache.thrift.TException {
8443         struct.validate();
8444 
8445         oprot.writeStructBegin(STRUCT_DESC);
8446         if (struct.sec != null) {
8447           oprot.writeFieldBegin(SEC_FIELD_DESC);
8448           struct.sec.write(oprot);
8449           oprot.writeFieldEnd();
8450         }
8451         oprot.writeFieldStop();
8452         oprot.writeStructEnd();
8453       }
8454 
8455     }
8456 
8457     private static class shutdown_resultTupleSchemeFactory implements SchemeFactory {
8458       public shutdown_resultTupleScheme getScheme() {
8459         return new shutdown_resultTupleScheme();
8460       }
8461     }
8462 
8463     private static class shutdown_resultTupleScheme extends TupleScheme<shutdown_result> {
8464 
8465       @Override
8466       public void write(org.apache.thrift.protocol.TProtocol prot, shutdown_result struct) throws org.apache.thrift.TException {
8467         TTupleProtocol oprot = (TTupleProtocol) prot;
8468         BitSet optionals = new BitSet();
8469         if (struct.isSetSec()) {
8470           optionals.set(0);
8471         }
8472         oprot.writeBitSet(optionals, 1);
8473         if (struct.isSetSec()) {
8474           struct.sec.write(oprot);
8475         }
8476       }
8477 
8478       @Override
8479       public void read(org.apache.thrift.protocol.TProtocol prot, shutdown_result struct) throws org.apache.thrift.TException {
8480         TTupleProtocol iprot = (TTupleProtocol) prot;
8481         BitSet incoming = iprot.readBitSet(1);
8482         if (incoming.get(0)) {
8483           struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
8484           struct.sec.read(iprot);
8485           struct.setSecIsSet(true);
8486         }
8487       }
8488     }
8489 
8490   }
8491 
8492   public static class shutdownTabletServer_args implements org.apache.thrift.TBase<shutdownTabletServer_args, shutdownTabletServer_args._Fields>, java.io.Serializable, Cloneable   {
8493     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("shutdownTabletServer_args");
8494 
8495     private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)3);
8496     private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1);
8497     private static final org.apache.thrift.protocol.TField TABLET_SERVER_FIELD_DESC = new org.apache.thrift.protocol.TField("tabletServer", org.apache.thrift.protocol.TType.STRING, (short)2);
8498     private static final org.apache.thrift.protocol.TField FORCE_FIELD_DESC = new org.apache.thrift.protocol.TField("force", org.apache.thrift.protocol.TType.BOOL, (short)4);
8499 
8500     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
8501     static {
8502       schemes.put(StandardScheme.class, new shutdownTabletServer_argsStandardSchemeFactory());
8503       schemes.put(TupleScheme.class, new shutdownTabletServer_argsTupleSchemeFactory());
8504     }
8505 
8506     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
8507     public org.apache.accumulo.core.security.thrift.Credential credential; // required
8508     public String tabletServer; // required
8509     public boolean force; // required
8510 
8511     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
8512     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
8513       TINFO((short)3, "tinfo"),
8514       CREDENTIAL((short)1, "credential"),
8515       TABLET_SERVER((short)2, "tabletServer"),
8516       FORCE((short)4, "force");
8517 
8518       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
8519 
8520       static {
8521         for (_Fields field : EnumSet.allOf(_Fields.class)) {
8522           byName.put(field.getFieldName(), field);
8523         }
8524       }
8525 
8526       /**
8527        * Find the _Fields constant that matches fieldId, or null if its not found.
8528        */
8529       public static _Fields findByThriftId(int fieldId) {
8530         switch(fieldId) {
8531           case 3: // TINFO
8532             return TINFO;
8533           case 1: // CREDENTIAL
8534             return CREDENTIAL;
8535           case 2: // TABLET_SERVER
8536             return TABLET_SERVER;
8537           case 4: // FORCE
8538             return FORCE;
8539           default:
8540             return null;
8541         }
8542       }
8543 
8544       /**
8545        * Find the _Fields constant that matches fieldId, throwing an exception
8546        * if it is not found.
8547        */
8548       public static _Fields findByThriftIdOrThrow(int fieldId) {
8549         _Fields fields = findByThriftId(fieldId);
8550         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
8551         return fields;
8552       }
8553 
8554       /**
8555        * Find the _Fields constant that matches name, or null if its not found.
8556        */
8557       public static _Fields findByName(String name) {
8558         return byName.get(name);
8559       }
8560 
8561       private final short _thriftId;
8562       private final String _fieldName;
8563 
8564       _Fields(short thriftId, String fieldName) {
8565         _thriftId = thriftId;
8566         _fieldName = fieldName;
8567       }
8568 
8569       public short getThriftFieldId() {
8570         return _thriftId;
8571       }
8572 
8573       public String getFieldName() {
8574         return _fieldName;
8575       }
8576     }
8577 
8578     // isset id assignments
8579     private static final int __FORCE_ISSET_ID = 0;
8580     private byte __isset_bitfield = 0;
8581     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
8582     static {
8583       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
8584       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
8585           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
8586       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
8587           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
8588       tmpMap.put(_Fields.TABLET_SERVER, new org.apache.thrift.meta_data.FieldMetaData("tabletServer", org.apache.thrift.TFieldRequirementType.DEFAULT, 
8589           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
8590       tmpMap.put(_Fields.FORCE, new org.apache.thrift.meta_data.FieldMetaData("force", org.apache.thrift.TFieldRequirementType.DEFAULT, 
8591           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
8592       metaDataMap = Collections.unmodifiableMap(tmpMap);
8593       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(shutdownTabletServer_args.class, metaDataMap);
8594     }
8595 
8596     public shutdownTabletServer_args() {
8597     }
8598 
8599     public shutdownTabletServer_args(
8600       org.apache.accumulo.trace.thrift.TInfo tinfo,
8601       org.apache.accumulo.core.security.thrift.Credential credential,
8602       String tabletServer,
8603       boolean force)
8604     {
8605       this();
8606       this.tinfo = tinfo;
8607       this.credential = credential;
8608       this.tabletServer = tabletServer;
8609       this.force = force;
8610       setForceIsSet(true);
8611     }
8612 
8613     /**
8614      * Performs a deep copy on <i>other</i>.
8615      */
8616     public shutdownTabletServer_args(shutdownTabletServer_args other) {
8617       __isset_bitfield = other.__isset_bitfield;
8618       if (other.isSetTinfo()) {
8619         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
8620       }
8621       if (other.isSetCredential()) {
8622         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
8623       }
8624       if (other.isSetTabletServer()) {
8625         this.tabletServer = other.tabletServer;
8626       }
8627       this.force = other.force;
8628     }
8629 
8630     public shutdownTabletServer_args deepCopy() {
8631       return new shutdownTabletServer_args(this);
8632     }
8633 
8634     @Override
8635     public void clear() {
8636       this.tinfo = null;
8637       this.credential = null;
8638       this.tabletServer = null;
8639       setForceIsSet(false);
8640       this.force = false;
8641     }
8642 
8643     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
8644       return this.tinfo;
8645     }
8646 
8647     public shutdownTabletServer_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
8648       this.tinfo = tinfo;
8649       return this;
8650     }
8651 
8652     public void unsetTinfo() {
8653       this.tinfo = null;
8654     }
8655 
8656     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
8657     public boolean isSetTinfo() {
8658       return this.tinfo != null;
8659     }
8660 
8661     public void setTinfoIsSet(boolean value) {
8662       if (!value) {
8663         this.tinfo = null;
8664       }
8665     }
8666 
8667     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
8668       return this.credential;
8669     }
8670 
8671     public shutdownTabletServer_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
8672       this.credential = credential;
8673       return this;
8674     }
8675 
8676     public void unsetCredential() {
8677       this.credential = null;
8678     }
8679 
8680     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
8681     public boolean isSetCredential() {
8682       return this.credential != null;
8683     }
8684 
8685     public void setCredentialIsSet(boolean value) {
8686       if (!value) {
8687         this.credential = null;
8688       }
8689     }
8690 
8691     public String getTabletServer() {
8692       return this.tabletServer;
8693     }
8694 
8695     public shutdownTabletServer_args setTabletServer(String tabletServer) {
8696       this.tabletServer = tabletServer;
8697       return this;
8698     }
8699 
8700     public void unsetTabletServer() {
8701       this.tabletServer = null;
8702     }
8703 
8704     /** Returns true if field tabletServer is set (has been assigned a value) and false otherwise */
8705     public boolean isSetTabletServer() {
8706       return this.tabletServer != null;
8707     }
8708 
8709     public void setTabletServerIsSet(boolean value) {
8710       if (!value) {
8711         this.tabletServer = null;
8712       }
8713     }
8714 
8715     public boolean isForce() {
8716       return this.force;
8717     }
8718 
8719     public shutdownTabletServer_args setForce(boolean force) {
8720       this.force = force;
8721       setForceIsSet(true);
8722       return this;
8723     }
8724 
8725     public void unsetForce() {
8726       __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __FORCE_ISSET_ID);
8727     }
8728 
8729     /** Returns true if field force is set (has been assigned a value) and false otherwise */
8730     public boolean isSetForce() {
8731       return EncodingUtils.testBit(__isset_bitfield, __FORCE_ISSET_ID);
8732     }
8733 
8734     public void setForceIsSet(boolean value) {
8735       __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __FORCE_ISSET_ID, value);
8736     }
8737 
8738     public void setFieldValue(_Fields field, Object value) {
8739       switch (field) {
8740       case TINFO:
8741         if (value == null) {
8742           unsetTinfo();
8743         } else {
8744           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
8745         }
8746         break;
8747 
8748       case CREDENTIAL:
8749         if (value == null) {
8750           unsetCredential();
8751         } else {
8752           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
8753         }
8754         break;
8755 
8756       case TABLET_SERVER:
8757         if (value == null) {
8758           unsetTabletServer();
8759         } else {
8760           setTabletServer((String)value);
8761         }
8762         break;
8763 
8764       case FORCE:
8765         if (value == null) {
8766           unsetForce();
8767         } else {
8768           setForce((Boolean)value);
8769         }
8770         break;
8771 
8772       }
8773     }
8774 
8775     public Object getFieldValue(_Fields field) {
8776       switch (field) {
8777       case TINFO:
8778         return getTinfo();
8779 
8780       case CREDENTIAL:
8781         return getCredential();
8782 
8783       case TABLET_SERVER:
8784         return getTabletServer();
8785 
8786       case FORCE:
8787         return Boolean.valueOf(isForce());
8788 
8789       }
8790       throw new IllegalStateException();
8791     }
8792 
8793     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
8794     public boolean isSet(_Fields field) {
8795       if (field == null) {
8796         throw new IllegalArgumentException();
8797       }
8798 
8799       switch (field) {
8800       case TINFO:
8801         return isSetTinfo();
8802       case CREDENTIAL:
8803         return isSetCredential();
8804       case TABLET_SERVER:
8805         return isSetTabletServer();
8806       case FORCE:
8807         return isSetForce();
8808       }
8809       throw new IllegalStateException();
8810     }
8811 
8812     @Override
8813     public boolean equals(Object that) {
8814       if (that == null)
8815         return false;
8816       if (that instanceof shutdownTabletServer_args)
8817         return this.equals((shutdownTabletServer_args)that);
8818       return false;
8819     }
8820 
8821     public boolean equals(shutdownTabletServer_args that) {
8822       if (that == null)
8823         return false;
8824 
8825       boolean this_present_tinfo = true && this.isSetTinfo();
8826       boolean that_present_tinfo = true && that.isSetTinfo();
8827       if (this_present_tinfo || that_present_tinfo) {
8828         if (!(this_present_tinfo && that_present_tinfo))
8829           return false;
8830         if (!this.tinfo.equals(that.tinfo))
8831           return false;
8832       }
8833 
8834       boolean this_present_credential = true && this.isSetCredential();
8835       boolean that_present_credential = true && that.isSetCredential();
8836       if (this_present_credential || that_present_credential) {
8837         if (!(this_present_credential && that_present_credential))
8838           return false;
8839         if (!this.credential.equals(that.credential))
8840           return false;
8841       }
8842 
8843       boolean this_present_tabletServer = true && this.isSetTabletServer();
8844       boolean that_present_tabletServer = true && that.isSetTabletServer();
8845       if (this_present_tabletServer || that_present_tabletServer) {
8846         if (!(this_present_tabletServer && that_present_tabletServer))
8847           return false;
8848         if (!this.tabletServer.equals(that.tabletServer))
8849           return false;
8850       }
8851 
8852       boolean this_present_force = true;
8853       boolean that_present_force = true;
8854       if (this_present_force || that_present_force) {
8855         if (!(this_present_force && that_present_force))
8856           return false;
8857         if (this.force != that.force)
8858           return false;
8859       }
8860 
8861       return true;
8862     }
8863 
8864     @Override
8865     public int hashCode() {
8866       return 0;
8867     }
8868 
8869     public int compareTo(shutdownTabletServer_args other) {
8870       if (!getClass().equals(other.getClass())) {
8871         return getClass().getName().compareTo(other.getClass().getName());
8872       }
8873 
8874       int lastComparison = 0;
8875       shutdownTabletServer_args typedOther = (shutdownTabletServer_args)other;
8876 
8877       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
8878       if (lastComparison != 0) {
8879         return lastComparison;
8880       }
8881       if (isSetTinfo()) {
8882         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
8883         if (lastComparison != 0) {
8884           return lastComparison;
8885         }
8886       }
8887       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
8888       if (lastComparison != 0) {
8889         return lastComparison;
8890       }
8891       if (isSetCredential()) {
8892         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
8893         if (lastComparison != 0) {
8894           return lastComparison;
8895         }
8896       }
8897       lastComparison = Boolean.valueOf(isSetTabletServer()).compareTo(typedOther.isSetTabletServer());
8898       if (lastComparison != 0) {
8899         return lastComparison;
8900       }
8901       if (isSetTabletServer()) {
8902         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tabletServer, typedOther.tabletServer);
8903         if (lastComparison != 0) {
8904           return lastComparison;
8905         }
8906       }
8907       lastComparison = Boolean.valueOf(isSetForce()).compareTo(typedOther.isSetForce());
8908       if (lastComparison != 0) {
8909         return lastComparison;
8910       }
8911       if (isSetForce()) {
8912         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.force, typedOther.force);
8913         if (lastComparison != 0) {
8914           return lastComparison;
8915         }
8916       }
8917       return 0;
8918     }
8919 
8920     public _Fields fieldForId(int fieldId) {
8921       return _Fields.findByThriftId(fieldId);
8922     }
8923 
8924     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
8925       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
8926     }
8927 
8928     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
8929       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
8930     }
8931 
8932     @Override
8933     public String toString() {
8934       StringBuilder sb = new StringBuilder("shutdownTabletServer_args(");
8935       boolean first = true;
8936 
8937       sb.append("tinfo:");
8938       if (this.tinfo == null) {
8939         sb.append("null");
8940       } else {
8941         sb.append(this.tinfo);
8942       }
8943       first = false;
8944       if (!first) sb.append(", ");
8945       sb.append("credential:");
8946       if (this.credential == null) {
8947         sb.append("null");
8948       } else {
8949         sb.append(this.credential);
8950       }
8951       first = false;
8952       if (!first) sb.append(", ");
8953       sb.append("tabletServer:");
8954       if (this.tabletServer == null) {
8955         sb.append("null");
8956       } else {
8957         sb.append(this.tabletServer);
8958       }
8959       first = false;
8960       if (!first) sb.append(", ");
8961       sb.append("force:");
8962       sb.append(this.force);
8963       first = false;
8964       sb.append(")");
8965       return sb.toString();
8966     }
8967 
8968     public void validate() throws org.apache.thrift.TException {
8969       // check for required fields
8970       // check for sub-struct validity
8971       if (tinfo != null) {
8972         tinfo.validate();
8973       }
8974       if (credential != null) {
8975         credential.validate();
8976       }
8977     }
8978 
8979     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
8980       try {
8981         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
8982       } catch (org.apache.thrift.TException te) {
8983         throw new java.io.IOException(te);
8984       }
8985     }
8986 
8987     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
8988       try {
8989         // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
8990         __isset_bitfield = 0;
8991         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
8992       } catch (org.apache.thrift.TException te) {
8993         throw new java.io.IOException(te);
8994       }
8995     }
8996 
8997     private static class shutdownTabletServer_argsStandardSchemeFactory implements SchemeFactory {
8998       public shutdownTabletServer_argsStandardScheme getScheme() {
8999         return new shutdownTabletServer_argsStandardScheme();
9000       }
9001     }
9002 
9003     private static class shutdownTabletServer_argsStandardScheme extends StandardScheme<shutdownTabletServer_args> {
9004 
9005       public void read(org.apache.thrift.protocol.TProtocol iprot, shutdownTabletServer_args struct) throws org.apache.thrift.TException {
9006         org.apache.thrift.protocol.TField schemeField;
9007         iprot.readStructBegin();
9008         while (true)
9009         {
9010           schemeField = iprot.readFieldBegin();
9011           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
9012             break;
9013           }
9014           switch (schemeField.id) {
9015             case 3: // TINFO
9016               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
9017                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
9018                 struct.tinfo.read(iprot);
9019                 struct.setTinfoIsSet(true);
9020               } else { 
9021                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
9022               }
9023               break;
9024             case 1: // CREDENTIAL
9025               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
9026                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
9027                 struct.credential.read(iprot);
9028                 struct.setCredentialIsSet(true);
9029               } else { 
9030                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
9031               }
9032               break;
9033             case 2: // TABLET_SERVER
9034               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
9035                 struct.tabletServer = iprot.readString();
9036                 struct.setTabletServerIsSet(true);
9037               } else { 
9038                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
9039               }
9040               break;
9041             case 4: // FORCE
9042               if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
9043                 struct.force = iprot.readBool();
9044                 struct.setForceIsSet(true);
9045               } else { 
9046                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
9047               }
9048               break;
9049             default:
9050               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
9051           }
9052           iprot.readFieldEnd();
9053         }
9054         iprot.readStructEnd();
9055 
9056         // check for required fields of primitive type, which can't be checked in the validate method
9057         struct.validate();
9058       }
9059 
9060       public void write(org.apache.thrift.protocol.TProtocol oprot, shutdownTabletServer_args struct) throws org.apache.thrift.TException {
9061         struct.validate();
9062 
9063         oprot.writeStructBegin(STRUCT_DESC);
9064         if (struct.credential != null) {
9065           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
9066           struct.credential.write(oprot);
9067           oprot.writeFieldEnd();
9068         }
9069         if (struct.tabletServer != null) {
9070           oprot.writeFieldBegin(TABLET_SERVER_FIELD_DESC);
9071           oprot.writeString(struct.tabletServer);
9072           oprot.writeFieldEnd();
9073         }
9074         if (struct.tinfo != null) {
9075           oprot.writeFieldBegin(TINFO_FIELD_DESC);
9076           struct.tinfo.write(oprot);
9077           oprot.writeFieldEnd();
9078         }
9079         oprot.writeFieldBegin(FORCE_FIELD_DESC);
9080         oprot.writeBool(struct.force);
9081         oprot.writeFieldEnd();
9082         oprot.writeFieldStop();
9083         oprot.writeStructEnd();
9084       }
9085 
9086     }
9087 
9088     private static class shutdownTabletServer_argsTupleSchemeFactory implements SchemeFactory {
9089       public shutdownTabletServer_argsTupleScheme getScheme() {
9090         return new shutdownTabletServer_argsTupleScheme();
9091       }
9092     }
9093 
9094     private static class shutdownTabletServer_argsTupleScheme extends TupleScheme<shutdownTabletServer_args> {
9095 
9096       @Override
9097       public void write(org.apache.thrift.protocol.TProtocol prot, shutdownTabletServer_args struct) throws org.apache.thrift.TException {
9098         TTupleProtocol oprot = (TTupleProtocol) prot;
9099         BitSet optionals = new BitSet();
9100         if (struct.isSetTinfo()) {
9101           optionals.set(0);
9102         }
9103         if (struct.isSetCredential()) {
9104           optionals.set(1);
9105         }
9106         if (struct.isSetTabletServer()) {
9107           optionals.set(2);
9108         }
9109         if (struct.isSetForce()) {
9110           optionals.set(3);
9111         }
9112         oprot.writeBitSet(optionals, 4);
9113         if (struct.isSetTinfo()) {
9114           struct.tinfo.write(oprot);
9115         }
9116         if (struct.isSetCredential()) {
9117           struct.credential.write(oprot);
9118         }
9119         if (struct.isSetTabletServer()) {
9120           oprot.writeString(struct.tabletServer);
9121         }
9122         if (struct.isSetForce()) {
9123           oprot.writeBool(struct.force);
9124         }
9125       }
9126 
9127       @Override
9128       public void read(org.apache.thrift.protocol.TProtocol prot, shutdownTabletServer_args struct) throws org.apache.thrift.TException {
9129         TTupleProtocol iprot = (TTupleProtocol) prot;
9130         BitSet incoming = iprot.readBitSet(4);
9131         if (incoming.get(0)) {
9132           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
9133           struct.tinfo.read(iprot);
9134           struct.setTinfoIsSet(true);
9135         }
9136         if (incoming.get(1)) {
9137           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
9138           struct.credential.read(iprot);
9139           struct.setCredentialIsSet(true);
9140         }
9141         if (incoming.get(2)) {
9142           struct.tabletServer = iprot.readString();
9143           struct.setTabletServerIsSet(true);
9144         }
9145         if (incoming.get(3)) {
9146           struct.force = iprot.readBool();
9147           struct.setForceIsSet(true);
9148         }
9149       }
9150     }
9151 
9152   }
9153 
9154   public static class shutdownTabletServer_result implements org.apache.thrift.TBase<shutdownTabletServer_result, shutdownTabletServer_result._Fields>, java.io.Serializable, Cloneable   {
9155     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("shutdownTabletServer_result");
9156 
9157     private static final org.apache.thrift.protocol.TField SEC_FIELD_DESC = new org.apache.thrift.protocol.TField("sec", org.apache.thrift.protocol.TType.STRUCT, (short)1);
9158 
9159     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
9160     static {
9161       schemes.put(StandardScheme.class, new shutdownTabletServer_resultStandardSchemeFactory());
9162       schemes.put(TupleScheme.class, new shutdownTabletServer_resultTupleSchemeFactory());
9163     }
9164 
9165     public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required
9166 
9167     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
9168     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
9169       SEC((short)1, "sec");
9170 
9171       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
9172 
9173       static {
9174         for (_Fields field : EnumSet.allOf(_Fields.class)) {
9175           byName.put(field.getFieldName(), field);
9176         }
9177       }
9178 
9179       /**
9180        * Find the _Fields constant that matches fieldId, or null if its not found.
9181        */
9182       public static _Fields findByThriftId(int fieldId) {
9183         switch(fieldId) {
9184           case 1: // SEC
9185             return SEC;
9186           default:
9187             return null;
9188         }
9189       }
9190 
9191       /**
9192        * Find the _Fields constant that matches fieldId, throwing an exception
9193        * if it is not found.
9194        */
9195       public static _Fields findByThriftIdOrThrow(int fieldId) {
9196         _Fields fields = findByThriftId(fieldId);
9197         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
9198         return fields;
9199       }
9200 
9201       /**
9202        * Find the _Fields constant that matches name, or null if its not found.
9203        */
9204       public static _Fields findByName(String name) {
9205         return byName.get(name);
9206       }
9207 
9208       private final short _thriftId;
9209       private final String _fieldName;
9210 
9211       _Fields(short thriftId, String fieldName) {
9212         _thriftId = thriftId;
9213         _fieldName = fieldName;
9214       }
9215 
9216       public short getThriftFieldId() {
9217         return _thriftId;
9218       }
9219 
9220       public String getFieldName() {
9221         return _fieldName;
9222       }
9223     }
9224 
9225     // isset id assignments
9226     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
9227     static {
9228       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
9229       tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, 
9230           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
9231       metaDataMap = Collections.unmodifiableMap(tmpMap);
9232       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(shutdownTabletServer_result.class, metaDataMap);
9233     }
9234 
9235     public shutdownTabletServer_result() {
9236     }
9237 
9238     public shutdownTabletServer_result(
9239       org.apache.accumulo.core.security.thrift.ThriftSecurityException sec)
9240     {
9241       this();
9242       this.sec = sec;
9243     }
9244 
9245     /**
9246      * Performs a deep copy on <i>other</i>.
9247      */
9248     public shutdownTabletServer_result(shutdownTabletServer_result other) {
9249       if (other.isSetSec()) {
9250         this.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(other.sec);
9251       }
9252     }
9253 
9254     public shutdownTabletServer_result deepCopy() {
9255       return new shutdownTabletServer_result(this);
9256     }
9257 
9258     @Override
9259     public void clear() {
9260       this.sec = null;
9261     }
9262 
9263     public org.apache.accumulo.core.security.thrift.ThriftSecurityException getSec() {
9264       return this.sec;
9265     }
9266 
9267     public shutdownTabletServer_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
9268       this.sec = sec;
9269       return this;
9270     }
9271 
9272     public void unsetSec() {
9273       this.sec = null;
9274     }
9275 
9276     /** Returns true if field sec is set (has been assigned a value) and false otherwise */
9277     public boolean isSetSec() {
9278       return this.sec != null;
9279     }
9280 
9281     public void setSecIsSet(boolean value) {
9282       if (!value) {
9283         this.sec = null;
9284       }
9285     }
9286 
9287     public void setFieldValue(_Fields field, Object value) {
9288       switch (field) {
9289       case SEC:
9290         if (value == null) {
9291           unsetSec();
9292         } else {
9293           setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value);
9294         }
9295         break;
9296 
9297       }
9298     }
9299 
9300     public Object getFieldValue(_Fields field) {
9301       switch (field) {
9302       case SEC:
9303         return getSec();
9304 
9305       }
9306       throw new IllegalStateException();
9307     }
9308 
9309     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
9310     public boolean isSet(_Fields field) {
9311       if (field == null) {
9312         throw new IllegalArgumentException();
9313       }
9314 
9315       switch (field) {
9316       case SEC:
9317         return isSetSec();
9318       }
9319       throw new IllegalStateException();
9320     }
9321 
9322     @Override
9323     public boolean equals(Object that) {
9324       if (that == null)
9325         return false;
9326       if (that instanceof shutdownTabletServer_result)
9327         return this.equals((shutdownTabletServer_result)that);
9328       return false;
9329     }
9330 
9331     public boolean equals(shutdownTabletServer_result that) {
9332       if (that == null)
9333         return false;
9334 
9335       boolean this_present_sec = true && this.isSetSec();
9336       boolean that_present_sec = true && that.isSetSec();
9337       if (this_present_sec || that_present_sec) {
9338         if (!(this_present_sec && that_present_sec))
9339           return false;
9340         if (!this.sec.equals(that.sec))
9341           return false;
9342       }
9343 
9344       return true;
9345     }
9346 
9347     @Override
9348     public int hashCode() {
9349       return 0;
9350     }
9351 
9352     public int compareTo(shutdownTabletServer_result other) {
9353       if (!getClass().equals(other.getClass())) {
9354         return getClass().getName().compareTo(other.getClass().getName());
9355       }
9356 
9357       int lastComparison = 0;
9358       shutdownTabletServer_result typedOther = (shutdownTabletServer_result)other;
9359 
9360       lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec());
9361       if (lastComparison != 0) {
9362         return lastComparison;
9363       }
9364       if (isSetSec()) {
9365         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec);
9366         if (lastComparison != 0) {
9367           return lastComparison;
9368         }
9369       }
9370       return 0;
9371     }
9372 
9373     public _Fields fieldForId(int fieldId) {
9374       return _Fields.findByThriftId(fieldId);
9375     }
9376 
9377     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
9378       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
9379     }
9380 
9381     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
9382       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
9383       }
9384 
9385     @Override
9386     public String toString() {
9387       StringBuilder sb = new StringBuilder("shutdownTabletServer_result(");
9388       boolean first = true;
9389 
9390       sb.append("sec:");
9391       if (this.sec == null) {
9392         sb.append("null");
9393       } else {
9394         sb.append(this.sec);
9395       }
9396       first = false;
9397       sb.append(")");
9398       return sb.toString();
9399     }
9400 
9401     public void validate() throws org.apache.thrift.TException {
9402       // check for required fields
9403       // check for sub-struct validity
9404     }
9405 
9406     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
9407       try {
9408         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
9409       } catch (org.apache.thrift.TException te) {
9410         throw new java.io.IOException(te);
9411       }
9412     }
9413 
9414     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
9415       try {
9416         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
9417       } catch (org.apache.thrift.TException te) {
9418         throw new java.io.IOException(te);
9419       }
9420     }
9421 
9422     private static class shutdownTabletServer_resultStandardSchemeFactory implements SchemeFactory {
9423       public shutdownTabletServer_resultStandardScheme getScheme() {
9424         return new shutdownTabletServer_resultStandardScheme();
9425       }
9426     }
9427 
9428     private static class shutdownTabletServer_resultStandardScheme extends StandardScheme<shutdownTabletServer_result> {
9429 
9430       public void read(org.apache.thrift.protocol.TProtocol iprot, shutdownTabletServer_result struct) throws org.apache.thrift.TException {
9431         org.apache.thrift.protocol.TField schemeField;
9432         iprot.readStructBegin();
9433         while (true)
9434         {
9435           schemeField = iprot.readFieldBegin();
9436           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
9437             break;
9438           }
9439           switch (schemeField.id) {
9440             case 1: // SEC
9441               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
9442                 struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
9443                 struct.sec.read(iprot);
9444                 struct.setSecIsSet(true);
9445               } else { 
9446                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
9447               }
9448               break;
9449             default:
9450               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
9451           }
9452           iprot.readFieldEnd();
9453         }
9454         iprot.readStructEnd();
9455 
9456         // check for required fields of primitive type, which can't be checked in the validate method
9457         struct.validate();
9458       }
9459 
9460       public void write(org.apache.thrift.protocol.TProtocol oprot, shutdownTabletServer_result struct) throws org.apache.thrift.TException {
9461         struct.validate();
9462 
9463         oprot.writeStructBegin(STRUCT_DESC);
9464         if (struct.sec != null) {
9465           oprot.writeFieldBegin(SEC_FIELD_DESC);
9466           struct.sec.write(oprot);
9467           oprot.writeFieldEnd();
9468         }
9469         oprot.writeFieldStop();
9470         oprot.writeStructEnd();
9471       }
9472 
9473     }
9474 
9475     private static class shutdownTabletServer_resultTupleSchemeFactory implements SchemeFactory {
9476       public shutdownTabletServer_resultTupleScheme getScheme() {
9477         return new shutdownTabletServer_resultTupleScheme();
9478       }
9479     }
9480 
9481     private static class shutdownTabletServer_resultTupleScheme extends TupleScheme<shutdownTabletServer_result> {
9482 
9483       @Override
9484       public void write(org.apache.thrift.protocol.TProtocol prot, shutdownTabletServer_result struct) throws org.apache.thrift.TException {
9485         TTupleProtocol oprot = (TTupleProtocol) prot;
9486         BitSet optionals = new BitSet();
9487         if (struct.isSetSec()) {
9488           optionals.set(0);
9489         }
9490         oprot.writeBitSet(optionals, 1);
9491         if (struct.isSetSec()) {
9492           struct.sec.write(oprot);
9493         }
9494       }
9495 
9496       @Override
9497       public void read(org.apache.thrift.protocol.TProtocol prot, shutdownTabletServer_result struct) throws org.apache.thrift.TException {
9498         TTupleProtocol iprot = (TTupleProtocol) prot;
9499         BitSet incoming = iprot.readBitSet(1);
9500         if (incoming.get(0)) {
9501           struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
9502           struct.sec.read(iprot);
9503           struct.setSecIsSet(true);
9504         }
9505       }
9506     }
9507 
9508   }
9509 
9510   public static class setSystemProperty_args implements org.apache.thrift.TBase<setSystemProperty_args, setSystemProperty_args._Fields>, java.io.Serializable, Cloneable   {
9511     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("setSystemProperty_args");
9512 
9513     private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)4);
9514     private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1);
9515     private static final org.apache.thrift.protocol.TField PROPERTY_FIELD_DESC = new org.apache.thrift.protocol.TField("property", org.apache.thrift.protocol.TType.STRING, (short)2);
9516     private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("value", org.apache.thrift.protocol.TType.STRING, (short)3);
9517 
9518     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
9519     static {
9520       schemes.put(StandardScheme.class, new setSystemProperty_argsStandardSchemeFactory());
9521       schemes.put(TupleScheme.class, new setSystemProperty_argsTupleSchemeFactory());
9522     }
9523 
9524     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
9525     public org.apache.accumulo.core.security.thrift.Credential credential; // required
9526     public String property; // required
9527     public String value; // required
9528 
9529     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
9530     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
9531       TINFO((short)4, "tinfo"),
9532       CREDENTIAL((short)1, "credential"),
9533       PROPERTY((short)2, "property"),
9534       VALUE((short)3, "value");
9535 
9536       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
9537 
9538       static {
9539         for (_Fields field : EnumSet.allOf(_Fields.class)) {
9540           byName.put(field.getFieldName(), field);
9541         }
9542       }
9543 
9544       /**
9545        * Find the _Fields constant that matches fieldId, or null if its not found.
9546        */
9547       public static _Fields findByThriftId(int fieldId) {
9548         switch(fieldId) {
9549           case 4: // TINFO
9550             return TINFO;
9551           case 1: // CREDENTIAL
9552             return CREDENTIAL;
9553           case 2: // PROPERTY
9554             return PROPERTY;
9555           case 3: // VALUE
9556             return VALUE;
9557           default:
9558             return null;
9559         }
9560       }
9561 
9562       /**
9563        * Find the _Fields constant that matches fieldId, throwing an exception
9564        * if it is not found.
9565        */
9566       public static _Fields findByThriftIdOrThrow(int fieldId) {
9567         _Fields fields = findByThriftId(fieldId);
9568         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
9569         return fields;
9570       }
9571 
9572       /**
9573        * Find the _Fields constant that matches name, or null if its not found.
9574        */
9575       public static _Fields findByName(String name) {
9576         return byName.get(name);
9577       }
9578 
9579       private final short _thriftId;
9580       private final String _fieldName;
9581 
9582       _Fields(short thriftId, String fieldName) {
9583         _thriftId = thriftId;
9584         _fieldName = fieldName;
9585       }
9586 
9587       public short getThriftFieldId() {
9588         return _thriftId;
9589       }
9590 
9591       public String getFieldName() {
9592         return _fieldName;
9593       }
9594     }
9595 
9596     // isset id assignments
9597     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
9598     static {
9599       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
9600       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
9601           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
9602       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
9603           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
9604       tmpMap.put(_Fields.PROPERTY, new org.apache.thrift.meta_data.FieldMetaData("property", org.apache.thrift.TFieldRequirementType.DEFAULT, 
9605           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
9606       tmpMap.put(_Fields.VALUE, new org.apache.thrift.meta_data.FieldMetaData("value", org.apache.thrift.TFieldRequirementType.DEFAULT, 
9607           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
9608       metaDataMap = Collections.unmodifiableMap(tmpMap);
9609       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(setSystemProperty_args.class, metaDataMap);
9610     }
9611 
9612     public setSystemProperty_args() {
9613     }
9614 
9615     public setSystemProperty_args(
9616       org.apache.accumulo.trace.thrift.TInfo tinfo,
9617       org.apache.accumulo.core.security.thrift.Credential credential,
9618       String property,
9619       String value)
9620     {
9621       this();
9622       this.tinfo = tinfo;
9623       this.credential = credential;
9624       this.property = property;
9625       this.value = value;
9626     }
9627 
9628     /**
9629      * Performs a deep copy on <i>other</i>.
9630      */
9631     public setSystemProperty_args(setSystemProperty_args other) {
9632       if (other.isSetTinfo()) {
9633         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
9634       }
9635       if (other.isSetCredential()) {
9636         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
9637       }
9638       if (other.isSetProperty()) {
9639         this.property = other.property;
9640       }
9641       if (other.isSetValue()) {
9642         this.value = other.value;
9643       }
9644     }
9645 
9646     public setSystemProperty_args deepCopy() {
9647       return new setSystemProperty_args(this);
9648     }
9649 
9650     @Override
9651     public void clear() {
9652       this.tinfo = null;
9653       this.credential = null;
9654       this.property = null;
9655       this.value = null;
9656     }
9657 
9658     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
9659       return this.tinfo;
9660     }
9661 
9662     public setSystemProperty_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
9663       this.tinfo = tinfo;
9664       return this;
9665     }
9666 
9667     public void unsetTinfo() {
9668       this.tinfo = null;
9669     }
9670 
9671     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
9672     public boolean isSetTinfo() {
9673       return this.tinfo != null;
9674     }
9675 
9676     public void setTinfoIsSet(boolean value) {
9677       if (!value) {
9678         this.tinfo = null;
9679       }
9680     }
9681 
9682     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
9683       return this.credential;
9684     }
9685 
9686     public setSystemProperty_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
9687       this.credential = credential;
9688       return this;
9689     }
9690 
9691     public void unsetCredential() {
9692       this.credential = null;
9693     }
9694 
9695     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
9696     public boolean isSetCredential() {
9697       return this.credential != null;
9698     }
9699 
9700     public void setCredentialIsSet(boolean value) {
9701       if (!value) {
9702         this.credential = null;
9703       }
9704     }
9705 
9706     public String getProperty() {
9707       return this.property;
9708     }
9709 
9710     public setSystemProperty_args setProperty(String property) {
9711       this.property = property;
9712       return this;
9713     }
9714 
9715     public void unsetProperty() {
9716       this.property = null;
9717     }
9718 
9719     /** Returns true if field property is set (has been assigned a value) and false otherwise */
9720     public boolean isSetProperty() {
9721       return this.property != null;
9722     }
9723 
9724     public void setPropertyIsSet(boolean value) {
9725       if (!value) {
9726         this.property = null;
9727       }
9728     }
9729 
9730     public String getValue() {
9731       return this.value;
9732     }
9733 
9734     public setSystemProperty_args setValue(String value) {
9735       this.value = value;
9736       return this;
9737     }
9738 
9739     public void unsetValue() {
9740       this.value = null;
9741     }
9742 
9743     /** Returns true if field value is set (has been assigned a value) and false otherwise */
9744     public boolean isSetValue() {
9745       return this.value != null;
9746     }
9747 
9748     public void setValueIsSet(boolean value) {
9749       if (!value) {
9750         this.value = null;
9751       }
9752     }
9753 
9754     public void setFieldValue(_Fields field, Object value) {
9755       switch (field) {
9756       case TINFO:
9757         if (value == null) {
9758           unsetTinfo();
9759         } else {
9760           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
9761         }
9762         break;
9763 
9764       case CREDENTIAL:
9765         if (value == null) {
9766           unsetCredential();
9767         } else {
9768           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
9769         }
9770         break;
9771 
9772       case PROPERTY:
9773         if (value == null) {
9774           unsetProperty();
9775         } else {
9776           setProperty((String)value);
9777         }
9778         break;
9779 
9780       case VALUE:
9781         if (value == null) {
9782           unsetValue();
9783         } else {
9784           setValue((String)value);
9785         }
9786         break;
9787 
9788       }
9789     }
9790 
9791     public Object getFieldValue(_Fields field) {
9792       switch (field) {
9793       case TINFO:
9794         return getTinfo();
9795 
9796       case CREDENTIAL:
9797         return getCredential();
9798 
9799       case PROPERTY:
9800         return getProperty();
9801 
9802       case VALUE:
9803         return getValue();
9804 
9805       }
9806       throw new IllegalStateException();
9807     }
9808 
9809     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
9810     public boolean isSet(_Fields field) {
9811       if (field == null) {
9812         throw new IllegalArgumentException();
9813       }
9814 
9815       switch (field) {
9816       case TINFO:
9817         return isSetTinfo();
9818       case CREDENTIAL:
9819         return isSetCredential();
9820       case PROPERTY:
9821         return isSetProperty();
9822       case VALUE:
9823         return isSetValue();
9824       }
9825       throw new IllegalStateException();
9826     }
9827 
9828     @Override
9829     public boolean equals(Object that) {
9830       if (that == null)
9831         return false;
9832       if (that instanceof setSystemProperty_args)
9833         return this.equals((setSystemProperty_args)that);
9834       return false;
9835     }
9836 
9837     public boolean equals(setSystemProperty_args that) {
9838       if (that == null)
9839         return false;
9840 
9841       boolean this_present_tinfo = true && this.isSetTinfo();
9842       boolean that_present_tinfo = true && that.isSetTinfo();
9843       if (this_present_tinfo || that_present_tinfo) {
9844         if (!(this_present_tinfo && that_present_tinfo))
9845           return false;
9846         if (!this.tinfo.equals(that.tinfo))
9847           return false;
9848       }
9849 
9850       boolean this_present_credential = true && this.isSetCredential();
9851       boolean that_present_credential = true && that.isSetCredential();
9852       if (this_present_credential || that_present_credential) {
9853         if (!(this_present_credential && that_present_credential))
9854           return false;
9855         if (!this.credential.equals(that.credential))
9856           return false;
9857       }
9858 
9859       boolean this_present_property = true && this.isSetProperty();
9860       boolean that_present_property = true && that.isSetProperty();
9861       if (this_present_property || that_present_property) {
9862         if (!(this_present_property && that_present_property))
9863           return false;
9864         if (!this.property.equals(that.property))
9865           return false;
9866       }
9867 
9868       boolean this_present_value = true && this.isSetValue();
9869       boolean that_present_value = true && that.isSetValue();
9870       if (this_present_value || that_present_value) {
9871         if (!(this_present_value && that_present_value))
9872           return false;
9873         if (!this.value.equals(that.value))
9874           return false;
9875       }
9876 
9877       return true;
9878     }
9879 
9880     @Override
9881     public int hashCode() {
9882       return 0;
9883     }
9884 
9885     public int compareTo(setSystemProperty_args other) {
9886       if (!getClass().equals(other.getClass())) {
9887         return getClass().getName().compareTo(other.getClass().getName());
9888       }
9889 
9890       int lastComparison = 0;
9891       setSystemProperty_args typedOther = (setSystemProperty_args)other;
9892 
9893       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
9894       if (lastComparison != 0) {
9895         return lastComparison;
9896       }
9897       if (isSetTinfo()) {
9898         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
9899         if (lastComparison != 0) {
9900           return lastComparison;
9901         }
9902       }
9903       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
9904       if (lastComparison != 0) {
9905         return lastComparison;
9906       }
9907       if (isSetCredential()) {
9908         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
9909         if (lastComparison != 0) {
9910           return lastComparison;
9911         }
9912       }
9913       lastComparison = Boolean.valueOf(isSetProperty()).compareTo(typedOther.isSetProperty());
9914       if (lastComparison != 0) {
9915         return lastComparison;
9916       }
9917       if (isSetProperty()) {
9918         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.property, typedOther.property);
9919         if (lastComparison != 0) {
9920           return lastComparison;
9921         }
9922       }
9923       lastComparison = Boolean.valueOf(isSetValue()).compareTo(typedOther.isSetValue());
9924       if (lastComparison != 0) {
9925         return lastComparison;
9926       }
9927       if (isSetValue()) {
9928         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, typedOther.value);
9929         if (lastComparison != 0) {
9930           return lastComparison;
9931         }
9932       }
9933       return 0;
9934     }
9935 
9936     public _Fields fieldForId(int fieldId) {
9937       return _Fields.findByThriftId(fieldId);
9938     }
9939 
9940     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
9941       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
9942     }
9943 
9944     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
9945       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
9946     }
9947 
9948     @Override
9949     public String toString() {
9950       StringBuilder sb = new StringBuilder("setSystemProperty_args(");
9951       boolean first = true;
9952 
9953       sb.append("tinfo:");
9954       if (this.tinfo == null) {
9955         sb.append("null");
9956       } else {
9957         sb.append(this.tinfo);
9958       }
9959       first = false;
9960       if (!first) sb.append(", ");
9961       sb.append("credential:");
9962       if (this.credential == null) {
9963         sb.append("null");
9964       } else {
9965         sb.append(this.credential);
9966       }
9967       first = false;
9968       if (!first) sb.append(", ");
9969       sb.append("property:");
9970       if (this.property == null) {
9971         sb.append("null");
9972       } else {
9973         sb.append(this.property);
9974       }
9975       first = false;
9976       if (!first) sb.append(", ");
9977       sb.append("value:");
9978       if (this.value == null) {
9979         sb.append("null");
9980       } else {
9981         sb.append(this.value);
9982       }
9983       first = false;
9984       sb.append(")");
9985       return sb.toString();
9986     }
9987 
9988     public void validate() throws org.apache.thrift.TException {
9989       // check for required fields
9990       // check for sub-struct validity
9991       if (tinfo != null) {
9992         tinfo.validate();
9993       }
9994       if (credential != null) {
9995         credential.validate();
9996       }
9997     }
9998 
9999     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
10000       try {
10001         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
10002       } catch (org.apache.thrift.TException te) {
10003         throw new java.io.IOException(te);
10004       }
10005     }
10006 
10007     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
10008       try {
10009         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
10010       } catch (org.apache.thrift.TException te) {
10011         throw new java.io.IOException(te);
10012       }
10013     }
10014 
10015     private static class setSystemProperty_argsStandardSchemeFactory implements SchemeFactory {
10016       public setSystemProperty_argsStandardScheme getScheme() {
10017         return new setSystemProperty_argsStandardScheme();
10018       }
10019     }
10020 
10021     private static class setSystemProperty_argsStandardScheme extends StandardScheme<setSystemProperty_args> {
10022 
10023       public void read(org.apache.thrift.protocol.TProtocol iprot, setSystemProperty_args struct) throws org.apache.thrift.TException {
10024         org.apache.thrift.protocol.TField schemeField;
10025         iprot.readStructBegin();
10026         while (true)
10027         {
10028           schemeField = iprot.readFieldBegin();
10029           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
10030             break;
10031           }
10032           switch (schemeField.id) {
10033             case 4: // TINFO
10034               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
10035                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
10036                 struct.tinfo.read(iprot);
10037                 struct.setTinfoIsSet(true);
10038               } else { 
10039                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
10040               }
10041               break;
10042             case 1: // CREDENTIAL
10043               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
10044                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
10045                 struct.credential.read(iprot);
10046                 struct.setCredentialIsSet(true);
10047               } else { 
10048                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
10049               }
10050               break;
10051             case 2: // PROPERTY
10052               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
10053                 struct.property = iprot.readString();
10054                 struct.setPropertyIsSet(true);
10055               } else { 
10056                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
10057               }
10058               break;
10059             case 3: // VALUE
10060               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
10061                 struct.value = iprot.readString();
10062                 struct.setValueIsSet(true);
10063               } else { 
10064                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
10065               }
10066               break;
10067             default:
10068               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
10069           }
10070           iprot.readFieldEnd();
10071         }
10072         iprot.readStructEnd();
10073 
10074         // check for required fields of primitive type, which can't be checked in the validate method
10075         struct.validate();
10076       }
10077 
10078       public void write(org.apache.thrift.protocol.TProtocol oprot, setSystemProperty_args struct) throws org.apache.thrift.TException {
10079         struct.validate();
10080 
10081         oprot.writeStructBegin(STRUCT_DESC);
10082         if (struct.credential != null) {
10083           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
10084           struct.credential.write(oprot);
10085           oprot.writeFieldEnd();
10086         }
10087         if (struct.property != null) {
10088           oprot.writeFieldBegin(PROPERTY_FIELD_DESC);
10089           oprot.writeString(struct.property);
10090           oprot.writeFieldEnd();
10091         }
10092         if (struct.value != null) {
10093           oprot.writeFieldBegin(VALUE_FIELD_DESC);
10094           oprot.writeString(struct.value);
10095           oprot.writeFieldEnd();
10096         }
10097         if (struct.tinfo != null) {
10098           oprot.writeFieldBegin(TINFO_FIELD_DESC);
10099           struct.tinfo.write(oprot);
10100           oprot.writeFieldEnd();
10101         }
10102         oprot.writeFieldStop();
10103         oprot.writeStructEnd();
10104       }
10105 
10106     }
10107 
10108     private static class setSystemProperty_argsTupleSchemeFactory implements SchemeFactory {
10109       public setSystemProperty_argsTupleScheme getScheme() {
10110         return new setSystemProperty_argsTupleScheme();
10111       }
10112     }
10113 
10114     private static class setSystemProperty_argsTupleScheme extends TupleScheme<setSystemProperty_args> {
10115 
10116       @Override
10117       public void write(org.apache.thrift.protocol.TProtocol prot, setSystemProperty_args struct) throws org.apache.thrift.TException {
10118         TTupleProtocol oprot = (TTupleProtocol) prot;
10119         BitSet optionals = new BitSet();
10120         if (struct.isSetTinfo()) {
10121           optionals.set(0);
10122         }
10123         if (struct.isSetCredential()) {
10124           optionals.set(1);
10125         }
10126         if (struct.isSetProperty()) {
10127           optionals.set(2);
10128         }
10129         if (struct.isSetValue()) {
10130           optionals.set(3);
10131         }
10132         oprot.writeBitSet(optionals, 4);
10133         if (struct.isSetTinfo()) {
10134           struct.tinfo.write(oprot);
10135         }
10136         if (struct.isSetCredential()) {
10137           struct.credential.write(oprot);
10138         }
10139         if (struct.isSetProperty()) {
10140           oprot.writeString(struct.property);
10141         }
10142         if (struct.isSetValue()) {
10143           oprot.writeString(struct.value);
10144         }
10145       }
10146 
10147       @Override
10148       public void read(org.apache.thrift.protocol.TProtocol prot, setSystemProperty_args struct) throws org.apache.thrift.TException {
10149         TTupleProtocol iprot = (TTupleProtocol) prot;
10150         BitSet incoming = iprot.readBitSet(4);
10151         if (incoming.get(0)) {
10152           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
10153           struct.tinfo.read(iprot);
10154           struct.setTinfoIsSet(true);
10155         }
10156         if (incoming.get(1)) {
10157           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
10158           struct.credential.read(iprot);
10159           struct.setCredentialIsSet(true);
10160         }
10161         if (incoming.get(2)) {
10162           struct.property = iprot.readString();
10163           struct.setPropertyIsSet(true);
10164         }
10165         if (incoming.get(3)) {
10166           struct.value = iprot.readString();
10167           struct.setValueIsSet(true);
10168         }
10169       }
10170     }
10171 
10172   }
10173 
10174   public static class setSystemProperty_result implements org.apache.thrift.TBase<setSystemProperty_result, setSystemProperty_result._Fields>, java.io.Serializable, Cloneable   {
10175     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("setSystemProperty_result");
10176 
10177     private static final org.apache.thrift.protocol.TField SEC_FIELD_DESC = new org.apache.thrift.protocol.TField("sec", org.apache.thrift.protocol.TType.STRUCT, (short)1);
10178 
10179     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
10180     static {
10181       schemes.put(StandardScheme.class, new setSystemProperty_resultStandardSchemeFactory());
10182       schemes.put(TupleScheme.class, new setSystemProperty_resultTupleSchemeFactory());
10183     }
10184 
10185     public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required
10186 
10187     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
10188     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
10189       SEC((short)1, "sec");
10190 
10191       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
10192 
10193       static {
10194         for (_Fields field : EnumSet.allOf(_Fields.class)) {
10195           byName.put(field.getFieldName(), field);
10196         }
10197       }
10198 
10199       /**
10200        * Find the _Fields constant that matches fieldId, or null if its not found.
10201        */
10202       public static _Fields findByThriftId(int fieldId) {
10203         switch(fieldId) {
10204           case 1: // SEC
10205             return SEC;
10206           default:
10207             return null;
10208         }
10209       }
10210 
10211       /**
10212        * Find the _Fields constant that matches fieldId, throwing an exception
10213        * if it is not found.
10214        */
10215       public static _Fields findByThriftIdOrThrow(int fieldId) {
10216         _Fields fields = findByThriftId(fieldId);
10217         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
10218         return fields;
10219       }
10220 
10221       /**
10222        * Find the _Fields constant that matches name, or null if its not found.
10223        */
10224       public static _Fields findByName(String name) {
10225         return byName.get(name);
10226       }
10227 
10228       private final short _thriftId;
10229       private final String _fieldName;
10230 
10231       _Fields(short thriftId, String fieldName) {
10232         _thriftId = thriftId;
10233         _fieldName = fieldName;
10234       }
10235 
10236       public short getThriftFieldId() {
10237         return _thriftId;
10238       }
10239 
10240       public String getFieldName() {
10241         return _fieldName;
10242       }
10243     }
10244 
10245     // isset id assignments
10246     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
10247     static {
10248       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
10249       tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, 
10250           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
10251       metaDataMap = Collections.unmodifiableMap(tmpMap);
10252       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(setSystemProperty_result.class, metaDataMap);
10253     }
10254 
10255     public setSystemProperty_result() {
10256     }
10257 
10258     public setSystemProperty_result(
10259       org.apache.accumulo.core.security.thrift.ThriftSecurityException sec)
10260     {
10261       this();
10262       this.sec = sec;
10263     }
10264 
10265     /**
10266      * Performs a deep copy on <i>other</i>.
10267      */
10268     public setSystemProperty_result(setSystemProperty_result other) {
10269       if (other.isSetSec()) {
10270         this.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(other.sec);
10271       }
10272     }
10273 
10274     public setSystemProperty_result deepCopy() {
10275       return new setSystemProperty_result(this);
10276     }
10277 
10278     @Override
10279     public void clear() {
10280       this.sec = null;
10281     }
10282 
10283     public org.apache.accumulo.core.security.thrift.ThriftSecurityException getSec() {
10284       return this.sec;
10285     }
10286 
10287     public setSystemProperty_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
10288       this.sec = sec;
10289       return this;
10290     }
10291 
10292     public void unsetSec() {
10293       this.sec = null;
10294     }
10295 
10296     /** Returns true if field sec is set (has been assigned a value) and false otherwise */
10297     public boolean isSetSec() {
10298       return this.sec != null;
10299     }
10300 
10301     public void setSecIsSet(boolean value) {
10302       if (!value) {
10303         this.sec = null;
10304       }
10305     }
10306 
10307     public void setFieldValue(_Fields field, Object value) {
10308       switch (field) {
10309       case SEC:
10310         if (value == null) {
10311           unsetSec();
10312         } else {
10313           setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value);
10314         }
10315         break;
10316 
10317       }
10318     }
10319 
10320     public Object getFieldValue(_Fields field) {
10321       switch (field) {
10322       case SEC:
10323         return getSec();
10324 
10325       }
10326       throw new IllegalStateException();
10327     }
10328 
10329     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
10330     public boolean isSet(_Fields field) {
10331       if (field == null) {
10332         throw new IllegalArgumentException();
10333       }
10334 
10335       switch (field) {
10336       case SEC:
10337         return isSetSec();
10338       }
10339       throw new IllegalStateException();
10340     }
10341 
10342     @Override
10343     public boolean equals(Object that) {
10344       if (that == null)
10345         return false;
10346       if (that instanceof setSystemProperty_result)
10347         return this.equals((setSystemProperty_result)that);
10348       return false;
10349     }
10350 
10351     public boolean equals(setSystemProperty_result that) {
10352       if (that == null)
10353         return false;
10354 
10355       boolean this_present_sec = true && this.isSetSec();
10356       boolean that_present_sec = true && that.isSetSec();
10357       if (this_present_sec || that_present_sec) {
10358         if (!(this_present_sec && that_present_sec))
10359           return false;
10360         if (!this.sec.equals(that.sec))
10361           return false;
10362       }
10363 
10364       return true;
10365     }
10366 
10367     @Override
10368     public int hashCode() {
10369       return 0;
10370     }
10371 
10372     public int compareTo(setSystemProperty_result other) {
10373       if (!getClass().equals(other.getClass())) {
10374         return getClass().getName().compareTo(other.getClass().getName());
10375       }
10376 
10377       int lastComparison = 0;
10378       setSystemProperty_result typedOther = (setSystemProperty_result)other;
10379 
10380       lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec());
10381       if (lastComparison != 0) {
10382         return lastComparison;
10383       }
10384       if (isSetSec()) {
10385         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec);
10386         if (lastComparison != 0) {
10387           return lastComparison;
10388         }
10389       }
10390       return 0;
10391     }
10392 
10393     public _Fields fieldForId(int fieldId) {
10394       return _Fields.findByThriftId(fieldId);
10395     }
10396 
10397     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
10398       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
10399     }
10400 
10401     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
10402       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
10403       }
10404 
10405     @Override
10406     public String toString() {
10407       StringBuilder sb = new StringBuilder("setSystemProperty_result(");
10408       boolean first = true;
10409 
10410       sb.append("sec:");
10411       if (this.sec == null) {
10412         sb.append("null");
10413       } else {
10414         sb.append(this.sec);
10415       }
10416       first = false;
10417       sb.append(")");
10418       return sb.toString();
10419     }
10420 
10421     public void validate() throws org.apache.thrift.TException {
10422       // check for required fields
10423       // check for sub-struct validity
10424     }
10425 
10426     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
10427       try {
10428         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
10429       } catch (org.apache.thrift.TException te) {
10430         throw new java.io.IOException(te);
10431       }
10432     }
10433 
10434     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
10435       try {
10436         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
10437       } catch (org.apache.thrift.TException te) {
10438         throw new java.io.IOException(te);
10439       }
10440     }
10441 
10442     private static class setSystemProperty_resultStandardSchemeFactory implements SchemeFactory {
10443       public setSystemProperty_resultStandardScheme getScheme() {
10444         return new setSystemProperty_resultStandardScheme();
10445       }
10446     }
10447 
10448     private static class setSystemProperty_resultStandardScheme extends StandardScheme<setSystemProperty_result> {
10449 
10450       public void read(org.apache.thrift.protocol.TProtocol iprot, setSystemProperty_result struct) throws org.apache.thrift.TException {
10451         org.apache.thrift.protocol.TField schemeField;
10452         iprot.readStructBegin();
10453         while (true)
10454         {
10455           schemeField = iprot.readFieldBegin();
10456           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
10457             break;
10458           }
10459           switch (schemeField.id) {
10460             case 1: // SEC
10461               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
10462                 struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
10463                 struct.sec.read(iprot);
10464                 struct.setSecIsSet(true);
10465               } else { 
10466                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
10467               }
10468               break;
10469             default:
10470               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
10471           }
10472           iprot.readFieldEnd();
10473         }
10474         iprot.readStructEnd();
10475 
10476         // check for required fields of primitive type, which can't be checked in the validate method
10477         struct.validate();
10478       }
10479 
10480       public void write(org.apache.thrift.protocol.TProtocol oprot, setSystemProperty_result struct) throws org.apache.thrift.TException {
10481         struct.validate();
10482 
10483         oprot.writeStructBegin(STRUCT_DESC);
10484         if (struct.sec != null) {
10485           oprot.writeFieldBegin(SEC_FIELD_DESC);
10486           struct.sec.write(oprot);
10487           oprot.writeFieldEnd();
10488         }
10489         oprot.writeFieldStop();
10490         oprot.writeStructEnd();
10491       }
10492 
10493     }
10494 
10495     private static class setSystemProperty_resultTupleSchemeFactory implements SchemeFactory {
10496       public setSystemProperty_resultTupleScheme getScheme() {
10497         return new setSystemProperty_resultTupleScheme();
10498       }
10499     }
10500 
10501     private static class setSystemProperty_resultTupleScheme extends TupleScheme<setSystemProperty_result> {
10502 
10503       @Override
10504       public void write(org.apache.thrift.protocol.TProtocol prot, setSystemProperty_result struct) throws org.apache.thrift.TException {
10505         TTupleProtocol oprot = (TTupleProtocol) prot;
10506         BitSet optionals = new BitSet();
10507         if (struct.isSetSec()) {
10508           optionals.set(0);
10509         }
10510         oprot.writeBitSet(optionals, 1);
10511         if (struct.isSetSec()) {
10512           struct.sec.write(oprot);
10513         }
10514       }
10515 
10516       @Override
10517       public void read(org.apache.thrift.protocol.TProtocol prot, setSystemProperty_result struct) throws org.apache.thrift.TException {
10518         TTupleProtocol iprot = (TTupleProtocol) prot;
10519         BitSet incoming = iprot.readBitSet(1);
10520         if (incoming.get(0)) {
10521           struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
10522           struct.sec.read(iprot);
10523           struct.setSecIsSet(true);
10524         }
10525       }
10526     }
10527 
10528   }
10529 
10530   public static class removeSystemProperty_args implements org.apache.thrift.TBase<removeSystemProperty_args, removeSystemProperty_args._Fields>, java.io.Serializable, Cloneable   {
10531     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("removeSystemProperty_args");
10532 
10533     private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)3);
10534     private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1);
10535     private static final org.apache.thrift.protocol.TField PROPERTY_FIELD_DESC = new org.apache.thrift.protocol.TField("property", org.apache.thrift.protocol.TType.STRING, (short)2);
10536 
10537     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
10538     static {
10539       schemes.put(StandardScheme.class, new removeSystemProperty_argsStandardSchemeFactory());
10540       schemes.put(TupleScheme.class, new removeSystemProperty_argsTupleSchemeFactory());
10541     }
10542 
10543     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
10544     public org.apache.accumulo.core.security.thrift.Credential credential; // required
10545     public String property; // required
10546 
10547     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
10548     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
10549       TINFO((short)3, "tinfo"),
10550       CREDENTIAL((short)1, "credential"),
10551       PROPERTY((short)2, "property");
10552 
10553       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
10554 
10555       static {
10556         for (_Fields field : EnumSet.allOf(_Fields.class)) {
10557           byName.put(field.getFieldName(), field);
10558         }
10559       }
10560 
10561       /**
10562        * Find the _Fields constant that matches fieldId, or null if its not found.
10563        */
10564       public static _Fields findByThriftId(int fieldId) {
10565         switch(fieldId) {
10566           case 3: // TINFO
10567             return TINFO;
10568           case 1: // CREDENTIAL
10569             return CREDENTIAL;
10570           case 2: // PROPERTY
10571             return PROPERTY;
10572           default:
10573             return null;
10574         }
10575       }
10576 
10577       /**
10578        * Find the _Fields constant that matches fieldId, throwing an exception
10579        * if it is not found.
10580        */
10581       public static _Fields findByThriftIdOrThrow(int fieldId) {
10582         _Fields fields = findByThriftId(fieldId);
10583         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
10584         return fields;
10585       }
10586 
10587       /**
10588        * Find the _Fields constant that matches name, or null if its not found.
10589        */
10590       public static _Fields findByName(String name) {
10591         return byName.get(name);
10592       }
10593 
10594       private final short _thriftId;
10595       private final String _fieldName;
10596 
10597       _Fields(short thriftId, String fieldName) {
10598         _thriftId = thriftId;
10599         _fieldName = fieldName;
10600       }
10601 
10602       public short getThriftFieldId() {
10603         return _thriftId;
10604       }
10605 
10606       public String getFieldName() {
10607         return _fieldName;
10608       }
10609     }
10610 
10611     // isset id assignments
10612     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
10613     static {
10614       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
10615       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
10616           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
10617       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
10618           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
10619       tmpMap.put(_Fields.PROPERTY, new org.apache.thrift.meta_data.FieldMetaData("property", org.apache.thrift.TFieldRequirementType.DEFAULT, 
10620           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
10621       metaDataMap = Collections.unmodifiableMap(tmpMap);
10622       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(removeSystemProperty_args.class, metaDataMap);
10623     }
10624 
10625     public removeSystemProperty_args() {
10626     }
10627 
10628     public removeSystemProperty_args(
10629       org.apache.accumulo.trace.thrift.TInfo tinfo,
10630       org.apache.accumulo.core.security.thrift.Credential credential,
10631       String property)
10632     {
10633       this();
10634       this.tinfo = tinfo;
10635       this.credential = credential;
10636       this.property = property;
10637     }
10638 
10639     /**
10640      * Performs a deep copy on <i>other</i>.
10641      */
10642     public removeSystemProperty_args(removeSystemProperty_args other) {
10643       if (other.isSetTinfo()) {
10644         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
10645       }
10646       if (other.isSetCredential()) {
10647         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
10648       }
10649       if (other.isSetProperty()) {
10650         this.property = other.property;
10651       }
10652     }
10653 
10654     public removeSystemProperty_args deepCopy() {
10655       return new removeSystemProperty_args(this);
10656     }
10657 
10658     @Override
10659     public void clear() {
10660       this.tinfo = null;
10661       this.credential = null;
10662       this.property = null;
10663     }
10664 
10665     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
10666       return this.tinfo;
10667     }
10668 
10669     public removeSystemProperty_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
10670       this.tinfo = tinfo;
10671       return this;
10672     }
10673 
10674     public void unsetTinfo() {
10675       this.tinfo = null;
10676     }
10677 
10678     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
10679     public boolean isSetTinfo() {
10680       return this.tinfo != null;
10681     }
10682 
10683     public void setTinfoIsSet(boolean value) {
10684       if (!value) {
10685         this.tinfo = null;
10686       }
10687     }
10688 
10689     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
10690       return this.credential;
10691     }
10692 
10693     public removeSystemProperty_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
10694       this.credential = credential;
10695       return this;
10696     }
10697 
10698     public void unsetCredential() {
10699       this.credential = null;
10700     }
10701 
10702     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
10703     public boolean isSetCredential() {
10704       return this.credential != null;
10705     }
10706 
10707     public void setCredentialIsSet(boolean value) {
10708       if (!value) {
10709         this.credential = null;
10710       }
10711     }
10712 
10713     public String getProperty() {
10714       return this.property;
10715     }
10716 
10717     public removeSystemProperty_args setProperty(String property) {
10718       this.property = property;
10719       return this;
10720     }
10721 
10722     public void unsetProperty() {
10723       this.property = null;
10724     }
10725 
10726     /** Returns true if field property is set (has been assigned a value) and false otherwise */
10727     public boolean isSetProperty() {
10728       return this.property != null;
10729     }
10730 
10731     public void setPropertyIsSet(boolean value) {
10732       if (!value) {
10733         this.property = null;
10734       }
10735     }
10736 
10737     public void setFieldValue(_Fields field, Object value) {
10738       switch (field) {
10739       case TINFO:
10740         if (value == null) {
10741           unsetTinfo();
10742         } else {
10743           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
10744         }
10745         break;
10746 
10747       case CREDENTIAL:
10748         if (value == null) {
10749           unsetCredential();
10750         } else {
10751           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
10752         }
10753         break;
10754 
10755       case PROPERTY:
10756         if (value == null) {
10757           unsetProperty();
10758         } else {
10759           setProperty((String)value);
10760         }
10761         break;
10762 
10763       }
10764     }
10765 
10766     public Object getFieldValue(_Fields field) {
10767       switch (field) {
10768       case TINFO:
10769         return getTinfo();
10770 
10771       case CREDENTIAL:
10772         return getCredential();
10773 
10774       case PROPERTY:
10775         return getProperty();
10776 
10777       }
10778       throw new IllegalStateException();
10779     }
10780 
10781     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
10782     public boolean isSet(_Fields field) {
10783       if (field == null) {
10784         throw new IllegalArgumentException();
10785       }
10786 
10787       switch (field) {
10788       case TINFO:
10789         return isSetTinfo();
10790       case CREDENTIAL:
10791         return isSetCredential();
10792       case PROPERTY:
10793         return isSetProperty();
10794       }
10795       throw new IllegalStateException();
10796     }
10797 
10798     @Override
10799     public boolean equals(Object that) {
10800       if (that == null)
10801         return false;
10802       if (that instanceof removeSystemProperty_args)
10803         return this.equals((removeSystemProperty_args)that);
10804       return false;
10805     }
10806 
10807     public boolean equals(removeSystemProperty_args that) {
10808       if (that == null)
10809         return false;
10810 
10811       boolean this_present_tinfo = true && this.isSetTinfo();
10812       boolean that_present_tinfo = true && that.isSetTinfo();
10813       if (this_present_tinfo || that_present_tinfo) {
10814         if (!(this_present_tinfo && that_present_tinfo))
10815           return false;
10816         if (!this.tinfo.equals(that.tinfo))
10817           return false;
10818       }
10819 
10820       boolean this_present_credential = true && this.isSetCredential();
10821       boolean that_present_credential = true && that.isSetCredential();
10822       if (this_present_credential || that_present_credential) {
10823         if (!(this_present_credential && that_present_credential))
10824           return false;
10825         if (!this.credential.equals(that.credential))
10826           return false;
10827       }
10828 
10829       boolean this_present_property = true && this.isSetProperty();
10830       boolean that_present_property = true && that.isSetProperty();
10831       if (this_present_property || that_present_property) {
10832         if (!(this_present_property && that_present_property))
10833           return false;
10834         if (!this.property.equals(that.property))
10835           return false;
10836       }
10837 
10838       return true;
10839     }
10840 
10841     @Override
10842     public int hashCode() {
10843       return 0;
10844     }
10845 
10846     public int compareTo(removeSystemProperty_args other) {
10847       if (!getClass().equals(other.getClass())) {
10848         return getClass().getName().compareTo(other.getClass().getName());
10849       }
10850 
10851       int lastComparison = 0;
10852       removeSystemProperty_args typedOther = (removeSystemProperty_args)other;
10853 
10854       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
10855       if (lastComparison != 0) {
10856         return lastComparison;
10857       }
10858       if (isSetTinfo()) {
10859         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
10860         if (lastComparison != 0) {
10861           return lastComparison;
10862         }
10863       }
10864       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
10865       if (lastComparison != 0) {
10866         return lastComparison;
10867       }
10868       if (isSetCredential()) {
10869         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
10870         if (lastComparison != 0) {
10871           return lastComparison;
10872         }
10873       }
10874       lastComparison = Boolean.valueOf(isSetProperty()).compareTo(typedOther.isSetProperty());
10875       if (lastComparison != 0) {
10876         return lastComparison;
10877       }
10878       if (isSetProperty()) {
10879         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.property, typedOther.property);
10880         if (lastComparison != 0) {
10881           return lastComparison;
10882         }
10883       }
10884       return 0;
10885     }
10886 
10887     public _Fields fieldForId(int fieldId) {
10888       return _Fields.findByThriftId(fieldId);
10889     }
10890 
10891     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
10892       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
10893     }
10894 
10895     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
10896       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
10897     }
10898 
10899     @Override
10900     public String toString() {
10901       StringBuilder sb = new StringBuilder("removeSystemProperty_args(");
10902       boolean first = true;
10903 
10904       sb.append("tinfo:");
10905       if (this.tinfo == null) {
10906         sb.append("null");
10907       } else {
10908         sb.append(this.tinfo);
10909       }
10910       first = false;
10911       if (!first) sb.append(", ");
10912       sb.append("credential:");
10913       if (this.credential == null) {
10914         sb.append("null");
10915       } else {
10916         sb.append(this.credential);
10917       }
10918       first = false;
10919       if (!first) sb.append(", ");
10920       sb.append("property:");
10921       if (this.property == null) {
10922         sb.append("null");
10923       } else {
10924         sb.append(this.property);
10925       }
10926       first = false;
10927       sb.append(")");
10928       return sb.toString();
10929     }
10930 
10931     public void validate() throws org.apache.thrift.TException {
10932       // check for required fields
10933       // check for sub-struct validity
10934       if (tinfo != null) {
10935         tinfo.validate();
10936       }
10937       if (credential != null) {
10938         credential.validate();
10939       }
10940     }
10941 
10942     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
10943       try {
10944         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
10945       } catch (org.apache.thrift.TException te) {
10946         throw new java.io.IOException(te);
10947       }
10948     }
10949 
10950     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
10951       try {
10952         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
10953       } catch (org.apache.thrift.TException te) {
10954         throw new java.io.IOException(te);
10955       }
10956     }
10957 
10958     private static class removeSystemProperty_argsStandardSchemeFactory implements SchemeFactory {
10959       public removeSystemProperty_argsStandardScheme getScheme() {
10960         return new removeSystemProperty_argsStandardScheme();
10961       }
10962     }
10963 
10964     private static class removeSystemProperty_argsStandardScheme extends StandardScheme<removeSystemProperty_args> {
10965 
10966       public void read(org.apache.thrift.protocol.TProtocol iprot, removeSystemProperty_args struct) throws org.apache.thrift.TException {
10967         org.apache.thrift.protocol.TField schemeField;
10968         iprot.readStructBegin();
10969         while (true)
10970         {
10971           schemeField = iprot.readFieldBegin();
10972           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
10973             break;
10974           }
10975           switch (schemeField.id) {
10976             case 3: // TINFO
10977               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
10978                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
10979                 struct.tinfo.read(iprot);
10980                 struct.setTinfoIsSet(true);
10981               } else { 
10982                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
10983               }
10984               break;
10985             case 1: // CREDENTIAL
10986               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
10987                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
10988                 struct.credential.read(iprot);
10989                 struct.setCredentialIsSet(true);
10990               } else { 
10991                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
10992               }
10993               break;
10994             case 2: // PROPERTY
10995               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
10996                 struct.property = iprot.readString();
10997                 struct.setPropertyIsSet(true);
10998               } else { 
10999                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
11000               }
11001               break;
11002             default:
11003               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
11004           }
11005           iprot.readFieldEnd();
11006         }
11007         iprot.readStructEnd();
11008 
11009         // check for required fields of primitive type, which can't be checked in the validate method
11010         struct.validate();
11011       }
11012 
11013       public void write(org.apache.thrift.protocol.TProtocol oprot, removeSystemProperty_args struct) throws org.apache.thrift.TException {
11014         struct.validate();
11015 
11016         oprot.writeStructBegin(STRUCT_DESC);
11017         if (struct.credential != null) {
11018           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
11019           struct.credential.write(oprot);
11020           oprot.writeFieldEnd();
11021         }
11022         if (struct.property != null) {
11023           oprot.writeFieldBegin(PROPERTY_FIELD_DESC);
11024           oprot.writeString(struct.property);
11025           oprot.writeFieldEnd();
11026         }
11027         if (struct.tinfo != null) {
11028           oprot.writeFieldBegin(TINFO_FIELD_DESC);
11029           struct.tinfo.write(oprot);
11030           oprot.writeFieldEnd();
11031         }
11032         oprot.writeFieldStop();
11033         oprot.writeStructEnd();
11034       }
11035 
11036     }
11037 
11038     private static class removeSystemProperty_argsTupleSchemeFactory implements SchemeFactory {
11039       public removeSystemProperty_argsTupleScheme getScheme() {
11040         return new removeSystemProperty_argsTupleScheme();
11041       }
11042     }
11043 
11044     private static class removeSystemProperty_argsTupleScheme extends TupleScheme<removeSystemProperty_args> {
11045 
11046       @Override
11047       public void write(org.apache.thrift.protocol.TProtocol prot, removeSystemProperty_args struct) throws org.apache.thrift.TException {
11048         TTupleProtocol oprot = (TTupleProtocol) prot;
11049         BitSet optionals = new BitSet();
11050         if (struct.isSetTinfo()) {
11051           optionals.set(0);
11052         }
11053         if (struct.isSetCredential()) {
11054           optionals.set(1);
11055         }
11056         if (struct.isSetProperty()) {
11057           optionals.set(2);
11058         }
11059         oprot.writeBitSet(optionals, 3);
11060         if (struct.isSetTinfo()) {
11061           struct.tinfo.write(oprot);
11062         }
11063         if (struct.isSetCredential()) {
11064           struct.credential.write(oprot);
11065         }
11066         if (struct.isSetProperty()) {
11067           oprot.writeString(struct.property);
11068         }
11069       }
11070 
11071       @Override
11072       public void read(org.apache.thrift.protocol.TProtocol prot, removeSystemProperty_args struct) throws org.apache.thrift.TException {
11073         TTupleProtocol iprot = (TTupleProtocol) prot;
11074         BitSet incoming = iprot.readBitSet(3);
11075         if (incoming.get(0)) {
11076           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
11077           struct.tinfo.read(iprot);
11078           struct.setTinfoIsSet(true);
11079         }
11080         if (incoming.get(1)) {
11081           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
11082           struct.credential.read(iprot);
11083           struct.setCredentialIsSet(true);
11084         }
11085         if (incoming.get(2)) {
11086           struct.property = iprot.readString();
11087           struct.setPropertyIsSet(true);
11088         }
11089       }
11090     }
11091 
11092   }
11093 
11094   public static class removeSystemProperty_result implements org.apache.thrift.TBase<removeSystemProperty_result, removeSystemProperty_result._Fields>, java.io.Serializable, Cloneable   {
11095     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("removeSystemProperty_result");
11096 
11097     private static final org.apache.thrift.protocol.TField SEC_FIELD_DESC = new org.apache.thrift.protocol.TField("sec", org.apache.thrift.protocol.TType.STRUCT, (short)1);
11098 
11099     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
11100     static {
11101       schemes.put(StandardScheme.class, new removeSystemProperty_resultStandardSchemeFactory());
11102       schemes.put(TupleScheme.class, new removeSystemProperty_resultTupleSchemeFactory());
11103     }
11104 
11105     public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required
11106 
11107     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
11108     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
11109       SEC((short)1, "sec");
11110 
11111       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
11112 
11113       static {
11114         for (_Fields field : EnumSet.allOf(_Fields.class)) {
11115           byName.put(field.getFieldName(), field);
11116         }
11117       }
11118 
11119       /**
11120        * Find the _Fields constant that matches fieldId, or null if its not found.
11121        */
11122       public static _Fields findByThriftId(int fieldId) {
11123         switch(fieldId) {
11124           case 1: // SEC
11125             return SEC;
11126           default:
11127             return null;
11128         }
11129       }
11130 
11131       /**
11132        * Find the _Fields constant that matches fieldId, throwing an exception
11133        * if it is not found.
11134        */
11135       public static _Fields findByThriftIdOrThrow(int fieldId) {
11136         _Fields fields = findByThriftId(fieldId);
11137         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
11138         return fields;
11139       }
11140 
11141       /**
11142        * Find the _Fields constant that matches name, or null if its not found.
11143        */
11144       public static _Fields findByName(String name) {
11145         return byName.get(name);
11146       }
11147 
11148       private final short _thriftId;
11149       private final String _fieldName;
11150 
11151       _Fields(short thriftId, String fieldName) {
11152         _thriftId = thriftId;
11153         _fieldName = fieldName;
11154       }
11155 
11156       public short getThriftFieldId() {
11157         return _thriftId;
11158       }
11159 
11160       public String getFieldName() {
11161         return _fieldName;
11162       }
11163     }
11164 
11165     // isset id assignments
11166     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
11167     static {
11168       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
11169       tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, 
11170           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
11171       metaDataMap = Collections.unmodifiableMap(tmpMap);
11172       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(removeSystemProperty_result.class, metaDataMap);
11173     }
11174 
11175     public removeSystemProperty_result() {
11176     }
11177 
11178     public removeSystemProperty_result(
11179       org.apache.accumulo.core.security.thrift.ThriftSecurityException sec)
11180     {
11181       this();
11182       this.sec = sec;
11183     }
11184 
11185     /**
11186      * Performs a deep copy on <i>other</i>.
11187      */
11188     public removeSystemProperty_result(removeSystemProperty_result other) {
11189       if (other.isSetSec()) {
11190         this.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(other.sec);
11191       }
11192     }
11193 
11194     public removeSystemProperty_result deepCopy() {
11195       return new removeSystemProperty_result(this);
11196     }
11197 
11198     @Override
11199     public void clear() {
11200       this.sec = null;
11201     }
11202 
11203     public org.apache.accumulo.core.security.thrift.ThriftSecurityException getSec() {
11204       return this.sec;
11205     }
11206 
11207     public removeSystemProperty_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
11208       this.sec = sec;
11209       return this;
11210     }
11211 
11212     public void unsetSec() {
11213       this.sec = null;
11214     }
11215 
11216     /** Returns true if field sec is set (has been assigned a value) and false otherwise */
11217     public boolean isSetSec() {
11218       return this.sec != null;
11219     }
11220 
11221     public void setSecIsSet(boolean value) {
11222       if (!value) {
11223         this.sec = null;
11224       }
11225     }
11226 
11227     public void setFieldValue(_Fields field, Object value) {
11228       switch (field) {
11229       case SEC:
11230         if (value == null) {
11231           unsetSec();
11232         } else {
11233           setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value);
11234         }
11235         break;
11236 
11237       }
11238     }
11239 
11240     public Object getFieldValue(_Fields field) {
11241       switch (field) {
11242       case SEC:
11243         return getSec();
11244 
11245       }
11246       throw new IllegalStateException();
11247     }
11248 
11249     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
11250     public boolean isSet(_Fields field) {
11251       if (field == null) {
11252         throw new IllegalArgumentException();
11253       }
11254 
11255       switch (field) {
11256       case SEC:
11257         return isSetSec();
11258       }
11259       throw new IllegalStateException();
11260     }
11261 
11262     @Override
11263     public boolean equals(Object that) {
11264       if (that == null)
11265         return false;
11266       if (that instanceof removeSystemProperty_result)
11267         return this.equals((removeSystemProperty_result)that);
11268       return false;
11269     }
11270 
11271     public boolean equals(removeSystemProperty_result that) {
11272       if (that == null)
11273         return false;
11274 
11275       boolean this_present_sec = true && this.isSetSec();
11276       boolean that_present_sec = true && that.isSetSec();
11277       if (this_present_sec || that_present_sec) {
11278         if (!(this_present_sec && that_present_sec))
11279           return false;
11280         if (!this.sec.equals(that.sec))
11281           return false;
11282       }
11283 
11284       return true;
11285     }
11286 
11287     @Override
11288     public int hashCode() {
11289       return 0;
11290     }
11291 
11292     public int compareTo(removeSystemProperty_result other) {
11293       if (!getClass().equals(other.getClass())) {
11294         return getClass().getName().compareTo(other.getClass().getName());
11295       }
11296 
11297       int lastComparison = 0;
11298       removeSystemProperty_result typedOther = (removeSystemProperty_result)other;
11299 
11300       lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec());
11301       if (lastComparison != 0) {
11302         return lastComparison;
11303       }
11304       if (isSetSec()) {
11305         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec);
11306         if (lastComparison != 0) {
11307           return lastComparison;
11308         }
11309       }
11310       return 0;
11311     }
11312 
11313     public _Fields fieldForId(int fieldId) {
11314       return _Fields.findByThriftId(fieldId);
11315     }
11316 
11317     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
11318       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
11319     }
11320 
11321     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
11322       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
11323       }
11324 
11325     @Override
11326     public String toString() {
11327       StringBuilder sb = new StringBuilder("removeSystemProperty_result(");
11328       boolean first = true;
11329 
11330       sb.append("sec:");
11331       if (this.sec == null) {
11332         sb.append("null");
11333       } else {
11334         sb.append(this.sec);
11335       }
11336       first = false;
11337       sb.append(")");
11338       return sb.toString();
11339     }
11340 
11341     public void validate() throws org.apache.thrift.TException {
11342       // check for required fields
11343       // check for sub-struct validity
11344     }
11345 
11346     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
11347       try {
11348         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
11349       } catch (org.apache.thrift.TException te) {
11350         throw new java.io.IOException(te);
11351       }
11352     }
11353 
11354     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
11355       try {
11356         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
11357       } catch (org.apache.thrift.TException te) {
11358         throw new java.io.IOException(te);
11359       }
11360     }
11361 
11362     private static class removeSystemProperty_resultStandardSchemeFactory implements SchemeFactory {
11363       public removeSystemProperty_resultStandardScheme getScheme() {
11364         return new removeSystemProperty_resultStandardScheme();
11365       }
11366     }
11367 
11368     private static class removeSystemProperty_resultStandardScheme extends StandardScheme<removeSystemProperty_result> {
11369 
11370       public void read(org.apache.thrift.protocol.TProtocol iprot, removeSystemProperty_result struct) throws org.apache.thrift.TException {
11371         org.apache.thrift.protocol.TField schemeField;
11372         iprot.readStructBegin();
11373         while (true)
11374         {
11375           schemeField = iprot.readFieldBegin();
11376           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
11377             break;
11378           }
11379           switch (schemeField.id) {
11380             case 1: // SEC
11381               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
11382                 struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
11383                 struct.sec.read(iprot);
11384                 struct.setSecIsSet(true);
11385               } else { 
11386                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
11387               }
11388               break;
11389             default:
11390               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
11391           }
11392           iprot.readFieldEnd();
11393         }
11394         iprot.readStructEnd();
11395 
11396         // check for required fields of primitive type, which can't be checked in the validate method
11397         struct.validate();
11398       }
11399 
11400       public void write(org.apache.thrift.protocol.TProtocol oprot, removeSystemProperty_result struct) throws org.apache.thrift.TException {
11401         struct.validate();
11402 
11403         oprot.writeStructBegin(STRUCT_DESC);
11404         if (struct.sec != null) {
11405           oprot.writeFieldBegin(SEC_FIELD_DESC);
11406           struct.sec.write(oprot);
11407           oprot.writeFieldEnd();
11408         }
11409         oprot.writeFieldStop();
11410         oprot.writeStructEnd();
11411       }
11412 
11413     }
11414 
11415     private static class removeSystemProperty_resultTupleSchemeFactory implements SchemeFactory {
11416       public removeSystemProperty_resultTupleScheme getScheme() {
11417         return new removeSystemProperty_resultTupleScheme();
11418       }
11419     }
11420 
11421     private static class removeSystemProperty_resultTupleScheme extends TupleScheme<removeSystemProperty_result> {
11422 
11423       @Override
11424       public void write(org.apache.thrift.protocol.TProtocol prot, removeSystemProperty_result struct) throws org.apache.thrift.TException {
11425         TTupleProtocol oprot = (TTupleProtocol) prot;
11426         BitSet optionals = new BitSet();
11427         if (struct.isSetSec()) {
11428           optionals.set(0);
11429         }
11430         oprot.writeBitSet(optionals, 1);
11431         if (struct.isSetSec()) {
11432           struct.sec.write(oprot);
11433         }
11434       }
11435 
11436       @Override
11437       public void read(org.apache.thrift.protocol.TProtocol prot, removeSystemProperty_result struct) throws org.apache.thrift.TException {
11438         TTupleProtocol iprot = (TTupleProtocol) prot;
11439         BitSet incoming = iprot.readBitSet(1);
11440         if (incoming.get(0)) {
11441           struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
11442           struct.sec.read(iprot);
11443           struct.setSecIsSet(true);
11444         }
11445       }
11446     }
11447 
11448   }
11449 
11450   public static class getMasterStats_args implements org.apache.thrift.TBase<getMasterStats_args, getMasterStats_args._Fields>, java.io.Serializable, Cloneable   {
11451     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getMasterStats_args");
11452 
11453     private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)2);
11454     private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1);
11455 
11456     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
11457     static {
11458       schemes.put(StandardScheme.class, new getMasterStats_argsStandardSchemeFactory());
11459       schemes.put(TupleScheme.class, new getMasterStats_argsTupleSchemeFactory());
11460     }
11461 
11462     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
11463     public org.apache.accumulo.core.security.thrift.Credential credential; // required
11464 
11465     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
11466     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
11467       TINFO((short)2, "tinfo"),
11468       CREDENTIAL((short)1, "credential");
11469 
11470       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
11471 
11472       static {
11473         for (_Fields field : EnumSet.allOf(_Fields.class)) {
11474           byName.put(field.getFieldName(), field);
11475         }
11476       }
11477 
11478       /**
11479        * Find the _Fields constant that matches fieldId, or null if its not found.
11480        */
11481       public static _Fields findByThriftId(int fieldId) {
11482         switch(fieldId) {
11483           case 2: // TINFO
11484             return TINFO;
11485           case 1: // CREDENTIAL
11486             return CREDENTIAL;
11487           default:
11488             return null;
11489         }
11490       }
11491 
11492       /**
11493        * Find the _Fields constant that matches fieldId, throwing an exception
11494        * if it is not found.
11495        */
11496       public static _Fields findByThriftIdOrThrow(int fieldId) {
11497         _Fields fields = findByThriftId(fieldId);
11498         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
11499         return fields;
11500       }
11501 
11502       /**
11503        * Find the _Fields constant that matches name, or null if its not found.
11504        */
11505       public static _Fields findByName(String name) {
11506         return byName.get(name);
11507       }
11508 
11509       private final short _thriftId;
11510       private final String _fieldName;
11511 
11512       _Fields(short thriftId, String fieldName) {
11513         _thriftId = thriftId;
11514         _fieldName = fieldName;
11515       }
11516 
11517       public short getThriftFieldId() {
11518         return _thriftId;
11519       }
11520 
11521       public String getFieldName() {
11522         return _fieldName;
11523       }
11524     }
11525 
11526     // isset id assignments
11527     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
11528     static {
11529       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
11530       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
11531           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
11532       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
11533           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
11534       metaDataMap = Collections.unmodifiableMap(tmpMap);
11535       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getMasterStats_args.class, metaDataMap);
11536     }
11537 
11538     public getMasterStats_args() {
11539     }
11540 
11541     public getMasterStats_args(
11542       org.apache.accumulo.trace.thrift.TInfo tinfo,
11543       org.apache.accumulo.core.security.thrift.Credential credential)
11544     {
11545       this();
11546       this.tinfo = tinfo;
11547       this.credential = credential;
11548     }
11549 
11550     /**
11551      * Performs a deep copy on <i>other</i>.
11552      */
11553     public getMasterStats_args(getMasterStats_args other) {
11554       if (other.isSetTinfo()) {
11555         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
11556       }
11557       if (other.isSetCredential()) {
11558         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
11559       }
11560     }
11561 
11562     public getMasterStats_args deepCopy() {
11563       return new getMasterStats_args(this);
11564     }
11565 
11566     @Override
11567     public void clear() {
11568       this.tinfo = null;
11569       this.credential = null;
11570     }
11571 
11572     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
11573       return this.tinfo;
11574     }
11575 
11576     public getMasterStats_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
11577       this.tinfo = tinfo;
11578       return this;
11579     }
11580 
11581     public void unsetTinfo() {
11582       this.tinfo = null;
11583     }
11584 
11585     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
11586     public boolean isSetTinfo() {
11587       return this.tinfo != null;
11588     }
11589 
11590     public void setTinfoIsSet(boolean value) {
11591       if (!value) {
11592         this.tinfo = null;
11593       }
11594     }
11595 
11596     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
11597       return this.credential;
11598     }
11599 
11600     public getMasterStats_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
11601       this.credential = credential;
11602       return this;
11603     }
11604 
11605     public void unsetCredential() {
11606       this.credential = null;
11607     }
11608 
11609     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
11610     public boolean isSetCredential() {
11611       return this.credential != null;
11612     }
11613 
11614     public void setCredentialIsSet(boolean value) {
11615       if (!value) {
11616         this.credential = null;
11617       }
11618     }
11619 
11620     public void setFieldValue(_Fields field, Object value) {
11621       switch (field) {
11622       case TINFO:
11623         if (value == null) {
11624           unsetTinfo();
11625         } else {
11626           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
11627         }
11628         break;
11629 
11630       case CREDENTIAL:
11631         if (value == null) {
11632           unsetCredential();
11633         } else {
11634           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
11635         }
11636         break;
11637 
11638       }
11639     }
11640 
11641     public Object getFieldValue(_Fields field) {
11642       switch (field) {
11643       case TINFO:
11644         return getTinfo();
11645 
11646       case CREDENTIAL:
11647         return getCredential();
11648 
11649       }
11650       throw new IllegalStateException();
11651     }
11652 
11653     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
11654     public boolean isSet(_Fields field) {
11655       if (field == null) {
11656         throw new IllegalArgumentException();
11657       }
11658 
11659       switch (field) {
11660       case TINFO:
11661         return isSetTinfo();
11662       case CREDENTIAL:
11663         return isSetCredential();
11664       }
11665       throw new IllegalStateException();
11666     }
11667 
11668     @Override
11669     public boolean equals(Object that) {
11670       if (that == null)
11671         return false;
11672       if (that instanceof getMasterStats_args)
11673         return this.equals((getMasterStats_args)that);
11674       return false;
11675     }
11676 
11677     public boolean equals(getMasterStats_args that) {
11678       if (that == null)
11679         return false;
11680 
11681       boolean this_present_tinfo = true && this.isSetTinfo();
11682       boolean that_present_tinfo = true && that.isSetTinfo();
11683       if (this_present_tinfo || that_present_tinfo) {
11684         if (!(this_present_tinfo && that_present_tinfo))
11685           return false;
11686         if (!this.tinfo.equals(that.tinfo))
11687           return false;
11688       }
11689 
11690       boolean this_present_credential = true && this.isSetCredential();
11691       boolean that_present_credential = true && that.isSetCredential();
11692       if (this_present_credential || that_present_credential) {
11693         if (!(this_present_credential && that_present_credential))
11694           return false;
11695         if (!this.credential.equals(that.credential))
11696           return false;
11697       }
11698 
11699       return true;
11700     }
11701 
11702     @Override
11703     public int hashCode() {
11704       return 0;
11705     }
11706 
11707     public int compareTo(getMasterStats_args other) {
11708       if (!getClass().equals(other.getClass())) {
11709         return getClass().getName().compareTo(other.getClass().getName());
11710       }
11711 
11712       int lastComparison = 0;
11713       getMasterStats_args typedOther = (getMasterStats_args)other;
11714 
11715       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
11716       if (lastComparison != 0) {
11717         return lastComparison;
11718       }
11719       if (isSetTinfo()) {
11720         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
11721         if (lastComparison != 0) {
11722           return lastComparison;
11723         }
11724       }
11725       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
11726       if (lastComparison != 0) {
11727         return lastComparison;
11728       }
11729       if (isSetCredential()) {
11730         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
11731         if (lastComparison != 0) {
11732           return lastComparison;
11733         }
11734       }
11735       return 0;
11736     }
11737 
11738     public _Fields fieldForId(int fieldId) {
11739       return _Fields.findByThriftId(fieldId);
11740     }
11741 
11742     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
11743       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
11744     }
11745 
11746     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
11747       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
11748     }
11749 
11750     @Override
11751     public String toString() {
11752       StringBuilder sb = new StringBuilder("getMasterStats_args(");
11753       boolean first = true;
11754 
11755       sb.append("tinfo:");
11756       if (this.tinfo == null) {
11757         sb.append("null");
11758       } else {
11759         sb.append(this.tinfo);
11760       }
11761       first = false;
11762       if (!first) sb.append(", ");
11763       sb.append("credential:");
11764       if (this.credential == null) {
11765         sb.append("null");
11766       } else {
11767         sb.append(this.credential);
11768       }
11769       first = false;
11770       sb.append(")");
11771       return sb.toString();
11772     }
11773 
11774     public void validate() throws org.apache.thrift.TException {
11775       // check for required fields
11776       // check for sub-struct validity
11777       if (tinfo != null) {
11778         tinfo.validate();
11779       }
11780       if (credential != null) {
11781         credential.validate();
11782       }
11783     }
11784 
11785     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
11786       try {
11787         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
11788       } catch (org.apache.thrift.TException te) {
11789         throw new java.io.IOException(te);
11790       }
11791     }
11792 
11793     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
11794       try {
11795         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
11796       } catch (org.apache.thrift.TException te) {
11797         throw new java.io.IOException(te);
11798       }
11799     }
11800 
11801     private static class getMasterStats_argsStandardSchemeFactory implements SchemeFactory {
11802       public getMasterStats_argsStandardScheme getScheme() {
11803         return new getMasterStats_argsStandardScheme();
11804       }
11805     }
11806 
11807     private static class getMasterStats_argsStandardScheme extends StandardScheme<getMasterStats_args> {
11808 
11809       public void read(org.apache.thrift.protocol.TProtocol iprot, getMasterStats_args struct) throws org.apache.thrift.TException {
11810         org.apache.thrift.protocol.TField schemeField;
11811         iprot.readStructBegin();
11812         while (true)
11813         {
11814           schemeField = iprot.readFieldBegin();
11815           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
11816             break;
11817           }
11818           switch (schemeField.id) {
11819             case 2: // TINFO
11820               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
11821                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
11822                 struct.tinfo.read(iprot);
11823                 struct.setTinfoIsSet(true);
11824               } else { 
11825                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
11826               }
11827               break;
11828             case 1: // CREDENTIAL
11829               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
11830                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
11831                 struct.credential.read(iprot);
11832                 struct.setCredentialIsSet(true);
11833               } else { 
11834                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
11835               }
11836               break;
11837             default:
11838               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
11839           }
11840           iprot.readFieldEnd();
11841         }
11842         iprot.readStructEnd();
11843 
11844         // check for required fields of primitive type, which can't be checked in the validate method
11845         struct.validate();
11846       }
11847 
11848       public void write(org.apache.thrift.protocol.TProtocol oprot, getMasterStats_args struct) throws org.apache.thrift.TException {
11849         struct.validate();
11850 
11851         oprot.writeStructBegin(STRUCT_DESC);
11852         if (struct.credential != null) {
11853           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
11854           struct.credential.write(oprot);
11855           oprot.writeFieldEnd();
11856         }
11857         if (struct.tinfo != null) {
11858           oprot.writeFieldBegin(TINFO_FIELD_DESC);
11859           struct.tinfo.write(oprot);
11860           oprot.writeFieldEnd();
11861         }
11862         oprot.writeFieldStop();
11863         oprot.writeStructEnd();
11864       }
11865 
11866     }
11867 
11868     private static class getMasterStats_argsTupleSchemeFactory implements SchemeFactory {
11869       public getMasterStats_argsTupleScheme getScheme() {
11870         return new getMasterStats_argsTupleScheme();
11871       }
11872     }
11873 
11874     private static class getMasterStats_argsTupleScheme extends TupleScheme<getMasterStats_args> {
11875 
11876       @Override
11877       public void write(org.apache.thrift.protocol.TProtocol prot, getMasterStats_args struct) throws org.apache.thrift.TException {
11878         TTupleProtocol oprot = (TTupleProtocol) prot;
11879         BitSet optionals = new BitSet();
11880         if (struct.isSetTinfo()) {
11881           optionals.set(0);
11882         }
11883         if (struct.isSetCredential()) {
11884           optionals.set(1);
11885         }
11886         oprot.writeBitSet(optionals, 2);
11887         if (struct.isSetTinfo()) {
11888           struct.tinfo.write(oprot);
11889         }
11890         if (struct.isSetCredential()) {
11891           struct.credential.write(oprot);
11892         }
11893       }
11894 
11895       @Override
11896       public void read(org.apache.thrift.protocol.TProtocol prot, getMasterStats_args struct) throws org.apache.thrift.TException {
11897         TTupleProtocol iprot = (TTupleProtocol) prot;
11898         BitSet incoming = iprot.readBitSet(2);
11899         if (incoming.get(0)) {
11900           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
11901           struct.tinfo.read(iprot);
11902           struct.setTinfoIsSet(true);
11903         }
11904         if (incoming.get(1)) {
11905           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
11906           struct.credential.read(iprot);
11907           struct.setCredentialIsSet(true);
11908         }
11909       }
11910     }
11911 
11912   }
11913 
11914   public static class getMasterStats_result implements org.apache.thrift.TBase<getMasterStats_result, getMasterStats_result._Fields>, java.io.Serializable, Cloneable   {
11915     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getMasterStats_result");
11916 
11917     private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
11918     private static final org.apache.thrift.protocol.TField SEC_FIELD_DESC = new org.apache.thrift.protocol.TField("sec", org.apache.thrift.protocol.TType.STRUCT, (short)1);
11919 
11920     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
11921     static {
11922       schemes.put(StandardScheme.class, new getMasterStats_resultStandardSchemeFactory());
11923       schemes.put(TupleScheme.class, new getMasterStats_resultTupleSchemeFactory());
11924     }
11925 
11926     public MasterMonitorInfo success; // required
11927     public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required
11928 
11929     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
11930     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
11931       SUCCESS((short)0, "success"),
11932       SEC((short)1, "sec");
11933 
11934       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
11935 
11936       static {
11937         for (_Fields field : EnumSet.allOf(_Fields.class)) {
11938           byName.put(field.getFieldName(), field);
11939         }
11940       }
11941 
11942       /**
11943        * Find the _Fields constant that matches fieldId, or null if its not found.
11944        */
11945       public static _Fields findByThriftId(int fieldId) {
11946         switch(fieldId) {
11947           case 0: // SUCCESS
11948             return SUCCESS;
11949           case 1: // SEC
11950             return SEC;
11951           default:
11952             return null;
11953         }
11954       }
11955 
11956       /**
11957        * Find the _Fields constant that matches fieldId, throwing an exception
11958        * if it is not found.
11959        */
11960       public static _Fields findByThriftIdOrThrow(int fieldId) {
11961         _Fields fields = findByThriftId(fieldId);
11962         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
11963         return fields;
11964       }
11965 
11966       /**
11967        * Find the _Fields constant that matches name, or null if its not found.
11968        */
11969       public static _Fields findByName(String name) {
11970         return byName.get(name);
11971       }
11972 
11973       private final short _thriftId;
11974       private final String _fieldName;
11975 
11976       _Fields(short thriftId, String fieldName) {
11977         _thriftId = thriftId;
11978         _fieldName = fieldName;
11979       }
11980 
11981       public short getThriftFieldId() {
11982         return _thriftId;
11983       }
11984 
11985       public String getFieldName() {
11986         return _fieldName;
11987       }
11988     }
11989 
11990     // isset id assignments
11991     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
11992     static {
11993       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
11994       tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
11995           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, MasterMonitorInfo.class)));
11996       tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, 
11997           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
11998       metaDataMap = Collections.unmodifiableMap(tmpMap);
11999       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getMasterStats_result.class, metaDataMap);
12000     }
12001 
12002     public getMasterStats_result() {
12003     }
12004 
12005     public getMasterStats_result(
12006       MasterMonitorInfo success,
12007       org.apache.accumulo.core.security.thrift.ThriftSecurityException sec)
12008     {
12009       this();
12010       this.success = success;
12011       this.sec = sec;
12012     }
12013 
12014     /**
12015      * Performs a deep copy on <i>other</i>.
12016      */
12017     public getMasterStats_result(getMasterStats_result other) {
12018       if (other.isSetSuccess()) {
12019         this.success = new MasterMonitorInfo(other.success);
12020       }
12021       if (other.isSetSec()) {
12022         this.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(other.sec);
12023       }
12024     }
12025 
12026     public getMasterStats_result deepCopy() {
12027       return new getMasterStats_result(this);
12028     }
12029 
12030     @Override
12031     public void clear() {
12032       this.success = null;
12033       this.sec = null;
12034     }
12035 
12036     public MasterMonitorInfo getSuccess() {
12037       return this.success;
12038     }
12039 
12040     public getMasterStats_result setSuccess(MasterMonitorInfo success) {
12041       this.success = success;
12042       return this;
12043     }
12044 
12045     public void unsetSuccess() {
12046       this.success = null;
12047     }
12048 
12049     /** Returns true if field success is set (has been assigned a value) and false otherwise */
12050     public boolean isSetSuccess() {
12051       return this.success != null;
12052     }
12053 
12054     public void setSuccessIsSet(boolean value) {
12055       if (!value) {
12056         this.success = null;
12057       }
12058     }
12059 
12060     public org.apache.accumulo.core.security.thrift.ThriftSecurityException getSec() {
12061       return this.sec;
12062     }
12063 
12064     public getMasterStats_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
12065       this.sec = sec;
12066       return this;
12067     }
12068 
12069     public void unsetSec() {
12070       this.sec = null;
12071     }
12072 
12073     /** Returns true if field sec is set (has been assigned a value) and false otherwise */
12074     public boolean isSetSec() {
12075       return this.sec != null;
12076     }
12077 
12078     public void setSecIsSet(boolean value) {
12079       if (!value) {
12080         this.sec = null;
12081       }
12082     }
12083 
12084     public void setFieldValue(_Fields field, Object value) {
12085       switch (field) {
12086       case SUCCESS:
12087         if (value == null) {
12088           unsetSuccess();
12089         } else {
12090           setSuccess((MasterMonitorInfo)value);
12091         }
12092         break;
12093 
12094       case SEC:
12095         if (value == null) {
12096           unsetSec();
12097         } else {
12098           setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value);
12099         }
12100         break;
12101 
12102       }
12103     }
12104 
12105     public Object getFieldValue(_Fields field) {
12106       switch (field) {
12107       case SUCCESS:
12108         return getSuccess();
12109 
12110       case SEC:
12111         return getSec();
12112 
12113       }
12114       throw new IllegalStateException();
12115     }
12116 
12117     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
12118     public boolean isSet(_Fields field) {
12119       if (field == null) {
12120         throw new IllegalArgumentException();
12121       }
12122 
12123       switch (field) {
12124       case SUCCESS:
12125         return isSetSuccess();
12126       case SEC:
12127         return isSetSec();
12128       }
12129       throw new IllegalStateException();
12130     }
12131 
12132     @Override
12133     public boolean equals(Object that) {
12134       if (that == null)
12135         return false;
12136       if (that instanceof getMasterStats_result)
12137         return this.equals((getMasterStats_result)that);
12138       return false;
12139     }
12140 
12141     public boolean equals(getMasterStats_result that) {
12142       if (that == null)
12143         return false;
12144 
12145       boolean this_present_success = true && this.isSetSuccess();
12146       boolean that_present_success = true && that.isSetSuccess();
12147       if (this_present_success || that_present_success) {
12148         if (!(this_present_success && that_present_success))
12149           return false;
12150         if (!this.success.equals(that.success))
12151           return false;
12152       }
12153 
12154       boolean this_present_sec = true && this.isSetSec();
12155       boolean that_present_sec = true && that.isSetSec();
12156       if (this_present_sec || that_present_sec) {
12157         if (!(this_present_sec && that_present_sec))
12158           return false;
12159         if (!this.sec.equals(that.sec))
12160           return false;
12161       }
12162 
12163       return true;
12164     }
12165 
12166     @Override
12167     public int hashCode() {
12168       return 0;
12169     }
12170 
12171     public int compareTo(getMasterStats_result other) {
12172       if (!getClass().equals(other.getClass())) {
12173         return getClass().getName().compareTo(other.getClass().getName());
12174       }
12175 
12176       int lastComparison = 0;
12177       getMasterStats_result typedOther = (getMasterStats_result)other;
12178 
12179       lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
12180       if (lastComparison != 0) {
12181         return lastComparison;
12182       }
12183       if (isSetSuccess()) {
12184         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
12185         if (lastComparison != 0) {
12186           return lastComparison;
12187         }
12188       }
12189       lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec());
12190       if (lastComparison != 0) {
12191         return lastComparison;
12192       }
12193       if (isSetSec()) {
12194         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec);
12195         if (lastComparison != 0) {
12196           return lastComparison;
12197         }
12198       }
12199       return 0;
12200     }
12201 
12202     public _Fields fieldForId(int fieldId) {
12203       return _Fields.findByThriftId(fieldId);
12204     }
12205 
12206     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
12207       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
12208     }
12209 
12210     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
12211       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
12212       }
12213 
12214     @Override
12215     public String toString() {
12216       StringBuilder sb = new StringBuilder("getMasterStats_result(");
12217       boolean first = true;
12218 
12219       sb.append("success:");
12220       if (this.success == null) {
12221         sb.append("null");
12222       } else {
12223         sb.append(this.success);
12224       }
12225       first = false;
12226       if (!first) sb.append(", ");
12227       sb.append("sec:");
12228       if (this.sec == null) {
12229         sb.append("null");
12230       } else {
12231         sb.append(this.sec);
12232       }
12233       first = false;
12234       sb.append(")");
12235       return sb.toString();
12236     }
12237 
12238     public void validate() throws org.apache.thrift.TException {
12239       // check for required fields
12240       // check for sub-struct validity
12241       if (success != null) {
12242         success.validate();
12243       }
12244     }
12245 
12246     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
12247       try {
12248         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
12249       } catch (org.apache.thrift.TException te) {
12250         throw new java.io.IOException(te);
12251       }
12252     }
12253 
12254     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
12255       try {
12256         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
12257       } catch (org.apache.thrift.TException te) {
12258         throw new java.io.IOException(te);
12259       }
12260     }
12261 
12262     private static class getMasterStats_resultStandardSchemeFactory implements SchemeFactory {
12263       public getMasterStats_resultStandardScheme getScheme() {
12264         return new getMasterStats_resultStandardScheme();
12265       }
12266     }
12267 
12268     private static class getMasterStats_resultStandardScheme extends StandardScheme<getMasterStats_result> {
12269 
12270       public void read(org.apache.thrift.protocol.TProtocol iprot, getMasterStats_result struct) throws org.apache.thrift.TException {
12271         org.apache.thrift.protocol.TField schemeField;
12272         iprot.readStructBegin();
12273         while (true)
12274         {
12275           schemeField = iprot.readFieldBegin();
12276           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
12277             break;
12278           }
12279           switch (schemeField.id) {
12280             case 0: // SUCCESS
12281               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
12282                 struct.success = new MasterMonitorInfo();
12283                 struct.success.read(iprot);
12284                 struct.setSuccessIsSet(true);
12285               } else { 
12286                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
12287               }
12288               break;
12289             case 1: // SEC
12290               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
12291                 struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
12292                 struct.sec.read(iprot);
12293                 struct.setSecIsSet(true);
12294               } else { 
12295                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
12296               }
12297               break;
12298             default:
12299               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
12300           }
12301           iprot.readFieldEnd();
12302         }
12303         iprot.readStructEnd();
12304 
12305         // check for required fields of primitive type, which can't be checked in the validate method
12306         struct.validate();
12307       }
12308 
12309       public void write(org.apache.thrift.protocol.TProtocol oprot, getMasterStats_result struct) throws org.apache.thrift.TException {
12310         struct.validate();
12311 
12312         oprot.writeStructBegin(STRUCT_DESC);
12313         if (struct.success != null) {
12314           oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
12315           struct.success.write(oprot);
12316           oprot.writeFieldEnd();
12317         }
12318         if (struct.sec != null) {
12319           oprot.writeFieldBegin(SEC_FIELD_DESC);
12320           struct.sec.write(oprot);
12321           oprot.writeFieldEnd();
12322         }
12323         oprot.writeFieldStop();
12324         oprot.writeStructEnd();
12325       }
12326 
12327     }
12328 
12329     private static class getMasterStats_resultTupleSchemeFactory implements SchemeFactory {
12330       public getMasterStats_resultTupleScheme getScheme() {
12331         return new getMasterStats_resultTupleScheme();
12332       }
12333     }
12334 
12335     private static class getMasterStats_resultTupleScheme extends TupleScheme<getMasterStats_result> {
12336 
12337       @Override
12338       public void write(org.apache.thrift.protocol.TProtocol prot, getMasterStats_result struct) throws org.apache.thrift.TException {
12339         TTupleProtocol oprot = (TTupleProtocol) prot;
12340         BitSet optionals = new BitSet();
12341         if (struct.isSetSuccess()) {
12342           optionals.set(0);
12343         }
12344         if (struct.isSetSec()) {
12345           optionals.set(1);
12346         }
12347         oprot.writeBitSet(optionals, 2);
12348         if (struct.isSetSuccess()) {
12349           struct.success.write(oprot);
12350         }
12351         if (struct.isSetSec()) {
12352           struct.sec.write(oprot);
12353         }
12354       }
12355 
12356       @Override
12357       public void read(org.apache.thrift.protocol.TProtocol prot, getMasterStats_result struct) throws org.apache.thrift.TException {
12358         TTupleProtocol iprot = (TTupleProtocol) prot;
12359         BitSet incoming = iprot.readBitSet(2);
12360         if (incoming.get(0)) {
12361           struct.success = new MasterMonitorInfo();
12362           struct.success.read(iprot);
12363           struct.setSuccessIsSet(true);
12364         }
12365         if (incoming.get(1)) {
12366           struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
12367           struct.sec.read(iprot);
12368           struct.setSecIsSet(true);
12369         }
12370       }
12371     }
12372 
12373   }
12374 
12375   public static class reportSplitExtent_args implements org.apache.thrift.TBase<reportSplitExtent_args, reportSplitExtent_args._Fields>, java.io.Serializable, Cloneable   {
12376     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("reportSplitExtent_args");
12377 
12378     private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)4);
12379     private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1);
12380     private static final org.apache.thrift.protocol.TField SERVER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("serverName", org.apache.thrift.protocol.TType.STRING, (short)2);
12381     private static final org.apache.thrift.protocol.TField SPLIT_FIELD_DESC = new org.apache.thrift.protocol.TField("split", org.apache.thrift.protocol.TType.STRUCT, (short)3);
12382 
12383     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
12384     static {
12385       schemes.put(StandardScheme.class, new reportSplitExtent_argsStandardSchemeFactory());
12386       schemes.put(TupleScheme.class, new reportSplitExtent_argsTupleSchemeFactory());
12387     }
12388 
12389     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
12390     public org.apache.accumulo.core.security.thrift.Credential credential; // required
12391     public String serverName; // required
12392     public TabletSplit split; // required
12393 
12394     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
12395     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
12396       TINFO((short)4, "tinfo"),
12397       CREDENTIAL((short)1, "credential"),
12398       SERVER_NAME((short)2, "serverName"),
12399       SPLIT((short)3, "split");
12400 
12401       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
12402 
12403       static {
12404         for (_Fields field : EnumSet.allOf(_Fields.class)) {
12405           byName.put(field.getFieldName(), field);
12406         }
12407       }
12408 
12409       /**
12410        * Find the _Fields constant that matches fieldId, or null if its not found.
12411        */
12412       public static _Fields findByThriftId(int fieldId) {
12413         switch(fieldId) {
12414           case 4: // TINFO
12415             return TINFO;
12416           case 1: // CREDENTIAL
12417             return CREDENTIAL;
12418           case 2: // SERVER_NAME
12419             return SERVER_NAME;
12420           case 3: // SPLIT
12421             return SPLIT;
12422           default:
12423             return null;
12424         }
12425       }
12426 
12427       /**
12428        * Find the _Fields constant that matches fieldId, throwing an exception
12429        * if it is not found.
12430        */
12431       public static _Fields findByThriftIdOrThrow(int fieldId) {
12432         _Fields fields = findByThriftId(fieldId);
12433         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
12434         return fields;
12435       }
12436 
12437       /**
12438        * Find the _Fields constant that matches name, or null if its not found.
12439        */
12440       public static _Fields findByName(String name) {
12441         return byName.get(name);
12442       }
12443 
12444       private final short _thriftId;
12445       private final String _fieldName;
12446 
12447       _Fields(short thriftId, String fieldName) {
12448         _thriftId = thriftId;
12449         _fieldName = fieldName;
12450       }
12451 
12452       public short getThriftFieldId() {
12453         return _thriftId;
12454       }
12455 
12456       public String getFieldName() {
12457         return _fieldName;
12458       }
12459     }
12460 
12461     // isset id assignments
12462     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
12463     static {
12464       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
12465       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
12466           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
12467       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
12468           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
12469       tmpMap.put(_Fields.SERVER_NAME, new org.apache.thrift.meta_data.FieldMetaData("serverName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
12470           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
12471       tmpMap.put(_Fields.SPLIT, new org.apache.thrift.meta_data.FieldMetaData("split", org.apache.thrift.TFieldRequirementType.DEFAULT, 
12472           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TabletSplit.class)));
12473       metaDataMap = Collections.unmodifiableMap(tmpMap);
12474       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(reportSplitExtent_args.class, metaDataMap);
12475     }
12476 
12477     public reportSplitExtent_args() {
12478     }
12479 
12480     public reportSplitExtent_args(
12481       org.apache.accumulo.trace.thrift.TInfo tinfo,
12482       org.apache.accumulo.core.security.thrift.Credential credential,
12483       String serverName,
12484       TabletSplit split)
12485     {
12486       this();
12487       this.tinfo = tinfo;
12488       this.credential = credential;
12489       this.serverName = serverName;
12490       this.split = split;
12491     }
12492 
12493     /**
12494      * Performs a deep copy on <i>other</i>.
12495      */
12496     public reportSplitExtent_args(reportSplitExtent_args other) {
12497       if (other.isSetTinfo()) {
12498         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
12499       }
12500       if (other.isSetCredential()) {
12501         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
12502       }
12503       if (other.isSetServerName()) {
12504         this.serverName = other.serverName;
12505       }
12506       if (other.isSetSplit()) {
12507         this.split = new TabletSplit(other.split);
12508       }
12509     }
12510 
12511     public reportSplitExtent_args deepCopy() {
12512       return new reportSplitExtent_args(this);
12513     }
12514 
12515     @Override
12516     public void clear() {
12517       this.tinfo = null;
12518       this.credential = null;
12519       this.serverName = null;
12520       this.split = null;
12521     }
12522 
12523     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
12524       return this.tinfo;
12525     }
12526 
12527     public reportSplitExtent_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
12528       this.tinfo = tinfo;
12529       return this;
12530     }
12531 
12532     public void unsetTinfo() {
12533       this.tinfo = null;
12534     }
12535 
12536     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
12537     public boolean isSetTinfo() {
12538       return this.tinfo != null;
12539     }
12540 
12541     public void setTinfoIsSet(boolean value) {
12542       if (!value) {
12543         this.tinfo = null;
12544       }
12545     }
12546 
12547     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
12548       return this.credential;
12549     }
12550 
12551     public reportSplitExtent_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
12552       this.credential = credential;
12553       return this;
12554     }
12555 
12556     public void unsetCredential() {
12557       this.credential = null;
12558     }
12559 
12560     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
12561     public boolean isSetCredential() {
12562       return this.credential != null;
12563     }
12564 
12565     public void setCredentialIsSet(boolean value) {
12566       if (!value) {
12567         this.credential = null;
12568       }
12569     }
12570 
12571     public String getServerName() {
12572       return this.serverName;
12573     }
12574 
12575     public reportSplitExtent_args setServerName(String serverName) {
12576       this.serverName = serverName;
12577       return this;
12578     }
12579 
12580     public void unsetServerName() {
12581       this.serverName = null;
12582     }
12583 
12584     /** Returns true if field serverName is set (has been assigned a value) and false otherwise */
12585     public boolean isSetServerName() {
12586       return this.serverName != null;
12587     }
12588 
12589     public void setServerNameIsSet(boolean value) {
12590       if (!value) {
12591         this.serverName = null;
12592       }
12593     }
12594 
12595     public TabletSplit getSplit() {
12596       return this.split;
12597     }
12598 
12599     public reportSplitExtent_args setSplit(TabletSplit split) {
12600       this.split = split;
12601       return this;
12602     }
12603 
12604     public void unsetSplit() {
12605       this.split = null;
12606     }
12607 
12608     /** Returns true if field split is set (has been assigned a value) and false otherwise */
12609     public boolean isSetSplit() {
12610       return this.split != null;
12611     }
12612 
12613     public void setSplitIsSet(boolean value) {
12614       if (!value) {
12615         this.split = null;
12616       }
12617     }
12618 
12619     public void setFieldValue(_Fields field, Object value) {
12620       switch (field) {
12621       case TINFO:
12622         if (value == null) {
12623           unsetTinfo();
12624         } else {
12625           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
12626         }
12627         break;
12628 
12629       case CREDENTIAL:
12630         if (value == null) {
12631           unsetCredential();
12632         } else {
12633           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
12634         }
12635         break;
12636 
12637       case SERVER_NAME:
12638         if (value == null) {
12639           unsetServerName();
12640         } else {
12641           setServerName((String)value);
12642         }
12643         break;
12644 
12645       case SPLIT:
12646         if (value == null) {
12647           unsetSplit();
12648         } else {
12649           setSplit((TabletSplit)value);
12650         }
12651         break;
12652 
12653       }
12654     }
12655 
12656     public Object getFieldValue(_Fields field) {
12657       switch (field) {
12658       case TINFO:
12659         return getTinfo();
12660 
12661       case CREDENTIAL:
12662         return getCredential();
12663 
12664       case SERVER_NAME:
12665         return getServerName();
12666 
12667       case SPLIT:
12668         return getSplit();
12669 
12670       }
12671       throw new IllegalStateException();
12672     }
12673 
12674     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
12675     public boolean isSet(_Fields field) {
12676       if (field == null) {
12677         throw new IllegalArgumentException();
12678       }
12679 
12680       switch (field) {
12681       case TINFO:
12682         return isSetTinfo();
12683       case CREDENTIAL:
12684         return isSetCredential();
12685       case SERVER_NAME:
12686         return isSetServerName();
12687       case SPLIT:
12688         return isSetSplit();
12689       }
12690       throw new IllegalStateException();
12691     }
12692 
12693     @Override
12694     public boolean equals(Object that) {
12695       if (that == null)
12696         return false;
12697       if (that instanceof reportSplitExtent_args)
12698         return this.equals((reportSplitExtent_args)that);
12699       return false;
12700     }
12701 
12702     public boolean equals(reportSplitExtent_args that) {
12703       if (that == null)
12704         return false;
12705 
12706       boolean this_present_tinfo = true && this.isSetTinfo();
12707       boolean that_present_tinfo = true && that.isSetTinfo();
12708       if (this_present_tinfo || that_present_tinfo) {
12709         if (!(this_present_tinfo && that_present_tinfo))
12710           return false;
12711         if (!this.tinfo.equals(that.tinfo))
12712           return false;
12713       }
12714 
12715       boolean this_present_credential = true && this.isSetCredential();
12716       boolean that_present_credential = true && that.isSetCredential();
12717       if (this_present_credential || that_present_credential) {
12718         if (!(this_present_credential && that_present_credential))
12719           return false;
12720         if (!this.credential.equals(that.credential))
12721           return false;
12722       }
12723 
12724       boolean this_present_serverName = true && this.isSetServerName();
12725       boolean that_present_serverName = true && that.isSetServerName();
12726       if (this_present_serverName || that_present_serverName) {
12727         if (!(this_present_serverName && that_present_serverName))
12728           return false;
12729         if (!this.serverName.equals(that.serverName))
12730           return false;
12731       }
12732 
12733       boolean this_present_split = true && this.isSetSplit();
12734       boolean that_present_split = true && that.isSetSplit();
12735       if (this_present_split || that_present_split) {
12736         if (!(this_present_split && that_present_split))
12737           return false;
12738         if (!this.split.equals(that.split))
12739           return false;
12740       }
12741 
12742       return true;
12743     }
12744 
12745     @Override
12746     public int hashCode() {
12747       return 0;
12748     }
12749 
12750     public int compareTo(reportSplitExtent_args other) {
12751       if (!getClass().equals(other.getClass())) {
12752         return getClass().getName().compareTo(other.getClass().getName());
12753       }
12754 
12755       int lastComparison = 0;
12756       reportSplitExtent_args typedOther = (reportSplitExtent_args)other;
12757 
12758       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
12759       if (lastComparison != 0) {
12760         return lastComparison;
12761       }
12762       if (isSetTinfo()) {
12763         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
12764         if (lastComparison != 0) {
12765           return lastComparison;
12766         }
12767       }
12768       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
12769       if (lastComparison != 0) {
12770         return lastComparison;
12771       }
12772       if (isSetCredential()) {
12773         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
12774         if (lastComparison != 0) {
12775           return lastComparison;
12776         }
12777       }
12778       lastComparison = Boolean.valueOf(isSetServerName()).compareTo(typedOther.isSetServerName());
12779       if (lastComparison != 0) {
12780         return lastComparison;
12781       }
12782       if (isSetServerName()) {
12783         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.serverName, typedOther.serverName);
12784         if (lastComparison != 0) {
12785           return lastComparison;
12786         }
12787       }
12788       lastComparison = Boolean.valueOf(isSetSplit()).compareTo(typedOther.isSetSplit());
12789       if (lastComparison != 0) {
12790         return lastComparison;
12791       }
12792       if (isSetSplit()) {
12793         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.split, typedOther.split);
12794         if (lastComparison != 0) {
12795           return lastComparison;
12796         }
12797       }
12798       return 0;
12799     }
12800 
12801     public _Fields fieldForId(int fieldId) {
12802       return _Fields.findByThriftId(fieldId);
12803     }
12804 
12805     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
12806       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
12807     }
12808 
12809     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
12810       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
12811     }
12812 
12813     @Override
12814     public String toString() {
12815       StringBuilder sb = new StringBuilder("reportSplitExtent_args(");
12816       boolean first = true;
12817 
12818       sb.append("tinfo:");
12819       if (this.tinfo == null) {
12820         sb.append("null");
12821       } else {
12822         sb.append(this.tinfo);
12823       }
12824       first = false;
12825       if (!first) sb.append(", ");
12826       sb.append("credential:");
12827       if (this.credential == null) {
12828         sb.append("null");
12829       } else {
12830         sb.append(this.credential);
12831       }
12832       first = false;
12833       if (!first) sb.append(", ");
12834       sb.append("serverName:");
12835       if (this.serverName == null) {
12836         sb.append("null");
12837       } else {
12838         sb.append(this.serverName);
12839       }
12840       first = false;
12841       if (!first) sb.append(", ");
12842       sb.append("split:");
12843       if (this.split == null) {
12844         sb.append("null");
12845       } else {
12846         sb.append(this.split);
12847       }
12848       first = false;
12849       sb.append(")");
12850       return sb.toString();
12851     }
12852 
12853     public void validate() throws org.apache.thrift.TException {
12854       // check for required fields
12855       // check for sub-struct validity
12856       if (tinfo != null) {
12857         tinfo.validate();
12858       }
12859       if (credential != null) {
12860         credential.validate();
12861       }
12862       if (split != null) {
12863         split.validate();
12864       }
12865     }
12866 
12867     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
12868       try {
12869         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
12870       } catch (org.apache.thrift.TException te) {
12871         throw new java.io.IOException(te);
12872       }
12873     }
12874 
12875     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
12876       try {
12877         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
12878       } catch (org.apache.thrift.TException te) {
12879         throw new java.io.IOException(te);
12880       }
12881     }
12882 
12883     private static class reportSplitExtent_argsStandardSchemeFactory implements SchemeFactory {
12884       public reportSplitExtent_argsStandardScheme getScheme() {
12885         return new reportSplitExtent_argsStandardScheme();
12886       }
12887     }
12888 
12889     private static class reportSplitExtent_argsStandardScheme extends StandardScheme<reportSplitExtent_args> {
12890 
12891       public void read(org.apache.thrift.protocol.TProtocol iprot, reportSplitExtent_args struct) throws org.apache.thrift.TException {
12892         org.apache.thrift.protocol.TField schemeField;
12893         iprot.readStructBegin();
12894         while (true)
12895         {
12896           schemeField = iprot.readFieldBegin();
12897           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
12898             break;
12899           }
12900           switch (schemeField.id) {
12901             case 4: // TINFO
12902               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
12903                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
12904                 struct.tinfo.read(iprot);
12905                 struct.setTinfoIsSet(true);
12906               } else { 
12907                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
12908               }
12909               break;
12910             case 1: // CREDENTIAL
12911               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
12912                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
12913                 struct.credential.read(iprot);
12914                 struct.setCredentialIsSet(true);
12915               } else { 
12916                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
12917               }
12918               break;
12919             case 2: // SERVER_NAME
12920               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
12921                 struct.serverName = iprot.readString();
12922                 struct.setServerNameIsSet(true);
12923               } else { 
12924                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
12925               }
12926               break;
12927             case 3: // SPLIT
12928               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
12929                 struct.split = new TabletSplit();
12930                 struct.split.read(iprot);
12931                 struct.setSplitIsSet(true);
12932               } else { 
12933                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
12934               }
12935               break;
12936             default:
12937               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
12938           }
12939           iprot.readFieldEnd();
12940         }
12941         iprot.readStructEnd();
12942 
12943         // check for required fields of primitive type, which can't be checked in the validate method
12944         struct.validate();
12945       }
12946 
12947       public void write(org.apache.thrift.protocol.TProtocol oprot, reportSplitExtent_args struct) throws org.apache.thrift.TException {
12948         struct.validate();
12949 
12950         oprot.writeStructBegin(STRUCT_DESC);
12951         if (struct.credential != null) {
12952           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
12953           struct.credential.write(oprot);
12954           oprot.writeFieldEnd();
12955         }
12956         if (struct.serverName != null) {
12957           oprot.writeFieldBegin(SERVER_NAME_FIELD_DESC);
12958           oprot.writeString(struct.serverName);
12959           oprot.writeFieldEnd();
12960         }
12961         if (struct.split != null) {
12962           oprot.writeFieldBegin(SPLIT_FIELD_DESC);
12963           struct.split.write(oprot);
12964           oprot.writeFieldEnd();
12965         }
12966         if (struct.tinfo != null) {
12967           oprot.writeFieldBegin(TINFO_FIELD_DESC);
12968           struct.tinfo.write(oprot);
12969           oprot.writeFieldEnd();
12970         }
12971         oprot.writeFieldStop();
12972         oprot.writeStructEnd();
12973       }
12974 
12975     }
12976 
12977     private static class reportSplitExtent_argsTupleSchemeFactory implements SchemeFactory {
12978       public reportSplitExtent_argsTupleScheme getScheme() {
12979         return new reportSplitExtent_argsTupleScheme();
12980       }
12981     }
12982 
12983     private static class reportSplitExtent_argsTupleScheme extends TupleScheme<reportSplitExtent_args> {
12984 
12985       @Override
12986       public void write(org.apache.thrift.protocol.TProtocol prot, reportSplitExtent_args struct) throws org.apache.thrift.TException {
12987         TTupleProtocol oprot = (TTupleProtocol) prot;
12988         BitSet optionals = new BitSet();
12989         if (struct.isSetTinfo()) {
12990           optionals.set(0);
12991         }
12992         if (struct.isSetCredential()) {
12993           optionals.set(1);
12994         }
12995         if (struct.isSetServerName()) {
12996           optionals.set(2);
12997         }
12998         if (struct.isSetSplit()) {
12999           optionals.set(3);
13000         }
13001         oprot.writeBitSet(optionals, 4);
13002         if (struct.isSetTinfo()) {
13003           struct.tinfo.write(oprot);
13004         }
13005         if (struct.isSetCredential()) {
13006           struct.credential.write(oprot);
13007         }
13008         if (struct.isSetServerName()) {
13009           oprot.writeString(struct.serverName);
13010         }
13011         if (struct.isSetSplit()) {
13012           struct.split.write(oprot);
13013         }
13014       }
13015 
13016       @Override
13017       public void read(org.apache.thrift.protocol.TProtocol prot, reportSplitExtent_args struct) throws org.apache.thrift.TException {
13018         TTupleProtocol iprot = (TTupleProtocol) prot;
13019         BitSet incoming = iprot.readBitSet(4);
13020         if (incoming.get(0)) {
13021           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
13022           struct.tinfo.read(iprot);
13023           struct.setTinfoIsSet(true);
13024         }
13025         if (incoming.get(1)) {
13026           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
13027           struct.credential.read(iprot);
13028           struct.setCredentialIsSet(true);
13029         }
13030         if (incoming.get(2)) {
13031           struct.serverName = iprot.readString();
13032           struct.setServerNameIsSet(true);
13033         }
13034         if (incoming.get(3)) {
13035           struct.split = new TabletSplit();
13036           struct.split.read(iprot);
13037           struct.setSplitIsSet(true);
13038         }
13039       }
13040     }
13041 
13042   }
13043 
13044   public static class reportTabletStatus_args implements org.apache.thrift.TBase<reportTabletStatus_args, reportTabletStatus_args._Fields>, java.io.Serializable, Cloneable   {
13045     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("reportTabletStatus_args");
13046 
13047     private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)5);
13048     private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1);
13049     private static final org.apache.thrift.protocol.TField SERVER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("serverName", org.apache.thrift.protocol.TType.STRING, (short)2);
13050     private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.I32, (short)3);
13051     private static final org.apache.thrift.protocol.TField TABLET_FIELD_DESC = new org.apache.thrift.protocol.TField("tablet", org.apache.thrift.protocol.TType.STRUCT, (short)4);
13052 
13053     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
13054     static {
13055       schemes.put(StandardScheme.class, new reportTabletStatus_argsStandardSchemeFactory());
13056       schemes.put(TupleScheme.class, new reportTabletStatus_argsTupleSchemeFactory());
13057     }
13058 
13059     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
13060     public org.apache.accumulo.core.security.thrift.Credential credential; // required
13061     public String serverName; // required
13062     /**
13063      * 
13064      * @see TabletLoadState
13065      */
13066     public TabletLoadState status; // required
13067     public org.apache.accumulo.core.data.thrift.TKeyExtent tablet; // required
13068 
13069     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
13070     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
13071       TINFO((short)5, "tinfo"),
13072       CREDENTIAL((short)1, "credential"),
13073       SERVER_NAME((short)2, "serverName"),
13074       /**
13075        * 
13076        * @see TabletLoadState
13077        */
13078       STATUS((short)3, "status"),
13079       TABLET((short)4, "tablet");
13080 
13081       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
13082 
13083       static {
13084         for (_Fields field : EnumSet.allOf(_Fields.class)) {
13085           byName.put(field.getFieldName(), field);
13086         }
13087       }
13088 
13089       /**
13090        * Find the _Fields constant that matches fieldId, or null if its not found.
13091        */
13092       public static _Fields findByThriftId(int fieldId) {
13093         switch(fieldId) {
13094           case 5: // TINFO
13095             return TINFO;
13096           case 1: // CREDENTIAL
13097             return CREDENTIAL;
13098           case 2: // SERVER_NAME
13099             return SERVER_NAME;
13100           case 3: // STATUS
13101             return STATUS;
13102           case 4: // TABLET
13103             return TABLET;
13104           default:
13105             return null;
13106         }
13107       }
13108 
13109       /**
13110        * Find the _Fields constant that matches fieldId, throwing an exception
13111        * if it is not found.
13112        */
13113       public static _Fields findByThriftIdOrThrow(int fieldId) {
13114         _Fields fields = findByThriftId(fieldId);
13115         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
13116         return fields;
13117       }
13118 
13119       /**
13120        * Find the _Fields constant that matches name, or null if its not found.
13121        */
13122       public static _Fields findByName(String name) {
13123         return byName.get(name);
13124       }
13125 
13126       private final short _thriftId;
13127       private final String _fieldName;
13128 
13129       _Fields(short thriftId, String fieldName) {
13130         _thriftId = thriftId;
13131         _fieldName = fieldName;
13132       }
13133 
13134       public short getThriftFieldId() {
13135         return _thriftId;
13136       }
13137 
13138       public String getFieldName() {
13139         return _fieldName;
13140       }
13141     }
13142 
13143     // isset id assignments
13144     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
13145     static {
13146       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
13147       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
13148           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
13149       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
13150           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
13151       tmpMap.put(_Fields.SERVER_NAME, new org.apache.thrift.meta_data.FieldMetaData("serverName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
13152           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
13153       tmpMap.put(_Fields.STATUS, new org.apache.thrift.meta_data.FieldMetaData("status", org.apache.thrift.TFieldRequirementType.DEFAULT, 
13154           new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TabletLoadState.class)));
13155       tmpMap.put(_Fields.TABLET, new org.apache.thrift.meta_data.FieldMetaData("tablet", org.apache.thrift.TFieldRequirementType.DEFAULT, 
13156           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.TKeyExtent.class)));
13157       metaDataMap = Collections.unmodifiableMap(tmpMap);
13158       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(reportTabletStatus_args.class, metaDataMap);
13159     }
13160 
13161     public reportTabletStatus_args() {
13162     }
13163 
13164     public reportTabletStatus_args(
13165       org.apache.accumulo.trace.thrift.TInfo tinfo,
13166       org.apache.accumulo.core.security.thrift.Credential credential,
13167       String serverName,
13168       TabletLoadState status,
13169       org.apache.accumulo.core.data.thrift.TKeyExtent tablet)
13170     {
13171       this();
13172       this.tinfo = tinfo;
13173       this.credential = credential;
13174       this.serverName = serverName;
13175       this.status = status;
13176       this.tablet = tablet;
13177     }
13178 
13179     /**
13180      * Performs a deep copy on <i>other</i>.
13181      */
13182     public reportTabletStatus_args(reportTabletStatus_args other) {
13183       if (other.isSetTinfo()) {
13184         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
13185       }
13186       if (other.isSetCredential()) {
13187         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
13188       }
13189       if (other.isSetServerName()) {
13190         this.serverName = other.serverName;
13191       }
13192       if (other.isSetStatus()) {
13193         this.status = other.status;
13194       }
13195       if (other.isSetTablet()) {
13196         this.tablet = new org.apache.accumulo.core.data.thrift.TKeyExtent(other.tablet);
13197       }
13198     }
13199 
13200     public reportTabletStatus_args deepCopy() {
13201       return new reportTabletStatus_args(this);
13202     }
13203 
13204     @Override
13205     public void clear() {
13206       this.tinfo = null;
13207       this.credential = null;
13208       this.serverName = null;
13209       this.status = null;
13210       this.tablet = null;
13211     }
13212 
13213     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
13214       return this.tinfo;
13215     }
13216 
13217     public reportTabletStatus_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
13218       this.tinfo = tinfo;
13219       return this;
13220     }
13221 
13222     public void unsetTinfo() {
13223       this.tinfo = null;
13224     }
13225 
13226     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
13227     public boolean isSetTinfo() {
13228       return this.tinfo != null;
13229     }
13230 
13231     public void setTinfoIsSet(boolean value) {
13232       if (!value) {
13233         this.tinfo = null;
13234       }
13235     }
13236 
13237     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
13238       return this.credential;
13239     }
13240 
13241     public reportTabletStatus_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
13242       this.credential = credential;
13243       return this;
13244     }
13245 
13246     public void unsetCredential() {
13247       this.credential = null;
13248     }
13249 
13250     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
13251     public boolean isSetCredential() {
13252       return this.credential != null;
13253     }
13254 
13255     public void setCredentialIsSet(boolean value) {
13256       if (!value) {
13257         this.credential = null;
13258       }
13259     }
13260 
13261     public String getServerName() {
13262       return this.serverName;
13263     }
13264 
13265     public reportTabletStatus_args setServerName(String serverName) {
13266       this.serverName = serverName;
13267       return this;
13268     }
13269 
13270     public void unsetServerName() {
13271       this.serverName = null;
13272     }
13273 
13274     /** Returns true if field serverName is set (has been assigned a value) and false otherwise */
13275     public boolean isSetServerName() {
13276       return this.serverName != null;
13277     }
13278 
13279     public void setServerNameIsSet(boolean value) {
13280       if (!value) {
13281         this.serverName = null;
13282       }
13283     }
13284 
13285     /**
13286      * 
13287      * @see TabletLoadState
13288      */
13289     public TabletLoadState getStatus() {
13290       return this.status;
13291     }
13292 
13293     /**
13294      * 
13295      * @see TabletLoadState
13296      */
13297     public reportTabletStatus_args setStatus(TabletLoadState status) {
13298       this.status = status;
13299       return this;
13300     }
13301 
13302     public void unsetStatus() {
13303       this.status = null;
13304     }
13305 
13306     /** Returns true if field status is set (has been assigned a value) and false otherwise */
13307     public boolean isSetStatus() {
13308       return this.status != null;
13309     }
13310 
13311     public void setStatusIsSet(boolean value) {
13312       if (!value) {
13313         this.status = null;
13314       }
13315     }
13316 
13317     public org.apache.accumulo.core.data.thrift.TKeyExtent getTablet() {
13318       return this.tablet;
13319     }
13320 
13321     public reportTabletStatus_args setTablet(org.apache.accumulo.core.data.thrift.TKeyExtent tablet) {
13322       this.tablet = tablet;
13323       return this;
13324     }
13325 
13326     public void unsetTablet() {
13327       this.tablet = null;
13328     }
13329 
13330     /** Returns true if field tablet is set (has been assigned a value) and false otherwise */
13331     public boolean isSetTablet() {
13332       return this.tablet != null;
13333     }
13334 
13335     public void setTabletIsSet(boolean value) {
13336       if (!value) {
13337         this.tablet = null;
13338       }
13339     }
13340 
13341     public void setFieldValue(_Fields field, Object value) {
13342       switch (field) {
13343       case TINFO:
13344         if (value == null) {
13345           unsetTinfo();
13346         } else {
13347           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
13348         }
13349         break;
13350 
13351       case CREDENTIAL:
13352         if (value == null) {
13353           unsetCredential();
13354         } else {
13355           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
13356         }
13357         break;
13358 
13359       case SERVER_NAME:
13360         if (value == null) {
13361           unsetServerName();
13362         } else {
13363           setServerName((String)value);
13364         }
13365         break;
13366 
13367       case STATUS:
13368         if (value == null) {
13369           unsetStatus();
13370         } else {
13371           setStatus((TabletLoadState)value);
13372         }
13373         break;
13374 
13375       case TABLET:
13376         if (value == null) {
13377           unsetTablet();
13378         } else {
13379           setTablet((org.apache.accumulo.core.data.thrift.TKeyExtent)value);
13380         }
13381         break;
13382 
13383       }
13384     }
13385 
13386     public Object getFieldValue(_Fields field) {
13387       switch (field) {
13388       case TINFO:
13389         return getTinfo();
13390 
13391       case CREDENTIAL:
13392         return getCredential();
13393 
13394       case SERVER_NAME:
13395         return getServerName();
13396 
13397       case STATUS:
13398         return getStatus();
13399 
13400       case TABLET:
13401         return getTablet();
13402 
13403       }
13404       throw new IllegalStateException();
13405     }
13406 
13407     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
13408     public boolean isSet(_Fields field) {
13409       if (field == null) {
13410         throw new IllegalArgumentException();
13411       }
13412 
13413       switch (field) {
13414       case TINFO:
13415         return isSetTinfo();
13416       case CREDENTIAL:
13417         return isSetCredential();
13418       case SERVER_NAME:
13419         return isSetServerName();
13420       case STATUS:
13421         return isSetStatus();
13422       case TABLET:
13423         return isSetTablet();
13424       }
13425       throw new IllegalStateException();
13426     }
13427 
13428     @Override
13429     public boolean equals(Object that) {
13430       if (that == null)
13431         return false;
13432       if (that instanceof reportTabletStatus_args)
13433         return this.equals((reportTabletStatus_args)that);
13434       return false;
13435     }
13436 
13437     public boolean equals(reportTabletStatus_args that) {
13438       if (that == null)
13439         return false;
13440 
13441       boolean this_present_tinfo = true && this.isSetTinfo();
13442       boolean that_present_tinfo = true && that.isSetTinfo();
13443       if (this_present_tinfo || that_present_tinfo) {
13444         if (!(this_present_tinfo && that_present_tinfo))
13445           return false;
13446         if (!this.tinfo.equals(that.tinfo))
13447           return false;
13448       }
13449 
13450       boolean this_present_credential = true && this.isSetCredential();
13451       boolean that_present_credential = true && that.isSetCredential();
13452       if (this_present_credential || that_present_credential) {
13453         if (!(this_present_credential && that_present_credential))
13454           return false;
13455         if (!this.credential.equals(that.credential))
13456           return false;
13457       }
13458 
13459       boolean this_present_serverName = true && this.isSetServerName();
13460       boolean that_present_serverName = true && that.isSetServerName();
13461       if (this_present_serverName || that_present_serverName) {
13462         if (!(this_present_serverName && that_present_serverName))
13463           return false;
13464         if (!this.serverName.equals(that.serverName))
13465           return false;
13466       }
13467 
13468       boolean this_present_status = true && this.isSetStatus();
13469       boolean that_present_status = true && that.isSetStatus();
13470       if (this_present_status || that_present_status) {
13471         if (!(this_present_status && that_present_status))
13472           return false;
13473         if (!this.status.equals(that.status))
13474           return false;
13475       }
13476 
13477       boolean this_present_tablet = true && this.isSetTablet();
13478       boolean that_present_tablet = true && that.isSetTablet();
13479       if (this_present_tablet || that_present_tablet) {
13480         if (!(this_present_tablet && that_present_tablet))
13481           return false;
13482         if (!this.tablet.equals(that.tablet))
13483           return false;
13484       }
13485 
13486       return true;
13487     }
13488 
13489     @Override
13490     public int hashCode() {
13491       return 0;
13492     }
13493 
13494     public int compareTo(reportTabletStatus_args other) {
13495       if (!getClass().equals(other.getClass())) {
13496         return getClass().getName().compareTo(other.getClass().getName());
13497       }
13498 
13499       int lastComparison = 0;
13500       reportTabletStatus_args typedOther = (reportTabletStatus_args)other;
13501 
13502       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
13503       if (lastComparison != 0) {
13504         return lastComparison;
13505       }
13506       if (isSetTinfo()) {
13507         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
13508         if (lastComparison != 0) {
13509           return lastComparison;
13510         }
13511       }
13512       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
13513       if (lastComparison != 0) {
13514         return lastComparison;
13515       }
13516       if (isSetCredential()) {
13517         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
13518         if (lastComparison != 0) {
13519           return lastComparison;
13520         }
13521       }
13522       lastComparison = Boolean.valueOf(isSetServerName()).compareTo(typedOther.isSetServerName());
13523       if (lastComparison != 0) {
13524         return lastComparison;
13525       }
13526       if (isSetServerName()) {
13527         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.serverName, typedOther.serverName);
13528         if (lastComparison != 0) {
13529           return lastComparison;
13530         }
13531       }
13532       lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
13533       if (lastComparison != 0) {
13534         return lastComparison;
13535       }
13536       if (isSetStatus()) {
13537         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status);
13538         if (lastComparison != 0) {
13539           return lastComparison;
13540         }
13541       }
13542       lastComparison = Boolean.valueOf(isSetTablet()).compareTo(typedOther.isSetTablet());
13543       if (lastComparison != 0) {
13544         return lastComparison;
13545       }
13546       if (isSetTablet()) {
13547         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tablet, typedOther.tablet);
13548         if (lastComparison != 0) {
13549           return lastComparison;
13550         }
13551       }
13552       return 0;
13553     }
13554 
13555     public _Fields fieldForId(int fieldId) {
13556       return _Fields.findByThriftId(fieldId);
13557     }
13558 
13559     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
13560       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
13561     }
13562 
13563     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
13564       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
13565     }
13566 
13567     @Override
13568     public String toString() {
13569       StringBuilder sb = new StringBuilder("reportTabletStatus_args(");
13570       boolean first = true;
13571 
13572       sb.append("tinfo:");
13573       if (this.tinfo == null) {
13574         sb.append("null");
13575       } else {
13576         sb.append(this.tinfo);
13577       }
13578       first = false;
13579       if (!first) sb.append(", ");
13580       sb.append("credential:");
13581       if (this.credential == null) {
13582         sb.append("null");
13583       } else {
13584         sb.append(this.credential);
13585       }
13586       first = false;
13587       if (!first) sb.append(", ");
13588       sb.append("serverName:");
13589       if (this.serverName == null) {
13590         sb.append("null");
13591       } else {
13592         sb.append(this.serverName);
13593       }
13594       first = false;
13595       if (!first) sb.append(", ");
13596       sb.append("status:");
13597       if (this.status == null) {
13598         sb.append("null");
13599       } else {
13600         sb.append(this.status);
13601       }
13602       first = false;
13603       if (!first) sb.append(", ");
13604       sb.append("tablet:");
13605       if (this.tablet == null) {
13606         sb.append("null");
13607       } else {
13608         sb.append(this.tablet);
13609       }
13610       first = false;
13611       sb.append(")");
13612       return sb.toString();
13613     }
13614 
13615     public void validate() throws org.apache.thrift.TException {
13616       // check for required fields
13617       // check for sub-struct validity
13618       if (tinfo != null) {
13619         tinfo.validate();
13620       }
13621       if (credential != null) {
13622         credential.validate();
13623       }
13624       if (tablet != null) {
13625         tablet.validate();
13626       }
13627     }
13628 
13629     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
13630       try {
13631         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
13632       } catch (org.apache.thrift.TException te) {
13633         throw new java.io.IOException(te);
13634       }
13635     }
13636 
13637     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
13638       try {
13639         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
13640       } catch (org.apache.thrift.TException te) {
13641         throw new java.io.IOException(te);
13642       }
13643     }
13644 
13645     private static class reportTabletStatus_argsStandardSchemeFactory implements SchemeFactory {
13646       public reportTabletStatus_argsStandardScheme getScheme() {
13647         return new reportTabletStatus_argsStandardScheme();
13648       }
13649     }
13650 
13651     private static class reportTabletStatus_argsStandardScheme extends StandardScheme<reportTabletStatus_args> {
13652 
13653       public void read(org.apache.thrift.protocol.TProtocol iprot, reportTabletStatus_args struct) throws org.apache.thrift.TException {
13654         org.apache.thrift.protocol.TField schemeField;
13655         iprot.readStructBegin();
13656         while (true)
13657         {
13658           schemeField = iprot.readFieldBegin();
13659           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
13660             break;
13661           }
13662           switch (schemeField.id) {
13663             case 5: // TINFO
13664               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
13665                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
13666                 struct.tinfo.read(iprot);
13667                 struct.setTinfoIsSet(true);
13668               } else { 
13669                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
13670               }
13671               break;
13672             case 1: // CREDENTIAL
13673               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
13674                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
13675                 struct.credential.read(iprot);
13676                 struct.setCredentialIsSet(true);
13677               } else { 
13678                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
13679               }
13680               break;
13681             case 2: // SERVER_NAME
13682               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
13683                 struct.serverName = iprot.readString();
13684                 struct.setServerNameIsSet(true);
13685               } else { 
13686                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
13687               }
13688               break;
13689             case 3: // STATUS
13690               if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
13691                 struct.status = TabletLoadState.findByValue(iprot.readI32());
13692                 struct.setStatusIsSet(true);
13693               } else { 
13694                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
13695               }
13696               break;
13697             case 4: // TABLET
13698               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
13699                 struct.tablet = new org.apache.accumulo.core.data.thrift.TKeyExtent();
13700                 struct.tablet.read(iprot);
13701                 struct.setTabletIsSet(true);
13702               } else { 
13703                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
13704               }
13705               break;
13706             default:
13707               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
13708           }
13709           iprot.readFieldEnd();
13710         }
13711         iprot.readStructEnd();
13712 
13713         // check for required fields of primitive type, which can't be checked in the validate method
13714         struct.validate();
13715       }
13716 
13717       public void write(org.apache.thrift.protocol.TProtocol oprot, reportTabletStatus_args struct) throws org.apache.thrift.TException {
13718         struct.validate();
13719 
13720         oprot.writeStructBegin(STRUCT_DESC);
13721         if (struct.credential != null) {
13722           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
13723           struct.credential.write(oprot);
13724           oprot.writeFieldEnd();
13725         }
13726         if (struct.serverName != null) {
13727           oprot.writeFieldBegin(SERVER_NAME_FIELD_DESC);
13728           oprot.writeString(struct.serverName);
13729           oprot.writeFieldEnd();
13730         }
13731         if (struct.status != null) {
13732           oprot.writeFieldBegin(STATUS_FIELD_DESC);
13733           oprot.writeI32(struct.status.getValue());
13734           oprot.writeFieldEnd();
13735         }
13736         if (struct.tablet != null) {
13737           oprot.writeFieldBegin(TABLET_FIELD_DESC);
13738           struct.tablet.write(oprot);
13739           oprot.writeFieldEnd();
13740         }
13741         if (struct.tinfo != null) {
13742           oprot.writeFieldBegin(TINFO_FIELD_DESC);
13743           struct.tinfo.write(oprot);
13744           oprot.writeFieldEnd();
13745         }
13746         oprot.writeFieldStop();
13747         oprot.writeStructEnd();
13748       }
13749 
13750     }
13751 
13752     private static class reportTabletStatus_argsTupleSchemeFactory implements SchemeFactory {
13753       public reportTabletStatus_argsTupleScheme getScheme() {
13754         return new reportTabletStatus_argsTupleScheme();
13755       }
13756     }
13757 
13758     private static class reportTabletStatus_argsTupleScheme extends TupleScheme<reportTabletStatus_args> {
13759 
13760       @Override
13761       public void write(org.apache.thrift.protocol.TProtocol prot, reportTabletStatus_args struct) throws org.apache.thrift.TException {
13762         TTupleProtocol oprot = (TTupleProtocol) prot;
13763         BitSet optionals = new BitSet();
13764         if (struct.isSetTinfo()) {
13765           optionals.set(0);
13766         }
13767         if (struct.isSetCredential()) {
13768           optionals.set(1);
13769         }
13770         if (struct.isSetServerName()) {
13771           optionals.set(2);
13772         }
13773         if (struct.isSetStatus()) {
13774           optionals.set(3);
13775         }
13776         if (struct.isSetTablet()) {
13777           optionals.set(4);
13778         }
13779         oprot.writeBitSet(optionals, 5);
13780         if (struct.isSetTinfo()) {
13781           struct.tinfo.write(oprot);
13782         }
13783         if (struct.isSetCredential()) {
13784           struct.credential.write(oprot);
13785         }
13786         if (struct.isSetServerName()) {
13787           oprot.writeString(struct.serverName);
13788         }
13789         if (struct.isSetStatus()) {
13790           oprot.writeI32(struct.status.getValue());
13791         }
13792         if (struct.isSetTablet()) {
13793           struct.tablet.write(oprot);
13794         }
13795       }
13796 
13797       @Override
13798       public void read(org.apache.thrift.protocol.TProtocol prot, reportTabletStatus_args struct) throws org.apache.thrift.TException {
13799         TTupleProtocol iprot = (TTupleProtocol) prot;
13800         BitSet incoming = iprot.readBitSet(5);
13801         if (incoming.get(0)) {
13802           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
13803           struct.tinfo.read(iprot);
13804           struct.setTinfoIsSet(true);
13805         }
13806         if (incoming.get(1)) {
13807           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
13808           struct.credential.read(iprot);
13809           struct.setCredentialIsSet(true);
13810         }
13811         if (incoming.get(2)) {
13812           struct.serverName = iprot.readString();
13813           struct.setServerNameIsSet(true);
13814         }
13815         if (incoming.get(3)) {
13816           struct.status = TabletLoadState.findByValue(iprot.readI32());
13817           struct.setStatusIsSet(true);
13818         }
13819         if (incoming.get(4)) {
13820           struct.tablet = new org.apache.accumulo.core.data.thrift.TKeyExtent();
13821           struct.tablet.read(iprot);
13822           struct.setTabletIsSet(true);
13823         }
13824       }
13825     }
13826 
13827   }
13828 
13829   public static class beginTableOperation_args implements org.apache.thrift.TBase<beginTableOperation_args, beginTableOperation_args._Fields>, java.io.Serializable, Cloneable   {
13830     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("beginTableOperation_args");
13831 
13832     private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)2);
13833     private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1);
13834 
13835     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
13836     static {
13837       schemes.put(StandardScheme.class, new beginTableOperation_argsStandardSchemeFactory());
13838       schemes.put(TupleScheme.class, new beginTableOperation_argsTupleSchemeFactory());
13839     }
13840 
13841     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
13842     public org.apache.accumulo.core.security.thrift.Credential credential; // required
13843 
13844     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
13845     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
13846       TINFO((short)2, "tinfo"),
13847       CREDENTIAL((short)1, "credential");
13848 
13849       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
13850 
13851       static {
13852         for (_Fields field : EnumSet.allOf(_Fields.class)) {
13853           byName.put(field.getFieldName(), field);
13854         }
13855       }
13856 
13857       /**
13858        * Find the _Fields constant that matches fieldId, or null if its not found.
13859        */
13860       public static _Fields findByThriftId(int fieldId) {
13861         switch(fieldId) {
13862           case 2: // TINFO
13863             return TINFO;
13864           case 1: // CREDENTIAL
13865             return CREDENTIAL;
13866           default:
13867             return null;
13868         }
13869       }
13870 
13871       /**
13872        * Find the _Fields constant that matches fieldId, throwing an exception
13873        * if it is not found.
13874        */
13875       public static _Fields findByThriftIdOrThrow(int fieldId) {
13876         _Fields fields = findByThriftId(fieldId);
13877         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
13878         return fields;
13879       }
13880 
13881       /**
13882        * Find the _Fields constant that matches name, or null if its not found.
13883        */
13884       public static _Fields findByName(String name) {
13885         return byName.get(name);
13886       }
13887 
13888       private final short _thriftId;
13889       private final String _fieldName;
13890 
13891       _Fields(short thriftId, String fieldName) {
13892         _thriftId = thriftId;
13893         _fieldName = fieldName;
13894       }
13895 
13896       public short getThriftFieldId() {
13897         return _thriftId;
13898       }
13899 
13900       public String getFieldName() {
13901         return _fieldName;
13902       }
13903     }
13904 
13905     // isset id assignments
13906     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
13907     static {
13908       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
13909       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
13910           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
13911       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
13912           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
13913       metaDataMap = Collections.unmodifiableMap(tmpMap);
13914       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(beginTableOperation_args.class, metaDataMap);
13915     }
13916 
13917     public beginTableOperation_args() {
13918     }
13919 
13920     public beginTableOperation_args(
13921       org.apache.accumulo.trace.thrift.TInfo tinfo,
13922       org.apache.accumulo.core.security.thrift.Credential credential)
13923     {
13924       this();
13925       this.tinfo = tinfo;
13926       this.credential = credential;
13927     }
13928 
13929     /**
13930      * Performs a deep copy on <i>other</i>.
13931      */
13932     public beginTableOperation_args(beginTableOperation_args other) {
13933       if (other.isSetTinfo()) {
13934         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
13935       }
13936       if (other.isSetCredential()) {
13937         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
13938       }
13939     }
13940 
13941     public beginTableOperation_args deepCopy() {
13942       return new beginTableOperation_args(this);
13943     }
13944 
13945     @Override
13946     public void clear() {
13947       this.tinfo = null;
13948       this.credential = null;
13949     }
13950 
13951     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
13952       return this.tinfo;
13953     }
13954 
13955     public beginTableOperation_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
13956       this.tinfo = tinfo;
13957       return this;
13958     }
13959 
13960     public void unsetTinfo() {
13961       this.tinfo = null;
13962     }
13963 
13964     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
13965     public boolean isSetTinfo() {
13966       return this.tinfo != null;
13967     }
13968 
13969     public void setTinfoIsSet(boolean value) {
13970       if (!value) {
13971         this.tinfo = null;
13972       }
13973     }
13974 
13975     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
13976       return this.credential;
13977     }
13978 
13979     public beginTableOperation_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
13980       this.credential = credential;
13981       return this;
13982     }
13983 
13984     public void unsetCredential() {
13985       this.credential = null;
13986     }
13987 
13988     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
13989     public boolean isSetCredential() {
13990       return this.credential != null;
13991     }
13992 
13993     public void setCredentialIsSet(boolean value) {
13994       if (!value) {
13995         this.credential = null;
13996       }
13997     }
13998 
13999     public void setFieldValue(_Fields field, Object value) {
14000       switch (field) {
14001       case TINFO:
14002         if (value == null) {
14003           unsetTinfo();
14004         } else {
14005           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
14006         }
14007         break;
14008 
14009       case CREDENTIAL:
14010         if (value == null) {
14011           unsetCredential();
14012         } else {
14013           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
14014         }
14015         break;
14016 
14017       }
14018     }
14019 
14020     public Object getFieldValue(_Fields field) {
14021       switch (field) {
14022       case TINFO:
14023         return getTinfo();
14024 
14025       case CREDENTIAL:
14026         return getCredential();
14027 
14028       }
14029       throw new IllegalStateException();
14030     }
14031 
14032     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
14033     public boolean isSet(_Fields field) {
14034       if (field == null) {
14035         throw new IllegalArgumentException();
14036       }
14037 
14038       switch (field) {
14039       case TINFO:
14040         return isSetTinfo();
14041       case CREDENTIAL:
14042         return isSetCredential();
14043       }
14044       throw new IllegalStateException();
14045     }
14046 
14047     @Override
14048     public boolean equals(Object that) {
14049       if (that == null)
14050         return false;
14051       if (that instanceof beginTableOperation_args)
14052         return this.equals((beginTableOperation_args)that);
14053       return false;
14054     }
14055 
14056     public boolean equals(beginTableOperation_args that) {
14057       if (that == null)
14058         return false;
14059 
14060       boolean this_present_tinfo = true && this.isSetTinfo();
14061       boolean that_present_tinfo = true && that.isSetTinfo();
14062       if (this_present_tinfo || that_present_tinfo) {
14063         if (!(this_present_tinfo && that_present_tinfo))
14064           return false;
14065         if (!this.tinfo.equals(that.tinfo))
14066           return false;
14067       }
14068 
14069       boolean this_present_credential = true && this.isSetCredential();
14070       boolean that_present_credential = true && that.isSetCredential();
14071       if (this_present_credential || that_present_credential) {
14072         if (!(this_present_credential && that_present_credential))
14073           return false;
14074         if (!this.credential.equals(that.credential))
14075           return false;
14076       }
14077 
14078       return true;
14079     }
14080 
14081     @Override
14082     public int hashCode() {
14083       return 0;
14084     }
14085 
14086     public int compareTo(beginTableOperation_args other) {
14087       if (!getClass().equals(other.getClass())) {
14088         return getClass().getName().compareTo(other.getClass().getName());
14089       }
14090 
14091       int lastComparison = 0;
14092       beginTableOperation_args typedOther = (beginTableOperation_args)other;
14093 
14094       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
14095       if (lastComparison != 0) {
14096         return lastComparison;
14097       }
14098       if (isSetTinfo()) {
14099         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
14100         if (lastComparison != 0) {
14101           return lastComparison;
14102         }
14103       }
14104       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
14105       if (lastComparison != 0) {
14106         return lastComparison;
14107       }
14108       if (isSetCredential()) {
14109         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
14110         if (lastComparison != 0) {
14111           return lastComparison;
14112         }
14113       }
14114       return 0;
14115     }
14116 
14117     public _Fields fieldForId(int fieldId) {
14118       return _Fields.findByThriftId(fieldId);
14119     }
14120 
14121     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
14122       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
14123     }
14124 
14125     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
14126       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
14127     }
14128 
14129     @Override
14130     public String toString() {
14131       StringBuilder sb = new StringBuilder("beginTableOperation_args(");
14132       boolean first = true;
14133 
14134       sb.append("tinfo:");
14135       if (this.tinfo == null) {
14136         sb.append("null");
14137       } else {
14138         sb.append(this.tinfo);
14139       }
14140       first = false;
14141       if (!first) sb.append(", ");
14142       sb.append("credential:");
14143       if (this.credential == null) {
14144         sb.append("null");
14145       } else {
14146         sb.append(this.credential);
14147       }
14148       first = false;
14149       sb.append(")");
14150       return sb.toString();
14151     }
14152 
14153     public void validate() throws org.apache.thrift.TException {
14154       // check for required fields
14155       // check for sub-struct validity
14156       if (tinfo != null) {
14157         tinfo.validate();
14158       }
14159       if (credential != null) {
14160         credential.validate();
14161       }
14162     }
14163 
14164     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
14165       try {
14166         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
14167       } catch (org.apache.thrift.TException te) {
14168         throw new java.io.IOException(te);
14169       }
14170     }
14171 
14172     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
14173       try {
14174         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
14175       } catch (org.apache.thrift.TException te) {
14176         throw new java.io.IOException(te);
14177       }
14178     }
14179 
14180     private static class beginTableOperation_argsStandardSchemeFactory implements SchemeFactory {
14181       public beginTableOperation_argsStandardScheme getScheme() {
14182         return new beginTableOperation_argsStandardScheme();
14183       }
14184     }
14185 
14186     private static class beginTableOperation_argsStandardScheme extends StandardScheme<beginTableOperation_args> {
14187 
14188       public void read(org.apache.thrift.protocol.TProtocol iprot, beginTableOperation_args struct) throws org.apache.thrift.TException {
14189         org.apache.thrift.protocol.TField schemeField;
14190         iprot.readStructBegin();
14191         while (true)
14192         {
14193           schemeField = iprot.readFieldBegin();
14194           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
14195             break;
14196           }
14197           switch (schemeField.id) {
14198             case 2: // TINFO
14199               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
14200                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
14201                 struct.tinfo.read(iprot);
14202                 struct.setTinfoIsSet(true);
14203               } else { 
14204                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
14205               }
14206               break;
14207             case 1: // CREDENTIAL
14208               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
14209                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
14210                 struct.credential.read(iprot);
14211                 struct.setCredentialIsSet(true);
14212               } else { 
14213                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
14214               }
14215               break;
14216             default:
14217               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
14218           }
14219           iprot.readFieldEnd();
14220         }
14221         iprot.readStructEnd();
14222 
14223         // check for required fields of primitive type, which can't be checked in the validate method
14224         struct.validate();
14225       }
14226 
14227       public void write(org.apache.thrift.protocol.TProtocol oprot, beginTableOperation_args struct) throws org.apache.thrift.TException {
14228         struct.validate();
14229 
14230         oprot.writeStructBegin(STRUCT_DESC);
14231         if (struct.credential != null) {
14232           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
14233           struct.credential.write(oprot);
14234           oprot.writeFieldEnd();
14235         }
14236         if (struct.tinfo != null) {
14237           oprot.writeFieldBegin(TINFO_FIELD_DESC);
14238           struct.tinfo.write(oprot);
14239           oprot.writeFieldEnd();
14240         }
14241         oprot.writeFieldStop();
14242         oprot.writeStructEnd();
14243       }
14244 
14245     }
14246 
14247     private static class beginTableOperation_argsTupleSchemeFactory implements SchemeFactory {
14248       public beginTableOperation_argsTupleScheme getScheme() {
14249         return new beginTableOperation_argsTupleScheme();
14250       }
14251     }
14252 
14253     private static class beginTableOperation_argsTupleScheme extends TupleScheme<beginTableOperation_args> {
14254 
14255       @Override
14256       public void write(org.apache.thrift.protocol.TProtocol prot, beginTableOperation_args struct) throws org.apache.thrift.TException {
14257         TTupleProtocol oprot = (TTupleProtocol) prot;
14258         BitSet optionals = new BitSet();
14259         if (struct.isSetTinfo()) {
14260           optionals.set(0);
14261         }
14262         if (struct.isSetCredential()) {
14263           optionals.set(1);
14264         }
14265         oprot.writeBitSet(optionals, 2);
14266         if (struct.isSetTinfo()) {
14267           struct.tinfo.write(oprot);
14268         }
14269         if (struct.isSetCredential()) {
14270           struct.credential.write(oprot);
14271         }
14272       }
14273 
14274       @Override
14275       public void read(org.apache.thrift.protocol.TProtocol prot, beginTableOperation_args struct) throws org.apache.thrift.TException {
14276         TTupleProtocol iprot = (TTupleProtocol) prot;
14277         BitSet incoming = iprot.readBitSet(2);
14278         if (incoming.get(0)) {
14279           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
14280           struct.tinfo.read(iprot);
14281           struct.setTinfoIsSet(true);
14282         }
14283         if (incoming.get(1)) {
14284           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
14285           struct.credential.read(iprot);
14286           struct.setCredentialIsSet(true);
14287         }
14288       }
14289     }
14290 
14291   }
14292 
14293   public static class beginTableOperation_result implements org.apache.thrift.TBase<beginTableOperation_result, beginTableOperation_result._Fields>, java.io.Serializable, Cloneable   {
14294     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("beginTableOperation_result");
14295 
14296     private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.I64, (short)0);
14297     private static final org.apache.thrift.protocol.TField SEC_FIELD_DESC = new org.apache.thrift.protocol.TField("sec", org.apache.thrift.protocol.TType.STRUCT, (short)1);
14298 
14299     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
14300     static {
14301       schemes.put(StandardScheme.class, new beginTableOperation_resultStandardSchemeFactory());
14302       schemes.put(TupleScheme.class, new beginTableOperation_resultTupleSchemeFactory());
14303     }
14304 
14305     public long success; // required
14306     public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required
14307 
14308     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
14309     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
14310       SUCCESS((short)0, "success"),
14311       SEC((short)1, "sec");
14312 
14313       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
14314 
14315       static {
14316         for (_Fields field : EnumSet.allOf(_Fields.class)) {
14317           byName.put(field.getFieldName(), field);
14318         }
14319       }
14320 
14321       /**
14322        * Find the _Fields constant that matches fieldId, or null if its not found.
14323        */
14324       public static _Fields findByThriftId(int fieldId) {
14325         switch(fieldId) {
14326           case 0: // SUCCESS
14327             return SUCCESS;
14328           case 1: // SEC
14329             return SEC;
14330           default:
14331             return null;
14332         }
14333       }
14334 
14335       /**
14336        * Find the _Fields constant that matches fieldId, throwing an exception
14337        * if it is not found.
14338        */
14339       public static _Fields findByThriftIdOrThrow(int fieldId) {
14340         _Fields fields = findByThriftId(fieldId);
14341         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
14342         return fields;
14343       }
14344 
14345       /**
14346        * Find the _Fields constant that matches name, or null if its not found.
14347        */
14348       public static _Fields findByName(String name) {
14349         return byName.get(name);
14350       }
14351 
14352       private final short _thriftId;
14353       private final String _fieldName;
14354 
14355       _Fields(short thriftId, String fieldName) {
14356         _thriftId = thriftId;
14357         _fieldName = fieldName;
14358       }
14359 
14360       public short getThriftFieldId() {
14361         return _thriftId;
14362       }
14363 
14364       public String getFieldName() {
14365         return _fieldName;
14366       }
14367     }
14368 
14369     // isset id assignments
14370     private static final int __SUCCESS_ISSET_ID = 0;
14371     private byte __isset_bitfield = 0;
14372     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
14373     static {
14374       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
14375       tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
14376           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
14377       tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, 
14378           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
14379       metaDataMap = Collections.unmodifiableMap(tmpMap);
14380       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(beginTableOperation_result.class, metaDataMap);
14381     }
14382 
14383     public beginTableOperation_result() {
14384     }
14385 
14386     public beginTableOperation_result(
14387       long success,
14388       org.apache.accumulo.core.security.thrift.ThriftSecurityException sec)
14389     {
14390       this();
14391       this.success = success;
14392       setSuccessIsSet(true);
14393       this.sec = sec;
14394     }
14395 
14396     /**
14397      * Performs a deep copy on <i>other</i>.
14398      */
14399     public beginTableOperation_result(beginTableOperation_result other) {
14400       __isset_bitfield = other.__isset_bitfield;
14401       this.success = other.success;
14402       if (other.isSetSec()) {
14403         this.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(other.sec);
14404       }
14405     }
14406 
14407     public beginTableOperation_result deepCopy() {
14408       return new beginTableOperation_result(this);
14409     }
14410 
14411     @Override
14412     public void clear() {
14413       setSuccessIsSet(false);
14414       this.success = 0;
14415       this.sec = null;
14416     }
14417 
14418     public long getSuccess() {
14419       return this.success;
14420     }
14421 
14422     public beginTableOperation_result setSuccess(long success) {
14423       this.success = success;
14424       setSuccessIsSet(true);
14425       return this;
14426     }
14427 
14428     public void unsetSuccess() {
14429       __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID);
14430     }
14431 
14432     /** Returns true if field success is set (has been assigned a value) and false otherwise */
14433     public boolean isSetSuccess() {
14434       return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID);
14435     }
14436 
14437     public void setSuccessIsSet(boolean value) {
14438       __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value);
14439     }
14440 
14441     public org.apache.accumulo.core.security.thrift.ThriftSecurityException getSec() {
14442       return this.sec;
14443     }
14444 
14445     public beginTableOperation_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
14446       this.sec = sec;
14447       return this;
14448     }
14449 
14450     public void unsetSec() {
14451       this.sec = null;
14452     }
14453 
14454     /** Returns true if field sec is set (has been assigned a value) and false otherwise */
14455     public boolean isSetSec() {
14456       return this.sec != null;
14457     }
14458 
14459     public void setSecIsSet(boolean value) {
14460       if (!value) {
14461         this.sec = null;
14462       }
14463     }
14464 
14465     public void setFieldValue(_Fields field, Object value) {
14466       switch (field) {
14467       case SUCCESS:
14468         if (value == null) {
14469           unsetSuccess();
14470         } else {
14471           setSuccess((Long)value);
14472         }
14473         break;
14474 
14475       case SEC:
14476         if (value == null) {
14477           unsetSec();
14478         } else {
14479           setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value);
14480         }
14481         break;
14482 
14483       }
14484     }
14485 
14486     public Object getFieldValue(_Fields field) {
14487       switch (field) {
14488       case SUCCESS:
14489         return Long.valueOf(getSuccess());
14490 
14491       case SEC:
14492         return getSec();
14493 
14494       }
14495       throw new IllegalStateException();
14496     }
14497 
14498     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
14499     public boolean isSet(_Fields field) {
14500       if (field == null) {
14501         throw new IllegalArgumentException();
14502       }
14503 
14504       switch (field) {
14505       case SUCCESS:
14506         return isSetSuccess();
14507       case SEC:
14508         return isSetSec();
14509       }
14510       throw new IllegalStateException();
14511     }
14512 
14513     @Override
14514     public boolean equals(Object that) {
14515       if (that == null)
14516         return false;
14517       if (that instanceof beginTableOperation_result)
14518         return this.equals((beginTableOperation_result)that);
14519       return false;
14520     }
14521 
14522     public boolean equals(beginTableOperation_result that) {
14523       if (that == null)
14524         return false;
14525 
14526       boolean this_present_success = true;
14527       boolean that_present_success = true;
14528       if (this_present_success || that_present_success) {
14529         if (!(this_present_success && that_present_success))
14530           return false;
14531         if (this.success != that.success)
14532           return false;
14533       }
14534 
14535       boolean this_present_sec = true && this.isSetSec();
14536       boolean that_present_sec = true && that.isSetSec();
14537       if (this_present_sec || that_present_sec) {
14538         if (!(this_present_sec && that_present_sec))
14539           return false;
14540         if (!this.sec.equals(that.sec))
14541           return false;
14542       }
14543 
14544       return true;
14545     }
14546 
14547     @Override
14548     public int hashCode() {
14549       return 0;
14550     }
14551 
14552     public int compareTo(beginTableOperation_result other) {
14553       if (!getClass().equals(other.getClass())) {
14554         return getClass().getName().compareTo(other.getClass().getName());
14555       }
14556 
14557       int lastComparison = 0;
14558       beginTableOperation_result typedOther = (beginTableOperation_result)other;
14559 
14560       lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
14561       if (lastComparison != 0) {
14562         return lastComparison;
14563       }
14564       if (isSetSuccess()) {
14565         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
14566         if (lastComparison != 0) {
14567           return lastComparison;
14568         }
14569       }
14570       lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec());
14571       if (lastComparison != 0) {
14572         return lastComparison;
14573       }
14574       if (isSetSec()) {
14575         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec);
14576         if (lastComparison != 0) {
14577           return lastComparison;
14578         }
14579       }
14580       return 0;
14581     }
14582 
14583     public _Fields fieldForId(int fieldId) {
14584       return _Fields.findByThriftId(fieldId);
14585     }
14586 
14587     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
14588       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
14589     }
14590 
14591     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
14592       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
14593       }
14594 
14595     @Override
14596     public String toString() {
14597       StringBuilder sb = new StringBuilder("beginTableOperation_result(");
14598       boolean first = true;
14599 
14600       sb.append("success:");
14601       sb.append(this.success);
14602       first = false;
14603       if (!first) sb.append(", ");
14604       sb.append("sec:");
14605       if (this.sec == null) {
14606         sb.append("null");
14607       } else {
14608         sb.append(this.sec);
14609       }
14610       first = false;
14611       sb.append(")");
14612       return sb.toString();
14613     }
14614 
14615     public void validate() throws org.apache.thrift.TException {
14616       // check for required fields
14617       // check for sub-struct validity
14618     }
14619 
14620     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
14621       try {
14622         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
14623       } catch (org.apache.thrift.TException te) {
14624         throw new java.io.IOException(te);
14625       }
14626     }
14627 
14628     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
14629       try {
14630         // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
14631         __isset_bitfield = 0;
14632         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
14633       } catch (org.apache.thrift.TException te) {
14634         throw new java.io.IOException(te);
14635       }
14636     }
14637 
14638     private static class beginTableOperation_resultStandardSchemeFactory implements SchemeFactory {
14639       public beginTableOperation_resultStandardScheme getScheme() {
14640         return new beginTableOperation_resultStandardScheme();
14641       }
14642     }
14643 
14644     private static class beginTableOperation_resultStandardScheme extends StandardScheme<beginTableOperation_result> {
14645 
14646       public void read(org.apache.thrift.protocol.TProtocol iprot, beginTableOperation_result struct) throws org.apache.thrift.TException {
14647         org.apache.thrift.protocol.TField schemeField;
14648         iprot.readStructBegin();
14649         while (true)
14650         {
14651           schemeField = iprot.readFieldBegin();
14652           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
14653             break;
14654           }
14655           switch (schemeField.id) {
14656             case 0: // SUCCESS
14657               if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
14658                 struct.success = iprot.readI64();
14659                 struct.setSuccessIsSet(true);
14660               } else { 
14661                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
14662               }
14663               break;
14664             case 1: // SEC
14665               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
14666                 struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
14667                 struct.sec.read(iprot);
14668                 struct.setSecIsSet(true);
14669               } else { 
14670                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
14671               }
14672               break;
14673             default:
14674               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
14675           }
14676           iprot.readFieldEnd();
14677         }
14678         iprot.readStructEnd();
14679 
14680         // check for required fields of primitive type, which can't be checked in the validate method
14681         struct.validate();
14682       }
14683 
14684       public void write(org.apache.thrift.protocol.TProtocol oprot, beginTableOperation_result struct) throws org.apache.thrift.TException {
14685         struct.validate();
14686 
14687         oprot.writeStructBegin(STRUCT_DESC);
14688         if (struct.isSetSuccess()) {
14689           oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
14690           oprot.writeI64(struct.success);
14691           oprot.writeFieldEnd();
14692         }
14693         if (struct.sec != null) {
14694           oprot.writeFieldBegin(SEC_FIELD_DESC);
14695           struct.sec.write(oprot);
14696           oprot.writeFieldEnd();
14697         }
14698         oprot.writeFieldStop();
14699         oprot.writeStructEnd();
14700       }
14701 
14702     }
14703 
14704     private static class beginTableOperation_resultTupleSchemeFactory implements SchemeFactory {
14705       public beginTableOperation_resultTupleScheme getScheme() {
14706         return new beginTableOperation_resultTupleScheme();
14707       }
14708     }
14709 
14710     private static class beginTableOperation_resultTupleScheme extends TupleScheme<beginTableOperation_result> {
14711 
14712       @Override
14713       public void write(org.apache.thrift.protocol.TProtocol prot, beginTableOperation_result struct) throws org.apache.thrift.TException {
14714         TTupleProtocol oprot = (TTupleProtocol) prot;
14715         BitSet optionals = new BitSet();
14716         if (struct.isSetSuccess()) {
14717           optionals.set(0);
14718         }
14719         if (struct.isSetSec()) {
14720           optionals.set(1);
14721         }
14722         oprot.writeBitSet(optionals, 2);
14723         if (struct.isSetSuccess()) {
14724           oprot.writeI64(struct.success);
14725         }
14726         if (struct.isSetSec()) {
14727           struct.sec.write(oprot);
14728         }
14729       }
14730 
14731       @Override
14732       public void read(org.apache.thrift.protocol.TProtocol prot, beginTableOperation_result struct) throws org.apache.thrift.TException {
14733         TTupleProtocol iprot = (TTupleProtocol) prot;
14734         BitSet incoming = iprot.readBitSet(2);
14735         if (incoming.get(0)) {
14736           struct.success = iprot.readI64();
14737           struct.setSuccessIsSet(true);
14738         }
14739         if (incoming.get(1)) {
14740           struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
14741           struct.sec.read(iprot);
14742           struct.setSecIsSet(true);
14743         }
14744       }
14745     }
14746 
14747   }
14748 
14749   public static class executeTableOperation_args implements org.apache.thrift.TBase<executeTableOperation_args, executeTableOperation_args._Fields>, java.io.Serializable, Cloneable   {
14750     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("executeTableOperation_args");
14751 
14752     private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)7);
14753     private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1);
14754     private static final org.apache.thrift.protocol.TField OPID_FIELD_DESC = new org.apache.thrift.protocol.TField("opid", org.apache.thrift.protocol.TType.I64, (short)2);
14755     private static final org.apache.thrift.protocol.TField OP_FIELD_DESC = new org.apache.thrift.protocol.TField("op", org.apache.thrift.protocol.TType.I32, (short)3);
14756     private static final org.apache.thrift.protocol.TField ARGUMENTS_FIELD_DESC = new org.apache.thrift.protocol.TField("arguments", org.apache.thrift.protocol.TType.LIST, (short)4);
14757     private static final org.apache.thrift.protocol.TField OPTIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("options", org.apache.thrift.protocol.TType.MAP, (short)5);
14758     private static final org.apache.thrift.protocol.TField AUTO_CLEAN_FIELD_DESC = new org.apache.thrift.protocol.TField("autoClean", org.apache.thrift.protocol.TType.BOOL, (short)6);
14759 
14760     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
14761     static {
14762       schemes.put(StandardScheme.class, new executeTableOperation_argsStandardSchemeFactory());
14763       schemes.put(TupleScheme.class, new executeTableOperation_argsTupleSchemeFactory());
14764     }
14765 
14766     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
14767     public org.apache.accumulo.core.security.thrift.Credential credential; // required
14768     public long opid; // required
14769     /**
14770      * 
14771      * @see TableOperation
14772      */
14773     public TableOperation op; // required
14774     public List<ByteBuffer> arguments; // required
14775     public Map<String,String> options; // required
14776     public boolean autoClean; // required
14777 
14778     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
14779     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
14780       TINFO((short)7, "tinfo"),
14781       CREDENTIAL((short)1, "credential"),
14782       OPID((short)2, "opid"),
14783       /**
14784        * 
14785        * @see TableOperation
14786        */
14787       OP((short)3, "op"),
14788       ARGUMENTS((short)4, "arguments"),
14789       OPTIONS((short)5, "options"),
14790       AUTO_CLEAN((short)6, "autoClean");
14791 
14792       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
14793 
14794       static {
14795         for (_Fields field : EnumSet.allOf(_Fields.class)) {
14796           byName.put(field.getFieldName(), field);
14797         }
14798       }
14799 
14800       /**
14801        * Find the _Fields constant that matches fieldId, or null if its not found.
14802        */
14803       public static _Fields findByThriftId(int fieldId) {
14804         switch(fieldId) {
14805           case 7: // TINFO
14806             return TINFO;
14807           case 1: // CREDENTIAL
14808             return CREDENTIAL;
14809           case 2: // OPID
14810             return OPID;
14811           case 3: // OP
14812             return OP;
14813           case 4: // ARGUMENTS
14814             return ARGUMENTS;
14815           case 5: // OPTIONS
14816             return OPTIONS;
14817           case 6: // AUTO_CLEAN
14818             return AUTO_CLEAN;
14819           default:
14820             return null;
14821         }
14822       }
14823 
14824       /**
14825        * Find the _Fields constant that matches fieldId, throwing an exception
14826        * if it is not found.
14827        */
14828       public static _Fields findByThriftIdOrThrow(int fieldId) {
14829         _Fields fields = findByThriftId(fieldId);
14830         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
14831         return fields;
14832       }
14833 
14834       /**
14835        * Find the _Fields constant that matches name, or null if its not found.
14836        */
14837       public static _Fields findByName(String name) {
14838         return byName.get(name);
14839       }
14840 
14841       private final short _thriftId;
14842       private final String _fieldName;
14843 
14844       _Fields(short thriftId, String fieldName) {
14845         _thriftId = thriftId;
14846         _fieldName = fieldName;
14847       }
14848 
14849       public short getThriftFieldId() {
14850         return _thriftId;
14851       }
14852 
14853       public String getFieldName() {
14854         return _fieldName;
14855       }
14856     }
14857 
14858     // isset id assignments
14859     private static final int __OPID_ISSET_ID = 0;
14860     private static final int __AUTOCLEAN_ISSET_ID = 1;
14861     private byte __isset_bitfield = 0;
14862     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
14863     static {
14864       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
14865       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
14866           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
14867       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
14868           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
14869       tmpMap.put(_Fields.OPID, new org.apache.thrift.meta_data.FieldMetaData("opid", org.apache.thrift.TFieldRequirementType.DEFAULT, 
14870           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
14871       tmpMap.put(_Fields.OP, new org.apache.thrift.meta_data.FieldMetaData("op", org.apache.thrift.TFieldRequirementType.DEFAULT, 
14872           new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TableOperation.class)));
14873       tmpMap.put(_Fields.ARGUMENTS, new org.apache.thrift.meta_data.FieldMetaData("arguments", org.apache.thrift.TFieldRequirementType.DEFAULT, 
14874           new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
14875               new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING              , true))));
14876       tmpMap.put(_Fields.OPTIONS, new org.apache.thrift.meta_data.FieldMetaData("options", org.apache.thrift.TFieldRequirementType.DEFAULT, 
14877           new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
14878               new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), 
14879               new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
14880       tmpMap.put(_Fields.AUTO_CLEAN, new org.apache.thrift.meta_data.FieldMetaData("autoClean", org.apache.thrift.TFieldRequirementType.DEFAULT, 
14881           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
14882       metaDataMap = Collections.unmodifiableMap(tmpMap);
14883       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(executeTableOperation_args.class, metaDataMap);
14884     }
14885 
14886     public executeTableOperation_args() {
14887     }
14888 
14889     public executeTableOperation_args(
14890       org.apache.accumulo.trace.thrift.TInfo tinfo,
14891       org.apache.accumulo.core.security.thrift.Credential credential,
14892       long opid,
14893       TableOperation op,
14894       List<ByteBuffer> arguments,
14895       Map<String,String> options,
14896       boolean autoClean)
14897     {
14898       this();
14899       this.tinfo = tinfo;
14900       this.credential = credential;
14901       this.opid = opid;
14902       setOpidIsSet(true);
14903       this.op = op;
14904       this.arguments = arguments;
14905       this.options = options;
14906       this.autoClean = autoClean;
14907       setAutoCleanIsSet(true);
14908     }
14909 
14910     /**
14911      * Performs a deep copy on <i>other</i>.
14912      */
14913     public executeTableOperation_args(executeTableOperation_args other) {
14914       __isset_bitfield = other.__isset_bitfield;
14915       if (other.isSetTinfo()) {
14916         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
14917       }
14918       if (other.isSetCredential()) {
14919         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
14920       }
14921       this.opid = other.opid;
14922       if (other.isSetOp()) {
14923         this.op = other.op;
14924       }
14925       if (other.isSetArguments()) {
14926         List<ByteBuffer> __this__arguments = new ArrayList<ByteBuffer>();
14927         for (ByteBuffer other_element : other.arguments) {
14928           ByteBuffer temp_binary_element = org.apache.thrift.TBaseHelper.copyBinary(other_element);
14929 ;
14930           __this__arguments.add(temp_binary_element);
14931         }
14932         this.arguments = __this__arguments;
14933       }
14934       if (other.isSetOptions()) {
14935         Map<String,String> __this__options = new HashMap<String,String>();
14936         for (Map.Entry<String, String> other_element : other.options.entrySet()) {
14937 
14938           String other_element_key = other_element.getKey();
14939           String other_element_value = other_element.getValue();
14940 
14941           String __this__options_copy_key = other_element_key;
14942 
14943           String __this__options_copy_value = other_element_value;
14944 
14945           __this__options.put(__this__options_copy_key, __this__options_copy_value);
14946         }
14947         this.options = __this__options;
14948       }
14949       this.autoClean = other.autoClean;
14950     }
14951 
14952     public executeTableOperation_args deepCopy() {
14953       return new executeTableOperation_args(this);
14954     }
14955 
14956     @Override
14957     public void clear() {
14958       this.tinfo = null;
14959       this.credential = null;
14960       setOpidIsSet(false);
14961       this.opid = 0;
14962       this.op = null;
14963       this.arguments = null;
14964       this.options = null;
14965       setAutoCleanIsSet(false);
14966       this.autoClean = false;
14967     }
14968 
14969     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
14970       return this.tinfo;
14971     }
14972 
14973     public executeTableOperation_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
14974       this.tinfo = tinfo;
14975       return this;
14976     }
14977 
14978     public void unsetTinfo() {
14979       this.tinfo = null;
14980     }
14981 
14982     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
14983     public boolean isSetTinfo() {
14984       return this.tinfo != null;
14985     }
14986 
14987     public void setTinfoIsSet(boolean value) {
14988       if (!value) {
14989         this.tinfo = null;
14990       }
14991     }
14992 
14993     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
14994       return this.credential;
14995     }
14996 
14997     public executeTableOperation_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
14998       this.credential = credential;
14999       return this;
15000     }
15001 
15002     public void unsetCredential() {
15003       this.credential = null;
15004     }
15005 
15006     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
15007     public boolean isSetCredential() {
15008       return this.credential != null;
15009     }
15010 
15011     public void setCredentialIsSet(boolean value) {
15012       if (!value) {
15013         this.credential = null;
15014       }
15015     }
15016 
15017     public long getOpid() {
15018       return this.opid;
15019     }
15020 
15021     public executeTableOperation_args setOpid(long opid) {
15022       this.opid = opid;
15023       setOpidIsSet(true);
15024       return this;
15025     }
15026 
15027     public void unsetOpid() {
15028       __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __OPID_ISSET_ID);
15029     }
15030 
15031     /** Returns true if field opid is set (has been assigned a value) and false otherwise */
15032     public boolean isSetOpid() {
15033       return EncodingUtils.testBit(__isset_bitfield, __OPID_ISSET_ID);
15034     }
15035 
15036     public void setOpidIsSet(boolean value) {
15037       __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __OPID_ISSET_ID, value);
15038     }
15039 
15040     /**
15041      * 
15042      * @see TableOperation
15043      */
15044     public TableOperation getOp() {
15045       return this.op;
15046     }
15047 
15048     /**
15049      * 
15050      * @see TableOperation
15051      */
15052     public executeTableOperation_args setOp(TableOperation op) {
15053       this.op = op;
15054       return this;
15055     }
15056 
15057     public void unsetOp() {
15058       this.op = null;
15059     }
15060 
15061     /** Returns true if field op is set (has been assigned a value) and false otherwise */
15062     public boolean isSetOp() {
15063       return this.op != null;
15064     }
15065 
15066     public void setOpIsSet(boolean value) {
15067       if (!value) {
15068         this.op = null;
15069       }
15070     }
15071 
15072     public int getArgumentsSize() {
15073       return (this.arguments == null) ? 0 : this.arguments.size();
15074     }
15075 
15076     public java.util.Iterator<ByteBuffer> getArgumentsIterator() {
15077       return (this.arguments == null) ? null : this.arguments.iterator();
15078     }
15079 
15080     public void addToArguments(ByteBuffer elem) {
15081       if (this.arguments == null) {
15082         this.arguments = new ArrayList<ByteBuffer>();
15083       }
15084       this.arguments.add(elem);
15085     }
15086 
15087     public List<ByteBuffer> getArguments() {
15088       return this.arguments;
15089     }
15090 
15091     public executeTableOperation_args setArguments(List<ByteBuffer> arguments) {
15092       this.arguments = arguments;
15093       return this;
15094     }
15095 
15096     public void unsetArguments() {
15097       this.arguments = null;
15098     }
15099 
15100     /** Returns true if field arguments is set (has been assigned a value) and false otherwise */
15101     public boolean isSetArguments() {
15102       return this.arguments != null;
15103     }
15104 
15105     public void setArgumentsIsSet(boolean value) {
15106       if (!value) {
15107         this.arguments = null;
15108       }
15109     }
15110 
15111     public int getOptionsSize() {
15112       return (this.options == null) ? 0 : this.options.size();
15113     }
15114 
15115     public void putToOptions(String key, String val) {
15116       if (this.options == null) {
15117         this.options = new HashMap<String,String>();
15118       }
15119       this.options.put(key, val);
15120     }
15121 
15122     public Map<String,String> getOptions() {
15123       return this.options;
15124     }
15125 
15126     public executeTableOperation_args setOptions(Map<String,String> options) {
15127       this.options = options;
15128       return this;
15129     }
15130 
15131     public void unsetOptions() {
15132       this.options = null;
15133     }
15134 
15135     /** Returns true if field options is set (has been assigned a value) and false otherwise */
15136     public boolean isSetOptions() {
15137       return this.options != null;
15138     }
15139 
15140     public void setOptionsIsSet(boolean value) {
15141       if (!value) {
15142         this.options = null;
15143       }
15144     }
15145 
15146     public boolean isAutoClean() {
15147       return this.autoClean;
15148     }
15149 
15150     public executeTableOperation_args setAutoClean(boolean autoClean) {
15151       this.autoClean = autoClean;
15152       setAutoCleanIsSet(true);
15153       return this;
15154     }
15155 
15156     public void unsetAutoClean() {
15157       __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __AUTOCLEAN_ISSET_ID);
15158     }
15159 
15160     /** Returns true if field autoClean is set (has been assigned a value) and false otherwise */
15161     public boolean isSetAutoClean() {
15162       return EncodingUtils.testBit(__isset_bitfield, __AUTOCLEAN_ISSET_ID);
15163     }
15164 
15165     public void setAutoCleanIsSet(boolean value) {
15166       __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __AUTOCLEAN_ISSET_ID, value);
15167     }
15168 
15169     public void setFieldValue(_Fields field, Object value) {
15170       switch (field) {
15171       case TINFO:
15172         if (value == null) {
15173           unsetTinfo();
15174         } else {
15175           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
15176         }
15177         break;
15178 
15179       case CREDENTIAL:
15180         if (value == null) {
15181           unsetCredential();
15182         } else {
15183           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
15184         }
15185         break;
15186 
15187       case OPID:
15188         if (value == null) {
15189           unsetOpid();
15190         } else {
15191           setOpid((Long)value);
15192         }
15193         break;
15194 
15195       case OP:
15196         if (value == null) {
15197           unsetOp();
15198         } else {
15199           setOp((TableOperation)value);
15200         }
15201         break;
15202 
15203       case ARGUMENTS:
15204         if (value == null) {
15205           unsetArguments();
15206         } else {
15207           setArguments((List<ByteBuffer>)value);
15208         }
15209         break;
15210 
15211       case OPTIONS:
15212         if (value == null) {
15213           unsetOptions();
15214         } else {
15215           setOptions((Map<String,String>)value);
15216         }
15217         break;
15218 
15219       case AUTO_CLEAN:
15220         if (value == null) {
15221           unsetAutoClean();
15222         } else {
15223           setAutoClean((Boolean)value);
15224         }
15225         break;
15226 
15227       }
15228     }
15229 
15230     public Object getFieldValue(_Fields field) {
15231       switch (field) {
15232       case TINFO:
15233         return getTinfo();
15234 
15235       case CREDENTIAL:
15236         return getCredential();
15237 
15238       case OPID:
15239         return Long.valueOf(getOpid());
15240 
15241       case OP:
15242         return getOp();
15243 
15244       case ARGUMENTS:
15245         return getArguments();
15246 
15247       case OPTIONS:
15248         return getOptions();
15249 
15250       case AUTO_CLEAN:
15251         return Boolean.valueOf(isAutoClean());
15252 
15253       }
15254       throw new IllegalStateException();
15255     }
15256 
15257     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
15258     public boolean isSet(_Fields field) {
15259       if (field == null) {
15260         throw new IllegalArgumentException();
15261       }
15262 
15263       switch (field) {
15264       case TINFO:
15265         return isSetTinfo();
15266       case CREDENTIAL:
15267         return isSetCredential();
15268       case OPID:
15269         return isSetOpid();
15270       case OP:
15271         return isSetOp();
15272       case ARGUMENTS:
15273         return isSetArguments();
15274       case OPTIONS:
15275         return isSetOptions();
15276       case AUTO_CLEAN:
15277         return isSetAutoClean();
15278       }
15279       throw new IllegalStateException();
15280     }
15281 
15282     @Override
15283     public boolean equals(Object that) {
15284       if (that == null)
15285         return false;
15286       if (that instanceof executeTableOperation_args)
15287         return this.equals((executeTableOperation_args)that);
15288       return false;
15289     }
15290 
15291     public boolean equals(executeTableOperation_args that) {
15292       if (that == null)
15293         return false;
15294 
15295       boolean this_present_tinfo = true && this.isSetTinfo();
15296       boolean that_present_tinfo = true && that.isSetTinfo();
15297       if (this_present_tinfo || that_present_tinfo) {
15298         if (!(this_present_tinfo && that_present_tinfo))
15299           return false;
15300         if (!this.tinfo.equals(that.tinfo))
15301           return false;
15302       }
15303 
15304       boolean this_present_credential = true && this.isSetCredential();
15305       boolean that_present_credential = true && that.isSetCredential();
15306       if (this_present_credential || that_present_credential) {
15307         if (!(this_present_credential && that_present_credential))
15308           return false;
15309         if (!this.credential.equals(that.credential))
15310           return false;
15311       }
15312 
15313       boolean this_present_opid = true;
15314       boolean that_present_opid = true;
15315       if (this_present_opid || that_present_opid) {
15316         if (!(this_present_opid && that_present_opid))
15317           return false;
15318         if (this.opid != that.opid)
15319           return false;
15320       }
15321 
15322       boolean this_present_op = true && this.isSetOp();
15323       boolean that_present_op = true && that.isSetOp();
15324       if (this_present_op || that_present_op) {
15325         if (!(this_present_op && that_present_op))
15326           return false;
15327         if (!this.op.equals(that.op))
15328           return false;
15329       }
15330 
15331       boolean this_present_arguments = true && this.isSetArguments();
15332       boolean that_present_arguments = true && that.isSetArguments();
15333       if (this_present_arguments || that_present_arguments) {
15334         if (!(this_present_arguments && that_present_arguments))
15335           return false;
15336         if (!this.arguments.equals(that.arguments))
15337           return false;
15338       }
15339 
15340       boolean this_present_options = true && this.isSetOptions();
15341       boolean that_present_options = true && that.isSetOptions();
15342       if (this_present_options || that_present_options) {
15343         if (!(this_present_options && that_present_options))
15344           return false;
15345         if (!this.options.equals(that.options))
15346           return false;
15347       }
15348 
15349       boolean this_present_autoClean = true;
15350       boolean that_present_autoClean = true;
15351       if (this_present_autoClean || that_present_autoClean) {
15352         if (!(this_present_autoClean && that_present_autoClean))
15353           return false;
15354         if (this.autoClean != that.autoClean)
15355           return false;
15356       }
15357 
15358       return true;
15359     }
15360 
15361     @Override
15362     public int hashCode() {
15363       return 0;
15364     }
15365 
15366     public int compareTo(executeTableOperation_args other) {
15367       if (!getClass().equals(other.getClass())) {
15368         return getClass().getName().compareTo(other.getClass().getName());
15369       }
15370 
15371       int lastComparison = 0;
15372       executeTableOperation_args typedOther = (executeTableOperation_args)other;
15373 
15374       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
15375       if (lastComparison != 0) {
15376         return lastComparison;
15377       }
15378       if (isSetTinfo()) {
15379         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
15380         if (lastComparison != 0) {
15381           return lastComparison;
15382         }
15383       }
15384       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
15385       if (lastComparison != 0) {
15386         return lastComparison;
15387       }
15388       if (isSetCredential()) {
15389         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
15390         if (lastComparison != 0) {
15391           return lastComparison;
15392         }
15393       }
15394       lastComparison = Boolean.valueOf(isSetOpid()).compareTo(typedOther.isSetOpid());
15395       if (lastComparison != 0) {
15396         return lastComparison;
15397       }
15398       if (isSetOpid()) {
15399         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.opid, typedOther.opid);
15400         if (lastComparison != 0) {
15401           return lastComparison;
15402         }
15403       }
15404       lastComparison = Boolean.valueOf(isSetOp()).compareTo(typedOther.isSetOp());
15405       if (lastComparison != 0) {
15406         return lastComparison;
15407       }
15408       if (isSetOp()) {
15409         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.op, typedOther.op);
15410         if (lastComparison != 0) {
15411           return lastComparison;
15412         }
15413       }
15414       lastComparison = Boolean.valueOf(isSetArguments()).compareTo(typedOther.isSetArguments());
15415       if (lastComparison != 0) {
15416         return lastComparison;
15417       }
15418       if (isSetArguments()) {
15419         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.arguments, typedOther.arguments);
15420         if (lastComparison != 0) {
15421           return lastComparison;
15422         }
15423       }
15424       lastComparison = Boolean.valueOf(isSetOptions()).compareTo(typedOther.isSetOptions());
15425       if (lastComparison != 0) {
15426         return lastComparison;
15427       }
15428       if (isSetOptions()) {
15429         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.options, typedOther.options);
15430         if (lastComparison != 0) {
15431           return lastComparison;
15432         }
15433       }
15434       lastComparison = Boolean.valueOf(isSetAutoClean()).compareTo(typedOther.isSetAutoClean());
15435       if (lastComparison != 0) {
15436         return lastComparison;
15437       }
15438       if (isSetAutoClean()) {
15439         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.autoClean, typedOther.autoClean);
15440         if (lastComparison != 0) {
15441           return lastComparison;
15442         }
15443       }
15444       return 0;
15445     }
15446 
15447     public _Fields fieldForId(int fieldId) {
15448       return _Fields.findByThriftId(fieldId);
15449     }
15450 
15451     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
15452       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
15453     }
15454 
15455     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
15456       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
15457     }
15458 
15459     @Override
15460     public String toString() {
15461       StringBuilder sb = new StringBuilder("executeTableOperation_args(");
15462       boolean first = true;
15463 
15464       sb.append("tinfo:");
15465       if (this.tinfo == null) {
15466         sb.append("null");
15467       } else {
15468         sb.append(this.tinfo);
15469       }
15470       first = false;
15471       if (!first) sb.append(", ");
15472       sb.append("credential:");
15473       if (this.credential == null) {
15474         sb.append("null");
15475       } else {
15476         sb.append(this.credential);
15477       }
15478       first = false;
15479       if (!first) sb.append(", ");
15480       sb.append("opid:");
15481       sb.append(this.opid);
15482       first = false;
15483       if (!first) sb.append(", ");
15484       sb.append("op:");
15485       if (this.op == null) {
15486         sb.append("null");
15487       } else {
15488         sb.append(this.op);
15489       }
15490       first = false;
15491       if (!first) sb.append(", ");
15492       sb.append("arguments:");
15493       if (this.arguments == null) {
15494         sb.append("null");
15495       } else {
15496         sb.append(this.arguments);
15497       }
15498       first = false;
15499       if (!first) sb.append(", ");
15500       sb.append("options:");
15501       if (this.options == null) {
15502         sb.append("null");
15503       } else {
15504         sb.append(this.options);
15505       }
15506       first = false;
15507       if (!first) sb.append(", ");
15508       sb.append("autoClean:");
15509       sb.append(this.autoClean);
15510       first = false;
15511       sb.append(")");
15512       return sb.toString();
15513     }
15514 
15515     public void validate() throws org.apache.thrift.TException {
15516       // check for required fields
15517       // check for sub-struct validity
15518       if (tinfo != null) {
15519         tinfo.validate();
15520       }
15521       if (credential != null) {
15522         credential.validate();
15523       }
15524     }
15525 
15526     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
15527       try {
15528         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
15529       } catch (org.apache.thrift.TException te) {
15530         throw new java.io.IOException(te);
15531       }
15532     }
15533 
15534     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
15535       try {
15536         // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
15537         __isset_bitfield = 0;
15538         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
15539       } catch (org.apache.thrift.TException te) {
15540         throw new java.io.IOException(te);
15541       }
15542     }
15543 
15544     private static class executeTableOperation_argsStandardSchemeFactory implements SchemeFactory {
15545       public executeTableOperation_argsStandardScheme getScheme() {
15546         return new executeTableOperation_argsStandardScheme();
15547       }
15548     }
15549 
15550     private static class executeTableOperation_argsStandardScheme extends StandardScheme<executeTableOperation_args> {
15551 
15552       public void read(org.apache.thrift.protocol.TProtocol iprot, executeTableOperation_args struct) throws org.apache.thrift.TException {
15553         org.apache.thrift.protocol.TField schemeField;
15554         iprot.readStructBegin();
15555         while (true)
15556         {
15557           schemeField = iprot.readFieldBegin();
15558           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
15559             break;
15560           }
15561           switch (schemeField.id) {
15562             case 7: // TINFO
15563               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
15564                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
15565                 struct.tinfo.read(iprot);
15566                 struct.setTinfoIsSet(true);
15567               } else { 
15568                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
15569               }
15570               break;
15571             case 1: // CREDENTIAL
15572               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
15573                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
15574                 struct.credential.read(iprot);
15575                 struct.setCredentialIsSet(true);
15576               } else { 
15577                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
15578               }
15579               break;
15580             case 2: // OPID
15581               if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
15582                 struct.opid = iprot.readI64();
15583                 struct.setOpidIsSet(true);
15584               } else { 
15585                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
15586               }
15587               break;
15588             case 3: // OP
15589               if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
15590                 struct.op = TableOperation.findByValue(iprot.readI32());
15591                 struct.setOpIsSet(true);
15592               } else { 
15593                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
15594               }
15595               break;
15596             case 4: // ARGUMENTS
15597               if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
15598                 {
15599                   org.apache.thrift.protocol.TList _list70 = iprot.readListBegin();
15600                   struct.arguments = new ArrayList<ByteBuffer>(_list70.size);
15601                   for (int _i71 = 0; _i71 < _list70.size; ++_i71)
15602                   {
15603                     ByteBuffer _elem72; // required
15604                     _elem72 = iprot.readBinary();
15605                     struct.arguments.add(_elem72);
15606                   }
15607                   iprot.readListEnd();
15608                 }
15609                 struct.setArgumentsIsSet(true);
15610               } else { 
15611                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
15612               }
15613               break;
15614             case 5: // OPTIONS
15615               if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
15616                 {
15617                   org.apache.thrift.protocol.TMap _map73 = iprot.readMapBegin();
15618                   struct.options = new HashMap<String,String>(2*_map73.size);
15619                   for (int _i74 = 0; _i74 < _map73.size; ++_i74)
15620                   {
15621                     String _key75; // required
15622                     String _val76; // required
15623                     _key75 = iprot.readString();
15624                     _val76 = iprot.readString();
15625                     struct.options.put(_key75, _val76);
15626                   }
15627                   iprot.readMapEnd();
15628                 }
15629                 struct.setOptionsIsSet(true);
15630               } else { 
15631                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
15632               }
15633               break;
15634             case 6: // AUTO_CLEAN
15635               if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
15636                 struct.autoClean = iprot.readBool();
15637                 struct.setAutoCleanIsSet(true);
15638               } else { 
15639                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
15640               }
15641               break;
15642             default:
15643               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
15644           }
15645           iprot.readFieldEnd();
15646         }
15647         iprot.readStructEnd();
15648 
15649         // check for required fields of primitive type, which can't be checked in the validate method
15650         struct.validate();
15651       }
15652 
15653       public void write(org.apache.thrift.protocol.TProtocol oprot, executeTableOperation_args struct) throws org.apache.thrift.TException {
15654         struct.validate();
15655 
15656         oprot.writeStructBegin(STRUCT_DESC);
15657         if (struct.credential != null) {
15658           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
15659           struct.credential.write(oprot);
15660           oprot.writeFieldEnd();
15661         }
15662         oprot.writeFieldBegin(OPID_FIELD_DESC);
15663         oprot.writeI64(struct.opid);
15664         oprot.writeFieldEnd();
15665         if (struct.op != null) {
15666           oprot.writeFieldBegin(OP_FIELD_DESC);
15667           oprot.writeI32(struct.op.getValue());
15668           oprot.writeFieldEnd();
15669         }
15670         if (struct.arguments != null) {
15671           oprot.writeFieldBegin(ARGUMENTS_FIELD_DESC);
15672           {
15673             oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.arguments.size()));
15674             for (ByteBuffer _iter77 : struct.arguments)
15675             {
15676               oprot.writeBinary(_iter77);
15677             }
15678             oprot.writeListEnd();
15679           }
15680           oprot.writeFieldEnd();
15681         }
15682         if (struct.options != null) {
15683           oprot.writeFieldBegin(OPTIONS_FIELD_DESC);
15684           {
15685             oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.options.size()));
15686             for (Map.Entry<String, String> _iter78 : struct.options.entrySet())
15687             {
15688               oprot.writeString(_iter78.getKey());
15689               oprot.writeString(_iter78.getValue());
15690             }
15691             oprot.writeMapEnd();
15692           }
15693           oprot.writeFieldEnd();
15694         }
15695         oprot.writeFieldBegin(AUTO_CLEAN_FIELD_DESC);
15696         oprot.writeBool(struct.autoClean);
15697         oprot.writeFieldEnd();
15698         if (struct.tinfo != null) {
15699           oprot.writeFieldBegin(TINFO_FIELD_DESC);
15700           struct.tinfo.write(oprot);
15701           oprot.writeFieldEnd();
15702         }
15703         oprot.writeFieldStop();
15704         oprot.writeStructEnd();
15705       }
15706 
15707     }
15708 
15709     private static class executeTableOperation_argsTupleSchemeFactory implements SchemeFactory {
15710       public executeTableOperation_argsTupleScheme getScheme() {
15711         return new executeTableOperation_argsTupleScheme();
15712       }
15713     }
15714 
15715     private static class executeTableOperation_argsTupleScheme extends TupleScheme<executeTableOperation_args> {
15716 
15717       @Override
15718       public void write(org.apache.thrift.protocol.TProtocol prot, executeTableOperation_args struct) throws org.apache.thrift.TException {
15719         TTupleProtocol oprot = (TTupleProtocol) prot;
15720         BitSet optionals = new BitSet();
15721         if (struct.isSetTinfo()) {
15722           optionals.set(0);
15723         }
15724         if (struct.isSetCredential()) {
15725           optionals.set(1);
15726         }
15727         if (struct.isSetOpid()) {
15728           optionals.set(2);
15729         }
15730         if (struct.isSetOp()) {
15731           optionals.set(3);
15732         }
15733         if (struct.isSetArguments()) {
15734           optionals.set(4);
15735         }
15736         if (struct.isSetOptions()) {
15737           optionals.set(5);
15738         }
15739         if (struct.isSetAutoClean()) {
15740           optionals.set(6);
15741         }
15742         oprot.writeBitSet(optionals, 7);
15743         if (struct.isSetTinfo()) {
15744           struct.tinfo.write(oprot);
15745         }
15746         if (struct.isSetCredential()) {
15747           struct.credential.write(oprot);
15748         }
15749         if (struct.isSetOpid()) {
15750           oprot.writeI64(struct.opid);
15751         }
15752         if (struct.isSetOp()) {
15753           oprot.writeI32(struct.op.getValue());
15754         }
15755         if (struct.isSetArguments()) {
15756           {
15757             oprot.writeI32(struct.arguments.size());
15758             for (ByteBuffer _iter79 : struct.arguments)
15759             {
15760               oprot.writeBinary(_iter79);
15761             }
15762           }
15763         }
15764         if (struct.isSetOptions()) {
15765           {
15766             oprot.writeI32(struct.options.size());
15767             for (Map.Entry<String, String> _iter80 : struct.options.entrySet())
15768             {
15769               oprot.writeString(_iter80.getKey());
15770               oprot.writeString(_iter80.getValue());
15771             }
15772           }
15773         }
15774         if (struct.isSetAutoClean()) {
15775           oprot.writeBool(struct.autoClean);
15776         }
15777       }
15778 
15779       @Override
15780       public void read(org.apache.thrift.protocol.TProtocol prot, executeTableOperation_args struct) throws org.apache.thrift.TException {
15781         TTupleProtocol iprot = (TTupleProtocol) prot;
15782         BitSet incoming = iprot.readBitSet(7);
15783         if (incoming.get(0)) {
15784           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
15785           struct.tinfo.read(iprot);
15786           struct.setTinfoIsSet(true);
15787         }
15788         if (incoming.get(1)) {
15789           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
15790           struct.credential.read(iprot);
15791           struct.setCredentialIsSet(true);
15792         }
15793         if (incoming.get(2)) {
15794           struct.opid = iprot.readI64();
15795           struct.setOpidIsSet(true);
15796         }
15797         if (incoming.get(3)) {
15798           struct.op = TableOperation.findByValue(iprot.readI32());
15799           struct.setOpIsSet(true);
15800         }
15801         if (incoming.get(4)) {
15802           {
15803             org.apache.thrift.protocol.TList _list81 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
15804             struct.arguments = new ArrayList<ByteBuffer>(_list81.size);
15805             for (int _i82 = 0; _i82 < _list81.size; ++_i82)
15806             {
15807               ByteBuffer _elem83; // required
15808               _elem83 = iprot.readBinary();
15809               struct.arguments.add(_elem83);
15810             }
15811           }
15812           struct.setArgumentsIsSet(true);
15813         }
15814         if (incoming.get(5)) {
15815           {
15816             org.apache.thrift.protocol.TMap _map84 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
15817             struct.options = new HashMap<String,String>(2*_map84.size);
15818             for (int _i85 = 0; _i85 < _map84.size; ++_i85)
15819             {
15820               String _key86; // required
15821               String _val87; // required
15822               _key86 = iprot.readString();
15823               _val87 = iprot.readString();
15824               struct.options.put(_key86, _val87);
15825             }
15826           }
15827           struct.setOptionsIsSet(true);
15828         }
15829         if (incoming.get(6)) {
15830           struct.autoClean = iprot.readBool();
15831           struct.setAutoCleanIsSet(true);
15832         }
15833       }
15834     }
15835 
15836   }
15837 
15838   public static class executeTableOperation_result implements org.apache.thrift.TBase<executeTableOperation_result, executeTableOperation_result._Fields>, java.io.Serializable, Cloneable   {
15839     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("executeTableOperation_result");
15840 
15841     private static final org.apache.thrift.protocol.TField SEC_FIELD_DESC = new org.apache.thrift.protocol.TField("sec", org.apache.thrift.protocol.TType.STRUCT, (short)1);
15842     private static final org.apache.thrift.protocol.TField TOPE_FIELD_DESC = new org.apache.thrift.protocol.TField("tope", org.apache.thrift.protocol.TType.STRUCT, (short)2);
15843 
15844     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
15845     static {
15846       schemes.put(StandardScheme.class, new executeTableOperation_resultStandardSchemeFactory());
15847       schemes.put(TupleScheme.class, new executeTableOperation_resultTupleSchemeFactory());
15848     }
15849 
15850     public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required
15851     public org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException tope; // required
15852 
15853     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
15854     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
15855       SEC((short)1, "sec"),
15856       TOPE((short)2, "tope");
15857 
15858       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
15859 
15860       static {
15861         for (_Fields field : EnumSet.allOf(_Fields.class)) {
15862           byName.put(field.getFieldName(), field);
15863         }
15864       }
15865 
15866       /**
15867        * Find the _Fields constant that matches fieldId, or null if its not found.
15868        */
15869       public static _Fields findByThriftId(int fieldId) {
15870         switch(fieldId) {
15871           case 1: // SEC
15872             return SEC;
15873           case 2: // TOPE
15874             return TOPE;
15875           default:
15876             return null;
15877         }
15878       }
15879 
15880       /**
15881        * Find the _Fields constant that matches fieldId, throwing an exception
15882        * if it is not found.
15883        */
15884       public static _Fields findByThriftIdOrThrow(int fieldId) {
15885         _Fields fields = findByThriftId(fieldId);
15886         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
15887         return fields;
15888       }
15889 
15890       /**
15891        * Find the _Fields constant that matches name, or null if its not found.
15892        */
15893       public static _Fields findByName(String name) {
15894         return byName.get(name);
15895       }
15896 
15897       private final short _thriftId;
15898       private final String _fieldName;
15899 
15900       _Fields(short thriftId, String fieldName) {
15901         _thriftId = thriftId;
15902         _fieldName = fieldName;
15903       }
15904 
15905       public short getThriftFieldId() {
15906         return _thriftId;
15907       }
15908 
15909       public String getFieldName() {
15910         return _fieldName;
15911       }
15912     }
15913 
15914     // isset id assignments
15915     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
15916     static {
15917       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
15918       tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, 
15919           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
15920       tmpMap.put(_Fields.TOPE, new org.apache.thrift.meta_data.FieldMetaData("tope", org.apache.thrift.TFieldRequirementType.DEFAULT, 
15921           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
15922       metaDataMap = Collections.unmodifiableMap(tmpMap);
15923       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(executeTableOperation_result.class, metaDataMap);
15924     }
15925 
15926     public executeTableOperation_result() {
15927     }
15928 
15929     public executeTableOperation_result(
15930       org.apache.accumulo.core.security.thrift.ThriftSecurityException sec,
15931       org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException tope)
15932     {
15933       this();
15934       this.sec = sec;
15935       this.tope = tope;
15936     }
15937 
15938     /**
15939      * Performs a deep copy on <i>other</i>.
15940      */
15941     public executeTableOperation_result(executeTableOperation_result other) {
15942       if (other.isSetSec()) {
15943         this.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(other.sec);
15944       }
15945       if (other.isSetTope()) {
15946         this.tope = new org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException(other.tope);
15947       }
15948     }
15949 
15950     public executeTableOperation_result deepCopy() {
15951       return new executeTableOperation_result(this);
15952     }
15953 
15954     @Override
15955     public void clear() {
15956       this.sec = null;
15957       this.tope = null;
15958     }
15959 
15960     public org.apache.accumulo.core.security.thrift.ThriftSecurityException getSec() {
15961       return this.sec;
15962     }
15963 
15964     public executeTableOperation_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
15965       this.sec = sec;
15966       return this;
15967     }
15968 
15969     public void unsetSec() {
15970       this.sec = null;
15971     }
15972 
15973     /** Returns true if field sec is set (has been assigned a value) and false otherwise */
15974     public boolean isSetSec() {
15975       return this.sec != null;
15976     }
15977 
15978     public void setSecIsSet(boolean value) {
15979       if (!value) {
15980         this.sec = null;
15981       }
15982     }
15983 
15984     public org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException getTope() {
15985       return this.tope;
15986     }
15987 
15988     public executeTableOperation_result setTope(org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException tope) {
15989       this.tope = tope;
15990       return this;
15991     }
15992 
15993     public void unsetTope() {
15994       this.tope = null;
15995     }
15996 
15997     /** Returns true if field tope is set (has been assigned a value) and false otherwise */
15998     public boolean isSetTope() {
15999       return this.tope != null;
16000     }
16001 
16002     public void setTopeIsSet(boolean value) {
16003       if (!value) {
16004         this.tope = null;
16005       }
16006     }
16007 
16008     public void setFieldValue(_Fields field, Object value) {
16009       switch (field) {
16010       case SEC:
16011         if (value == null) {
16012           unsetSec();
16013         } else {
16014           setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value);
16015         }
16016         break;
16017 
16018       case TOPE:
16019         if (value == null) {
16020           unsetTope();
16021         } else {
16022           setTope((org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException)value);
16023         }
16024         break;
16025 
16026       }
16027     }
16028 
16029     public Object getFieldValue(_Fields field) {
16030       switch (field) {
16031       case SEC:
16032         return getSec();
16033 
16034       case TOPE:
16035         return getTope();
16036 
16037       }
16038       throw new IllegalStateException();
16039     }
16040 
16041     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
16042     public boolean isSet(_Fields field) {
16043       if (field == null) {
16044         throw new IllegalArgumentException();
16045       }
16046 
16047       switch (field) {
16048       case SEC:
16049         return isSetSec();
16050       case TOPE:
16051         return isSetTope();
16052       }
16053       throw new IllegalStateException();
16054     }
16055 
16056     @Override
16057     public boolean equals(Object that) {
16058       if (that == null)
16059         return false;
16060       if (that instanceof executeTableOperation_result)
16061         return this.equals((executeTableOperation_result)that);
16062       return false;
16063     }
16064 
16065     public boolean equals(executeTableOperation_result that) {
16066       if (that == null)
16067         return false;
16068 
16069       boolean this_present_sec = true && this.isSetSec();
16070       boolean that_present_sec = true && that.isSetSec();
16071       if (this_present_sec || that_present_sec) {
16072         if (!(this_present_sec && that_present_sec))
16073           return false;
16074         if (!this.sec.equals(that.sec))
16075           return false;
16076       }
16077 
16078       boolean this_present_tope = true && this.isSetTope();
16079       boolean that_present_tope = true && that.isSetTope();
16080       if (this_present_tope || that_present_tope) {
16081         if (!(this_present_tope && that_present_tope))
16082           return false;
16083         if (!this.tope.equals(that.tope))
16084           return false;
16085       }
16086 
16087       return true;
16088     }
16089 
16090     @Override
16091     public int hashCode() {
16092       return 0;
16093     }
16094 
16095     public int compareTo(executeTableOperation_result other) {
16096       if (!getClass().equals(other.getClass())) {
16097         return getClass().getName().compareTo(other.getClass().getName());
16098       }
16099 
16100       int lastComparison = 0;
16101       executeTableOperation_result typedOther = (executeTableOperation_result)other;
16102 
16103       lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec());
16104       if (lastComparison != 0) {
16105         return lastComparison;
16106       }
16107       if (isSetSec()) {
16108         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec);
16109         if (lastComparison != 0) {
16110           return lastComparison;
16111         }
16112       }
16113       lastComparison = Boolean.valueOf(isSetTope()).compareTo(typedOther.isSetTope());
16114       if (lastComparison != 0) {
16115         return lastComparison;
16116       }
16117       if (isSetTope()) {
16118         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tope, typedOther.tope);
16119         if (lastComparison != 0) {
16120           return lastComparison;
16121         }
16122       }
16123       return 0;
16124     }
16125 
16126     public _Fields fieldForId(int fieldId) {
16127       return _Fields.findByThriftId(fieldId);
16128     }
16129 
16130     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
16131       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
16132     }
16133 
16134     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
16135       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
16136       }
16137 
16138     @Override
16139     public String toString() {
16140       StringBuilder sb = new StringBuilder("executeTableOperation_result(");
16141       boolean first = true;
16142 
16143       sb.append("sec:");
16144       if (this.sec == null) {
16145         sb.append("null");
16146       } else {
16147         sb.append(this.sec);
16148       }
16149       first = false;
16150       if (!first) sb.append(", ");
16151       sb.append("tope:");
16152       if (this.tope == null) {
16153         sb.append("null");
16154       } else {
16155         sb.append(this.tope);
16156       }
16157       first = false;
16158       sb.append(")");
16159       return sb.toString();
16160     }
16161 
16162     public void validate() throws org.apache.thrift.TException {
16163       // check for required fields
16164       // check for sub-struct validity
16165     }
16166 
16167     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
16168       try {
16169         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
16170       } catch (org.apache.thrift.TException te) {
16171         throw new java.io.IOException(te);
16172       }
16173     }
16174 
16175     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
16176       try {
16177         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
16178       } catch (org.apache.thrift.TException te) {
16179         throw new java.io.IOException(te);
16180       }
16181     }
16182 
16183     private static class executeTableOperation_resultStandardSchemeFactory implements SchemeFactory {
16184       public executeTableOperation_resultStandardScheme getScheme() {
16185         return new executeTableOperation_resultStandardScheme();
16186       }
16187     }
16188 
16189     private static class executeTableOperation_resultStandardScheme extends StandardScheme<executeTableOperation_result> {
16190 
16191       public void read(org.apache.thrift.protocol.TProtocol iprot, executeTableOperation_result struct) throws org.apache.thrift.TException {
16192         org.apache.thrift.protocol.TField schemeField;
16193         iprot.readStructBegin();
16194         while (true)
16195         {
16196           schemeField = iprot.readFieldBegin();
16197           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
16198             break;
16199           }
16200           switch (schemeField.id) {
16201             case 1: // SEC
16202               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
16203                 struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
16204                 struct.sec.read(iprot);
16205                 struct.setSecIsSet(true);
16206               } else { 
16207                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
16208               }
16209               break;
16210             case 2: // TOPE
16211               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
16212                 struct.tope = new org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException();
16213                 struct.tope.read(iprot);
16214                 struct.setTopeIsSet(true);
16215               } else { 
16216                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
16217               }
16218               break;
16219             default:
16220               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
16221           }
16222           iprot.readFieldEnd();
16223         }
16224         iprot.readStructEnd();
16225 
16226         // check for required fields of primitive type, which can't be checked in the validate method
16227         struct.validate();
16228       }
16229 
16230       public void write(org.apache.thrift.protocol.TProtocol oprot, executeTableOperation_result struct) throws org.apache.thrift.TException {
16231         struct.validate();
16232 
16233         oprot.writeStructBegin(STRUCT_DESC);
16234         if (struct.sec != null) {
16235           oprot.writeFieldBegin(SEC_FIELD_DESC);
16236           struct.sec.write(oprot);
16237           oprot.writeFieldEnd();
16238         }
16239         if (struct.tope != null) {
16240           oprot.writeFieldBegin(TOPE_FIELD_DESC);
16241           struct.tope.write(oprot);
16242           oprot.writeFieldEnd();
16243         }
16244         oprot.writeFieldStop();
16245         oprot.writeStructEnd();
16246       }
16247 
16248     }
16249 
16250     private static class executeTableOperation_resultTupleSchemeFactory implements SchemeFactory {
16251       public executeTableOperation_resultTupleScheme getScheme() {
16252         return new executeTableOperation_resultTupleScheme();
16253       }
16254     }
16255 
16256     private static class executeTableOperation_resultTupleScheme extends TupleScheme<executeTableOperation_result> {
16257 
16258       @Override
16259       public void write(org.apache.thrift.protocol.TProtocol prot, executeTableOperation_result struct) throws org.apache.thrift.TException {
16260         TTupleProtocol oprot = (TTupleProtocol) prot;
16261         BitSet optionals = new BitSet();
16262         if (struct.isSetSec()) {
16263           optionals.set(0);
16264         }
16265         if (struct.isSetTope()) {
16266           optionals.set(1);
16267         }
16268         oprot.writeBitSet(optionals, 2);
16269         if (struct.isSetSec()) {
16270           struct.sec.write(oprot);
16271         }
16272         if (struct.isSetTope()) {
16273           struct.tope.write(oprot);
16274         }
16275       }
16276 
16277       @Override
16278       public void read(org.apache.thrift.protocol.TProtocol prot, executeTableOperation_result struct) throws org.apache.thrift.TException {
16279         TTupleProtocol iprot = (TTupleProtocol) prot;
16280         BitSet incoming = iprot.readBitSet(2);
16281         if (incoming.get(0)) {
16282           struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
16283           struct.sec.read(iprot);
16284           struct.setSecIsSet(true);
16285         }
16286         if (incoming.get(1)) {
16287           struct.tope = new org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException();
16288           struct.tope.read(iprot);
16289           struct.setTopeIsSet(true);
16290         }
16291       }
16292     }
16293 
16294   }
16295 
16296   public static class waitForTableOperation_args implements org.apache.thrift.TBase<waitForTableOperation_args, waitForTableOperation_args._Fields>, java.io.Serializable, Cloneable   {
16297     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("waitForTableOperation_args");
16298 
16299     private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)3);
16300     private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1);
16301     private static final org.apache.thrift.protocol.TField OPID_FIELD_DESC = new org.apache.thrift.protocol.TField("opid", org.apache.thrift.protocol.TType.I64, (short)2);
16302 
16303     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
16304     static {
16305       schemes.put(StandardScheme.class, new waitForTableOperation_argsStandardSchemeFactory());
16306       schemes.put(TupleScheme.class, new waitForTableOperation_argsTupleSchemeFactory());
16307     }
16308 
16309     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
16310     public org.apache.accumulo.core.security.thrift.Credential credential; // required
16311     public long opid; // required
16312 
16313     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
16314     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
16315       TINFO((short)3, "tinfo"),
16316       CREDENTIAL((short)1, "credential"),
16317       OPID((short)2, "opid");
16318 
16319       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
16320 
16321       static {
16322         for (_Fields field : EnumSet.allOf(_Fields.class)) {
16323           byName.put(field.getFieldName(), field);
16324         }
16325       }
16326 
16327       /**
16328        * Find the _Fields constant that matches fieldId, or null if its not found.
16329        */
16330       public static _Fields findByThriftId(int fieldId) {
16331         switch(fieldId) {
16332           case 3: // TINFO
16333             return TINFO;
16334           case 1: // CREDENTIAL
16335             return CREDENTIAL;
16336           case 2: // OPID
16337             return OPID;
16338           default:
16339             return null;
16340         }
16341       }
16342 
16343       /**
16344        * Find the _Fields constant that matches fieldId, throwing an exception
16345        * if it is not found.
16346        */
16347       public static _Fields findByThriftIdOrThrow(int fieldId) {
16348         _Fields fields = findByThriftId(fieldId);
16349         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
16350         return fields;
16351       }
16352 
16353       /**
16354        * Find the _Fields constant that matches name, or null if its not found.
16355        */
16356       public static _Fields findByName(String name) {
16357         return byName.get(name);
16358       }
16359 
16360       private final short _thriftId;
16361       private final String _fieldName;
16362 
16363       _Fields(short thriftId, String fieldName) {
16364         _thriftId = thriftId;
16365         _fieldName = fieldName;
16366       }
16367 
16368       public short getThriftFieldId() {
16369         return _thriftId;
16370       }
16371 
16372       public String getFieldName() {
16373         return _fieldName;
16374       }
16375     }
16376 
16377     // isset id assignments
16378     private static final int __OPID_ISSET_ID = 0;
16379     private byte __isset_bitfield = 0;
16380     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
16381     static {
16382       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
16383       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
16384           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
16385       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
16386           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
16387       tmpMap.put(_Fields.OPID, new org.apache.thrift.meta_data.FieldMetaData("opid", org.apache.thrift.TFieldRequirementType.DEFAULT, 
16388           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
16389       metaDataMap = Collections.unmodifiableMap(tmpMap);
16390       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(waitForTableOperation_args.class, metaDataMap);
16391     }
16392 
16393     public waitForTableOperation_args() {
16394     }
16395 
16396     public waitForTableOperation_args(
16397       org.apache.accumulo.trace.thrift.TInfo tinfo,
16398       org.apache.accumulo.core.security.thrift.Credential credential,
16399       long opid)
16400     {
16401       this();
16402       this.tinfo = tinfo;
16403       this.credential = credential;
16404       this.opid = opid;
16405       setOpidIsSet(true);
16406     }
16407 
16408     /**
16409      * Performs a deep copy on <i>other</i>.
16410      */
16411     public waitForTableOperation_args(waitForTableOperation_args other) {
16412       __isset_bitfield = other.__isset_bitfield;
16413       if (other.isSetTinfo()) {
16414         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
16415       }
16416       if (other.isSetCredential()) {
16417         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
16418       }
16419       this.opid = other.opid;
16420     }
16421 
16422     public waitForTableOperation_args deepCopy() {
16423       return new waitForTableOperation_args(this);
16424     }
16425 
16426     @Override
16427     public void clear() {
16428       this.tinfo = null;
16429       this.credential = null;
16430       setOpidIsSet(false);
16431       this.opid = 0;
16432     }
16433 
16434     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
16435       return this.tinfo;
16436     }
16437 
16438     public waitForTableOperation_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
16439       this.tinfo = tinfo;
16440       return this;
16441     }
16442 
16443     public void unsetTinfo() {
16444       this.tinfo = null;
16445     }
16446 
16447     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
16448     public boolean isSetTinfo() {
16449       return this.tinfo != null;
16450     }
16451 
16452     public void setTinfoIsSet(boolean value) {
16453       if (!value) {
16454         this.tinfo = null;
16455       }
16456     }
16457 
16458     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
16459       return this.credential;
16460     }
16461 
16462     public waitForTableOperation_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
16463       this.credential = credential;
16464       return this;
16465     }
16466 
16467     public void unsetCredential() {
16468       this.credential = null;
16469     }
16470 
16471     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
16472     public boolean isSetCredential() {
16473       return this.credential != null;
16474     }
16475 
16476     public void setCredentialIsSet(boolean value) {
16477       if (!value) {
16478         this.credential = null;
16479       }
16480     }
16481 
16482     public long getOpid() {
16483       return this.opid;
16484     }
16485 
16486     public waitForTableOperation_args setOpid(long opid) {
16487       this.opid = opid;
16488       setOpidIsSet(true);
16489       return this;
16490     }
16491 
16492     public void unsetOpid() {
16493       __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __OPID_ISSET_ID);
16494     }
16495 
16496     /** Returns true if field opid is set (has been assigned a value) and false otherwise */
16497     public boolean isSetOpid() {
16498       return EncodingUtils.testBit(__isset_bitfield, __OPID_ISSET_ID);
16499     }
16500 
16501     public void setOpidIsSet(boolean value) {
16502       __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __OPID_ISSET_ID, value);
16503     }
16504 
16505     public void setFieldValue(_Fields field, Object value) {
16506       switch (field) {
16507       case TINFO:
16508         if (value == null) {
16509           unsetTinfo();
16510         } else {
16511           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
16512         }
16513         break;
16514 
16515       case CREDENTIAL:
16516         if (value == null) {
16517           unsetCredential();
16518         } else {
16519           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
16520         }
16521         break;
16522 
16523       case OPID:
16524         if (value == null) {
16525           unsetOpid();
16526         } else {
16527           setOpid((Long)value);
16528         }
16529         break;
16530 
16531       }
16532     }
16533 
16534     public Object getFieldValue(_Fields field) {
16535       switch (field) {
16536       case TINFO:
16537         return getTinfo();
16538 
16539       case CREDENTIAL:
16540         return getCredential();
16541 
16542       case OPID:
16543         return Long.valueOf(getOpid());
16544 
16545       }
16546       throw new IllegalStateException();
16547     }
16548 
16549     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
16550     public boolean isSet(_Fields field) {
16551       if (field == null) {
16552         throw new IllegalArgumentException();
16553       }
16554 
16555       switch (field) {
16556       case TINFO:
16557         return isSetTinfo();
16558       case CREDENTIAL:
16559         return isSetCredential();
16560       case OPID:
16561         return isSetOpid();
16562       }
16563       throw new IllegalStateException();
16564     }
16565 
16566     @Override
16567     public boolean equals(Object that) {
16568       if (that == null)
16569         return false;
16570       if (that instanceof waitForTableOperation_args)
16571         return this.equals((waitForTableOperation_args)that);
16572       return false;
16573     }
16574 
16575     public boolean equals(waitForTableOperation_args that) {
16576       if (that == null)
16577         return false;
16578 
16579       boolean this_present_tinfo = true && this.isSetTinfo();
16580       boolean that_present_tinfo = true && that.isSetTinfo();
16581       if (this_present_tinfo || that_present_tinfo) {
16582         if (!(this_present_tinfo && that_present_tinfo))
16583           return false;
16584         if (!this.tinfo.equals(that.tinfo))
16585           return false;
16586       }
16587 
16588       boolean this_present_credential = true && this.isSetCredential();
16589       boolean that_present_credential = true && that.isSetCredential();
16590       if (this_present_credential || that_present_credential) {
16591         if (!(this_present_credential && that_present_credential))
16592           return false;
16593         if (!this.credential.equals(that.credential))
16594           return false;
16595       }
16596 
16597       boolean this_present_opid = true;
16598       boolean that_present_opid = true;
16599       if (this_present_opid || that_present_opid) {
16600         if (!(this_present_opid && that_present_opid))
16601           return false;
16602         if (this.opid != that.opid)
16603           return false;
16604       }
16605 
16606       return true;
16607     }
16608 
16609     @Override
16610     public int hashCode() {
16611       return 0;
16612     }
16613 
16614     public int compareTo(waitForTableOperation_args other) {
16615       if (!getClass().equals(other.getClass())) {
16616         return getClass().getName().compareTo(other.getClass().getName());
16617       }
16618 
16619       int lastComparison = 0;
16620       waitForTableOperation_args typedOther = (waitForTableOperation_args)other;
16621 
16622       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
16623       if (lastComparison != 0) {
16624         return lastComparison;
16625       }
16626       if (isSetTinfo()) {
16627         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
16628         if (lastComparison != 0) {
16629           return lastComparison;
16630         }
16631       }
16632       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
16633       if (lastComparison != 0) {
16634         return lastComparison;
16635       }
16636       if (isSetCredential()) {
16637         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
16638         if (lastComparison != 0) {
16639           return lastComparison;
16640         }
16641       }
16642       lastComparison = Boolean.valueOf(isSetOpid()).compareTo(typedOther.isSetOpid());
16643       if (lastComparison != 0) {
16644         return lastComparison;
16645       }
16646       if (isSetOpid()) {
16647         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.opid, typedOther.opid);
16648         if (lastComparison != 0) {
16649           return lastComparison;
16650         }
16651       }
16652       return 0;
16653     }
16654 
16655     public _Fields fieldForId(int fieldId) {
16656       return _Fields.findByThriftId(fieldId);
16657     }
16658 
16659     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
16660       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
16661     }
16662 
16663     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
16664       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
16665     }
16666 
16667     @Override
16668     public String toString() {
16669       StringBuilder sb = new StringBuilder("waitForTableOperation_args(");
16670       boolean first = true;
16671 
16672       sb.append("tinfo:");
16673       if (this.tinfo == null) {
16674         sb.append("null");
16675       } else {
16676         sb.append(this.tinfo);
16677       }
16678       first = false;
16679       if (!first) sb.append(", ");
16680       sb.append("credential:");
16681       if (this.credential == null) {
16682         sb.append("null");
16683       } else {
16684         sb.append(this.credential);
16685       }
16686       first = false;
16687       if (!first) sb.append(", ");
16688       sb.append("opid:");
16689       sb.append(this.opid);
16690       first = false;
16691       sb.append(")");
16692       return sb.toString();
16693     }
16694 
16695     public void validate() throws org.apache.thrift.TException {
16696       // check for required fields
16697       // check for sub-struct validity
16698       if (tinfo != null) {
16699         tinfo.validate();
16700       }
16701       if (credential != null) {
16702         credential.validate();
16703       }
16704     }
16705 
16706     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
16707       try {
16708         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
16709       } catch (org.apache.thrift.TException te) {
16710         throw new java.io.IOException(te);
16711       }
16712     }
16713 
16714     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
16715       try {
16716         // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
16717         __isset_bitfield = 0;
16718         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
16719       } catch (org.apache.thrift.TException te) {
16720         throw new java.io.IOException(te);
16721       }
16722     }
16723 
16724     private static class waitForTableOperation_argsStandardSchemeFactory implements SchemeFactory {
16725       public waitForTableOperation_argsStandardScheme getScheme() {
16726         return new waitForTableOperation_argsStandardScheme();
16727       }
16728     }
16729 
16730     private static class waitForTableOperation_argsStandardScheme extends StandardScheme<waitForTableOperation_args> {
16731 
16732       public void read(org.apache.thrift.protocol.TProtocol iprot, waitForTableOperation_args struct) throws org.apache.thrift.TException {
16733         org.apache.thrift.protocol.TField schemeField;
16734         iprot.readStructBegin();
16735         while (true)
16736         {
16737           schemeField = iprot.readFieldBegin();
16738           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
16739             break;
16740           }
16741           switch (schemeField.id) {
16742             case 3: // TINFO
16743               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
16744                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
16745                 struct.tinfo.read(iprot);
16746                 struct.setTinfoIsSet(true);
16747               } else { 
16748                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
16749               }
16750               break;
16751             case 1: // CREDENTIAL
16752               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
16753                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
16754                 struct.credential.read(iprot);
16755                 struct.setCredentialIsSet(true);
16756               } else { 
16757                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
16758               }
16759               break;
16760             case 2: // OPID
16761               if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
16762                 struct.opid = iprot.readI64();
16763                 struct.setOpidIsSet(true);
16764               } else { 
16765                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
16766               }
16767               break;
16768             default:
16769               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
16770           }
16771           iprot.readFieldEnd();
16772         }
16773         iprot.readStructEnd();
16774 
16775         // check for required fields of primitive type, which can't be checked in the validate method
16776         struct.validate();
16777       }
16778 
16779       public void write(org.apache.thrift.protocol.TProtocol oprot, waitForTableOperation_args struct) throws org.apache.thrift.TException {
16780         struct.validate();
16781 
16782         oprot.writeStructBegin(STRUCT_DESC);
16783         if (struct.credential != null) {
16784           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
16785           struct.credential.write(oprot);
16786           oprot.writeFieldEnd();
16787         }
16788         oprot.writeFieldBegin(OPID_FIELD_DESC);
16789         oprot.writeI64(struct.opid);
16790         oprot.writeFieldEnd();
16791         if (struct.tinfo != null) {
16792           oprot.writeFieldBegin(TINFO_FIELD_DESC);
16793           struct.tinfo.write(oprot);
16794           oprot.writeFieldEnd();
16795         }
16796         oprot.writeFieldStop();
16797         oprot.writeStructEnd();
16798       }
16799 
16800     }
16801 
16802     private static class waitForTableOperation_argsTupleSchemeFactory implements SchemeFactory {
16803       public waitForTableOperation_argsTupleScheme getScheme() {
16804         return new waitForTableOperation_argsTupleScheme();
16805       }
16806     }
16807 
16808     private static class waitForTableOperation_argsTupleScheme extends TupleScheme<waitForTableOperation_args> {
16809 
16810       @Override
16811       public void write(org.apache.thrift.protocol.TProtocol prot, waitForTableOperation_args struct) throws org.apache.thrift.TException {
16812         TTupleProtocol oprot = (TTupleProtocol) prot;
16813         BitSet optionals = new BitSet();
16814         if (struct.isSetTinfo()) {
16815           optionals.set(0);
16816         }
16817         if (struct.isSetCredential()) {
16818           optionals.set(1);
16819         }
16820         if (struct.isSetOpid()) {
16821           optionals.set(2);
16822         }
16823         oprot.writeBitSet(optionals, 3);
16824         if (struct.isSetTinfo()) {
16825           struct.tinfo.write(oprot);
16826         }
16827         if (struct.isSetCredential()) {
16828           struct.credential.write(oprot);
16829         }
16830         if (struct.isSetOpid()) {
16831           oprot.writeI64(struct.opid);
16832         }
16833       }
16834 
16835       @Override
16836       public void read(org.apache.thrift.protocol.TProtocol prot, waitForTableOperation_args struct) throws org.apache.thrift.TException {
16837         TTupleProtocol iprot = (TTupleProtocol) prot;
16838         BitSet incoming = iprot.readBitSet(3);
16839         if (incoming.get(0)) {
16840           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
16841           struct.tinfo.read(iprot);
16842           struct.setTinfoIsSet(true);
16843         }
16844         if (incoming.get(1)) {
16845           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
16846           struct.credential.read(iprot);
16847           struct.setCredentialIsSet(true);
16848         }
16849         if (incoming.get(2)) {
16850           struct.opid = iprot.readI64();
16851           struct.setOpidIsSet(true);
16852         }
16853       }
16854     }
16855 
16856   }
16857 
16858   public static class waitForTableOperation_result implements org.apache.thrift.TBase<waitForTableOperation_result, waitForTableOperation_result._Fields>, java.io.Serializable, Cloneable   {
16859     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("waitForTableOperation_result");
16860 
16861     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);
16862     private static final org.apache.thrift.protocol.TField SEC_FIELD_DESC = new org.apache.thrift.protocol.TField("sec", org.apache.thrift.protocol.TType.STRUCT, (short)1);
16863     private static final org.apache.thrift.protocol.TField TOPE_FIELD_DESC = new org.apache.thrift.protocol.TField("tope", org.apache.thrift.protocol.TType.STRUCT, (short)2);
16864 
16865     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
16866     static {
16867       schemes.put(StandardScheme.class, new waitForTableOperation_resultStandardSchemeFactory());
16868       schemes.put(TupleScheme.class, new waitForTableOperation_resultTupleSchemeFactory());
16869     }
16870 
16871     public String success; // required
16872     public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required
16873     public org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException tope; // required
16874 
16875     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
16876     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
16877       SUCCESS((short)0, "success"),
16878       SEC((short)1, "sec"),
16879       TOPE((short)2, "tope");
16880 
16881       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
16882 
16883       static {
16884         for (_Fields field : EnumSet.allOf(_Fields.class)) {
16885           byName.put(field.getFieldName(), field);
16886         }
16887       }
16888 
16889       /**
16890        * Find the _Fields constant that matches fieldId, or null if its not found.
16891        */
16892       public static _Fields findByThriftId(int fieldId) {
16893         switch(fieldId) {
16894           case 0: // SUCCESS
16895             return SUCCESS;
16896           case 1: // SEC
16897             return SEC;
16898           case 2: // TOPE
16899             return TOPE;
16900           default:
16901             return null;
16902         }
16903       }
16904 
16905       /**
16906        * Find the _Fields constant that matches fieldId, throwing an exception
16907        * if it is not found.
16908        */
16909       public static _Fields findByThriftIdOrThrow(int fieldId) {
16910         _Fields fields = findByThriftId(fieldId);
16911         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
16912         return fields;
16913       }
16914 
16915       /**
16916        * Find the _Fields constant that matches name, or null if its not found.
16917        */
16918       public static _Fields findByName(String name) {
16919         return byName.get(name);
16920       }
16921 
16922       private final short _thriftId;
16923       private final String _fieldName;
16924 
16925       _Fields(short thriftId, String fieldName) {
16926         _thriftId = thriftId;
16927         _fieldName = fieldName;
16928       }
16929 
16930       public short getThriftFieldId() {
16931         return _thriftId;
16932       }
16933 
16934       public String getFieldName() {
16935         return _fieldName;
16936       }
16937     }
16938 
16939     // isset id assignments
16940     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
16941     static {
16942       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
16943       tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
16944           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
16945       tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, 
16946           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
16947       tmpMap.put(_Fields.TOPE, new org.apache.thrift.meta_data.FieldMetaData("tope", org.apache.thrift.TFieldRequirementType.DEFAULT, 
16948           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
16949       metaDataMap = Collections.unmodifiableMap(tmpMap);
16950       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(waitForTableOperation_result.class, metaDataMap);
16951     }
16952 
16953     public waitForTableOperation_result() {
16954     }
16955 
16956     public waitForTableOperation_result(
16957       String success,
16958       org.apache.accumulo.core.security.thrift.ThriftSecurityException sec,
16959       org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException tope)
16960     {
16961       this();
16962       this.success = success;
16963       this.sec = sec;
16964       this.tope = tope;
16965     }
16966 
16967     /**
16968      * Performs a deep copy on <i>other</i>.
16969      */
16970     public waitForTableOperation_result(waitForTableOperation_result other) {
16971       if (other.isSetSuccess()) {
16972         this.success = other.success;
16973       }
16974       if (other.isSetSec()) {
16975         this.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(other.sec);
16976       }
16977       if (other.isSetTope()) {
16978         this.tope = new org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException(other.tope);
16979       }
16980     }
16981 
16982     public waitForTableOperation_result deepCopy() {
16983       return new waitForTableOperation_result(this);
16984     }
16985 
16986     @Override
16987     public void clear() {
16988       this.success = null;
16989       this.sec = null;
16990       this.tope = null;
16991     }
16992 
16993     public String getSuccess() {
16994       return this.success;
16995     }
16996 
16997     public waitForTableOperation_result setSuccess(String success) {
16998       this.success = success;
16999       return this;
17000     }
17001 
17002     public void unsetSuccess() {
17003       this.success = null;
17004     }
17005 
17006     /** Returns true if field success is set (has been assigned a value) and false otherwise */
17007     public boolean isSetSuccess() {
17008       return this.success != null;
17009     }
17010 
17011     public void setSuccessIsSet(boolean value) {
17012       if (!value) {
17013         this.success = null;
17014       }
17015     }
17016 
17017     public org.apache.accumulo.core.security.thrift.ThriftSecurityException getSec() {
17018       return this.sec;
17019     }
17020 
17021     public waitForTableOperation_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
17022       this.sec = sec;
17023       return this;
17024     }
17025 
17026     public void unsetSec() {
17027       this.sec = null;
17028     }
17029 
17030     /** Returns true if field sec is set (has been assigned a value) and false otherwise */
17031     public boolean isSetSec() {
17032       return this.sec != null;
17033     }
17034 
17035     public void setSecIsSet(boolean value) {
17036       if (!value) {
17037         this.sec = null;
17038       }
17039     }
17040 
17041     public org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException getTope() {
17042       return this.tope;
17043     }
17044 
17045     public waitForTableOperation_result setTope(org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException tope) {
17046       this.tope = tope;
17047       return this;
17048     }
17049 
17050     public void unsetTope() {
17051       this.tope = null;
17052     }
17053 
17054     /** Returns true if field tope is set (has been assigned a value) and false otherwise */
17055     public boolean isSetTope() {
17056       return this.tope != null;
17057     }
17058 
17059     public void setTopeIsSet(boolean value) {
17060       if (!value) {
17061         this.tope = null;
17062       }
17063     }
17064 
17065     public void setFieldValue(_Fields field, Object value) {
17066       switch (field) {
17067       case SUCCESS:
17068         if (value == null) {
17069           unsetSuccess();
17070         } else {
17071           setSuccess((String)value);
17072         }
17073         break;
17074 
17075       case SEC:
17076         if (value == null) {
17077           unsetSec();
17078         } else {
17079           setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value);
17080         }
17081         break;
17082 
17083       case TOPE:
17084         if (value == null) {
17085           unsetTope();
17086         } else {
17087           setTope((org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException)value);
17088         }
17089         break;
17090 
17091       }
17092     }
17093 
17094     public Object getFieldValue(_Fields field) {
17095       switch (field) {
17096       case SUCCESS:
17097         return getSuccess();
17098 
17099       case SEC:
17100         return getSec();
17101 
17102       case TOPE:
17103         return getTope();
17104 
17105       }
17106       throw new IllegalStateException();
17107     }
17108 
17109     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
17110     public boolean isSet(_Fields field) {
17111       if (field == null) {
17112         throw new IllegalArgumentException();
17113       }
17114 
17115       switch (field) {
17116       case SUCCESS:
17117         return isSetSuccess();
17118       case SEC:
17119         return isSetSec();
17120       case TOPE:
17121         return isSetTope();
17122       }
17123       throw new IllegalStateException();
17124     }
17125 
17126     @Override
17127     public boolean equals(Object that) {
17128       if (that == null)
17129         return false;
17130       if (that instanceof waitForTableOperation_result)
17131         return this.equals((waitForTableOperation_result)that);
17132       return false;
17133     }
17134 
17135     public boolean equals(waitForTableOperation_result that) {
17136       if (that == null)
17137         return false;
17138 
17139       boolean this_present_success = true && this.isSetSuccess();
17140       boolean that_present_success = true && that.isSetSuccess();
17141       if (this_present_success || that_present_success) {
17142         if (!(this_present_success && that_present_success))
17143           return false;
17144         if (!this.success.equals(that.success))
17145           return false;
17146       }
17147 
17148       boolean this_present_sec = true && this.isSetSec();
17149       boolean that_present_sec = true && that.isSetSec();
17150       if (this_present_sec || that_present_sec) {
17151         if (!(this_present_sec && that_present_sec))
17152           return false;
17153         if (!this.sec.equals(that.sec))
17154           return false;
17155       }
17156 
17157       boolean this_present_tope = true && this.isSetTope();
17158       boolean that_present_tope = true && that.isSetTope();
17159       if (this_present_tope || that_present_tope) {
17160         if (!(this_present_tope && that_present_tope))
17161           return false;
17162         if (!this.tope.equals(that.tope))
17163           return false;
17164       }
17165 
17166       return true;
17167     }
17168 
17169     @Override
17170     public int hashCode() {
17171       return 0;
17172     }
17173 
17174     public int compareTo(waitForTableOperation_result other) {
17175       if (!getClass().equals(other.getClass())) {
17176         return getClass().getName().compareTo(other.getClass().getName());
17177       }
17178 
17179       int lastComparison = 0;
17180       waitForTableOperation_result typedOther = (waitForTableOperation_result)other;
17181 
17182       lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
17183       if (lastComparison != 0) {
17184         return lastComparison;
17185       }
17186       if (isSetSuccess()) {
17187         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
17188         if (lastComparison != 0) {
17189           return lastComparison;
17190         }
17191       }
17192       lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec());
17193       if (lastComparison != 0) {
17194         return lastComparison;
17195       }
17196       if (isSetSec()) {
17197         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec);
17198         if (lastComparison != 0) {
17199           return lastComparison;
17200         }
17201       }
17202       lastComparison = Boolean.valueOf(isSetTope()).compareTo(typedOther.isSetTope());
17203       if (lastComparison != 0) {
17204         return lastComparison;
17205       }
17206       if (isSetTope()) {
17207         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tope, typedOther.tope);
17208         if (lastComparison != 0) {
17209           return lastComparison;
17210         }
17211       }
17212       return 0;
17213     }
17214 
17215     public _Fields fieldForId(int fieldId) {
17216       return _Fields.findByThriftId(fieldId);
17217     }
17218 
17219     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
17220       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
17221     }
17222 
17223     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
17224       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
17225       }
17226 
17227     @Override
17228     public String toString() {
17229       StringBuilder sb = new StringBuilder("waitForTableOperation_result(");
17230       boolean first = true;
17231 
17232       sb.append("success:");
17233       if (this.success == null) {
17234         sb.append("null");
17235       } else {
17236         sb.append(this.success);
17237       }
17238       first = false;
17239       if (!first) sb.append(", ");
17240       sb.append("sec:");
17241       if (this.sec == null) {
17242         sb.append("null");
17243       } else {
17244         sb.append(this.sec);
17245       }
17246       first = false;
17247       if (!first) sb.append(", ");
17248       sb.append("tope:");
17249       if (this.tope == null) {
17250         sb.append("null");
17251       } else {
17252         sb.append(this.tope);
17253       }
17254       first = false;
17255       sb.append(")");
17256       return sb.toString();
17257     }
17258 
17259     public void validate() throws org.apache.thrift.TException {
17260       // check for required fields
17261       // check for sub-struct validity
17262     }
17263 
17264     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
17265       try {
17266         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
17267       } catch (org.apache.thrift.TException te) {
17268         throw new java.io.IOException(te);
17269       }
17270     }
17271 
17272     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
17273       try {
17274         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
17275       } catch (org.apache.thrift.TException te) {
17276         throw new java.io.IOException(te);
17277       }
17278     }
17279 
17280     private static class waitForTableOperation_resultStandardSchemeFactory implements SchemeFactory {
17281       public waitForTableOperation_resultStandardScheme getScheme() {
17282         return new waitForTableOperation_resultStandardScheme();
17283       }
17284     }
17285 
17286     private static class waitForTableOperation_resultStandardScheme extends StandardScheme<waitForTableOperation_result> {
17287 
17288       public void read(org.apache.thrift.protocol.TProtocol iprot, waitForTableOperation_result struct) throws org.apache.thrift.TException {
17289         org.apache.thrift.protocol.TField schemeField;
17290         iprot.readStructBegin();
17291         while (true)
17292         {
17293           schemeField = iprot.readFieldBegin();
17294           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
17295             break;
17296           }
17297           switch (schemeField.id) {
17298             case 0: // SUCCESS
17299               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
17300                 struct.success = iprot.readString();
17301                 struct.setSuccessIsSet(true);
17302               } else { 
17303                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
17304               }
17305               break;
17306             case 1: // SEC
17307               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
17308                 struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
17309                 struct.sec.read(iprot);
17310                 struct.setSecIsSet(true);
17311               } else { 
17312                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
17313               }
17314               break;
17315             case 2: // TOPE
17316               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
17317                 struct.tope = new org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException();
17318                 struct.tope.read(iprot);
17319                 struct.setTopeIsSet(true);
17320               } else { 
17321                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
17322               }
17323               break;
17324             default:
17325               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
17326           }
17327           iprot.readFieldEnd();
17328         }
17329         iprot.readStructEnd();
17330 
17331         // check for required fields of primitive type, which can't be checked in the validate method
17332         struct.validate();
17333       }
17334 
17335       public void write(org.apache.thrift.protocol.TProtocol oprot, waitForTableOperation_result struct) throws org.apache.thrift.TException {
17336         struct.validate();
17337 
17338         oprot.writeStructBegin(STRUCT_DESC);
17339         if (struct.success != null) {
17340           oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
17341           oprot.writeString(struct.success);
17342           oprot.writeFieldEnd();
17343         }
17344         if (struct.sec != null) {
17345           oprot.writeFieldBegin(SEC_FIELD_DESC);
17346           struct.sec.write(oprot);
17347           oprot.writeFieldEnd();
17348         }
17349         if (struct.tope != null) {
17350           oprot.writeFieldBegin(TOPE_FIELD_DESC);
17351           struct.tope.write(oprot);
17352           oprot.writeFieldEnd();
17353         }
17354         oprot.writeFieldStop();
17355         oprot.writeStructEnd();
17356       }
17357 
17358     }
17359 
17360     private static class waitForTableOperation_resultTupleSchemeFactory implements SchemeFactory {
17361       public waitForTableOperation_resultTupleScheme getScheme() {
17362         return new waitForTableOperation_resultTupleScheme();
17363       }
17364     }
17365 
17366     private static class waitForTableOperation_resultTupleScheme extends TupleScheme<waitForTableOperation_result> {
17367 
17368       @Override
17369       public void write(org.apache.thrift.protocol.TProtocol prot, waitForTableOperation_result struct) throws org.apache.thrift.TException {
17370         TTupleProtocol oprot = (TTupleProtocol) prot;
17371         BitSet optionals = new BitSet();
17372         if (struct.isSetSuccess()) {
17373           optionals.set(0);
17374         }
17375         if (struct.isSetSec()) {
17376           optionals.set(1);
17377         }
17378         if (struct.isSetTope()) {
17379           optionals.set(2);
17380         }
17381         oprot.writeBitSet(optionals, 3);
17382         if (struct.isSetSuccess()) {
17383           oprot.writeString(struct.success);
17384         }
17385         if (struct.isSetSec()) {
17386           struct.sec.write(oprot);
17387         }
17388         if (struct.isSetTope()) {
17389           struct.tope.write(oprot);
17390         }
17391       }
17392 
17393       @Override
17394       public void read(org.apache.thrift.protocol.TProtocol prot, waitForTableOperation_result struct) throws org.apache.thrift.TException {
17395         TTupleProtocol iprot = (TTupleProtocol) prot;
17396         BitSet incoming = iprot.readBitSet(3);
17397         if (incoming.get(0)) {
17398           struct.success = iprot.readString();
17399           struct.setSuccessIsSet(true);
17400         }
17401         if (incoming.get(1)) {
17402           struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
17403           struct.sec.read(iprot);
17404           struct.setSecIsSet(true);
17405         }
17406         if (incoming.get(2)) {
17407           struct.tope = new org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException();
17408           struct.tope.read(iprot);
17409           struct.setTopeIsSet(true);
17410         }
17411       }
17412     }
17413 
17414   }
17415 
17416   public static class finishTableOperation_args implements org.apache.thrift.TBase<finishTableOperation_args, finishTableOperation_args._Fields>, java.io.Serializable, Cloneable   {
17417     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("finishTableOperation_args");
17418 
17419     private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)3);
17420     private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1);
17421     private static final org.apache.thrift.protocol.TField OPID_FIELD_DESC = new org.apache.thrift.protocol.TField("opid", org.apache.thrift.protocol.TType.I64, (short)2);
17422 
17423     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
17424     static {
17425       schemes.put(StandardScheme.class, new finishTableOperation_argsStandardSchemeFactory());
17426       schemes.put(TupleScheme.class, new finishTableOperation_argsTupleSchemeFactory());
17427     }
17428 
17429     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
17430     public org.apache.accumulo.core.security.thrift.Credential credential; // required
17431     public long opid; // required
17432 
17433     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
17434     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
17435       TINFO((short)3, "tinfo"),
17436       CREDENTIAL((short)1, "credential"),
17437       OPID((short)2, "opid");
17438 
17439       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
17440 
17441       static {
17442         for (_Fields field : EnumSet.allOf(_Fields.class)) {
17443           byName.put(field.getFieldName(), field);
17444         }
17445       }
17446 
17447       /**
17448        * Find the _Fields constant that matches fieldId, or null if its not found.
17449        */
17450       public static _Fields findByThriftId(int fieldId) {
17451         switch(fieldId) {
17452           case 3: // TINFO
17453             return TINFO;
17454           case 1: // CREDENTIAL
17455             return CREDENTIAL;
17456           case 2: // OPID
17457             return OPID;
17458           default:
17459             return null;
17460         }
17461       }
17462 
17463       /**
17464        * Find the _Fields constant that matches fieldId, throwing an exception
17465        * if it is not found.
17466        */
17467       public static _Fields findByThriftIdOrThrow(int fieldId) {
17468         _Fields fields = findByThriftId(fieldId);
17469         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
17470         return fields;
17471       }
17472 
17473       /**
17474        * Find the _Fields constant that matches name, or null if its not found.
17475        */
17476       public static _Fields findByName(String name) {
17477         return byName.get(name);
17478       }
17479 
17480       private final short _thriftId;
17481       private final String _fieldName;
17482 
17483       _Fields(short thriftId, String fieldName) {
17484         _thriftId = thriftId;
17485         _fieldName = fieldName;
17486       }
17487 
17488       public short getThriftFieldId() {
17489         return _thriftId;
17490       }
17491 
17492       public String getFieldName() {
17493         return _fieldName;
17494       }
17495     }
17496 
17497     // isset id assignments
17498     private static final int __OPID_ISSET_ID = 0;
17499     private byte __isset_bitfield = 0;
17500     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
17501     static {
17502       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
17503       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
17504           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
17505       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
17506           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
17507       tmpMap.put(_Fields.OPID, new org.apache.thrift.meta_data.FieldMetaData("opid", org.apache.thrift.TFieldRequirementType.DEFAULT, 
17508           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
17509       metaDataMap = Collections.unmodifiableMap(tmpMap);
17510       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(finishTableOperation_args.class, metaDataMap);
17511     }
17512 
17513     public finishTableOperation_args() {
17514     }
17515 
17516     public finishTableOperation_args(
17517       org.apache.accumulo.trace.thrift.TInfo tinfo,
17518       org.apache.accumulo.core.security.thrift.Credential credential,
17519       long opid)
17520     {
17521       this();
17522       this.tinfo = tinfo;
17523       this.credential = credential;
17524       this.opid = opid;
17525       setOpidIsSet(true);
17526     }
17527 
17528     /**
17529      * Performs a deep copy on <i>other</i>.
17530      */
17531     public finishTableOperation_args(finishTableOperation_args other) {
17532       __isset_bitfield = other.__isset_bitfield;
17533       if (other.isSetTinfo()) {
17534         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
17535       }
17536       if (other.isSetCredential()) {
17537         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
17538       }
17539       this.opid = other.opid;
17540     }
17541 
17542     public finishTableOperation_args deepCopy() {
17543       return new finishTableOperation_args(this);
17544     }
17545 
17546     @Override
17547     public void clear() {
17548       this.tinfo = null;
17549       this.credential = null;
17550       setOpidIsSet(false);
17551       this.opid = 0;
17552     }
17553 
17554     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
17555       return this.tinfo;
17556     }
17557 
17558     public finishTableOperation_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
17559       this.tinfo = tinfo;
17560       return this;
17561     }
17562 
17563     public void unsetTinfo() {
17564       this.tinfo = null;
17565     }
17566 
17567     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
17568     public boolean isSetTinfo() {
17569       return this.tinfo != null;
17570     }
17571 
17572     public void setTinfoIsSet(boolean value) {
17573       if (!value) {
17574         this.tinfo = null;
17575       }
17576     }
17577 
17578     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
17579       return this.credential;
17580     }
17581 
17582     public finishTableOperation_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
17583       this.credential = credential;
17584       return this;
17585     }
17586 
17587     public void unsetCredential() {
17588       this.credential = null;
17589     }
17590 
17591     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
17592     public boolean isSetCredential() {
17593       return this.credential != null;
17594     }
17595 
17596     public void setCredentialIsSet(boolean value) {
17597       if (!value) {
17598         this.credential = null;
17599       }
17600     }
17601 
17602     public long getOpid() {
17603       return this.opid;
17604     }
17605 
17606     public finishTableOperation_args setOpid(long opid) {
17607       this.opid = opid;
17608       setOpidIsSet(true);
17609       return this;
17610     }
17611 
17612     public void unsetOpid() {
17613       __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __OPID_ISSET_ID);
17614     }
17615 
17616     /** Returns true if field opid is set (has been assigned a value) and false otherwise */
17617     public boolean isSetOpid() {
17618       return EncodingUtils.testBit(__isset_bitfield, __OPID_ISSET_ID);
17619     }
17620 
17621     public void setOpidIsSet(boolean value) {
17622       __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __OPID_ISSET_ID, value);
17623     }
17624 
17625     public void setFieldValue(_Fields field, Object value) {
17626       switch (field) {
17627       case TINFO:
17628         if (value == null) {
17629           unsetTinfo();
17630         } else {
17631           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
17632         }
17633         break;
17634 
17635       case CREDENTIAL:
17636         if (value == null) {
17637           unsetCredential();
17638         } else {
17639           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
17640         }
17641         break;
17642 
17643       case OPID:
17644         if (value == null) {
17645           unsetOpid();
17646         } else {
17647           setOpid((Long)value);
17648         }
17649         break;
17650 
17651       }
17652     }
17653 
17654     public Object getFieldValue(_Fields field) {
17655       switch (field) {
17656       case TINFO:
17657         return getTinfo();
17658 
17659       case CREDENTIAL:
17660         return getCredential();
17661 
17662       case OPID:
17663         return Long.valueOf(getOpid());
17664 
17665       }
17666       throw new IllegalStateException();
17667     }
17668 
17669     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
17670     public boolean isSet(_Fields field) {
17671       if (field == null) {
17672         throw new IllegalArgumentException();
17673       }
17674 
17675       switch (field) {
17676       case TINFO:
17677         return isSetTinfo();
17678       case CREDENTIAL:
17679         return isSetCredential();
17680       case OPID:
17681         return isSetOpid();
17682       }
17683       throw new IllegalStateException();
17684     }
17685 
17686     @Override
17687     public boolean equals(Object that) {
17688       if (that == null)
17689         return false;
17690       if (that instanceof finishTableOperation_args)
17691         return this.equals((finishTableOperation_args)that);
17692       return false;
17693     }
17694 
17695     public boolean equals(finishTableOperation_args that) {
17696       if (that == null)
17697         return false;
17698 
17699       boolean this_present_tinfo = true && this.isSetTinfo();
17700       boolean that_present_tinfo = true && that.isSetTinfo();
17701       if (this_present_tinfo || that_present_tinfo) {
17702         if (!(this_present_tinfo && that_present_tinfo))
17703           return false;
17704         if (!this.tinfo.equals(that.tinfo))
17705           return false;
17706       }
17707 
17708       boolean this_present_credential = true && this.isSetCredential();
17709       boolean that_present_credential = true && that.isSetCredential();
17710       if (this_present_credential || that_present_credential) {
17711         if (!(this_present_credential && that_present_credential))
17712           return false;
17713         if (!this.credential.equals(that.credential))
17714           return false;
17715       }
17716 
17717       boolean this_present_opid = true;
17718       boolean that_present_opid = true;
17719       if (this_present_opid || that_present_opid) {
17720         if (!(this_present_opid && that_present_opid))
17721           return false;
17722         if (this.opid != that.opid)
17723           return false;
17724       }
17725 
17726       return true;
17727     }
17728 
17729     @Override
17730     public int hashCode() {
17731       return 0;
17732     }
17733 
17734     public int compareTo(finishTableOperation_args other) {
17735       if (!getClass().equals(other.getClass())) {
17736         return getClass().getName().compareTo(other.getClass().getName());
17737       }
17738 
17739       int lastComparison = 0;
17740       finishTableOperation_args typedOther = (finishTableOperation_args)other;
17741 
17742       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
17743       if (lastComparison != 0) {
17744         return lastComparison;
17745       }
17746       if (isSetTinfo()) {
17747         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
17748         if (lastComparison != 0) {
17749           return lastComparison;
17750         }
17751       }
17752       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
17753       if (lastComparison != 0) {
17754         return lastComparison;
17755       }
17756       if (isSetCredential()) {
17757         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
17758         if (lastComparison != 0) {
17759           return lastComparison;
17760         }
17761       }
17762       lastComparison = Boolean.valueOf(isSetOpid()).compareTo(typedOther.isSetOpid());
17763       if (lastComparison != 0) {
17764         return lastComparison;
17765       }
17766       if (isSetOpid()) {
17767         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.opid, typedOther.opid);
17768         if (lastComparison != 0) {
17769           return lastComparison;
17770         }
17771       }
17772       return 0;
17773     }
17774 
17775     public _Fields fieldForId(int fieldId) {
17776       return _Fields.findByThriftId(fieldId);
17777     }
17778 
17779     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
17780       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
17781     }
17782 
17783     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
17784       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
17785     }
17786 
17787     @Override
17788     public String toString() {
17789       StringBuilder sb = new StringBuilder("finishTableOperation_args(");
17790       boolean first = true;
17791 
17792       sb.append("tinfo:");
17793       if (this.tinfo == null) {
17794         sb.append("null");
17795       } else {
17796         sb.append(this.tinfo);
17797       }
17798       first = false;
17799       if (!first) sb.append(", ");
17800       sb.append("credential:");
17801       if (this.credential == null) {
17802         sb.append("null");
17803       } else {
17804         sb.append(this.credential);
17805       }
17806       first = false;
17807       if (!first) sb.append(", ");
17808       sb.append("opid:");
17809       sb.append(this.opid);
17810       first = false;
17811       sb.append(")");
17812       return sb.toString();
17813     }
17814 
17815     public void validate() throws org.apache.thrift.TException {
17816       // check for required fields
17817       // check for sub-struct validity
17818       if (tinfo != null) {
17819         tinfo.validate();
17820       }
17821       if (credential != null) {
17822         credential.validate();
17823       }
17824     }
17825 
17826     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
17827       try {
17828         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
17829       } catch (org.apache.thrift.TException te) {
17830         throw new java.io.IOException(te);
17831       }
17832     }
17833 
17834     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
17835       try {
17836         // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
17837         __isset_bitfield = 0;
17838         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
17839       } catch (org.apache.thrift.TException te) {
17840         throw new java.io.IOException(te);
17841       }
17842     }
17843 
17844     private static class finishTableOperation_argsStandardSchemeFactory implements SchemeFactory {
17845       public finishTableOperation_argsStandardScheme getScheme() {
17846         return new finishTableOperation_argsStandardScheme();
17847       }
17848     }
17849 
17850     private static class finishTableOperation_argsStandardScheme extends StandardScheme<finishTableOperation_args> {
17851 
17852       public void read(org.apache.thrift.protocol.TProtocol iprot, finishTableOperation_args struct) throws org.apache.thrift.TException {
17853         org.apache.thrift.protocol.TField schemeField;
17854         iprot.readStructBegin();
17855         while (true)
17856         {
17857           schemeField = iprot.readFieldBegin();
17858           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
17859             break;
17860           }
17861           switch (schemeField.id) {
17862             case 3: // TINFO
17863               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
17864                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
17865                 struct.tinfo.read(iprot);
17866                 struct.setTinfoIsSet(true);
17867               } else { 
17868                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
17869               }
17870               break;
17871             case 1: // CREDENTIAL
17872               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
17873                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
17874                 struct.credential.read(iprot);
17875                 struct.setCredentialIsSet(true);
17876               } else { 
17877                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
17878               }
17879               break;
17880             case 2: // OPID
17881               if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
17882                 struct.opid = iprot.readI64();
17883                 struct.setOpidIsSet(true);
17884               } else { 
17885                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
17886               }
17887               break;
17888             default:
17889               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
17890           }
17891           iprot.readFieldEnd();
17892         }
17893         iprot.readStructEnd();
17894 
17895         // check for required fields of primitive type, which can't be checked in the validate method
17896         struct.validate();
17897       }
17898 
17899       public void write(org.apache.thrift.protocol.TProtocol oprot, finishTableOperation_args struct) throws org.apache.thrift.TException {
17900         struct.validate();
17901 
17902         oprot.writeStructBegin(STRUCT_DESC);
17903         if (struct.credential != null) {
17904           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
17905           struct.credential.write(oprot);
17906           oprot.writeFieldEnd();
17907         }
17908         oprot.writeFieldBegin(OPID_FIELD_DESC);
17909         oprot.writeI64(struct.opid);
17910         oprot.writeFieldEnd();
17911         if (struct.tinfo != null) {
17912           oprot.writeFieldBegin(TINFO_FIELD_DESC);
17913           struct.tinfo.write(oprot);
17914           oprot.writeFieldEnd();
17915         }
17916         oprot.writeFieldStop();
17917         oprot.writeStructEnd();
17918       }
17919 
17920     }
17921 
17922     private static class finishTableOperation_argsTupleSchemeFactory implements SchemeFactory {
17923       public finishTableOperation_argsTupleScheme getScheme() {
17924         return new finishTableOperation_argsTupleScheme();
17925       }
17926     }
17927 
17928     private static class finishTableOperation_argsTupleScheme extends TupleScheme<finishTableOperation_args> {
17929 
17930       @Override
17931       public void write(org.apache.thrift.protocol.TProtocol prot, finishTableOperation_args struct) throws org.apache.thrift.TException {
17932         TTupleProtocol oprot = (TTupleProtocol) prot;
17933         BitSet optionals = new BitSet();
17934         if (struct.isSetTinfo()) {
17935           optionals.set(0);
17936         }
17937         if (struct.isSetCredential()) {
17938           optionals.set(1);
17939         }
17940         if (struct.isSetOpid()) {
17941           optionals.set(2);
17942         }
17943         oprot.writeBitSet(optionals, 3);
17944         if (struct.isSetTinfo()) {
17945           struct.tinfo.write(oprot);
17946         }
17947         if (struct.isSetCredential()) {
17948           struct.credential.write(oprot);
17949         }
17950         if (struct.isSetOpid()) {
17951           oprot.writeI64(struct.opid);
17952         }
17953       }
17954 
17955       @Override
17956       public void read(org.apache.thrift.protocol.TProtocol prot, finishTableOperation_args struct) throws org.apache.thrift.TException {
17957         TTupleProtocol iprot = (TTupleProtocol) prot;
17958         BitSet incoming = iprot.readBitSet(3);
17959         if (incoming.get(0)) {
17960           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
17961           struct.tinfo.read(iprot);
17962           struct.setTinfoIsSet(true);
17963         }
17964         if (incoming.get(1)) {
17965           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
17966           struct.credential.read(iprot);
17967           struct.setCredentialIsSet(true);
17968         }
17969         if (incoming.get(2)) {
17970           struct.opid = iprot.readI64();
17971           struct.setOpidIsSet(true);
17972         }
17973       }
17974     }
17975 
17976   }
17977 
17978   public static class finishTableOperation_result implements org.apache.thrift.TBase<finishTableOperation_result, finishTableOperation_result._Fields>, java.io.Serializable, Cloneable   {
17979     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("finishTableOperation_result");
17980 
17981     private static final org.apache.thrift.protocol.TField SEC_FIELD_DESC = new org.apache.thrift.protocol.TField("sec", org.apache.thrift.protocol.TType.STRUCT, (short)1);
17982 
17983     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
17984     static {
17985       schemes.put(StandardScheme.class, new finishTableOperation_resultStandardSchemeFactory());
17986       schemes.put(TupleScheme.class, new finishTableOperation_resultTupleSchemeFactory());
17987     }
17988 
17989     public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required
17990 
17991     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
17992     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
17993       SEC((short)1, "sec");
17994 
17995       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
17996 
17997       static {
17998         for (_Fields field : EnumSet.allOf(_Fields.class)) {
17999           byName.put(field.getFieldName(), field);
18000         }
18001       }
18002 
18003       /**
18004        * Find the _Fields constant that matches fieldId, or null if its not found.
18005        */
18006       public static _Fields findByThriftId(int fieldId) {
18007         switch(fieldId) {
18008           case 1: // SEC
18009             return SEC;
18010           default:
18011             return null;
18012         }
18013       }
18014 
18015       /**
18016        * Find the _Fields constant that matches fieldId, throwing an exception
18017        * if it is not found.
18018        */
18019       public static _Fields findByThriftIdOrThrow(int fieldId) {
18020         _Fields fields = findByThriftId(fieldId);
18021         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
18022         return fields;
18023       }
18024 
18025       /**
18026        * Find the _Fields constant that matches name, or null if its not found.
18027        */
18028       public static _Fields findByName(String name) {
18029         return byName.get(name);
18030       }
18031 
18032       private final short _thriftId;
18033       private final String _fieldName;
18034 
18035       _Fields(short thriftId, String fieldName) {
18036         _thriftId = thriftId;
18037         _fieldName = fieldName;
18038       }
18039 
18040       public short getThriftFieldId() {
18041         return _thriftId;
18042       }
18043 
18044       public String getFieldName() {
18045         return _fieldName;
18046       }
18047     }
18048 
18049     // isset id assignments
18050     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
18051     static {
18052       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
18053       tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, 
18054           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
18055       metaDataMap = Collections.unmodifiableMap(tmpMap);
18056       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(finishTableOperation_result.class, metaDataMap);
18057     }
18058 
18059     public finishTableOperation_result() {
18060     }
18061 
18062     public finishTableOperation_result(
18063       org.apache.accumulo.core.security.thrift.ThriftSecurityException sec)
18064     {
18065       this();
18066       this.sec = sec;
18067     }
18068 
18069     /**
18070      * Performs a deep copy on <i>other</i>.
18071      */
18072     public finishTableOperation_result(finishTableOperation_result other) {
18073       if (other.isSetSec()) {
18074         this.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(other.sec);
18075       }
18076     }
18077 
18078     public finishTableOperation_result deepCopy() {
18079       return new finishTableOperation_result(this);
18080     }
18081 
18082     @Override
18083     public void clear() {
18084       this.sec = null;
18085     }
18086 
18087     public org.apache.accumulo.core.security.thrift.ThriftSecurityException getSec() {
18088       return this.sec;
18089     }
18090 
18091     public finishTableOperation_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
18092       this.sec = sec;
18093       return this;
18094     }
18095 
18096     public void unsetSec() {
18097       this.sec = null;
18098     }
18099 
18100     /** Returns true if field sec is set (has been assigned a value) and false otherwise */
18101     public boolean isSetSec() {
18102       return this.sec != null;
18103     }
18104 
18105     public void setSecIsSet(boolean value) {
18106       if (!value) {
18107         this.sec = null;
18108       }
18109     }
18110 
18111     public void setFieldValue(_Fields field, Object value) {
18112       switch (field) {
18113       case SEC:
18114         if (value == null) {
18115           unsetSec();
18116         } else {
18117           setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value);
18118         }
18119         break;
18120 
18121       }
18122     }
18123 
18124     public Object getFieldValue(_Fields field) {
18125       switch (field) {
18126       case SEC:
18127         return getSec();
18128 
18129       }
18130       throw new IllegalStateException();
18131     }
18132 
18133     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
18134     public boolean isSet(_Fields field) {
18135       if (field == null) {
18136         throw new IllegalArgumentException();
18137       }
18138 
18139       switch (field) {
18140       case SEC:
18141         return isSetSec();
18142       }
18143       throw new IllegalStateException();
18144     }
18145 
18146     @Override
18147     public boolean equals(Object that) {
18148       if (that == null)
18149         return false;
18150       if (that instanceof finishTableOperation_result)
18151         return this.equals((finishTableOperation_result)that);
18152       return false;
18153     }
18154 
18155     public boolean equals(finishTableOperation_result that) {
18156       if (that == null)
18157         return false;
18158 
18159       boolean this_present_sec = true && this.isSetSec();
18160       boolean that_present_sec = true && that.isSetSec();
18161       if (this_present_sec || that_present_sec) {
18162         if (!(this_present_sec && that_present_sec))
18163           return false;
18164         if (!this.sec.equals(that.sec))
18165           return false;
18166       }
18167 
18168       return true;
18169     }
18170 
18171     @Override
18172     public int hashCode() {
18173       return 0;
18174     }
18175 
18176     public int compareTo(finishTableOperation_result other) {
18177       if (!getClass().equals(other.getClass())) {
18178         return getClass().getName().compareTo(other.getClass().getName());
18179       }
18180 
18181       int lastComparison = 0;
18182       finishTableOperation_result typedOther = (finishTableOperation_result)other;
18183 
18184       lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec());
18185       if (lastComparison != 0) {
18186         return lastComparison;
18187       }
18188       if (isSetSec()) {
18189         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec);
18190         if (lastComparison != 0) {
18191           return lastComparison;
18192         }
18193       }
18194       return 0;
18195     }
18196 
18197     public _Fields fieldForId(int fieldId) {
18198       return _Fields.findByThriftId(fieldId);
18199     }
18200 
18201     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
18202       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
18203     }
18204 
18205     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
18206       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
18207       }
18208 
18209     @Override
18210     public String toString() {
18211       StringBuilder sb = new StringBuilder("finishTableOperation_result(");
18212       boolean first = true;
18213 
18214       sb.append("sec:");
18215       if (this.sec == null) {
18216         sb.append("null");
18217       } else {
18218         sb.append(this.sec);
18219       }
18220       first = false;
18221       sb.append(")");
18222       return sb.toString();
18223     }
18224 
18225     public void validate() throws org.apache.thrift.TException {
18226       // check for required fields
18227       // check for sub-struct validity
18228     }
18229 
18230     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
18231       try {
18232         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
18233       } catch (org.apache.thrift.TException te) {
18234         throw new java.io.IOException(te);
18235       }
18236     }
18237 
18238     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
18239       try {
18240         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
18241       } catch (org.apache.thrift.TException te) {
18242         throw new java.io.IOException(te);
18243       }
18244     }
18245 
18246     private static class finishTableOperation_resultStandardSchemeFactory implements SchemeFactory {
18247       public finishTableOperation_resultStandardScheme getScheme() {
18248         return new finishTableOperation_resultStandardScheme();
18249       }
18250     }
18251 
18252     private static class finishTableOperation_resultStandardScheme extends StandardScheme<finishTableOperation_result> {
18253 
18254       public void read(org.apache.thrift.protocol.TProtocol iprot, finishTableOperation_result struct) throws org.apache.thrift.TException {
18255         org.apache.thrift.protocol.TField schemeField;
18256         iprot.readStructBegin();
18257         while (true)
18258         {
18259           schemeField = iprot.readFieldBegin();
18260           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
18261             break;
18262           }
18263           switch (schemeField.id) {
18264             case 1: // SEC
18265               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
18266                 struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
18267                 struct.sec.read(iprot);
18268                 struct.setSecIsSet(true);
18269               } else { 
18270                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
18271               }
18272               break;
18273             default:
18274               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
18275           }
18276           iprot.readFieldEnd();
18277         }
18278         iprot.readStructEnd();
18279 
18280         // check for required fields of primitive type, which can't be checked in the validate method
18281         struct.validate();
18282       }
18283 
18284       public void write(org.apache.thrift.protocol.TProtocol oprot, finishTableOperation_result struct) throws org.apache.thrift.TException {
18285         struct.validate();
18286 
18287         oprot.writeStructBegin(STRUCT_DESC);
18288         if (struct.sec != null) {
18289           oprot.writeFieldBegin(SEC_FIELD_DESC);
18290           struct.sec.write(oprot);
18291           oprot.writeFieldEnd();
18292         }
18293         oprot.writeFieldStop();
18294         oprot.writeStructEnd();
18295       }
18296 
18297     }
18298 
18299     private static class finishTableOperation_resultTupleSchemeFactory implements SchemeFactory {
18300       public finishTableOperation_resultTupleScheme getScheme() {
18301         return new finishTableOperation_resultTupleScheme();
18302       }
18303     }
18304 
18305     private static class finishTableOperation_resultTupleScheme extends TupleScheme<finishTableOperation_result> {
18306 
18307       @Override
18308       public void write(org.apache.thrift.protocol.TProtocol prot, finishTableOperation_result struct) throws org.apache.thrift.TException {
18309         TTupleProtocol oprot = (TTupleProtocol) prot;
18310         BitSet optionals = new BitSet();
18311         if (struct.isSetSec()) {
18312           optionals.set(0);
18313         }
18314         oprot.writeBitSet(optionals, 1);
18315         if (struct.isSetSec()) {
18316           struct.sec.write(oprot);
18317         }
18318       }
18319 
18320       @Override
18321       public void read(org.apache.thrift.protocol.TProtocol prot, finishTableOperation_result struct) throws org.apache.thrift.TException {
18322         TTupleProtocol iprot = (TTupleProtocol) prot;
18323         BitSet incoming = iprot.readBitSet(1);
18324         if (incoming.get(0)) {
18325           struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
18326           struct.sec.read(iprot);
18327           struct.setSecIsSet(true);
18328         }
18329       }
18330     }
18331 
18332   }
18333 
18334   public static class getAuthenticatorClassName_args implements org.apache.thrift.TBase<getAuthenticatorClassName_args, getAuthenticatorClassName_args._Fields>, java.io.Serializable, Cloneable   {
18335     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAuthenticatorClassName_args");
18336 
18337 
18338     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
18339     static {
18340       schemes.put(StandardScheme.class, new getAuthenticatorClassName_argsStandardSchemeFactory());
18341       schemes.put(TupleScheme.class, new getAuthenticatorClassName_argsTupleSchemeFactory());
18342     }
18343 
18344 
18345     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
18346     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
18347 ;
18348 
18349       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
18350 
18351       static {
18352         for (_Fields field : EnumSet.allOf(_Fields.class)) {
18353           byName.put(field.getFieldName(), field);
18354         }
18355       }
18356 
18357       /**
18358        * Find the _Fields constant that matches fieldId, or null if its not found.
18359        */
18360       public static _Fields findByThriftId(int fieldId) {
18361         switch(fieldId) {
18362           default:
18363             return null;
18364         }
18365       }
18366 
18367       /**
18368        * Find the _Fields constant that matches fieldId, throwing an exception
18369        * if it is not found.
18370        */
18371       public static _Fields findByThriftIdOrThrow(int fieldId) {
18372         _Fields fields = findByThriftId(fieldId);
18373         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
18374         return fields;
18375       }
18376 
18377       /**
18378        * Find the _Fields constant that matches name, or null if its not found.
18379        */
18380       public static _Fields findByName(String name) {
18381         return byName.get(name);
18382       }
18383 
18384       private final short _thriftId;
18385       private final String _fieldName;
18386 
18387       _Fields(short thriftId, String fieldName) {
18388         _thriftId = thriftId;
18389         _fieldName = fieldName;
18390       }
18391 
18392       public short getThriftFieldId() {
18393         return _thriftId;
18394       }
18395 
18396       public String getFieldName() {
18397         return _fieldName;
18398       }
18399     }
18400     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
18401     static {
18402       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
18403       metaDataMap = Collections.unmodifiableMap(tmpMap);
18404       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAuthenticatorClassName_args.class, metaDataMap);
18405     }
18406 
18407     public getAuthenticatorClassName_args() {
18408     }
18409 
18410     /**
18411      * Performs a deep copy on <i>other</i>.
18412      */
18413     public getAuthenticatorClassName_args(getAuthenticatorClassName_args other) {
18414     }
18415 
18416     public getAuthenticatorClassName_args deepCopy() {
18417       return new getAuthenticatorClassName_args(this);
18418     }
18419 
18420     @Override
18421     public void clear() {
18422     }
18423 
18424     public void setFieldValue(_Fields field, Object value) {
18425       switch (field) {
18426       }
18427     }
18428 
18429     public Object getFieldValue(_Fields field) {
18430       switch (field) {
18431       }
18432       throw new IllegalStateException();
18433     }
18434 
18435     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
18436     public boolean isSet(_Fields field) {
18437       if (field == null) {
18438         throw new IllegalArgumentException();
18439       }
18440 
18441       switch (field) {
18442       }
18443       throw new IllegalStateException();
18444     }
18445 
18446     @Override
18447     public boolean equals(Object that) {
18448       if (that == null)
18449         return false;
18450       if (that instanceof getAuthenticatorClassName_args)
18451         return this.equals((getAuthenticatorClassName_args)that);
18452       return false;
18453     }
18454 
18455     public boolean equals(getAuthenticatorClassName_args that) {
18456       if (that == null)
18457         return false;
18458 
18459       return true;
18460     }
18461 
18462     @Override
18463     public int hashCode() {
18464       return 0;
18465     }
18466 
18467     public int compareTo(getAuthenticatorClassName_args other) {
18468       if (!getClass().equals(other.getClass())) {
18469         return getClass().getName().compareTo(other.getClass().getName());
18470       }
18471 
18472       int lastComparison = 0;
18473       getAuthenticatorClassName_args typedOther = (getAuthenticatorClassName_args)other;
18474 
18475       return 0;
18476     }
18477 
18478     public _Fields fieldForId(int fieldId) {
18479       return _Fields.findByThriftId(fieldId);
18480     }
18481 
18482     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
18483       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
18484     }
18485 
18486     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
18487       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
18488     }
18489 
18490     @Override
18491     public String toString() {
18492       StringBuilder sb = new StringBuilder("getAuthenticatorClassName_args(");
18493       boolean first = true;
18494 
18495       sb.append(")");
18496       return sb.toString();
18497     }
18498 
18499     public void validate() throws org.apache.thrift.TException {
18500       // check for required fields
18501       // check for sub-struct validity
18502     }
18503 
18504     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
18505       try {
18506         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
18507       } catch (org.apache.thrift.TException te) {
18508         throw new java.io.IOException(te);
18509       }
18510     }
18511 
18512     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
18513       try {
18514         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
18515       } catch (org.apache.thrift.TException te) {
18516         throw new java.io.IOException(te);
18517       }
18518     }
18519 
18520     private static class getAuthenticatorClassName_argsStandardSchemeFactory implements SchemeFactory {
18521       public getAuthenticatorClassName_argsStandardScheme getScheme() {
18522         return new getAuthenticatorClassName_argsStandardScheme();
18523       }
18524     }
18525 
18526     private static class getAuthenticatorClassName_argsStandardScheme extends StandardScheme<getAuthenticatorClassName_args> {
18527 
18528       public void read(org.apache.thrift.protocol.TProtocol iprot, getAuthenticatorClassName_args struct) throws org.apache.thrift.TException {
18529         org.apache.thrift.protocol.TField schemeField;
18530         iprot.readStructBegin();
18531         while (true)
18532         {
18533           schemeField = iprot.readFieldBegin();
18534           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
18535             break;
18536           }
18537           switch (schemeField.id) {
18538             default:
18539               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
18540           }
18541           iprot.readFieldEnd();
18542         }
18543         iprot.readStructEnd();
18544 
18545         // check for required fields of primitive type, which can't be checked in the validate method
18546         struct.validate();
18547       }
18548 
18549       public void write(org.apache.thrift.protocol.TProtocol oprot, getAuthenticatorClassName_args struct) throws org.apache.thrift.TException {
18550         struct.validate();
18551 
18552         oprot.writeStructBegin(STRUCT_DESC);
18553         oprot.writeFieldStop();
18554         oprot.writeStructEnd();
18555       }
18556 
18557     }
18558 
18559     private static class getAuthenticatorClassName_argsTupleSchemeFactory implements SchemeFactory {
18560       public getAuthenticatorClassName_argsTupleScheme getScheme() {
18561         return new getAuthenticatorClassName_argsTupleScheme();
18562       }
18563     }
18564 
18565     private static class getAuthenticatorClassName_argsTupleScheme extends TupleScheme<getAuthenticatorClassName_args> {
18566 
18567       @Override
18568       public void write(org.apache.thrift.protocol.TProtocol prot, getAuthenticatorClassName_args struct) throws org.apache.thrift.TException {
18569         TTupleProtocol oprot = (TTupleProtocol) prot;
18570       }
18571 
18572       @Override
18573       public void read(org.apache.thrift.protocol.TProtocol prot, getAuthenticatorClassName_args struct) throws org.apache.thrift.TException {
18574         TTupleProtocol iprot = (TTupleProtocol) prot;
18575       }
18576     }
18577 
18578   }
18579 
18580   public static class getAuthenticatorClassName_result implements org.apache.thrift.TBase<getAuthenticatorClassName_result, getAuthenticatorClassName_result._Fields>, java.io.Serializable, Cloneable   {
18581     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAuthenticatorClassName_result");
18582 
18583     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);
18584     private static final org.apache.thrift.protocol.TField TSE_FIELD_DESC = new org.apache.thrift.protocol.TField("tse", org.apache.thrift.protocol.TType.STRUCT, (short)1);
18585 
18586     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
18587     static {
18588       schemes.put(StandardScheme.class, new getAuthenticatorClassName_resultStandardSchemeFactory());
18589       schemes.put(TupleScheme.class, new getAuthenticatorClassName_resultTupleSchemeFactory());
18590     }
18591 
18592     public String success; // required
18593     public org.apache.accumulo.core.security.thrift.ThriftSecurityException tse; // required
18594 
18595     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
18596     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
18597       SUCCESS((short)0, "success"),
18598       TSE((short)1, "tse");
18599 
18600       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
18601 
18602       static {
18603         for (_Fields field : EnumSet.allOf(_Fields.class)) {
18604           byName.put(field.getFieldName(), field);
18605         }
18606       }
18607 
18608       /**
18609        * Find the _Fields constant that matches fieldId, or null if its not found.
18610        */
18611       public static _Fields findByThriftId(int fieldId) {
18612         switch(fieldId) {
18613           case 0: // SUCCESS
18614             return SUCCESS;
18615           case 1: // TSE
18616             return TSE;
18617           default:
18618             return null;
18619         }
18620       }
18621 
18622       /**
18623        * Find the _Fields constant that matches fieldId, throwing an exception
18624        * if it is not found.
18625        */
18626       public static _Fields findByThriftIdOrThrow(int fieldId) {
18627         _Fields fields = findByThriftId(fieldId);
18628         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
18629         return fields;
18630       }
18631 
18632       /**
18633        * Find the _Fields constant that matches name, or null if its not found.
18634        */
18635       public static _Fields findByName(String name) {
18636         return byName.get(name);
18637       }
18638 
18639       private final short _thriftId;
18640       private final String _fieldName;
18641 
18642       _Fields(short thriftId, String fieldName) {
18643         _thriftId = thriftId;
18644         _fieldName = fieldName;
18645       }
18646 
18647       public short getThriftFieldId() {
18648         return _thriftId;
18649       }
18650 
18651       public String getFieldName() {
18652         return _fieldName;
18653       }
18654     }
18655 
18656     // isset id assignments
18657     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
18658     static {
18659       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
18660       tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
18661           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
18662       tmpMap.put(_Fields.TSE, new org.apache.thrift.meta_data.FieldMetaData("tse", org.apache.thrift.TFieldRequirementType.DEFAULT, 
18663           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
18664       metaDataMap = Collections.unmodifiableMap(tmpMap);
18665       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAuthenticatorClassName_result.class, metaDataMap);
18666     }
18667 
18668     public getAuthenticatorClassName_result() {
18669     }
18670 
18671     public getAuthenticatorClassName_result(
18672       String success,
18673       org.apache.accumulo.core.security.thrift.ThriftSecurityException tse)
18674     {
18675       this();
18676       this.success = success;
18677       this.tse = tse;
18678     }
18679 
18680     /**
18681      * Performs a deep copy on <i>other</i>.
18682      */
18683     public getAuthenticatorClassName_result(getAuthenticatorClassName_result other) {
18684       if (other.isSetSuccess()) {
18685         this.success = other.success;
18686       }
18687       if (other.isSetTse()) {
18688         this.tse = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(other.tse);
18689       }
18690     }
18691 
18692     public getAuthenticatorClassName_result deepCopy() {
18693       return new getAuthenticatorClassName_result(this);
18694     }
18695 
18696     @Override
18697     public void clear() {
18698       this.success = null;
18699       this.tse = null;
18700     }
18701 
18702     public String getSuccess() {
18703       return this.success;
18704     }
18705 
18706     public getAuthenticatorClassName_result setSuccess(String success) {
18707       this.success = success;
18708       return this;
18709     }
18710 
18711     public void unsetSuccess() {
18712       this.success = null;
18713     }
18714 
18715     /** Returns true if field success is set (has been assigned a value) and false otherwise */
18716     public boolean isSetSuccess() {
18717       return this.success != null;
18718     }
18719 
18720     public void setSuccessIsSet(boolean value) {
18721       if (!value) {
18722         this.success = null;
18723       }
18724     }
18725 
18726     public org.apache.accumulo.core.security.thrift.ThriftSecurityException getTse() {
18727       return this.tse;
18728     }
18729 
18730     public getAuthenticatorClassName_result setTse(org.apache.accumulo.core.security.thrift.ThriftSecurityException tse) {
18731       this.tse = tse;
18732       return this;
18733     }
18734 
18735     public void unsetTse() {
18736       this.tse = null;
18737     }
18738 
18739     /** Returns true if field tse is set (has been assigned a value) and false otherwise */
18740     public boolean isSetTse() {
18741       return this.tse != null;
18742     }
18743 
18744     public void setTseIsSet(boolean value) {
18745       if (!value) {
18746         this.tse = null;
18747       }
18748     }
18749 
18750     public void setFieldValue(_Fields field, Object value) {
18751       switch (field) {
18752       case SUCCESS:
18753         if (value == null) {
18754           unsetSuccess();
18755         } else {
18756           setSuccess((String)value);
18757         }
18758         break;
18759 
18760       case TSE:
18761         if (value == null) {
18762           unsetTse();
18763         } else {
18764           setTse((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value);
18765         }
18766         break;
18767 
18768       }
18769     }
18770 
18771     public Object getFieldValue(_Fields field) {
18772       switch (field) {
18773       case SUCCESS:
18774         return getSuccess();
18775 
18776       case TSE:
18777         return getTse();
18778 
18779       }
18780       throw new IllegalStateException();
18781     }
18782 
18783     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
18784     public boolean isSet(_Fields field) {
18785       if (field == null) {
18786         throw new IllegalArgumentException();
18787       }
18788 
18789       switch (field) {
18790       case SUCCESS:
18791         return isSetSuccess();
18792       case TSE:
18793         return isSetTse();
18794       }
18795       throw new IllegalStateException();
18796     }
18797 
18798     @Override
18799     public boolean equals(Object that) {
18800       if (that == null)
18801         return false;
18802       if (that instanceof getAuthenticatorClassName_result)
18803         return this.equals((getAuthenticatorClassName_result)that);
18804       return false;
18805     }
18806 
18807     public boolean equals(getAuthenticatorClassName_result that) {
18808       if (that == null)
18809         return false;
18810 
18811       boolean this_present_success = true && this.isSetSuccess();
18812       boolean that_present_success = true && that.isSetSuccess();
18813       if (this_present_success || that_present_success) {
18814         if (!(this_present_success && that_present_success))
18815           return false;
18816         if (!this.success.equals(that.success))
18817           return false;
18818       }
18819 
18820       boolean this_present_tse = true && this.isSetTse();
18821       boolean that_present_tse = true && that.isSetTse();
18822       if (this_present_tse || that_present_tse) {
18823         if (!(this_present_tse && that_present_tse))
18824           return false;
18825         if (!this.tse.equals(that.tse))
18826           return false;
18827       }
18828 
18829       return true;
18830     }
18831 
18832     @Override
18833     public int hashCode() {
18834       return 0;
18835     }
18836 
18837     public int compareTo(getAuthenticatorClassName_result other) {
18838       if (!getClass().equals(other.getClass())) {
18839         return getClass().getName().compareTo(other.getClass().getName());
18840       }
18841 
18842       int lastComparison = 0;
18843       getAuthenticatorClassName_result typedOther = (getAuthenticatorClassName_result)other;
18844 
18845       lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
18846       if (lastComparison != 0) {
18847         return lastComparison;
18848       }
18849       if (isSetSuccess()) {
18850         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
18851         if (lastComparison != 0) {
18852           return lastComparison;
18853         }
18854       }
18855       lastComparison = Boolean.valueOf(isSetTse()).compareTo(typedOther.isSetTse());
18856       if (lastComparison != 0) {
18857         return lastComparison;
18858       }
18859       if (isSetTse()) {
18860         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tse, typedOther.tse);
18861         if (lastComparison != 0) {
18862           return lastComparison;
18863         }
18864       }
18865       return 0;
18866     }
18867 
18868     public _Fields fieldForId(int fieldId) {
18869       return _Fields.findByThriftId(fieldId);
18870     }
18871 
18872     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
18873       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
18874     }
18875 
18876     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
18877       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
18878       }
18879 
18880     @Override
18881     public String toString() {
18882       StringBuilder sb = new StringBuilder("getAuthenticatorClassName_result(");
18883       boolean first = true;
18884 
18885       sb.append("success:");
18886       if (this.success == null) {
18887         sb.append("null");
18888       } else {
18889         sb.append(this.success);
18890       }
18891       first = false;
18892       if (!first) sb.append(", ");
18893       sb.append("tse:");
18894       if (this.tse == null) {
18895         sb.append("null");
18896       } else {
18897         sb.append(this.tse);
18898       }
18899       first = false;
18900       sb.append(")");
18901       return sb.toString();
18902     }
18903 
18904     public void validate() throws org.apache.thrift.TException {
18905       // check for required fields
18906       // check for sub-struct validity
18907     }
18908 
18909     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
18910       try {
18911         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
18912       } catch (org.apache.thrift.TException te) {
18913         throw new java.io.IOException(te);
18914       }
18915     }
18916 
18917     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
18918       try {
18919         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
18920       } catch (org.apache.thrift.TException te) {
18921         throw new java.io.IOException(te);
18922       }
18923     }
18924 
18925     private static class getAuthenticatorClassName_resultStandardSchemeFactory implements SchemeFactory {
18926       public getAuthenticatorClassName_resultStandardScheme getScheme() {
18927         return new getAuthenticatorClassName_resultStandardScheme();
18928       }
18929     }
18930 
18931     private static class getAuthenticatorClassName_resultStandardScheme extends StandardScheme<getAuthenticatorClassName_result> {
18932 
18933       public void read(org.apache.thrift.protocol.TProtocol iprot, getAuthenticatorClassName_result struct) throws org.apache.thrift.TException {
18934         org.apache.thrift.protocol.TField schemeField;
18935         iprot.readStructBegin();
18936         while (true)
18937         {
18938           schemeField = iprot.readFieldBegin();
18939           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
18940             break;
18941           }
18942           switch (schemeField.id) {
18943             case 0: // SUCCESS
18944               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
18945                 struct.success = iprot.readString();
18946                 struct.setSuccessIsSet(true);
18947               } else { 
18948                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
18949               }
18950               break;
18951             case 1: // TSE
18952               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
18953                 struct.tse = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
18954                 struct.tse.read(iprot);
18955                 struct.setTseIsSet(true);
18956               } else { 
18957                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
18958               }
18959               break;
18960             default:
18961               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
18962           }
18963           iprot.readFieldEnd();
18964         }
18965         iprot.readStructEnd();
18966 
18967         // check for required fields of primitive type, which can't be checked in the validate method
18968         struct.validate();
18969       }
18970 
18971       public void write(org.apache.thrift.protocol.TProtocol oprot, getAuthenticatorClassName_result struct) throws org.apache.thrift.TException {
18972         struct.validate();
18973 
18974         oprot.writeStructBegin(STRUCT_DESC);
18975         if (struct.success != null) {
18976           oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
18977           oprot.writeString(struct.success);
18978           oprot.writeFieldEnd();
18979         }
18980         if (struct.tse != null) {
18981           oprot.writeFieldBegin(TSE_FIELD_DESC);
18982           struct.tse.write(oprot);
18983           oprot.writeFieldEnd();
18984         }
18985         oprot.writeFieldStop();
18986         oprot.writeStructEnd();
18987       }
18988 
18989     }
18990 
18991     private static class getAuthenticatorClassName_resultTupleSchemeFactory implements SchemeFactory {
18992       public getAuthenticatorClassName_resultTupleScheme getScheme() {
18993         return new getAuthenticatorClassName_resultTupleScheme();
18994       }
18995     }
18996 
18997     private static class getAuthenticatorClassName_resultTupleScheme extends TupleScheme<getAuthenticatorClassName_result> {
18998 
18999       @Override
19000       public void write(org.apache.thrift.protocol.TProtocol prot, getAuthenticatorClassName_result struct) throws org.apache.thrift.TException {
19001         TTupleProtocol oprot = (TTupleProtocol) prot;
19002         BitSet optionals = new BitSet();
19003         if (struct.isSetSuccess()) {
19004           optionals.set(0);
19005         }
19006         if (struct.isSetTse()) {
19007           optionals.set(1);
19008         }
19009         oprot.writeBitSet(optionals, 2);
19010         if (struct.isSetSuccess()) {
19011           oprot.writeString(struct.success);
19012         }
19013         if (struct.isSetTse()) {
19014           struct.tse.write(oprot);
19015         }
19016       }
19017 
19018       @Override
19019       public void read(org.apache.thrift.protocol.TProtocol prot, getAuthenticatorClassName_result struct) throws org.apache.thrift.TException {
19020         TTupleProtocol iprot = (TTupleProtocol) prot;
19021         BitSet incoming = iprot.readBitSet(2);
19022         if (incoming.get(0)) {
19023           struct.success = iprot.readString();
19024           struct.setSuccessIsSet(true);
19025         }
19026         if (incoming.get(1)) {
19027           struct.tse = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
19028           struct.tse.read(iprot);
19029           struct.setTseIsSet(true);
19030         }
19031       }
19032     }
19033 
19034   }
19035 
19036 }