public TSentryResponseStatus( int value, String message) { this(); this.value = value; setValueIsSet(true); this.message = message; }
public void setValue(int value) { this.value = value; setValueIsSet(true); }
public TSentryResponseStatus( int value, String message) { this(); this.value = value; setValueIsSet(true); this.message = message; }
@Override public void clear() { setValueIsSet(false); this.value = 0; this.message = null; this.stack = null; }
@Override public void clear() { setValueIsSet(false); this.value = 0; this.message = null; this.stack = null; }
public void setValue(int value) { this.value = value; setValueIsSet(true); }
if (schemeField.type == org.apache.thrift.protocol.TType.I32) { struct.value = iprot.readI32(); struct.setValueIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
if (schemeField.type == org.apache.thrift.protocol.TType.I32) { struct.value = iprot.readI32(); struct.setValueIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TSentryResponseStatus struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.value = iprot.readI32(); struct.setValueIsSet(true); struct.message = iprot.readString(); struct.setMessageIsSet(true); BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.stack = iprot.readString(); struct.setStackIsSet(true); } } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TSentryResponseStatus struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.value = iprot.readI32(); struct.setValueIsSet(true); struct.message = iprot.readString(); struct.setMessageIsSet(true); BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.stack = iprot.readString(); struct.setStackIsSet(true); } } }