@Override
  protected java.lang.Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field) throws org.apache.thrift.TException {
    _Fields setField = _Fields.findByThriftId(field.id);
    if (setField != null) {
      switch (setField) {
        case STRING_VALUE:
          if (field.type == STRING_VALUE_FIELD_DESC.type) {
            java.lang.String stringValue;
            stringValue = iprot.readString();
            return stringValue;
          } else {
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
            return null;
          }
        case SMALL_INT_VALUE:
          if (field.type == SMALL_INT_VALUE_FIELD_DESC.type) {
            java.lang.Short smallIntValue;
            smallIntValue = iprot.readI16();
            return smallIntValue;
          } else {
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
            return null;
          }
        case INTEGER_BITMASK:
          if (field.type == INTEGER_BITMASK_FIELD_DESC.type) {
            java.lang.Integer integerBitmask;
            integerBitmask = iprot.readI32();
            return integerBitmask;
          } else {
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
            return null;
          }
        case INTEGER_FLAG:
          if (field.type == INTEGER_FLAG_FIELD_DESC.type) {
            java.lang.Integer integerFlag;
            integerFlag = iprot.readI32();
            return integerFlag;
          } else {
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
            return null;
          }
        case BINARY_VALUE:
          if (field.type == BINARY_VALUE_FIELD_DESC.type) {
            java.lang.Integer binaryValue;
            binaryValue = iprot.readI32();
            return binaryValue;
          } else {
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
            return null;
          }
        case LEN_VALUE:
          if (field.type == LEN_VALUE_FIELD_DESC.type) {
            java.lang.Long lenValue;
            lenValue = iprot.readI64();
            return lenValue;
          } else {
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
            return null;
          }
        default:
          throw new java.lang.IllegalStateException("setField wasn't null, but didn't match any of the case statements!");
      }
    } else {
      org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
      return null;
    }
  }
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/TGetInfoValue.java