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

    case STATE:
      return getState();

    case USER:
      return getUser();

    case HOSTNAME:
      return getHostname();

    case AGENT_INFO:
      return getAgentInfo();

    case HEARTBEAT_COUNT:
      return getHeartbeatCount();

    case META_INFO:
      return getMetaInfo();

    case STARTED_TIME:
      return getStartedTime();

    case LAST_HEARTBEAT_TIME:
      return getLastHeartbeatTime();

    }
    throw new java.lang.IllegalStateException();
  }
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