@Override
  protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
    switch (setField_) {
      case BOOL_VAL:
        TBoolColumn boolVal = (TBoolColumn)value_;
        boolVal.write(oprot);
        return;
      case BYTE_VAL:
        TByteColumn byteVal = (TByteColumn)value_;
        byteVal.write(oprot);
        return;
      case I16_VAL:
        TI16Column i16Val = (TI16Column)value_;
        i16Val.write(oprot);
        return;
      case I32_VAL:
        TI32Column i32Val = (TI32Column)value_;
        i32Val.write(oprot);
        return;
      case I64_VAL:
        TI64Column i64Val = (TI64Column)value_;
        i64Val.write(oprot);
        return;
      case DOUBLE_VAL:
        TDoubleColumn doubleVal = (TDoubleColumn)value_;
        doubleVal.write(oprot);
        return;
      case STRING_VAL:
        TStringColumn stringVal = (TStringColumn)value_;
        stringVal.write(oprot);
        return;
      case BINARY_VAL:
        TBinaryColumn binaryVal = (TBinaryColumn)value_;
        binaryVal.write(oprot);
        return;
      default:
        throw new java.lang.IllegalStateException("Cannot write union with unknown field " + setField_);
    }
  }
Find the _Fields constant that matches name, or null if its not found.
service-rpc/src/gen/thrift/gen-javabean/org/apache/hive/service/rpc/thrift/TColumn.java