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.tabletserver.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 TabletClientService {
50  
51    public interface Iface extends org.apache.accumulo.core.client.impl.thrift.ClientService.Iface {
52  
53      public org.apache.accumulo.core.data.thrift.InitialScan startScan(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.accumulo.core.data.thrift.TKeyExtent extent, org.apache.accumulo.core.data.thrift.TRange range, List<org.apache.accumulo.core.data.thrift.TColumn> columns, int batchSize, List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites, boolean isolated) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, NotServingTabletException, TooManyFilesException, org.apache.thrift.TException;
54  
55      public org.apache.accumulo.core.data.thrift.ScanResult continueScan(org.apache.accumulo.trace.thrift.TInfo tinfo, long scanID) throws NoSuchScanIDException, NotServingTabletException, TooManyFilesException, org.apache.thrift.TException;
56  
57      public void closeScan(org.apache.accumulo.trace.thrift.TInfo tinfo, long scanID) throws org.apache.thrift.TException;
58  
59      public org.apache.accumulo.core.data.thrift.InitialMultiScan startMultiScan(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, Map<org.apache.accumulo.core.data.thrift.TKeyExtent,List<org.apache.accumulo.core.data.thrift.TRange>> batch, List<org.apache.accumulo.core.data.thrift.TColumn> columns, List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException;
60  
61      public org.apache.accumulo.core.data.thrift.MultiScanResult continueMultiScan(org.apache.accumulo.trace.thrift.TInfo tinfo, long scanID) throws NoSuchScanIDException, org.apache.thrift.TException;
62  
63      public void closeMultiScan(org.apache.accumulo.trace.thrift.TInfo tinfo, long scanID) throws NoSuchScanIDException, org.apache.thrift.TException;
64  
65      public long startUpdate(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;
66  
67      public void applyUpdates(org.apache.accumulo.trace.thrift.TInfo tinfo, long updateID, org.apache.accumulo.core.data.thrift.TKeyExtent keyExtent, List<org.apache.accumulo.core.data.thrift.TMutation> mutations) throws org.apache.thrift.TException;
68  
69      public org.apache.accumulo.core.data.thrift.UpdateErrors closeUpdate(org.apache.accumulo.trace.thrift.TInfo tinfo, long updateID) throws NoSuchScanIDException, org.apache.thrift.TException;
70  
71      public void update(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.accumulo.core.data.thrift.TKeyExtent keyExtent, org.apache.accumulo.core.data.thrift.TMutation mutation) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, NotServingTabletException, ConstraintViolationException, org.apache.thrift.TException;
72  
73      public List<org.apache.accumulo.core.data.thrift.TKeyExtent> bulkImport(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, long tid, Map<org.apache.accumulo.core.data.thrift.TKeyExtent,Map<String,org.apache.accumulo.core.data.thrift.MapFileInfo>> files, boolean setTime) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException;
74  
75      public void splitTablet(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.accumulo.core.data.thrift.TKeyExtent extent, ByteBuffer splitPoint) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, NotServingTabletException, org.apache.thrift.TException;
76  
77      public void loadTablet(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.accumulo.core.data.thrift.TKeyExtent extent) throws org.apache.thrift.TException;
78  
79      public void unloadTablet(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.accumulo.core.data.thrift.TKeyExtent extent, boolean save) throws org.apache.thrift.TException;
80  
81      public void flush(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow) throws org.apache.thrift.TException;
82  
83      public void flushTablet(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.accumulo.core.data.thrift.TKeyExtent extent) throws org.apache.thrift.TException;
84  
85      public void chop(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.accumulo.core.data.thrift.TKeyExtent extent) throws org.apache.thrift.TException;
86  
87      public void compact(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow) throws org.apache.thrift.TException;
88  
89      public org.apache.accumulo.core.master.thrift.TabletServerStatus getTabletServerStatus(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;
90  
91      public List<TabletStats> getTabletStats(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tableId) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException;
92  
93      public TabletStats getHistoricalStats(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;
94  
95      public void halt(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException;
96  
97      public void fastHalt(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock) throws org.apache.thrift.TException;
98  
99      public List<ActiveScan> getActiveScans(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;
100 
101     public List<ActiveCompaction> getActiveCompactions(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;
102 
103     public void removeLogs(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, List<String> filenames) throws org.apache.thrift.TException;
104 
105   }
106 
107   public interface AsyncIface extends org.apache.accumulo.core.client.impl.thrift.ClientService .AsyncIface {
108 
109     public void startScan(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.accumulo.core.data.thrift.TKeyExtent extent, org.apache.accumulo.core.data.thrift.TRange range, List<org.apache.accumulo.core.data.thrift.TColumn> columns, int batchSize, List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites, boolean isolated, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.startScan_call> resultHandler) throws org.apache.thrift.TException;
110 
111     public void continueScan(org.apache.accumulo.trace.thrift.TInfo tinfo, long scanID, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.continueScan_call> resultHandler) throws org.apache.thrift.TException;
112 
113     public void closeScan(org.apache.accumulo.trace.thrift.TInfo tinfo, long scanID, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.closeScan_call> resultHandler) throws org.apache.thrift.TException;
114 
115     public void startMultiScan(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, Map<org.apache.accumulo.core.data.thrift.TKeyExtent,List<org.apache.accumulo.core.data.thrift.TRange>> batch, List<org.apache.accumulo.core.data.thrift.TColumn> columns, List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.startMultiScan_call> resultHandler) throws org.apache.thrift.TException;
116 
117     public void continueMultiScan(org.apache.accumulo.trace.thrift.TInfo tinfo, long scanID, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.continueMultiScan_call> resultHandler) throws org.apache.thrift.TException;
118 
119     public void closeMultiScan(org.apache.accumulo.trace.thrift.TInfo tinfo, long scanID, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.closeMultiScan_call> resultHandler) throws org.apache.thrift.TException;
120 
121     public void startUpdate(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.startUpdate_call> resultHandler) throws org.apache.thrift.TException;
122 
123     public void applyUpdates(org.apache.accumulo.trace.thrift.TInfo tinfo, long updateID, org.apache.accumulo.core.data.thrift.TKeyExtent keyExtent, List<org.apache.accumulo.core.data.thrift.TMutation> mutations, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.applyUpdates_call> resultHandler) throws org.apache.thrift.TException;
124 
125     public void closeUpdate(org.apache.accumulo.trace.thrift.TInfo tinfo, long updateID, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.closeUpdate_call> resultHandler) throws org.apache.thrift.TException;
126 
127     public void update(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.accumulo.core.data.thrift.TKeyExtent keyExtent, org.apache.accumulo.core.data.thrift.TMutation mutation, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.update_call> resultHandler) throws org.apache.thrift.TException;
128 
129     public void bulkImport(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, long tid, Map<org.apache.accumulo.core.data.thrift.TKeyExtent,Map<String,org.apache.accumulo.core.data.thrift.MapFileInfo>> files, boolean setTime, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.bulkImport_call> resultHandler) throws org.apache.thrift.TException;
130 
131     public void splitTablet(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.accumulo.core.data.thrift.TKeyExtent extent, ByteBuffer splitPoint, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.splitTablet_call> resultHandler) throws org.apache.thrift.TException;
132 
133     public void loadTablet(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.accumulo.core.data.thrift.TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.loadTablet_call> resultHandler) throws org.apache.thrift.TException;
134 
135     public void unloadTablet(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.accumulo.core.data.thrift.TKeyExtent extent, boolean save, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.unloadTablet_call> resultHandler) throws org.apache.thrift.TException;
136 
137     public void flush(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.flush_call> resultHandler) throws org.apache.thrift.TException;
138 
139     public void flushTablet(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.accumulo.core.data.thrift.TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.flushTablet_call> resultHandler) throws org.apache.thrift.TException;
140 
141     public void chop(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.accumulo.core.data.thrift.TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.chop_call> resultHandler) throws org.apache.thrift.TException;
142 
143     public void compact(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.compact_call> resultHandler) throws org.apache.thrift.TException;
144 
145     public void getTabletServerStatus(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getTabletServerStatus_call> resultHandler) throws org.apache.thrift.TException;
146 
147     public void getTabletStats(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tableId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getTabletStats_call> resultHandler) throws org.apache.thrift.TException;
148 
149     public void getHistoricalStats(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getHistoricalStats_call> resultHandler) throws org.apache.thrift.TException;
150 
151     public void halt(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.halt_call> resultHandler) throws org.apache.thrift.TException;
152 
153     public void fastHalt(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.fastHalt_call> resultHandler) throws org.apache.thrift.TException;
154 
155     public void getActiveScans(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getActiveScans_call> resultHandler) throws org.apache.thrift.TException;
156 
157     public void getActiveCompactions(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getActiveCompactions_call> resultHandler) throws org.apache.thrift.TException;
158 
159     public void removeLogs(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, List<String> filenames, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.removeLogs_call> resultHandler) throws org.apache.thrift.TException;
160 
161   }
162 
163   public static class Client extends org.apache.accumulo.core.client.impl.thrift.ClientService.Client implements Iface {
164     public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
165       public Factory() {}
166       public Client getClient(org.apache.thrift.protocol.TProtocol prot) {
167         return new Client(prot);
168       }
169       public Client getClient(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) {
170         return new Client(iprot, oprot);
171       }
172     }
173 
174     public Client(org.apache.thrift.protocol.TProtocol prot)
175     {
176       super(prot, prot);
177     }
178 
179     public Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) {
180       super(iprot, oprot);
181     }
182 
183     public org.apache.accumulo.core.data.thrift.InitialScan startScan(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.accumulo.core.data.thrift.TKeyExtent extent, org.apache.accumulo.core.data.thrift.TRange range, List<org.apache.accumulo.core.data.thrift.TColumn> columns, int batchSize, List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites, boolean isolated) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, NotServingTabletException, TooManyFilesException, org.apache.thrift.TException
184     {
185       send_startScan(tinfo, credential, extent, range, columns, batchSize, ssiList, ssio, authorizations, waitForWrites, isolated);
186       return recv_startScan();
187     }
188 
189     public void send_startScan(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.accumulo.core.data.thrift.TKeyExtent extent, org.apache.accumulo.core.data.thrift.TRange range, List<org.apache.accumulo.core.data.thrift.TColumn> columns, int batchSize, List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites, boolean isolated) throws org.apache.thrift.TException
190     {
191       startScan_args args = new startScan_args();
192       args.setTinfo(tinfo);
193       args.setCredential(credential);
194       args.setExtent(extent);
195       args.setRange(range);
196       args.setColumns(columns);
197       args.setBatchSize(batchSize);
198       args.setSsiList(ssiList);
199       args.setSsio(ssio);
200       args.setAuthorizations(authorizations);
201       args.setWaitForWrites(waitForWrites);
202       args.setIsolated(isolated);
203       sendBase("startScan", args);
204     }
205 
206     public org.apache.accumulo.core.data.thrift.InitialScan recv_startScan() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, NotServingTabletException, TooManyFilesException, org.apache.thrift.TException
207     {
208       startScan_result result = new startScan_result();
209       receiveBase(result, "startScan");
210       if (result.isSetSuccess()) {
211         return result.success;
212       }
213       if (result.sec != null) {
214         throw result.sec;
215       }
216       if (result.nste != null) {
217         throw result.nste;
218       }
219       if (result.tmfe != null) {
220         throw result.tmfe;
221       }
222       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "startScan failed: unknown result");
223     }
224 
225     public org.apache.accumulo.core.data.thrift.ScanResult continueScan(org.apache.accumulo.trace.thrift.TInfo tinfo, long scanID) throws NoSuchScanIDException, NotServingTabletException, TooManyFilesException, org.apache.thrift.TException
226     {
227       send_continueScan(tinfo, scanID);
228       return recv_continueScan();
229     }
230 
231     public void send_continueScan(org.apache.accumulo.trace.thrift.TInfo tinfo, long scanID) throws org.apache.thrift.TException
232     {
233       continueScan_args args = new continueScan_args();
234       args.setTinfo(tinfo);
235       args.setScanID(scanID);
236       sendBase("continueScan", args);
237     }
238 
239     public org.apache.accumulo.core.data.thrift.ScanResult recv_continueScan() throws NoSuchScanIDException, NotServingTabletException, TooManyFilesException, org.apache.thrift.TException
240     {
241       continueScan_result result = new continueScan_result();
242       receiveBase(result, "continueScan");
243       if (result.isSetSuccess()) {
244         return result.success;
245       }
246       if (result.nssi != null) {
247         throw result.nssi;
248       }
249       if (result.nste != null) {
250         throw result.nste;
251       }
252       if (result.tmfe != null) {
253         throw result.tmfe;
254       }
255       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "continueScan failed: unknown result");
256     }
257 
258     public void closeScan(org.apache.accumulo.trace.thrift.TInfo tinfo, long scanID) throws org.apache.thrift.TException
259     {
260       send_closeScan(tinfo, scanID);
261     }
262 
263     public void send_closeScan(org.apache.accumulo.trace.thrift.TInfo tinfo, long scanID) throws org.apache.thrift.TException
264     {
265       closeScan_args args = new closeScan_args();
266       args.setTinfo(tinfo);
267       args.setScanID(scanID);
268       sendBase("closeScan", args);
269     }
270 
271     public org.apache.accumulo.core.data.thrift.InitialMultiScan startMultiScan(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, Map<org.apache.accumulo.core.data.thrift.TKeyExtent,List<org.apache.accumulo.core.data.thrift.TRange>> batch, List<org.apache.accumulo.core.data.thrift.TColumn> columns, List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException
272     {
273       send_startMultiScan(tinfo, credential, batch, columns, ssiList, ssio, authorizations, waitForWrites);
274       return recv_startMultiScan();
275     }
276 
277     public void send_startMultiScan(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, Map<org.apache.accumulo.core.data.thrift.TKeyExtent,List<org.apache.accumulo.core.data.thrift.TRange>> batch, List<org.apache.accumulo.core.data.thrift.TColumn> columns, List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites) throws org.apache.thrift.TException
278     {
279       startMultiScan_args args = new startMultiScan_args();
280       args.setTinfo(tinfo);
281       args.setCredential(credential);
282       args.setBatch(batch);
283       args.setColumns(columns);
284       args.setSsiList(ssiList);
285       args.setSsio(ssio);
286       args.setAuthorizations(authorizations);
287       args.setWaitForWrites(waitForWrites);
288       sendBase("startMultiScan", args);
289     }
290 
291     public org.apache.accumulo.core.data.thrift.InitialMultiScan recv_startMultiScan() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException
292     {
293       startMultiScan_result result = new startMultiScan_result();
294       receiveBase(result, "startMultiScan");
295       if (result.isSetSuccess()) {
296         return result.success;
297       }
298       if (result.sec != null) {
299         throw result.sec;
300       }
301       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "startMultiScan failed: unknown result");
302     }
303 
304     public org.apache.accumulo.core.data.thrift.MultiScanResult continueMultiScan(org.apache.accumulo.trace.thrift.TInfo tinfo, long scanID) throws NoSuchScanIDException, org.apache.thrift.TException
305     {
306       send_continueMultiScan(tinfo, scanID);
307       return recv_continueMultiScan();
308     }
309 
310     public void send_continueMultiScan(org.apache.accumulo.trace.thrift.TInfo tinfo, long scanID) throws org.apache.thrift.TException
311     {
312       continueMultiScan_args args = new continueMultiScan_args();
313       args.setTinfo(tinfo);
314       args.setScanID(scanID);
315       sendBase("continueMultiScan", args);
316     }
317 
318     public org.apache.accumulo.core.data.thrift.MultiScanResult recv_continueMultiScan() throws NoSuchScanIDException, org.apache.thrift.TException
319     {
320       continueMultiScan_result result = new continueMultiScan_result();
321       receiveBase(result, "continueMultiScan");
322       if (result.isSetSuccess()) {
323         return result.success;
324       }
325       if (result.nssi != null) {
326         throw result.nssi;
327       }
328       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "continueMultiScan failed: unknown result");
329     }
330 
331     public void closeMultiScan(org.apache.accumulo.trace.thrift.TInfo tinfo, long scanID) throws NoSuchScanIDException, org.apache.thrift.TException
332     {
333       send_closeMultiScan(tinfo, scanID);
334       recv_closeMultiScan();
335     }
336 
337     public void send_closeMultiScan(org.apache.accumulo.trace.thrift.TInfo tinfo, long scanID) throws org.apache.thrift.TException
338     {
339       closeMultiScan_args args = new closeMultiScan_args();
340       args.setTinfo(tinfo);
341       args.setScanID(scanID);
342       sendBase("closeMultiScan", args);
343     }
344 
345     public void recv_closeMultiScan() throws NoSuchScanIDException, org.apache.thrift.TException
346     {
347       closeMultiScan_result result = new closeMultiScan_result();
348       receiveBase(result, "closeMultiScan");
349       if (result.nssi != null) {
350         throw result.nssi;
351       }
352       return;
353     }
354 
355     public long startUpdate(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
356     {
357       send_startUpdate(tinfo, credential);
358       return recv_startUpdate();
359     }
360 
361     public void send_startUpdate(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential) throws org.apache.thrift.TException
362     {
363       startUpdate_args args = new startUpdate_args();
364       args.setTinfo(tinfo);
365       args.setCredential(credential);
366       sendBase("startUpdate", args);
367     }
368 
369     public long recv_startUpdate() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException
370     {
371       startUpdate_result result = new startUpdate_result();
372       receiveBase(result, "startUpdate");
373       if (result.isSetSuccess()) {
374         return result.success;
375       }
376       if (result.sec != null) {
377         throw result.sec;
378       }
379       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "startUpdate failed: unknown result");
380     }
381 
382     public void applyUpdates(org.apache.accumulo.trace.thrift.TInfo tinfo, long updateID, org.apache.accumulo.core.data.thrift.TKeyExtent keyExtent, List<org.apache.accumulo.core.data.thrift.TMutation> mutations) throws org.apache.thrift.TException
383     {
384       send_applyUpdates(tinfo, updateID, keyExtent, mutations);
385     }
386 
387     public void send_applyUpdates(org.apache.accumulo.trace.thrift.TInfo tinfo, long updateID, org.apache.accumulo.core.data.thrift.TKeyExtent keyExtent, List<org.apache.accumulo.core.data.thrift.TMutation> mutations) throws org.apache.thrift.TException
388     {
389       applyUpdates_args args = new applyUpdates_args();
390       args.setTinfo(tinfo);
391       args.setUpdateID(updateID);
392       args.setKeyExtent(keyExtent);
393       args.setMutations(mutations);
394       sendBase("applyUpdates", args);
395     }
396 
397     public org.apache.accumulo.core.data.thrift.UpdateErrors closeUpdate(org.apache.accumulo.trace.thrift.TInfo tinfo, long updateID) throws NoSuchScanIDException, org.apache.thrift.TException
398     {
399       send_closeUpdate(tinfo, updateID);
400       return recv_closeUpdate();
401     }
402 
403     public void send_closeUpdate(org.apache.accumulo.trace.thrift.TInfo tinfo, long updateID) throws org.apache.thrift.TException
404     {
405       closeUpdate_args args = new closeUpdate_args();
406       args.setTinfo(tinfo);
407       args.setUpdateID(updateID);
408       sendBase("closeUpdate", args);
409     }
410 
411     public org.apache.accumulo.core.data.thrift.UpdateErrors recv_closeUpdate() throws NoSuchScanIDException, org.apache.thrift.TException
412     {
413       closeUpdate_result result = new closeUpdate_result();
414       receiveBase(result, "closeUpdate");
415       if (result.isSetSuccess()) {
416         return result.success;
417       }
418       if (result.nssi != null) {
419         throw result.nssi;
420       }
421       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "closeUpdate failed: unknown result");
422     }
423 
424     public void update(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.accumulo.core.data.thrift.TKeyExtent keyExtent, org.apache.accumulo.core.data.thrift.TMutation mutation) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, NotServingTabletException, ConstraintViolationException, org.apache.thrift.TException
425     {
426       send_update(tinfo, credential, keyExtent, mutation);
427       recv_update();
428     }
429 
430     public void send_update(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.accumulo.core.data.thrift.TKeyExtent keyExtent, org.apache.accumulo.core.data.thrift.TMutation mutation) throws org.apache.thrift.TException
431     {
432       update_args args = new update_args();
433       args.setTinfo(tinfo);
434       args.setCredential(credential);
435       args.setKeyExtent(keyExtent);
436       args.setMutation(mutation);
437       sendBase("update", args);
438     }
439 
440     public void recv_update() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, NotServingTabletException, ConstraintViolationException, org.apache.thrift.TException
441     {
442       update_result result = new update_result();
443       receiveBase(result, "update");
444       if (result.sec != null) {
445         throw result.sec;
446       }
447       if (result.nste != null) {
448         throw result.nste;
449       }
450       if (result.cve != null) {
451         throw result.cve;
452       }
453       return;
454     }
455 
456     public List<org.apache.accumulo.core.data.thrift.TKeyExtent> bulkImport(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, long tid, Map<org.apache.accumulo.core.data.thrift.TKeyExtent,Map<String,org.apache.accumulo.core.data.thrift.MapFileInfo>> files, boolean setTime) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException
457     {
458       send_bulkImport(tinfo, credential, tid, files, setTime);
459       return recv_bulkImport();
460     }
461 
462     public void send_bulkImport(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, long tid, Map<org.apache.accumulo.core.data.thrift.TKeyExtent,Map<String,org.apache.accumulo.core.data.thrift.MapFileInfo>> files, boolean setTime) throws org.apache.thrift.TException
463     {
464       bulkImport_args args = new bulkImport_args();
465       args.setTinfo(tinfo);
466       args.setCredential(credential);
467       args.setTid(tid);
468       args.setFiles(files);
469       args.setSetTime(setTime);
470       sendBase("bulkImport", args);
471     }
472 
473     public List<org.apache.accumulo.core.data.thrift.TKeyExtent> recv_bulkImport() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException
474     {
475       bulkImport_result result = new bulkImport_result();
476       receiveBase(result, "bulkImport");
477       if (result.isSetSuccess()) {
478         return result.success;
479       }
480       if (result.sec != null) {
481         throw result.sec;
482       }
483       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "bulkImport failed: unknown result");
484     }
485 
486     public void splitTablet(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.accumulo.core.data.thrift.TKeyExtent extent, ByteBuffer splitPoint) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, NotServingTabletException, org.apache.thrift.TException
487     {
488       send_splitTablet(tinfo, credential, extent, splitPoint);
489       recv_splitTablet();
490     }
491 
492     public void send_splitTablet(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.accumulo.core.data.thrift.TKeyExtent extent, ByteBuffer splitPoint) throws org.apache.thrift.TException
493     {
494       splitTablet_args args = new splitTablet_args();
495       args.setTinfo(tinfo);
496       args.setCredential(credential);
497       args.setExtent(extent);
498       args.setSplitPoint(splitPoint);
499       sendBase("splitTablet", args);
500     }
501 
502     public void recv_splitTablet() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, NotServingTabletException, org.apache.thrift.TException
503     {
504       splitTablet_result result = new splitTablet_result();
505       receiveBase(result, "splitTablet");
506       if (result.sec != null) {
507         throw result.sec;
508       }
509       if (result.nste != null) {
510         throw result.nste;
511       }
512       return;
513     }
514 
515     public void loadTablet(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.accumulo.core.data.thrift.TKeyExtent extent) throws org.apache.thrift.TException
516     {
517       send_loadTablet(tinfo, credential, lock, extent);
518     }
519 
520     public void send_loadTablet(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.accumulo.core.data.thrift.TKeyExtent extent) throws org.apache.thrift.TException
521     {
522       loadTablet_args args = new loadTablet_args();
523       args.setTinfo(tinfo);
524       args.setCredential(credential);
525       args.setLock(lock);
526       args.setExtent(extent);
527       sendBase("loadTablet", args);
528     }
529 
530     public void unloadTablet(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.accumulo.core.data.thrift.TKeyExtent extent, boolean save) throws org.apache.thrift.TException
531     {
532       send_unloadTablet(tinfo, credential, lock, extent, save);
533     }
534 
535     public void send_unloadTablet(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.accumulo.core.data.thrift.TKeyExtent extent, boolean save) throws org.apache.thrift.TException
536     {
537       unloadTablet_args args = new unloadTablet_args();
538       args.setTinfo(tinfo);
539       args.setCredential(credential);
540       args.setLock(lock);
541       args.setExtent(extent);
542       args.setSave(save);
543       sendBase("unloadTablet", args);
544     }
545 
546     public void flush(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow) throws org.apache.thrift.TException
547     {
548       send_flush(tinfo, credential, lock, tableId, startRow, endRow);
549     }
550 
551     public void send_flush(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow) throws org.apache.thrift.TException
552     {
553       flush_args args = new flush_args();
554       args.setTinfo(tinfo);
555       args.setCredential(credential);
556       args.setLock(lock);
557       args.setTableId(tableId);
558       args.setStartRow(startRow);
559       args.setEndRow(endRow);
560       sendBase("flush", args);
561     }
562 
563     public void flushTablet(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.accumulo.core.data.thrift.TKeyExtent extent) throws org.apache.thrift.TException
564     {
565       send_flushTablet(tinfo, credential, lock, extent);
566     }
567 
568     public void send_flushTablet(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.accumulo.core.data.thrift.TKeyExtent extent) throws org.apache.thrift.TException
569     {
570       flushTablet_args args = new flushTablet_args();
571       args.setTinfo(tinfo);
572       args.setCredential(credential);
573       args.setLock(lock);
574       args.setExtent(extent);
575       sendBase("flushTablet", args);
576     }
577 
578     public void chop(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.accumulo.core.data.thrift.TKeyExtent extent) throws org.apache.thrift.TException
579     {
580       send_chop(tinfo, credential, lock, extent);
581     }
582 
583     public void send_chop(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.accumulo.core.data.thrift.TKeyExtent extent) throws org.apache.thrift.TException
584     {
585       chop_args args = new chop_args();
586       args.setTinfo(tinfo);
587       args.setCredential(credential);
588       args.setLock(lock);
589       args.setExtent(extent);
590       sendBase("chop", args);
591     }
592 
593     public void compact(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow) throws org.apache.thrift.TException
594     {
595       send_compact(tinfo, credential, lock, tableId, startRow, endRow);
596     }
597 
598     public void send_compact(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow) throws org.apache.thrift.TException
599     {
600       compact_args args = new compact_args();
601       args.setTinfo(tinfo);
602       args.setCredential(credential);
603       args.setLock(lock);
604       args.setTableId(tableId);
605       args.setStartRow(startRow);
606       args.setEndRow(endRow);
607       sendBase("compact", args);
608     }
609 
610     public org.apache.accumulo.core.master.thrift.TabletServerStatus getTabletServerStatus(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
611     {
612       send_getTabletServerStatus(tinfo, credential);
613       return recv_getTabletServerStatus();
614     }
615 
616     public void send_getTabletServerStatus(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential) throws org.apache.thrift.TException
617     {
618       getTabletServerStatus_args args = new getTabletServerStatus_args();
619       args.setTinfo(tinfo);
620       args.setCredential(credential);
621       sendBase("getTabletServerStatus", args);
622     }
623 
624     public org.apache.accumulo.core.master.thrift.TabletServerStatus recv_getTabletServerStatus() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException
625     {
626       getTabletServerStatus_result result = new getTabletServerStatus_result();
627       receiveBase(result, "getTabletServerStatus");
628       if (result.isSetSuccess()) {
629         return result.success;
630       }
631       if (result.sec != null) {
632         throw result.sec;
633       }
634       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getTabletServerStatus failed: unknown result");
635     }
636 
637     public List<TabletStats> getTabletStats(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tableId) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException
638     {
639       send_getTabletStats(tinfo, credential, tableId);
640       return recv_getTabletStats();
641     }
642 
643     public void send_getTabletStats(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tableId) throws org.apache.thrift.TException
644     {
645       getTabletStats_args args = new getTabletStats_args();
646       args.setTinfo(tinfo);
647       args.setCredential(credential);
648       args.setTableId(tableId);
649       sendBase("getTabletStats", args);
650     }
651 
652     public List<TabletStats> recv_getTabletStats() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException
653     {
654       getTabletStats_result result = new getTabletStats_result();
655       receiveBase(result, "getTabletStats");
656       if (result.isSetSuccess()) {
657         return result.success;
658       }
659       if (result.sec != null) {
660         throw result.sec;
661       }
662       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getTabletStats failed: unknown result");
663     }
664 
665     public TabletStats getHistoricalStats(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
666     {
667       send_getHistoricalStats(tinfo, credential);
668       return recv_getHistoricalStats();
669     }
670 
671     public void send_getHistoricalStats(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential) throws org.apache.thrift.TException
672     {
673       getHistoricalStats_args args = new getHistoricalStats_args();
674       args.setTinfo(tinfo);
675       args.setCredential(credential);
676       sendBase("getHistoricalStats", args);
677     }
678 
679     public TabletStats recv_getHistoricalStats() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException
680     {
681       getHistoricalStats_result result = new getHistoricalStats_result();
682       receiveBase(result, "getHistoricalStats");
683       if (result.isSetSuccess()) {
684         return result.success;
685       }
686       if (result.sec != null) {
687         throw result.sec;
688       }
689       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getHistoricalStats failed: unknown result");
690     }
691 
692     public void halt(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException
693     {
694       send_halt(tinfo, credential, lock);
695       recv_halt();
696     }
697 
698     public void send_halt(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock) throws org.apache.thrift.TException
699     {
700       halt_args args = new halt_args();
701       args.setTinfo(tinfo);
702       args.setCredential(credential);
703       args.setLock(lock);
704       sendBase("halt", args);
705     }
706 
707     public void recv_halt() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException
708     {
709       halt_result result = new halt_result();
710       receiveBase(result, "halt");
711       if (result.sec != null) {
712         throw result.sec;
713       }
714       return;
715     }
716 
717     public void fastHalt(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock) throws org.apache.thrift.TException
718     {
719       send_fastHalt(tinfo, credential, lock);
720     }
721 
722     public void send_fastHalt(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock) throws org.apache.thrift.TException
723     {
724       fastHalt_args args = new fastHalt_args();
725       args.setTinfo(tinfo);
726       args.setCredential(credential);
727       args.setLock(lock);
728       sendBase("fastHalt", args);
729     }
730 
731     public List<ActiveScan> getActiveScans(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
732     {
733       send_getActiveScans(tinfo, credential);
734       return recv_getActiveScans();
735     }
736 
737     public void send_getActiveScans(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential) throws org.apache.thrift.TException
738     {
739       getActiveScans_args args = new getActiveScans_args();
740       args.setTinfo(tinfo);
741       args.setCredential(credential);
742       sendBase("getActiveScans", args);
743     }
744 
745     public List<ActiveScan> recv_getActiveScans() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException
746     {
747       getActiveScans_result result = new getActiveScans_result();
748       receiveBase(result, "getActiveScans");
749       if (result.isSetSuccess()) {
750         return result.success;
751       }
752       if (result.sec != null) {
753         throw result.sec;
754       }
755       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getActiveScans failed: unknown result");
756     }
757 
758     public List<ActiveCompaction> getActiveCompactions(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
759     {
760       send_getActiveCompactions(tinfo, credential);
761       return recv_getActiveCompactions();
762     }
763 
764     public void send_getActiveCompactions(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential) throws org.apache.thrift.TException
765     {
766       getActiveCompactions_args args = new getActiveCompactions_args();
767       args.setTinfo(tinfo);
768       args.setCredential(credential);
769       sendBase("getActiveCompactions", args);
770     }
771 
772     public List<ActiveCompaction> recv_getActiveCompactions() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException
773     {
774       getActiveCompactions_result result = new getActiveCompactions_result();
775       receiveBase(result, "getActiveCompactions");
776       if (result.isSetSuccess()) {
777         return result.success;
778       }
779       if (result.sec != null) {
780         throw result.sec;
781       }
782       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getActiveCompactions failed: unknown result");
783     }
784 
785     public void removeLogs(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, List<String> filenames) throws org.apache.thrift.TException
786     {
787       send_removeLogs(tinfo, credential, filenames);
788     }
789 
790     public void send_removeLogs(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, List<String> filenames) throws org.apache.thrift.TException
791     {
792       removeLogs_args args = new removeLogs_args();
793       args.setTinfo(tinfo);
794       args.setCredential(credential);
795       args.setFilenames(filenames);
796       sendBase("removeLogs", args);
797     }
798 
799   }
800   public static class AsyncClient extends org.apache.accumulo.core.client.impl.thrift.ClientService.AsyncClient implements AsyncIface {
801     public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
802       private org.apache.thrift.async.TAsyncClientManager clientManager;
803       private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
804       public Factory(org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.protocol.TProtocolFactory protocolFactory) {
805         this.clientManager = clientManager;
806         this.protocolFactory = protocolFactory;
807       }
808       public AsyncClient getAsyncClient(org.apache.thrift.transport.TNonblockingTransport transport) {
809         return new AsyncClient(protocolFactory, clientManager, transport);
810       }
811     }
812 
813     public AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport) {
814       super(protocolFactory, clientManager, transport);
815     }
816 
817     public void startScan(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.accumulo.core.data.thrift.TKeyExtent extent, org.apache.accumulo.core.data.thrift.TRange range, List<org.apache.accumulo.core.data.thrift.TColumn> columns, int batchSize, List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites, boolean isolated, org.apache.thrift.async.AsyncMethodCallback<startScan_call> resultHandler) throws org.apache.thrift.TException {
818       checkReady();
819       startScan_call method_call = new startScan_call(tinfo, credential, extent, range, columns, batchSize, ssiList, ssio, authorizations, waitForWrites, isolated, resultHandler, this, ___protocolFactory, ___transport);
820       this.___currentMethod = method_call;
821       ___manager.call(method_call);
822     }
823 
824     public static class startScan_call extends org.apache.thrift.async.TAsyncMethodCall {
825       private org.apache.accumulo.trace.thrift.TInfo tinfo;
826       private org.apache.accumulo.core.security.thrift.Credential credential;
827       private org.apache.accumulo.core.data.thrift.TKeyExtent extent;
828       private org.apache.accumulo.core.data.thrift.TRange range;
829       private List<org.apache.accumulo.core.data.thrift.TColumn> columns;
830       private int batchSize;
831       private List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList;
832       private Map<String,Map<String,String>> ssio;
833       private List<ByteBuffer> authorizations;
834       private boolean waitForWrites;
835       private boolean isolated;
836       public startScan_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.accumulo.core.data.thrift.TKeyExtent extent, org.apache.accumulo.core.data.thrift.TRange range, List<org.apache.accumulo.core.data.thrift.TColumn> columns, int batchSize, List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites, boolean isolated, org.apache.thrift.async.AsyncMethodCallback<startScan_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 {
837         super(client, protocolFactory, transport, resultHandler, false);
838         this.tinfo = tinfo;
839         this.credential = credential;
840         this.extent = extent;
841         this.range = range;
842         this.columns = columns;
843         this.batchSize = batchSize;
844         this.ssiList = ssiList;
845         this.ssio = ssio;
846         this.authorizations = authorizations;
847         this.waitForWrites = waitForWrites;
848         this.isolated = isolated;
849       }
850 
851       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
852         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("startScan", org.apache.thrift.protocol.TMessageType.CALL, 0));
853         startScan_args args = new startScan_args();
854         args.setTinfo(tinfo);
855         args.setCredential(credential);
856         args.setExtent(extent);
857         args.setRange(range);
858         args.setColumns(columns);
859         args.setBatchSize(batchSize);
860         args.setSsiList(ssiList);
861         args.setSsio(ssio);
862         args.setAuthorizations(authorizations);
863         args.setWaitForWrites(waitForWrites);
864         args.setIsolated(isolated);
865         args.write(prot);
866         prot.writeMessageEnd();
867       }
868 
869       public org.apache.accumulo.core.data.thrift.InitialScan getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, NotServingTabletException, TooManyFilesException, org.apache.thrift.TException {
870         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
871           throw new IllegalStateException("Method call not finished!");
872         }
873         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
874         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
875         return (new Client(prot)).recv_startScan();
876       }
877     }
878 
879     public void continueScan(org.apache.accumulo.trace.thrift.TInfo tinfo, long scanID, org.apache.thrift.async.AsyncMethodCallback<continueScan_call> resultHandler) throws org.apache.thrift.TException {
880       checkReady();
881       continueScan_call method_call = new continueScan_call(tinfo, scanID, resultHandler, this, ___protocolFactory, ___transport);
882       this.___currentMethod = method_call;
883       ___manager.call(method_call);
884     }
885 
886     public static class continueScan_call extends org.apache.thrift.async.TAsyncMethodCall {
887       private org.apache.accumulo.trace.thrift.TInfo tinfo;
888       private long scanID;
889       public continueScan_call(org.apache.accumulo.trace.thrift.TInfo tinfo, long scanID, org.apache.thrift.async.AsyncMethodCallback<continueScan_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 {
890         super(client, protocolFactory, transport, resultHandler, false);
891         this.tinfo = tinfo;
892         this.scanID = scanID;
893       }
894 
895       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
896         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("continueScan", org.apache.thrift.protocol.TMessageType.CALL, 0));
897         continueScan_args args = new continueScan_args();
898         args.setTinfo(tinfo);
899         args.setScanID(scanID);
900         args.write(prot);
901         prot.writeMessageEnd();
902       }
903 
904       public org.apache.accumulo.core.data.thrift.ScanResult getResult() throws NoSuchScanIDException, NotServingTabletException, TooManyFilesException, org.apache.thrift.TException {
905         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
906           throw new IllegalStateException("Method call not finished!");
907         }
908         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
909         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
910         return (new Client(prot)).recv_continueScan();
911       }
912     }
913 
914     public void closeScan(org.apache.accumulo.trace.thrift.TInfo tinfo, long scanID, org.apache.thrift.async.AsyncMethodCallback<closeScan_call> resultHandler) throws org.apache.thrift.TException {
915       checkReady();
916       closeScan_call method_call = new closeScan_call(tinfo, scanID, resultHandler, this, ___protocolFactory, ___transport);
917       this.___currentMethod = method_call;
918       ___manager.call(method_call);
919     }
920 
921     public static class closeScan_call extends org.apache.thrift.async.TAsyncMethodCall {
922       private org.apache.accumulo.trace.thrift.TInfo tinfo;
923       private long scanID;
924       public closeScan_call(org.apache.accumulo.trace.thrift.TInfo tinfo, long scanID, org.apache.thrift.async.AsyncMethodCallback<closeScan_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 {
925         super(client, protocolFactory, transport, resultHandler, true);
926         this.tinfo = tinfo;
927         this.scanID = scanID;
928       }
929 
930       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
931         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("closeScan", org.apache.thrift.protocol.TMessageType.CALL, 0));
932         closeScan_args args = new closeScan_args();
933         args.setTinfo(tinfo);
934         args.setScanID(scanID);
935         args.write(prot);
936         prot.writeMessageEnd();
937       }
938 
939       public void getResult() throws org.apache.thrift.TException {
940         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
941           throw new IllegalStateException("Method call not finished!");
942         }
943         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
944         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
945       }
946     }
947 
948     public void startMultiScan(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, Map<org.apache.accumulo.core.data.thrift.TKeyExtent,List<org.apache.accumulo.core.data.thrift.TRange>> batch, List<org.apache.accumulo.core.data.thrift.TColumn> columns, List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites, org.apache.thrift.async.AsyncMethodCallback<startMultiScan_call> resultHandler) throws org.apache.thrift.TException {
949       checkReady();
950       startMultiScan_call method_call = new startMultiScan_call(tinfo, credential, batch, columns, ssiList, ssio, authorizations, waitForWrites, resultHandler, this, ___protocolFactory, ___transport);
951       this.___currentMethod = method_call;
952       ___manager.call(method_call);
953     }
954 
955     public static class startMultiScan_call extends org.apache.thrift.async.TAsyncMethodCall {
956       private org.apache.accumulo.trace.thrift.TInfo tinfo;
957       private org.apache.accumulo.core.security.thrift.Credential credential;
958       private Map<org.apache.accumulo.core.data.thrift.TKeyExtent,List<org.apache.accumulo.core.data.thrift.TRange>> batch;
959       private List<org.apache.accumulo.core.data.thrift.TColumn> columns;
960       private List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList;
961       private Map<String,Map<String,String>> ssio;
962       private List<ByteBuffer> authorizations;
963       private boolean waitForWrites;
964       public startMultiScan_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, Map<org.apache.accumulo.core.data.thrift.TKeyExtent,List<org.apache.accumulo.core.data.thrift.TRange>> batch, List<org.apache.accumulo.core.data.thrift.TColumn> columns, List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites, org.apache.thrift.async.AsyncMethodCallback<startMultiScan_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 {
965         super(client, protocolFactory, transport, resultHandler, false);
966         this.tinfo = tinfo;
967         this.credential = credential;
968         this.batch = batch;
969         this.columns = columns;
970         this.ssiList = ssiList;
971         this.ssio = ssio;
972         this.authorizations = authorizations;
973         this.waitForWrites = waitForWrites;
974       }
975 
976       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
977         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("startMultiScan", org.apache.thrift.protocol.TMessageType.CALL, 0));
978         startMultiScan_args args = new startMultiScan_args();
979         args.setTinfo(tinfo);
980         args.setCredential(credential);
981         args.setBatch(batch);
982         args.setColumns(columns);
983         args.setSsiList(ssiList);
984         args.setSsio(ssio);
985         args.setAuthorizations(authorizations);
986         args.setWaitForWrites(waitForWrites);
987         args.write(prot);
988         prot.writeMessageEnd();
989       }
990 
991       public org.apache.accumulo.core.data.thrift.InitialMultiScan getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException {
992         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
993           throw new IllegalStateException("Method call not finished!");
994         }
995         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
996         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
997         return (new Client(prot)).recv_startMultiScan();
998       }
999     }
1000 
1001     public void continueMultiScan(org.apache.accumulo.trace.thrift.TInfo tinfo, long scanID, org.apache.thrift.async.AsyncMethodCallback<continueMultiScan_call> resultHandler) throws org.apache.thrift.TException {
1002       checkReady();
1003       continueMultiScan_call method_call = new continueMultiScan_call(tinfo, scanID, resultHandler, this, ___protocolFactory, ___transport);
1004       this.___currentMethod = method_call;
1005       ___manager.call(method_call);
1006     }
1007 
1008     public static class continueMultiScan_call extends org.apache.thrift.async.TAsyncMethodCall {
1009       private org.apache.accumulo.trace.thrift.TInfo tinfo;
1010       private long scanID;
1011       public continueMultiScan_call(org.apache.accumulo.trace.thrift.TInfo tinfo, long scanID, org.apache.thrift.async.AsyncMethodCallback<continueMultiScan_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 {
1012         super(client, protocolFactory, transport, resultHandler, false);
1013         this.tinfo = tinfo;
1014         this.scanID = scanID;
1015       }
1016 
1017       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1018         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("continueMultiScan", org.apache.thrift.protocol.TMessageType.CALL, 0));
1019         continueMultiScan_args args = new continueMultiScan_args();
1020         args.setTinfo(tinfo);
1021         args.setScanID(scanID);
1022         args.write(prot);
1023         prot.writeMessageEnd();
1024       }
1025 
1026       public org.apache.accumulo.core.data.thrift.MultiScanResult getResult() throws NoSuchScanIDException, org.apache.thrift.TException {
1027         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1028           throw new IllegalStateException("Method call not finished!");
1029         }
1030         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1031         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1032         return (new Client(prot)).recv_continueMultiScan();
1033       }
1034     }
1035 
1036     public void closeMultiScan(org.apache.accumulo.trace.thrift.TInfo tinfo, long scanID, org.apache.thrift.async.AsyncMethodCallback<closeMultiScan_call> resultHandler) throws org.apache.thrift.TException {
1037       checkReady();
1038       closeMultiScan_call method_call = new closeMultiScan_call(tinfo, scanID, resultHandler, this, ___protocolFactory, ___transport);
1039       this.___currentMethod = method_call;
1040       ___manager.call(method_call);
1041     }
1042 
1043     public static class closeMultiScan_call extends org.apache.thrift.async.TAsyncMethodCall {
1044       private org.apache.accumulo.trace.thrift.TInfo tinfo;
1045       private long scanID;
1046       public closeMultiScan_call(org.apache.accumulo.trace.thrift.TInfo tinfo, long scanID, org.apache.thrift.async.AsyncMethodCallback<closeMultiScan_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 {
1047         super(client, protocolFactory, transport, resultHandler, false);
1048         this.tinfo = tinfo;
1049         this.scanID = scanID;
1050       }
1051 
1052       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1053         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("closeMultiScan", org.apache.thrift.protocol.TMessageType.CALL, 0));
1054         closeMultiScan_args args = new closeMultiScan_args();
1055         args.setTinfo(tinfo);
1056         args.setScanID(scanID);
1057         args.write(prot);
1058         prot.writeMessageEnd();
1059       }
1060 
1061       public void getResult() throws NoSuchScanIDException, org.apache.thrift.TException {
1062         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1063           throw new IllegalStateException("Method call not finished!");
1064         }
1065         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1066         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1067         (new Client(prot)).recv_closeMultiScan();
1068       }
1069     }
1070 
1071     public void startUpdate(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.thrift.async.AsyncMethodCallback<startUpdate_call> resultHandler) throws org.apache.thrift.TException {
1072       checkReady();
1073       startUpdate_call method_call = new startUpdate_call(tinfo, credential, resultHandler, this, ___protocolFactory, ___transport);
1074       this.___currentMethod = method_call;
1075       ___manager.call(method_call);
1076     }
1077 
1078     public static class startUpdate_call extends org.apache.thrift.async.TAsyncMethodCall {
1079       private org.apache.accumulo.trace.thrift.TInfo tinfo;
1080       private org.apache.accumulo.core.security.thrift.Credential credential;
1081       public startUpdate_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.thrift.async.AsyncMethodCallback<startUpdate_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 {
1082         super(client, protocolFactory, transport, resultHandler, false);
1083         this.tinfo = tinfo;
1084         this.credential = credential;
1085       }
1086 
1087       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1088         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("startUpdate", org.apache.thrift.protocol.TMessageType.CALL, 0));
1089         startUpdate_args args = new startUpdate_args();
1090         args.setTinfo(tinfo);
1091         args.setCredential(credential);
1092         args.write(prot);
1093         prot.writeMessageEnd();
1094       }
1095 
1096       public long getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException {
1097         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1098           throw new IllegalStateException("Method call not finished!");
1099         }
1100         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1101         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1102         return (new Client(prot)).recv_startUpdate();
1103       }
1104     }
1105 
1106     public void applyUpdates(org.apache.accumulo.trace.thrift.TInfo tinfo, long updateID, org.apache.accumulo.core.data.thrift.TKeyExtent keyExtent, List<org.apache.accumulo.core.data.thrift.TMutation> mutations, org.apache.thrift.async.AsyncMethodCallback<applyUpdates_call> resultHandler) throws org.apache.thrift.TException {
1107       checkReady();
1108       applyUpdates_call method_call = new applyUpdates_call(tinfo, updateID, keyExtent, mutations, resultHandler, this, ___protocolFactory, ___transport);
1109       this.___currentMethod = method_call;
1110       ___manager.call(method_call);
1111     }
1112 
1113     public static class applyUpdates_call extends org.apache.thrift.async.TAsyncMethodCall {
1114       private org.apache.accumulo.trace.thrift.TInfo tinfo;
1115       private long updateID;
1116       private org.apache.accumulo.core.data.thrift.TKeyExtent keyExtent;
1117       private List<org.apache.accumulo.core.data.thrift.TMutation> mutations;
1118       public applyUpdates_call(org.apache.accumulo.trace.thrift.TInfo tinfo, long updateID, org.apache.accumulo.core.data.thrift.TKeyExtent keyExtent, List<org.apache.accumulo.core.data.thrift.TMutation> mutations, org.apache.thrift.async.AsyncMethodCallback<applyUpdates_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 {
1119         super(client, protocolFactory, transport, resultHandler, true);
1120         this.tinfo = tinfo;
1121         this.updateID = updateID;
1122         this.keyExtent = keyExtent;
1123         this.mutations = mutations;
1124       }
1125 
1126       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1127         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("applyUpdates", org.apache.thrift.protocol.TMessageType.CALL, 0));
1128         applyUpdates_args args = new applyUpdates_args();
1129         args.setTinfo(tinfo);
1130         args.setUpdateID(updateID);
1131         args.setKeyExtent(keyExtent);
1132         args.setMutations(mutations);
1133         args.write(prot);
1134         prot.writeMessageEnd();
1135       }
1136 
1137       public void getResult() throws org.apache.thrift.TException {
1138         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1139           throw new IllegalStateException("Method call not finished!");
1140         }
1141         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1142         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1143       }
1144     }
1145 
1146     public void closeUpdate(org.apache.accumulo.trace.thrift.TInfo tinfo, long updateID, org.apache.thrift.async.AsyncMethodCallback<closeUpdate_call> resultHandler) throws org.apache.thrift.TException {
1147       checkReady();
1148       closeUpdate_call method_call = new closeUpdate_call(tinfo, updateID, resultHandler, this, ___protocolFactory, ___transport);
1149       this.___currentMethod = method_call;
1150       ___manager.call(method_call);
1151     }
1152 
1153     public static class closeUpdate_call extends org.apache.thrift.async.TAsyncMethodCall {
1154       private org.apache.accumulo.trace.thrift.TInfo tinfo;
1155       private long updateID;
1156       public closeUpdate_call(org.apache.accumulo.trace.thrift.TInfo tinfo, long updateID, org.apache.thrift.async.AsyncMethodCallback<closeUpdate_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 {
1157         super(client, protocolFactory, transport, resultHandler, false);
1158         this.tinfo = tinfo;
1159         this.updateID = updateID;
1160       }
1161 
1162       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1163         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("closeUpdate", org.apache.thrift.protocol.TMessageType.CALL, 0));
1164         closeUpdate_args args = new closeUpdate_args();
1165         args.setTinfo(tinfo);
1166         args.setUpdateID(updateID);
1167         args.write(prot);
1168         prot.writeMessageEnd();
1169       }
1170 
1171       public org.apache.accumulo.core.data.thrift.UpdateErrors getResult() throws NoSuchScanIDException, org.apache.thrift.TException {
1172         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1173           throw new IllegalStateException("Method call not finished!");
1174         }
1175         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1176         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1177         return (new Client(prot)).recv_closeUpdate();
1178       }
1179     }
1180 
1181     public void update(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.accumulo.core.data.thrift.TKeyExtent keyExtent, org.apache.accumulo.core.data.thrift.TMutation mutation, org.apache.thrift.async.AsyncMethodCallback<update_call> resultHandler) throws org.apache.thrift.TException {
1182       checkReady();
1183       update_call method_call = new update_call(tinfo, credential, keyExtent, mutation, resultHandler, this, ___protocolFactory, ___transport);
1184       this.___currentMethod = method_call;
1185       ___manager.call(method_call);
1186     }
1187 
1188     public static class update_call extends org.apache.thrift.async.TAsyncMethodCall {
1189       private org.apache.accumulo.trace.thrift.TInfo tinfo;
1190       private org.apache.accumulo.core.security.thrift.Credential credential;
1191       private org.apache.accumulo.core.data.thrift.TKeyExtent keyExtent;
1192       private org.apache.accumulo.core.data.thrift.TMutation mutation;
1193       public update_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.accumulo.core.data.thrift.TKeyExtent keyExtent, org.apache.accumulo.core.data.thrift.TMutation mutation, org.apache.thrift.async.AsyncMethodCallback<update_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 {
1194         super(client, protocolFactory, transport, resultHandler, false);
1195         this.tinfo = tinfo;
1196         this.credential = credential;
1197         this.keyExtent = keyExtent;
1198         this.mutation = mutation;
1199       }
1200 
1201       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1202         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("update", org.apache.thrift.protocol.TMessageType.CALL, 0));
1203         update_args args = new update_args();
1204         args.setTinfo(tinfo);
1205         args.setCredential(credential);
1206         args.setKeyExtent(keyExtent);
1207         args.setMutation(mutation);
1208         args.write(prot);
1209         prot.writeMessageEnd();
1210       }
1211 
1212       public void getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, NotServingTabletException, ConstraintViolationException, 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         (new Client(prot)).recv_update();
1219       }
1220     }
1221 
1222     public void bulkImport(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, long tid, Map<org.apache.accumulo.core.data.thrift.TKeyExtent,Map<String,org.apache.accumulo.core.data.thrift.MapFileInfo>> files, boolean setTime, org.apache.thrift.async.AsyncMethodCallback<bulkImport_call> resultHandler) throws org.apache.thrift.TException {
1223       checkReady();
1224       bulkImport_call method_call = new bulkImport_call(tinfo, credential, tid, files, setTime, resultHandler, this, ___protocolFactory, ___transport);
1225       this.___currentMethod = method_call;
1226       ___manager.call(method_call);
1227     }
1228 
1229     public static class bulkImport_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 tid;
1233       private Map<org.apache.accumulo.core.data.thrift.TKeyExtent,Map<String,org.apache.accumulo.core.data.thrift.MapFileInfo>> files;
1234       private boolean setTime;
1235       public bulkImport_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, long tid, Map<org.apache.accumulo.core.data.thrift.TKeyExtent,Map<String,org.apache.accumulo.core.data.thrift.MapFileInfo>> files, boolean setTime, org.apache.thrift.async.AsyncMethodCallback<bulkImport_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 {
1236         super(client, protocolFactory, transport, resultHandler, false);
1237         this.tinfo = tinfo;
1238         this.credential = credential;
1239         this.tid = tid;
1240         this.files = files;
1241         this.setTime = setTime;
1242       }
1243 
1244       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1245         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("bulkImport", org.apache.thrift.protocol.TMessageType.CALL, 0));
1246         bulkImport_args args = new bulkImport_args();
1247         args.setTinfo(tinfo);
1248         args.setCredential(credential);
1249         args.setTid(tid);
1250         args.setFiles(files);
1251         args.setSetTime(setTime);
1252         args.write(prot);
1253         prot.writeMessageEnd();
1254       }
1255 
1256       public List<org.apache.accumulo.core.data.thrift.TKeyExtent> getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException {
1257         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1258           throw new IllegalStateException("Method call not finished!");
1259         }
1260         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1261         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1262         return (new Client(prot)).recv_bulkImport();
1263       }
1264     }
1265 
1266     public void splitTablet(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.accumulo.core.data.thrift.TKeyExtent extent, ByteBuffer splitPoint, org.apache.thrift.async.AsyncMethodCallback<splitTablet_call> resultHandler) throws org.apache.thrift.TException {
1267       checkReady();
1268       splitTablet_call method_call = new splitTablet_call(tinfo, credential, extent, splitPoint, resultHandler, this, ___protocolFactory, ___transport);
1269       this.___currentMethod = method_call;
1270       ___manager.call(method_call);
1271     }
1272 
1273     public static class splitTablet_call extends org.apache.thrift.async.TAsyncMethodCall {
1274       private org.apache.accumulo.trace.thrift.TInfo tinfo;
1275       private org.apache.accumulo.core.security.thrift.Credential credential;
1276       private org.apache.accumulo.core.data.thrift.TKeyExtent extent;
1277       private ByteBuffer splitPoint;
1278       public splitTablet_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.accumulo.core.data.thrift.TKeyExtent extent, ByteBuffer splitPoint, org.apache.thrift.async.AsyncMethodCallback<splitTablet_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 {
1279         super(client, protocolFactory, transport, resultHandler, false);
1280         this.tinfo = tinfo;
1281         this.credential = credential;
1282         this.extent = extent;
1283         this.splitPoint = splitPoint;
1284       }
1285 
1286       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1287         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("splitTablet", org.apache.thrift.protocol.TMessageType.CALL, 0));
1288         splitTablet_args args = new splitTablet_args();
1289         args.setTinfo(tinfo);
1290         args.setCredential(credential);
1291         args.setExtent(extent);
1292         args.setSplitPoint(splitPoint);
1293         args.write(prot);
1294         prot.writeMessageEnd();
1295       }
1296 
1297       public void getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, NotServingTabletException, org.apache.thrift.TException {
1298         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1299           throw new IllegalStateException("Method call not finished!");
1300         }
1301         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1302         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1303         (new Client(prot)).recv_splitTablet();
1304       }
1305     }
1306 
1307     public void loadTablet(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.accumulo.core.data.thrift.TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<loadTablet_call> resultHandler) throws org.apache.thrift.TException {
1308       checkReady();
1309       loadTablet_call method_call = new loadTablet_call(tinfo, credential, lock, extent, resultHandler, this, ___protocolFactory, ___transport);
1310       this.___currentMethod = method_call;
1311       ___manager.call(method_call);
1312     }
1313 
1314     public static class loadTablet_call extends org.apache.thrift.async.TAsyncMethodCall {
1315       private org.apache.accumulo.trace.thrift.TInfo tinfo;
1316       private org.apache.accumulo.core.security.thrift.Credential credential;
1317       private String lock;
1318       private org.apache.accumulo.core.data.thrift.TKeyExtent extent;
1319       public loadTablet_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.accumulo.core.data.thrift.TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<loadTablet_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 {
1320         super(client, protocolFactory, transport, resultHandler, true);
1321         this.tinfo = tinfo;
1322         this.credential = credential;
1323         this.lock = lock;
1324         this.extent = extent;
1325       }
1326 
1327       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1328         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("loadTablet", org.apache.thrift.protocol.TMessageType.CALL, 0));
1329         loadTablet_args args = new loadTablet_args();
1330         args.setTinfo(tinfo);
1331         args.setCredential(credential);
1332         args.setLock(lock);
1333         args.setExtent(extent);
1334         args.write(prot);
1335         prot.writeMessageEnd();
1336       }
1337 
1338       public void getResult() throws org.apache.thrift.TException {
1339         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1340           throw new IllegalStateException("Method call not finished!");
1341         }
1342         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1343         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1344       }
1345     }
1346 
1347     public void unloadTablet(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.accumulo.core.data.thrift.TKeyExtent extent, boolean save, org.apache.thrift.async.AsyncMethodCallback<unloadTablet_call> resultHandler) throws org.apache.thrift.TException {
1348       checkReady();
1349       unloadTablet_call method_call = new unloadTablet_call(tinfo, credential, lock, extent, save, resultHandler, this, ___protocolFactory, ___transport);
1350       this.___currentMethod = method_call;
1351       ___manager.call(method_call);
1352     }
1353 
1354     public static class unloadTablet_call extends org.apache.thrift.async.TAsyncMethodCall {
1355       private org.apache.accumulo.trace.thrift.TInfo tinfo;
1356       private org.apache.accumulo.core.security.thrift.Credential credential;
1357       private String lock;
1358       private org.apache.accumulo.core.data.thrift.TKeyExtent extent;
1359       private boolean save;
1360       public unloadTablet_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.accumulo.core.data.thrift.TKeyExtent extent, boolean save, org.apache.thrift.async.AsyncMethodCallback<unloadTablet_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 {
1361         super(client, protocolFactory, transport, resultHandler, true);
1362         this.tinfo = tinfo;
1363         this.credential = credential;
1364         this.lock = lock;
1365         this.extent = extent;
1366         this.save = save;
1367       }
1368 
1369       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1370         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("unloadTablet", org.apache.thrift.protocol.TMessageType.CALL, 0));
1371         unloadTablet_args args = new unloadTablet_args();
1372         args.setTinfo(tinfo);
1373         args.setCredential(credential);
1374         args.setLock(lock);
1375         args.setExtent(extent);
1376         args.setSave(save);
1377         args.write(prot);
1378         prot.writeMessageEnd();
1379       }
1380 
1381       public void getResult() throws org.apache.thrift.TException {
1382         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1383           throw new IllegalStateException("Method call not finished!");
1384         }
1385         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1386         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1387       }
1388     }
1389 
1390     public void flush(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow, org.apache.thrift.async.AsyncMethodCallback<flush_call> resultHandler) throws org.apache.thrift.TException {
1391       checkReady();
1392       flush_call method_call = new flush_call(tinfo, credential, lock, tableId, startRow, endRow, resultHandler, this, ___protocolFactory, ___transport);
1393       this.___currentMethod = method_call;
1394       ___manager.call(method_call);
1395     }
1396 
1397     public static class flush_call extends org.apache.thrift.async.TAsyncMethodCall {
1398       private org.apache.accumulo.trace.thrift.TInfo tinfo;
1399       private org.apache.accumulo.core.security.thrift.Credential credential;
1400       private String lock;
1401       private String tableId;
1402       private ByteBuffer startRow;
1403       private ByteBuffer endRow;
1404       public flush_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow, org.apache.thrift.async.AsyncMethodCallback<flush_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 {
1405         super(client, protocolFactory, transport, resultHandler, true);
1406         this.tinfo = tinfo;
1407         this.credential = credential;
1408         this.lock = lock;
1409         this.tableId = tableId;
1410         this.startRow = startRow;
1411         this.endRow = endRow;
1412       }
1413 
1414       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1415         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("flush", org.apache.thrift.protocol.TMessageType.CALL, 0));
1416         flush_args args = new flush_args();
1417         args.setTinfo(tinfo);
1418         args.setCredential(credential);
1419         args.setLock(lock);
1420         args.setTableId(tableId);
1421         args.setStartRow(startRow);
1422         args.setEndRow(endRow);
1423         args.write(prot);
1424         prot.writeMessageEnd();
1425       }
1426 
1427       public void getResult() throws org.apache.thrift.TException {
1428         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1429           throw new IllegalStateException("Method call not finished!");
1430         }
1431         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1432         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1433       }
1434     }
1435 
1436     public void flushTablet(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.accumulo.core.data.thrift.TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<flushTablet_call> resultHandler) throws org.apache.thrift.TException {
1437       checkReady();
1438       flushTablet_call method_call = new flushTablet_call(tinfo, credential, lock, extent, resultHandler, this, ___protocolFactory, ___transport);
1439       this.___currentMethod = method_call;
1440       ___manager.call(method_call);
1441     }
1442 
1443     public static class flushTablet_call extends org.apache.thrift.async.TAsyncMethodCall {
1444       private org.apache.accumulo.trace.thrift.TInfo tinfo;
1445       private org.apache.accumulo.core.security.thrift.Credential credential;
1446       private String lock;
1447       private org.apache.accumulo.core.data.thrift.TKeyExtent extent;
1448       public flushTablet_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.accumulo.core.data.thrift.TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<flushTablet_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 {
1449         super(client, protocolFactory, transport, resultHandler, true);
1450         this.tinfo = tinfo;
1451         this.credential = credential;
1452         this.lock = lock;
1453         this.extent = extent;
1454       }
1455 
1456       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1457         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("flushTablet", org.apache.thrift.protocol.TMessageType.CALL, 0));
1458         flushTablet_args args = new flushTablet_args();
1459         args.setTinfo(tinfo);
1460         args.setCredential(credential);
1461         args.setLock(lock);
1462         args.setExtent(extent);
1463         args.write(prot);
1464         prot.writeMessageEnd();
1465       }
1466 
1467       public void getResult() throws org.apache.thrift.TException {
1468         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1469           throw new IllegalStateException("Method call not finished!");
1470         }
1471         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1472         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1473       }
1474     }
1475 
1476     public void chop(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.accumulo.core.data.thrift.TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<chop_call> resultHandler) throws org.apache.thrift.TException {
1477       checkReady();
1478       chop_call method_call = new chop_call(tinfo, credential, lock, extent, resultHandler, this, ___protocolFactory, ___transport);
1479       this.___currentMethod = method_call;
1480       ___manager.call(method_call);
1481     }
1482 
1483     public static class chop_call extends org.apache.thrift.async.TAsyncMethodCall {
1484       private org.apache.accumulo.trace.thrift.TInfo tinfo;
1485       private org.apache.accumulo.core.security.thrift.Credential credential;
1486       private String lock;
1487       private org.apache.accumulo.core.data.thrift.TKeyExtent extent;
1488       public chop_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.accumulo.core.data.thrift.TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<chop_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 {
1489         super(client, protocolFactory, transport, resultHandler, true);
1490         this.tinfo = tinfo;
1491         this.credential = credential;
1492         this.lock = lock;
1493         this.extent = extent;
1494       }
1495 
1496       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1497         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("chop", org.apache.thrift.protocol.TMessageType.CALL, 0));
1498         chop_args args = new chop_args();
1499         args.setTinfo(tinfo);
1500         args.setCredential(credential);
1501         args.setLock(lock);
1502         args.setExtent(extent);
1503         args.write(prot);
1504         prot.writeMessageEnd();
1505       }
1506 
1507       public void getResult() throws org.apache.thrift.TException {
1508         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1509           throw new IllegalStateException("Method call not finished!");
1510         }
1511         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1512         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1513       }
1514     }
1515 
1516     public void compact(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow, org.apache.thrift.async.AsyncMethodCallback<compact_call> resultHandler) throws org.apache.thrift.TException {
1517       checkReady();
1518       compact_call method_call = new compact_call(tinfo, credential, lock, tableId, startRow, endRow, resultHandler, this, ___protocolFactory, ___transport);
1519       this.___currentMethod = method_call;
1520       ___manager.call(method_call);
1521     }
1522 
1523     public static class compact_call extends org.apache.thrift.async.TAsyncMethodCall {
1524       private org.apache.accumulo.trace.thrift.TInfo tinfo;
1525       private org.apache.accumulo.core.security.thrift.Credential credential;
1526       private String lock;
1527       private String tableId;
1528       private ByteBuffer startRow;
1529       private ByteBuffer endRow;
1530       public compact_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow, org.apache.thrift.async.AsyncMethodCallback<compact_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 {
1531         super(client, protocolFactory, transport, resultHandler, true);
1532         this.tinfo = tinfo;
1533         this.credential = credential;
1534         this.lock = lock;
1535         this.tableId = tableId;
1536         this.startRow = startRow;
1537         this.endRow = endRow;
1538       }
1539 
1540       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1541         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("compact", org.apache.thrift.protocol.TMessageType.CALL, 0));
1542         compact_args args = new compact_args();
1543         args.setTinfo(tinfo);
1544         args.setCredential(credential);
1545         args.setLock(lock);
1546         args.setTableId(tableId);
1547         args.setStartRow(startRow);
1548         args.setEndRow(endRow);
1549         args.write(prot);
1550         prot.writeMessageEnd();
1551       }
1552 
1553       public void getResult() throws org.apache.thrift.TException {
1554         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1555           throw new IllegalStateException("Method call not finished!");
1556         }
1557         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1558         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1559       }
1560     }
1561 
1562     public void getTabletServerStatus(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.thrift.async.AsyncMethodCallback<getTabletServerStatus_call> resultHandler) throws org.apache.thrift.TException {
1563       checkReady();
1564       getTabletServerStatus_call method_call = new getTabletServerStatus_call(tinfo, credential, resultHandler, this, ___protocolFactory, ___transport);
1565       this.___currentMethod = method_call;
1566       ___manager.call(method_call);
1567     }
1568 
1569     public static class getTabletServerStatus_call extends org.apache.thrift.async.TAsyncMethodCall {
1570       private org.apache.accumulo.trace.thrift.TInfo tinfo;
1571       private org.apache.accumulo.core.security.thrift.Credential credential;
1572       public getTabletServerStatus_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.thrift.async.AsyncMethodCallback<getTabletServerStatus_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 {
1573         super(client, protocolFactory, transport, resultHandler, false);
1574         this.tinfo = tinfo;
1575         this.credential = credential;
1576       }
1577 
1578       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1579         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getTabletServerStatus", org.apache.thrift.protocol.TMessageType.CALL, 0));
1580         getTabletServerStatus_args args = new getTabletServerStatus_args();
1581         args.setTinfo(tinfo);
1582         args.setCredential(credential);
1583         args.write(prot);
1584         prot.writeMessageEnd();
1585       }
1586 
1587       public org.apache.accumulo.core.master.thrift.TabletServerStatus getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException {
1588         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1589           throw new IllegalStateException("Method call not finished!");
1590         }
1591         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1592         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1593         return (new Client(prot)).recv_getTabletServerStatus();
1594       }
1595     }
1596 
1597     public void getTabletStats(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tableId, org.apache.thrift.async.AsyncMethodCallback<getTabletStats_call> resultHandler) throws org.apache.thrift.TException {
1598       checkReady();
1599       getTabletStats_call method_call = new getTabletStats_call(tinfo, credential, tableId, resultHandler, this, ___protocolFactory, ___transport);
1600       this.___currentMethod = method_call;
1601       ___manager.call(method_call);
1602     }
1603 
1604     public static class getTabletStats_call extends org.apache.thrift.async.TAsyncMethodCall {
1605       private org.apache.accumulo.trace.thrift.TInfo tinfo;
1606       private org.apache.accumulo.core.security.thrift.Credential credential;
1607       private String tableId;
1608       public getTabletStats_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String tableId, org.apache.thrift.async.AsyncMethodCallback<getTabletStats_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 {
1609         super(client, protocolFactory, transport, resultHandler, false);
1610         this.tinfo = tinfo;
1611         this.credential = credential;
1612         this.tableId = tableId;
1613       }
1614 
1615       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1616         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getTabletStats", org.apache.thrift.protocol.TMessageType.CALL, 0));
1617         getTabletStats_args args = new getTabletStats_args();
1618         args.setTinfo(tinfo);
1619         args.setCredential(credential);
1620         args.setTableId(tableId);
1621         args.write(prot);
1622         prot.writeMessageEnd();
1623       }
1624 
1625       public List<TabletStats> getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException {
1626         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1627           throw new IllegalStateException("Method call not finished!");
1628         }
1629         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1630         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1631         return (new Client(prot)).recv_getTabletStats();
1632       }
1633     }
1634 
1635     public void getHistoricalStats(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.thrift.async.AsyncMethodCallback<getHistoricalStats_call> resultHandler) throws org.apache.thrift.TException {
1636       checkReady();
1637       getHistoricalStats_call method_call = new getHistoricalStats_call(tinfo, credential, resultHandler, this, ___protocolFactory, ___transport);
1638       this.___currentMethod = method_call;
1639       ___manager.call(method_call);
1640     }
1641 
1642     public static class getHistoricalStats_call extends org.apache.thrift.async.TAsyncMethodCall {
1643       private org.apache.accumulo.trace.thrift.TInfo tinfo;
1644       private org.apache.accumulo.core.security.thrift.Credential credential;
1645       public getHistoricalStats_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.thrift.async.AsyncMethodCallback<getHistoricalStats_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 {
1646         super(client, protocolFactory, transport, resultHandler, false);
1647         this.tinfo = tinfo;
1648         this.credential = credential;
1649       }
1650 
1651       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1652         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getHistoricalStats", org.apache.thrift.protocol.TMessageType.CALL, 0));
1653         getHistoricalStats_args args = new getHistoricalStats_args();
1654         args.setTinfo(tinfo);
1655         args.setCredential(credential);
1656         args.write(prot);
1657         prot.writeMessageEnd();
1658       }
1659 
1660       public TabletStats getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException {
1661         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1662           throw new IllegalStateException("Method call not finished!");
1663         }
1664         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1665         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1666         return (new Client(prot)).recv_getHistoricalStats();
1667       }
1668     }
1669 
1670     public void halt(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.thrift.async.AsyncMethodCallback<halt_call> resultHandler) throws org.apache.thrift.TException {
1671       checkReady();
1672       halt_call method_call = new halt_call(tinfo, credential, lock, resultHandler, this, ___protocolFactory, ___transport);
1673       this.___currentMethod = method_call;
1674       ___manager.call(method_call);
1675     }
1676 
1677     public static class halt_call extends org.apache.thrift.async.TAsyncMethodCall {
1678       private org.apache.accumulo.trace.thrift.TInfo tinfo;
1679       private org.apache.accumulo.core.security.thrift.Credential credential;
1680       private String lock;
1681       public halt_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.thrift.async.AsyncMethodCallback<halt_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 {
1682         super(client, protocolFactory, transport, resultHandler, false);
1683         this.tinfo = tinfo;
1684         this.credential = credential;
1685         this.lock = lock;
1686       }
1687 
1688       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1689         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("halt", org.apache.thrift.protocol.TMessageType.CALL, 0));
1690         halt_args args = new halt_args();
1691         args.setTinfo(tinfo);
1692         args.setCredential(credential);
1693         args.setLock(lock);
1694         args.write(prot);
1695         prot.writeMessageEnd();
1696       }
1697 
1698       public void getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException {
1699         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1700           throw new IllegalStateException("Method call not finished!");
1701         }
1702         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1703         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1704         (new Client(prot)).recv_halt();
1705       }
1706     }
1707 
1708     public void fastHalt(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.thrift.async.AsyncMethodCallback<fastHalt_call> resultHandler) throws org.apache.thrift.TException {
1709       checkReady();
1710       fastHalt_call method_call = new fastHalt_call(tinfo, credential, lock, resultHandler, this, ___protocolFactory, ___transport);
1711       this.___currentMethod = method_call;
1712       ___manager.call(method_call);
1713     }
1714 
1715     public static class fastHalt_call extends org.apache.thrift.async.TAsyncMethodCall {
1716       private org.apache.accumulo.trace.thrift.TInfo tinfo;
1717       private org.apache.accumulo.core.security.thrift.Credential credential;
1718       private String lock;
1719       public fastHalt_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.thrift.async.AsyncMethodCallback<fastHalt_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 {
1720         super(client, protocolFactory, transport, resultHandler, true);
1721         this.tinfo = tinfo;
1722         this.credential = credential;
1723         this.lock = lock;
1724       }
1725 
1726       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1727         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("fastHalt", org.apache.thrift.protocol.TMessageType.CALL, 0));
1728         fastHalt_args args = new fastHalt_args();
1729         args.setTinfo(tinfo);
1730         args.setCredential(credential);
1731         args.setLock(lock);
1732         args.write(prot);
1733         prot.writeMessageEnd();
1734       }
1735 
1736       public void getResult() throws org.apache.thrift.TException {
1737         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1738           throw new IllegalStateException("Method call not finished!");
1739         }
1740         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1741         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1742       }
1743     }
1744 
1745     public void getActiveScans(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.thrift.async.AsyncMethodCallback<getActiveScans_call> resultHandler) throws org.apache.thrift.TException {
1746       checkReady();
1747       getActiveScans_call method_call = new getActiveScans_call(tinfo, credential, resultHandler, this, ___protocolFactory, ___transport);
1748       this.___currentMethod = method_call;
1749       ___manager.call(method_call);
1750     }
1751 
1752     public static class getActiveScans_call extends org.apache.thrift.async.TAsyncMethodCall {
1753       private org.apache.accumulo.trace.thrift.TInfo tinfo;
1754       private org.apache.accumulo.core.security.thrift.Credential credential;
1755       public getActiveScans_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.thrift.async.AsyncMethodCallback<getActiveScans_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 {
1756         super(client, protocolFactory, transport, resultHandler, false);
1757         this.tinfo = tinfo;
1758         this.credential = credential;
1759       }
1760 
1761       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1762         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getActiveScans", org.apache.thrift.protocol.TMessageType.CALL, 0));
1763         getActiveScans_args args = new getActiveScans_args();
1764         args.setTinfo(tinfo);
1765         args.setCredential(credential);
1766         args.write(prot);
1767         prot.writeMessageEnd();
1768       }
1769 
1770       public List<ActiveScan> getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException {
1771         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1772           throw new IllegalStateException("Method call not finished!");
1773         }
1774         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1775         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1776         return (new Client(prot)).recv_getActiveScans();
1777       }
1778     }
1779 
1780     public void getActiveCompactions(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.thrift.async.AsyncMethodCallback<getActiveCompactions_call> resultHandler) throws org.apache.thrift.TException {
1781       checkReady();
1782       getActiveCompactions_call method_call = new getActiveCompactions_call(tinfo, credential, resultHandler, this, ___protocolFactory, ___transport);
1783       this.___currentMethod = method_call;
1784       ___manager.call(method_call);
1785     }
1786 
1787     public static class getActiveCompactions_call extends org.apache.thrift.async.TAsyncMethodCall {
1788       private org.apache.accumulo.trace.thrift.TInfo tinfo;
1789       private org.apache.accumulo.core.security.thrift.Credential credential;
1790       public getActiveCompactions_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.thrift.async.AsyncMethodCallback<getActiveCompactions_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 {
1791         super(client, protocolFactory, transport, resultHandler, false);
1792         this.tinfo = tinfo;
1793         this.credential = credential;
1794       }
1795 
1796       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1797         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getActiveCompactions", org.apache.thrift.protocol.TMessageType.CALL, 0));
1798         getActiveCompactions_args args = new getActiveCompactions_args();
1799         args.setTinfo(tinfo);
1800         args.setCredential(credential);
1801         args.write(prot);
1802         prot.writeMessageEnd();
1803       }
1804 
1805       public List<ActiveCompaction> getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException {
1806         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1807           throw new IllegalStateException("Method call not finished!");
1808         }
1809         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1810         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1811         return (new Client(prot)).recv_getActiveCompactions();
1812       }
1813     }
1814 
1815     public void removeLogs(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, List<String> filenames, org.apache.thrift.async.AsyncMethodCallback<removeLogs_call> resultHandler) throws org.apache.thrift.TException {
1816       checkReady();
1817       removeLogs_call method_call = new removeLogs_call(tinfo, credential, filenames, resultHandler, this, ___protocolFactory, ___transport);
1818       this.___currentMethod = method_call;
1819       ___manager.call(method_call);
1820     }
1821 
1822     public static class removeLogs_call extends org.apache.thrift.async.TAsyncMethodCall {
1823       private org.apache.accumulo.trace.thrift.TInfo tinfo;
1824       private org.apache.accumulo.core.security.thrift.Credential credential;
1825       private List<String> filenames;
1826       public removeLogs_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, List<String> filenames, org.apache.thrift.async.AsyncMethodCallback<removeLogs_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 {
1827         super(client, protocolFactory, transport, resultHandler, true);
1828         this.tinfo = tinfo;
1829         this.credential = credential;
1830         this.filenames = filenames;
1831       }
1832 
1833       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1834         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("removeLogs", org.apache.thrift.protocol.TMessageType.CALL, 0));
1835         removeLogs_args args = new removeLogs_args();
1836         args.setTinfo(tinfo);
1837         args.setCredential(credential);
1838         args.setFilenames(filenames);
1839         args.write(prot);
1840         prot.writeMessageEnd();
1841       }
1842 
1843       public void getResult() throws org.apache.thrift.TException {
1844         if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1845           throw new IllegalStateException("Method call not finished!");
1846         }
1847         org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1848         org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1849       }
1850     }
1851 
1852   }
1853 
1854   public static class Processor<I extends Iface> extends org.apache.accumulo.core.client.impl.thrift.ClientService.Processor<I> implements org.apache.thrift.TProcessor {
1855     private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
1856     public Processor(I iface) {
1857       super(iface, getProcessMap(new HashMap<String, org.apache.thrift.ProcessFunction<I, ? extends org.apache.thrift.TBase>>()));
1858     }
1859 
1860     protected Processor(I iface, Map<String,  org.apache.thrift.ProcessFunction<I, ? extends  org.apache.thrift.TBase>> processMap) {
1861       super(iface, getProcessMap(processMap));
1862     }
1863 
1864     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) {
1865       processMap.put("startScan", new startScan());
1866       processMap.put("continueScan", new continueScan());
1867       processMap.put("closeScan", new closeScan());
1868       processMap.put("startMultiScan", new startMultiScan());
1869       processMap.put("continueMultiScan", new continueMultiScan());
1870       processMap.put("closeMultiScan", new closeMultiScan());
1871       processMap.put("startUpdate", new startUpdate());
1872       processMap.put("applyUpdates", new applyUpdates());
1873       processMap.put("closeUpdate", new closeUpdate());
1874       processMap.put("update", new update());
1875       processMap.put("bulkImport", new bulkImport());
1876       processMap.put("splitTablet", new splitTablet());
1877       processMap.put("loadTablet", new loadTablet());
1878       processMap.put("unloadTablet", new unloadTablet());
1879       processMap.put("flush", new flush());
1880       processMap.put("flushTablet", new flushTablet());
1881       processMap.put("chop", new chop());
1882       processMap.put("compact", new compact());
1883       processMap.put("getTabletServerStatus", new getTabletServerStatus());
1884       processMap.put("getTabletStats", new getTabletStats());
1885       processMap.put("getHistoricalStats", new getHistoricalStats());
1886       processMap.put("halt", new halt());
1887       processMap.put("fastHalt", new fastHalt());
1888       processMap.put("getActiveScans", new getActiveScans());
1889       processMap.put("getActiveCompactions", new getActiveCompactions());
1890       processMap.put("removeLogs", new removeLogs());
1891       return processMap;
1892     }
1893 
1894     public static class startScan<I extends Iface> extends org.apache.thrift.ProcessFunction<I, startScan_args> {
1895       public startScan() {
1896         super("startScan");
1897       }
1898 
1899       public startScan_args getEmptyArgsInstance() {
1900         return new startScan_args();
1901       }
1902 
1903       protected boolean isOneway() {
1904         return false;
1905       }
1906 
1907       public startScan_result getResult(I iface, startScan_args args) throws org.apache.thrift.TException {
1908         startScan_result result = new startScan_result();
1909         try {
1910           result.success = iface.startScan(args.tinfo, args.credential, args.extent, args.range, args.columns, args.batchSize, args.ssiList, args.ssio, args.authorizations, args.waitForWrites, args.isolated);
1911         } catch (org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
1912           result.sec = sec;
1913         } catch (NotServingTabletException nste) {
1914           result.nste = nste;
1915         } catch (TooManyFilesException tmfe) {
1916           result.tmfe = tmfe;
1917         }
1918         return result;
1919       }
1920     }
1921 
1922     public static class continueScan<I extends Iface> extends org.apache.thrift.ProcessFunction<I, continueScan_args> {
1923       public continueScan() {
1924         super("continueScan");
1925       }
1926 
1927       public continueScan_args getEmptyArgsInstance() {
1928         return new continueScan_args();
1929       }
1930 
1931       protected boolean isOneway() {
1932         return false;
1933       }
1934 
1935       public continueScan_result getResult(I iface, continueScan_args args) throws org.apache.thrift.TException {
1936         continueScan_result result = new continueScan_result();
1937         try {
1938           result.success = iface.continueScan(args.tinfo, args.scanID);
1939         } catch (NoSuchScanIDException nssi) {
1940           result.nssi = nssi;
1941         } catch (NotServingTabletException nste) {
1942           result.nste = nste;
1943         } catch (TooManyFilesException tmfe) {
1944           result.tmfe = tmfe;
1945         }
1946         return result;
1947       }
1948     }
1949 
1950     public static class closeScan<I extends Iface> extends org.apache.thrift.ProcessFunction<I, closeScan_args> {
1951       public closeScan() {
1952         super("closeScan");
1953       }
1954 
1955       public closeScan_args getEmptyArgsInstance() {
1956         return new closeScan_args();
1957       }
1958 
1959       protected boolean isOneway() {
1960         return true;
1961       }
1962 
1963       public org.apache.thrift.TBase getResult(I iface, closeScan_args args) throws org.apache.thrift.TException {
1964         iface.closeScan(args.tinfo, args.scanID);
1965         return null;
1966       }
1967     }
1968 
1969     public static class startMultiScan<I extends Iface> extends org.apache.thrift.ProcessFunction<I, startMultiScan_args> {
1970       public startMultiScan() {
1971         super("startMultiScan");
1972       }
1973 
1974       public startMultiScan_args getEmptyArgsInstance() {
1975         return new startMultiScan_args();
1976       }
1977 
1978       protected boolean isOneway() {
1979         return false;
1980       }
1981 
1982       public startMultiScan_result getResult(I iface, startMultiScan_args args) throws org.apache.thrift.TException {
1983         startMultiScan_result result = new startMultiScan_result();
1984         try {
1985           result.success = iface.startMultiScan(args.tinfo, args.credential, args.batch, args.columns, args.ssiList, args.ssio, args.authorizations, args.waitForWrites);
1986         } catch (org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
1987           result.sec = sec;
1988         }
1989         return result;
1990       }
1991     }
1992 
1993     public static class continueMultiScan<I extends Iface> extends org.apache.thrift.ProcessFunction<I, continueMultiScan_args> {
1994       public continueMultiScan() {
1995         super("continueMultiScan");
1996       }
1997 
1998       public continueMultiScan_args getEmptyArgsInstance() {
1999         return new continueMultiScan_args();
2000       }
2001 
2002       protected boolean isOneway() {
2003         return false;
2004       }
2005 
2006       public continueMultiScan_result getResult(I iface, continueMultiScan_args args) throws org.apache.thrift.TException {
2007         continueMultiScan_result result = new continueMultiScan_result();
2008         try {
2009           result.success = iface.continueMultiScan(args.tinfo, args.scanID);
2010         } catch (NoSuchScanIDException nssi) {
2011           result.nssi = nssi;
2012         }
2013         return result;
2014       }
2015     }
2016 
2017     public static class closeMultiScan<I extends Iface> extends org.apache.thrift.ProcessFunction<I, closeMultiScan_args> {
2018       public closeMultiScan() {
2019         super("closeMultiScan");
2020       }
2021 
2022       public closeMultiScan_args getEmptyArgsInstance() {
2023         return new closeMultiScan_args();
2024       }
2025 
2026       protected boolean isOneway() {
2027         return false;
2028       }
2029 
2030       public closeMultiScan_result getResult(I iface, closeMultiScan_args args) throws org.apache.thrift.TException {
2031         closeMultiScan_result result = new closeMultiScan_result();
2032         try {
2033           iface.closeMultiScan(args.tinfo, args.scanID);
2034         } catch (NoSuchScanIDException nssi) {
2035           result.nssi = nssi;
2036         }
2037         return result;
2038       }
2039     }
2040 
2041     public static class startUpdate<I extends Iface> extends org.apache.thrift.ProcessFunction<I, startUpdate_args> {
2042       public startUpdate() {
2043         super("startUpdate");
2044       }
2045 
2046       public startUpdate_args getEmptyArgsInstance() {
2047         return new startUpdate_args();
2048       }
2049 
2050       protected boolean isOneway() {
2051         return false;
2052       }
2053 
2054       public startUpdate_result getResult(I iface, startUpdate_args args) throws org.apache.thrift.TException {
2055         startUpdate_result result = new startUpdate_result();
2056         try {
2057           result.success = iface.startUpdate(args.tinfo, args.credential);
2058           result.setSuccessIsSet(true);
2059         } catch (org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
2060           result.sec = sec;
2061         }
2062         return result;
2063       }
2064     }
2065 
2066     public static class applyUpdates<I extends Iface> extends org.apache.thrift.ProcessFunction<I, applyUpdates_args> {
2067       public applyUpdates() {
2068         super("applyUpdates");
2069       }
2070 
2071       public applyUpdates_args getEmptyArgsInstance() {
2072         return new applyUpdates_args();
2073       }
2074 
2075       protected boolean isOneway() {
2076         return true;
2077       }
2078 
2079       public org.apache.thrift.TBase getResult(I iface, applyUpdates_args args) throws org.apache.thrift.TException {
2080         iface.applyUpdates(args.tinfo, args.updateID, args.keyExtent, args.mutations);
2081         return null;
2082       }
2083     }
2084 
2085     public static class closeUpdate<I extends Iface> extends org.apache.thrift.ProcessFunction<I, closeUpdate_args> {
2086       public closeUpdate() {
2087         super("closeUpdate");
2088       }
2089 
2090       public closeUpdate_args getEmptyArgsInstance() {
2091         return new closeUpdate_args();
2092       }
2093 
2094       protected boolean isOneway() {
2095         return false;
2096       }
2097 
2098       public closeUpdate_result getResult(I iface, closeUpdate_args args) throws org.apache.thrift.TException {
2099         closeUpdate_result result = new closeUpdate_result();
2100         try {
2101           result.success = iface.closeUpdate(args.tinfo, args.updateID);
2102         } catch (NoSuchScanIDException nssi) {
2103           result.nssi = nssi;
2104         }
2105         return result;
2106       }
2107     }
2108 
2109     public static class update<I extends Iface> extends org.apache.thrift.ProcessFunction<I, update_args> {
2110       public update() {
2111         super("update");
2112       }
2113 
2114       public update_args getEmptyArgsInstance() {
2115         return new update_args();
2116       }
2117 
2118       protected boolean isOneway() {
2119         return false;
2120       }
2121 
2122       public update_result getResult(I iface, update_args args) throws org.apache.thrift.TException {
2123         update_result result = new update_result();
2124         try {
2125           iface.update(args.tinfo, args.credential, args.keyExtent, args.mutation);
2126         } catch (org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
2127           result.sec = sec;
2128         } catch (NotServingTabletException nste) {
2129           result.nste = nste;
2130         } catch (ConstraintViolationException cve) {
2131           result.cve = cve;
2132         }
2133         return result;
2134       }
2135     }
2136 
2137     public static class bulkImport<I extends Iface> extends org.apache.thrift.ProcessFunction<I, bulkImport_args> {
2138       public bulkImport() {
2139         super("bulkImport");
2140       }
2141 
2142       public bulkImport_args getEmptyArgsInstance() {
2143         return new bulkImport_args();
2144       }
2145 
2146       protected boolean isOneway() {
2147         return false;
2148       }
2149 
2150       public bulkImport_result getResult(I iface, bulkImport_args args) throws org.apache.thrift.TException {
2151         bulkImport_result result = new bulkImport_result();
2152         try {
2153           result.success = iface.bulkImport(args.tinfo, args.credential, args.tid, args.files, args.setTime);
2154         } catch (org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
2155           result.sec = sec;
2156         }
2157         return result;
2158       }
2159     }
2160 
2161     public static class splitTablet<I extends Iface> extends org.apache.thrift.ProcessFunction<I, splitTablet_args> {
2162       public splitTablet() {
2163         super("splitTablet");
2164       }
2165 
2166       public splitTablet_args getEmptyArgsInstance() {
2167         return new splitTablet_args();
2168       }
2169 
2170       protected boolean isOneway() {
2171         return false;
2172       }
2173 
2174       public splitTablet_result getResult(I iface, splitTablet_args args) throws org.apache.thrift.TException {
2175         splitTablet_result result = new splitTablet_result();
2176         try {
2177           iface.splitTablet(args.tinfo, args.credential, args.extent, args.splitPoint);
2178         } catch (org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
2179           result.sec = sec;
2180         } catch (NotServingTabletException nste) {
2181           result.nste = nste;
2182         }
2183         return result;
2184       }
2185     }
2186 
2187     public static class loadTablet<I extends Iface> extends org.apache.thrift.ProcessFunction<I, loadTablet_args> {
2188       public loadTablet() {
2189         super("loadTablet");
2190       }
2191 
2192       public loadTablet_args getEmptyArgsInstance() {
2193         return new loadTablet_args();
2194       }
2195 
2196       protected boolean isOneway() {
2197         return true;
2198       }
2199 
2200       public org.apache.thrift.TBase getResult(I iface, loadTablet_args args) throws org.apache.thrift.TException {
2201         iface.loadTablet(args.tinfo, args.credential, args.lock, args.extent);
2202         return null;
2203       }
2204     }
2205 
2206     public static class unloadTablet<I extends Iface> extends org.apache.thrift.ProcessFunction<I, unloadTablet_args> {
2207       public unloadTablet() {
2208         super("unloadTablet");
2209       }
2210 
2211       public unloadTablet_args getEmptyArgsInstance() {
2212         return new unloadTablet_args();
2213       }
2214 
2215       protected boolean isOneway() {
2216         return true;
2217       }
2218 
2219       public org.apache.thrift.TBase getResult(I iface, unloadTablet_args args) throws org.apache.thrift.TException {
2220         iface.unloadTablet(args.tinfo, args.credential, args.lock, args.extent, args.save);
2221         return null;
2222       }
2223     }
2224 
2225     public static class flush<I extends Iface> extends org.apache.thrift.ProcessFunction<I, flush_args> {
2226       public flush() {
2227         super("flush");
2228       }
2229 
2230       public flush_args getEmptyArgsInstance() {
2231         return new flush_args();
2232       }
2233 
2234       protected boolean isOneway() {
2235         return true;
2236       }
2237 
2238       public org.apache.thrift.TBase getResult(I iface, flush_args args) throws org.apache.thrift.TException {
2239         iface.flush(args.tinfo, args.credential, args.lock, args.tableId, args.startRow, args.endRow);
2240         return null;
2241       }
2242     }
2243 
2244     public static class flushTablet<I extends Iface> extends org.apache.thrift.ProcessFunction<I, flushTablet_args> {
2245       public flushTablet() {
2246         super("flushTablet");
2247       }
2248 
2249       public flushTablet_args getEmptyArgsInstance() {
2250         return new flushTablet_args();
2251       }
2252 
2253       protected boolean isOneway() {
2254         return true;
2255       }
2256 
2257       public org.apache.thrift.TBase getResult(I iface, flushTablet_args args) throws org.apache.thrift.TException {
2258         iface.flushTablet(args.tinfo, args.credential, args.lock, args.extent);
2259         return null;
2260       }
2261     }
2262 
2263     public static class chop<I extends Iface> extends org.apache.thrift.ProcessFunction<I, chop_args> {
2264       public chop() {
2265         super("chop");
2266       }
2267 
2268       public chop_args getEmptyArgsInstance() {
2269         return new chop_args();
2270       }
2271 
2272       protected boolean isOneway() {
2273         return true;
2274       }
2275 
2276       public org.apache.thrift.TBase getResult(I iface, chop_args args) throws org.apache.thrift.TException {
2277         iface.chop(args.tinfo, args.credential, args.lock, args.extent);
2278         return null;
2279       }
2280     }
2281 
2282     public static class compact<I extends Iface> extends org.apache.thrift.ProcessFunction<I, compact_args> {
2283       public compact() {
2284         super("compact");
2285       }
2286 
2287       public compact_args getEmptyArgsInstance() {
2288         return new compact_args();
2289       }
2290 
2291       protected boolean isOneway() {
2292         return true;
2293       }
2294 
2295       public org.apache.thrift.TBase getResult(I iface, compact_args args) throws org.apache.thrift.TException {
2296         iface.compact(args.tinfo, args.credential, args.lock, args.tableId, args.startRow, args.endRow);
2297         return null;
2298       }
2299     }
2300 
2301     public static class getTabletServerStatus<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getTabletServerStatus_args> {
2302       public getTabletServerStatus() {
2303         super("getTabletServerStatus");
2304       }
2305 
2306       public getTabletServerStatus_args getEmptyArgsInstance() {
2307         return new getTabletServerStatus_args();
2308       }
2309 
2310       protected boolean isOneway() {
2311         return false;
2312       }
2313 
2314       public getTabletServerStatus_result getResult(I iface, getTabletServerStatus_args args) throws org.apache.thrift.TException {
2315         getTabletServerStatus_result result = new getTabletServerStatus_result();
2316         try {
2317           result.success = iface.getTabletServerStatus(args.tinfo, args.credential);
2318         } catch (org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
2319           result.sec = sec;
2320         }
2321         return result;
2322       }
2323     }
2324 
2325     public static class getTabletStats<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getTabletStats_args> {
2326       public getTabletStats() {
2327         super("getTabletStats");
2328       }
2329 
2330       public getTabletStats_args getEmptyArgsInstance() {
2331         return new getTabletStats_args();
2332       }
2333 
2334       protected boolean isOneway() {
2335         return false;
2336       }
2337 
2338       public getTabletStats_result getResult(I iface, getTabletStats_args args) throws org.apache.thrift.TException {
2339         getTabletStats_result result = new getTabletStats_result();
2340         try {
2341           result.success = iface.getTabletStats(args.tinfo, args.credential, args.tableId);
2342         } catch (org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
2343           result.sec = sec;
2344         }
2345         return result;
2346       }
2347     }
2348 
2349     public static class getHistoricalStats<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getHistoricalStats_args> {
2350       public getHistoricalStats() {
2351         super("getHistoricalStats");
2352       }
2353 
2354       public getHistoricalStats_args getEmptyArgsInstance() {
2355         return new getHistoricalStats_args();
2356       }
2357 
2358       protected boolean isOneway() {
2359         return false;
2360       }
2361 
2362       public getHistoricalStats_result getResult(I iface, getHistoricalStats_args args) throws org.apache.thrift.TException {
2363         getHistoricalStats_result result = new getHistoricalStats_result();
2364         try {
2365           result.success = iface.getHistoricalStats(args.tinfo, args.credential);
2366         } catch (org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
2367           result.sec = sec;
2368         }
2369         return result;
2370       }
2371     }
2372 
2373     public static class halt<I extends Iface> extends org.apache.thrift.ProcessFunction<I, halt_args> {
2374       public halt() {
2375         super("halt");
2376       }
2377 
2378       public halt_args getEmptyArgsInstance() {
2379         return new halt_args();
2380       }
2381 
2382       protected boolean isOneway() {
2383         return false;
2384       }
2385 
2386       public halt_result getResult(I iface, halt_args args) throws org.apache.thrift.TException {
2387         halt_result result = new halt_result();
2388         try {
2389           iface.halt(args.tinfo, args.credential, args.lock);
2390         } catch (org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
2391           result.sec = sec;
2392         }
2393         return result;
2394       }
2395     }
2396 
2397     public static class fastHalt<I extends Iface> extends org.apache.thrift.ProcessFunction<I, fastHalt_args> {
2398       public fastHalt() {
2399         super("fastHalt");
2400       }
2401 
2402       public fastHalt_args getEmptyArgsInstance() {
2403         return new fastHalt_args();
2404       }
2405 
2406       protected boolean isOneway() {
2407         return true;
2408       }
2409 
2410       public org.apache.thrift.TBase getResult(I iface, fastHalt_args args) throws org.apache.thrift.TException {
2411         iface.fastHalt(args.tinfo, args.credential, args.lock);
2412         return null;
2413       }
2414     }
2415 
2416     public static class getActiveScans<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getActiveScans_args> {
2417       public getActiveScans() {
2418         super("getActiveScans");
2419       }
2420 
2421       public getActiveScans_args getEmptyArgsInstance() {
2422         return new getActiveScans_args();
2423       }
2424 
2425       protected boolean isOneway() {
2426         return false;
2427       }
2428 
2429       public getActiveScans_result getResult(I iface, getActiveScans_args args) throws org.apache.thrift.TException {
2430         getActiveScans_result result = new getActiveScans_result();
2431         try {
2432           result.success = iface.getActiveScans(args.tinfo, args.credential);
2433         } catch (org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
2434           result.sec = sec;
2435         }
2436         return result;
2437       }
2438     }
2439 
2440     public static class getActiveCompactions<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getActiveCompactions_args> {
2441       public getActiveCompactions() {
2442         super("getActiveCompactions");
2443       }
2444 
2445       public getActiveCompactions_args getEmptyArgsInstance() {
2446         return new getActiveCompactions_args();
2447       }
2448 
2449       protected boolean isOneway() {
2450         return false;
2451       }
2452 
2453       public getActiveCompactions_result getResult(I iface, getActiveCompactions_args args) throws org.apache.thrift.TException {
2454         getActiveCompactions_result result = new getActiveCompactions_result();
2455         try {
2456           result.success = iface.getActiveCompactions(args.tinfo, args.credential);
2457         } catch (org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
2458           result.sec = sec;
2459         }
2460         return result;
2461       }
2462     }
2463 
2464     public static class removeLogs<I extends Iface> extends org.apache.thrift.ProcessFunction<I, removeLogs_args> {
2465       public removeLogs() {
2466         super("removeLogs");
2467       }
2468 
2469       public removeLogs_args getEmptyArgsInstance() {
2470         return new removeLogs_args();
2471       }
2472 
2473       protected boolean isOneway() {
2474         return true;
2475       }
2476 
2477       public org.apache.thrift.TBase getResult(I iface, removeLogs_args args) throws org.apache.thrift.TException {
2478         iface.removeLogs(args.tinfo, args.credential, args.filenames);
2479         return null;
2480       }
2481     }
2482 
2483   }
2484 
2485   public static class startScan_args implements org.apache.thrift.TBase<startScan_args, startScan_args._Fields>, java.io.Serializable, Cloneable   {
2486     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("startScan_args");
2487 
2488     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)11);
2489     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);
2490     private static final org.apache.thrift.protocol.TField EXTENT_FIELD_DESC = new org.apache.thrift.protocol.TField("extent", org.apache.thrift.protocol.TType.STRUCT, (short)2);
2491     private static final org.apache.thrift.protocol.TField RANGE_FIELD_DESC = new org.apache.thrift.protocol.TField("range", org.apache.thrift.protocol.TType.STRUCT, (short)3);
2492     private static final org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.thrift.protocol.TField("columns", org.apache.thrift.protocol.TType.LIST, (short)4);
2493     private static final org.apache.thrift.protocol.TField BATCH_SIZE_FIELD_DESC = new org.apache.thrift.protocol.TField("batchSize", org.apache.thrift.protocol.TType.I32, (short)5);
2494     private static final org.apache.thrift.protocol.TField SSI_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("ssiList", org.apache.thrift.protocol.TType.LIST, (short)6);
2495     private static final org.apache.thrift.protocol.TField SSIO_FIELD_DESC = new org.apache.thrift.protocol.TField("ssio", org.apache.thrift.protocol.TType.MAP, (short)7);
2496     private static final org.apache.thrift.protocol.TField AUTHORIZATIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("authorizations", org.apache.thrift.protocol.TType.LIST, (short)8);
2497     private static final org.apache.thrift.protocol.TField WAIT_FOR_WRITES_FIELD_DESC = new org.apache.thrift.protocol.TField("waitForWrites", org.apache.thrift.protocol.TType.BOOL, (short)9);
2498     private static final org.apache.thrift.protocol.TField ISOLATED_FIELD_DESC = new org.apache.thrift.protocol.TField("isolated", org.apache.thrift.protocol.TType.BOOL, (short)10);
2499 
2500     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
2501     static {
2502       schemes.put(StandardScheme.class, new startScan_argsStandardSchemeFactory());
2503       schemes.put(TupleScheme.class, new startScan_argsTupleSchemeFactory());
2504     }
2505 
2506     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
2507     public org.apache.accumulo.core.security.thrift.Credential credential; // required
2508     public org.apache.accumulo.core.data.thrift.TKeyExtent extent; // required
2509     public org.apache.accumulo.core.data.thrift.TRange range; // required
2510     public List<org.apache.accumulo.core.data.thrift.TColumn> columns; // required
2511     public int batchSize; // required
2512     public List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList; // required
2513     public Map<String,Map<String,String>> ssio; // required
2514     public List<ByteBuffer> authorizations; // required
2515     public boolean waitForWrites; // required
2516     public boolean isolated; // required
2517 
2518     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
2519     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
2520       TINFO((short)11, "tinfo"),
2521       CREDENTIAL((short)1, "credential"),
2522       EXTENT((short)2, "extent"),
2523       RANGE((short)3, "range"),
2524       COLUMNS((short)4, "columns"),
2525       BATCH_SIZE((short)5, "batchSize"),
2526       SSI_LIST((short)6, "ssiList"),
2527       SSIO((short)7, "ssio"),
2528       AUTHORIZATIONS((short)8, "authorizations"),
2529       WAIT_FOR_WRITES((short)9, "waitForWrites"),
2530       ISOLATED((short)10, "isolated");
2531 
2532       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
2533 
2534       static {
2535         for (_Fields field : EnumSet.allOf(_Fields.class)) {
2536           byName.put(field.getFieldName(), field);
2537         }
2538       }
2539 
2540       /**
2541        * Find the _Fields constant that matches fieldId, or null if its not found.
2542        */
2543       public static _Fields findByThriftId(int fieldId) {
2544         switch(fieldId) {
2545           case 11: // TINFO
2546             return TINFO;
2547           case 1: // CREDENTIAL
2548             return CREDENTIAL;
2549           case 2: // EXTENT
2550             return EXTENT;
2551           case 3: // RANGE
2552             return RANGE;
2553           case 4: // COLUMNS
2554             return COLUMNS;
2555           case 5: // BATCH_SIZE
2556             return BATCH_SIZE;
2557           case 6: // SSI_LIST
2558             return SSI_LIST;
2559           case 7: // SSIO
2560             return SSIO;
2561           case 8: // AUTHORIZATIONS
2562             return AUTHORIZATIONS;
2563           case 9: // WAIT_FOR_WRITES
2564             return WAIT_FOR_WRITES;
2565           case 10: // ISOLATED
2566             return ISOLATED;
2567           default:
2568             return null;
2569         }
2570       }
2571 
2572       /**
2573        * Find the _Fields constant that matches fieldId, throwing an exception
2574        * if it is not found.
2575        */
2576       public static _Fields findByThriftIdOrThrow(int fieldId) {
2577         _Fields fields = findByThriftId(fieldId);
2578         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
2579         return fields;
2580       }
2581 
2582       /**
2583        * Find the _Fields constant that matches name, or null if its not found.
2584        */
2585       public static _Fields findByName(String name) {
2586         return byName.get(name);
2587       }
2588 
2589       private final short _thriftId;
2590       private final String _fieldName;
2591 
2592       _Fields(short thriftId, String fieldName) {
2593         _thriftId = thriftId;
2594         _fieldName = fieldName;
2595       }
2596 
2597       public short getThriftFieldId() {
2598         return _thriftId;
2599       }
2600 
2601       public String getFieldName() {
2602         return _fieldName;
2603       }
2604     }
2605 
2606     // isset id assignments
2607     private static final int __BATCHSIZE_ISSET_ID = 0;
2608     private static final int __WAITFORWRITES_ISSET_ID = 1;
2609     private static final int __ISOLATED_ISSET_ID = 2;
2610     private byte __isset_bitfield = 0;
2611     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
2612     static {
2613       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
2614       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
2615           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
2616       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
2617           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
2618       tmpMap.put(_Fields.EXTENT, new org.apache.thrift.meta_data.FieldMetaData("extent", org.apache.thrift.TFieldRequirementType.DEFAULT, 
2619           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.TKeyExtent.class)));
2620       tmpMap.put(_Fields.RANGE, new org.apache.thrift.meta_data.FieldMetaData("range", org.apache.thrift.TFieldRequirementType.DEFAULT, 
2621           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.TRange.class)));
2622       tmpMap.put(_Fields.COLUMNS, new org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.thrift.TFieldRequirementType.DEFAULT, 
2623           new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
2624               new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.TColumn.class))));
2625       tmpMap.put(_Fields.BATCH_SIZE, new org.apache.thrift.meta_data.FieldMetaData("batchSize", org.apache.thrift.TFieldRequirementType.DEFAULT, 
2626           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
2627       tmpMap.put(_Fields.SSI_LIST, new org.apache.thrift.meta_data.FieldMetaData("ssiList", org.apache.thrift.TFieldRequirementType.DEFAULT, 
2628           new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
2629               new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.IterInfo.class))));
2630       tmpMap.put(_Fields.SSIO, new org.apache.thrift.meta_data.FieldMetaData("ssio", org.apache.thrift.TFieldRequirementType.DEFAULT, 
2631           new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
2632               new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), 
2633               new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
2634                   new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), 
2635                   new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))));
2636       tmpMap.put(_Fields.AUTHORIZATIONS, new org.apache.thrift.meta_data.FieldMetaData("authorizations", org.apache.thrift.TFieldRequirementType.DEFAULT, 
2637           new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
2638               new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING              , true))));
2639       tmpMap.put(_Fields.WAIT_FOR_WRITES, new org.apache.thrift.meta_data.FieldMetaData("waitForWrites", org.apache.thrift.TFieldRequirementType.DEFAULT, 
2640           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
2641       tmpMap.put(_Fields.ISOLATED, new org.apache.thrift.meta_data.FieldMetaData("isolated", org.apache.thrift.TFieldRequirementType.DEFAULT, 
2642           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
2643       metaDataMap = Collections.unmodifiableMap(tmpMap);
2644       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(startScan_args.class, metaDataMap);
2645     }
2646 
2647     public startScan_args() {
2648     }
2649 
2650     public startScan_args(
2651       org.apache.accumulo.trace.thrift.TInfo tinfo,
2652       org.apache.accumulo.core.security.thrift.Credential credential,
2653       org.apache.accumulo.core.data.thrift.TKeyExtent extent,
2654       org.apache.accumulo.core.data.thrift.TRange range,
2655       List<org.apache.accumulo.core.data.thrift.TColumn> columns,
2656       int batchSize,
2657       List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList,
2658       Map<String,Map<String,String>> ssio,
2659       List<ByteBuffer> authorizations,
2660       boolean waitForWrites,
2661       boolean isolated)
2662     {
2663       this();
2664       this.tinfo = tinfo;
2665       this.credential = credential;
2666       this.extent = extent;
2667       this.range = range;
2668       this.columns = columns;
2669       this.batchSize = batchSize;
2670       setBatchSizeIsSet(true);
2671       this.ssiList = ssiList;
2672       this.ssio = ssio;
2673       this.authorizations = authorizations;
2674       this.waitForWrites = waitForWrites;
2675       setWaitForWritesIsSet(true);
2676       this.isolated = isolated;
2677       setIsolatedIsSet(true);
2678     }
2679 
2680     /**
2681      * Performs a deep copy on <i>other</i>.
2682      */
2683     public startScan_args(startScan_args other) {
2684       __isset_bitfield = other.__isset_bitfield;
2685       if (other.isSetTinfo()) {
2686         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
2687       }
2688       if (other.isSetCredential()) {
2689         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
2690       }
2691       if (other.isSetExtent()) {
2692         this.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent(other.extent);
2693       }
2694       if (other.isSetRange()) {
2695         this.range = new org.apache.accumulo.core.data.thrift.TRange(other.range);
2696       }
2697       if (other.isSetColumns()) {
2698         List<org.apache.accumulo.core.data.thrift.TColumn> __this__columns = new ArrayList<org.apache.accumulo.core.data.thrift.TColumn>();
2699         for (org.apache.accumulo.core.data.thrift.TColumn other_element : other.columns) {
2700           __this__columns.add(new org.apache.accumulo.core.data.thrift.TColumn(other_element));
2701         }
2702         this.columns = __this__columns;
2703       }
2704       this.batchSize = other.batchSize;
2705       if (other.isSetSsiList()) {
2706         List<org.apache.accumulo.core.data.thrift.IterInfo> __this__ssiList = new ArrayList<org.apache.accumulo.core.data.thrift.IterInfo>();
2707         for (org.apache.accumulo.core.data.thrift.IterInfo other_element : other.ssiList) {
2708           __this__ssiList.add(new org.apache.accumulo.core.data.thrift.IterInfo(other_element));
2709         }
2710         this.ssiList = __this__ssiList;
2711       }
2712       if (other.isSetSsio()) {
2713         Map<String,Map<String,String>> __this__ssio = new HashMap<String,Map<String,String>>();
2714         for (Map.Entry<String, Map<String,String>> other_element : other.ssio.entrySet()) {
2715 
2716           String other_element_key = other_element.getKey();
2717           Map<String,String> other_element_value = other_element.getValue();
2718 
2719           String __this__ssio_copy_key = other_element_key;
2720 
2721           Map<String,String> __this__ssio_copy_value = new HashMap<String,String>();
2722           for (Map.Entry<String, String> other_element_value_element : other_element_value.entrySet()) {
2723 
2724             String other_element_value_element_key = other_element_value_element.getKey();
2725             String other_element_value_element_value = other_element_value_element.getValue();
2726 
2727             String __this__ssio_copy_value_copy_key = other_element_value_element_key;
2728 
2729             String __this__ssio_copy_value_copy_value = other_element_value_element_value;
2730 
2731             __this__ssio_copy_value.put(__this__ssio_copy_value_copy_key, __this__ssio_copy_value_copy_value);
2732           }
2733 
2734           __this__ssio.put(__this__ssio_copy_key, __this__ssio_copy_value);
2735         }
2736         this.ssio = __this__ssio;
2737       }
2738       if (other.isSetAuthorizations()) {
2739         List<ByteBuffer> __this__authorizations = new ArrayList<ByteBuffer>();
2740         for (ByteBuffer other_element : other.authorizations) {
2741           ByteBuffer temp_binary_element = org.apache.thrift.TBaseHelper.copyBinary(other_element);
2742 ;
2743           __this__authorizations.add(temp_binary_element);
2744         }
2745         this.authorizations = __this__authorizations;
2746       }
2747       this.waitForWrites = other.waitForWrites;
2748       this.isolated = other.isolated;
2749     }
2750 
2751     public startScan_args deepCopy() {
2752       return new startScan_args(this);
2753     }
2754 
2755     @Override
2756     public void clear() {
2757       this.tinfo = null;
2758       this.credential = null;
2759       this.extent = null;
2760       this.range = null;
2761       this.columns = null;
2762       setBatchSizeIsSet(false);
2763       this.batchSize = 0;
2764       this.ssiList = null;
2765       this.ssio = null;
2766       this.authorizations = null;
2767       setWaitForWritesIsSet(false);
2768       this.waitForWrites = false;
2769       setIsolatedIsSet(false);
2770       this.isolated = false;
2771     }
2772 
2773     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
2774       return this.tinfo;
2775     }
2776 
2777     public startScan_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
2778       this.tinfo = tinfo;
2779       return this;
2780     }
2781 
2782     public void unsetTinfo() {
2783       this.tinfo = null;
2784     }
2785 
2786     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
2787     public boolean isSetTinfo() {
2788       return this.tinfo != null;
2789     }
2790 
2791     public void setTinfoIsSet(boolean value) {
2792       if (!value) {
2793         this.tinfo = null;
2794       }
2795     }
2796 
2797     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
2798       return this.credential;
2799     }
2800 
2801     public startScan_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
2802       this.credential = credential;
2803       return this;
2804     }
2805 
2806     public void unsetCredential() {
2807       this.credential = null;
2808     }
2809 
2810     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
2811     public boolean isSetCredential() {
2812       return this.credential != null;
2813     }
2814 
2815     public void setCredentialIsSet(boolean value) {
2816       if (!value) {
2817         this.credential = null;
2818       }
2819     }
2820 
2821     public org.apache.accumulo.core.data.thrift.TKeyExtent getExtent() {
2822       return this.extent;
2823     }
2824 
2825     public startScan_args setExtent(org.apache.accumulo.core.data.thrift.TKeyExtent extent) {
2826       this.extent = extent;
2827       return this;
2828     }
2829 
2830     public void unsetExtent() {
2831       this.extent = null;
2832     }
2833 
2834     /** Returns true if field extent is set (has been assigned a value) and false otherwise */
2835     public boolean isSetExtent() {
2836       return this.extent != null;
2837     }
2838 
2839     public void setExtentIsSet(boolean value) {
2840       if (!value) {
2841         this.extent = null;
2842       }
2843     }
2844 
2845     public org.apache.accumulo.core.data.thrift.TRange getRange() {
2846       return this.range;
2847     }
2848 
2849     public startScan_args setRange(org.apache.accumulo.core.data.thrift.TRange range) {
2850       this.range = range;
2851       return this;
2852     }
2853 
2854     public void unsetRange() {
2855       this.range = null;
2856     }
2857 
2858     /** Returns true if field range is set (has been assigned a value) and false otherwise */
2859     public boolean isSetRange() {
2860       return this.range != null;
2861     }
2862 
2863     public void setRangeIsSet(boolean value) {
2864       if (!value) {
2865         this.range = null;
2866       }
2867     }
2868 
2869     public int getColumnsSize() {
2870       return (this.columns == null) ? 0 : this.columns.size();
2871     }
2872 
2873     public java.util.Iterator<org.apache.accumulo.core.data.thrift.TColumn> getColumnsIterator() {
2874       return (this.columns == null) ? null : this.columns.iterator();
2875     }
2876 
2877     public void addToColumns(org.apache.accumulo.core.data.thrift.TColumn elem) {
2878       if (this.columns == null) {
2879         this.columns = new ArrayList<org.apache.accumulo.core.data.thrift.TColumn>();
2880       }
2881       this.columns.add(elem);
2882     }
2883 
2884     public List<org.apache.accumulo.core.data.thrift.TColumn> getColumns() {
2885       return this.columns;
2886     }
2887 
2888     public startScan_args setColumns(List<org.apache.accumulo.core.data.thrift.TColumn> columns) {
2889       this.columns = columns;
2890       return this;
2891     }
2892 
2893     public void unsetColumns() {
2894       this.columns = null;
2895     }
2896 
2897     /** Returns true if field columns is set (has been assigned a value) and false otherwise */
2898     public boolean isSetColumns() {
2899       return this.columns != null;
2900     }
2901 
2902     public void setColumnsIsSet(boolean value) {
2903       if (!value) {
2904         this.columns = null;
2905       }
2906     }
2907 
2908     public int getBatchSize() {
2909       return this.batchSize;
2910     }
2911 
2912     public startScan_args setBatchSize(int batchSize) {
2913       this.batchSize = batchSize;
2914       setBatchSizeIsSet(true);
2915       return this;
2916     }
2917 
2918     public void unsetBatchSize() {
2919       __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __BATCHSIZE_ISSET_ID);
2920     }
2921 
2922     /** Returns true if field batchSize is set (has been assigned a value) and false otherwise */
2923     public boolean isSetBatchSize() {
2924       return EncodingUtils.testBit(__isset_bitfield, __BATCHSIZE_ISSET_ID);
2925     }
2926 
2927     public void setBatchSizeIsSet(boolean value) {
2928       __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __BATCHSIZE_ISSET_ID, value);
2929     }
2930 
2931     public int getSsiListSize() {
2932       return (this.ssiList == null) ? 0 : this.ssiList.size();
2933     }
2934 
2935     public java.util.Iterator<org.apache.accumulo.core.data.thrift.IterInfo> getSsiListIterator() {
2936       return (this.ssiList == null) ? null : this.ssiList.iterator();
2937     }
2938 
2939     public void addToSsiList(org.apache.accumulo.core.data.thrift.IterInfo elem) {
2940       if (this.ssiList == null) {
2941         this.ssiList = new ArrayList<org.apache.accumulo.core.data.thrift.IterInfo>();
2942       }
2943       this.ssiList.add(elem);
2944     }
2945 
2946     public List<org.apache.accumulo.core.data.thrift.IterInfo> getSsiList() {
2947       return this.ssiList;
2948     }
2949 
2950     public startScan_args setSsiList(List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList) {
2951       this.ssiList = ssiList;
2952       return this;
2953     }
2954 
2955     public void unsetSsiList() {
2956       this.ssiList = null;
2957     }
2958 
2959     /** Returns true if field ssiList is set (has been assigned a value) and false otherwise */
2960     public boolean isSetSsiList() {
2961       return this.ssiList != null;
2962     }
2963 
2964     public void setSsiListIsSet(boolean value) {
2965       if (!value) {
2966         this.ssiList = null;
2967       }
2968     }
2969 
2970     public int getSsioSize() {
2971       return (this.ssio == null) ? 0 : this.ssio.size();
2972     }
2973 
2974     public void putToSsio(String key, Map<String,String> val) {
2975       if (this.ssio == null) {
2976         this.ssio = new HashMap<String,Map<String,String>>();
2977       }
2978       this.ssio.put(key, val);
2979     }
2980 
2981     public Map<String,Map<String,String>> getSsio() {
2982       return this.ssio;
2983     }
2984 
2985     public startScan_args setSsio(Map<String,Map<String,String>> ssio) {
2986       this.ssio = ssio;
2987       return this;
2988     }
2989 
2990     public void unsetSsio() {
2991       this.ssio = null;
2992     }
2993 
2994     /** Returns true if field ssio is set (has been assigned a value) and false otherwise */
2995     public boolean isSetSsio() {
2996       return this.ssio != null;
2997     }
2998 
2999     public void setSsioIsSet(boolean value) {
3000       if (!value) {
3001         this.ssio = null;
3002       }
3003     }
3004 
3005     public int getAuthorizationsSize() {
3006       return (this.authorizations == null) ? 0 : this.authorizations.size();
3007     }
3008 
3009     public java.util.Iterator<ByteBuffer> getAuthorizationsIterator() {
3010       return (this.authorizations == null) ? null : this.authorizations.iterator();
3011     }
3012 
3013     public void addToAuthorizations(ByteBuffer elem) {
3014       if (this.authorizations == null) {
3015         this.authorizations = new ArrayList<ByteBuffer>();
3016       }
3017       this.authorizations.add(elem);
3018     }
3019 
3020     public List<ByteBuffer> getAuthorizations() {
3021       return this.authorizations;
3022     }
3023 
3024     public startScan_args setAuthorizations(List<ByteBuffer> authorizations) {
3025       this.authorizations = authorizations;
3026       return this;
3027     }
3028 
3029     public void unsetAuthorizations() {
3030       this.authorizations = null;
3031     }
3032 
3033     /** Returns true if field authorizations is set (has been assigned a value) and false otherwise */
3034     public boolean isSetAuthorizations() {
3035       return this.authorizations != null;
3036     }
3037 
3038     public void setAuthorizationsIsSet(boolean value) {
3039       if (!value) {
3040         this.authorizations = null;
3041       }
3042     }
3043 
3044     public boolean isWaitForWrites() {
3045       return this.waitForWrites;
3046     }
3047 
3048     public startScan_args setWaitForWrites(boolean waitForWrites) {
3049       this.waitForWrites = waitForWrites;
3050       setWaitForWritesIsSet(true);
3051       return this;
3052     }
3053 
3054     public void unsetWaitForWrites() {
3055       __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __WAITFORWRITES_ISSET_ID);
3056     }
3057 
3058     /** Returns true if field waitForWrites is set (has been assigned a value) and false otherwise */
3059     public boolean isSetWaitForWrites() {
3060       return EncodingUtils.testBit(__isset_bitfield, __WAITFORWRITES_ISSET_ID);
3061     }
3062 
3063     public void setWaitForWritesIsSet(boolean value) {
3064       __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __WAITFORWRITES_ISSET_ID, value);
3065     }
3066 
3067     public boolean isIsolated() {
3068       return this.isolated;
3069     }
3070 
3071     public startScan_args setIsolated(boolean isolated) {
3072       this.isolated = isolated;
3073       setIsolatedIsSet(true);
3074       return this;
3075     }
3076 
3077     public void unsetIsolated() {
3078       __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __ISOLATED_ISSET_ID);
3079     }
3080 
3081     /** Returns true if field isolated is set (has been assigned a value) and false otherwise */
3082     public boolean isSetIsolated() {
3083       return EncodingUtils.testBit(__isset_bitfield, __ISOLATED_ISSET_ID);
3084     }
3085 
3086     public void setIsolatedIsSet(boolean value) {
3087       __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __ISOLATED_ISSET_ID, value);
3088     }
3089 
3090     public void setFieldValue(_Fields field, Object value) {
3091       switch (field) {
3092       case TINFO:
3093         if (value == null) {
3094           unsetTinfo();
3095         } else {
3096           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
3097         }
3098         break;
3099 
3100       case CREDENTIAL:
3101         if (value == null) {
3102           unsetCredential();
3103         } else {
3104           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
3105         }
3106         break;
3107 
3108       case EXTENT:
3109         if (value == null) {
3110           unsetExtent();
3111         } else {
3112           setExtent((org.apache.accumulo.core.data.thrift.TKeyExtent)value);
3113         }
3114         break;
3115 
3116       case RANGE:
3117         if (value == null) {
3118           unsetRange();
3119         } else {
3120           setRange((org.apache.accumulo.core.data.thrift.TRange)value);
3121         }
3122         break;
3123 
3124       case COLUMNS:
3125         if (value == null) {
3126           unsetColumns();
3127         } else {
3128           setColumns((List<org.apache.accumulo.core.data.thrift.TColumn>)value);
3129         }
3130         break;
3131 
3132       case BATCH_SIZE:
3133         if (value == null) {
3134           unsetBatchSize();
3135         } else {
3136           setBatchSize((Integer)value);
3137         }
3138         break;
3139 
3140       case SSI_LIST:
3141         if (value == null) {
3142           unsetSsiList();
3143         } else {
3144           setSsiList((List<org.apache.accumulo.core.data.thrift.IterInfo>)value);
3145         }
3146         break;
3147 
3148       case SSIO:
3149         if (value == null) {
3150           unsetSsio();
3151         } else {
3152           setSsio((Map<String,Map<String,String>>)value);
3153         }
3154         break;
3155 
3156       case AUTHORIZATIONS:
3157         if (value == null) {
3158           unsetAuthorizations();
3159         } else {
3160           setAuthorizations((List<ByteBuffer>)value);
3161         }
3162         break;
3163 
3164       case WAIT_FOR_WRITES:
3165         if (value == null) {
3166           unsetWaitForWrites();
3167         } else {
3168           setWaitForWrites((Boolean)value);
3169         }
3170         break;
3171 
3172       case ISOLATED:
3173         if (value == null) {
3174           unsetIsolated();
3175         } else {
3176           setIsolated((Boolean)value);
3177         }
3178         break;
3179 
3180       }
3181     }
3182 
3183     public Object getFieldValue(_Fields field) {
3184       switch (field) {
3185       case TINFO:
3186         return getTinfo();
3187 
3188       case CREDENTIAL:
3189         return getCredential();
3190 
3191       case EXTENT:
3192         return getExtent();
3193 
3194       case RANGE:
3195         return getRange();
3196 
3197       case COLUMNS:
3198         return getColumns();
3199 
3200       case BATCH_SIZE:
3201         return Integer.valueOf(getBatchSize());
3202 
3203       case SSI_LIST:
3204         return getSsiList();
3205 
3206       case SSIO:
3207         return getSsio();
3208 
3209       case AUTHORIZATIONS:
3210         return getAuthorizations();
3211 
3212       case WAIT_FOR_WRITES:
3213         return Boolean.valueOf(isWaitForWrites());
3214 
3215       case ISOLATED:
3216         return Boolean.valueOf(isIsolated());
3217 
3218       }
3219       throw new IllegalStateException();
3220     }
3221 
3222     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
3223     public boolean isSet(_Fields field) {
3224       if (field == null) {
3225         throw new IllegalArgumentException();
3226       }
3227 
3228       switch (field) {
3229       case TINFO:
3230         return isSetTinfo();
3231       case CREDENTIAL:
3232         return isSetCredential();
3233       case EXTENT:
3234         return isSetExtent();
3235       case RANGE:
3236         return isSetRange();
3237       case COLUMNS:
3238         return isSetColumns();
3239       case BATCH_SIZE:
3240         return isSetBatchSize();
3241       case SSI_LIST:
3242         return isSetSsiList();
3243       case SSIO:
3244         return isSetSsio();
3245       case AUTHORIZATIONS:
3246         return isSetAuthorizations();
3247       case WAIT_FOR_WRITES:
3248         return isSetWaitForWrites();
3249       case ISOLATED:
3250         return isSetIsolated();
3251       }
3252       throw new IllegalStateException();
3253     }
3254 
3255     @Override
3256     public boolean equals(Object that) {
3257       if (that == null)
3258         return false;
3259       if (that instanceof startScan_args)
3260         return this.equals((startScan_args)that);
3261       return false;
3262     }
3263 
3264     public boolean equals(startScan_args that) {
3265       if (that == null)
3266         return false;
3267 
3268       boolean this_present_tinfo = true && this.isSetTinfo();
3269       boolean that_present_tinfo = true && that.isSetTinfo();
3270       if (this_present_tinfo || that_present_tinfo) {
3271         if (!(this_present_tinfo && that_present_tinfo))
3272           return false;
3273         if (!this.tinfo.equals(that.tinfo))
3274           return false;
3275       }
3276 
3277       boolean this_present_credential = true && this.isSetCredential();
3278       boolean that_present_credential = true && that.isSetCredential();
3279       if (this_present_credential || that_present_credential) {
3280         if (!(this_present_credential && that_present_credential))
3281           return false;
3282         if (!this.credential.equals(that.credential))
3283           return false;
3284       }
3285 
3286       boolean this_present_extent = true && this.isSetExtent();
3287       boolean that_present_extent = true && that.isSetExtent();
3288       if (this_present_extent || that_present_extent) {
3289         if (!(this_present_extent && that_present_extent))
3290           return false;
3291         if (!this.extent.equals(that.extent))
3292           return false;
3293       }
3294 
3295       boolean this_present_range = true && this.isSetRange();
3296       boolean that_present_range = true && that.isSetRange();
3297       if (this_present_range || that_present_range) {
3298         if (!(this_present_range && that_present_range))
3299           return false;
3300         if (!this.range.equals(that.range))
3301           return false;
3302       }
3303 
3304       boolean this_present_columns = true && this.isSetColumns();
3305       boolean that_present_columns = true && that.isSetColumns();
3306       if (this_present_columns || that_present_columns) {
3307         if (!(this_present_columns && that_present_columns))
3308           return false;
3309         if (!this.columns.equals(that.columns))
3310           return false;
3311       }
3312 
3313       boolean this_present_batchSize = true;
3314       boolean that_present_batchSize = true;
3315       if (this_present_batchSize || that_present_batchSize) {
3316         if (!(this_present_batchSize && that_present_batchSize))
3317           return false;
3318         if (this.batchSize != that.batchSize)
3319           return false;
3320       }
3321 
3322       boolean this_present_ssiList = true && this.isSetSsiList();
3323       boolean that_present_ssiList = true && that.isSetSsiList();
3324       if (this_present_ssiList || that_present_ssiList) {
3325         if (!(this_present_ssiList && that_present_ssiList))
3326           return false;
3327         if (!this.ssiList.equals(that.ssiList))
3328           return false;
3329       }
3330 
3331       boolean this_present_ssio = true && this.isSetSsio();
3332       boolean that_present_ssio = true && that.isSetSsio();
3333       if (this_present_ssio || that_present_ssio) {
3334         if (!(this_present_ssio && that_present_ssio))
3335           return false;
3336         if (!this.ssio.equals(that.ssio))
3337           return false;
3338       }
3339 
3340       boolean this_present_authorizations = true && this.isSetAuthorizations();
3341       boolean that_present_authorizations = true && that.isSetAuthorizations();
3342       if (this_present_authorizations || that_present_authorizations) {
3343         if (!(this_present_authorizations && that_present_authorizations))
3344           return false;
3345         if (!this.authorizations.equals(that.authorizations))
3346           return false;
3347       }
3348 
3349       boolean this_present_waitForWrites = true;
3350       boolean that_present_waitForWrites = true;
3351       if (this_present_waitForWrites || that_present_waitForWrites) {
3352         if (!(this_present_waitForWrites && that_present_waitForWrites))
3353           return false;
3354         if (this.waitForWrites != that.waitForWrites)
3355           return false;
3356       }
3357 
3358       boolean this_present_isolated = true;
3359       boolean that_present_isolated = true;
3360       if (this_present_isolated || that_present_isolated) {
3361         if (!(this_present_isolated && that_present_isolated))
3362           return false;
3363         if (this.isolated != that.isolated)
3364           return false;
3365       }
3366 
3367       return true;
3368     }
3369 
3370     @Override
3371     public int hashCode() {
3372       return 0;
3373     }
3374 
3375     public int compareTo(startScan_args other) {
3376       if (!getClass().equals(other.getClass())) {
3377         return getClass().getName().compareTo(other.getClass().getName());
3378       }
3379 
3380       int lastComparison = 0;
3381       startScan_args typedOther = (startScan_args)other;
3382 
3383       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
3384       if (lastComparison != 0) {
3385         return lastComparison;
3386       }
3387       if (isSetTinfo()) {
3388         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
3389         if (lastComparison != 0) {
3390           return lastComparison;
3391         }
3392       }
3393       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
3394       if (lastComparison != 0) {
3395         return lastComparison;
3396       }
3397       if (isSetCredential()) {
3398         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
3399         if (lastComparison != 0) {
3400           return lastComparison;
3401         }
3402       }
3403       lastComparison = Boolean.valueOf(isSetExtent()).compareTo(typedOther.isSetExtent());
3404       if (lastComparison != 0) {
3405         return lastComparison;
3406       }
3407       if (isSetExtent()) {
3408         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.extent, typedOther.extent);
3409         if (lastComparison != 0) {
3410           return lastComparison;
3411         }
3412       }
3413       lastComparison = Boolean.valueOf(isSetRange()).compareTo(typedOther.isSetRange());
3414       if (lastComparison != 0) {
3415         return lastComparison;
3416       }
3417       if (isSetRange()) {
3418         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.range, typedOther.range);
3419         if (lastComparison != 0) {
3420           return lastComparison;
3421         }
3422       }
3423       lastComparison = Boolean.valueOf(isSetColumns()).compareTo(typedOther.isSetColumns());
3424       if (lastComparison != 0) {
3425         return lastComparison;
3426       }
3427       if (isSetColumns()) {
3428         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columns, typedOther.columns);
3429         if (lastComparison != 0) {
3430           return lastComparison;
3431         }
3432       }
3433       lastComparison = Boolean.valueOf(isSetBatchSize()).compareTo(typedOther.isSetBatchSize());
3434       if (lastComparison != 0) {
3435         return lastComparison;
3436       }
3437       if (isSetBatchSize()) {
3438         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.batchSize, typedOther.batchSize);
3439         if (lastComparison != 0) {
3440           return lastComparison;
3441         }
3442       }
3443       lastComparison = Boolean.valueOf(isSetSsiList()).compareTo(typedOther.isSetSsiList());
3444       if (lastComparison != 0) {
3445         return lastComparison;
3446       }
3447       if (isSetSsiList()) {
3448         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ssiList, typedOther.ssiList);
3449         if (lastComparison != 0) {
3450           return lastComparison;
3451         }
3452       }
3453       lastComparison = Boolean.valueOf(isSetSsio()).compareTo(typedOther.isSetSsio());
3454       if (lastComparison != 0) {
3455         return lastComparison;
3456       }
3457       if (isSetSsio()) {
3458         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ssio, typedOther.ssio);
3459         if (lastComparison != 0) {
3460           return lastComparison;
3461         }
3462       }
3463       lastComparison = Boolean.valueOf(isSetAuthorizations()).compareTo(typedOther.isSetAuthorizations());
3464       if (lastComparison != 0) {
3465         return lastComparison;
3466       }
3467       if (isSetAuthorizations()) {
3468         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.authorizations, typedOther.authorizations);
3469         if (lastComparison != 0) {
3470           return lastComparison;
3471         }
3472       }
3473       lastComparison = Boolean.valueOf(isSetWaitForWrites()).compareTo(typedOther.isSetWaitForWrites());
3474       if (lastComparison != 0) {
3475         return lastComparison;
3476       }
3477       if (isSetWaitForWrites()) {
3478         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.waitForWrites, typedOther.waitForWrites);
3479         if (lastComparison != 0) {
3480           return lastComparison;
3481         }
3482       }
3483       lastComparison = Boolean.valueOf(isSetIsolated()).compareTo(typedOther.isSetIsolated());
3484       if (lastComparison != 0) {
3485         return lastComparison;
3486       }
3487       if (isSetIsolated()) {
3488         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isolated, typedOther.isolated);
3489         if (lastComparison != 0) {
3490           return lastComparison;
3491         }
3492       }
3493       return 0;
3494     }
3495 
3496     public _Fields fieldForId(int fieldId) {
3497       return _Fields.findByThriftId(fieldId);
3498     }
3499 
3500     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
3501       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
3502     }
3503 
3504     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
3505       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
3506     }
3507 
3508     @Override
3509     public String toString() {
3510       StringBuilder sb = new StringBuilder("startScan_args(");
3511       boolean first = true;
3512 
3513       sb.append("tinfo:");
3514       if (this.tinfo == null) {
3515         sb.append("null");
3516       } else {
3517         sb.append(this.tinfo);
3518       }
3519       first = false;
3520       if (!first) sb.append(", ");
3521       sb.append("credential:");
3522       if (this.credential == null) {
3523         sb.append("null");
3524       } else {
3525         sb.append(this.credential);
3526       }
3527       first = false;
3528       if (!first) sb.append(", ");
3529       sb.append("extent:");
3530       if (this.extent == null) {
3531         sb.append("null");
3532       } else {
3533         sb.append(this.extent);
3534       }
3535       first = false;
3536       if (!first) sb.append(", ");
3537       sb.append("range:");
3538       if (this.range == null) {
3539         sb.append("null");
3540       } else {
3541         sb.append(this.range);
3542       }
3543       first = false;
3544       if (!first) sb.append(", ");
3545       sb.append("columns:");
3546       if (this.columns == null) {
3547         sb.append("null");
3548       } else {
3549         sb.append(this.columns);
3550       }
3551       first = false;
3552       if (!first) sb.append(", ");
3553       sb.append("batchSize:");
3554       sb.append(this.batchSize);
3555       first = false;
3556       if (!first) sb.append(", ");
3557       sb.append("ssiList:");
3558       if (this.ssiList == null) {
3559         sb.append("null");
3560       } else {
3561         sb.append(this.ssiList);
3562       }
3563       first = false;
3564       if (!first) sb.append(", ");
3565       sb.append("ssio:");
3566       if (this.ssio == null) {
3567         sb.append("null");
3568       } else {
3569         sb.append(this.ssio);
3570       }
3571       first = false;
3572       if (!first) sb.append(", ");
3573       sb.append("authorizations:");
3574       if (this.authorizations == null) {
3575         sb.append("null");
3576       } else {
3577         sb.append(this.authorizations);
3578       }
3579       first = false;
3580       if (!first) sb.append(", ");
3581       sb.append("waitForWrites:");
3582       sb.append(this.waitForWrites);
3583       first = false;
3584       if (!first) sb.append(", ");
3585       sb.append("isolated:");
3586       sb.append(this.isolated);
3587       first = false;
3588       sb.append(")");
3589       return sb.toString();
3590     }
3591 
3592     public void validate() throws org.apache.thrift.TException {
3593       // check for required fields
3594       // check for sub-struct validity
3595       if (tinfo != null) {
3596         tinfo.validate();
3597       }
3598       if (credential != null) {
3599         credential.validate();
3600       }
3601       if (extent != null) {
3602         extent.validate();
3603       }
3604       if (range != null) {
3605         range.validate();
3606       }
3607     }
3608 
3609     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
3610       try {
3611         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
3612       } catch (org.apache.thrift.TException te) {
3613         throw new java.io.IOException(te);
3614       }
3615     }
3616 
3617     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
3618       try {
3619         // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
3620         __isset_bitfield = 0;
3621         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
3622       } catch (org.apache.thrift.TException te) {
3623         throw new java.io.IOException(te);
3624       }
3625     }
3626 
3627     private static class startScan_argsStandardSchemeFactory implements SchemeFactory {
3628       public startScan_argsStandardScheme getScheme() {
3629         return new startScan_argsStandardScheme();
3630       }
3631     }
3632 
3633     private static class startScan_argsStandardScheme extends StandardScheme<startScan_args> {
3634 
3635       public void read(org.apache.thrift.protocol.TProtocol iprot, startScan_args struct) throws org.apache.thrift.TException {
3636         org.apache.thrift.protocol.TField schemeField;
3637         iprot.readStructBegin();
3638         while (true)
3639         {
3640           schemeField = iprot.readFieldBegin();
3641           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
3642             break;
3643           }
3644           switch (schemeField.id) {
3645             case 11: // TINFO
3646               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
3647                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
3648                 struct.tinfo.read(iprot);
3649                 struct.setTinfoIsSet(true);
3650               } else { 
3651                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
3652               }
3653               break;
3654             case 1: // CREDENTIAL
3655               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
3656                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
3657                 struct.credential.read(iprot);
3658                 struct.setCredentialIsSet(true);
3659               } else { 
3660                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
3661               }
3662               break;
3663             case 2: // EXTENT
3664               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
3665                 struct.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent();
3666                 struct.extent.read(iprot);
3667                 struct.setExtentIsSet(true);
3668               } else { 
3669                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
3670               }
3671               break;
3672             case 3: // RANGE
3673               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
3674                 struct.range = new org.apache.accumulo.core.data.thrift.TRange();
3675                 struct.range.read(iprot);
3676                 struct.setRangeIsSet(true);
3677               } else { 
3678                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
3679               }
3680               break;
3681             case 4: // COLUMNS
3682               if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
3683                 {
3684                   org.apache.thrift.protocol.TList _list106 = iprot.readListBegin();
3685                   struct.columns = new ArrayList<org.apache.accumulo.core.data.thrift.TColumn>(_list106.size);
3686                   for (int _i107 = 0; _i107 < _list106.size; ++_i107)
3687                   {
3688                     org.apache.accumulo.core.data.thrift.TColumn _elem108; // required
3689                     _elem108 = new org.apache.accumulo.core.data.thrift.TColumn();
3690                     _elem108.read(iprot);
3691                     struct.columns.add(_elem108);
3692                   }
3693                   iprot.readListEnd();
3694                 }
3695                 struct.setColumnsIsSet(true);
3696               } else { 
3697                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
3698               }
3699               break;
3700             case 5: // BATCH_SIZE
3701               if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
3702                 struct.batchSize = iprot.readI32();
3703                 struct.setBatchSizeIsSet(true);
3704               } else { 
3705                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
3706               }
3707               break;
3708             case 6: // SSI_LIST
3709               if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
3710                 {
3711                   org.apache.thrift.protocol.TList _list109 = iprot.readListBegin();
3712                   struct.ssiList = new ArrayList<org.apache.accumulo.core.data.thrift.IterInfo>(_list109.size);
3713                   for (int _i110 = 0; _i110 < _list109.size; ++_i110)
3714                   {
3715                     org.apache.accumulo.core.data.thrift.IterInfo _elem111; // required
3716                     _elem111 = new org.apache.accumulo.core.data.thrift.IterInfo();
3717                     _elem111.read(iprot);
3718                     struct.ssiList.add(_elem111);
3719                   }
3720                   iprot.readListEnd();
3721                 }
3722                 struct.setSsiListIsSet(true);
3723               } else { 
3724                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
3725               }
3726               break;
3727             case 7: // SSIO
3728               if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
3729                 {
3730                   org.apache.thrift.protocol.TMap _map112 = iprot.readMapBegin();
3731                   struct.ssio = new HashMap<String,Map<String,String>>(2*_map112.size);
3732                   for (int _i113 = 0; _i113 < _map112.size; ++_i113)
3733                   {
3734                     String _key114; // required
3735                     Map<String,String> _val115; // required
3736                     _key114 = iprot.readString();
3737                     {
3738                       org.apache.thrift.protocol.TMap _map116 = iprot.readMapBegin();
3739                       _val115 = new HashMap<String,String>(2*_map116.size);
3740                       for (int _i117 = 0; _i117 < _map116.size; ++_i117)
3741                       {
3742                         String _key118; // required
3743                         String _val119; // required
3744                         _key118 = iprot.readString();
3745                         _val119 = iprot.readString();
3746                         _val115.put(_key118, _val119);
3747                       }
3748                       iprot.readMapEnd();
3749                     }
3750                     struct.ssio.put(_key114, _val115);
3751                   }
3752                   iprot.readMapEnd();
3753                 }
3754                 struct.setSsioIsSet(true);
3755               } else { 
3756                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
3757               }
3758               break;
3759             case 8: // AUTHORIZATIONS
3760               if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
3761                 {
3762                   org.apache.thrift.protocol.TList _list120 = iprot.readListBegin();
3763                   struct.authorizations = new ArrayList<ByteBuffer>(_list120.size);
3764                   for (int _i121 = 0; _i121 < _list120.size; ++_i121)
3765                   {
3766                     ByteBuffer _elem122; // required
3767                     _elem122 = iprot.readBinary();
3768                     struct.authorizations.add(_elem122);
3769                   }
3770                   iprot.readListEnd();
3771                 }
3772                 struct.setAuthorizationsIsSet(true);
3773               } else { 
3774                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
3775               }
3776               break;
3777             case 9: // WAIT_FOR_WRITES
3778               if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
3779                 struct.waitForWrites = iprot.readBool();
3780                 struct.setWaitForWritesIsSet(true);
3781               } else { 
3782                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
3783               }
3784               break;
3785             case 10: // ISOLATED
3786               if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
3787                 struct.isolated = iprot.readBool();
3788                 struct.setIsolatedIsSet(true);
3789               } else { 
3790                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
3791               }
3792               break;
3793             default:
3794               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
3795           }
3796           iprot.readFieldEnd();
3797         }
3798         iprot.readStructEnd();
3799 
3800         // check for required fields of primitive type, which can't be checked in the validate method
3801         struct.validate();
3802       }
3803 
3804       public void write(org.apache.thrift.protocol.TProtocol oprot, startScan_args struct) throws org.apache.thrift.TException {
3805         struct.validate();
3806 
3807         oprot.writeStructBegin(STRUCT_DESC);
3808         if (struct.credential != null) {
3809           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
3810           struct.credential.write(oprot);
3811           oprot.writeFieldEnd();
3812         }
3813         if (struct.extent != null) {
3814           oprot.writeFieldBegin(EXTENT_FIELD_DESC);
3815           struct.extent.write(oprot);
3816           oprot.writeFieldEnd();
3817         }
3818         if (struct.range != null) {
3819           oprot.writeFieldBegin(RANGE_FIELD_DESC);
3820           struct.range.write(oprot);
3821           oprot.writeFieldEnd();
3822         }
3823         if (struct.columns != null) {
3824           oprot.writeFieldBegin(COLUMNS_FIELD_DESC);
3825           {
3826             oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.columns.size()));
3827             for (org.apache.accumulo.core.data.thrift.TColumn _iter123 : struct.columns)
3828             {
3829               _iter123.write(oprot);
3830             }
3831             oprot.writeListEnd();
3832           }
3833           oprot.writeFieldEnd();
3834         }
3835         oprot.writeFieldBegin(BATCH_SIZE_FIELD_DESC);
3836         oprot.writeI32(struct.batchSize);
3837         oprot.writeFieldEnd();
3838         if (struct.ssiList != null) {
3839           oprot.writeFieldBegin(SSI_LIST_FIELD_DESC);
3840           {
3841             oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.ssiList.size()));
3842             for (org.apache.accumulo.core.data.thrift.IterInfo _iter124 : struct.ssiList)
3843             {
3844               _iter124.write(oprot);
3845             }
3846             oprot.writeListEnd();
3847           }
3848           oprot.writeFieldEnd();
3849         }
3850         if (struct.ssio != null) {
3851           oprot.writeFieldBegin(SSIO_FIELD_DESC);
3852           {
3853             oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.MAP, struct.ssio.size()));
3854             for (Map.Entry<String, Map<String,String>> _iter125 : struct.ssio.entrySet())
3855             {
3856               oprot.writeString(_iter125.getKey());
3857               {
3858                 oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, _iter125.getValue().size()));
3859                 for (Map.Entry<String, String> _iter126 : _iter125.getValue().entrySet())
3860                 {
3861                   oprot.writeString(_iter126.getKey());
3862                   oprot.writeString(_iter126.getValue());
3863                 }
3864                 oprot.writeMapEnd();
3865               }
3866             }
3867             oprot.writeMapEnd();
3868           }
3869           oprot.writeFieldEnd();
3870         }
3871         if (struct.authorizations != null) {
3872           oprot.writeFieldBegin(AUTHORIZATIONS_FIELD_DESC);
3873           {
3874             oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.authorizations.size()));
3875             for (ByteBuffer _iter127 : struct.authorizations)
3876             {
3877               oprot.writeBinary(_iter127);
3878             }
3879             oprot.writeListEnd();
3880           }
3881           oprot.writeFieldEnd();
3882         }
3883         oprot.writeFieldBegin(WAIT_FOR_WRITES_FIELD_DESC);
3884         oprot.writeBool(struct.waitForWrites);
3885         oprot.writeFieldEnd();
3886         oprot.writeFieldBegin(ISOLATED_FIELD_DESC);
3887         oprot.writeBool(struct.isolated);
3888         oprot.writeFieldEnd();
3889         if (struct.tinfo != null) {
3890           oprot.writeFieldBegin(TINFO_FIELD_DESC);
3891           struct.tinfo.write(oprot);
3892           oprot.writeFieldEnd();
3893         }
3894         oprot.writeFieldStop();
3895         oprot.writeStructEnd();
3896       }
3897 
3898     }
3899 
3900     private static class startScan_argsTupleSchemeFactory implements SchemeFactory {
3901       public startScan_argsTupleScheme getScheme() {
3902         return new startScan_argsTupleScheme();
3903       }
3904     }
3905 
3906     private static class startScan_argsTupleScheme extends TupleScheme<startScan_args> {
3907 
3908       @Override
3909       public void write(org.apache.thrift.protocol.TProtocol prot, startScan_args struct) throws org.apache.thrift.TException {
3910         TTupleProtocol oprot = (TTupleProtocol) prot;
3911         BitSet optionals = new BitSet();
3912         if (struct.isSetTinfo()) {
3913           optionals.set(0);
3914         }
3915         if (struct.isSetCredential()) {
3916           optionals.set(1);
3917         }
3918         if (struct.isSetExtent()) {
3919           optionals.set(2);
3920         }
3921         if (struct.isSetRange()) {
3922           optionals.set(3);
3923         }
3924         if (struct.isSetColumns()) {
3925           optionals.set(4);
3926         }
3927         if (struct.isSetBatchSize()) {
3928           optionals.set(5);
3929         }
3930         if (struct.isSetSsiList()) {
3931           optionals.set(6);
3932         }
3933         if (struct.isSetSsio()) {
3934           optionals.set(7);
3935         }
3936         if (struct.isSetAuthorizations()) {
3937           optionals.set(8);
3938         }
3939         if (struct.isSetWaitForWrites()) {
3940           optionals.set(9);
3941         }
3942         if (struct.isSetIsolated()) {
3943           optionals.set(10);
3944         }
3945         oprot.writeBitSet(optionals, 11);
3946         if (struct.isSetTinfo()) {
3947           struct.tinfo.write(oprot);
3948         }
3949         if (struct.isSetCredential()) {
3950           struct.credential.write(oprot);
3951         }
3952         if (struct.isSetExtent()) {
3953           struct.extent.write(oprot);
3954         }
3955         if (struct.isSetRange()) {
3956           struct.range.write(oprot);
3957         }
3958         if (struct.isSetColumns()) {
3959           {
3960             oprot.writeI32(struct.columns.size());
3961             for (org.apache.accumulo.core.data.thrift.TColumn _iter128 : struct.columns)
3962             {
3963               _iter128.write(oprot);
3964             }
3965           }
3966         }
3967         if (struct.isSetBatchSize()) {
3968           oprot.writeI32(struct.batchSize);
3969         }
3970         if (struct.isSetSsiList()) {
3971           {
3972             oprot.writeI32(struct.ssiList.size());
3973             for (org.apache.accumulo.core.data.thrift.IterInfo _iter129 : struct.ssiList)
3974             {
3975               _iter129.write(oprot);
3976             }
3977           }
3978         }
3979         if (struct.isSetSsio()) {
3980           {
3981             oprot.writeI32(struct.ssio.size());
3982             for (Map.Entry<String, Map<String,String>> _iter130 : struct.ssio.entrySet())
3983             {
3984               oprot.writeString(_iter130.getKey());
3985               {
3986                 oprot.writeI32(_iter130.getValue().size());
3987                 for (Map.Entry<String, String> _iter131 : _iter130.getValue().entrySet())
3988                 {
3989                   oprot.writeString(_iter131.getKey());
3990                   oprot.writeString(_iter131.getValue());
3991                 }
3992               }
3993             }
3994           }
3995         }
3996         if (struct.isSetAuthorizations()) {
3997           {
3998             oprot.writeI32(struct.authorizations.size());
3999             for (ByteBuffer _iter132 : struct.authorizations)
4000             {
4001               oprot.writeBinary(_iter132);
4002             }
4003           }
4004         }
4005         if (struct.isSetWaitForWrites()) {
4006           oprot.writeBool(struct.waitForWrites);
4007         }
4008         if (struct.isSetIsolated()) {
4009           oprot.writeBool(struct.isolated);
4010         }
4011       }
4012 
4013       @Override
4014       public void read(org.apache.thrift.protocol.TProtocol prot, startScan_args struct) throws org.apache.thrift.TException {
4015         TTupleProtocol iprot = (TTupleProtocol) prot;
4016         BitSet incoming = iprot.readBitSet(11);
4017         if (incoming.get(0)) {
4018           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
4019           struct.tinfo.read(iprot);
4020           struct.setTinfoIsSet(true);
4021         }
4022         if (incoming.get(1)) {
4023           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
4024           struct.credential.read(iprot);
4025           struct.setCredentialIsSet(true);
4026         }
4027         if (incoming.get(2)) {
4028           struct.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent();
4029           struct.extent.read(iprot);
4030           struct.setExtentIsSet(true);
4031         }
4032         if (incoming.get(3)) {
4033           struct.range = new org.apache.accumulo.core.data.thrift.TRange();
4034           struct.range.read(iprot);
4035           struct.setRangeIsSet(true);
4036         }
4037         if (incoming.get(4)) {
4038           {
4039             org.apache.thrift.protocol.TList _list133 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
4040             struct.columns = new ArrayList<org.apache.accumulo.core.data.thrift.TColumn>(_list133.size);
4041             for (int _i134 = 0; _i134 < _list133.size; ++_i134)
4042             {
4043               org.apache.accumulo.core.data.thrift.TColumn _elem135; // required
4044               _elem135 = new org.apache.accumulo.core.data.thrift.TColumn();
4045               _elem135.read(iprot);
4046               struct.columns.add(_elem135);
4047             }
4048           }
4049           struct.setColumnsIsSet(true);
4050         }
4051         if (incoming.get(5)) {
4052           struct.batchSize = iprot.readI32();
4053           struct.setBatchSizeIsSet(true);
4054         }
4055         if (incoming.get(6)) {
4056           {
4057             org.apache.thrift.protocol.TList _list136 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
4058             struct.ssiList = new ArrayList<org.apache.accumulo.core.data.thrift.IterInfo>(_list136.size);
4059             for (int _i137 = 0; _i137 < _list136.size; ++_i137)
4060             {
4061               org.apache.accumulo.core.data.thrift.IterInfo _elem138; // required
4062               _elem138 = new org.apache.accumulo.core.data.thrift.IterInfo();
4063               _elem138.read(iprot);
4064               struct.ssiList.add(_elem138);
4065             }
4066           }
4067           struct.setSsiListIsSet(true);
4068         }
4069         if (incoming.get(7)) {
4070           {
4071             org.apache.thrift.protocol.TMap _map139 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.MAP, iprot.readI32());
4072             struct.ssio = new HashMap<String,Map<String,String>>(2*_map139.size);
4073             for (int _i140 = 0; _i140 < _map139.size; ++_i140)
4074             {
4075               String _key141; // required
4076               Map<String,String> _val142; // required
4077               _key141 = iprot.readString();
4078               {
4079                 org.apache.thrift.protocol.TMap _map143 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
4080                 _val142 = new HashMap<String,String>(2*_map143.size);
4081                 for (int _i144 = 0; _i144 < _map143.size; ++_i144)
4082                 {
4083                   String _key145; // required
4084                   String _val146; // required
4085                   _key145 = iprot.readString();
4086                   _val146 = iprot.readString();
4087                   _val142.put(_key145, _val146);
4088                 }
4089               }
4090               struct.ssio.put(_key141, _val142);
4091             }
4092           }
4093           struct.setSsioIsSet(true);
4094         }
4095         if (incoming.get(8)) {
4096           {
4097             org.apache.thrift.protocol.TList _list147 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
4098             struct.authorizations = new ArrayList<ByteBuffer>(_list147.size);
4099             for (int _i148 = 0; _i148 < _list147.size; ++_i148)
4100             {
4101               ByteBuffer _elem149; // required
4102               _elem149 = iprot.readBinary();
4103               struct.authorizations.add(_elem149);
4104             }
4105           }
4106           struct.setAuthorizationsIsSet(true);
4107         }
4108         if (incoming.get(9)) {
4109           struct.waitForWrites = iprot.readBool();
4110           struct.setWaitForWritesIsSet(true);
4111         }
4112         if (incoming.get(10)) {
4113           struct.isolated = iprot.readBool();
4114           struct.setIsolatedIsSet(true);
4115         }
4116       }
4117     }
4118 
4119   }
4120 
4121   public static class startScan_result implements org.apache.thrift.TBase<startScan_result, startScan_result._Fields>, java.io.Serializable, Cloneable   {
4122     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("startScan_result");
4123 
4124     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);
4125     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);
4126     private static final org.apache.thrift.protocol.TField NSTE_FIELD_DESC = new org.apache.thrift.protocol.TField("nste", org.apache.thrift.protocol.TType.STRUCT, (short)2);
4127     private static final org.apache.thrift.protocol.TField TMFE_FIELD_DESC = new org.apache.thrift.protocol.TField("tmfe", org.apache.thrift.protocol.TType.STRUCT, (short)3);
4128 
4129     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
4130     static {
4131       schemes.put(StandardScheme.class, new startScan_resultStandardSchemeFactory());
4132       schemes.put(TupleScheme.class, new startScan_resultTupleSchemeFactory());
4133     }
4134 
4135     public org.apache.accumulo.core.data.thrift.InitialScan success; // required
4136     public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required
4137     public NotServingTabletException nste; // required
4138     public TooManyFilesException tmfe; // required
4139 
4140     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
4141     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
4142       SUCCESS((short)0, "success"),
4143       SEC((short)1, "sec"),
4144       NSTE((short)2, "nste"),
4145       TMFE((short)3, "tmfe");
4146 
4147       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
4148 
4149       static {
4150         for (_Fields field : EnumSet.allOf(_Fields.class)) {
4151           byName.put(field.getFieldName(), field);
4152         }
4153       }
4154 
4155       /**
4156        * Find the _Fields constant that matches fieldId, or null if its not found.
4157        */
4158       public static _Fields findByThriftId(int fieldId) {
4159         switch(fieldId) {
4160           case 0: // SUCCESS
4161             return SUCCESS;
4162           case 1: // SEC
4163             return SEC;
4164           case 2: // NSTE
4165             return NSTE;
4166           case 3: // TMFE
4167             return TMFE;
4168           default:
4169             return null;
4170         }
4171       }
4172 
4173       /**
4174        * Find the _Fields constant that matches fieldId, throwing an exception
4175        * if it is not found.
4176        */
4177       public static _Fields findByThriftIdOrThrow(int fieldId) {
4178         _Fields fields = findByThriftId(fieldId);
4179         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
4180         return fields;
4181       }
4182 
4183       /**
4184        * Find the _Fields constant that matches name, or null if its not found.
4185        */
4186       public static _Fields findByName(String name) {
4187         return byName.get(name);
4188       }
4189 
4190       private final short _thriftId;
4191       private final String _fieldName;
4192 
4193       _Fields(short thriftId, String fieldName) {
4194         _thriftId = thriftId;
4195         _fieldName = fieldName;
4196       }
4197 
4198       public short getThriftFieldId() {
4199         return _thriftId;
4200       }
4201 
4202       public String getFieldName() {
4203         return _fieldName;
4204       }
4205     }
4206 
4207     // isset id assignments
4208     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
4209     static {
4210       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
4211       tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
4212           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.InitialScan.class)));
4213       tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, 
4214           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
4215       tmpMap.put(_Fields.NSTE, new org.apache.thrift.meta_data.FieldMetaData("nste", org.apache.thrift.TFieldRequirementType.DEFAULT, 
4216           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
4217       tmpMap.put(_Fields.TMFE, new org.apache.thrift.meta_data.FieldMetaData("tmfe", org.apache.thrift.TFieldRequirementType.DEFAULT, 
4218           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
4219       metaDataMap = Collections.unmodifiableMap(tmpMap);
4220       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(startScan_result.class, metaDataMap);
4221     }
4222 
4223     public startScan_result() {
4224     }
4225 
4226     public startScan_result(
4227       org.apache.accumulo.core.data.thrift.InitialScan success,
4228       org.apache.accumulo.core.security.thrift.ThriftSecurityException sec,
4229       NotServingTabletException nste,
4230       TooManyFilesException tmfe)
4231     {
4232       this();
4233       this.success = success;
4234       this.sec = sec;
4235       this.nste = nste;
4236       this.tmfe = tmfe;
4237     }
4238 
4239     /**
4240      * Performs a deep copy on <i>other</i>.
4241      */
4242     public startScan_result(startScan_result other) {
4243       if (other.isSetSuccess()) {
4244         this.success = new org.apache.accumulo.core.data.thrift.InitialScan(other.success);
4245       }
4246       if (other.isSetSec()) {
4247         this.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(other.sec);
4248       }
4249       if (other.isSetNste()) {
4250         this.nste = new NotServingTabletException(other.nste);
4251       }
4252       if (other.isSetTmfe()) {
4253         this.tmfe = new TooManyFilesException(other.tmfe);
4254       }
4255     }
4256 
4257     public startScan_result deepCopy() {
4258       return new startScan_result(this);
4259     }
4260 
4261     @Override
4262     public void clear() {
4263       this.success = null;
4264       this.sec = null;
4265       this.nste = null;
4266       this.tmfe = null;
4267     }
4268 
4269     public org.apache.accumulo.core.data.thrift.InitialScan getSuccess() {
4270       return this.success;
4271     }
4272 
4273     public startScan_result setSuccess(org.apache.accumulo.core.data.thrift.InitialScan success) {
4274       this.success = success;
4275       return this;
4276     }
4277 
4278     public void unsetSuccess() {
4279       this.success = null;
4280     }
4281 
4282     /** Returns true if field success is set (has been assigned a value) and false otherwise */
4283     public boolean isSetSuccess() {
4284       return this.success != null;
4285     }
4286 
4287     public void setSuccessIsSet(boolean value) {
4288       if (!value) {
4289         this.success = null;
4290       }
4291     }
4292 
4293     public org.apache.accumulo.core.security.thrift.ThriftSecurityException getSec() {
4294       return this.sec;
4295     }
4296 
4297     public startScan_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
4298       this.sec = sec;
4299       return this;
4300     }
4301 
4302     public void unsetSec() {
4303       this.sec = null;
4304     }
4305 
4306     /** Returns true if field sec is set (has been assigned a value) and false otherwise */
4307     public boolean isSetSec() {
4308       return this.sec != null;
4309     }
4310 
4311     public void setSecIsSet(boolean value) {
4312       if (!value) {
4313         this.sec = null;
4314       }
4315     }
4316 
4317     public NotServingTabletException getNste() {
4318       return this.nste;
4319     }
4320 
4321     public startScan_result setNste(NotServingTabletException nste) {
4322       this.nste = nste;
4323       return this;
4324     }
4325 
4326     public void unsetNste() {
4327       this.nste = null;
4328     }
4329 
4330     /** Returns true if field nste is set (has been assigned a value) and false otherwise */
4331     public boolean isSetNste() {
4332       return this.nste != null;
4333     }
4334 
4335     public void setNsteIsSet(boolean value) {
4336       if (!value) {
4337         this.nste = null;
4338       }
4339     }
4340 
4341     public TooManyFilesException getTmfe() {
4342       return this.tmfe;
4343     }
4344 
4345     public startScan_result setTmfe(TooManyFilesException tmfe) {
4346       this.tmfe = tmfe;
4347       return this;
4348     }
4349 
4350     public void unsetTmfe() {
4351       this.tmfe = null;
4352     }
4353 
4354     /** Returns true if field tmfe is set (has been assigned a value) and false otherwise */
4355     public boolean isSetTmfe() {
4356       return this.tmfe != null;
4357     }
4358 
4359     public void setTmfeIsSet(boolean value) {
4360       if (!value) {
4361         this.tmfe = null;
4362       }
4363     }
4364 
4365     public void setFieldValue(_Fields field, Object value) {
4366       switch (field) {
4367       case SUCCESS:
4368         if (value == null) {
4369           unsetSuccess();
4370         } else {
4371           setSuccess((org.apache.accumulo.core.data.thrift.InitialScan)value);
4372         }
4373         break;
4374 
4375       case SEC:
4376         if (value == null) {
4377           unsetSec();
4378         } else {
4379           setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value);
4380         }
4381         break;
4382 
4383       case NSTE:
4384         if (value == null) {
4385           unsetNste();
4386         } else {
4387           setNste((NotServingTabletException)value);
4388         }
4389         break;
4390 
4391       case TMFE:
4392         if (value == null) {
4393           unsetTmfe();
4394         } else {
4395           setTmfe((TooManyFilesException)value);
4396         }
4397         break;
4398 
4399       }
4400     }
4401 
4402     public Object getFieldValue(_Fields field) {
4403       switch (field) {
4404       case SUCCESS:
4405         return getSuccess();
4406 
4407       case SEC:
4408         return getSec();
4409 
4410       case NSTE:
4411         return getNste();
4412 
4413       case TMFE:
4414         return getTmfe();
4415 
4416       }
4417       throw new IllegalStateException();
4418     }
4419 
4420     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
4421     public boolean isSet(_Fields field) {
4422       if (field == null) {
4423         throw new IllegalArgumentException();
4424       }
4425 
4426       switch (field) {
4427       case SUCCESS:
4428         return isSetSuccess();
4429       case SEC:
4430         return isSetSec();
4431       case NSTE:
4432         return isSetNste();
4433       case TMFE:
4434         return isSetTmfe();
4435       }
4436       throw new IllegalStateException();
4437     }
4438 
4439     @Override
4440     public boolean equals(Object that) {
4441       if (that == null)
4442         return false;
4443       if (that instanceof startScan_result)
4444         return this.equals((startScan_result)that);
4445       return false;
4446     }
4447 
4448     public boolean equals(startScan_result that) {
4449       if (that == null)
4450         return false;
4451 
4452       boolean this_present_success = true && this.isSetSuccess();
4453       boolean that_present_success = true && that.isSetSuccess();
4454       if (this_present_success || that_present_success) {
4455         if (!(this_present_success && that_present_success))
4456           return false;
4457         if (!this.success.equals(that.success))
4458           return false;
4459       }
4460 
4461       boolean this_present_sec = true && this.isSetSec();
4462       boolean that_present_sec = true && that.isSetSec();
4463       if (this_present_sec || that_present_sec) {
4464         if (!(this_present_sec && that_present_sec))
4465           return false;
4466         if (!this.sec.equals(that.sec))
4467           return false;
4468       }
4469 
4470       boolean this_present_nste = true && this.isSetNste();
4471       boolean that_present_nste = true && that.isSetNste();
4472       if (this_present_nste || that_present_nste) {
4473         if (!(this_present_nste && that_present_nste))
4474           return false;
4475         if (!this.nste.equals(that.nste))
4476           return false;
4477       }
4478 
4479       boolean this_present_tmfe = true && this.isSetTmfe();
4480       boolean that_present_tmfe = true && that.isSetTmfe();
4481       if (this_present_tmfe || that_present_tmfe) {
4482         if (!(this_present_tmfe && that_present_tmfe))
4483           return false;
4484         if (!this.tmfe.equals(that.tmfe))
4485           return false;
4486       }
4487 
4488       return true;
4489     }
4490 
4491     @Override
4492     public int hashCode() {
4493       return 0;
4494     }
4495 
4496     public int compareTo(startScan_result other) {
4497       if (!getClass().equals(other.getClass())) {
4498         return getClass().getName().compareTo(other.getClass().getName());
4499       }
4500 
4501       int lastComparison = 0;
4502       startScan_result typedOther = (startScan_result)other;
4503 
4504       lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
4505       if (lastComparison != 0) {
4506         return lastComparison;
4507       }
4508       if (isSetSuccess()) {
4509         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
4510         if (lastComparison != 0) {
4511           return lastComparison;
4512         }
4513       }
4514       lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec());
4515       if (lastComparison != 0) {
4516         return lastComparison;
4517       }
4518       if (isSetSec()) {
4519         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec);
4520         if (lastComparison != 0) {
4521           return lastComparison;
4522         }
4523       }
4524       lastComparison = Boolean.valueOf(isSetNste()).compareTo(typedOther.isSetNste());
4525       if (lastComparison != 0) {
4526         return lastComparison;
4527       }
4528       if (isSetNste()) {
4529         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nste, typedOther.nste);
4530         if (lastComparison != 0) {
4531           return lastComparison;
4532         }
4533       }
4534       lastComparison = Boolean.valueOf(isSetTmfe()).compareTo(typedOther.isSetTmfe());
4535       if (lastComparison != 0) {
4536         return lastComparison;
4537       }
4538       if (isSetTmfe()) {
4539         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tmfe, typedOther.tmfe);
4540         if (lastComparison != 0) {
4541           return lastComparison;
4542         }
4543       }
4544       return 0;
4545     }
4546 
4547     public _Fields fieldForId(int fieldId) {
4548       return _Fields.findByThriftId(fieldId);
4549     }
4550 
4551     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
4552       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
4553     }
4554 
4555     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
4556       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
4557       }
4558 
4559     @Override
4560     public String toString() {
4561       StringBuilder sb = new StringBuilder("startScan_result(");
4562       boolean first = true;
4563 
4564       sb.append("success:");
4565       if (this.success == null) {
4566         sb.append("null");
4567       } else {
4568         sb.append(this.success);
4569       }
4570       first = false;
4571       if (!first) sb.append(", ");
4572       sb.append("sec:");
4573       if (this.sec == null) {
4574         sb.append("null");
4575       } else {
4576         sb.append(this.sec);
4577       }
4578       first = false;
4579       if (!first) sb.append(", ");
4580       sb.append("nste:");
4581       if (this.nste == null) {
4582         sb.append("null");
4583       } else {
4584         sb.append(this.nste);
4585       }
4586       first = false;
4587       if (!first) sb.append(", ");
4588       sb.append("tmfe:");
4589       if (this.tmfe == null) {
4590         sb.append("null");
4591       } else {
4592         sb.append(this.tmfe);
4593       }
4594       first = false;
4595       sb.append(")");
4596       return sb.toString();
4597     }
4598 
4599     public void validate() throws org.apache.thrift.TException {
4600       // check for required fields
4601       // check for sub-struct validity
4602       if (success != null) {
4603         success.validate();
4604       }
4605     }
4606 
4607     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
4608       try {
4609         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
4610       } catch (org.apache.thrift.TException te) {
4611         throw new java.io.IOException(te);
4612       }
4613     }
4614 
4615     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
4616       try {
4617         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
4618       } catch (org.apache.thrift.TException te) {
4619         throw new java.io.IOException(te);
4620       }
4621     }
4622 
4623     private static class startScan_resultStandardSchemeFactory implements SchemeFactory {
4624       public startScan_resultStandardScheme getScheme() {
4625         return new startScan_resultStandardScheme();
4626       }
4627     }
4628 
4629     private static class startScan_resultStandardScheme extends StandardScheme<startScan_result> {
4630 
4631       public void read(org.apache.thrift.protocol.TProtocol iprot, startScan_result struct) throws org.apache.thrift.TException {
4632         org.apache.thrift.protocol.TField schemeField;
4633         iprot.readStructBegin();
4634         while (true)
4635         {
4636           schemeField = iprot.readFieldBegin();
4637           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
4638             break;
4639           }
4640           switch (schemeField.id) {
4641             case 0: // SUCCESS
4642               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
4643                 struct.success = new org.apache.accumulo.core.data.thrift.InitialScan();
4644                 struct.success.read(iprot);
4645                 struct.setSuccessIsSet(true);
4646               } else { 
4647                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
4648               }
4649               break;
4650             case 1: // SEC
4651               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
4652                 struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
4653                 struct.sec.read(iprot);
4654                 struct.setSecIsSet(true);
4655               } else { 
4656                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
4657               }
4658               break;
4659             case 2: // NSTE
4660               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
4661                 struct.nste = new NotServingTabletException();
4662                 struct.nste.read(iprot);
4663                 struct.setNsteIsSet(true);
4664               } else { 
4665                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
4666               }
4667               break;
4668             case 3: // TMFE
4669               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
4670                 struct.tmfe = new TooManyFilesException();
4671                 struct.tmfe.read(iprot);
4672                 struct.setTmfeIsSet(true);
4673               } else { 
4674                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
4675               }
4676               break;
4677             default:
4678               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
4679           }
4680           iprot.readFieldEnd();
4681         }
4682         iprot.readStructEnd();
4683 
4684         // check for required fields of primitive type, which can't be checked in the validate method
4685         struct.validate();
4686       }
4687 
4688       public void write(org.apache.thrift.protocol.TProtocol oprot, startScan_result struct) throws org.apache.thrift.TException {
4689         struct.validate();
4690 
4691         oprot.writeStructBegin(STRUCT_DESC);
4692         if (struct.success != null) {
4693           oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
4694           struct.success.write(oprot);
4695           oprot.writeFieldEnd();
4696         }
4697         if (struct.sec != null) {
4698           oprot.writeFieldBegin(SEC_FIELD_DESC);
4699           struct.sec.write(oprot);
4700           oprot.writeFieldEnd();
4701         }
4702         if (struct.nste != null) {
4703           oprot.writeFieldBegin(NSTE_FIELD_DESC);
4704           struct.nste.write(oprot);
4705           oprot.writeFieldEnd();
4706         }
4707         if (struct.tmfe != null) {
4708           oprot.writeFieldBegin(TMFE_FIELD_DESC);
4709           struct.tmfe.write(oprot);
4710           oprot.writeFieldEnd();
4711         }
4712         oprot.writeFieldStop();
4713         oprot.writeStructEnd();
4714       }
4715 
4716     }
4717 
4718     private static class startScan_resultTupleSchemeFactory implements SchemeFactory {
4719       public startScan_resultTupleScheme getScheme() {
4720         return new startScan_resultTupleScheme();
4721       }
4722     }
4723 
4724     private static class startScan_resultTupleScheme extends TupleScheme<startScan_result> {
4725 
4726       @Override
4727       public void write(org.apache.thrift.protocol.TProtocol prot, startScan_result struct) throws org.apache.thrift.TException {
4728         TTupleProtocol oprot = (TTupleProtocol) prot;
4729         BitSet optionals = new BitSet();
4730         if (struct.isSetSuccess()) {
4731           optionals.set(0);
4732         }
4733         if (struct.isSetSec()) {
4734           optionals.set(1);
4735         }
4736         if (struct.isSetNste()) {
4737           optionals.set(2);
4738         }
4739         if (struct.isSetTmfe()) {
4740           optionals.set(3);
4741         }
4742         oprot.writeBitSet(optionals, 4);
4743         if (struct.isSetSuccess()) {
4744           struct.success.write(oprot);
4745         }
4746         if (struct.isSetSec()) {
4747           struct.sec.write(oprot);
4748         }
4749         if (struct.isSetNste()) {
4750           struct.nste.write(oprot);
4751         }
4752         if (struct.isSetTmfe()) {
4753           struct.tmfe.write(oprot);
4754         }
4755       }
4756 
4757       @Override
4758       public void read(org.apache.thrift.protocol.TProtocol prot, startScan_result struct) throws org.apache.thrift.TException {
4759         TTupleProtocol iprot = (TTupleProtocol) prot;
4760         BitSet incoming = iprot.readBitSet(4);
4761         if (incoming.get(0)) {
4762           struct.success = new org.apache.accumulo.core.data.thrift.InitialScan();
4763           struct.success.read(iprot);
4764           struct.setSuccessIsSet(true);
4765         }
4766         if (incoming.get(1)) {
4767           struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
4768           struct.sec.read(iprot);
4769           struct.setSecIsSet(true);
4770         }
4771         if (incoming.get(2)) {
4772           struct.nste = new NotServingTabletException();
4773           struct.nste.read(iprot);
4774           struct.setNsteIsSet(true);
4775         }
4776         if (incoming.get(3)) {
4777           struct.tmfe = new TooManyFilesException();
4778           struct.tmfe.read(iprot);
4779           struct.setTmfeIsSet(true);
4780         }
4781       }
4782     }
4783 
4784   }
4785 
4786   public static class continueScan_args implements org.apache.thrift.TBase<continueScan_args, continueScan_args._Fields>, java.io.Serializable, Cloneable   {
4787     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("continueScan_args");
4788 
4789     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);
4790     private static final org.apache.thrift.protocol.TField SCAN_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("scanID", org.apache.thrift.protocol.TType.I64, (short)1);
4791 
4792     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
4793     static {
4794       schemes.put(StandardScheme.class, new continueScan_argsStandardSchemeFactory());
4795       schemes.put(TupleScheme.class, new continueScan_argsTupleSchemeFactory());
4796     }
4797 
4798     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
4799     public long scanID; // required
4800 
4801     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
4802     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
4803       TINFO((short)2, "tinfo"),
4804       SCAN_ID((short)1, "scanID");
4805 
4806       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
4807 
4808       static {
4809         for (_Fields field : EnumSet.allOf(_Fields.class)) {
4810           byName.put(field.getFieldName(), field);
4811         }
4812       }
4813 
4814       /**
4815        * Find the _Fields constant that matches fieldId, or null if its not found.
4816        */
4817       public static _Fields findByThriftId(int fieldId) {
4818         switch(fieldId) {
4819           case 2: // TINFO
4820             return TINFO;
4821           case 1: // SCAN_ID
4822             return SCAN_ID;
4823           default:
4824             return null;
4825         }
4826       }
4827 
4828       /**
4829        * Find the _Fields constant that matches fieldId, throwing an exception
4830        * if it is not found.
4831        */
4832       public static _Fields findByThriftIdOrThrow(int fieldId) {
4833         _Fields fields = findByThriftId(fieldId);
4834         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
4835         return fields;
4836       }
4837 
4838       /**
4839        * Find the _Fields constant that matches name, or null if its not found.
4840        */
4841       public static _Fields findByName(String name) {
4842         return byName.get(name);
4843       }
4844 
4845       private final short _thriftId;
4846       private final String _fieldName;
4847 
4848       _Fields(short thriftId, String fieldName) {
4849         _thriftId = thriftId;
4850         _fieldName = fieldName;
4851       }
4852 
4853       public short getThriftFieldId() {
4854         return _thriftId;
4855       }
4856 
4857       public String getFieldName() {
4858         return _fieldName;
4859       }
4860     }
4861 
4862     // isset id assignments
4863     private static final int __SCANID_ISSET_ID = 0;
4864     private byte __isset_bitfield = 0;
4865     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
4866     static {
4867       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
4868       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
4869           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
4870       tmpMap.put(_Fields.SCAN_ID, new org.apache.thrift.meta_data.FieldMetaData("scanID", org.apache.thrift.TFieldRequirementType.DEFAULT, 
4871           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64          , "ScanID")));
4872       metaDataMap = Collections.unmodifiableMap(tmpMap);
4873       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(continueScan_args.class, metaDataMap);
4874     }
4875 
4876     public continueScan_args() {
4877     }
4878 
4879     public continueScan_args(
4880       org.apache.accumulo.trace.thrift.TInfo tinfo,
4881       long scanID)
4882     {
4883       this();
4884       this.tinfo = tinfo;
4885       this.scanID = scanID;
4886       setScanIDIsSet(true);
4887     }
4888 
4889     /**
4890      * Performs a deep copy on <i>other</i>.
4891      */
4892     public continueScan_args(continueScan_args other) {
4893       __isset_bitfield = other.__isset_bitfield;
4894       if (other.isSetTinfo()) {
4895         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
4896       }
4897       this.scanID = other.scanID;
4898     }
4899 
4900     public continueScan_args deepCopy() {
4901       return new continueScan_args(this);
4902     }
4903 
4904     @Override
4905     public void clear() {
4906       this.tinfo = null;
4907       setScanIDIsSet(false);
4908       this.scanID = 0;
4909     }
4910 
4911     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
4912       return this.tinfo;
4913     }
4914 
4915     public continueScan_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
4916       this.tinfo = tinfo;
4917       return this;
4918     }
4919 
4920     public void unsetTinfo() {
4921       this.tinfo = null;
4922     }
4923 
4924     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
4925     public boolean isSetTinfo() {
4926       return this.tinfo != null;
4927     }
4928 
4929     public void setTinfoIsSet(boolean value) {
4930       if (!value) {
4931         this.tinfo = null;
4932       }
4933     }
4934 
4935     public long getScanID() {
4936       return this.scanID;
4937     }
4938 
4939     public continueScan_args setScanID(long scanID) {
4940       this.scanID = scanID;
4941       setScanIDIsSet(true);
4942       return this;
4943     }
4944 
4945     public void unsetScanID() {
4946       __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SCANID_ISSET_ID);
4947     }
4948 
4949     /** Returns true if field scanID is set (has been assigned a value) and false otherwise */
4950     public boolean isSetScanID() {
4951       return EncodingUtils.testBit(__isset_bitfield, __SCANID_ISSET_ID);
4952     }
4953 
4954     public void setScanIDIsSet(boolean value) {
4955       __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SCANID_ISSET_ID, value);
4956     }
4957 
4958     public void setFieldValue(_Fields field, Object value) {
4959       switch (field) {
4960       case TINFO:
4961         if (value == null) {
4962           unsetTinfo();
4963         } else {
4964           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
4965         }
4966         break;
4967 
4968       case SCAN_ID:
4969         if (value == null) {
4970           unsetScanID();
4971         } else {
4972           setScanID((Long)value);
4973         }
4974         break;
4975 
4976       }
4977     }
4978 
4979     public Object getFieldValue(_Fields field) {
4980       switch (field) {
4981       case TINFO:
4982         return getTinfo();
4983 
4984       case SCAN_ID:
4985         return Long.valueOf(getScanID());
4986 
4987       }
4988       throw new IllegalStateException();
4989     }
4990 
4991     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
4992     public boolean isSet(_Fields field) {
4993       if (field == null) {
4994         throw new IllegalArgumentException();
4995       }
4996 
4997       switch (field) {
4998       case TINFO:
4999         return isSetTinfo();
5000       case SCAN_ID:
5001         return isSetScanID();
5002       }
5003       throw new IllegalStateException();
5004     }
5005 
5006     @Override
5007     public boolean equals(Object that) {
5008       if (that == null)
5009         return false;
5010       if (that instanceof continueScan_args)
5011         return this.equals((continueScan_args)that);
5012       return false;
5013     }
5014 
5015     public boolean equals(continueScan_args that) {
5016       if (that == null)
5017         return false;
5018 
5019       boolean this_present_tinfo = true && this.isSetTinfo();
5020       boolean that_present_tinfo = true && that.isSetTinfo();
5021       if (this_present_tinfo || that_present_tinfo) {
5022         if (!(this_present_tinfo && that_present_tinfo))
5023           return false;
5024         if (!this.tinfo.equals(that.tinfo))
5025           return false;
5026       }
5027 
5028       boolean this_present_scanID = true;
5029       boolean that_present_scanID = true;
5030       if (this_present_scanID || that_present_scanID) {
5031         if (!(this_present_scanID && that_present_scanID))
5032           return false;
5033         if (this.scanID != that.scanID)
5034           return false;
5035       }
5036 
5037       return true;
5038     }
5039 
5040     @Override
5041     public int hashCode() {
5042       return 0;
5043     }
5044 
5045     public int compareTo(continueScan_args other) {
5046       if (!getClass().equals(other.getClass())) {
5047         return getClass().getName().compareTo(other.getClass().getName());
5048       }
5049 
5050       int lastComparison = 0;
5051       continueScan_args typedOther = (continueScan_args)other;
5052 
5053       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
5054       if (lastComparison != 0) {
5055         return lastComparison;
5056       }
5057       if (isSetTinfo()) {
5058         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
5059         if (lastComparison != 0) {
5060           return lastComparison;
5061         }
5062       }
5063       lastComparison = Boolean.valueOf(isSetScanID()).compareTo(typedOther.isSetScanID());
5064       if (lastComparison != 0) {
5065         return lastComparison;
5066       }
5067       if (isSetScanID()) {
5068         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.scanID, typedOther.scanID);
5069         if (lastComparison != 0) {
5070           return lastComparison;
5071         }
5072       }
5073       return 0;
5074     }
5075 
5076     public _Fields fieldForId(int fieldId) {
5077       return _Fields.findByThriftId(fieldId);
5078     }
5079 
5080     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
5081       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
5082     }
5083 
5084     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
5085       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
5086     }
5087 
5088     @Override
5089     public String toString() {
5090       StringBuilder sb = new StringBuilder("continueScan_args(");
5091       boolean first = true;
5092 
5093       sb.append("tinfo:");
5094       if (this.tinfo == null) {
5095         sb.append("null");
5096       } else {
5097         sb.append(this.tinfo);
5098       }
5099       first = false;
5100       if (!first) sb.append(", ");
5101       sb.append("scanID:");
5102       sb.append(this.scanID);
5103       first = false;
5104       sb.append(")");
5105       return sb.toString();
5106     }
5107 
5108     public void validate() throws org.apache.thrift.TException {
5109       // check for required fields
5110       // check for sub-struct validity
5111       if (tinfo != null) {
5112         tinfo.validate();
5113       }
5114     }
5115 
5116     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
5117       try {
5118         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
5119       } catch (org.apache.thrift.TException te) {
5120         throw new java.io.IOException(te);
5121       }
5122     }
5123 
5124     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
5125       try {
5126         // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
5127         __isset_bitfield = 0;
5128         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
5129       } catch (org.apache.thrift.TException te) {
5130         throw new java.io.IOException(te);
5131       }
5132     }
5133 
5134     private static class continueScan_argsStandardSchemeFactory implements SchemeFactory {
5135       public continueScan_argsStandardScheme getScheme() {
5136         return new continueScan_argsStandardScheme();
5137       }
5138     }
5139 
5140     private static class continueScan_argsStandardScheme extends StandardScheme<continueScan_args> {
5141 
5142       public void read(org.apache.thrift.protocol.TProtocol iprot, continueScan_args struct) throws org.apache.thrift.TException {
5143         org.apache.thrift.protocol.TField schemeField;
5144         iprot.readStructBegin();
5145         while (true)
5146         {
5147           schemeField = iprot.readFieldBegin();
5148           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
5149             break;
5150           }
5151           switch (schemeField.id) {
5152             case 2: // TINFO
5153               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
5154                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
5155                 struct.tinfo.read(iprot);
5156                 struct.setTinfoIsSet(true);
5157               } else { 
5158                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
5159               }
5160               break;
5161             case 1: // SCAN_ID
5162               if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
5163                 struct.scanID = iprot.readI64();
5164                 struct.setScanIDIsSet(true);
5165               } else { 
5166                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
5167               }
5168               break;
5169             default:
5170               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
5171           }
5172           iprot.readFieldEnd();
5173         }
5174         iprot.readStructEnd();
5175 
5176         // check for required fields of primitive type, which can't be checked in the validate method
5177         struct.validate();
5178       }
5179 
5180       public void write(org.apache.thrift.protocol.TProtocol oprot, continueScan_args struct) throws org.apache.thrift.TException {
5181         struct.validate();
5182 
5183         oprot.writeStructBegin(STRUCT_DESC);
5184         oprot.writeFieldBegin(SCAN_ID_FIELD_DESC);
5185         oprot.writeI64(struct.scanID);
5186         oprot.writeFieldEnd();
5187         if (struct.tinfo != null) {
5188           oprot.writeFieldBegin(TINFO_FIELD_DESC);
5189           struct.tinfo.write(oprot);
5190           oprot.writeFieldEnd();
5191         }
5192         oprot.writeFieldStop();
5193         oprot.writeStructEnd();
5194       }
5195 
5196     }
5197 
5198     private static class continueScan_argsTupleSchemeFactory implements SchemeFactory {
5199       public continueScan_argsTupleScheme getScheme() {
5200         return new continueScan_argsTupleScheme();
5201       }
5202     }
5203 
5204     private static class continueScan_argsTupleScheme extends TupleScheme<continueScan_args> {
5205 
5206       @Override
5207       public void write(org.apache.thrift.protocol.TProtocol prot, continueScan_args struct) throws org.apache.thrift.TException {
5208         TTupleProtocol oprot = (TTupleProtocol) prot;
5209         BitSet optionals = new BitSet();
5210         if (struct.isSetTinfo()) {
5211           optionals.set(0);
5212         }
5213         if (struct.isSetScanID()) {
5214           optionals.set(1);
5215         }
5216         oprot.writeBitSet(optionals, 2);
5217         if (struct.isSetTinfo()) {
5218           struct.tinfo.write(oprot);
5219         }
5220         if (struct.isSetScanID()) {
5221           oprot.writeI64(struct.scanID);
5222         }
5223       }
5224 
5225       @Override
5226       public void read(org.apache.thrift.protocol.TProtocol prot, continueScan_args struct) throws org.apache.thrift.TException {
5227         TTupleProtocol iprot = (TTupleProtocol) prot;
5228         BitSet incoming = iprot.readBitSet(2);
5229         if (incoming.get(0)) {
5230           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
5231           struct.tinfo.read(iprot);
5232           struct.setTinfoIsSet(true);
5233         }
5234         if (incoming.get(1)) {
5235           struct.scanID = iprot.readI64();
5236           struct.setScanIDIsSet(true);
5237         }
5238       }
5239     }
5240 
5241   }
5242 
5243   public static class continueScan_result implements org.apache.thrift.TBase<continueScan_result, continueScan_result._Fields>, java.io.Serializable, Cloneable   {
5244     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("continueScan_result");
5245 
5246     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);
5247     private static final org.apache.thrift.protocol.TField NSSI_FIELD_DESC = new org.apache.thrift.protocol.TField("nssi", org.apache.thrift.protocol.TType.STRUCT, (short)1);
5248     private static final org.apache.thrift.protocol.TField NSTE_FIELD_DESC = new org.apache.thrift.protocol.TField("nste", org.apache.thrift.protocol.TType.STRUCT, (short)2);
5249     private static final org.apache.thrift.protocol.TField TMFE_FIELD_DESC = new org.apache.thrift.protocol.TField("tmfe", org.apache.thrift.protocol.TType.STRUCT, (short)3);
5250 
5251     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
5252     static {
5253       schemes.put(StandardScheme.class, new continueScan_resultStandardSchemeFactory());
5254       schemes.put(TupleScheme.class, new continueScan_resultTupleSchemeFactory());
5255     }
5256 
5257     public org.apache.accumulo.core.data.thrift.ScanResult success; // required
5258     public NoSuchScanIDException nssi; // required
5259     public NotServingTabletException nste; // required
5260     public TooManyFilesException tmfe; // required
5261 
5262     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
5263     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
5264       SUCCESS((short)0, "success"),
5265       NSSI((short)1, "nssi"),
5266       NSTE((short)2, "nste"),
5267       TMFE((short)3, "tmfe");
5268 
5269       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
5270 
5271       static {
5272         for (_Fields field : EnumSet.allOf(_Fields.class)) {
5273           byName.put(field.getFieldName(), field);
5274         }
5275       }
5276 
5277       /**
5278        * Find the _Fields constant that matches fieldId, or null if its not found.
5279        */
5280       public static _Fields findByThriftId(int fieldId) {
5281         switch(fieldId) {
5282           case 0: // SUCCESS
5283             return SUCCESS;
5284           case 1: // NSSI
5285             return NSSI;
5286           case 2: // NSTE
5287             return NSTE;
5288           case 3: // TMFE
5289             return TMFE;
5290           default:
5291             return null;
5292         }
5293       }
5294 
5295       /**
5296        * Find the _Fields constant that matches fieldId, throwing an exception
5297        * if it is not found.
5298        */
5299       public static _Fields findByThriftIdOrThrow(int fieldId) {
5300         _Fields fields = findByThriftId(fieldId);
5301         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
5302         return fields;
5303       }
5304 
5305       /**
5306        * Find the _Fields constant that matches name, or null if its not found.
5307        */
5308       public static _Fields findByName(String name) {
5309         return byName.get(name);
5310       }
5311 
5312       private final short _thriftId;
5313       private final String _fieldName;
5314 
5315       _Fields(short thriftId, String fieldName) {
5316         _thriftId = thriftId;
5317         _fieldName = fieldName;
5318       }
5319 
5320       public short getThriftFieldId() {
5321         return _thriftId;
5322       }
5323 
5324       public String getFieldName() {
5325         return _fieldName;
5326       }
5327     }
5328 
5329     // isset id assignments
5330     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
5331     static {
5332       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
5333       tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
5334           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.ScanResult.class)));
5335       tmpMap.put(_Fields.NSSI, new org.apache.thrift.meta_data.FieldMetaData("nssi", org.apache.thrift.TFieldRequirementType.DEFAULT, 
5336           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
5337       tmpMap.put(_Fields.NSTE, new org.apache.thrift.meta_data.FieldMetaData("nste", org.apache.thrift.TFieldRequirementType.DEFAULT, 
5338           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
5339       tmpMap.put(_Fields.TMFE, new org.apache.thrift.meta_data.FieldMetaData("tmfe", org.apache.thrift.TFieldRequirementType.DEFAULT, 
5340           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
5341       metaDataMap = Collections.unmodifiableMap(tmpMap);
5342       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(continueScan_result.class, metaDataMap);
5343     }
5344 
5345     public continueScan_result() {
5346     }
5347 
5348     public continueScan_result(
5349       org.apache.accumulo.core.data.thrift.ScanResult success,
5350       NoSuchScanIDException nssi,
5351       NotServingTabletException nste,
5352       TooManyFilesException tmfe)
5353     {
5354       this();
5355       this.success = success;
5356       this.nssi = nssi;
5357       this.nste = nste;
5358       this.tmfe = tmfe;
5359     }
5360 
5361     /**
5362      * Performs a deep copy on <i>other</i>.
5363      */
5364     public continueScan_result(continueScan_result other) {
5365       if (other.isSetSuccess()) {
5366         this.success = new org.apache.accumulo.core.data.thrift.ScanResult(other.success);
5367       }
5368       if (other.isSetNssi()) {
5369         this.nssi = new NoSuchScanIDException(other.nssi);
5370       }
5371       if (other.isSetNste()) {
5372         this.nste = new NotServingTabletException(other.nste);
5373       }
5374       if (other.isSetTmfe()) {
5375         this.tmfe = new TooManyFilesException(other.tmfe);
5376       }
5377     }
5378 
5379     public continueScan_result deepCopy() {
5380       return new continueScan_result(this);
5381     }
5382 
5383     @Override
5384     public void clear() {
5385       this.success = null;
5386       this.nssi = null;
5387       this.nste = null;
5388       this.tmfe = null;
5389     }
5390 
5391     public org.apache.accumulo.core.data.thrift.ScanResult getSuccess() {
5392       return this.success;
5393     }
5394 
5395     public continueScan_result setSuccess(org.apache.accumulo.core.data.thrift.ScanResult success) {
5396       this.success = success;
5397       return this;
5398     }
5399 
5400     public void unsetSuccess() {
5401       this.success = null;
5402     }
5403 
5404     /** Returns true if field success is set (has been assigned a value) and false otherwise */
5405     public boolean isSetSuccess() {
5406       return this.success != null;
5407     }
5408 
5409     public void setSuccessIsSet(boolean value) {
5410       if (!value) {
5411         this.success = null;
5412       }
5413     }
5414 
5415     public NoSuchScanIDException getNssi() {
5416       return this.nssi;
5417     }
5418 
5419     public continueScan_result setNssi(NoSuchScanIDException nssi) {
5420       this.nssi = nssi;
5421       return this;
5422     }
5423 
5424     public void unsetNssi() {
5425       this.nssi = null;
5426     }
5427 
5428     /** Returns true if field nssi is set (has been assigned a value) and false otherwise */
5429     public boolean isSetNssi() {
5430       return this.nssi != null;
5431     }
5432 
5433     public void setNssiIsSet(boolean value) {
5434       if (!value) {
5435         this.nssi = null;
5436       }
5437     }
5438 
5439     public NotServingTabletException getNste() {
5440       return this.nste;
5441     }
5442 
5443     public continueScan_result setNste(NotServingTabletException nste) {
5444       this.nste = nste;
5445       return this;
5446     }
5447 
5448     public void unsetNste() {
5449       this.nste = null;
5450     }
5451 
5452     /** Returns true if field nste is set (has been assigned a value) and false otherwise */
5453     public boolean isSetNste() {
5454       return this.nste != null;
5455     }
5456 
5457     public void setNsteIsSet(boolean value) {
5458       if (!value) {
5459         this.nste = null;
5460       }
5461     }
5462 
5463     public TooManyFilesException getTmfe() {
5464       return this.tmfe;
5465     }
5466 
5467     public continueScan_result setTmfe(TooManyFilesException tmfe) {
5468       this.tmfe = tmfe;
5469       return this;
5470     }
5471 
5472     public void unsetTmfe() {
5473       this.tmfe = null;
5474     }
5475 
5476     /** Returns true if field tmfe is set (has been assigned a value) and false otherwise */
5477     public boolean isSetTmfe() {
5478       return this.tmfe != null;
5479     }
5480 
5481     public void setTmfeIsSet(boolean value) {
5482       if (!value) {
5483         this.tmfe = null;
5484       }
5485     }
5486 
5487     public void setFieldValue(_Fields field, Object value) {
5488       switch (field) {
5489       case SUCCESS:
5490         if (value == null) {
5491           unsetSuccess();
5492         } else {
5493           setSuccess((org.apache.accumulo.core.data.thrift.ScanResult)value);
5494         }
5495         break;
5496 
5497       case NSSI:
5498         if (value == null) {
5499           unsetNssi();
5500         } else {
5501           setNssi((NoSuchScanIDException)value);
5502         }
5503         break;
5504 
5505       case NSTE:
5506         if (value == null) {
5507           unsetNste();
5508         } else {
5509           setNste((NotServingTabletException)value);
5510         }
5511         break;
5512 
5513       case TMFE:
5514         if (value == null) {
5515           unsetTmfe();
5516         } else {
5517           setTmfe((TooManyFilesException)value);
5518         }
5519         break;
5520 
5521       }
5522     }
5523 
5524     public Object getFieldValue(_Fields field) {
5525       switch (field) {
5526       case SUCCESS:
5527         return getSuccess();
5528 
5529       case NSSI:
5530         return getNssi();
5531 
5532       case NSTE:
5533         return getNste();
5534 
5535       case TMFE:
5536         return getTmfe();
5537 
5538       }
5539       throw new IllegalStateException();
5540     }
5541 
5542     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
5543     public boolean isSet(_Fields field) {
5544       if (field == null) {
5545         throw new IllegalArgumentException();
5546       }
5547 
5548       switch (field) {
5549       case SUCCESS:
5550         return isSetSuccess();
5551       case NSSI:
5552         return isSetNssi();
5553       case NSTE:
5554         return isSetNste();
5555       case TMFE:
5556         return isSetTmfe();
5557       }
5558       throw new IllegalStateException();
5559     }
5560 
5561     @Override
5562     public boolean equals(Object that) {
5563       if (that == null)
5564         return false;
5565       if (that instanceof continueScan_result)
5566         return this.equals((continueScan_result)that);
5567       return false;
5568     }
5569 
5570     public boolean equals(continueScan_result that) {
5571       if (that == null)
5572         return false;
5573 
5574       boolean this_present_success = true && this.isSetSuccess();
5575       boolean that_present_success = true && that.isSetSuccess();
5576       if (this_present_success || that_present_success) {
5577         if (!(this_present_success && that_present_success))
5578           return false;
5579         if (!this.success.equals(that.success))
5580           return false;
5581       }
5582 
5583       boolean this_present_nssi = true && this.isSetNssi();
5584       boolean that_present_nssi = true && that.isSetNssi();
5585       if (this_present_nssi || that_present_nssi) {
5586         if (!(this_present_nssi && that_present_nssi))
5587           return false;
5588         if (!this.nssi.equals(that.nssi))
5589           return false;
5590       }
5591 
5592       boolean this_present_nste = true && this.isSetNste();
5593       boolean that_present_nste = true && that.isSetNste();
5594       if (this_present_nste || that_present_nste) {
5595         if (!(this_present_nste && that_present_nste))
5596           return false;
5597         if (!this.nste.equals(that.nste))
5598           return false;
5599       }
5600 
5601       boolean this_present_tmfe = true && this.isSetTmfe();
5602       boolean that_present_tmfe = true && that.isSetTmfe();
5603       if (this_present_tmfe || that_present_tmfe) {
5604         if (!(this_present_tmfe && that_present_tmfe))
5605           return false;
5606         if (!this.tmfe.equals(that.tmfe))
5607           return false;
5608       }
5609 
5610       return true;
5611     }
5612 
5613     @Override
5614     public int hashCode() {
5615       return 0;
5616     }
5617 
5618     public int compareTo(continueScan_result other) {
5619       if (!getClass().equals(other.getClass())) {
5620         return getClass().getName().compareTo(other.getClass().getName());
5621       }
5622 
5623       int lastComparison = 0;
5624       continueScan_result typedOther = (continueScan_result)other;
5625 
5626       lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
5627       if (lastComparison != 0) {
5628         return lastComparison;
5629       }
5630       if (isSetSuccess()) {
5631         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
5632         if (lastComparison != 0) {
5633           return lastComparison;
5634         }
5635       }
5636       lastComparison = Boolean.valueOf(isSetNssi()).compareTo(typedOther.isSetNssi());
5637       if (lastComparison != 0) {
5638         return lastComparison;
5639       }
5640       if (isSetNssi()) {
5641         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nssi, typedOther.nssi);
5642         if (lastComparison != 0) {
5643           return lastComparison;
5644         }
5645       }
5646       lastComparison = Boolean.valueOf(isSetNste()).compareTo(typedOther.isSetNste());
5647       if (lastComparison != 0) {
5648         return lastComparison;
5649       }
5650       if (isSetNste()) {
5651         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nste, typedOther.nste);
5652         if (lastComparison != 0) {
5653           return lastComparison;
5654         }
5655       }
5656       lastComparison = Boolean.valueOf(isSetTmfe()).compareTo(typedOther.isSetTmfe());
5657       if (lastComparison != 0) {
5658         return lastComparison;
5659       }
5660       if (isSetTmfe()) {
5661         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tmfe, typedOther.tmfe);
5662         if (lastComparison != 0) {
5663           return lastComparison;
5664         }
5665       }
5666       return 0;
5667     }
5668 
5669     public _Fields fieldForId(int fieldId) {
5670       return _Fields.findByThriftId(fieldId);
5671     }
5672 
5673     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
5674       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
5675     }
5676 
5677     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
5678       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
5679       }
5680 
5681     @Override
5682     public String toString() {
5683       StringBuilder sb = new StringBuilder("continueScan_result(");
5684       boolean first = true;
5685 
5686       sb.append("success:");
5687       if (this.success == null) {
5688         sb.append("null");
5689       } else {
5690         sb.append(this.success);
5691       }
5692       first = false;
5693       if (!first) sb.append(", ");
5694       sb.append("nssi:");
5695       if (this.nssi == null) {
5696         sb.append("null");
5697       } else {
5698         sb.append(this.nssi);
5699       }
5700       first = false;
5701       if (!first) sb.append(", ");
5702       sb.append("nste:");
5703       if (this.nste == null) {
5704         sb.append("null");
5705       } else {
5706         sb.append(this.nste);
5707       }
5708       first = false;
5709       if (!first) sb.append(", ");
5710       sb.append("tmfe:");
5711       if (this.tmfe == null) {
5712         sb.append("null");
5713       } else {
5714         sb.append(this.tmfe);
5715       }
5716       first = false;
5717       sb.append(")");
5718       return sb.toString();
5719     }
5720 
5721     public void validate() throws org.apache.thrift.TException {
5722       // check for required fields
5723       // check for sub-struct validity
5724       if (success != null) {
5725         success.validate();
5726       }
5727     }
5728 
5729     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
5730       try {
5731         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
5732       } catch (org.apache.thrift.TException te) {
5733         throw new java.io.IOException(te);
5734       }
5735     }
5736 
5737     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
5738       try {
5739         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
5740       } catch (org.apache.thrift.TException te) {
5741         throw new java.io.IOException(te);
5742       }
5743     }
5744 
5745     private static class continueScan_resultStandardSchemeFactory implements SchemeFactory {
5746       public continueScan_resultStandardScheme getScheme() {
5747         return new continueScan_resultStandardScheme();
5748       }
5749     }
5750 
5751     private static class continueScan_resultStandardScheme extends StandardScheme<continueScan_result> {
5752 
5753       public void read(org.apache.thrift.protocol.TProtocol iprot, continueScan_result struct) throws org.apache.thrift.TException {
5754         org.apache.thrift.protocol.TField schemeField;
5755         iprot.readStructBegin();
5756         while (true)
5757         {
5758           schemeField = iprot.readFieldBegin();
5759           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
5760             break;
5761           }
5762           switch (schemeField.id) {
5763             case 0: // SUCCESS
5764               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
5765                 struct.success = new org.apache.accumulo.core.data.thrift.ScanResult();
5766                 struct.success.read(iprot);
5767                 struct.setSuccessIsSet(true);
5768               } else { 
5769                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
5770               }
5771               break;
5772             case 1: // NSSI
5773               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
5774                 struct.nssi = new NoSuchScanIDException();
5775                 struct.nssi.read(iprot);
5776                 struct.setNssiIsSet(true);
5777               } else { 
5778                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
5779               }
5780               break;
5781             case 2: // NSTE
5782               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
5783                 struct.nste = new NotServingTabletException();
5784                 struct.nste.read(iprot);
5785                 struct.setNsteIsSet(true);
5786               } else { 
5787                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
5788               }
5789               break;
5790             case 3: // TMFE
5791               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
5792                 struct.tmfe = new TooManyFilesException();
5793                 struct.tmfe.read(iprot);
5794                 struct.setTmfeIsSet(true);
5795               } else { 
5796                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
5797               }
5798               break;
5799             default:
5800               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
5801           }
5802           iprot.readFieldEnd();
5803         }
5804         iprot.readStructEnd();
5805 
5806         // check for required fields of primitive type, which can't be checked in the validate method
5807         struct.validate();
5808       }
5809 
5810       public void write(org.apache.thrift.protocol.TProtocol oprot, continueScan_result struct) throws org.apache.thrift.TException {
5811         struct.validate();
5812 
5813         oprot.writeStructBegin(STRUCT_DESC);
5814         if (struct.success != null) {
5815           oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
5816           struct.success.write(oprot);
5817           oprot.writeFieldEnd();
5818         }
5819         if (struct.nssi != null) {
5820           oprot.writeFieldBegin(NSSI_FIELD_DESC);
5821           struct.nssi.write(oprot);
5822           oprot.writeFieldEnd();
5823         }
5824         if (struct.nste != null) {
5825           oprot.writeFieldBegin(NSTE_FIELD_DESC);
5826           struct.nste.write(oprot);
5827           oprot.writeFieldEnd();
5828         }
5829         if (struct.tmfe != null) {
5830           oprot.writeFieldBegin(TMFE_FIELD_DESC);
5831           struct.tmfe.write(oprot);
5832           oprot.writeFieldEnd();
5833         }
5834         oprot.writeFieldStop();
5835         oprot.writeStructEnd();
5836       }
5837 
5838     }
5839 
5840     private static class continueScan_resultTupleSchemeFactory implements SchemeFactory {
5841       public continueScan_resultTupleScheme getScheme() {
5842         return new continueScan_resultTupleScheme();
5843       }
5844     }
5845 
5846     private static class continueScan_resultTupleScheme extends TupleScheme<continueScan_result> {
5847 
5848       @Override
5849       public void write(org.apache.thrift.protocol.TProtocol prot, continueScan_result struct) throws org.apache.thrift.TException {
5850         TTupleProtocol oprot = (TTupleProtocol) prot;
5851         BitSet optionals = new BitSet();
5852         if (struct.isSetSuccess()) {
5853           optionals.set(0);
5854         }
5855         if (struct.isSetNssi()) {
5856           optionals.set(1);
5857         }
5858         if (struct.isSetNste()) {
5859           optionals.set(2);
5860         }
5861         if (struct.isSetTmfe()) {
5862           optionals.set(3);
5863         }
5864         oprot.writeBitSet(optionals, 4);
5865         if (struct.isSetSuccess()) {
5866           struct.success.write(oprot);
5867         }
5868         if (struct.isSetNssi()) {
5869           struct.nssi.write(oprot);
5870         }
5871         if (struct.isSetNste()) {
5872           struct.nste.write(oprot);
5873         }
5874         if (struct.isSetTmfe()) {
5875           struct.tmfe.write(oprot);
5876         }
5877       }
5878 
5879       @Override
5880       public void read(org.apache.thrift.protocol.TProtocol prot, continueScan_result struct) throws org.apache.thrift.TException {
5881         TTupleProtocol iprot = (TTupleProtocol) prot;
5882         BitSet incoming = iprot.readBitSet(4);
5883         if (incoming.get(0)) {
5884           struct.success = new org.apache.accumulo.core.data.thrift.ScanResult();
5885           struct.success.read(iprot);
5886           struct.setSuccessIsSet(true);
5887         }
5888         if (incoming.get(1)) {
5889           struct.nssi = new NoSuchScanIDException();
5890           struct.nssi.read(iprot);
5891           struct.setNssiIsSet(true);
5892         }
5893         if (incoming.get(2)) {
5894           struct.nste = new NotServingTabletException();
5895           struct.nste.read(iprot);
5896           struct.setNsteIsSet(true);
5897         }
5898         if (incoming.get(3)) {
5899           struct.tmfe = new TooManyFilesException();
5900           struct.tmfe.read(iprot);
5901           struct.setTmfeIsSet(true);
5902         }
5903       }
5904     }
5905 
5906   }
5907 
5908   public static class closeScan_args implements org.apache.thrift.TBase<closeScan_args, closeScan_args._Fields>, java.io.Serializable, Cloneable   {
5909     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("closeScan_args");
5910 
5911     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);
5912     private static final org.apache.thrift.protocol.TField SCAN_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("scanID", org.apache.thrift.protocol.TType.I64, (short)1);
5913 
5914     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
5915     static {
5916       schemes.put(StandardScheme.class, new closeScan_argsStandardSchemeFactory());
5917       schemes.put(TupleScheme.class, new closeScan_argsTupleSchemeFactory());
5918     }
5919 
5920     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
5921     public long scanID; // required
5922 
5923     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
5924     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
5925       TINFO((short)2, "tinfo"),
5926       SCAN_ID((short)1, "scanID");
5927 
5928       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
5929 
5930       static {
5931         for (_Fields field : EnumSet.allOf(_Fields.class)) {
5932           byName.put(field.getFieldName(), field);
5933         }
5934       }
5935 
5936       /**
5937        * Find the _Fields constant that matches fieldId, or null if its not found.
5938        */
5939       public static _Fields findByThriftId(int fieldId) {
5940         switch(fieldId) {
5941           case 2: // TINFO
5942             return TINFO;
5943           case 1: // SCAN_ID
5944             return SCAN_ID;
5945           default:
5946             return null;
5947         }
5948       }
5949 
5950       /**
5951        * Find the _Fields constant that matches fieldId, throwing an exception
5952        * if it is not found.
5953        */
5954       public static _Fields findByThriftIdOrThrow(int fieldId) {
5955         _Fields fields = findByThriftId(fieldId);
5956         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
5957         return fields;
5958       }
5959 
5960       /**
5961        * Find the _Fields constant that matches name, or null if its not found.
5962        */
5963       public static _Fields findByName(String name) {
5964         return byName.get(name);
5965       }
5966 
5967       private final short _thriftId;
5968       private final String _fieldName;
5969 
5970       _Fields(short thriftId, String fieldName) {
5971         _thriftId = thriftId;
5972         _fieldName = fieldName;
5973       }
5974 
5975       public short getThriftFieldId() {
5976         return _thriftId;
5977       }
5978 
5979       public String getFieldName() {
5980         return _fieldName;
5981       }
5982     }
5983 
5984     // isset id assignments
5985     private static final int __SCANID_ISSET_ID = 0;
5986     private byte __isset_bitfield = 0;
5987     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
5988     static {
5989       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
5990       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
5991           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
5992       tmpMap.put(_Fields.SCAN_ID, new org.apache.thrift.meta_data.FieldMetaData("scanID", org.apache.thrift.TFieldRequirementType.DEFAULT, 
5993           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64          , "ScanID")));
5994       metaDataMap = Collections.unmodifiableMap(tmpMap);
5995       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(closeScan_args.class, metaDataMap);
5996     }
5997 
5998     public closeScan_args() {
5999     }
6000 
6001     public closeScan_args(
6002       org.apache.accumulo.trace.thrift.TInfo tinfo,
6003       long scanID)
6004     {
6005       this();
6006       this.tinfo = tinfo;
6007       this.scanID = scanID;
6008       setScanIDIsSet(true);
6009     }
6010 
6011     /**
6012      * Performs a deep copy on <i>other</i>.
6013      */
6014     public closeScan_args(closeScan_args other) {
6015       __isset_bitfield = other.__isset_bitfield;
6016       if (other.isSetTinfo()) {
6017         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
6018       }
6019       this.scanID = other.scanID;
6020     }
6021 
6022     public closeScan_args deepCopy() {
6023       return new closeScan_args(this);
6024     }
6025 
6026     @Override
6027     public void clear() {
6028       this.tinfo = null;
6029       setScanIDIsSet(false);
6030       this.scanID = 0;
6031     }
6032 
6033     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
6034       return this.tinfo;
6035     }
6036 
6037     public closeScan_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
6038       this.tinfo = tinfo;
6039       return this;
6040     }
6041 
6042     public void unsetTinfo() {
6043       this.tinfo = null;
6044     }
6045 
6046     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
6047     public boolean isSetTinfo() {
6048       return this.tinfo != null;
6049     }
6050 
6051     public void setTinfoIsSet(boolean value) {
6052       if (!value) {
6053         this.tinfo = null;
6054       }
6055     }
6056 
6057     public long getScanID() {
6058       return this.scanID;
6059     }
6060 
6061     public closeScan_args setScanID(long scanID) {
6062       this.scanID = scanID;
6063       setScanIDIsSet(true);
6064       return this;
6065     }
6066 
6067     public void unsetScanID() {
6068       __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SCANID_ISSET_ID);
6069     }
6070 
6071     /** Returns true if field scanID is set (has been assigned a value) and false otherwise */
6072     public boolean isSetScanID() {
6073       return EncodingUtils.testBit(__isset_bitfield, __SCANID_ISSET_ID);
6074     }
6075 
6076     public void setScanIDIsSet(boolean value) {
6077       __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SCANID_ISSET_ID, value);
6078     }
6079 
6080     public void setFieldValue(_Fields field, Object value) {
6081       switch (field) {
6082       case TINFO:
6083         if (value == null) {
6084           unsetTinfo();
6085         } else {
6086           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
6087         }
6088         break;
6089 
6090       case SCAN_ID:
6091         if (value == null) {
6092           unsetScanID();
6093         } else {
6094           setScanID((Long)value);
6095         }
6096         break;
6097 
6098       }
6099     }
6100 
6101     public Object getFieldValue(_Fields field) {
6102       switch (field) {
6103       case TINFO:
6104         return getTinfo();
6105 
6106       case SCAN_ID:
6107         return Long.valueOf(getScanID());
6108 
6109       }
6110       throw new IllegalStateException();
6111     }
6112 
6113     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
6114     public boolean isSet(_Fields field) {
6115       if (field == null) {
6116         throw new IllegalArgumentException();
6117       }
6118 
6119       switch (field) {
6120       case TINFO:
6121         return isSetTinfo();
6122       case SCAN_ID:
6123         return isSetScanID();
6124       }
6125       throw new IllegalStateException();
6126     }
6127 
6128     @Override
6129     public boolean equals(Object that) {
6130       if (that == null)
6131         return false;
6132       if (that instanceof closeScan_args)
6133         return this.equals((closeScan_args)that);
6134       return false;
6135     }
6136 
6137     public boolean equals(closeScan_args that) {
6138       if (that == null)
6139         return false;
6140 
6141       boolean this_present_tinfo = true && this.isSetTinfo();
6142       boolean that_present_tinfo = true && that.isSetTinfo();
6143       if (this_present_tinfo || that_present_tinfo) {
6144         if (!(this_present_tinfo && that_present_tinfo))
6145           return false;
6146         if (!this.tinfo.equals(that.tinfo))
6147           return false;
6148       }
6149 
6150       boolean this_present_scanID = true;
6151       boolean that_present_scanID = true;
6152       if (this_present_scanID || that_present_scanID) {
6153         if (!(this_present_scanID && that_present_scanID))
6154           return false;
6155         if (this.scanID != that.scanID)
6156           return false;
6157       }
6158 
6159       return true;
6160     }
6161 
6162     @Override
6163     public int hashCode() {
6164       return 0;
6165     }
6166 
6167     public int compareTo(closeScan_args other) {
6168       if (!getClass().equals(other.getClass())) {
6169         return getClass().getName().compareTo(other.getClass().getName());
6170       }
6171 
6172       int lastComparison = 0;
6173       closeScan_args typedOther = (closeScan_args)other;
6174 
6175       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
6176       if (lastComparison != 0) {
6177         return lastComparison;
6178       }
6179       if (isSetTinfo()) {
6180         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
6181         if (lastComparison != 0) {
6182           return lastComparison;
6183         }
6184       }
6185       lastComparison = Boolean.valueOf(isSetScanID()).compareTo(typedOther.isSetScanID());
6186       if (lastComparison != 0) {
6187         return lastComparison;
6188       }
6189       if (isSetScanID()) {
6190         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.scanID, typedOther.scanID);
6191         if (lastComparison != 0) {
6192           return lastComparison;
6193         }
6194       }
6195       return 0;
6196     }
6197 
6198     public _Fields fieldForId(int fieldId) {
6199       return _Fields.findByThriftId(fieldId);
6200     }
6201 
6202     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
6203       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
6204     }
6205 
6206     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
6207       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
6208     }
6209 
6210     @Override
6211     public String toString() {
6212       StringBuilder sb = new StringBuilder("closeScan_args(");
6213       boolean first = true;
6214 
6215       sb.append("tinfo:");
6216       if (this.tinfo == null) {
6217         sb.append("null");
6218       } else {
6219         sb.append(this.tinfo);
6220       }
6221       first = false;
6222       if (!first) sb.append(", ");
6223       sb.append("scanID:");
6224       sb.append(this.scanID);
6225       first = false;
6226       sb.append(")");
6227       return sb.toString();
6228     }
6229 
6230     public void validate() throws org.apache.thrift.TException {
6231       // check for required fields
6232       // check for sub-struct validity
6233       if (tinfo != null) {
6234         tinfo.validate();
6235       }
6236     }
6237 
6238     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
6239       try {
6240         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
6241       } catch (org.apache.thrift.TException te) {
6242         throw new java.io.IOException(te);
6243       }
6244     }
6245 
6246     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
6247       try {
6248         // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
6249         __isset_bitfield = 0;
6250         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
6251       } catch (org.apache.thrift.TException te) {
6252         throw new java.io.IOException(te);
6253       }
6254     }
6255 
6256     private static class closeScan_argsStandardSchemeFactory implements SchemeFactory {
6257       public closeScan_argsStandardScheme getScheme() {
6258         return new closeScan_argsStandardScheme();
6259       }
6260     }
6261 
6262     private static class closeScan_argsStandardScheme extends StandardScheme<closeScan_args> {
6263 
6264       public void read(org.apache.thrift.protocol.TProtocol iprot, closeScan_args struct) throws org.apache.thrift.TException {
6265         org.apache.thrift.protocol.TField schemeField;
6266         iprot.readStructBegin();
6267         while (true)
6268         {
6269           schemeField = iprot.readFieldBegin();
6270           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
6271             break;
6272           }
6273           switch (schemeField.id) {
6274             case 2: // TINFO
6275               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
6276                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
6277                 struct.tinfo.read(iprot);
6278                 struct.setTinfoIsSet(true);
6279               } else { 
6280                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
6281               }
6282               break;
6283             case 1: // SCAN_ID
6284               if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
6285                 struct.scanID = iprot.readI64();
6286                 struct.setScanIDIsSet(true);
6287               } else { 
6288                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
6289               }
6290               break;
6291             default:
6292               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
6293           }
6294           iprot.readFieldEnd();
6295         }
6296         iprot.readStructEnd();
6297 
6298         // check for required fields of primitive type, which can't be checked in the validate method
6299         struct.validate();
6300       }
6301 
6302       public void write(org.apache.thrift.protocol.TProtocol oprot, closeScan_args struct) throws org.apache.thrift.TException {
6303         struct.validate();
6304 
6305         oprot.writeStructBegin(STRUCT_DESC);
6306         oprot.writeFieldBegin(SCAN_ID_FIELD_DESC);
6307         oprot.writeI64(struct.scanID);
6308         oprot.writeFieldEnd();
6309         if (struct.tinfo != null) {
6310           oprot.writeFieldBegin(TINFO_FIELD_DESC);
6311           struct.tinfo.write(oprot);
6312           oprot.writeFieldEnd();
6313         }
6314         oprot.writeFieldStop();
6315         oprot.writeStructEnd();
6316       }
6317 
6318     }
6319 
6320     private static class closeScan_argsTupleSchemeFactory implements SchemeFactory {
6321       public closeScan_argsTupleScheme getScheme() {
6322         return new closeScan_argsTupleScheme();
6323       }
6324     }
6325 
6326     private static class closeScan_argsTupleScheme extends TupleScheme<closeScan_args> {
6327 
6328       @Override
6329       public void write(org.apache.thrift.protocol.TProtocol prot, closeScan_args struct) throws org.apache.thrift.TException {
6330         TTupleProtocol oprot = (TTupleProtocol) prot;
6331         BitSet optionals = new BitSet();
6332         if (struct.isSetTinfo()) {
6333           optionals.set(0);
6334         }
6335         if (struct.isSetScanID()) {
6336           optionals.set(1);
6337         }
6338         oprot.writeBitSet(optionals, 2);
6339         if (struct.isSetTinfo()) {
6340           struct.tinfo.write(oprot);
6341         }
6342         if (struct.isSetScanID()) {
6343           oprot.writeI64(struct.scanID);
6344         }
6345       }
6346 
6347       @Override
6348       public void read(org.apache.thrift.protocol.TProtocol prot, closeScan_args struct) throws org.apache.thrift.TException {
6349         TTupleProtocol iprot = (TTupleProtocol) prot;
6350         BitSet incoming = iprot.readBitSet(2);
6351         if (incoming.get(0)) {
6352           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
6353           struct.tinfo.read(iprot);
6354           struct.setTinfoIsSet(true);
6355         }
6356         if (incoming.get(1)) {
6357           struct.scanID = iprot.readI64();
6358           struct.setScanIDIsSet(true);
6359         }
6360       }
6361     }
6362 
6363   }
6364 
6365   public static class startMultiScan_args implements org.apache.thrift.TBase<startMultiScan_args, startMultiScan_args._Fields>, java.io.Serializable, Cloneable   {
6366     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("startMultiScan_args");
6367 
6368     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)8);
6369     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);
6370     private static final org.apache.thrift.protocol.TField BATCH_FIELD_DESC = new org.apache.thrift.protocol.TField("batch", org.apache.thrift.protocol.TType.MAP, (short)2);
6371     private static final org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.thrift.protocol.TField("columns", org.apache.thrift.protocol.TType.LIST, (short)3);
6372     private static final org.apache.thrift.protocol.TField SSI_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("ssiList", org.apache.thrift.protocol.TType.LIST, (short)4);
6373     private static final org.apache.thrift.protocol.TField SSIO_FIELD_DESC = new org.apache.thrift.protocol.TField("ssio", org.apache.thrift.protocol.TType.MAP, (short)5);
6374     private static final org.apache.thrift.protocol.TField AUTHORIZATIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("authorizations", org.apache.thrift.protocol.TType.LIST, (short)6);
6375     private static final org.apache.thrift.protocol.TField WAIT_FOR_WRITES_FIELD_DESC = new org.apache.thrift.protocol.TField("waitForWrites", org.apache.thrift.protocol.TType.BOOL, (short)7);
6376 
6377     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
6378     static {
6379       schemes.put(StandardScheme.class, new startMultiScan_argsStandardSchemeFactory());
6380       schemes.put(TupleScheme.class, new startMultiScan_argsTupleSchemeFactory());
6381     }
6382 
6383     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
6384     public org.apache.accumulo.core.security.thrift.Credential credential; // required
6385     public Map<org.apache.accumulo.core.data.thrift.TKeyExtent,List<org.apache.accumulo.core.data.thrift.TRange>> batch; // required
6386     public List<org.apache.accumulo.core.data.thrift.TColumn> columns; // required
6387     public List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList; // required
6388     public Map<String,Map<String,String>> ssio; // required
6389     public List<ByteBuffer> authorizations; // required
6390     public boolean waitForWrites; // required
6391 
6392     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
6393     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
6394       TINFO((short)8, "tinfo"),
6395       CREDENTIAL((short)1, "credential"),
6396       BATCH((short)2, "batch"),
6397       COLUMNS((short)3, "columns"),
6398       SSI_LIST((short)4, "ssiList"),
6399       SSIO((short)5, "ssio"),
6400       AUTHORIZATIONS((short)6, "authorizations"),
6401       WAIT_FOR_WRITES((short)7, "waitForWrites");
6402 
6403       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
6404 
6405       static {
6406         for (_Fields field : EnumSet.allOf(_Fields.class)) {
6407           byName.put(field.getFieldName(), field);
6408         }
6409       }
6410 
6411       /**
6412        * Find the _Fields constant that matches fieldId, or null if its not found.
6413        */
6414       public static _Fields findByThriftId(int fieldId) {
6415         switch(fieldId) {
6416           case 8: // TINFO
6417             return TINFO;
6418           case 1: // CREDENTIAL
6419             return CREDENTIAL;
6420           case 2: // BATCH
6421             return BATCH;
6422           case 3: // COLUMNS
6423             return COLUMNS;
6424           case 4: // SSI_LIST
6425             return SSI_LIST;
6426           case 5: // SSIO
6427             return SSIO;
6428           case 6: // AUTHORIZATIONS
6429             return AUTHORIZATIONS;
6430           case 7: // WAIT_FOR_WRITES
6431             return WAIT_FOR_WRITES;
6432           default:
6433             return null;
6434         }
6435       }
6436 
6437       /**
6438        * Find the _Fields constant that matches fieldId, throwing an exception
6439        * if it is not found.
6440        */
6441       public static _Fields findByThriftIdOrThrow(int fieldId) {
6442         _Fields fields = findByThriftId(fieldId);
6443         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
6444         return fields;
6445       }
6446 
6447       /**
6448        * Find the _Fields constant that matches name, or null if its not found.
6449        */
6450       public static _Fields findByName(String name) {
6451         return byName.get(name);
6452       }
6453 
6454       private final short _thriftId;
6455       private final String _fieldName;
6456 
6457       _Fields(short thriftId, String fieldName) {
6458         _thriftId = thriftId;
6459         _fieldName = fieldName;
6460       }
6461 
6462       public short getThriftFieldId() {
6463         return _thriftId;
6464       }
6465 
6466       public String getFieldName() {
6467         return _fieldName;
6468       }
6469     }
6470 
6471     // isset id assignments
6472     private static final int __WAITFORWRITES_ISSET_ID = 0;
6473     private byte __isset_bitfield = 0;
6474     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
6475     static {
6476       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
6477       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
6478           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
6479       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
6480           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
6481       tmpMap.put(_Fields.BATCH, new org.apache.thrift.meta_data.FieldMetaData("batch", org.apache.thrift.TFieldRequirementType.DEFAULT, 
6482           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.MAP          , "ScanBatch")));
6483       tmpMap.put(_Fields.COLUMNS, new org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.thrift.TFieldRequirementType.DEFAULT, 
6484           new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
6485               new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.TColumn.class))));
6486       tmpMap.put(_Fields.SSI_LIST, new org.apache.thrift.meta_data.FieldMetaData("ssiList", org.apache.thrift.TFieldRequirementType.DEFAULT, 
6487           new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
6488               new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.IterInfo.class))));
6489       tmpMap.put(_Fields.SSIO, new org.apache.thrift.meta_data.FieldMetaData("ssio", org.apache.thrift.TFieldRequirementType.DEFAULT, 
6490           new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
6491               new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), 
6492               new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
6493                   new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), 
6494                   new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))));
6495       tmpMap.put(_Fields.AUTHORIZATIONS, new org.apache.thrift.meta_data.FieldMetaData("authorizations", org.apache.thrift.TFieldRequirementType.DEFAULT, 
6496           new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
6497               new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING              , true))));
6498       tmpMap.put(_Fields.WAIT_FOR_WRITES, new org.apache.thrift.meta_data.FieldMetaData("waitForWrites", org.apache.thrift.TFieldRequirementType.DEFAULT, 
6499           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
6500       metaDataMap = Collections.unmodifiableMap(tmpMap);
6501       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(startMultiScan_args.class, metaDataMap);
6502     }
6503 
6504     public startMultiScan_args() {
6505     }
6506 
6507     public startMultiScan_args(
6508       org.apache.accumulo.trace.thrift.TInfo tinfo,
6509       org.apache.accumulo.core.security.thrift.Credential credential,
6510       Map<org.apache.accumulo.core.data.thrift.TKeyExtent,List<org.apache.accumulo.core.data.thrift.TRange>> batch,
6511       List<org.apache.accumulo.core.data.thrift.TColumn> columns,
6512       List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList,
6513       Map<String,Map<String,String>> ssio,
6514       List<ByteBuffer> authorizations,
6515       boolean waitForWrites)
6516     {
6517       this();
6518       this.tinfo = tinfo;
6519       this.credential = credential;
6520       this.batch = batch;
6521       this.columns = columns;
6522       this.ssiList = ssiList;
6523       this.ssio = ssio;
6524       this.authorizations = authorizations;
6525       this.waitForWrites = waitForWrites;
6526       setWaitForWritesIsSet(true);
6527     }
6528 
6529     /**
6530      * Performs a deep copy on <i>other</i>.
6531      */
6532     public startMultiScan_args(startMultiScan_args other) {
6533       __isset_bitfield = other.__isset_bitfield;
6534       if (other.isSetTinfo()) {
6535         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
6536       }
6537       if (other.isSetCredential()) {
6538         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
6539       }
6540       if (other.isSetBatch()) {
6541         this.batch = other.batch;
6542       }
6543       if (other.isSetColumns()) {
6544         List<org.apache.accumulo.core.data.thrift.TColumn> __this__columns = new ArrayList<org.apache.accumulo.core.data.thrift.TColumn>();
6545         for (org.apache.accumulo.core.data.thrift.TColumn other_element : other.columns) {
6546           __this__columns.add(new org.apache.accumulo.core.data.thrift.TColumn(other_element));
6547         }
6548         this.columns = __this__columns;
6549       }
6550       if (other.isSetSsiList()) {
6551         List<org.apache.accumulo.core.data.thrift.IterInfo> __this__ssiList = new ArrayList<org.apache.accumulo.core.data.thrift.IterInfo>();
6552         for (org.apache.accumulo.core.data.thrift.IterInfo other_element : other.ssiList) {
6553           __this__ssiList.add(new org.apache.accumulo.core.data.thrift.IterInfo(other_element));
6554         }
6555         this.ssiList = __this__ssiList;
6556       }
6557       if (other.isSetSsio()) {
6558         Map<String,Map<String,String>> __this__ssio = new HashMap<String,Map<String,String>>();
6559         for (Map.Entry<String, Map<String,String>> other_element : other.ssio.entrySet()) {
6560 
6561           String other_element_key = other_element.getKey();
6562           Map<String,String> other_element_value = other_element.getValue();
6563 
6564           String __this__ssio_copy_key = other_element_key;
6565 
6566           Map<String,String> __this__ssio_copy_value = new HashMap<String,String>();
6567           for (Map.Entry<String, String> other_element_value_element : other_element_value.entrySet()) {
6568 
6569             String other_element_value_element_key = other_element_value_element.getKey();
6570             String other_element_value_element_value = other_element_value_element.getValue();
6571 
6572             String __this__ssio_copy_value_copy_key = other_element_value_element_key;
6573 
6574             String __this__ssio_copy_value_copy_value = other_element_value_element_value;
6575 
6576             __this__ssio_copy_value.put(__this__ssio_copy_value_copy_key, __this__ssio_copy_value_copy_value);
6577           }
6578 
6579           __this__ssio.put(__this__ssio_copy_key, __this__ssio_copy_value);
6580         }
6581         this.ssio = __this__ssio;
6582       }
6583       if (other.isSetAuthorizations()) {
6584         List<ByteBuffer> __this__authorizations = new ArrayList<ByteBuffer>();
6585         for (ByteBuffer other_element : other.authorizations) {
6586           ByteBuffer temp_binary_element = org.apache.thrift.TBaseHelper.copyBinary(other_element);
6587 ;
6588           __this__authorizations.add(temp_binary_element);
6589         }
6590         this.authorizations = __this__authorizations;
6591       }
6592       this.waitForWrites = other.waitForWrites;
6593     }
6594 
6595     public startMultiScan_args deepCopy() {
6596       return new startMultiScan_args(this);
6597     }
6598 
6599     @Override
6600     public void clear() {
6601       this.tinfo = null;
6602       this.credential = null;
6603       this.batch = null;
6604       this.columns = null;
6605       this.ssiList = null;
6606       this.ssio = null;
6607       this.authorizations = null;
6608       setWaitForWritesIsSet(false);
6609       this.waitForWrites = false;
6610     }
6611 
6612     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
6613       return this.tinfo;
6614     }
6615 
6616     public startMultiScan_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
6617       this.tinfo = tinfo;
6618       return this;
6619     }
6620 
6621     public void unsetTinfo() {
6622       this.tinfo = null;
6623     }
6624 
6625     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
6626     public boolean isSetTinfo() {
6627       return this.tinfo != null;
6628     }
6629 
6630     public void setTinfoIsSet(boolean value) {
6631       if (!value) {
6632         this.tinfo = null;
6633       }
6634     }
6635 
6636     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
6637       return this.credential;
6638     }
6639 
6640     public startMultiScan_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
6641       this.credential = credential;
6642       return this;
6643     }
6644 
6645     public void unsetCredential() {
6646       this.credential = null;
6647     }
6648 
6649     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
6650     public boolean isSetCredential() {
6651       return this.credential != null;
6652     }
6653 
6654     public void setCredentialIsSet(boolean value) {
6655       if (!value) {
6656         this.credential = null;
6657       }
6658     }
6659 
6660     public int getBatchSize() {
6661       return (this.batch == null) ? 0 : this.batch.size();
6662     }
6663 
6664     public void putToBatch(org.apache.accumulo.core.data.thrift.TKeyExtent key, List<org.apache.accumulo.core.data.thrift.TRange> val) {
6665       if (this.batch == null) {
6666         this.batch = new HashMap<org.apache.accumulo.core.data.thrift.TKeyExtent,List<org.apache.accumulo.core.data.thrift.TRange>>();
6667       }
6668       this.batch.put(key, val);
6669     }
6670 
6671     public Map<org.apache.accumulo.core.data.thrift.TKeyExtent,List<org.apache.accumulo.core.data.thrift.TRange>> getBatch() {
6672       return this.batch;
6673     }
6674 
6675     public startMultiScan_args setBatch(Map<org.apache.accumulo.core.data.thrift.TKeyExtent,List<org.apache.accumulo.core.data.thrift.TRange>> batch) {
6676       this.batch = batch;
6677       return this;
6678     }
6679 
6680     public void unsetBatch() {
6681       this.batch = null;
6682     }
6683 
6684     /** Returns true if field batch is set (has been assigned a value) and false otherwise */
6685     public boolean isSetBatch() {
6686       return this.batch != null;
6687     }
6688 
6689     public void setBatchIsSet(boolean value) {
6690       if (!value) {
6691         this.batch = null;
6692       }
6693     }
6694 
6695     public int getColumnsSize() {
6696       return (this.columns == null) ? 0 : this.columns.size();
6697     }
6698 
6699     public java.util.Iterator<org.apache.accumulo.core.data.thrift.TColumn> getColumnsIterator() {
6700       return (this.columns == null) ? null : this.columns.iterator();
6701     }
6702 
6703     public void addToColumns(org.apache.accumulo.core.data.thrift.TColumn elem) {
6704       if (this.columns == null) {
6705         this.columns = new ArrayList<org.apache.accumulo.core.data.thrift.TColumn>();
6706       }
6707       this.columns.add(elem);
6708     }
6709 
6710     public List<org.apache.accumulo.core.data.thrift.TColumn> getColumns() {
6711       return this.columns;
6712     }
6713 
6714     public startMultiScan_args setColumns(List<org.apache.accumulo.core.data.thrift.TColumn> columns) {
6715       this.columns = columns;
6716       return this;
6717     }
6718 
6719     public void unsetColumns() {
6720       this.columns = null;
6721     }
6722 
6723     /** Returns true if field columns is set (has been assigned a value) and false otherwise */
6724     public boolean isSetColumns() {
6725       return this.columns != null;
6726     }
6727 
6728     public void setColumnsIsSet(boolean value) {
6729       if (!value) {
6730         this.columns = null;
6731       }
6732     }
6733 
6734     public int getSsiListSize() {
6735       return (this.ssiList == null) ? 0 : this.ssiList.size();
6736     }
6737 
6738     public java.util.Iterator<org.apache.accumulo.core.data.thrift.IterInfo> getSsiListIterator() {
6739       return (this.ssiList == null) ? null : this.ssiList.iterator();
6740     }
6741 
6742     public void addToSsiList(org.apache.accumulo.core.data.thrift.IterInfo elem) {
6743       if (this.ssiList == null) {
6744         this.ssiList = new ArrayList<org.apache.accumulo.core.data.thrift.IterInfo>();
6745       }
6746       this.ssiList.add(elem);
6747     }
6748 
6749     public List<org.apache.accumulo.core.data.thrift.IterInfo> getSsiList() {
6750       return this.ssiList;
6751     }
6752 
6753     public startMultiScan_args setSsiList(List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList) {
6754       this.ssiList = ssiList;
6755       return this;
6756     }
6757 
6758     public void unsetSsiList() {
6759       this.ssiList = null;
6760     }
6761 
6762     /** Returns true if field ssiList is set (has been assigned a value) and false otherwise */
6763     public boolean isSetSsiList() {
6764       return this.ssiList != null;
6765     }
6766 
6767     public void setSsiListIsSet(boolean value) {
6768       if (!value) {
6769         this.ssiList = null;
6770       }
6771     }
6772 
6773     public int getSsioSize() {
6774       return (this.ssio == null) ? 0 : this.ssio.size();
6775     }
6776 
6777     public void putToSsio(String key, Map<String,String> val) {
6778       if (this.ssio == null) {
6779         this.ssio = new HashMap<String,Map<String,String>>();
6780       }
6781       this.ssio.put(key, val);
6782     }
6783 
6784     public Map<String,Map<String,String>> getSsio() {
6785       return this.ssio;
6786     }
6787 
6788     public startMultiScan_args setSsio(Map<String,Map<String,String>> ssio) {
6789       this.ssio = ssio;
6790       return this;
6791     }
6792 
6793     public void unsetSsio() {
6794       this.ssio = null;
6795     }
6796 
6797     /** Returns true if field ssio is set (has been assigned a value) and false otherwise */
6798     public boolean isSetSsio() {
6799       return this.ssio != null;
6800     }
6801 
6802     public void setSsioIsSet(boolean value) {
6803       if (!value) {
6804         this.ssio = null;
6805       }
6806     }
6807 
6808     public int getAuthorizationsSize() {
6809       return (this.authorizations == null) ? 0 : this.authorizations.size();
6810     }
6811 
6812     public java.util.Iterator<ByteBuffer> getAuthorizationsIterator() {
6813       return (this.authorizations == null) ? null : this.authorizations.iterator();
6814     }
6815 
6816     public void addToAuthorizations(ByteBuffer elem) {
6817       if (this.authorizations == null) {
6818         this.authorizations = new ArrayList<ByteBuffer>();
6819       }
6820       this.authorizations.add(elem);
6821     }
6822 
6823     public List<ByteBuffer> getAuthorizations() {
6824       return this.authorizations;
6825     }
6826 
6827     public startMultiScan_args setAuthorizations(List<ByteBuffer> authorizations) {
6828       this.authorizations = authorizations;
6829       return this;
6830     }
6831 
6832     public void unsetAuthorizations() {
6833       this.authorizations = null;
6834     }
6835 
6836     /** Returns true if field authorizations is set (has been assigned a value) and false otherwise */
6837     public boolean isSetAuthorizations() {
6838       return this.authorizations != null;
6839     }
6840 
6841     public void setAuthorizationsIsSet(boolean value) {
6842       if (!value) {
6843         this.authorizations = null;
6844       }
6845     }
6846 
6847     public boolean isWaitForWrites() {
6848       return this.waitForWrites;
6849     }
6850 
6851     public startMultiScan_args setWaitForWrites(boolean waitForWrites) {
6852       this.waitForWrites = waitForWrites;
6853       setWaitForWritesIsSet(true);
6854       return this;
6855     }
6856 
6857     public void unsetWaitForWrites() {
6858       __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __WAITFORWRITES_ISSET_ID);
6859     }
6860 
6861     /** Returns true if field waitForWrites is set (has been assigned a value) and false otherwise */
6862     public boolean isSetWaitForWrites() {
6863       return EncodingUtils.testBit(__isset_bitfield, __WAITFORWRITES_ISSET_ID);
6864     }
6865 
6866     public void setWaitForWritesIsSet(boolean value) {
6867       __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __WAITFORWRITES_ISSET_ID, value);
6868     }
6869 
6870     public void setFieldValue(_Fields field, Object value) {
6871       switch (field) {
6872       case TINFO:
6873         if (value == null) {
6874           unsetTinfo();
6875         } else {
6876           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
6877         }
6878         break;
6879 
6880       case CREDENTIAL:
6881         if (value == null) {
6882           unsetCredential();
6883         } else {
6884           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
6885         }
6886         break;
6887 
6888       case BATCH:
6889         if (value == null) {
6890           unsetBatch();
6891         } else {
6892           setBatch((Map<org.apache.accumulo.core.data.thrift.TKeyExtent,List<org.apache.accumulo.core.data.thrift.TRange>>)value);
6893         }
6894         break;
6895 
6896       case COLUMNS:
6897         if (value == null) {
6898           unsetColumns();
6899         } else {
6900           setColumns((List<org.apache.accumulo.core.data.thrift.TColumn>)value);
6901         }
6902         break;
6903 
6904       case SSI_LIST:
6905         if (value == null) {
6906           unsetSsiList();
6907         } else {
6908           setSsiList((List<org.apache.accumulo.core.data.thrift.IterInfo>)value);
6909         }
6910         break;
6911 
6912       case SSIO:
6913         if (value == null) {
6914           unsetSsio();
6915         } else {
6916           setSsio((Map<String,Map<String,String>>)value);
6917         }
6918         break;
6919 
6920       case AUTHORIZATIONS:
6921         if (value == null) {
6922           unsetAuthorizations();
6923         } else {
6924           setAuthorizations((List<ByteBuffer>)value);
6925         }
6926         break;
6927 
6928       case WAIT_FOR_WRITES:
6929         if (value == null) {
6930           unsetWaitForWrites();
6931         } else {
6932           setWaitForWrites((Boolean)value);
6933         }
6934         break;
6935 
6936       }
6937     }
6938 
6939     public Object getFieldValue(_Fields field) {
6940       switch (field) {
6941       case TINFO:
6942         return getTinfo();
6943 
6944       case CREDENTIAL:
6945         return getCredential();
6946 
6947       case BATCH:
6948         return getBatch();
6949 
6950       case COLUMNS:
6951         return getColumns();
6952 
6953       case SSI_LIST:
6954         return getSsiList();
6955 
6956       case SSIO:
6957         return getSsio();
6958 
6959       case AUTHORIZATIONS:
6960         return getAuthorizations();
6961 
6962       case WAIT_FOR_WRITES:
6963         return Boolean.valueOf(isWaitForWrites());
6964 
6965       }
6966       throw new IllegalStateException();
6967     }
6968 
6969     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
6970     public boolean isSet(_Fields field) {
6971       if (field == null) {
6972         throw new IllegalArgumentException();
6973       }
6974 
6975       switch (field) {
6976       case TINFO:
6977         return isSetTinfo();
6978       case CREDENTIAL:
6979         return isSetCredential();
6980       case BATCH:
6981         return isSetBatch();
6982       case COLUMNS:
6983         return isSetColumns();
6984       case SSI_LIST:
6985         return isSetSsiList();
6986       case SSIO:
6987         return isSetSsio();
6988       case AUTHORIZATIONS:
6989         return isSetAuthorizations();
6990       case WAIT_FOR_WRITES:
6991         return isSetWaitForWrites();
6992       }
6993       throw new IllegalStateException();
6994     }
6995 
6996     @Override
6997     public boolean equals(Object that) {
6998       if (that == null)
6999         return false;
7000       if (that instanceof startMultiScan_args)
7001         return this.equals((startMultiScan_args)that);
7002       return false;
7003     }
7004 
7005     public boolean equals(startMultiScan_args that) {
7006       if (that == null)
7007         return false;
7008 
7009       boolean this_present_tinfo = true && this.isSetTinfo();
7010       boolean that_present_tinfo = true && that.isSetTinfo();
7011       if (this_present_tinfo || that_present_tinfo) {
7012         if (!(this_present_tinfo && that_present_tinfo))
7013           return false;
7014         if (!this.tinfo.equals(that.tinfo))
7015           return false;
7016       }
7017 
7018       boolean this_present_credential = true && this.isSetCredential();
7019       boolean that_present_credential = true && that.isSetCredential();
7020       if (this_present_credential || that_present_credential) {
7021         if (!(this_present_credential && that_present_credential))
7022           return false;
7023         if (!this.credential.equals(that.credential))
7024           return false;
7025       }
7026 
7027       boolean this_present_batch = true && this.isSetBatch();
7028       boolean that_present_batch = true && that.isSetBatch();
7029       if (this_present_batch || that_present_batch) {
7030         if (!(this_present_batch && that_present_batch))
7031           return false;
7032         if (!this.batch.equals(that.batch))
7033           return false;
7034       }
7035 
7036       boolean this_present_columns = true && this.isSetColumns();
7037       boolean that_present_columns = true && that.isSetColumns();
7038       if (this_present_columns || that_present_columns) {
7039         if (!(this_present_columns && that_present_columns))
7040           return false;
7041         if (!this.columns.equals(that.columns))
7042           return false;
7043       }
7044 
7045       boolean this_present_ssiList = true && this.isSetSsiList();
7046       boolean that_present_ssiList = true && that.isSetSsiList();
7047       if (this_present_ssiList || that_present_ssiList) {
7048         if (!(this_present_ssiList && that_present_ssiList))
7049           return false;
7050         if (!this.ssiList.equals(that.ssiList))
7051           return false;
7052       }
7053 
7054       boolean this_present_ssio = true && this.isSetSsio();
7055       boolean that_present_ssio = true && that.isSetSsio();
7056       if (this_present_ssio || that_present_ssio) {
7057         if (!(this_present_ssio && that_present_ssio))
7058           return false;
7059         if (!this.ssio.equals(that.ssio))
7060           return false;
7061       }
7062 
7063       boolean this_present_authorizations = true && this.isSetAuthorizations();
7064       boolean that_present_authorizations = true && that.isSetAuthorizations();
7065       if (this_present_authorizations || that_present_authorizations) {
7066         if (!(this_present_authorizations && that_present_authorizations))
7067           return false;
7068         if (!this.authorizations.equals(that.authorizations))
7069           return false;
7070       }
7071 
7072       boolean this_present_waitForWrites = true;
7073       boolean that_present_waitForWrites = true;
7074       if (this_present_waitForWrites || that_present_waitForWrites) {
7075         if (!(this_present_waitForWrites && that_present_waitForWrites))
7076           return false;
7077         if (this.waitForWrites != that.waitForWrites)
7078           return false;
7079       }
7080 
7081       return true;
7082     }
7083 
7084     @Override
7085     public int hashCode() {
7086       return 0;
7087     }
7088 
7089     public int compareTo(startMultiScan_args other) {
7090       if (!getClass().equals(other.getClass())) {
7091         return getClass().getName().compareTo(other.getClass().getName());
7092       }
7093 
7094       int lastComparison = 0;
7095       startMultiScan_args typedOther = (startMultiScan_args)other;
7096 
7097       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
7098       if (lastComparison != 0) {
7099         return lastComparison;
7100       }
7101       if (isSetTinfo()) {
7102         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
7103         if (lastComparison != 0) {
7104           return lastComparison;
7105         }
7106       }
7107       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
7108       if (lastComparison != 0) {
7109         return lastComparison;
7110       }
7111       if (isSetCredential()) {
7112         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
7113         if (lastComparison != 0) {
7114           return lastComparison;
7115         }
7116       }
7117       lastComparison = Boolean.valueOf(isSetBatch()).compareTo(typedOther.isSetBatch());
7118       if (lastComparison != 0) {
7119         return lastComparison;
7120       }
7121       if (isSetBatch()) {
7122         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.batch, typedOther.batch);
7123         if (lastComparison != 0) {
7124           return lastComparison;
7125         }
7126       }
7127       lastComparison = Boolean.valueOf(isSetColumns()).compareTo(typedOther.isSetColumns());
7128       if (lastComparison != 0) {
7129         return lastComparison;
7130       }
7131       if (isSetColumns()) {
7132         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columns, typedOther.columns);
7133         if (lastComparison != 0) {
7134           return lastComparison;
7135         }
7136       }
7137       lastComparison = Boolean.valueOf(isSetSsiList()).compareTo(typedOther.isSetSsiList());
7138       if (lastComparison != 0) {
7139         return lastComparison;
7140       }
7141       if (isSetSsiList()) {
7142         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ssiList, typedOther.ssiList);
7143         if (lastComparison != 0) {
7144           return lastComparison;
7145         }
7146       }
7147       lastComparison = Boolean.valueOf(isSetSsio()).compareTo(typedOther.isSetSsio());
7148       if (lastComparison != 0) {
7149         return lastComparison;
7150       }
7151       if (isSetSsio()) {
7152         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ssio, typedOther.ssio);
7153         if (lastComparison != 0) {
7154           return lastComparison;
7155         }
7156       }
7157       lastComparison = Boolean.valueOf(isSetAuthorizations()).compareTo(typedOther.isSetAuthorizations());
7158       if (lastComparison != 0) {
7159         return lastComparison;
7160       }
7161       if (isSetAuthorizations()) {
7162         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.authorizations, typedOther.authorizations);
7163         if (lastComparison != 0) {
7164           return lastComparison;
7165         }
7166       }
7167       lastComparison = Boolean.valueOf(isSetWaitForWrites()).compareTo(typedOther.isSetWaitForWrites());
7168       if (lastComparison != 0) {
7169         return lastComparison;
7170       }
7171       if (isSetWaitForWrites()) {
7172         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.waitForWrites, typedOther.waitForWrites);
7173         if (lastComparison != 0) {
7174           return lastComparison;
7175         }
7176       }
7177       return 0;
7178     }
7179 
7180     public _Fields fieldForId(int fieldId) {
7181       return _Fields.findByThriftId(fieldId);
7182     }
7183 
7184     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
7185       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
7186     }
7187 
7188     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
7189       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
7190     }
7191 
7192     @Override
7193     public String toString() {
7194       StringBuilder sb = new StringBuilder("startMultiScan_args(");
7195       boolean first = true;
7196 
7197       sb.append("tinfo:");
7198       if (this.tinfo == null) {
7199         sb.append("null");
7200       } else {
7201         sb.append(this.tinfo);
7202       }
7203       first = false;
7204       if (!first) sb.append(", ");
7205       sb.append("credential:");
7206       if (this.credential == null) {
7207         sb.append("null");
7208       } else {
7209         sb.append(this.credential);
7210       }
7211       first = false;
7212       if (!first) sb.append(", ");
7213       sb.append("batch:");
7214       if (this.batch == null) {
7215         sb.append("null");
7216       } else {
7217         sb.append(this.batch);
7218       }
7219       first = false;
7220       if (!first) sb.append(", ");
7221       sb.append("columns:");
7222       if (this.columns == null) {
7223         sb.append("null");
7224       } else {
7225         sb.append(this.columns);
7226       }
7227       first = false;
7228       if (!first) sb.append(", ");
7229       sb.append("ssiList:");
7230       if (this.ssiList == null) {
7231         sb.append("null");
7232       } else {
7233         sb.append(this.ssiList);
7234       }
7235       first = false;
7236       if (!first) sb.append(", ");
7237       sb.append("ssio:");
7238       if (this.ssio == null) {
7239         sb.append("null");
7240       } else {
7241         sb.append(this.ssio);
7242       }
7243       first = false;
7244       if (!first) sb.append(", ");
7245       sb.append("authorizations:");
7246       if (this.authorizations == null) {
7247         sb.append("null");
7248       } else {
7249         sb.append(this.authorizations);
7250       }
7251       first = false;
7252       if (!first) sb.append(", ");
7253       sb.append("waitForWrites:");
7254       sb.append(this.waitForWrites);
7255       first = false;
7256       sb.append(")");
7257       return sb.toString();
7258     }
7259 
7260     public void validate() throws org.apache.thrift.TException {
7261       // check for required fields
7262       // check for sub-struct validity
7263       if (tinfo != null) {
7264         tinfo.validate();
7265       }
7266       if (credential != null) {
7267         credential.validate();
7268       }
7269     }
7270 
7271     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
7272       try {
7273         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
7274       } catch (org.apache.thrift.TException te) {
7275         throw new java.io.IOException(te);
7276       }
7277     }
7278 
7279     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
7280       try {
7281         // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
7282         __isset_bitfield = 0;
7283         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
7284       } catch (org.apache.thrift.TException te) {
7285         throw new java.io.IOException(te);
7286       }
7287     }
7288 
7289     private static class startMultiScan_argsStandardSchemeFactory implements SchemeFactory {
7290       public startMultiScan_argsStandardScheme getScheme() {
7291         return new startMultiScan_argsStandardScheme();
7292       }
7293     }
7294 
7295     private static class startMultiScan_argsStandardScheme extends StandardScheme<startMultiScan_args> {
7296 
7297       public void read(org.apache.thrift.protocol.TProtocol iprot, startMultiScan_args struct) throws org.apache.thrift.TException {
7298         org.apache.thrift.protocol.TField schemeField;
7299         iprot.readStructBegin();
7300         while (true)
7301         {
7302           schemeField = iprot.readFieldBegin();
7303           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
7304             break;
7305           }
7306           switch (schemeField.id) {
7307             case 8: // TINFO
7308               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
7309                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
7310                 struct.tinfo.read(iprot);
7311                 struct.setTinfoIsSet(true);
7312               } else { 
7313                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
7314               }
7315               break;
7316             case 1: // CREDENTIAL
7317               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
7318                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
7319                 struct.credential.read(iprot);
7320                 struct.setCredentialIsSet(true);
7321               } else { 
7322                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
7323               }
7324               break;
7325             case 2: // BATCH
7326               if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
7327                 {
7328                   org.apache.thrift.protocol.TMap _map150 = iprot.readMapBegin();
7329                   struct.batch = new HashMap<org.apache.accumulo.core.data.thrift.TKeyExtent,List<org.apache.accumulo.core.data.thrift.TRange>>(2*_map150.size);
7330                   for (int _i151 = 0; _i151 < _map150.size; ++_i151)
7331                   {
7332                     org.apache.accumulo.core.data.thrift.TKeyExtent _key152; // required
7333                     List<org.apache.accumulo.core.data.thrift.TRange> _val153; // required
7334                     _key152 = new org.apache.accumulo.core.data.thrift.TKeyExtent();
7335                     _key152.read(iprot);
7336                     {
7337                       org.apache.thrift.protocol.TList _list154 = iprot.readListBegin();
7338                       _val153 = new ArrayList<org.apache.accumulo.core.data.thrift.TRange>(_list154.size);
7339                       for (int _i155 = 0; _i155 < _list154.size; ++_i155)
7340                       {
7341                         org.apache.accumulo.core.data.thrift.TRange _elem156; // required
7342                         _elem156 = new org.apache.accumulo.core.data.thrift.TRange();
7343                         _elem156.read(iprot);
7344                         _val153.add(_elem156);
7345                       }
7346                       iprot.readListEnd();
7347                     }
7348                     struct.batch.put(_key152, _val153);
7349                   }
7350                   iprot.readMapEnd();
7351                 }
7352                 struct.setBatchIsSet(true);
7353               } else { 
7354                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
7355               }
7356               break;
7357             case 3: // COLUMNS
7358               if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
7359                 {
7360                   org.apache.thrift.protocol.TList _list157 = iprot.readListBegin();
7361                   struct.columns = new ArrayList<org.apache.accumulo.core.data.thrift.TColumn>(_list157.size);
7362                   for (int _i158 = 0; _i158 < _list157.size; ++_i158)
7363                   {
7364                     org.apache.accumulo.core.data.thrift.TColumn _elem159; // required
7365                     _elem159 = new org.apache.accumulo.core.data.thrift.TColumn();
7366                     _elem159.read(iprot);
7367                     struct.columns.add(_elem159);
7368                   }
7369                   iprot.readListEnd();
7370                 }
7371                 struct.setColumnsIsSet(true);
7372               } else { 
7373                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
7374               }
7375               break;
7376             case 4: // SSI_LIST
7377               if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
7378                 {
7379                   org.apache.thrift.protocol.TList _list160 = iprot.readListBegin();
7380                   struct.ssiList = new ArrayList<org.apache.accumulo.core.data.thrift.IterInfo>(_list160.size);
7381                   for (int _i161 = 0; _i161 < _list160.size; ++_i161)
7382                   {
7383                     org.apache.accumulo.core.data.thrift.IterInfo _elem162; // required
7384                     _elem162 = new org.apache.accumulo.core.data.thrift.IterInfo();
7385                     _elem162.read(iprot);
7386                     struct.ssiList.add(_elem162);
7387                   }
7388                   iprot.readListEnd();
7389                 }
7390                 struct.setSsiListIsSet(true);
7391               } else { 
7392                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
7393               }
7394               break;
7395             case 5: // SSIO
7396               if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
7397                 {
7398                   org.apache.thrift.protocol.TMap _map163 = iprot.readMapBegin();
7399                   struct.ssio = new HashMap<String,Map<String,String>>(2*_map163.size);
7400                   for (int _i164 = 0; _i164 < _map163.size; ++_i164)
7401                   {
7402                     String _key165; // required
7403                     Map<String,String> _val166; // required
7404                     _key165 = iprot.readString();
7405                     {
7406                       org.apache.thrift.protocol.TMap _map167 = iprot.readMapBegin();
7407                       _val166 = new HashMap<String,String>(2*_map167.size);
7408                       for (int _i168 = 0; _i168 < _map167.size; ++_i168)
7409                       {
7410                         String _key169; // required
7411                         String _val170; // required
7412                         _key169 = iprot.readString();
7413                         _val170 = iprot.readString();
7414                         _val166.put(_key169, _val170);
7415                       }
7416                       iprot.readMapEnd();
7417                     }
7418                     struct.ssio.put(_key165, _val166);
7419                   }
7420                   iprot.readMapEnd();
7421                 }
7422                 struct.setSsioIsSet(true);
7423               } else { 
7424                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
7425               }
7426               break;
7427             case 6: // AUTHORIZATIONS
7428               if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
7429                 {
7430                   org.apache.thrift.protocol.TList _list171 = iprot.readListBegin();
7431                   struct.authorizations = new ArrayList<ByteBuffer>(_list171.size);
7432                   for (int _i172 = 0; _i172 < _list171.size; ++_i172)
7433                   {
7434                     ByteBuffer _elem173; // required
7435                     _elem173 = iprot.readBinary();
7436                     struct.authorizations.add(_elem173);
7437                   }
7438                   iprot.readListEnd();
7439                 }
7440                 struct.setAuthorizationsIsSet(true);
7441               } else { 
7442                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
7443               }
7444               break;
7445             case 7: // WAIT_FOR_WRITES
7446               if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
7447                 struct.waitForWrites = iprot.readBool();
7448                 struct.setWaitForWritesIsSet(true);
7449               } else { 
7450                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
7451               }
7452               break;
7453             default:
7454               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
7455           }
7456           iprot.readFieldEnd();
7457         }
7458         iprot.readStructEnd();
7459 
7460         // check for required fields of primitive type, which can't be checked in the validate method
7461         struct.validate();
7462       }
7463 
7464       public void write(org.apache.thrift.protocol.TProtocol oprot, startMultiScan_args struct) throws org.apache.thrift.TException {
7465         struct.validate();
7466 
7467         oprot.writeStructBegin(STRUCT_DESC);
7468         if (struct.credential != null) {
7469           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
7470           struct.credential.write(oprot);
7471           oprot.writeFieldEnd();
7472         }
7473         if (struct.batch != null) {
7474           oprot.writeFieldBegin(BATCH_FIELD_DESC);
7475           {
7476             oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRUCT, org.apache.thrift.protocol.TType.LIST, struct.batch.size()));
7477             for (Map.Entry<org.apache.accumulo.core.data.thrift.TKeyExtent, List<org.apache.accumulo.core.data.thrift.TRange>> _iter174 : struct.batch.entrySet())
7478             {
7479               _iter174.getKey().write(oprot);
7480               {
7481                 oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter174.getValue().size()));
7482                 for (org.apache.accumulo.core.data.thrift.TRange _iter175 : _iter174.getValue())
7483                 {
7484                   _iter175.write(oprot);
7485                 }
7486                 oprot.writeListEnd();
7487               }
7488             }
7489             oprot.writeMapEnd();
7490           }
7491           oprot.writeFieldEnd();
7492         }
7493         if (struct.columns != null) {
7494           oprot.writeFieldBegin(COLUMNS_FIELD_DESC);
7495           {
7496             oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.columns.size()));
7497             for (org.apache.accumulo.core.data.thrift.TColumn _iter176 : struct.columns)
7498             {
7499               _iter176.write(oprot);
7500             }
7501             oprot.writeListEnd();
7502           }
7503           oprot.writeFieldEnd();
7504         }
7505         if (struct.ssiList != null) {
7506           oprot.writeFieldBegin(SSI_LIST_FIELD_DESC);
7507           {
7508             oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.ssiList.size()));
7509             for (org.apache.accumulo.core.data.thrift.IterInfo _iter177 : struct.ssiList)
7510             {
7511               _iter177.write(oprot);
7512             }
7513             oprot.writeListEnd();
7514           }
7515           oprot.writeFieldEnd();
7516         }
7517         if (struct.ssio != null) {
7518           oprot.writeFieldBegin(SSIO_FIELD_DESC);
7519           {
7520             oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.MAP, struct.ssio.size()));
7521             for (Map.Entry<String, Map<String,String>> _iter178 : struct.ssio.entrySet())
7522             {
7523               oprot.writeString(_iter178.getKey());
7524               {
7525                 oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, _iter178.getValue().size()));
7526                 for (Map.Entry<String, String> _iter179 : _iter178.getValue().entrySet())
7527                 {
7528                   oprot.writeString(_iter179.getKey());
7529                   oprot.writeString(_iter179.getValue());
7530                 }
7531                 oprot.writeMapEnd();
7532               }
7533             }
7534             oprot.writeMapEnd();
7535           }
7536           oprot.writeFieldEnd();
7537         }
7538         if (struct.authorizations != null) {
7539           oprot.writeFieldBegin(AUTHORIZATIONS_FIELD_DESC);
7540           {
7541             oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.authorizations.size()));
7542             for (ByteBuffer _iter180 : struct.authorizations)
7543             {
7544               oprot.writeBinary(_iter180);
7545             }
7546             oprot.writeListEnd();
7547           }
7548           oprot.writeFieldEnd();
7549         }
7550         oprot.writeFieldBegin(WAIT_FOR_WRITES_FIELD_DESC);
7551         oprot.writeBool(struct.waitForWrites);
7552         oprot.writeFieldEnd();
7553         if (struct.tinfo != null) {
7554           oprot.writeFieldBegin(TINFO_FIELD_DESC);
7555           struct.tinfo.write(oprot);
7556           oprot.writeFieldEnd();
7557         }
7558         oprot.writeFieldStop();
7559         oprot.writeStructEnd();
7560       }
7561 
7562     }
7563 
7564     private static class startMultiScan_argsTupleSchemeFactory implements SchemeFactory {
7565       public startMultiScan_argsTupleScheme getScheme() {
7566         return new startMultiScan_argsTupleScheme();
7567       }
7568     }
7569 
7570     private static class startMultiScan_argsTupleScheme extends TupleScheme<startMultiScan_args> {
7571 
7572       @Override
7573       public void write(org.apache.thrift.protocol.TProtocol prot, startMultiScan_args struct) throws org.apache.thrift.TException {
7574         TTupleProtocol oprot = (TTupleProtocol) prot;
7575         BitSet optionals = new BitSet();
7576         if (struct.isSetTinfo()) {
7577           optionals.set(0);
7578         }
7579         if (struct.isSetCredential()) {
7580           optionals.set(1);
7581         }
7582         if (struct.isSetBatch()) {
7583           optionals.set(2);
7584         }
7585         if (struct.isSetColumns()) {
7586           optionals.set(3);
7587         }
7588         if (struct.isSetSsiList()) {
7589           optionals.set(4);
7590         }
7591         if (struct.isSetSsio()) {
7592           optionals.set(5);
7593         }
7594         if (struct.isSetAuthorizations()) {
7595           optionals.set(6);
7596         }
7597         if (struct.isSetWaitForWrites()) {
7598           optionals.set(7);
7599         }
7600         oprot.writeBitSet(optionals, 8);
7601         if (struct.isSetTinfo()) {
7602           struct.tinfo.write(oprot);
7603         }
7604         if (struct.isSetCredential()) {
7605           struct.credential.write(oprot);
7606         }
7607         if (struct.isSetBatch()) {
7608           {
7609             oprot.writeI32(struct.batch.size());
7610             for (Map.Entry<org.apache.accumulo.core.data.thrift.TKeyExtent, List<org.apache.accumulo.core.data.thrift.TRange>> _iter181 : struct.batch.entrySet())
7611             {
7612               _iter181.getKey().write(oprot);
7613               {
7614                 oprot.writeI32(_iter181.getValue().size());
7615                 for (org.apache.accumulo.core.data.thrift.TRange _iter182 : _iter181.getValue())
7616                 {
7617                   _iter182.write(oprot);
7618                 }
7619               }
7620             }
7621           }
7622         }
7623         if (struct.isSetColumns()) {
7624           {
7625             oprot.writeI32(struct.columns.size());
7626             for (org.apache.accumulo.core.data.thrift.TColumn _iter183 : struct.columns)
7627             {
7628               _iter183.write(oprot);
7629             }
7630           }
7631         }
7632         if (struct.isSetSsiList()) {
7633           {
7634             oprot.writeI32(struct.ssiList.size());
7635             for (org.apache.accumulo.core.data.thrift.IterInfo _iter184 : struct.ssiList)
7636             {
7637               _iter184.write(oprot);
7638             }
7639           }
7640         }
7641         if (struct.isSetSsio()) {
7642           {
7643             oprot.writeI32(struct.ssio.size());
7644             for (Map.Entry<String, Map<String,String>> _iter185 : struct.ssio.entrySet())
7645             {
7646               oprot.writeString(_iter185.getKey());
7647               {
7648                 oprot.writeI32(_iter185.getValue().size());
7649                 for (Map.Entry<String, String> _iter186 : _iter185.getValue().entrySet())
7650                 {
7651                   oprot.writeString(_iter186.getKey());
7652                   oprot.writeString(_iter186.getValue());
7653                 }
7654               }
7655             }
7656           }
7657         }
7658         if (struct.isSetAuthorizations()) {
7659           {
7660             oprot.writeI32(struct.authorizations.size());
7661             for (ByteBuffer _iter187 : struct.authorizations)
7662             {
7663               oprot.writeBinary(_iter187);
7664             }
7665           }
7666         }
7667         if (struct.isSetWaitForWrites()) {
7668           oprot.writeBool(struct.waitForWrites);
7669         }
7670       }
7671 
7672       @Override
7673       public void read(org.apache.thrift.protocol.TProtocol prot, startMultiScan_args struct) throws org.apache.thrift.TException {
7674         TTupleProtocol iprot = (TTupleProtocol) prot;
7675         BitSet incoming = iprot.readBitSet(8);
7676         if (incoming.get(0)) {
7677           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
7678           struct.tinfo.read(iprot);
7679           struct.setTinfoIsSet(true);
7680         }
7681         if (incoming.get(1)) {
7682           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
7683           struct.credential.read(iprot);
7684           struct.setCredentialIsSet(true);
7685         }
7686         if (incoming.get(2)) {
7687           {
7688             org.apache.thrift.protocol.TMap _map188 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRUCT, org.apache.thrift.protocol.TType.LIST, iprot.readI32());
7689             struct.batch = new HashMap<org.apache.accumulo.core.data.thrift.TKeyExtent,List<org.apache.accumulo.core.data.thrift.TRange>>(2*_map188.size);
7690             for (int _i189 = 0; _i189 < _map188.size; ++_i189)
7691             {
7692               org.apache.accumulo.core.data.thrift.TKeyExtent _key190; // required
7693               List<org.apache.accumulo.core.data.thrift.TRange> _val191; // required
7694               _key190 = new org.apache.accumulo.core.data.thrift.TKeyExtent();
7695               _key190.read(iprot);
7696               {
7697                 org.apache.thrift.protocol.TList _list192 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
7698                 _val191 = new ArrayList<org.apache.accumulo.core.data.thrift.TRange>(_list192.size);
7699                 for (int _i193 = 0; _i193 < _list192.size; ++_i193)
7700                 {
7701                   org.apache.accumulo.core.data.thrift.TRange _elem194; // required
7702                   _elem194 = new org.apache.accumulo.core.data.thrift.TRange();
7703                   _elem194.read(iprot);
7704                   _val191.add(_elem194);
7705                 }
7706               }
7707               struct.batch.put(_key190, _val191);
7708             }
7709           }
7710           struct.setBatchIsSet(true);
7711         }
7712         if (incoming.get(3)) {
7713           {
7714             org.apache.thrift.protocol.TList _list195 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
7715             struct.columns = new ArrayList<org.apache.accumulo.core.data.thrift.TColumn>(_list195.size);
7716             for (int _i196 = 0; _i196 < _list195.size; ++_i196)
7717             {
7718               org.apache.accumulo.core.data.thrift.TColumn _elem197; // required
7719               _elem197 = new org.apache.accumulo.core.data.thrift.TColumn();
7720               _elem197.read(iprot);
7721               struct.columns.add(_elem197);
7722             }
7723           }
7724           struct.setColumnsIsSet(true);
7725         }
7726         if (incoming.get(4)) {
7727           {
7728             org.apache.thrift.protocol.TList _list198 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
7729             struct.ssiList = new ArrayList<org.apache.accumulo.core.data.thrift.IterInfo>(_list198.size);
7730             for (int _i199 = 0; _i199 < _list198.size; ++_i199)
7731             {
7732               org.apache.accumulo.core.data.thrift.IterInfo _elem200; // required
7733               _elem200 = new org.apache.accumulo.core.data.thrift.IterInfo();
7734               _elem200.read(iprot);
7735               struct.ssiList.add(_elem200);
7736             }
7737           }
7738           struct.setSsiListIsSet(true);
7739         }
7740         if (incoming.get(5)) {
7741           {
7742             org.apache.thrift.protocol.TMap _map201 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.MAP, iprot.readI32());
7743             struct.ssio = new HashMap<String,Map<String,String>>(2*_map201.size);
7744             for (int _i202 = 0; _i202 < _map201.size; ++_i202)
7745             {
7746               String _key203; // required
7747               Map<String,String> _val204; // required
7748               _key203 = iprot.readString();
7749               {
7750                 org.apache.thrift.protocol.TMap _map205 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
7751                 _val204 = new HashMap<String,String>(2*_map205.size);
7752                 for (int _i206 = 0; _i206 < _map205.size; ++_i206)
7753                 {
7754                   String _key207; // required
7755                   String _val208; // required
7756                   _key207 = iprot.readString();
7757                   _val208 = iprot.readString();
7758                   _val204.put(_key207, _val208);
7759                 }
7760               }
7761               struct.ssio.put(_key203, _val204);
7762             }
7763           }
7764           struct.setSsioIsSet(true);
7765         }
7766         if (incoming.get(6)) {
7767           {
7768             org.apache.thrift.protocol.TList _list209 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
7769             struct.authorizations = new ArrayList<ByteBuffer>(_list209.size);
7770             for (int _i210 = 0; _i210 < _list209.size; ++_i210)
7771             {
7772               ByteBuffer _elem211; // required
7773               _elem211 = iprot.readBinary();
7774               struct.authorizations.add(_elem211);
7775             }
7776           }
7777           struct.setAuthorizationsIsSet(true);
7778         }
7779         if (incoming.get(7)) {
7780           struct.waitForWrites = iprot.readBool();
7781           struct.setWaitForWritesIsSet(true);
7782         }
7783       }
7784     }
7785 
7786   }
7787 
7788   public static class startMultiScan_result implements org.apache.thrift.TBase<startMultiScan_result, startMultiScan_result._Fields>, java.io.Serializable, Cloneable   {
7789     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("startMultiScan_result");
7790 
7791     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);
7792     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);
7793 
7794     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
7795     static {
7796       schemes.put(StandardScheme.class, new startMultiScan_resultStandardSchemeFactory());
7797       schemes.put(TupleScheme.class, new startMultiScan_resultTupleSchemeFactory());
7798     }
7799 
7800     public org.apache.accumulo.core.data.thrift.InitialMultiScan success; // required
7801     public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required
7802 
7803     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
7804     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
7805       SUCCESS((short)0, "success"),
7806       SEC((short)1, "sec");
7807 
7808       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
7809 
7810       static {
7811         for (_Fields field : EnumSet.allOf(_Fields.class)) {
7812           byName.put(field.getFieldName(), field);
7813         }
7814       }
7815 
7816       /**
7817        * Find the _Fields constant that matches fieldId, or null if its not found.
7818        */
7819       public static _Fields findByThriftId(int fieldId) {
7820         switch(fieldId) {
7821           case 0: // SUCCESS
7822             return SUCCESS;
7823           case 1: // SEC
7824             return SEC;
7825           default:
7826             return null;
7827         }
7828       }
7829 
7830       /**
7831        * Find the _Fields constant that matches fieldId, throwing an exception
7832        * if it is not found.
7833        */
7834       public static _Fields findByThriftIdOrThrow(int fieldId) {
7835         _Fields fields = findByThriftId(fieldId);
7836         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
7837         return fields;
7838       }
7839 
7840       /**
7841        * Find the _Fields constant that matches name, or null if its not found.
7842        */
7843       public static _Fields findByName(String name) {
7844         return byName.get(name);
7845       }
7846 
7847       private final short _thriftId;
7848       private final String _fieldName;
7849 
7850       _Fields(short thriftId, String fieldName) {
7851         _thriftId = thriftId;
7852         _fieldName = fieldName;
7853       }
7854 
7855       public short getThriftFieldId() {
7856         return _thriftId;
7857       }
7858 
7859       public String getFieldName() {
7860         return _fieldName;
7861       }
7862     }
7863 
7864     // isset id assignments
7865     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
7866     static {
7867       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
7868       tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
7869           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.InitialMultiScan.class)));
7870       tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, 
7871           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
7872       metaDataMap = Collections.unmodifiableMap(tmpMap);
7873       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(startMultiScan_result.class, metaDataMap);
7874     }
7875 
7876     public startMultiScan_result() {
7877     }
7878 
7879     public startMultiScan_result(
7880       org.apache.accumulo.core.data.thrift.InitialMultiScan success,
7881       org.apache.accumulo.core.security.thrift.ThriftSecurityException sec)
7882     {
7883       this();
7884       this.success = success;
7885       this.sec = sec;
7886     }
7887 
7888     /**
7889      * Performs a deep copy on <i>other</i>.
7890      */
7891     public startMultiScan_result(startMultiScan_result other) {
7892       if (other.isSetSuccess()) {
7893         this.success = new org.apache.accumulo.core.data.thrift.InitialMultiScan(other.success);
7894       }
7895       if (other.isSetSec()) {
7896         this.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(other.sec);
7897       }
7898     }
7899 
7900     public startMultiScan_result deepCopy() {
7901       return new startMultiScan_result(this);
7902     }
7903 
7904     @Override
7905     public void clear() {
7906       this.success = null;
7907       this.sec = null;
7908     }
7909 
7910     public org.apache.accumulo.core.data.thrift.InitialMultiScan getSuccess() {
7911       return this.success;
7912     }
7913 
7914     public startMultiScan_result setSuccess(org.apache.accumulo.core.data.thrift.InitialMultiScan success) {
7915       this.success = success;
7916       return this;
7917     }
7918 
7919     public void unsetSuccess() {
7920       this.success = null;
7921     }
7922 
7923     /** Returns true if field success is set (has been assigned a value) and false otherwise */
7924     public boolean isSetSuccess() {
7925       return this.success != null;
7926     }
7927 
7928     public void setSuccessIsSet(boolean value) {
7929       if (!value) {
7930         this.success = null;
7931       }
7932     }
7933 
7934     public org.apache.accumulo.core.security.thrift.ThriftSecurityException getSec() {
7935       return this.sec;
7936     }
7937 
7938     public startMultiScan_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
7939       this.sec = sec;
7940       return this;
7941     }
7942 
7943     public void unsetSec() {
7944       this.sec = null;
7945     }
7946 
7947     /** Returns true if field sec is set (has been assigned a value) and false otherwise */
7948     public boolean isSetSec() {
7949       return this.sec != null;
7950     }
7951 
7952     public void setSecIsSet(boolean value) {
7953       if (!value) {
7954         this.sec = null;
7955       }
7956     }
7957 
7958     public void setFieldValue(_Fields field, Object value) {
7959       switch (field) {
7960       case SUCCESS:
7961         if (value == null) {
7962           unsetSuccess();
7963         } else {
7964           setSuccess((org.apache.accumulo.core.data.thrift.InitialMultiScan)value);
7965         }
7966         break;
7967 
7968       case SEC:
7969         if (value == null) {
7970           unsetSec();
7971         } else {
7972           setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value);
7973         }
7974         break;
7975 
7976       }
7977     }
7978 
7979     public Object getFieldValue(_Fields field) {
7980       switch (field) {
7981       case SUCCESS:
7982         return getSuccess();
7983 
7984       case SEC:
7985         return getSec();
7986 
7987       }
7988       throw new IllegalStateException();
7989     }
7990 
7991     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
7992     public boolean isSet(_Fields field) {
7993       if (field == null) {
7994         throw new IllegalArgumentException();
7995       }
7996 
7997       switch (field) {
7998       case SUCCESS:
7999         return isSetSuccess();
8000       case SEC:
8001         return isSetSec();
8002       }
8003       throw new IllegalStateException();
8004     }
8005 
8006     @Override
8007     public boolean equals(Object that) {
8008       if (that == null)
8009         return false;
8010       if (that instanceof startMultiScan_result)
8011         return this.equals((startMultiScan_result)that);
8012       return false;
8013     }
8014 
8015     public boolean equals(startMultiScan_result that) {
8016       if (that == null)
8017         return false;
8018 
8019       boolean this_present_success = true && this.isSetSuccess();
8020       boolean that_present_success = true && that.isSetSuccess();
8021       if (this_present_success || that_present_success) {
8022         if (!(this_present_success && that_present_success))
8023           return false;
8024         if (!this.success.equals(that.success))
8025           return false;
8026       }
8027 
8028       boolean this_present_sec = true && this.isSetSec();
8029       boolean that_present_sec = true && that.isSetSec();
8030       if (this_present_sec || that_present_sec) {
8031         if (!(this_present_sec && that_present_sec))
8032           return false;
8033         if (!this.sec.equals(that.sec))
8034           return false;
8035       }
8036 
8037       return true;
8038     }
8039 
8040     @Override
8041     public int hashCode() {
8042       return 0;
8043     }
8044 
8045     public int compareTo(startMultiScan_result other) {
8046       if (!getClass().equals(other.getClass())) {
8047         return getClass().getName().compareTo(other.getClass().getName());
8048       }
8049 
8050       int lastComparison = 0;
8051       startMultiScan_result typedOther = (startMultiScan_result)other;
8052 
8053       lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
8054       if (lastComparison != 0) {
8055         return lastComparison;
8056       }
8057       if (isSetSuccess()) {
8058         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
8059         if (lastComparison != 0) {
8060           return lastComparison;
8061         }
8062       }
8063       lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec());
8064       if (lastComparison != 0) {
8065         return lastComparison;
8066       }
8067       if (isSetSec()) {
8068         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec);
8069         if (lastComparison != 0) {
8070           return lastComparison;
8071         }
8072       }
8073       return 0;
8074     }
8075 
8076     public _Fields fieldForId(int fieldId) {
8077       return _Fields.findByThriftId(fieldId);
8078     }
8079 
8080     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
8081       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
8082     }
8083 
8084     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
8085       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
8086       }
8087 
8088     @Override
8089     public String toString() {
8090       StringBuilder sb = new StringBuilder("startMultiScan_result(");
8091       boolean first = true;
8092 
8093       sb.append("success:");
8094       if (this.success == null) {
8095         sb.append("null");
8096       } else {
8097         sb.append(this.success);
8098       }
8099       first = false;
8100       if (!first) sb.append(", ");
8101       sb.append("sec:");
8102       if (this.sec == null) {
8103         sb.append("null");
8104       } else {
8105         sb.append(this.sec);
8106       }
8107       first = false;
8108       sb.append(")");
8109       return sb.toString();
8110     }
8111 
8112     public void validate() throws org.apache.thrift.TException {
8113       // check for required fields
8114       // check for sub-struct validity
8115       if (success != null) {
8116         success.validate();
8117       }
8118     }
8119 
8120     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
8121       try {
8122         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
8123       } catch (org.apache.thrift.TException te) {
8124         throw new java.io.IOException(te);
8125       }
8126     }
8127 
8128     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
8129       try {
8130         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
8131       } catch (org.apache.thrift.TException te) {
8132         throw new java.io.IOException(te);
8133       }
8134     }
8135 
8136     private static class startMultiScan_resultStandardSchemeFactory implements SchemeFactory {
8137       public startMultiScan_resultStandardScheme getScheme() {
8138         return new startMultiScan_resultStandardScheme();
8139       }
8140     }
8141 
8142     private static class startMultiScan_resultStandardScheme extends StandardScheme<startMultiScan_result> {
8143 
8144       public void read(org.apache.thrift.protocol.TProtocol iprot, startMultiScan_result struct) throws org.apache.thrift.TException {
8145         org.apache.thrift.protocol.TField schemeField;
8146         iprot.readStructBegin();
8147         while (true)
8148         {
8149           schemeField = iprot.readFieldBegin();
8150           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
8151             break;
8152           }
8153           switch (schemeField.id) {
8154             case 0: // SUCCESS
8155               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
8156                 struct.success = new org.apache.accumulo.core.data.thrift.InitialMultiScan();
8157                 struct.success.read(iprot);
8158                 struct.setSuccessIsSet(true);
8159               } else { 
8160                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
8161               }
8162               break;
8163             case 1: // SEC
8164               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
8165                 struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
8166                 struct.sec.read(iprot);
8167                 struct.setSecIsSet(true);
8168               } else { 
8169                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
8170               }
8171               break;
8172             default:
8173               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
8174           }
8175           iprot.readFieldEnd();
8176         }
8177         iprot.readStructEnd();
8178 
8179         // check for required fields of primitive type, which can't be checked in the validate method
8180         struct.validate();
8181       }
8182 
8183       public void write(org.apache.thrift.protocol.TProtocol oprot, startMultiScan_result struct) throws org.apache.thrift.TException {
8184         struct.validate();
8185 
8186         oprot.writeStructBegin(STRUCT_DESC);
8187         if (struct.success != null) {
8188           oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
8189           struct.success.write(oprot);
8190           oprot.writeFieldEnd();
8191         }
8192         if (struct.sec != null) {
8193           oprot.writeFieldBegin(SEC_FIELD_DESC);
8194           struct.sec.write(oprot);
8195           oprot.writeFieldEnd();
8196         }
8197         oprot.writeFieldStop();
8198         oprot.writeStructEnd();
8199       }
8200 
8201     }
8202 
8203     private static class startMultiScan_resultTupleSchemeFactory implements SchemeFactory {
8204       public startMultiScan_resultTupleScheme getScheme() {
8205         return new startMultiScan_resultTupleScheme();
8206       }
8207     }
8208 
8209     private static class startMultiScan_resultTupleScheme extends TupleScheme<startMultiScan_result> {
8210 
8211       @Override
8212       public void write(org.apache.thrift.protocol.TProtocol prot, startMultiScan_result struct) throws org.apache.thrift.TException {
8213         TTupleProtocol oprot = (TTupleProtocol) prot;
8214         BitSet optionals = new BitSet();
8215         if (struct.isSetSuccess()) {
8216           optionals.set(0);
8217         }
8218         if (struct.isSetSec()) {
8219           optionals.set(1);
8220         }
8221         oprot.writeBitSet(optionals, 2);
8222         if (struct.isSetSuccess()) {
8223           struct.success.write(oprot);
8224         }
8225         if (struct.isSetSec()) {
8226           struct.sec.write(oprot);
8227         }
8228       }
8229 
8230       @Override
8231       public void read(org.apache.thrift.protocol.TProtocol prot, startMultiScan_result struct) throws org.apache.thrift.TException {
8232         TTupleProtocol iprot = (TTupleProtocol) prot;
8233         BitSet incoming = iprot.readBitSet(2);
8234         if (incoming.get(0)) {
8235           struct.success = new org.apache.accumulo.core.data.thrift.InitialMultiScan();
8236           struct.success.read(iprot);
8237           struct.setSuccessIsSet(true);
8238         }
8239         if (incoming.get(1)) {
8240           struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
8241           struct.sec.read(iprot);
8242           struct.setSecIsSet(true);
8243         }
8244       }
8245     }
8246 
8247   }
8248 
8249   public static class continueMultiScan_args implements org.apache.thrift.TBase<continueMultiScan_args, continueMultiScan_args._Fields>, java.io.Serializable, Cloneable   {
8250     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("continueMultiScan_args");
8251 
8252     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);
8253     private static final org.apache.thrift.protocol.TField SCAN_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("scanID", org.apache.thrift.protocol.TType.I64, (short)1);
8254 
8255     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
8256     static {
8257       schemes.put(StandardScheme.class, new continueMultiScan_argsStandardSchemeFactory());
8258       schemes.put(TupleScheme.class, new continueMultiScan_argsTupleSchemeFactory());
8259     }
8260 
8261     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
8262     public long scanID; // required
8263 
8264     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
8265     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
8266       TINFO((short)2, "tinfo"),
8267       SCAN_ID((short)1, "scanID");
8268 
8269       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
8270 
8271       static {
8272         for (_Fields field : EnumSet.allOf(_Fields.class)) {
8273           byName.put(field.getFieldName(), field);
8274         }
8275       }
8276 
8277       /**
8278        * Find the _Fields constant that matches fieldId, or null if its not found.
8279        */
8280       public static _Fields findByThriftId(int fieldId) {
8281         switch(fieldId) {
8282           case 2: // TINFO
8283             return TINFO;
8284           case 1: // SCAN_ID
8285             return SCAN_ID;
8286           default:
8287             return null;
8288         }
8289       }
8290 
8291       /**
8292        * Find the _Fields constant that matches fieldId, throwing an exception
8293        * if it is not found.
8294        */
8295       public static _Fields findByThriftIdOrThrow(int fieldId) {
8296         _Fields fields = findByThriftId(fieldId);
8297         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
8298         return fields;
8299       }
8300 
8301       /**
8302        * Find the _Fields constant that matches name, or null if its not found.
8303        */
8304       public static _Fields findByName(String name) {
8305         return byName.get(name);
8306       }
8307 
8308       private final short _thriftId;
8309       private final String _fieldName;
8310 
8311       _Fields(short thriftId, String fieldName) {
8312         _thriftId = thriftId;
8313         _fieldName = fieldName;
8314       }
8315 
8316       public short getThriftFieldId() {
8317         return _thriftId;
8318       }
8319 
8320       public String getFieldName() {
8321         return _fieldName;
8322       }
8323     }
8324 
8325     // isset id assignments
8326     private static final int __SCANID_ISSET_ID = 0;
8327     private byte __isset_bitfield = 0;
8328     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
8329     static {
8330       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
8331       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
8332           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
8333       tmpMap.put(_Fields.SCAN_ID, new org.apache.thrift.meta_data.FieldMetaData("scanID", org.apache.thrift.TFieldRequirementType.DEFAULT, 
8334           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64          , "ScanID")));
8335       metaDataMap = Collections.unmodifiableMap(tmpMap);
8336       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(continueMultiScan_args.class, metaDataMap);
8337     }
8338 
8339     public continueMultiScan_args() {
8340     }
8341 
8342     public continueMultiScan_args(
8343       org.apache.accumulo.trace.thrift.TInfo tinfo,
8344       long scanID)
8345     {
8346       this();
8347       this.tinfo = tinfo;
8348       this.scanID = scanID;
8349       setScanIDIsSet(true);
8350     }
8351 
8352     /**
8353      * Performs a deep copy on <i>other</i>.
8354      */
8355     public continueMultiScan_args(continueMultiScan_args other) {
8356       __isset_bitfield = other.__isset_bitfield;
8357       if (other.isSetTinfo()) {
8358         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
8359       }
8360       this.scanID = other.scanID;
8361     }
8362 
8363     public continueMultiScan_args deepCopy() {
8364       return new continueMultiScan_args(this);
8365     }
8366 
8367     @Override
8368     public void clear() {
8369       this.tinfo = null;
8370       setScanIDIsSet(false);
8371       this.scanID = 0;
8372     }
8373 
8374     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
8375       return this.tinfo;
8376     }
8377 
8378     public continueMultiScan_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
8379       this.tinfo = tinfo;
8380       return this;
8381     }
8382 
8383     public void unsetTinfo() {
8384       this.tinfo = null;
8385     }
8386 
8387     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
8388     public boolean isSetTinfo() {
8389       return this.tinfo != null;
8390     }
8391 
8392     public void setTinfoIsSet(boolean value) {
8393       if (!value) {
8394         this.tinfo = null;
8395       }
8396     }
8397 
8398     public long getScanID() {
8399       return this.scanID;
8400     }
8401 
8402     public continueMultiScan_args setScanID(long scanID) {
8403       this.scanID = scanID;
8404       setScanIDIsSet(true);
8405       return this;
8406     }
8407 
8408     public void unsetScanID() {
8409       __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SCANID_ISSET_ID);
8410     }
8411 
8412     /** Returns true if field scanID is set (has been assigned a value) and false otherwise */
8413     public boolean isSetScanID() {
8414       return EncodingUtils.testBit(__isset_bitfield, __SCANID_ISSET_ID);
8415     }
8416 
8417     public void setScanIDIsSet(boolean value) {
8418       __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SCANID_ISSET_ID, value);
8419     }
8420 
8421     public void setFieldValue(_Fields field, Object value) {
8422       switch (field) {
8423       case TINFO:
8424         if (value == null) {
8425           unsetTinfo();
8426         } else {
8427           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
8428         }
8429         break;
8430 
8431       case SCAN_ID:
8432         if (value == null) {
8433           unsetScanID();
8434         } else {
8435           setScanID((Long)value);
8436         }
8437         break;
8438 
8439       }
8440     }
8441 
8442     public Object getFieldValue(_Fields field) {
8443       switch (field) {
8444       case TINFO:
8445         return getTinfo();
8446 
8447       case SCAN_ID:
8448         return Long.valueOf(getScanID());
8449 
8450       }
8451       throw new IllegalStateException();
8452     }
8453 
8454     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
8455     public boolean isSet(_Fields field) {
8456       if (field == null) {
8457         throw new IllegalArgumentException();
8458       }
8459 
8460       switch (field) {
8461       case TINFO:
8462         return isSetTinfo();
8463       case SCAN_ID:
8464         return isSetScanID();
8465       }
8466       throw new IllegalStateException();
8467     }
8468 
8469     @Override
8470     public boolean equals(Object that) {
8471       if (that == null)
8472         return false;
8473       if (that instanceof continueMultiScan_args)
8474         return this.equals((continueMultiScan_args)that);
8475       return false;
8476     }
8477 
8478     public boolean equals(continueMultiScan_args that) {
8479       if (that == null)
8480         return false;
8481 
8482       boolean this_present_tinfo = true && this.isSetTinfo();
8483       boolean that_present_tinfo = true && that.isSetTinfo();
8484       if (this_present_tinfo || that_present_tinfo) {
8485         if (!(this_present_tinfo && that_present_tinfo))
8486           return false;
8487         if (!this.tinfo.equals(that.tinfo))
8488           return false;
8489       }
8490 
8491       boolean this_present_scanID = true;
8492       boolean that_present_scanID = true;
8493       if (this_present_scanID || that_present_scanID) {
8494         if (!(this_present_scanID && that_present_scanID))
8495           return false;
8496         if (this.scanID != that.scanID)
8497           return false;
8498       }
8499 
8500       return true;
8501     }
8502 
8503     @Override
8504     public int hashCode() {
8505       return 0;
8506     }
8507 
8508     public int compareTo(continueMultiScan_args other) {
8509       if (!getClass().equals(other.getClass())) {
8510         return getClass().getName().compareTo(other.getClass().getName());
8511       }
8512 
8513       int lastComparison = 0;
8514       continueMultiScan_args typedOther = (continueMultiScan_args)other;
8515 
8516       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
8517       if (lastComparison != 0) {
8518         return lastComparison;
8519       }
8520       if (isSetTinfo()) {
8521         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
8522         if (lastComparison != 0) {
8523           return lastComparison;
8524         }
8525       }
8526       lastComparison = Boolean.valueOf(isSetScanID()).compareTo(typedOther.isSetScanID());
8527       if (lastComparison != 0) {
8528         return lastComparison;
8529       }
8530       if (isSetScanID()) {
8531         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.scanID, typedOther.scanID);
8532         if (lastComparison != 0) {
8533           return lastComparison;
8534         }
8535       }
8536       return 0;
8537     }
8538 
8539     public _Fields fieldForId(int fieldId) {
8540       return _Fields.findByThriftId(fieldId);
8541     }
8542 
8543     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
8544       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
8545     }
8546 
8547     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
8548       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
8549     }
8550 
8551     @Override
8552     public String toString() {
8553       StringBuilder sb = new StringBuilder("continueMultiScan_args(");
8554       boolean first = true;
8555 
8556       sb.append("tinfo:");
8557       if (this.tinfo == null) {
8558         sb.append("null");
8559       } else {
8560         sb.append(this.tinfo);
8561       }
8562       first = false;
8563       if (!first) sb.append(", ");
8564       sb.append("scanID:");
8565       sb.append(this.scanID);
8566       first = false;
8567       sb.append(")");
8568       return sb.toString();
8569     }
8570 
8571     public void validate() throws org.apache.thrift.TException {
8572       // check for required fields
8573       // check for sub-struct validity
8574       if (tinfo != null) {
8575         tinfo.validate();
8576       }
8577     }
8578 
8579     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
8580       try {
8581         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
8582       } catch (org.apache.thrift.TException te) {
8583         throw new java.io.IOException(te);
8584       }
8585     }
8586 
8587     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
8588       try {
8589         // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
8590         __isset_bitfield = 0;
8591         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
8592       } catch (org.apache.thrift.TException te) {
8593         throw new java.io.IOException(te);
8594       }
8595     }
8596 
8597     private static class continueMultiScan_argsStandardSchemeFactory implements SchemeFactory {
8598       public continueMultiScan_argsStandardScheme getScheme() {
8599         return new continueMultiScan_argsStandardScheme();
8600       }
8601     }
8602 
8603     private static class continueMultiScan_argsStandardScheme extends StandardScheme<continueMultiScan_args> {
8604 
8605       public void read(org.apache.thrift.protocol.TProtocol iprot, continueMultiScan_args struct) throws org.apache.thrift.TException {
8606         org.apache.thrift.protocol.TField schemeField;
8607         iprot.readStructBegin();
8608         while (true)
8609         {
8610           schemeField = iprot.readFieldBegin();
8611           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
8612             break;
8613           }
8614           switch (schemeField.id) {
8615             case 2: // TINFO
8616               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
8617                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
8618                 struct.tinfo.read(iprot);
8619                 struct.setTinfoIsSet(true);
8620               } else { 
8621                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
8622               }
8623               break;
8624             case 1: // SCAN_ID
8625               if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
8626                 struct.scanID = iprot.readI64();
8627                 struct.setScanIDIsSet(true);
8628               } else { 
8629                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
8630               }
8631               break;
8632             default:
8633               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
8634           }
8635           iprot.readFieldEnd();
8636         }
8637         iprot.readStructEnd();
8638 
8639         // check for required fields of primitive type, which can't be checked in the validate method
8640         struct.validate();
8641       }
8642 
8643       public void write(org.apache.thrift.protocol.TProtocol oprot, continueMultiScan_args struct) throws org.apache.thrift.TException {
8644         struct.validate();
8645 
8646         oprot.writeStructBegin(STRUCT_DESC);
8647         oprot.writeFieldBegin(SCAN_ID_FIELD_DESC);
8648         oprot.writeI64(struct.scanID);
8649         oprot.writeFieldEnd();
8650         if (struct.tinfo != null) {
8651           oprot.writeFieldBegin(TINFO_FIELD_DESC);
8652           struct.tinfo.write(oprot);
8653           oprot.writeFieldEnd();
8654         }
8655         oprot.writeFieldStop();
8656         oprot.writeStructEnd();
8657       }
8658 
8659     }
8660 
8661     private static class continueMultiScan_argsTupleSchemeFactory implements SchemeFactory {
8662       public continueMultiScan_argsTupleScheme getScheme() {
8663         return new continueMultiScan_argsTupleScheme();
8664       }
8665     }
8666 
8667     private static class continueMultiScan_argsTupleScheme extends TupleScheme<continueMultiScan_args> {
8668 
8669       @Override
8670       public void write(org.apache.thrift.protocol.TProtocol prot, continueMultiScan_args struct) throws org.apache.thrift.TException {
8671         TTupleProtocol oprot = (TTupleProtocol) prot;
8672         BitSet optionals = new BitSet();
8673         if (struct.isSetTinfo()) {
8674           optionals.set(0);
8675         }
8676         if (struct.isSetScanID()) {
8677           optionals.set(1);
8678         }
8679         oprot.writeBitSet(optionals, 2);
8680         if (struct.isSetTinfo()) {
8681           struct.tinfo.write(oprot);
8682         }
8683         if (struct.isSetScanID()) {
8684           oprot.writeI64(struct.scanID);
8685         }
8686       }
8687 
8688       @Override
8689       public void read(org.apache.thrift.protocol.TProtocol prot, continueMultiScan_args struct) throws org.apache.thrift.TException {
8690         TTupleProtocol iprot = (TTupleProtocol) prot;
8691         BitSet incoming = iprot.readBitSet(2);
8692         if (incoming.get(0)) {
8693           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
8694           struct.tinfo.read(iprot);
8695           struct.setTinfoIsSet(true);
8696         }
8697         if (incoming.get(1)) {
8698           struct.scanID = iprot.readI64();
8699           struct.setScanIDIsSet(true);
8700         }
8701       }
8702     }
8703 
8704   }
8705 
8706   public static class continueMultiScan_result implements org.apache.thrift.TBase<continueMultiScan_result, continueMultiScan_result._Fields>, java.io.Serializable, Cloneable   {
8707     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("continueMultiScan_result");
8708 
8709     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);
8710     private static final org.apache.thrift.protocol.TField NSSI_FIELD_DESC = new org.apache.thrift.protocol.TField("nssi", org.apache.thrift.protocol.TType.STRUCT, (short)1);
8711 
8712     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
8713     static {
8714       schemes.put(StandardScheme.class, new continueMultiScan_resultStandardSchemeFactory());
8715       schemes.put(TupleScheme.class, new continueMultiScan_resultTupleSchemeFactory());
8716     }
8717 
8718     public org.apache.accumulo.core.data.thrift.MultiScanResult success; // required
8719     public NoSuchScanIDException nssi; // required
8720 
8721     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
8722     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
8723       SUCCESS((short)0, "success"),
8724       NSSI((short)1, "nssi");
8725 
8726       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
8727 
8728       static {
8729         for (_Fields field : EnumSet.allOf(_Fields.class)) {
8730           byName.put(field.getFieldName(), field);
8731         }
8732       }
8733 
8734       /**
8735        * Find the _Fields constant that matches fieldId, or null if its not found.
8736        */
8737       public static _Fields findByThriftId(int fieldId) {
8738         switch(fieldId) {
8739           case 0: // SUCCESS
8740             return SUCCESS;
8741           case 1: // NSSI
8742             return NSSI;
8743           default:
8744             return null;
8745         }
8746       }
8747 
8748       /**
8749        * Find the _Fields constant that matches fieldId, throwing an exception
8750        * if it is not found.
8751        */
8752       public static _Fields findByThriftIdOrThrow(int fieldId) {
8753         _Fields fields = findByThriftId(fieldId);
8754         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
8755         return fields;
8756       }
8757 
8758       /**
8759        * Find the _Fields constant that matches name, or null if its not found.
8760        */
8761       public static _Fields findByName(String name) {
8762         return byName.get(name);
8763       }
8764 
8765       private final short _thriftId;
8766       private final String _fieldName;
8767 
8768       _Fields(short thriftId, String fieldName) {
8769         _thriftId = thriftId;
8770         _fieldName = fieldName;
8771       }
8772 
8773       public short getThriftFieldId() {
8774         return _thriftId;
8775       }
8776 
8777       public String getFieldName() {
8778         return _fieldName;
8779       }
8780     }
8781 
8782     // isset id assignments
8783     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
8784     static {
8785       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
8786       tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
8787           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.MultiScanResult.class)));
8788       tmpMap.put(_Fields.NSSI, new org.apache.thrift.meta_data.FieldMetaData("nssi", org.apache.thrift.TFieldRequirementType.DEFAULT, 
8789           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
8790       metaDataMap = Collections.unmodifiableMap(tmpMap);
8791       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(continueMultiScan_result.class, metaDataMap);
8792     }
8793 
8794     public continueMultiScan_result() {
8795     }
8796 
8797     public continueMultiScan_result(
8798       org.apache.accumulo.core.data.thrift.MultiScanResult success,
8799       NoSuchScanIDException nssi)
8800     {
8801       this();
8802       this.success = success;
8803       this.nssi = nssi;
8804     }
8805 
8806     /**
8807      * Performs a deep copy on <i>other</i>.
8808      */
8809     public continueMultiScan_result(continueMultiScan_result other) {
8810       if (other.isSetSuccess()) {
8811         this.success = new org.apache.accumulo.core.data.thrift.MultiScanResult(other.success);
8812       }
8813       if (other.isSetNssi()) {
8814         this.nssi = new NoSuchScanIDException(other.nssi);
8815       }
8816     }
8817 
8818     public continueMultiScan_result deepCopy() {
8819       return new continueMultiScan_result(this);
8820     }
8821 
8822     @Override
8823     public void clear() {
8824       this.success = null;
8825       this.nssi = null;
8826     }
8827 
8828     public org.apache.accumulo.core.data.thrift.MultiScanResult getSuccess() {
8829       return this.success;
8830     }
8831 
8832     public continueMultiScan_result setSuccess(org.apache.accumulo.core.data.thrift.MultiScanResult success) {
8833       this.success = success;
8834       return this;
8835     }
8836 
8837     public void unsetSuccess() {
8838       this.success = null;
8839     }
8840 
8841     /** Returns true if field success is set (has been assigned a value) and false otherwise */
8842     public boolean isSetSuccess() {
8843       return this.success != null;
8844     }
8845 
8846     public void setSuccessIsSet(boolean value) {
8847       if (!value) {
8848         this.success = null;
8849       }
8850     }
8851 
8852     public NoSuchScanIDException getNssi() {
8853       return this.nssi;
8854     }
8855 
8856     public continueMultiScan_result setNssi(NoSuchScanIDException nssi) {
8857       this.nssi = nssi;
8858       return this;
8859     }
8860 
8861     public void unsetNssi() {
8862       this.nssi = null;
8863     }
8864 
8865     /** Returns true if field nssi is set (has been assigned a value) and false otherwise */
8866     public boolean isSetNssi() {
8867       return this.nssi != null;
8868     }
8869 
8870     public void setNssiIsSet(boolean value) {
8871       if (!value) {
8872         this.nssi = null;
8873       }
8874     }
8875 
8876     public void setFieldValue(_Fields field, Object value) {
8877       switch (field) {
8878       case SUCCESS:
8879         if (value == null) {
8880           unsetSuccess();
8881         } else {
8882           setSuccess((org.apache.accumulo.core.data.thrift.MultiScanResult)value);
8883         }
8884         break;
8885 
8886       case NSSI:
8887         if (value == null) {
8888           unsetNssi();
8889         } else {
8890           setNssi((NoSuchScanIDException)value);
8891         }
8892         break;
8893 
8894       }
8895     }
8896 
8897     public Object getFieldValue(_Fields field) {
8898       switch (field) {
8899       case SUCCESS:
8900         return getSuccess();
8901 
8902       case NSSI:
8903         return getNssi();
8904 
8905       }
8906       throw new IllegalStateException();
8907     }
8908 
8909     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
8910     public boolean isSet(_Fields field) {
8911       if (field == null) {
8912         throw new IllegalArgumentException();
8913       }
8914 
8915       switch (field) {
8916       case SUCCESS:
8917         return isSetSuccess();
8918       case NSSI:
8919         return isSetNssi();
8920       }
8921       throw new IllegalStateException();
8922     }
8923 
8924     @Override
8925     public boolean equals(Object that) {
8926       if (that == null)
8927         return false;
8928       if (that instanceof continueMultiScan_result)
8929         return this.equals((continueMultiScan_result)that);
8930       return false;
8931     }
8932 
8933     public boolean equals(continueMultiScan_result that) {
8934       if (that == null)
8935         return false;
8936 
8937       boolean this_present_success = true && this.isSetSuccess();
8938       boolean that_present_success = true && that.isSetSuccess();
8939       if (this_present_success || that_present_success) {
8940         if (!(this_present_success && that_present_success))
8941           return false;
8942         if (!this.success.equals(that.success))
8943           return false;
8944       }
8945 
8946       boolean this_present_nssi = true && this.isSetNssi();
8947       boolean that_present_nssi = true && that.isSetNssi();
8948       if (this_present_nssi || that_present_nssi) {
8949         if (!(this_present_nssi && that_present_nssi))
8950           return false;
8951         if (!this.nssi.equals(that.nssi))
8952           return false;
8953       }
8954 
8955       return true;
8956     }
8957 
8958     @Override
8959     public int hashCode() {
8960       return 0;
8961     }
8962 
8963     public int compareTo(continueMultiScan_result other) {
8964       if (!getClass().equals(other.getClass())) {
8965         return getClass().getName().compareTo(other.getClass().getName());
8966       }
8967 
8968       int lastComparison = 0;
8969       continueMultiScan_result typedOther = (continueMultiScan_result)other;
8970 
8971       lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
8972       if (lastComparison != 0) {
8973         return lastComparison;
8974       }
8975       if (isSetSuccess()) {
8976         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
8977         if (lastComparison != 0) {
8978           return lastComparison;
8979         }
8980       }
8981       lastComparison = Boolean.valueOf(isSetNssi()).compareTo(typedOther.isSetNssi());
8982       if (lastComparison != 0) {
8983         return lastComparison;
8984       }
8985       if (isSetNssi()) {
8986         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nssi, typedOther.nssi);
8987         if (lastComparison != 0) {
8988           return lastComparison;
8989         }
8990       }
8991       return 0;
8992     }
8993 
8994     public _Fields fieldForId(int fieldId) {
8995       return _Fields.findByThriftId(fieldId);
8996     }
8997 
8998     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
8999       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
9000     }
9001 
9002     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
9003       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
9004       }
9005 
9006     @Override
9007     public String toString() {
9008       StringBuilder sb = new StringBuilder("continueMultiScan_result(");
9009       boolean first = true;
9010 
9011       sb.append("success:");
9012       if (this.success == null) {
9013         sb.append("null");
9014       } else {
9015         sb.append(this.success);
9016       }
9017       first = false;
9018       if (!first) sb.append(", ");
9019       sb.append("nssi:");
9020       if (this.nssi == null) {
9021         sb.append("null");
9022       } else {
9023         sb.append(this.nssi);
9024       }
9025       first = false;
9026       sb.append(")");
9027       return sb.toString();
9028     }
9029 
9030     public void validate() throws org.apache.thrift.TException {
9031       // check for required fields
9032       // check for sub-struct validity
9033       if (success != null) {
9034         success.validate();
9035       }
9036     }
9037 
9038     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
9039       try {
9040         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
9041       } catch (org.apache.thrift.TException te) {
9042         throw new java.io.IOException(te);
9043       }
9044     }
9045 
9046     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
9047       try {
9048         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
9049       } catch (org.apache.thrift.TException te) {
9050         throw new java.io.IOException(te);
9051       }
9052     }
9053 
9054     private static class continueMultiScan_resultStandardSchemeFactory implements SchemeFactory {
9055       public continueMultiScan_resultStandardScheme getScheme() {
9056         return new continueMultiScan_resultStandardScheme();
9057       }
9058     }
9059 
9060     private static class continueMultiScan_resultStandardScheme extends StandardScheme<continueMultiScan_result> {
9061 
9062       public void read(org.apache.thrift.protocol.TProtocol iprot, continueMultiScan_result struct) throws org.apache.thrift.TException {
9063         org.apache.thrift.protocol.TField schemeField;
9064         iprot.readStructBegin();
9065         while (true)
9066         {
9067           schemeField = iprot.readFieldBegin();
9068           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
9069             break;
9070           }
9071           switch (schemeField.id) {
9072             case 0: // SUCCESS
9073               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
9074                 struct.success = new org.apache.accumulo.core.data.thrift.MultiScanResult();
9075                 struct.success.read(iprot);
9076                 struct.setSuccessIsSet(true);
9077               } else { 
9078                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
9079               }
9080               break;
9081             case 1: // NSSI
9082               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
9083                 struct.nssi = new NoSuchScanIDException();
9084                 struct.nssi.read(iprot);
9085                 struct.setNssiIsSet(true);
9086               } else { 
9087                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
9088               }
9089               break;
9090             default:
9091               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
9092           }
9093           iprot.readFieldEnd();
9094         }
9095         iprot.readStructEnd();
9096 
9097         // check for required fields of primitive type, which can't be checked in the validate method
9098         struct.validate();
9099       }
9100 
9101       public void write(org.apache.thrift.protocol.TProtocol oprot, continueMultiScan_result struct) throws org.apache.thrift.TException {
9102         struct.validate();
9103 
9104         oprot.writeStructBegin(STRUCT_DESC);
9105         if (struct.success != null) {
9106           oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
9107           struct.success.write(oprot);
9108           oprot.writeFieldEnd();
9109         }
9110         if (struct.nssi != null) {
9111           oprot.writeFieldBegin(NSSI_FIELD_DESC);
9112           struct.nssi.write(oprot);
9113           oprot.writeFieldEnd();
9114         }
9115         oprot.writeFieldStop();
9116         oprot.writeStructEnd();
9117       }
9118 
9119     }
9120 
9121     private static class continueMultiScan_resultTupleSchemeFactory implements SchemeFactory {
9122       public continueMultiScan_resultTupleScheme getScheme() {
9123         return new continueMultiScan_resultTupleScheme();
9124       }
9125     }
9126 
9127     private static class continueMultiScan_resultTupleScheme extends TupleScheme<continueMultiScan_result> {
9128 
9129       @Override
9130       public void write(org.apache.thrift.protocol.TProtocol prot, continueMultiScan_result struct) throws org.apache.thrift.TException {
9131         TTupleProtocol oprot = (TTupleProtocol) prot;
9132         BitSet optionals = new BitSet();
9133         if (struct.isSetSuccess()) {
9134           optionals.set(0);
9135         }
9136         if (struct.isSetNssi()) {
9137           optionals.set(1);
9138         }
9139         oprot.writeBitSet(optionals, 2);
9140         if (struct.isSetSuccess()) {
9141           struct.success.write(oprot);
9142         }
9143         if (struct.isSetNssi()) {
9144           struct.nssi.write(oprot);
9145         }
9146       }
9147 
9148       @Override
9149       public void read(org.apache.thrift.protocol.TProtocol prot, continueMultiScan_result struct) throws org.apache.thrift.TException {
9150         TTupleProtocol iprot = (TTupleProtocol) prot;
9151         BitSet incoming = iprot.readBitSet(2);
9152         if (incoming.get(0)) {
9153           struct.success = new org.apache.accumulo.core.data.thrift.MultiScanResult();
9154           struct.success.read(iprot);
9155           struct.setSuccessIsSet(true);
9156         }
9157         if (incoming.get(1)) {
9158           struct.nssi = new NoSuchScanIDException();
9159           struct.nssi.read(iprot);
9160           struct.setNssiIsSet(true);
9161         }
9162       }
9163     }
9164 
9165   }
9166 
9167   public static class closeMultiScan_args implements org.apache.thrift.TBase<closeMultiScan_args, closeMultiScan_args._Fields>, java.io.Serializable, Cloneable   {
9168     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("closeMultiScan_args");
9169 
9170     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);
9171     private static final org.apache.thrift.protocol.TField SCAN_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("scanID", org.apache.thrift.protocol.TType.I64, (short)1);
9172 
9173     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
9174     static {
9175       schemes.put(StandardScheme.class, new closeMultiScan_argsStandardSchemeFactory());
9176       schemes.put(TupleScheme.class, new closeMultiScan_argsTupleSchemeFactory());
9177     }
9178 
9179     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
9180     public long scanID; // required
9181 
9182     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
9183     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
9184       TINFO((short)2, "tinfo"),
9185       SCAN_ID((short)1, "scanID");
9186 
9187       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
9188 
9189       static {
9190         for (_Fields field : EnumSet.allOf(_Fields.class)) {
9191           byName.put(field.getFieldName(), field);
9192         }
9193       }
9194 
9195       /**
9196        * Find the _Fields constant that matches fieldId, or null if its not found.
9197        */
9198       public static _Fields findByThriftId(int fieldId) {
9199         switch(fieldId) {
9200           case 2: // TINFO
9201             return TINFO;
9202           case 1: // SCAN_ID
9203             return SCAN_ID;
9204           default:
9205             return null;
9206         }
9207       }
9208 
9209       /**
9210        * Find the _Fields constant that matches fieldId, throwing an exception
9211        * if it is not found.
9212        */
9213       public static _Fields findByThriftIdOrThrow(int fieldId) {
9214         _Fields fields = findByThriftId(fieldId);
9215         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
9216         return fields;
9217       }
9218 
9219       /**
9220        * Find the _Fields constant that matches name, or null if its not found.
9221        */
9222       public static _Fields findByName(String name) {
9223         return byName.get(name);
9224       }
9225 
9226       private final short _thriftId;
9227       private final String _fieldName;
9228 
9229       _Fields(short thriftId, String fieldName) {
9230         _thriftId = thriftId;
9231         _fieldName = fieldName;
9232       }
9233 
9234       public short getThriftFieldId() {
9235         return _thriftId;
9236       }
9237 
9238       public String getFieldName() {
9239         return _fieldName;
9240       }
9241     }
9242 
9243     // isset id assignments
9244     private static final int __SCANID_ISSET_ID = 0;
9245     private byte __isset_bitfield = 0;
9246     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
9247     static {
9248       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
9249       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
9250           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
9251       tmpMap.put(_Fields.SCAN_ID, new org.apache.thrift.meta_data.FieldMetaData("scanID", org.apache.thrift.TFieldRequirementType.DEFAULT, 
9252           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64          , "ScanID")));
9253       metaDataMap = Collections.unmodifiableMap(tmpMap);
9254       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(closeMultiScan_args.class, metaDataMap);
9255     }
9256 
9257     public closeMultiScan_args() {
9258     }
9259 
9260     public closeMultiScan_args(
9261       org.apache.accumulo.trace.thrift.TInfo tinfo,
9262       long scanID)
9263     {
9264       this();
9265       this.tinfo = tinfo;
9266       this.scanID = scanID;
9267       setScanIDIsSet(true);
9268     }
9269 
9270     /**
9271      * Performs a deep copy on <i>other</i>.
9272      */
9273     public closeMultiScan_args(closeMultiScan_args other) {
9274       __isset_bitfield = other.__isset_bitfield;
9275       if (other.isSetTinfo()) {
9276         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
9277       }
9278       this.scanID = other.scanID;
9279     }
9280 
9281     public closeMultiScan_args deepCopy() {
9282       return new closeMultiScan_args(this);
9283     }
9284 
9285     @Override
9286     public void clear() {
9287       this.tinfo = null;
9288       setScanIDIsSet(false);
9289       this.scanID = 0;
9290     }
9291 
9292     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
9293       return this.tinfo;
9294     }
9295 
9296     public closeMultiScan_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
9297       this.tinfo = tinfo;
9298       return this;
9299     }
9300 
9301     public void unsetTinfo() {
9302       this.tinfo = null;
9303     }
9304 
9305     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
9306     public boolean isSetTinfo() {
9307       return this.tinfo != null;
9308     }
9309 
9310     public void setTinfoIsSet(boolean value) {
9311       if (!value) {
9312         this.tinfo = null;
9313       }
9314     }
9315 
9316     public long getScanID() {
9317       return this.scanID;
9318     }
9319 
9320     public closeMultiScan_args setScanID(long scanID) {
9321       this.scanID = scanID;
9322       setScanIDIsSet(true);
9323       return this;
9324     }
9325 
9326     public void unsetScanID() {
9327       __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SCANID_ISSET_ID);
9328     }
9329 
9330     /** Returns true if field scanID is set (has been assigned a value) and false otherwise */
9331     public boolean isSetScanID() {
9332       return EncodingUtils.testBit(__isset_bitfield, __SCANID_ISSET_ID);
9333     }
9334 
9335     public void setScanIDIsSet(boolean value) {
9336       __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SCANID_ISSET_ID, value);
9337     }
9338 
9339     public void setFieldValue(_Fields field, Object value) {
9340       switch (field) {
9341       case TINFO:
9342         if (value == null) {
9343           unsetTinfo();
9344         } else {
9345           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
9346         }
9347         break;
9348 
9349       case SCAN_ID:
9350         if (value == null) {
9351           unsetScanID();
9352         } else {
9353           setScanID((Long)value);
9354         }
9355         break;
9356 
9357       }
9358     }
9359 
9360     public Object getFieldValue(_Fields field) {
9361       switch (field) {
9362       case TINFO:
9363         return getTinfo();
9364 
9365       case SCAN_ID:
9366         return Long.valueOf(getScanID());
9367 
9368       }
9369       throw new IllegalStateException();
9370     }
9371 
9372     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
9373     public boolean isSet(_Fields field) {
9374       if (field == null) {
9375         throw new IllegalArgumentException();
9376       }
9377 
9378       switch (field) {
9379       case TINFO:
9380         return isSetTinfo();
9381       case SCAN_ID:
9382         return isSetScanID();
9383       }
9384       throw new IllegalStateException();
9385     }
9386 
9387     @Override
9388     public boolean equals(Object that) {
9389       if (that == null)
9390         return false;
9391       if (that instanceof closeMultiScan_args)
9392         return this.equals((closeMultiScan_args)that);
9393       return false;
9394     }
9395 
9396     public boolean equals(closeMultiScan_args that) {
9397       if (that == null)
9398         return false;
9399 
9400       boolean this_present_tinfo = true && this.isSetTinfo();
9401       boolean that_present_tinfo = true && that.isSetTinfo();
9402       if (this_present_tinfo || that_present_tinfo) {
9403         if (!(this_present_tinfo && that_present_tinfo))
9404           return false;
9405         if (!this.tinfo.equals(that.tinfo))
9406           return false;
9407       }
9408 
9409       boolean this_present_scanID = true;
9410       boolean that_present_scanID = true;
9411       if (this_present_scanID || that_present_scanID) {
9412         if (!(this_present_scanID && that_present_scanID))
9413           return false;
9414         if (this.scanID != that.scanID)
9415           return false;
9416       }
9417 
9418       return true;
9419     }
9420 
9421     @Override
9422     public int hashCode() {
9423       return 0;
9424     }
9425 
9426     public int compareTo(closeMultiScan_args other) {
9427       if (!getClass().equals(other.getClass())) {
9428         return getClass().getName().compareTo(other.getClass().getName());
9429       }
9430 
9431       int lastComparison = 0;
9432       closeMultiScan_args typedOther = (closeMultiScan_args)other;
9433 
9434       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
9435       if (lastComparison != 0) {
9436         return lastComparison;
9437       }
9438       if (isSetTinfo()) {
9439         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
9440         if (lastComparison != 0) {
9441           return lastComparison;
9442         }
9443       }
9444       lastComparison = Boolean.valueOf(isSetScanID()).compareTo(typedOther.isSetScanID());
9445       if (lastComparison != 0) {
9446         return lastComparison;
9447       }
9448       if (isSetScanID()) {
9449         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.scanID, typedOther.scanID);
9450         if (lastComparison != 0) {
9451           return lastComparison;
9452         }
9453       }
9454       return 0;
9455     }
9456 
9457     public _Fields fieldForId(int fieldId) {
9458       return _Fields.findByThriftId(fieldId);
9459     }
9460 
9461     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
9462       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
9463     }
9464 
9465     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
9466       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
9467     }
9468 
9469     @Override
9470     public String toString() {
9471       StringBuilder sb = new StringBuilder("closeMultiScan_args(");
9472       boolean first = true;
9473 
9474       sb.append("tinfo:");
9475       if (this.tinfo == null) {
9476         sb.append("null");
9477       } else {
9478         sb.append(this.tinfo);
9479       }
9480       first = false;
9481       if (!first) sb.append(", ");
9482       sb.append("scanID:");
9483       sb.append(this.scanID);
9484       first = false;
9485       sb.append(")");
9486       return sb.toString();
9487     }
9488 
9489     public void validate() throws org.apache.thrift.TException {
9490       // check for required fields
9491       // check for sub-struct validity
9492       if (tinfo != null) {
9493         tinfo.validate();
9494       }
9495     }
9496 
9497     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
9498       try {
9499         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
9500       } catch (org.apache.thrift.TException te) {
9501         throw new java.io.IOException(te);
9502       }
9503     }
9504 
9505     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
9506       try {
9507         // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
9508         __isset_bitfield = 0;
9509         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
9510       } catch (org.apache.thrift.TException te) {
9511         throw new java.io.IOException(te);
9512       }
9513     }
9514 
9515     private static class closeMultiScan_argsStandardSchemeFactory implements SchemeFactory {
9516       public closeMultiScan_argsStandardScheme getScheme() {
9517         return new closeMultiScan_argsStandardScheme();
9518       }
9519     }
9520 
9521     private static class closeMultiScan_argsStandardScheme extends StandardScheme<closeMultiScan_args> {
9522 
9523       public void read(org.apache.thrift.protocol.TProtocol iprot, closeMultiScan_args struct) throws org.apache.thrift.TException {
9524         org.apache.thrift.protocol.TField schemeField;
9525         iprot.readStructBegin();
9526         while (true)
9527         {
9528           schemeField = iprot.readFieldBegin();
9529           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
9530             break;
9531           }
9532           switch (schemeField.id) {
9533             case 2: // TINFO
9534               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
9535                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
9536                 struct.tinfo.read(iprot);
9537                 struct.setTinfoIsSet(true);
9538               } else { 
9539                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
9540               }
9541               break;
9542             case 1: // SCAN_ID
9543               if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
9544                 struct.scanID = iprot.readI64();
9545                 struct.setScanIDIsSet(true);
9546               } else { 
9547                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
9548               }
9549               break;
9550             default:
9551               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
9552           }
9553           iprot.readFieldEnd();
9554         }
9555         iprot.readStructEnd();
9556 
9557         // check for required fields of primitive type, which can't be checked in the validate method
9558         struct.validate();
9559       }
9560 
9561       public void write(org.apache.thrift.protocol.TProtocol oprot, closeMultiScan_args struct) throws org.apache.thrift.TException {
9562         struct.validate();
9563 
9564         oprot.writeStructBegin(STRUCT_DESC);
9565         oprot.writeFieldBegin(SCAN_ID_FIELD_DESC);
9566         oprot.writeI64(struct.scanID);
9567         oprot.writeFieldEnd();
9568         if (struct.tinfo != null) {
9569           oprot.writeFieldBegin(TINFO_FIELD_DESC);
9570           struct.tinfo.write(oprot);
9571           oprot.writeFieldEnd();
9572         }
9573         oprot.writeFieldStop();
9574         oprot.writeStructEnd();
9575       }
9576 
9577     }
9578 
9579     private static class closeMultiScan_argsTupleSchemeFactory implements SchemeFactory {
9580       public closeMultiScan_argsTupleScheme getScheme() {
9581         return new closeMultiScan_argsTupleScheme();
9582       }
9583     }
9584 
9585     private static class closeMultiScan_argsTupleScheme extends TupleScheme<closeMultiScan_args> {
9586 
9587       @Override
9588       public void write(org.apache.thrift.protocol.TProtocol prot, closeMultiScan_args struct) throws org.apache.thrift.TException {
9589         TTupleProtocol oprot = (TTupleProtocol) prot;
9590         BitSet optionals = new BitSet();
9591         if (struct.isSetTinfo()) {
9592           optionals.set(0);
9593         }
9594         if (struct.isSetScanID()) {
9595           optionals.set(1);
9596         }
9597         oprot.writeBitSet(optionals, 2);
9598         if (struct.isSetTinfo()) {
9599           struct.tinfo.write(oprot);
9600         }
9601         if (struct.isSetScanID()) {
9602           oprot.writeI64(struct.scanID);
9603         }
9604       }
9605 
9606       @Override
9607       public void read(org.apache.thrift.protocol.TProtocol prot, closeMultiScan_args struct) throws org.apache.thrift.TException {
9608         TTupleProtocol iprot = (TTupleProtocol) prot;
9609         BitSet incoming = iprot.readBitSet(2);
9610         if (incoming.get(0)) {
9611           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
9612           struct.tinfo.read(iprot);
9613           struct.setTinfoIsSet(true);
9614         }
9615         if (incoming.get(1)) {
9616           struct.scanID = iprot.readI64();
9617           struct.setScanIDIsSet(true);
9618         }
9619       }
9620     }
9621 
9622   }
9623 
9624   public static class closeMultiScan_result implements org.apache.thrift.TBase<closeMultiScan_result, closeMultiScan_result._Fields>, java.io.Serializable, Cloneable   {
9625     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("closeMultiScan_result");
9626 
9627     private static final org.apache.thrift.protocol.TField NSSI_FIELD_DESC = new org.apache.thrift.protocol.TField("nssi", org.apache.thrift.protocol.TType.STRUCT, (short)1);
9628 
9629     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
9630     static {
9631       schemes.put(StandardScheme.class, new closeMultiScan_resultStandardSchemeFactory());
9632       schemes.put(TupleScheme.class, new closeMultiScan_resultTupleSchemeFactory());
9633     }
9634 
9635     public NoSuchScanIDException nssi; // required
9636 
9637     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
9638     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
9639       NSSI((short)1, "nssi");
9640 
9641       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
9642 
9643       static {
9644         for (_Fields field : EnumSet.allOf(_Fields.class)) {
9645           byName.put(field.getFieldName(), field);
9646         }
9647       }
9648 
9649       /**
9650        * Find the _Fields constant that matches fieldId, or null if its not found.
9651        */
9652       public static _Fields findByThriftId(int fieldId) {
9653         switch(fieldId) {
9654           case 1: // NSSI
9655             return NSSI;
9656           default:
9657             return null;
9658         }
9659       }
9660 
9661       /**
9662        * Find the _Fields constant that matches fieldId, throwing an exception
9663        * if it is not found.
9664        */
9665       public static _Fields findByThriftIdOrThrow(int fieldId) {
9666         _Fields fields = findByThriftId(fieldId);
9667         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
9668         return fields;
9669       }
9670 
9671       /**
9672        * Find the _Fields constant that matches name, or null if its not found.
9673        */
9674       public static _Fields findByName(String name) {
9675         return byName.get(name);
9676       }
9677 
9678       private final short _thriftId;
9679       private final String _fieldName;
9680 
9681       _Fields(short thriftId, String fieldName) {
9682         _thriftId = thriftId;
9683         _fieldName = fieldName;
9684       }
9685 
9686       public short getThriftFieldId() {
9687         return _thriftId;
9688       }
9689 
9690       public String getFieldName() {
9691         return _fieldName;
9692       }
9693     }
9694 
9695     // isset id assignments
9696     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
9697     static {
9698       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
9699       tmpMap.put(_Fields.NSSI, new org.apache.thrift.meta_data.FieldMetaData("nssi", org.apache.thrift.TFieldRequirementType.DEFAULT, 
9700           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
9701       metaDataMap = Collections.unmodifiableMap(tmpMap);
9702       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(closeMultiScan_result.class, metaDataMap);
9703     }
9704 
9705     public closeMultiScan_result() {
9706     }
9707 
9708     public closeMultiScan_result(
9709       NoSuchScanIDException nssi)
9710     {
9711       this();
9712       this.nssi = nssi;
9713     }
9714 
9715     /**
9716      * Performs a deep copy on <i>other</i>.
9717      */
9718     public closeMultiScan_result(closeMultiScan_result other) {
9719       if (other.isSetNssi()) {
9720         this.nssi = new NoSuchScanIDException(other.nssi);
9721       }
9722     }
9723 
9724     public closeMultiScan_result deepCopy() {
9725       return new closeMultiScan_result(this);
9726     }
9727 
9728     @Override
9729     public void clear() {
9730       this.nssi = null;
9731     }
9732 
9733     public NoSuchScanIDException getNssi() {
9734       return this.nssi;
9735     }
9736 
9737     public closeMultiScan_result setNssi(NoSuchScanIDException nssi) {
9738       this.nssi = nssi;
9739       return this;
9740     }
9741 
9742     public void unsetNssi() {
9743       this.nssi = null;
9744     }
9745 
9746     /** Returns true if field nssi is set (has been assigned a value) and false otherwise */
9747     public boolean isSetNssi() {
9748       return this.nssi != null;
9749     }
9750 
9751     public void setNssiIsSet(boolean value) {
9752       if (!value) {
9753         this.nssi = null;
9754       }
9755     }
9756 
9757     public void setFieldValue(_Fields field, Object value) {
9758       switch (field) {
9759       case NSSI:
9760         if (value == null) {
9761           unsetNssi();
9762         } else {
9763           setNssi((NoSuchScanIDException)value);
9764         }
9765         break;
9766 
9767       }
9768     }
9769 
9770     public Object getFieldValue(_Fields field) {
9771       switch (field) {
9772       case NSSI:
9773         return getNssi();
9774 
9775       }
9776       throw new IllegalStateException();
9777     }
9778 
9779     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
9780     public boolean isSet(_Fields field) {
9781       if (field == null) {
9782         throw new IllegalArgumentException();
9783       }
9784 
9785       switch (field) {
9786       case NSSI:
9787         return isSetNssi();
9788       }
9789       throw new IllegalStateException();
9790     }
9791 
9792     @Override
9793     public boolean equals(Object that) {
9794       if (that == null)
9795         return false;
9796       if (that instanceof closeMultiScan_result)
9797         return this.equals((closeMultiScan_result)that);
9798       return false;
9799     }
9800 
9801     public boolean equals(closeMultiScan_result that) {
9802       if (that == null)
9803         return false;
9804 
9805       boolean this_present_nssi = true && this.isSetNssi();
9806       boolean that_present_nssi = true && that.isSetNssi();
9807       if (this_present_nssi || that_present_nssi) {
9808         if (!(this_present_nssi && that_present_nssi))
9809           return false;
9810         if (!this.nssi.equals(that.nssi))
9811           return false;
9812       }
9813 
9814       return true;
9815     }
9816 
9817     @Override
9818     public int hashCode() {
9819       return 0;
9820     }
9821 
9822     public int compareTo(closeMultiScan_result other) {
9823       if (!getClass().equals(other.getClass())) {
9824         return getClass().getName().compareTo(other.getClass().getName());
9825       }
9826 
9827       int lastComparison = 0;
9828       closeMultiScan_result typedOther = (closeMultiScan_result)other;
9829 
9830       lastComparison = Boolean.valueOf(isSetNssi()).compareTo(typedOther.isSetNssi());
9831       if (lastComparison != 0) {
9832         return lastComparison;
9833       }
9834       if (isSetNssi()) {
9835         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nssi, typedOther.nssi);
9836         if (lastComparison != 0) {
9837           return lastComparison;
9838         }
9839       }
9840       return 0;
9841     }
9842 
9843     public _Fields fieldForId(int fieldId) {
9844       return _Fields.findByThriftId(fieldId);
9845     }
9846 
9847     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
9848       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
9849     }
9850 
9851     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
9852       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
9853       }
9854 
9855     @Override
9856     public String toString() {
9857       StringBuilder sb = new StringBuilder("closeMultiScan_result(");
9858       boolean first = true;
9859 
9860       sb.append("nssi:");
9861       if (this.nssi == null) {
9862         sb.append("null");
9863       } else {
9864         sb.append(this.nssi);
9865       }
9866       first = false;
9867       sb.append(")");
9868       return sb.toString();
9869     }
9870 
9871     public void validate() throws org.apache.thrift.TException {
9872       // check for required fields
9873       // check for sub-struct validity
9874     }
9875 
9876     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
9877       try {
9878         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
9879       } catch (org.apache.thrift.TException te) {
9880         throw new java.io.IOException(te);
9881       }
9882     }
9883 
9884     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
9885       try {
9886         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
9887       } catch (org.apache.thrift.TException te) {
9888         throw new java.io.IOException(te);
9889       }
9890     }
9891 
9892     private static class closeMultiScan_resultStandardSchemeFactory implements SchemeFactory {
9893       public closeMultiScan_resultStandardScheme getScheme() {
9894         return new closeMultiScan_resultStandardScheme();
9895       }
9896     }
9897 
9898     private static class closeMultiScan_resultStandardScheme extends StandardScheme<closeMultiScan_result> {
9899 
9900       public void read(org.apache.thrift.protocol.TProtocol iprot, closeMultiScan_result struct) throws org.apache.thrift.TException {
9901         org.apache.thrift.protocol.TField schemeField;
9902         iprot.readStructBegin();
9903         while (true)
9904         {
9905           schemeField = iprot.readFieldBegin();
9906           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
9907             break;
9908           }
9909           switch (schemeField.id) {
9910             case 1: // NSSI
9911               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
9912                 struct.nssi = new NoSuchScanIDException();
9913                 struct.nssi.read(iprot);
9914                 struct.setNssiIsSet(true);
9915               } else { 
9916                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
9917               }
9918               break;
9919             default:
9920               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
9921           }
9922           iprot.readFieldEnd();
9923         }
9924         iprot.readStructEnd();
9925 
9926         // check for required fields of primitive type, which can't be checked in the validate method
9927         struct.validate();
9928       }
9929 
9930       public void write(org.apache.thrift.protocol.TProtocol oprot, closeMultiScan_result struct) throws org.apache.thrift.TException {
9931         struct.validate();
9932 
9933         oprot.writeStructBegin(STRUCT_DESC);
9934         if (struct.nssi != null) {
9935           oprot.writeFieldBegin(NSSI_FIELD_DESC);
9936           struct.nssi.write(oprot);
9937           oprot.writeFieldEnd();
9938         }
9939         oprot.writeFieldStop();
9940         oprot.writeStructEnd();
9941       }
9942 
9943     }
9944 
9945     private static class closeMultiScan_resultTupleSchemeFactory implements SchemeFactory {
9946       public closeMultiScan_resultTupleScheme getScheme() {
9947         return new closeMultiScan_resultTupleScheme();
9948       }
9949     }
9950 
9951     private static class closeMultiScan_resultTupleScheme extends TupleScheme<closeMultiScan_result> {
9952 
9953       @Override
9954       public void write(org.apache.thrift.protocol.TProtocol prot, closeMultiScan_result struct) throws org.apache.thrift.TException {
9955         TTupleProtocol oprot = (TTupleProtocol) prot;
9956         BitSet optionals = new BitSet();
9957         if (struct.isSetNssi()) {
9958           optionals.set(0);
9959         }
9960         oprot.writeBitSet(optionals, 1);
9961         if (struct.isSetNssi()) {
9962           struct.nssi.write(oprot);
9963         }
9964       }
9965 
9966       @Override
9967       public void read(org.apache.thrift.protocol.TProtocol prot, closeMultiScan_result struct) throws org.apache.thrift.TException {
9968         TTupleProtocol iprot = (TTupleProtocol) prot;
9969         BitSet incoming = iprot.readBitSet(1);
9970         if (incoming.get(0)) {
9971           struct.nssi = new NoSuchScanIDException();
9972           struct.nssi.read(iprot);
9973           struct.setNssiIsSet(true);
9974         }
9975       }
9976     }
9977 
9978   }
9979 
9980   public static class startUpdate_args implements org.apache.thrift.TBase<startUpdate_args, startUpdate_args._Fields>, java.io.Serializable, Cloneable   {
9981     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("startUpdate_args");
9982 
9983     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);
9984     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);
9985 
9986     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
9987     static {
9988       schemes.put(StandardScheme.class, new startUpdate_argsStandardSchemeFactory());
9989       schemes.put(TupleScheme.class, new startUpdate_argsTupleSchemeFactory());
9990     }
9991 
9992     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
9993     public org.apache.accumulo.core.security.thrift.Credential credential; // required
9994 
9995     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
9996     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
9997       TINFO((short)2, "tinfo"),
9998       CREDENTIAL((short)1, "credential");
9999 
10000       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
10001 
10002       static {
10003         for (_Fields field : EnumSet.allOf(_Fields.class)) {
10004           byName.put(field.getFieldName(), field);
10005         }
10006       }
10007 
10008       /**
10009        * Find the _Fields constant that matches fieldId, or null if its not found.
10010        */
10011       public static _Fields findByThriftId(int fieldId) {
10012         switch(fieldId) {
10013           case 2: // TINFO
10014             return TINFO;
10015           case 1: // CREDENTIAL
10016             return CREDENTIAL;
10017           default:
10018             return null;
10019         }
10020       }
10021 
10022       /**
10023        * Find the _Fields constant that matches fieldId, throwing an exception
10024        * if it is not found.
10025        */
10026       public static _Fields findByThriftIdOrThrow(int fieldId) {
10027         _Fields fields = findByThriftId(fieldId);
10028         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
10029         return fields;
10030       }
10031 
10032       /**
10033        * Find the _Fields constant that matches name, or null if its not found.
10034        */
10035       public static _Fields findByName(String name) {
10036         return byName.get(name);
10037       }
10038 
10039       private final short _thriftId;
10040       private final String _fieldName;
10041 
10042       _Fields(short thriftId, String fieldName) {
10043         _thriftId = thriftId;
10044         _fieldName = fieldName;
10045       }
10046 
10047       public short getThriftFieldId() {
10048         return _thriftId;
10049       }
10050 
10051       public String getFieldName() {
10052         return _fieldName;
10053       }
10054     }
10055 
10056     // isset id assignments
10057     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
10058     static {
10059       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
10060       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
10061           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
10062       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
10063           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
10064       metaDataMap = Collections.unmodifiableMap(tmpMap);
10065       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(startUpdate_args.class, metaDataMap);
10066     }
10067 
10068     public startUpdate_args() {
10069     }
10070 
10071     public startUpdate_args(
10072       org.apache.accumulo.trace.thrift.TInfo tinfo,
10073       org.apache.accumulo.core.security.thrift.Credential credential)
10074     {
10075       this();
10076       this.tinfo = tinfo;
10077       this.credential = credential;
10078     }
10079 
10080     /**
10081      * Performs a deep copy on <i>other</i>.
10082      */
10083     public startUpdate_args(startUpdate_args other) {
10084       if (other.isSetTinfo()) {
10085         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
10086       }
10087       if (other.isSetCredential()) {
10088         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
10089       }
10090     }
10091 
10092     public startUpdate_args deepCopy() {
10093       return new startUpdate_args(this);
10094     }
10095 
10096     @Override
10097     public void clear() {
10098       this.tinfo = null;
10099       this.credential = null;
10100     }
10101 
10102     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
10103       return this.tinfo;
10104     }
10105 
10106     public startUpdate_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
10107       this.tinfo = tinfo;
10108       return this;
10109     }
10110 
10111     public void unsetTinfo() {
10112       this.tinfo = null;
10113     }
10114 
10115     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
10116     public boolean isSetTinfo() {
10117       return this.tinfo != null;
10118     }
10119 
10120     public void setTinfoIsSet(boolean value) {
10121       if (!value) {
10122         this.tinfo = null;
10123       }
10124     }
10125 
10126     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
10127       return this.credential;
10128     }
10129 
10130     public startUpdate_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
10131       this.credential = credential;
10132       return this;
10133     }
10134 
10135     public void unsetCredential() {
10136       this.credential = null;
10137     }
10138 
10139     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
10140     public boolean isSetCredential() {
10141       return this.credential != null;
10142     }
10143 
10144     public void setCredentialIsSet(boolean value) {
10145       if (!value) {
10146         this.credential = null;
10147       }
10148     }
10149 
10150     public void setFieldValue(_Fields field, Object value) {
10151       switch (field) {
10152       case TINFO:
10153         if (value == null) {
10154           unsetTinfo();
10155         } else {
10156           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
10157         }
10158         break;
10159 
10160       case CREDENTIAL:
10161         if (value == null) {
10162           unsetCredential();
10163         } else {
10164           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
10165         }
10166         break;
10167 
10168       }
10169     }
10170 
10171     public Object getFieldValue(_Fields field) {
10172       switch (field) {
10173       case TINFO:
10174         return getTinfo();
10175 
10176       case CREDENTIAL:
10177         return getCredential();
10178 
10179       }
10180       throw new IllegalStateException();
10181     }
10182 
10183     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
10184     public boolean isSet(_Fields field) {
10185       if (field == null) {
10186         throw new IllegalArgumentException();
10187       }
10188 
10189       switch (field) {
10190       case TINFO:
10191         return isSetTinfo();
10192       case CREDENTIAL:
10193         return isSetCredential();
10194       }
10195       throw new IllegalStateException();
10196     }
10197 
10198     @Override
10199     public boolean equals(Object that) {
10200       if (that == null)
10201         return false;
10202       if (that instanceof startUpdate_args)
10203         return this.equals((startUpdate_args)that);
10204       return false;
10205     }
10206 
10207     public boolean equals(startUpdate_args that) {
10208       if (that == null)
10209         return false;
10210 
10211       boolean this_present_tinfo = true && this.isSetTinfo();
10212       boolean that_present_tinfo = true && that.isSetTinfo();
10213       if (this_present_tinfo || that_present_tinfo) {
10214         if (!(this_present_tinfo && that_present_tinfo))
10215           return false;
10216         if (!this.tinfo.equals(that.tinfo))
10217           return false;
10218       }
10219 
10220       boolean this_present_credential = true && this.isSetCredential();
10221       boolean that_present_credential = true && that.isSetCredential();
10222       if (this_present_credential || that_present_credential) {
10223         if (!(this_present_credential && that_present_credential))
10224           return false;
10225         if (!this.credential.equals(that.credential))
10226           return false;
10227       }
10228 
10229       return true;
10230     }
10231 
10232     @Override
10233     public int hashCode() {
10234       return 0;
10235     }
10236 
10237     public int compareTo(startUpdate_args other) {
10238       if (!getClass().equals(other.getClass())) {
10239         return getClass().getName().compareTo(other.getClass().getName());
10240       }
10241 
10242       int lastComparison = 0;
10243       startUpdate_args typedOther = (startUpdate_args)other;
10244 
10245       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
10246       if (lastComparison != 0) {
10247         return lastComparison;
10248       }
10249       if (isSetTinfo()) {
10250         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
10251         if (lastComparison != 0) {
10252           return lastComparison;
10253         }
10254       }
10255       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
10256       if (lastComparison != 0) {
10257         return lastComparison;
10258       }
10259       if (isSetCredential()) {
10260         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
10261         if (lastComparison != 0) {
10262           return lastComparison;
10263         }
10264       }
10265       return 0;
10266     }
10267 
10268     public _Fields fieldForId(int fieldId) {
10269       return _Fields.findByThriftId(fieldId);
10270     }
10271 
10272     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
10273       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
10274     }
10275 
10276     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
10277       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
10278     }
10279 
10280     @Override
10281     public String toString() {
10282       StringBuilder sb = new StringBuilder("startUpdate_args(");
10283       boolean first = true;
10284 
10285       sb.append("tinfo:");
10286       if (this.tinfo == null) {
10287         sb.append("null");
10288       } else {
10289         sb.append(this.tinfo);
10290       }
10291       first = false;
10292       if (!first) sb.append(", ");
10293       sb.append("credential:");
10294       if (this.credential == null) {
10295         sb.append("null");
10296       } else {
10297         sb.append(this.credential);
10298       }
10299       first = false;
10300       sb.append(")");
10301       return sb.toString();
10302     }
10303 
10304     public void validate() throws org.apache.thrift.TException {
10305       // check for required fields
10306       // check for sub-struct validity
10307       if (tinfo != null) {
10308         tinfo.validate();
10309       }
10310       if (credential != null) {
10311         credential.validate();
10312       }
10313     }
10314 
10315     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
10316       try {
10317         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
10318       } catch (org.apache.thrift.TException te) {
10319         throw new java.io.IOException(te);
10320       }
10321     }
10322 
10323     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
10324       try {
10325         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
10326       } catch (org.apache.thrift.TException te) {
10327         throw new java.io.IOException(te);
10328       }
10329     }
10330 
10331     private static class startUpdate_argsStandardSchemeFactory implements SchemeFactory {
10332       public startUpdate_argsStandardScheme getScheme() {
10333         return new startUpdate_argsStandardScheme();
10334       }
10335     }
10336 
10337     private static class startUpdate_argsStandardScheme extends StandardScheme<startUpdate_args> {
10338 
10339       public void read(org.apache.thrift.protocol.TProtocol iprot, startUpdate_args struct) throws org.apache.thrift.TException {
10340         org.apache.thrift.protocol.TField schemeField;
10341         iprot.readStructBegin();
10342         while (true)
10343         {
10344           schemeField = iprot.readFieldBegin();
10345           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
10346             break;
10347           }
10348           switch (schemeField.id) {
10349             case 2: // TINFO
10350               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
10351                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
10352                 struct.tinfo.read(iprot);
10353                 struct.setTinfoIsSet(true);
10354               } else { 
10355                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
10356               }
10357               break;
10358             case 1: // CREDENTIAL
10359               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
10360                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
10361                 struct.credential.read(iprot);
10362                 struct.setCredentialIsSet(true);
10363               } else { 
10364                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
10365               }
10366               break;
10367             default:
10368               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
10369           }
10370           iprot.readFieldEnd();
10371         }
10372         iprot.readStructEnd();
10373 
10374         // check for required fields of primitive type, which can't be checked in the validate method
10375         struct.validate();
10376       }
10377 
10378       public void write(org.apache.thrift.protocol.TProtocol oprot, startUpdate_args struct) throws org.apache.thrift.TException {
10379         struct.validate();
10380 
10381         oprot.writeStructBegin(STRUCT_DESC);
10382         if (struct.credential != null) {
10383           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
10384           struct.credential.write(oprot);
10385           oprot.writeFieldEnd();
10386         }
10387         if (struct.tinfo != null) {
10388           oprot.writeFieldBegin(TINFO_FIELD_DESC);
10389           struct.tinfo.write(oprot);
10390           oprot.writeFieldEnd();
10391         }
10392         oprot.writeFieldStop();
10393         oprot.writeStructEnd();
10394       }
10395 
10396     }
10397 
10398     private static class startUpdate_argsTupleSchemeFactory implements SchemeFactory {
10399       public startUpdate_argsTupleScheme getScheme() {
10400         return new startUpdate_argsTupleScheme();
10401       }
10402     }
10403 
10404     private static class startUpdate_argsTupleScheme extends TupleScheme<startUpdate_args> {
10405 
10406       @Override
10407       public void write(org.apache.thrift.protocol.TProtocol prot, startUpdate_args struct) throws org.apache.thrift.TException {
10408         TTupleProtocol oprot = (TTupleProtocol) prot;
10409         BitSet optionals = new BitSet();
10410         if (struct.isSetTinfo()) {
10411           optionals.set(0);
10412         }
10413         if (struct.isSetCredential()) {
10414           optionals.set(1);
10415         }
10416         oprot.writeBitSet(optionals, 2);
10417         if (struct.isSetTinfo()) {
10418           struct.tinfo.write(oprot);
10419         }
10420         if (struct.isSetCredential()) {
10421           struct.credential.write(oprot);
10422         }
10423       }
10424 
10425       @Override
10426       public void read(org.apache.thrift.protocol.TProtocol prot, startUpdate_args struct) throws org.apache.thrift.TException {
10427         TTupleProtocol iprot = (TTupleProtocol) prot;
10428         BitSet incoming = iprot.readBitSet(2);
10429         if (incoming.get(0)) {
10430           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
10431           struct.tinfo.read(iprot);
10432           struct.setTinfoIsSet(true);
10433         }
10434         if (incoming.get(1)) {
10435           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
10436           struct.credential.read(iprot);
10437           struct.setCredentialIsSet(true);
10438         }
10439       }
10440     }
10441 
10442   }
10443 
10444   public static class startUpdate_result implements org.apache.thrift.TBase<startUpdate_result, startUpdate_result._Fields>, java.io.Serializable, Cloneable   {
10445     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("startUpdate_result");
10446 
10447     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);
10448     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);
10449 
10450     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
10451     static {
10452       schemes.put(StandardScheme.class, new startUpdate_resultStandardSchemeFactory());
10453       schemes.put(TupleScheme.class, new startUpdate_resultTupleSchemeFactory());
10454     }
10455 
10456     public long success; // required
10457     public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required
10458 
10459     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
10460     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
10461       SUCCESS((short)0, "success"),
10462       SEC((short)1, "sec");
10463 
10464       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
10465 
10466       static {
10467         for (_Fields field : EnumSet.allOf(_Fields.class)) {
10468           byName.put(field.getFieldName(), field);
10469         }
10470       }
10471 
10472       /**
10473        * Find the _Fields constant that matches fieldId, or null if its not found.
10474        */
10475       public static _Fields findByThriftId(int fieldId) {
10476         switch(fieldId) {
10477           case 0: // SUCCESS
10478             return SUCCESS;
10479           case 1: // SEC
10480             return SEC;
10481           default:
10482             return null;
10483         }
10484       }
10485 
10486       /**
10487        * Find the _Fields constant that matches fieldId, throwing an exception
10488        * if it is not found.
10489        */
10490       public static _Fields findByThriftIdOrThrow(int fieldId) {
10491         _Fields fields = findByThriftId(fieldId);
10492         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
10493         return fields;
10494       }
10495 
10496       /**
10497        * Find the _Fields constant that matches name, or null if its not found.
10498        */
10499       public static _Fields findByName(String name) {
10500         return byName.get(name);
10501       }
10502 
10503       private final short _thriftId;
10504       private final String _fieldName;
10505 
10506       _Fields(short thriftId, String fieldName) {
10507         _thriftId = thriftId;
10508         _fieldName = fieldName;
10509       }
10510 
10511       public short getThriftFieldId() {
10512         return _thriftId;
10513       }
10514 
10515       public String getFieldName() {
10516         return _fieldName;
10517       }
10518     }
10519 
10520     // isset id assignments
10521     private static final int __SUCCESS_ISSET_ID = 0;
10522     private byte __isset_bitfield = 0;
10523     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
10524     static {
10525       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
10526       tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
10527           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64          , "UpdateID")));
10528       tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, 
10529           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
10530       metaDataMap = Collections.unmodifiableMap(tmpMap);
10531       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(startUpdate_result.class, metaDataMap);
10532     }
10533 
10534     public startUpdate_result() {
10535     }
10536 
10537     public startUpdate_result(
10538       long success,
10539       org.apache.accumulo.core.security.thrift.ThriftSecurityException sec)
10540     {
10541       this();
10542       this.success = success;
10543       setSuccessIsSet(true);
10544       this.sec = sec;
10545     }
10546 
10547     /**
10548      * Performs a deep copy on <i>other</i>.
10549      */
10550     public startUpdate_result(startUpdate_result other) {
10551       __isset_bitfield = other.__isset_bitfield;
10552       this.success = other.success;
10553       if (other.isSetSec()) {
10554         this.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(other.sec);
10555       }
10556     }
10557 
10558     public startUpdate_result deepCopy() {
10559       return new startUpdate_result(this);
10560     }
10561 
10562     @Override
10563     public void clear() {
10564       setSuccessIsSet(false);
10565       this.success = 0;
10566       this.sec = null;
10567     }
10568 
10569     public long getSuccess() {
10570       return this.success;
10571     }
10572 
10573     public startUpdate_result setSuccess(long success) {
10574       this.success = success;
10575       setSuccessIsSet(true);
10576       return this;
10577     }
10578 
10579     public void unsetSuccess() {
10580       __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID);
10581     }
10582 
10583     /** Returns true if field success is set (has been assigned a value) and false otherwise */
10584     public boolean isSetSuccess() {
10585       return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID);
10586     }
10587 
10588     public void setSuccessIsSet(boolean value) {
10589       __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value);
10590     }
10591 
10592     public org.apache.accumulo.core.security.thrift.ThriftSecurityException getSec() {
10593       return this.sec;
10594     }
10595 
10596     public startUpdate_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
10597       this.sec = sec;
10598       return this;
10599     }
10600 
10601     public void unsetSec() {
10602       this.sec = null;
10603     }
10604 
10605     /** Returns true if field sec is set (has been assigned a value) and false otherwise */
10606     public boolean isSetSec() {
10607       return this.sec != null;
10608     }
10609 
10610     public void setSecIsSet(boolean value) {
10611       if (!value) {
10612         this.sec = null;
10613       }
10614     }
10615 
10616     public void setFieldValue(_Fields field, Object value) {
10617       switch (field) {
10618       case SUCCESS:
10619         if (value == null) {
10620           unsetSuccess();
10621         } else {
10622           setSuccess((Long)value);
10623         }
10624         break;
10625 
10626       case SEC:
10627         if (value == null) {
10628           unsetSec();
10629         } else {
10630           setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value);
10631         }
10632         break;
10633 
10634       }
10635     }
10636 
10637     public Object getFieldValue(_Fields field) {
10638       switch (field) {
10639       case SUCCESS:
10640         return Long.valueOf(getSuccess());
10641 
10642       case SEC:
10643         return getSec();
10644 
10645       }
10646       throw new IllegalStateException();
10647     }
10648 
10649     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
10650     public boolean isSet(_Fields field) {
10651       if (field == null) {
10652         throw new IllegalArgumentException();
10653       }
10654 
10655       switch (field) {
10656       case SUCCESS:
10657         return isSetSuccess();
10658       case SEC:
10659         return isSetSec();
10660       }
10661       throw new IllegalStateException();
10662     }
10663 
10664     @Override
10665     public boolean equals(Object that) {
10666       if (that == null)
10667         return false;
10668       if (that instanceof startUpdate_result)
10669         return this.equals((startUpdate_result)that);
10670       return false;
10671     }
10672 
10673     public boolean equals(startUpdate_result that) {
10674       if (that == null)
10675         return false;
10676 
10677       boolean this_present_success = true;
10678       boolean that_present_success = true;
10679       if (this_present_success || that_present_success) {
10680         if (!(this_present_success && that_present_success))
10681           return false;
10682         if (this.success != that.success)
10683           return false;
10684       }
10685 
10686       boolean this_present_sec = true && this.isSetSec();
10687       boolean that_present_sec = true && that.isSetSec();
10688       if (this_present_sec || that_present_sec) {
10689         if (!(this_present_sec && that_present_sec))
10690           return false;
10691         if (!this.sec.equals(that.sec))
10692           return false;
10693       }
10694 
10695       return true;
10696     }
10697 
10698     @Override
10699     public int hashCode() {
10700       return 0;
10701     }
10702 
10703     public int compareTo(startUpdate_result other) {
10704       if (!getClass().equals(other.getClass())) {
10705         return getClass().getName().compareTo(other.getClass().getName());
10706       }
10707 
10708       int lastComparison = 0;
10709       startUpdate_result typedOther = (startUpdate_result)other;
10710 
10711       lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
10712       if (lastComparison != 0) {
10713         return lastComparison;
10714       }
10715       if (isSetSuccess()) {
10716         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
10717         if (lastComparison != 0) {
10718           return lastComparison;
10719         }
10720       }
10721       lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec());
10722       if (lastComparison != 0) {
10723         return lastComparison;
10724       }
10725       if (isSetSec()) {
10726         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec);
10727         if (lastComparison != 0) {
10728           return lastComparison;
10729         }
10730       }
10731       return 0;
10732     }
10733 
10734     public _Fields fieldForId(int fieldId) {
10735       return _Fields.findByThriftId(fieldId);
10736     }
10737 
10738     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
10739       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
10740     }
10741 
10742     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
10743       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
10744       }
10745 
10746     @Override
10747     public String toString() {
10748       StringBuilder sb = new StringBuilder("startUpdate_result(");
10749       boolean first = true;
10750 
10751       sb.append("success:");
10752       sb.append(this.success);
10753       first = false;
10754       if (!first) sb.append(", ");
10755       sb.append("sec:");
10756       if (this.sec == null) {
10757         sb.append("null");
10758       } else {
10759         sb.append(this.sec);
10760       }
10761       first = false;
10762       sb.append(")");
10763       return sb.toString();
10764     }
10765 
10766     public void validate() throws org.apache.thrift.TException {
10767       // check for required fields
10768       // check for sub-struct validity
10769     }
10770 
10771     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
10772       try {
10773         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
10774       } catch (org.apache.thrift.TException te) {
10775         throw new java.io.IOException(te);
10776       }
10777     }
10778 
10779     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
10780       try {
10781         // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
10782         __isset_bitfield = 0;
10783         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
10784       } catch (org.apache.thrift.TException te) {
10785         throw new java.io.IOException(te);
10786       }
10787     }
10788 
10789     private static class startUpdate_resultStandardSchemeFactory implements SchemeFactory {
10790       public startUpdate_resultStandardScheme getScheme() {
10791         return new startUpdate_resultStandardScheme();
10792       }
10793     }
10794 
10795     private static class startUpdate_resultStandardScheme extends StandardScheme<startUpdate_result> {
10796 
10797       public void read(org.apache.thrift.protocol.TProtocol iprot, startUpdate_result struct) throws org.apache.thrift.TException {
10798         org.apache.thrift.protocol.TField schemeField;
10799         iprot.readStructBegin();
10800         while (true)
10801         {
10802           schemeField = iprot.readFieldBegin();
10803           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
10804             break;
10805           }
10806           switch (schemeField.id) {
10807             case 0: // SUCCESS
10808               if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
10809                 struct.success = iprot.readI64();
10810                 struct.setSuccessIsSet(true);
10811               } else { 
10812                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
10813               }
10814               break;
10815             case 1: // SEC
10816               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
10817                 struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
10818                 struct.sec.read(iprot);
10819                 struct.setSecIsSet(true);
10820               } else { 
10821                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
10822               }
10823               break;
10824             default:
10825               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
10826           }
10827           iprot.readFieldEnd();
10828         }
10829         iprot.readStructEnd();
10830 
10831         // check for required fields of primitive type, which can't be checked in the validate method
10832         struct.validate();
10833       }
10834 
10835       public void write(org.apache.thrift.protocol.TProtocol oprot, startUpdate_result struct) throws org.apache.thrift.TException {
10836         struct.validate();
10837 
10838         oprot.writeStructBegin(STRUCT_DESC);
10839         if (struct.isSetSuccess()) {
10840           oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
10841           oprot.writeI64(struct.success);
10842           oprot.writeFieldEnd();
10843         }
10844         if (struct.sec != null) {
10845           oprot.writeFieldBegin(SEC_FIELD_DESC);
10846           struct.sec.write(oprot);
10847           oprot.writeFieldEnd();
10848         }
10849         oprot.writeFieldStop();
10850         oprot.writeStructEnd();
10851       }
10852 
10853     }
10854 
10855     private static class startUpdate_resultTupleSchemeFactory implements SchemeFactory {
10856       public startUpdate_resultTupleScheme getScheme() {
10857         return new startUpdate_resultTupleScheme();
10858       }
10859     }
10860 
10861     private static class startUpdate_resultTupleScheme extends TupleScheme<startUpdate_result> {
10862 
10863       @Override
10864       public void write(org.apache.thrift.protocol.TProtocol prot, startUpdate_result struct) throws org.apache.thrift.TException {
10865         TTupleProtocol oprot = (TTupleProtocol) prot;
10866         BitSet optionals = new BitSet();
10867         if (struct.isSetSuccess()) {
10868           optionals.set(0);
10869         }
10870         if (struct.isSetSec()) {
10871           optionals.set(1);
10872         }
10873         oprot.writeBitSet(optionals, 2);
10874         if (struct.isSetSuccess()) {
10875           oprot.writeI64(struct.success);
10876         }
10877         if (struct.isSetSec()) {
10878           struct.sec.write(oprot);
10879         }
10880       }
10881 
10882       @Override
10883       public void read(org.apache.thrift.protocol.TProtocol prot, startUpdate_result struct) throws org.apache.thrift.TException {
10884         TTupleProtocol iprot = (TTupleProtocol) prot;
10885         BitSet incoming = iprot.readBitSet(2);
10886         if (incoming.get(0)) {
10887           struct.success = iprot.readI64();
10888           struct.setSuccessIsSet(true);
10889         }
10890         if (incoming.get(1)) {
10891           struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
10892           struct.sec.read(iprot);
10893           struct.setSecIsSet(true);
10894         }
10895       }
10896     }
10897 
10898   }
10899 
10900   public static class applyUpdates_args implements org.apache.thrift.TBase<applyUpdates_args, applyUpdates_args._Fields>, java.io.Serializable, Cloneable   {
10901     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("applyUpdates_args");
10902 
10903     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)1);
10904     private static final org.apache.thrift.protocol.TField UPDATE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("updateID", org.apache.thrift.protocol.TType.I64, (short)2);
10905     private static final org.apache.thrift.protocol.TField KEY_EXTENT_FIELD_DESC = new org.apache.thrift.protocol.TField("keyExtent", org.apache.thrift.protocol.TType.STRUCT, (short)3);
10906     private static final org.apache.thrift.protocol.TField MUTATIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("mutations", org.apache.thrift.protocol.TType.LIST, (short)4);
10907 
10908     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
10909     static {
10910       schemes.put(StandardScheme.class, new applyUpdates_argsStandardSchemeFactory());
10911       schemes.put(TupleScheme.class, new applyUpdates_argsTupleSchemeFactory());
10912     }
10913 
10914     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
10915     public long updateID; // required
10916     public org.apache.accumulo.core.data.thrift.TKeyExtent keyExtent; // required
10917     public List<org.apache.accumulo.core.data.thrift.TMutation> mutations; // required
10918 
10919     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
10920     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
10921       TINFO((short)1, "tinfo"),
10922       UPDATE_ID((short)2, "updateID"),
10923       KEY_EXTENT((short)3, "keyExtent"),
10924       MUTATIONS((short)4, "mutations");
10925 
10926       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
10927 
10928       static {
10929         for (_Fields field : EnumSet.allOf(_Fields.class)) {
10930           byName.put(field.getFieldName(), field);
10931         }
10932       }
10933 
10934       /**
10935        * Find the _Fields constant that matches fieldId, or null if its not found.
10936        */
10937       public static _Fields findByThriftId(int fieldId) {
10938         switch(fieldId) {
10939           case 1: // TINFO
10940             return TINFO;
10941           case 2: // UPDATE_ID
10942             return UPDATE_ID;
10943           case 3: // KEY_EXTENT
10944             return KEY_EXTENT;
10945           case 4: // MUTATIONS
10946             return MUTATIONS;
10947           default:
10948             return null;
10949         }
10950       }
10951 
10952       /**
10953        * Find the _Fields constant that matches fieldId, throwing an exception
10954        * if it is not found.
10955        */
10956       public static _Fields findByThriftIdOrThrow(int fieldId) {
10957         _Fields fields = findByThriftId(fieldId);
10958         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
10959         return fields;
10960       }
10961 
10962       /**
10963        * Find the _Fields constant that matches name, or null if its not found.
10964        */
10965       public static _Fields findByName(String name) {
10966         return byName.get(name);
10967       }
10968 
10969       private final short _thriftId;
10970       private final String _fieldName;
10971 
10972       _Fields(short thriftId, String fieldName) {
10973         _thriftId = thriftId;
10974         _fieldName = fieldName;
10975       }
10976 
10977       public short getThriftFieldId() {
10978         return _thriftId;
10979       }
10980 
10981       public String getFieldName() {
10982         return _fieldName;
10983       }
10984     }
10985 
10986     // isset id assignments
10987     private static final int __UPDATEID_ISSET_ID = 0;
10988     private byte __isset_bitfield = 0;
10989     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
10990     static {
10991       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
10992       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
10993           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
10994       tmpMap.put(_Fields.UPDATE_ID, new org.apache.thrift.meta_data.FieldMetaData("updateID", org.apache.thrift.TFieldRequirementType.DEFAULT, 
10995           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64          , "UpdateID")));
10996       tmpMap.put(_Fields.KEY_EXTENT, new org.apache.thrift.meta_data.FieldMetaData("keyExtent", org.apache.thrift.TFieldRequirementType.DEFAULT, 
10997           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.TKeyExtent.class)));
10998       tmpMap.put(_Fields.MUTATIONS, new org.apache.thrift.meta_data.FieldMetaData("mutations", org.apache.thrift.TFieldRequirementType.DEFAULT, 
10999           new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
11000               new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.TMutation.class))));
11001       metaDataMap = Collections.unmodifiableMap(tmpMap);
11002       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(applyUpdates_args.class, metaDataMap);
11003     }
11004 
11005     public applyUpdates_args() {
11006     }
11007 
11008     public applyUpdates_args(
11009       org.apache.accumulo.trace.thrift.TInfo tinfo,
11010       long updateID,
11011       org.apache.accumulo.core.data.thrift.TKeyExtent keyExtent,
11012       List<org.apache.accumulo.core.data.thrift.TMutation> mutations)
11013     {
11014       this();
11015       this.tinfo = tinfo;
11016       this.updateID = updateID;
11017       setUpdateIDIsSet(true);
11018       this.keyExtent = keyExtent;
11019       this.mutations = mutations;
11020     }
11021 
11022     /**
11023      * Performs a deep copy on <i>other</i>.
11024      */
11025     public applyUpdates_args(applyUpdates_args other) {
11026       __isset_bitfield = other.__isset_bitfield;
11027       if (other.isSetTinfo()) {
11028         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
11029       }
11030       this.updateID = other.updateID;
11031       if (other.isSetKeyExtent()) {
11032         this.keyExtent = new org.apache.accumulo.core.data.thrift.TKeyExtent(other.keyExtent);
11033       }
11034       if (other.isSetMutations()) {
11035         List<org.apache.accumulo.core.data.thrift.TMutation> __this__mutations = new ArrayList<org.apache.accumulo.core.data.thrift.TMutation>();
11036         for (org.apache.accumulo.core.data.thrift.TMutation other_element : other.mutations) {
11037           __this__mutations.add(new org.apache.accumulo.core.data.thrift.TMutation(other_element));
11038         }
11039         this.mutations = __this__mutations;
11040       }
11041     }
11042 
11043     public applyUpdates_args deepCopy() {
11044       return new applyUpdates_args(this);
11045     }
11046 
11047     @Override
11048     public void clear() {
11049       this.tinfo = null;
11050       setUpdateIDIsSet(false);
11051       this.updateID = 0;
11052       this.keyExtent = null;
11053       this.mutations = null;
11054     }
11055 
11056     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
11057       return this.tinfo;
11058     }
11059 
11060     public applyUpdates_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
11061       this.tinfo = tinfo;
11062       return this;
11063     }
11064 
11065     public void unsetTinfo() {
11066       this.tinfo = null;
11067     }
11068 
11069     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
11070     public boolean isSetTinfo() {
11071       return this.tinfo != null;
11072     }
11073 
11074     public void setTinfoIsSet(boolean value) {
11075       if (!value) {
11076         this.tinfo = null;
11077       }
11078     }
11079 
11080     public long getUpdateID() {
11081       return this.updateID;
11082     }
11083 
11084     public applyUpdates_args setUpdateID(long updateID) {
11085       this.updateID = updateID;
11086       setUpdateIDIsSet(true);
11087       return this;
11088     }
11089 
11090     public void unsetUpdateID() {
11091       __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __UPDATEID_ISSET_ID);
11092     }
11093 
11094     /** Returns true if field updateID is set (has been assigned a value) and false otherwise */
11095     public boolean isSetUpdateID() {
11096       return EncodingUtils.testBit(__isset_bitfield, __UPDATEID_ISSET_ID);
11097     }
11098 
11099     public void setUpdateIDIsSet(boolean value) {
11100       __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __UPDATEID_ISSET_ID, value);
11101     }
11102 
11103     public org.apache.accumulo.core.data.thrift.TKeyExtent getKeyExtent() {
11104       return this.keyExtent;
11105     }
11106 
11107     public applyUpdates_args setKeyExtent(org.apache.accumulo.core.data.thrift.TKeyExtent keyExtent) {
11108       this.keyExtent = keyExtent;
11109       return this;
11110     }
11111 
11112     public void unsetKeyExtent() {
11113       this.keyExtent = null;
11114     }
11115 
11116     /** Returns true if field keyExtent is set (has been assigned a value) and false otherwise */
11117     public boolean isSetKeyExtent() {
11118       return this.keyExtent != null;
11119     }
11120 
11121     public void setKeyExtentIsSet(boolean value) {
11122       if (!value) {
11123         this.keyExtent = null;
11124       }
11125     }
11126 
11127     public int getMutationsSize() {
11128       return (this.mutations == null) ? 0 : this.mutations.size();
11129     }
11130 
11131     public java.util.Iterator<org.apache.accumulo.core.data.thrift.TMutation> getMutationsIterator() {
11132       return (this.mutations == null) ? null : this.mutations.iterator();
11133     }
11134 
11135     public void addToMutations(org.apache.accumulo.core.data.thrift.TMutation elem) {
11136       if (this.mutations == null) {
11137         this.mutations = new ArrayList<org.apache.accumulo.core.data.thrift.TMutation>();
11138       }
11139       this.mutations.add(elem);
11140     }
11141 
11142     public List<org.apache.accumulo.core.data.thrift.TMutation> getMutations() {
11143       return this.mutations;
11144     }
11145 
11146     public applyUpdates_args setMutations(List<org.apache.accumulo.core.data.thrift.TMutation> mutations) {
11147       this.mutations = mutations;
11148       return this;
11149     }
11150 
11151     public void unsetMutations() {
11152       this.mutations = null;
11153     }
11154 
11155     /** Returns true if field mutations is set (has been assigned a value) and false otherwise */
11156     public boolean isSetMutations() {
11157       return this.mutations != null;
11158     }
11159 
11160     public void setMutationsIsSet(boolean value) {
11161       if (!value) {
11162         this.mutations = null;
11163       }
11164     }
11165 
11166     public void setFieldValue(_Fields field, Object value) {
11167       switch (field) {
11168       case TINFO:
11169         if (value == null) {
11170           unsetTinfo();
11171         } else {
11172           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
11173         }
11174         break;
11175 
11176       case UPDATE_ID:
11177         if (value == null) {
11178           unsetUpdateID();
11179         } else {
11180           setUpdateID((Long)value);
11181         }
11182         break;
11183 
11184       case KEY_EXTENT:
11185         if (value == null) {
11186           unsetKeyExtent();
11187         } else {
11188           setKeyExtent((org.apache.accumulo.core.data.thrift.TKeyExtent)value);
11189         }
11190         break;
11191 
11192       case MUTATIONS:
11193         if (value == null) {
11194           unsetMutations();
11195         } else {
11196           setMutations((List<org.apache.accumulo.core.data.thrift.TMutation>)value);
11197         }
11198         break;
11199 
11200       }
11201     }
11202 
11203     public Object getFieldValue(_Fields field) {
11204       switch (field) {
11205       case TINFO:
11206         return getTinfo();
11207 
11208       case UPDATE_ID:
11209         return Long.valueOf(getUpdateID());
11210 
11211       case KEY_EXTENT:
11212         return getKeyExtent();
11213 
11214       case MUTATIONS:
11215         return getMutations();
11216 
11217       }
11218       throw new IllegalStateException();
11219     }
11220 
11221     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
11222     public boolean isSet(_Fields field) {
11223       if (field == null) {
11224         throw new IllegalArgumentException();
11225       }
11226 
11227       switch (field) {
11228       case TINFO:
11229         return isSetTinfo();
11230       case UPDATE_ID:
11231         return isSetUpdateID();
11232       case KEY_EXTENT:
11233         return isSetKeyExtent();
11234       case MUTATIONS:
11235         return isSetMutations();
11236       }
11237       throw new IllegalStateException();
11238     }
11239 
11240     @Override
11241     public boolean equals(Object that) {
11242       if (that == null)
11243         return false;
11244       if (that instanceof applyUpdates_args)
11245         return this.equals((applyUpdates_args)that);
11246       return false;
11247     }
11248 
11249     public boolean equals(applyUpdates_args that) {
11250       if (that == null)
11251         return false;
11252 
11253       boolean this_present_tinfo = true && this.isSetTinfo();
11254       boolean that_present_tinfo = true && that.isSetTinfo();
11255       if (this_present_tinfo || that_present_tinfo) {
11256         if (!(this_present_tinfo && that_present_tinfo))
11257           return false;
11258         if (!this.tinfo.equals(that.tinfo))
11259           return false;
11260       }
11261 
11262       boolean this_present_updateID = true;
11263       boolean that_present_updateID = true;
11264       if (this_present_updateID || that_present_updateID) {
11265         if (!(this_present_updateID && that_present_updateID))
11266           return false;
11267         if (this.updateID != that.updateID)
11268           return false;
11269       }
11270 
11271       boolean this_present_keyExtent = true && this.isSetKeyExtent();
11272       boolean that_present_keyExtent = true && that.isSetKeyExtent();
11273       if (this_present_keyExtent || that_present_keyExtent) {
11274         if (!(this_present_keyExtent && that_present_keyExtent))
11275           return false;
11276         if (!this.keyExtent.equals(that.keyExtent))
11277           return false;
11278       }
11279 
11280       boolean this_present_mutations = true && this.isSetMutations();
11281       boolean that_present_mutations = true && that.isSetMutations();
11282       if (this_present_mutations || that_present_mutations) {
11283         if (!(this_present_mutations && that_present_mutations))
11284           return false;
11285         if (!this.mutations.equals(that.mutations))
11286           return false;
11287       }
11288 
11289       return true;
11290     }
11291 
11292     @Override
11293     public int hashCode() {
11294       return 0;
11295     }
11296 
11297     public int compareTo(applyUpdates_args other) {
11298       if (!getClass().equals(other.getClass())) {
11299         return getClass().getName().compareTo(other.getClass().getName());
11300       }
11301 
11302       int lastComparison = 0;
11303       applyUpdates_args typedOther = (applyUpdates_args)other;
11304 
11305       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
11306       if (lastComparison != 0) {
11307         return lastComparison;
11308       }
11309       if (isSetTinfo()) {
11310         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
11311         if (lastComparison != 0) {
11312           return lastComparison;
11313         }
11314       }
11315       lastComparison = Boolean.valueOf(isSetUpdateID()).compareTo(typedOther.isSetUpdateID());
11316       if (lastComparison != 0) {
11317         return lastComparison;
11318       }
11319       if (isSetUpdateID()) {
11320         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.updateID, typedOther.updateID);
11321         if (lastComparison != 0) {
11322           return lastComparison;
11323         }
11324       }
11325       lastComparison = Boolean.valueOf(isSetKeyExtent()).compareTo(typedOther.isSetKeyExtent());
11326       if (lastComparison != 0) {
11327         return lastComparison;
11328       }
11329       if (isSetKeyExtent()) {
11330         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.keyExtent, typedOther.keyExtent);
11331         if (lastComparison != 0) {
11332           return lastComparison;
11333         }
11334       }
11335       lastComparison = Boolean.valueOf(isSetMutations()).compareTo(typedOther.isSetMutations());
11336       if (lastComparison != 0) {
11337         return lastComparison;
11338       }
11339       if (isSetMutations()) {
11340         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.mutations, typedOther.mutations);
11341         if (lastComparison != 0) {
11342           return lastComparison;
11343         }
11344       }
11345       return 0;
11346     }
11347 
11348     public _Fields fieldForId(int fieldId) {
11349       return _Fields.findByThriftId(fieldId);
11350     }
11351 
11352     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
11353       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
11354     }
11355 
11356     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
11357       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
11358     }
11359 
11360     @Override
11361     public String toString() {
11362       StringBuilder sb = new StringBuilder("applyUpdates_args(");
11363       boolean first = true;
11364 
11365       sb.append("tinfo:");
11366       if (this.tinfo == null) {
11367         sb.append("null");
11368       } else {
11369         sb.append(this.tinfo);
11370       }
11371       first = false;
11372       if (!first) sb.append(", ");
11373       sb.append("updateID:");
11374       sb.append(this.updateID);
11375       first = false;
11376       if (!first) sb.append(", ");
11377       sb.append("keyExtent:");
11378       if (this.keyExtent == null) {
11379         sb.append("null");
11380       } else {
11381         sb.append(this.keyExtent);
11382       }
11383       first = false;
11384       if (!first) sb.append(", ");
11385       sb.append("mutations:");
11386       if (this.mutations == null) {
11387         sb.append("null");
11388       } else {
11389         sb.append(this.mutations);
11390       }
11391       first = false;
11392       sb.append(")");
11393       return sb.toString();
11394     }
11395 
11396     public void validate() throws org.apache.thrift.TException {
11397       // check for required fields
11398       // check for sub-struct validity
11399       if (tinfo != null) {
11400         tinfo.validate();
11401       }
11402       if (keyExtent != null) {
11403         keyExtent.validate();
11404       }
11405     }
11406 
11407     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
11408       try {
11409         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
11410       } catch (org.apache.thrift.TException te) {
11411         throw new java.io.IOException(te);
11412       }
11413     }
11414 
11415     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
11416       try {
11417         // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
11418         __isset_bitfield = 0;
11419         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
11420       } catch (org.apache.thrift.TException te) {
11421         throw new java.io.IOException(te);
11422       }
11423     }
11424 
11425     private static class applyUpdates_argsStandardSchemeFactory implements SchemeFactory {
11426       public applyUpdates_argsStandardScheme getScheme() {
11427         return new applyUpdates_argsStandardScheme();
11428       }
11429     }
11430 
11431     private static class applyUpdates_argsStandardScheme extends StandardScheme<applyUpdates_args> {
11432 
11433       public void read(org.apache.thrift.protocol.TProtocol iprot, applyUpdates_args struct) throws org.apache.thrift.TException {
11434         org.apache.thrift.protocol.TField schemeField;
11435         iprot.readStructBegin();
11436         while (true)
11437         {
11438           schemeField = iprot.readFieldBegin();
11439           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
11440             break;
11441           }
11442           switch (schemeField.id) {
11443             case 1: // TINFO
11444               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
11445                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
11446                 struct.tinfo.read(iprot);
11447                 struct.setTinfoIsSet(true);
11448               } else { 
11449                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
11450               }
11451               break;
11452             case 2: // UPDATE_ID
11453               if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
11454                 struct.updateID = iprot.readI64();
11455                 struct.setUpdateIDIsSet(true);
11456               } else { 
11457                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
11458               }
11459               break;
11460             case 3: // KEY_EXTENT
11461               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
11462                 struct.keyExtent = new org.apache.accumulo.core.data.thrift.TKeyExtent();
11463                 struct.keyExtent.read(iprot);
11464                 struct.setKeyExtentIsSet(true);
11465               } else { 
11466                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
11467               }
11468               break;
11469             case 4: // MUTATIONS
11470               if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
11471                 {
11472                   org.apache.thrift.protocol.TList _list212 = iprot.readListBegin();
11473                   struct.mutations = new ArrayList<org.apache.accumulo.core.data.thrift.TMutation>(_list212.size);
11474                   for (int _i213 = 0; _i213 < _list212.size; ++_i213)
11475                   {
11476                     org.apache.accumulo.core.data.thrift.TMutation _elem214; // required
11477                     _elem214 = new org.apache.accumulo.core.data.thrift.TMutation();
11478                     _elem214.read(iprot);
11479                     struct.mutations.add(_elem214);
11480                   }
11481                   iprot.readListEnd();
11482                 }
11483                 struct.setMutationsIsSet(true);
11484               } else { 
11485                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
11486               }
11487               break;
11488             default:
11489               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
11490           }
11491           iprot.readFieldEnd();
11492         }
11493         iprot.readStructEnd();
11494 
11495         // check for required fields of primitive type, which can't be checked in the validate method
11496         struct.validate();
11497       }
11498 
11499       public void write(org.apache.thrift.protocol.TProtocol oprot, applyUpdates_args struct) throws org.apache.thrift.TException {
11500         struct.validate();
11501 
11502         oprot.writeStructBegin(STRUCT_DESC);
11503         if (struct.tinfo != null) {
11504           oprot.writeFieldBegin(TINFO_FIELD_DESC);
11505           struct.tinfo.write(oprot);
11506           oprot.writeFieldEnd();
11507         }
11508         oprot.writeFieldBegin(UPDATE_ID_FIELD_DESC);
11509         oprot.writeI64(struct.updateID);
11510         oprot.writeFieldEnd();
11511         if (struct.keyExtent != null) {
11512           oprot.writeFieldBegin(KEY_EXTENT_FIELD_DESC);
11513           struct.keyExtent.write(oprot);
11514           oprot.writeFieldEnd();
11515         }
11516         if (struct.mutations != null) {
11517           oprot.writeFieldBegin(MUTATIONS_FIELD_DESC);
11518           {
11519             oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.mutations.size()));
11520             for (org.apache.accumulo.core.data.thrift.TMutation _iter215 : struct.mutations)
11521             {
11522               _iter215.write(oprot);
11523             }
11524             oprot.writeListEnd();
11525           }
11526           oprot.writeFieldEnd();
11527         }
11528         oprot.writeFieldStop();
11529         oprot.writeStructEnd();
11530       }
11531 
11532     }
11533 
11534     private static class applyUpdates_argsTupleSchemeFactory implements SchemeFactory {
11535       public applyUpdates_argsTupleScheme getScheme() {
11536         return new applyUpdates_argsTupleScheme();
11537       }
11538     }
11539 
11540     private static class applyUpdates_argsTupleScheme extends TupleScheme<applyUpdates_args> {
11541 
11542       @Override
11543       public void write(org.apache.thrift.protocol.TProtocol prot, applyUpdates_args struct) throws org.apache.thrift.TException {
11544         TTupleProtocol oprot = (TTupleProtocol) prot;
11545         BitSet optionals = new BitSet();
11546         if (struct.isSetTinfo()) {
11547           optionals.set(0);
11548         }
11549         if (struct.isSetUpdateID()) {
11550           optionals.set(1);
11551         }
11552         if (struct.isSetKeyExtent()) {
11553           optionals.set(2);
11554         }
11555         if (struct.isSetMutations()) {
11556           optionals.set(3);
11557         }
11558         oprot.writeBitSet(optionals, 4);
11559         if (struct.isSetTinfo()) {
11560           struct.tinfo.write(oprot);
11561         }
11562         if (struct.isSetUpdateID()) {
11563           oprot.writeI64(struct.updateID);
11564         }
11565         if (struct.isSetKeyExtent()) {
11566           struct.keyExtent.write(oprot);
11567         }
11568         if (struct.isSetMutations()) {
11569           {
11570             oprot.writeI32(struct.mutations.size());
11571             for (org.apache.accumulo.core.data.thrift.TMutation _iter216 : struct.mutations)
11572             {
11573               _iter216.write(oprot);
11574             }
11575           }
11576         }
11577       }
11578 
11579       @Override
11580       public void read(org.apache.thrift.protocol.TProtocol prot, applyUpdates_args struct) throws org.apache.thrift.TException {
11581         TTupleProtocol iprot = (TTupleProtocol) prot;
11582         BitSet incoming = iprot.readBitSet(4);
11583         if (incoming.get(0)) {
11584           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
11585           struct.tinfo.read(iprot);
11586           struct.setTinfoIsSet(true);
11587         }
11588         if (incoming.get(1)) {
11589           struct.updateID = iprot.readI64();
11590           struct.setUpdateIDIsSet(true);
11591         }
11592         if (incoming.get(2)) {
11593           struct.keyExtent = new org.apache.accumulo.core.data.thrift.TKeyExtent();
11594           struct.keyExtent.read(iprot);
11595           struct.setKeyExtentIsSet(true);
11596         }
11597         if (incoming.get(3)) {
11598           {
11599             org.apache.thrift.protocol.TList _list217 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
11600             struct.mutations = new ArrayList<org.apache.accumulo.core.data.thrift.TMutation>(_list217.size);
11601             for (int _i218 = 0; _i218 < _list217.size; ++_i218)
11602             {
11603               org.apache.accumulo.core.data.thrift.TMutation _elem219; // required
11604               _elem219 = new org.apache.accumulo.core.data.thrift.TMutation();
11605               _elem219.read(iprot);
11606               struct.mutations.add(_elem219);
11607             }
11608           }
11609           struct.setMutationsIsSet(true);
11610         }
11611       }
11612     }
11613 
11614   }
11615 
11616   public static class closeUpdate_args implements org.apache.thrift.TBase<closeUpdate_args, closeUpdate_args._Fields>, java.io.Serializable, Cloneable   {
11617     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("closeUpdate_args");
11618 
11619     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);
11620     private static final org.apache.thrift.protocol.TField UPDATE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("updateID", org.apache.thrift.protocol.TType.I64, (short)1);
11621 
11622     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
11623     static {
11624       schemes.put(StandardScheme.class, new closeUpdate_argsStandardSchemeFactory());
11625       schemes.put(TupleScheme.class, new closeUpdate_argsTupleSchemeFactory());
11626     }
11627 
11628     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
11629     public long updateID; // required
11630 
11631     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
11632     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
11633       TINFO((short)2, "tinfo"),
11634       UPDATE_ID((short)1, "updateID");
11635 
11636       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
11637 
11638       static {
11639         for (_Fields field : EnumSet.allOf(_Fields.class)) {
11640           byName.put(field.getFieldName(), field);
11641         }
11642       }
11643 
11644       /**
11645        * Find the _Fields constant that matches fieldId, or null if its not found.
11646        */
11647       public static _Fields findByThriftId(int fieldId) {
11648         switch(fieldId) {
11649           case 2: // TINFO
11650             return TINFO;
11651           case 1: // UPDATE_ID
11652             return UPDATE_ID;
11653           default:
11654             return null;
11655         }
11656       }
11657 
11658       /**
11659        * Find the _Fields constant that matches fieldId, throwing an exception
11660        * if it is not found.
11661        */
11662       public static _Fields findByThriftIdOrThrow(int fieldId) {
11663         _Fields fields = findByThriftId(fieldId);
11664         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
11665         return fields;
11666       }
11667 
11668       /**
11669        * Find the _Fields constant that matches name, or null if its not found.
11670        */
11671       public static _Fields findByName(String name) {
11672         return byName.get(name);
11673       }
11674 
11675       private final short _thriftId;
11676       private final String _fieldName;
11677 
11678       _Fields(short thriftId, String fieldName) {
11679         _thriftId = thriftId;
11680         _fieldName = fieldName;
11681       }
11682 
11683       public short getThriftFieldId() {
11684         return _thriftId;
11685       }
11686 
11687       public String getFieldName() {
11688         return _fieldName;
11689       }
11690     }
11691 
11692     // isset id assignments
11693     private static final int __UPDATEID_ISSET_ID = 0;
11694     private byte __isset_bitfield = 0;
11695     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
11696     static {
11697       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
11698       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
11699           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
11700       tmpMap.put(_Fields.UPDATE_ID, new org.apache.thrift.meta_data.FieldMetaData("updateID", org.apache.thrift.TFieldRequirementType.DEFAULT, 
11701           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64          , "UpdateID")));
11702       metaDataMap = Collections.unmodifiableMap(tmpMap);
11703       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(closeUpdate_args.class, metaDataMap);
11704     }
11705 
11706     public closeUpdate_args() {
11707     }
11708 
11709     public closeUpdate_args(
11710       org.apache.accumulo.trace.thrift.TInfo tinfo,
11711       long updateID)
11712     {
11713       this();
11714       this.tinfo = tinfo;
11715       this.updateID = updateID;
11716       setUpdateIDIsSet(true);
11717     }
11718 
11719     /**
11720      * Performs a deep copy on <i>other</i>.
11721      */
11722     public closeUpdate_args(closeUpdate_args other) {
11723       __isset_bitfield = other.__isset_bitfield;
11724       if (other.isSetTinfo()) {
11725         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
11726       }
11727       this.updateID = other.updateID;
11728     }
11729 
11730     public closeUpdate_args deepCopy() {
11731       return new closeUpdate_args(this);
11732     }
11733 
11734     @Override
11735     public void clear() {
11736       this.tinfo = null;
11737       setUpdateIDIsSet(false);
11738       this.updateID = 0;
11739     }
11740 
11741     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
11742       return this.tinfo;
11743     }
11744 
11745     public closeUpdate_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
11746       this.tinfo = tinfo;
11747       return this;
11748     }
11749 
11750     public void unsetTinfo() {
11751       this.tinfo = null;
11752     }
11753 
11754     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
11755     public boolean isSetTinfo() {
11756       return this.tinfo != null;
11757     }
11758 
11759     public void setTinfoIsSet(boolean value) {
11760       if (!value) {
11761         this.tinfo = null;
11762       }
11763     }
11764 
11765     public long getUpdateID() {
11766       return this.updateID;
11767     }
11768 
11769     public closeUpdate_args setUpdateID(long updateID) {
11770       this.updateID = updateID;
11771       setUpdateIDIsSet(true);
11772       return this;
11773     }
11774 
11775     public void unsetUpdateID() {
11776       __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __UPDATEID_ISSET_ID);
11777     }
11778 
11779     /** Returns true if field updateID is set (has been assigned a value) and false otherwise */
11780     public boolean isSetUpdateID() {
11781       return EncodingUtils.testBit(__isset_bitfield, __UPDATEID_ISSET_ID);
11782     }
11783 
11784     public void setUpdateIDIsSet(boolean value) {
11785       __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __UPDATEID_ISSET_ID, value);
11786     }
11787 
11788     public void setFieldValue(_Fields field, Object value) {
11789       switch (field) {
11790       case TINFO:
11791         if (value == null) {
11792           unsetTinfo();
11793         } else {
11794           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
11795         }
11796         break;
11797 
11798       case UPDATE_ID:
11799         if (value == null) {
11800           unsetUpdateID();
11801         } else {
11802           setUpdateID((Long)value);
11803         }
11804         break;
11805 
11806       }
11807     }
11808 
11809     public Object getFieldValue(_Fields field) {
11810       switch (field) {
11811       case TINFO:
11812         return getTinfo();
11813 
11814       case UPDATE_ID:
11815         return Long.valueOf(getUpdateID());
11816 
11817       }
11818       throw new IllegalStateException();
11819     }
11820 
11821     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
11822     public boolean isSet(_Fields field) {
11823       if (field == null) {
11824         throw new IllegalArgumentException();
11825       }
11826 
11827       switch (field) {
11828       case TINFO:
11829         return isSetTinfo();
11830       case UPDATE_ID:
11831         return isSetUpdateID();
11832       }
11833       throw new IllegalStateException();
11834     }
11835 
11836     @Override
11837     public boolean equals(Object that) {
11838       if (that == null)
11839         return false;
11840       if (that instanceof closeUpdate_args)
11841         return this.equals((closeUpdate_args)that);
11842       return false;
11843     }
11844 
11845     public boolean equals(closeUpdate_args that) {
11846       if (that == null)
11847         return false;
11848 
11849       boolean this_present_tinfo = true && this.isSetTinfo();
11850       boolean that_present_tinfo = true && that.isSetTinfo();
11851       if (this_present_tinfo || that_present_tinfo) {
11852         if (!(this_present_tinfo && that_present_tinfo))
11853           return false;
11854         if (!this.tinfo.equals(that.tinfo))
11855           return false;
11856       }
11857 
11858       boolean this_present_updateID = true;
11859       boolean that_present_updateID = true;
11860       if (this_present_updateID || that_present_updateID) {
11861         if (!(this_present_updateID && that_present_updateID))
11862           return false;
11863         if (this.updateID != that.updateID)
11864           return false;
11865       }
11866 
11867       return true;
11868     }
11869 
11870     @Override
11871     public int hashCode() {
11872       return 0;
11873     }
11874 
11875     public int compareTo(closeUpdate_args other) {
11876       if (!getClass().equals(other.getClass())) {
11877         return getClass().getName().compareTo(other.getClass().getName());
11878       }
11879 
11880       int lastComparison = 0;
11881       closeUpdate_args typedOther = (closeUpdate_args)other;
11882 
11883       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
11884       if (lastComparison != 0) {
11885         return lastComparison;
11886       }
11887       if (isSetTinfo()) {
11888         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
11889         if (lastComparison != 0) {
11890           return lastComparison;
11891         }
11892       }
11893       lastComparison = Boolean.valueOf(isSetUpdateID()).compareTo(typedOther.isSetUpdateID());
11894       if (lastComparison != 0) {
11895         return lastComparison;
11896       }
11897       if (isSetUpdateID()) {
11898         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.updateID, typedOther.updateID);
11899         if (lastComparison != 0) {
11900           return lastComparison;
11901         }
11902       }
11903       return 0;
11904     }
11905 
11906     public _Fields fieldForId(int fieldId) {
11907       return _Fields.findByThriftId(fieldId);
11908     }
11909 
11910     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
11911       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
11912     }
11913 
11914     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
11915       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
11916     }
11917 
11918     @Override
11919     public String toString() {
11920       StringBuilder sb = new StringBuilder("closeUpdate_args(");
11921       boolean first = true;
11922 
11923       sb.append("tinfo:");
11924       if (this.tinfo == null) {
11925         sb.append("null");
11926       } else {
11927         sb.append(this.tinfo);
11928       }
11929       first = false;
11930       if (!first) sb.append(", ");
11931       sb.append("updateID:");
11932       sb.append(this.updateID);
11933       first = false;
11934       sb.append(")");
11935       return sb.toString();
11936     }
11937 
11938     public void validate() throws org.apache.thrift.TException {
11939       // check for required fields
11940       // check for sub-struct validity
11941       if (tinfo != null) {
11942         tinfo.validate();
11943       }
11944     }
11945 
11946     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
11947       try {
11948         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
11949       } catch (org.apache.thrift.TException te) {
11950         throw new java.io.IOException(te);
11951       }
11952     }
11953 
11954     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
11955       try {
11956         // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
11957         __isset_bitfield = 0;
11958         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
11959       } catch (org.apache.thrift.TException te) {
11960         throw new java.io.IOException(te);
11961       }
11962     }
11963 
11964     private static class closeUpdate_argsStandardSchemeFactory implements SchemeFactory {
11965       public closeUpdate_argsStandardScheme getScheme() {
11966         return new closeUpdate_argsStandardScheme();
11967       }
11968     }
11969 
11970     private static class closeUpdate_argsStandardScheme extends StandardScheme<closeUpdate_args> {
11971 
11972       public void read(org.apache.thrift.protocol.TProtocol iprot, closeUpdate_args struct) throws org.apache.thrift.TException {
11973         org.apache.thrift.protocol.TField schemeField;
11974         iprot.readStructBegin();
11975         while (true)
11976         {
11977           schemeField = iprot.readFieldBegin();
11978           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
11979             break;
11980           }
11981           switch (schemeField.id) {
11982             case 2: // TINFO
11983               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
11984                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
11985                 struct.tinfo.read(iprot);
11986                 struct.setTinfoIsSet(true);
11987               } else { 
11988                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
11989               }
11990               break;
11991             case 1: // UPDATE_ID
11992               if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
11993                 struct.updateID = iprot.readI64();
11994                 struct.setUpdateIDIsSet(true);
11995               } else { 
11996                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
11997               }
11998               break;
11999             default:
12000               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
12001           }
12002           iprot.readFieldEnd();
12003         }
12004         iprot.readStructEnd();
12005 
12006         // check for required fields of primitive type, which can't be checked in the validate method
12007         struct.validate();
12008       }
12009 
12010       public void write(org.apache.thrift.protocol.TProtocol oprot, closeUpdate_args struct) throws org.apache.thrift.TException {
12011         struct.validate();
12012 
12013         oprot.writeStructBegin(STRUCT_DESC);
12014         oprot.writeFieldBegin(UPDATE_ID_FIELD_DESC);
12015         oprot.writeI64(struct.updateID);
12016         oprot.writeFieldEnd();
12017         if (struct.tinfo != null) {
12018           oprot.writeFieldBegin(TINFO_FIELD_DESC);
12019           struct.tinfo.write(oprot);
12020           oprot.writeFieldEnd();
12021         }
12022         oprot.writeFieldStop();
12023         oprot.writeStructEnd();
12024       }
12025 
12026     }
12027 
12028     private static class closeUpdate_argsTupleSchemeFactory implements SchemeFactory {
12029       public closeUpdate_argsTupleScheme getScheme() {
12030         return new closeUpdate_argsTupleScheme();
12031       }
12032     }
12033 
12034     private static class closeUpdate_argsTupleScheme extends TupleScheme<closeUpdate_args> {
12035 
12036       @Override
12037       public void write(org.apache.thrift.protocol.TProtocol prot, closeUpdate_args struct) throws org.apache.thrift.TException {
12038         TTupleProtocol oprot = (TTupleProtocol) prot;
12039         BitSet optionals = new BitSet();
12040         if (struct.isSetTinfo()) {
12041           optionals.set(0);
12042         }
12043         if (struct.isSetUpdateID()) {
12044           optionals.set(1);
12045         }
12046         oprot.writeBitSet(optionals, 2);
12047         if (struct.isSetTinfo()) {
12048           struct.tinfo.write(oprot);
12049         }
12050         if (struct.isSetUpdateID()) {
12051           oprot.writeI64(struct.updateID);
12052         }
12053       }
12054 
12055       @Override
12056       public void read(org.apache.thrift.protocol.TProtocol prot, closeUpdate_args struct) throws org.apache.thrift.TException {
12057         TTupleProtocol iprot = (TTupleProtocol) prot;
12058         BitSet incoming = iprot.readBitSet(2);
12059         if (incoming.get(0)) {
12060           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
12061           struct.tinfo.read(iprot);
12062           struct.setTinfoIsSet(true);
12063         }
12064         if (incoming.get(1)) {
12065           struct.updateID = iprot.readI64();
12066           struct.setUpdateIDIsSet(true);
12067         }
12068       }
12069     }
12070 
12071   }
12072 
12073   public static class closeUpdate_result implements org.apache.thrift.TBase<closeUpdate_result, closeUpdate_result._Fields>, java.io.Serializable, Cloneable   {
12074     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("closeUpdate_result");
12075 
12076     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);
12077     private static final org.apache.thrift.protocol.TField NSSI_FIELD_DESC = new org.apache.thrift.protocol.TField("nssi", org.apache.thrift.protocol.TType.STRUCT, (short)1);
12078 
12079     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
12080     static {
12081       schemes.put(StandardScheme.class, new closeUpdate_resultStandardSchemeFactory());
12082       schemes.put(TupleScheme.class, new closeUpdate_resultTupleSchemeFactory());
12083     }
12084 
12085     public org.apache.accumulo.core.data.thrift.UpdateErrors success; // required
12086     public NoSuchScanIDException nssi; // required
12087 
12088     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
12089     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
12090       SUCCESS((short)0, "success"),
12091       NSSI((short)1, "nssi");
12092 
12093       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
12094 
12095       static {
12096         for (_Fields field : EnumSet.allOf(_Fields.class)) {
12097           byName.put(field.getFieldName(), field);
12098         }
12099       }
12100 
12101       /**
12102        * Find the _Fields constant that matches fieldId, or null if its not found.
12103        */
12104       public static _Fields findByThriftId(int fieldId) {
12105         switch(fieldId) {
12106           case 0: // SUCCESS
12107             return SUCCESS;
12108           case 1: // NSSI
12109             return NSSI;
12110           default:
12111             return null;
12112         }
12113       }
12114 
12115       /**
12116        * Find the _Fields constant that matches fieldId, throwing an exception
12117        * if it is not found.
12118        */
12119       public static _Fields findByThriftIdOrThrow(int fieldId) {
12120         _Fields fields = findByThriftId(fieldId);
12121         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
12122         return fields;
12123       }
12124 
12125       /**
12126        * Find the _Fields constant that matches name, or null if its not found.
12127        */
12128       public static _Fields findByName(String name) {
12129         return byName.get(name);
12130       }
12131 
12132       private final short _thriftId;
12133       private final String _fieldName;
12134 
12135       _Fields(short thriftId, String fieldName) {
12136         _thriftId = thriftId;
12137         _fieldName = fieldName;
12138       }
12139 
12140       public short getThriftFieldId() {
12141         return _thriftId;
12142       }
12143 
12144       public String getFieldName() {
12145         return _fieldName;
12146       }
12147     }
12148 
12149     // isset id assignments
12150     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
12151     static {
12152       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
12153       tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
12154           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.UpdateErrors.class)));
12155       tmpMap.put(_Fields.NSSI, new org.apache.thrift.meta_data.FieldMetaData("nssi", org.apache.thrift.TFieldRequirementType.DEFAULT, 
12156           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
12157       metaDataMap = Collections.unmodifiableMap(tmpMap);
12158       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(closeUpdate_result.class, metaDataMap);
12159     }
12160 
12161     public closeUpdate_result() {
12162     }
12163 
12164     public closeUpdate_result(
12165       org.apache.accumulo.core.data.thrift.UpdateErrors success,
12166       NoSuchScanIDException nssi)
12167     {
12168       this();
12169       this.success = success;
12170       this.nssi = nssi;
12171     }
12172 
12173     /**
12174      * Performs a deep copy on <i>other</i>.
12175      */
12176     public closeUpdate_result(closeUpdate_result other) {
12177       if (other.isSetSuccess()) {
12178         this.success = new org.apache.accumulo.core.data.thrift.UpdateErrors(other.success);
12179       }
12180       if (other.isSetNssi()) {
12181         this.nssi = new NoSuchScanIDException(other.nssi);
12182       }
12183     }
12184 
12185     public closeUpdate_result deepCopy() {
12186       return new closeUpdate_result(this);
12187     }
12188 
12189     @Override
12190     public void clear() {
12191       this.success = null;
12192       this.nssi = null;
12193     }
12194 
12195     public org.apache.accumulo.core.data.thrift.UpdateErrors getSuccess() {
12196       return this.success;
12197     }
12198 
12199     public closeUpdate_result setSuccess(org.apache.accumulo.core.data.thrift.UpdateErrors success) {
12200       this.success = success;
12201       return this;
12202     }
12203 
12204     public void unsetSuccess() {
12205       this.success = null;
12206     }
12207 
12208     /** Returns true if field success is set (has been assigned a value) and false otherwise */
12209     public boolean isSetSuccess() {
12210       return this.success != null;
12211     }
12212 
12213     public void setSuccessIsSet(boolean value) {
12214       if (!value) {
12215         this.success = null;
12216       }
12217     }
12218 
12219     public NoSuchScanIDException getNssi() {
12220       return this.nssi;
12221     }
12222 
12223     public closeUpdate_result setNssi(NoSuchScanIDException nssi) {
12224       this.nssi = nssi;
12225       return this;
12226     }
12227 
12228     public void unsetNssi() {
12229       this.nssi = null;
12230     }
12231 
12232     /** Returns true if field nssi is set (has been assigned a value) and false otherwise */
12233     public boolean isSetNssi() {
12234       return this.nssi != null;
12235     }
12236 
12237     public void setNssiIsSet(boolean value) {
12238       if (!value) {
12239         this.nssi = null;
12240       }
12241     }
12242 
12243     public void setFieldValue(_Fields field, Object value) {
12244       switch (field) {
12245       case SUCCESS:
12246         if (value == null) {
12247           unsetSuccess();
12248         } else {
12249           setSuccess((org.apache.accumulo.core.data.thrift.UpdateErrors)value);
12250         }
12251         break;
12252 
12253       case NSSI:
12254         if (value == null) {
12255           unsetNssi();
12256         } else {
12257           setNssi((NoSuchScanIDException)value);
12258         }
12259         break;
12260 
12261       }
12262     }
12263 
12264     public Object getFieldValue(_Fields field) {
12265       switch (field) {
12266       case SUCCESS:
12267         return getSuccess();
12268 
12269       case NSSI:
12270         return getNssi();
12271 
12272       }
12273       throw new IllegalStateException();
12274     }
12275 
12276     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
12277     public boolean isSet(_Fields field) {
12278       if (field == null) {
12279         throw new IllegalArgumentException();
12280       }
12281 
12282       switch (field) {
12283       case SUCCESS:
12284         return isSetSuccess();
12285       case NSSI:
12286         return isSetNssi();
12287       }
12288       throw new IllegalStateException();
12289     }
12290 
12291     @Override
12292     public boolean equals(Object that) {
12293       if (that == null)
12294         return false;
12295       if (that instanceof closeUpdate_result)
12296         return this.equals((closeUpdate_result)that);
12297       return false;
12298     }
12299 
12300     public boolean equals(closeUpdate_result that) {
12301       if (that == null)
12302         return false;
12303 
12304       boolean this_present_success = true && this.isSetSuccess();
12305       boolean that_present_success = true && that.isSetSuccess();
12306       if (this_present_success || that_present_success) {
12307         if (!(this_present_success && that_present_success))
12308           return false;
12309         if (!this.success.equals(that.success))
12310           return false;
12311       }
12312 
12313       boolean this_present_nssi = true && this.isSetNssi();
12314       boolean that_present_nssi = true && that.isSetNssi();
12315       if (this_present_nssi || that_present_nssi) {
12316         if (!(this_present_nssi && that_present_nssi))
12317           return false;
12318         if (!this.nssi.equals(that.nssi))
12319           return false;
12320       }
12321 
12322       return true;
12323     }
12324 
12325     @Override
12326     public int hashCode() {
12327       return 0;
12328     }
12329 
12330     public int compareTo(closeUpdate_result other) {
12331       if (!getClass().equals(other.getClass())) {
12332         return getClass().getName().compareTo(other.getClass().getName());
12333       }
12334 
12335       int lastComparison = 0;
12336       closeUpdate_result typedOther = (closeUpdate_result)other;
12337 
12338       lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
12339       if (lastComparison != 0) {
12340         return lastComparison;
12341       }
12342       if (isSetSuccess()) {
12343         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
12344         if (lastComparison != 0) {
12345           return lastComparison;
12346         }
12347       }
12348       lastComparison = Boolean.valueOf(isSetNssi()).compareTo(typedOther.isSetNssi());
12349       if (lastComparison != 0) {
12350         return lastComparison;
12351       }
12352       if (isSetNssi()) {
12353         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nssi, typedOther.nssi);
12354         if (lastComparison != 0) {
12355           return lastComparison;
12356         }
12357       }
12358       return 0;
12359     }
12360 
12361     public _Fields fieldForId(int fieldId) {
12362       return _Fields.findByThriftId(fieldId);
12363     }
12364 
12365     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
12366       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
12367     }
12368 
12369     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
12370       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
12371       }
12372 
12373     @Override
12374     public String toString() {
12375       StringBuilder sb = new StringBuilder("closeUpdate_result(");
12376       boolean first = true;
12377 
12378       sb.append("success:");
12379       if (this.success == null) {
12380         sb.append("null");
12381       } else {
12382         sb.append(this.success);
12383       }
12384       first = false;
12385       if (!first) sb.append(", ");
12386       sb.append("nssi:");
12387       if (this.nssi == null) {
12388         sb.append("null");
12389       } else {
12390         sb.append(this.nssi);
12391       }
12392       first = false;
12393       sb.append(")");
12394       return sb.toString();
12395     }
12396 
12397     public void validate() throws org.apache.thrift.TException {
12398       // check for required fields
12399       // check for sub-struct validity
12400       if (success != null) {
12401         success.validate();
12402       }
12403     }
12404 
12405     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
12406       try {
12407         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
12408       } catch (org.apache.thrift.TException te) {
12409         throw new java.io.IOException(te);
12410       }
12411     }
12412 
12413     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
12414       try {
12415         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
12416       } catch (org.apache.thrift.TException te) {
12417         throw new java.io.IOException(te);
12418       }
12419     }
12420 
12421     private static class closeUpdate_resultStandardSchemeFactory implements SchemeFactory {
12422       public closeUpdate_resultStandardScheme getScheme() {
12423         return new closeUpdate_resultStandardScheme();
12424       }
12425     }
12426 
12427     private static class closeUpdate_resultStandardScheme extends StandardScheme<closeUpdate_result> {
12428 
12429       public void read(org.apache.thrift.protocol.TProtocol iprot, closeUpdate_result struct) throws org.apache.thrift.TException {
12430         org.apache.thrift.protocol.TField schemeField;
12431         iprot.readStructBegin();
12432         while (true)
12433         {
12434           schemeField = iprot.readFieldBegin();
12435           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
12436             break;
12437           }
12438           switch (schemeField.id) {
12439             case 0: // SUCCESS
12440               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
12441                 struct.success = new org.apache.accumulo.core.data.thrift.UpdateErrors();
12442                 struct.success.read(iprot);
12443                 struct.setSuccessIsSet(true);
12444               } else { 
12445                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
12446               }
12447               break;
12448             case 1: // NSSI
12449               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
12450                 struct.nssi = new NoSuchScanIDException();
12451                 struct.nssi.read(iprot);
12452                 struct.setNssiIsSet(true);
12453               } else { 
12454                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
12455               }
12456               break;
12457             default:
12458               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
12459           }
12460           iprot.readFieldEnd();
12461         }
12462         iprot.readStructEnd();
12463 
12464         // check for required fields of primitive type, which can't be checked in the validate method
12465         struct.validate();
12466       }
12467 
12468       public void write(org.apache.thrift.protocol.TProtocol oprot, closeUpdate_result struct) throws org.apache.thrift.TException {
12469         struct.validate();
12470 
12471         oprot.writeStructBegin(STRUCT_DESC);
12472         if (struct.success != null) {
12473           oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
12474           struct.success.write(oprot);
12475           oprot.writeFieldEnd();
12476         }
12477         if (struct.nssi != null) {
12478           oprot.writeFieldBegin(NSSI_FIELD_DESC);
12479           struct.nssi.write(oprot);
12480           oprot.writeFieldEnd();
12481         }
12482         oprot.writeFieldStop();
12483         oprot.writeStructEnd();
12484       }
12485 
12486     }
12487 
12488     private static class closeUpdate_resultTupleSchemeFactory implements SchemeFactory {
12489       public closeUpdate_resultTupleScheme getScheme() {
12490         return new closeUpdate_resultTupleScheme();
12491       }
12492     }
12493 
12494     private static class closeUpdate_resultTupleScheme extends TupleScheme<closeUpdate_result> {
12495 
12496       @Override
12497       public void write(org.apache.thrift.protocol.TProtocol prot, closeUpdate_result struct) throws org.apache.thrift.TException {
12498         TTupleProtocol oprot = (TTupleProtocol) prot;
12499         BitSet optionals = new BitSet();
12500         if (struct.isSetSuccess()) {
12501           optionals.set(0);
12502         }
12503         if (struct.isSetNssi()) {
12504           optionals.set(1);
12505         }
12506         oprot.writeBitSet(optionals, 2);
12507         if (struct.isSetSuccess()) {
12508           struct.success.write(oprot);
12509         }
12510         if (struct.isSetNssi()) {
12511           struct.nssi.write(oprot);
12512         }
12513       }
12514 
12515       @Override
12516       public void read(org.apache.thrift.protocol.TProtocol prot, closeUpdate_result struct) throws org.apache.thrift.TException {
12517         TTupleProtocol iprot = (TTupleProtocol) prot;
12518         BitSet incoming = iprot.readBitSet(2);
12519         if (incoming.get(0)) {
12520           struct.success = new org.apache.accumulo.core.data.thrift.UpdateErrors();
12521           struct.success.read(iprot);
12522           struct.setSuccessIsSet(true);
12523         }
12524         if (incoming.get(1)) {
12525           struct.nssi = new NoSuchScanIDException();
12526           struct.nssi.read(iprot);
12527           struct.setNssiIsSet(true);
12528         }
12529       }
12530     }
12531 
12532   }
12533 
12534   public static class update_args implements org.apache.thrift.TBase<update_args, update_args._Fields>, java.io.Serializable, Cloneable   {
12535     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("update_args");
12536 
12537     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);
12538     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);
12539     private static final org.apache.thrift.protocol.TField KEY_EXTENT_FIELD_DESC = new org.apache.thrift.protocol.TField("keyExtent", org.apache.thrift.protocol.TType.STRUCT, (short)2);
12540     private static final org.apache.thrift.protocol.TField MUTATION_FIELD_DESC = new org.apache.thrift.protocol.TField("mutation", org.apache.thrift.protocol.TType.STRUCT, (short)3);
12541 
12542     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
12543     static {
12544       schemes.put(StandardScheme.class, new update_argsStandardSchemeFactory());
12545       schemes.put(TupleScheme.class, new update_argsTupleSchemeFactory());
12546     }
12547 
12548     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
12549     public org.apache.accumulo.core.security.thrift.Credential credential; // required
12550     public org.apache.accumulo.core.data.thrift.TKeyExtent keyExtent; // required
12551     public org.apache.accumulo.core.data.thrift.TMutation mutation; // required
12552 
12553     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
12554     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
12555       TINFO((short)4, "tinfo"),
12556       CREDENTIAL((short)1, "credential"),
12557       KEY_EXTENT((short)2, "keyExtent"),
12558       MUTATION((short)3, "mutation");
12559 
12560       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
12561 
12562       static {
12563         for (_Fields field : EnumSet.allOf(_Fields.class)) {
12564           byName.put(field.getFieldName(), field);
12565         }
12566       }
12567 
12568       /**
12569        * Find the _Fields constant that matches fieldId, or null if its not found.
12570        */
12571       public static _Fields findByThriftId(int fieldId) {
12572         switch(fieldId) {
12573           case 4: // TINFO
12574             return TINFO;
12575           case 1: // CREDENTIAL
12576             return CREDENTIAL;
12577           case 2: // KEY_EXTENT
12578             return KEY_EXTENT;
12579           case 3: // MUTATION
12580             return MUTATION;
12581           default:
12582             return null;
12583         }
12584       }
12585 
12586       /**
12587        * Find the _Fields constant that matches fieldId, throwing an exception
12588        * if it is not found.
12589        */
12590       public static _Fields findByThriftIdOrThrow(int fieldId) {
12591         _Fields fields = findByThriftId(fieldId);
12592         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
12593         return fields;
12594       }
12595 
12596       /**
12597        * Find the _Fields constant that matches name, or null if its not found.
12598        */
12599       public static _Fields findByName(String name) {
12600         return byName.get(name);
12601       }
12602 
12603       private final short _thriftId;
12604       private final String _fieldName;
12605 
12606       _Fields(short thriftId, String fieldName) {
12607         _thriftId = thriftId;
12608         _fieldName = fieldName;
12609       }
12610 
12611       public short getThriftFieldId() {
12612         return _thriftId;
12613       }
12614 
12615       public String getFieldName() {
12616         return _fieldName;
12617       }
12618     }
12619 
12620     // isset id assignments
12621     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
12622     static {
12623       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
12624       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
12625           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
12626       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
12627           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
12628       tmpMap.put(_Fields.KEY_EXTENT, new org.apache.thrift.meta_data.FieldMetaData("keyExtent", org.apache.thrift.TFieldRequirementType.DEFAULT, 
12629           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.TKeyExtent.class)));
12630       tmpMap.put(_Fields.MUTATION, new org.apache.thrift.meta_data.FieldMetaData("mutation", org.apache.thrift.TFieldRequirementType.DEFAULT, 
12631           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.TMutation.class)));
12632       metaDataMap = Collections.unmodifiableMap(tmpMap);
12633       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(update_args.class, metaDataMap);
12634     }
12635 
12636     public update_args() {
12637     }
12638 
12639     public update_args(
12640       org.apache.accumulo.trace.thrift.TInfo tinfo,
12641       org.apache.accumulo.core.security.thrift.Credential credential,
12642       org.apache.accumulo.core.data.thrift.TKeyExtent keyExtent,
12643       org.apache.accumulo.core.data.thrift.TMutation mutation)
12644     {
12645       this();
12646       this.tinfo = tinfo;
12647       this.credential = credential;
12648       this.keyExtent = keyExtent;
12649       this.mutation = mutation;
12650     }
12651 
12652     /**
12653      * Performs a deep copy on <i>other</i>.
12654      */
12655     public update_args(update_args other) {
12656       if (other.isSetTinfo()) {
12657         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
12658       }
12659       if (other.isSetCredential()) {
12660         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
12661       }
12662       if (other.isSetKeyExtent()) {
12663         this.keyExtent = new org.apache.accumulo.core.data.thrift.TKeyExtent(other.keyExtent);
12664       }
12665       if (other.isSetMutation()) {
12666         this.mutation = new org.apache.accumulo.core.data.thrift.TMutation(other.mutation);
12667       }
12668     }
12669 
12670     public update_args deepCopy() {
12671       return new update_args(this);
12672     }
12673 
12674     @Override
12675     public void clear() {
12676       this.tinfo = null;
12677       this.credential = null;
12678       this.keyExtent = null;
12679       this.mutation = null;
12680     }
12681 
12682     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
12683       return this.tinfo;
12684     }
12685 
12686     public update_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
12687       this.tinfo = tinfo;
12688       return this;
12689     }
12690 
12691     public void unsetTinfo() {
12692       this.tinfo = null;
12693     }
12694 
12695     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
12696     public boolean isSetTinfo() {
12697       return this.tinfo != null;
12698     }
12699 
12700     public void setTinfoIsSet(boolean value) {
12701       if (!value) {
12702         this.tinfo = null;
12703       }
12704     }
12705 
12706     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
12707       return this.credential;
12708     }
12709 
12710     public update_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
12711       this.credential = credential;
12712       return this;
12713     }
12714 
12715     public void unsetCredential() {
12716       this.credential = null;
12717     }
12718 
12719     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
12720     public boolean isSetCredential() {
12721       return this.credential != null;
12722     }
12723 
12724     public void setCredentialIsSet(boolean value) {
12725       if (!value) {
12726         this.credential = null;
12727       }
12728     }
12729 
12730     public org.apache.accumulo.core.data.thrift.TKeyExtent getKeyExtent() {
12731       return this.keyExtent;
12732     }
12733 
12734     public update_args setKeyExtent(org.apache.accumulo.core.data.thrift.TKeyExtent keyExtent) {
12735       this.keyExtent = keyExtent;
12736       return this;
12737     }
12738 
12739     public void unsetKeyExtent() {
12740       this.keyExtent = null;
12741     }
12742 
12743     /** Returns true if field keyExtent is set (has been assigned a value) and false otherwise */
12744     public boolean isSetKeyExtent() {
12745       return this.keyExtent != null;
12746     }
12747 
12748     public void setKeyExtentIsSet(boolean value) {
12749       if (!value) {
12750         this.keyExtent = null;
12751       }
12752     }
12753 
12754     public org.apache.accumulo.core.data.thrift.TMutation getMutation() {
12755       return this.mutation;
12756     }
12757 
12758     public update_args setMutation(org.apache.accumulo.core.data.thrift.TMutation mutation) {
12759       this.mutation = mutation;
12760       return this;
12761     }
12762 
12763     public void unsetMutation() {
12764       this.mutation = null;
12765     }
12766 
12767     /** Returns true if field mutation is set (has been assigned a value) and false otherwise */
12768     public boolean isSetMutation() {
12769       return this.mutation != null;
12770     }
12771 
12772     public void setMutationIsSet(boolean value) {
12773       if (!value) {
12774         this.mutation = null;
12775       }
12776     }
12777 
12778     public void setFieldValue(_Fields field, Object value) {
12779       switch (field) {
12780       case TINFO:
12781         if (value == null) {
12782           unsetTinfo();
12783         } else {
12784           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
12785         }
12786         break;
12787 
12788       case CREDENTIAL:
12789         if (value == null) {
12790           unsetCredential();
12791         } else {
12792           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
12793         }
12794         break;
12795 
12796       case KEY_EXTENT:
12797         if (value == null) {
12798           unsetKeyExtent();
12799         } else {
12800           setKeyExtent((org.apache.accumulo.core.data.thrift.TKeyExtent)value);
12801         }
12802         break;
12803 
12804       case MUTATION:
12805         if (value == null) {
12806           unsetMutation();
12807         } else {
12808           setMutation((org.apache.accumulo.core.data.thrift.TMutation)value);
12809         }
12810         break;
12811 
12812       }
12813     }
12814 
12815     public Object getFieldValue(_Fields field) {
12816       switch (field) {
12817       case TINFO:
12818         return getTinfo();
12819 
12820       case CREDENTIAL:
12821         return getCredential();
12822 
12823       case KEY_EXTENT:
12824         return getKeyExtent();
12825 
12826       case MUTATION:
12827         return getMutation();
12828 
12829       }
12830       throw new IllegalStateException();
12831     }
12832 
12833     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
12834     public boolean isSet(_Fields field) {
12835       if (field == null) {
12836         throw new IllegalArgumentException();
12837       }
12838 
12839       switch (field) {
12840       case TINFO:
12841         return isSetTinfo();
12842       case CREDENTIAL:
12843         return isSetCredential();
12844       case KEY_EXTENT:
12845         return isSetKeyExtent();
12846       case MUTATION:
12847         return isSetMutation();
12848       }
12849       throw new IllegalStateException();
12850     }
12851 
12852     @Override
12853     public boolean equals(Object that) {
12854       if (that == null)
12855         return false;
12856       if (that instanceof update_args)
12857         return this.equals((update_args)that);
12858       return false;
12859     }
12860 
12861     public boolean equals(update_args that) {
12862       if (that == null)
12863         return false;
12864 
12865       boolean this_present_tinfo = true && this.isSetTinfo();
12866       boolean that_present_tinfo = true && that.isSetTinfo();
12867       if (this_present_tinfo || that_present_tinfo) {
12868         if (!(this_present_tinfo && that_present_tinfo))
12869           return false;
12870         if (!this.tinfo.equals(that.tinfo))
12871           return false;
12872       }
12873 
12874       boolean this_present_credential = true && this.isSetCredential();
12875       boolean that_present_credential = true && that.isSetCredential();
12876       if (this_present_credential || that_present_credential) {
12877         if (!(this_present_credential && that_present_credential))
12878           return false;
12879         if (!this.credential.equals(that.credential))
12880           return false;
12881       }
12882 
12883       boolean this_present_keyExtent = true && this.isSetKeyExtent();
12884       boolean that_present_keyExtent = true && that.isSetKeyExtent();
12885       if (this_present_keyExtent || that_present_keyExtent) {
12886         if (!(this_present_keyExtent && that_present_keyExtent))
12887           return false;
12888         if (!this.keyExtent.equals(that.keyExtent))
12889           return false;
12890       }
12891 
12892       boolean this_present_mutation = true && this.isSetMutation();
12893       boolean that_present_mutation = true && that.isSetMutation();
12894       if (this_present_mutation || that_present_mutation) {
12895         if (!(this_present_mutation && that_present_mutation))
12896           return false;
12897         if (!this.mutation.equals(that.mutation))
12898           return false;
12899       }
12900 
12901       return true;
12902     }
12903 
12904     @Override
12905     public int hashCode() {
12906       return 0;
12907     }
12908 
12909     public int compareTo(update_args other) {
12910       if (!getClass().equals(other.getClass())) {
12911         return getClass().getName().compareTo(other.getClass().getName());
12912       }
12913 
12914       int lastComparison = 0;
12915       update_args typedOther = (update_args)other;
12916 
12917       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
12918       if (lastComparison != 0) {
12919         return lastComparison;
12920       }
12921       if (isSetTinfo()) {
12922         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
12923         if (lastComparison != 0) {
12924           return lastComparison;
12925         }
12926       }
12927       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
12928       if (lastComparison != 0) {
12929         return lastComparison;
12930       }
12931       if (isSetCredential()) {
12932         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
12933         if (lastComparison != 0) {
12934           return lastComparison;
12935         }
12936       }
12937       lastComparison = Boolean.valueOf(isSetKeyExtent()).compareTo(typedOther.isSetKeyExtent());
12938       if (lastComparison != 0) {
12939         return lastComparison;
12940       }
12941       if (isSetKeyExtent()) {
12942         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.keyExtent, typedOther.keyExtent);
12943         if (lastComparison != 0) {
12944           return lastComparison;
12945         }
12946       }
12947       lastComparison = Boolean.valueOf(isSetMutation()).compareTo(typedOther.isSetMutation());
12948       if (lastComparison != 0) {
12949         return lastComparison;
12950       }
12951       if (isSetMutation()) {
12952         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.mutation, typedOther.mutation);
12953         if (lastComparison != 0) {
12954           return lastComparison;
12955         }
12956       }
12957       return 0;
12958     }
12959 
12960     public _Fields fieldForId(int fieldId) {
12961       return _Fields.findByThriftId(fieldId);
12962     }
12963 
12964     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
12965       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
12966     }
12967 
12968     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
12969       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
12970     }
12971 
12972     @Override
12973     public String toString() {
12974       StringBuilder sb = new StringBuilder("update_args(");
12975       boolean first = true;
12976 
12977       sb.append("tinfo:");
12978       if (this.tinfo == null) {
12979         sb.append("null");
12980       } else {
12981         sb.append(this.tinfo);
12982       }
12983       first = false;
12984       if (!first) sb.append(", ");
12985       sb.append("credential:");
12986       if (this.credential == null) {
12987         sb.append("null");
12988       } else {
12989         sb.append(this.credential);
12990       }
12991       first = false;
12992       if (!first) sb.append(", ");
12993       sb.append("keyExtent:");
12994       if (this.keyExtent == null) {
12995         sb.append("null");
12996       } else {
12997         sb.append(this.keyExtent);
12998       }
12999       first = false;
13000       if (!first) sb.append(", ");
13001       sb.append("mutation:");
13002       if (this.mutation == null) {
13003         sb.append("null");
13004       } else {
13005         sb.append(this.mutation);
13006       }
13007       first = false;
13008       sb.append(")");
13009       return sb.toString();
13010     }
13011 
13012     public void validate() throws org.apache.thrift.TException {
13013       // check for required fields
13014       // check for sub-struct validity
13015       if (tinfo != null) {
13016         tinfo.validate();
13017       }
13018       if (credential != null) {
13019         credential.validate();
13020       }
13021       if (keyExtent != null) {
13022         keyExtent.validate();
13023       }
13024       if (mutation != null) {
13025         mutation.validate();
13026       }
13027     }
13028 
13029     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
13030       try {
13031         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
13032       } catch (org.apache.thrift.TException te) {
13033         throw new java.io.IOException(te);
13034       }
13035     }
13036 
13037     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
13038       try {
13039         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
13040       } catch (org.apache.thrift.TException te) {
13041         throw new java.io.IOException(te);
13042       }
13043     }
13044 
13045     private static class update_argsStandardSchemeFactory implements SchemeFactory {
13046       public update_argsStandardScheme getScheme() {
13047         return new update_argsStandardScheme();
13048       }
13049     }
13050 
13051     private static class update_argsStandardScheme extends StandardScheme<update_args> {
13052 
13053       public void read(org.apache.thrift.protocol.TProtocol iprot, update_args struct) throws org.apache.thrift.TException {
13054         org.apache.thrift.protocol.TField schemeField;
13055         iprot.readStructBegin();
13056         while (true)
13057         {
13058           schemeField = iprot.readFieldBegin();
13059           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
13060             break;
13061           }
13062           switch (schemeField.id) {
13063             case 4: // TINFO
13064               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
13065                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
13066                 struct.tinfo.read(iprot);
13067                 struct.setTinfoIsSet(true);
13068               } else { 
13069                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
13070               }
13071               break;
13072             case 1: // CREDENTIAL
13073               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
13074                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
13075                 struct.credential.read(iprot);
13076                 struct.setCredentialIsSet(true);
13077               } else { 
13078                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
13079               }
13080               break;
13081             case 2: // KEY_EXTENT
13082               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
13083                 struct.keyExtent = new org.apache.accumulo.core.data.thrift.TKeyExtent();
13084                 struct.keyExtent.read(iprot);
13085                 struct.setKeyExtentIsSet(true);
13086               } else { 
13087                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
13088               }
13089               break;
13090             case 3: // MUTATION
13091               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
13092                 struct.mutation = new org.apache.accumulo.core.data.thrift.TMutation();
13093                 struct.mutation.read(iprot);
13094                 struct.setMutationIsSet(true);
13095               } else { 
13096                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
13097               }
13098               break;
13099             default:
13100               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
13101           }
13102           iprot.readFieldEnd();
13103         }
13104         iprot.readStructEnd();
13105 
13106         // check for required fields of primitive type, which can't be checked in the validate method
13107         struct.validate();
13108       }
13109 
13110       public void write(org.apache.thrift.protocol.TProtocol oprot, update_args struct) throws org.apache.thrift.TException {
13111         struct.validate();
13112 
13113         oprot.writeStructBegin(STRUCT_DESC);
13114         if (struct.credential != null) {
13115           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
13116           struct.credential.write(oprot);
13117           oprot.writeFieldEnd();
13118         }
13119         if (struct.keyExtent != null) {
13120           oprot.writeFieldBegin(KEY_EXTENT_FIELD_DESC);
13121           struct.keyExtent.write(oprot);
13122           oprot.writeFieldEnd();
13123         }
13124         if (struct.mutation != null) {
13125           oprot.writeFieldBegin(MUTATION_FIELD_DESC);
13126           struct.mutation.write(oprot);
13127           oprot.writeFieldEnd();
13128         }
13129         if (struct.tinfo != null) {
13130           oprot.writeFieldBegin(TINFO_FIELD_DESC);
13131           struct.tinfo.write(oprot);
13132           oprot.writeFieldEnd();
13133         }
13134         oprot.writeFieldStop();
13135         oprot.writeStructEnd();
13136       }
13137 
13138     }
13139 
13140     private static class update_argsTupleSchemeFactory implements SchemeFactory {
13141       public update_argsTupleScheme getScheme() {
13142         return new update_argsTupleScheme();
13143       }
13144     }
13145 
13146     private static class update_argsTupleScheme extends TupleScheme<update_args> {
13147 
13148       @Override
13149       public void write(org.apache.thrift.protocol.TProtocol prot, update_args struct) throws org.apache.thrift.TException {
13150         TTupleProtocol oprot = (TTupleProtocol) prot;
13151         BitSet optionals = new BitSet();
13152         if (struct.isSetTinfo()) {
13153           optionals.set(0);
13154         }
13155         if (struct.isSetCredential()) {
13156           optionals.set(1);
13157         }
13158         if (struct.isSetKeyExtent()) {
13159           optionals.set(2);
13160         }
13161         if (struct.isSetMutation()) {
13162           optionals.set(3);
13163         }
13164         oprot.writeBitSet(optionals, 4);
13165         if (struct.isSetTinfo()) {
13166           struct.tinfo.write(oprot);
13167         }
13168         if (struct.isSetCredential()) {
13169           struct.credential.write(oprot);
13170         }
13171         if (struct.isSetKeyExtent()) {
13172           struct.keyExtent.write(oprot);
13173         }
13174         if (struct.isSetMutation()) {
13175           struct.mutation.write(oprot);
13176         }
13177       }
13178 
13179       @Override
13180       public void read(org.apache.thrift.protocol.TProtocol prot, update_args struct) throws org.apache.thrift.TException {
13181         TTupleProtocol iprot = (TTupleProtocol) prot;
13182         BitSet incoming = iprot.readBitSet(4);
13183         if (incoming.get(0)) {
13184           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
13185           struct.tinfo.read(iprot);
13186           struct.setTinfoIsSet(true);
13187         }
13188         if (incoming.get(1)) {
13189           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
13190           struct.credential.read(iprot);
13191           struct.setCredentialIsSet(true);
13192         }
13193         if (incoming.get(2)) {
13194           struct.keyExtent = new org.apache.accumulo.core.data.thrift.TKeyExtent();
13195           struct.keyExtent.read(iprot);
13196           struct.setKeyExtentIsSet(true);
13197         }
13198         if (incoming.get(3)) {
13199           struct.mutation = new org.apache.accumulo.core.data.thrift.TMutation();
13200           struct.mutation.read(iprot);
13201           struct.setMutationIsSet(true);
13202         }
13203       }
13204     }
13205 
13206   }
13207 
13208   public static class update_result implements org.apache.thrift.TBase<update_result, update_result._Fields>, java.io.Serializable, Cloneable   {
13209     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("update_result");
13210 
13211     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);
13212     private static final org.apache.thrift.protocol.TField NSTE_FIELD_DESC = new org.apache.thrift.protocol.TField("nste", org.apache.thrift.protocol.TType.STRUCT, (short)2);
13213     private static final org.apache.thrift.protocol.TField CVE_FIELD_DESC = new org.apache.thrift.protocol.TField("cve", org.apache.thrift.protocol.TType.STRUCT, (short)3);
13214 
13215     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
13216     static {
13217       schemes.put(StandardScheme.class, new update_resultStandardSchemeFactory());
13218       schemes.put(TupleScheme.class, new update_resultTupleSchemeFactory());
13219     }
13220 
13221     public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required
13222     public NotServingTabletException nste; // required
13223     public ConstraintViolationException cve; // required
13224 
13225     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
13226     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
13227       SEC((short)1, "sec"),
13228       NSTE((short)2, "nste"),
13229       CVE((short)3, "cve");
13230 
13231       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
13232 
13233       static {
13234         for (_Fields field : EnumSet.allOf(_Fields.class)) {
13235           byName.put(field.getFieldName(), field);
13236         }
13237       }
13238 
13239       /**
13240        * Find the _Fields constant that matches fieldId, or null if its not found.
13241        */
13242       public static _Fields findByThriftId(int fieldId) {
13243         switch(fieldId) {
13244           case 1: // SEC
13245             return SEC;
13246           case 2: // NSTE
13247             return NSTE;
13248           case 3: // CVE
13249             return CVE;
13250           default:
13251             return null;
13252         }
13253       }
13254 
13255       /**
13256        * Find the _Fields constant that matches fieldId, throwing an exception
13257        * if it is not found.
13258        */
13259       public static _Fields findByThriftIdOrThrow(int fieldId) {
13260         _Fields fields = findByThriftId(fieldId);
13261         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
13262         return fields;
13263       }
13264 
13265       /**
13266        * Find the _Fields constant that matches name, or null if its not found.
13267        */
13268       public static _Fields findByName(String name) {
13269         return byName.get(name);
13270       }
13271 
13272       private final short _thriftId;
13273       private final String _fieldName;
13274 
13275       _Fields(short thriftId, String fieldName) {
13276         _thriftId = thriftId;
13277         _fieldName = fieldName;
13278       }
13279 
13280       public short getThriftFieldId() {
13281         return _thriftId;
13282       }
13283 
13284       public String getFieldName() {
13285         return _fieldName;
13286       }
13287     }
13288 
13289     // isset id assignments
13290     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
13291     static {
13292       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
13293       tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, 
13294           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
13295       tmpMap.put(_Fields.NSTE, new org.apache.thrift.meta_data.FieldMetaData("nste", org.apache.thrift.TFieldRequirementType.DEFAULT, 
13296           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
13297       tmpMap.put(_Fields.CVE, new org.apache.thrift.meta_data.FieldMetaData("cve", org.apache.thrift.TFieldRequirementType.DEFAULT, 
13298           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
13299       metaDataMap = Collections.unmodifiableMap(tmpMap);
13300       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(update_result.class, metaDataMap);
13301     }
13302 
13303     public update_result() {
13304     }
13305 
13306     public update_result(
13307       org.apache.accumulo.core.security.thrift.ThriftSecurityException sec,
13308       NotServingTabletException nste,
13309       ConstraintViolationException cve)
13310     {
13311       this();
13312       this.sec = sec;
13313       this.nste = nste;
13314       this.cve = cve;
13315     }
13316 
13317     /**
13318      * Performs a deep copy on <i>other</i>.
13319      */
13320     public update_result(update_result other) {
13321       if (other.isSetSec()) {
13322         this.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(other.sec);
13323       }
13324       if (other.isSetNste()) {
13325         this.nste = new NotServingTabletException(other.nste);
13326       }
13327       if (other.isSetCve()) {
13328         this.cve = new ConstraintViolationException(other.cve);
13329       }
13330     }
13331 
13332     public update_result deepCopy() {
13333       return new update_result(this);
13334     }
13335 
13336     @Override
13337     public void clear() {
13338       this.sec = null;
13339       this.nste = null;
13340       this.cve = null;
13341     }
13342 
13343     public org.apache.accumulo.core.security.thrift.ThriftSecurityException getSec() {
13344       return this.sec;
13345     }
13346 
13347     public update_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
13348       this.sec = sec;
13349       return this;
13350     }
13351 
13352     public void unsetSec() {
13353       this.sec = null;
13354     }
13355 
13356     /** Returns true if field sec is set (has been assigned a value) and false otherwise */
13357     public boolean isSetSec() {
13358       return this.sec != null;
13359     }
13360 
13361     public void setSecIsSet(boolean value) {
13362       if (!value) {
13363         this.sec = null;
13364       }
13365     }
13366 
13367     public NotServingTabletException getNste() {
13368       return this.nste;
13369     }
13370 
13371     public update_result setNste(NotServingTabletException nste) {
13372       this.nste = nste;
13373       return this;
13374     }
13375 
13376     public void unsetNste() {
13377       this.nste = null;
13378     }
13379 
13380     /** Returns true if field nste is set (has been assigned a value) and false otherwise */
13381     public boolean isSetNste() {
13382       return this.nste != null;
13383     }
13384 
13385     public void setNsteIsSet(boolean value) {
13386       if (!value) {
13387         this.nste = null;
13388       }
13389     }
13390 
13391     public ConstraintViolationException getCve() {
13392       return this.cve;
13393     }
13394 
13395     public update_result setCve(ConstraintViolationException cve) {
13396       this.cve = cve;
13397       return this;
13398     }
13399 
13400     public void unsetCve() {
13401       this.cve = null;
13402     }
13403 
13404     /** Returns true if field cve is set (has been assigned a value) and false otherwise */
13405     public boolean isSetCve() {
13406       return this.cve != null;
13407     }
13408 
13409     public void setCveIsSet(boolean value) {
13410       if (!value) {
13411         this.cve = null;
13412       }
13413     }
13414 
13415     public void setFieldValue(_Fields field, Object value) {
13416       switch (field) {
13417       case SEC:
13418         if (value == null) {
13419           unsetSec();
13420         } else {
13421           setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value);
13422         }
13423         break;
13424 
13425       case NSTE:
13426         if (value == null) {
13427           unsetNste();
13428         } else {
13429           setNste((NotServingTabletException)value);
13430         }
13431         break;
13432 
13433       case CVE:
13434         if (value == null) {
13435           unsetCve();
13436         } else {
13437           setCve((ConstraintViolationException)value);
13438         }
13439         break;
13440 
13441       }
13442     }
13443 
13444     public Object getFieldValue(_Fields field) {
13445       switch (field) {
13446       case SEC:
13447         return getSec();
13448 
13449       case NSTE:
13450         return getNste();
13451 
13452       case CVE:
13453         return getCve();
13454 
13455       }
13456       throw new IllegalStateException();
13457     }
13458 
13459     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
13460     public boolean isSet(_Fields field) {
13461       if (field == null) {
13462         throw new IllegalArgumentException();
13463       }
13464 
13465       switch (field) {
13466       case SEC:
13467         return isSetSec();
13468       case NSTE:
13469         return isSetNste();
13470       case CVE:
13471         return isSetCve();
13472       }
13473       throw new IllegalStateException();
13474     }
13475 
13476     @Override
13477     public boolean equals(Object that) {
13478       if (that == null)
13479         return false;
13480       if (that instanceof update_result)
13481         return this.equals((update_result)that);
13482       return false;
13483     }
13484 
13485     public boolean equals(update_result that) {
13486       if (that == null)
13487         return false;
13488 
13489       boolean this_present_sec = true && this.isSetSec();
13490       boolean that_present_sec = true && that.isSetSec();
13491       if (this_present_sec || that_present_sec) {
13492         if (!(this_present_sec && that_present_sec))
13493           return false;
13494         if (!this.sec.equals(that.sec))
13495           return false;
13496       }
13497 
13498       boolean this_present_nste = true && this.isSetNste();
13499       boolean that_present_nste = true && that.isSetNste();
13500       if (this_present_nste || that_present_nste) {
13501         if (!(this_present_nste && that_present_nste))
13502           return false;
13503         if (!this.nste.equals(that.nste))
13504           return false;
13505       }
13506 
13507       boolean this_present_cve = true && this.isSetCve();
13508       boolean that_present_cve = true && that.isSetCve();
13509       if (this_present_cve || that_present_cve) {
13510         if (!(this_present_cve && that_present_cve))
13511           return false;
13512         if (!this.cve.equals(that.cve))
13513           return false;
13514       }
13515 
13516       return true;
13517     }
13518 
13519     @Override
13520     public int hashCode() {
13521       return 0;
13522     }
13523 
13524     public int compareTo(update_result other) {
13525       if (!getClass().equals(other.getClass())) {
13526         return getClass().getName().compareTo(other.getClass().getName());
13527       }
13528 
13529       int lastComparison = 0;
13530       update_result typedOther = (update_result)other;
13531 
13532       lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec());
13533       if (lastComparison != 0) {
13534         return lastComparison;
13535       }
13536       if (isSetSec()) {
13537         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec);
13538         if (lastComparison != 0) {
13539           return lastComparison;
13540         }
13541       }
13542       lastComparison = Boolean.valueOf(isSetNste()).compareTo(typedOther.isSetNste());
13543       if (lastComparison != 0) {
13544         return lastComparison;
13545       }
13546       if (isSetNste()) {
13547         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nste, typedOther.nste);
13548         if (lastComparison != 0) {
13549           return lastComparison;
13550         }
13551       }
13552       lastComparison = Boolean.valueOf(isSetCve()).compareTo(typedOther.isSetCve());
13553       if (lastComparison != 0) {
13554         return lastComparison;
13555       }
13556       if (isSetCve()) {
13557         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cve, typedOther.cve);
13558         if (lastComparison != 0) {
13559           return lastComparison;
13560         }
13561       }
13562       return 0;
13563     }
13564 
13565     public _Fields fieldForId(int fieldId) {
13566       return _Fields.findByThriftId(fieldId);
13567     }
13568 
13569     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
13570       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
13571     }
13572 
13573     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
13574       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
13575       }
13576 
13577     @Override
13578     public String toString() {
13579       StringBuilder sb = new StringBuilder("update_result(");
13580       boolean first = true;
13581 
13582       sb.append("sec:");
13583       if (this.sec == null) {
13584         sb.append("null");
13585       } else {
13586         sb.append(this.sec);
13587       }
13588       first = false;
13589       if (!first) sb.append(", ");
13590       sb.append("nste:");
13591       if (this.nste == null) {
13592         sb.append("null");
13593       } else {
13594         sb.append(this.nste);
13595       }
13596       first = false;
13597       if (!first) sb.append(", ");
13598       sb.append("cve:");
13599       if (this.cve == null) {
13600         sb.append("null");
13601       } else {
13602         sb.append(this.cve);
13603       }
13604       first = false;
13605       sb.append(")");
13606       return sb.toString();
13607     }
13608 
13609     public void validate() throws org.apache.thrift.TException {
13610       // check for required fields
13611       // check for sub-struct validity
13612     }
13613 
13614     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
13615       try {
13616         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
13617       } catch (org.apache.thrift.TException te) {
13618         throw new java.io.IOException(te);
13619       }
13620     }
13621 
13622     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
13623       try {
13624         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
13625       } catch (org.apache.thrift.TException te) {
13626         throw new java.io.IOException(te);
13627       }
13628     }
13629 
13630     private static class update_resultStandardSchemeFactory implements SchemeFactory {
13631       public update_resultStandardScheme getScheme() {
13632         return new update_resultStandardScheme();
13633       }
13634     }
13635 
13636     private static class update_resultStandardScheme extends StandardScheme<update_result> {
13637 
13638       public void read(org.apache.thrift.protocol.TProtocol iprot, update_result struct) throws org.apache.thrift.TException {
13639         org.apache.thrift.protocol.TField schemeField;
13640         iprot.readStructBegin();
13641         while (true)
13642         {
13643           schemeField = iprot.readFieldBegin();
13644           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
13645             break;
13646           }
13647           switch (schemeField.id) {
13648             case 1: // SEC
13649               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
13650                 struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
13651                 struct.sec.read(iprot);
13652                 struct.setSecIsSet(true);
13653               } else { 
13654                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
13655               }
13656               break;
13657             case 2: // NSTE
13658               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
13659                 struct.nste = new NotServingTabletException();
13660                 struct.nste.read(iprot);
13661                 struct.setNsteIsSet(true);
13662               } else { 
13663                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
13664               }
13665               break;
13666             case 3: // CVE
13667               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
13668                 struct.cve = new ConstraintViolationException();
13669                 struct.cve.read(iprot);
13670                 struct.setCveIsSet(true);
13671               } else { 
13672                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
13673               }
13674               break;
13675             default:
13676               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
13677           }
13678           iprot.readFieldEnd();
13679         }
13680         iprot.readStructEnd();
13681 
13682         // check for required fields of primitive type, which can't be checked in the validate method
13683         struct.validate();
13684       }
13685 
13686       public void write(org.apache.thrift.protocol.TProtocol oprot, update_result struct) throws org.apache.thrift.TException {
13687         struct.validate();
13688 
13689         oprot.writeStructBegin(STRUCT_DESC);
13690         if (struct.sec != null) {
13691           oprot.writeFieldBegin(SEC_FIELD_DESC);
13692           struct.sec.write(oprot);
13693           oprot.writeFieldEnd();
13694         }
13695         if (struct.nste != null) {
13696           oprot.writeFieldBegin(NSTE_FIELD_DESC);
13697           struct.nste.write(oprot);
13698           oprot.writeFieldEnd();
13699         }
13700         if (struct.cve != null) {
13701           oprot.writeFieldBegin(CVE_FIELD_DESC);
13702           struct.cve.write(oprot);
13703           oprot.writeFieldEnd();
13704         }
13705         oprot.writeFieldStop();
13706         oprot.writeStructEnd();
13707       }
13708 
13709     }
13710 
13711     private static class update_resultTupleSchemeFactory implements SchemeFactory {
13712       public update_resultTupleScheme getScheme() {
13713         return new update_resultTupleScheme();
13714       }
13715     }
13716 
13717     private static class update_resultTupleScheme extends TupleScheme<update_result> {
13718 
13719       @Override
13720       public void write(org.apache.thrift.protocol.TProtocol prot, update_result struct) throws org.apache.thrift.TException {
13721         TTupleProtocol oprot = (TTupleProtocol) prot;
13722         BitSet optionals = new BitSet();
13723         if (struct.isSetSec()) {
13724           optionals.set(0);
13725         }
13726         if (struct.isSetNste()) {
13727           optionals.set(1);
13728         }
13729         if (struct.isSetCve()) {
13730           optionals.set(2);
13731         }
13732         oprot.writeBitSet(optionals, 3);
13733         if (struct.isSetSec()) {
13734           struct.sec.write(oprot);
13735         }
13736         if (struct.isSetNste()) {
13737           struct.nste.write(oprot);
13738         }
13739         if (struct.isSetCve()) {
13740           struct.cve.write(oprot);
13741         }
13742       }
13743 
13744       @Override
13745       public void read(org.apache.thrift.protocol.TProtocol prot, update_result struct) throws org.apache.thrift.TException {
13746         TTupleProtocol iprot = (TTupleProtocol) prot;
13747         BitSet incoming = iprot.readBitSet(3);
13748         if (incoming.get(0)) {
13749           struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
13750           struct.sec.read(iprot);
13751           struct.setSecIsSet(true);
13752         }
13753         if (incoming.get(1)) {
13754           struct.nste = new NotServingTabletException();
13755           struct.nste.read(iprot);
13756           struct.setNsteIsSet(true);
13757         }
13758         if (incoming.get(2)) {
13759           struct.cve = new ConstraintViolationException();
13760           struct.cve.read(iprot);
13761           struct.setCveIsSet(true);
13762         }
13763       }
13764     }
13765 
13766   }
13767 
13768   public static class bulkImport_args implements org.apache.thrift.TBase<bulkImport_args, bulkImport_args._Fields>, java.io.Serializable, Cloneable   {
13769     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("bulkImport_args");
13770 
13771     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);
13772     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);
13773     private static final org.apache.thrift.protocol.TField TID_FIELD_DESC = new org.apache.thrift.protocol.TField("tid", org.apache.thrift.protocol.TType.I64, (short)4);
13774     private static final org.apache.thrift.protocol.TField FILES_FIELD_DESC = new org.apache.thrift.protocol.TField("files", org.apache.thrift.protocol.TType.MAP, (short)2);
13775     private static final org.apache.thrift.protocol.TField SET_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("setTime", org.apache.thrift.protocol.TType.BOOL, (short)5);
13776 
13777     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
13778     static {
13779       schemes.put(StandardScheme.class, new bulkImport_argsStandardSchemeFactory());
13780       schemes.put(TupleScheme.class, new bulkImport_argsTupleSchemeFactory());
13781     }
13782 
13783     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
13784     public org.apache.accumulo.core.security.thrift.Credential credential; // required
13785     public long tid; // required
13786     public Map<org.apache.accumulo.core.data.thrift.TKeyExtent,Map<String,org.apache.accumulo.core.data.thrift.MapFileInfo>> files; // required
13787     public boolean setTime; // required
13788 
13789     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
13790     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
13791       TINFO((short)3, "tinfo"),
13792       CREDENTIAL((short)1, "credential"),
13793       TID((short)4, "tid"),
13794       FILES((short)2, "files"),
13795       SET_TIME((short)5, "setTime");
13796 
13797       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
13798 
13799       static {
13800         for (_Fields field : EnumSet.allOf(_Fields.class)) {
13801           byName.put(field.getFieldName(), field);
13802         }
13803       }
13804 
13805       /**
13806        * Find the _Fields constant that matches fieldId, or null if its not found.
13807        */
13808       public static _Fields findByThriftId(int fieldId) {
13809         switch(fieldId) {
13810           case 3: // TINFO
13811             return TINFO;
13812           case 1: // CREDENTIAL
13813             return CREDENTIAL;
13814           case 4: // TID
13815             return TID;
13816           case 2: // FILES
13817             return FILES;
13818           case 5: // SET_TIME
13819             return SET_TIME;
13820           default:
13821             return null;
13822         }
13823       }
13824 
13825       /**
13826        * Find the _Fields constant that matches fieldId, throwing an exception
13827        * if it is not found.
13828        */
13829       public static _Fields findByThriftIdOrThrow(int fieldId) {
13830         _Fields fields = findByThriftId(fieldId);
13831         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
13832         return fields;
13833       }
13834 
13835       /**
13836        * Find the _Fields constant that matches name, or null if its not found.
13837        */
13838       public static _Fields findByName(String name) {
13839         return byName.get(name);
13840       }
13841 
13842       private final short _thriftId;
13843       private final String _fieldName;
13844 
13845       _Fields(short thriftId, String fieldName) {
13846         _thriftId = thriftId;
13847         _fieldName = fieldName;
13848       }
13849 
13850       public short getThriftFieldId() {
13851         return _thriftId;
13852       }
13853 
13854       public String getFieldName() {
13855         return _fieldName;
13856       }
13857     }
13858 
13859     // isset id assignments
13860     private static final int __TID_ISSET_ID = 0;
13861     private static final int __SETTIME_ISSET_ID = 1;
13862     private byte __isset_bitfield = 0;
13863     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
13864     static {
13865       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
13866       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
13867           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
13868       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
13869           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
13870       tmpMap.put(_Fields.TID, new org.apache.thrift.meta_data.FieldMetaData("tid", org.apache.thrift.TFieldRequirementType.DEFAULT, 
13871           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
13872       tmpMap.put(_Fields.FILES, new org.apache.thrift.meta_data.FieldMetaData("files", org.apache.thrift.TFieldRequirementType.DEFAULT, 
13873           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.MAP          , "TabletFiles")));
13874       tmpMap.put(_Fields.SET_TIME, new org.apache.thrift.meta_data.FieldMetaData("setTime", org.apache.thrift.TFieldRequirementType.DEFAULT, 
13875           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
13876       metaDataMap = Collections.unmodifiableMap(tmpMap);
13877       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(bulkImport_args.class, metaDataMap);
13878     }
13879 
13880     public bulkImport_args() {
13881     }
13882 
13883     public bulkImport_args(
13884       org.apache.accumulo.trace.thrift.TInfo tinfo,
13885       org.apache.accumulo.core.security.thrift.Credential credential,
13886       long tid,
13887       Map<org.apache.accumulo.core.data.thrift.TKeyExtent,Map<String,org.apache.accumulo.core.data.thrift.MapFileInfo>> files,
13888       boolean setTime)
13889     {
13890       this();
13891       this.tinfo = tinfo;
13892       this.credential = credential;
13893       this.tid = tid;
13894       setTidIsSet(true);
13895       this.files = files;
13896       this.setTime = setTime;
13897       setSetTimeIsSet(true);
13898     }
13899 
13900     /**
13901      * Performs a deep copy on <i>other</i>.
13902      */
13903     public bulkImport_args(bulkImport_args other) {
13904       __isset_bitfield = other.__isset_bitfield;
13905       if (other.isSetTinfo()) {
13906         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
13907       }
13908       if (other.isSetCredential()) {
13909         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
13910       }
13911       this.tid = other.tid;
13912       if (other.isSetFiles()) {
13913         this.files = other.files;
13914       }
13915       this.setTime = other.setTime;
13916     }
13917 
13918     public bulkImport_args deepCopy() {
13919       return new bulkImport_args(this);
13920     }
13921 
13922     @Override
13923     public void clear() {
13924       this.tinfo = null;
13925       this.credential = null;
13926       setTidIsSet(false);
13927       this.tid = 0;
13928       this.files = null;
13929       setSetTimeIsSet(false);
13930       this.setTime = false;
13931     }
13932 
13933     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
13934       return this.tinfo;
13935     }
13936 
13937     public bulkImport_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
13938       this.tinfo = tinfo;
13939       return this;
13940     }
13941 
13942     public void unsetTinfo() {
13943       this.tinfo = null;
13944     }
13945 
13946     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
13947     public boolean isSetTinfo() {
13948       return this.tinfo != null;
13949     }
13950 
13951     public void setTinfoIsSet(boolean value) {
13952       if (!value) {
13953         this.tinfo = null;
13954       }
13955     }
13956 
13957     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
13958       return this.credential;
13959     }
13960 
13961     public bulkImport_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
13962       this.credential = credential;
13963       return this;
13964     }
13965 
13966     public void unsetCredential() {
13967       this.credential = null;
13968     }
13969 
13970     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
13971     public boolean isSetCredential() {
13972       return this.credential != null;
13973     }
13974 
13975     public void setCredentialIsSet(boolean value) {
13976       if (!value) {
13977         this.credential = null;
13978       }
13979     }
13980 
13981     public long getTid() {
13982       return this.tid;
13983     }
13984 
13985     public bulkImport_args setTid(long tid) {
13986       this.tid = tid;
13987       setTidIsSet(true);
13988       return this;
13989     }
13990 
13991     public void unsetTid() {
13992       __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TID_ISSET_ID);
13993     }
13994 
13995     /** Returns true if field tid is set (has been assigned a value) and false otherwise */
13996     public boolean isSetTid() {
13997       return EncodingUtils.testBit(__isset_bitfield, __TID_ISSET_ID);
13998     }
13999 
14000     public void setTidIsSet(boolean value) {
14001       __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TID_ISSET_ID, value);
14002     }
14003 
14004     public int getFilesSize() {
14005       return (this.files == null) ? 0 : this.files.size();
14006     }
14007 
14008     public void putToFiles(org.apache.accumulo.core.data.thrift.TKeyExtent key, Map<String,org.apache.accumulo.core.data.thrift.MapFileInfo> val) {
14009       if (this.files == null) {
14010         this.files = new HashMap<org.apache.accumulo.core.data.thrift.TKeyExtent,Map<String,org.apache.accumulo.core.data.thrift.MapFileInfo>>();
14011       }
14012       this.files.put(key, val);
14013     }
14014 
14015     public Map<org.apache.accumulo.core.data.thrift.TKeyExtent,Map<String,org.apache.accumulo.core.data.thrift.MapFileInfo>> getFiles() {
14016       return this.files;
14017     }
14018 
14019     public bulkImport_args setFiles(Map<org.apache.accumulo.core.data.thrift.TKeyExtent,Map<String,org.apache.accumulo.core.data.thrift.MapFileInfo>> files) {
14020       this.files = files;
14021       return this;
14022     }
14023 
14024     public void unsetFiles() {
14025       this.files = null;
14026     }
14027 
14028     /** Returns true if field files is set (has been assigned a value) and false otherwise */
14029     public boolean isSetFiles() {
14030       return this.files != null;
14031     }
14032 
14033     public void setFilesIsSet(boolean value) {
14034       if (!value) {
14035         this.files = null;
14036       }
14037     }
14038 
14039     public boolean isSetTime() {
14040       return this.setTime;
14041     }
14042 
14043     public bulkImport_args setSetTime(boolean setTime) {
14044       this.setTime = setTime;
14045       setSetTimeIsSet(true);
14046       return this;
14047     }
14048 
14049     public void unsetSetTime() {
14050       __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SETTIME_ISSET_ID);
14051     }
14052 
14053     /** Returns true if field setTime is set (has been assigned a value) and false otherwise */
14054     public boolean isSetSetTime() {
14055       return EncodingUtils.testBit(__isset_bitfield, __SETTIME_ISSET_ID);
14056     }
14057 
14058     public void setSetTimeIsSet(boolean value) {
14059       __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SETTIME_ISSET_ID, value);
14060     }
14061 
14062     public void setFieldValue(_Fields field, Object value) {
14063       switch (field) {
14064       case TINFO:
14065         if (value == null) {
14066           unsetTinfo();
14067         } else {
14068           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
14069         }
14070         break;
14071 
14072       case CREDENTIAL:
14073         if (value == null) {
14074           unsetCredential();
14075         } else {
14076           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
14077         }
14078         break;
14079 
14080       case TID:
14081         if (value == null) {
14082           unsetTid();
14083         } else {
14084           setTid((Long)value);
14085         }
14086         break;
14087 
14088       case FILES:
14089         if (value == null) {
14090           unsetFiles();
14091         } else {
14092           setFiles((Map<org.apache.accumulo.core.data.thrift.TKeyExtent,Map<String,org.apache.accumulo.core.data.thrift.MapFileInfo>>)value);
14093         }
14094         break;
14095 
14096       case SET_TIME:
14097         if (value == null) {
14098           unsetSetTime();
14099         } else {
14100           setSetTime((Boolean)value);
14101         }
14102         break;
14103 
14104       }
14105     }
14106 
14107     public Object getFieldValue(_Fields field) {
14108       switch (field) {
14109       case TINFO:
14110         return getTinfo();
14111 
14112       case CREDENTIAL:
14113         return getCredential();
14114 
14115       case TID:
14116         return Long.valueOf(getTid());
14117 
14118       case FILES:
14119         return getFiles();
14120 
14121       case SET_TIME:
14122         return Boolean.valueOf(isSetTime());
14123 
14124       }
14125       throw new IllegalStateException();
14126     }
14127 
14128     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
14129     public boolean isSet(_Fields field) {
14130       if (field == null) {
14131         throw new IllegalArgumentException();
14132       }
14133 
14134       switch (field) {
14135       case TINFO:
14136         return isSetTinfo();
14137       case CREDENTIAL:
14138         return isSetCredential();
14139       case TID:
14140         return isSetTid();
14141       case FILES:
14142         return isSetFiles();
14143       case SET_TIME:
14144         return isSetSetTime();
14145       }
14146       throw new IllegalStateException();
14147     }
14148 
14149     @Override
14150     public boolean equals(Object that) {
14151       if (that == null)
14152         return false;
14153       if (that instanceof bulkImport_args)
14154         return this.equals((bulkImport_args)that);
14155       return false;
14156     }
14157 
14158     public boolean equals(bulkImport_args that) {
14159       if (that == null)
14160         return false;
14161 
14162       boolean this_present_tinfo = true && this.isSetTinfo();
14163       boolean that_present_tinfo = true && that.isSetTinfo();
14164       if (this_present_tinfo || that_present_tinfo) {
14165         if (!(this_present_tinfo && that_present_tinfo))
14166           return false;
14167         if (!this.tinfo.equals(that.tinfo))
14168           return false;
14169       }
14170 
14171       boolean this_present_credential = true && this.isSetCredential();
14172       boolean that_present_credential = true && that.isSetCredential();
14173       if (this_present_credential || that_present_credential) {
14174         if (!(this_present_credential && that_present_credential))
14175           return false;
14176         if (!this.credential.equals(that.credential))
14177           return false;
14178       }
14179 
14180       boolean this_present_tid = true;
14181       boolean that_present_tid = true;
14182       if (this_present_tid || that_present_tid) {
14183         if (!(this_present_tid && that_present_tid))
14184           return false;
14185         if (this.tid != that.tid)
14186           return false;
14187       }
14188 
14189       boolean this_present_files = true && this.isSetFiles();
14190       boolean that_present_files = true && that.isSetFiles();
14191       if (this_present_files || that_present_files) {
14192         if (!(this_present_files && that_present_files))
14193           return false;
14194         if (!this.files.equals(that.files))
14195           return false;
14196       }
14197 
14198       boolean this_present_setTime = true;
14199       boolean that_present_setTime = true;
14200       if (this_present_setTime || that_present_setTime) {
14201         if (!(this_present_setTime && that_present_setTime))
14202           return false;
14203         if (this.setTime != that.setTime)
14204           return false;
14205       }
14206 
14207       return true;
14208     }
14209 
14210     @Override
14211     public int hashCode() {
14212       return 0;
14213     }
14214 
14215     public int compareTo(bulkImport_args other) {
14216       if (!getClass().equals(other.getClass())) {
14217         return getClass().getName().compareTo(other.getClass().getName());
14218       }
14219 
14220       int lastComparison = 0;
14221       bulkImport_args typedOther = (bulkImport_args)other;
14222 
14223       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
14224       if (lastComparison != 0) {
14225         return lastComparison;
14226       }
14227       if (isSetTinfo()) {
14228         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
14229         if (lastComparison != 0) {
14230           return lastComparison;
14231         }
14232       }
14233       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
14234       if (lastComparison != 0) {
14235         return lastComparison;
14236       }
14237       if (isSetCredential()) {
14238         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
14239         if (lastComparison != 0) {
14240           return lastComparison;
14241         }
14242       }
14243       lastComparison = Boolean.valueOf(isSetTid()).compareTo(typedOther.isSetTid());
14244       if (lastComparison != 0) {
14245         return lastComparison;
14246       }
14247       if (isSetTid()) {
14248         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tid, typedOther.tid);
14249         if (lastComparison != 0) {
14250           return lastComparison;
14251         }
14252       }
14253       lastComparison = Boolean.valueOf(isSetFiles()).compareTo(typedOther.isSetFiles());
14254       if (lastComparison != 0) {
14255         return lastComparison;
14256       }
14257       if (isSetFiles()) {
14258         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.files, typedOther.files);
14259         if (lastComparison != 0) {
14260           return lastComparison;
14261         }
14262       }
14263       lastComparison = Boolean.valueOf(isSetSetTime()).compareTo(typedOther.isSetSetTime());
14264       if (lastComparison != 0) {
14265         return lastComparison;
14266       }
14267       if (isSetSetTime()) {
14268         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.setTime, typedOther.setTime);
14269         if (lastComparison != 0) {
14270           return lastComparison;
14271         }
14272       }
14273       return 0;
14274     }
14275 
14276     public _Fields fieldForId(int fieldId) {
14277       return _Fields.findByThriftId(fieldId);
14278     }
14279 
14280     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
14281       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
14282     }
14283 
14284     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
14285       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
14286     }
14287 
14288     @Override
14289     public String toString() {
14290       StringBuilder sb = new StringBuilder("bulkImport_args(");
14291       boolean first = true;
14292 
14293       sb.append("tinfo:");
14294       if (this.tinfo == null) {
14295         sb.append("null");
14296       } else {
14297         sb.append(this.tinfo);
14298       }
14299       first = false;
14300       if (!first) sb.append(", ");
14301       sb.append("credential:");
14302       if (this.credential == null) {
14303         sb.append("null");
14304       } else {
14305         sb.append(this.credential);
14306       }
14307       first = false;
14308       if (!first) sb.append(", ");
14309       sb.append("tid:");
14310       sb.append(this.tid);
14311       first = false;
14312       if (!first) sb.append(", ");
14313       sb.append("files:");
14314       if (this.files == null) {
14315         sb.append("null");
14316       } else {
14317         sb.append(this.files);
14318       }
14319       first = false;
14320       if (!first) sb.append(", ");
14321       sb.append("setTime:");
14322       sb.append(this.setTime);
14323       first = false;
14324       sb.append(")");
14325       return sb.toString();
14326     }
14327 
14328     public void validate() throws org.apache.thrift.TException {
14329       // check for required fields
14330       // check for sub-struct validity
14331       if (tinfo != null) {
14332         tinfo.validate();
14333       }
14334       if (credential != null) {
14335         credential.validate();
14336       }
14337     }
14338 
14339     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
14340       try {
14341         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
14342       } catch (org.apache.thrift.TException te) {
14343         throw new java.io.IOException(te);
14344       }
14345     }
14346 
14347     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
14348       try {
14349         // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
14350         __isset_bitfield = 0;
14351         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
14352       } catch (org.apache.thrift.TException te) {
14353         throw new java.io.IOException(te);
14354       }
14355     }
14356 
14357     private static class bulkImport_argsStandardSchemeFactory implements SchemeFactory {
14358       public bulkImport_argsStandardScheme getScheme() {
14359         return new bulkImport_argsStandardScheme();
14360       }
14361     }
14362 
14363     private static class bulkImport_argsStandardScheme extends StandardScheme<bulkImport_args> {
14364 
14365       public void read(org.apache.thrift.protocol.TProtocol iprot, bulkImport_args struct) throws org.apache.thrift.TException {
14366         org.apache.thrift.protocol.TField schemeField;
14367         iprot.readStructBegin();
14368         while (true)
14369         {
14370           schemeField = iprot.readFieldBegin();
14371           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
14372             break;
14373           }
14374           switch (schemeField.id) {
14375             case 3: // TINFO
14376               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
14377                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
14378                 struct.tinfo.read(iprot);
14379                 struct.setTinfoIsSet(true);
14380               } else { 
14381                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
14382               }
14383               break;
14384             case 1: // CREDENTIAL
14385               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
14386                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
14387                 struct.credential.read(iprot);
14388                 struct.setCredentialIsSet(true);
14389               } else { 
14390                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
14391               }
14392               break;
14393             case 4: // TID
14394               if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
14395                 struct.tid = iprot.readI64();
14396                 struct.setTidIsSet(true);
14397               } else { 
14398                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
14399               }
14400               break;
14401             case 2: // FILES
14402               if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
14403                 {
14404                   org.apache.thrift.protocol.TMap _map220 = iprot.readMapBegin();
14405                   struct.files = new HashMap<org.apache.accumulo.core.data.thrift.TKeyExtent,Map<String,org.apache.accumulo.core.data.thrift.MapFileInfo>>(2*_map220.size);
14406                   for (int _i221 = 0; _i221 < _map220.size; ++_i221)
14407                   {
14408                     org.apache.accumulo.core.data.thrift.TKeyExtent _key222; // required
14409                     Map<String,org.apache.accumulo.core.data.thrift.MapFileInfo> _val223; // required
14410                     _key222 = new org.apache.accumulo.core.data.thrift.TKeyExtent();
14411                     _key222.read(iprot);
14412                     {
14413                       org.apache.thrift.protocol.TMap _map224 = iprot.readMapBegin();
14414                       _val223 = new HashMap<String,org.apache.accumulo.core.data.thrift.MapFileInfo>(2*_map224.size);
14415                       for (int _i225 = 0; _i225 < _map224.size; ++_i225)
14416                       {
14417                         String _key226; // required
14418                         org.apache.accumulo.core.data.thrift.MapFileInfo _val227; // required
14419                         _key226 = iprot.readString();
14420                         _val227 = new org.apache.accumulo.core.data.thrift.MapFileInfo();
14421                         _val227.read(iprot);
14422                         _val223.put(_key226, _val227);
14423                       }
14424                       iprot.readMapEnd();
14425                     }
14426                     struct.files.put(_key222, _val223);
14427                   }
14428                   iprot.readMapEnd();
14429                 }
14430                 struct.setFilesIsSet(true);
14431               } else { 
14432                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
14433               }
14434               break;
14435             case 5: // SET_TIME
14436               if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
14437                 struct.setTime = iprot.readBool();
14438                 struct.setSetTimeIsSet(true);
14439               } else { 
14440                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
14441               }
14442               break;
14443             default:
14444               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
14445           }
14446           iprot.readFieldEnd();
14447         }
14448         iprot.readStructEnd();
14449 
14450         // check for required fields of primitive type, which can't be checked in the validate method
14451         struct.validate();
14452       }
14453 
14454       public void write(org.apache.thrift.protocol.TProtocol oprot, bulkImport_args struct) throws org.apache.thrift.TException {
14455         struct.validate();
14456 
14457         oprot.writeStructBegin(STRUCT_DESC);
14458         if (struct.credential != null) {
14459           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
14460           struct.credential.write(oprot);
14461           oprot.writeFieldEnd();
14462         }
14463         if (struct.files != null) {
14464           oprot.writeFieldBegin(FILES_FIELD_DESC);
14465           {
14466             oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRUCT, org.apache.thrift.protocol.TType.MAP, struct.files.size()));
14467             for (Map.Entry<org.apache.accumulo.core.data.thrift.TKeyExtent, Map<String,org.apache.accumulo.core.data.thrift.MapFileInfo>> _iter228 : struct.files.entrySet())
14468             {
14469               _iter228.getKey().write(oprot);
14470               {
14471                 oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, _iter228.getValue().size()));
14472                 for (Map.Entry<String, org.apache.accumulo.core.data.thrift.MapFileInfo> _iter229 : _iter228.getValue().entrySet())
14473                 {
14474                   oprot.writeString(_iter229.getKey());
14475                   _iter229.getValue().write(oprot);
14476                 }
14477                 oprot.writeMapEnd();
14478               }
14479             }
14480             oprot.writeMapEnd();
14481           }
14482           oprot.writeFieldEnd();
14483         }
14484         if (struct.tinfo != null) {
14485           oprot.writeFieldBegin(TINFO_FIELD_DESC);
14486           struct.tinfo.write(oprot);
14487           oprot.writeFieldEnd();
14488         }
14489         oprot.writeFieldBegin(TID_FIELD_DESC);
14490         oprot.writeI64(struct.tid);
14491         oprot.writeFieldEnd();
14492         oprot.writeFieldBegin(SET_TIME_FIELD_DESC);
14493         oprot.writeBool(struct.setTime);
14494         oprot.writeFieldEnd();
14495         oprot.writeFieldStop();
14496         oprot.writeStructEnd();
14497       }
14498 
14499     }
14500 
14501     private static class bulkImport_argsTupleSchemeFactory implements SchemeFactory {
14502       public bulkImport_argsTupleScheme getScheme() {
14503         return new bulkImport_argsTupleScheme();
14504       }
14505     }
14506 
14507     private static class bulkImport_argsTupleScheme extends TupleScheme<bulkImport_args> {
14508 
14509       @Override
14510       public void write(org.apache.thrift.protocol.TProtocol prot, bulkImport_args struct) throws org.apache.thrift.TException {
14511         TTupleProtocol oprot = (TTupleProtocol) prot;
14512         BitSet optionals = new BitSet();
14513         if (struct.isSetTinfo()) {
14514           optionals.set(0);
14515         }
14516         if (struct.isSetCredential()) {
14517           optionals.set(1);
14518         }
14519         if (struct.isSetTid()) {
14520           optionals.set(2);
14521         }
14522         if (struct.isSetFiles()) {
14523           optionals.set(3);
14524         }
14525         if (struct.isSetSetTime()) {
14526           optionals.set(4);
14527         }
14528         oprot.writeBitSet(optionals, 5);
14529         if (struct.isSetTinfo()) {
14530           struct.tinfo.write(oprot);
14531         }
14532         if (struct.isSetCredential()) {
14533           struct.credential.write(oprot);
14534         }
14535         if (struct.isSetTid()) {
14536           oprot.writeI64(struct.tid);
14537         }
14538         if (struct.isSetFiles()) {
14539           {
14540             oprot.writeI32(struct.files.size());
14541             for (Map.Entry<org.apache.accumulo.core.data.thrift.TKeyExtent, Map<String,org.apache.accumulo.core.data.thrift.MapFileInfo>> _iter230 : struct.files.entrySet())
14542             {
14543               _iter230.getKey().write(oprot);
14544               {
14545                 oprot.writeI32(_iter230.getValue().size());
14546                 for (Map.Entry<String, org.apache.accumulo.core.data.thrift.MapFileInfo> _iter231 : _iter230.getValue().entrySet())
14547                 {
14548                   oprot.writeString(_iter231.getKey());
14549                   _iter231.getValue().write(oprot);
14550                 }
14551               }
14552             }
14553           }
14554         }
14555         if (struct.isSetSetTime()) {
14556           oprot.writeBool(struct.setTime);
14557         }
14558       }
14559 
14560       @Override
14561       public void read(org.apache.thrift.protocol.TProtocol prot, bulkImport_args struct) throws org.apache.thrift.TException {
14562         TTupleProtocol iprot = (TTupleProtocol) prot;
14563         BitSet incoming = iprot.readBitSet(5);
14564         if (incoming.get(0)) {
14565           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
14566           struct.tinfo.read(iprot);
14567           struct.setTinfoIsSet(true);
14568         }
14569         if (incoming.get(1)) {
14570           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
14571           struct.credential.read(iprot);
14572           struct.setCredentialIsSet(true);
14573         }
14574         if (incoming.get(2)) {
14575           struct.tid = iprot.readI64();
14576           struct.setTidIsSet(true);
14577         }
14578         if (incoming.get(3)) {
14579           {
14580             org.apache.thrift.protocol.TMap _map232 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRUCT, org.apache.thrift.protocol.TType.MAP, iprot.readI32());
14581             struct.files = new HashMap<org.apache.accumulo.core.data.thrift.TKeyExtent,Map<String,org.apache.accumulo.core.data.thrift.MapFileInfo>>(2*_map232.size);
14582             for (int _i233 = 0; _i233 < _map232.size; ++_i233)
14583             {
14584               org.apache.accumulo.core.data.thrift.TKeyExtent _key234; // required
14585               Map<String,org.apache.accumulo.core.data.thrift.MapFileInfo> _val235; // required
14586               _key234 = new org.apache.accumulo.core.data.thrift.TKeyExtent();
14587               _key234.read(iprot);
14588               {
14589                 org.apache.thrift.protocol.TMap _map236 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
14590                 _val235 = new HashMap<String,org.apache.accumulo.core.data.thrift.MapFileInfo>(2*_map236.size);
14591                 for (int _i237 = 0; _i237 < _map236.size; ++_i237)
14592                 {
14593                   String _key238; // required
14594                   org.apache.accumulo.core.data.thrift.MapFileInfo _val239; // required
14595                   _key238 = iprot.readString();
14596                   _val239 = new org.apache.accumulo.core.data.thrift.MapFileInfo();
14597                   _val239.read(iprot);
14598                   _val235.put(_key238, _val239);
14599                 }
14600               }
14601               struct.files.put(_key234, _val235);
14602             }
14603           }
14604           struct.setFilesIsSet(true);
14605         }
14606         if (incoming.get(4)) {
14607           struct.setTime = iprot.readBool();
14608           struct.setSetTimeIsSet(true);
14609         }
14610       }
14611     }
14612 
14613   }
14614 
14615   public static class bulkImport_result implements org.apache.thrift.TBase<bulkImport_result, bulkImport_result._Fields>, java.io.Serializable, Cloneable   {
14616     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("bulkImport_result");
14617 
14618     private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
14619     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);
14620 
14621     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
14622     static {
14623       schemes.put(StandardScheme.class, new bulkImport_resultStandardSchemeFactory());
14624       schemes.put(TupleScheme.class, new bulkImport_resultTupleSchemeFactory());
14625     }
14626 
14627     public List<org.apache.accumulo.core.data.thrift.TKeyExtent> success; // required
14628     public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required
14629 
14630     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
14631     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
14632       SUCCESS((short)0, "success"),
14633       SEC((short)1, "sec");
14634 
14635       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
14636 
14637       static {
14638         for (_Fields field : EnumSet.allOf(_Fields.class)) {
14639           byName.put(field.getFieldName(), field);
14640         }
14641       }
14642 
14643       /**
14644        * Find the _Fields constant that matches fieldId, or null if its not found.
14645        */
14646       public static _Fields findByThriftId(int fieldId) {
14647         switch(fieldId) {
14648           case 0: // SUCCESS
14649             return SUCCESS;
14650           case 1: // SEC
14651             return SEC;
14652           default:
14653             return null;
14654         }
14655       }
14656 
14657       /**
14658        * Find the _Fields constant that matches fieldId, throwing an exception
14659        * if it is not found.
14660        */
14661       public static _Fields findByThriftIdOrThrow(int fieldId) {
14662         _Fields fields = findByThriftId(fieldId);
14663         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
14664         return fields;
14665       }
14666 
14667       /**
14668        * Find the _Fields constant that matches name, or null if its not found.
14669        */
14670       public static _Fields findByName(String name) {
14671         return byName.get(name);
14672       }
14673 
14674       private final short _thriftId;
14675       private final String _fieldName;
14676 
14677       _Fields(short thriftId, String fieldName) {
14678         _thriftId = thriftId;
14679         _fieldName = fieldName;
14680       }
14681 
14682       public short getThriftFieldId() {
14683         return _thriftId;
14684       }
14685 
14686       public String getFieldName() {
14687         return _fieldName;
14688       }
14689     }
14690 
14691     // isset id assignments
14692     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
14693     static {
14694       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
14695       tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
14696           new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
14697               new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.TKeyExtent.class))));
14698       tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, 
14699           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
14700       metaDataMap = Collections.unmodifiableMap(tmpMap);
14701       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(bulkImport_result.class, metaDataMap);
14702     }
14703 
14704     public bulkImport_result() {
14705     }
14706 
14707     public bulkImport_result(
14708       List<org.apache.accumulo.core.data.thrift.TKeyExtent> success,
14709       org.apache.accumulo.core.security.thrift.ThriftSecurityException sec)
14710     {
14711       this();
14712       this.success = success;
14713       this.sec = sec;
14714     }
14715 
14716     /**
14717      * Performs a deep copy on <i>other</i>.
14718      */
14719     public bulkImport_result(bulkImport_result other) {
14720       if (other.isSetSuccess()) {
14721         List<org.apache.accumulo.core.data.thrift.TKeyExtent> __this__success = new ArrayList<org.apache.accumulo.core.data.thrift.TKeyExtent>();
14722         for (org.apache.accumulo.core.data.thrift.TKeyExtent other_element : other.success) {
14723           __this__success.add(new org.apache.accumulo.core.data.thrift.TKeyExtent(other_element));
14724         }
14725         this.success = __this__success;
14726       }
14727       if (other.isSetSec()) {
14728         this.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(other.sec);
14729       }
14730     }
14731 
14732     public bulkImport_result deepCopy() {
14733       return new bulkImport_result(this);
14734     }
14735 
14736     @Override
14737     public void clear() {
14738       this.success = null;
14739       this.sec = null;
14740     }
14741 
14742     public int getSuccessSize() {
14743       return (this.success == null) ? 0 : this.success.size();
14744     }
14745 
14746     public java.util.Iterator<org.apache.accumulo.core.data.thrift.TKeyExtent> getSuccessIterator() {
14747       return (this.success == null) ? null : this.success.iterator();
14748     }
14749 
14750     public void addToSuccess(org.apache.accumulo.core.data.thrift.TKeyExtent elem) {
14751       if (this.success == null) {
14752         this.success = new ArrayList<org.apache.accumulo.core.data.thrift.TKeyExtent>();
14753       }
14754       this.success.add(elem);
14755     }
14756 
14757     public List<org.apache.accumulo.core.data.thrift.TKeyExtent> getSuccess() {
14758       return this.success;
14759     }
14760 
14761     public bulkImport_result setSuccess(List<org.apache.accumulo.core.data.thrift.TKeyExtent> success) {
14762       this.success = success;
14763       return this;
14764     }
14765 
14766     public void unsetSuccess() {
14767       this.success = null;
14768     }
14769 
14770     /** Returns true if field success is set (has been assigned a value) and false otherwise */
14771     public boolean isSetSuccess() {
14772       return this.success != null;
14773     }
14774 
14775     public void setSuccessIsSet(boolean value) {
14776       if (!value) {
14777         this.success = null;
14778       }
14779     }
14780 
14781     public org.apache.accumulo.core.security.thrift.ThriftSecurityException getSec() {
14782       return this.sec;
14783     }
14784 
14785     public bulkImport_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
14786       this.sec = sec;
14787       return this;
14788     }
14789 
14790     public void unsetSec() {
14791       this.sec = null;
14792     }
14793 
14794     /** Returns true if field sec is set (has been assigned a value) and false otherwise */
14795     public boolean isSetSec() {
14796       return this.sec != null;
14797     }
14798 
14799     public void setSecIsSet(boolean value) {
14800       if (!value) {
14801         this.sec = null;
14802       }
14803     }
14804 
14805     public void setFieldValue(_Fields field, Object value) {
14806       switch (field) {
14807       case SUCCESS:
14808         if (value == null) {
14809           unsetSuccess();
14810         } else {
14811           setSuccess((List<org.apache.accumulo.core.data.thrift.TKeyExtent>)value);
14812         }
14813         break;
14814 
14815       case SEC:
14816         if (value == null) {
14817           unsetSec();
14818         } else {
14819           setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value);
14820         }
14821         break;
14822 
14823       }
14824     }
14825 
14826     public Object getFieldValue(_Fields field) {
14827       switch (field) {
14828       case SUCCESS:
14829         return getSuccess();
14830 
14831       case SEC:
14832         return getSec();
14833 
14834       }
14835       throw new IllegalStateException();
14836     }
14837 
14838     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
14839     public boolean isSet(_Fields field) {
14840       if (field == null) {
14841         throw new IllegalArgumentException();
14842       }
14843 
14844       switch (field) {
14845       case SUCCESS:
14846         return isSetSuccess();
14847       case SEC:
14848         return isSetSec();
14849       }
14850       throw new IllegalStateException();
14851     }
14852 
14853     @Override
14854     public boolean equals(Object that) {
14855       if (that == null)
14856         return false;
14857       if (that instanceof bulkImport_result)
14858         return this.equals((bulkImport_result)that);
14859       return false;
14860     }
14861 
14862     public boolean equals(bulkImport_result that) {
14863       if (that == null)
14864         return false;
14865 
14866       boolean this_present_success = true && this.isSetSuccess();
14867       boolean that_present_success = true && that.isSetSuccess();
14868       if (this_present_success || that_present_success) {
14869         if (!(this_present_success && that_present_success))
14870           return false;
14871         if (!this.success.equals(that.success))
14872           return false;
14873       }
14874 
14875       boolean this_present_sec = true && this.isSetSec();
14876       boolean that_present_sec = true && that.isSetSec();
14877       if (this_present_sec || that_present_sec) {
14878         if (!(this_present_sec && that_present_sec))
14879           return false;
14880         if (!this.sec.equals(that.sec))
14881           return false;
14882       }
14883 
14884       return true;
14885     }
14886 
14887     @Override
14888     public int hashCode() {
14889       return 0;
14890     }
14891 
14892     public int compareTo(bulkImport_result other) {
14893       if (!getClass().equals(other.getClass())) {
14894         return getClass().getName().compareTo(other.getClass().getName());
14895       }
14896 
14897       int lastComparison = 0;
14898       bulkImport_result typedOther = (bulkImport_result)other;
14899 
14900       lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
14901       if (lastComparison != 0) {
14902         return lastComparison;
14903       }
14904       if (isSetSuccess()) {
14905         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
14906         if (lastComparison != 0) {
14907           return lastComparison;
14908         }
14909       }
14910       lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec());
14911       if (lastComparison != 0) {
14912         return lastComparison;
14913       }
14914       if (isSetSec()) {
14915         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec);
14916         if (lastComparison != 0) {
14917           return lastComparison;
14918         }
14919       }
14920       return 0;
14921     }
14922 
14923     public _Fields fieldForId(int fieldId) {
14924       return _Fields.findByThriftId(fieldId);
14925     }
14926 
14927     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
14928       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
14929     }
14930 
14931     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
14932       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
14933       }
14934 
14935     @Override
14936     public String toString() {
14937       StringBuilder sb = new StringBuilder("bulkImport_result(");
14938       boolean first = true;
14939 
14940       sb.append("success:");
14941       if (this.success == null) {
14942         sb.append("null");
14943       } else {
14944         sb.append(this.success);
14945       }
14946       first = false;
14947       if (!first) sb.append(", ");
14948       sb.append("sec:");
14949       if (this.sec == null) {
14950         sb.append("null");
14951       } else {
14952         sb.append(this.sec);
14953       }
14954       first = false;
14955       sb.append(")");
14956       return sb.toString();
14957     }
14958 
14959     public void validate() throws org.apache.thrift.TException {
14960       // check for required fields
14961       // check for sub-struct validity
14962     }
14963 
14964     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
14965       try {
14966         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
14967       } catch (org.apache.thrift.TException te) {
14968         throw new java.io.IOException(te);
14969       }
14970     }
14971 
14972     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
14973       try {
14974         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
14975       } catch (org.apache.thrift.TException te) {
14976         throw new java.io.IOException(te);
14977       }
14978     }
14979 
14980     private static class bulkImport_resultStandardSchemeFactory implements SchemeFactory {
14981       public bulkImport_resultStandardScheme getScheme() {
14982         return new bulkImport_resultStandardScheme();
14983       }
14984     }
14985 
14986     private static class bulkImport_resultStandardScheme extends StandardScheme<bulkImport_result> {
14987 
14988       public void read(org.apache.thrift.protocol.TProtocol iprot, bulkImport_result struct) throws org.apache.thrift.TException {
14989         org.apache.thrift.protocol.TField schemeField;
14990         iprot.readStructBegin();
14991         while (true)
14992         {
14993           schemeField = iprot.readFieldBegin();
14994           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
14995             break;
14996           }
14997           switch (schemeField.id) {
14998             case 0: // SUCCESS
14999               if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
15000                 {
15001                   org.apache.thrift.protocol.TList _list240 = iprot.readListBegin();
15002                   struct.success = new ArrayList<org.apache.accumulo.core.data.thrift.TKeyExtent>(_list240.size);
15003                   for (int _i241 = 0; _i241 < _list240.size; ++_i241)
15004                   {
15005                     org.apache.accumulo.core.data.thrift.TKeyExtent _elem242; // required
15006                     _elem242 = new org.apache.accumulo.core.data.thrift.TKeyExtent();
15007                     _elem242.read(iprot);
15008                     struct.success.add(_elem242);
15009                   }
15010                   iprot.readListEnd();
15011                 }
15012                 struct.setSuccessIsSet(true);
15013               } else { 
15014                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
15015               }
15016               break;
15017             case 1: // SEC
15018               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
15019                 struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
15020                 struct.sec.read(iprot);
15021                 struct.setSecIsSet(true);
15022               } else { 
15023                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
15024               }
15025               break;
15026             default:
15027               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
15028           }
15029           iprot.readFieldEnd();
15030         }
15031         iprot.readStructEnd();
15032 
15033         // check for required fields of primitive type, which can't be checked in the validate method
15034         struct.validate();
15035       }
15036 
15037       public void write(org.apache.thrift.protocol.TProtocol oprot, bulkImport_result struct) throws org.apache.thrift.TException {
15038         struct.validate();
15039 
15040         oprot.writeStructBegin(STRUCT_DESC);
15041         if (struct.success != null) {
15042           oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
15043           {
15044             oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size()));
15045             for (org.apache.accumulo.core.data.thrift.TKeyExtent _iter243 : struct.success)
15046             {
15047               _iter243.write(oprot);
15048             }
15049             oprot.writeListEnd();
15050           }
15051           oprot.writeFieldEnd();
15052         }
15053         if (struct.sec != null) {
15054           oprot.writeFieldBegin(SEC_FIELD_DESC);
15055           struct.sec.write(oprot);
15056           oprot.writeFieldEnd();
15057         }
15058         oprot.writeFieldStop();
15059         oprot.writeStructEnd();
15060       }
15061 
15062     }
15063 
15064     private static class bulkImport_resultTupleSchemeFactory implements SchemeFactory {
15065       public bulkImport_resultTupleScheme getScheme() {
15066         return new bulkImport_resultTupleScheme();
15067       }
15068     }
15069 
15070     private static class bulkImport_resultTupleScheme extends TupleScheme<bulkImport_result> {
15071 
15072       @Override
15073       public void write(org.apache.thrift.protocol.TProtocol prot, bulkImport_result struct) throws org.apache.thrift.TException {
15074         TTupleProtocol oprot = (TTupleProtocol) prot;
15075         BitSet optionals = new BitSet();
15076         if (struct.isSetSuccess()) {
15077           optionals.set(0);
15078         }
15079         if (struct.isSetSec()) {
15080           optionals.set(1);
15081         }
15082         oprot.writeBitSet(optionals, 2);
15083         if (struct.isSetSuccess()) {
15084           {
15085             oprot.writeI32(struct.success.size());
15086             for (org.apache.accumulo.core.data.thrift.TKeyExtent _iter244 : struct.success)
15087             {
15088               _iter244.write(oprot);
15089             }
15090           }
15091         }
15092         if (struct.isSetSec()) {
15093           struct.sec.write(oprot);
15094         }
15095       }
15096 
15097       @Override
15098       public void read(org.apache.thrift.protocol.TProtocol prot, bulkImport_result struct) throws org.apache.thrift.TException {
15099         TTupleProtocol iprot = (TTupleProtocol) prot;
15100         BitSet incoming = iprot.readBitSet(2);
15101         if (incoming.get(0)) {
15102           {
15103             org.apache.thrift.protocol.TList _list245 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
15104             struct.success = new ArrayList<org.apache.accumulo.core.data.thrift.TKeyExtent>(_list245.size);
15105             for (int _i246 = 0; _i246 < _list245.size; ++_i246)
15106             {
15107               org.apache.accumulo.core.data.thrift.TKeyExtent _elem247; // required
15108               _elem247 = new org.apache.accumulo.core.data.thrift.TKeyExtent();
15109               _elem247.read(iprot);
15110               struct.success.add(_elem247);
15111             }
15112           }
15113           struct.setSuccessIsSet(true);
15114         }
15115         if (incoming.get(1)) {
15116           struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
15117           struct.sec.read(iprot);
15118           struct.setSecIsSet(true);
15119         }
15120       }
15121     }
15122 
15123   }
15124 
15125   public static class splitTablet_args implements org.apache.thrift.TBase<splitTablet_args, splitTablet_args._Fields>, java.io.Serializable, Cloneable   {
15126     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("splitTablet_args");
15127 
15128     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);
15129     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);
15130     private static final org.apache.thrift.protocol.TField EXTENT_FIELD_DESC = new org.apache.thrift.protocol.TField("extent", org.apache.thrift.protocol.TType.STRUCT, (short)2);
15131     private static final org.apache.thrift.protocol.TField SPLIT_POINT_FIELD_DESC = new org.apache.thrift.protocol.TField("splitPoint", org.apache.thrift.protocol.TType.STRING, (short)3);
15132 
15133     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
15134     static {
15135       schemes.put(StandardScheme.class, new splitTablet_argsStandardSchemeFactory());
15136       schemes.put(TupleScheme.class, new splitTablet_argsTupleSchemeFactory());
15137     }
15138 
15139     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
15140     public org.apache.accumulo.core.security.thrift.Credential credential; // required
15141     public org.apache.accumulo.core.data.thrift.TKeyExtent extent; // required
15142     public ByteBuffer splitPoint; // required
15143 
15144     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
15145     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
15146       TINFO((short)4, "tinfo"),
15147       CREDENTIAL((short)1, "credential"),
15148       EXTENT((short)2, "extent"),
15149       SPLIT_POINT((short)3, "splitPoint");
15150 
15151       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
15152 
15153       static {
15154         for (_Fields field : EnumSet.allOf(_Fields.class)) {
15155           byName.put(field.getFieldName(), field);
15156         }
15157       }
15158 
15159       /**
15160        * Find the _Fields constant that matches fieldId, or null if its not found.
15161        */
15162       public static _Fields findByThriftId(int fieldId) {
15163         switch(fieldId) {
15164           case 4: // TINFO
15165             return TINFO;
15166           case 1: // CREDENTIAL
15167             return CREDENTIAL;
15168           case 2: // EXTENT
15169             return EXTENT;
15170           case 3: // SPLIT_POINT
15171             return SPLIT_POINT;
15172           default:
15173             return null;
15174         }
15175       }
15176 
15177       /**
15178        * Find the _Fields constant that matches fieldId, throwing an exception
15179        * if it is not found.
15180        */
15181       public static _Fields findByThriftIdOrThrow(int fieldId) {
15182         _Fields fields = findByThriftId(fieldId);
15183         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
15184         return fields;
15185       }
15186 
15187       /**
15188        * Find the _Fields constant that matches name, or null if its not found.
15189        */
15190       public static _Fields findByName(String name) {
15191         return byName.get(name);
15192       }
15193 
15194       private final short _thriftId;
15195       private final String _fieldName;
15196 
15197       _Fields(short thriftId, String fieldName) {
15198         _thriftId = thriftId;
15199         _fieldName = fieldName;
15200       }
15201 
15202       public short getThriftFieldId() {
15203         return _thriftId;
15204       }
15205 
15206       public String getFieldName() {
15207         return _fieldName;
15208       }
15209     }
15210 
15211     // isset id assignments
15212     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
15213     static {
15214       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
15215       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
15216           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
15217       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
15218           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
15219       tmpMap.put(_Fields.EXTENT, new org.apache.thrift.meta_data.FieldMetaData("extent", org.apache.thrift.TFieldRequirementType.DEFAULT, 
15220           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.TKeyExtent.class)));
15221       tmpMap.put(_Fields.SPLIT_POINT, new org.apache.thrift.meta_data.FieldMetaData("splitPoint", org.apache.thrift.TFieldRequirementType.DEFAULT, 
15222           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING          , true)));
15223       metaDataMap = Collections.unmodifiableMap(tmpMap);
15224       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(splitTablet_args.class, metaDataMap);
15225     }
15226 
15227     public splitTablet_args() {
15228     }
15229 
15230     public splitTablet_args(
15231       org.apache.accumulo.trace.thrift.TInfo tinfo,
15232       org.apache.accumulo.core.security.thrift.Credential credential,
15233       org.apache.accumulo.core.data.thrift.TKeyExtent extent,
15234       ByteBuffer splitPoint)
15235     {
15236       this();
15237       this.tinfo = tinfo;
15238       this.credential = credential;
15239       this.extent = extent;
15240       this.splitPoint = splitPoint;
15241     }
15242 
15243     /**
15244      * Performs a deep copy on <i>other</i>.
15245      */
15246     public splitTablet_args(splitTablet_args other) {
15247       if (other.isSetTinfo()) {
15248         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
15249       }
15250       if (other.isSetCredential()) {
15251         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
15252       }
15253       if (other.isSetExtent()) {
15254         this.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent(other.extent);
15255       }
15256       if (other.isSetSplitPoint()) {
15257         this.splitPoint = org.apache.thrift.TBaseHelper.copyBinary(other.splitPoint);
15258 ;
15259       }
15260     }
15261 
15262     public splitTablet_args deepCopy() {
15263       return new splitTablet_args(this);
15264     }
15265 
15266     @Override
15267     public void clear() {
15268       this.tinfo = null;
15269       this.credential = null;
15270       this.extent = null;
15271       this.splitPoint = null;
15272     }
15273 
15274     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
15275       return this.tinfo;
15276     }
15277 
15278     public splitTablet_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
15279       this.tinfo = tinfo;
15280       return this;
15281     }
15282 
15283     public void unsetTinfo() {
15284       this.tinfo = null;
15285     }
15286 
15287     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
15288     public boolean isSetTinfo() {
15289       return this.tinfo != null;
15290     }
15291 
15292     public void setTinfoIsSet(boolean value) {
15293       if (!value) {
15294         this.tinfo = null;
15295       }
15296     }
15297 
15298     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
15299       return this.credential;
15300     }
15301 
15302     public splitTablet_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
15303       this.credential = credential;
15304       return this;
15305     }
15306 
15307     public void unsetCredential() {
15308       this.credential = null;
15309     }
15310 
15311     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
15312     public boolean isSetCredential() {
15313       return this.credential != null;
15314     }
15315 
15316     public void setCredentialIsSet(boolean value) {
15317       if (!value) {
15318         this.credential = null;
15319       }
15320     }
15321 
15322     public org.apache.accumulo.core.data.thrift.TKeyExtent getExtent() {
15323       return this.extent;
15324     }
15325 
15326     public splitTablet_args setExtent(org.apache.accumulo.core.data.thrift.TKeyExtent extent) {
15327       this.extent = extent;
15328       return this;
15329     }
15330 
15331     public void unsetExtent() {
15332       this.extent = null;
15333     }
15334 
15335     /** Returns true if field extent is set (has been assigned a value) and false otherwise */
15336     public boolean isSetExtent() {
15337       return this.extent != null;
15338     }
15339 
15340     public void setExtentIsSet(boolean value) {
15341       if (!value) {
15342         this.extent = null;
15343       }
15344     }
15345 
15346     public byte[] getSplitPoint() {
15347       setSplitPoint(org.apache.thrift.TBaseHelper.rightSize(splitPoint));
15348       return splitPoint == null ? null : splitPoint.array();
15349     }
15350 
15351     public ByteBuffer bufferForSplitPoint() {
15352       return splitPoint;
15353     }
15354 
15355     public splitTablet_args setSplitPoint(byte[] splitPoint) {
15356       setSplitPoint(splitPoint == null ? (ByteBuffer)null : ByteBuffer.wrap(splitPoint));
15357       return this;
15358     }
15359 
15360     public splitTablet_args setSplitPoint(ByteBuffer splitPoint) {
15361       this.splitPoint = splitPoint;
15362       return this;
15363     }
15364 
15365     public void unsetSplitPoint() {
15366       this.splitPoint = null;
15367     }
15368 
15369     /** Returns true if field splitPoint is set (has been assigned a value) and false otherwise */
15370     public boolean isSetSplitPoint() {
15371       return this.splitPoint != null;
15372     }
15373 
15374     public void setSplitPointIsSet(boolean value) {
15375       if (!value) {
15376         this.splitPoint = null;
15377       }
15378     }
15379 
15380     public void setFieldValue(_Fields field, Object value) {
15381       switch (field) {
15382       case TINFO:
15383         if (value == null) {
15384           unsetTinfo();
15385         } else {
15386           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
15387         }
15388         break;
15389 
15390       case CREDENTIAL:
15391         if (value == null) {
15392           unsetCredential();
15393         } else {
15394           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
15395         }
15396         break;
15397 
15398       case EXTENT:
15399         if (value == null) {
15400           unsetExtent();
15401         } else {
15402           setExtent((org.apache.accumulo.core.data.thrift.TKeyExtent)value);
15403         }
15404         break;
15405 
15406       case SPLIT_POINT:
15407         if (value == null) {
15408           unsetSplitPoint();
15409         } else {
15410           setSplitPoint((ByteBuffer)value);
15411         }
15412         break;
15413 
15414       }
15415     }
15416 
15417     public Object getFieldValue(_Fields field) {
15418       switch (field) {
15419       case TINFO:
15420         return getTinfo();
15421 
15422       case CREDENTIAL:
15423         return getCredential();
15424 
15425       case EXTENT:
15426         return getExtent();
15427 
15428       case SPLIT_POINT:
15429         return getSplitPoint();
15430 
15431       }
15432       throw new IllegalStateException();
15433     }
15434 
15435     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
15436     public boolean isSet(_Fields field) {
15437       if (field == null) {
15438         throw new IllegalArgumentException();
15439       }
15440 
15441       switch (field) {
15442       case TINFO:
15443         return isSetTinfo();
15444       case CREDENTIAL:
15445         return isSetCredential();
15446       case EXTENT:
15447         return isSetExtent();
15448       case SPLIT_POINT:
15449         return isSetSplitPoint();
15450       }
15451       throw new IllegalStateException();
15452     }
15453 
15454     @Override
15455     public boolean equals(Object that) {
15456       if (that == null)
15457         return false;
15458       if (that instanceof splitTablet_args)
15459         return this.equals((splitTablet_args)that);
15460       return false;
15461     }
15462 
15463     public boolean equals(splitTablet_args that) {
15464       if (that == null)
15465         return false;
15466 
15467       boolean this_present_tinfo = true && this.isSetTinfo();
15468       boolean that_present_tinfo = true && that.isSetTinfo();
15469       if (this_present_tinfo || that_present_tinfo) {
15470         if (!(this_present_tinfo && that_present_tinfo))
15471           return false;
15472         if (!this.tinfo.equals(that.tinfo))
15473           return false;
15474       }
15475 
15476       boolean this_present_credential = true && this.isSetCredential();
15477       boolean that_present_credential = true && that.isSetCredential();
15478       if (this_present_credential || that_present_credential) {
15479         if (!(this_present_credential && that_present_credential))
15480           return false;
15481         if (!this.credential.equals(that.credential))
15482           return false;
15483       }
15484 
15485       boolean this_present_extent = true && this.isSetExtent();
15486       boolean that_present_extent = true && that.isSetExtent();
15487       if (this_present_extent || that_present_extent) {
15488         if (!(this_present_extent && that_present_extent))
15489           return false;
15490         if (!this.extent.equals(that.extent))
15491           return false;
15492       }
15493 
15494       boolean this_present_splitPoint = true && this.isSetSplitPoint();
15495       boolean that_present_splitPoint = true && that.isSetSplitPoint();
15496       if (this_present_splitPoint || that_present_splitPoint) {
15497         if (!(this_present_splitPoint && that_present_splitPoint))
15498           return false;
15499         if (!this.splitPoint.equals(that.splitPoint))
15500           return false;
15501       }
15502 
15503       return true;
15504     }
15505 
15506     @Override
15507     public int hashCode() {
15508       return 0;
15509     }
15510 
15511     public int compareTo(splitTablet_args other) {
15512       if (!getClass().equals(other.getClass())) {
15513         return getClass().getName().compareTo(other.getClass().getName());
15514       }
15515 
15516       int lastComparison = 0;
15517       splitTablet_args typedOther = (splitTablet_args)other;
15518 
15519       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
15520       if (lastComparison != 0) {
15521         return lastComparison;
15522       }
15523       if (isSetTinfo()) {
15524         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
15525         if (lastComparison != 0) {
15526           return lastComparison;
15527         }
15528       }
15529       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
15530       if (lastComparison != 0) {
15531         return lastComparison;
15532       }
15533       if (isSetCredential()) {
15534         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
15535         if (lastComparison != 0) {
15536           return lastComparison;
15537         }
15538       }
15539       lastComparison = Boolean.valueOf(isSetExtent()).compareTo(typedOther.isSetExtent());
15540       if (lastComparison != 0) {
15541         return lastComparison;
15542       }
15543       if (isSetExtent()) {
15544         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.extent, typedOther.extent);
15545         if (lastComparison != 0) {
15546           return lastComparison;
15547         }
15548       }
15549       lastComparison = Boolean.valueOf(isSetSplitPoint()).compareTo(typedOther.isSetSplitPoint());
15550       if (lastComparison != 0) {
15551         return lastComparison;
15552       }
15553       if (isSetSplitPoint()) {
15554         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.splitPoint, typedOther.splitPoint);
15555         if (lastComparison != 0) {
15556           return lastComparison;
15557         }
15558       }
15559       return 0;
15560     }
15561 
15562     public _Fields fieldForId(int fieldId) {
15563       return _Fields.findByThriftId(fieldId);
15564     }
15565 
15566     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
15567       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
15568     }
15569 
15570     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
15571       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
15572     }
15573 
15574     @Override
15575     public String toString() {
15576       StringBuilder sb = new StringBuilder("splitTablet_args(");
15577       boolean first = true;
15578 
15579       sb.append("tinfo:");
15580       if (this.tinfo == null) {
15581         sb.append("null");
15582       } else {
15583         sb.append(this.tinfo);
15584       }
15585       first = false;
15586       if (!first) sb.append(", ");
15587       sb.append("credential:");
15588       if (this.credential == null) {
15589         sb.append("null");
15590       } else {
15591         sb.append(this.credential);
15592       }
15593       first = false;
15594       if (!first) sb.append(", ");
15595       sb.append("extent:");
15596       if (this.extent == null) {
15597         sb.append("null");
15598       } else {
15599         sb.append(this.extent);
15600       }
15601       first = false;
15602       if (!first) sb.append(", ");
15603       sb.append("splitPoint:");
15604       if (this.splitPoint == null) {
15605         sb.append("null");
15606       } else {
15607         org.apache.thrift.TBaseHelper.toString(this.splitPoint, sb);
15608       }
15609       first = false;
15610       sb.append(")");
15611       return sb.toString();
15612     }
15613 
15614     public void validate() throws org.apache.thrift.TException {
15615       // check for required fields
15616       // check for sub-struct validity
15617       if (tinfo != null) {
15618         tinfo.validate();
15619       }
15620       if (credential != null) {
15621         credential.validate();
15622       }
15623       if (extent != null) {
15624         extent.validate();
15625       }
15626     }
15627 
15628     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
15629       try {
15630         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
15631       } catch (org.apache.thrift.TException te) {
15632         throw new java.io.IOException(te);
15633       }
15634     }
15635 
15636     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
15637       try {
15638         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
15639       } catch (org.apache.thrift.TException te) {
15640         throw new java.io.IOException(te);
15641       }
15642     }
15643 
15644     private static class splitTablet_argsStandardSchemeFactory implements SchemeFactory {
15645       public splitTablet_argsStandardScheme getScheme() {
15646         return new splitTablet_argsStandardScheme();
15647       }
15648     }
15649 
15650     private static class splitTablet_argsStandardScheme extends StandardScheme<splitTablet_args> {
15651 
15652       public void read(org.apache.thrift.protocol.TProtocol iprot, splitTablet_args struct) throws org.apache.thrift.TException {
15653         org.apache.thrift.protocol.TField schemeField;
15654         iprot.readStructBegin();
15655         while (true)
15656         {
15657           schemeField = iprot.readFieldBegin();
15658           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
15659             break;
15660           }
15661           switch (schemeField.id) {
15662             case 4: // TINFO
15663               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
15664                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
15665                 struct.tinfo.read(iprot);
15666                 struct.setTinfoIsSet(true);
15667               } else { 
15668                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
15669               }
15670               break;
15671             case 1: // CREDENTIAL
15672               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
15673                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
15674                 struct.credential.read(iprot);
15675                 struct.setCredentialIsSet(true);
15676               } else { 
15677                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
15678               }
15679               break;
15680             case 2: // EXTENT
15681               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
15682                 struct.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent();
15683                 struct.extent.read(iprot);
15684                 struct.setExtentIsSet(true);
15685               } else { 
15686                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
15687               }
15688               break;
15689             case 3: // SPLIT_POINT
15690               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
15691                 struct.splitPoint = iprot.readBinary();
15692                 struct.setSplitPointIsSet(true);
15693               } else { 
15694                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
15695               }
15696               break;
15697             default:
15698               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
15699           }
15700           iprot.readFieldEnd();
15701         }
15702         iprot.readStructEnd();
15703 
15704         // check for required fields of primitive type, which can't be checked in the validate method
15705         struct.validate();
15706       }
15707 
15708       public void write(org.apache.thrift.protocol.TProtocol oprot, splitTablet_args struct) throws org.apache.thrift.TException {
15709         struct.validate();
15710 
15711         oprot.writeStructBegin(STRUCT_DESC);
15712         if (struct.credential != null) {
15713           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
15714           struct.credential.write(oprot);
15715           oprot.writeFieldEnd();
15716         }
15717         if (struct.extent != null) {
15718           oprot.writeFieldBegin(EXTENT_FIELD_DESC);
15719           struct.extent.write(oprot);
15720           oprot.writeFieldEnd();
15721         }
15722         if (struct.splitPoint != null) {
15723           oprot.writeFieldBegin(SPLIT_POINT_FIELD_DESC);
15724           oprot.writeBinary(struct.splitPoint);
15725           oprot.writeFieldEnd();
15726         }
15727         if (struct.tinfo != null) {
15728           oprot.writeFieldBegin(TINFO_FIELD_DESC);
15729           struct.tinfo.write(oprot);
15730           oprot.writeFieldEnd();
15731         }
15732         oprot.writeFieldStop();
15733         oprot.writeStructEnd();
15734       }
15735 
15736     }
15737 
15738     private static class splitTablet_argsTupleSchemeFactory implements SchemeFactory {
15739       public splitTablet_argsTupleScheme getScheme() {
15740         return new splitTablet_argsTupleScheme();
15741       }
15742     }
15743 
15744     private static class splitTablet_argsTupleScheme extends TupleScheme<splitTablet_args> {
15745 
15746       @Override
15747       public void write(org.apache.thrift.protocol.TProtocol prot, splitTablet_args struct) throws org.apache.thrift.TException {
15748         TTupleProtocol oprot = (TTupleProtocol) prot;
15749         BitSet optionals = new BitSet();
15750         if (struct.isSetTinfo()) {
15751           optionals.set(0);
15752         }
15753         if (struct.isSetCredential()) {
15754           optionals.set(1);
15755         }
15756         if (struct.isSetExtent()) {
15757           optionals.set(2);
15758         }
15759         if (struct.isSetSplitPoint()) {
15760           optionals.set(3);
15761         }
15762         oprot.writeBitSet(optionals, 4);
15763         if (struct.isSetTinfo()) {
15764           struct.tinfo.write(oprot);
15765         }
15766         if (struct.isSetCredential()) {
15767           struct.credential.write(oprot);
15768         }
15769         if (struct.isSetExtent()) {
15770           struct.extent.write(oprot);
15771         }
15772         if (struct.isSetSplitPoint()) {
15773           oprot.writeBinary(struct.splitPoint);
15774         }
15775       }
15776 
15777       @Override
15778       public void read(org.apache.thrift.protocol.TProtocol prot, splitTablet_args struct) throws org.apache.thrift.TException {
15779         TTupleProtocol iprot = (TTupleProtocol) prot;
15780         BitSet incoming = iprot.readBitSet(4);
15781         if (incoming.get(0)) {
15782           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
15783           struct.tinfo.read(iprot);
15784           struct.setTinfoIsSet(true);
15785         }
15786         if (incoming.get(1)) {
15787           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
15788           struct.credential.read(iprot);
15789           struct.setCredentialIsSet(true);
15790         }
15791         if (incoming.get(2)) {
15792           struct.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent();
15793           struct.extent.read(iprot);
15794           struct.setExtentIsSet(true);
15795         }
15796         if (incoming.get(3)) {
15797           struct.splitPoint = iprot.readBinary();
15798           struct.setSplitPointIsSet(true);
15799         }
15800       }
15801     }
15802 
15803   }
15804 
15805   public static class splitTablet_result implements org.apache.thrift.TBase<splitTablet_result, splitTablet_result._Fields>, java.io.Serializable, Cloneable   {
15806     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("splitTablet_result");
15807 
15808     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);
15809     private static final org.apache.thrift.protocol.TField NSTE_FIELD_DESC = new org.apache.thrift.protocol.TField("nste", org.apache.thrift.protocol.TType.STRUCT, (short)2);
15810 
15811     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
15812     static {
15813       schemes.put(StandardScheme.class, new splitTablet_resultStandardSchemeFactory());
15814       schemes.put(TupleScheme.class, new splitTablet_resultTupleSchemeFactory());
15815     }
15816 
15817     public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required
15818     public NotServingTabletException nste; // required
15819 
15820     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
15821     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
15822       SEC((short)1, "sec"),
15823       NSTE((short)2, "nste");
15824 
15825       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
15826 
15827       static {
15828         for (_Fields field : EnumSet.allOf(_Fields.class)) {
15829           byName.put(field.getFieldName(), field);
15830         }
15831       }
15832 
15833       /**
15834        * Find the _Fields constant that matches fieldId, or null if its not found.
15835        */
15836       public static _Fields findByThriftId(int fieldId) {
15837         switch(fieldId) {
15838           case 1: // SEC
15839             return SEC;
15840           case 2: // NSTE
15841             return NSTE;
15842           default:
15843             return null;
15844         }
15845       }
15846 
15847       /**
15848        * Find the _Fields constant that matches fieldId, throwing an exception
15849        * if it is not found.
15850        */
15851       public static _Fields findByThriftIdOrThrow(int fieldId) {
15852         _Fields fields = findByThriftId(fieldId);
15853         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
15854         return fields;
15855       }
15856 
15857       /**
15858        * Find the _Fields constant that matches name, or null if its not found.
15859        */
15860       public static _Fields findByName(String name) {
15861         return byName.get(name);
15862       }
15863 
15864       private final short _thriftId;
15865       private final String _fieldName;
15866 
15867       _Fields(short thriftId, String fieldName) {
15868         _thriftId = thriftId;
15869         _fieldName = fieldName;
15870       }
15871 
15872       public short getThriftFieldId() {
15873         return _thriftId;
15874       }
15875 
15876       public String getFieldName() {
15877         return _fieldName;
15878       }
15879     }
15880 
15881     // isset id assignments
15882     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
15883     static {
15884       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
15885       tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, 
15886           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
15887       tmpMap.put(_Fields.NSTE, new org.apache.thrift.meta_data.FieldMetaData("nste", org.apache.thrift.TFieldRequirementType.DEFAULT, 
15888           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
15889       metaDataMap = Collections.unmodifiableMap(tmpMap);
15890       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(splitTablet_result.class, metaDataMap);
15891     }
15892 
15893     public splitTablet_result() {
15894     }
15895 
15896     public splitTablet_result(
15897       org.apache.accumulo.core.security.thrift.ThriftSecurityException sec,
15898       NotServingTabletException nste)
15899     {
15900       this();
15901       this.sec = sec;
15902       this.nste = nste;
15903     }
15904 
15905     /**
15906      * Performs a deep copy on <i>other</i>.
15907      */
15908     public splitTablet_result(splitTablet_result other) {
15909       if (other.isSetSec()) {
15910         this.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(other.sec);
15911       }
15912       if (other.isSetNste()) {
15913         this.nste = new NotServingTabletException(other.nste);
15914       }
15915     }
15916 
15917     public splitTablet_result deepCopy() {
15918       return new splitTablet_result(this);
15919     }
15920 
15921     @Override
15922     public void clear() {
15923       this.sec = null;
15924       this.nste = null;
15925     }
15926 
15927     public org.apache.accumulo.core.security.thrift.ThriftSecurityException getSec() {
15928       return this.sec;
15929     }
15930 
15931     public splitTablet_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
15932       this.sec = sec;
15933       return this;
15934     }
15935 
15936     public void unsetSec() {
15937       this.sec = null;
15938     }
15939 
15940     /** Returns true if field sec is set (has been assigned a value) and false otherwise */
15941     public boolean isSetSec() {
15942       return this.sec != null;
15943     }
15944 
15945     public void setSecIsSet(boolean value) {
15946       if (!value) {
15947         this.sec = null;
15948       }
15949     }
15950 
15951     public NotServingTabletException getNste() {
15952       return this.nste;
15953     }
15954 
15955     public splitTablet_result setNste(NotServingTabletException nste) {
15956       this.nste = nste;
15957       return this;
15958     }
15959 
15960     public void unsetNste() {
15961       this.nste = null;
15962     }
15963 
15964     /** Returns true if field nste is set (has been assigned a value) and false otherwise */
15965     public boolean isSetNste() {
15966       return this.nste != null;
15967     }
15968 
15969     public void setNsteIsSet(boolean value) {
15970       if (!value) {
15971         this.nste = null;
15972       }
15973     }
15974 
15975     public void setFieldValue(_Fields field, Object value) {
15976       switch (field) {
15977       case SEC:
15978         if (value == null) {
15979           unsetSec();
15980         } else {
15981           setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value);
15982         }
15983         break;
15984 
15985       case NSTE:
15986         if (value == null) {
15987           unsetNste();
15988         } else {
15989           setNste((NotServingTabletException)value);
15990         }
15991         break;
15992 
15993       }
15994     }
15995 
15996     public Object getFieldValue(_Fields field) {
15997       switch (field) {
15998       case SEC:
15999         return getSec();
16000 
16001       case NSTE:
16002         return getNste();
16003 
16004       }
16005       throw new IllegalStateException();
16006     }
16007 
16008     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
16009     public boolean isSet(_Fields field) {
16010       if (field == null) {
16011         throw new IllegalArgumentException();
16012       }
16013 
16014       switch (field) {
16015       case SEC:
16016         return isSetSec();
16017       case NSTE:
16018         return isSetNste();
16019       }
16020       throw new IllegalStateException();
16021     }
16022 
16023     @Override
16024     public boolean equals(Object that) {
16025       if (that == null)
16026         return false;
16027       if (that instanceof splitTablet_result)
16028         return this.equals((splitTablet_result)that);
16029       return false;
16030     }
16031 
16032     public boolean equals(splitTablet_result that) {
16033       if (that == null)
16034         return false;
16035 
16036       boolean this_present_sec = true && this.isSetSec();
16037       boolean that_present_sec = true && that.isSetSec();
16038       if (this_present_sec || that_present_sec) {
16039         if (!(this_present_sec && that_present_sec))
16040           return false;
16041         if (!this.sec.equals(that.sec))
16042           return false;
16043       }
16044 
16045       boolean this_present_nste = true && this.isSetNste();
16046       boolean that_present_nste = true && that.isSetNste();
16047       if (this_present_nste || that_present_nste) {
16048         if (!(this_present_nste && that_present_nste))
16049           return false;
16050         if (!this.nste.equals(that.nste))
16051           return false;
16052       }
16053 
16054       return true;
16055     }
16056 
16057     @Override
16058     public int hashCode() {
16059       return 0;
16060     }
16061 
16062     public int compareTo(splitTablet_result other) {
16063       if (!getClass().equals(other.getClass())) {
16064         return getClass().getName().compareTo(other.getClass().getName());
16065       }
16066 
16067       int lastComparison = 0;
16068       splitTablet_result typedOther = (splitTablet_result)other;
16069 
16070       lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec());
16071       if (lastComparison != 0) {
16072         return lastComparison;
16073       }
16074       if (isSetSec()) {
16075         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec);
16076         if (lastComparison != 0) {
16077           return lastComparison;
16078         }
16079       }
16080       lastComparison = Boolean.valueOf(isSetNste()).compareTo(typedOther.isSetNste());
16081       if (lastComparison != 0) {
16082         return lastComparison;
16083       }
16084       if (isSetNste()) {
16085         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nste, typedOther.nste);
16086         if (lastComparison != 0) {
16087           return lastComparison;
16088         }
16089       }
16090       return 0;
16091     }
16092 
16093     public _Fields fieldForId(int fieldId) {
16094       return _Fields.findByThriftId(fieldId);
16095     }
16096 
16097     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
16098       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
16099     }
16100 
16101     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
16102       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
16103       }
16104 
16105     @Override
16106     public String toString() {
16107       StringBuilder sb = new StringBuilder("splitTablet_result(");
16108       boolean first = true;
16109 
16110       sb.append("sec:");
16111       if (this.sec == null) {
16112         sb.append("null");
16113       } else {
16114         sb.append(this.sec);
16115       }
16116       first = false;
16117       if (!first) sb.append(", ");
16118       sb.append("nste:");
16119       if (this.nste == null) {
16120         sb.append("null");
16121       } else {
16122         sb.append(this.nste);
16123       }
16124       first = false;
16125       sb.append(")");
16126       return sb.toString();
16127     }
16128 
16129     public void validate() throws org.apache.thrift.TException {
16130       // check for required fields
16131       // check for sub-struct validity
16132     }
16133 
16134     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
16135       try {
16136         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
16137       } catch (org.apache.thrift.TException te) {
16138         throw new java.io.IOException(te);
16139       }
16140     }
16141 
16142     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
16143       try {
16144         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
16145       } catch (org.apache.thrift.TException te) {
16146         throw new java.io.IOException(te);
16147       }
16148     }
16149 
16150     private static class splitTablet_resultStandardSchemeFactory implements SchemeFactory {
16151       public splitTablet_resultStandardScheme getScheme() {
16152         return new splitTablet_resultStandardScheme();
16153       }
16154     }
16155 
16156     private static class splitTablet_resultStandardScheme extends StandardScheme<splitTablet_result> {
16157 
16158       public void read(org.apache.thrift.protocol.TProtocol iprot, splitTablet_result struct) throws org.apache.thrift.TException {
16159         org.apache.thrift.protocol.TField schemeField;
16160         iprot.readStructBegin();
16161         while (true)
16162         {
16163           schemeField = iprot.readFieldBegin();
16164           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
16165             break;
16166           }
16167           switch (schemeField.id) {
16168             case 1: // SEC
16169               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
16170                 struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
16171                 struct.sec.read(iprot);
16172                 struct.setSecIsSet(true);
16173               } else { 
16174                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
16175               }
16176               break;
16177             case 2: // NSTE
16178               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
16179                 struct.nste = new NotServingTabletException();
16180                 struct.nste.read(iprot);
16181                 struct.setNsteIsSet(true);
16182               } else { 
16183                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
16184               }
16185               break;
16186             default:
16187               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
16188           }
16189           iprot.readFieldEnd();
16190         }
16191         iprot.readStructEnd();
16192 
16193         // check for required fields of primitive type, which can't be checked in the validate method
16194         struct.validate();
16195       }
16196 
16197       public void write(org.apache.thrift.protocol.TProtocol oprot, splitTablet_result struct) throws org.apache.thrift.TException {
16198         struct.validate();
16199 
16200         oprot.writeStructBegin(STRUCT_DESC);
16201         if (struct.sec != null) {
16202           oprot.writeFieldBegin(SEC_FIELD_DESC);
16203           struct.sec.write(oprot);
16204           oprot.writeFieldEnd();
16205         }
16206         if (struct.nste != null) {
16207           oprot.writeFieldBegin(NSTE_FIELD_DESC);
16208           struct.nste.write(oprot);
16209           oprot.writeFieldEnd();
16210         }
16211         oprot.writeFieldStop();
16212         oprot.writeStructEnd();
16213       }
16214 
16215     }
16216 
16217     private static class splitTablet_resultTupleSchemeFactory implements SchemeFactory {
16218       public splitTablet_resultTupleScheme getScheme() {
16219         return new splitTablet_resultTupleScheme();
16220       }
16221     }
16222 
16223     private static class splitTablet_resultTupleScheme extends TupleScheme<splitTablet_result> {
16224 
16225       @Override
16226       public void write(org.apache.thrift.protocol.TProtocol prot, splitTablet_result struct) throws org.apache.thrift.TException {
16227         TTupleProtocol oprot = (TTupleProtocol) prot;
16228         BitSet optionals = new BitSet();
16229         if (struct.isSetSec()) {
16230           optionals.set(0);
16231         }
16232         if (struct.isSetNste()) {
16233           optionals.set(1);
16234         }
16235         oprot.writeBitSet(optionals, 2);
16236         if (struct.isSetSec()) {
16237           struct.sec.write(oprot);
16238         }
16239         if (struct.isSetNste()) {
16240           struct.nste.write(oprot);
16241         }
16242       }
16243 
16244       @Override
16245       public void read(org.apache.thrift.protocol.TProtocol prot, splitTablet_result struct) throws org.apache.thrift.TException {
16246         TTupleProtocol iprot = (TTupleProtocol) prot;
16247         BitSet incoming = iprot.readBitSet(2);
16248         if (incoming.get(0)) {
16249           struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
16250           struct.sec.read(iprot);
16251           struct.setSecIsSet(true);
16252         }
16253         if (incoming.get(1)) {
16254           struct.nste = new NotServingTabletException();
16255           struct.nste.read(iprot);
16256           struct.setNsteIsSet(true);
16257         }
16258       }
16259     }
16260 
16261   }
16262 
16263   public static class loadTablet_args implements org.apache.thrift.TBase<loadTablet_args, loadTablet_args._Fields>, java.io.Serializable, Cloneable   {
16264     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("loadTablet_args");
16265 
16266     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);
16267     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);
16268     private static final org.apache.thrift.protocol.TField LOCK_FIELD_DESC = new org.apache.thrift.protocol.TField("lock", org.apache.thrift.protocol.TType.STRING, (short)4);
16269     private static final org.apache.thrift.protocol.TField EXTENT_FIELD_DESC = new org.apache.thrift.protocol.TField("extent", org.apache.thrift.protocol.TType.STRUCT, (short)2);
16270 
16271     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
16272     static {
16273       schemes.put(StandardScheme.class, new loadTablet_argsStandardSchemeFactory());
16274       schemes.put(TupleScheme.class, new loadTablet_argsTupleSchemeFactory());
16275     }
16276 
16277     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
16278     public org.apache.accumulo.core.security.thrift.Credential credential; // required
16279     public String lock; // required
16280     public org.apache.accumulo.core.data.thrift.TKeyExtent extent; // required
16281 
16282     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
16283     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
16284       TINFO((short)5, "tinfo"),
16285       CREDENTIAL((short)1, "credential"),
16286       LOCK((short)4, "lock"),
16287       EXTENT((short)2, "extent");
16288 
16289       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
16290 
16291       static {
16292         for (_Fields field : EnumSet.allOf(_Fields.class)) {
16293           byName.put(field.getFieldName(), field);
16294         }
16295       }
16296 
16297       /**
16298        * Find the _Fields constant that matches fieldId, or null if its not found.
16299        */
16300       public static _Fields findByThriftId(int fieldId) {
16301         switch(fieldId) {
16302           case 5: // TINFO
16303             return TINFO;
16304           case 1: // CREDENTIAL
16305             return CREDENTIAL;
16306           case 4: // LOCK
16307             return LOCK;
16308           case 2: // EXTENT
16309             return EXTENT;
16310           default:
16311             return null;
16312         }
16313       }
16314 
16315       /**
16316        * Find the _Fields constant that matches fieldId, throwing an exception
16317        * if it is not found.
16318        */
16319       public static _Fields findByThriftIdOrThrow(int fieldId) {
16320         _Fields fields = findByThriftId(fieldId);
16321         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
16322         return fields;
16323       }
16324 
16325       /**
16326        * Find the _Fields constant that matches name, or null if its not found.
16327        */
16328       public static _Fields findByName(String name) {
16329         return byName.get(name);
16330       }
16331 
16332       private final short _thriftId;
16333       private final String _fieldName;
16334 
16335       _Fields(short thriftId, String fieldName) {
16336         _thriftId = thriftId;
16337         _fieldName = fieldName;
16338       }
16339 
16340       public short getThriftFieldId() {
16341         return _thriftId;
16342       }
16343 
16344       public String getFieldName() {
16345         return _fieldName;
16346       }
16347     }
16348 
16349     // isset id assignments
16350     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
16351     static {
16352       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
16353       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
16354           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
16355       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
16356           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
16357       tmpMap.put(_Fields.LOCK, new org.apache.thrift.meta_data.FieldMetaData("lock", org.apache.thrift.TFieldRequirementType.DEFAULT, 
16358           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
16359       tmpMap.put(_Fields.EXTENT, new org.apache.thrift.meta_data.FieldMetaData("extent", org.apache.thrift.TFieldRequirementType.DEFAULT, 
16360           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.TKeyExtent.class)));
16361       metaDataMap = Collections.unmodifiableMap(tmpMap);
16362       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(loadTablet_args.class, metaDataMap);
16363     }
16364 
16365     public loadTablet_args() {
16366     }
16367 
16368     public loadTablet_args(
16369       org.apache.accumulo.trace.thrift.TInfo tinfo,
16370       org.apache.accumulo.core.security.thrift.Credential credential,
16371       String lock,
16372       org.apache.accumulo.core.data.thrift.TKeyExtent extent)
16373     {
16374       this();
16375       this.tinfo = tinfo;
16376       this.credential = credential;
16377       this.lock = lock;
16378       this.extent = extent;
16379     }
16380 
16381     /**
16382      * Performs a deep copy on <i>other</i>.
16383      */
16384     public loadTablet_args(loadTablet_args other) {
16385       if (other.isSetTinfo()) {
16386         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
16387       }
16388       if (other.isSetCredential()) {
16389         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
16390       }
16391       if (other.isSetLock()) {
16392         this.lock = other.lock;
16393       }
16394       if (other.isSetExtent()) {
16395         this.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent(other.extent);
16396       }
16397     }
16398 
16399     public loadTablet_args deepCopy() {
16400       return new loadTablet_args(this);
16401     }
16402 
16403     @Override
16404     public void clear() {
16405       this.tinfo = null;
16406       this.credential = null;
16407       this.lock = null;
16408       this.extent = null;
16409     }
16410 
16411     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
16412       return this.tinfo;
16413     }
16414 
16415     public loadTablet_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
16416       this.tinfo = tinfo;
16417       return this;
16418     }
16419 
16420     public void unsetTinfo() {
16421       this.tinfo = null;
16422     }
16423 
16424     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
16425     public boolean isSetTinfo() {
16426       return this.tinfo != null;
16427     }
16428 
16429     public void setTinfoIsSet(boolean value) {
16430       if (!value) {
16431         this.tinfo = null;
16432       }
16433     }
16434 
16435     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
16436       return this.credential;
16437     }
16438 
16439     public loadTablet_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
16440       this.credential = credential;
16441       return this;
16442     }
16443 
16444     public void unsetCredential() {
16445       this.credential = null;
16446     }
16447 
16448     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
16449     public boolean isSetCredential() {
16450       return this.credential != null;
16451     }
16452 
16453     public void setCredentialIsSet(boolean value) {
16454       if (!value) {
16455         this.credential = null;
16456       }
16457     }
16458 
16459     public String getLock() {
16460       return this.lock;
16461     }
16462 
16463     public loadTablet_args setLock(String lock) {
16464       this.lock = lock;
16465       return this;
16466     }
16467 
16468     public void unsetLock() {
16469       this.lock = null;
16470     }
16471 
16472     /** Returns true if field lock is set (has been assigned a value) and false otherwise */
16473     public boolean isSetLock() {
16474       return this.lock != null;
16475     }
16476 
16477     public void setLockIsSet(boolean value) {
16478       if (!value) {
16479         this.lock = null;
16480       }
16481     }
16482 
16483     public org.apache.accumulo.core.data.thrift.TKeyExtent getExtent() {
16484       return this.extent;
16485     }
16486 
16487     public loadTablet_args setExtent(org.apache.accumulo.core.data.thrift.TKeyExtent extent) {
16488       this.extent = extent;
16489       return this;
16490     }
16491 
16492     public void unsetExtent() {
16493       this.extent = null;
16494     }
16495 
16496     /** Returns true if field extent is set (has been assigned a value) and false otherwise */
16497     public boolean isSetExtent() {
16498       return this.extent != null;
16499     }
16500 
16501     public void setExtentIsSet(boolean value) {
16502       if (!value) {
16503         this.extent = null;
16504       }
16505     }
16506 
16507     public void setFieldValue(_Fields field, Object value) {
16508       switch (field) {
16509       case TINFO:
16510         if (value == null) {
16511           unsetTinfo();
16512         } else {
16513           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
16514         }
16515         break;
16516 
16517       case CREDENTIAL:
16518         if (value == null) {
16519           unsetCredential();
16520         } else {
16521           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
16522         }
16523         break;
16524 
16525       case LOCK:
16526         if (value == null) {
16527           unsetLock();
16528         } else {
16529           setLock((String)value);
16530         }
16531         break;
16532 
16533       case EXTENT:
16534         if (value == null) {
16535           unsetExtent();
16536         } else {
16537           setExtent((org.apache.accumulo.core.data.thrift.TKeyExtent)value);
16538         }
16539         break;
16540 
16541       }
16542     }
16543 
16544     public Object getFieldValue(_Fields field) {
16545       switch (field) {
16546       case TINFO:
16547         return getTinfo();
16548 
16549       case CREDENTIAL:
16550         return getCredential();
16551 
16552       case LOCK:
16553         return getLock();
16554 
16555       case EXTENT:
16556         return getExtent();
16557 
16558       }
16559       throw new IllegalStateException();
16560     }
16561 
16562     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
16563     public boolean isSet(_Fields field) {
16564       if (field == null) {
16565         throw new IllegalArgumentException();
16566       }
16567 
16568       switch (field) {
16569       case TINFO:
16570         return isSetTinfo();
16571       case CREDENTIAL:
16572         return isSetCredential();
16573       case LOCK:
16574         return isSetLock();
16575       case EXTENT:
16576         return isSetExtent();
16577       }
16578       throw new IllegalStateException();
16579     }
16580 
16581     @Override
16582     public boolean equals(Object that) {
16583       if (that == null)
16584         return false;
16585       if (that instanceof loadTablet_args)
16586         return this.equals((loadTablet_args)that);
16587       return false;
16588     }
16589 
16590     public boolean equals(loadTablet_args that) {
16591       if (that == null)
16592         return false;
16593 
16594       boolean this_present_tinfo = true && this.isSetTinfo();
16595       boolean that_present_tinfo = true && that.isSetTinfo();
16596       if (this_present_tinfo || that_present_tinfo) {
16597         if (!(this_present_tinfo && that_present_tinfo))
16598           return false;
16599         if (!this.tinfo.equals(that.tinfo))
16600           return false;
16601       }
16602 
16603       boolean this_present_credential = true && this.isSetCredential();
16604       boolean that_present_credential = true && that.isSetCredential();
16605       if (this_present_credential || that_present_credential) {
16606         if (!(this_present_credential && that_present_credential))
16607           return false;
16608         if (!this.credential.equals(that.credential))
16609           return false;
16610       }
16611 
16612       boolean this_present_lock = true && this.isSetLock();
16613       boolean that_present_lock = true && that.isSetLock();
16614       if (this_present_lock || that_present_lock) {
16615         if (!(this_present_lock && that_present_lock))
16616           return false;
16617         if (!this.lock.equals(that.lock))
16618           return false;
16619       }
16620 
16621       boolean this_present_extent = true && this.isSetExtent();
16622       boolean that_present_extent = true && that.isSetExtent();
16623       if (this_present_extent || that_present_extent) {
16624         if (!(this_present_extent && that_present_extent))
16625           return false;
16626         if (!this.extent.equals(that.extent))
16627           return false;
16628       }
16629 
16630       return true;
16631     }
16632 
16633     @Override
16634     public int hashCode() {
16635       return 0;
16636     }
16637 
16638     public int compareTo(loadTablet_args other) {
16639       if (!getClass().equals(other.getClass())) {
16640         return getClass().getName().compareTo(other.getClass().getName());
16641       }
16642 
16643       int lastComparison = 0;
16644       loadTablet_args typedOther = (loadTablet_args)other;
16645 
16646       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
16647       if (lastComparison != 0) {
16648         return lastComparison;
16649       }
16650       if (isSetTinfo()) {
16651         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
16652         if (lastComparison != 0) {
16653           return lastComparison;
16654         }
16655       }
16656       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
16657       if (lastComparison != 0) {
16658         return lastComparison;
16659       }
16660       if (isSetCredential()) {
16661         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
16662         if (lastComparison != 0) {
16663           return lastComparison;
16664         }
16665       }
16666       lastComparison = Boolean.valueOf(isSetLock()).compareTo(typedOther.isSetLock());
16667       if (lastComparison != 0) {
16668         return lastComparison;
16669       }
16670       if (isSetLock()) {
16671         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lock, typedOther.lock);
16672         if (lastComparison != 0) {
16673           return lastComparison;
16674         }
16675       }
16676       lastComparison = Boolean.valueOf(isSetExtent()).compareTo(typedOther.isSetExtent());
16677       if (lastComparison != 0) {
16678         return lastComparison;
16679       }
16680       if (isSetExtent()) {
16681         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.extent, typedOther.extent);
16682         if (lastComparison != 0) {
16683           return lastComparison;
16684         }
16685       }
16686       return 0;
16687     }
16688 
16689     public _Fields fieldForId(int fieldId) {
16690       return _Fields.findByThriftId(fieldId);
16691     }
16692 
16693     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
16694       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
16695     }
16696 
16697     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
16698       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
16699     }
16700 
16701     @Override
16702     public String toString() {
16703       StringBuilder sb = new StringBuilder("loadTablet_args(");
16704       boolean first = true;
16705 
16706       sb.append("tinfo:");
16707       if (this.tinfo == null) {
16708         sb.append("null");
16709       } else {
16710         sb.append(this.tinfo);
16711       }
16712       first = false;
16713       if (!first) sb.append(", ");
16714       sb.append("credential:");
16715       if (this.credential == null) {
16716         sb.append("null");
16717       } else {
16718         sb.append(this.credential);
16719       }
16720       first = false;
16721       if (!first) sb.append(", ");
16722       sb.append("lock:");
16723       if (this.lock == null) {
16724         sb.append("null");
16725       } else {
16726         sb.append(this.lock);
16727       }
16728       first = false;
16729       if (!first) sb.append(", ");
16730       sb.append("extent:");
16731       if (this.extent == null) {
16732         sb.append("null");
16733       } else {
16734         sb.append(this.extent);
16735       }
16736       first = false;
16737       sb.append(")");
16738       return sb.toString();
16739     }
16740 
16741     public void validate() throws org.apache.thrift.TException {
16742       // check for required fields
16743       // check for sub-struct validity
16744       if (tinfo != null) {
16745         tinfo.validate();
16746       }
16747       if (credential != null) {
16748         credential.validate();
16749       }
16750       if (extent != null) {
16751         extent.validate();
16752       }
16753     }
16754 
16755     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
16756       try {
16757         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
16758       } catch (org.apache.thrift.TException te) {
16759         throw new java.io.IOException(te);
16760       }
16761     }
16762 
16763     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
16764       try {
16765         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
16766       } catch (org.apache.thrift.TException te) {
16767         throw new java.io.IOException(te);
16768       }
16769     }
16770 
16771     private static class loadTablet_argsStandardSchemeFactory implements SchemeFactory {
16772       public loadTablet_argsStandardScheme getScheme() {
16773         return new loadTablet_argsStandardScheme();
16774       }
16775     }
16776 
16777     private static class loadTablet_argsStandardScheme extends StandardScheme<loadTablet_args> {
16778 
16779       public void read(org.apache.thrift.protocol.TProtocol iprot, loadTablet_args struct) throws org.apache.thrift.TException {
16780         org.apache.thrift.protocol.TField schemeField;
16781         iprot.readStructBegin();
16782         while (true)
16783         {
16784           schemeField = iprot.readFieldBegin();
16785           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
16786             break;
16787           }
16788           switch (schemeField.id) {
16789             case 5: // TINFO
16790               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
16791                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
16792                 struct.tinfo.read(iprot);
16793                 struct.setTinfoIsSet(true);
16794               } else { 
16795                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
16796               }
16797               break;
16798             case 1: // CREDENTIAL
16799               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
16800                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
16801                 struct.credential.read(iprot);
16802                 struct.setCredentialIsSet(true);
16803               } else { 
16804                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
16805               }
16806               break;
16807             case 4: // LOCK
16808               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
16809                 struct.lock = iprot.readString();
16810                 struct.setLockIsSet(true);
16811               } else { 
16812                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
16813               }
16814               break;
16815             case 2: // EXTENT
16816               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
16817                 struct.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent();
16818                 struct.extent.read(iprot);
16819                 struct.setExtentIsSet(true);
16820               } else { 
16821                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
16822               }
16823               break;
16824             default:
16825               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
16826           }
16827           iprot.readFieldEnd();
16828         }
16829         iprot.readStructEnd();
16830 
16831         // check for required fields of primitive type, which can't be checked in the validate method
16832         struct.validate();
16833       }
16834 
16835       public void write(org.apache.thrift.protocol.TProtocol oprot, loadTablet_args struct) throws org.apache.thrift.TException {
16836         struct.validate();
16837 
16838         oprot.writeStructBegin(STRUCT_DESC);
16839         if (struct.credential != null) {
16840           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
16841           struct.credential.write(oprot);
16842           oprot.writeFieldEnd();
16843         }
16844         if (struct.extent != null) {
16845           oprot.writeFieldBegin(EXTENT_FIELD_DESC);
16846           struct.extent.write(oprot);
16847           oprot.writeFieldEnd();
16848         }
16849         if (struct.lock != null) {
16850           oprot.writeFieldBegin(LOCK_FIELD_DESC);
16851           oprot.writeString(struct.lock);
16852           oprot.writeFieldEnd();
16853         }
16854         if (struct.tinfo != null) {
16855           oprot.writeFieldBegin(TINFO_FIELD_DESC);
16856           struct.tinfo.write(oprot);
16857           oprot.writeFieldEnd();
16858         }
16859         oprot.writeFieldStop();
16860         oprot.writeStructEnd();
16861       }
16862 
16863     }
16864 
16865     private static class loadTablet_argsTupleSchemeFactory implements SchemeFactory {
16866       public loadTablet_argsTupleScheme getScheme() {
16867         return new loadTablet_argsTupleScheme();
16868       }
16869     }
16870 
16871     private static class loadTablet_argsTupleScheme extends TupleScheme<loadTablet_args> {
16872 
16873       @Override
16874       public void write(org.apache.thrift.protocol.TProtocol prot, loadTablet_args struct) throws org.apache.thrift.TException {
16875         TTupleProtocol oprot = (TTupleProtocol) prot;
16876         BitSet optionals = new BitSet();
16877         if (struct.isSetTinfo()) {
16878           optionals.set(0);
16879         }
16880         if (struct.isSetCredential()) {
16881           optionals.set(1);
16882         }
16883         if (struct.isSetLock()) {
16884           optionals.set(2);
16885         }
16886         if (struct.isSetExtent()) {
16887           optionals.set(3);
16888         }
16889         oprot.writeBitSet(optionals, 4);
16890         if (struct.isSetTinfo()) {
16891           struct.tinfo.write(oprot);
16892         }
16893         if (struct.isSetCredential()) {
16894           struct.credential.write(oprot);
16895         }
16896         if (struct.isSetLock()) {
16897           oprot.writeString(struct.lock);
16898         }
16899         if (struct.isSetExtent()) {
16900           struct.extent.write(oprot);
16901         }
16902       }
16903 
16904       @Override
16905       public void read(org.apache.thrift.protocol.TProtocol prot, loadTablet_args struct) throws org.apache.thrift.TException {
16906         TTupleProtocol iprot = (TTupleProtocol) prot;
16907         BitSet incoming = iprot.readBitSet(4);
16908         if (incoming.get(0)) {
16909           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
16910           struct.tinfo.read(iprot);
16911           struct.setTinfoIsSet(true);
16912         }
16913         if (incoming.get(1)) {
16914           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
16915           struct.credential.read(iprot);
16916           struct.setCredentialIsSet(true);
16917         }
16918         if (incoming.get(2)) {
16919           struct.lock = iprot.readString();
16920           struct.setLockIsSet(true);
16921         }
16922         if (incoming.get(3)) {
16923           struct.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent();
16924           struct.extent.read(iprot);
16925           struct.setExtentIsSet(true);
16926         }
16927       }
16928     }
16929 
16930   }
16931 
16932   public static class unloadTablet_args implements org.apache.thrift.TBase<unloadTablet_args, unloadTablet_args._Fields>, java.io.Serializable, Cloneable   {
16933     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("unloadTablet_args");
16934 
16935     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);
16936     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);
16937     private static final org.apache.thrift.protocol.TField LOCK_FIELD_DESC = new org.apache.thrift.protocol.TField("lock", org.apache.thrift.protocol.TType.STRING, (short)4);
16938     private static final org.apache.thrift.protocol.TField EXTENT_FIELD_DESC = new org.apache.thrift.protocol.TField("extent", org.apache.thrift.protocol.TType.STRUCT, (short)2);
16939     private static final org.apache.thrift.protocol.TField SAVE_FIELD_DESC = new org.apache.thrift.protocol.TField("save", org.apache.thrift.protocol.TType.BOOL, (short)3);
16940 
16941     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
16942     static {
16943       schemes.put(StandardScheme.class, new unloadTablet_argsStandardSchemeFactory());
16944       schemes.put(TupleScheme.class, new unloadTablet_argsTupleSchemeFactory());
16945     }
16946 
16947     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
16948     public org.apache.accumulo.core.security.thrift.Credential credential; // required
16949     public String lock; // required
16950     public org.apache.accumulo.core.data.thrift.TKeyExtent extent; // required
16951     public boolean save; // required
16952 
16953     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
16954     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
16955       TINFO((short)5, "tinfo"),
16956       CREDENTIAL((short)1, "credential"),
16957       LOCK((short)4, "lock"),
16958       EXTENT((short)2, "extent"),
16959       SAVE((short)3, "save");
16960 
16961       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
16962 
16963       static {
16964         for (_Fields field : EnumSet.allOf(_Fields.class)) {
16965           byName.put(field.getFieldName(), field);
16966         }
16967       }
16968 
16969       /**
16970        * Find the _Fields constant that matches fieldId, or null if its not found.
16971        */
16972       public static _Fields findByThriftId(int fieldId) {
16973         switch(fieldId) {
16974           case 5: // TINFO
16975             return TINFO;
16976           case 1: // CREDENTIAL
16977             return CREDENTIAL;
16978           case 4: // LOCK
16979             return LOCK;
16980           case 2: // EXTENT
16981             return EXTENT;
16982           case 3: // SAVE
16983             return SAVE;
16984           default:
16985             return null;
16986         }
16987       }
16988 
16989       /**
16990        * Find the _Fields constant that matches fieldId, throwing an exception
16991        * if it is not found.
16992        */
16993       public static _Fields findByThriftIdOrThrow(int fieldId) {
16994         _Fields fields = findByThriftId(fieldId);
16995         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
16996         return fields;
16997       }
16998 
16999       /**
17000        * Find the _Fields constant that matches name, or null if its not found.
17001        */
17002       public static _Fields findByName(String name) {
17003         return byName.get(name);
17004       }
17005 
17006       private final short _thriftId;
17007       private final String _fieldName;
17008 
17009       _Fields(short thriftId, String fieldName) {
17010         _thriftId = thriftId;
17011         _fieldName = fieldName;
17012       }
17013 
17014       public short getThriftFieldId() {
17015         return _thriftId;
17016       }
17017 
17018       public String getFieldName() {
17019         return _fieldName;
17020       }
17021     }
17022 
17023     // isset id assignments
17024     private static final int __SAVE_ISSET_ID = 0;
17025     private byte __isset_bitfield = 0;
17026     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
17027     static {
17028       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
17029       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
17030           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
17031       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
17032           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
17033       tmpMap.put(_Fields.LOCK, new org.apache.thrift.meta_data.FieldMetaData("lock", org.apache.thrift.TFieldRequirementType.DEFAULT, 
17034           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
17035       tmpMap.put(_Fields.EXTENT, new org.apache.thrift.meta_data.FieldMetaData("extent", org.apache.thrift.TFieldRequirementType.DEFAULT, 
17036           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.TKeyExtent.class)));
17037       tmpMap.put(_Fields.SAVE, new org.apache.thrift.meta_data.FieldMetaData("save", org.apache.thrift.TFieldRequirementType.DEFAULT, 
17038           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
17039       metaDataMap = Collections.unmodifiableMap(tmpMap);
17040       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(unloadTablet_args.class, metaDataMap);
17041     }
17042 
17043     public unloadTablet_args() {
17044     }
17045 
17046     public unloadTablet_args(
17047       org.apache.accumulo.trace.thrift.TInfo tinfo,
17048       org.apache.accumulo.core.security.thrift.Credential credential,
17049       String lock,
17050       org.apache.accumulo.core.data.thrift.TKeyExtent extent,
17051       boolean save)
17052     {
17053       this();
17054       this.tinfo = tinfo;
17055       this.credential = credential;
17056       this.lock = lock;
17057       this.extent = extent;
17058       this.save = save;
17059       setSaveIsSet(true);
17060     }
17061 
17062     /**
17063      * Performs a deep copy on <i>other</i>.
17064      */
17065     public unloadTablet_args(unloadTablet_args other) {
17066       __isset_bitfield = other.__isset_bitfield;
17067       if (other.isSetTinfo()) {
17068         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
17069       }
17070       if (other.isSetCredential()) {
17071         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
17072       }
17073       if (other.isSetLock()) {
17074         this.lock = other.lock;
17075       }
17076       if (other.isSetExtent()) {
17077         this.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent(other.extent);
17078       }
17079       this.save = other.save;
17080     }
17081 
17082     public unloadTablet_args deepCopy() {
17083       return new unloadTablet_args(this);
17084     }
17085 
17086     @Override
17087     public void clear() {
17088       this.tinfo = null;
17089       this.credential = null;
17090       this.lock = null;
17091       this.extent = null;
17092       setSaveIsSet(false);
17093       this.save = false;
17094     }
17095 
17096     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
17097       return this.tinfo;
17098     }
17099 
17100     public unloadTablet_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
17101       this.tinfo = tinfo;
17102       return this;
17103     }
17104 
17105     public void unsetTinfo() {
17106       this.tinfo = null;
17107     }
17108 
17109     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
17110     public boolean isSetTinfo() {
17111       return this.tinfo != null;
17112     }
17113 
17114     public void setTinfoIsSet(boolean value) {
17115       if (!value) {
17116         this.tinfo = null;
17117       }
17118     }
17119 
17120     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
17121       return this.credential;
17122     }
17123 
17124     public unloadTablet_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
17125       this.credential = credential;
17126       return this;
17127     }
17128 
17129     public void unsetCredential() {
17130       this.credential = null;
17131     }
17132 
17133     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
17134     public boolean isSetCredential() {
17135       return this.credential != null;
17136     }
17137 
17138     public void setCredentialIsSet(boolean value) {
17139       if (!value) {
17140         this.credential = null;
17141       }
17142     }
17143 
17144     public String getLock() {
17145       return this.lock;
17146     }
17147 
17148     public unloadTablet_args setLock(String lock) {
17149       this.lock = lock;
17150       return this;
17151     }
17152 
17153     public void unsetLock() {
17154       this.lock = null;
17155     }
17156 
17157     /** Returns true if field lock is set (has been assigned a value) and false otherwise */
17158     public boolean isSetLock() {
17159       return this.lock != null;
17160     }
17161 
17162     public void setLockIsSet(boolean value) {
17163       if (!value) {
17164         this.lock = null;
17165       }
17166     }
17167 
17168     public org.apache.accumulo.core.data.thrift.TKeyExtent getExtent() {
17169       return this.extent;
17170     }
17171 
17172     public unloadTablet_args setExtent(org.apache.accumulo.core.data.thrift.TKeyExtent extent) {
17173       this.extent = extent;
17174       return this;
17175     }
17176 
17177     public void unsetExtent() {
17178       this.extent = null;
17179     }
17180 
17181     /** Returns true if field extent is set (has been assigned a value) and false otherwise */
17182     public boolean isSetExtent() {
17183       return this.extent != null;
17184     }
17185 
17186     public void setExtentIsSet(boolean value) {
17187       if (!value) {
17188         this.extent = null;
17189       }
17190     }
17191 
17192     public boolean isSave() {
17193       return this.save;
17194     }
17195 
17196     public unloadTablet_args setSave(boolean save) {
17197       this.save = save;
17198       setSaveIsSet(true);
17199       return this;
17200     }
17201 
17202     public void unsetSave() {
17203       __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SAVE_ISSET_ID);
17204     }
17205 
17206     /** Returns true if field save is set (has been assigned a value) and false otherwise */
17207     public boolean isSetSave() {
17208       return EncodingUtils.testBit(__isset_bitfield, __SAVE_ISSET_ID);
17209     }
17210 
17211     public void setSaveIsSet(boolean value) {
17212       __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SAVE_ISSET_ID, value);
17213     }
17214 
17215     public void setFieldValue(_Fields field, Object value) {
17216       switch (field) {
17217       case TINFO:
17218         if (value == null) {
17219           unsetTinfo();
17220         } else {
17221           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
17222         }
17223         break;
17224 
17225       case CREDENTIAL:
17226         if (value == null) {
17227           unsetCredential();
17228         } else {
17229           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
17230         }
17231         break;
17232 
17233       case LOCK:
17234         if (value == null) {
17235           unsetLock();
17236         } else {
17237           setLock((String)value);
17238         }
17239         break;
17240 
17241       case EXTENT:
17242         if (value == null) {
17243           unsetExtent();
17244         } else {
17245           setExtent((org.apache.accumulo.core.data.thrift.TKeyExtent)value);
17246         }
17247         break;
17248 
17249       case SAVE:
17250         if (value == null) {
17251           unsetSave();
17252         } else {
17253           setSave((Boolean)value);
17254         }
17255         break;
17256 
17257       }
17258     }
17259 
17260     public Object getFieldValue(_Fields field) {
17261       switch (field) {
17262       case TINFO:
17263         return getTinfo();
17264 
17265       case CREDENTIAL:
17266         return getCredential();
17267 
17268       case LOCK:
17269         return getLock();
17270 
17271       case EXTENT:
17272         return getExtent();
17273 
17274       case SAVE:
17275         return Boolean.valueOf(isSave());
17276 
17277       }
17278       throw new IllegalStateException();
17279     }
17280 
17281     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
17282     public boolean isSet(_Fields field) {
17283       if (field == null) {
17284         throw new IllegalArgumentException();
17285       }
17286 
17287       switch (field) {
17288       case TINFO:
17289         return isSetTinfo();
17290       case CREDENTIAL:
17291         return isSetCredential();
17292       case LOCK:
17293         return isSetLock();
17294       case EXTENT:
17295         return isSetExtent();
17296       case SAVE:
17297         return isSetSave();
17298       }
17299       throw new IllegalStateException();
17300     }
17301 
17302     @Override
17303     public boolean equals(Object that) {
17304       if (that == null)
17305         return false;
17306       if (that instanceof unloadTablet_args)
17307         return this.equals((unloadTablet_args)that);
17308       return false;
17309     }
17310 
17311     public boolean equals(unloadTablet_args that) {
17312       if (that == null)
17313         return false;
17314 
17315       boolean this_present_tinfo = true && this.isSetTinfo();
17316       boolean that_present_tinfo = true && that.isSetTinfo();
17317       if (this_present_tinfo || that_present_tinfo) {
17318         if (!(this_present_tinfo && that_present_tinfo))
17319           return false;
17320         if (!this.tinfo.equals(that.tinfo))
17321           return false;
17322       }
17323 
17324       boolean this_present_credential = true && this.isSetCredential();
17325       boolean that_present_credential = true && that.isSetCredential();
17326       if (this_present_credential || that_present_credential) {
17327         if (!(this_present_credential && that_present_credential))
17328           return false;
17329         if (!this.credential.equals(that.credential))
17330           return false;
17331       }
17332 
17333       boolean this_present_lock = true && this.isSetLock();
17334       boolean that_present_lock = true && that.isSetLock();
17335       if (this_present_lock || that_present_lock) {
17336         if (!(this_present_lock && that_present_lock))
17337           return false;
17338         if (!this.lock.equals(that.lock))
17339           return false;
17340       }
17341 
17342       boolean this_present_extent = true && this.isSetExtent();
17343       boolean that_present_extent = true && that.isSetExtent();
17344       if (this_present_extent || that_present_extent) {
17345         if (!(this_present_extent && that_present_extent))
17346           return false;
17347         if (!this.extent.equals(that.extent))
17348           return false;
17349       }
17350 
17351       boolean this_present_save = true;
17352       boolean that_present_save = true;
17353       if (this_present_save || that_present_save) {
17354         if (!(this_present_save && that_present_save))
17355           return false;
17356         if (this.save != that.save)
17357           return false;
17358       }
17359 
17360       return true;
17361     }
17362 
17363     @Override
17364     public int hashCode() {
17365       return 0;
17366     }
17367 
17368     public int compareTo(unloadTablet_args other) {
17369       if (!getClass().equals(other.getClass())) {
17370         return getClass().getName().compareTo(other.getClass().getName());
17371       }
17372 
17373       int lastComparison = 0;
17374       unloadTablet_args typedOther = (unloadTablet_args)other;
17375 
17376       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
17377       if (lastComparison != 0) {
17378         return lastComparison;
17379       }
17380       if (isSetTinfo()) {
17381         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
17382         if (lastComparison != 0) {
17383           return lastComparison;
17384         }
17385       }
17386       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
17387       if (lastComparison != 0) {
17388         return lastComparison;
17389       }
17390       if (isSetCredential()) {
17391         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
17392         if (lastComparison != 0) {
17393           return lastComparison;
17394         }
17395       }
17396       lastComparison = Boolean.valueOf(isSetLock()).compareTo(typedOther.isSetLock());
17397       if (lastComparison != 0) {
17398         return lastComparison;
17399       }
17400       if (isSetLock()) {
17401         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lock, typedOther.lock);
17402         if (lastComparison != 0) {
17403           return lastComparison;
17404         }
17405       }
17406       lastComparison = Boolean.valueOf(isSetExtent()).compareTo(typedOther.isSetExtent());
17407       if (lastComparison != 0) {
17408         return lastComparison;
17409       }
17410       if (isSetExtent()) {
17411         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.extent, typedOther.extent);
17412         if (lastComparison != 0) {
17413           return lastComparison;
17414         }
17415       }
17416       lastComparison = Boolean.valueOf(isSetSave()).compareTo(typedOther.isSetSave());
17417       if (lastComparison != 0) {
17418         return lastComparison;
17419       }
17420       if (isSetSave()) {
17421         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.save, typedOther.save);
17422         if (lastComparison != 0) {
17423           return lastComparison;
17424         }
17425       }
17426       return 0;
17427     }
17428 
17429     public _Fields fieldForId(int fieldId) {
17430       return _Fields.findByThriftId(fieldId);
17431     }
17432 
17433     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
17434       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
17435     }
17436 
17437     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
17438       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
17439     }
17440 
17441     @Override
17442     public String toString() {
17443       StringBuilder sb = new StringBuilder("unloadTablet_args(");
17444       boolean first = true;
17445 
17446       sb.append("tinfo:");
17447       if (this.tinfo == null) {
17448         sb.append("null");
17449       } else {
17450         sb.append(this.tinfo);
17451       }
17452       first = false;
17453       if (!first) sb.append(", ");
17454       sb.append("credential:");
17455       if (this.credential == null) {
17456         sb.append("null");
17457       } else {
17458         sb.append(this.credential);
17459       }
17460       first = false;
17461       if (!first) sb.append(", ");
17462       sb.append("lock:");
17463       if (this.lock == null) {
17464         sb.append("null");
17465       } else {
17466         sb.append(this.lock);
17467       }
17468       first = false;
17469       if (!first) sb.append(", ");
17470       sb.append("extent:");
17471       if (this.extent == null) {
17472         sb.append("null");
17473       } else {
17474         sb.append(this.extent);
17475       }
17476       first = false;
17477       if (!first) sb.append(", ");
17478       sb.append("save:");
17479       sb.append(this.save);
17480       first = false;
17481       sb.append(")");
17482       return sb.toString();
17483     }
17484 
17485     public void validate() throws org.apache.thrift.TException {
17486       // check for required fields
17487       // check for sub-struct validity
17488       if (tinfo != null) {
17489         tinfo.validate();
17490       }
17491       if (credential != null) {
17492         credential.validate();
17493       }
17494       if (extent != null) {
17495         extent.validate();
17496       }
17497     }
17498 
17499     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
17500       try {
17501         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
17502       } catch (org.apache.thrift.TException te) {
17503         throw new java.io.IOException(te);
17504       }
17505     }
17506 
17507     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
17508       try {
17509         // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
17510         __isset_bitfield = 0;
17511         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
17512       } catch (org.apache.thrift.TException te) {
17513         throw new java.io.IOException(te);
17514       }
17515     }
17516 
17517     private static class unloadTablet_argsStandardSchemeFactory implements SchemeFactory {
17518       public unloadTablet_argsStandardScheme getScheme() {
17519         return new unloadTablet_argsStandardScheme();
17520       }
17521     }
17522 
17523     private static class unloadTablet_argsStandardScheme extends StandardScheme<unloadTablet_args> {
17524 
17525       public void read(org.apache.thrift.protocol.TProtocol iprot, unloadTablet_args struct) throws org.apache.thrift.TException {
17526         org.apache.thrift.protocol.TField schemeField;
17527         iprot.readStructBegin();
17528         while (true)
17529         {
17530           schemeField = iprot.readFieldBegin();
17531           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
17532             break;
17533           }
17534           switch (schemeField.id) {
17535             case 5: // TINFO
17536               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
17537                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
17538                 struct.tinfo.read(iprot);
17539                 struct.setTinfoIsSet(true);
17540               } else { 
17541                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
17542               }
17543               break;
17544             case 1: // CREDENTIAL
17545               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
17546                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
17547                 struct.credential.read(iprot);
17548                 struct.setCredentialIsSet(true);
17549               } else { 
17550                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
17551               }
17552               break;
17553             case 4: // LOCK
17554               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
17555                 struct.lock = iprot.readString();
17556                 struct.setLockIsSet(true);
17557               } else { 
17558                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
17559               }
17560               break;
17561             case 2: // EXTENT
17562               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
17563                 struct.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent();
17564                 struct.extent.read(iprot);
17565                 struct.setExtentIsSet(true);
17566               } else { 
17567                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
17568               }
17569               break;
17570             case 3: // SAVE
17571               if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
17572                 struct.save = iprot.readBool();
17573                 struct.setSaveIsSet(true);
17574               } else { 
17575                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
17576               }
17577               break;
17578             default:
17579               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
17580           }
17581           iprot.readFieldEnd();
17582         }
17583         iprot.readStructEnd();
17584 
17585         // check for required fields of primitive type, which can't be checked in the validate method
17586         struct.validate();
17587       }
17588 
17589       public void write(org.apache.thrift.protocol.TProtocol oprot, unloadTablet_args struct) throws org.apache.thrift.TException {
17590         struct.validate();
17591 
17592         oprot.writeStructBegin(STRUCT_DESC);
17593         if (struct.credential != null) {
17594           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
17595           struct.credential.write(oprot);
17596           oprot.writeFieldEnd();
17597         }
17598         if (struct.extent != null) {
17599           oprot.writeFieldBegin(EXTENT_FIELD_DESC);
17600           struct.extent.write(oprot);
17601           oprot.writeFieldEnd();
17602         }
17603         oprot.writeFieldBegin(SAVE_FIELD_DESC);
17604         oprot.writeBool(struct.save);
17605         oprot.writeFieldEnd();
17606         if (struct.lock != null) {
17607           oprot.writeFieldBegin(LOCK_FIELD_DESC);
17608           oprot.writeString(struct.lock);
17609           oprot.writeFieldEnd();
17610         }
17611         if (struct.tinfo != null) {
17612           oprot.writeFieldBegin(TINFO_FIELD_DESC);
17613           struct.tinfo.write(oprot);
17614           oprot.writeFieldEnd();
17615         }
17616         oprot.writeFieldStop();
17617         oprot.writeStructEnd();
17618       }
17619 
17620     }
17621 
17622     private static class unloadTablet_argsTupleSchemeFactory implements SchemeFactory {
17623       public unloadTablet_argsTupleScheme getScheme() {
17624         return new unloadTablet_argsTupleScheme();
17625       }
17626     }
17627 
17628     private static class unloadTablet_argsTupleScheme extends TupleScheme<unloadTablet_args> {
17629 
17630       @Override
17631       public void write(org.apache.thrift.protocol.TProtocol prot, unloadTablet_args struct) throws org.apache.thrift.TException {
17632         TTupleProtocol oprot = (TTupleProtocol) prot;
17633         BitSet optionals = new BitSet();
17634         if (struct.isSetTinfo()) {
17635           optionals.set(0);
17636         }
17637         if (struct.isSetCredential()) {
17638           optionals.set(1);
17639         }
17640         if (struct.isSetLock()) {
17641           optionals.set(2);
17642         }
17643         if (struct.isSetExtent()) {
17644           optionals.set(3);
17645         }
17646         if (struct.isSetSave()) {
17647           optionals.set(4);
17648         }
17649         oprot.writeBitSet(optionals, 5);
17650         if (struct.isSetTinfo()) {
17651           struct.tinfo.write(oprot);
17652         }
17653         if (struct.isSetCredential()) {
17654           struct.credential.write(oprot);
17655         }
17656         if (struct.isSetLock()) {
17657           oprot.writeString(struct.lock);
17658         }
17659         if (struct.isSetExtent()) {
17660           struct.extent.write(oprot);
17661         }
17662         if (struct.isSetSave()) {
17663           oprot.writeBool(struct.save);
17664         }
17665       }
17666 
17667       @Override
17668       public void read(org.apache.thrift.protocol.TProtocol prot, unloadTablet_args struct) throws org.apache.thrift.TException {
17669         TTupleProtocol iprot = (TTupleProtocol) prot;
17670         BitSet incoming = iprot.readBitSet(5);
17671         if (incoming.get(0)) {
17672           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
17673           struct.tinfo.read(iprot);
17674           struct.setTinfoIsSet(true);
17675         }
17676         if (incoming.get(1)) {
17677           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
17678           struct.credential.read(iprot);
17679           struct.setCredentialIsSet(true);
17680         }
17681         if (incoming.get(2)) {
17682           struct.lock = iprot.readString();
17683           struct.setLockIsSet(true);
17684         }
17685         if (incoming.get(3)) {
17686           struct.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent();
17687           struct.extent.read(iprot);
17688           struct.setExtentIsSet(true);
17689         }
17690         if (incoming.get(4)) {
17691           struct.save = iprot.readBool();
17692           struct.setSaveIsSet(true);
17693         }
17694       }
17695     }
17696 
17697   }
17698 
17699   public static class flush_args implements org.apache.thrift.TBase<flush_args, flush_args._Fields>, java.io.Serializable, Cloneable   {
17700     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("flush_args");
17701 
17702     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);
17703     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);
17704     private static final org.apache.thrift.protocol.TField LOCK_FIELD_DESC = new org.apache.thrift.protocol.TField("lock", org.apache.thrift.protocol.TType.STRING, (short)3);
17705     private static final org.apache.thrift.protocol.TField TABLE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("tableId", org.apache.thrift.protocol.TType.STRING, (short)2);
17706     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)5);
17707     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)6);
17708 
17709     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
17710     static {
17711       schemes.put(StandardScheme.class, new flush_argsStandardSchemeFactory());
17712       schemes.put(TupleScheme.class, new flush_argsTupleSchemeFactory());
17713     }
17714 
17715     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
17716     public org.apache.accumulo.core.security.thrift.Credential credential; // required
17717     public String lock; // required
17718     public String tableId; // required
17719     public ByteBuffer startRow; // required
17720     public ByteBuffer endRow; // required
17721 
17722     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
17723     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
17724       TINFO((short)4, "tinfo"),
17725       CREDENTIAL((short)1, "credential"),
17726       LOCK((short)3, "lock"),
17727       TABLE_ID((short)2, "tableId"),
17728       START_ROW((short)5, "startRow"),
17729       END_ROW((short)6, "endRow");
17730 
17731       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
17732 
17733       static {
17734         for (_Fields field : EnumSet.allOf(_Fields.class)) {
17735           byName.put(field.getFieldName(), field);
17736         }
17737       }
17738 
17739       /**
17740        * Find the _Fields constant that matches fieldId, or null if its not found.
17741        */
17742       public static _Fields findByThriftId(int fieldId) {
17743         switch(fieldId) {
17744           case 4: // TINFO
17745             return TINFO;
17746           case 1: // CREDENTIAL
17747             return CREDENTIAL;
17748           case 3: // LOCK
17749             return LOCK;
17750           case 2: // TABLE_ID
17751             return TABLE_ID;
17752           case 5: // START_ROW
17753             return START_ROW;
17754           case 6: // END_ROW
17755             return END_ROW;
17756           default:
17757             return null;
17758         }
17759       }
17760 
17761       /**
17762        * Find the _Fields constant that matches fieldId, throwing an exception
17763        * if it is not found.
17764        */
17765       public static _Fields findByThriftIdOrThrow(int fieldId) {
17766         _Fields fields = findByThriftId(fieldId);
17767         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
17768         return fields;
17769       }
17770 
17771       /**
17772        * Find the _Fields constant that matches name, or null if its not found.
17773        */
17774       public static _Fields findByName(String name) {
17775         return byName.get(name);
17776       }
17777 
17778       private final short _thriftId;
17779       private final String _fieldName;
17780 
17781       _Fields(short thriftId, String fieldName) {
17782         _thriftId = thriftId;
17783         _fieldName = fieldName;
17784       }
17785 
17786       public short getThriftFieldId() {
17787         return _thriftId;
17788       }
17789 
17790       public String getFieldName() {
17791         return _fieldName;
17792       }
17793     }
17794 
17795     // isset id assignments
17796     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
17797     static {
17798       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
17799       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
17800           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
17801       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
17802           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
17803       tmpMap.put(_Fields.LOCK, new org.apache.thrift.meta_data.FieldMetaData("lock", org.apache.thrift.TFieldRequirementType.DEFAULT, 
17804           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
17805       tmpMap.put(_Fields.TABLE_ID, new org.apache.thrift.meta_data.FieldMetaData("tableId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
17806           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
17807       tmpMap.put(_Fields.START_ROW, new org.apache.thrift.meta_data.FieldMetaData("startRow", org.apache.thrift.TFieldRequirementType.DEFAULT, 
17808           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING          , true)));
17809       tmpMap.put(_Fields.END_ROW, new org.apache.thrift.meta_data.FieldMetaData("endRow", org.apache.thrift.TFieldRequirementType.DEFAULT, 
17810           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING          , true)));
17811       metaDataMap = Collections.unmodifiableMap(tmpMap);
17812       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(flush_args.class, metaDataMap);
17813     }
17814 
17815     public flush_args() {
17816     }
17817 
17818     public flush_args(
17819       org.apache.accumulo.trace.thrift.TInfo tinfo,
17820       org.apache.accumulo.core.security.thrift.Credential credential,
17821       String lock,
17822       String tableId,
17823       ByteBuffer startRow,
17824       ByteBuffer endRow)
17825     {
17826       this();
17827       this.tinfo = tinfo;
17828       this.credential = credential;
17829       this.lock = lock;
17830       this.tableId = tableId;
17831       this.startRow = startRow;
17832       this.endRow = endRow;
17833     }
17834 
17835     /**
17836      * Performs a deep copy on <i>other</i>.
17837      */
17838     public flush_args(flush_args other) {
17839       if (other.isSetTinfo()) {
17840         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
17841       }
17842       if (other.isSetCredential()) {
17843         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
17844       }
17845       if (other.isSetLock()) {
17846         this.lock = other.lock;
17847       }
17848       if (other.isSetTableId()) {
17849         this.tableId = other.tableId;
17850       }
17851       if (other.isSetStartRow()) {
17852         this.startRow = org.apache.thrift.TBaseHelper.copyBinary(other.startRow);
17853 ;
17854       }
17855       if (other.isSetEndRow()) {
17856         this.endRow = org.apache.thrift.TBaseHelper.copyBinary(other.endRow);
17857 ;
17858       }
17859     }
17860 
17861     public flush_args deepCopy() {
17862       return new flush_args(this);
17863     }
17864 
17865     @Override
17866     public void clear() {
17867       this.tinfo = null;
17868       this.credential = null;
17869       this.lock = null;
17870       this.tableId = null;
17871       this.startRow = null;
17872       this.endRow = null;
17873     }
17874 
17875     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
17876       return this.tinfo;
17877     }
17878 
17879     public flush_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
17880       this.tinfo = tinfo;
17881       return this;
17882     }
17883 
17884     public void unsetTinfo() {
17885       this.tinfo = null;
17886     }
17887 
17888     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
17889     public boolean isSetTinfo() {
17890       return this.tinfo != null;
17891     }
17892 
17893     public void setTinfoIsSet(boolean value) {
17894       if (!value) {
17895         this.tinfo = null;
17896       }
17897     }
17898 
17899     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
17900       return this.credential;
17901     }
17902 
17903     public flush_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
17904       this.credential = credential;
17905       return this;
17906     }
17907 
17908     public void unsetCredential() {
17909       this.credential = null;
17910     }
17911 
17912     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
17913     public boolean isSetCredential() {
17914       return this.credential != null;
17915     }
17916 
17917     public void setCredentialIsSet(boolean value) {
17918       if (!value) {
17919         this.credential = null;
17920       }
17921     }
17922 
17923     public String getLock() {
17924       return this.lock;
17925     }
17926 
17927     public flush_args setLock(String lock) {
17928       this.lock = lock;
17929       return this;
17930     }
17931 
17932     public void unsetLock() {
17933       this.lock = null;
17934     }
17935 
17936     /** Returns true if field lock is set (has been assigned a value) and false otherwise */
17937     public boolean isSetLock() {
17938       return this.lock != null;
17939     }
17940 
17941     public void setLockIsSet(boolean value) {
17942       if (!value) {
17943         this.lock = null;
17944       }
17945     }
17946 
17947     public String getTableId() {
17948       return this.tableId;
17949     }
17950 
17951     public flush_args setTableId(String tableId) {
17952       this.tableId = tableId;
17953       return this;
17954     }
17955 
17956     public void unsetTableId() {
17957       this.tableId = null;
17958     }
17959 
17960     /** Returns true if field tableId is set (has been assigned a value) and false otherwise */
17961     public boolean isSetTableId() {
17962       return this.tableId != null;
17963     }
17964 
17965     public void setTableIdIsSet(boolean value) {
17966       if (!value) {
17967         this.tableId = null;
17968       }
17969     }
17970 
17971     public byte[] getStartRow() {
17972       setStartRow(org.apache.thrift.TBaseHelper.rightSize(startRow));
17973       return startRow == null ? null : startRow.array();
17974     }
17975 
17976     public ByteBuffer bufferForStartRow() {
17977       return startRow;
17978     }
17979 
17980     public flush_args setStartRow(byte[] startRow) {
17981       setStartRow(startRow == null ? (ByteBuffer)null : ByteBuffer.wrap(startRow));
17982       return this;
17983     }
17984 
17985     public flush_args setStartRow(ByteBuffer startRow) {
17986       this.startRow = startRow;
17987       return this;
17988     }
17989 
17990     public void unsetStartRow() {
17991       this.startRow = null;
17992     }
17993 
17994     /** Returns true if field startRow is set (has been assigned a value) and false otherwise */
17995     public boolean isSetStartRow() {
17996       return this.startRow != null;
17997     }
17998 
17999     public void setStartRowIsSet(boolean value) {
18000       if (!value) {
18001         this.startRow = null;
18002       }
18003     }
18004 
18005     public byte[] getEndRow() {
18006       setEndRow(org.apache.thrift.TBaseHelper.rightSize(endRow));
18007       return endRow == null ? null : endRow.array();
18008     }
18009 
18010     public ByteBuffer bufferForEndRow() {
18011       return endRow;
18012     }
18013 
18014     public flush_args setEndRow(byte[] endRow) {
18015       setEndRow(endRow == null ? (ByteBuffer)null : ByteBuffer.wrap(endRow));
18016       return this;
18017     }
18018 
18019     public flush_args setEndRow(ByteBuffer endRow) {
18020       this.endRow = endRow;
18021       return this;
18022     }
18023 
18024     public void unsetEndRow() {
18025       this.endRow = null;
18026     }
18027 
18028     /** Returns true if field endRow is set (has been assigned a value) and false otherwise */
18029     public boolean isSetEndRow() {
18030       return this.endRow != null;
18031     }
18032 
18033     public void setEndRowIsSet(boolean value) {
18034       if (!value) {
18035         this.endRow = null;
18036       }
18037     }
18038 
18039     public void setFieldValue(_Fields field, Object value) {
18040       switch (field) {
18041       case TINFO:
18042         if (value == null) {
18043           unsetTinfo();
18044         } else {
18045           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
18046         }
18047         break;
18048 
18049       case CREDENTIAL:
18050         if (value == null) {
18051           unsetCredential();
18052         } else {
18053           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
18054         }
18055         break;
18056 
18057       case LOCK:
18058         if (value == null) {
18059           unsetLock();
18060         } else {
18061           setLock((String)value);
18062         }
18063         break;
18064 
18065       case TABLE_ID:
18066         if (value == null) {
18067           unsetTableId();
18068         } else {
18069           setTableId((String)value);
18070         }
18071         break;
18072 
18073       case START_ROW:
18074         if (value == null) {
18075           unsetStartRow();
18076         } else {
18077           setStartRow((ByteBuffer)value);
18078         }
18079         break;
18080 
18081       case END_ROW:
18082         if (value == null) {
18083           unsetEndRow();
18084         } else {
18085           setEndRow((ByteBuffer)value);
18086         }
18087         break;
18088 
18089       }
18090     }
18091 
18092     public Object getFieldValue(_Fields field) {
18093       switch (field) {
18094       case TINFO:
18095         return getTinfo();
18096 
18097       case CREDENTIAL:
18098         return getCredential();
18099 
18100       case LOCK:
18101         return getLock();
18102 
18103       case TABLE_ID:
18104         return getTableId();
18105 
18106       case START_ROW:
18107         return getStartRow();
18108 
18109       case END_ROW:
18110         return getEndRow();
18111 
18112       }
18113       throw new IllegalStateException();
18114     }
18115 
18116     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
18117     public boolean isSet(_Fields field) {
18118       if (field == null) {
18119         throw new IllegalArgumentException();
18120       }
18121 
18122       switch (field) {
18123       case TINFO:
18124         return isSetTinfo();
18125       case CREDENTIAL:
18126         return isSetCredential();
18127       case LOCK:
18128         return isSetLock();
18129       case TABLE_ID:
18130         return isSetTableId();
18131       case START_ROW:
18132         return isSetStartRow();
18133       case END_ROW:
18134         return isSetEndRow();
18135       }
18136       throw new IllegalStateException();
18137     }
18138 
18139     @Override
18140     public boolean equals(Object that) {
18141       if (that == null)
18142         return false;
18143       if (that instanceof flush_args)
18144         return this.equals((flush_args)that);
18145       return false;
18146     }
18147 
18148     public boolean equals(flush_args that) {
18149       if (that == null)
18150         return false;
18151 
18152       boolean this_present_tinfo = true && this.isSetTinfo();
18153       boolean that_present_tinfo = true && that.isSetTinfo();
18154       if (this_present_tinfo || that_present_tinfo) {
18155         if (!(this_present_tinfo && that_present_tinfo))
18156           return false;
18157         if (!this.tinfo.equals(that.tinfo))
18158           return false;
18159       }
18160 
18161       boolean this_present_credential = true && this.isSetCredential();
18162       boolean that_present_credential = true && that.isSetCredential();
18163       if (this_present_credential || that_present_credential) {
18164         if (!(this_present_credential && that_present_credential))
18165           return false;
18166         if (!this.credential.equals(that.credential))
18167           return false;
18168       }
18169 
18170       boolean this_present_lock = true && this.isSetLock();
18171       boolean that_present_lock = true && that.isSetLock();
18172       if (this_present_lock || that_present_lock) {
18173         if (!(this_present_lock && that_present_lock))
18174           return false;
18175         if (!this.lock.equals(that.lock))
18176           return false;
18177       }
18178 
18179       boolean this_present_tableId = true && this.isSetTableId();
18180       boolean that_present_tableId = true && that.isSetTableId();
18181       if (this_present_tableId || that_present_tableId) {
18182         if (!(this_present_tableId && that_present_tableId))
18183           return false;
18184         if (!this.tableId.equals(that.tableId))
18185           return false;
18186       }
18187 
18188       boolean this_present_startRow = true && this.isSetStartRow();
18189       boolean that_present_startRow = true && that.isSetStartRow();
18190       if (this_present_startRow || that_present_startRow) {
18191         if (!(this_present_startRow && that_present_startRow))
18192           return false;
18193         if (!this.startRow.equals(that.startRow))
18194           return false;
18195       }
18196 
18197       boolean this_present_endRow = true && this.isSetEndRow();
18198       boolean that_present_endRow = true && that.isSetEndRow();
18199       if (this_present_endRow || that_present_endRow) {
18200         if (!(this_present_endRow && that_present_endRow))
18201           return false;
18202         if (!this.endRow.equals(that.endRow))
18203           return false;
18204       }
18205 
18206       return true;
18207     }
18208 
18209     @Override
18210     public int hashCode() {
18211       return 0;
18212     }
18213 
18214     public int compareTo(flush_args other) {
18215       if (!getClass().equals(other.getClass())) {
18216         return getClass().getName().compareTo(other.getClass().getName());
18217       }
18218 
18219       int lastComparison = 0;
18220       flush_args typedOther = (flush_args)other;
18221 
18222       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
18223       if (lastComparison != 0) {
18224         return lastComparison;
18225       }
18226       if (isSetTinfo()) {
18227         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
18228         if (lastComparison != 0) {
18229           return lastComparison;
18230         }
18231       }
18232       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
18233       if (lastComparison != 0) {
18234         return lastComparison;
18235       }
18236       if (isSetCredential()) {
18237         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
18238         if (lastComparison != 0) {
18239           return lastComparison;
18240         }
18241       }
18242       lastComparison = Boolean.valueOf(isSetLock()).compareTo(typedOther.isSetLock());
18243       if (lastComparison != 0) {
18244         return lastComparison;
18245       }
18246       if (isSetLock()) {
18247         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lock, typedOther.lock);
18248         if (lastComparison != 0) {
18249           return lastComparison;
18250         }
18251       }
18252       lastComparison = Boolean.valueOf(isSetTableId()).compareTo(typedOther.isSetTableId());
18253       if (lastComparison != 0) {
18254         return lastComparison;
18255       }
18256       if (isSetTableId()) {
18257         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableId, typedOther.tableId);
18258         if (lastComparison != 0) {
18259           return lastComparison;
18260         }
18261       }
18262       lastComparison = Boolean.valueOf(isSetStartRow()).compareTo(typedOther.isSetStartRow());
18263       if (lastComparison != 0) {
18264         return lastComparison;
18265       }
18266       if (isSetStartRow()) {
18267         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startRow, typedOther.startRow);
18268         if (lastComparison != 0) {
18269           return lastComparison;
18270         }
18271       }
18272       lastComparison = Boolean.valueOf(isSetEndRow()).compareTo(typedOther.isSetEndRow());
18273       if (lastComparison != 0) {
18274         return lastComparison;
18275       }
18276       if (isSetEndRow()) {
18277         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.endRow, typedOther.endRow);
18278         if (lastComparison != 0) {
18279           return lastComparison;
18280         }
18281       }
18282       return 0;
18283     }
18284 
18285     public _Fields fieldForId(int fieldId) {
18286       return _Fields.findByThriftId(fieldId);
18287     }
18288 
18289     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
18290       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
18291     }
18292 
18293     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
18294       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
18295     }
18296 
18297     @Override
18298     public String toString() {
18299       StringBuilder sb = new StringBuilder("flush_args(");
18300       boolean first = true;
18301 
18302       sb.append("tinfo:");
18303       if (this.tinfo == null) {
18304         sb.append("null");
18305       } else {
18306         sb.append(this.tinfo);
18307       }
18308       first = false;
18309       if (!first) sb.append(", ");
18310       sb.append("credential:");
18311       if (this.credential == null) {
18312         sb.append("null");
18313       } else {
18314         sb.append(this.credential);
18315       }
18316       first = false;
18317       if (!first) sb.append(", ");
18318       sb.append("lock:");
18319       if (this.lock == null) {
18320         sb.append("null");
18321       } else {
18322         sb.append(this.lock);
18323       }
18324       first = false;
18325       if (!first) sb.append(", ");
18326       sb.append("tableId:");
18327       if (this.tableId == null) {
18328         sb.append("null");
18329       } else {
18330         sb.append(this.tableId);
18331       }
18332       first = false;
18333       if (!first) sb.append(", ");
18334       sb.append("startRow:");
18335       if (this.startRow == null) {
18336         sb.append("null");
18337       } else {
18338         org.apache.thrift.TBaseHelper.toString(this.startRow, sb);
18339       }
18340       first = false;
18341       if (!first) sb.append(", ");
18342       sb.append("endRow:");
18343       if (this.endRow == null) {
18344         sb.append("null");
18345       } else {
18346         org.apache.thrift.TBaseHelper.toString(this.endRow, sb);
18347       }
18348       first = false;
18349       sb.append(")");
18350       return sb.toString();
18351     }
18352 
18353     public void validate() throws org.apache.thrift.TException {
18354       // check for required fields
18355       // check for sub-struct validity
18356       if (tinfo != null) {
18357         tinfo.validate();
18358       }
18359       if (credential != null) {
18360         credential.validate();
18361       }
18362     }
18363 
18364     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
18365       try {
18366         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
18367       } catch (org.apache.thrift.TException te) {
18368         throw new java.io.IOException(te);
18369       }
18370     }
18371 
18372     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
18373       try {
18374         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
18375       } catch (org.apache.thrift.TException te) {
18376         throw new java.io.IOException(te);
18377       }
18378     }
18379 
18380     private static class flush_argsStandardSchemeFactory implements SchemeFactory {
18381       public flush_argsStandardScheme getScheme() {
18382         return new flush_argsStandardScheme();
18383       }
18384     }
18385 
18386     private static class flush_argsStandardScheme extends StandardScheme<flush_args> {
18387 
18388       public void read(org.apache.thrift.protocol.TProtocol iprot, flush_args struct) throws org.apache.thrift.TException {
18389         org.apache.thrift.protocol.TField schemeField;
18390         iprot.readStructBegin();
18391         while (true)
18392         {
18393           schemeField = iprot.readFieldBegin();
18394           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
18395             break;
18396           }
18397           switch (schemeField.id) {
18398             case 4: // TINFO
18399               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
18400                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
18401                 struct.tinfo.read(iprot);
18402                 struct.setTinfoIsSet(true);
18403               } else { 
18404                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
18405               }
18406               break;
18407             case 1: // CREDENTIAL
18408               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
18409                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
18410                 struct.credential.read(iprot);
18411                 struct.setCredentialIsSet(true);
18412               } else { 
18413                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
18414               }
18415               break;
18416             case 3: // LOCK
18417               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
18418                 struct.lock = iprot.readString();
18419                 struct.setLockIsSet(true);
18420               } else { 
18421                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
18422               }
18423               break;
18424             case 2: // TABLE_ID
18425               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
18426                 struct.tableId = iprot.readString();
18427                 struct.setTableIdIsSet(true);
18428               } else { 
18429                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
18430               }
18431               break;
18432             case 5: // START_ROW
18433               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
18434                 struct.startRow = iprot.readBinary();
18435                 struct.setStartRowIsSet(true);
18436               } else { 
18437                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
18438               }
18439               break;
18440             case 6: // END_ROW
18441               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
18442                 struct.endRow = iprot.readBinary();
18443                 struct.setEndRowIsSet(true);
18444               } else { 
18445                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
18446               }
18447               break;
18448             default:
18449               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
18450           }
18451           iprot.readFieldEnd();
18452         }
18453         iprot.readStructEnd();
18454 
18455         // check for required fields of primitive type, which can't be checked in the validate method
18456         struct.validate();
18457       }
18458 
18459       public void write(org.apache.thrift.protocol.TProtocol oprot, flush_args struct) throws org.apache.thrift.TException {
18460         struct.validate();
18461 
18462         oprot.writeStructBegin(STRUCT_DESC);
18463         if (struct.credential != null) {
18464           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
18465           struct.credential.write(oprot);
18466           oprot.writeFieldEnd();
18467         }
18468         if (struct.tableId != null) {
18469           oprot.writeFieldBegin(TABLE_ID_FIELD_DESC);
18470           oprot.writeString(struct.tableId);
18471           oprot.writeFieldEnd();
18472         }
18473         if (struct.lock != null) {
18474           oprot.writeFieldBegin(LOCK_FIELD_DESC);
18475           oprot.writeString(struct.lock);
18476           oprot.writeFieldEnd();
18477         }
18478         if (struct.tinfo != null) {
18479           oprot.writeFieldBegin(TINFO_FIELD_DESC);
18480           struct.tinfo.write(oprot);
18481           oprot.writeFieldEnd();
18482         }
18483         if (struct.startRow != null) {
18484           oprot.writeFieldBegin(START_ROW_FIELD_DESC);
18485           oprot.writeBinary(struct.startRow);
18486           oprot.writeFieldEnd();
18487         }
18488         if (struct.endRow != null) {
18489           oprot.writeFieldBegin(END_ROW_FIELD_DESC);
18490           oprot.writeBinary(struct.endRow);
18491           oprot.writeFieldEnd();
18492         }
18493         oprot.writeFieldStop();
18494         oprot.writeStructEnd();
18495       }
18496 
18497     }
18498 
18499     private static class flush_argsTupleSchemeFactory implements SchemeFactory {
18500       public flush_argsTupleScheme getScheme() {
18501         return new flush_argsTupleScheme();
18502       }
18503     }
18504 
18505     private static class flush_argsTupleScheme extends TupleScheme<flush_args> {
18506 
18507       @Override
18508       public void write(org.apache.thrift.protocol.TProtocol prot, flush_args struct) throws org.apache.thrift.TException {
18509         TTupleProtocol oprot = (TTupleProtocol) prot;
18510         BitSet optionals = new BitSet();
18511         if (struct.isSetTinfo()) {
18512           optionals.set(0);
18513         }
18514         if (struct.isSetCredential()) {
18515           optionals.set(1);
18516         }
18517         if (struct.isSetLock()) {
18518           optionals.set(2);
18519         }
18520         if (struct.isSetTableId()) {
18521           optionals.set(3);
18522         }
18523         if (struct.isSetStartRow()) {
18524           optionals.set(4);
18525         }
18526         if (struct.isSetEndRow()) {
18527           optionals.set(5);
18528         }
18529         oprot.writeBitSet(optionals, 6);
18530         if (struct.isSetTinfo()) {
18531           struct.tinfo.write(oprot);
18532         }
18533         if (struct.isSetCredential()) {
18534           struct.credential.write(oprot);
18535         }
18536         if (struct.isSetLock()) {
18537           oprot.writeString(struct.lock);
18538         }
18539         if (struct.isSetTableId()) {
18540           oprot.writeString(struct.tableId);
18541         }
18542         if (struct.isSetStartRow()) {
18543           oprot.writeBinary(struct.startRow);
18544         }
18545         if (struct.isSetEndRow()) {
18546           oprot.writeBinary(struct.endRow);
18547         }
18548       }
18549 
18550       @Override
18551       public void read(org.apache.thrift.protocol.TProtocol prot, flush_args struct) throws org.apache.thrift.TException {
18552         TTupleProtocol iprot = (TTupleProtocol) prot;
18553         BitSet incoming = iprot.readBitSet(6);
18554         if (incoming.get(0)) {
18555           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
18556           struct.tinfo.read(iprot);
18557           struct.setTinfoIsSet(true);
18558         }
18559         if (incoming.get(1)) {
18560           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
18561           struct.credential.read(iprot);
18562           struct.setCredentialIsSet(true);
18563         }
18564         if (incoming.get(2)) {
18565           struct.lock = iprot.readString();
18566           struct.setLockIsSet(true);
18567         }
18568         if (incoming.get(3)) {
18569           struct.tableId = iprot.readString();
18570           struct.setTableIdIsSet(true);
18571         }
18572         if (incoming.get(4)) {
18573           struct.startRow = iprot.readBinary();
18574           struct.setStartRowIsSet(true);
18575         }
18576         if (incoming.get(5)) {
18577           struct.endRow = iprot.readBinary();
18578           struct.setEndRowIsSet(true);
18579         }
18580       }
18581     }
18582 
18583   }
18584 
18585   public static class flushTablet_args implements org.apache.thrift.TBase<flushTablet_args, flushTablet_args._Fields>, java.io.Serializable, Cloneable   {
18586     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("flushTablet_args");
18587 
18588     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)1);
18589     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)2);
18590     private static final org.apache.thrift.protocol.TField LOCK_FIELD_DESC = new org.apache.thrift.protocol.TField("lock", org.apache.thrift.protocol.TType.STRING, (short)3);
18591     private static final org.apache.thrift.protocol.TField EXTENT_FIELD_DESC = new org.apache.thrift.protocol.TField("extent", org.apache.thrift.protocol.TType.STRUCT, (short)4);
18592 
18593     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
18594     static {
18595       schemes.put(StandardScheme.class, new flushTablet_argsStandardSchemeFactory());
18596       schemes.put(TupleScheme.class, new flushTablet_argsTupleSchemeFactory());
18597     }
18598 
18599     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
18600     public org.apache.accumulo.core.security.thrift.Credential credential; // required
18601     public String lock; // required
18602     public org.apache.accumulo.core.data.thrift.TKeyExtent extent; // required
18603 
18604     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
18605     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
18606       TINFO((short)1, "tinfo"),
18607       CREDENTIAL((short)2, "credential"),
18608       LOCK((short)3, "lock"),
18609       EXTENT((short)4, "extent");
18610 
18611       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
18612 
18613       static {
18614         for (_Fields field : EnumSet.allOf(_Fields.class)) {
18615           byName.put(field.getFieldName(), field);
18616         }
18617       }
18618 
18619       /**
18620        * Find the _Fields constant that matches fieldId, or null if its not found.
18621        */
18622       public static _Fields findByThriftId(int fieldId) {
18623         switch(fieldId) {
18624           case 1: // TINFO
18625             return TINFO;
18626           case 2: // CREDENTIAL
18627             return CREDENTIAL;
18628           case 3: // LOCK
18629             return LOCK;
18630           case 4: // EXTENT
18631             return EXTENT;
18632           default:
18633             return null;
18634         }
18635       }
18636 
18637       /**
18638        * Find the _Fields constant that matches fieldId, throwing an exception
18639        * if it is not found.
18640        */
18641       public static _Fields findByThriftIdOrThrow(int fieldId) {
18642         _Fields fields = findByThriftId(fieldId);
18643         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
18644         return fields;
18645       }
18646 
18647       /**
18648        * Find the _Fields constant that matches name, or null if its not found.
18649        */
18650       public static _Fields findByName(String name) {
18651         return byName.get(name);
18652       }
18653 
18654       private final short _thriftId;
18655       private final String _fieldName;
18656 
18657       _Fields(short thriftId, String fieldName) {
18658         _thriftId = thriftId;
18659         _fieldName = fieldName;
18660       }
18661 
18662       public short getThriftFieldId() {
18663         return _thriftId;
18664       }
18665 
18666       public String getFieldName() {
18667         return _fieldName;
18668       }
18669     }
18670 
18671     // isset id assignments
18672     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
18673     static {
18674       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
18675       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
18676           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
18677       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
18678           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
18679       tmpMap.put(_Fields.LOCK, new org.apache.thrift.meta_data.FieldMetaData("lock", org.apache.thrift.TFieldRequirementType.DEFAULT, 
18680           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
18681       tmpMap.put(_Fields.EXTENT, new org.apache.thrift.meta_data.FieldMetaData("extent", org.apache.thrift.TFieldRequirementType.DEFAULT, 
18682           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.TKeyExtent.class)));
18683       metaDataMap = Collections.unmodifiableMap(tmpMap);
18684       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(flushTablet_args.class, metaDataMap);
18685     }
18686 
18687     public flushTablet_args() {
18688     }
18689 
18690     public flushTablet_args(
18691       org.apache.accumulo.trace.thrift.TInfo tinfo,
18692       org.apache.accumulo.core.security.thrift.Credential credential,
18693       String lock,
18694       org.apache.accumulo.core.data.thrift.TKeyExtent extent)
18695     {
18696       this();
18697       this.tinfo = tinfo;
18698       this.credential = credential;
18699       this.lock = lock;
18700       this.extent = extent;
18701     }
18702 
18703     /**
18704      * Performs a deep copy on <i>other</i>.
18705      */
18706     public flushTablet_args(flushTablet_args other) {
18707       if (other.isSetTinfo()) {
18708         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
18709       }
18710       if (other.isSetCredential()) {
18711         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
18712       }
18713       if (other.isSetLock()) {
18714         this.lock = other.lock;
18715       }
18716       if (other.isSetExtent()) {
18717         this.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent(other.extent);
18718       }
18719     }
18720 
18721     public flushTablet_args deepCopy() {
18722       return new flushTablet_args(this);
18723     }
18724 
18725     @Override
18726     public void clear() {
18727       this.tinfo = null;
18728       this.credential = null;
18729       this.lock = null;
18730       this.extent = null;
18731     }
18732 
18733     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
18734       return this.tinfo;
18735     }
18736 
18737     public flushTablet_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
18738       this.tinfo = tinfo;
18739       return this;
18740     }
18741 
18742     public void unsetTinfo() {
18743       this.tinfo = null;
18744     }
18745 
18746     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
18747     public boolean isSetTinfo() {
18748       return this.tinfo != null;
18749     }
18750 
18751     public void setTinfoIsSet(boolean value) {
18752       if (!value) {
18753         this.tinfo = null;
18754       }
18755     }
18756 
18757     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
18758       return this.credential;
18759     }
18760 
18761     public flushTablet_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
18762       this.credential = credential;
18763       return this;
18764     }
18765 
18766     public void unsetCredential() {
18767       this.credential = null;
18768     }
18769 
18770     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
18771     public boolean isSetCredential() {
18772       return this.credential != null;
18773     }
18774 
18775     public void setCredentialIsSet(boolean value) {
18776       if (!value) {
18777         this.credential = null;
18778       }
18779     }
18780 
18781     public String getLock() {
18782       return this.lock;
18783     }
18784 
18785     public flushTablet_args setLock(String lock) {
18786       this.lock = lock;
18787       return this;
18788     }
18789 
18790     public void unsetLock() {
18791       this.lock = null;
18792     }
18793 
18794     /** Returns true if field lock is set (has been assigned a value) and false otherwise */
18795     public boolean isSetLock() {
18796       return this.lock != null;
18797     }
18798 
18799     public void setLockIsSet(boolean value) {
18800       if (!value) {
18801         this.lock = null;
18802       }
18803     }
18804 
18805     public org.apache.accumulo.core.data.thrift.TKeyExtent getExtent() {
18806       return this.extent;
18807     }
18808 
18809     public flushTablet_args setExtent(org.apache.accumulo.core.data.thrift.TKeyExtent extent) {
18810       this.extent = extent;
18811       return this;
18812     }
18813 
18814     public void unsetExtent() {
18815       this.extent = null;
18816     }
18817 
18818     /** Returns true if field extent is set (has been assigned a value) and false otherwise */
18819     public boolean isSetExtent() {
18820       return this.extent != null;
18821     }
18822 
18823     public void setExtentIsSet(boolean value) {
18824       if (!value) {
18825         this.extent = null;
18826       }
18827     }
18828 
18829     public void setFieldValue(_Fields field, Object value) {
18830       switch (field) {
18831       case TINFO:
18832         if (value == null) {
18833           unsetTinfo();
18834         } else {
18835           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
18836         }
18837         break;
18838 
18839       case CREDENTIAL:
18840         if (value == null) {
18841           unsetCredential();
18842         } else {
18843           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
18844         }
18845         break;
18846 
18847       case LOCK:
18848         if (value == null) {
18849           unsetLock();
18850         } else {
18851           setLock((String)value);
18852         }
18853         break;
18854 
18855       case EXTENT:
18856         if (value == null) {
18857           unsetExtent();
18858         } else {
18859           setExtent((org.apache.accumulo.core.data.thrift.TKeyExtent)value);
18860         }
18861         break;
18862 
18863       }
18864     }
18865 
18866     public Object getFieldValue(_Fields field) {
18867       switch (field) {
18868       case TINFO:
18869         return getTinfo();
18870 
18871       case CREDENTIAL:
18872         return getCredential();
18873 
18874       case LOCK:
18875         return getLock();
18876 
18877       case EXTENT:
18878         return getExtent();
18879 
18880       }
18881       throw new IllegalStateException();
18882     }
18883 
18884     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
18885     public boolean isSet(_Fields field) {
18886       if (field == null) {
18887         throw new IllegalArgumentException();
18888       }
18889 
18890       switch (field) {
18891       case TINFO:
18892         return isSetTinfo();
18893       case CREDENTIAL:
18894         return isSetCredential();
18895       case LOCK:
18896         return isSetLock();
18897       case EXTENT:
18898         return isSetExtent();
18899       }
18900       throw new IllegalStateException();
18901     }
18902 
18903     @Override
18904     public boolean equals(Object that) {
18905       if (that == null)
18906         return false;
18907       if (that instanceof flushTablet_args)
18908         return this.equals((flushTablet_args)that);
18909       return false;
18910     }
18911 
18912     public boolean equals(flushTablet_args that) {
18913       if (that == null)
18914         return false;
18915 
18916       boolean this_present_tinfo = true && this.isSetTinfo();
18917       boolean that_present_tinfo = true && that.isSetTinfo();
18918       if (this_present_tinfo || that_present_tinfo) {
18919         if (!(this_present_tinfo && that_present_tinfo))
18920           return false;
18921         if (!this.tinfo.equals(that.tinfo))
18922           return false;
18923       }
18924 
18925       boolean this_present_credential = true && this.isSetCredential();
18926       boolean that_present_credential = true && that.isSetCredential();
18927       if (this_present_credential || that_present_credential) {
18928         if (!(this_present_credential && that_present_credential))
18929           return false;
18930         if (!this.credential.equals(that.credential))
18931           return false;
18932       }
18933 
18934       boolean this_present_lock = true && this.isSetLock();
18935       boolean that_present_lock = true && that.isSetLock();
18936       if (this_present_lock || that_present_lock) {
18937         if (!(this_present_lock && that_present_lock))
18938           return false;
18939         if (!this.lock.equals(that.lock))
18940           return false;
18941       }
18942 
18943       boolean this_present_extent = true && this.isSetExtent();
18944       boolean that_present_extent = true && that.isSetExtent();
18945       if (this_present_extent || that_present_extent) {
18946         if (!(this_present_extent && that_present_extent))
18947           return false;
18948         if (!this.extent.equals(that.extent))
18949           return false;
18950       }
18951 
18952       return true;
18953     }
18954 
18955     @Override
18956     public int hashCode() {
18957       return 0;
18958     }
18959 
18960     public int compareTo(flushTablet_args other) {
18961       if (!getClass().equals(other.getClass())) {
18962         return getClass().getName().compareTo(other.getClass().getName());
18963       }
18964 
18965       int lastComparison = 0;
18966       flushTablet_args typedOther = (flushTablet_args)other;
18967 
18968       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
18969       if (lastComparison != 0) {
18970         return lastComparison;
18971       }
18972       if (isSetTinfo()) {
18973         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
18974         if (lastComparison != 0) {
18975           return lastComparison;
18976         }
18977       }
18978       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
18979       if (lastComparison != 0) {
18980         return lastComparison;
18981       }
18982       if (isSetCredential()) {
18983         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
18984         if (lastComparison != 0) {
18985           return lastComparison;
18986         }
18987       }
18988       lastComparison = Boolean.valueOf(isSetLock()).compareTo(typedOther.isSetLock());
18989       if (lastComparison != 0) {
18990         return lastComparison;
18991       }
18992       if (isSetLock()) {
18993         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lock, typedOther.lock);
18994         if (lastComparison != 0) {
18995           return lastComparison;
18996         }
18997       }
18998       lastComparison = Boolean.valueOf(isSetExtent()).compareTo(typedOther.isSetExtent());
18999       if (lastComparison != 0) {
19000         return lastComparison;
19001       }
19002       if (isSetExtent()) {
19003         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.extent, typedOther.extent);
19004         if (lastComparison != 0) {
19005           return lastComparison;
19006         }
19007       }
19008       return 0;
19009     }
19010 
19011     public _Fields fieldForId(int fieldId) {
19012       return _Fields.findByThriftId(fieldId);
19013     }
19014 
19015     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
19016       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
19017     }
19018 
19019     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
19020       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
19021     }
19022 
19023     @Override
19024     public String toString() {
19025       StringBuilder sb = new StringBuilder("flushTablet_args(");
19026       boolean first = true;
19027 
19028       sb.append("tinfo:");
19029       if (this.tinfo == null) {
19030         sb.append("null");
19031       } else {
19032         sb.append(this.tinfo);
19033       }
19034       first = false;
19035       if (!first) sb.append(", ");
19036       sb.append("credential:");
19037       if (this.credential == null) {
19038         sb.append("null");
19039       } else {
19040         sb.append(this.credential);
19041       }
19042       first = false;
19043       if (!first) sb.append(", ");
19044       sb.append("lock:");
19045       if (this.lock == null) {
19046         sb.append("null");
19047       } else {
19048         sb.append(this.lock);
19049       }
19050       first = false;
19051       if (!first) sb.append(", ");
19052       sb.append("extent:");
19053       if (this.extent == null) {
19054         sb.append("null");
19055       } else {
19056         sb.append(this.extent);
19057       }
19058       first = false;
19059       sb.append(")");
19060       return sb.toString();
19061     }
19062 
19063     public void validate() throws org.apache.thrift.TException {
19064       // check for required fields
19065       // check for sub-struct validity
19066       if (tinfo != null) {
19067         tinfo.validate();
19068       }
19069       if (credential != null) {
19070         credential.validate();
19071       }
19072       if (extent != null) {
19073         extent.validate();
19074       }
19075     }
19076 
19077     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
19078       try {
19079         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
19080       } catch (org.apache.thrift.TException te) {
19081         throw new java.io.IOException(te);
19082       }
19083     }
19084 
19085     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
19086       try {
19087         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
19088       } catch (org.apache.thrift.TException te) {
19089         throw new java.io.IOException(te);
19090       }
19091     }
19092 
19093     private static class flushTablet_argsStandardSchemeFactory implements SchemeFactory {
19094       public flushTablet_argsStandardScheme getScheme() {
19095         return new flushTablet_argsStandardScheme();
19096       }
19097     }
19098 
19099     private static class flushTablet_argsStandardScheme extends StandardScheme<flushTablet_args> {
19100 
19101       public void read(org.apache.thrift.protocol.TProtocol iprot, flushTablet_args struct) throws org.apache.thrift.TException {
19102         org.apache.thrift.protocol.TField schemeField;
19103         iprot.readStructBegin();
19104         while (true)
19105         {
19106           schemeField = iprot.readFieldBegin();
19107           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
19108             break;
19109           }
19110           switch (schemeField.id) {
19111             case 1: // TINFO
19112               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
19113                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
19114                 struct.tinfo.read(iprot);
19115                 struct.setTinfoIsSet(true);
19116               } else { 
19117                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
19118               }
19119               break;
19120             case 2: // CREDENTIAL
19121               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
19122                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
19123                 struct.credential.read(iprot);
19124                 struct.setCredentialIsSet(true);
19125               } else { 
19126                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
19127               }
19128               break;
19129             case 3: // LOCK
19130               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
19131                 struct.lock = iprot.readString();
19132                 struct.setLockIsSet(true);
19133               } else { 
19134                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
19135               }
19136               break;
19137             case 4: // EXTENT
19138               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
19139                 struct.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent();
19140                 struct.extent.read(iprot);
19141                 struct.setExtentIsSet(true);
19142               } else { 
19143                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
19144               }
19145               break;
19146             default:
19147               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
19148           }
19149           iprot.readFieldEnd();
19150         }
19151         iprot.readStructEnd();
19152 
19153         // check for required fields of primitive type, which can't be checked in the validate method
19154         struct.validate();
19155       }
19156 
19157       public void write(org.apache.thrift.protocol.TProtocol oprot, flushTablet_args struct) throws org.apache.thrift.TException {
19158         struct.validate();
19159 
19160         oprot.writeStructBegin(STRUCT_DESC);
19161         if (struct.tinfo != null) {
19162           oprot.writeFieldBegin(TINFO_FIELD_DESC);
19163           struct.tinfo.write(oprot);
19164           oprot.writeFieldEnd();
19165         }
19166         if (struct.credential != null) {
19167           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
19168           struct.credential.write(oprot);
19169           oprot.writeFieldEnd();
19170         }
19171         if (struct.lock != null) {
19172           oprot.writeFieldBegin(LOCK_FIELD_DESC);
19173           oprot.writeString(struct.lock);
19174           oprot.writeFieldEnd();
19175         }
19176         if (struct.extent != null) {
19177           oprot.writeFieldBegin(EXTENT_FIELD_DESC);
19178           struct.extent.write(oprot);
19179           oprot.writeFieldEnd();
19180         }
19181         oprot.writeFieldStop();
19182         oprot.writeStructEnd();
19183       }
19184 
19185     }
19186 
19187     private static class flushTablet_argsTupleSchemeFactory implements SchemeFactory {
19188       public flushTablet_argsTupleScheme getScheme() {
19189         return new flushTablet_argsTupleScheme();
19190       }
19191     }
19192 
19193     private static class flushTablet_argsTupleScheme extends TupleScheme<flushTablet_args> {
19194 
19195       @Override
19196       public void write(org.apache.thrift.protocol.TProtocol prot, flushTablet_args struct) throws org.apache.thrift.TException {
19197         TTupleProtocol oprot = (TTupleProtocol) prot;
19198         BitSet optionals = new BitSet();
19199         if (struct.isSetTinfo()) {
19200           optionals.set(0);
19201         }
19202         if (struct.isSetCredential()) {
19203           optionals.set(1);
19204         }
19205         if (struct.isSetLock()) {
19206           optionals.set(2);
19207         }
19208         if (struct.isSetExtent()) {
19209           optionals.set(3);
19210         }
19211         oprot.writeBitSet(optionals, 4);
19212         if (struct.isSetTinfo()) {
19213           struct.tinfo.write(oprot);
19214         }
19215         if (struct.isSetCredential()) {
19216           struct.credential.write(oprot);
19217         }
19218         if (struct.isSetLock()) {
19219           oprot.writeString(struct.lock);
19220         }
19221         if (struct.isSetExtent()) {
19222           struct.extent.write(oprot);
19223         }
19224       }
19225 
19226       @Override
19227       public void read(org.apache.thrift.protocol.TProtocol prot, flushTablet_args struct) throws org.apache.thrift.TException {
19228         TTupleProtocol iprot = (TTupleProtocol) prot;
19229         BitSet incoming = iprot.readBitSet(4);
19230         if (incoming.get(0)) {
19231           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
19232           struct.tinfo.read(iprot);
19233           struct.setTinfoIsSet(true);
19234         }
19235         if (incoming.get(1)) {
19236           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
19237           struct.credential.read(iprot);
19238           struct.setCredentialIsSet(true);
19239         }
19240         if (incoming.get(2)) {
19241           struct.lock = iprot.readString();
19242           struct.setLockIsSet(true);
19243         }
19244         if (incoming.get(3)) {
19245           struct.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent();
19246           struct.extent.read(iprot);
19247           struct.setExtentIsSet(true);
19248         }
19249       }
19250     }
19251 
19252   }
19253 
19254   public static class chop_args implements org.apache.thrift.TBase<chop_args, chop_args._Fields>, java.io.Serializable, Cloneable   {
19255     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("chop_args");
19256 
19257     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)1);
19258     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)2);
19259     private static final org.apache.thrift.protocol.TField LOCK_FIELD_DESC = new org.apache.thrift.protocol.TField("lock", org.apache.thrift.protocol.TType.STRING, (short)3);
19260     private static final org.apache.thrift.protocol.TField EXTENT_FIELD_DESC = new org.apache.thrift.protocol.TField("extent", org.apache.thrift.protocol.TType.STRUCT, (short)4);
19261 
19262     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
19263     static {
19264       schemes.put(StandardScheme.class, new chop_argsStandardSchemeFactory());
19265       schemes.put(TupleScheme.class, new chop_argsTupleSchemeFactory());
19266     }
19267 
19268     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
19269     public org.apache.accumulo.core.security.thrift.Credential credential; // required
19270     public String lock; // required
19271     public org.apache.accumulo.core.data.thrift.TKeyExtent extent; // required
19272 
19273     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
19274     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
19275       TINFO((short)1, "tinfo"),
19276       CREDENTIAL((short)2, "credential"),
19277       LOCK((short)3, "lock"),
19278       EXTENT((short)4, "extent");
19279 
19280       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
19281 
19282       static {
19283         for (_Fields field : EnumSet.allOf(_Fields.class)) {
19284           byName.put(field.getFieldName(), field);
19285         }
19286       }
19287 
19288       /**
19289        * Find the _Fields constant that matches fieldId, or null if its not found.
19290        */
19291       public static _Fields findByThriftId(int fieldId) {
19292         switch(fieldId) {
19293           case 1: // TINFO
19294             return TINFO;
19295           case 2: // CREDENTIAL
19296             return CREDENTIAL;
19297           case 3: // LOCK
19298             return LOCK;
19299           case 4: // EXTENT
19300             return EXTENT;
19301           default:
19302             return null;
19303         }
19304       }
19305 
19306       /**
19307        * Find the _Fields constant that matches fieldId, throwing an exception
19308        * if it is not found.
19309        */
19310       public static _Fields findByThriftIdOrThrow(int fieldId) {
19311         _Fields fields = findByThriftId(fieldId);
19312         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
19313         return fields;
19314       }
19315 
19316       /**
19317        * Find the _Fields constant that matches name, or null if its not found.
19318        */
19319       public static _Fields findByName(String name) {
19320         return byName.get(name);
19321       }
19322 
19323       private final short _thriftId;
19324       private final String _fieldName;
19325 
19326       _Fields(short thriftId, String fieldName) {
19327         _thriftId = thriftId;
19328         _fieldName = fieldName;
19329       }
19330 
19331       public short getThriftFieldId() {
19332         return _thriftId;
19333       }
19334 
19335       public String getFieldName() {
19336         return _fieldName;
19337       }
19338     }
19339 
19340     // isset id assignments
19341     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
19342     static {
19343       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
19344       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
19345           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
19346       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
19347           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
19348       tmpMap.put(_Fields.LOCK, new org.apache.thrift.meta_data.FieldMetaData("lock", org.apache.thrift.TFieldRequirementType.DEFAULT, 
19349           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
19350       tmpMap.put(_Fields.EXTENT, new org.apache.thrift.meta_data.FieldMetaData("extent", org.apache.thrift.TFieldRequirementType.DEFAULT, 
19351           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.TKeyExtent.class)));
19352       metaDataMap = Collections.unmodifiableMap(tmpMap);
19353       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(chop_args.class, metaDataMap);
19354     }
19355 
19356     public chop_args() {
19357     }
19358 
19359     public chop_args(
19360       org.apache.accumulo.trace.thrift.TInfo tinfo,
19361       org.apache.accumulo.core.security.thrift.Credential credential,
19362       String lock,
19363       org.apache.accumulo.core.data.thrift.TKeyExtent extent)
19364     {
19365       this();
19366       this.tinfo = tinfo;
19367       this.credential = credential;
19368       this.lock = lock;
19369       this.extent = extent;
19370     }
19371 
19372     /**
19373      * Performs a deep copy on <i>other</i>.
19374      */
19375     public chop_args(chop_args other) {
19376       if (other.isSetTinfo()) {
19377         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
19378       }
19379       if (other.isSetCredential()) {
19380         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
19381       }
19382       if (other.isSetLock()) {
19383         this.lock = other.lock;
19384       }
19385       if (other.isSetExtent()) {
19386         this.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent(other.extent);
19387       }
19388     }
19389 
19390     public chop_args deepCopy() {
19391       return new chop_args(this);
19392     }
19393 
19394     @Override
19395     public void clear() {
19396       this.tinfo = null;
19397       this.credential = null;
19398       this.lock = null;
19399       this.extent = null;
19400     }
19401 
19402     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
19403       return this.tinfo;
19404     }
19405 
19406     public chop_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
19407       this.tinfo = tinfo;
19408       return this;
19409     }
19410 
19411     public void unsetTinfo() {
19412       this.tinfo = null;
19413     }
19414 
19415     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
19416     public boolean isSetTinfo() {
19417       return this.tinfo != null;
19418     }
19419 
19420     public void setTinfoIsSet(boolean value) {
19421       if (!value) {
19422         this.tinfo = null;
19423       }
19424     }
19425 
19426     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
19427       return this.credential;
19428     }
19429 
19430     public chop_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
19431       this.credential = credential;
19432       return this;
19433     }
19434 
19435     public void unsetCredential() {
19436       this.credential = null;
19437     }
19438 
19439     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
19440     public boolean isSetCredential() {
19441       return this.credential != null;
19442     }
19443 
19444     public void setCredentialIsSet(boolean value) {
19445       if (!value) {
19446         this.credential = null;
19447       }
19448     }
19449 
19450     public String getLock() {
19451       return this.lock;
19452     }
19453 
19454     public chop_args setLock(String lock) {
19455       this.lock = lock;
19456       return this;
19457     }
19458 
19459     public void unsetLock() {
19460       this.lock = null;
19461     }
19462 
19463     /** Returns true if field lock is set (has been assigned a value) and false otherwise */
19464     public boolean isSetLock() {
19465       return this.lock != null;
19466     }
19467 
19468     public void setLockIsSet(boolean value) {
19469       if (!value) {
19470         this.lock = null;
19471       }
19472     }
19473 
19474     public org.apache.accumulo.core.data.thrift.TKeyExtent getExtent() {
19475       return this.extent;
19476     }
19477 
19478     public chop_args setExtent(org.apache.accumulo.core.data.thrift.TKeyExtent extent) {
19479       this.extent = extent;
19480       return this;
19481     }
19482 
19483     public void unsetExtent() {
19484       this.extent = null;
19485     }
19486 
19487     /** Returns true if field extent is set (has been assigned a value) and false otherwise */
19488     public boolean isSetExtent() {
19489       return this.extent != null;
19490     }
19491 
19492     public void setExtentIsSet(boolean value) {
19493       if (!value) {
19494         this.extent = null;
19495       }
19496     }
19497 
19498     public void setFieldValue(_Fields field, Object value) {
19499       switch (field) {
19500       case TINFO:
19501         if (value == null) {
19502           unsetTinfo();
19503         } else {
19504           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
19505         }
19506         break;
19507 
19508       case CREDENTIAL:
19509         if (value == null) {
19510           unsetCredential();
19511         } else {
19512           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
19513         }
19514         break;
19515 
19516       case LOCK:
19517         if (value == null) {
19518           unsetLock();
19519         } else {
19520           setLock((String)value);
19521         }
19522         break;
19523 
19524       case EXTENT:
19525         if (value == null) {
19526           unsetExtent();
19527         } else {
19528           setExtent((org.apache.accumulo.core.data.thrift.TKeyExtent)value);
19529         }
19530         break;
19531 
19532       }
19533     }
19534 
19535     public Object getFieldValue(_Fields field) {
19536       switch (field) {
19537       case TINFO:
19538         return getTinfo();
19539 
19540       case CREDENTIAL:
19541         return getCredential();
19542 
19543       case LOCK:
19544         return getLock();
19545 
19546       case EXTENT:
19547         return getExtent();
19548 
19549       }
19550       throw new IllegalStateException();
19551     }
19552 
19553     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
19554     public boolean isSet(_Fields field) {
19555       if (field == null) {
19556         throw new IllegalArgumentException();
19557       }
19558 
19559       switch (field) {
19560       case TINFO:
19561         return isSetTinfo();
19562       case CREDENTIAL:
19563         return isSetCredential();
19564       case LOCK:
19565         return isSetLock();
19566       case EXTENT:
19567         return isSetExtent();
19568       }
19569       throw new IllegalStateException();
19570     }
19571 
19572     @Override
19573     public boolean equals(Object that) {
19574       if (that == null)
19575         return false;
19576       if (that instanceof chop_args)
19577         return this.equals((chop_args)that);
19578       return false;
19579     }
19580 
19581     public boolean equals(chop_args that) {
19582       if (that == null)
19583         return false;
19584 
19585       boolean this_present_tinfo = true && this.isSetTinfo();
19586       boolean that_present_tinfo = true && that.isSetTinfo();
19587       if (this_present_tinfo || that_present_tinfo) {
19588         if (!(this_present_tinfo && that_present_tinfo))
19589           return false;
19590         if (!this.tinfo.equals(that.tinfo))
19591           return false;
19592       }
19593 
19594       boolean this_present_credential = true && this.isSetCredential();
19595       boolean that_present_credential = true && that.isSetCredential();
19596       if (this_present_credential || that_present_credential) {
19597         if (!(this_present_credential && that_present_credential))
19598           return false;
19599         if (!this.credential.equals(that.credential))
19600           return false;
19601       }
19602 
19603       boolean this_present_lock = true && this.isSetLock();
19604       boolean that_present_lock = true && that.isSetLock();
19605       if (this_present_lock || that_present_lock) {
19606         if (!(this_present_lock && that_present_lock))
19607           return false;
19608         if (!this.lock.equals(that.lock))
19609           return false;
19610       }
19611 
19612       boolean this_present_extent = true && this.isSetExtent();
19613       boolean that_present_extent = true && that.isSetExtent();
19614       if (this_present_extent || that_present_extent) {
19615         if (!(this_present_extent && that_present_extent))
19616           return false;
19617         if (!this.extent.equals(that.extent))
19618           return false;
19619       }
19620 
19621       return true;
19622     }
19623 
19624     @Override
19625     public int hashCode() {
19626       return 0;
19627     }
19628 
19629     public int compareTo(chop_args other) {
19630       if (!getClass().equals(other.getClass())) {
19631         return getClass().getName().compareTo(other.getClass().getName());
19632       }
19633 
19634       int lastComparison = 0;
19635       chop_args typedOther = (chop_args)other;
19636 
19637       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
19638       if (lastComparison != 0) {
19639         return lastComparison;
19640       }
19641       if (isSetTinfo()) {
19642         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
19643         if (lastComparison != 0) {
19644           return lastComparison;
19645         }
19646       }
19647       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
19648       if (lastComparison != 0) {
19649         return lastComparison;
19650       }
19651       if (isSetCredential()) {
19652         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
19653         if (lastComparison != 0) {
19654           return lastComparison;
19655         }
19656       }
19657       lastComparison = Boolean.valueOf(isSetLock()).compareTo(typedOther.isSetLock());
19658       if (lastComparison != 0) {
19659         return lastComparison;
19660       }
19661       if (isSetLock()) {
19662         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lock, typedOther.lock);
19663         if (lastComparison != 0) {
19664           return lastComparison;
19665         }
19666       }
19667       lastComparison = Boolean.valueOf(isSetExtent()).compareTo(typedOther.isSetExtent());
19668       if (lastComparison != 0) {
19669         return lastComparison;
19670       }
19671       if (isSetExtent()) {
19672         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.extent, typedOther.extent);
19673         if (lastComparison != 0) {
19674           return lastComparison;
19675         }
19676       }
19677       return 0;
19678     }
19679 
19680     public _Fields fieldForId(int fieldId) {
19681       return _Fields.findByThriftId(fieldId);
19682     }
19683 
19684     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
19685       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
19686     }
19687 
19688     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
19689       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
19690     }
19691 
19692     @Override
19693     public String toString() {
19694       StringBuilder sb = new StringBuilder("chop_args(");
19695       boolean first = true;
19696 
19697       sb.append("tinfo:");
19698       if (this.tinfo == null) {
19699         sb.append("null");
19700       } else {
19701         sb.append(this.tinfo);
19702       }
19703       first = false;
19704       if (!first) sb.append(", ");
19705       sb.append("credential:");
19706       if (this.credential == null) {
19707         sb.append("null");
19708       } else {
19709         sb.append(this.credential);
19710       }
19711       first = false;
19712       if (!first) sb.append(", ");
19713       sb.append("lock:");
19714       if (this.lock == null) {
19715         sb.append("null");
19716       } else {
19717         sb.append(this.lock);
19718       }
19719       first = false;
19720       if (!first) sb.append(", ");
19721       sb.append("extent:");
19722       if (this.extent == null) {
19723         sb.append("null");
19724       } else {
19725         sb.append(this.extent);
19726       }
19727       first = false;
19728       sb.append(")");
19729       return sb.toString();
19730     }
19731 
19732     public void validate() throws org.apache.thrift.TException {
19733       // check for required fields
19734       // check for sub-struct validity
19735       if (tinfo != null) {
19736         tinfo.validate();
19737       }
19738       if (credential != null) {
19739         credential.validate();
19740       }
19741       if (extent != null) {
19742         extent.validate();
19743       }
19744     }
19745 
19746     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
19747       try {
19748         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
19749       } catch (org.apache.thrift.TException te) {
19750         throw new java.io.IOException(te);
19751       }
19752     }
19753 
19754     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
19755       try {
19756         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
19757       } catch (org.apache.thrift.TException te) {
19758         throw new java.io.IOException(te);
19759       }
19760     }
19761 
19762     private static class chop_argsStandardSchemeFactory implements SchemeFactory {
19763       public chop_argsStandardScheme getScheme() {
19764         return new chop_argsStandardScheme();
19765       }
19766     }
19767 
19768     private static class chop_argsStandardScheme extends StandardScheme<chop_args> {
19769 
19770       public void read(org.apache.thrift.protocol.TProtocol iprot, chop_args struct) throws org.apache.thrift.TException {
19771         org.apache.thrift.protocol.TField schemeField;
19772         iprot.readStructBegin();
19773         while (true)
19774         {
19775           schemeField = iprot.readFieldBegin();
19776           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
19777             break;
19778           }
19779           switch (schemeField.id) {
19780             case 1: // TINFO
19781               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
19782                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
19783                 struct.tinfo.read(iprot);
19784                 struct.setTinfoIsSet(true);
19785               } else { 
19786                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
19787               }
19788               break;
19789             case 2: // CREDENTIAL
19790               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
19791                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
19792                 struct.credential.read(iprot);
19793                 struct.setCredentialIsSet(true);
19794               } else { 
19795                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
19796               }
19797               break;
19798             case 3: // LOCK
19799               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
19800                 struct.lock = iprot.readString();
19801                 struct.setLockIsSet(true);
19802               } else { 
19803                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
19804               }
19805               break;
19806             case 4: // EXTENT
19807               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
19808                 struct.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent();
19809                 struct.extent.read(iprot);
19810                 struct.setExtentIsSet(true);
19811               } else { 
19812                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
19813               }
19814               break;
19815             default:
19816               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
19817           }
19818           iprot.readFieldEnd();
19819         }
19820         iprot.readStructEnd();
19821 
19822         // check for required fields of primitive type, which can't be checked in the validate method
19823         struct.validate();
19824       }
19825 
19826       public void write(org.apache.thrift.protocol.TProtocol oprot, chop_args struct) throws org.apache.thrift.TException {
19827         struct.validate();
19828 
19829         oprot.writeStructBegin(STRUCT_DESC);
19830         if (struct.tinfo != null) {
19831           oprot.writeFieldBegin(TINFO_FIELD_DESC);
19832           struct.tinfo.write(oprot);
19833           oprot.writeFieldEnd();
19834         }
19835         if (struct.credential != null) {
19836           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
19837           struct.credential.write(oprot);
19838           oprot.writeFieldEnd();
19839         }
19840         if (struct.lock != null) {
19841           oprot.writeFieldBegin(LOCK_FIELD_DESC);
19842           oprot.writeString(struct.lock);
19843           oprot.writeFieldEnd();
19844         }
19845         if (struct.extent != null) {
19846           oprot.writeFieldBegin(EXTENT_FIELD_DESC);
19847           struct.extent.write(oprot);
19848           oprot.writeFieldEnd();
19849         }
19850         oprot.writeFieldStop();
19851         oprot.writeStructEnd();
19852       }
19853 
19854     }
19855 
19856     private static class chop_argsTupleSchemeFactory implements SchemeFactory {
19857       public chop_argsTupleScheme getScheme() {
19858         return new chop_argsTupleScheme();
19859       }
19860     }
19861 
19862     private static class chop_argsTupleScheme extends TupleScheme<chop_args> {
19863 
19864       @Override
19865       public void write(org.apache.thrift.protocol.TProtocol prot, chop_args struct) throws org.apache.thrift.TException {
19866         TTupleProtocol oprot = (TTupleProtocol) prot;
19867         BitSet optionals = new BitSet();
19868         if (struct.isSetTinfo()) {
19869           optionals.set(0);
19870         }
19871         if (struct.isSetCredential()) {
19872           optionals.set(1);
19873         }
19874         if (struct.isSetLock()) {
19875           optionals.set(2);
19876         }
19877         if (struct.isSetExtent()) {
19878           optionals.set(3);
19879         }
19880         oprot.writeBitSet(optionals, 4);
19881         if (struct.isSetTinfo()) {
19882           struct.tinfo.write(oprot);
19883         }
19884         if (struct.isSetCredential()) {
19885           struct.credential.write(oprot);
19886         }
19887         if (struct.isSetLock()) {
19888           oprot.writeString(struct.lock);
19889         }
19890         if (struct.isSetExtent()) {
19891           struct.extent.write(oprot);
19892         }
19893       }
19894 
19895       @Override
19896       public void read(org.apache.thrift.protocol.TProtocol prot, chop_args struct) throws org.apache.thrift.TException {
19897         TTupleProtocol iprot = (TTupleProtocol) prot;
19898         BitSet incoming = iprot.readBitSet(4);
19899         if (incoming.get(0)) {
19900           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
19901           struct.tinfo.read(iprot);
19902           struct.setTinfoIsSet(true);
19903         }
19904         if (incoming.get(1)) {
19905           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
19906           struct.credential.read(iprot);
19907           struct.setCredentialIsSet(true);
19908         }
19909         if (incoming.get(2)) {
19910           struct.lock = iprot.readString();
19911           struct.setLockIsSet(true);
19912         }
19913         if (incoming.get(3)) {
19914           struct.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent();
19915           struct.extent.read(iprot);
19916           struct.setExtentIsSet(true);
19917         }
19918       }
19919     }
19920 
19921   }
19922 
19923   public static class compact_args implements org.apache.thrift.TBase<compact_args, compact_args._Fields>, java.io.Serializable, Cloneable   {
19924     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("compact_args");
19925 
19926     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)1);
19927     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)2);
19928     private static final org.apache.thrift.protocol.TField LOCK_FIELD_DESC = new org.apache.thrift.protocol.TField("lock", org.apache.thrift.protocol.TType.STRING, (short)3);
19929     private static final org.apache.thrift.protocol.TField TABLE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("tableId", org.apache.thrift.protocol.TType.STRING, (short)4);
19930     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)5);
19931     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)6);
19932 
19933     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
19934     static {
19935       schemes.put(StandardScheme.class, new compact_argsStandardSchemeFactory());
19936       schemes.put(TupleScheme.class, new compact_argsTupleSchemeFactory());
19937     }
19938 
19939     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
19940     public org.apache.accumulo.core.security.thrift.Credential credential; // required
19941     public String lock; // required
19942     public String tableId; // required
19943     public ByteBuffer startRow; // required
19944     public ByteBuffer endRow; // required
19945 
19946     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
19947     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
19948       TINFO((short)1, "tinfo"),
19949       CREDENTIAL((short)2, "credential"),
19950       LOCK((short)3, "lock"),
19951       TABLE_ID((short)4, "tableId"),
19952       START_ROW((short)5, "startRow"),
19953       END_ROW((short)6, "endRow");
19954 
19955       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
19956 
19957       static {
19958         for (_Fields field : EnumSet.allOf(_Fields.class)) {
19959           byName.put(field.getFieldName(), field);
19960         }
19961       }
19962 
19963       /**
19964        * Find the _Fields constant that matches fieldId, or null if its not found.
19965        */
19966       public static _Fields findByThriftId(int fieldId) {
19967         switch(fieldId) {
19968           case 1: // TINFO
19969             return TINFO;
19970           case 2: // CREDENTIAL
19971             return CREDENTIAL;
19972           case 3: // LOCK
19973             return LOCK;
19974           case 4: // TABLE_ID
19975             return TABLE_ID;
19976           case 5: // START_ROW
19977             return START_ROW;
19978           case 6: // END_ROW
19979             return END_ROW;
19980           default:
19981             return null;
19982         }
19983       }
19984 
19985       /**
19986        * Find the _Fields constant that matches fieldId, throwing an exception
19987        * if it is not found.
19988        */
19989       public static _Fields findByThriftIdOrThrow(int fieldId) {
19990         _Fields fields = findByThriftId(fieldId);
19991         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
19992         return fields;
19993       }
19994 
19995       /**
19996        * Find the _Fields constant that matches name, or null if its not found.
19997        */
19998       public static _Fields findByName(String name) {
19999         return byName.get(name);
20000       }
20001 
20002       private final short _thriftId;
20003       private final String _fieldName;
20004 
20005       _Fields(short thriftId, String fieldName) {
20006         _thriftId = thriftId;
20007         _fieldName = fieldName;
20008       }
20009 
20010       public short getThriftFieldId() {
20011         return _thriftId;
20012       }
20013 
20014       public String getFieldName() {
20015         return _fieldName;
20016       }
20017     }
20018 
20019     // isset id assignments
20020     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
20021     static {
20022       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
20023       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
20024           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
20025       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
20026           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
20027       tmpMap.put(_Fields.LOCK, new org.apache.thrift.meta_data.FieldMetaData("lock", org.apache.thrift.TFieldRequirementType.DEFAULT, 
20028           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
20029       tmpMap.put(_Fields.TABLE_ID, new org.apache.thrift.meta_data.FieldMetaData("tableId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
20030           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
20031       tmpMap.put(_Fields.START_ROW, new org.apache.thrift.meta_data.FieldMetaData("startRow", org.apache.thrift.TFieldRequirementType.DEFAULT, 
20032           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING          , true)));
20033       tmpMap.put(_Fields.END_ROW, new org.apache.thrift.meta_data.FieldMetaData("endRow", org.apache.thrift.TFieldRequirementType.DEFAULT, 
20034           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING          , true)));
20035       metaDataMap = Collections.unmodifiableMap(tmpMap);
20036       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(compact_args.class, metaDataMap);
20037     }
20038 
20039     public compact_args() {
20040     }
20041 
20042     public compact_args(
20043       org.apache.accumulo.trace.thrift.TInfo tinfo,
20044       org.apache.accumulo.core.security.thrift.Credential credential,
20045       String lock,
20046       String tableId,
20047       ByteBuffer startRow,
20048       ByteBuffer endRow)
20049     {
20050       this();
20051       this.tinfo = tinfo;
20052       this.credential = credential;
20053       this.lock = lock;
20054       this.tableId = tableId;
20055       this.startRow = startRow;
20056       this.endRow = endRow;
20057     }
20058 
20059     /**
20060      * Performs a deep copy on <i>other</i>.
20061      */
20062     public compact_args(compact_args other) {
20063       if (other.isSetTinfo()) {
20064         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
20065       }
20066       if (other.isSetCredential()) {
20067         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
20068       }
20069       if (other.isSetLock()) {
20070         this.lock = other.lock;
20071       }
20072       if (other.isSetTableId()) {
20073         this.tableId = other.tableId;
20074       }
20075       if (other.isSetStartRow()) {
20076         this.startRow = org.apache.thrift.TBaseHelper.copyBinary(other.startRow);
20077 ;
20078       }
20079       if (other.isSetEndRow()) {
20080         this.endRow = org.apache.thrift.TBaseHelper.copyBinary(other.endRow);
20081 ;
20082       }
20083     }
20084 
20085     public compact_args deepCopy() {
20086       return new compact_args(this);
20087     }
20088 
20089     @Override
20090     public void clear() {
20091       this.tinfo = null;
20092       this.credential = null;
20093       this.lock = null;
20094       this.tableId = null;
20095       this.startRow = null;
20096       this.endRow = null;
20097     }
20098 
20099     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
20100       return this.tinfo;
20101     }
20102 
20103     public compact_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
20104       this.tinfo = tinfo;
20105       return this;
20106     }
20107 
20108     public void unsetTinfo() {
20109       this.tinfo = null;
20110     }
20111 
20112     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
20113     public boolean isSetTinfo() {
20114       return this.tinfo != null;
20115     }
20116 
20117     public void setTinfoIsSet(boolean value) {
20118       if (!value) {
20119         this.tinfo = null;
20120       }
20121     }
20122 
20123     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
20124       return this.credential;
20125     }
20126 
20127     public compact_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
20128       this.credential = credential;
20129       return this;
20130     }
20131 
20132     public void unsetCredential() {
20133       this.credential = null;
20134     }
20135 
20136     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
20137     public boolean isSetCredential() {
20138       return this.credential != null;
20139     }
20140 
20141     public void setCredentialIsSet(boolean value) {
20142       if (!value) {
20143         this.credential = null;
20144       }
20145     }
20146 
20147     public String getLock() {
20148       return this.lock;
20149     }
20150 
20151     public compact_args setLock(String lock) {
20152       this.lock = lock;
20153       return this;
20154     }
20155 
20156     public void unsetLock() {
20157       this.lock = null;
20158     }
20159 
20160     /** Returns true if field lock is set (has been assigned a value) and false otherwise */
20161     public boolean isSetLock() {
20162       return this.lock != null;
20163     }
20164 
20165     public void setLockIsSet(boolean value) {
20166       if (!value) {
20167         this.lock = null;
20168       }
20169     }
20170 
20171     public String getTableId() {
20172       return this.tableId;
20173     }
20174 
20175     public compact_args setTableId(String tableId) {
20176       this.tableId = tableId;
20177       return this;
20178     }
20179 
20180     public void unsetTableId() {
20181       this.tableId = null;
20182     }
20183 
20184     /** Returns true if field tableId is set (has been assigned a value) and false otherwise */
20185     public boolean isSetTableId() {
20186       return this.tableId != null;
20187     }
20188 
20189     public void setTableIdIsSet(boolean value) {
20190       if (!value) {
20191         this.tableId = null;
20192       }
20193     }
20194 
20195     public byte[] getStartRow() {
20196       setStartRow(org.apache.thrift.TBaseHelper.rightSize(startRow));
20197       return startRow == null ? null : startRow.array();
20198     }
20199 
20200     public ByteBuffer bufferForStartRow() {
20201       return startRow;
20202     }
20203 
20204     public compact_args setStartRow(byte[] startRow) {
20205       setStartRow(startRow == null ? (ByteBuffer)null : ByteBuffer.wrap(startRow));
20206       return this;
20207     }
20208 
20209     public compact_args setStartRow(ByteBuffer startRow) {
20210       this.startRow = startRow;
20211       return this;
20212     }
20213 
20214     public void unsetStartRow() {
20215       this.startRow = null;
20216     }
20217 
20218     /** Returns true if field startRow is set (has been assigned a value) and false otherwise */
20219     public boolean isSetStartRow() {
20220       return this.startRow != null;
20221     }
20222 
20223     public void setStartRowIsSet(boolean value) {
20224       if (!value) {
20225         this.startRow = null;
20226       }
20227     }
20228 
20229     public byte[] getEndRow() {
20230       setEndRow(org.apache.thrift.TBaseHelper.rightSize(endRow));
20231       return endRow == null ? null : endRow.array();
20232     }
20233 
20234     public ByteBuffer bufferForEndRow() {
20235       return endRow;
20236     }
20237 
20238     public compact_args setEndRow(byte[] endRow) {
20239       setEndRow(endRow == null ? (ByteBuffer)null : ByteBuffer.wrap(endRow));
20240       return this;
20241     }
20242 
20243     public compact_args setEndRow(ByteBuffer endRow) {
20244       this.endRow = endRow;
20245       return this;
20246     }
20247 
20248     public void unsetEndRow() {
20249       this.endRow = null;
20250     }
20251 
20252     /** Returns true if field endRow is set (has been assigned a value) and false otherwise */
20253     public boolean isSetEndRow() {
20254       return this.endRow != null;
20255     }
20256 
20257     public void setEndRowIsSet(boolean value) {
20258       if (!value) {
20259         this.endRow = null;
20260       }
20261     }
20262 
20263     public void setFieldValue(_Fields field, Object value) {
20264       switch (field) {
20265       case TINFO:
20266         if (value == null) {
20267           unsetTinfo();
20268         } else {
20269           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
20270         }
20271         break;
20272 
20273       case CREDENTIAL:
20274         if (value == null) {
20275           unsetCredential();
20276         } else {
20277           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
20278         }
20279         break;
20280 
20281       case LOCK:
20282         if (value == null) {
20283           unsetLock();
20284         } else {
20285           setLock((String)value);
20286         }
20287         break;
20288 
20289       case TABLE_ID:
20290         if (value == null) {
20291           unsetTableId();
20292         } else {
20293           setTableId((String)value);
20294         }
20295         break;
20296 
20297       case START_ROW:
20298         if (value == null) {
20299           unsetStartRow();
20300         } else {
20301           setStartRow((ByteBuffer)value);
20302         }
20303         break;
20304 
20305       case END_ROW:
20306         if (value == null) {
20307           unsetEndRow();
20308         } else {
20309           setEndRow((ByteBuffer)value);
20310         }
20311         break;
20312 
20313       }
20314     }
20315 
20316     public Object getFieldValue(_Fields field) {
20317       switch (field) {
20318       case TINFO:
20319         return getTinfo();
20320 
20321       case CREDENTIAL:
20322         return getCredential();
20323 
20324       case LOCK:
20325         return getLock();
20326 
20327       case TABLE_ID:
20328         return getTableId();
20329 
20330       case START_ROW:
20331         return getStartRow();
20332 
20333       case END_ROW:
20334         return getEndRow();
20335 
20336       }
20337       throw new IllegalStateException();
20338     }
20339 
20340     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
20341     public boolean isSet(_Fields field) {
20342       if (field == null) {
20343         throw new IllegalArgumentException();
20344       }
20345 
20346       switch (field) {
20347       case TINFO:
20348         return isSetTinfo();
20349       case CREDENTIAL:
20350         return isSetCredential();
20351       case LOCK:
20352         return isSetLock();
20353       case TABLE_ID:
20354         return isSetTableId();
20355       case START_ROW:
20356         return isSetStartRow();
20357       case END_ROW:
20358         return isSetEndRow();
20359       }
20360       throw new IllegalStateException();
20361     }
20362 
20363     @Override
20364     public boolean equals(Object that) {
20365       if (that == null)
20366         return false;
20367       if (that instanceof compact_args)
20368         return this.equals((compact_args)that);
20369       return false;
20370     }
20371 
20372     public boolean equals(compact_args that) {
20373       if (that == null)
20374         return false;
20375 
20376       boolean this_present_tinfo = true && this.isSetTinfo();
20377       boolean that_present_tinfo = true && that.isSetTinfo();
20378       if (this_present_tinfo || that_present_tinfo) {
20379         if (!(this_present_tinfo && that_present_tinfo))
20380           return false;
20381         if (!this.tinfo.equals(that.tinfo))
20382           return false;
20383       }
20384 
20385       boolean this_present_credential = true && this.isSetCredential();
20386       boolean that_present_credential = true && that.isSetCredential();
20387       if (this_present_credential || that_present_credential) {
20388         if (!(this_present_credential && that_present_credential))
20389           return false;
20390         if (!this.credential.equals(that.credential))
20391           return false;
20392       }
20393 
20394       boolean this_present_lock = true && this.isSetLock();
20395       boolean that_present_lock = true && that.isSetLock();
20396       if (this_present_lock || that_present_lock) {
20397         if (!(this_present_lock && that_present_lock))
20398           return false;
20399         if (!this.lock.equals(that.lock))
20400           return false;
20401       }
20402 
20403       boolean this_present_tableId = true && this.isSetTableId();
20404       boolean that_present_tableId = true && that.isSetTableId();
20405       if (this_present_tableId || that_present_tableId) {
20406         if (!(this_present_tableId && that_present_tableId))
20407           return false;
20408         if (!this.tableId.equals(that.tableId))
20409           return false;
20410       }
20411 
20412       boolean this_present_startRow = true && this.isSetStartRow();
20413       boolean that_present_startRow = true && that.isSetStartRow();
20414       if (this_present_startRow || that_present_startRow) {
20415         if (!(this_present_startRow && that_present_startRow))
20416           return false;
20417         if (!this.startRow.equals(that.startRow))
20418           return false;
20419       }
20420 
20421       boolean this_present_endRow = true && this.isSetEndRow();
20422       boolean that_present_endRow = true && that.isSetEndRow();
20423       if (this_present_endRow || that_present_endRow) {
20424         if (!(this_present_endRow && that_present_endRow))
20425           return false;
20426         if (!this.endRow.equals(that.endRow))
20427           return false;
20428       }
20429 
20430       return true;
20431     }
20432 
20433     @Override
20434     public int hashCode() {
20435       return 0;
20436     }
20437 
20438     public int compareTo(compact_args other) {
20439       if (!getClass().equals(other.getClass())) {
20440         return getClass().getName().compareTo(other.getClass().getName());
20441       }
20442 
20443       int lastComparison = 0;
20444       compact_args typedOther = (compact_args)other;
20445 
20446       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
20447       if (lastComparison != 0) {
20448         return lastComparison;
20449       }
20450       if (isSetTinfo()) {
20451         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
20452         if (lastComparison != 0) {
20453           return lastComparison;
20454         }
20455       }
20456       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
20457       if (lastComparison != 0) {
20458         return lastComparison;
20459       }
20460       if (isSetCredential()) {
20461         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
20462         if (lastComparison != 0) {
20463           return lastComparison;
20464         }
20465       }
20466       lastComparison = Boolean.valueOf(isSetLock()).compareTo(typedOther.isSetLock());
20467       if (lastComparison != 0) {
20468         return lastComparison;
20469       }
20470       if (isSetLock()) {
20471         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lock, typedOther.lock);
20472         if (lastComparison != 0) {
20473           return lastComparison;
20474         }
20475       }
20476       lastComparison = Boolean.valueOf(isSetTableId()).compareTo(typedOther.isSetTableId());
20477       if (lastComparison != 0) {
20478         return lastComparison;
20479       }
20480       if (isSetTableId()) {
20481         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableId, typedOther.tableId);
20482         if (lastComparison != 0) {
20483           return lastComparison;
20484         }
20485       }
20486       lastComparison = Boolean.valueOf(isSetStartRow()).compareTo(typedOther.isSetStartRow());
20487       if (lastComparison != 0) {
20488         return lastComparison;
20489       }
20490       if (isSetStartRow()) {
20491         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startRow, typedOther.startRow);
20492         if (lastComparison != 0) {
20493           return lastComparison;
20494         }
20495       }
20496       lastComparison = Boolean.valueOf(isSetEndRow()).compareTo(typedOther.isSetEndRow());
20497       if (lastComparison != 0) {
20498         return lastComparison;
20499       }
20500       if (isSetEndRow()) {
20501         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.endRow, typedOther.endRow);
20502         if (lastComparison != 0) {
20503           return lastComparison;
20504         }
20505       }
20506       return 0;
20507     }
20508 
20509     public _Fields fieldForId(int fieldId) {
20510       return _Fields.findByThriftId(fieldId);
20511     }
20512 
20513     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
20514       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
20515     }
20516 
20517     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
20518       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
20519     }
20520 
20521     @Override
20522     public String toString() {
20523       StringBuilder sb = new StringBuilder("compact_args(");
20524       boolean first = true;
20525 
20526       sb.append("tinfo:");
20527       if (this.tinfo == null) {
20528         sb.append("null");
20529       } else {
20530         sb.append(this.tinfo);
20531       }
20532       first = false;
20533       if (!first) sb.append(", ");
20534       sb.append("credential:");
20535       if (this.credential == null) {
20536         sb.append("null");
20537       } else {
20538         sb.append(this.credential);
20539       }
20540       first = false;
20541       if (!first) sb.append(", ");
20542       sb.append("lock:");
20543       if (this.lock == null) {
20544         sb.append("null");
20545       } else {
20546         sb.append(this.lock);
20547       }
20548       first = false;
20549       if (!first) sb.append(", ");
20550       sb.append("tableId:");
20551       if (this.tableId == null) {
20552         sb.append("null");
20553       } else {
20554         sb.append(this.tableId);
20555       }
20556       first = false;
20557       if (!first) sb.append(", ");
20558       sb.append("startRow:");
20559       if (this.startRow == null) {
20560         sb.append("null");
20561       } else {
20562         org.apache.thrift.TBaseHelper.toString(this.startRow, sb);
20563       }
20564       first = false;
20565       if (!first) sb.append(", ");
20566       sb.append("endRow:");
20567       if (this.endRow == null) {
20568         sb.append("null");
20569       } else {
20570         org.apache.thrift.TBaseHelper.toString(this.endRow, sb);
20571       }
20572       first = false;
20573       sb.append(")");
20574       return sb.toString();
20575     }
20576 
20577     public void validate() throws org.apache.thrift.TException {
20578       // check for required fields
20579       // check for sub-struct validity
20580       if (tinfo != null) {
20581         tinfo.validate();
20582       }
20583       if (credential != null) {
20584         credential.validate();
20585       }
20586     }
20587 
20588     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
20589       try {
20590         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
20591       } catch (org.apache.thrift.TException te) {
20592         throw new java.io.IOException(te);
20593       }
20594     }
20595 
20596     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
20597       try {
20598         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
20599       } catch (org.apache.thrift.TException te) {
20600         throw new java.io.IOException(te);
20601       }
20602     }
20603 
20604     private static class compact_argsStandardSchemeFactory implements SchemeFactory {
20605       public compact_argsStandardScheme getScheme() {
20606         return new compact_argsStandardScheme();
20607       }
20608     }
20609 
20610     private static class compact_argsStandardScheme extends StandardScheme<compact_args> {
20611 
20612       public void read(org.apache.thrift.protocol.TProtocol iprot, compact_args struct) throws org.apache.thrift.TException {
20613         org.apache.thrift.protocol.TField schemeField;
20614         iprot.readStructBegin();
20615         while (true)
20616         {
20617           schemeField = iprot.readFieldBegin();
20618           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
20619             break;
20620           }
20621           switch (schemeField.id) {
20622             case 1: // TINFO
20623               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
20624                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
20625                 struct.tinfo.read(iprot);
20626                 struct.setTinfoIsSet(true);
20627               } else { 
20628                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
20629               }
20630               break;
20631             case 2: // CREDENTIAL
20632               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
20633                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
20634                 struct.credential.read(iprot);
20635                 struct.setCredentialIsSet(true);
20636               } else { 
20637                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
20638               }
20639               break;
20640             case 3: // LOCK
20641               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
20642                 struct.lock = iprot.readString();
20643                 struct.setLockIsSet(true);
20644               } else { 
20645                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
20646               }
20647               break;
20648             case 4: // TABLE_ID
20649               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
20650                 struct.tableId = iprot.readString();
20651                 struct.setTableIdIsSet(true);
20652               } else { 
20653                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
20654               }
20655               break;
20656             case 5: // START_ROW
20657               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
20658                 struct.startRow = iprot.readBinary();
20659                 struct.setStartRowIsSet(true);
20660               } else { 
20661                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
20662               }
20663               break;
20664             case 6: // END_ROW
20665               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
20666                 struct.endRow = iprot.readBinary();
20667                 struct.setEndRowIsSet(true);
20668               } else { 
20669                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
20670               }
20671               break;
20672             default:
20673               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
20674           }
20675           iprot.readFieldEnd();
20676         }
20677         iprot.readStructEnd();
20678 
20679         // check for required fields of primitive type, which can't be checked in the validate method
20680         struct.validate();
20681       }
20682 
20683       public void write(org.apache.thrift.protocol.TProtocol oprot, compact_args struct) throws org.apache.thrift.TException {
20684         struct.validate();
20685 
20686         oprot.writeStructBegin(STRUCT_DESC);
20687         if (struct.tinfo != null) {
20688           oprot.writeFieldBegin(TINFO_FIELD_DESC);
20689           struct.tinfo.write(oprot);
20690           oprot.writeFieldEnd();
20691         }
20692         if (struct.credential != null) {
20693           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
20694           struct.credential.write(oprot);
20695           oprot.writeFieldEnd();
20696         }
20697         if (struct.lock != null) {
20698           oprot.writeFieldBegin(LOCK_FIELD_DESC);
20699           oprot.writeString(struct.lock);
20700           oprot.writeFieldEnd();
20701         }
20702         if (struct.tableId != null) {
20703           oprot.writeFieldBegin(TABLE_ID_FIELD_DESC);
20704           oprot.writeString(struct.tableId);
20705           oprot.writeFieldEnd();
20706         }
20707         if (struct.startRow != null) {
20708           oprot.writeFieldBegin(START_ROW_FIELD_DESC);
20709           oprot.writeBinary(struct.startRow);
20710           oprot.writeFieldEnd();
20711         }
20712         if (struct.endRow != null) {
20713           oprot.writeFieldBegin(END_ROW_FIELD_DESC);
20714           oprot.writeBinary(struct.endRow);
20715           oprot.writeFieldEnd();
20716         }
20717         oprot.writeFieldStop();
20718         oprot.writeStructEnd();
20719       }
20720 
20721     }
20722 
20723     private static class compact_argsTupleSchemeFactory implements SchemeFactory {
20724       public compact_argsTupleScheme getScheme() {
20725         return new compact_argsTupleScheme();
20726       }
20727     }
20728 
20729     private static class compact_argsTupleScheme extends TupleScheme<compact_args> {
20730 
20731       @Override
20732       public void write(org.apache.thrift.protocol.TProtocol prot, compact_args struct) throws org.apache.thrift.TException {
20733         TTupleProtocol oprot = (TTupleProtocol) prot;
20734         BitSet optionals = new BitSet();
20735         if (struct.isSetTinfo()) {
20736           optionals.set(0);
20737         }
20738         if (struct.isSetCredential()) {
20739           optionals.set(1);
20740         }
20741         if (struct.isSetLock()) {
20742           optionals.set(2);
20743         }
20744         if (struct.isSetTableId()) {
20745           optionals.set(3);
20746         }
20747         if (struct.isSetStartRow()) {
20748           optionals.set(4);
20749         }
20750         if (struct.isSetEndRow()) {
20751           optionals.set(5);
20752         }
20753         oprot.writeBitSet(optionals, 6);
20754         if (struct.isSetTinfo()) {
20755           struct.tinfo.write(oprot);
20756         }
20757         if (struct.isSetCredential()) {
20758           struct.credential.write(oprot);
20759         }
20760         if (struct.isSetLock()) {
20761           oprot.writeString(struct.lock);
20762         }
20763         if (struct.isSetTableId()) {
20764           oprot.writeString(struct.tableId);
20765         }
20766         if (struct.isSetStartRow()) {
20767           oprot.writeBinary(struct.startRow);
20768         }
20769         if (struct.isSetEndRow()) {
20770           oprot.writeBinary(struct.endRow);
20771         }
20772       }
20773 
20774       @Override
20775       public void read(org.apache.thrift.protocol.TProtocol prot, compact_args struct) throws org.apache.thrift.TException {
20776         TTupleProtocol iprot = (TTupleProtocol) prot;
20777         BitSet incoming = iprot.readBitSet(6);
20778         if (incoming.get(0)) {
20779           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
20780           struct.tinfo.read(iprot);
20781           struct.setTinfoIsSet(true);
20782         }
20783         if (incoming.get(1)) {
20784           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
20785           struct.credential.read(iprot);
20786           struct.setCredentialIsSet(true);
20787         }
20788         if (incoming.get(2)) {
20789           struct.lock = iprot.readString();
20790           struct.setLockIsSet(true);
20791         }
20792         if (incoming.get(3)) {
20793           struct.tableId = iprot.readString();
20794           struct.setTableIdIsSet(true);
20795         }
20796         if (incoming.get(4)) {
20797           struct.startRow = iprot.readBinary();
20798           struct.setStartRowIsSet(true);
20799         }
20800         if (incoming.get(5)) {
20801           struct.endRow = iprot.readBinary();
20802           struct.setEndRowIsSet(true);
20803         }
20804       }
20805     }
20806 
20807   }
20808 
20809   public static class getTabletServerStatus_args implements org.apache.thrift.TBase<getTabletServerStatus_args, getTabletServerStatus_args._Fields>, java.io.Serializable, Cloneable   {
20810     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getTabletServerStatus_args");
20811 
20812     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);
20813     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);
20814 
20815     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
20816     static {
20817       schemes.put(StandardScheme.class, new getTabletServerStatus_argsStandardSchemeFactory());
20818       schemes.put(TupleScheme.class, new getTabletServerStatus_argsTupleSchemeFactory());
20819     }
20820 
20821     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
20822     public org.apache.accumulo.core.security.thrift.Credential credential; // required
20823 
20824     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
20825     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
20826       TINFO((short)3, "tinfo"),
20827       CREDENTIAL((short)1, "credential");
20828 
20829       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
20830 
20831       static {
20832         for (_Fields field : EnumSet.allOf(_Fields.class)) {
20833           byName.put(field.getFieldName(), field);
20834         }
20835       }
20836 
20837       /**
20838        * Find the _Fields constant that matches fieldId, or null if its not found.
20839        */
20840       public static _Fields findByThriftId(int fieldId) {
20841         switch(fieldId) {
20842           case 3: // TINFO
20843             return TINFO;
20844           case 1: // CREDENTIAL
20845             return CREDENTIAL;
20846           default:
20847             return null;
20848         }
20849       }
20850 
20851       /**
20852        * Find the _Fields constant that matches fieldId, throwing an exception
20853        * if it is not found.
20854        */
20855       public static _Fields findByThriftIdOrThrow(int fieldId) {
20856         _Fields fields = findByThriftId(fieldId);
20857         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
20858         return fields;
20859       }
20860 
20861       /**
20862        * Find the _Fields constant that matches name, or null if its not found.
20863        */
20864       public static _Fields findByName(String name) {
20865         return byName.get(name);
20866       }
20867 
20868       private final short _thriftId;
20869       private final String _fieldName;
20870 
20871       _Fields(short thriftId, String fieldName) {
20872         _thriftId = thriftId;
20873         _fieldName = fieldName;
20874       }
20875 
20876       public short getThriftFieldId() {
20877         return _thriftId;
20878       }
20879 
20880       public String getFieldName() {
20881         return _fieldName;
20882       }
20883     }
20884 
20885     // isset id assignments
20886     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
20887     static {
20888       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
20889       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
20890           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
20891       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
20892           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
20893       metaDataMap = Collections.unmodifiableMap(tmpMap);
20894       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTabletServerStatus_args.class, metaDataMap);
20895     }
20896 
20897     public getTabletServerStatus_args() {
20898     }
20899 
20900     public getTabletServerStatus_args(
20901       org.apache.accumulo.trace.thrift.TInfo tinfo,
20902       org.apache.accumulo.core.security.thrift.Credential credential)
20903     {
20904       this();
20905       this.tinfo = tinfo;
20906       this.credential = credential;
20907     }
20908 
20909     /**
20910      * Performs a deep copy on <i>other</i>.
20911      */
20912     public getTabletServerStatus_args(getTabletServerStatus_args other) {
20913       if (other.isSetTinfo()) {
20914         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
20915       }
20916       if (other.isSetCredential()) {
20917         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
20918       }
20919     }
20920 
20921     public getTabletServerStatus_args deepCopy() {
20922       return new getTabletServerStatus_args(this);
20923     }
20924 
20925     @Override
20926     public void clear() {
20927       this.tinfo = null;
20928       this.credential = null;
20929     }
20930 
20931     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
20932       return this.tinfo;
20933     }
20934 
20935     public getTabletServerStatus_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
20936       this.tinfo = tinfo;
20937       return this;
20938     }
20939 
20940     public void unsetTinfo() {
20941       this.tinfo = null;
20942     }
20943 
20944     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
20945     public boolean isSetTinfo() {
20946       return this.tinfo != null;
20947     }
20948 
20949     public void setTinfoIsSet(boolean value) {
20950       if (!value) {
20951         this.tinfo = null;
20952       }
20953     }
20954 
20955     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
20956       return this.credential;
20957     }
20958 
20959     public getTabletServerStatus_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
20960       this.credential = credential;
20961       return this;
20962     }
20963 
20964     public void unsetCredential() {
20965       this.credential = null;
20966     }
20967 
20968     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
20969     public boolean isSetCredential() {
20970       return this.credential != null;
20971     }
20972 
20973     public void setCredentialIsSet(boolean value) {
20974       if (!value) {
20975         this.credential = null;
20976       }
20977     }
20978 
20979     public void setFieldValue(_Fields field, Object value) {
20980       switch (field) {
20981       case TINFO:
20982         if (value == null) {
20983           unsetTinfo();
20984         } else {
20985           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
20986         }
20987         break;
20988 
20989       case CREDENTIAL:
20990         if (value == null) {
20991           unsetCredential();
20992         } else {
20993           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
20994         }
20995         break;
20996 
20997       }
20998     }
20999 
21000     public Object getFieldValue(_Fields field) {
21001       switch (field) {
21002       case TINFO:
21003         return getTinfo();
21004 
21005       case CREDENTIAL:
21006         return getCredential();
21007 
21008       }
21009       throw new IllegalStateException();
21010     }
21011 
21012     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
21013     public boolean isSet(_Fields field) {
21014       if (field == null) {
21015         throw new IllegalArgumentException();
21016       }
21017 
21018       switch (field) {
21019       case TINFO:
21020         return isSetTinfo();
21021       case CREDENTIAL:
21022         return isSetCredential();
21023       }
21024       throw new IllegalStateException();
21025     }
21026 
21027     @Override
21028     public boolean equals(Object that) {
21029       if (that == null)
21030         return false;
21031       if (that instanceof getTabletServerStatus_args)
21032         return this.equals((getTabletServerStatus_args)that);
21033       return false;
21034     }
21035 
21036     public boolean equals(getTabletServerStatus_args that) {
21037       if (that == null)
21038         return false;
21039 
21040       boolean this_present_tinfo = true && this.isSetTinfo();
21041       boolean that_present_tinfo = true && that.isSetTinfo();
21042       if (this_present_tinfo || that_present_tinfo) {
21043         if (!(this_present_tinfo && that_present_tinfo))
21044           return false;
21045         if (!this.tinfo.equals(that.tinfo))
21046           return false;
21047       }
21048 
21049       boolean this_present_credential = true && this.isSetCredential();
21050       boolean that_present_credential = true && that.isSetCredential();
21051       if (this_present_credential || that_present_credential) {
21052         if (!(this_present_credential && that_present_credential))
21053           return false;
21054         if (!this.credential.equals(that.credential))
21055           return false;
21056       }
21057 
21058       return true;
21059     }
21060 
21061     @Override
21062     public int hashCode() {
21063       return 0;
21064     }
21065 
21066     public int compareTo(getTabletServerStatus_args other) {
21067       if (!getClass().equals(other.getClass())) {
21068         return getClass().getName().compareTo(other.getClass().getName());
21069       }
21070 
21071       int lastComparison = 0;
21072       getTabletServerStatus_args typedOther = (getTabletServerStatus_args)other;
21073 
21074       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
21075       if (lastComparison != 0) {
21076         return lastComparison;
21077       }
21078       if (isSetTinfo()) {
21079         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
21080         if (lastComparison != 0) {
21081           return lastComparison;
21082         }
21083       }
21084       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
21085       if (lastComparison != 0) {
21086         return lastComparison;
21087       }
21088       if (isSetCredential()) {
21089         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
21090         if (lastComparison != 0) {
21091           return lastComparison;
21092         }
21093       }
21094       return 0;
21095     }
21096 
21097     public _Fields fieldForId(int fieldId) {
21098       return _Fields.findByThriftId(fieldId);
21099     }
21100 
21101     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
21102       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
21103     }
21104 
21105     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
21106       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
21107     }
21108 
21109     @Override
21110     public String toString() {
21111       StringBuilder sb = new StringBuilder("getTabletServerStatus_args(");
21112       boolean first = true;
21113 
21114       sb.append("tinfo:");
21115       if (this.tinfo == null) {
21116         sb.append("null");
21117       } else {
21118         sb.append(this.tinfo);
21119       }
21120       first = false;
21121       if (!first) sb.append(", ");
21122       sb.append("credential:");
21123       if (this.credential == null) {
21124         sb.append("null");
21125       } else {
21126         sb.append(this.credential);
21127       }
21128       first = false;
21129       sb.append(")");
21130       return sb.toString();
21131     }
21132 
21133     public void validate() throws org.apache.thrift.TException {
21134       // check for required fields
21135       // check for sub-struct validity
21136       if (tinfo != null) {
21137         tinfo.validate();
21138       }
21139       if (credential != null) {
21140         credential.validate();
21141       }
21142     }
21143 
21144     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
21145       try {
21146         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
21147       } catch (org.apache.thrift.TException te) {
21148         throw new java.io.IOException(te);
21149       }
21150     }
21151 
21152     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
21153       try {
21154         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
21155       } catch (org.apache.thrift.TException te) {
21156         throw new java.io.IOException(te);
21157       }
21158     }
21159 
21160     private static class getTabletServerStatus_argsStandardSchemeFactory implements SchemeFactory {
21161       public getTabletServerStatus_argsStandardScheme getScheme() {
21162         return new getTabletServerStatus_argsStandardScheme();
21163       }
21164     }
21165 
21166     private static class getTabletServerStatus_argsStandardScheme extends StandardScheme<getTabletServerStatus_args> {
21167 
21168       public void read(org.apache.thrift.protocol.TProtocol iprot, getTabletServerStatus_args struct) throws org.apache.thrift.TException {
21169         org.apache.thrift.protocol.TField schemeField;
21170         iprot.readStructBegin();
21171         while (true)
21172         {
21173           schemeField = iprot.readFieldBegin();
21174           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
21175             break;
21176           }
21177           switch (schemeField.id) {
21178             case 3: // TINFO
21179               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
21180                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
21181                 struct.tinfo.read(iprot);
21182                 struct.setTinfoIsSet(true);
21183               } else { 
21184                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
21185               }
21186               break;
21187             case 1: // CREDENTIAL
21188               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
21189                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
21190                 struct.credential.read(iprot);
21191                 struct.setCredentialIsSet(true);
21192               } else { 
21193                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
21194               }
21195               break;
21196             default:
21197               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
21198           }
21199           iprot.readFieldEnd();
21200         }
21201         iprot.readStructEnd();
21202 
21203         // check for required fields of primitive type, which can't be checked in the validate method
21204         struct.validate();
21205       }
21206 
21207       public void write(org.apache.thrift.protocol.TProtocol oprot, getTabletServerStatus_args struct) throws org.apache.thrift.TException {
21208         struct.validate();
21209 
21210         oprot.writeStructBegin(STRUCT_DESC);
21211         if (struct.credential != null) {
21212           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
21213           struct.credential.write(oprot);
21214           oprot.writeFieldEnd();
21215         }
21216         if (struct.tinfo != null) {
21217           oprot.writeFieldBegin(TINFO_FIELD_DESC);
21218           struct.tinfo.write(oprot);
21219           oprot.writeFieldEnd();
21220         }
21221         oprot.writeFieldStop();
21222         oprot.writeStructEnd();
21223       }
21224 
21225     }
21226 
21227     private static class getTabletServerStatus_argsTupleSchemeFactory implements SchemeFactory {
21228       public getTabletServerStatus_argsTupleScheme getScheme() {
21229         return new getTabletServerStatus_argsTupleScheme();
21230       }
21231     }
21232 
21233     private static class getTabletServerStatus_argsTupleScheme extends TupleScheme<getTabletServerStatus_args> {
21234 
21235       @Override
21236       public void write(org.apache.thrift.protocol.TProtocol prot, getTabletServerStatus_args struct) throws org.apache.thrift.TException {
21237         TTupleProtocol oprot = (TTupleProtocol) prot;
21238         BitSet optionals = new BitSet();
21239         if (struct.isSetTinfo()) {
21240           optionals.set(0);
21241         }
21242         if (struct.isSetCredential()) {
21243           optionals.set(1);
21244         }
21245         oprot.writeBitSet(optionals, 2);
21246         if (struct.isSetTinfo()) {
21247           struct.tinfo.write(oprot);
21248         }
21249         if (struct.isSetCredential()) {
21250           struct.credential.write(oprot);
21251         }
21252       }
21253 
21254       @Override
21255       public void read(org.apache.thrift.protocol.TProtocol prot, getTabletServerStatus_args struct) throws org.apache.thrift.TException {
21256         TTupleProtocol iprot = (TTupleProtocol) prot;
21257         BitSet incoming = iprot.readBitSet(2);
21258         if (incoming.get(0)) {
21259           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
21260           struct.tinfo.read(iprot);
21261           struct.setTinfoIsSet(true);
21262         }
21263         if (incoming.get(1)) {
21264           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
21265           struct.credential.read(iprot);
21266           struct.setCredentialIsSet(true);
21267         }
21268       }
21269     }
21270 
21271   }
21272 
21273   public static class getTabletServerStatus_result implements org.apache.thrift.TBase<getTabletServerStatus_result, getTabletServerStatus_result._Fields>, java.io.Serializable, Cloneable   {
21274     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getTabletServerStatus_result");
21275 
21276     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);
21277     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);
21278 
21279     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
21280     static {
21281       schemes.put(StandardScheme.class, new getTabletServerStatus_resultStandardSchemeFactory());
21282       schemes.put(TupleScheme.class, new getTabletServerStatus_resultTupleSchemeFactory());
21283     }
21284 
21285     public org.apache.accumulo.core.master.thrift.TabletServerStatus success; // required
21286     public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required
21287 
21288     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
21289     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
21290       SUCCESS((short)0, "success"),
21291       SEC((short)1, "sec");
21292 
21293       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
21294 
21295       static {
21296         for (_Fields field : EnumSet.allOf(_Fields.class)) {
21297           byName.put(field.getFieldName(), field);
21298         }
21299       }
21300 
21301       /**
21302        * Find the _Fields constant that matches fieldId, or null if its not found.
21303        */
21304       public static _Fields findByThriftId(int fieldId) {
21305         switch(fieldId) {
21306           case 0: // SUCCESS
21307             return SUCCESS;
21308           case 1: // SEC
21309             return SEC;
21310           default:
21311             return null;
21312         }
21313       }
21314 
21315       /**
21316        * Find the _Fields constant that matches fieldId, throwing an exception
21317        * if it is not found.
21318        */
21319       public static _Fields findByThriftIdOrThrow(int fieldId) {
21320         _Fields fields = findByThriftId(fieldId);
21321         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
21322         return fields;
21323       }
21324 
21325       /**
21326        * Find the _Fields constant that matches name, or null if its not found.
21327        */
21328       public static _Fields findByName(String name) {
21329         return byName.get(name);
21330       }
21331 
21332       private final short _thriftId;
21333       private final String _fieldName;
21334 
21335       _Fields(short thriftId, String fieldName) {
21336         _thriftId = thriftId;
21337         _fieldName = fieldName;
21338       }
21339 
21340       public short getThriftFieldId() {
21341         return _thriftId;
21342       }
21343 
21344       public String getFieldName() {
21345         return _fieldName;
21346       }
21347     }
21348 
21349     // isset id assignments
21350     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
21351     static {
21352       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
21353       tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
21354           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.master.thrift.TabletServerStatus.class)));
21355       tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, 
21356           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
21357       metaDataMap = Collections.unmodifiableMap(tmpMap);
21358       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTabletServerStatus_result.class, metaDataMap);
21359     }
21360 
21361     public getTabletServerStatus_result() {
21362     }
21363 
21364     public getTabletServerStatus_result(
21365       org.apache.accumulo.core.master.thrift.TabletServerStatus success,
21366       org.apache.accumulo.core.security.thrift.ThriftSecurityException sec)
21367     {
21368       this();
21369       this.success = success;
21370       this.sec = sec;
21371     }
21372 
21373     /**
21374      * Performs a deep copy on <i>other</i>.
21375      */
21376     public getTabletServerStatus_result(getTabletServerStatus_result other) {
21377       if (other.isSetSuccess()) {
21378         this.success = new org.apache.accumulo.core.master.thrift.TabletServerStatus(other.success);
21379       }
21380       if (other.isSetSec()) {
21381         this.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(other.sec);
21382       }
21383     }
21384 
21385     public getTabletServerStatus_result deepCopy() {
21386       return new getTabletServerStatus_result(this);
21387     }
21388 
21389     @Override
21390     public void clear() {
21391       this.success = null;
21392       this.sec = null;
21393     }
21394 
21395     public org.apache.accumulo.core.master.thrift.TabletServerStatus getSuccess() {
21396       return this.success;
21397     }
21398 
21399     public getTabletServerStatus_result setSuccess(org.apache.accumulo.core.master.thrift.TabletServerStatus success) {
21400       this.success = success;
21401       return this;
21402     }
21403 
21404     public void unsetSuccess() {
21405       this.success = null;
21406     }
21407 
21408     /** Returns true if field success is set (has been assigned a value) and false otherwise */
21409     public boolean isSetSuccess() {
21410       return this.success != null;
21411     }
21412 
21413     public void setSuccessIsSet(boolean value) {
21414       if (!value) {
21415         this.success = null;
21416       }
21417     }
21418 
21419     public org.apache.accumulo.core.security.thrift.ThriftSecurityException getSec() {
21420       return this.sec;
21421     }
21422 
21423     public getTabletServerStatus_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
21424       this.sec = sec;
21425       return this;
21426     }
21427 
21428     public void unsetSec() {
21429       this.sec = null;
21430     }
21431 
21432     /** Returns true if field sec is set (has been assigned a value) and false otherwise */
21433     public boolean isSetSec() {
21434       return this.sec != null;
21435     }
21436 
21437     public void setSecIsSet(boolean value) {
21438       if (!value) {
21439         this.sec = null;
21440       }
21441     }
21442 
21443     public void setFieldValue(_Fields field, Object value) {
21444       switch (field) {
21445       case SUCCESS:
21446         if (value == null) {
21447           unsetSuccess();
21448         } else {
21449           setSuccess((org.apache.accumulo.core.master.thrift.TabletServerStatus)value);
21450         }
21451         break;
21452 
21453       case SEC:
21454         if (value == null) {
21455           unsetSec();
21456         } else {
21457           setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value);
21458         }
21459         break;
21460 
21461       }
21462     }
21463 
21464     public Object getFieldValue(_Fields field) {
21465       switch (field) {
21466       case SUCCESS:
21467         return getSuccess();
21468 
21469       case SEC:
21470         return getSec();
21471 
21472       }
21473       throw new IllegalStateException();
21474     }
21475 
21476     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
21477     public boolean isSet(_Fields field) {
21478       if (field == null) {
21479         throw new IllegalArgumentException();
21480       }
21481 
21482       switch (field) {
21483       case SUCCESS:
21484         return isSetSuccess();
21485       case SEC:
21486         return isSetSec();
21487       }
21488       throw new IllegalStateException();
21489     }
21490 
21491     @Override
21492     public boolean equals(Object that) {
21493       if (that == null)
21494         return false;
21495       if (that instanceof getTabletServerStatus_result)
21496         return this.equals((getTabletServerStatus_result)that);
21497       return false;
21498     }
21499 
21500     public boolean equals(getTabletServerStatus_result that) {
21501       if (that == null)
21502         return false;
21503 
21504       boolean this_present_success = true && this.isSetSuccess();
21505       boolean that_present_success = true && that.isSetSuccess();
21506       if (this_present_success || that_present_success) {
21507         if (!(this_present_success && that_present_success))
21508           return false;
21509         if (!this.success.equals(that.success))
21510           return false;
21511       }
21512 
21513       boolean this_present_sec = true && this.isSetSec();
21514       boolean that_present_sec = true && that.isSetSec();
21515       if (this_present_sec || that_present_sec) {
21516         if (!(this_present_sec && that_present_sec))
21517           return false;
21518         if (!this.sec.equals(that.sec))
21519           return false;
21520       }
21521 
21522       return true;
21523     }
21524 
21525     @Override
21526     public int hashCode() {
21527       return 0;
21528     }
21529 
21530     public int compareTo(getTabletServerStatus_result other) {
21531       if (!getClass().equals(other.getClass())) {
21532         return getClass().getName().compareTo(other.getClass().getName());
21533       }
21534 
21535       int lastComparison = 0;
21536       getTabletServerStatus_result typedOther = (getTabletServerStatus_result)other;
21537 
21538       lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
21539       if (lastComparison != 0) {
21540         return lastComparison;
21541       }
21542       if (isSetSuccess()) {
21543         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
21544         if (lastComparison != 0) {
21545           return lastComparison;
21546         }
21547       }
21548       lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec());
21549       if (lastComparison != 0) {
21550         return lastComparison;
21551       }
21552       if (isSetSec()) {
21553         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec);
21554         if (lastComparison != 0) {
21555           return lastComparison;
21556         }
21557       }
21558       return 0;
21559     }
21560 
21561     public _Fields fieldForId(int fieldId) {
21562       return _Fields.findByThriftId(fieldId);
21563     }
21564 
21565     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
21566       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
21567     }
21568 
21569     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
21570       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
21571       }
21572 
21573     @Override
21574     public String toString() {
21575       StringBuilder sb = new StringBuilder("getTabletServerStatus_result(");
21576       boolean first = true;
21577 
21578       sb.append("success:");
21579       if (this.success == null) {
21580         sb.append("null");
21581       } else {
21582         sb.append(this.success);
21583       }
21584       first = false;
21585       if (!first) sb.append(", ");
21586       sb.append("sec:");
21587       if (this.sec == null) {
21588         sb.append("null");
21589       } else {
21590         sb.append(this.sec);
21591       }
21592       first = false;
21593       sb.append(")");
21594       return sb.toString();
21595     }
21596 
21597     public void validate() throws org.apache.thrift.TException {
21598       // check for required fields
21599       // check for sub-struct validity
21600       if (success != null) {
21601         success.validate();
21602       }
21603     }
21604 
21605     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
21606       try {
21607         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
21608       } catch (org.apache.thrift.TException te) {
21609         throw new java.io.IOException(te);
21610       }
21611     }
21612 
21613     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
21614       try {
21615         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
21616       } catch (org.apache.thrift.TException te) {
21617         throw new java.io.IOException(te);
21618       }
21619     }
21620 
21621     private static class getTabletServerStatus_resultStandardSchemeFactory implements SchemeFactory {
21622       public getTabletServerStatus_resultStandardScheme getScheme() {
21623         return new getTabletServerStatus_resultStandardScheme();
21624       }
21625     }
21626 
21627     private static class getTabletServerStatus_resultStandardScheme extends StandardScheme<getTabletServerStatus_result> {
21628 
21629       public void read(org.apache.thrift.protocol.TProtocol iprot, getTabletServerStatus_result struct) throws org.apache.thrift.TException {
21630         org.apache.thrift.protocol.TField schemeField;
21631         iprot.readStructBegin();
21632         while (true)
21633         {
21634           schemeField = iprot.readFieldBegin();
21635           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
21636             break;
21637           }
21638           switch (schemeField.id) {
21639             case 0: // SUCCESS
21640               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
21641                 struct.success = new org.apache.accumulo.core.master.thrift.TabletServerStatus();
21642                 struct.success.read(iprot);
21643                 struct.setSuccessIsSet(true);
21644               } else { 
21645                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
21646               }
21647               break;
21648             case 1: // SEC
21649               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
21650                 struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
21651                 struct.sec.read(iprot);
21652                 struct.setSecIsSet(true);
21653               } else { 
21654                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
21655               }
21656               break;
21657             default:
21658               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
21659           }
21660           iprot.readFieldEnd();
21661         }
21662         iprot.readStructEnd();
21663 
21664         // check for required fields of primitive type, which can't be checked in the validate method
21665         struct.validate();
21666       }
21667 
21668       public void write(org.apache.thrift.protocol.TProtocol oprot, getTabletServerStatus_result struct) throws org.apache.thrift.TException {
21669         struct.validate();
21670 
21671         oprot.writeStructBegin(STRUCT_DESC);
21672         if (struct.success != null) {
21673           oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
21674           struct.success.write(oprot);
21675           oprot.writeFieldEnd();
21676         }
21677         if (struct.sec != null) {
21678           oprot.writeFieldBegin(SEC_FIELD_DESC);
21679           struct.sec.write(oprot);
21680           oprot.writeFieldEnd();
21681         }
21682         oprot.writeFieldStop();
21683         oprot.writeStructEnd();
21684       }
21685 
21686     }
21687 
21688     private static class getTabletServerStatus_resultTupleSchemeFactory implements SchemeFactory {
21689       public getTabletServerStatus_resultTupleScheme getScheme() {
21690         return new getTabletServerStatus_resultTupleScheme();
21691       }
21692     }
21693 
21694     private static class getTabletServerStatus_resultTupleScheme extends TupleScheme<getTabletServerStatus_result> {
21695 
21696       @Override
21697       public void write(org.apache.thrift.protocol.TProtocol prot, getTabletServerStatus_result struct) throws org.apache.thrift.TException {
21698         TTupleProtocol oprot = (TTupleProtocol) prot;
21699         BitSet optionals = new BitSet();
21700         if (struct.isSetSuccess()) {
21701           optionals.set(0);
21702         }
21703         if (struct.isSetSec()) {
21704           optionals.set(1);
21705         }
21706         oprot.writeBitSet(optionals, 2);
21707         if (struct.isSetSuccess()) {
21708           struct.success.write(oprot);
21709         }
21710         if (struct.isSetSec()) {
21711           struct.sec.write(oprot);
21712         }
21713       }
21714 
21715       @Override
21716       public void read(org.apache.thrift.protocol.TProtocol prot, getTabletServerStatus_result struct) throws org.apache.thrift.TException {
21717         TTupleProtocol iprot = (TTupleProtocol) prot;
21718         BitSet incoming = iprot.readBitSet(2);
21719         if (incoming.get(0)) {
21720           struct.success = new org.apache.accumulo.core.master.thrift.TabletServerStatus();
21721           struct.success.read(iprot);
21722           struct.setSuccessIsSet(true);
21723         }
21724         if (incoming.get(1)) {
21725           struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
21726           struct.sec.read(iprot);
21727           struct.setSecIsSet(true);
21728         }
21729       }
21730     }
21731 
21732   }
21733 
21734   public static class getTabletStats_args implements org.apache.thrift.TBase<getTabletStats_args, getTabletStats_args._Fields>, java.io.Serializable, Cloneable   {
21735     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getTabletStats_args");
21736 
21737     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);
21738     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);
21739     private static final org.apache.thrift.protocol.TField TABLE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("tableId", org.apache.thrift.protocol.TType.STRING, (short)2);
21740 
21741     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
21742     static {
21743       schemes.put(StandardScheme.class, new getTabletStats_argsStandardSchemeFactory());
21744       schemes.put(TupleScheme.class, new getTabletStats_argsTupleSchemeFactory());
21745     }
21746 
21747     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
21748     public org.apache.accumulo.core.security.thrift.Credential credential; // required
21749     public String tableId; // required
21750 
21751     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
21752     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
21753       TINFO((short)3, "tinfo"),
21754       CREDENTIAL((short)1, "credential"),
21755       TABLE_ID((short)2, "tableId");
21756 
21757       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
21758 
21759       static {
21760         for (_Fields field : EnumSet.allOf(_Fields.class)) {
21761           byName.put(field.getFieldName(), field);
21762         }
21763       }
21764 
21765       /**
21766        * Find the _Fields constant that matches fieldId, or null if its not found.
21767        */
21768       public static _Fields findByThriftId(int fieldId) {
21769         switch(fieldId) {
21770           case 3: // TINFO
21771             return TINFO;
21772           case 1: // CREDENTIAL
21773             return CREDENTIAL;
21774           case 2: // TABLE_ID
21775             return TABLE_ID;
21776           default:
21777             return null;
21778         }
21779       }
21780 
21781       /**
21782        * Find the _Fields constant that matches fieldId, throwing an exception
21783        * if it is not found.
21784        */
21785       public static _Fields findByThriftIdOrThrow(int fieldId) {
21786         _Fields fields = findByThriftId(fieldId);
21787         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
21788         return fields;
21789       }
21790 
21791       /**
21792        * Find the _Fields constant that matches name, or null if its not found.
21793        */
21794       public static _Fields findByName(String name) {
21795         return byName.get(name);
21796       }
21797 
21798       private final short _thriftId;
21799       private final String _fieldName;
21800 
21801       _Fields(short thriftId, String fieldName) {
21802         _thriftId = thriftId;
21803         _fieldName = fieldName;
21804       }
21805 
21806       public short getThriftFieldId() {
21807         return _thriftId;
21808       }
21809 
21810       public String getFieldName() {
21811         return _fieldName;
21812       }
21813     }
21814 
21815     // isset id assignments
21816     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
21817     static {
21818       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
21819       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
21820           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
21821       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
21822           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
21823       tmpMap.put(_Fields.TABLE_ID, new org.apache.thrift.meta_data.FieldMetaData("tableId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
21824           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
21825       metaDataMap = Collections.unmodifiableMap(tmpMap);
21826       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTabletStats_args.class, metaDataMap);
21827     }
21828 
21829     public getTabletStats_args() {
21830     }
21831 
21832     public getTabletStats_args(
21833       org.apache.accumulo.trace.thrift.TInfo tinfo,
21834       org.apache.accumulo.core.security.thrift.Credential credential,
21835       String tableId)
21836     {
21837       this();
21838       this.tinfo = tinfo;
21839       this.credential = credential;
21840       this.tableId = tableId;
21841     }
21842 
21843     /**
21844      * Performs a deep copy on <i>other</i>.
21845      */
21846     public getTabletStats_args(getTabletStats_args other) {
21847       if (other.isSetTinfo()) {
21848         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
21849       }
21850       if (other.isSetCredential()) {
21851         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
21852       }
21853       if (other.isSetTableId()) {
21854         this.tableId = other.tableId;
21855       }
21856     }
21857 
21858     public getTabletStats_args deepCopy() {
21859       return new getTabletStats_args(this);
21860     }
21861 
21862     @Override
21863     public void clear() {
21864       this.tinfo = null;
21865       this.credential = null;
21866       this.tableId = null;
21867     }
21868 
21869     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
21870       return this.tinfo;
21871     }
21872 
21873     public getTabletStats_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
21874       this.tinfo = tinfo;
21875       return this;
21876     }
21877 
21878     public void unsetTinfo() {
21879       this.tinfo = null;
21880     }
21881 
21882     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
21883     public boolean isSetTinfo() {
21884       return this.tinfo != null;
21885     }
21886 
21887     public void setTinfoIsSet(boolean value) {
21888       if (!value) {
21889         this.tinfo = null;
21890       }
21891     }
21892 
21893     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
21894       return this.credential;
21895     }
21896 
21897     public getTabletStats_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
21898       this.credential = credential;
21899       return this;
21900     }
21901 
21902     public void unsetCredential() {
21903       this.credential = null;
21904     }
21905 
21906     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
21907     public boolean isSetCredential() {
21908       return this.credential != null;
21909     }
21910 
21911     public void setCredentialIsSet(boolean value) {
21912       if (!value) {
21913         this.credential = null;
21914       }
21915     }
21916 
21917     public String getTableId() {
21918       return this.tableId;
21919     }
21920 
21921     public getTabletStats_args setTableId(String tableId) {
21922       this.tableId = tableId;
21923       return this;
21924     }
21925 
21926     public void unsetTableId() {
21927       this.tableId = null;
21928     }
21929 
21930     /** Returns true if field tableId is set (has been assigned a value) and false otherwise */
21931     public boolean isSetTableId() {
21932       return this.tableId != null;
21933     }
21934 
21935     public void setTableIdIsSet(boolean value) {
21936       if (!value) {
21937         this.tableId = null;
21938       }
21939     }
21940 
21941     public void setFieldValue(_Fields field, Object value) {
21942       switch (field) {
21943       case TINFO:
21944         if (value == null) {
21945           unsetTinfo();
21946         } else {
21947           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
21948         }
21949         break;
21950 
21951       case CREDENTIAL:
21952         if (value == null) {
21953           unsetCredential();
21954         } else {
21955           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
21956         }
21957         break;
21958 
21959       case TABLE_ID:
21960         if (value == null) {
21961           unsetTableId();
21962         } else {
21963           setTableId((String)value);
21964         }
21965         break;
21966 
21967       }
21968     }
21969 
21970     public Object getFieldValue(_Fields field) {
21971       switch (field) {
21972       case TINFO:
21973         return getTinfo();
21974 
21975       case CREDENTIAL:
21976         return getCredential();
21977 
21978       case TABLE_ID:
21979         return getTableId();
21980 
21981       }
21982       throw new IllegalStateException();
21983     }
21984 
21985     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
21986     public boolean isSet(_Fields field) {
21987       if (field == null) {
21988         throw new IllegalArgumentException();
21989       }
21990 
21991       switch (field) {
21992       case TINFO:
21993         return isSetTinfo();
21994       case CREDENTIAL:
21995         return isSetCredential();
21996       case TABLE_ID:
21997         return isSetTableId();
21998       }
21999       throw new IllegalStateException();
22000     }
22001 
22002     @Override
22003     public boolean equals(Object that) {
22004       if (that == null)
22005         return false;
22006       if (that instanceof getTabletStats_args)
22007         return this.equals((getTabletStats_args)that);
22008       return false;
22009     }
22010 
22011     public boolean equals(getTabletStats_args that) {
22012       if (that == null)
22013         return false;
22014 
22015       boolean this_present_tinfo = true && this.isSetTinfo();
22016       boolean that_present_tinfo = true && that.isSetTinfo();
22017       if (this_present_tinfo || that_present_tinfo) {
22018         if (!(this_present_tinfo && that_present_tinfo))
22019           return false;
22020         if (!this.tinfo.equals(that.tinfo))
22021           return false;
22022       }
22023 
22024       boolean this_present_credential = true && this.isSetCredential();
22025       boolean that_present_credential = true && that.isSetCredential();
22026       if (this_present_credential || that_present_credential) {
22027         if (!(this_present_credential && that_present_credential))
22028           return false;
22029         if (!this.credential.equals(that.credential))
22030           return false;
22031       }
22032 
22033       boolean this_present_tableId = true && this.isSetTableId();
22034       boolean that_present_tableId = true && that.isSetTableId();
22035       if (this_present_tableId || that_present_tableId) {
22036         if (!(this_present_tableId && that_present_tableId))
22037           return false;
22038         if (!this.tableId.equals(that.tableId))
22039           return false;
22040       }
22041 
22042       return true;
22043     }
22044 
22045     @Override
22046     public int hashCode() {
22047       return 0;
22048     }
22049 
22050     public int compareTo(getTabletStats_args other) {
22051       if (!getClass().equals(other.getClass())) {
22052         return getClass().getName().compareTo(other.getClass().getName());
22053       }
22054 
22055       int lastComparison = 0;
22056       getTabletStats_args typedOther = (getTabletStats_args)other;
22057 
22058       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
22059       if (lastComparison != 0) {
22060         return lastComparison;
22061       }
22062       if (isSetTinfo()) {
22063         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
22064         if (lastComparison != 0) {
22065           return lastComparison;
22066         }
22067       }
22068       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
22069       if (lastComparison != 0) {
22070         return lastComparison;
22071       }
22072       if (isSetCredential()) {
22073         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
22074         if (lastComparison != 0) {
22075           return lastComparison;
22076         }
22077       }
22078       lastComparison = Boolean.valueOf(isSetTableId()).compareTo(typedOther.isSetTableId());
22079       if (lastComparison != 0) {
22080         return lastComparison;
22081       }
22082       if (isSetTableId()) {
22083         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableId, typedOther.tableId);
22084         if (lastComparison != 0) {
22085           return lastComparison;
22086         }
22087       }
22088       return 0;
22089     }
22090 
22091     public _Fields fieldForId(int fieldId) {
22092       return _Fields.findByThriftId(fieldId);
22093     }
22094 
22095     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
22096       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
22097     }
22098 
22099     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
22100       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
22101     }
22102 
22103     @Override
22104     public String toString() {
22105       StringBuilder sb = new StringBuilder("getTabletStats_args(");
22106       boolean first = true;
22107 
22108       sb.append("tinfo:");
22109       if (this.tinfo == null) {
22110         sb.append("null");
22111       } else {
22112         sb.append(this.tinfo);
22113       }
22114       first = false;
22115       if (!first) sb.append(", ");
22116       sb.append("credential:");
22117       if (this.credential == null) {
22118         sb.append("null");
22119       } else {
22120         sb.append(this.credential);
22121       }
22122       first = false;
22123       if (!first) sb.append(", ");
22124       sb.append("tableId:");
22125       if (this.tableId == null) {
22126         sb.append("null");
22127       } else {
22128         sb.append(this.tableId);
22129       }
22130       first = false;
22131       sb.append(")");
22132       return sb.toString();
22133     }
22134 
22135     public void validate() throws org.apache.thrift.TException {
22136       // check for required fields
22137       // check for sub-struct validity
22138       if (tinfo != null) {
22139         tinfo.validate();
22140       }
22141       if (credential != null) {
22142         credential.validate();
22143       }
22144     }
22145 
22146     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
22147       try {
22148         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
22149       } catch (org.apache.thrift.TException te) {
22150         throw new java.io.IOException(te);
22151       }
22152     }
22153 
22154     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
22155       try {
22156         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
22157       } catch (org.apache.thrift.TException te) {
22158         throw new java.io.IOException(te);
22159       }
22160     }
22161 
22162     private static class getTabletStats_argsStandardSchemeFactory implements SchemeFactory {
22163       public getTabletStats_argsStandardScheme getScheme() {
22164         return new getTabletStats_argsStandardScheme();
22165       }
22166     }
22167 
22168     private static class getTabletStats_argsStandardScheme extends StandardScheme<getTabletStats_args> {
22169 
22170       public void read(org.apache.thrift.protocol.TProtocol iprot, getTabletStats_args struct) throws org.apache.thrift.TException {
22171         org.apache.thrift.protocol.TField schemeField;
22172         iprot.readStructBegin();
22173         while (true)
22174         {
22175           schemeField = iprot.readFieldBegin();
22176           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
22177             break;
22178           }
22179           switch (schemeField.id) {
22180             case 3: // TINFO
22181               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
22182                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
22183                 struct.tinfo.read(iprot);
22184                 struct.setTinfoIsSet(true);
22185               } else { 
22186                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
22187               }
22188               break;
22189             case 1: // CREDENTIAL
22190               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
22191                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
22192                 struct.credential.read(iprot);
22193                 struct.setCredentialIsSet(true);
22194               } else { 
22195                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
22196               }
22197               break;
22198             case 2: // TABLE_ID
22199               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
22200                 struct.tableId = iprot.readString();
22201                 struct.setTableIdIsSet(true);
22202               } else { 
22203                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
22204               }
22205               break;
22206             default:
22207               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
22208           }
22209           iprot.readFieldEnd();
22210         }
22211         iprot.readStructEnd();
22212 
22213         // check for required fields of primitive type, which can't be checked in the validate method
22214         struct.validate();
22215       }
22216 
22217       public void write(org.apache.thrift.protocol.TProtocol oprot, getTabletStats_args struct) throws org.apache.thrift.TException {
22218         struct.validate();
22219 
22220         oprot.writeStructBegin(STRUCT_DESC);
22221         if (struct.credential != null) {
22222           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
22223           struct.credential.write(oprot);
22224           oprot.writeFieldEnd();
22225         }
22226         if (struct.tableId != null) {
22227           oprot.writeFieldBegin(TABLE_ID_FIELD_DESC);
22228           oprot.writeString(struct.tableId);
22229           oprot.writeFieldEnd();
22230         }
22231         if (struct.tinfo != null) {
22232           oprot.writeFieldBegin(TINFO_FIELD_DESC);
22233           struct.tinfo.write(oprot);
22234           oprot.writeFieldEnd();
22235         }
22236         oprot.writeFieldStop();
22237         oprot.writeStructEnd();
22238       }
22239 
22240     }
22241 
22242     private static class getTabletStats_argsTupleSchemeFactory implements SchemeFactory {
22243       public getTabletStats_argsTupleScheme getScheme() {
22244         return new getTabletStats_argsTupleScheme();
22245       }
22246     }
22247 
22248     private static class getTabletStats_argsTupleScheme extends TupleScheme<getTabletStats_args> {
22249 
22250       @Override
22251       public void write(org.apache.thrift.protocol.TProtocol prot, getTabletStats_args struct) throws org.apache.thrift.TException {
22252         TTupleProtocol oprot = (TTupleProtocol) prot;
22253         BitSet optionals = new BitSet();
22254         if (struct.isSetTinfo()) {
22255           optionals.set(0);
22256         }
22257         if (struct.isSetCredential()) {
22258           optionals.set(1);
22259         }
22260         if (struct.isSetTableId()) {
22261           optionals.set(2);
22262         }
22263         oprot.writeBitSet(optionals, 3);
22264         if (struct.isSetTinfo()) {
22265           struct.tinfo.write(oprot);
22266         }
22267         if (struct.isSetCredential()) {
22268           struct.credential.write(oprot);
22269         }
22270         if (struct.isSetTableId()) {
22271           oprot.writeString(struct.tableId);
22272         }
22273       }
22274 
22275       @Override
22276       public void read(org.apache.thrift.protocol.TProtocol prot, getTabletStats_args struct) throws org.apache.thrift.TException {
22277         TTupleProtocol iprot = (TTupleProtocol) prot;
22278         BitSet incoming = iprot.readBitSet(3);
22279         if (incoming.get(0)) {
22280           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
22281           struct.tinfo.read(iprot);
22282           struct.setTinfoIsSet(true);
22283         }
22284         if (incoming.get(1)) {
22285           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
22286           struct.credential.read(iprot);
22287           struct.setCredentialIsSet(true);
22288         }
22289         if (incoming.get(2)) {
22290           struct.tableId = iprot.readString();
22291           struct.setTableIdIsSet(true);
22292         }
22293       }
22294     }
22295 
22296   }
22297 
22298   public static class getTabletStats_result implements org.apache.thrift.TBase<getTabletStats_result, getTabletStats_result._Fields>, java.io.Serializable, Cloneable   {
22299     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getTabletStats_result");
22300 
22301     private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
22302     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);
22303 
22304     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
22305     static {
22306       schemes.put(StandardScheme.class, new getTabletStats_resultStandardSchemeFactory());
22307       schemes.put(TupleScheme.class, new getTabletStats_resultTupleSchemeFactory());
22308     }
22309 
22310     public List<TabletStats> success; // required
22311     public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required
22312 
22313     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
22314     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
22315       SUCCESS((short)0, "success"),
22316       SEC((short)1, "sec");
22317 
22318       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
22319 
22320       static {
22321         for (_Fields field : EnumSet.allOf(_Fields.class)) {
22322           byName.put(field.getFieldName(), field);
22323         }
22324       }
22325 
22326       /**
22327        * Find the _Fields constant that matches fieldId, or null if its not found.
22328        */
22329       public static _Fields findByThriftId(int fieldId) {
22330         switch(fieldId) {
22331           case 0: // SUCCESS
22332             return SUCCESS;
22333           case 1: // SEC
22334             return SEC;
22335           default:
22336             return null;
22337         }
22338       }
22339 
22340       /**
22341        * Find the _Fields constant that matches fieldId, throwing an exception
22342        * if it is not found.
22343        */
22344       public static _Fields findByThriftIdOrThrow(int fieldId) {
22345         _Fields fields = findByThriftId(fieldId);
22346         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
22347         return fields;
22348       }
22349 
22350       /**
22351        * Find the _Fields constant that matches name, or null if its not found.
22352        */
22353       public static _Fields findByName(String name) {
22354         return byName.get(name);
22355       }
22356 
22357       private final short _thriftId;
22358       private final String _fieldName;
22359 
22360       _Fields(short thriftId, String fieldName) {
22361         _thriftId = thriftId;
22362         _fieldName = fieldName;
22363       }
22364 
22365       public short getThriftFieldId() {
22366         return _thriftId;
22367       }
22368 
22369       public String getFieldName() {
22370         return _fieldName;
22371       }
22372     }
22373 
22374     // isset id assignments
22375     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
22376     static {
22377       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
22378       tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
22379           new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
22380               new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TabletStats.class))));
22381       tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, 
22382           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
22383       metaDataMap = Collections.unmodifiableMap(tmpMap);
22384       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTabletStats_result.class, metaDataMap);
22385     }
22386 
22387     public getTabletStats_result() {
22388     }
22389 
22390     public getTabletStats_result(
22391       List<TabletStats> success,
22392       org.apache.accumulo.core.security.thrift.ThriftSecurityException sec)
22393     {
22394       this();
22395       this.success = success;
22396       this.sec = sec;
22397     }
22398 
22399     /**
22400      * Performs a deep copy on <i>other</i>.
22401      */
22402     public getTabletStats_result(getTabletStats_result other) {
22403       if (other.isSetSuccess()) {
22404         List<TabletStats> __this__success = new ArrayList<TabletStats>();
22405         for (TabletStats other_element : other.success) {
22406           __this__success.add(new TabletStats(other_element));
22407         }
22408         this.success = __this__success;
22409       }
22410       if (other.isSetSec()) {
22411         this.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(other.sec);
22412       }
22413     }
22414 
22415     public getTabletStats_result deepCopy() {
22416       return new getTabletStats_result(this);
22417     }
22418 
22419     @Override
22420     public void clear() {
22421       this.success = null;
22422       this.sec = null;
22423     }
22424 
22425     public int getSuccessSize() {
22426       return (this.success == null) ? 0 : this.success.size();
22427     }
22428 
22429     public java.util.Iterator<TabletStats> getSuccessIterator() {
22430       return (this.success == null) ? null : this.success.iterator();
22431     }
22432 
22433     public void addToSuccess(TabletStats elem) {
22434       if (this.success == null) {
22435         this.success = new ArrayList<TabletStats>();
22436       }
22437       this.success.add(elem);
22438     }
22439 
22440     public List<TabletStats> getSuccess() {
22441       return this.success;
22442     }
22443 
22444     public getTabletStats_result setSuccess(List<TabletStats> success) {
22445       this.success = success;
22446       return this;
22447     }
22448 
22449     public void unsetSuccess() {
22450       this.success = null;
22451     }
22452 
22453     /** Returns true if field success is set (has been assigned a value) and false otherwise */
22454     public boolean isSetSuccess() {
22455       return this.success != null;
22456     }
22457 
22458     public void setSuccessIsSet(boolean value) {
22459       if (!value) {
22460         this.success = null;
22461       }
22462     }
22463 
22464     public org.apache.accumulo.core.security.thrift.ThriftSecurityException getSec() {
22465       return this.sec;
22466     }
22467 
22468     public getTabletStats_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
22469       this.sec = sec;
22470       return this;
22471     }
22472 
22473     public void unsetSec() {
22474       this.sec = null;
22475     }
22476 
22477     /** Returns true if field sec is set (has been assigned a value) and false otherwise */
22478     public boolean isSetSec() {
22479       return this.sec != null;
22480     }
22481 
22482     public void setSecIsSet(boolean value) {
22483       if (!value) {
22484         this.sec = null;
22485       }
22486     }
22487 
22488     public void setFieldValue(_Fields field, Object value) {
22489       switch (field) {
22490       case SUCCESS:
22491         if (value == null) {
22492           unsetSuccess();
22493         } else {
22494           setSuccess((List<TabletStats>)value);
22495         }
22496         break;
22497 
22498       case SEC:
22499         if (value == null) {
22500           unsetSec();
22501         } else {
22502           setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value);
22503         }
22504         break;
22505 
22506       }
22507     }
22508 
22509     public Object getFieldValue(_Fields field) {
22510       switch (field) {
22511       case SUCCESS:
22512         return getSuccess();
22513 
22514       case SEC:
22515         return getSec();
22516 
22517       }
22518       throw new IllegalStateException();
22519     }
22520 
22521     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
22522     public boolean isSet(_Fields field) {
22523       if (field == null) {
22524         throw new IllegalArgumentException();
22525       }
22526 
22527       switch (field) {
22528       case SUCCESS:
22529         return isSetSuccess();
22530       case SEC:
22531         return isSetSec();
22532       }
22533       throw new IllegalStateException();
22534     }
22535 
22536     @Override
22537     public boolean equals(Object that) {
22538       if (that == null)
22539         return false;
22540       if (that instanceof getTabletStats_result)
22541         return this.equals((getTabletStats_result)that);
22542       return false;
22543     }
22544 
22545     public boolean equals(getTabletStats_result that) {
22546       if (that == null)
22547         return false;
22548 
22549       boolean this_present_success = true && this.isSetSuccess();
22550       boolean that_present_success = true && that.isSetSuccess();
22551       if (this_present_success || that_present_success) {
22552         if (!(this_present_success && that_present_success))
22553           return false;
22554         if (!this.success.equals(that.success))
22555           return false;
22556       }
22557 
22558       boolean this_present_sec = true && this.isSetSec();
22559       boolean that_present_sec = true && that.isSetSec();
22560       if (this_present_sec || that_present_sec) {
22561         if (!(this_present_sec && that_present_sec))
22562           return false;
22563         if (!this.sec.equals(that.sec))
22564           return false;
22565       }
22566 
22567       return true;
22568     }
22569 
22570     @Override
22571     public int hashCode() {
22572       return 0;
22573     }
22574 
22575     public int compareTo(getTabletStats_result other) {
22576       if (!getClass().equals(other.getClass())) {
22577         return getClass().getName().compareTo(other.getClass().getName());
22578       }
22579 
22580       int lastComparison = 0;
22581       getTabletStats_result typedOther = (getTabletStats_result)other;
22582 
22583       lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
22584       if (lastComparison != 0) {
22585         return lastComparison;
22586       }
22587       if (isSetSuccess()) {
22588         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
22589         if (lastComparison != 0) {
22590           return lastComparison;
22591         }
22592       }
22593       lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec());
22594       if (lastComparison != 0) {
22595         return lastComparison;
22596       }
22597       if (isSetSec()) {
22598         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec);
22599         if (lastComparison != 0) {
22600           return lastComparison;
22601         }
22602       }
22603       return 0;
22604     }
22605 
22606     public _Fields fieldForId(int fieldId) {
22607       return _Fields.findByThriftId(fieldId);
22608     }
22609 
22610     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
22611       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
22612     }
22613 
22614     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
22615       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
22616       }
22617 
22618     @Override
22619     public String toString() {
22620       StringBuilder sb = new StringBuilder("getTabletStats_result(");
22621       boolean first = true;
22622 
22623       sb.append("success:");
22624       if (this.success == null) {
22625         sb.append("null");
22626       } else {
22627         sb.append(this.success);
22628       }
22629       first = false;
22630       if (!first) sb.append(", ");
22631       sb.append("sec:");
22632       if (this.sec == null) {
22633         sb.append("null");
22634       } else {
22635         sb.append(this.sec);
22636       }
22637       first = false;
22638       sb.append(")");
22639       return sb.toString();
22640     }
22641 
22642     public void validate() throws org.apache.thrift.TException {
22643       // check for required fields
22644       // check for sub-struct validity
22645     }
22646 
22647     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
22648       try {
22649         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
22650       } catch (org.apache.thrift.TException te) {
22651         throw new java.io.IOException(te);
22652       }
22653     }
22654 
22655     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
22656       try {
22657         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
22658       } catch (org.apache.thrift.TException te) {
22659         throw new java.io.IOException(te);
22660       }
22661     }
22662 
22663     private static class getTabletStats_resultStandardSchemeFactory implements SchemeFactory {
22664       public getTabletStats_resultStandardScheme getScheme() {
22665         return new getTabletStats_resultStandardScheme();
22666       }
22667     }
22668 
22669     private static class getTabletStats_resultStandardScheme extends StandardScheme<getTabletStats_result> {
22670 
22671       public void read(org.apache.thrift.protocol.TProtocol iprot, getTabletStats_result struct) throws org.apache.thrift.TException {
22672         org.apache.thrift.protocol.TField schemeField;
22673         iprot.readStructBegin();
22674         while (true)
22675         {
22676           schemeField = iprot.readFieldBegin();
22677           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
22678             break;
22679           }
22680           switch (schemeField.id) {
22681             case 0: // SUCCESS
22682               if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
22683                 {
22684                   org.apache.thrift.protocol.TList _list248 = iprot.readListBegin();
22685                   struct.success = new ArrayList<TabletStats>(_list248.size);
22686                   for (int _i249 = 0; _i249 < _list248.size; ++_i249)
22687                   {
22688                     TabletStats _elem250; // required
22689                     _elem250 = new TabletStats();
22690                     _elem250.read(iprot);
22691                     struct.success.add(_elem250);
22692                   }
22693                   iprot.readListEnd();
22694                 }
22695                 struct.setSuccessIsSet(true);
22696               } else { 
22697                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
22698               }
22699               break;
22700             case 1: // SEC
22701               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
22702                 struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
22703                 struct.sec.read(iprot);
22704                 struct.setSecIsSet(true);
22705               } else { 
22706                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
22707               }
22708               break;
22709             default:
22710               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
22711           }
22712           iprot.readFieldEnd();
22713         }
22714         iprot.readStructEnd();
22715 
22716         // check for required fields of primitive type, which can't be checked in the validate method
22717         struct.validate();
22718       }
22719 
22720       public void write(org.apache.thrift.protocol.TProtocol oprot, getTabletStats_result struct) throws org.apache.thrift.TException {
22721         struct.validate();
22722 
22723         oprot.writeStructBegin(STRUCT_DESC);
22724         if (struct.success != null) {
22725           oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
22726           {
22727             oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size()));
22728             for (TabletStats _iter251 : struct.success)
22729             {
22730               _iter251.write(oprot);
22731             }
22732             oprot.writeListEnd();
22733           }
22734           oprot.writeFieldEnd();
22735         }
22736         if (struct.sec != null) {
22737           oprot.writeFieldBegin(SEC_FIELD_DESC);
22738           struct.sec.write(oprot);
22739           oprot.writeFieldEnd();
22740         }
22741         oprot.writeFieldStop();
22742         oprot.writeStructEnd();
22743       }
22744 
22745     }
22746 
22747     private static class getTabletStats_resultTupleSchemeFactory implements SchemeFactory {
22748       public getTabletStats_resultTupleScheme getScheme() {
22749         return new getTabletStats_resultTupleScheme();
22750       }
22751     }
22752 
22753     private static class getTabletStats_resultTupleScheme extends TupleScheme<getTabletStats_result> {
22754 
22755       @Override
22756       public void write(org.apache.thrift.protocol.TProtocol prot, getTabletStats_result struct) throws org.apache.thrift.TException {
22757         TTupleProtocol oprot = (TTupleProtocol) prot;
22758         BitSet optionals = new BitSet();
22759         if (struct.isSetSuccess()) {
22760           optionals.set(0);
22761         }
22762         if (struct.isSetSec()) {
22763           optionals.set(1);
22764         }
22765         oprot.writeBitSet(optionals, 2);
22766         if (struct.isSetSuccess()) {
22767           {
22768             oprot.writeI32(struct.success.size());
22769             for (TabletStats _iter252 : struct.success)
22770             {
22771               _iter252.write(oprot);
22772             }
22773           }
22774         }
22775         if (struct.isSetSec()) {
22776           struct.sec.write(oprot);
22777         }
22778       }
22779 
22780       @Override
22781       public void read(org.apache.thrift.protocol.TProtocol prot, getTabletStats_result struct) throws org.apache.thrift.TException {
22782         TTupleProtocol iprot = (TTupleProtocol) prot;
22783         BitSet incoming = iprot.readBitSet(2);
22784         if (incoming.get(0)) {
22785           {
22786             org.apache.thrift.protocol.TList _list253 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
22787             struct.success = new ArrayList<TabletStats>(_list253.size);
22788             for (int _i254 = 0; _i254 < _list253.size; ++_i254)
22789             {
22790               TabletStats _elem255; // required
22791               _elem255 = new TabletStats();
22792               _elem255.read(iprot);
22793               struct.success.add(_elem255);
22794             }
22795           }
22796           struct.setSuccessIsSet(true);
22797         }
22798         if (incoming.get(1)) {
22799           struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
22800           struct.sec.read(iprot);
22801           struct.setSecIsSet(true);
22802         }
22803       }
22804     }
22805 
22806   }
22807 
22808   public static class getHistoricalStats_args implements org.apache.thrift.TBase<getHistoricalStats_args, getHistoricalStats_args._Fields>, java.io.Serializable, Cloneable   {
22809     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getHistoricalStats_args");
22810 
22811     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);
22812     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);
22813 
22814     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
22815     static {
22816       schemes.put(StandardScheme.class, new getHistoricalStats_argsStandardSchemeFactory());
22817       schemes.put(TupleScheme.class, new getHistoricalStats_argsTupleSchemeFactory());
22818     }
22819 
22820     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
22821     public org.apache.accumulo.core.security.thrift.Credential credential; // required
22822 
22823     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
22824     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
22825       TINFO((short)2, "tinfo"),
22826       CREDENTIAL((short)1, "credential");
22827 
22828       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
22829 
22830       static {
22831         for (_Fields field : EnumSet.allOf(_Fields.class)) {
22832           byName.put(field.getFieldName(), field);
22833         }
22834       }
22835 
22836       /**
22837        * Find the _Fields constant that matches fieldId, or null if its not found.
22838        */
22839       public static _Fields findByThriftId(int fieldId) {
22840         switch(fieldId) {
22841           case 2: // TINFO
22842             return TINFO;
22843           case 1: // CREDENTIAL
22844             return CREDENTIAL;
22845           default:
22846             return null;
22847         }
22848       }
22849 
22850       /**
22851        * Find the _Fields constant that matches fieldId, throwing an exception
22852        * if it is not found.
22853        */
22854       public static _Fields findByThriftIdOrThrow(int fieldId) {
22855         _Fields fields = findByThriftId(fieldId);
22856         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
22857         return fields;
22858       }
22859 
22860       /**
22861        * Find the _Fields constant that matches name, or null if its not found.
22862        */
22863       public static _Fields findByName(String name) {
22864         return byName.get(name);
22865       }
22866 
22867       private final short _thriftId;
22868       private final String _fieldName;
22869 
22870       _Fields(short thriftId, String fieldName) {
22871         _thriftId = thriftId;
22872         _fieldName = fieldName;
22873       }
22874 
22875       public short getThriftFieldId() {
22876         return _thriftId;
22877       }
22878 
22879       public String getFieldName() {
22880         return _fieldName;
22881       }
22882     }
22883 
22884     // isset id assignments
22885     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
22886     static {
22887       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
22888       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
22889           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
22890       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
22891           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
22892       metaDataMap = Collections.unmodifiableMap(tmpMap);
22893       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getHistoricalStats_args.class, metaDataMap);
22894     }
22895 
22896     public getHistoricalStats_args() {
22897     }
22898 
22899     public getHistoricalStats_args(
22900       org.apache.accumulo.trace.thrift.TInfo tinfo,
22901       org.apache.accumulo.core.security.thrift.Credential credential)
22902     {
22903       this();
22904       this.tinfo = tinfo;
22905       this.credential = credential;
22906     }
22907 
22908     /**
22909      * Performs a deep copy on <i>other</i>.
22910      */
22911     public getHistoricalStats_args(getHistoricalStats_args other) {
22912       if (other.isSetTinfo()) {
22913         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
22914       }
22915       if (other.isSetCredential()) {
22916         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
22917       }
22918     }
22919 
22920     public getHistoricalStats_args deepCopy() {
22921       return new getHistoricalStats_args(this);
22922     }
22923 
22924     @Override
22925     public void clear() {
22926       this.tinfo = null;
22927       this.credential = null;
22928     }
22929 
22930     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
22931       return this.tinfo;
22932     }
22933 
22934     public getHistoricalStats_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
22935       this.tinfo = tinfo;
22936       return this;
22937     }
22938 
22939     public void unsetTinfo() {
22940       this.tinfo = null;
22941     }
22942 
22943     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
22944     public boolean isSetTinfo() {
22945       return this.tinfo != null;
22946     }
22947 
22948     public void setTinfoIsSet(boolean value) {
22949       if (!value) {
22950         this.tinfo = null;
22951       }
22952     }
22953 
22954     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
22955       return this.credential;
22956     }
22957 
22958     public getHistoricalStats_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
22959       this.credential = credential;
22960       return this;
22961     }
22962 
22963     public void unsetCredential() {
22964       this.credential = null;
22965     }
22966 
22967     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
22968     public boolean isSetCredential() {
22969       return this.credential != null;
22970     }
22971 
22972     public void setCredentialIsSet(boolean value) {
22973       if (!value) {
22974         this.credential = null;
22975       }
22976     }
22977 
22978     public void setFieldValue(_Fields field, Object value) {
22979       switch (field) {
22980       case TINFO:
22981         if (value == null) {
22982           unsetTinfo();
22983         } else {
22984           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
22985         }
22986         break;
22987 
22988       case CREDENTIAL:
22989         if (value == null) {
22990           unsetCredential();
22991         } else {
22992           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
22993         }
22994         break;
22995 
22996       }
22997     }
22998 
22999     public Object getFieldValue(_Fields field) {
23000       switch (field) {
23001       case TINFO:
23002         return getTinfo();
23003 
23004       case CREDENTIAL:
23005         return getCredential();
23006 
23007       }
23008       throw new IllegalStateException();
23009     }
23010 
23011     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
23012     public boolean isSet(_Fields field) {
23013       if (field == null) {
23014         throw new IllegalArgumentException();
23015       }
23016 
23017       switch (field) {
23018       case TINFO:
23019         return isSetTinfo();
23020       case CREDENTIAL:
23021         return isSetCredential();
23022       }
23023       throw new IllegalStateException();
23024     }
23025 
23026     @Override
23027     public boolean equals(Object that) {
23028       if (that == null)
23029         return false;
23030       if (that instanceof getHistoricalStats_args)
23031         return this.equals((getHistoricalStats_args)that);
23032       return false;
23033     }
23034 
23035     public boolean equals(getHistoricalStats_args that) {
23036       if (that == null)
23037         return false;
23038 
23039       boolean this_present_tinfo = true && this.isSetTinfo();
23040       boolean that_present_tinfo = true && that.isSetTinfo();
23041       if (this_present_tinfo || that_present_tinfo) {
23042         if (!(this_present_tinfo && that_present_tinfo))
23043           return false;
23044         if (!this.tinfo.equals(that.tinfo))
23045           return false;
23046       }
23047 
23048       boolean this_present_credential = true && this.isSetCredential();
23049       boolean that_present_credential = true && that.isSetCredential();
23050       if (this_present_credential || that_present_credential) {
23051         if (!(this_present_credential && that_present_credential))
23052           return false;
23053         if (!this.credential.equals(that.credential))
23054           return false;
23055       }
23056 
23057       return true;
23058     }
23059 
23060     @Override
23061     public int hashCode() {
23062       return 0;
23063     }
23064 
23065     public int compareTo(getHistoricalStats_args other) {
23066       if (!getClass().equals(other.getClass())) {
23067         return getClass().getName().compareTo(other.getClass().getName());
23068       }
23069 
23070       int lastComparison = 0;
23071       getHistoricalStats_args typedOther = (getHistoricalStats_args)other;
23072 
23073       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
23074       if (lastComparison != 0) {
23075         return lastComparison;
23076       }
23077       if (isSetTinfo()) {
23078         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
23079         if (lastComparison != 0) {
23080           return lastComparison;
23081         }
23082       }
23083       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
23084       if (lastComparison != 0) {
23085         return lastComparison;
23086       }
23087       if (isSetCredential()) {
23088         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
23089         if (lastComparison != 0) {
23090           return lastComparison;
23091         }
23092       }
23093       return 0;
23094     }
23095 
23096     public _Fields fieldForId(int fieldId) {
23097       return _Fields.findByThriftId(fieldId);
23098     }
23099 
23100     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
23101       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
23102     }
23103 
23104     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
23105       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
23106     }
23107 
23108     @Override
23109     public String toString() {
23110       StringBuilder sb = new StringBuilder("getHistoricalStats_args(");
23111       boolean first = true;
23112 
23113       sb.append("tinfo:");
23114       if (this.tinfo == null) {
23115         sb.append("null");
23116       } else {
23117         sb.append(this.tinfo);
23118       }
23119       first = false;
23120       if (!first) sb.append(", ");
23121       sb.append("credential:");
23122       if (this.credential == null) {
23123         sb.append("null");
23124       } else {
23125         sb.append(this.credential);
23126       }
23127       first = false;
23128       sb.append(")");
23129       return sb.toString();
23130     }
23131 
23132     public void validate() throws org.apache.thrift.TException {
23133       // check for required fields
23134       // check for sub-struct validity
23135       if (tinfo != null) {
23136         tinfo.validate();
23137       }
23138       if (credential != null) {
23139         credential.validate();
23140       }
23141     }
23142 
23143     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
23144       try {
23145         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
23146       } catch (org.apache.thrift.TException te) {
23147         throw new java.io.IOException(te);
23148       }
23149     }
23150 
23151     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
23152       try {
23153         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
23154       } catch (org.apache.thrift.TException te) {
23155         throw new java.io.IOException(te);
23156       }
23157     }
23158 
23159     private static class getHistoricalStats_argsStandardSchemeFactory implements SchemeFactory {
23160       public getHistoricalStats_argsStandardScheme getScheme() {
23161         return new getHistoricalStats_argsStandardScheme();
23162       }
23163     }
23164 
23165     private static class getHistoricalStats_argsStandardScheme extends StandardScheme<getHistoricalStats_args> {
23166 
23167       public void read(org.apache.thrift.protocol.TProtocol iprot, getHistoricalStats_args struct) throws org.apache.thrift.TException {
23168         org.apache.thrift.protocol.TField schemeField;
23169         iprot.readStructBegin();
23170         while (true)
23171         {
23172           schemeField = iprot.readFieldBegin();
23173           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
23174             break;
23175           }
23176           switch (schemeField.id) {
23177             case 2: // TINFO
23178               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
23179                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
23180                 struct.tinfo.read(iprot);
23181                 struct.setTinfoIsSet(true);
23182               } else { 
23183                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
23184               }
23185               break;
23186             case 1: // CREDENTIAL
23187               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
23188                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
23189                 struct.credential.read(iprot);
23190                 struct.setCredentialIsSet(true);
23191               } else { 
23192                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
23193               }
23194               break;
23195             default:
23196               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
23197           }
23198           iprot.readFieldEnd();
23199         }
23200         iprot.readStructEnd();
23201 
23202         // check for required fields of primitive type, which can't be checked in the validate method
23203         struct.validate();
23204       }
23205 
23206       public void write(org.apache.thrift.protocol.TProtocol oprot, getHistoricalStats_args struct) throws org.apache.thrift.TException {
23207         struct.validate();
23208 
23209         oprot.writeStructBegin(STRUCT_DESC);
23210         if (struct.credential != null) {
23211           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
23212           struct.credential.write(oprot);
23213           oprot.writeFieldEnd();
23214         }
23215         if (struct.tinfo != null) {
23216           oprot.writeFieldBegin(TINFO_FIELD_DESC);
23217           struct.tinfo.write(oprot);
23218           oprot.writeFieldEnd();
23219         }
23220         oprot.writeFieldStop();
23221         oprot.writeStructEnd();
23222       }
23223 
23224     }
23225 
23226     private static class getHistoricalStats_argsTupleSchemeFactory implements SchemeFactory {
23227       public getHistoricalStats_argsTupleScheme getScheme() {
23228         return new getHistoricalStats_argsTupleScheme();
23229       }
23230     }
23231 
23232     private static class getHistoricalStats_argsTupleScheme extends TupleScheme<getHistoricalStats_args> {
23233 
23234       @Override
23235       public void write(org.apache.thrift.protocol.TProtocol prot, getHistoricalStats_args struct) throws org.apache.thrift.TException {
23236         TTupleProtocol oprot = (TTupleProtocol) prot;
23237         BitSet optionals = new BitSet();
23238         if (struct.isSetTinfo()) {
23239           optionals.set(0);
23240         }
23241         if (struct.isSetCredential()) {
23242           optionals.set(1);
23243         }
23244         oprot.writeBitSet(optionals, 2);
23245         if (struct.isSetTinfo()) {
23246           struct.tinfo.write(oprot);
23247         }
23248         if (struct.isSetCredential()) {
23249           struct.credential.write(oprot);
23250         }
23251       }
23252 
23253       @Override
23254       public void read(org.apache.thrift.protocol.TProtocol prot, getHistoricalStats_args struct) throws org.apache.thrift.TException {
23255         TTupleProtocol iprot = (TTupleProtocol) prot;
23256         BitSet incoming = iprot.readBitSet(2);
23257         if (incoming.get(0)) {
23258           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
23259           struct.tinfo.read(iprot);
23260           struct.setTinfoIsSet(true);
23261         }
23262         if (incoming.get(1)) {
23263           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
23264           struct.credential.read(iprot);
23265           struct.setCredentialIsSet(true);
23266         }
23267       }
23268     }
23269 
23270   }
23271 
23272   public static class getHistoricalStats_result implements org.apache.thrift.TBase<getHistoricalStats_result, getHistoricalStats_result._Fields>, java.io.Serializable, Cloneable   {
23273     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getHistoricalStats_result");
23274 
23275     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);
23276     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);
23277 
23278     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
23279     static {
23280       schemes.put(StandardScheme.class, new getHistoricalStats_resultStandardSchemeFactory());
23281       schemes.put(TupleScheme.class, new getHistoricalStats_resultTupleSchemeFactory());
23282     }
23283 
23284     public TabletStats success; // required
23285     public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required
23286 
23287     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
23288     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
23289       SUCCESS((short)0, "success"),
23290       SEC((short)1, "sec");
23291 
23292       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
23293 
23294       static {
23295         for (_Fields field : EnumSet.allOf(_Fields.class)) {
23296           byName.put(field.getFieldName(), field);
23297         }
23298       }
23299 
23300       /**
23301        * Find the _Fields constant that matches fieldId, or null if its not found.
23302        */
23303       public static _Fields findByThriftId(int fieldId) {
23304         switch(fieldId) {
23305           case 0: // SUCCESS
23306             return SUCCESS;
23307           case 1: // SEC
23308             return SEC;
23309           default:
23310             return null;
23311         }
23312       }
23313 
23314       /**
23315        * Find the _Fields constant that matches fieldId, throwing an exception
23316        * if it is not found.
23317        */
23318       public static _Fields findByThriftIdOrThrow(int fieldId) {
23319         _Fields fields = findByThriftId(fieldId);
23320         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
23321         return fields;
23322       }
23323 
23324       /**
23325        * Find the _Fields constant that matches name, or null if its not found.
23326        */
23327       public static _Fields findByName(String name) {
23328         return byName.get(name);
23329       }
23330 
23331       private final short _thriftId;
23332       private final String _fieldName;
23333 
23334       _Fields(short thriftId, String fieldName) {
23335         _thriftId = thriftId;
23336         _fieldName = fieldName;
23337       }
23338 
23339       public short getThriftFieldId() {
23340         return _thriftId;
23341       }
23342 
23343       public String getFieldName() {
23344         return _fieldName;
23345       }
23346     }
23347 
23348     // isset id assignments
23349     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
23350     static {
23351       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
23352       tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
23353           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TabletStats.class)));
23354       tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, 
23355           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
23356       metaDataMap = Collections.unmodifiableMap(tmpMap);
23357       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getHistoricalStats_result.class, metaDataMap);
23358     }
23359 
23360     public getHistoricalStats_result() {
23361     }
23362 
23363     public getHistoricalStats_result(
23364       TabletStats success,
23365       org.apache.accumulo.core.security.thrift.ThriftSecurityException sec)
23366     {
23367       this();
23368       this.success = success;
23369       this.sec = sec;
23370     }
23371 
23372     /**
23373      * Performs a deep copy on <i>other</i>.
23374      */
23375     public getHistoricalStats_result(getHistoricalStats_result other) {
23376       if (other.isSetSuccess()) {
23377         this.success = new TabletStats(other.success);
23378       }
23379       if (other.isSetSec()) {
23380         this.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(other.sec);
23381       }
23382     }
23383 
23384     public getHistoricalStats_result deepCopy() {
23385       return new getHistoricalStats_result(this);
23386     }
23387 
23388     @Override
23389     public void clear() {
23390       this.success = null;
23391       this.sec = null;
23392     }
23393 
23394     public TabletStats getSuccess() {
23395       return this.success;
23396     }
23397 
23398     public getHistoricalStats_result setSuccess(TabletStats success) {
23399       this.success = success;
23400       return this;
23401     }
23402 
23403     public void unsetSuccess() {
23404       this.success = null;
23405     }
23406 
23407     /** Returns true if field success is set (has been assigned a value) and false otherwise */
23408     public boolean isSetSuccess() {
23409       return this.success != null;
23410     }
23411 
23412     public void setSuccessIsSet(boolean value) {
23413       if (!value) {
23414         this.success = null;
23415       }
23416     }
23417 
23418     public org.apache.accumulo.core.security.thrift.ThriftSecurityException getSec() {
23419       return this.sec;
23420     }
23421 
23422     public getHistoricalStats_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
23423       this.sec = sec;
23424       return this;
23425     }
23426 
23427     public void unsetSec() {
23428       this.sec = null;
23429     }
23430 
23431     /** Returns true if field sec is set (has been assigned a value) and false otherwise */
23432     public boolean isSetSec() {
23433       return this.sec != null;
23434     }
23435 
23436     public void setSecIsSet(boolean value) {
23437       if (!value) {
23438         this.sec = null;
23439       }
23440     }
23441 
23442     public void setFieldValue(_Fields field, Object value) {
23443       switch (field) {
23444       case SUCCESS:
23445         if (value == null) {
23446           unsetSuccess();
23447         } else {
23448           setSuccess((TabletStats)value);
23449         }
23450         break;
23451 
23452       case SEC:
23453         if (value == null) {
23454           unsetSec();
23455         } else {
23456           setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value);
23457         }
23458         break;
23459 
23460       }
23461     }
23462 
23463     public Object getFieldValue(_Fields field) {
23464       switch (field) {
23465       case SUCCESS:
23466         return getSuccess();
23467 
23468       case SEC:
23469         return getSec();
23470 
23471       }
23472       throw new IllegalStateException();
23473     }
23474 
23475     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
23476     public boolean isSet(_Fields field) {
23477       if (field == null) {
23478         throw new IllegalArgumentException();
23479       }
23480 
23481       switch (field) {
23482       case SUCCESS:
23483         return isSetSuccess();
23484       case SEC:
23485         return isSetSec();
23486       }
23487       throw new IllegalStateException();
23488     }
23489 
23490     @Override
23491     public boolean equals(Object that) {
23492       if (that == null)
23493         return false;
23494       if (that instanceof getHistoricalStats_result)
23495         return this.equals((getHistoricalStats_result)that);
23496       return false;
23497     }
23498 
23499     public boolean equals(getHistoricalStats_result that) {
23500       if (that == null)
23501         return false;
23502 
23503       boolean this_present_success = true && this.isSetSuccess();
23504       boolean that_present_success = true && that.isSetSuccess();
23505       if (this_present_success || that_present_success) {
23506         if (!(this_present_success && that_present_success))
23507           return false;
23508         if (!this.success.equals(that.success))
23509           return false;
23510       }
23511 
23512       boolean this_present_sec = true && this.isSetSec();
23513       boolean that_present_sec = true && that.isSetSec();
23514       if (this_present_sec || that_present_sec) {
23515         if (!(this_present_sec && that_present_sec))
23516           return false;
23517         if (!this.sec.equals(that.sec))
23518           return false;
23519       }
23520 
23521       return true;
23522     }
23523 
23524     @Override
23525     public int hashCode() {
23526       return 0;
23527     }
23528 
23529     public int compareTo(getHistoricalStats_result other) {
23530       if (!getClass().equals(other.getClass())) {
23531         return getClass().getName().compareTo(other.getClass().getName());
23532       }
23533 
23534       int lastComparison = 0;
23535       getHistoricalStats_result typedOther = (getHistoricalStats_result)other;
23536 
23537       lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
23538       if (lastComparison != 0) {
23539         return lastComparison;
23540       }
23541       if (isSetSuccess()) {
23542         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
23543         if (lastComparison != 0) {
23544           return lastComparison;
23545         }
23546       }
23547       lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec());
23548       if (lastComparison != 0) {
23549         return lastComparison;
23550       }
23551       if (isSetSec()) {
23552         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec);
23553         if (lastComparison != 0) {
23554           return lastComparison;
23555         }
23556       }
23557       return 0;
23558     }
23559 
23560     public _Fields fieldForId(int fieldId) {
23561       return _Fields.findByThriftId(fieldId);
23562     }
23563 
23564     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
23565       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
23566     }
23567 
23568     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
23569       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
23570       }
23571 
23572     @Override
23573     public String toString() {
23574       StringBuilder sb = new StringBuilder("getHistoricalStats_result(");
23575       boolean first = true;
23576 
23577       sb.append("success:");
23578       if (this.success == null) {
23579         sb.append("null");
23580       } else {
23581         sb.append(this.success);
23582       }
23583       first = false;
23584       if (!first) sb.append(", ");
23585       sb.append("sec:");
23586       if (this.sec == null) {
23587         sb.append("null");
23588       } else {
23589         sb.append(this.sec);
23590       }
23591       first = false;
23592       sb.append(")");
23593       return sb.toString();
23594     }
23595 
23596     public void validate() throws org.apache.thrift.TException {
23597       // check for required fields
23598       // check for sub-struct validity
23599       if (success != null) {
23600         success.validate();
23601       }
23602     }
23603 
23604     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
23605       try {
23606         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
23607       } catch (org.apache.thrift.TException te) {
23608         throw new java.io.IOException(te);
23609       }
23610     }
23611 
23612     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
23613       try {
23614         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
23615       } catch (org.apache.thrift.TException te) {
23616         throw new java.io.IOException(te);
23617       }
23618     }
23619 
23620     private static class getHistoricalStats_resultStandardSchemeFactory implements SchemeFactory {
23621       public getHistoricalStats_resultStandardScheme getScheme() {
23622         return new getHistoricalStats_resultStandardScheme();
23623       }
23624     }
23625 
23626     private static class getHistoricalStats_resultStandardScheme extends StandardScheme<getHistoricalStats_result> {
23627 
23628       public void read(org.apache.thrift.protocol.TProtocol iprot, getHistoricalStats_result struct) throws org.apache.thrift.TException {
23629         org.apache.thrift.protocol.TField schemeField;
23630         iprot.readStructBegin();
23631         while (true)
23632         {
23633           schemeField = iprot.readFieldBegin();
23634           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
23635             break;
23636           }
23637           switch (schemeField.id) {
23638             case 0: // SUCCESS
23639               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
23640                 struct.success = new TabletStats();
23641                 struct.success.read(iprot);
23642                 struct.setSuccessIsSet(true);
23643               } else { 
23644                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
23645               }
23646               break;
23647             case 1: // SEC
23648               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
23649                 struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
23650                 struct.sec.read(iprot);
23651                 struct.setSecIsSet(true);
23652               } else { 
23653                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
23654               }
23655               break;
23656             default:
23657               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
23658           }
23659           iprot.readFieldEnd();
23660         }
23661         iprot.readStructEnd();
23662 
23663         // check for required fields of primitive type, which can't be checked in the validate method
23664         struct.validate();
23665       }
23666 
23667       public void write(org.apache.thrift.protocol.TProtocol oprot, getHistoricalStats_result struct) throws org.apache.thrift.TException {
23668         struct.validate();
23669 
23670         oprot.writeStructBegin(STRUCT_DESC);
23671         if (struct.success != null) {
23672           oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
23673           struct.success.write(oprot);
23674           oprot.writeFieldEnd();
23675         }
23676         if (struct.sec != null) {
23677           oprot.writeFieldBegin(SEC_FIELD_DESC);
23678           struct.sec.write(oprot);
23679           oprot.writeFieldEnd();
23680         }
23681         oprot.writeFieldStop();
23682         oprot.writeStructEnd();
23683       }
23684 
23685     }
23686 
23687     private static class getHistoricalStats_resultTupleSchemeFactory implements SchemeFactory {
23688       public getHistoricalStats_resultTupleScheme getScheme() {
23689         return new getHistoricalStats_resultTupleScheme();
23690       }
23691     }
23692 
23693     private static class getHistoricalStats_resultTupleScheme extends TupleScheme<getHistoricalStats_result> {
23694 
23695       @Override
23696       public void write(org.apache.thrift.protocol.TProtocol prot, getHistoricalStats_result struct) throws org.apache.thrift.TException {
23697         TTupleProtocol oprot = (TTupleProtocol) prot;
23698         BitSet optionals = new BitSet();
23699         if (struct.isSetSuccess()) {
23700           optionals.set(0);
23701         }
23702         if (struct.isSetSec()) {
23703           optionals.set(1);
23704         }
23705         oprot.writeBitSet(optionals, 2);
23706         if (struct.isSetSuccess()) {
23707           struct.success.write(oprot);
23708         }
23709         if (struct.isSetSec()) {
23710           struct.sec.write(oprot);
23711         }
23712       }
23713 
23714       @Override
23715       public void read(org.apache.thrift.protocol.TProtocol prot, getHistoricalStats_result struct) throws org.apache.thrift.TException {
23716         TTupleProtocol iprot = (TTupleProtocol) prot;
23717         BitSet incoming = iprot.readBitSet(2);
23718         if (incoming.get(0)) {
23719           struct.success = new TabletStats();
23720           struct.success.read(iprot);
23721           struct.setSuccessIsSet(true);
23722         }
23723         if (incoming.get(1)) {
23724           struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
23725           struct.sec.read(iprot);
23726           struct.setSecIsSet(true);
23727         }
23728       }
23729     }
23730 
23731   }
23732 
23733   public static class halt_args implements org.apache.thrift.TBase<halt_args, halt_args._Fields>, java.io.Serializable, Cloneable   {
23734     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("halt_args");
23735 
23736     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);
23737     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);
23738     private static final org.apache.thrift.protocol.TField LOCK_FIELD_DESC = new org.apache.thrift.protocol.TField("lock", org.apache.thrift.protocol.TType.STRING, (short)2);
23739 
23740     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
23741     static {
23742       schemes.put(StandardScheme.class, new halt_argsStandardSchemeFactory());
23743       schemes.put(TupleScheme.class, new halt_argsTupleSchemeFactory());
23744     }
23745 
23746     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
23747     public org.apache.accumulo.core.security.thrift.Credential credential; // required
23748     public String lock; // required
23749 
23750     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
23751     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
23752       TINFO((short)3, "tinfo"),
23753       CREDENTIAL((short)1, "credential"),
23754       LOCK((short)2, "lock");
23755 
23756       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
23757 
23758       static {
23759         for (_Fields field : EnumSet.allOf(_Fields.class)) {
23760           byName.put(field.getFieldName(), field);
23761         }
23762       }
23763 
23764       /**
23765        * Find the _Fields constant that matches fieldId, or null if its not found.
23766        */
23767       public static _Fields findByThriftId(int fieldId) {
23768         switch(fieldId) {
23769           case 3: // TINFO
23770             return TINFO;
23771           case 1: // CREDENTIAL
23772             return CREDENTIAL;
23773           case 2: // LOCK
23774             return LOCK;
23775           default:
23776             return null;
23777         }
23778       }
23779 
23780       /**
23781        * Find the _Fields constant that matches fieldId, throwing an exception
23782        * if it is not found.
23783        */
23784       public static _Fields findByThriftIdOrThrow(int fieldId) {
23785         _Fields fields = findByThriftId(fieldId);
23786         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
23787         return fields;
23788       }
23789 
23790       /**
23791        * Find the _Fields constant that matches name, or null if its not found.
23792        */
23793       public static _Fields findByName(String name) {
23794         return byName.get(name);
23795       }
23796 
23797       private final short _thriftId;
23798       private final String _fieldName;
23799 
23800       _Fields(short thriftId, String fieldName) {
23801         _thriftId = thriftId;
23802         _fieldName = fieldName;
23803       }
23804 
23805       public short getThriftFieldId() {
23806         return _thriftId;
23807       }
23808 
23809       public String getFieldName() {
23810         return _fieldName;
23811       }
23812     }
23813 
23814     // isset id assignments
23815     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
23816     static {
23817       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
23818       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
23819           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
23820       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
23821           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
23822       tmpMap.put(_Fields.LOCK, new org.apache.thrift.meta_data.FieldMetaData("lock", org.apache.thrift.TFieldRequirementType.DEFAULT, 
23823           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
23824       metaDataMap = Collections.unmodifiableMap(tmpMap);
23825       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(halt_args.class, metaDataMap);
23826     }
23827 
23828     public halt_args() {
23829     }
23830 
23831     public halt_args(
23832       org.apache.accumulo.trace.thrift.TInfo tinfo,
23833       org.apache.accumulo.core.security.thrift.Credential credential,
23834       String lock)
23835     {
23836       this();
23837       this.tinfo = tinfo;
23838       this.credential = credential;
23839       this.lock = lock;
23840     }
23841 
23842     /**
23843      * Performs a deep copy on <i>other</i>.
23844      */
23845     public halt_args(halt_args other) {
23846       if (other.isSetTinfo()) {
23847         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
23848       }
23849       if (other.isSetCredential()) {
23850         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
23851       }
23852       if (other.isSetLock()) {
23853         this.lock = other.lock;
23854       }
23855     }
23856 
23857     public halt_args deepCopy() {
23858       return new halt_args(this);
23859     }
23860 
23861     @Override
23862     public void clear() {
23863       this.tinfo = null;
23864       this.credential = null;
23865       this.lock = null;
23866     }
23867 
23868     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
23869       return this.tinfo;
23870     }
23871 
23872     public halt_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
23873       this.tinfo = tinfo;
23874       return this;
23875     }
23876 
23877     public void unsetTinfo() {
23878       this.tinfo = null;
23879     }
23880 
23881     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
23882     public boolean isSetTinfo() {
23883       return this.tinfo != null;
23884     }
23885 
23886     public void setTinfoIsSet(boolean value) {
23887       if (!value) {
23888         this.tinfo = null;
23889       }
23890     }
23891 
23892     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
23893       return this.credential;
23894     }
23895 
23896     public halt_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
23897       this.credential = credential;
23898       return this;
23899     }
23900 
23901     public void unsetCredential() {
23902       this.credential = null;
23903     }
23904 
23905     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
23906     public boolean isSetCredential() {
23907       return this.credential != null;
23908     }
23909 
23910     public void setCredentialIsSet(boolean value) {
23911       if (!value) {
23912         this.credential = null;
23913       }
23914     }
23915 
23916     public String getLock() {
23917       return this.lock;
23918     }
23919 
23920     public halt_args setLock(String lock) {
23921       this.lock = lock;
23922       return this;
23923     }
23924 
23925     public void unsetLock() {
23926       this.lock = null;
23927     }
23928 
23929     /** Returns true if field lock is set (has been assigned a value) and false otherwise */
23930     public boolean isSetLock() {
23931       return this.lock != null;
23932     }
23933 
23934     public void setLockIsSet(boolean value) {
23935       if (!value) {
23936         this.lock = null;
23937       }
23938     }
23939 
23940     public void setFieldValue(_Fields field, Object value) {
23941       switch (field) {
23942       case TINFO:
23943         if (value == null) {
23944           unsetTinfo();
23945         } else {
23946           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
23947         }
23948         break;
23949 
23950       case CREDENTIAL:
23951         if (value == null) {
23952           unsetCredential();
23953         } else {
23954           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
23955         }
23956         break;
23957 
23958       case LOCK:
23959         if (value == null) {
23960           unsetLock();
23961         } else {
23962           setLock((String)value);
23963         }
23964         break;
23965 
23966       }
23967     }
23968 
23969     public Object getFieldValue(_Fields field) {
23970       switch (field) {
23971       case TINFO:
23972         return getTinfo();
23973 
23974       case CREDENTIAL:
23975         return getCredential();
23976 
23977       case LOCK:
23978         return getLock();
23979 
23980       }
23981       throw new IllegalStateException();
23982     }
23983 
23984     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
23985     public boolean isSet(_Fields field) {
23986       if (field == null) {
23987         throw new IllegalArgumentException();
23988       }
23989 
23990       switch (field) {
23991       case TINFO:
23992         return isSetTinfo();
23993       case CREDENTIAL:
23994         return isSetCredential();
23995       case LOCK:
23996         return isSetLock();
23997       }
23998       throw new IllegalStateException();
23999     }
24000 
24001     @Override
24002     public boolean equals(Object that) {
24003       if (that == null)
24004         return false;
24005       if (that instanceof halt_args)
24006         return this.equals((halt_args)that);
24007       return false;
24008     }
24009 
24010     public boolean equals(halt_args that) {
24011       if (that == null)
24012         return false;
24013 
24014       boolean this_present_tinfo = true && this.isSetTinfo();
24015       boolean that_present_tinfo = true && that.isSetTinfo();
24016       if (this_present_tinfo || that_present_tinfo) {
24017         if (!(this_present_tinfo && that_present_tinfo))
24018           return false;
24019         if (!this.tinfo.equals(that.tinfo))
24020           return false;
24021       }
24022 
24023       boolean this_present_credential = true && this.isSetCredential();
24024       boolean that_present_credential = true && that.isSetCredential();
24025       if (this_present_credential || that_present_credential) {
24026         if (!(this_present_credential && that_present_credential))
24027           return false;
24028         if (!this.credential.equals(that.credential))
24029           return false;
24030       }
24031 
24032       boolean this_present_lock = true && this.isSetLock();
24033       boolean that_present_lock = true && that.isSetLock();
24034       if (this_present_lock || that_present_lock) {
24035         if (!(this_present_lock && that_present_lock))
24036           return false;
24037         if (!this.lock.equals(that.lock))
24038           return false;
24039       }
24040 
24041       return true;
24042     }
24043 
24044     @Override
24045     public int hashCode() {
24046       return 0;
24047     }
24048 
24049     public int compareTo(halt_args other) {
24050       if (!getClass().equals(other.getClass())) {
24051         return getClass().getName().compareTo(other.getClass().getName());
24052       }
24053 
24054       int lastComparison = 0;
24055       halt_args typedOther = (halt_args)other;
24056 
24057       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
24058       if (lastComparison != 0) {
24059         return lastComparison;
24060       }
24061       if (isSetTinfo()) {
24062         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
24063         if (lastComparison != 0) {
24064           return lastComparison;
24065         }
24066       }
24067       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
24068       if (lastComparison != 0) {
24069         return lastComparison;
24070       }
24071       if (isSetCredential()) {
24072         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
24073         if (lastComparison != 0) {
24074           return lastComparison;
24075         }
24076       }
24077       lastComparison = Boolean.valueOf(isSetLock()).compareTo(typedOther.isSetLock());
24078       if (lastComparison != 0) {
24079         return lastComparison;
24080       }
24081       if (isSetLock()) {
24082         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lock, typedOther.lock);
24083         if (lastComparison != 0) {
24084           return lastComparison;
24085         }
24086       }
24087       return 0;
24088     }
24089 
24090     public _Fields fieldForId(int fieldId) {
24091       return _Fields.findByThriftId(fieldId);
24092     }
24093 
24094     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
24095       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
24096     }
24097 
24098     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
24099       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
24100     }
24101 
24102     @Override
24103     public String toString() {
24104       StringBuilder sb = new StringBuilder("halt_args(");
24105       boolean first = true;
24106 
24107       sb.append("tinfo:");
24108       if (this.tinfo == null) {
24109         sb.append("null");
24110       } else {
24111         sb.append(this.tinfo);
24112       }
24113       first = false;
24114       if (!first) sb.append(", ");
24115       sb.append("credential:");
24116       if (this.credential == null) {
24117         sb.append("null");
24118       } else {
24119         sb.append(this.credential);
24120       }
24121       first = false;
24122       if (!first) sb.append(", ");
24123       sb.append("lock:");
24124       if (this.lock == null) {
24125         sb.append("null");
24126       } else {
24127         sb.append(this.lock);
24128       }
24129       first = false;
24130       sb.append(")");
24131       return sb.toString();
24132     }
24133 
24134     public void validate() throws org.apache.thrift.TException {
24135       // check for required fields
24136       // check for sub-struct validity
24137       if (tinfo != null) {
24138         tinfo.validate();
24139       }
24140       if (credential != null) {
24141         credential.validate();
24142       }
24143     }
24144 
24145     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
24146       try {
24147         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
24148       } catch (org.apache.thrift.TException te) {
24149         throw new java.io.IOException(te);
24150       }
24151     }
24152 
24153     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
24154       try {
24155         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
24156       } catch (org.apache.thrift.TException te) {
24157         throw new java.io.IOException(te);
24158       }
24159     }
24160 
24161     private static class halt_argsStandardSchemeFactory implements SchemeFactory {
24162       public halt_argsStandardScheme getScheme() {
24163         return new halt_argsStandardScheme();
24164       }
24165     }
24166 
24167     private static class halt_argsStandardScheme extends StandardScheme<halt_args> {
24168 
24169       public void read(org.apache.thrift.protocol.TProtocol iprot, halt_args struct) throws org.apache.thrift.TException {
24170         org.apache.thrift.protocol.TField schemeField;
24171         iprot.readStructBegin();
24172         while (true)
24173         {
24174           schemeField = iprot.readFieldBegin();
24175           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
24176             break;
24177           }
24178           switch (schemeField.id) {
24179             case 3: // TINFO
24180               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
24181                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
24182                 struct.tinfo.read(iprot);
24183                 struct.setTinfoIsSet(true);
24184               } else { 
24185                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
24186               }
24187               break;
24188             case 1: // CREDENTIAL
24189               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
24190                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
24191                 struct.credential.read(iprot);
24192                 struct.setCredentialIsSet(true);
24193               } else { 
24194                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
24195               }
24196               break;
24197             case 2: // LOCK
24198               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
24199                 struct.lock = iprot.readString();
24200                 struct.setLockIsSet(true);
24201               } else { 
24202                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
24203               }
24204               break;
24205             default:
24206               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
24207           }
24208           iprot.readFieldEnd();
24209         }
24210         iprot.readStructEnd();
24211 
24212         // check for required fields of primitive type, which can't be checked in the validate method
24213         struct.validate();
24214       }
24215 
24216       public void write(org.apache.thrift.protocol.TProtocol oprot, halt_args struct) throws org.apache.thrift.TException {
24217         struct.validate();
24218 
24219         oprot.writeStructBegin(STRUCT_DESC);
24220         if (struct.credential != null) {
24221           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
24222           struct.credential.write(oprot);
24223           oprot.writeFieldEnd();
24224         }
24225         if (struct.lock != null) {
24226           oprot.writeFieldBegin(LOCK_FIELD_DESC);
24227           oprot.writeString(struct.lock);
24228           oprot.writeFieldEnd();
24229         }
24230         if (struct.tinfo != null) {
24231           oprot.writeFieldBegin(TINFO_FIELD_DESC);
24232           struct.tinfo.write(oprot);
24233           oprot.writeFieldEnd();
24234         }
24235         oprot.writeFieldStop();
24236         oprot.writeStructEnd();
24237       }
24238 
24239     }
24240 
24241     private static class halt_argsTupleSchemeFactory implements SchemeFactory {
24242       public halt_argsTupleScheme getScheme() {
24243         return new halt_argsTupleScheme();
24244       }
24245     }
24246 
24247     private static class halt_argsTupleScheme extends TupleScheme<halt_args> {
24248 
24249       @Override
24250       public void write(org.apache.thrift.protocol.TProtocol prot, halt_args struct) throws org.apache.thrift.TException {
24251         TTupleProtocol oprot = (TTupleProtocol) prot;
24252         BitSet optionals = new BitSet();
24253         if (struct.isSetTinfo()) {
24254           optionals.set(0);
24255         }
24256         if (struct.isSetCredential()) {
24257           optionals.set(1);
24258         }
24259         if (struct.isSetLock()) {
24260           optionals.set(2);
24261         }
24262         oprot.writeBitSet(optionals, 3);
24263         if (struct.isSetTinfo()) {
24264           struct.tinfo.write(oprot);
24265         }
24266         if (struct.isSetCredential()) {
24267           struct.credential.write(oprot);
24268         }
24269         if (struct.isSetLock()) {
24270           oprot.writeString(struct.lock);
24271         }
24272       }
24273 
24274       @Override
24275       public void read(org.apache.thrift.protocol.TProtocol prot, halt_args struct) throws org.apache.thrift.TException {
24276         TTupleProtocol iprot = (TTupleProtocol) prot;
24277         BitSet incoming = iprot.readBitSet(3);
24278         if (incoming.get(0)) {
24279           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
24280           struct.tinfo.read(iprot);
24281           struct.setTinfoIsSet(true);
24282         }
24283         if (incoming.get(1)) {
24284           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
24285           struct.credential.read(iprot);
24286           struct.setCredentialIsSet(true);
24287         }
24288         if (incoming.get(2)) {
24289           struct.lock = iprot.readString();
24290           struct.setLockIsSet(true);
24291         }
24292       }
24293     }
24294 
24295   }
24296 
24297   public static class halt_result implements org.apache.thrift.TBase<halt_result, halt_result._Fields>, java.io.Serializable, Cloneable   {
24298     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("halt_result");
24299 
24300     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);
24301 
24302     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
24303     static {
24304       schemes.put(StandardScheme.class, new halt_resultStandardSchemeFactory());
24305       schemes.put(TupleScheme.class, new halt_resultTupleSchemeFactory());
24306     }
24307 
24308     public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required
24309 
24310     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
24311     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
24312       SEC((short)1, "sec");
24313 
24314       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
24315 
24316       static {
24317         for (_Fields field : EnumSet.allOf(_Fields.class)) {
24318           byName.put(field.getFieldName(), field);
24319         }
24320       }
24321 
24322       /**
24323        * Find the _Fields constant that matches fieldId, or null if its not found.
24324        */
24325       public static _Fields findByThriftId(int fieldId) {
24326         switch(fieldId) {
24327           case 1: // SEC
24328             return SEC;
24329           default:
24330             return null;
24331         }
24332       }
24333 
24334       /**
24335        * Find the _Fields constant that matches fieldId, throwing an exception
24336        * if it is not found.
24337        */
24338       public static _Fields findByThriftIdOrThrow(int fieldId) {
24339         _Fields fields = findByThriftId(fieldId);
24340         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
24341         return fields;
24342       }
24343 
24344       /**
24345        * Find the _Fields constant that matches name, or null if its not found.
24346        */
24347       public static _Fields findByName(String name) {
24348         return byName.get(name);
24349       }
24350 
24351       private final short _thriftId;
24352       private final String _fieldName;
24353 
24354       _Fields(short thriftId, String fieldName) {
24355         _thriftId = thriftId;
24356         _fieldName = fieldName;
24357       }
24358 
24359       public short getThriftFieldId() {
24360         return _thriftId;
24361       }
24362 
24363       public String getFieldName() {
24364         return _fieldName;
24365       }
24366     }
24367 
24368     // isset id assignments
24369     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
24370     static {
24371       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
24372       tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, 
24373           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
24374       metaDataMap = Collections.unmodifiableMap(tmpMap);
24375       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(halt_result.class, metaDataMap);
24376     }
24377 
24378     public halt_result() {
24379     }
24380 
24381     public halt_result(
24382       org.apache.accumulo.core.security.thrift.ThriftSecurityException sec)
24383     {
24384       this();
24385       this.sec = sec;
24386     }
24387 
24388     /**
24389      * Performs a deep copy on <i>other</i>.
24390      */
24391     public halt_result(halt_result other) {
24392       if (other.isSetSec()) {
24393         this.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(other.sec);
24394       }
24395     }
24396 
24397     public halt_result deepCopy() {
24398       return new halt_result(this);
24399     }
24400 
24401     @Override
24402     public void clear() {
24403       this.sec = null;
24404     }
24405 
24406     public org.apache.accumulo.core.security.thrift.ThriftSecurityException getSec() {
24407       return this.sec;
24408     }
24409 
24410     public halt_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
24411       this.sec = sec;
24412       return this;
24413     }
24414 
24415     public void unsetSec() {
24416       this.sec = null;
24417     }
24418 
24419     /** Returns true if field sec is set (has been assigned a value) and false otherwise */
24420     public boolean isSetSec() {
24421       return this.sec != null;
24422     }
24423 
24424     public void setSecIsSet(boolean value) {
24425       if (!value) {
24426         this.sec = null;
24427       }
24428     }
24429 
24430     public void setFieldValue(_Fields field, Object value) {
24431       switch (field) {
24432       case SEC:
24433         if (value == null) {
24434           unsetSec();
24435         } else {
24436           setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value);
24437         }
24438         break;
24439 
24440       }
24441     }
24442 
24443     public Object getFieldValue(_Fields field) {
24444       switch (field) {
24445       case SEC:
24446         return getSec();
24447 
24448       }
24449       throw new IllegalStateException();
24450     }
24451 
24452     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
24453     public boolean isSet(_Fields field) {
24454       if (field == null) {
24455         throw new IllegalArgumentException();
24456       }
24457 
24458       switch (field) {
24459       case SEC:
24460         return isSetSec();
24461       }
24462       throw new IllegalStateException();
24463     }
24464 
24465     @Override
24466     public boolean equals(Object that) {
24467       if (that == null)
24468         return false;
24469       if (that instanceof halt_result)
24470         return this.equals((halt_result)that);
24471       return false;
24472     }
24473 
24474     public boolean equals(halt_result that) {
24475       if (that == null)
24476         return false;
24477 
24478       boolean this_present_sec = true && this.isSetSec();
24479       boolean that_present_sec = true && that.isSetSec();
24480       if (this_present_sec || that_present_sec) {
24481         if (!(this_present_sec && that_present_sec))
24482           return false;
24483         if (!this.sec.equals(that.sec))
24484           return false;
24485       }
24486 
24487       return true;
24488     }
24489 
24490     @Override
24491     public int hashCode() {
24492       return 0;
24493     }
24494 
24495     public int compareTo(halt_result other) {
24496       if (!getClass().equals(other.getClass())) {
24497         return getClass().getName().compareTo(other.getClass().getName());
24498       }
24499 
24500       int lastComparison = 0;
24501       halt_result typedOther = (halt_result)other;
24502 
24503       lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec());
24504       if (lastComparison != 0) {
24505         return lastComparison;
24506       }
24507       if (isSetSec()) {
24508         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec);
24509         if (lastComparison != 0) {
24510           return lastComparison;
24511         }
24512       }
24513       return 0;
24514     }
24515 
24516     public _Fields fieldForId(int fieldId) {
24517       return _Fields.findByThriftId(fieldId);
24518     }
24519 
24520     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
24521       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
24522     }
24523 
24524     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
24525       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
24526       }
24527 
24528     @Override
24529     public String toString() {
24530       StringBuilder sb = new StringBuilder("halt_result(");
24531       boolean first = true;
24532 
24533       sb.append("sec:");
24534       if (this.sec == null) {
24535         sb.append("null");
24536       } else {
24537         sb.append(this.sec);
24538       }
24539       first = false;
24540       sb.append(")");
24541       return sb.toString();
24542     }
24543 
24544     public void validate() throws org.apache.thrift.TException {
24545       // check for required fields
24546       // check for sub-struct validity
24547     }
24548 
24549     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
24550       try {
24551         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
24552       } catch (org.apache.thrift.TException te) {
24553         throw new java.io.IOException(te);
24554       }
24555     }
24556 
24557     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
24558       try {
24559         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
24560       } catch (org.apache.thrift.TException te) {
24561         throw new java.io.IOException(te);
24562       }
24563     }
24564 
24565     private static class halt_resultStandardSchemeFactory implements SchemeFactory {
24566       public halt_resultStandardScheme getScheme() {
24567         return new halt_resultStandardScheme();
24568       }
24569     }
24570 
24571     private static class halt_resultStandardScheme extends StandardScheme<halt_result> {
24572 
24573       public void read(org.apache.thrift.protocol.TProtocol iprot, halt_result struct) throws org.apache.thrift.TException {
24574         org.apache.thrift.protocol.TField schemeField;
24575         iprot.readStructBegin();
24576         while (true)
24577         {
24578           schemeField = iprot.readFieldBegin();
24579           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
24580             break;
24581           }
24582           switch (schemeField.id) {
24583             case 1: // SEC
24584               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
24585                 struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
24586                 struct.sec.read(iprot);
24587                 struct.setSecIsSet(true);
24588               } else { 
24589                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
24590               }
24591               break;
24592             default:
24593               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
24594           }
24595           iprot.readFieldEnd();
24596         }
24597         iprot.readStructEnd();
24598 
24599         // check for required fields of primitive type, which can't be checked in the validate method
24600         struct.validate();
24601       }
24602 
24603       public void write(org.apache.thrift.protocol.TProtocol oprot, halt_result struct) throws org.apache.thrift.TException {
24604         struct.validate();
24605 
24606         oprot.writeStructBegin(STRUCT_DESC);
24607         if (struct.sec != null) {
24608           oprot.writeFieldBegin(SEC_FIELD_DESC);
24609           struct.sec.write(oprot);
24610           oprot.writeFieldEnd();
24611         }
24612         oprot.writeFieldStop();
24613         oprot.writeStructEnd();
24614       }
24615 
24616     }
24617 
24618     private static class halt_resultTupleSchemeFactory implements SchemeFactory {
24619       public halt_resultTupleScheme getScheme() {
24620         return new halt_resultTupleScheme();
24621       }
24622     }
24623 
24624     private static class halt_resultTupleScheme extends TupleScheme<halt_result> {
24625 
24626       @Override
24627       public void write(org.apache.thrift.protocol.TProtocol prot, halt_result struct) throws org.apache.thrift.TException {
24628         TTupleProtocol oprot = (TTupleProtocol) prot;
24629         BitSet optionals = new BitSet();
24630         if (struct.isSetSec()) {
24631           optionals.set(0);
24632         }
24633         oprot.writeBitSet(optionals, 1);
24634         if (struct.isSetSec()) {
24635           struct.sec.write(oprot);
24636         }
24637       }
24638 
24639       @Override
24640       public void read(org.apache.thrift.protocol.TProtocol prot, halt_result struct) throws org.apache.thrift.TException {
24641         TTupleProtocol iprot = (TTupleProtocol) prot;
24642         BitSet incoming = iprot.readBitSet(1);
24643         if (incoming.get(0)) {
24644           struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
24645           struct.sec.read(iprot);
24646           struct.setSecIsSet(true);
24647         }
24648       }
24649     }
24650 
24651   }
24652 
24653   public static class fastHalt_args implements org.apache.thrift.TBase<fastHalt_args, fastHalt_args._Fields>, java.io.Serializable, Cloneable   {
24654     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("fastHalt_args");
24655 
24656     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);
24657     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);
24658     private static final org.apache.thrift.protocol.TField LOCK_FIELD_DESC = new org.apache.thrift.protocol.TField("lock", org.apache.thrift.protocol.TType.STRING, (short)2);
24659 
24660     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
24661     static {
24662       schemes.put(StandardScheme.class, new fastHalt_argsStandardSchemeFactory());
24663       schemes.put(TupleScheme.class, new fastHalt_argsTupleSchemeFactory());
24664     }
24665 
24666     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
24667     public org.apache.accumulo.core.security.thrift.Credential credential; // required
24668     public String lock; // required
24669 
24670     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
24671     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
24672       TINFO((short)3, "tinfo"),
24673       CREDENTIAL((short)1, "credential"),
24674       LOCK((short)2, "lock");
24675 
24676       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
24677 
24678       static {
24679         for (_Fields field : EnumSet.allOf(_Fields.class)) {
24680           byName.put(field.getFieldName(), field);
24681         }
24682       }
24683 
24684       /**
24685        * Find the _Fields constant that matches fieldId, or null if its not found.
24686        */
24687       public static _Fields findByThriftId(int fieldId) {
24688         switch(fieldId) {
24689           case 3: // TINFO
24690             return TINFO;
24691           case 1: // CREDENTIAL
24692             return CREDENTIAL;
24693           case 2: // LOCK
24694             return LOCK;
24695           default:
24696             return null;
24697         }
24698       }
24699 
24700       /**
24701        * Find the _Fields constant that matches fieldId, throwing an exception
24702        * if it is not found.
24703        */
24704       public static _Fields findByThriftIdOrThrow(int fieldId) {
24705         _Fields fields = findByThriftId(fieldId);
24706         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
24707         return fields;
24708       }
24709 
24710       /**
24711        * Find the _Fields constant that matches name, or null if its not found.
24712        */
24713       public static _Fields findByName(String name) {
24714         return byName.get(name);
24715       }
24716 
24717       private final short _thriftId;
24718       private final String _fieldName;
24719 
24720       _Fields(short thriftId, String fieldName) {
24721         _thriftId = thriftId;
24722         _fieldName = fieldName;
24723       }
24724 
24725       public short getThriftFieldId() {
24726         return _thriftId;
24727       }
24728 
24729       public String getFieldName() {
24730         return _fieldName;
24731       }
24732     }
24733 
24734     // isset id assignments
24735     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
24736     static {
24737       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
24738       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
24739           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
24740       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
24741           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
24742       tmpMap.put(_Fields.LOCK, new org.apache.thrift.meta_data.FieldMetaData("lock", org.apache.thrift.TFieldRequirementType.DEFAULT, 
24743           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
24744       metaDataMap = Collections.unmodifiableMap(tmpMap);
24745       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(fastHalt_args.class, metaDataMap);
24746     }
24747 
24748     public fastHalt_args() {
24749     }
24750 
24751     public fastHalt_args(
24752       org.apache.accumulo.trace.thrift.TInfo tinfo,
24753       org.apache.accumulo.core.security.thrift.Credential credential,
24754       String lock)
24755     {
24756       this();
24757       this.tinfo = tinfo;
24758       this.credential = credential;
24759       this.lock = lock;
24760     }
24761 
24762     /**
24763      * Performs a deep copy on <i>other</i>.
24764      */
24765     public fastHalt_args(fastHalt_args other) {
24766       if (other.isSetTinfo()) {
24767         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
24768       }
24769       if (other.isSetCredential()) {
24770         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
24771       }
24772       if (other.isSetLock()) {
24773         this.lock = other.lock;
24774       }
24775     }
24776 
24777     public fastHalt_args deepCopy() {
24778       return new fastHalt_args(this);
24779     }
24780 
24781     @Override
24782     public void clear() {
24783       this.tinfo = null;
24784       this.credential = null;
24785       this.lock = null;
24786     }
24787 
24788     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
24789       return this.tinfo;
24790     }
24791 
24792     public fastHalt_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
24793       this.tinfo = tinfo;
24794       return this;
24795     }
24796 
24797     public void unsetTinfo() {
24798       this.tinfo = null;
24799     }
24800 
24801     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
24802     public boolean isSetTinfo() {
24803       return this.tinfo != null;
24804     }
24805 
24806     public void setTinfoIsSet(boolean value) {
24807       if (!value) {
24808         this.tinfo = null;
24809       }
24810     }
24811 
24812     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
24813       return this.credential;
24814     }
24815 
24816     public fastHalt_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
24817       this.credential = credential;
24818       return this;
24819     }
24820 
24821     public void unsetCredential() {
24822       this.credential = null;
24823     }
24824 
24825     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
24826     public boolean isSetCredential() {
24827       return this.credential != null;
24828     }
24829 
24830     public void setCredentialIsSet(boolean value) {
24831       if (!value) {
24832         this.credential = null;
24833       }
24834     }
24835 
24836     public String getLock() {
24837       return this.lock;
24838     }
24839 
24840     public fastHalt_args setLock(String lock) {
24841       this.lock = lock;
24842       return this;
24843     }
24844 
24845     public void unsetLock() {
24846       this.lock = null;
24847     }
24848 
24849     /** Returns true if field lock is set (has been assigned a value) and false otherwise */
24850     public boolean isSetLock() {
24851       return this.lock != null;
24852     }
24853 
24854     public void setLockIsSet(boolean value) {
24855       if (!value) {
24856         this.lock = null;
24857       }
24858     }
24859 
24860     public void setFieldValue(_Fields field, Object value) {
24861       switch (field) {
24862       case TINFO:
24863         if (value == null) {
24864           unsetTinfo();
24865         } else {
24866           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
24867         }
24868         break;
24869 
24870       case CREDENTIAL:
24871         if (value == null) {
24872           unsetCredential();
24873         } else {
24874           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
24875         }
24876         break;
24877 
24878       case LOCK:
24879         if (value == null) {
24880           unsetLock();
24881         } else {
24882           setLock((String)value);
24883         }
24884         break;
24885 
24886       }
24887     }
24888 
24889     public Object getFieldValue(_Fields field) {
24890       switch (field) {
24891       case TINFO:
24892         return getTinfo();
24893 
24894       case CREDENTIAL:
24895         return getCredential();
24896 
24897       case LOCK:
24898         return getLock();
24899 
24900       }
24901       throw new IllegalStateException();
24902     }
24903 
24904     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
24905     public boolean isSet(_Fields field) {
24906       if (field == null) {
24907         throw new IllegalArgumentException();
24908       }
24909 
24910       switch (field) {
24911       case TINFO:
24912         return isSetTinfo();
24913       case CREDENTIAL:
24914         return isSetCredential();
24915       case LOCK:
24916         return isSetLock();
24917       }
24918       throw new IllegalStateException();
24919     }
24920 
24921     @Override
24922     public boolean equals(Object that) {
24923       if (that == null)
24924         return false;
24925       if (that instanceof fastHalt_args)
24926         return this.equals((fastHalt_args)that);
24927       return false;
24928     }
24929 
24930     public boolean equals(fastHalt_args that) {
24931       if (that == null)
24932         return false;
24933 
24934       boolean this_present_tinfo = true && this.isSetTinfo();
24935       boolean that_present_tinfo = true && that.isSetTinfo();
24936       if (this_present_tinfo || that_present_tinfo) {
24937         if (!(this_present_tinfo && that_present_tinfo))
24938           return false;
24939         if (!this.tinfo.equals(that.tinfo))
24940           return false;
24941       }
24942 
24943       boolean this_present_credential = true && this.isSetCredential();
24944       boolean that_present_credential = true && that.isSetCredential();
24945       if (this_present_credential || that_present_credential) {
24946         if (!(this_present_credential && that_present_credential))
24947           return false;
24948         if (!this.credential.equals(that.credential))
24949           return false;
24950       }
24951 
24952       boolean this_present_lock = true && this.isSetLock();
24953       boolean that_present_lock = true && that.isSetLock();
24954       if (this_present_lock || that_present_lock) {
24955         if (!(this_present_lock && that_present_lock))
24956           return false;
24957         if (!this.lock.equals(that.lock))
24958           return false;
24959       }
24960 
24961       return true;
24962     }
24963 
24964     @Override
24965     public int hashCode() {
24966       return 0;
24967     }
24968 
24969     public int compareTo(fastHalt_args other) {
24970       if (!getClass().equals(other.getClass())) {
24971         return getClass().getName().compareTo(other.getClass().getName());
24972       }
24973 
24974       int lastComparison = 0;
24975       fastHalt_args typedOther = (fastHalt_args)other;
24976 
24977       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
24978       if (lastComparison != 0) {
24979         return lastComparison;
24980       }
24981       if (isSetTinfo()) {
24982         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
24983         if (lastComparison != 0) {
24984           return lastComparison;
24985         }
24986       }
24987       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
24988       if (lastComparison != 0) {
24989         return lastComparison;
24990       }
24991       if (isSetCredential()) {
24992         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
24993         if (lastComparison != 0) {
24994           return lastComparison;
24995         }
24996       }
24997       lastComparison = Boolean.valueOf(isSetLock()).compareTo(typedOther.isSetLock());
24998       if (lastComparison != 0) {
24999         return lastComparison;
25000       }
25001       if (isSetLock()) {
25002         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lock, typedOther.lock);
25003         if (lastComparison != 0) {
25004           return lastComparison;
25005         }
25006       }
25007       return 0;
25008     }
25009 
25010     public _Fields fieldForId(int fieldId) {
25011       return _Fields.findByThriftId(fieldId);
25012     }
25013 
25014     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
25015       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
25016     }
25017 
25018     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
25019       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
25020     }
25021 
25022     @Override
25023     public String toString() {
25024       StringBuilder sb = new StringBuilder("fastHalt_args(");
25025       boolean first = true;
25026 
25027       sb.append("tinfo:");
25028       if (this.tinfo == null) {
25029         sb.append("null");
25030       } else {
25031         sb.append(this.tinfo);
25032       }
25033       first = false;
25034       if (!first) sb.append(", ");
25035       sb.append("credential:");
25036       if (this.credential == null) {
25037         sb.append("null");
25038       } else {
25039         sb.append(this.credential);
25040       }
25041       first = false;
25042       if (!first) sb.append(", ");
25043       sb.append("lock:");
25044       if (this.lock == null) {
25045         sb.append("null");
25046       } else {
25047         sb.append(this.lock);
25048       }
25049       first = false;
25050       sb.append(")");
25051       return sb.toString();
25052     }
25053 
25054     public void validate() throws org.apache.thrift.TException {
25055       // check for required fields
25056       // check for sub-struct validity
25057       if (tinfo != null) {
25058         tinfo.validate();
25059       }
25060       if (credential != null) {
25061         credential.validate();
25062       }
25063     }
25064 
25065     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
25066       try {
25067         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
25068       } catch (org.apache.thrift.TException te) {
25069         throw new java.io.IOException(te);
25070       }
25071     }
25072 
25073     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
25074       try {
25075         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
25076       } catch (org.apache.thrift.TException te) {
25077         throw new java.io.IOException(te);
25078       }
25079     }
25080 
25081     private static class fastHalt_argsStandardSchemeFactory implements SchemeFactory {
25082       public fastHalt_argsStandardScheme getScheme() {
25083         return new fastHalt_argsStandardScheme();
25084       }
25085     }
25086 
25087     private static class fastHalt_argsStandardScheme extends StandardScheme<fastHalt_args> {
25088 
25089       public void read(org.apache.thrift.protocol.TProtocol iprot, fastHalt_args struct) throws org.apache.thrift.TException {
25090         org.apache.thrift.protocol.TField schemeField;
25091         iprot.readStructBegin();
25092         while (true)
25093         {
25094           schemeField = iprot.readFieldBegin();
25095           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
25096             break;
25097           }
25098           switch (schemeField.id) {
25099             case 3: // TINFO
25100               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
25101                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
25102                 struct.tinfo.read(iprot);
25103                 struct.setTinfoIsSet(true);
25104               } else { 
25105                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
25106               }
25107               break;
25108             case 1: // CREDENTIAL
25109               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
25110                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
25111                 struct.credential.read(iprot);
25112                 struct.setCredentialIsSet(true);
25113               } else { 
25114                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
25115               }
25116               break;
25117             case 2: // LOCK
25118               if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
25119                 struct.lock = iprot.readString();
25120                 struct.setLockIsSet(true);
25121               } else { 
25122                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
25123               }
25124               break;
25125             default:
25126               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
25127           }
25128           iprot.readFieldEnd();
25129         }
25130         iprot.readStructEnd();
25131 
25132         // check for required fields of primitive type, which can't be checked in the validate method
25133         struct.validate();
25134       }
25135 
25136       public void write(org.apache.thrift.protocol.TProtocol oprot, fastHalt_args struct) throws org.apache.thrift.TException {
25137         struct.validate();
25138 
25139         oprot.writeStructBegin(STRUCT_DESC);
25140         if (struct.credential != null) {
25141           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
25142           struct.credential.write(oprot);
25143           oprot.writeFieldEnd();
25144         }
25145         if (struct.lock != null) {
25146           oprot.writeFieldBegin(LOCK_FIELD_DESC);
25147           oprot.writeString(struct.lock);
25148           oprot.writeFieldEnd();
25149         }
25150         if (struct.tinfo != null) {
25151           oprot.writeFieldBegin(TINFO_FIELD_DESC);
25152           struct.tinfo.write(oprot);
25153           oprot.writeFieldEnd();
25154         }
25155         oprot.writeFieldStop();
25156         oprot.writeStructEnd();
25157       }
25158 
25159     }
25160 
25161     private static class fastHalt_argsTupleSchemeFactory implements SchemeFactory {
25162       public fastHalt_argsTupleScheme getScheme() {
25163         return new fastHalt_argsTupleScheme();
25164       }
25165     }
25166 
25167     private static class fastHalt_argsTupleScheme extends TupleScheme<fastHalt_args> {
25168 
25169       @Override
25170       public void write(org.apache.thrift.protocol.TProtocol prot, fastHalt_args struct) throws org.apache.thrift.TException {
25171         TTupleProtocol oprot = (TTupleProtocol) prot;
25172         BitSet optionals = new BitSet();
25173         if (struct.isSetTinfo()) {
25174           optionals.set(0);
25175         }
25176         if (struct.isSetCredential()) {
25177           optionals.set(1);
25178         }
25179         if (struct.isSetLock()) {
25180           optionals.set(2);
25181         }
25182         oprot.writeBitSet(optionals, 3);
25183         if (struct.isSetTinfo()) {
25184           struct.tinfo.write(oprot);
25185         }
25186         if (struct.isSetCredential()) {
25187           struct.credential.write(oprot);
25188         }
25189         if (struct.isSetLock()) {
25190           oprot.writeString(struct.lock);
25191         }
25192       }
25193 
25194       @Override
25195       public void read(org.apache.thrift.protocol.TProtocol prot, fastHalt_args struct) throws org.apache.thrift.TException {
25196         TTupleProtocol iprot = (TTupleProtocol) prot;
25197         BitSet incoming = iprot.readBitSet(3);
25198         if (incoming.get(0)) {
25199           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
25200           struct.tinfo.read(iprot);
25201           struct.setTinfoIsSet(true);
25202         }
25203         if (incoming.get(1)) {
25204           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
25205           struct.credential.read(iprot);
25206           struct.setCredentialIsSet(true);
25207         }
25208         if (incoming.get(2)) {
25209           struct.lock = iprot.readString();
25210           struct.setLockIsSet(true);
25211         }
25212       }
25213     }
25214 
25215   }
25216 
25217   public static class getActiveScans_args implements org.apache.thrift.TBase<getActiveScans_args, getActiveScans_args._Fields>, java.io.Serializable, Cloneable   {
25218     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getActiveScans_args");
25219 
25220     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);
25221     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);
25222 
25223     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
25224     static {
25225       schemes.put(StandardScheme.class, new getActiveScans_argsStandardSchemeFactory());
25226       schemes.put(TupleScheme.class, new getActiveScans_argsTupleSchemeFactory());
25227     }
25228 
25229     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
25230     public org.apache.accumulo.core.security.thrift.Credential credential; // required
25231 
25232     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
25233     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
25234       TINFO((short)2, "tinfo"),
25235       CREDENTIAL((short)1, "credential");
25236 
25237       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
25238 
25239       static {
25240         for (_Fields field : EnumSet.allOf(_Fields.class)) {
25241           byName.put(field.getFieldName(), field);
25242         }
25243       }
25244 
25245       /**
25246        * Find the _Fields constant that matches fieldId, or null if its not found.
25247        */
25248       public static _Fields findByThriftId(int fieldId) {
25249         switch(fieldId) {
25250           case 2: // TINFO
25251             return TINFO;
25252           case 1: // CREDENTIAL
25253             return CREDENTIAL;
25254           default:
25255             return null;
25256         }
25257       }
25258 
25259       /**
25260        * Find the _Fields constant that matches fieldId, throwing an exception
25261        * if it is not found.
25262        */
25263       public static _Fields findByThriftIdOrThrow(int fieldId) {
25264         _Fields fields = findByThriftId(fieldId);
25265         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
25266         return fields;
25267       }
25268 
25269       /**
25270        * Find the _Fields constant that matches name, or null if its not found.
25271        */
25272       public static _Fields findByName(String name) {
25273         return byName.get(name);
25274       }
25275 
25276       private final short _thriftId;
25277       private final String _fieldName;
25278 
25279       _Fields(short thriftId, String fieldName) {
25280         _thriftId = thriftId;
25281         _fieldName = fieldName;
25282       }
25283 
25284       public short getThriftFieldId() {
25285         return _thriftId;
25286       }
25287 
25288       public String getFieldName() {
25289         return _fieldName;
25290       }
25291     }
25292 
25293     // isset id assignments
25294     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
25295     static {
25296       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
25297       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
25298           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
25299       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
25300           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
25301       metaDataMap = Collections.unmodifiableMap(tmpMap);
25302       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getActiveScans_args.class, metaDataMap);
25303     }
25304 
25305     public getActiveScans_args() {
25306     }
25307 
25308     public getActiveScans_args(
25309       org.apache.accumulo.trace.thrift.TInfo tinfo,
25310       org.apache.accumulo.core.security.thrift.Credential credential)
25311     {
25312       this();
25313       this.tinfo = tinfo;
25314       this.credential = credential;
25315     }
25316 
25317     /**
25318      * Performs a deep copy on <i>other</i>.
25319      */
25320     public getActiveScans_args(getActiveScans_args other) {
25321       if (other.isSetTinfo()) {
25322         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
25323       }
25324       if (other.isSetCredential()) {
25325         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
25326       }
25327     }
25328 
25329     public getActiveScans_args deepCopy() {
25330       return new getActiveScans_args(this);
25331     }
25332 
25333     @Override
25334     public void clear() {
25335       this.tinfo = null;
25336       this.credential = null;
25337     }
25338 
25339     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
25340       return this.tinfo;
25341     }
25342 
25343     public getActiveScans_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
25344       this.tinfo = tinfo;
25345       return this;
25346     }
25347 
25348     public void unsetTinfo() {
25349       this.tinfo = null;
25350     }
25351 
25352     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
25353     public boolean isSetTinfo() {
25354       return this.tinfo != null;
25355     }
25356 
25357     public void setTinfoIsSet(boolean value) {
25358       if (!value) {
25359         this.tinfo = null;
25360       }
25361     }
25362 
25363     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
25364       return this.credential;
25365     }
25366 
25367     public getActiveScans_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
25368       this.credential = credential;
25369       return this;
25370     }
25371 
25372     public void unsetCredential() {
25373       this.credential = null;
25374     }
25375 
25376     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
25377     public boolean isSetCredential() {
25378       return this.credential != null;
25379     }
25380 
25381     public void setCredentialIsSet(boolean value) {
25382       if (!value) {
25383         this.credential = null;
25384       }
25385     }
25386 
25387     public void setFieldValue(_Fields field, Object value) {
25388       switch (field) {
25389       case TINFO:
25390         if (value == null) {
25391           unsetTinfo();
25392         } else {
25393           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
25394         }
25395         break;
25396 
25397       case CREDENTIAL:
25398         if (value == null) {
25399           unsetCredential();
25400         } else {
25401           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
25402         }
25403         break;
25404 
25405       }
25406     }
25407 
25408     public Object getFieldValue(_Fields field) {
25409       switch (field) {
25410       case TINFO:
25411         return getTinfo();
25412 
25413       case CREDENTIAL:
25414         return getCredential();
25415 
25416       }
25417       throw new IllegalStateException();
25418     }
25419 
25420     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
25421     public boolean isSet(_Fields field) {
25422       if (field == null) {
25423         throw new IllegalArgumentException();
25424       }
25425 
25426       switch (field) {
25427       case TINFO:
25428         return isSetTinfo();
25429       case CREDENTIAL:
25430         return isSetCredential();
25431       }
25432       throw new IllegalStateException();
25433     }
25434 
25435     @Override
25436     public boolean equals(Object that) {
25437       if (that == null)
25438         return false;
25439       if (that instanceof getActiveScans_args)
25440         return this.equals((getActiveScans_args)that);
25441       return false;
25442     }
25443 
25444     public boolean equals(getActiveScans_args that) {
25445       if (that == null)
25446         return false;
25447 
25448       boolean this_present_tinfo = true && this.isSetTinfo();
25449       boolean that_present_tinfo = true && that.isSetTinfo();
25450       if (this_present_tinfo || that_present_tinfo) {
25451         if (!(this_present_tinfo && that_present_tinfo))
25452           return false;
25453         if (!this.tinfo.equals(that.tinfo))
25454           return false;
25455       }
25456 
25457       boolean this_present_credential = true && this.isSetCredential();
25458       boolean that_present_credential = true && that.isSetCredential();
25459       if (this_present_credential || that_present_credential) {
25460         if (!(this_present_credential && that_present_credential))
25461           return false;
25462         if (!this.credential.equals(that.credential))
25463           return false;
25464       }
25465 
25466       return true;
25467     }
25468 
25469     @Override
25470     public int hashCode() {
25471       return 0;
25472     }
25473 
25474     public int compareTo(getActiveScans_args other) {
25475       if (!getClass().equals(other.getClass())) {
25476         return getClass().getName().compareTo(other.getClass().getName());
25477       }
25478 
25479       int lastComparison = 0;
25480       getActiveScans_args typedOther = (getActiveScans_args)other;
25481 
25482       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
25483       if (lastComparison != 0) {
25484         return lastComparison;
25485       }
25486       if (isSetTinfo()) {
25487         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
25488         if (lastComparison != 0) {
25489           return lastComparison;
25490         }
25491       }
25492       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
25493       if (lastComparison != 0) {
25494         return lastComparison;
25495       }
25496       if (isSetCredential()) {
25497         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
25498         if (lastComparison != 0) {
25499           return lastComparison;
25500         }
25501       }
25502       return 0;
25503     }
25504 
25505     public _Fields fieldForId(int fieldId) {
25506       return _Fields.findByThriftId(fieldId);
25507     }
25508 
25509     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
25510       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
25511     }
25512 
25513     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
25514       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
25515     }
25516 
25517     @Override
25518     public String toString() {
25519       StringBuilder sb = new StringBuilder("getActiveScans_args(");
25520       boolean first = true;
25521 
25522       sb.append("tinfo:");
25523       if (this.tinfo == null) {
25524         sb.append("null");
25525       } else {
25526         sb.append(this.tinfo);
25527       }
25528       first = false;
25529       if (!first) sb.append(", ");
25530       sb.append("credential:");
25531       if (this.credential == null) {
25532         sb.append("null");
25533       } else {
25534         sb.append(this.credential);
25535       }
25536       first = false;
25537       sb.append(")");
25538       return sb.toString();
25539     }
25540 
25541     public void validate() throws org.apache.thrift.TException {
25542       // check for required fields
25543       // check for sub-struct validity
25544       if (tinfo != null) {
25545         tinfo.validate();
25546       }
25547       if (credential != null) {
25548         credential.validate();
25549       }
25550     }
25551 
25552     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
25553       try {
25554         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
25555       } catch (org.apache.thrift.TException te) {
25556         throw new java.io.IOException(te);
25557       }
25558     }
25559 
25560     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
25561       try {
25562         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
25563       } catch (org.apache.thrift.TException te) {
25564         throw new java.io.IOException(te);
25565       }
25566     }
25567 
25568     private static class getActiveScans_argsStandardSchemeFactory implements SchemeFactory {
25569       public getActiveScans_argsStandardScheme getScheme() {
25570         return new getActiveScans_argsStandardScheme();
25571       }
25572     }
25573 
25574     private static class getActiveScans_argsStandardScheme extends StandardScheme<getActiveScans_args> {
25575 
25576       public void read(org.apache.thrift.protocol.TProtocol iprot, getActiveScans_args struct) throws org.apache.thrift.TException {
25577         org.apache.thrift.protocol.TField schemeField;
25578         iprot.readStructBegin();
25579         while (true)
25580         {
25581           schemeField = iprot.readFieldBegin();
25582           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
25583             break;
25584           }
25585           switch (schemeField.id) {
25586             case 2: // TINFO
25587               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
25588                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
25589                 struct.tinfo.read(iprot);
25590                 struct.setTinfoIsSet(true);
25591               } else { 
25592                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
25593               }
25594               break;
25595             case 1: // CREDENTIAL
25596               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
25597                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
25598                 struct.credential.read(iprot);
25599                 struct.setCredentialIsSet(true);
25600               } else { 
25601                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
25602               }
25603               break;
25604             default:
25605               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
25606           }
25607           iprot.readFieldEnd();
25608         }
25609         iprot.readStructEnd();
25610 
25611         // check for required fields of primitive type, which can't be checked in the validate method
25612         struct.validate();
25613       }
25614 
25615       public void write(org.apache.thrift.protocol.TProtocol oprot, getActiveScans_args struct) throws org.apache.thrift.TException {
25616         struct.validate();
25617 
25618         oprot.writeStructBegin(STRUCT_DESC);
25619         if (struct.credential != null) {
25620           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
25621           struct.credential.write(oprot);
25622           oprot.writeFieldEnd();
25623         }
25624         if (struct.tinfo != null) {
25625           oprot.writeFieldBegin(TINFO_FIELD_DESC);
25626           struct.tinfo.write(oprot);
25627           oprot.writeFieldEnd();
25628         }
25629         oprot.writeFieldStop();
25630         oprot.writeStructEnd();
25631       }
25632 
25633     }
25634 
25635     private static class getActiveScans_argsTupleSchemeFactory implements SchemeFactory {
25636       public getActiveScans_argsTupleScheme getScheme() {
25637         return new getActiveScans_argsTupleScheme();
25638       }
25639     }
25640 
25641     private static class getActiveScans_argsTupleScheme extends TupleScheme<getActiveScans_args> {
25642 
25643       @Override
25644       public void write(org.apache.thrift.protocol.TProtocol prot, getActiveScans_args struct) throws org.apache.thrift.TException {
25645         TTupleProtocol oprot = (TTupleProtocol) prot;
25646         BitSet optionals = new BitSet();
25647         if (struct.isSetTinfo()) {
25648           optionals.set(0);
25649         }
25650         if (struct.isSetCredential()) {
25651           optionals.set(1);
25652         }
25653         oprot.writeBitSet(optionals, 2);
25654         if (struct.isSetTinfo()) {
25655           struct.tinfo.write(oprot);
25656         }
25657         if (struct.isSetCredential()) {
25658           struct.credential.write(oprot);
25659         }
25660       }
25661 
25662       @Override
25663       public void read(org.apache.thrift.protocol.TProtocol prot, getActiveScans_args struct) throws org.apache.thrift.TException {
25664         TTupleProtocol iprot = (TTupleProtocol) prot;
25665         BitSet incoming = iprot.readBitSet(2);
25666         if (incoming.get(0)) {
25667           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
25668           struct.tinfo.read(iprot);
25669           struct.setTinfoIsSet(true);
25670         }
25671         if (incoming.get(1)) {
25672           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
25673           struct.credential.read(iprot);
25674           struct.setCredentialIsSet(true);
25675         }
25676       }
25677     }
25678 
25679   }
25680 
25681   public static class getActiveScans_result implements org.apache.thrift.TBase<getActiveScans_result, getActiveScans_result._Fields>, java.io.Serializable, Cloneable   {
25682     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getActiveScans_result");
25683 
25684     private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
25685     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);
25686 
25687     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
25688     static {
25689       schemes.put(StandardScheme.class, new getActiveScans_resultStandardSchemeFactory());
25690       schemes.put(TupleScheme.class, new getActiveScans_resultTupleSchemeFactory());
25691     }
25692 
25693     public List<ActiveScan> success; // required
25694     public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required
25695 
25696     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
25697     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
25698       SUCCESS((short)0, "success"),
25699       SEC((short)1, "sec");
25700 
25701       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
25702 
25703       static {
25704         for (_Fields field : EnumSet.allOf(_Fields.class)) {
25705           byName.put(field.getFieldName(), field);
25706         }
25707       }
25708 
25709       /**
25710        * Find the _Fields constant that matches fieldId, or null if its not found.
25711        */
25712       public static _Fields findByThriftId(int fieldId) {
25713         switch(fieldId) {
25714           case 0: // SUCCESS
25715             return SUCCESS;
25716           case 1: // SEC
25717             return SEC;
25718           default:
25719             return null;
25720         }
25721       }
25722 
25723       /**
25724        * Find the _Fields constant that matches fieldId, throwing an exception
25725        * if it is not found.
25726        */
25727       public static _Fields findByThriftIdOrThrow(int fieldId) {
25728         _Fields fields = findByThriftId(fieldId);
25729         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
25730         return fields;
25731       }
25732 
25733       /**
25734        * Find the _Fields constant that matches name, or null if its not found.
25735        */
25736       public static _Fields findByName(String name) {
25737         return byName.get(name);
25738       }
25739 
25740       private final short _thriftId;
25741       private final String _fieldName;
25742 
25743       _Fields(short thriftId, String fieldName) {
25744         _thriftId = thriftId;
25745         _fieldName = fieldName;
25746       }
25747 
25748       public short getThriftFieldId() {
25749         return _thriftId;
25750       }
25751 
25752       public String getFieldName() {
25753         return _fieldName;
25754       }
25755     }
25756 
25757     // isset id assignments
25758     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
25759     static {
25760       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
25761       tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
25762           new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
25763               new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ActiveScan.class))));
25764       tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, 
25765           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
25766       metaDataMap = Collections.unmodifiableMap(tmpMap);
25767       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getActiveScans_result.class, metaDataMap);
25768     }
25769 
25770     public getActiveScans_result() {
25771     }
25772 
25773     public getActiveScans_result(
25774       List<ActiveScan> success,
25775       org.apache.accumulo.core.security.thrift.ThriftSecurityException sec)
25776     {
25777       this();
25778       this.success = success;
25779       this.sec = sec;
25780     }
25781 
25782     /**
25783      * Performs a deep copy on <i>other</i>.
25784      */
25785     public getActiveScans_result(getActiveScans_result other) {
25786       if (other.isSetSuccess()) {
25787         List<ActiveScan> __this__success = new ArrayList<ActiveScan>();
25788         for (ActiveScan other_element : other.success) {
25789           __this__success.add(new ActiveScan(other_element));
25790         }
25791         this.success = __this__success;
25792       }
25793       if (other.isSetSec()) {
25794         this.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(other.sec);
25795       }
25796     }
25797 
25798     public getActiveScans_result deepCopy() {
25799       return new getActiveScans_result(this);
25800     }
25801 
25802     @Override
25803     public void clear() {
25804       this.success = null;
25805       this.sec = null;
25806     }
25807 
25808     public int getSuccessSize() {
25809       return (this.success == null) ? 0 : this.success.size();
25810     }
25811 
25812     public java.util.Iterator<ActiveScan> getSuccessIterator() {
25813       return (this.success == null) ? null : this.success.iterator();
25814     }
25815 
25816     public void addToSuccess(ActiveScan elem) {
25817       if (this.success == null) {
25818         this.success = new ArrayList<ActiveScan>();
25819       }
25820       this.success.add(elem);
25821     }
25822 
25823     public List<ActiveScan> getSuccess() {
25824       return this.success;
25825     }
25826 
25827     public getActiveScans_result setSuccess(List<ActiveScan> success) {
25828       this.success = success;
25829       return this;
25830     }
25831 
25832     public void unsetSuccess() {
25833       this.success = null;
25834     }
25835 
25836     /** Returns true if field success is set (has been assigned a value) and false otherwise */
25837     public boolean isSetSuccess() {
25838       return this.success != null;
25839     }
25840 
25841     public void setSuccessIsSet(boolean value) {
25842       if (!value) {
25843         this.success = null;
25844       }
25845     }
25846 
25847     public org.apache.accumulo.core.security.thrift.ThriftSecurityException getSec() {
25848       return this.sec;
25849     }
25850 
25851     public getActiveScans_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
25852       this.sec = sec;
25853       return this;
25854     }
25855 
25856     public void unsetSec() {
25857       this.sec = null;
25858     }
25859 
25860     /** Returns true if field sec is set (has been assigned a value) and false otherwise */
25861     public boolean isSetSec() {
25862       return this.sec != null;
25863     }
25864 
25865     public void setSecIsSet(boolean value) {
25866       if (!value) {
25867         this.sec = null;
25868       }
25869     }
25870 
25871     public void setFieldValue(_Fields field, Object value) {
25872       switch (field) {
25873       case SUCCESS:
25874         if (value == null) {
25875           unsetSuccess();
25876         } else {
25877           setSuccess((List<ActiveScan>)value);
25878         }
25879         break;
25880 
25881       case SEC:
25882         if (value == null) {
25883           unsetSec();
25884         } else {
25885           setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value);
25886         }
25887         break;
25888 
25889       }
25890     }
25891 
25892     public Object getFieldValue(_Fields field) {
25893       switch (field) {
25894       case SUCCESS:
25895         return getSuccess();
25896 
25897       case SEC:
25898         return getSec();
25899 
25900       }
25901       throw new IllegalStateException();
25902     }
25903 
25904     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
25905     public boolean isSet(_Fields field) {
25906       if (field == null) {
25907         throw new IllegalArgumentException();
25908       }
25909 
25910       switch (field) {
25911       case SUCCESS:
25912         return isSetSuccess();
25913       case SEC:
25914         return isSetSec();
25915       }
25916       throw new IllegalStateException();
25917     }
25918 
25919     @Override
25920     public boolean equals(Object that) {
25921       if (that == null)
25922         return false;
25923       if (that instanceof getActiveScans_result)
25924         return this.equals((getActiveScans_result)that);
25925       return false;
25926     }
25927 
25928     public boolean equals(getActiveScans_result that) {
25929       if (that == null)
25930         return false;
25931 
25932       boolean this_present_success = true && this.isSetSuccess();
25933       boolean that_present_success = true && that.isSetSuccess();
25934       if (this_present_success || that_present_success) {
25935         if (!(this_present_success && that_present_success))
25936           return false;
25937         if (!this.success.equals(that.success))
25938           return false;
25939       }
25940 
25941       boolean this_present_sec = true && this.isSetSec();
25942       boolean that_present_sec = true && that.isSetSec();
25943       if (this_present_sec || that_present_sec) {
25944         if (!(this_present_sec && that_present_sec))
25945           return false;
25946         if (!this.sec.equals(that.sec))
25947           return false;
25948       }
25949 
25950       return true;
25951     }
25952 
25953     @Override
25954     public int hashCode() {
25955       return 0;
25956     }
25957 
25958     public int compareTo(getActiveScans_result other) {
25959       if (!getClass().equals(other.getClass())) {
25960         return getClass().getName().compareTo(other.getClass().getName());
25961       }
25962 
25963       int lastComparison = 0;
25964       getActiveScans_result typedOther = (getActiveScans_result)other;
25965 
25966       lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
25967       if (lastComparison != 0) {
25968         return lastComparison;
25969       }
25970       if (isSetSuccess()) {
25971         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
25972         if (lastComparison != 0) {
25973           return lastComparison;
25974         }
25975       }
25976       lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec());
25977       if (lastComparison != 0) {
25978         return lastComparison;
25979       }
25980       if (isSetSec()) {
25981         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec);
25982         if (lastComparison != 0) {
25983           return lastComparison;
25984         }
25985       }
25986       return 0;
25987     }
25988 
25989     public _Fields fieldForId(int fieldId) {
25990       return _Fields.findByThriftId(fieldId);
25991     }
25992 
25993     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
25994       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
25995     }
25996 
25997     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
25998       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
25999       }
26000 
26001     @Override
26002     public String toString() {
26003       StringBuilder sb = new StringBuilder("getActiveScans_result(");
26004       boolean first = true;
26005 
26006       sb.append("success:");
26007       if (this.success == null) {
26008         sb.append("null");
26009       } else {
26010         sb.append(this.success);
26011       }
26012       first = false;
26013       if (!first) sb.append(", ");
26014       sb.append("sec:");
26015       if (this.sec == null) {
26016         sb.append("null");
26017       } else {
26018         sb.append(this.sec);
26019       }
26020       first = false;
26021       sb.append(")");
26022       return sb.toString();
26023     }
26024 
26025     public void validate() throws org.apache.thrift.TException {
26026       // check for required fields
26027       // check for sub-struct validity
26028     }
26029 
26030     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
26031       try {
26032         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
26033       } catch (org.apache.thrift.TException te) {
26034         throw new java.io.IOException(te);
26035       }
26036     }
26037 
26038     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
26039       try {
26040         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
26041       } catch (org.apache.thrift.TException te) {
26042         throw new java.io.IOException(te);
26043       }
26044     }
26045 
26046     private static class getActiveScans_resultStandardSchemeFactory implements SchemeFactory {
26047       public getActiveScans_resultStandardScheme getScheme() {
26048         return new getActiveScans_resultStandardScheme();
26049       }
26050     }
26051 
26052     private static class getActiveScans_resultStandardScheme extends StandardScheme<getActiveScans_result> {
26053 
26054       public void read(org.apache.thrift.protocol.TProtocol iprot, getActiveScans_result struct) throws org.apache.thrift.TException {
26055         org.apache.thrift.protocol.TField schemeField;
26056         iprot.readStructBegin();
26057         while (true)
26058         {
26059           schemeField = iprot.readFieldBegin();
26060           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
26061             break;
26062           }
26063           switch (schemeField.id) {
26064             case 0: // SUCCESS
26065               if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
26066                 {
26067                   org.apache.thrift.protocol.TList _list256 = iprot.readListBegin();
26068                   struct.success = new ArrayList<ActiveScan>(_list256.size);
26069                   for (int _i257 = 0; _i257 < _list256.size; ++_i257)
26070                   {
26071                     ActiveScan _elem258; // required
26072                     _elem258 = new ActiveScan();
26073                     _elem258.read(iprot);
26074                     struct.success.add(_elem258);
26075                   }
26076                   iprot.readListEnd();
26077                 }
26078                 struct.setSuccessIsSet(true);
26079               } else { 
26080                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
26081               }
26082               break;
26083             case 1: // SEC
26084               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
26085                 struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
26086                 struct.sec.read(iprot);
26087                 struct.setSecIsSet(true);
26088               } else { 
26089                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
26090               }
26091               break;
26092             default:
26093               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
26094           }
26095           iprot.readFieldEnd();
26096         }
26097         iprot.readStructEnd();
26098 
26099         // check for required fields of primitive type, which can't be checked in the validate method
26100         struct.validate();
26101       }
26102 
26103       public void write(org.apache.thrift.protocol.TProtocol oprot, getActiveScans_result struct) throws org.apache.thrift.TException {
26104         struct.validate();
26105 
26106         oprot.writeStructBegin(STRUCT_DESC);
26107         if (struct.success != null) {
26108           oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
26109           {
26110             oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size()));
26111             for (ActiveScan _iter259 : struct.success)
26112             {
26113               _iter259.write(oprot);
26114             }
26115             oprot.writeListEnd();
26116           }
26117           oprot.writeFieldEnd();
26118         }
26119         if (struct.sec != null) {
26120           oprot.writeFieldBegin(SEC_FIELD_DESC);
26121           struct.sec.write(oprot);
26122           oprot.writeFieldEnd();
26123         }
26124         oprot.writeFieldStop();
26125         oprot.writeStructEnd();
26126       }
26127 
26128     }
26129 
26130     private static class getActiveScans_resultTupleSchemeFactory implements SchemeFactory {
26131       public getActiveScans_resultTupleScheme getScheme() {
26132         return new getActiveScans_resultTupleScheme();
26133       }
26134     }
26135 
26136     private static class getActiveScans_resultTupleScheme extends TupleScheme<getActiveScans_result> {
26137 
26138       @Override
26139       public void write(org.apache.thrift.protocol.TProtocol prot, getActiveScans_result struct) throws org.apache.thrift.TException {
26140         TTupleProtocol oprot = (TTupleProtocol) prot;
26141         BitSet optionals = new BitSet();
26142         if (struct.isSetSuccess()) {
26143           optionals.set(0);
26144         }
26145         if (struct.isSetSec()) {
26146           optionals.set(1);
26147         }
26148         oprot.writeBitSet(optionals, 2);
26149         if (struct.isSetSuccess()) {
26150           {
26151             oprot.writeI32(struct.success.size());
26152             for (ActiveScan _iter260 : struct.success)
26153             {
26154               _iter260.write(oprot);
26155             }
26156           }
26157         }
26158         if (struct.isSetSec()) {
26159           struct.sec.write(oprot);
26160         }
26161       }
26162 
26163       @Override
26164       public void read(org.apache.thrift.protocol.TProtocol prot, getActiveScans_result struct) throws org.apache.thrift.TException {
26165         TTupleProtocol iprot = (TTupleProtocol) prot;
26166         BitSet incoming = iprot.readBitSet(2);
26167         if (incoming.get(0)) {
26168           {
26169             org.apache.thrift.protocol.TList _list261 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
26170             struct.success = new ArrayList<ActiveScan>(_list261.size);
26171             for (int _i262 = 0; _i262 < _list261.size; ++_i262)
26172             {
26173               ActiveScan _elem263; // required
26174               _elem263 = new ActiveScan();
26175               _elem263.read(iprot);
26176               struct.success.add(_elem263);
26177             }
26178           }
26179           struct.setSuccessIsSet(true);
26180         }
26181         if (incoming.get(1)) {
26182           struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
26183           struct.sec.read(iprot);
26184           struct.setSecIsSet(true);
26185         }
26186       }
26187     }
26188 
26189   }
26190 
26191   public static class getActiveCompactions_args implements org.apache.thrift.TBase<getActiveCompactions_args, getActiveCompactions_args._Fields>, java.io.Serializable, Cloneable   {
26192     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getActiveCompactions_args");
26193 
26194     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);
26195     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);
26196 
26197     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
26198     static {
26199       schemes.put(StandardScheme.class, new getActiveCompactions_argsStandardSchemeFactory());
26200       schemes.put(TupleScheme.class, new getActiveCompactions_argsTupleSchemeFactory());
26201     }
26202 
26203     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
26204     public org.apache.accumulo.core.security.thrift.Credential credential; // required
26205 
26206     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
26207     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
26208       TINFO((short)2, "tinfo"),
26209       CREDENTIAL((short)1, "credential");
26210 
26211       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
26212 
26213       static {
26214         for (_Fields field : EnumSet.allOf(_Fields.class)) {
26215           byName.put(field.getFieldName(), field);
26216         }
26217       }
26218 
26219       /**
26220        * Find the _Fields constant that matches fieldId, or null if its not found.
26221        */
26222       public static _Fields findByThriftId(int fieldId) {
26223         switch(fieldId) {
26224           case 2: // TINFO
26225             return TINFO;
26226           case 1: // CREDENTIAL
26227             return CREDENTIAL;
26228           default:
26229             return null;
26230         }
26231       }
26232 
26233       /**
26234        * Find the _Fields constant that matches fieldId, throwing an exception
26235        * if it is not found.
26236        */
26237       public static _Fields findByThriftIdOrThrow(int fieldId) {
26238         _Fields fields = findByThriftId(fieldId);
26239         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
26240         return fields;
26241       }
26242 
26243       /**
26244        * Find the _Fields constant that matches name, or null if its not found.
26245        */
26246       public static _Fields findByName(String name) {
26247         return byName.get(name);
26248       }
26249 
26250       private final short _thriftId;
26251       private final String _fieldName;
26252 
26253       _Fields(short thriftId, String fieldName) {
26254         _thriftId = thriftId;
26255         _fieldName = fieldName;
26256       }
26257 
26258       public short getThriftFieldId() {
26259         return _thriftId;
26260       }
26261 
26262       public String getFieldName() {
26263         return _fieldName;
26264       }
26265     }
26266 
26267     // isset id assignments
26268     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
26269     static {
26270       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
26271       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
26272           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
26273       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
26274           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
26275       metaDataMap = Collections.unmodifiableMap(tmpMap);
26276       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getActiveCompactions_args.class, metaDataMap);
26277     }
26278 
26279     public getActiveCompactions_args() {
26280     }
26281 
26282     public getActiveCompactions_args(
26283       org.apache.accumulo.trace.thrift.TInfo tinfo,
26284       org.apache.accumulo.core.security.thrift.Credential credential)
26285     {
26286       this();
26287       this.tinfo = tinfo;
26288       this.credential = credential;
26289     }
26290 
26291     /**
26292      * Performs a deep copy on <i>other</i>.
26293      */
26294     public getActiveCompactions_args(getActiveCompactions_args other) {
26295       if (other.isSetTinfo()) {
26296         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
26297       }
26298       if (other.isSetCredential()) {
26299         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
26300       }
26301     }
26302 
26303     public getActiveCompactions_args deepCopy() {
26304       return new getActiveCompactions_args(this);
26305     }
26306 
26307     @Override
26308     public void clear() {
26309       this.tinfo = null;
26310       this.credential = null;
26311     }
26312 
26313     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
26314       return this.tinfo;
26315     }
26316 
26317     public getActiveCompactions_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
26318       this.tinfo = tinfo;
26319       return this;
26320     }
26321 
26322     public void unsetTinfo() {
26323       this.tinfo = null;
26324     }
26325 
26326     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
26327     public boolean isSetTinfo() {
26328       return this.tinfo != null;
26329     }
26330 
26331     public void setTinfoIsSet(boolean value) {
26332       if (!value) {
26333         this.tinfo = null;
26334       }
26335     }
26336 
26337     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
26338       return this.credential;
26339     }
26340 
26341     public getActiveCompactions_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
26342       this.credential = credential;
26343       return this;
26344     }
26345 
26346     public void unsetCredential() {
26347       this.credential = null;
26348     }
26349 
26350     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
26351     public boolean isSetCredential() {
26352       return this.credential != null;
26353     }
26354 
26355     public void setCredentialIsSet(boolean value) {
26356       if (!value) {
26357         this.credential = null;
26358       }
26359     }
26360 
26361     public void setFieldValue(_Fields field, Object value) {
26362       switch (field) {
26363       case TINFO:
26364         if (value == null) {
26365           unsetTinfo();
26366         } else {
26367           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
26368         }
26369         break;
26370 
26371       case CREDENTIAL:
26372         if (value == null) {
26373           unsetCredential();
26374         } else {
26375           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
26376         }
26377         break;
26378 
26379       }
26380     }
26381 
26382     public Object getFieldValue(_Fields field) {
26383       switch (field) {
26384       case TINFO:
26385         return getTinfo();
26386 
26387       case CREDENTIAL:
26388         return getCredential();
26389 
26390       }
26391       throw new IllegalStateException();
26392     }
26393 
26394     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
26395     public boolean isSet(_Fields field) {
26396       if (field == null) {
26397         throw new IllegalArgumentException();
26398       }
26399 
26400       switch (field) {
26401       case TINFO:
26402         return isSetTinfo();
26403       case CREDENTIAL:
26404         return isSetCredential();
26405       }
26406       throw new IllegalStateException();
26407     }
26408 
26409     @Override
26410     public boolean equals(Object that) {
26411       if (that == null)
26412         return false;
26413       if (that instanceof getActiveCompactions_args)
26414         return this.equals((getActiveCompactions_args)that);
26415       return false;
26416     }
26417 
26418     public boolean equals(getActiveCompactions_args that) {
26419       if (that == null)
26420         return false;
26421 
26422       boolean this_present_tinfo = true && this.isSetTinfo();
26423       boolean that_present_tinfo = true && that.isSetTinfo();
26424       if (this_present_tinfo || that_present_tinfo) {
26425         if (!(this_present_tinfo && that_present_tinfo))
26426           return false;
26427         if (!this.tinfo.equals(that.tinfo))
26428           return false;
26429       }
26430 
26431       boolean this_present_credential = true && this.isSetCredential();
26432       boolean that_present_credential = true && that.isSetCredential();
26433       if (this_present_credential || that_present_credential) {
26434         if (!(this_present_credential && that_present_credential))
26435           return false;
26436         if (!this.credential.equals(that.credential))
26437           return false;
26438       }
26439 
26440       return true;
26441     }
26442 
26443     @Override
26444     public int hashCode() {
26445       return 0;
26446     }
26447 
26448     public int compareTo(getActiveCompactions_args other) {
26449       if (!getClass().equals(other.getClass())) {
26450         return getClass().getName().compareTo(other.getClass().getName());
26451       }
26452 
26453       int lastComparison = 0;
26454       getActiveCompactions_args typedOther = (getActiveCompactions_args)other;
26455 
26456       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
26457       if (lastComparison != 0) {
26458         return lastComparison;
26459       }
26460       if (isSetTinfo()) {
26461         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
26462         if (lastComparison != 0) {
26463           return lastComparison;
26464         }
26465       }
26466       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
26467       if (lastComparison != 0) {
26468         return lastComparison;
26469       }
26470       if (isSetCredential()) {
26471         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
26472         if (lastComparison != 0) {
26473           return lastComparison;
26474         }
26475       }
26476       return 0;
26477     }
26478 
26479     public _Fields fieldForId(int fieldId) {
26480       return _Fields.findByThriftId(fieldId);
26481     }
26482 
26483     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
26484       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
26485     }
26486 
26487     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
26488       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
26489     }
26490 
26491     @Override
26492     public String toString() {
26493       StringBuilder sb = new StringBuilder("getActiveCompactions_args(");
26494       boolean first = true;
26495 
26496       sb.append("tinfo:");
26497       if (this.tinfo == null) {
26498         sb.append("null");
26499       } else {
26500         sb.append(this.tinfo);
26501       }
26502       first = false;
26503       if (!first) sb.append(", ");
26504       sb.append("credential:");
26505       if (this.credential == null) {
26506         sb.append("null");
26507       } else {
26508         sb.append(this.credential);
26509       }
26510       first = false;
26511       sb.append(")");
26512       return sb.toString();
26513     }
26514 
26515     public void validate() throws org.apache.thrift.TException {
26516       // check for required fields
26517       // check for sub-struct validity
26518       if (tinfo != null) {
26519         tinfo.validate();
26520       }
26521       if (credential != null) {
26522         credential.validate();
26523       }
26524     }
26525 
26526     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
26527       try {
26528         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
26529       } catch (org.apache.thrift.TException te) {
26530         throw new java.io.IOException(te);
26531       }
26532     }
26533 
26534     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
26535       try {
26536         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
26537       } catch (org.apache.thrift.TException te) {
26538         throw new java.io.IOException(te);
26539       }
26540     }
26541 
26542     private static class getActiveCompactions_argsStandardSchemeFactory implements SchemeFactory {
26543       public getActiveCompactions_argsStandardScheme getScheme() {
26544         return new getActiveCompactions_argsStandardScheme();
26545       }
26546     }
26547 
26548     private static class getActiveCompactions_argsStandardScheme extends StandardScheme<getActiveCompactions_args> {
26549 
26550       public void read(org.apache.thrift.protocol.TProtocol iprot, getActiveCompactions_args struct) throws org.apache.thrift.TException {
26551         org.apache.thrift.protocol.TField schemeField;
26552         iprot.readStructBegin();
26553         while (true)
26554         {
26555           schemeField = iprot.readFieldBegin();
26556           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
26557             break;
26558           }
26559           switch (schemeField.id) {
26560             case 2: // TINFO
26561               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
26562                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
26563                 struct.tinfo.read(iprot);
26564                 struct.setTinfoIsSet(true);
26565               } else { 
26566                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
26567               }
26568               break;
26569             case 1: // CREDENTIAL
26570               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
26571                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
26572                 struct.credential.read(iprot);
26573                 struct.setCredentialIsSet(true);
26574               } else { 
26575                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
26576               }
26577               break;
26578             default:
26579               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
26580           }
26581           iprot.readFieldEnd();
26582         }
26583         iprot.readStructEnd();
26584 
26585         // check for required fields of primitive type, which can't be checked in the validate method
26586         struct.validate();
26587       }
26588 
26589       public void write(org.apache.thrift.protocol.TProtocol oprot, getActiveCompactions_args struct) throws org.apache.thrift.TException {
26590         struct.validate();
26591 
26592         oprot.writeStructBegin(STRUCT_DESC);
26593         if (struct.credential != null) {
26594           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
26595           struct.credential.write(oprot);
26596           oprot.writeFieldEnd();
26597         }
26598         if (struct.tinfo != null) {
26599           oprot.writeFieldBegin(TINFO_FIELD_DESC);
26600           struct.tinfo.write(oprot);
26601           oprot.writeFieldEnd();
26602         }
26603         oprot.writeFieldStop();
26604         oprot.writeStructEnd();
26605       }
26606 
26607     }
26608 
26609     private static class getActiveCompactions_argsTupleSchemeFactory implements SchemeFactory {
26610       public getActiveCompactions_argsTupleScheme getScheme() {
26611         return new getActiveCompactions_argsTupleScheme();
26612       }
26613     }
26614 
26615     private static class getActiveCompactions_argsTupleScheme extends TupleScheme<getActiveCompactions_args> {
26616 
26617       @Override
26618       public void write(org.apache.thrift.protocol.TProtocol prot, getActiveCompactions_args struct) throws org.apache.thrift.TException {
26619         TTupleProtocol oprot = (TTupleProtocol) prot;
26620         BitSet optionals = new BitSet();
26621         if (struct.isSetTinfo()) {
26622           optionals.set(0);
26623         }
26624         if (struct.isSetCredential()) {
26625           optionals.set(1);
26626         }
26627         oprot.writeBitSet(optionals, 2);
26628         if (struct.isSetTinfo()) {
26629           struct.tinfo.write(oprot);
26630         }
26631         if (struct.isSetCredential()) {
26632           struct.credential.write(oprot);
26633         }
26634       }
26635 
26636       @Override
26637       public void read(org.apache.thrift.protocol.TProtocol prot, getActiveCompactions_args struct) throws org.apache.thrift.TException {
26638         TTupleProtocol iprot = (TTupleProtocol) prot;
26639         BitSet incoming = iprot.readBitSet(2);
26640         if (incoming.get(0)) {
26641           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
26642           struct.tinfo.read(iprot);
26643           struct.setTinfoIsSet(true);
26644         }
26645         if (incoming.get(1)) {
26646           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
26647           struct.credential.read(iprot);
26648           struct.setCredentialIsSet(true);
26649         }
26650       }
26651     }
26652 
26653   }
26654 
26655   public static class getActiveCompactions_result implements org.apache.thrift.TBase<getActiveCompactions_result, getActiveCompactions_result._Fields>, java.io.Serializable, Cloneable   {
26656     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getActiveCompactions_result");
26657 
26658     private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
26659     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);
26660 
26661     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
26662     static {
26663       schemes.put(StandardScheme.class, new getActiveCompactions_resultStandardSchemeFactory());
26664       schemes.put(TupleScheme.class, new getActiveCompactions_resultTupleSchemeFactory());
26665     }
26666 
26667     public List<ActiveCompaction> success; // required
26668     public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required
26669 
26670     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
26671     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
26672       SUCCESS((short)0, "success"),
26673       SEC((short)1, "sec");
26674 
26675       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
26676 
26677       static {
26678         for (_Fields field : EnumSet.allOf(_Fields.class)) {
26679           byName.put(field.getFieldName(), field);
26680         }
26681       }
26682 
26683       /**
26684        * Find the _Fields constant that matches fieldId, or null if its not found.
26685        */
26686       public static _Fields findByThriftId(int fieldId) {
26687         switch(fieldId) {
26688           case 0: // SUCCESS
26689             return SUCCESS;
26690           case 1: // SEC
26691             return SEC;
26692           default:
26693             return null;
26694         }
26695       }
26696 
26697       /**
26698        * Find the _Fields constant that matches fieldId, throwing an exception
26699        * if it is not found.
26700        */
26701       public static _Fields findByThriftIdOrThrow(int fieldId) {
26702         _Fields fields = findByThriftId(fieldId);
26703         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
26704         return fields;
26705       }
26706 
26707       /**
26708        * Find the _Fields constant that matches name, or null if its not found.
26709        */
26710       public static _Fields findByName(String name) {
26711         return byName.get(name);
26712       }
26713 
26714       private final short _thriftId;
26715       private final String _fieldName;
26716 
26717       _Fields(short thriftId, String fieldName) {
26718         _thriftId = thriftId;
26719         _fieldName = fieldName;
26720       }
26721 
26722       public short getThriftFieldId() {
26723         return _thriftId;
26724       }
26725 
26726       public String getFieldName() {
26727         return _fieldName;
26728       }
26729     }
26730 
26731     // isset id assignments
26732     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
26733     static {
26734       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
26735       tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
26736           new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
26737               new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ActiveCompaction.class))));
26738       tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, 
26739           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
26740       metaDataMap = Collections.unmodifiableMap(tmpMap);
26741       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getActiveCompactions_result.class, metaDataMap);
26742     }
26743 
26744     public getActiveCompactions_result() {
26745     }
26746 
26747     public getActiveCompactions_result(
26748       List<ActiveCompaction> success,
26749       org.apache.accumulo.core.security.thrift.ThriftSecurityException sec)
26750     {
26751       this();
26752       this.success = success;
26753       this.sec = sec;
26754     }
26755 
26756     /**
26757      * Performs a deep copy on <i>other</i>.
26758      */
26759     public getActiveCompactions_result(getActiveCompactions_result other) {
26760       if (other.isSetSuccess()) {
26761         List<ActiveCompaction> __this__success = new ArrayList<ActiveCompaction>();
26762         for (ActiveCompaction other_element : other.success) {
26763           __this__success.add(new ActiveCompaction(other_element));
26764         }
26765         this.success = __this__success;
26766       }
26767       if (other.isSetSec()) {
26768         this.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(other.sec);
26769       }
26770     }
26771 
26772     public getActiveCompactions_result deepCopy() {
26773       return new getActiveCompactions_result(this);
26774     }
26775 
26776     @Override
26777     public void clear() {
26778       this.success = null;
26779       this.sec = null;
26780     }
26781 
26782     public int getSuccessSize() {
26783       return (this.success == null) ? 0 : this.success.size();
26784     }
26785 
26786     public java.util.Iterator<ActiveCompaction> getSuccessIterator() {
26787       return (this.success == null) ? null : this.success.iterator();
26788     }
26789 
26790     public void addToSuccess(ActiveCompaction elem) {
26791       if (this.success == null) {
26792         this.success = new ArrayList<ActiveCompaction>();
26793       }
26794       this.success.add(elem);
26795     }
26796 
26797     public List<ActiveCompaction> getSuccess() {
26798       return this.success;
26799     }
26800 
26801     public getActiveCompactions_result setSuccess(List<ActiveCompaction> success) {
26802       this.success = success;
26803       return this;
26804     }
26805 
26806     public void unsetSuccess() {
26807       this.success = null;
26808     }
26809 
26810     /** Returns true if field success is set (has been assigned a value) and false otherwise */
26811     public boolean isSetSuccess() {
26812       return this.success != null;
26813     }
26814 
26815     public void setSuccessIsSet(boolean value) {
26816       if (!value) {
26817         this.success = null;
26818       }
26819     }
26820 
26821     public org.apache.accumulo.core.security.thrift.ThriftSecurityException getSec() {
26822       return this.sec;
26823     }
26824 
26825     public getActiveCompactions_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
26826       this.sec = sec;
26827       return this;
26828     }
26829 
26830     public void unsetSec() {
26831       this.sec = null;
26832     }
26833 
26834     /** Returns true if field sec is set (has been assigned a value) and false otherwise */
26835     public boolean isSetSec() {
26836       return this.sec != null;
26837     }
26838 
26839     public void setSecIsSet(boolean value) {
26840       if (!value) {
26841         this.sec = null;
26842       }
26843     }
26844 
26845     public void setFieldValue(_Fields field, Object value) {
26846       switch (field) {
26847       case SUCCESS:
26848         if (value == null) {
26849           unsetSuccess();
26850         } else {
26851           setSuccess((List<ActiveCompaction>)value);
26852         }
26853         break;
26854 
26855       case SEC:
26856         if (value == null) {
26857           unsetSec();
26858         } else {
26859           setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value);
26860         }
26861         break;
26862 
26863       }
26864     }
26865 
26866     public Object getFieldValue(_Fields field) {
26867       switch (field) {
26868       case SUCCESS:
26869         return getSuccess();
26870 
26871       case SEC:
26872         return getSec();
26873 
26874       }
26875       throw new IllegalStateException();
26876     }
26877 
26878     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
26879     public boolean isSet(_Fields field) {
26880       if (field == null) {
26881         throw new IllegalArgumentException();
26882       }
26883 
26884       switch (field) {
26885       case SUCCESS:
26886         return isSetSuccess();
26887       case SEC:
26888         return isSetSec();
26889       }
26890       throw new IllegalStateException();
26891     }
26892 
26893     @Override
26894     public boolean equals(Object that) {
26895       if (that == null)
26896         return false;
26897       if (that instanceof getActiveCompactions_result)
26898         return this.equals((getActiveCompactions_result)that);
26899       return false;
26900     }
26901 
26902     public boolean equals(getActiveCompactions_result that) {
26903       if (that == null)
26904         return false;
26905 
26906       boolean this_present_success = true && this.isSetSuccess();
26907       boolean that_present_success = true && that.isSetSuccess();
26908       if (this_present_success || that_present_success) {
26909         if (!(this_present_success && that_present_success))
26910           return false;
26911         if (!this.success.equals(that.success))
26912           return false;
26913       }
26914 
26915       boolean this_present_sec = true && this.isSetSec();
26916       boolean that_present_sec = true && that.isSetSec();
26917       if (this_present_sec || that_present_sec) {
26918         if (!(this_present_sec && that_present_sec))
26919           return false;
26920         if (!this.sec.equals(that.sec))
26921           return false;
26922       }
26923 
26924       return true;
26925     }
26926 
26927     @Override
26928     public int hashCode() {
26929       return 0;
26930     }
26931 
26932     public int compareTo(getActiveCompactions_result other) {
26933       if (!getClass().equals(other.getClass())) {
26934         return getClass().getName().compareTo(other.getClass().getName());
26935       }
26936 
26937       int lastComparison = 0;
26938       getActiveCompactions_result typedOther = (getActiveCompactions_result)other;
26939 
26940       lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
26941       if (lastComparison != 0) {
26942         return lastComparison;
26943       }
26944       if (isSetSuccess()) {
26945         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
26946         if (lastComparison != 0) {
26947           return lastComparison;
26948         }
26949       }
26950       lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec());
26951       if (lastComparison != 0) {
26952         return lastComparison;
26953       }
26954       if (isSetSec()) {
26955         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec);
26956         if (lastComparison != 0) {
26957           return lastComparison;
26958         }
26959       }
26960       return 0;
26961     }
26962 
26963     public _Fields fieldForId(int fieldId) {
26964       return _Fields.findByThriftId(fieldId);
26965     }
26966 
26967     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
26968       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
26969     }
26970 
26971     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
26972       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
26973       }
26974 
26975     @Override
26976     public String toString() {
26977       StringBuilder sb = new StringBuilder("getActiveCompactions_result(");
26978       boolean first = true;
26979 
26980       sb.append("success:");
26981       if (this.success == null) {
26982         sb.append("null");
26983       } else {
26984         sb.append(this.success);
26985       }
26986       first = false;
26987       if (!first) sb.append(", ");
26988       sb.append("sec:");
26989       if (this.sec == null) {
26990         sb.append("null");
26991       } else {
26992         sb.append(this.sec);
26993       }
26994       first = false;
26995       sb.append(")");
26996       return sb.toString();
26997     }
26998 
26999     public void validate() throws org.apache.thrift.TException {
27000       // check for required fields
27001       // check for sub-struct validity
27002     }
27003 
27004     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
27005       try {
27006         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
27007       } catch (org.apache.thrift.TException te) {
27008         throw new java.io.IOException(te);
27009       }
27010     }
27011 
27012     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
27013       try {
27014         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
27015       } catch (org.apache.thrift.TException te) {
27016         throw new java.io.IOException(te);
27017       }
27018     }
27019 
27020     private static class getActiveCompactions_resultStandardSchemeFactory implements SchemeFactory {
27021       public getActiveCompactions_resultStandardScheme getScheme() {
27022         return new getActiveCompactions_resultStandardScheme();
27023       }
27024     }
27025 
27026     private static class getActiveCompactions_resultStandardScheme extends StandardScheme<getActiveCompactions_result> {
27027 
27028       public void read(org.apache.thrift.protocol.TProtocol iprot, getActiveCompactions_result struct) throws org.apache.thrift.TException {
27029         org.apache.thrift.protocol.TField schemeField;
27030         iprot.readStructBegin();
27031         while (true)
27032         {
27033           schemeField = iprot.readFieldBegin();
27034           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
27035             break;
27036           }
27037           switch (schemeField.id) {
27038             case 0: // SUCCESS
27039               if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
27040                 {
27041                   org.apache.thrift.protocol.TList _list264 = iprot.readListBegin();
27042                   struct.success = new ArrayList<ActiveCompaction>(_list264.size);
27043                   for (int _i265 = 0; _i265 < _list264.size; ++_i265)
27044                   {
27045                     ActiveCompaction _elem266; // required
27046                     _elem266 = new ActiveCompaction();
27047                     _elem266.read(iprot);
27048                     struct.success.add(_elem266);
27049                   }
27050                   iprot.readListEnd();
27051                 }
27052                 struct.setSuccessIsSet(true);
27053               } else { 
27054                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
27055               }
27056               break;
27057             case 1: // SEC
27058               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
27059                 struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
27060                 struct.sec.read(iprot);
27061                 struct.setSecIsSet(true);
27062               } else { 
27063                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
27064               }
27065               break;
27066             default:
27067               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
27068           }
27069           iprot.readFieldEnd();
27070         }
27071         iprot.readStructEnd();
27072 
27073         // check for required fields of primitive type, which can't be checked in the validate method
27074         struct.validate();
27075       }
27076 
27077       public void write(org.apache.thrift.protocol.TProtocol oprot, getActiveCompactions_result struct) throws org.apache.thrift.TException {
27078         struct.validate();
27079 
27080         oprot.writeStructBegin(STRUCT_DESC);
27081         if (struct.success != null) {
27082           oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
27083           {
27084             oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size()));
27085             for (ActiveCompaction _iter267 : struct.success)
27086             {
27087               _iter267.write(oprot);
27088             }
27089             oprot.writeListEnd();
27090           }
27091           oprot.writeFieldEnd();
27092         }
27093         if (struct.sec != null) {
27094           oprot.writeFieldBegin(SEC_FIELD_DESC);
27095           struct.sec.write(oprot);
27096           oprot.writeFieldEnd();
27097         }
27098         oprot.writeFieldStop();
27099         oprot.writeStructEnd();
27100       }
27101 
27102     }
27103 
27104     private static class getActiveCompactions_resultTupleSchemeFactory implements SchemeFactory {
27105       public getActiveCompactions_resultTupleScheme getScheme() {
27106         return new getActiveCompactions_resultTupleScheme();
27107       }
27108     }
27109 
27110     private static class getActiveCompactions_resultTupleScheme extends TupleScheme<getActiveCompactions_result> {
27111 
27112       @Override
27113       public void write(org.apache.thrift.protocol.TProtocol prot, getActiveCompactions_result struct) throws org.apache.thrift.TException {
27114         TTupleProtocol oprot = (TTupleProtocol) prot;
27115         BitSet optionals = new BitSet();
27116         if (struct.isSetSuccess()) {
27117           optionals.set(0);
27118         }
27119         if (struct.isSetSec()) {
27120           optionals.set(1);
27121         }
27122         oprot.writeBitSet(optionals, 2);
27123         if (struct.isSetSuccess()) {
27124           {
27125             oprot.writeI32(struct.success.size());
27126             for (ActiveCompaction _iter268 : struct.success)
27127             {
27128               _iter268.write(oprot);
27129             }
27130           }
27131         }
27132         if (struct.isSetSec()) {
27133           struct.sec.write(oprot);
27134         }
27135       }
27136 
27137       @Override
27138       public void read(org.apache.thrift.protocol.TProtocol prot, getActiveCompactions_result struct) throws org.apache.thrift.TException {
27139         TTupleProtocol iprot = (TTupleProtocol) prot;
27140         BitSet incoming = iprot.readBitSet(2);
27141         if (incoming.get(0)) {
27142           {
27143             org.apache.thrift.protocol.TList _list269 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
27144             struct.success = new ArrayList<ActiveCompaction>(_list269.size);
27145             for (int _i270 = 0; _i270 < _list269.size; ++_i270)
27146             {
27147               ActiveCompaction _elem271; // required
27148               _elem271 = new ActiveCompaction();
27149               _elem271.read(iprot);
27150               struct.success.add(_elem271);
27151             }
27152           }
27153           struct.setSuccessIsSet(true);
27154         }
27155         if (incoming.get(1)) {
27156           struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
27157           struct.sec.read(iprot);
27158           struct.setSecIsSet(true);
27159         }
27160       }
27161     }
27162 
27163   }
27164 
27165   public static class removeLogs_args implements org.apache.thrift.TBase<removeLogs_args, removeLogs_args._Fields>, java.io.Serializable, Cloneable   {
27166     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("removeLogs_args");
27167 
27168     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)1);
27169     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)2);
27170     private static final org.apache.thrift.protocol.TField FILENAMES_FIELD_DESC = new org.apache.thrift.protocol.TField("filenames", org.apache.thrift.protocol.TType.LIST, (short)3);
27171 
27172     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
27173     static {
27174       schemes.put(StandardScheme.class, new removeLogs_argsStandardSchemeFactory());
27175       schemes.put(TupleScheme.class, new removeLogs_argsTupleSchemeFactory());
27176     }
27177 
27178     public org.apache.accumulo.trace.thrift.TInfo tinfo; // required
27179     public org.apache.accumulo.core.security.thrift.Credential credential; // required
27180     public List<String> filenames; // required
27181 
27182     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
27183     @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
27184       TINFO((short)1, "tinfo"),
27185       CREDENTIAL((short)2, "credential"),
27186       FILENAMES((short)3, "filenames");
27187 
27188       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
27189 
27190       static {
27191         for (_Fields field : EnumSet.allOf(_Fields.class)) {
27192           byName.put(field.getFieldName(), field);
27193         }
27194       }
27195 
27196       /**
27197        * Find the _Fields constant that matches fieldId, or null if its not found.
27198        */
27199       public static _Fields findByThriftId(int fieldId) {
27200         switch(fieldId) {
27201           case 1: // TINFO
27202             return TINFO;
27203           case 2: // CREDENTIAL
27204             return CREDENTIAL;
27205           case 3: // FILENAMES
27206             return FILENAMES;
27207           default:
27208             return null;
27209         }
27210       }
27211 
27212       /**
27213        * Find the _Fields constant that matches fieldId, throwing an exception
27214        * if it is not found.
27215        */
27216       public static _Fields findByThriftIdOrThrow(int fieldId) {
27217         _Fields fields = findByThriftId(fieldId);
27218         if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
27219         return fields;
27220       }
27221 
27222       /**
27223        * Find the _Fields constant that matches name, or null if its not found.
27224        */
27225       public static _Fields findByName(String name) {
27226         return byName.get(name);
27227       }
27228 
27229       private final short _thriftId;
27230       private final String _fieldName;
27231 
27232       _Fields(short thriftId, String fieldName) {
27233         _thriftId = thriftId;
27234         _fieldName = fieldName;
27235       }
27236 
27237       public short getThriftFieldId() {
27238         return _thriftId;
27239       }
27240 
27241       public String getFieldName() {
27242         return _fieldName;
27243       }
27244     }
27245 
27246     // isset id assignments
27247     public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
27248     static {
27249       Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
27250       tmpMap.put(_Fields.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
27251           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class)));
27252       tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, 
27253           new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class)));
27254       tmpMap.put(_Fields.FILENAMES, new org.apache.thrift.meta_data.FieldMetaData("filenames", org.apache.thrift.TFieldRequirementType.DEFAULT, 
27255           new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
27256               new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
27257       metaDataMap = Collections.unmodifiableMap(tmpMap);
27258       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(removeLogs_args.class, metaDataMap);
27259     }
27260 
27261     public removeLogs_args() {
27262     }
27263 
27264     public removeLogs_args(
27265       org.apache.accumulo.trace.thrift.TInfo tinfo,
27266       org.apache.accumulo.core.security.thrift.Credential credential,
27267       List<String> filenames)
27268     {
27269       this();
27270       this.tinfo = tinfo;
27271       this.credential = credential;
27272       this.filenames = filenames;
27273     }
27274 
27275     /**
27276      * Performs a deep copy on <i>other</i>.
27277      */
27278     public removeLogs_args(removeLogs_args other) {
27279       if (other.isSetTinfo()) {
27280         this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo);
27281       }
27282       if (other.isSetCredential()) {
27283         this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential);
27284       }
27285       if (other.isSetFilenames()) {
27286         List<String> __this__filenames = new ArrayList<String>();
27287         for (String other_element : other.filenames) {
27288           __this__filenames.add(other_element);
27289         }
27290         this.filenames = __this__filenames;
27291       }
27292     }
27293 
27294     public removeLogs_args deepCopy() {
27295       return new removeLogs_args(this);
27296     }
27297 
27298     @Override
27299     public void clear() {
27300       this.tinfo = null;
27301       this.credential = null;
27302       this.filenames = null;
27303     }
27304 
27305     public org.apache.accumulo.trace.thrift.TInfo getTinfo() {
27306       return this.tinfo;
27307     }
27308 
27309     public removeLogs_args setTinfo(org.apache.accumulo.trace.thrift.TInfo tinfo) {
27310       this.tinfo = tinfo;
27311       return this;
27312     }
27313 
27314     public void unsetTinfo() {
27315       this.tinfo = null;
27316     }
27317 
27318     /** Returns true if field tinfo is set (has been assigned a value) and false otherwise */
27319     public boolean isSetTinfo() {
27320       return this.tinfo != null;
27321     }
27322 
27323     public void setTinfoIsSet(boolean value) {
27324       if (!value) {
27325         this.tinfo = null;
27326       }
27327     }
27328 
27329     public org.apache.accumulo.core.security.thrift.Credential getCredential() {
27330       return this.credential;
27331     }
27332 
27333     public removeLogs_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) {
27334       this.credential = credential;
27335       return this;
27336     }
27337 
27338     public void unsetCredential() {
27339       this.credential = null;
27340     }
27341 
27342     /** Returns true if field credential is set (has been assigned a value) and false otherwise */
27343     public boolean isSetCredential() {
27344       return this.credential != null;
27345     }
27346 
27347     public void setCredentialIsSet(boolean value) {
27348       if (!value) {
27349         this.credential = null;
27350       }
27351     }
27352 
27353     public int getFilenamesSize() {
27354       return (this.filenames == null) ? 0 : this.filenames.size();
27355     }
27356 
27357     public java.util.Iterator<String> getFilenamesIterator() {
27358       return (this.filenames == null) ? null : this.filenames.iterator();
27359     }
27360 
27361     public void addToFilenames(String elem) {
27362       if (this.filenames == null) {
27363         this.filenames = new ArrayList<String>();
27364       }
27365       this.filenames.add(elem);
27366     }
27367 
27368     public List<String> getFilenames() {
27369       return this.filenames;
27370     }
27371 
27372     public removeLogs_args setFilenames(List<String> filenames) {
27373       this.filenames = filenames;
27374       return this;
27375     }
27376 
27377     public void unsetFilenames() {
27378       this.filenames = null;
27379     }
27380 
27381     /** Returns true if field filenames is set (has been assigned a value) and false otherwise */
27382     public boolean isSetFilenames() {
27383       return this.filenames != null;
27384     }
27385 
27386     public void setFilenamesIsSet(boolean value) {
27387       if (!value) {
27388         this.filenames = null;
27389       }
27390     }
27391 
27392     public void setFieldValue(_Fields field, Object value) {
27393       switch (field) {
27394       case TINFO:
27395         if (value == null) {
27396           unsetTinfo();
27397         } else {
27398           setTinfo((org.apache.accumulo.trace.thrift.TInfo)value);
27399         }
27400         break;
27401 
27402       case CREDENTIAL:
27403         if (value == null) {
27404           unsetCredential();
27405         } else {
27406           setCredential((org.apache.accumulo.core.security.thrift.Credential)value);
27407         }
27408         break;
27409 
27410       case FILENAMES:
27411         if (value == null) {
27412           unsetFilenames();
27413         } else {
27414           setFilenames((List<String>)value);
27415         }
27416         break;
27417 
27418       }
27419     }
27420 
27421     public Object getFieldValue(_Fields field) {
27422       switch (field) {
27423       case TINFO:
27424         return getTinfo();
27425 
27426       case CREDENTIAL:
27427         return getCredential();
27428 
27429       case FILENAMES:
27430         return getFilenames();
27431 
27432       }
27433       throw new IllegalStateException();
27434     }
27435 
27436     /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
27437     public boolean isSet(_Fields field) {
27438       if (field == null) {
27439         throw new IllegalArgumentException();
27440       }
27441 
27442       switch (field) {
27443       case TINFO:
27444         return isSetTinfo();
27445       case CREDENTIAL:
27446         return isSetCredential();
27447       case FILENAMES:
27448         return isSetFilenames();
27449       }
27450       throw new IllegalStateException();
27451     }
27452 
27453     @Override
27454     public boolean equals(Object that) {
27455       if (that == null)
27456         return false;
27457       if (that instanceof removeLogs_args)
27458         return this.equals((removeLogs_args)that);
27459       return false;
27460     }
27461 
27462     public boolean equals(removeLogs_args that) {
27463       if (that == null)
27464         return false;
27465 
27466       boolean this_present_tinfo = true && this.isSetTinfo();
27467       boolean that_present_tinfo = true && that.isSetTinfo();
27468       if (this_present_tinfo || that_present_tinfo) {
27469         if (!(this_present_tinfo && that_present_tinfo))
27470           return false;
27471         if (!this.tinfo.equals(that.tinfo))
27472           return false;
27473       }
27474 
27475       boolean this_present_credential = true && this.isSetCredential();
27476       boolean that_present_credential = true && that.isSetCredential();
27477       if (this_present_credential || that_present_credential) {
27478         if (!(this_present_credential && that_present_credential))
27479           return false;
27480         if (!this.credential.equals(that.credential))
27481           return false;
27482       }
27483 
27484       boolean this_present_filenames = true && this.isSetFilenames();
27485       boolean that_present_filenames = true && that.isSetFilenames();
27486       if (this_present_filenames || that_present_filenames) {
27487         if (!(this_present_filenames && that_present_filenames))
27488           return false;
27489         if (!this.filenames.equals(that.filenames))
27490           return false;
27491       }
27492 
27493       return true;
27494     }
27495 
27496     @Override
27497     public int hashCode() {
27498       return 0;
27499     }
27500 
27501     public int compareTo(removeLogs_args other) {
27502       if (!getClass().equals(other.getClass())) {
27503         return getClass().getName().compareTo(other.getClass().getName());
27504       }
27505 
27506       int lastComparison = 0;
27507       removeLogs_args typedOther = (removeLogs_args)other;
27508 
27509       lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo());
27510       if (lastComparison != 0) {
27511         return lastComparison;
27512       }
27513       if (isSetTinfo()) {
27514         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo);
27515         if (lastComparison != 0) {
27516           return lastComparison;
27517         }
27518       }
27519       lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential());
27520       if (lastComparison != 0) {
27521         return lastComparison;
27522       }
27523       if (isSetCredential()) {
27524         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential);
27525         if (lastComparison != 0) {
27526           return lastComparison;
27527         }
27528       }
27529       lastComparison = Boolean.valueOf(isSetFilenames()).compareTo(typedOther.isSetFilenames());
27530       if (lastComparison != 0) {
27531         return lastComparison;
27532       }
27533       if (isSetFilenames()) {
27534         lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.filenames, typedOther.filenames);
27535         if (lastComparison != 0) {
27536           return lastComparison;
27537         }
27538       }
27539       return 0;
27540     }
27541 
27542     public _Fields fieldForId(int fieldId) {
27543       return _Fields.findByThriftId(fieldId);
27544     }
27545 
27546     public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
27547       schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
27548     }
27549 
27550     public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
27551       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
27552     }
27553 
27554     @Override
27555     public String toString() {
27556       StringBuilder sb = new StringBuilder("removeLogs_args(");
27557       boolean first = true;
27558 
27559       sb.append("tinfo:");
27560       if (this.tinfo == null) {
27561         sb.append("null");
27562       } else {
27563         sb.append(this.tinfo);
27564       }
27565       first = false;
27566       if (!first) sb.append(", ");
27567       sb.append("credential:");
27568       if (this.credential == null) {
27569         sb.append("null");
27570       } else {
27571         sb.append(this.credential);
27572       }
27573       first = false;
27574       if (!first) sb.append(", ");
27575       sb.append("filenames:");
27576       if (this.filenames == null) {
27577         sb.append("null");
27578       } else {
27579         sb.append(this.filenames);
27580       }
27581       first = false;
27582       sb.append(")");
27583       return sb.toString();
27584     }
27585 
27586     public void validate() throws org.apache.thrift.TException {
27587       // check for required fields
27588       // check for sub-struct validity
27589       if (tinfo != null) {
27590         tinfo.validate();
27591       }
27592       if (credential != null) {
27593         credential.validate();
27594       }
27595     }
27596 
27597     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
27598       try {
27599         write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
27600       } catch (org.apache.thrift.TException te) {
27601         throw new java.io.IOException(te);
27602       }
27603     }
27604 
27605     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
27606       try {
27607         read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
27608       } catch (org.apache.thrift.TException te) {
27609         throw new java.io.IOException(te);
27610       }
27611     }
27612 
27613     private static class removeLogs_argsStandardSchemeFactory implements SchemeFactory {
27614       public removeLogs_argsStandardScheme getScheme() {
27615         return new removeLogs_argsStandardScheme();
27616       }
27617     }
27618 
27619     private static class removeLogs_argsStandardScheme extends StandardScheme<removeLogs_args> {
27620 
27621       public void read(org.apache.thrift.protocol.TProtocol iprot, removeLogs_args struct) throws org.apache.thrift.TException {
27622         org.apache.thrift.protocol.TField schemeField;
27623         iprot.readStructBegin();
27624         while (true)
27625         {
27626           schemeField = iprot.readFieldBegin();
27627           if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
27628             break;
27629           }
27630           switch (schemeField.id) {
27631             case 1: // TINFO
27632               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
27633                 struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
27634                 struct.tinfo.read(iprot);
27635                 struct.setTinfoIsSet(true);
27636               } else { 
27637                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
27638               }
27639               break;
27640             case 2: // CREDENTIAL
27641               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
27642                 struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
27643                 struct.credential.read(iprot);
27644                 struct.setCredentialIsSet(true);
27645               } else { 
27646                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
27647               }
27648               break;
27649             case 3: // FILENAMES
27650               if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
27651                 {
27652                   org.apache.thrift.protocol.TList _list272 = iprot.readListBegin();
27653                   struct.filenames = new ArrayList<String>(_list272.size);
27654                   for (int _i273 = 0; _i273 < _list272.size; ++_i273)
27655                   {
27656                     String _elem274; // required
27657                     _elem274 = iprot.readString();
27658                     struct.filenames.add(_elem274);
27659                   }
27660                   iprot.readListEnd();
27661                 }
27662                 struct.setFilenamesIsSet(true);
27663               } else { 
27664                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
27665               }
27666               break;
27667             default:
27668               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
27669           }
27670           iprot.readFieldEnd();
27671         }
27672         iprot.readStructEnd();
27673 
27674         // check for required fields of primitive type, which can't be checked in the validate method
27675         struct.validate();
27676       }
27677 
27678       public void write(org.apache.thrift.protocol.TProtocol oprot, removeLogs_args struct) throws org.apache.thrift.TException {
27679         struct.validate();
27680 
27681         oprot.writeStructBegin(STRUCT_DESC);
27682         if (struct.tinfo != null) {
27683           oprot.writeFieldBegin(TINFO_FIELD_DESC);
27684           struct.tinfo.write(oprot);
27685           oprot.writeFieldEnd();
27686         }
27687         if (struct.credential != null) {
27688           oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC);
27689           struct.credential.write(oprot);
27690           oprot.writeFieldEnd();
27691         }
27692         if (struct.filenames != null) {
27693           oprot.writeFieldBegin(FILENAMES_FIELD_DESC);
27694           {
27695             oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.filenames.size()));
27696             for (String _iter275 : struct.filenames)
27697             {
27698               oprot.writeString(_iter275);
27699             }
27700             oprot.writeListEnd();
27701           }
27702           oprot.writeFieldEnd();
27703         }
27704         oprot.writeFieldStop();
27705         oprot.writeStructEnd();
27706       }
27707 
27708     }
27709 
27710     private static class removeLogs_argsTupleSchemeFactory implements SchemeFactory {
27711       public removeLogs_argsTupleScheme getScheme() {
27712         return new removeLogs_argsTupleScheme();
27713       }
27714     }
27715 
27716     private static class removeLogs_argsTupleScheme extends TupleScheme<removeLogs_args> {
27717 
27718       @Override
27719       public void write(org.apache.thrift.protocol.TProtocol prot, removeLogs_args struct) throws org.apache.thrift.TException {
27720         TTupleProtocol oprot = (TTupleProtocol) prot;
27721         BitSet optionals = new BitSet();
27722         if (struct.isSetTinfo()) {
27723           optionals.set(0);
27724         }
27725         if (struct.isSetCredential()) {
27726           optionals.set(1);
27727         }
27728         if (struct.isSetFilenames()) {
27729           optionals.set(2);
27730         }
27731         oprot.writeBitSet(optionals, 3);
27732         if (struct.isSetTinfo()) {
27733           struct.tinfo.write(oprot);
27734         }
27735         if (struct.isSetCredential()) {
27736           struct.credential.write(oprot);
27737         }
27738         if (struct.isSetFilenames()) {
27739           {
27740             oprot.writeI32(struct.filenames.size());
27741             for (String _iter276 : struct.filenames)
27742             {
27743               oprot.writeString(_iter276);
27744             }
27745           }
27746         }
27747       }
27748 
27749       @Override
27750       public void read(org.apache.thrift.protocol.TProtocol prot, removeLogs_args struct) throws org.apache.thrift.TException {
27751         TTupleProtocol iprot = (TTupleProtocol) prot;
27752         BitSet incoming = iprot.readBitSet(3);
27753         if (incoming.get(0)) {
27754           struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo();
27755           struct.tinfo.read(iprot);
27756           struct.setTinfoIsSet(true);
27757         }
27758         if (incoming.get(1)) {
27759           struct.credential = new org.apache.accumulo.core.security.thrift.Credential();
27760           struct.credential.read(iprot);
27761           struct.setCredentialIsSet(true);
27762         }
27763         if (incoming.get(2)) {
27764           {
27765             org.apache.thrift.protocol.TList _list277 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
27766             struct.filenames = new ArrayList<String>(_list277.size);
27767             for (int _i278 = 0; _i278 < _list277.size; ++_i278)
27768             {
27769               String _elem279; // required
27770               _elem279 = iprot.readString();
27771               struct.filenames.add(_elem279);
27772             }
27773           }
27774           struct.setFilenamesIsSet(true);
27775         }
27776       }
27777     }
27778 
27779   }
27780 
27781 }