public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetColumnName()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'columnName' is unset! Struct:" + toString()); } if (!isSetTypeDesc()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'typeDesc' is unset! Struct:" + toString()); } if (!isSetPosition()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'position' is unset! Struct:" + toString()); } // check for sub-struct validity if (typeDesc != null) { typeDesc.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetColumnName()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'columnName' is unset! Struct:" + toString()); } if (!isSetTypeDesc()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'typeDesc' is unset! Struct:" + toString()); } if (!isSetPosition()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'position' is unset! Struct:" + toString()); } // check for sub-struct validity if (typeDesc != null) { typeDesc.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetColumnName()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'columnName' is unset! Struct:" + toString()); } if (!isSetTypeDesc()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'typeDesc' is unset! Struct:" + toString()); } if (!isSetPosition()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'position' is unset! Struct:" + toString()); } // check for sub-struct validity if (typeDesc != null) { typeDesc.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetColumnName()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'columnName' is unset! Struct:" + toString()); } if (!isSetTypeDesc()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'typeDesc' is unset! Struct:" + toString()); } if (!isSetPosition()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'position' is unset! Struct:" + toString()); } // check for sub-struct validity if (typeDesc != null) { typeDesc.validate(); } }