public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) {
    switch (field) {
    case ID:
      if (value == null) {
        unsetId();
      } else {
        setId((java.lang.Long)value);
      }
      break;

    case STATE:
      if (value == null) {
        unsetState();
      } else {
        setState((TxnState)value);
      }
      break;

    case USER:
      if (value == null) {
        unsetUser();
      } else {
        setUser((java.lang.String)value);
      }
      break;

    case HOSTNAME:
      if (value == null) {
        unsetHostname();
      } else {
        setHostname((java.lang.String)value);
      }
      break;

    case AGENT_INFO:
      if (value == null) {
        unsetAgentInfo();
      } else {
        setAgentInfo((java.lang.String)value);
      }
      break;

    case HEARTBEAT_COUNT:
      if (value == null) {
        unsetHeartbeatCount();
      } else {
        setHeartbeatCount((java.lang.Integer)value);
      }
      break;

    case META_INFO:
      if (value == null) {
        unsetMetaInfo();
      } else {
        setMetaInfo((java.lang.String)value);
      }
      break;

    case STARTED_TIME:
      if (value == null) {
        unsetStartedTime();
      } else {
        setStartedTime((java.lang.Long)value);
      }
      break;

    case LAST_HEARTBEAT_TIME:
      if (value == null) {
        unsetLastHeartbeatTime();
      } else {
        setLastHeartbeatTime((java.lang.Long)value);
      }
      break;

    }
  }
Returns true if field lastHeartbeatTime 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/TxnInfo.java