@Override
  protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
    switch (setField_) {
      case STRING_VALUE:
        java.lang.String stringValue = (java.lang.String)value_;
        oprot.writeString(stringValue);
        return;
      case SMALL_INT_VALUE:
        java.lang.Short smallIntValue = (java.lang.Short)value_;
        oprot.writeI16(smallIntValue);
        return;
      case INTEGER_BITMASK:
        java.lang.Integer integerBitmask = (java.lang.Integer)value_;
        oprot.writeI32(integerBitmask);
        return;
      case INTEGER_FLAG:
        java.lang.Integer integerFlag = (java.lang.Integer)value_;
        oprot.writeI32(integerFlag);
        return;
      case BINARY_VALUE:
        java.lang.Integer binaryValue = (java.lang.Integer)value_;
        oprot.writeI32(binaryValue);
        return;
      case LEN_VALUE:
        java.lang.Long lenValue = (java.lang.Long)value_;
        oprot.writeI64(lenValue);
        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/TGetInfoValue.java