@Override
  protected 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 SHORT_VALUE:
          Short short_value;
          short_value = iprot.readI16();
          return short_value;
        case INT_VALUE:
          Integer int_value;
          int_value = iprot.readI32();
          return int_value;
        case LONG_VALUE:
          Long long_value;
          long_value = iprot.readI64();
          return long_value;
        case DOUBLE_VALUE:
          Double double_value;
          double_value = iprot.readDouble();
          return double_value;
        case STRING_VALUE:
          String string_value;
          string_value = iprot.readString();
          return string_value;
        case BYTES_VALUE:
          ByteBuffer bytes_value;
          bytes_value = iprot.readBinary();
          return bytes_value;
        default:
          throw new IllegalStateException("setField wasn't null, but didn't match any of the case statements!");
      }
    } else {
      throw new TProtocolException("Couldn't find a field with field id " + fieldID);
    }
  }