public HColumnDescriptor adapt(com.google.cloud.bigtable.admin.v2.models.ColumnFamily columnFamily) {
    HColumnDescriptor hColumnDescriptor = new HColumnDescriptor(columnFamily.getId());
    GCRule gcRule = columnFamily.getGCRule();
    if(gcRule != null){
      convertGarbageCollectionRule(gcRule.toProto(), hColumnDescriptor);
    }
    return hColumnDescriptor;
  }
public HColumnDescriptor adapt ( com . google . cloud . bigtable . admin . v2 . models . ColumnFamily columnFamily ) { HColumnDescriptor hColumnDescriptor = new HColumnDescriptor ( columnFamily . getId ( ) ) ; GCRule gcRule = columnFamily . getGCRule ( ) ; if ( gcRule != null ) { convertGarbageCollectionRule ( gcRule . toProto ( ) , hColumnDescriptor ) ; } return hColumnDescriptor ; }
Convert a Bigtable {@link com.google.cloud.bigtable.admin.v2.models.ColumnFamily} to an
HBase {@link HColumnDescriptor}.
See {@link #convertGarbageCollectionRule(GcRule, HColumnDescriptor)} for more info.

@param columnFamily a {@link com.google.cloud.bigtable.admin.v2.models.ColumnFamily} object.
@return a {@link org.apache.hadoop.hbase.HColumnDescriptor} object.