@Override
    public void write(org.apache.amoro.shade.thrift.org.apache.thrift.protocol.TProtocol prot, CatalogMeta struct) throws org.apache.amoro.shade.thrift.org.apache.thrift.TException {
      org.apache.amoro.shade.thrift.org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.amoro.shade.thrift.org.apache.thrift.protocol.TTupleProtocol) prot;
      oprot.writeString(struct.catalogName);
      oprot.writeString(struct.catalogType);
      java.util.BitSet optionals = new java.util.BitSet();
      if (struct.isSetStorageConfigs()) {
        optionals.set(0);
      }
      if (struct.isSetAuthConfigs()) {
        optionals.set(1);
      }
      if (struct.isSetCatalogProperties()) {
        optionals.set(2);
      }
      oprot.writeBitSet(optionals, 3);
      if (struct.isSetStorageConfigs()) {
        {
          oprot.writeI32(struct.storageConfigs.size());
          for (java.util.Map.Entry<java.lang.String, java.lang.String> _iter15 : struct.storageConfigs.entrySet())
          {
            oprot.writeString(_iter15.getKey());
            oprot.writeString(_iter15.getValue());
          }
        }
      }
      if (struct.isSetAuthConfigs()) {
        {
          oprot.writeI32(struct.authConfigs.size());
          for (java.util.Map.Entry<java.lang.String, java.lang.String> _iter16 : struct.authConfigs.entrySet())
          {
            oprot.writeString(_iter16.getKey());
            oprot.writeString(_iter16.getValue());
          }
        }
      }
      if (struct.isSetCatalogProperties()) {
        {
          oprot.writeI32(struct.catalogProperties.size());
          for (java.util.Map.Entry<java.lang.String, java.lang.String> _iter17 : struct.catalogProperties.entrySet())
          {
            oprot.writeString(_iter17.getKey());
            oprot.writeString(_iter17.getValue());
          }
        }
      }
    }
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