@Override
  protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
    switch (setField_) {
      case BOOL_VAL:
        TBoolValue boolVal = (TBoolValue)value_;
        boolVal.write(oprot);
        return;
      case BYTE_VAL:
        TByteValue byteVal = (TByteValue)value_;
        byteVal.write(oprot);
        return;
      case I16_VAL:
        TI16Value i16Val = (TI16Value)value_;
        i16Val.write(oprot);
        return;
      case I32_VAL:
        TI32Value i32Val = (TI32Value)value_;
        i32Val.write(oprot);
        return;
      case I64_VAL:
        TI64Value i64Val = (TI64Value)value_;
        i64Val.write(oprot);
        return;
      case DOUBLE_VAL:
        TDoubleValue doubleVal = (TDoubleValue)value_;
        doubleVal.write(oprot);
        return;
      case STRING_VAL:
        TStringValue stringVal = (TStringValue)value_;
        stringVal.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/TColumnValue.java