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

    case DBNAME:
      if (value == null) {
        unsetDbname();
      } else {
        setDbname((java.lang.String)value);
      }
      break;

    case TABLENAME:
      if (value == null) {
        unsetTablename();
      } else {
        setTablename((java.lang.String)value);
      }
      break;

    case PARTNAME:
      if (value == null) {
        unsetPartname();
      } else {
        setPartname((java.lang.String)value);
      }
      break;

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

    case TYPE:
      if (value == null) {
        unsetType();
      } else {
        setType((LockType)value);
      }
      break;

    case TXNID:
      if (value == null) {
        unsetTxnid();
      } else {
        setTxnid((java.lang.Long)value);
      }
      break;

    case LASTHEARTBEAT:
      if (value == null) {
        unsetLastheartbeat();
      } else {
        setLastheartbeat((java.lang.Long)value);
      }
      break;

    case ACQUIREDAT:
      if (value == null) {
        unsetAcquiredat();
      } else {
        setAcquiredat((java.lang.Long)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 HEARTBEAT_COUNT:
      if (value == null) {
        unsetHeartbeatCount();
      } else {
        setHeartbeatCount((java.lang.Integer)value);
      }
      break;

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

    case BLOCKED_BY_EXT_ID:
      if (value == null) {
        unsetBlockedByExtId();
      } else {
        setBlockedByExtId((java.lang.Long)value);
      }
      break;

    case BLOCKED_BY_INT_ID:
      if (value == null) {
        unsetBlockedByIntId();
      } else {
        setBlockedByIntId((java.lang.Long)value);
      }
      break;

    case LOCK_ID_INTERNAL:
      if (value == null) {
        unsetLockIdInternal();
      } else {
        setLockIdInternal((java.lang.Long)value);
      }
      break;

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