@Override
  protected java.lang.Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.thrift.TException {
    _Fields setField = _Fields.findByThriftId(fieldID);
    if (setField != null) {
      switch (setField) {
        case PRIMITIVE_ENTRY:
          TPrimitiveTypeEntry primitiveEntry;
          primitiveEntry = new TPrimitiveTypeEntry();
          primitiveEntry.read(iprot);
          return primitiveEntry;
        case ARRAY_ENTRY:
          TArrayTypeEntry arrayEntry;
          arrayEntry = new TArrayTypeEntry();
          arrayEntry.read(iprot);
          return arrayEntry;
        case MAP_ENTRY:
          TMapTypeEntry mapEntry;
          mapEntry = new TMapTypeEntry();
          mapEntry.read(iprot);
          return mapEntry;
        case STRUCT_ENTRY:
          TStructTypeEntry structEntry;
          structEntry = new TStructTypeEntry();
          structEntry.read(iprot);
          return structEntry;
        case UNION_ENTRY:
          TUnionTypeEntry unionEntry;
          unionEntry = new TUnionTypeEntry();
          unionEntry.read(iprot);
          return unionEntry;
        case USER_DEFINED_TYPE_ENTRY:
          TUserDefinedTypeEntry userDefinedTypeEntry;
          userDefinedTypeEntry = new TUserDefinedTypeEntry();
          userDefinedTypeEntry.read(iprot);
          return userDefinedTypeEntry;
        default:
          throw new java.lang.IllegalStateException("setField wasn't null, but didn't match any of the case statements!");
      }
    } else {
      throw new org.apache.thrift.protocol.TProtocolException("Couldn't find a field with field id " + fieldID);
    }
  }
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/TTypeEntry.java