public void write(org.apache.thrift.protocol.TProtocol oprot, TColumnFamilyDescriptor struct) throws org.apache.thrift.TException {
      struct.validate();

      oprot.writeStructBegin(STRUCT_DESC);
      if (struct.name != null) {
        oprot.writeFieldBegin(NAME_FIELD_DESC);
        oprot.writeBinary(struct.name);
        oprot.writeFieldEnd();
      }
      if (struct.attributes != null) {
        if (struct.isSetAttributes()) {
          oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC);
          {
            oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size()));
            for (java.util.Map.Entry<java.nio.ByteBuffer, java.nio.ByteBuffer> _iter150 : struct.attributes.entrySet())
            {
              oprot.writeBinary(_iter150.getKey());
              oprot.writeBinary(_iter150.getValue());
            }
            oprot.writeMapEnd();
          }
          oprot.writeFieldEnd();
        }
      }
      if (struct.configuration != null) {
        if (struct.isSetConfiguration()) {
          oprot.writeFieldBegin(CONFIGURATION_FIELD_DESC);
          {
            oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.configuration.size()));
            for (java.util.Map.Entry<java.lang.String, java.lang.String> _iter151 : struct.configuration.entrySet())
            {
              oprot.writeString(_iter151.getKey());
              oprot.writeString(_iter151.getValue());
            }
            oprot.writeMapEnd();
          }
          oprot.writeFieldEnd();
        }
      }
      if (struct.isSetBlockSize()) {
        oprot.writeFieldBegin(BLOCK_SIZE_FIELD_DESC);
        oprot.writeI32(struct.blockSize);
        oprot.writeFieldEnd();
      }
      if (struct.bloomnFilterType != null) {
        if (struct.isSetBloomnFilterType()) {
          oprot.writeFieldBegin(BLOOMN_FILTER_TYPE_FIELD_DESC);
          oprot.writeI32(struct.bloomnFilterType.getValue());
          oprot.writeFieldEnd();
        }
      }
      if (struct.compressionType != null) {
        if (struct.isSetCompressionType()) {
          oprot.writeFieldBegin(COMPRESSION_TYPE_FIELD_DESC);
          oprot.writeI32(struct.compressionType.getValue());
          oprot.writeFieldEnd();
        }
      }
      if (struct.isSetDfsReplication()) {
        oprot.writeFieldBegin(DFS_REPLICATION_FIELD_DESC);
        oprot.writeI16(struct.dfsReplication);
        oprot.writeFieldEnd();
      }
      if (struct.dataBlockEncoding != null) {
        if (struct.isSetDataBlockEncoding()) {
          oprot.writeFieldBegin(DATA_BLOCK_ENCODING_FIELD_DESC);
          oprot.writeI32(struct.dataBlockEncoding.getValue());
          oprot.writeFieldEnd();
        }
      }
      if (struct.keepDeletedCells != null) {
        if (struct.isSetKeepDeletedCells()) {
          oprot.writeFieldBegin(KEEP_DELETED_CELLS_FIELD_DESC);
          oprot.writeI32(struct.keepDeletedCells.getValue());
          oprot.writeFieldEnd();
        }
      }
      if (struct.isSetMaxVersions()) {
        oprot.writeFieldBegin(MAX_VERSIONS_FIELD_DESC);
        oprot.writeI32(struct.maxVersions);
        oprot.writeFieldEnd();
      }
      if (struct.isSetMinVersions()) {
        oprot.writeFieldBegin(MIN_VERSIONS_FIELD_DESC);
        oprot.writeI32(struct.minVersions);
        oprot.writeFieldEnd();
      }
      if (struct.isSetScope()) {
        oprot.writeFieldBegin(SCOPE_FIELD_DESC);
        oprot.writeI32(struct.scope);
        oprot.writeFieldEnd();
      }
      if (struct.isSetTimeToLive()) {
        oprot.writeFieldBegin(TIME_TO_LIVE_FIELD_DESC);
        oprot.writeI32(struct.timeToLive);
        oprot.writeFieldEnd();
      }
      if (struct.isSetBlockCacheEnabled()) {
        oprot.writeFieldBegin(BLOCK_CACHE_ENABLED_FIELD_DESC);
        oprot.writeBool(struct.blockCacheEnabled);
        oprot.writeFieldEnd();
      }
      if (struct.isSetCacheBloomsOnWrite()) {
        oprot.writeFieldBegin(CACHE_BLOOMS_ON_WRITE_FIELD_DESC);
        oprot.writeBool(struct.cacheBloomsOnWrite);
        oprot.writeFieldEnd();
      }
      if (struct.isSetCacheDataOnWrite()) {
        oprot.writeFieldBegin(CACHE_DATA_ON_WRITE_FIELD_DESC);
        oprot.writeBool(struct.cacheDataOnWrite);
        oprot.writeFieldEnd();
      }
      if (struct.isSetCacheIndexesOnWrite()) {
        oprot.writeFieldBegin(CACHE_INDEXES_ON_WRITE_FIELD_DESC);
        oprot.writeBool(struct.cacheIndexesOnWrite);
        oprot.writeFieldEnd();
      }
      if (struct.isSetCompressTags()) {
        oprot.writeFieldBegin(COMPRESS_TAGS_FIELD_DESC);
        oprot.writeBool(struct.compressTags);
        oprot.writeFieldEnd();
      }
      if (struct.isSetEvictBlocksOnClose()) {
        oprot.writeFieldBegin(EVICT_BLOCKS_ON_CLOSE_FIELD_DESC);
        oprot.writeBool(struct.evictBlocksOnClose);
        oprot.writeFieldEnd();
      }
      if (struct.isSetInMemory()) {
        oprot.writeFieldBegin(IN_MEMORY_FIELD_DESC);
        oprot.writeBool(struct.inMemory);
        oprot.writeFieldEnd();
      }
      oprot.writeFieldStop();
      oprot.writeStructEnd();
    }
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