public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) {
    switch (field) {
    case USERNAME:
      if (value == null) {
        unsetUsername();
      } else {
        setUsername((java.lang.String)value);
      }
      break;

    case SCOPE:
      if (value == null) {
        unsetScope();
      } else {
        setScope((TPermissionScope)value);
      }
      break;

    case ACTIONS:
      if (value == null) {
        unsetActions();
      } else {
        setActions((java.lang.String)value);
      }
      break;

    case TABLE_NAME:
      if (value == null) {
        unsetTableName();
      } else {
        if (value instanceof byte[]) {
          setTableName((byte[])value);
        } else {
          setTableName((java.nio.ByteBuffer)value);
        }
      }
      break;

    case NS_NAME:
      if (value == null) {
        unsetNsName();
      } else {
        setNsName((java.lang.String)value);
      }
      break;

    }
  }
Returns true if field nsName is set (has been assigned a value) and false otherwise
hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TAccessControlEntity.java