public void validate() throws org.apache.amoro.shade.thrift.org.apache.thrift.TException {
    // check for required fields
    if (catalogName == null) {
      throw new org.apache.amoro.shade.thrift.org.apache.thrift.protocol.TProtocolException("Required field 'catalogName' was not present! Struct: " + toString());
    }
    if (catalogType == null) {
      throw new org.apache.amoro.shade.thrift.org.apache.thrift.protocol.TProtocolException("Required field 'catalogType' was not present! Struct: " + toString());
    }
    // check for sub-struct validity
  }
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
amoro-common/src/main/gen-java/org/apache/amoro/api/CatalogMeta.java