@Override
    public void write(org.apache.thrift.protocol.TProtocol prot, TColumnFamilyDescriptor struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      oprot.writeBinary(struct.name);
      java.util.BitSet optionals = new java.util.BitSet();
      if (struct.isSetAttributes()) {
        optionals.set(0);
      }
      if (struct.isSetConfiguration()) {
        optionals.set(1);
      }
      if (struct.isSetBlockSize()) {
        optionals.set(2);
      }
      if (struct.isSetBloomnFilterType()) {
        optionals.set(3);
      }
      if (struct.isSetCompressionType()) {
        optionals.set(4);
      }
      if (struct.isSetDfsReplication()) {
        optionals.set(5);
      }
      if (struct.isSetDataBlockEncoding()) {
        optionals.set(6);
      }
      if (struct.isSetKeepDeletedCells()) {
        optionals.set(7);
      }
      if (struct.isSetMaxVersions()) {
        optionals.set(8);
      }
      if (struct.isSetMinVersions()) {
        optionals.set(9);
      }
      if (struct.isSetScope()) {
        optionals.set(10);
      }
      if (struct.isSetTimeToLive()) {
        optionals.set(11);
      }
      if (struct.isSetBlockCacheEnabled()) {
        optionals.set(12);
      }
      if (struct.isSetCacheBloomsOnWrite()) {
        optionals.set(13);
      }
      if (struct.isSetCacheDataOnWrite()) {
        optionals.set(14);
      }
      if (struct.isSetCacheIndexesOnWrite()) {
        optionals.set(15);
      }
      if (struct.isSetCompressTags()) {
        optionals.set(16);
      }
      if (struct.isSetEvictBlocksOnClose()) {
        optionals.set(17);
      }
      if (struct.isSetInMemory()) {
        optionals.set(18);
      }
      oprot.writeBitSet(optionals, 19);
      if (struct.isSetAttributes()) {
        {
          oprot.writeI32(struct.attributes.size());
          for (java.util.Map.Entry<java.nio.ByteBuffer, java.nio.ByteBuffer> _iter152 : struct.attributes.entrySet())
          {
            oprot.writeBinary(_iter152.getKey());
            oprot.writeBinary(_iter152.getValue());
          }
        }
      }
      if (struct.isSetConfiguration()) {
        {
          oprot.writeI32(struct.configuration.size());
          for (java.util.Map.Entry<java.lang.String, java.lang.String> _iter153 : struct.configuration.entrySet())
          {
            oprot.writeString(_iter153.getKey());
            oprot.writeString(_iter153.getValue());
          }
        }
      }
      if (struct.isSetBlockSize()) {
        oprot.writeI32(struct.blockSize);
      }
      if (struct.isSetBloomnFilterType()) {
        oprot.writeI32(struct.bloomnFilterType.getValue());
      }
      if (struct.isSetCompressionType()) {
        oprot.writeI32(struct.compressionType.getValue());
      }
      if (struct.isSetDfsReplication()) {
        oprot.writeI16(struct.dfsReplication);
      }
      if (struct.isSetDataBlockEncoding()) {
        oprot.writeI32(struct.dataBlockEncoding.getValue());
      }
      if (struct.isSetKeepDeletedCells()) {
        oprot.writeI32(struct.keepDeletedCells.getValue());
      }
      if (struct.isSetMaxVersions()) {
        oprot.writeI32(struct.maxVersions);
      }
      if (struct.isSetMinVersions()) {
        oprot.writeI32(struct.minVersions);
      }
      if (struct.isSetScope()) {
        oprot.writeI32(struct.scope);
      }
      if (struct.isSetTimeToLive()) {
        oprot.writeI32(struct.timeToLive);
      }
      if (struct.isSetBlockCacheEnabled()) {
        oprot.writeBool(struct.blockCacheEnabled);
      }
      if (struct.isSetCacheBloomsOnWrite()) {
        oprot.writeBool(struct.cacheBloomsOnWrite);
      }
      if (struct.isSetCacheDataOnWrite()) {
        oprot.writeBool(struct.cacheDataOnWrite);
      }
      if (struct.isSetCacheIndexesOnWrite()) {
        oprot.writeBool(struct.cacheIndexesOnWrite);
      }
      if (struct.isSetCompressTags()) {
        oprot.writeBool(struct.compressTags);
      }
      if (struct.isSetEvictBlocksOnClose()) {
        oprot.writeBool(struct.evictBlocksOnClose);
      }
      if (struct.isSetInMemory()) {
        oprot.writeBool(struct.inMemory);
      }
    }
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TColumnFamilyDescriptor.java