public void validate() throws org.apache.thrift.TException { // check for required fields if (name == null) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'name' was not present! Struct: " + toString()); } if (path == null) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'path' was not present! Struct: " + toString()); } // check for sub-struct validity }
public void validate() throws org.apache.thrift.TException { // check for required fields if (name == null) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'name' was not present! Struct: " + toString()); } if (path == null) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'path' was not present! Struct: " + toString()); } // check for sub-struct validity }