@org.apache.thrift.annotation.Nullable
  public java.lang.Object getFieldValue(_Fields field) {
    switch (field) {
    case NUM_TXNS:
      return getNum_txns();

    case USER:
      return getUser();

    case HOSTNAME:
      return getHostname();

    case AGENT_INFO:
      return getAgentInfo();

    case REPL_POLICY:
      return getReplPolicy();

    case REPL_SRC_TXN_IDS:
      return getReplSrcTxnIds();

    case TXN_TYPE:
      return getTxn_type();

    }
    throw new java.lang.IllegalStateException();
  }
Returns true if field txn_type is set (has been assigned a value) and false otherwise
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java