public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) {
    switch (field) {
    case COMPONENT:
      if (value == null) {
        unsetComponent();
      } else {
        setComponent((java.util.List<LockComponent>)value);
      }
      break;

    case TXNID:
      if (value == null) {
        unsetTxnid();
      } else {
        setTxnid((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 AGENT_INFO:
      if (value == null) {
        unsetAgentInfo();
      } else {
        setAgentInfo((java.lang.String)value);
      }
      break;

    case ZERO_WAIT_READ_ENABLED:
      if (value == null) {
        unsetZeroWaitReadEnabled();
      } else {
        setZeroWaitReadEnabled((java.lang.Boolean)value);
      }
      break;

    case EXCLUSIVE_CTAS:
      if (value == null) {
        unsetExclusiveCTAS();
      } else {
        setExclusiveCTAS((java.lang.Boolean)value);
      }
      break;

    case LOCKLESS_READS_ENABLED:
      if (value == null) {
        unsetLocklessReadsEnabled();
      } else {
        setLocklessReadsEnabled((java.lang.Boolean)value);
      }
      break;

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