@Override
    public void write(org.apache.thrift.protocol.TProtocol prot, CreationMetadata struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      oprot.writeString(struct.catName);
      oprot.writeString(struct.dbName);
      oprot.writeString(struct.tblName);
      {
        oprot.writeI32(struct.tablesUsed.size());
        for (java.lang.String _iter318 : struct.tablesUsed)
        {
          oprot.writeString(_iter318);
        }
      }
      java.util.BitSet optionals = new java.util.BitSet();
      if (struct.isSetValidTxnList()) {
        optionals.set(0);
      }
      if (struct.isSetMaterializationTime()) {
        optionals.set(1);
      }
      if (struct.isSetSourceTables()) {
        optionals.set(2);
      }
      oprot.writeBitSet(optionals, 3);
      if (struct.isSetValidTxnList()) {
        oprot.writeString(struct.validTxnList);
      }
      if (struct.isSetMaterializationTime()) {
        oprot.writeI64(struct.materializationTime);
      }
      if (struct.isSetSourceTables()) {
        {
          oprot.writeI32(struct.sourceTables.size());
          for (SourceTable _iter319 : struct.sourceTables)
          {
            _iter319.write(oprot);
          }
        }
      }
    }
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java