if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { struct.force = iprot.readBool(); struct.setForceIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, shutdownTabletServer_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.core.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credentials = new org.apache.accumulo.core.securityImpl.thrift.TCredentials(); struct.credentials.read(iprot); struct.setCredentialsIsSet(true); } if (incoming.get(2)) { struct.tabletServer = iprot.readString(); struct.setTabletServerIsSet(true); } if (incoming.get(3)) { struct.force = iprot.readBool(); struct.setForceIsSet(true); } } }
if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { struct.force = iprot.readBool(); struct.setForceIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, shutdownTabletServer_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.core.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credentials = new org.apache.accumulo.core.security.thrift.TCredentials(); struct.credentials.read(iprot); struct.setCredentialsIsSet(true); } if (incoming.get(2)) { struct.tabletServer = iprot.readString(); struct.setTabletServerIsSet(true); } if (incoming.get(3)) { struct.force = iprot.readBool(); struct.setForceIsSet(true); } } }
public shutdownTabletServer_args( org.apache.accumulo.core.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.TCredentials credentials, String tabletServer, boolean force) { this(); this.tinfo = tinfo; this.credentials = credentials; this.tabletServer = tabletServer; this.force = force; setForceIsSet(true); }
@Override public void clear() { this.tinfo = null; this.credentials = null; this.tabletServer = null; setForceIsSet(false); this.force = false; }
public shutdownTabletServer_args setForce(boolean force) { this.force = force; setForceIsSet(true); return this; }
public shutdownTabletServer_args( org.apache.accumulo.core.trace.thrift.TInfo tinfo, org.apache.accumulo.core.securityImpl.thrift.TCredentials credentials, java.lang.String tabletServer, boolean force) { this(); this.tinfo = tinfo; this.credentials = credentials; this.tabletServer = tabletServer; this.force = force; setForceIsSet(true); }
public shutdownTabletServer_args setForce(boolean force) { this.force = force; setForceIsSet(true); return this; }
@Override public void clear() { this.tinfo = null; this.credentials = null; this.tabletServer = null; setForceIsSet(false); this.force = false; }