public void setFieldValue(_Fields field, Object value) {
      switch (field) {
      case INTERFACE_NAME:
        if (value == null) {
          unsetInterfaceName();
        } else {
          setInterfaceName((String)value);
        }
        break;

      case THRIFT_BINARIES:
        if (value == null) {
          unsetThriftBinaries();
        } else {
          setThriftBinaries((ByteBuffer)value);
        }
        break;

      }
    }